html{color-scheme:light}body{background:var(--ds-canvas);color:var(--ds-text);font-family:var(--ds-font-sans);font-size:var(--ds-text-base);line-height:1.6;-webkit-font-smoothing:antialiased}::-moz-selection{background:#cce9d8;color:var(--ds-text)}::selection{background:#cce9d8;color:var(--ds-text)}:is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--ds-focus);outline-offset:3px}:where(button,input,textarea,select){font-family:var(--ds-font-sans)}:where(button,a,summary){-webkit-tap-highlight-color:transparent}:where(button){transition:background var(--ds-duration-fast) var(--ds-ease),border-color var(--ds-duration-fast) var(--ds-ease),box-shadow var(--ds-duration-fast) var(--ds-ease)}svg.lucide{flex-shrink:0;stroke-width:1.75}:is(.primary-button,.secondary-button,.small-action,.text-action,.back-link,.ds-button) svg.lucide{width:16px;height:16px}:is(.app-shell,.ds-preview) :is(.primary-button,.secondary-button,.small-action,.ds-button){height:40px;min-height:40px;border-radius:var(--ds-radius-control);padding-inline:var(--ds-space-4);gap:var(--ds-space-2);font-size:var(--ds-text-sm);line-height:1.25;font-weight:600;box-shadow:none}:is(.app-shell,.ds-preview) :is(.primary-button,.small-action,.ds-button.primary){background:var(--ds-brand);border:1px solid var(--ds-brand);color:var(--ds-surface)}:is(.app-shell,.ds-preview) :is(.primary-button,.small-action,.ds-button.primary):hover:not(:disabled){background:var(--ds-brand-hover);border-color:var(--ds-brand-hover)}:is(.app-shell,.ds-preview) :is(.secondary-button,.ds-button.secondary){background:var(--ds-surface);border:1px solid var(--ds-border);color:var(--ds-text-secondary)}:is(.app-shell,.ds-preview) :is(.secondary-button,.ds-button.secondary):hover:not(:disabled){background:var(--ds-surface-subtle);border-color:var(--ds-border-strong)}:is(.app-shell,.ds-preview) .ds-button{display:inline-flex;align-items:center;justify-content:center}:is(.app-shell,.ds-preview) .ds-button.ghost{border:1px solid transparent;background:transparent;color:var(--ds-text-secondary)}:is(.app-shell,.ds-preview) .ds-button.ghost:hover:not(:disabled){background:var(--ds-surface-subtle)}:is(.app-shell,.ds-preview) .ds-button.danger{border:1px solid var(--ds-danger);background:var(--ds-danger);color:var(--ds-surface)}:is(.app-shell,.ds-preview) :is(.text-action,.back-link,.return-link){min-height:32px;color:var(--ds-brand-ink);font-size:var(--ds-text-xs);font-weight:550}:is(.app-shell,.ds-preview) button:disabled{opacity:.48;cursor:not-allowed}:is(.app-shell,.ds-preview) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select,.ds-input){background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);font-size:var(--ds-text-sm);padding:10px 12px;min-width:0}:is(.app-shell,.ds-preview) :is(input,textarea)::-moz-placeholder{color:var(--ds-text-muted)}:is(.app-shell,.ds-preview) :is(input,textarea)::placeholder{color:var(--ds-text-muted)}:is(.app-shell,.ds-preview) :is(input,textarea,select)[aria-invalid=true]{border-color:var(--ds-danger)}:is(.app-shell,.ds-preview) :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--ds-brand)}.app-shell .sidebar{background:var(--ds-surface);border-color:var(--ds-border);color:var(--ds-text)}.app-shell .nav-item{min-height:40px;color:var(--ds-text-secondary);font-size:var(--ds-text-sm);font-weight:500;border-radius:var(--ds-radius-control)}.app-shell .nav-item svg.lucide{width:18px;height:18px}.app-shell .nav-item.active:not(:has(.nav-dot)){background:var(--ds-brand-soft);color:var(--ds-brand-ink);border-radius:var(--ds-radius-control)}.app-shell .nav-item:hover:not(:disabled){background:var(--ds-surface-subtle)}.app-shell .nav-item.active:hover{background:var(--ds-brand-soft)}.app-shell .workspace{background:var(--ds-canvas)}.app-shell .page-header h1{font-family:var(--ds-font-sans);font-size:var(--ds-text-page);font-weight:650;line-height:1.2;letter-spacing:-.035em;color:var(--ds-text)}.app-shell .page-description{color:var(--ds-text-secondary);font-size:var(--ds-text-base);line-height:1.6}.app-shell .eyebrow{font-size:11px;font-weight:650;letter-spacing:.08em;color:var(--ds-text-muted)}.app-shell :is(.report-heading,.brief-header,.generation-header) h1{font-family:var(--ds-font-sans);font-style:normal}.app-shell :is(.ov-metrics,.ov-trend,.ov-distribution,.ov-action-panel,.ov-category-selector,.ov-week,.improve-config-card,.content-workspace-panel,.site-search-summary,.company-identity-card,.aeo-v2-visibility){border:1px solid var(--ds-border);border-radius:var(--ds-radius-card);background:var(--ds-surface);box-shadow:var(--ds-shadow-card)}.app-shell :is(.ov-trend,.ov-distribution,.ov-action-panel,.ov-week,.improve-config-card){padding:var(--ds-space-6)}.app-shell :is(.ov-source-heading h2,.improve-card-header h2){font-size:var(--ds-text-section);font-weight:600;letter-spacing:-.025em;color:var(--ds-text)}.app-shell :is(.ov-chart-title h3,.content-library-row h2){color:var(--ds-text);font-size:var(--ds-text-base);font-weight:600}.app-shell :is(.ov-action-row summary strong,.ov-category-selector strong){font-size:var(--ds-text-sm);font-weight:550;color:var(--ds-text)}.app-shell :is(.ov-metrics dd,.site-search-summary dd){color:var(--ds-text);font-size:30px;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.app-shell :is(.ov-source-heading small,.ov-chart-title span,.ov-chart-title small,.ov-axis,.ov-scope-note,.ov-metrics dt,.ov-action-row summary small,.minor-note,.content-library-row small,.ov-audit-evidence,.ov-prompt-audit>p){font-size:var(--ds-text-xs);color:var(--ds-text-muted)}.app-shell :is(.ov-audit-summary li span,.ov-action-body,.ov-audit-intent){font-size:var(--ds-text-sm);color:var(--ds-text-secondary);line-height:1.65}.app-shell :is(.ov-audit-visual,.article-change-diff>div){background:var(--ds-surface-subtle);border-color:var(--ds-border);border-radius:var(--ds-radius-card)}.app-shell :is(.ov-toolbar [role=tablist],.ov-toolbar [role=group],.ov-audit-visual-head [role=group]){background:var(--ds-surface-subtle);border-radius:var(--ds-radius-control)}.app-shell .ov-toolbar button{color:var(--ds-text-secondary);border-radius:var(--ds-radius-sm);font-size:var(--ds-text-xs);min-height:36px}.app-shell .ov-toolbar :is(button[aria-selected=true],button[aria-pressed=true]){color:var(--ds-brand-ink);background:var(--ds-surface)}.app-shell .ov-legend button{color:var(--ds-text-secondary);font-size:var(--ds-text-xs);border-radius:var(--ds-radius-sm);min-height:32px}.app-shell .ov-legend button[aria-pressed=true]{background:var(--ds-brand-soft);color:var(--ds-brand-ink)}.app-shell .ov-category-selector[aria-expanded=true]{border-color:var(--ds-brand);background:var(--ds-brand-soft)}.app-shell .ov-action-row{border-color:var(--ds-border)}.app-shell .ov-action-row>summary{padding-block:var(--ds-space-4)}.app-shell .ov-action-row>summary:hover,.ds-badge{background:var(--ds-surface-subtle)}.ds-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:var(--ds-radius-sm);font-size:12px;line-height:1.4;font-weight:500;color:var(--ds-text-secondary);white-space:nowrap}.ds-badge.success{background:var(--ds-brand-soft);color:var(--ds-brand-ink)}.ds-badge.info{background:var(--ds-info-soft);color:var(--ds-info)}.ds-badge.warning{background:var(--ds-warning-soft);color:var(--ds-warning)}.ds-badge.danger{background:var(--ds-danger-soft);color:var(--ds-danger)}.ds-icon-button{width:40px;height:40px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);display:inline-grid;place-items:center;background:var(--ds-surface);color:var(--ds-text-secondary)}.ds-icon-button svg{width:16px;height:16px}.app-shell .design-system-link{display:flex;gap:8px;align-items:center;color:var(--ds-text-muted);text-decoration:none;padding:8px 10px;font-size:12px}@media(max-width:760px){.app-shell .page-header h1{font-size:26px}.app-shell :is(.ov-trend,.ov-distribution,.ov-action-panel,.ov-week,.improve-config-card){padding:var(--ds-space-4)}.app-shell .ov-metrics dd{font-size:26px}.app-shell :is(.primary-button,.secondary-button,.ds-button,.ds-icon-button){min-height:44px}}@media(prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.app-shell .nav-group-label{color:var(--ds-text-muted);font-size:10px;font-weight:600;letter-spacing:.08em}.app-shell :is(.ov-audit-visual>small,.ov-audit-checks small,.ov-prompt-audit header>span,.ov-inferred-topics small,.content-empty span){color:var(--ds-text-muted);font-size:12px}.app-shell .company-page-report .category-lines p,.app-shell .company-page-report .report-sections p{color:var(--ds-text-secondary);font-size:13px;line-height:1.65}.app-shell .company-page-report .report-sections h2{color:var(--ds-text);font-size:14px;font-weight:600}.app-shell .company-page-report .report-sections section{border-color:var(--ds-border);border-radius:var(--ds-radius-card);padding:var(--ds-space-5)}.app-shell .ov-dot.attention{background:var(--ds-chart-attention)}.app-shell .ov-dot.opportunity{background:var(--ds-chart-opportunity)}.app-shell .ov-dot.working{background:var(--ds-chart-working)}.app-shell .audit-state.review{background:var(--ds-chart-attention)}.app-shell .audit-state.issue{background:var(--ds-danger)}.app-shell .audit-state.observed{background:var(--ds-chart-working)}@media(max-width:760px){:is(.app-shell,.ds-preview) :is(.primary-button,.secondary-button,.ds-button,.ds-icon-button,.ds-segmented button,.ov-toolbar button){min-height:44px}:is(.app-shell,.ds-preview) .ds-icon-button{width:44px;height:44px}:is(.app-shell,.ds-preview) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select){min-height:44px}}.app-shell .seo-settings-card{display:grid;gap:20px;min-width:0;padding:20px;border:1px solid var(--ds-border);border-radius:var(--ds-radius-card);background:var(--ds-surface)}.app-shell .seo-settings-heading h3{margin:0;font-size:14px;font-weight:600;color:var(--ds-text);letter-spacing:-.015em}.app-shell .seo-settings-section{display:grid;gap:8px;min-width:0}.app-shell .seo-section-label,.app-shell .seo-settings-section h4{margin:0;color:var(--ds-text-secondary);font-size:12px;font-weight:550}.app-shell .seo-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.app-shell .seo-category-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.app-shell .seo-category-chip{display:inline-flex;gap:4px;align-items:center;padding:3px 4px 3px 9px;min-height:28px;border-radius:var(--ds-radius-sm);background:var(--ds-surface-subtle);color:var(--ds-text-secondary);font-size:12px}.app-shell .seo-mini-icon{width:22px;height:22px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:4px;background:transparent;color:var(--ds-text-muted)}.app-shell #seo-category-input{flex:1 1 120px;width:120px;max-width:260px;min-height:30px;height:30px;border:0;border-radius:var(--ds-radius-sm);background:transparent;padding:4px 6px;font-size:12px}.app-shell .seo-icon-button{display:inline-grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:0;padding:0;border-radius:var(--ds-radius-control);background:transparent;color:var(--ds-text-muted)}.app-shell :is(.seo-icon-button,.seo-mini-icon):hover:not(:disabled){background:var(--ds-surface-subtle);color:var(--ds-brand-ink)}.app-shell .seo-delete-keyword:hover:not(:disabled){background:var(--ds-danger-soft);color:var(--ds-danger)}.app-shell .seo-icon-button svg.lucide{width:16px;height:16px}.app-shell .seo-suggestion-list{list-style:none;margin:0;padding:0;display:grid;max-height:228px;overflow:auto;scrollbar-width:thin}.app-shell .seo-suggestion-list>li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;color:var(--ds-text-secondary);font-size:13px;padding-left:2px}.app-shell .seo-suggestion-list>li>span{overflow-wrap:anywhere}.app-shell .seo-custom-keyword{display:flex;align-items:center;gap:8px}.app-shell #seo-custom-term{flex:1;height:34px;min-height:34px;padding:6px 10px;font-size:12px;border-color:var(--ds-border)}.app-shell .seo-linked-keywords{display:grid;gap:3px}.app-shell .seo-linked-row{display:flex;align-items:center;gap:8px;min-height:36px}.app-shell .seo-keyword-name{flex:1;font-size:13px;color:var(--ds-text);overflow-wrap:anywhere}.app-shell .seo-primary-badge{font-size:11px;padding:3px 7px}.app-shell #seo-article-question{min-height:64px;height:64px;padding:8px 10px;border-color:var(--ds-border);line-height:1.5;resize:vertical;font-size:13px}.app-shell .seo-empty-note{margin:0}.app-shell .seo-empty-note,.app-shell .seo-keyword-details{color:var(--ds-text-muted);font-size:12px}.app-shell .seo-keyword-details>summary{cursor:pointer;width:-moz-fit-content;width:fit-content}.app-shell .seo-detail-row{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:8px;align-items:center;padding-top:12px}.app-shell .seo-detail-row>input{grid-column:1/-1}.app-shell .seo-detail-row>span{overflow-wrap:anywhere}.app-shell .seo-settings-footer{display:flex;justify-content:flex-end;padding-top:12px;border-top:1px solid var(--ds-border)}.app-shell .seo-refresh-error{color:var(--ds-danger);font-size:12px;margin:0}@media(max-width:760px){.app-shell .seo-settings-card{padding:16px;gap:18px}.app-shell .seo-icon-button{width:44px;height:44px}.app-shell #seo-category-input,.app-shell #seo-custom-term{min-height:44px}.app-shell .seo-detail-row{grid-template-columns:minmax(0,1fr)}.app-shell .seo-detail-row>input{grid-column:auto}}.ds-field-label,.seo-section-label:has(.ds-ai-suggestion){display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ds-ai-suggestion{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border-radius:var(--ds-radius-sm);background:var(--ds-info-soft);color:var(--ds-info);font-size:11px;line-height:1.4;font-weight:500;white-space:nowrap}.ds-ai-suggestion svg.lucide{width:12px;height:12px;stroke-width:1.75}.app-shell .ds-field-label{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.app-shell .ds-field-label>label{margin:0;font-size:12px;font-weight:550;color:var(--ds-text-secondary)}.app-shell .ds-ai-suggestion{margin-left:auto;background:var(--ds-info-soft);border:1px solid transparent;color:var(--ds-info);font-size:12px;padding-inline:12px;white-space:nowrap}.app-shell .ds-ai-suggestion:hover:not(:disabled){background:var(--ds-info-soft);border-color:var(--ds-info);color:var(--ds-info)}.app-shell .ds-ai-suggestion svg.lucide{width:14px;height:14px}.app-shell .ds-ai-suggestion[aria-busy=true] svg{animation:spin 1.3s linear infinite}.app-shell .revision-goal-field{display:grid;gap:8px;padding-inline:calc(var(--ds-space-5) + 1px)}.app-shell #revision-goal-input{width:100%;min-height:90px;resize:vertical}@media(max-width:760px){.app-shell .revision-goal-field{padding-inline:calc(var(--ds-space-4) + 1px)}}