:root{--bg:#f7f3ee;--surface:#fffdf9;--surface-strong:#fff;--text:#111;--muted:#6f6a64;--line:#e5ded6;--accent:#d71920;--accent-soft:#fff0ef;--shadow:0 24px 80px #19181714;--radius:24px}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{min-height:100%;color:var(--text);background:var(--bg);letter-spacing:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}a{color:inherit}.app-shell{min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f7f3eee6;border-bottom:1px solid #e5ded6c7;justify-content:space-between;align-items:center;gap:18px;padding:18px clamp(20px,5vw,56px);display:flex;position:sticky;top:0}.brand{align-items:baseline;gap:10px;text-decoration:none;display:flex}.brand-mark{color:var(--accent);font-size:18px;font-weight:900}.brand-name{font-size:17px;font-weight:800}.nav-links{color:var(--muted);align-items:center;gap:12px;font-size:14px;display:flex}.profile-menu{position:relative}.profile-menu summary{border:1px solid var(--line);color:#171615;cursor:pointer;background:#fff;border-radius:999px;place-items:center;width:42px;height:42px;font-weight:900;list-style:none;display:inline-grid;overflow:hidden}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu img{object-fit:cover;width:100%;height:100%}.profile-popover{z-index:30;border:1px solid var(--line);min-width:240px;box-shadow:var(--shadow);color:var(--text);background:#fff;border-radius:18px;gap:4px;padding:10px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.profile-popover a,.profile-popover button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;padding:10px;text-decoration:none}.profile-popover a:hover,.profile-popover button:hover{background:var(--accent-soft)}.profile-identity{border-bottom:1px solid var(--line);gap:3px;padding:10px;display:grid}.profile-identity span{color:var(--muted);font-size:12px}.page{width:min(1180px,100% - 32px);margin:0 auto;padding:clamp(34px,7vw,72px) 0}.narrow{width:min(820px,100% - 32px)}.hero{gap:18px;margin-bottom:clamp(34px,5vw,60px);display:grid}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:0;margin:0;font-size:12px;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:0;max-width:780px;margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif;font-size:clamp(44px,8vw,86px);line-height:.96}h2{letter-spacing:0;margin-bottom:14px;font-size:clamp(28px,4vw,44px);line-height:1.05}h3{margin-bottom:10px;font-size:20px;line-height:1.2}.lede{max-width:670px;color:var(--muted);margin-bottom:0;font-size:clamp(18px,2.6vw,23px);line-height:1.45}.surface{background:var(--surface-strong);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #e5ded6bf}.panel{padding:clamp(22px,4vw,34px)}.grid{gap:18px;display:grid}.two-col{grid-template-columns:minmax(0,.95fr) minmax(320px,1.25fr);align-items:start}.three-col{grid-template-columns:repeat(3,minmax(0,1fr))}.stack{gap:14px;display:grid}.field{gap:8px;display:grid}.field label{color:#37322e;font-size:13px;font-weight:800}.field input,.field textarea,.field select{border:1px solid var(--line);width:100%;color:var(--text);background:#fffdf9;border-radius:16px;outline:none;padding:13px 14px;transition:border-color .16s,box-shadow .16s,background .16s}.field textarea{resize:vertical;min-height:130px}.field input:focus,.field textarea:focus,.field select:focus{background:#fff;border-color:#d719208c;box-shadow:0 0 0 4px #d7192014}.field-hint{color:var(--muted);margin:0;font-size:12px;font-weight:700}.upload-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.file-button{white-space:nowrap;min-height:48px}.checkbox-row{color:var(--text);align-items:center;gap:10px;font-size:13px;font-weight:800;display:inline-flex}.checkbox-row input{width:18px;height:18px;accent-color:var(--accent)}.settings-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:22px;display:grid}.settings-menu{border:1px solid var(--line);background:#fffdf9;border-radius:18px;gap:8px;padding:14px;display:grid;position:sticky;top:96px}.settings-menu a{color:var(--muted);border-radius:12px;padding:10px 12px;font-size:13px;font-weight:800;text-decoration:none}.settings-menu a:hover,.settings-menu a:focus{background:var(--accent-soft);color:var(--text);outline:none}.settings-sections [id]{scroll-margin-top:110px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.button{color:#fff;cursor:pointer;background:#171615;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:11px 17px;font-size:14px;font-weight:800;text-decoration:none;transition:transform .16s,opacity .16s,background .16s;display:inline-flex}.button:hover{transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.5;transform:none}.button.secondary{color:#171615;border:1px solid var(--line);background:#fff}.button.red{background:var(--accent)}.button.ghost{color:var(--muted);background:0 0;border:1px solid #0000}.status-pill{background:var(--accent-soft);width:fit-content;color:var(--accent);border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.status-approved{color:#11683a;background:#e7f6ee}.status-submitted{color:#2457a6;background:#eef4ff}.status-rejected{color:#a2161b;background:#fff0ef}.status-archived{color:#5f5750;background:#ede9e3}.muted{color:var(--muted)}.story-card,.draft-card{background:#fffdf9c7;border:1px solid #e5ded6cc;border-radius:20px;gap:12px;padding:18px;display:grid}.draft-card.active-draft{border-color:#d719206b;box-shadow:0 0 0 4px #d7192012}.draft-list-card{position:relative}.draft-card-main{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;gap:12px;padding:0 42px 0 0;display:grid}.icon-button{border:1px solid var(--line);color:#171615;cursor:pointer;background:#fff;border-radius:999px;place-items:center;width:34px;height:34px;transition:transform .16s,border-color .16s,color .16s;display:inline-grid}.icon-button:hover{color:var(--accent);border-color:#d7192059;transform:translateY(-1px)}.icon-button:disabled{cursor:not-allowed;opacity:.45;transform:none}.icon-button svg{fill:currentColor;width:17px;height:17px}.draft-delete-button{position:absolute;top:12px;right:12px}.section-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.department-highlight-heading{color:#171615;align-items:center;gap:10px;font-size:18px;font-weight:900;display:flex}.story-card .department-highlight-heading img{aspect-ratio:1;object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:10px;width:36px;height:36px;padding:6px}.archive-layout{grid-template-columns:minmax(260px,.72fr) minmax(0,1.4fr);align-items:start}.sent-list{max-height:82vh;padding-right:4px;overflow:auto}.story-card img{aspect-ratio:16/9;object-fit:cover;border-radius:16px;width:100%}.story-card img.story-logo-fallback{object-fit:contain;border:1px solid var(--line);background:#fff;padding:28px}.story-card img.settings-image-preview{max-height:220px}.story-card img.settings-icon-preview{aspect-ratio:1;object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:10px;width:64px;height:64px;padding:8px}.story-card img.settings-logo-preview,.settings-logo-preview{object-fit:contain;border:1px solid var(--line);background:#1b355d;border-radius:10px;width:min(260px,100%);max-height:90px;padding:12px}.section-title-preview{border-radius:14px;align-items:center;gap:10px;max-width:100%;padding:10px 12px;font-weight:800;display:inline-flex}.section-title-preview img.section-icon-preview{aspect-ratio:1;object-fit:contain;background:#ffffff38;border-radius:999px;width:34px;height:34px;padding:5px}.colour-row{grid-template-columns:54px minmax(0,1fr);gap:10px;display:grid}.colour-row input[type=color]{min-height:48px;padding:6px}.send-panel{border-top:1px solid var(--line);padding-top:20px}.weekly-number-visual{background:#1b355d;border-radius:14px;gap:10px;padding:14px;display:grid}.weekly-number-row{gap:6px;display:grid}.weekly-number-row.over-target{background:#3ad16f24;border-radius:12px;padding:8px}.weekly-number-row.needs-target{background:#ffffff1a;border-radius:12px;padding:8px}.weekly-number-row-label{color:#fff;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;font-weight:800;display:flex}.weekly-number-row-label span{color:#ffffffc7;text-align:right;font-size:12px;font-weight:700}.target-bar{background:#ffffff38;border-radius:999px;width:100%;height:10px;overflow:hidden}.target-fill{border-radius:inherit;min-width:8px;height:100%;display:block}.over-target-badge{color:#073516;background:#3ad16f;border-radius:999px;width:fit-content;padding:5px 8px;font-size:11px;font-weight:900}.target-shortfall-badge{color:#1b355d;background:#ffffffe0;border-radius:999px;width:fit-content;padding:5px 8px;font-size:11px;font-weight:900}.meta{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:13px;display:flex}.tabs{border:1px solid var(--line);background:#ffffffbf;border-radius:999px;flex-wrap:wrap;width:fit-content;padding:4px;display:flex}.tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:9px 14px;font-weight:800}.tab.active{color:#fff;background:#171615}.preview-frame{border:1px solid var(--line);background:#fff;border-radius:22px;width:100%;height:min(900px,78vh)}.split-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.notice{color:#761014;background:#d7192014;border-radius:18px;padding:14px 16px;font-weight:700}.build-footer{color:#6f6a64b8;text-align:center;margin:24px 0 0;font-size:10px;line-height:1.4}@media (max-width:900px){.topbar{flex-direction:column;align-items:flex-start}.two-col,.three-col,.settings-layout,.archive-layout{grid-template-columns:1fr}.settings-menu{position:static}.split-actions{flex-direction:column;align-items:flex-start}}
