@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --background: #08090d;
    --panel: #11131a;
    --panel-border: #282b36;
    --text: #f5f0e6;
    --muted: #a7a9b3;
    --gold: #d8b461;
    --green: #65d69e;
    --amber: #f2c66d;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(216, 180, 97, .13), transparent 28rem),
        var(--background);
}

.shell {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.brand-mark {
    display: grid;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 1px solid rgba(216, 180, 97, .55);
    border-radius: 2px;
    color: var(--gold);
    background: linear-gradient(145deg, rgba(216, 180, 97, .14), rgba(216, 180, 97, .03));
    font-family: "Cinzel", Georgia, serif;
    font-size: 38px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .18em;
}

h1, h2 { margin: 0; font-family: "Cinzel", Georgia, serif; line-height: 1.1; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: 25px; font-weight: 600; }

.subtitle {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.panel {
    overflow: hidden;
    border: 1px solid var(--panel-border);
    border-radius: 2px;
    background: rgba(17, 19, 26, .9);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--panel-border);
}

.status {
    padding: 7px 12px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
}

.status-ready { color: var(--green); background: rgba(101, 214, 158, .1); }
.status-pending { color: var(--amber); background: rgba(242, 198, 109, .1); }
.checks { padding: 10px 32px; }

.check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    border-bottom: 1px solid rgba(40, 43, 54, .72);
}

.check-row:last-child { border-bottom: 0; }
.check-icon { font-weight: 800; }
.is-ok { color: var(--green); }
.is-missing { color: var(--amber); }

.next-step {
    margin: 0;
    padding: 22px 32px;
    color: var(--muted);
    background: rgba(255, 255, 255, .018);
    line-height: 1.55;
}

