/* SEO Workspace dashboard. Existing Spark assets and notices are retained. */
body{font-size:16px;background:#f4f7f5;color:#19372c;line-height:1.55}
.workspace-header.navbar-custom{position:sticky!important;top:0;left:auto;right:auto;width:100%;z-index:1000;min-height:76px;backdrop-filter:blur(12px)}
.main-wrapper main{padding-top:32px}.main-wrapper{min-height:100vh;display:flex;flex-direction:column}.main-wrapper main{flex:1}.spark-credit{font-size:13px;padding-top:20px}
h1{font-size:30px;letter-spacing:-.035em}h2{font-size:19px;letter-spacing:-.02em}h3{font-size:16px}
.page-heading .muted{font-size:14px;margin-top:8px}.eyebrow{font-size:11px;letter-spacing:.13em}.hint,.footnote{font-size:12px;line-height:1.7;color:#657b70}
.workspace-context strong{font-size:14px}.sidebar-menu-link span small{font-size:12px}.sidebar-attribution{font-size:11px}
.main-wrapper input,.main-wrapper select,.workspace-dialog input,.workspace-dialog select{font-size:14px;min-height:42px;border-radius:9px}
.main-wrapper button,.workspace-dialog button{font-size:14px;min-height:38px}.main-wrapper .sort-button,.main-wrapper .row-button{min-height:0}
.main-wrapper button:disabled{cursor:not-allowed}.main-wrapper .stat{border:1px solid #e1eae5;border-radius:14px;padding:22px;box-shadow:0 4px 16px #163a2705;background:#fff;min-width:0}
.stat>span{font-size:13px;color:#61766b;display:flex;align-items:center;gap:9px}.stat>span .bi{color:#137b50;font-size:17px}.stat strong{font-size:30px;letter-spacing:-.035em;line-height:1.3;display:block;margin-top:12px;font-variant-numeric:tabular-nums}.stat small{display:block;margin-top:8px;font-size:12px;color:#708479}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}
.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.workspace-heading>button{white-space:nowrap;display:flex;gap:8px;align-items:center}
.workspace-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:6px 0 22px}.workspace-search{position:relative;display:flex;align-items:center;gap:10px;flex:0 1 420px;margin:0}.workspace-search>.bi{position:absolute;left:14px;color:#71887b}.workspace-search input{width:100%;padding-left:40px!important;background:#fff}.workspace-tools .checkbox-label{font-size:14px;white-space:nowrap;color:#587060;margin:0}
.project-grid{gap:22px}.project-grid .project{padding:24px;border-radius:16px;border:1px solid #e0e9e3;box-shadow:0 4px 20px #14362204;background:#fff}.project-top{align-items:center;gap:16px}.project-top h2{font-size:20px;margin-bottom:5px}.project-top .domain{font-size:13px;color:#667f70}.project-initial{height:48px;width:48px;flex-shrink:0;display:grid;place-items:center;border-radius:14px;background:#e8f4df;color:#39702f;font-size:21px;font-weight:700}
.project-body{padding:22px 0 15px}.project-metrics{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;color:#6a7c72}.project-metrics span{display:flex;gap:7px;align-items:baseline}.project-metrics b{font-size:21px;color:#264d38;letter-spacing:-.02em}.project-status{font-size:12px;color:#71877a;line-height:1.5;margin:12px 0 0}.project-footer{padding-top:17px;margin-top:0;gap:12px}.project-footer>.project-status{margin:0}.project-footer .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
.project-footer button.workspace-delete{border:1px solid #e6ece7;color:#976c67;width:38px;min-width:38px;min-height:38px;border-radius:9px;display:grid;place-items:center;padding:0;background:#fff}.project-footer button.workspace-delete:hover{background:#fff0ee;color:#a84235;border-color:#f2c6bf}.project.archived{background:#fafcfb;border-style:dashed}.project-empty{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #cbdcd0;border-radius:16px;padding:44px 20px}.project-empty .icon-pill{margin:auto auto 15px}.project-empty p{font-size:14px;color:#71877a}
.onboarding{margin-top:28px;border-radius:16px;padding:26px}.onboarding h2{font-size:18px;margin-bottom:18px}.onboarding ol{gap:26px;list-style:none;padding:0}.onboarding li b{font-size:14px}.onboarding li span{font-size:13px;line-height:1.7}
#manager>.page-heading{margin-bottom:22px}#manager>.gsc-panel{background:#fff;padding:18px 22px;border-radius:14px;margin-bottom:22px}.gsc-info h2{font-size:16px}.gsc-info p,.gsc-details{font-size:13px}.gsc-panel .actions{align-self:center}
#projectTabs.phase-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid #dce7e0;padding:0 0 12px;margin:2px 0 24px;flex-wrap:wrap}
#projectTabs.phase-tabs button.project-tab{display:flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid transparent;border-radius:10px;box-shadow:none;background:transparent!important;color:#677d70;min-height:44px;font-size:14px;font-weight:600}
#projectTabs.phase-tabs button.project-tab:hover{background:#eaf1ec!important;color:#23543a}#projectTabs.phase-tabs button.project-tab.active{background:#137b50!important;color:#fff;border-color:#137b50;box-shadow:0 4px 10px #137b5017}#projectTabs .tab-count{display:inline-block;min-width:28px;border-radius:6px;background:#e5ece7;color:#56705f;font-size:12px;padding:1px 6px;font-weight:600}#projectTabs .active .tab-count{background:#ffffff26;color:#fff}
.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px}.dashboard-card{min-width:0;padding:25px;border:1px solid #e0e9e3;border-radius:16px;background:#fff;box-shadow:0 4px 18px #183b2904}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.card-heading h2{margin:0 0 7px;font-size:18px}.card-heading p{font-size:13px;color:#748779;margin:0;line-height:1.5}.icon-pill{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:#eff5f0;color:#248153;font-size:20px}
.comparison-chart{display:grid;grid-template-columns:1fr 1fr;gap:30px}.chart-group{min-width:0}.chart-group h3{font-size:14px;color:#41614d;margin:0 0 18px}.chart-bar-track{height:16px;background:#f0f5f1;border-radius:5px;overflow:hidden;margin-bottom:6px}.chart-bar{height:100%;background:#137b50;border-radius:5px;min-width:0;transition:width .3s}.chart-bar.previous{background:#b2cc95}.chart-value{font-size:12px;color:#6c8273;display:flex;justify-content:space-between;gap:12px;margin-bottom:20px}.chart-value b{color:#284b38;font-size:14px;font-variant-numeric:tabular-nums}.chart-legend{display:flex;gap:20px;margin:20px 0 8px;font-size:12px;color:#718574}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend span:before{content:'';width:9px;height:9px;border-radius:3px;background:#137b50}.chart-legend span+span:before{background:#b2cc95}
.coverage-ring{width:156px;height:156px;margin:14px auto 20px;border-radius:50%;display:grid;place-items:center}.coverage-ring-center{width:128px;height:128px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.coverage-ring-center strong{font-size:31px;letter-spacing:-.04em;color:#244e37}.coverage-ring-center span{font-size:12px;color:#718574}.coverage-summary{text-align:center;font-size:14px;color:#4d6858}.coverage-summary+.hint{text-align:center;margin-bottom:0}
.rank-distribution{display:grid;gap:16px}.rank-line{display:grid;grid-template-columns:1fr auto;gap:7px 15px;font-size:13px}.rank-line strong{font-variant-numeric:tabular-nums;color:#365741}.rank-track{grid-column:1/-1;height:7px;background:#eef3ef;border-radius:5px;overflow:hidden}.rank-fill{height:100%;min-width:0;background:#137b50;border-radius:5px}.rank-1{background:#54a579}.rank-2{background:#95bd73}.rank-3{background:#c6ce80}.rank-4{background:#c5d6ca}.rank-5{background:#b2bdb6}
.attention-row{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #edf2ee;font-size:14px}.attention-row strong{font-size:17px;color:#365741;font-variant-numeric:tabular-nums}.attention-row .text-button{font-size:13px;color:#137b50;min-height:30px}.overview-checks{margin-top:22px}.health-check{display:flex;gap:12px;align-items:center}.health-icon{font-size:22px;color:#3b9365}.health-copy strong{display:block;font-size:14px}.health-copy small{display:block;font-size:12px;color:#718574;margin-top:3px}
#researchPanel{border-radius:16px;overflow:hidden;background:#fff;border:1px solid #dfe9e2;box-shadow:0 4px 20px #163c2a04}#researchPanel .panel-heading{padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #e8efea;background:linear-gradient(110deg,#fff,#f5faf6)}#researchPanel .panel-heading h2{font-size:21px;margin:0 0 7px}#researchPanel .panel-heading p{font-size:14px;color:#6d8274;margin:0}
.research-content{padding:25px 26px}.research-content>[data-setup]{margin:0 0 20px}.research-form{padding:22px;background:#f5f8f6;border:1px solid #e4ece6;border-radius:13px;margin-bottom:22px}.research-form label{font-size:14px;font-weight:600;display:block;min-width:0;color:#385844}.research-form input,.research-form select{display:block;width:100%;margin-top:8px;background:#fff;min-height:46px;font-size:14px!important}.research-seed{margin-bottom:18px}.research-filters{gap:18px}.research-actions{margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px}.research-actions button{min-height:42px;padding:10px 16px}.research-status{font-size:13px;line-height:1.7;color:#41664d;background:#edf6ed;border:1px solid #dcecdc;border-radius:9px;padding:12px 15px;margin:15px 0}.research-status:empty{display:none}
.research-table{width:100%;min-width:660px;border-collapse:collapse;font-size:14px}.research-table th{background:#f5f8f6;color:#67806f;font-size:12px;font-weight:600;padding:15px 16px;white-space:nowrap}.research-table td{padding:18px 16px;border-bottom:1px solid #edf1ee;vertical-align:middle;font-variant-numeric:tabular-nums}.research-table td:first-child{font-weight:600;min-width:220px}.research-table tbody tr:last-child td{border-bottom:0}.research-table tbody tr:hover{background:#fbfdfb}.research-badge{display:inline-block;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:500;color:#738276;background:#f0f3f0;white-space:nowrap}.research-badge.managed{color:#23744a;background:#eaf5e9}
.research-empty{text-align:center;padding:42px 20px!important;color:#789080;font-size:14px;font-weight:400!important;line-height:1.8}.research-empty>.bi{font-size:30px;color:#88aa90;display:block;margin-bottom:15px}.research-empty h3{color:#496e54}.research-content>.hint{margin:17px 0 25px}.research-content>h3{font-size:16px;padding-top:22px;border-top:1px solid #e7eee8;margin:0 0 16px}.research-history{display:flex;flex-wrap:wrap;gap:10px}.research-history button.secondary{font-size:13px;padding:9px 12px;background:#fff;border-color:#dfe8e1;color:#55735f}
.workspace-dialog{width:min(550px,calc(100vw - 28px));border-radius:16px}.workspace-dialog .dialog-head h2{font-size:20px;margin:0}.workspace-dialog .dialog-body{font-size:14px;line-height:1.75}.workspace-dialog .dialog-body label{font-size:14px;margin:18px 0}.workspace-dialog input,.workspace-dialog select{width:100%}.workspace-dialog .confirmation-domain{color:#8e4a40}.workspace-dialog [data-error]:empty{display:none}.workspace-dialog button.danger-solid{background:#b64b40;color:#fff}.workspace-dialog .dialog-footer{flex-wrap:wrap}
.keyword-table,.keyword-table td{font-size:14px}.metric-filters legend{font-size:13px}.keyword-table th .sort-button{font-size:13px}.keyword-table .subtle{font-size:12px}
@media(min-width:1600px){.main-wrapper main{max-width:1600px}}
@media(max-width:1100px){.overview-grid{grid-template-columns:1fr 1fr}.stats{gap:12px}.main-wrapper .stat{padding:18px}.stat strong{font-size:27px}.dashboard-card{padding:21px}.comparison-chart{grid-template-columns:1fr;gap:10px}.chart-group h3{margin-bottom:12px}.project-footer{flex-wrap:wrap}.workspace-tools{align-items:flex-start}}
@media(max-width:650px){body{font-size:16px}.workspace-header.navbar-custom{position:sticky!important;min-height:65px}.main-wrapper main{padding:22px 14px 32px}.header-meta #health,.header-meta .env{display:none}.workspace-context strong{font-size:13px}.workspace-heading{align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:27px}.workspace-heading>button{align-self:stretch;justify-content:center}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.main-wrapper .stat{padding:16px}.stat>span{font-size:12px;gap:6px}.stat strong{font-size:25px}.stat small{font-size:12px}.workspace-tools{flex-direction:column;gap:14px}.workspace-search{flex:none;width:100%}.project-grid{grid-template-columns:1fr;gap:16px}.project-grid .project{padding:20px}.project-footer .actions{margin-left:auto}.project-top h2{font-size:19px}.overview-grid{grid-template-columns:1fr;gap:16px}.dashboard-card{padding:20px}.comparison-chart{grid-template-columns:1fr 1fr;gap:22px}#projectTabs.phase-tabs{gap:7px;margin-bottom:20px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px}#projectTabs.phase-tabs button.project-tab{white-space:nowrap;font-size:13px;padding:10px 12px;min-height:43px;flex-shrink:0}.project-tab>.bi{display:none}#projectTabs .tab-count{display:none}#researchPanel .panel-heading{padding:20px}.research-content{padding:18px}.research-form{padding:16px}.research-filters{grid-template-columns:1fr;gap:16px}.research-actions{flex-direction:column}.research-actions button{width:100%}.research-table{min-width:640px}.research-content>.table-scroll{margin-left:-1px;max-width:100%}.research-history button{max-width:100%;overflow-wrap:anywhere;text-align:left}.onboarding{padding:20px}.spark-credit{margin:0 16px 20px}.workspace-dialog .dialog-head,.workspace-dialog .dialog-body,.workspace-dialog .dialog-footer{padding:18px}.attention-row{gap:10px}.workspace-tools .checkbox-label{white-space:normal}.main-wrapper .gsc-panel{padding:16px!important}.main-wrapper .gsc-panel .gsc-actions{gap:7px}.main-wrapper .gsc-panel .gsc-actions button{font-size:12px}.gsc-details{font-size:12px}.card-heading h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.chart-bar,.project{transition:none!important}.project:hover{transform:none}}
