:root {
  --ink: #141414;
  --ink-2: #262626;
  --paper: #f2efe8;
  --paper-2: #fbfaf6;
  --line: #d9d4ca;
  --muted: #726e67;
  --red: #e3422f;
  --red-dark: #b92d20;
  --acid: #d8ff52;
  --green: #1d7a4b;
  --blue: #3766e8;
  --radius: 18px;
  --shadow: 0 12px 36px rgba(20,20,20,.07);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: #ece7dc; border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: 264px; padding: 28px 20px 18px; color: #fff; background: var(--ink); display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.brand b { display: block; font-size: 20px; line-height: 1; }
.brand small { display: block; margin-top: 3px; color: #a9a9a9; font-weight: 800; font-size: 10px; letter-spacing: .18em; }
.brand-mark { width: 41px; height: 41px; border: 2px solid #fff; border-radius: 50%; position: relative; overflow: hidden; display: inline-block; flex: none; transform: rotate(-8deg); }
.brand-mark i { position: absolute; width: 5px; height: 33px; top: 2px; border-radius: 99px; background: var(--red); transform: rotate(36deg); }
.brand-mark i:nth-child(1) { left: 9px; }.brand-mark i:nth-child(2) { left: 18px; }.brand-mark i:nth-child(3) { left: 27px; }
.brand-mark.large { width: 72px; height: 72px; border-width: 3px; }.brand-mark.large i { width: 8px; height: 58px; top: 4px; }.brand-mark.large i:nth-child(1){left:15px}.brand-mark.large i:nth-child(2){left:31px}.brand-mark.large i:nth-child(3){left:47px}
.create-link { margin: 30px 0 20px; padding: 13px 15px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; display: flex; gap: 10px; align-items: center; transition: transform .2s, background .2s; }
.create-link:hover { background: #f04a35; transform: translateY(-1px); }.create-link span { font-size: 20px; }
.main-nav { display: flex; flex-direction: column; gap: 4px; }
.main-nav a { color: #a7a7a7; text-decoration: none; display: flex; gap: 12px; align-items: center; border-radius: 10px; min-height: 42px; padding: 9px 11px; font-size: 14px; font-weight: 650; transition: color .2s, background .2s; }
.main-nav a span { width: 22px; height: 22px; display: grid; place-items: center; color: #777; font-size: 17px; }
.main-nav a:hover { color: #fff; background: #222; }.main-nav a.active { color: #fff; background: #2a2a2a; }.main-nav a.active span { color: var(--acid); }
.nav-separator { height: 1px; margin: 14px 10px; background: #303030; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #303030; padding: 17px 8px 0; display: flex; gap: 10px; align-items: center; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,172,102,.16); flex: none; }
.sidebar-footer b,.sidebar-footer small { display: block; }.sidebar-footer b { font-size: 12px; }.sidebar-footer small { margin-top: 3px; color: #777; font-size: 11px; }

.topbar { position: fixed; z-index: 15; left: 264px; right: 0; top: 0; height: 82px; padding: 0 34px; background: rgba(242,239,232,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.top-title .eyebrow { display: block; }.top-title strong { display: block; font-size: 18px; margin-top: 3px; }
.eyebrow { color: var(--red); font-weight: 900; font-size: 10px; line-height: 1.1; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: var(--acid); }
.user-chip { display: flex; align-items: center; gap: 9px; }
.user-chip > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
.user-chip b,.user-chip small { display: block; }.user-chip b { font-size: 13px; }.user-chip small { color: var(--muted); font-size: 11px; text-transform: capitalize; }
.icon-button { appearance: none; border: 0; border-radius: 9px; width: 34px; height: 34px; background: transparent; display: grid; place-items: center; cursor: pointer; color: inherit; font-size: 19px; }
.icon-button:hover { background: #e5e0d6; }

.content { margin-left: 264px; padding: 116px 34px 50px; min-height: 100vh; max-width: 1680px; }
.page-intro { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 26px; }
.page-intro.compact { align-items: flex-start; }.page-intro h1,.editor-main h1 { margin: 6px 0 7px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; line-height: 1; }
.page-intro p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.55; }
h2,h3,p { overflow-wrap: anywhere; }.muted { color: var(--muted); }
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.button { appearance: none; border: 0; min-height: 42px; padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: 13px; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }.button:disabled { cursor: not-allowed; opacity: .45; }
.button.primary { color: #fff; background: var(--red); box-shadow: 0 7px 16px rgba(227,66,47,.2); }.button.primary:hover:not(:disabled){background:#ef4935}
.button.secondary { color: var(--ink); background: #e9e5dc; border: 1px solid #d5d0c7; }.button.secondary:hover:not(:disabled){background:#dfd9ce}
.button.dark { color: #fff; background: var(--ink); }.button.danger { color: #fff; background: var(--red-dark); }.button.light { color: var(--ink); background: var(--paper-2); }.button.ghost-light { color: #fff; border: 1px solid #555; background: transparent; }
.button.wide { width: 100%; }.button.small { min-height: 35px; padding: 8px 12px; font-size: 12px; }.button.icon-text { background: transparent; padding-left: 0; padding-right: 0; color: var(--muted); }.button.icon-text.saved { color: var(--red); }

.hero-panel { min-height: 300px; border-radius: 28px; padding: 42px; color: #fff; background: var(--ink); position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; box-shadow: 0 20px 50px rgba(20,20,20,.16); }
.hero-panel::before,.hero-panel::after { content:""; position:absolute; border: 28px solid var(--red); border-radius: 50%; opacity:.9; }.hero-panel::before { width: 290px; height: 290px; right: -80px; top: -140px; }.hero-panel::after { width: 190px; height: 190px; right: 170px; bottom: -160px; border-color: var(--acid); }
.hero-panel > * { position: relative; z-index: 1; }.hero-panel h1 { margin: 10px 0 14px; font-size: clamp(43px,6vw,78px); letter-spacing: -.075em; line-height: .9; max-width: 760px; }.hero-panel h1 em { color: var(--red); font-style: normal; }.hero-panel p { max-width: 600px; margin: 0; color: #bdbdbd; line-height: 1.55; }.hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 18px 0 36px; }.stats-grid article { background: var(--paper-2); border: 1px solid var(--line); padding: 22px; border-radius: 15px; }.stats-grid article > span,.stats-grid article small { display: block; }.stats-grid article > span { color: var(--muted); font-size: 12px; font-weight: 700; }.stats-grid strong { display: block; font-size: 45px; letter-spacing: -.06em; margin: 7px 0 4px; }.stats-grid small { color: #9a958d; }.stats-grid .accent { background: var(--red); color:#fff; border-color:var(--red); }.stats-grid .accent span,.stats-grid .accent small {color:#ffd7d0}
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 22px 0 14px; }.section-heading h1,.section-heading h2 { margin: 4px 0 0; letter-spacing: -.04em; }.section-heading h2 { font-size: 27px; }.section-heading > a { color: var(--red); font-size: 13px; font-weight: 800; }
.count-pill { min-width: 38px; height: 30px; border-radius: 99px; background: var(--ink); color:#fff; display:grid; place-items:center; font-weight:800; font-size:12px; }
.queue-list { padding: 6px 18px; }.queue-row { display:grid; grid-template-columns:56px minmax(0,1fr) 70px 110px; align-items:center; gap:15px; padding:14px 4px; border-bottom:1px solid var(--line); text-decoration:none; }.queue-row:last-child{border-bottom:0}.queue-row:hover .queue-copy b{color:var(--red)}
.date-tile { width: 50px; height: 50px; border-radius: 11px; background:var(--ink); color:#fff; display:grid; place-content:center; text-align:center; }.date-tile b{font-size:18px;line-height:1}.date-tile small{font-size:9px;text-transform:uppercase;color:#aaa;margin-top:3px}.queue-copy b{transition:color .2s}.queue-copy p{margin:4px 0 0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.queue-row time{font-weight:900}
.status { display:inline-flex; width:max-content; align-items:center; border-radius:999px; padding:5px 9px; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.045em; background:#e7e2d8; color:#665f55; }.status.published{background:#d9f2e4;color:#17603b}.status.scheduled,.status.queued{background:#e1e8ff;color:#274fb3}.status.publishing{background:#fff0bf;color:#765500}.status.error,.status.reauth_needed{background:#ffe0dc;color:#9f2c20}.status.draft{background:#e9e4da;color:#5d574e}
.empty-state { padding: 56px 24px; display:grid; place-items:center; text-align:center; }.empty-state > span { width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#ece7dd;color:var(--red);font-size:30px;font-weight:900}.empty-state h3,.empty-state h1{margin:17px 0 6px}.empty-state p{max-width:480px;margin:0 0 20px;color:var(--muted);line-height:1.5}

.notice { border-radius: 13px; padding: 16px; background: #ece8df; }.notice.warning { margin-bottom:18px; border-left:4px solid #da8a17; }.notice b{display:block}.notice p{margin:6px 0 0;color:var(--muted);line-height:1.5;font-size:13px}
.connection-card { display:flex;align-items:center;gap:18px;padding:22px 24px;border-radius:18px;background:var(--paper-2);border:1px solid var(--line);box-shadow:var(--shadow); }.connection-card.connected{border-left:5px solid var(--green)}.connection-card.limited,.connection-card.reauth_needed{border-left:5px solid var(--red)}
.vk-badge { width:56px;height:56px;border-radius:15px;background:#2787f5;color:#fff;display:grid;place-items:center;font-weight:950;font-size:22px;flex:none}.connection-copy{min-width:220px}.connection-copy h2{margin:4px 0;font-size:20px}.connection-copy p{margin:0;color:var(--muted);font-size:13px}.permission-stack{margin-left:auto}.permission-stack small{display:block;margin-top:6px;color:var(--muted);font-size:11px}
.account-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px }.account-card{padding:18px;background:var(--paper-2);border:1px solid var(--line);border-radius:16px}.account-card.selected{border-color:var(--ink);box-shadow:5px 5px 0 var(--ink)}.account-head{display:flex;gap:12px;align-items:center}.account-head img,.avatar-fallback{width:52px;height:52px;border-radius:13px;object-fit:cover;flex:none}.avatar-fallback{display:grid;place-items:center;background:#2787f5;color:#fff;font-weight:900}.account-head h3{margin:0;font-size:15px;line-height:1.25}.account-head a{display:block;margin-top:4px;color:var(--muted);font-size:11px}.permission-list{display:flex;flex-direction:column;gap:7px;margin:17px 0}.permission-list span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.permission-list i{width:8px;height:8px;border-radius:50%;background:#c4beb4}.permission-list i.ok{background:var(--green)}

.source-toolbar{padding:18px;margin-bottom:14px}.source-add-form{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end}.source-add-form label span,.stack-form label>span,.slot-form label span,.field-label{display:block;margin:0 0 7px;font-size:11px;font-weight:850;color:#5f5a52}.source-chips{display:flex;gap:9px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:thin}.source-chip{min-width:280px;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 34px;gap:10px;align-items:center;padding:10px;background:var(--paper-2);border:1px solid var(--line);border-radius:12px}.source-chip.error{border-color:#e5a097}.source-chip img,.source-chip>span{width:42px;height:42px;border-radius:10px;object-fit:cover}.source-chip>span{display:grid;place-items:center;background:#2787f5;color:#fff;font-weight:900}.source-chip b,.source-chip small{display:block}.source-chip b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-chip small{font-size:10px;color:var(--muted);margin-top:3px}.source-chip .inline-error{grid-column:1/-1;margin:0}
.filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) 210px auto auto;gap:10px;align-items:center;padding:12px;margin-bottom:18px}.search-field{position:relative}.search-field>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:18px;color:var(--muted)}.search-field input{padding-left:40px}.check{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);font-weight:700}.content-grid{columns:3 320px;column-gap:14px}.content-card{break-inside:avoid;margin:0 0 14px;background:var(--paper-2);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(20,20,20,.04)}.content-card>header{display:flex;gap:9px;align-items:center;padding:13px 14px}.content-card>header img{width:36px;height:36px;border-radius:9px}.content-card>header b,.content-card>header small{display:block}.content-card>header b{font-size:12px}.content-card>header small{font-size:10px;color:var(--muted);margin-top:3px}.photo-grid{position:relative;display:grid;gap:2px;background:#ddd}.photo-grid img{width:100%;height:100%;min-height:180px;max-height:430px;object-fit:cover}.photos-2{grid-template-columns:1fr 1fr}.photos-3,.photos-4{grid-template-columns:1fr 1fr}.photos-3 img,.photos-4 img{height:180px}.photo-grid>span{position:absolute;right:10px;bottom:10px;border-radius:99px;padding:6px 10px;background:rgba(0,0,0,.7);color:#fff;font-weight:900}.post-copy{padding:0 14px;margin:14px 0;white-space:pre-wrap;line-height:1.47;font-size:13px;max-height:14em;overflow:auto}.metrics{display:flex;gap:12px;padding:0 14px 12px;color:var(--muted);font-size:11px}.content-card>footer{border-top:1px solid var(--line);padding:8px 14px;display:flex;justify-content:space-between;align-items:center}.content-card form{margin:0}

.page-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 0 16px;padding-bottom:4px}.page-tabs a{white-space:nowrap;text-decoration:none;border:1px solid var(--line);background:var(--paper-2);border-radius:999px;padding:9px 13px;font-size:12px;font-weight:750;color:var(--muted)}.page-tabs a.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.posts-list{display:flex;flex-direction:column;gap:8px}.post-row{display:grid;grid-template-columns:28px 56px minmax(0,1fr) 70px auto;gap:14px;align-items:center;padding:15px;background:var(--paper-2);border:1px solid var(--line);border-radius:14px}.drag-controls form{height:20px}.drag-controls button{border:0;background:transparent;color:#999;cursor:pointer}.post-date{width:50px;height:50px;border:1px solid var(--line);border-radius:10px;display:grid;place-content:center;text-align:center}.post-date b{font-size:17px}.post-date small{text-transform:uppercase;color:var(--muted);font-size:9px}.post-meta{display:flex;align-items:center;gap:8px}.post-meta b{font-size:13px}.post-meta small{color:var(--muted)}.post-main p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.post-time{text-align:center}.post-time strong,.post-time small{display:block}.post-time small{font-size:9px;color:var(--muted)}.row-actions{display:flex;gap:6px;align-items:center}.row-actions form{margin:0}
.inline-error{padding:7px 9px;border-radius:8px;background:#ffe5e1;color:#9b2d22;font-size:11px;margin-top:8px}

.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.editor-main{padding:24px}.editor-main .section-heading{margin-top:0}.publish-panel{padding:22px;position:sticky;top:99px}.publish-panel h2{margin:5px 0 15px}.action-block{padding:15px 0;border-top:1px solid var(--line)}.action-block b{font-size:13px}.action-block p{margin:4px 0 10px;color:var(--muted);font-size:11px;line-height:1.45}.action-block form{display:grid;gap:8px}.accent-block{margin:4px -10px;padding:14px 10px;border-radius:11px;background:var(--acid);border:0}.danger-zone .danger{margin-top:2px}.text-danger{display:block;margin:15px auto 0;border:0;background:transparent;color:var(--red-dark);text-decoration:underline;cursor:pointer;font-size:12px}.text-danger:disabled{opacity:.4;cursor:not-allowed}
.stack-form{display:flex;flex-direction:column;gap:17px}.stack-form label{display:block}.stack-form input,.stack-form textarea,.stack-form select,.slot-form input,.slot-form select,.source-add-form input,.filter-bar input,.filter-bar select,.action-block input{width:100%;border:1px solid #cfc9bf;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);outline:none;transition:border .2s,box-shadow .2s}.stack-form textarea{resize:vertical;min-height:190px;line-height:1.5}.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus,.slot-form input:focus,.slot-form select:focus,.source-add-form input:focus,.filter-bar input:focus,.filter-bar select:focus,.action-block input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(20,20,20,.08)}.field-hint{display:block;text-align:right;color:var(--muted);margin-top:5px}.upload-zone{border:2px dashed #c8c1b6;border-radius:14px;min-height:120px;display:grid!important;place-items:center;text-align:center;padding:18px;cursor:pointer;background:#f7f4ed}.upload-zone:hover{border-color:var(--red)}.upload-zone input{position:absolute!important;opacity:0;width:1px!important;height:1px}.upload-zone>span{font-size:30px;color:var(--red)}.upload-zone b,.upload-zone small{display:block}.upload-zone small{color:var(--muted);font-size:10px;max-width:500px}.editor-images,.preview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.editor-images figure,.preview-strip figure{margin:0;position:relative;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#eee}.editor-images img,.preview-strip img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.editor-images figcaption,.preview-strip figcaption{padding:6px;font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-remove{position:absolute;right:5px;top:5px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(20,20,20,.8);color:#fff;cursor:pointer}.editor-save{display:flex;gap:8px}

.schedule-status{display:flex;gap:11px;align-items:center;padding:13px 16px;border-radius:12px;margin-bottom:12px;background:#e5e0d7}.schedule-status.on{background:#d9f2e4}.schedule-status.off .status-dot{background:#9a958d;box-shadow:none}.schedule-status b,.schedule-status small{display:block}.schedule-status small{color:var(--muted);font-size:11px;margin-top:2px}.add-slot-panel{padding:15px;margin-bottom:14px}.slot-form{display:grid;grid-template-columns:1fr 150px 1.5fr auto;gap:10px;align-items:end}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));gap:8px;overflow-x:auto;padding-bottom:8px}.day-column{min-height:300px;background:var(--paper-2);border:1px solid var(--line);border-radius:13px;padding:10px}.day-column>header{display:flex;justify-content:space-between;align-items:center;padding:3px 4px 10px}.day-column>header b{font-size:12px}.day-column>header span{width:22px;height:22px;border-radius:50%;background:#ece7de;display:grid;place-items:center;font-size:9px;font-weight:900}.day-slots{display:flex;flex-direction:column;gap:7px}.slot-card{position:relative;padding:12px 9px;border-radius:10px;background:var(--ink);color:#fff}.slot-card time{font-size:20px;font-weight:900;letter-spacing:-.04em}.slot-card small{display:block;color:#aaa;font-size:9px;margin-top:3px}.slot-card form{position:absolute;right:5px;top:5px}.slot-card button{border:0;background:transparent;color:#777;cursor:pointer}.slot-card button:hover{color:#fff}.no-slots{display:block;padding:30px 5px;text-align:center;color:#aaa;font-size:11px}

.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:800px}.data-table th,.data-table td{text-align:left;padding:13px;border-bottom:1px solid var(--line);font-size:12px;vertical-align:top}.data-table th{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:#f0ece4}.data-table tr:last-child td{border:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-grid>.panel{padding:23px}.settings-grid h2{margin-top:0}.settings-list p{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:12px 0;margin:0}.settings-list p:last-child{border:0}.settings-list span{color:var(--muted);font-size:12px}.settings-list b{font-size:12px}.timeline{max-width:820px;margin-left:10px;border-left:2px solid #cbc5ba;padding-left:24px}.timeline>article{position:relative;margin-bottom:15px}.timeline-dot{position:absolute;left:-31px;top:25px;width:12px;height:12px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px var(--paper)}.timeline .panel{padding:20px}.timeline header{display:flex;justify-content:space-between}.timeline time{font-size:11px;color:var(--muted)}.timeline h2{margin:13px 0 6px}.timeline p{margin:0;color:var(--muted);line-height:1.5}.version-pill{padding:4px 8px;border-radius:99px;background:var(--ink);color:#fff;font-size:10px;font-weight:900}

.flash-stack{position:fixed;right:22px;top:95px;z-index:60;display:flex;flex-direction:column;gap:8px;max-width:430px}.flash{position:relative;padding:13px 38px 13px 14px;border-radius:11px;background:var(--ink);color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:12px}.flash.success{background:#185f3c}.flash.error{background:#9e2b21}.flash button{position:absolute;right:8px;top:7px;border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}.is-loading{opacity:.7;pointer-events:none}.is-loading button[type=submit]::after{content:"";width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.mobile-nav{display:none}

.login-page{background:var(--ink)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.login-art{position:relative;overflow:hidden;padding:64px;color:#fff;background:var(--ink);display:flex;flex-direction:column;justify-content:space-between}.login-brand{display:flex;align-items:center;gap:18px;font-size:28px;line-height:.9;letter-spacing:-.04em;position:relative;z-index:2}.login-art>p{font-size:clamp(35px,5vw,72px);font-weight:900;line-height:.94;letter-spacing:-.065em;margin:0;position:relative;z-index:2}.ink-ring{position:absolute;border-radius:50%;border:50px solid var(--red)}.ring-one{width:440px;height:440px;right:-80px;top:90px}.ring-two{width:290px;height:290px;right:320px;bottom:-160px;border-color:var(--acid)}.login-card{background:var(--paper);display:flex;flex-direction:column;justify-content:center;padding:clamp(35px,7vw,110px)}.login-card h1{font-size:clamp(38px,5vw,64px);letter-spacing:-.07em;line-height:1;margin:8px 0}.login-card>.muted{margin:0 0 26px}.login-card .stack-form{max-width:480px}.security-note{max-width:480px;margin-top:22px;border-top:1px solid var(--line);padding-top:15px;color:var(--muted);font-size:11px}.security-note span{color:var(--green);margin-right:4px}.error-page>span{width:auto;height:auto;padding:10px 18px;border-radius:12px;font-size:24px}

@media (max-width: 1120px) {
  .account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{grid-template-columns:repeat(2,1fr)}.content-grid{columns:2 300px}.editor-layout{grid-template-columns:1fr}.publish-panel{position:static}.week-grid{grid-template-columns:repeat(7,160px)}
}

@media (max-width: 760px) {
  body{padding-bottom:78px}.sidebar{display:none}.topbar{left:0;height:66px;padding:0 16px}.top-title .eyebrow{display:none}.top-title strong{font-size:16px}.user-chip>div{display:none}.content{margin-left:0;padding:88px 14px 24px}.mobile-nav{display:grid;position:fixed;z-index:50;bottom:0;left:0;right:0;height:72px;padding:6px 8px max(6px,env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);background:rgba(20,20,20,.97);color:#8b8b8b}.mobile-nav a{display:grid;place-items:center;text-decoration:none;font-size:19px}.mobile-nav a small{font-size:9px;font-weight:800}.mobile-nav a.active{color:#fff}.mobile-nav a.active span{color:var(--acid)}.mobile-nav .mobile-create span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;margin-top:-22px;border:4px solid var(--paper);font-size:26px}.mobile-nav .mobile-create small{margin-top:-6px;color:#fff}.page-intro{align-items:flex-start;flex-direction:column;gap:15px}.page-intro h1,.editor-main h1{font-size:37px}.page-intro>.button,.page-intro>form{width:100%}.page-intro>form .button{width:100%}.hero-panel{min-height:420px;padding:27px;align-items:flex-start;flex-direction:column}.hero-panel::before{right:-180px;top:120px}.hero-panel h1{font-size:51px}.hero-actions{width:100%;margin-top:auto}.hero-actions .button{flex:1}.stats-grid{grid-template-columns:1fr 1fr;gap:8px}.stats-grid article{padding:15px}.stats-grid strong{font-size:34px}.queue-row{grid-template-columns:49px minmax(0,1fr) 55px;padding:11px 0}.queue-row>.status{display:none}.queue-list{padding:5px 12px}.account-grid{grid-template-columns:1fr}.connection-card{align-items:flex-start;flex-wrap:wrap;padding:17px}.connection-copy{min-width:0;flex:1}.permission-stack{width:100%;margin:0}.connection-card>form{width:100%}.connection-card>form .button{width:100%}.source-add-form{grid-template-columns:1fr}.source-chips{margin-right:-14px}.filter-bar{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.filter-bar .check{grid-column:1/2}.content-grid{columns:1}.content-card{margin-bottom:11px}.post-row{grid-template-columns:48px minmax(0,1fr);gap:10px}.drag-controls,.post-time{display:none}.post-date{grid-row:1/3}.row-actions{grid-column:2;justify-content:flex-start}.editor-main{padding:17px}.editor-images,.preview-strip{grid-template-columns:repeat(3,1fr)}.slot-form{grid-template-columns:1fr 1fr}.slot-form label:nth-of-type(3){grid-column:1/-1}.slot-form .button{grid-column:1/-1}.settings-grid{grid-template-columns:1fr}.flash-stack{left:12px;right:12px;top:74px}.login-shell{grid-template-columns:1fr}.login-art{min-height:260px;padding:30px}.login-art>p{font-size:43px}.login-brand{font-size:21px}.brand-mark.large{width:52px;height:52px}.brand-mark.large i{height:41px;width:6px}.brand-mark.large i:nth-child(1){left:11px}.brand-mark.large i:nth-child(2){left:22px}.brand-mark.large i:nth-child(3){left:35px}.login-card{padding:36px 24px;justify-content:flex-start}.login-card h1{font-size:45px}.ring-one{width:250px;height:250px;border-width:30px;right:-70px;top:40px}.ring-two{display:none}.table-wrap{margin:0 -14px;border-radius:0}.schedule-tabs{margin-right:-14px}.week-grid{margin-right:-14px}.section-heading{align-items:flex-start}.section-heading h2{font-size:23px}
}

@media (max-width: 410px) {
  .stats-grid{grid-template-columns:1fr}.filter-bar{grid-template-columns:1fr}.filter-bar .check{grid-column:auto}.editor-images,.preview-strip{grid-template-columns:repeat(2,1fr)}
}