.panel-action { padding: 0 32px 28px; background: rgba(255, 255, 255, .018); }
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--gold);
    border-radius: 0;
    color: #0b0b0d;
    background: var(--gold);
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-quiet { min-height: 38px; color: var(--text); background: transparent; border-color: var(--panel-border); }
.auth-shell { width: min(500px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0; }
.wordmark { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-decoration: none; }
.auth-panel { margin-top: 32px; padding: 32px; }
.auth-title { font-size: 38px; }
.form-intro { margin: 12px 0 26px; color: var(--muted); line-height: 1.5; }
.form-stack { display: grid; gap: 18px; }
.form-stack label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.form-stack small { color: var(--muted); font-weight: 400; }
.form-stack input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--panel-border);
    border-radius: 0;
    outline: none;
    color: var(--text);
    background: #0b0d12;
    font: inherit;
}
.form-stack select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--panel-border); border-radius: 0; outline: none; color: var(--text); background: #0b0d12; font: inherit; }
.form-stack select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 180, 97, .1); }
.inline-link { color: var(--gold); }
.form-stack textarea {
    width: 100%; padding: 13px; resize: vertical; border: 1px solid var(--panel-border); border-radius: 0;
    outline: none; color: var(--text); background: #0b0d12; font: inherit; line-height: 1.5;
}
.form-stack textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 180, 97, .1); }
.form-stack input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 180, 97, .1); }
.alert { margin: 0 0 20px; padding: 12px 15px; border: 1px solid rgba(255, 108, 108, .35); border-radius: 0; color: #ffb3b3; background: rgba(255, 108, 108, .08); }
.alert p { margin: 0; }.alert p + p { margin-top: 6px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px max(24px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--panel-border); background: rgba(8, 9, 13, .88); }
.topbar-actions { display: flex; align-items: center; gap: 9px; }.topbar-actions form { margin: 0; }.settings-shell { width: min(620px, calc(100% - 32px)); }
.dashboard-shell { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.dashboard-heading h1 { font-size: clamp(34px, 5vw, 48px); }
.dashboard-heading .button-row { flex-wrap: nowrap; }
.dashboard-heading .button-row .button { min-width: 190px; flex: 0 0 auto; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--panel-border); border-radius: 0; background: var(--panel); }
.stat-card span { color: var(--muted); font-size: 14px; }.stat-card strong { font-family: "Cinzel", Georgia, serif; font-size: 36px; font-weight: 600; }
.empty-state { padding: 48px 32px; text-align: center; }.empty-state p:last-child { color: var(--muted); }
.editor-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0; }
.editor-heading { margin-bottom: 28px; }.editor-heading h1 { font-size: clamp(34px, 5vw, 48px); }.editor-heading > p:last-child { color: var(--muted); }
.editor-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 20px; align-items: start; }
.form-card { padding: 24px; }
.upload-zone { display: grid; gap: 7px; padding: 38px 20px; border: 1px dashed #484b58; border-radius: 0; text-align: center; color: var(--muted); background: rgba(255,255,255,.012); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.upload-zone:hover, .upload-zone.is-dragging { border-color: var(--gold); background: rgba(216, 180, 97, .08); }
.upload-zone.is-dragging { transform: scale(1.01); }
.upload-zone input { margin: 12px auto 0; max-width: 100%; }.upload-title { color: var(--text); font-size: 18px; font-weight: 750; }
.upload-icon { display: grid; width: 42px; height: 42px; margin: 0 auto 6px; place-items: center; border: 1px solid rgba(216,180,97,.4); border-radius: 50%; color: var(--gold); font-size: 24px; }
.upload-help { margin-top: 3px; font-size: 12px; }.upload-message { min-height: 20px; margin: 10px 0 0; color: var(--gold); font-size: 13px; text-align: center; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.preview-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 0; background: #08090d; }
.preview-grid.ratio-1-1 .preview-item { aspect-ratio: 1 / 1; }
.preview-grid.ratio-4-5 .preview-item { aspect-ratio: 4 / 5; }
.preview-grid.ratio-16-9 .preview-item { aspect-ratio: 16 / 9; }
.preview-grid.ratio-original .preview-item { aspect-ratio: auto; }
.preview-grid.ratio-original .preview-item img { position: static; height: auto; max-height: 520px; object-fit: contain; }
.preview-item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }.preview-item span { position: absolute; top: 7px; left: 7px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #111; background: var(--gold); font-size: 12px; font-weight: 800; }
.preview-item[draggable="true"] { cursor: grab; transition: opacity .15s, transform .15s, border-color .15s; }
.preview-item[draggable="true"]:active { cursor: grabbing; }.preview-item.is-reordering { opacity: .45; transform: scale(.96); }
.preview-order-controls { position: absolute; right: 7px; bottom: 7px; display: flex; gap: 5px; }
.preview-order-controls button { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 0; color: #fff; background: rgba(8,9,13,.82); font: inherit; font-weight: 800; cursor: pointer; }
.preview-order-controls button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }.preview-order-controls button:disabled { opacity: .32; cursor: default; }
.format-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.format-picker legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--text); font-size: 14px; font-weight: 700; }
.format-picker > label { position: relative; display: grid; min-height: 88px; place-items: center; padding: 12px 8px; border: 1px solid var(--panel-border); border-radius: 0; color: var(--muted); background: #0b0d12; cursor: pointer; text-align: center; }
.format-picker > label input { position: absolute; opacity: 0; pointer-events: none; }
.format-picker > label span { display: grid; gap: 5px; color: var(--text); font-size: 15px; font-weight: 700; }
.format-picker > label small { color: var(--muted); font-size: 12px; font-weight: 400; }
.format-picker > label:has(input:checked) { border-color: var(--gold); color: var(--gold); background: rgba(216, 180, 97, .08); box-shadow: 0 0 0 2px rgba(216, 180, 97, .08); }
.button-row-three .button { min-width: 130px; }
.post-delete-zone { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255, 119, 119, .32); }
.post-delete-zone div { display: grid; gap: 5px; }
.post-delete-zone strong { color: #ff9a9a; font-size: 14px; }
.post-delete-zone small { max-width: 430px; color: var(--muted); font-weight: 400; line-height: 1.45; }
.instagram-simulator { overflow: hidden; width: 100%; max-width: 390px; margin: 0 auto 6px; box-sizing: border-box; border: 7px solid #050506; border-radius: 28px; color: #151515; background: #fff; box-shadow: 0 18px 45px rgba(0, 0, 0, .35); }
.instagram-phone-bar, .instagram-post-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; }
.instagram-phone-bar { padding-bottom: 6px; font-size: 11px; }.instagram-phone-bar strong { font-family: Georgia, serif; font-size: 18px; }
.instagram-post-head { justify-content: flex-start; gap: 9px; font-size: 12px; }.instagram-post-head > span:last-child { margin-left: auto; }
.instagram-avatar { display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #ce4b78; border-radius: 50%; color: var(--gold); background: #111; font-family: Georgia, serif; }
.instagram-media { position: relative; display: grid; width: 100%; place-items: center; overflow: hidden; background: #ececec; }
.instagram-media.ratio-1-1 { aspect-ratio: 1 / 1; }.instagram-media.ratio-4-5 { aspect-ratio: 4 / 5; }.instagram-media.ratio-16-9 { aspect-ratio: 16 / 9; }.instagram-media.ratio-original { aspect-ratio: auto; min-height: 180px; }
.instagram-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }.instagram-media.ratio-original img { position: static; height: auto; object-fit: contain; }
.instagram-placeholder { padding: 70px 20px; color: #777; font-size: 12px; text-align: center; }
.instagram-actions { display: flex; gap: 14px; padding: 9px 13px 4px; font-size: 25px; line-height: 1; }.instagram-actions span:last-child { margin-left: auto; }
.instagram-likes, .instagram-caption { margin: 5px 13px; font-size: 12px; line-height: 1.4; }.instagram-likes { font-weight: 700; }.instagram-caption { margin-bottom: 15px; white-space: pre-wrap; }
.button-row { display: flex; gap: 10px; flex-wrap: wrap; }.button-row .button { flex: 1; }
.success-banner { margin-bottom: 20px; padding: 13px 16px; border: 1px solid rgba(101, 214, 158, .3); border-radius: 0; color: var(--green); background: rgba(101, 214, 158, .08); }
.emergency-panel { margin-bottom: 24px; }
.emergency-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none; }
.emergency-panel summary::-webkit-details-marker { display: none; }
.emergency-panel summary > span:first-child { display: grid; gap: 5px; }
.emergency-panel summary small, .emergency-actions small, .emergency-delete span { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.45; }
.emergency-indicator { color: var(--amber); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.emergency-content { display: grid; gap: 18px; padding: 22px; border-top: 1px solid var(--panel-border); }
.emergency-warning { margin: 0; padding: 12px 14px; border-left: 3px solid var(--amber); color: var(--muted); background: rgba(242, 198, 109, .06); font-size: 13px; line-height: 1.5; }
.emergency-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.emergency-actions form { display: grid; align-content: start; gap: 8px; }
.button-warning { color: #15100a; border-color: var(--amber); background: var(--amber); }
.button-danger { color: #160707; border-color: #ff7777; background: #ff7777; }
.button-danger-outline { color: #ff9a9a; border-color: rgba(255, 119, 119, .65); background: transparent; }
.emergency-delete { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; padding-top: 18px; border-top: 1px solid var(--panel-border); }
.emergency-delete label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.emergency-delete input { min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 119, 119, .45); border-radius: 0; color: var(--text); background: #0b0d12; font: inherit; }
.post-list { display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 18px; min-width: 0; overflow: hidden; padding: 14px; border: 1px solid var(--panel-border); border-radius: 0; background: var(--panel); }
.post-row > img { width: 92px; height: 92px; object-fit: cover; border-radius: 0; }
.post-copy { min-width: 0; overflow: hidden; }
.post-copy p { display: -webkit-box; overflow: hidden; margin: 9px 0; line-height: 1.45; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-copy small { display: block; overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.post-action { align-self: center; flex: 0 0 auto; }
.post-status { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-error { display: block; margin-top: 7px; color: #ffb3b3 !important; white-space: normal; line-height: 1.4; }
.bulk-format-shell { max-width: 980px; }
.bulk-format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bulk-format-summary { padding: 15px; border-left: 3px solid var(--gold); color: var(--text); background: rgba(216, 180, 97, .06); }
.bulk-progress { display: grid; gap: 10px; }
.bulk-progress-track { height: 12px; overflow: hidden; border: 1px solid var(--panel-border); background: #090a0e; }
.bulk-progress-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .2s; }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }.saved-preview-grid { margin-top: 8px; }
.calendar-shell { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.calendar-heading h1 { font-size: clamp(34px, 5vw, 48px); }
.calendar-navigation { display: flex; gap: 8px; }
.calendar-arrow { min-width: 44px; padding: 0; font-size: 24px; }
.calendar-panel { overflow: hidden; }
.calendar-period { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--panel-border); }
.calendar-period span { color: var(--muted); font-size: 13px; }
.calendar-scroll { overflow-x: auto; }
.week-calendar { display: grid; grid-template-columns: 64px repeat(7, minmax(150px, 1fr)); grid-template-rows: 58px 1440px; min-width: 1114px; }
.calendar-corner { border-right: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); }
.calendar-day-heading { display: flex; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); color: var(--muted); }
.calendar-day-heading strong { color: var(--text); }
.calendar-day-heading.is-today { color: var(--gold); background: rgba(216, 180, 97, .09); }
.calendar-hours { display: grid; grid-template-rows: repeat(24, 60px); border-right: 1px solid var(--panel-border); }
.calendar-hours span { padding: 5px 8px 0 0; color: var(--muted); font-size: 11px; text-align: right; transform: translateY(-1px); }
.calendar-day-column { position: relative; display: grid; grid-template-rows: repeat(24, 60px); border-right: 1px solid var(--panel-border); background-color: rgba(255, 255, 255, .005); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 14px, rgba(40, 43, 54, .25) 14px, rgba(40, 43, 54, .25) 15px); }
.calendar-day-column.is-today { background-color: rgba(216, 180, 97, .025); }
.calendar-day-column.is-drop-target { background-color: rgba(216, 180, 97, .09); box-shadow: inset 0 0 0 2px rgba(216, 180, 97, .55); }
.calendar-hour-line { border-bottom: 1px solid rgba(40, 43, 54, .62); pointer-events: none; }
.calendar-post { position: absolute; z-index: 2; right: 5px; left: 5px; display: flex; min-height: 54px; gap: 7px; padding: 6px; border: 1px solid rgba(216, 180, 97, .55); border-left-width: 4px; border-radius: 0; color: var(--text); background: #181923; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); text-decoration: none; transform: translateY(-2px); }
.calendar-post:hover { z-index: 4; border-color: var(--gold); transform: translateY(-3px); }
.calendar-post.is-movable { cursor: grab; }
.calendar-post.is-movable:active { cursor: grabbing; }
.calendar-post.is-dragging { opacity: .45; }
.calendar-post.status-published { border-left-color: var(--green); }
.calendar-post.status-failed { border-left-color: #ff7777; }
.calendar-post.status-paused { border-left-color: var(--amber); }
.calendar-post.status-cancelled { border-left-color: #8c8f9c; opacity: .72; }
.calendar-post img { width: 40px; height: 40px; flex: 0 0 40px; object-fit: cover; border-radius: 0; }
.calendar-post-copy { display: grid; min-width: 0; gap: 3px; }
.calendar-post-copy strong { font-size: 11px; }
.calendar-post-copy small { overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px 22px; border-top: 1px solid var(--panel-border); color: var(--muted); font-size: 12px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; max-width: min(420px, calc(100% - 44px)); padding: 14px 18px; border: 1px solid var(--green); color: var(--text); background: #121a17; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.calendar-toast.is-visible { opacity: 1; transform: translateY(0); }
.calendar-toast.is-error { border-color: #ff7777; background: #231316; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.legend-dot.published { background: var(--green); }.legend-dot.failed { background: #ff7777; }.legend-dot.paused { background: var(--amber); }.legend-dot.cancelled { background: #8c8f9c; }
.templates-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0; }
.templates-grid { display: grid; grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.template-list { display: grid; gap: 12px; }.template-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; }
.template-card h2 { font-size: 18px; }.template-card p { max-height: 160px; overflow: auto; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.template-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }.template-actions form { margin: 0; }
.bulk-preview { display: grid; gap: 8px; margin-top: 16px; }.bulk-preview-item { position: relative; display: flex; align-items: center; min-height: 70px; gap: 12px; padding: 8px; border: 1px solid var(--panel-border); border-radius: 0; background: #0b0d12; cursor: grab; }
.bulk-preview-item.has-error { border-color: rgba(255, 119, 119, .7); background: rgba(255, 119, 119, .06); }
.bulk-preview-item.is-reordering { opacity: .45; }.bulk-preview-item img { width: 54px; height: 54px; flex: 0 0 54px; object-fit: cover; border-radius: 0; }.bulk-preview-item > div:nth-child(2) { display: grid; min-width: 0; gap: 4px; padding-right: 82px; }.bulk-preview-item small { overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }.bulk-preview-item .preview-order-controls { top: 50%; bottom: auto; transform: translateY(-50%); }
.bulk-summary { padding: 14px; border: 1px solid rgba(216,180,97,.3); border-radius: 0; color: var(--gold); background: rgba(216,180,97,.07); font-size: 13px; line-height: 1.5; }
.bulk-progress { display: grid; gap: 12px; margin-bottom: 20px; padding: 20px 22px; }
.bulk-progress[hidden] { display: none; }
.bulk-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bulk-progress-heading span { color: var(--gold); font-variant-numeric: tabular-nums; }
.bulk-progress-track { overflow: hidden; height: 10px; border: 1px solid var(--panel-border); background: #08090d; }
.bulk-progress-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .25s ease; }
.bulk-progress p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.bulk-progress.has-error { border-color: rgba(255, 119, 119, .55); }
.bulk-progress.has-error .bulk-progress-track span { background: #ff7777; }
.bulk-progress.has-error p { color: #ffb3b3; }

@media (max-width: 600px) {
    .bulk-format-grid { grid-template-columns: 1fr; }
    .post-delete-zone { align-items: stretch; flex-direction: column; }
    .shell { padding: 38px 0; }
    .hero { align-items: flex-start; gap: 16px; margin-bottom: 30px; }
    .brand-mark { flex-basis: 56px; width: 56px; height: 56px; border-radius: 2px; font-size: 28px; }
    .panel-heading, .checks, .next-step { padding-left: 20px; padding-right: 20px; }
    .auth-panel { padding: 24px 20px; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; }
    .dashboard-heading .button-row { width: 100%; flex-wrap: wrap; }.dashboard-heading .button-row .button { min-width: 0; flex: 1 1 180px; }
    .calendar-heading, .calendar-period { align-items: flex-start; flex-direction: column; }
    .templates-grid { grid-template-columns: 1fr; }.template-card { flex-direction: column; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .emergency-actions { grid-template-columns: 1fr; }.emergency-delete { grid-template-columns: 1fr; }
    .editor-grid { grid-template-columns: 1fr; }.preview-grid { grid-template-columns: repeat(2, 1fr); }
    .format-picker { grid-template-columns: 1fr; }
    .post-row { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }.post-row > img { width: 72px; height: 72px; }.post-action { width: 100%; grid-column: 1 / -1; }
}
