:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f1ea;--bg-strong:#ece5d8;--panel:#fffaf4;--panel-strong:#fffdf9;--ink:#1b1a18;--muted:#6a665f;--line:#1b1a181a;--accent:#d95d39;--accent-soft:#d95d391f;--success:#1f7a4f;--success-soft:#1f7a4f1f;--shadow:0 8px 20px #452f1b0d;--radius-lg:28px;--radius-md:18px;--radius-sm:999px;--font-sans:"Instrument Sans", "Avenir Next", "Segoe UI", sans-serif}*{box-sizing:border-box}html{min-height:100%}body{background:linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);min-height:100vh;color:var(--ink);font-family:var(--font-sans);margin:0}.auth-page{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border-radius:var(--radius-lg);background:var(--panel);width:min(560px,100%);box-shadow:var(--shadow);border:1px solid #1b1a1814;padding:30px}.auth-card h1{margin:0;font-size:clamp(2rem,4vw,3rem);line-height:1}.auth-form{margin-top:24px}a{color:inherit;text-decoration:none}button{font:inherit}.app-shell{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#faf4ea;flex-direction:column;gap:28px;padding:28px 20px;display:flex}.brand-block{align-items:center;gap:14px;display:flex}.brand-chip{color:#fff;letter-spacing:.06em;background:linear-gradient(135deg,#da7347,#c9471d);border-radius:16px;place-items:center;width:48px;height:48px;font-weight:700;display:grid}.brand-name,.topbar h2,.page-header h1,.section-card h2,.creative-title-row h3,.brief-card h3{margin:0}.brand-name{font-size:1rem;font-weight:700}.brand-subtitle,.page-description,.section-card-header p,.stat-detail,.list-subtitle,.brief-source,.sidebar-meta,.topbar-kicker,.sidebar-label{color:var(--muted)}.brand-subtitle{margin:4px 0 0;font-size:.9rem;line-height:1.4}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.nav-link{color:#3e3a34;border-radius:14px;padding:12px 14px}.nav-link:hover,.nav-link-active{background:#ffffffeb}.nav-link:hover{color:var(--ink)}.nav-link-active{color:var(--ink);font-weight:600}.sidebar-footer{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf9;margin-top:auto;padding:18px}.sidebar-footer strong{margin-top:6px;display:block}.sidebar-label,.topbar-kicker,.eyebrow{letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.78rem}.app-content{flex-direction:column;gap:24px;padding:26px;display:flex}.topbar{border-radius:var(--radius-lg);background:var(--panel-strong);box-shadow:var(--shadow);border:1px solid #1b1a1814;justify-content:space-between;align-items:center;gap:24px;padding:22px 24px;display:flex}.topbar h2{font-size:1.35rem}.topbar-actions,.tag-row,.list-tags,.brief-card-top,.page-header{align-items:center;gap:12px;display:flex}.main-content{flex-direction:column;display:flex}.page-stack{flex-direction:column;gap:22px;display:flex}.page-header{justify-content:space-between;align-items:flex-end;gap:18px}.page-header h1{max-width:12ch;font-size:clamp(2rem,3vw,3.2rem);line-height:.95}.page-description{max-width:72ch;margin:10px 0 0;line-height:1.6}.stats-grid,.two-column-grid,.three-column-grid,.card-grid{gap:18px;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.two-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.internal-grid{align-items:start}.three-column-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-summary-grid{align-items:start}.stat-card,.section-card,.creative-card,.brief-card{background:var(--panel);content-visibility:auto;contain-intrinsic-size:1px 320px;border:1px solid #1b1a1814;box-shadow:0 4px 12px #452f1b08}.stat-card,.section-card{border-radius:var(--radius-lg)}.stat-card{padding:20px}.stat-label,.stat-value,.stat-detail,.brief-objective,.brief-source,.list-title,.list-subtitle,.creative-footer,.table-row small{margin:0}.stat-label{color:var(--muted);font-size:.92rem}.stat-value{margin-top:10px;font-size:2rem;font-weight:700}.stat-detail{margin-top:8px;font-size:.95rem}.section-card{padding:22px}.section-card-header{margin-bottom:18px}.section-card h2{font-size:1.15rem}.section-card-header p{margin:8px 0 0;line-height:1.55}.list-stack,.brief-list,.settings-list{flex-direction:column;gap:12px;display:flex}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field{flex-direction:column;gap:8px;display:flex}.field span{font-size:.92rem;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fffdf9;border-radius:16px;padding:12px 14px}.field textarea{resize:vertical}.field-wide{grid-column:1/-1}.form-actions{justify-content:flex-start;display:flex}.list-row,.table-row,.table-header{align-items:center;gap:12px;display:grid}.list-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;padding:14px 0}.list-row:last-child{border-bottom:0}.list-title{font-weight:700}.tag{border-radius:var(--radius-sm);color:#2f2a24;background:#1b1a1814;justify-content:center;align-items:center;padding:6px 10px;font-size:.82rem;line-height:1;display:inline-flex}.tag-warm{background:var(--accent-soft);color:#a64528}.tag-good{background:var(--success-soft);color:var(--success)}.tag-muted{color:var(--muted);background:#1b1a180f}.channel-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.channel-metric{border:1px solid var(--line);background:#fffdf9;border-radius:16px;padding:12px}.channel-metric-label{color:var(--muted);margin-bottom:8px;font-size:.82rem;display:block}.channel-metric strong{font-size:1.2rem}.insight-copy{color:#3f392f;margin:0 0 14px;line-height:1.6}.table-block{border:1px solid var(--line);border-radius:20px;overflow:hidden}.table-header,.table-row{padding:14px 16px}.table-header{color:#4e473d;background:#f1eadf;font-size:.9rem;font-weight:700}.table-row{border-top:1px solid var(--line);background:#fffaf3}.table-row span,.table-header span{min-width:0}.table-row strong{margin-bottom:4px;display:block}.table-row small{color:var(--muted);display:block}.table-grid-home{grid-template-columns:1.4fr .8fr 1.8fr}.table-grid-internal{grid-template-columns:1.5fr 1.3fr .9fr .8fr .7fr .8fr .7fr .7fr .9fr}.table-grid-insights{grid-template-columns:1.2fr .8fr .8fr 1.6fr}.brief-card,.creative-card{border-radius:24px;overflow:hidden}.brief-card{padding:18px}.brief-card-top{justify-content:space-between;align-items:flex-start}.brief-objective{margin-top:14px;line-height:1.55}.brief-source{margin-top:12px;font-size:.9rem;line-height:1.5}.creative-preview{color:#7c4d3d;letter-spacing:.08em;text-transform:uppercase;background:#f3eadf;place-items:center;min-height:160px;padding:18px;font-size:.9rem;display:grid}.creative-content{flex-direction:column;gap:12px;padding:18px;display:flex}.creative-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.creative-title-row h3{font-size:1.02rem;line-height:1.3}.creative-footer{color:var(--muted);justify-content:space-between;gap:12px;font-size:.88rem;display:flex}.primary-button,.ghost-button{border-radius:var(--radius-sm);cursor:pointer;border:0;justify-content:center;align-items:center;gap:10px;padding:11px 16px;transition:transform .12s,opacity .12s;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(135deg,#d95d39,#b84522);box-shadow:0 8px 18px #b8452224}.primary-button:disabled,.ghost-button:disabled{cursor:wait;opacity:.88}.button-spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:999px;width:14px;height:14px;animation:.8s linear infinite button-spin}.ghost-button{color:var(--ink);border:1px solid var(--line);background:#fffdf9}.language-switcher{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf9;flex-direction:column;gap:10px;padding:14px;display:flex}.language-switcher-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.82rem}.language-switcher-actions{gap:8px;display:flex}.language-option{border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;background:0 0;padding:8px 12px}.language-option-active{background:var(--accent-soft);color:var(--ink);border-color:#d95d393d}.settings-list{margin:0;padding-left:18px;line-height:1.6}@keyframes button-spin{to{transform:rotate(360deg)}}@media (max-width:1180px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:10;border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;justify-content:space-between;align-items:center;position:sticky;top:0}.sidebar-nav{flex-flow:wrap}.sidebar-footer,.language-switcher{width:100%}.stats-grid,.two-column-grid,.three-column-grid,.card-grid,.table-grid-home,.table-grid-internal,.table-grid-insights,.channel-metrics{grid-template-columns:1fr}.topbar,.page-header{flex-direction:column;align-items:flex-start}}@media (max-width:720px){.app-content{padding:16px}.topbar{padding:18px}.page-header h1{max-width:none;font-size:2rem}.list-row,.form-grid{grid-template-columns:1fr}.creative-footer,.topbar-actions{flex-direction:column;align-items:stretch}}
