:root{--bg:#f7f7f8;--panel:#ffffff;--text:#1d1f23;--muted:#6b7079;--line:#e3e5e9;--accent:#2856d8;--st-draft:#8a8f98;--st-queued:#2f6fdf;--st-publishing:#d98e04;--st-published:#1f9d55;--st-failed:#d93a3a;--st-needs_review:#8b4fd6;color-scheme:light}*{box-sizing:border-box}body,html{margin:0;padding:0}body{background:var(--bg);color:var(--text);font:14px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:20px;margin:0}h2{font-size:16px;margin:24px 0 8px}h3{font-size:14px;margin:16px 0 6px}code{background:#eef0f3;padding:1px 4px;border-radius:3px;font-size:12px}.muted{color:var(--muted);font-weight:400}.small{font-size:12px}.nowrap,.num{white-space:nowrap}.num{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.banner{background:#fff3cd;color:#6b4e00;padding:6px 16px;font-size:13px;border-bottom:1px solid #f0d98a}.topnav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#16181d;color:#fff;padding:0 16px;min-height:46px}.topnav a{color:#c9ccd3;padding:12px 8px;display:inline-block}.topnav a:hover{color:#fff;text-decoration:none}.topnav a.active{color:#fff;box-shadow:inset 0 -2px 0 #fff}.topnav .brand{color:#fff;font-weight:600;padding-left:0}.topnav .sections{display:flex;flex-wrap:wrap;flex:1 1}.topnav .newpost{color:#9fc0ff}.topnav .ws{display:flex;gap:2px;background:#262a32;border-radius:6px;padding:2px}.topnav .ws a{padding:4px 10px;border-radius:4px;font-size:13px}.topnav .ws a.active{background:#fff;color:#16181d;box-shadow:none}.main{padding:16px;max-width:1400px;margin:0 auto}.pagehead{justify-content:space-between;gap:12px;margin-bottom:12px}.pagehead,.pagehead-actions{display:flex;align-items:center;flex-wrap:wrap}.pagehead-actions{gap:8px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin-bottom:14px}.grid2{grid-template-columns:repeat(auto-fit,minmax(420px,1fr));grid-gap:14px}.grid2,.grid3{display:grid;gap:14px}.grid3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:14px}table{border-collapse:collapse;width:100%;background:var(--panel)}td,th{padding:5px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:12px;color:var(--muted);font-weight:600;background:#fafbfc;white-space:nowrap}th a{color:inherit}th.group{text-align:center}td.gstart,th.group,th.gstart{border-left:1px solid var(--line)}tr.totals td{font-weight:600;background:#fafbfc}.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.tablewrap table{border:0}.badge{display:inline-block;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:600;color:#fff;white-space:nowrap}.st-draft{background:var(--st-draft)}.st-queued{background:var(--st-queued)}.st-publishing{background:var(--st-publishing)}.st-published{background:var(--st-published)}.st-failed{background:var(--st-failed)}.st-needs_review{background:var(--st-needs_review)}.h-ok{background:var(--st-published)}.h-expiring{background:var(--st-publishing)}.h-error,.h-expired{background:var(--st-failed)}.h-none{background:var(--st-draft)}.ptag{background:#eef0f3;color:#333}.ptag,.wstag{display:inline-block;font-size:11px;padding:0 6px;border-radius:3px;white-space:nowrap}.wstag{border:1px solid var(--line);color:var(--muted)}.sharedtag{font-size:10px;font-style:italic}.notice{padding:8px 12px;border-radius:6px;margin-bottom:12px;white-space:pre-line}.notice.ok{background:#e7f6ec;color:#135a30;border:1px solid #b9e3c7}.notice.error{background:#fdecec;color:#8a1f1f;border:1px solid #f3c2c2}.notice.warn{background:#f4ecfd;color:#4d2387;border:1px solid #dcc8f5}.errtext{color:#8a1f1f;white-space:pre-line}.empty{color:var(--muted);font-style:italic;margin:6px 0}.button,button{font:inherit;font-size:13px;padding:4px 12px;border-radius:5px;border:1px solid #c4c8cf;background:#fff;color:var(--text);cursor:pointer;display:inline-block}.button:hover,button:hover{background:#f1f3f6;text-decoration:none}.button.primary,button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.button.primary:hover,button.primary:hover{background:#1f47b8}button.danger{border-color:var(--st-failed);color:var(--st-failed)}button:disabled{opacity:.6;cursor:default}.inline-form{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0}.inline-msg{font-size:12px}.inline-msg.error{color:var(--st-failed);white-space:pre-line}.inline-msg.ok{color:var(--st-published)}input[type=date],input[type=datetime-local],input[type=email],input[type=password],input[type=text],select,textarea{font:inherit;font-size:13px;padding:5px 8px;border:1px solid #c4c8cf;border-radius:5px;background:#fff;color:var(--text)}textarea{width:100%;min-height:70px;resize:vertical}label{display:block;font-size:12px;color:var(--muted);margin-bottom:3px;font-weight:600}.field{margin-bottom:12px}.field input[type=email],.field input[type=password],.field input[type=text]{width:100%}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:12px}.filters .field{margin:0}.counter{font-size:11px;color:var(--muted);text-align:right}.counter.over{color:var(--st-failed);font-weight:600}.progress{height:6px;background:#e3e5e9;border-radius:3px;overflow:hidden;margin:6px 0}.progress>div{height:100%;background:var(--accent);transition:width .2s}.checklist label{display:flex;gap:6px;align-items:center;font-weight:400;color:var(--text);font-size:13px}.list{list-style:none;margin:0;padding:0}.list li{padding:6px 0;border-bottom:1px solid var(--line);display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.list li:last-child{border-bottom:0}.cal{table-layout:fixed}.cal th{text-align:center}.cal td{height:104px;padding:4px}.cal td.other{background:#fafbfc}.cal td.other .daynum{color:#b5b9c0}.cal td.today{box-shadow:inset 0 0 0 2px var(--accent)}.daynum{font-size:12px;color:var(--muted);font-weight:600}.calpost{margin-top:3px;font-size:11px;line-height:1.3}.calpost a{color:var(--text);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chips{display:flex;flex-wrap:wrap;gap:2px;margin-top:1px}.chip{font-size:10px;padding:0 4px;border-radius:3px;color:#fff;white-space:nowrap}.kv{display:grid;grid-template-columns:max-content 1fr;grid-gap:4px 14px;gap:4px 14px;font-size:13px}.kv dt{color:var(--muted)}.kv dd{margin:0}.media-preview{max-width:260px;max-height:360px;border-radius:6px;background:#000;display:block}.stat{font-size:22px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.doc{max-width:760px;margin:0 auto;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:24px 32px;line-height:1.6}.doc h1{font-size:24px;margin-bottom:4px}.doc h2{font-size:17px;margin-top:22px}.login{max-width:380px;margin:10vh auto}.mode-badge{font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;background:#fff4d6;color:#7a5200;border:1px solid #f0d58a;white-space:nowrap}