/* SEOANALIZIN Report OS Premium V2 — lower report sections only.
 * Load AFTER report-os-premium-v1-20261031.css. No HTML/JS/score changes.
 * Scoped to .report-section and the report details dialog. */

/* The visual system used by the approved top roadmap continues below. */
.report-section{
  --rui2-bg:#fff;
  --rui2-soft:#f4f7fc;
  --rui2-line:#d2dfed;
  --rui2-ink:#142239;
  --rui2-muted:#43536b;
  --rui2-gold:#e8a713;
  --rui2-accent:#c0840e;
  --rui2-navy:#182f50;
  --rui2-shadow:0 14px 36px rgba(23,43,71,.065);
}
.report-section :where(.seo-change-panel,.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge){
  color:var(--rui2-ink);
  border:1px solid var(--rui2-line);
  border-top:3px solid var(--rui2-gold);
  border-radius:22px;
  background:linear-gradient(150deg,#fff 52%,#f7f9fe 100%);
  box-shadow:var(--rui2-shadow);
}
.report-section :where(.seo-change-panel,.pagespeed-panel,.deep-audit-panel,.history-panel,.embed-badge){
  margin-top:24px;margin-bottom:26px;
}
.report-section :where(.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge){
  padding:clamp(19px,2.7vw,30px);
}
.report-section :where(.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.embed-badge) :where(h2,h3){
  color:var(--rui2-ink);letter-spacing:-.028em;line-height:1.2;
}
.report-section :where(.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.embed-badge) :where(p,small,dt){
  color:var(--rui2-muted);
}
.report-section :where(.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.embed-badge) .kicker{
  font-size:10px;font-weight:900;letter-spacing:.12em;color:#916008;
}
.report-section :where(button,a,summary,input,textarea):focus-visible,
.report-detail-dialog :where(button,a,input):focus-visible{
  outline:3px solid #3077dd;outline-offset:3px;
}

/* Change detector: make grouped results actionable, not a low-contrast table. */
.report-section .seo-change-panel{background:linear-gradient(145deg,#fff 40%,#f5f8ff);}
.report-section .seo-change-panel .seo-change-context{
  border-radius:13px;border-color:#cbd9e8;background:#fff;
  padding:12px 14px;font-size:12px;
}
.report-section .seo-change-panel .seo-change-kpi{
  border-color:#cfdceb;border-radius:15px;min-height:94px;padding:16px;
}
.report-section .seo-change-panel .seo-change-group{
  border:1px solid #cddaea;border-radius:13px;
  box-shadow:0 3px 8px rgba(25,40,70,.03);
}
.report-section .seo-change-panel .seo-change-group>summary{
  min-height:55px;padding:14px 16px;font-size:13px;font-weight:850;
}
.report-section .seo-change-panel .seo-change-group>summary:hover{background:#ecf4ff;}
.report-section .seo-change-panel .seo-change-group[open]>summary{background:#eaf1fc;}
.report-section .seo-change-panel .seo-change-group .seo-change-rows{
  background:#f8faff;border-color:#d3dfec;
}
.report-section .seo-change-panel .seo-change-row{padding:14px 4px;}
.report-section .seo-change-panel .seo-change-row>a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:36px;padding:7px 12px;
  background:#e8f0fb;border:1px solid #b8cde8;border-radius:9px;
  color:#1e4a79;font-size:12px;font-weight:850;text-decoration:none;
}
.report-section .seo-change-panel .seo-change-row>a:hover{background:#d7e8fc;border-color:#9abfe9;}

/* PageSpeed: four distinct metric cards with prominent numerals. */
.report-section .pagespeed-panel .pagespeed-head{gap:15px;align-items:flex-start;}
.report-section .pagespeed-panel .pagespeed-head :where(h2,p){margin-bottom:8px;}
.report-section .pagespeed-panel .google-source{
  border-radius:10px;border:1px solid #c9d8e8;background:#fff;
  padding:8px 12px;color:#253b59;font-weight:850;
}
.report-section .pagespeed-panel .psi-loading,
.report-section .pagespeed-panel .psi-error{
  padding:18px;border:1px solid #d0dcec;border-radius:13px;
  background:#f2f6fc;color:var(--rui2-ink);
}
.report-section .pagespeed-panel .psi-score-grid{gap:13px;}
.report-section .pagespeed-panel .psi-score{
  padding:18px 15px;border-radius:15px;
  border:1px solid #cbd9e9;background:#fff;
  box-shadow:0 4px 12px rgba(26,47,72,.035);
}
.report-section .pagespeed-panel .psi-score>span{
  color:var(--rui2-muted);font-size:12px;font-weight:850;
}
.report-section .pagespeed-panel .psi-score>strong{
  font-size:clamp(29px,3.4vw,39px);font-variant-numeric:tabular-nums;line-height:1.18;
}
.report-section .pagespeed-panel .cwv-grid{gap:11px;}
.report-section .pagespeed-panel .cwv-grid>article{
  border:1px solid #d0deea;border-radius:13px;background:#f8faff;
  padding:15px;
}
.report-section .pagespeed-panel .cwv-grid strong{font-weight:900;font-size:20px;}
.report-section .pagespeed-panel #psiRetry{
  min-height:42px;padding:10px 16px;
  border:1px solid #a66d06;border-radius:10px;
  background:linear-gradient(130deg,#ffd264,#edb027);
  color:#161b25;font-weight:900;cursor:pointer;
}

/* Category score, metrics, and technical snapshot. */
.report-section .section-heading.left{margin-top:31px;margin-bottom:17px;}
.report-section .section-heading.left h2{color:var(--rui2-ink);letter-spacing:-.035em;}
.report-section .category-score-grid{gap:13px;}
.report-section .category-score-grid .category-score-card{
  padding:19px;border:1px solid #d1ddeb;border-top:3px solid #e2b349;
  border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(30,51,77,.045);
}
.report-section .category-score-grid .category-top{gap:11px;}
.report-section .category-score-grid .category-top>span{
  color:var(--rui2-ink);font-weight:850;font-size:13px;
}
.report-section .category-score-grid .category-top small{color:var(--rui2-muted);font-size:11px;}
.report-section .category-score-grid .category-top>strong{
  font-size:23px;font-variant-numeric:tabular-nums;font-weight:900;
}
.report-section .category-score-grid .progress{
  height:9px;border-radius:99px;background:#e6ebf2;overflow:hidden;
}
.report-section .metrics-bar{
  gap:9px;padding:14px;border:1px solid var(--rui2-line);
  border-radius:18px;background:#f5f8fd;
}
.report-section .metrics-bar>div{
  min-width:0;border:1px solid #d4dfec;border-radius:12px;
  background:#fff;padding:12px 13px;
}
.report-section .metrics-bar small{color:var(--rui2-muted);font-size:11px;font-weight:800;}
.report-section .metrics-bar strong{color:var(--rui2-ink);font-size:19px;font-weight:900;}
.report-section .metric-detail-trigger{border-radius:9px;}
.report-section .metric-detail-trigger span{color:#805200;opacity:1;font-size:11px;}
.report-section .metric-detail-trigger:hover{background:#eef5ff;}
.report-section .deep-audit-head{gap:16px;}
.report-section .deep-audit-head p{line-height:1.65;}
.report-section .deep-audit-count{
  border:1px solid #c4d5e9;background:#eaf2fe;color:#1e426e;
  padding:8px 12px;border-radius:99px;font-weight:850;
}
.report-section .deep-audit-grid{gap:12px;}
.report-section .deep-audit-card{
  background:#fff;border:1px solid #d0deeb;border-radius:15px;
  padding:17px;box-shadow:0 3px 12px rgba(26,41,66,.035);
}
.report-section .deep-audit-title strong{color:var(--rui2-ink);font-size:14px;}
.report-section .deep-audit-title small{color:var(--rui2-muted);}
.report-section .deep-audit-card dl>div{border-bottom:1px solid #e4eaf2;gap:13px;}
.report-section .deep-audit-card dl>div:last-child{border:0;}
.report-section .deep-audit-card dt{color:var(--rui2-muted);}
.report-section .deep-audit-card dd{color:var(--rui2-ink);font-weight:850;overflow-wrap:anywhere;}
.report-section .deep-detail-trigger{min-height:34px;padding:5px 9px;border-radius:8px;background:#e8f0fb;border:1px solid #c4d6ed;color:#1b4874;}
.report-section .deep-detail-trigger:hover{background:#d8e8fc;color:#163b68;}
.report-section .keyword-insight-strip{
  border:1px solid #d2deea;background:#f2f6fc;border-radius:13px;
}

/* History is a dashboard: strong numbers, discrete events and an accessible action. */
.report-section .history-head{gap:18px;}
.report-section .history-head h2{margin-top:7px;}
.report-section :where(.history-reanalyze button,a.history-reanalyze){
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;border:1px solid #b27a0c;border-radius:11px;
  background:linear-gradient(130deg,#ffd066,#efb22a);color:#161b25;
  padding:10px 16px;font-size:12px;font-weight:900;text-decoration:none;
  box-shadow:0 5px 14px rgba(160,102,6,.13);cursor:pointer;
}
.report-section :where(.history-reanalyze button,a.history-reanalyze):hover{
  background:linear-gradient(130deg,#ffde84,#f5bc41);
}
.report-section .history-summary{gap:10px;}
.report-section .history-summary>div{
  border:1px solid #d0ddeb;border-radius:14px;background:#fff;
  padding:15px;min-width:0;
}
.report-section .history-summary span{color:var(--rui2-muted);font-size:12px;font-weight:800;}
.report-section .history-summary strong{font-size:clamp(24px,2.6vw,33px);font-weight:900;}
.report-section .history-progress-strip,
.report-section .history-recent,
.report-section .history-chart{
  border:1px solid #d4e0ed;background:#f8faff;border-radius:14px;
}
.report-section .history-recent-item{
  border:1px solid #d3dfec;background:#fff;border-radius:11px;
  padding:12px 14px;transition:background .16s ease,border-color .16s ease;
}
.report-section .history-recent-item:hover{background:#eef5ff;border-color:#aac7eb;}
.report-section .history-recent-time b{color:var(--rui2-ink);}
.report-section .history-recent-time small{color:var(--rui2-muted);}
.report-section .history-bar-item{border-radius:7px;}
.report-section .history-bar-item:focus-visible{outline-offset:4px;}

/* Audit rows: distinct category panels and clearly clickable accordion controls. */
.report-section .audit-layout{gap:20px;align-items:start;}
.report-section .audit-main{min-width:0;}
.report-section .audit-group{margin-bottom:20px;overflow:visible;}
.report-section .audit-group-head{
  border-bottom:1px solid #dbe4f0;padding-bottom:17px;margin-bottom:12px;
}
.report-section .audit-group-head h3{font-size:19px;font-weight:900;}
.report-section .audit-group-head p{color:var(--rui2-muted);font-size:12px;}
.report-section .audit-group-head .score-badge{
  min-width:45px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #cbd9e9;border-radius:12px;background:#eef4fc;
  font-size:19px;font-weight:900;
}
.report-section .audit-list{display:grid;gap:9px;}
.report-section .audit-item{
  margin:0;border:1px solid #d2dfed;border-radius:13px;
  background:#fff;overflow:hidden;
  box-shadow:0 3px 9px rgba(24,38,61,.025);
}
.report-section .audit-item.fail{border-left:4px solid #ca4d49;}
.report-section .audit-item.warn{border-left:4px solid #c18a19;}
.report-section .audit-item.pass{border-left:4px solid #188c68;}
.report-section .audit-toggle{
  display:flex;align-items:center;gap:12px;min-height:62px;
  padding:14px 15px;background:#fff;color:var(--rui2-ink);
  transition:background .16s ease;
}
.report-section .audit-toggle:hover{background:#f0f5fc;}
.report-section .audit-item.open .audit-toggle,
.report-section .audit-item.is-open .audit-toggle{background:#eef4fc;}
.report-section .audit-toggle .check-copy strong{color:var(--rui2-ink);font-size:13px;font-weight:850;line-height:1.4;}
.report-section .audit-toggle .check-copy small{color:var(--rui2-muted);line-height:1.55;}
.report-section .audit-detail{
  border-top:1px solid #d5dfed;background:#f6f9fd;
  padding:17px 18px;color:var(--rui2-ink);
}
.report-section .audit-detail .audit-fix{color:var(--rui2-muted);line-height:1.7;}
.report-section .audit-detail .audit-fix strong{color:var(--rui2-ink);}
.report-section .audit-detail-list>div{border-bottom:1px solid #dce5ef;}
.report-section .audit-detail-list dt{color:var(--rui2-muted);}
.report-section .audit-detail-list dd{color:var(--rui2-ink);overflow-wrap:anywhere;}
.report-section .audit-detail-open{
  min-height:42px;padding:9px 14px;
  border:1px solid #1a436b;border-radius:10px;
  background:#1a3a5e;color:#fff;font-weight:850;font-size:12px;
}
.report-section .audit-detail-open span{color:#ffe098;}
.report-section .audit-detail-open:hover{background:#264e7a;border-color:#264e7a;transform:none;}
.report-section .seo-guided-audit-proof{
  border:1px solid #d0dce9;border-left:3px solid var(--rui2-gold);
  background:#fff;border-radius:11px;
}
.report-section .seo-guided-audit-proof li code{max-width:100%;overflow-wrap:anywhere;}

/* Sidebar and score badge generator — coherent but do not change interactions. */
.report-section .report-sidebar{min-width:0;}
.report-section .sidebar-card{padding:19px;}
.report-section .sidebar-card dl>div{border-bottom:1px solid #e1e7f0;padding:11px 0;}
.report-section .sidebar-card dl>div:last-child{border:0;}
.report-section .sidebar-card dt{font-size:11px;color:var(--rui2-muted);font-weight:800;}
.report-section .sidebar-card dd{color:var(--rui2-ink);overflow-wrap:anywhere;line-height:1.55;}
.report-section .sidebar-action{
  display:flex;align-items:center;justify-content:center;min-height:43px;
  border:1px solid #b77d12;border-radius:11px;background:#f8c24d;
  color:#172033;font-weight:900;text-align:center;padding:9px 13px;
}
.report-section .sidebar-action:hover{background:#ffce66;}
.report-section .embed-badge-choices,
.report-section .embed-badge-preview{
  border:1px solid #d1dfec;border-radius:13px;background:#f7f9fe;
}
.report-section .embed-badge-choices legend{color:var(--rui2-ink);font-weight:850;}
.report-section .embed-badge-choices label{color:var(--rui2-ink);}
.report-section .embed-badge-theme-button,
.report-section .embed-badge-code-row button{
  min-height:40px;border-radius:9px;font-weight:850;
}
.report-section .embed-badge-code-row textarea{
  border:1px solid #cbd8e8;border-radius:10px;background:#fff;color:#18283e;
}
.report-section .embed-badge-code-row button,
.report-section #seoBadgeCopy{
  border:1px solid #bb820d;background:#f7c34b;color:#161b25;
  min-height:43px;padding:9px 14px;
}
.report-section .embed-badge-code-row button:hover,
.report-section #seoBadgeCopy:hover{background:#ffd36c;}
.report-detail-dialog{
  border:1px solid #b8cbe2;border-radius:20px;background:#fff;color:#142239;
  box-shadow:0 30px 85px rgba(10,22,42,.27);
}
.report-detail-dialog .report-detail-head{background:#f8faff;border-bottom-color:#d2dfed;}
.report-detail-dialog .report-detail-toolbar{background:#edf3fb;}
.report-detail-dialog .report-detail-item{border:1px solid #d2deeb;background:#f8faff;}
.report-detail-dialog .report-detail-open-link{background:#e6effb;border-color:#bacfea;color:#1b4571;}

/* Dark theme is matte navy: no translucent or animated glow. */
html[data-theme="dark"] .report-section{
  --rui2-bg:#16243a;
  --rui2-soft:#16273e;
  --rui2-line:#384e69;
  --rui2-ink:#f2f6fd;
  --rui2-muted:#c0cce0;
  --rui2-shadow:0 15px 30px rgba(0,0,0,.14);
}
html[data-theme="dark"] .report-section :where(.seo-change-panel,.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge){
  background:#121e30;border-color:#384e69;border-top-color:#d9a633;color:#f2f6fd;box-shadow:var(--rui2-shadow);
}
html[data-theme="dark"] .report-section :where(.seo-change-panel,.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge) :where(h2,h3,strong,dd){color:var(--rui2-ink);}
html[data-theme="dark"] .report-section :where(.seo-change-panel,.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge) :where(p,small,dt){color:var(--rui2-muted);}
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-context,
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-kpi,
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-group,
html[data-theme="dark"] .report-section .pagespeed-panel .google-source,
html[data-theme="dark"] .report-section .pagespeed-panel .psi-loading,
html[data-theme="dark"] .report-section .pagespeed-panel .psi-error,
html[data-theme="dark"] .report-section .pagespeed-panel .psi-score,
html[data-theme="dark"] .report-section .pagespeed-panel .cwv-grid>article,
html[data-theme="dark"] .report-section .category-score-grid .category-score-card,
html[data-theme="dark"] .report-section .metrics-bar>div,
html[data-theme="dark"] .report-section .deep-audit-card,
html[data-theme="dark"] .report-section .history-summary>div,
html[data-theme="dark"] .report-section .history-recent-item,
html[data-theme="dark"] .report-section .audit-item,
html[data-theme="dark"] .report-section .audit-toggle,
html[data-theme="dark"] .report-section .seo-guided-audit-proof{
  background:#1b2c43;border-color:#3c536e;color:#f2f6fd;box-shadow:none;
}
html[data-theme="dark"] .report-section .audit-item.fail{border-left-color:#df6d6a;}
html[data-theme="dark"] .report-section .audit-item.warn{border-left-color:#e9b547;}
html[data-theme="dark"] .report-section .audit-item.pass{border-left-color:#32bf93;}
html[data-theme="dark"] .report-section .audit-toggle:hover,
html[data-theme="dark"] .report-section .audit-item.open .audit-toggle,
html[data-theme="dark"] .report-section .audit-item.is-open .audit-toggle,
html[data-theme="dark"] .report-section .history-recent-item:hover{background:#233b56;}
html[data-theme="dark"] .report-section .audit-toggle .check-copy strong,
html[data-theme="dark"] .report-section .history-recent-time b,
html[data-theme="dark"] .report-section .category-score-grid .category-top>span,
html[data-theme="dark"] .report-section .category-score-grid .category-top>strong,
html[data-theme="dark"] .report-section .metrics-bar strong,
html[data-theme="dark"] .report-section .deep-audit-card dd,
html[data-theme="dark"] .report-section .sidebar-card dd{color:var(--rui2-ink);}
html[data-theme="dark"] .report-section .audit-detail,
html[data-theme="dark"] .report-section .metrics-bar,
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-group .seo-change-rows,
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-group[open]>summary,
html[data-theme="dark"] .report-section .history-chart,
html[data-theme="dark"] .report-section .history-recent,
html[data-theme="dark"] .report-section .history-progress-strip,
html[data-theme="dark"] .report-section .keyword-insight-strip,
html[data-theme="dark"] .report-section .embed-badge-choices,
html[data-theme="dark"] .report-section .embed-badge-preview{
  background:#17283e;border-color:#3b516d;color:#f2f6fd;
}
html[data-theme="dark"] .report-section .audit-detail .audit-fix strong{color:#f1f5fb;}
html[data-theme="dark"] .report-section .audit-detail .audit-fix{color:#becce0;}
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-group>summary:hover{background:#233a56;}
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-row>a,
html[data-theme="dark"] .report-section .deep-detail-trigger,
html[data-theme="dark"] .report-section .audit-detail-open{
  background:#29486b;color:#f3f7ff;border-color:#517195;
}
html[data-theme="dark"] .report-section .seo-change-panel .seo-change-row>a:hover,
html[data-theme="dark"] .report-section .deep-detail-trigger:hover,
html[data-theme="dark"] .report-section .audit-detail-open:hover{background:#345779;}
html[data-theme="dark"] .report-section .metric-detail-trigger:hover{background:#253d58;}
html[data-theme="dark"] .report-section .metric-detail-trigger span{color:#ffcb69;}
html[data-theme="dark"] .report-section .deep-audit-count,
html[data-theme="dark"] .report-section .audit-group-head .score-badge{background:#25405e;border-color:#486782;color:#edf4ff;}
html[data-theme="dark"] .report-section .category-score-grid .progress{background:#34485d;}
html[data-theme="dark"] .report-section .sidebar-card dl>div{border-color:#354961;}
html[data-theme="dark"] .report-section .embed-badge-code-row textarea{background:#0e1929;border-color:#425872;color:#f2f6fd;}
html[data-theme="dark"] .report-detail-dialog{background:#111e30;border-color:#3d5674;color:#f2f6fd;}
html[data-theme="dark"] .report-detail-dialog .report-detail-head,
html[data-theme="dark"] .report-detail-dialog .report-detail-toolbar,
html[data-theme="dark"] .report-detail-dialog .report-detail-item{background:#192b43;border-color:#3d5674;}
html[data-theme="dark"] .report-detail-dialog .report-detail-open-link{background:#28466a;border-color:#52759b;color:#fff;}

/* Compact phones and touch targets; do not change content order. */
@media(max-width:760px){
  .report-section :where(.pagespeed-panel,.deep-audit-panel,.history-panel,.audit-group,.sidebar-card,.embed-badge){padding:18px 15px;border-radius:17px;}
  .report-section .seo-change-panel .seo-change-kpi{padding:13px 11px;min-height:84px;}
  .report-section .pagespeed-panel .psi-score-grid{gap:8px;}
  .report-section .pagespeed-panel .psi-score{padding:14px 11px;}
  .report-section .pagespeed-panel .cwv-grid{gap:8px;}
  .report-section .deep-audit-grid{gap:10px;}
  .report-section .audit-toggle{min-height:54px;padding:12px;}
  .report-section .audit-detail{padding:14px;}
  .report-section .audit-layout{gap:16px;}
  .report-section .history-head{align-items:flex-start;}
}
@media(max-width:540px){
  .report-section .history-summary>div{padding:12px;}
  .report-section .category-score-grid .category-score-card{padding:14px;}
  .report-section .metrics-bar{padding:9px;gap:7px;}
  .report-section .metrics-bar>div{padding:10px;}
  .report-section .seo-change-panel .seo-change-kpi strong{font-size:24px;}
  .report-section .seo-change-panel .seo-change-row>a,
  .report-section .audit-detail-open{min-height:44px;}
}
@media(prefers-reduced-motion:reduce){
  .report-section .audit-toggle,.report-section .history-recent-item,
  .report-section .seo-change-panel .seo-change-group>summary{transition:none!important;}
}
