.posting-dashboard{color:#193550;background:#f3f7fb;min-height:100vh;font-family:system-ui,sans-serif}.posting-dashboard *{box-sizing:border-box}.posting-dashboard header{background:#fff;border-bottom:1px solid #dbe5ef;padding:10px 16px}.posting-dashboard header>div,.posting-wrap{max-width:1480px;margin:auto}.posting-dashboard header>div{flex-wrap:wrap;align-items:center;gap:8px 18px;display:flex}.posting-dashboard header span{color:#718197;font-size:12px}.posting-dashboard header a{margin-left:auto;font-size:12px}.posting-dashboard h1,.posting-dashboard h2{margin:0;font-size:21px}.posting-dashboard h3{margin:0;font-size:17px}.posting-dashboard p{color:#62768b;margin:5px 0}.posting-dashboard a{color:#1765ad}.posting-wrap{padding:10px 16px}.posting-dashboard button,.posting-dashboard input,.posting-dashboard select{font:inherit;color:inherit;background:#fff;border:1px solid #c9d7e5;border-radius:7px;padding:7px 9px}.posting-dashboard button{cursor:pointer}.posting-dashboard button:disabled,.posting-dashboard input:disabled,.posting-dashboard select:disabled{opacity:.45;cursor:not-allowed}.posting-dashboard button:focus-visible,.posting-dashboard input:focus-visible,.posting-dashboard a:focus-visible,.posting-dashboard summary:focus-visible{outline-offset:2px;outline:3px solid #57a6e6}.connection{background:#fff;border:1px solid #dbe5ef;border-radius:9px;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px;padding:7px 9px;font-size:12px;display:flex}.connection input{width:145px;min-width:0;padding:6px 8px}.connection button{white-space:nowrap;padding:6px 9px}.connection span{flex:1;min-width:180px;font-size:12px;line-height:1.4}.posting-layout{grid-template-columns:245px minmax(0,1fr);gap:16px;display:grid}.calendar{background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:12px}.month{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:14px;display:flex}.days{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.days>span{color:#738399;padding:5px 0;font-size:11px}.days button{border-color:#0000;min-height:36px;padding:5px 0;position:relative}.days button.marked{color:#1765ad;background:#dff0ff;font-weight:700}.days button.selected{color:#fff;background:#1765ad;box-shadow:0 0 0 2px #b9dcff}.days button small{font-size:8px;line-height:8px;display:block}.calendar>small{color:#1765ad;margin:12px 0;font-size:11px;display:block}.calendar>input{width:100%;font-size:12px}.hint{font-size:12px;line-height:1.6}.heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.heading p{font-size:12px}.heading input{width:350px;max-width:100%;font-size:13px}.filters{flex-wrap:wrap;gap:6px;margin:10px 0;font-size:12px;display:flex}.filters button.active,.primary{color:#fff!important;background:#1765ad!important;border-color:#1765ad!important}.filters .add-announcement{color:#18784c;background:#eaf8f1;border-color:#b5deca;margin-left:auto;font-weight:600}.table-scroll{background:#fff;border:1px solid #dbe5ef;border-radius:10px;overflow-x:auto}.posting-dashboard table{border-collapse:collapse;width:100%;min-width:870px;font-size:12px}.posting-dashboard th{text-align:left;white-space:nowrap;background:#eaf1f8;padding:9px 8px}.posting-dashboard td{vertical-align:top;border-top:1px solid #e5edf5;padding:9px 8px}.posting-dashboard td.title{min-width:200px;font-weight:600;line-height:1.5}.posting-dashboard td:nth-child(3){min-width:110px}.posting-dashboard td:nth-child(4){text-align:center;width:70px}.posting-dashboard td:nth-child(5){white-space:nowrap;width:65px}.kind-tag{color:#1765ad;background:#e4f2ff;border-radius:5px;padding:3px 6px;font-size:11px;line-height:1.5;display:inline-block}.kind-1{color:#7e48b3;background:#f1e9ff}.kind-2{color:#287645;background:#e1f5e9}.kind-3{color:#b4434a;background:#ffe8e9}.photo-actions{margin-bottom:5px;line-height:1.3}.photo-actions>small{color:#527465;font-size:10px;display:block}.photo-actions>div{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.photo-actions button{color:#b4434a;border:0;padding:0;font-size:11px}.compact-dropzone{cursor:pointer;background:#f8fbfe;border:1px dashed #91b5d7;border-radius:6px;align-items:center;gap:5px;min-height:30px;padding:6px 8px;font-size:11px;line-height:1.4;display:inline-flex;position:relative}.compact-dropzone:hover{background:#eaf4ff}.compact-dropzone:focus-within{outline-offset:2px;outline:2px solid #57a6e6}.compact-dropzone:has(input:disabled){opacity:.5;cursor:not-allowed}.compact-dropzone input{opacity:0;width:100%;height:100%;cursor:inherit;padding:0;position:absolute;inset:0}.page-slots{flex-wrap:wrap;gap:5px;display:flex}.upload-details summary,.page-count summary{cursor:pointer;color:#1765ad;font-size:11px}.upload-details .page-slots{max-width:220px;margin-top:7px}.page-count input{width:60px;margin-top:5px;padding:3px}.muted{color:#8291a3}.empty{text-align:center;padding:20px;font-size:13px}.empty button{margin-top:10px}.gallery{background:#fff;border:1px solid #dbe5ef;border-radius:10px;margin-top:12px;padding:10px}.gallery-toggle{text-align:left;width:100%;font-weight:600;padding:7px!important;font-size:13px!important}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin-top:12px;display:grid}.gallery figure{min-width:0;margin:0}.gallery img{object-fit:contain;background:#f0f4f8;border-radius:7px;width:100%;height:195px}.gallery figcaption{overflow-wrap:anywhere;font-size:11px}.gallery figcaption a{margin-top:5px;display:block}.gallery a span{display:block}.new-announcement{background:#fff;border:1px solid #b5d2ef;border-radius:10px;margin:12px 0;padding:14px;font-size:13px}.form-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.form-fields{grid-template-columns:1fr 210px;gap:10px;margin-bottom:12px;display:grid}.form-fields label{gap:5px;display:grid}.form-fields input,.form-fields select{width:100%;min-width:0}.pdf-dropzone{background:#f5faff;border:1px dashed #91b5d7;border-radius:8px;gap:8px;padding:14px;display:grid}.pdf-dropzone input{max-width:100%;font-size:12px}.pdf-dropzone small{color:#6a7d91}.new-pages{gap:7px;max-height:350px;margin:12px 0;display:grid;overflow-y:auto}.new-page{border:1px solid #e1eaf3;border-radius:7px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.new-page button{padding:5px 7px;font-size:11px}.new-page small{color:#527465}.file-name{overflow-wrap:anywhere;color:#7b8798;font-size:11px}.posting-dashboard .compact-dropzone input:disabled{opacity:0}.edit-steps{background:#edf6ff;border-radius:7px;padding:10px;font-size:14px;font-weight:600}.simple-pages{gap:10px;margin:12px 0;display:grid}.simple-page{border:1px solid #d7e5f2;border-radius:9px;padding:12px}.page-status{align-items:center;gap:14px;margin-bottom:9px;display:flex}.page-status b{font-size:17px}.page-status span{color:#527465;font-size:12px}.page-controls{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.page-controls .current-photo{align-items:center;gap:9px;display:flex}.page-replace{min-height:38px;font-weight:600;background:#e5f3ff!important;padding:8px 14px!important;font-size:14px!important}.simple-page>small{color:#7b8798;margin-top:8px;font-size:10px;display:block}.edit-extra{border:1px solid #dbe5ef;border-radius:8px;margin:15px 0;padding:10px}.edit-extra summary{cursor:pointer;color:#1765ad;font-weight:600}.edit-extra .form-fields{margin-top:12px}.edit-save-bar{z-index:5;background:#fff;border:1px solid #c7dceb;border-radius:9px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex;position:sticky;bottom:8px;box-shadow:0 3px 14px #16304f15}.edit-save-bar .primary{font-weight:700;padding:10px 18px!important;font-size:15px!important}.edit-save-bar small{color:#718197;font-size:11px}.edit-row-button{margin-top:5px;display:block;color:#1765ad!important;padding:3px 8px!important;font-size:11px!important}.edit-summary{background:#edf6ff;border:1px solid #cfe3f6;border-radius:8px;margin:12px 0;padding:12px}.edit-summary h4{margin:0 0 8px}.edit-summary li{margin:5px 0}.edit-announcement .pdf-dropzone{margin-top:10px}.manual-links{max-height:280px;overflow:auto}.edit-announcement h4{margin:12px 0 8px}.confirmation-dialog{z-index:60;background:#152333b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirmation-dialog section{background:#fff;border-radius:10px;max-width:420px;padding:20px}.confirmation-dialog button{margin:12px 8px 0 0}.close-form-confirm{background:#fff8e9;border:1px solid #e6d7b6;border-radius:7px;margin-bottom:12px;padding:10px}.close-form-confirm button{margin:7px 8px 0 0}.pdf-dialog{z-index:50;background:#152333b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pdf-dialog>div{background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;width:min(100%,950px);height:90vh;padding:12px;display:flex}.pdf-preview-page{text-align:center;background:#e7ebef;width:100%;height:calc(100% - 45px);overflow:auto}.pdf-preview-page img{max-width:100%;height:auto;margin:auto;display:block}@media (max-width:850px){.posting-layout{grid-template-columns:1fr}.posting-wrap{padding:9px}.calendar{max-width:380px}.heading input{width:100%}.posting-dashboard header span{display:none}.posting-dashboard h1{font-size:18px}.form-fields{grid-template-columns:1fr}.filters .add-announcement{margin-left:0}.connection span{flex-basis:100%}}.posting-dashboard table{table-layout:auto;min-width:1000px}.posting-dashboard td.title{white-space:normal;overflow-wrap:anywhere;width:44%;min-width:340px}.posting-dashboard td:nth-child(6){min-width:130px}.posting-dashboard td:nth-child(7){min-width:135px}.new-announcement .tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.new-announcement .grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.new-announcement small{display:block}.new-announcement fieldset input[aria-label=ชื่อชุดประกาศ]{min-width:300px!important}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}.gallery figure{border:1px solid #dbe5ef;border-radius:8px;padding:8px}.gallery-image{background:#f0f4f8;border-radius:7px;justify-content:center;align-items:center;min-height:195px;display:flex}.gallery-filename{margin-top:7px;display:block}.gallery-links{flex-wrap:wrap;gap:12px;display:flex}.gallery-links a{display:inline-block!important}
