@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--brand-primary:#369;--brand-hover:#3d73aa;--brand-active:#28547f;--brand-soft:#1b2938;--brand-highlight:#8fb3d9;--app-background:#0e1116;--surface-1:#14181e;--surface-2:#191e25;--surface-3:#20262e;--border:#2b333d;--border-strong:#3a4551;--text-primary:#f1f4f7;--text-secondary:#b5c0cc;--text-muted:#7f8a96;--text-disabled:#56606b;--success:#4f9a72;--warning:#c8924d;--danger:#c86464;--info:#6b8fb3;--warm-accent:#c49a63;--chart-blue:#5c87b2;--chart-light-blue:#8fb3d9;--chart-green:#579678;--chart-amber:#c49a63;--chart-slate:#77899c;--chart-red:#b96767;color:var(--text-primary);background:var(--app-background);font-synthesis:none;font-family:DM Sans,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--app-background);min-width:320px;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,select,input,textarea{min-height:2.75rem}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-highlight);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1,h2,h3,.brand{font-family:Manrope,ui-sans-serif,system-ui,sans-serif}h1{letter-spacing:-.055em;margin-bottom:.75rem;font-size:clamp(2.4rem,5vw,3.6rem);line-height:1.04}h2{letter-spacing:-.025em;font-size:1.25rem}h3{font-size:1.08rem}.app-shell{min-height:100vh;display:flex}.sidebar{background:var(--surface-1);color:var(--text-primary);border-right:1px solid var(--border);flex-direction:column;flex:0 0 254px;min-height:100vh;padding:1.5rem 1rem 1rem;display:flex}.brand{letter-spacing:-.04em;align-items:center;gap:.6rem;font-size:1.1rem;font-weight:800;display:flex}.brand em{color:var(--brand-highlight);font-style:normal}.brand-mark,.loading-mark{background:var(--brand-soft);border:1px solid var(--brand-primary);color:var(--brand-highlight);border-radius:.4rem;justify-content:center;align-items:center;width:2.1rem;height:2.1rem;font-family:Manrope,sans-serif;font-weight:800;display:inline-flex}.workspace-summary{border-bottom:1px solid var(--border);border-top:1px solid var(--border);flex-direction:column;gap:.25rem;margin:2rem 0 1.1rem;padding:1.1rem .35rem;display:flex}.label,.eyebrow,.topbar-kicker,.metric-label,.detail-label,.project-switcher-label{color:var(--text-muted);letter-spacing:.105em;text-transform:uppercase;font-size:.7rem;font-weight:700}.workspace-summary .label{color:var(--text-muted)}.workspace-summary strong{font-size:.96rem}.muted{color:var(--text-muted);font-size:.84rem}.global-nav{flex-direction:column;gap:.25rem;display:flex}.global-nav-link{color:var(--text-secondary);border-radius:.5rem;align-items:center;gap:.7rem;min-height:2.75rem;padding:.55rem .75rem;font-size:.92rem;transition:background-color .12s,color .12s;display:flex}.global-nav-link:hover,.global-nav-link.active{background:var(--brand-soft);color:#fff}.global-nav-link.active{box-shadow:inset 2px 0 var(--brand-primary)}.sidebar-footer{flex-direction:column;gap:.8rem;margin-top:auto;display:flex}.account-summary{align-items:center;gap:.65rem;min-width:0;min-height:2.75rem;display:flex}.avatar,.icon-button{background:var(--surface-3);color:var(--text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;width:2rem;height:2rem;font-size:.72rem;font-weight:700;display:inline-flex}.account-email{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;overflow:hidden}.app-content{flex:1;min-width:0}.topbar{background:var(--surface-1);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:4.7rem;padding:.8rem clamp(1.25rem,4vw,3.5rem);display:flex}.topbar-kicker{margin-bottom:.25rem;font-size:.64rem;display:block}.topbar-title{color:var(--text-secondary);font-size:.92rem;font-weight:600}.topbar-actions{align-items:center;gap:1rem;display:flex}.topbar-account{color:var(--text-secondary);font-size:.82rem}.main-content{min-width:0}.page-container{max-width:1280px;margin:0 auto;padding:clamp(2rem,4vw,3.5rem) clamp(1.25rem,3vw,3rem) 5rem}.page-header{justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:2.5rem;display:flex}.page-header .eyebrow{margin-bottom:.7rem}.page-description{color:var(--text-secondary);max-width:620px;margin-bottom:0;font-size:1.02rem;line-height:1.6}.page-header-action{flex:none}.button{background:var(--brand-primary);border:1px solid var(--brand-primary);color:#fff;cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;min-height:2.75rem;padding:.55rem 1rem;font-size:.87rem;font-weight:700;transition:background-color .12s,border-color .12s;display:inline-flex}.button:hover{background:var(--brand-hover);border-color:var(--brand-hover)}.button:active{background:var(--brand-active);border-color:var(--brand-active)}.button:disabled{background:var(--surface-3);border-color:var(--border);color:var(--text-disabled);cursor:not-allowed}.button-quiet{border-color:var(--border);color:var(--text-secondary);background:0 0}.button-quiet:hover{background:var(--surface-2);border-color:var(--border-strong);color:var(--text-primary)}.button-quiet:active{background:var(--surface-3);border-color:var(--border-strong);color:var(--text-primary)}.button:disabled:hover,.button:disabled:active{background:var(--surface-3);border-color:var(--border);color:var(--text-disabled)}.button-full{width:100%}.button-small{min-height:2.35rem;padding:.4rem .75rem;font-size:.78rem}.surface,.project-card,.metric-card{background:var(--surface-1);border:1px solid var(--border);box-shadow:none;border-radius:.5rem}.section-heading,.chart-heading,.project-card-top{justify-content:space-between;align-items:center;display:flex}.section-heading{margin-bottom:1rem}.section-heading h2{margin-bottom:0}.count-badge,.status{border-radius:999px;padding:.35rem .6rem;font-size:.72rem;font-weight:700}.count-badge{background:var(--brand-soft);color:var(--brand-highlight)}.status-active{background:var(--surface-3);color:var(--success)}.status-muted{background:var(--surface-3);color:var(--text-muted)}.project-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem;display:grid}.project-card{flex-direction:column;min-height:220px;padding:1.25rem;transition:border-color .12s;display:flex}.project-card:hover{border-color:var(--border-strong)}.project-card h3{margin:1.35rem 0 .45rem}.project-card p{color:var(--text-muted);overflow-wrap:anywhere;margin-bottom:1rem;font-size:.83rem;line-height:1.45}.project-icon{background:var(--surface-3);color:var(--brand-highlight);border-radius:.55rem;justify-content:center;align-items:center;width:2.3rem;height:2.3rem;font-size:.74rem;font-weight:800;display:inline-flex}.card-link{color:var(--brand-highlight);margin-top:auto;font-size:.82rem;font-weight:700}.form-surface{margin-bottom:2rem;padding:1.25rem}.digest-panel,.digest-preview{overflow-wrap:anywhere;min-width:0}.digest-form,.digest-preview{gap:1rem;display:grid}.digest-fields{border:0;gap:1rem;min-width:0;margin:0;padding:0;display:grid}.digest-toggle{flex-direction:row;align-items:center}.digest-numbers{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.digest-form textarea{resize:vertical;min-height:6rem}.digest-preview{border-top:1px solid var(--border);margin-top:1rem;padding-top:1rem}.digest-preview article{gap:.4rem;display:grid}.form-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.source-form-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem;display:grid}.source-url{overflow-wrap:anywhere}label{color:var(--text-secondary);flex-direction:column;gap:.4rem;font-size:.8rem;font-weight:700;display:flex}.optional{color:var(--text-muted);font-size:.72rem;font-weight:400}input,select,textarea{background:var(--surface-2);border:1px solid var(--border-strong);color:var(--text-primary);border-radius:.45rem;min-width:0;padding:.55rem .7rem}input::placeholder,textarea::placeholder{color:var(--text-muted)}input:disabled,select:disabled,textarea:disabled{background:var(--surface-1);color:var(--text-disabled);cursor:not-allowed}.form-actions{justify-content:flex-end;gap:.7rem;margin-top:1.2rem;display:flex}.form-error{color:var(--danger);font-size:.83rem;line-height:1.45}.notice{border-radius:.6rem;align-items:flex-start;gap:.7rem;padding:.9rem 1rem;line-height:1.45;display:flex}.notice p{margin:.15rem 0 0;font-size:.83rem}.notice-neutral{background:var(--surface-2);color:var(--text-secondary)}.notice-error{background:var(--surface-2);border:1px solid var(--danger);color:var(--danger);margin-bottom:1.25rem}.notice-icon{border:1px solid;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.3rem;height:1.3rem;font-size:.72rem;font-weight:800;display:inline-flex}.notice .button{margin-top:.8rem}.project-switcher-row{background:var(--surface-1);border-bottom:1px solid var(--border);align-items:center;gap:.75rem;max-width:none;min-height:4.25rem;margin:0;padding:0 clamp(1.25rem,3vw,3rem);display:flex}.project-switcher-row select{max-width:18rem;font-weight:700}.project-switcher-label{margin-right:.1rem}.project-nav{background:var(--surface-1);border-bottom:1px solid var(--border);scrollbar-width:thin;gap:.25rem;max-width:none;margin:0;padding:0 clamp(1.25rem,3vw,3rem);display:flex;overflow-x:auto}.project-nav-link{color:var(--text-secondary);white-space:nowrap;border-bottom:2px solid #0000;flex:none;min-height:2.6rem;padding:.7rem .65rem;font-size:.8rem}.project-nav-link:hover,.project-nav-link.active{border-color:var(--brand-primary);color:var(--text-primary);font-weight:700}.project-subnav{border-top:1px solid var(--border);background:var(--surface-1);width:100%;min-width:0;max-width:none;margin-top:0}.project-subnav .project-nav-link{min-height:2.75rem;color:var(--text-secondary)}.project-subnav .project-nav-link.active{color:var(--brand-highlight)}.strategy-topics{margin-bottom:2rem}.project-page{padding-top:2.25rem}.metric-strip{background:var(--surface-1);border:1px solid var(--border);border-radius:.5rem;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-bottom:1.25rem;display:grid}.metric-card{border:0;border-right:1px solid var(--border);background:0 0;border-radius:0;flex-direction:column;gap:.35rem;padding:1.25rem 1.4rem;display:flex}.metric-card:last-child{border-right:0}.metric-card strong{color:var(--text-primary);letter-spacing:-.045em;font-family:Manrope,sans-serif;font-size:clamp(1.8rem,2.4vw,2.3rem)}.notice-neutral{margin-bottom:1.25rem}.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;display:grid}.chart-card{min-width:0;padding:1.4rem 1.4rem 1rem}.chart-heading{align-items:flex-start}.chart-heading h2{margin-bottom:0}.chart-heading .eyebrow{margin-bottom:.55rem}.chart-total{color:var(--text-muted);white-space:nowrap;padding-top:.25rem;font-size:.74rem}.chart-wrap{min-width:0;padding-top:1rem}.recharts-cartesian-axis-tick-value{fill:var(--text-muted);font-size:.7rem}.chart-footnote,.source-caption{color:var(--text-muted);font-size:.74rem;line-height:1.45}.chart-footnote{border-top:1px solid var(--border);margin:0;padding-top:.75rem}.source-caption{margin:1rem 0 0}.insights-window{grid-template-columns:minmax(220px,1fr) 160px 160px auto;align-items:end;gap:1rem;margin-bottom:1.5rem;padding:1rem 1.25rem;display:grid}.insights-window p{margin-bottom:0}.evidence-provider-header{justify-content:space-between;align-items:start;gap:1rem;margin:1.5rem 0 1rem;display:flex}.evidence-provider-header h2{margin-bottom:.35rem}.evidence-badge{border-radius:999px;flex:none;padding:.35rem .6rem;font-size:.7rem;font-weight:700;display:inline-flex}.evidence-internal{background:var(--brand-soft);color:var(--brand-highlight)}.evidence-ga4,.evidence-ready{background:var(--surface-3);color:var(--success)}.evidence-ahrefs,.evidence-stale,.evidence-error{background:var(--surface-3);color:var(--warning)}.evidence-not_started,.evidence-derived{background:var(--surface-3);color:var(--text-muted)}.evidence-table-card{min-width:0;padding:1rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:560px}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:.75rem .5rem}th{color:var(--text-secondary);letter-spacing:.04em;text-transform:uppercase;font-size:.72rem}td{color:var(--text-secondary);font-size:.82rem;line-height:1.4}.timeline{padding:1rem 1.25rem}.timeline-entry{grid-template-columns:1rem 1fr;gap:1rem;padding:.35rem 0 1.35rem;display:grid;position:relative}.timeline-entry:not(:last-child):before{background:var(--border-strong);content:"";width:2px;position:absolute;top:1rem;bottom:0;left:.43rem}.timeline-marker{background:var(--brand-primary);border:3px solid var(--surface-2);z-index:1;border-radius:50%;width:.9rem;height:.9rem;margin-top:.15rem;position:relative}.timeline-entry-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.timeline-entry-top time{color:var(--text-muted);font-size:.75rem}.timeline-entry h2{margin:.55rem 0 .35rem;font-size:1rem}.timeline-entry p{margin-bottom:0}.timeline-measurements{color:var(--text-secondary);font-size:.82rem;font-weight:700;margin-top:.5rem!important}.detail-list{gap:0;max-width:720px;display:grid}.feed-detail,.feed-detail-page{width:100%;min-width:0}.feed-detail-page{gap:1.25rem;display:grid}.feed-detail-page>.section-heading{padding-block:.5rem}.feed-first-source{max-width:720px}.feed-source-choices{flex-wrap:wrap;gap:.75rem;margin-block:1.25rem;display:flex}.feed-source-choices h5{flex-basis:100%;margin:0}.feed-detail-secondary{justify-self:start}.feed-title-form{flex-wrap:wrap;align-items:end;gap:.75rem;display:flex}.surface.detail-list>h2:first-child{margin:0;padding:1.25rem 1.25rem 0}.surface.detail-list>h2:first-child+p{margin:0;padding:.5rem 1.25rem .75rem}.detail-list pre{min-width:0;overflow-x:auto}.topic-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:1.25rem;display:grid}.topic-list{gap:.75rem;display:grid}.topic-card{background:var(--surface-1);border:1px solid var(--border);color:var(--text-primary);cursor:pointer;text-align:left;border-radius:.75rem;flex-direction:column;align-items:flex-start;gap:.45rem;width:100%;padding:1rem;display:flex}.topic-card:hover,.topic-card.selected{border-color:var(--brand-primary);box-shadow:none}.topic-card-name{font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:1rem;font-weight:700}.topic-card-description{color:var(--text-muted);font-size:.82rem;line-height:1.45}.topic-card .status{margin-top:.2rem}.keyword-panel{min-width:0;padding:1.2rem}.keyword-form{border-bottom:1px solid var(--border);grid-template-columns:1fr auto;align-items:end;gap:.7rem;margin-bottom:1rem;padding-bottom:1rem;display:grid}.keyword-form .form-error{grid-column:1/-1;margin:0}.keyword-list{margin:0;padding:0;list-style:none}.keyword-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.8rem;padding:.85rem 0;display:flex}.keyword-origin{color:var(--text-muted);text-align:right;font-size:.75rem}.detail-list>div{flex-direction:column;gap:.3rem;padding:1.1rem 1.25rem;display:flex}.detail-list>div+div{border-top:1px solid var(--border)}.empty-state{text-align:center;flex-direction:column;align-items:center;margin:1.5rem 0;padding:4rem 1.5rem;display:flex}.surface.empty-state{border:1px dashed var(--border-strong);background:0 0}.empty-state-compact{padding:3rem 1rem}.empty-state p{color:var(--text-muted);max-width:430px;line-height:1.55}.empty-icon{background:var(--surface-3);color:var(--brand-highlight);border-radius:50%;justify-content:center;align-items:center;width:2.6rem;height:2.6rem;margin-bottom:1rem;font-size:1.3rem;display:inline-flex}.empty-state h2{margin-bottom:.5rem}.centered-screen{flex-direction:column;justify-content:center;align-items:flex-start;max-width:580px;min-height:100vh;margin:0 auto;padding:2rem 1.25rem;display:flex}.centered-screen h1{max-width:520px}.loading-mark{margin-bottom:1.5rem}.loading-bar{background:var(--surface-3);border-radius:99px;width:12rem;height:.3rem;margin-top:1rem;position:relative;overflow:hidden}.loading-bar:after{background:var(--brand-primary);content:"";width:45%;height:100%;position:absolute;left:0}.unavailable-card{align-items:flex-start;gap:.8rem;max-width:530px;margin-top:1.25rem;padding:1.25rem;display:flex}.unavailable-card h2{margin-bottom:.45rem}.unavailable-card p{color:var(--text-secondary);line-height:1.5}.login-screen{align-items:flex-start}.login-brand{margin-bottom:4rem}.login-lede{color:var(--text-secondary);max-width:520px;font-size:1.03rem;line-height:1.6}.login-card{width:100%;max-width:430px;margin-top:1.75rem;padding:1.3rem}.login-card h2{margin-bottom:.45rem}.login-card>p{color:var(--text-muted);font-size:.86rem;line-height:1.5}.login-card>div{min-height:44px}.mobile-header,.mobile-nav{display:none}.skeleton{background:var(--surface-3);border-radius:.3rem;display:block}.skeleton-line{width:45%;height:.75rem;margin:.5rem 0}.skeleton-line.wide{width:72%}.skeleton-icon{border-radius:.55rem;width:2.3rem;height:2.3rem}.skeleton-card{background:var(--surface-1);border:1px solid var(--border);border-radius:.5rem;flex-direction:column;gap:.65rem;min-height:180px;padding:1.25rem;display:flex}.skeleton-number{width:30%;height:1.8rem}.skeleton-chart{width:100%;height:220px;margin-top:1rem;display:block}.project-header-skeleton{gap:1rem;max-width:1180px;margin:2rem auto 0;padding:0 clamp(1.25rem,4vw,3.5rem);display:flex}@media (width<=900px){.sidebar{flex-basis:220px}.chart-grid,.topic-layout{grid-template-columns:1fr}}@media (width<=680px){.sidebar,.topbar{display:none}.app-content{width:100%;padding-bottom:4.8rem}.mobile-header{background:var(--surface-1);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:4rem;padding:.75rem 1.25rem;display:flex}.brand-compact{font-size:.95rem}.brand-compact .brand-mark{width:1.8rem;height:1.8rem}.mobile-nav{background:var(--surface-1);border-top:1px solid var(--border);padding:.35rem .5rem calc(.35rem + env(safe-area-inset-bottom));z-index:10;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav-link{color:var(--text-muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:.22rem;min-height:3.5rem;font-size:.68rem;display:flex}.mobile-nav-link.active{color:var(--brand-highlight);font-weight:700}.page-container{padding:1.5rem 1rem 2rem}.page-header{flex-direction:column;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.page-header-action,.page-header-action .button{width:100%}h1{font-size:2.15rem}.project-switcher-row{flex-wrap:wrap;align-items:stretch;gap:.5rem;padding:.75rem 1rem}.project-switcher-label{flex-basis:100%}.project-switcher-row select{flex:1;width:100%;max-width:none}.project-switcher-row .button{flex:none}.project-nav{padding:0 .75rem}.project-nav-link{padding-left:.5rem;padding-right:.5rem;font-size:.75rem}.form-grid,.source-form-fields,.metric-strip{grid-template-columns:1fr}.metric-strip{gap:0}.metric-card{border-bottom:1px solid var(--border);border-right:0;padding:1rem 1.15rem}.metric-card:last-child{border-bottom:0}.keyword-form{grid-template-columns:1fr}.keyword-form .button{width:100%}.insights-window{grid-template-columns:1fr;align-items:stretch}.insights-window .button{width:100%}.evidence-provider-header{flex-direction:column;align-items:flex-start}.keyword-list li{flex-direction:column;align-items:flex-start;gap:.25rem}.keyword-origin{text-align:left}.form-actions{flex-direction:column-reverse}.form-actions .button{width:100%}.form-surface{padding:1rem}.surface.empty-state{padding:2.75rem 1rem}.digest-numbers{grid-template-columns:minmax(0,1fr)}.chart-card{padding:1rem .7rem .8rem}.chart-heading{gap:.5rem}.chart-heading h2{font-size:1.05rem}.chart-total{font-size:.7rem}.project-page{padding-top:1.5rem}.notice{padding:.8rem}.centered-screen{padding:1.5rem 1.25rem}.login-brand{margin-bottom:3rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
