/* Loaded after view styles so legacy page accents still resolve to the workspace system. */
.rf-shell .rf-link,
.rf-shell .bl-domain,
.rf-shell .bl-source,
.rf-shell .da-comp,
.rf-shell .do-link,
.rf-shell .st-link{color:var(--rf-indigo)}
.rf-shell .metric-icon{background:#e5f3ec;color:var(--rf-indigo)}
.rf-shell .primary-button{border-color:#0f6b4e;background:#0f6b4e;color:#fff}
.rf-shell .primary-button:hover{border-color:#0b5a42;background:#0b5a42}
.rf-shell .outline-button:hover{border-color:#b9d9ca;background:#f3faf6}
.rf-shell .text-button{color:var(--rf-indigo)}
.rf-shell .reference-tabs button.is-current{border-color:#0f8a64;color:#0f7656}

.rf-shell .pg-settings .st-plan{border:1px solid #d5e9dd;background:#eaf5ef}
.rf-shell .pg-settings .st-plan-card.is-current{border-color:#b9ddca;background:#f3faf6}
.rf-shell .pg-settings .st-role.owner{background:#e2f3ea;color:#08734d}
.rf-shell .pg-settings .st-create .ic{color:var(--rf-indigo)}
.rf-shell .pg-settings .st-field input:focus,
.rf-shell .pg-settings .st-select select:focus{border-color:#64ae8f;box-shadow:0 0 0 3px #e0f2e8}

.rf-shell .pg-content .cnt-cluster-icon,
.rf-shell .pg-audit .aud-stat-icon{background:#e5f3ec;color:var(--rf-indigo)}
.rf-shell .pg-content .cnt-ai{border:1px solid #d5e9dd;background:#eff8f3}
.rf-shell .cl-live .cl-outline b{color:var(--rf-indigo)}
.rf-shell .cl-live .cl-event:hover,
.rf-shell .cl-live .cl-event.is-selected{border-color:#b9ddca;background:#e7f4ed}

.rf-shell .pg-overview .ov-action-icon,
.rf-shell .pg-overview .ov-issue-ai-button{color:var(--rf-indigo)}
.rf-shell .pg-overview .ov-issue-ai-button{border-color:#cce8da}

.rf-shell .pg-tracker .trk-pager button.is-current,
.rf-shell .pg-tracker .trk-insight>div span{background:#e5f3ec;color:var(--rf-indigo)}
.rf-shell .pg-tracker .trk-add textarea:focus{border-color:#64ae8f;box-shadow:0 0 0 3px #e0f2e8}
.rf-shell .pg-tracker .trk-chip:hover{border-color:#b9ddca;background:#f3faf6}
.rf-shell .pg-tracker .trk-sov-bar>span{background:#4da77d}

.rf-shell .do-page .do-market.is-current,
.rf-shell .do-page .do-panel-tag.seo,
.rf-shell .do-page .do-seg button.is-current{border-color:#b9ddca;background:#e5f3ec;color:var(--rf-indigo)}
.rf-shell .do-page .do-tile-value,
.rf-shell .do-page .do-traffic-row strong,
.rf-shell .do-page .dl-title .ic{color:var(--rf-indigo)}

.rf-shell .pg-reports .rp-thumbs{border-color:#dcebe3;background:#edf7f1}
.rf-shell .rp-live .rf-field textarea:focus{border-color:#64ae8f;box-shadow:0 0 0 3px #e0f2e8}
.rf-shell .rp-live .rp-check:has(input:checked){border-color:#b9ddca;background:#f3faf6}
.rf-shell .rp-doc-head .rp-doc-brand,
.rf-shell .rp-count{color:var(--rf-indigo)}

.rf-shell .al-live .rf-tab.is-current .al-count,
.rf-shell .al-live .al-history tr.is-current td,
.rf-shell .al-live .al-issue summary:hover{background:#f3faf6}
.rf-shell .al-live .al-phases li.is-current{color:var(--rf-indigo)}

/* Keyword Research never exposes paid-search metrics in the preview surface. */
.rf-shell:has(#keyword-explorer-form) .reference-metrics .metric:nth-child(3),
.rf-shell:has(#keyword-explorer-form) .keyword-summary dt:nth-of-type(5),
.rf-shell:has(#keyword-explorer-form) .keyword-summary dd:nth-of-type(5),
.rf-shell:has(#keyword-explorer-form) .reference-table-card th:nth-child(5),
.rf-shell:has(#keyword-explorer-form) .reference-table-card td:nth-child(5){display:none}

@media(prefers-reduced-motion:reduce){.rf-shell .do-skeleton{animation:none}}

/* White workspace: green is reserved for actions and healthy states, never the page background. */
body,.rf-shell,.rf-main{background:#fff;color:var(--rf-ink)}
.rf-side,.rf-header{background:#fff}
.rf-promo{background:#fff;color:var(--rf-text)}
.rf-banner{background:#fff}
.rf-notice{background:#fff}

/* Search Console website dialog: a focused product surface, not a legacy browser form. */
#site-dialog{width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe9e3;border-radius:18px;background:#fff;color:var(--rf-ink);box-shadow:0 20px 50px rgba(15,35,25,.2);overflow:auto}
#site-dialog::backdrop{background:rgba(14,24,20,.42);backdrop-filter:blur(3px)}
#site-dialog .dialog-card{position:relative;width:auto;padding:0;border:0;border-radius:inherit;background:#fff;box-shadow:none}
#site-dialog .dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 30px 20px;border-bottom:1px solid #edf2ef}
#site-dialog .dialog-eyebrow{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:#08734d;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
#site-dialog .dialog-mark{display:grid;place-items:center;width:22px;height:22px;border:1px solid #b9ddca;border-radius:7px;background:#eaf6ef;color:#08734d;font-size:12px;font-weight:850;letter-spacing:-.04em}
#site-dialog h2{margin:0;color:#101a16;font-size:29px;font-weight:760;letter-spacing:-.055em;line-height:1.05}
#site-dialog .dialog-header>div>p:last-child{max-width:405px;margin:9px 0 0;color:#66776f;font-size:13px;line-height:1.5}
#site-dialog .dialog-close{position:static;display:grid;flex:0 0 36px;width:36px;height:36px;margin:-3px -3px 0 0;place-items:center;border:1px solid #dfe9e3;border-radius:10px;background:#fff;color:#52645a;font-size:0}
#site-dialog .dialog-close:hover{border-color:#b9ddca;background:#f4faf6;color:#08734d}
#site-dialog .dialog-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}
#site-dialog .dialog-fields{display:grid;gap:18px;padding:24px 30px 26px}
#site-dialog .dialog-field{display:grid;gap:8px;margin:0;color:#1e2c25;font-size:12px;font-weight:700}
#site-dialog .dialog-label{display:flex;align-items:baseline;gap:7px;line-height:1.2}
#site-dialog .dialog-label small{color:#7c8b83;font-size:11px;font-weight:500}
#site-dialog input,#site-dialog select{width:100%;height:48px;margin:0;padding:0 13px;border:1px solid #d6e2da;border-radius:10px;background:#fff;color:#142019;outline:0;font-size:13px;transition:border-color .16s ease,box-shadow .16s ease}
#site-dialog input::placeholder{color:#9aa9a1}
#site-dialog select{padding-right:38px;cursor:pointer}
#site-dialog input:hover,#site-dialog select:hover{border-color:#b9d2c3}
#site-dialog input:focus,#site-dialog select:focus{border-color:#3c9a72;box-shadow:0 0 0 3px #dff2e7}
#site-dialog .dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 30px 24px;border-top:1px solid #edf2ef;background:#fbfdfc}
#site-dialog .dialog-actions p{max-width:245px;margin:0;color:#75857c;font-size:11px;line-height:1.45}
#site-dialog .dialog-actions .primary-button{min-width:132px;min-height:42px;margin:0;border-radius:10px;font-size:12px;font-weight:700}
#site-dialog .dialog-close:focus-visible,#site-dialog input:focus-visible,#site-dialog select:focus-visible,#site-dialog button:focus-visible{outline:3px solid #bfe8d0;outline-offset:2px}
@media(max-width:560px){#site-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}#site-dialog .dialog-header{padding:23px 20px 18px;gap:14px}#site-dialog h2{font-size:26px}#site-dialog .dialog-fields{gap:16px;padding:21px 20px 22px}#site-dialog .dialog-actions{align-items:stretch;flex-direction:column;padding:16px 20px 20px;gap:12px}#site-dialog .dialog-actions p{max-width:none}#site-dialog .dialog-actions .primary-button{width:100%}}

/* uPlot-backed responsive charts keep a compact, quiet canvas inside the existing cards. */
.rf-modern-chart{position:relative;min-height:140px;overflow:hidden}
.rf-modern-chart .uplot{width:100%!important;max-width:100%;font-family:var(--rf-font)}
.rf-modern-chart .uplot canvas{display:block;max-width:100%}
.rf-chart-fallback{display:grid;place-items:center;min-height:140px;color:var(--rf-faint);font-size:12px}
.rf-modern-chart.is-unavailable{display:grid;place-items:center;border:1px dashed var(--rf-line);border-radius:10px;background:#fff}
.rf-modern-chart.is-unavailable .rf-chart-fallback{min-height:120px}
@media(prefers-reduced-motion:reduce){.rf-modern-chart *{transition:none!important}}

/* Chart hover tooltip */
.rf-modern-chart{overflow:visible}
.rf-chart-tip{position:absolute;z-index:5;display:grid;gap:4px;min-width:132px;padding:9px 11px;border:1px solid var(--rf-line);border-radius:9px;background:#fff;box-shadow:0 8px 24px rgba(11,13,23,.12);color:var(--rf-text);font-size:12px;line-height:1.3;pointer-events:none;white-space:nowrap}
.rf-chart-tip[hidden]{display:none}
.rf-chart-tip strong{color:var(--rf-ink);font-size:12px;font-weight:600}
.rf-chart-tip span{display:flex;align-items:center;gap:7px;color:var(--rf-muted)}
.rf-chart-tip i{width:8px;height:8px;border-radius:50%;flex:none}
.rf-chart-tip b{margin-left:auto;padding-left:14px;color:var(--rf-ink);font-weight:600;font-variant-numeric:tabular-nums}
