:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#202d27;background:#f5f7f3;--text:#202d27;--muted:#596e61;--line:#dce5dc;--green:#126954;--green-dark:#124637;--light:#e5f2eb;--white:#fff;--radius:16px}
*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:3px solid #37a88a;outline-offset:3px}svg{width:20px;height:20px;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:clamp(31px,4vw,44px);letter-spacing:-.06em;line-height:1.1}h2{font-size:20px;letter-spacing:-.035em}h3{font-size:16px;letter-spacing:-.02em}p{line-height:1.55}.muted{color:var(--muted)}.small{font-size:13px}.frame{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#153b30;color:#d8eae1;padding:27px 17px 20px}.brand{display:flex;gap:10px;align-items:center;margin:0 6px 46px;color:white;font-size:22px;letter-spacing:-.055em;font-weight:760;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:37px;height:37px;color:#143c30;background:#b9eed5;border-radius:13px 13px 5px 13px;font-size:23px;font-weight:850}.brand-secondary{font-weight:450;color:#b7cfbf}.navigation{display:grid;gap:6px}.navigation a{display:flex;align-items:center;gap:12px;border-radius:10px;padding:11px 12px;font-weight:625;font-size:15px}.navigation a:hover,.navigation a[aria-current=page]{background:#265746;color:#fff}.navigation a[aria-current=page] svg{color:#b9eed5}.sidebar-footer{margin-top:auto}.timezone{padding:16px 9px 1px;color:#a9c7b8;font-size:13px}.mode-btn{background:transparent;color:#e1f6e9;border:1px solid #4f7566;text-align:left;width:100%;border-radius:9px;padding:9px;font-size:13px}.mode-btn:hover{background:#265746}
main{min-width:0}.topbar{height:75px;padding:0 4vw;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#f9faf7}#top-title{font-size:14px;font-weight:650;color:var(--muted)}.screen{width:min(1320px,100%);padding:34px 4vw 55px;margin:0 auto}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.heading p{margin-top:9px;color:var(--muted)}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.spread{justify-content:space-between}.primary,.secondary,.ghost,.danger{display:inline-flex;justify-content:center;align-items:center;gap:7px;border-radius:10px;padding:10px 14px;font-size:14px;font-weight:700;min-height:42px;line-height:1.2}.primary{border:1px solid var(--green);background:var(--green);color:white}.primary:hover{background:#115845}.secondary{border:1px solid #c7dacd;background:white;color:#254d3f}.secondary:hover{background:#edf6ef}.ghost{background:transparent;color:var(--green-dark);border:1px solid transparent}.ghost:hover{background:var(--light)}.danger{background:#fff4ee;color:#942d20;border:1px solid #f6d9cd}.primary svg,.secondary svg,.ghost svg{width:16px;height:16px}
.notice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#e8f4eb;border:1px solid #cde3d3;border-radius:var(--radius);padding:15px 18px;margin-bottom:20px;color:#22523f}.notice p{font-size:14px}.notice.warning{background:#fdf5e9;color:#694917;border-color:#eadbc2}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.number-card{padding:17px 17px 19px}.card-icon{display:grid;place-items:center;width:32px;height:32px;background:var(--light);color:var(--green);border-radius:9px}.card-icon svg{width:17px;height:17px}.number-card p{color:var(--muted);font-size:14px;margin-top:10px}.number-card strong{font-size:34px;letter-spacing:-.06em;line-height:1.16}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:17px;margin-top:17px}.panel{padding:19px}.panel h2{margin-bottom:4px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;margin-bottom:15px}.panel-head p{font-size:14px;color:var(--muted)}.mt{margin-top:17px}.empty{padding:34px 16px;text-align:center;color:var(--muted);font-size:15px}.empty strong{display:block;color:var(--text);font-size:16px;margin-bottom:5px}.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.chart{height:224px;display:grid;grid-template-rows:1fr auto;gap:12px;margin-top:12px}.bars{display:flex;align-items:end;justify-content:space-around;gap:15px;border-bottom:1px solid var(--line);padding:0 12px;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,#eaf0eb 44px,#eaf0eb 45px);border-radius:6px 6px 0 0}.bar{background:#87c9ac;border-radius:7px 7px 0 0;width:min(48px,11%);min-height:3px}.bar:last-child{background:#20765c}.bar:hover{background:#2b8c70}.labels{display:flex;justify-content:space-around;font-size:13px;color:var(--muted);text-align:center}.stack{display:grid;gap:1px}.event{display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid #edf0ed;padding:10px 0;min-width:0}.event:last-child{border:0}.event-icon{height:40px;width:40px;border-radius:12px;background:#e5f1e8;display:grid;place-items:center;color:#37755d}.event strong,.event .small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill{display:inline-block;border-radius:20px;color:#295e4a;background:#e6f2ea;padding:4px 8px;font-size:12px;font-weight:700;white-space:nowrap}.pill.failed,.pill.review{color:#913b2c;background:#faece6}.pill.cancelled{color:#59695e;background:#edf1ee}.pill.processing{color:#6c5012;background:#fff1d0}
.tablebox{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th,td{padding:12px 10px;border-bottom:1px solid #eaf0ea;white-space:nowrap}th{color:var(--muted);font-size:13px;font-weight:700}td:first-child{white-space:normal;min-width:145px}td .small{display:block;color:var(--muted)}tr:last-child td{border-bottom:0}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-card{padding:17px;display:grid;gap:15px}.account-head{display:flex;gap:11px;align-items:center}.account-head p{font-size:14px}.account-avatar{display:grid;place-items:center;width:42px;height:42px;color:#2a7156;background:#e4f1e9;border-radius:12px;font-weight:800}.workspace-list{display:flex;gap:7px;flex-wrap:wrap}
input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #cbdace;border-radius:9px;background:#fcfdfa;padding:10px 11px;color:var(--text);min-width:0}textarea{resize:vertical}select.filter{width:auto;max-width:100%;background:#fff}.form-grid{display:grid;gap:12px}.form-grid label,.form-label{display:grid;gap:5px;font-size:14px;font-weight:640}.form-help{font-size:13px;color:var(--muted);font-weight:400}.checkboxes{display:grid;gap:5px;max-height:155px;overflow:auto;padding:8px 0}.checkboxes label{display:flex;gap:8px;align-items:center;font-weight:500}.checkboxes input{width:17px;height:17px;accent-color:var(--green)}.files{display:grid;gap:6px}.file-label{font-size:13px;color:var(--muted)}
dialog{padding:0;border:1px solid var(--line);border-radius:18px;max-width:min(610px,calc(100% - 24px));width:100%;max-height:calc(100% - 28px);box-shadow:0 18px 80px #102c2670;color:var(--text)}dialog::backdrop{background:#19342b80}dialog .modal-head{position:sticky;top:0;z-index:1;background:white;border-bottom:1px solid var(--line);padding:15px 19px}.modal-body{padding:16px 19px 19px}.modal-actions{justify-content:flex-end;margin-top:8px}.close{border:0;border-radius:8px;background:#eef3ee;color:var(--text);font-size:23px;width:34px;height:34px;line-height:1}.error{color:#9b301f;font-size:14px;min-height:0}.error:empty{display:none}#toast{position:fixed;bottom:20px;right:20px;max-width:min(420px,calc(100% - 40px));border-radius:10px;background:#153b30;color:white;padding:11px 15px;box-shadow:0 6px 26px #19342b55;z-index:3}#toast:empty{display:none}.loading{padding:30px;color:var(--muted)}
.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:18px}.day{min-height:88px;padding:9px;border-right:1px solid var(--line);display:grid;align-content:start;gap:5px;font-size:13px}.day:last-child{border:0}.day strong{font-size:16px}.day button{border:0;background:none;text-align:left;color:var(--green);padding:0;font-size:13px;font-weight:700}.day.today{background:#e7f4ea}
@media(max-width:1000px){.frame{grid-template-columns:185px 1fr}.sidebar{padding-inline:11px}.content-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.frame{display:block}.sidebar{height:auto;position:relative;padding:11px 13px 9px;gap:10px}.brand{margin:0;font-size:20px}.brand-mark{width:31px;height:31px;font-size:20px}.navigation{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.navigation a{padding:8px 3px;justify-content:center;font-size:13px;gap:4px}.navigation svg{width:15px;height:15px}.sidebar-footer{position:absolute;right:12px;top:11px;max-width:128px}.timezone{display:none}.mode-btn{padding:5px;font-size:12px}.topbar{height:58px;padding:0 15px}.screen{padding:22px 15px 44px}.heading{display:block}.heading>.row{margin-top:12px}.notice{display:block;padding:12px}.notice .secondary{margin-top:8px}.content-grid,.list-grid{grid-template-columns:1fr}.week{overflow:auto;grid-template-columns:repeat(7,minmax(66px,1fr))}.panel{padding:14px}.event{grid-template-columns:34px minmax(0,1fr) auto;gap:7px}.event-icon{width:33px;height:33px}.number-card{padding:12px}.number-card strong{font-size:28px}}

/* Batch composer */
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.batch-workspace{display:grid;gap:18px}
.batch-heading{margin-bottom:1px}
.batch-steps{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-top:2px}
.batch-steps button{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--muted);background:none;border:0;border-bottom:3px solid transparent;padding:9px 14px 11px}
.batch-steps button[aria-current]{color:var(--green-dark);border-bottom-color:var(--green)}
.batch-steps span,.batch-count{font-size:13px;font-weight:750;background:var(--light);color:var(--green-dark);border-radius:20px;padding:2px 9px}
.batch-upload-grid,.batch-schedule-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:18px;align-items:start}
.batch-panel{padding:19px;min-width:0}
.batch-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}
.batch-panel-head p,.batch-help{font-size:13px;color:var(--muted)}
.batch-side{position:sticky;top:18px}
.batch-targets{display:grid;gap:9px}
.batch-target{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:11px;padding:12px;cursor:pointer}
.batch-target:has(input:checked){background:#eaf5ed;border-color:#b7d9c6}
.batch-target input,.batch-check input{width:17px;height:17px;accent-color:var(--green);flex:none}
.batch-target span{min-width:0;overflow-wrap:anywhere}
.batch-target strong{display:block;font-size:14px}
.batch-target small,.batch-file-info small,.batch-row-name small{font-size:12px;color:var(--muted)}
.batch-side-footer{display:grid;gap:12px;margin-top:16px}
.batch-side-footer p{font-size:14px}
.batch-drop{position:relative;display:grid;gap:5px;justify-items:center;text-align:center;border:1.5px dashed #9dc4ad;border-radius:13px;background:#f0f7f1;padding:26px 14px;color:#264c3d;cursor:pointer}
.batch-drop:focus-within,.batch-drop:hover,.batch-drop.dragover{background:#e1f2e8;outline:2px solid #73b798;outline-offset:2px}
.batch-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.batch-drop-icon{display:grid;place-items:center;height:37px;width:37px;background:#dcefe4;color:var(--green);border-radius:11px;margin-bottom:4px}
.batch-drop small{color:#456555}
.batch-links{margin-top:13px;padding:9px 0;font-size:14px}
.batch-links summary{color:var(--green-dark);font-weight:720;cursor:pointer}
.batch-links label{margin-top:8px}
.batch-links button{margin-top:8px}
.batch-links small{font-size:13px;color:var(--muted);font-weight:400}
.batch-empty{padding:19px 4px 5px;border-top:1px solid var(--line);margin-top:13px;color:var(--muted);font-size:14px}
.batch-file-list{list-style:none;padding:0;margin:10px 0 0}
.batch-file-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.batch-file-list li:last-child{border-bottom:0}
.batch-file-order{width:28px;height:28px;display:grid;place-items:center;background:#e9f2eb;color:#2e624b;border-radius:7px;flex:none;font-size:12px;font-weight:750}
.batch-file-info{display:grid;min-width:0}
.batch-file-info strong,.batch-row-name strong{font-size:14px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.batch-file-actions{display:flex;align-items:center;gap:3px}
.batch-file-actions button{min-height:32px;padding:5px 7px;font-size:13px}
.batch-schedule-main{display:grid;gap:15px;min-width:0}
.batch-rule-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:12px}
.batch-rules label,.batch-standard label,.batch-links label,.batch-cover label,.batch-override label{display:grid;gap:5px;font-size:14px;font-weight:650}
.batch-check{display:flex!important;align-items:center;gap:8px;font-size:14px;font-weight:630;min-height:27px}
.batch-rule-top .batch-check{grid-column:1/-1}
.batch-hours{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:11px;max-height:240px;overflow:auto;padding:2px}
.batch-hours label span{color:var(--muted);font-size:12px}
.batch-hours input,.batch-row input{font-size:14px;padding:7px 9px}
.batch-standard{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.batch-help{margin-top:7px}
.batch-preview{display:grid;place-items:center;aspect-ratio:16/9;background:#182c24;border-radius:11px;overflow:hidden;margin-bottom:14px;color:#d1ebdc}
.batch-preview video{width:100%;height:100%;object-fit:contain;min-height:0}
.batch-preview-empty{place-content:center;gap:6px;font-size:13px}
.batch-preview-empty svg{width:25px;height:25px}
.batch-editor-title{max-width:100%;overflow-wrap:anywhere}
.batch-override{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.batch-cover-grid{display:flex;flex-wrap:wrap;gap:16px;align-items:start}
.batch-cover{flex:1 1 220px;min-width:0;display:grid;gap:8px}
.batch-cover-preview{width:84px;height:112px;border-radius:10px;object-fit:contain;background:#182c24}
.batch-cover .batch-help{margin:0}
.batch-cover .ghost{justify-self:start;padding:6px 10px;min-height:34px}
.batch-effective{padding:9px 11px;background:#f3f6f2;border-radius:8px;font-size:13px;color:var(--muted);max-height:108px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.batch-table-head,.batch-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(113px,.63fr) minmax(92px,.47fr);gap:8px;align-items:center}
.batch-table-head{font-size:12px;font-weight:700;color:var(--muted);padding:0 10px 7px}
.batch-row{margin:0 0 3px;padding:7px 9px;border:1px solid transparent;border-radius:9px}
.batch-row-active,.batch-row:hover{background:#edf5ee;border-color:#d9e8dd}
.batch-row-name{display:flex;align-items:center;gap:8px;text-align:left;color:var(--text);border:0;background:none;padding:0;min-width:0}
.batch-row-name>span:last-child{min-width:0}
.batch-row input[aria-invalid]{border-color:#c58d80}
.batch-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px}
.batch-submit [data-batch-summary]{font-size:14px;font-weight:670}
.batch-alert,.batch-warning{border:1px solid #efd1bd;background:#fff3e9;color:#71431c;padding:10px 13px;border-radius:10px;font-size:14px}
.batch-confirm-count{display:flex;gap:9px;align-items:baseline}
.batch-confirm-count strong{font-size:34px;letter-spacing:-.045em}
.batch-confirm-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px;color:var(--muted)}
.batch-confirm-dates span{display:grid;gap:4px;padding:10px;border-radius:9px;background:#f1f6f1}
.batch-confirm-dates strong{color:var(--text);font-size:14px}
.workspace-entry{border:1px solid var(--line);border-radius:9px;padding:3px 6px;min-width:0}
.workspace-entry .pill{white-space:normal;overflow-wrap:anywhere}
.instagram-help{background:#f1f6f1;border-radius:9px;padding:10px 12px;font-size:14px}
.instagram-help summary{cursor:pointer;font-weight:650}
.instagram-help p{margin:7px 0}
.instagram-help a{text-decoration:underline}
.instagram-recovery{display:grid;gap:10px;justify-items:start;margin-bottom:17px}
[hidden]{display:none!important}
.access{min-height:100svh;display:grid;place-items:center;padding:24px}
.access-card{width:min(100%,460px);padding:clamp(24px,6vw,38px);background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 12px 36px rgb(28 55 40 / 8%)}
.access-card .brand{margin:0 0 24px}
.access-card h1{margin:0 0 8px;font-size:clamp(25px,5vw,30px);line-height:1.2}
.access-card p{margin:0 0 18px;color:var(--muted);line-height:1.5}
.access-card form,.access-card label{display:grid;gap:10px}
.access-card label{font-size:14px;font-weight:650}
.access-card form .primary{justify-content:center}
.access-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.access-card .access-status{margin:0;font-size:14px}
.access-status:empty{display:none}
.access-recovery code{display:block;overflow-wrap:anywhere;padding:12px;background:var(--light);border-radius:8px;font-size:16px;user-select:all}
@media(max-width:1060px){.batch-upload-grid,.batch-schedule-grid{grid-template-columns:minmax(0,1fr) minmax(255px,.75fr)}.batch-panel{padding:14px}}
@media(max-width:850px){.batch-schedule-grid{grid-template-columns:1fr}.batch-schedule-grid .batch-side{position:relative;top:auto}.batch-preview{max-width:420px}}
@media(max-width:700px){.batch-upload-grid{grid-template-columns:1fr}.batch-side{position:relative;top:auto}.batch-submit{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.batch-standard{grid-template-columns:1fr}.batch-file-list li{grid-template-columns:auto minmax(0,1fr)}.batch-file-actions{grid-column:2}.batch-row,.batch-table-head{grid-template-columns:minmax(63px,1fr) 107px 87px;gap:6px;padding-inline:3px}.batch-row-name{gap:4px}.batch-row-name .batch-file-order{width:20px;height:22px}.batch-row-name small{display:none}.batch-row input{padding-inline:4px;font-size:13px}.batch-steps button{padding-inline:8px}}
