:root {
    color-scheme: light;
    --bg: #f6f7fb;
    --surface: rgba(255,255,255,.95);
    --ink: #1d2939;
    --muted: #667085;
    --line: rgba(29,41,57,.1);
    --accent: #1570ef;
    --accent-soft: rgba(21,112,239,.08);
    --radius-xl: 26px;
    --radius-lg: 18px;
    --shadow-lg: 0 24px 50px rgba(15,23,42,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", "Segoe UI", sans-serif; color: var(--ink); background: radial-gradient(circle at top right, rgba(21,112,239,.08), transparent 20%), linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%); }
.shell { width: min(1380px, calc(100% - 40px)); margin: 28px auto 40px; }
.hero, .panel, .checklist-card, .sidebar-card { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); border-radius: var(--radius-xl); }
.hero { padding: 32px; margin-bottom: 24px; }
.eyebrow { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(102,112,133,.82); }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; }
h1 { margin-top: 10px; font-size: 30px; line-height: .96; }
.lead { margin: 14px 0 0; max-width: 760px; color: var(--muted); line-height: 1.7; }
.planner-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.panel, .sidebar-card { padding: 24px; }
.field-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 10px; }
.field > span { font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(29,41,57,.72); }
select { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; appearance: none; padding-right: 52px; background-image: linear-gradient(45deg, transparent 50%, rgba(29,41,57,.82) 50%), linear-gradient(135deg, rgba(29,41,57,.82) 50%, transparent 50%); background-position: calc(100% - 24px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px); background-size: 8px 8px, 8px 8px; background-repeat: no-repeat; }
.channel-group { margin-top: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--accent-soft); }
.channel-group label { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-weight: 600; color: var(--muted); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
button { min-height: 50px; padding: 0 20px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
button:not(.ghost-button) { color: #fff; background: linear-gradient(180deg, #1570ef, #0f5ed7); }
.ghost-button { color: var(--ink); background: #fff; border: 1px solid var(--line); }
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.checklist-card { padding: 22px; }
.checklist-card h3 { font-size: 1.3rem; }
.checklist-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.rail { display: grid; gap: 18px; }
.summary-card, .sidebar-card { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); border-radius: var(--radius-xl); padding: 22px; }
.summary-card strong { display: block; margin: 10px 0 6px; font-size: 1.34rem; letter-spacing: -.03em; }
.summary-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.sidebar-card strong { display: block; margin: 10px 0 6px; font-size: 1.3rem; }
.ad-slot, .ad-placeholder { border: 1px solid var(--line); border-radius: 18px; min-height: 320px; background: rgba(255,255,255,.6); overflow: hidden; }
.ad-placeholder { padding: 16px; }
.ad-mockup { position: relative; min-height: 286px; height: 100%; border-radius: 18px; background: linear-gradient(180deg, #fff, #f5f7fb); }
.ad-mockup::before { content: ""; position: absolute; inset: 14px; border-radius: 14px; border: 1px dashed rgba(29,41,57,.12); }
.ad-mockup-top, .ad-mockup-media, .ad-mockup-badge, .ad-mockup-lines { position: absolute; }
.ad-mockup-top { top: 24px; left: 24px; width: 110px; height: 18px; border-radius: 999px; background: rgba(29,41,57,.06); }
.ad-mockup-media { inset: 78px 24px 106px; border-radius: 16px; background: linear-gradient(135deg, rgba(21,112,239,.12), rgba(99,102,241,.08)); }
.ad-mockup-lines { left: 24px; right: 24px; bottom: 28px; display: grid; gap: 10px; }
.ad-mockup-lines span { display: block; height: 12px; border-radius: 999px; background: rgba(29,41,57,.08); }
.ad-mockup-lines span:last-child { width: 58%; }
.ad-mockup-badge { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 142px; height: 142px; border-radius: 50%; display: grid; place-content: center; background: linear-gradient(135deg, #1570ef, #7c3aed); color: #fff; }
.ad-mockup-badge span { font-size: 1.35rem; font-weight: 800; line-height: 1; text-align: center; letter-spacing: .08em; }
@media (max-width: 1180px) { .planner-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .board { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .shell { width: min(100% - 24px, 1380px); } .hero, .panel, .checklist-card, .summary-card, .sidebar-card { padding: 20px; } .action-row { flex-direction: column; } button { width: 100%; } }

@media print {
    body { background: #fff; }
    .hero,
    .controls,
    .rail,
    .sidebar-card,
    .summary-card {
        display: none !important;
    }
    .planner-grid {
        display: block;
    }
    .board {
        grid-template-columns: 1fr 1fr;
    }
    .checklist-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #d0d5dd;
    }
}
