.sq-main-mode-btn{
  background:#1565C0;
  color:#fff;
  border:none;
  border-radius:4px;
  padding:2px 10px;
  font-size:11px;
  font-weight:bold;
  height:22px;
  line-height:22px;
  cursor:pointer;
  white-space:nowrap;
}

.sq-main-mode-btn:hover{
  background:#1976D2;
}

.sq-main-mode-btn.active{
  background:#f2cc60;
  color:#0d1117;
}

/* Legacy toolbar: hidden in V1. Kept only for backward compatibility. */
.valuation-toolbar{
  display:none !important;
}

.valuation-toolbar-buttons{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.valuation-main-btn,
.valuation-context-btn{
  background:#1565C0;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  border-radius:4px;
  padding:3px 9px;
  font-size:11px;
  font-weight:800;
  height:24px;
  line-height:16px;
  cursor:pointer;
  white-space:nowrap;
  font-family:var(--font);
}

.valuation-main-btn:hover,
.valuation-context-btn:hover{
  background:#1976D2;
}

.valuation-main-btn.active{
  background:#30363d;
  color:#58a6ff;
  border-color:#58a6ff;
}

.valuation-main-btn.disabled,
.valuation-context-btn.disabled{
  opacity:.35;
  cursor:not-allowed;
}

.valuation-context-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  height:32px;
  padding:0 12px;
  background:#0f141b;
  border-bottom:1px solid var(--border);
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
}

.valuation-context-label{
  font-size:10px;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.06em;
}

.valuation-context-select{
  background:#161b22;
  color:var(--text);
  border:1px solid var(--border);
  border-radius:4px;
  height:23px;
  font-size:11px;
  font-family:var(--font);
  padding:2px 6px;
}

.valuation-context-check{
  color:var(--muted);
  font-size:11px;
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.valuation-workspace{
  width:100%;
  height:100%;
  background:#0f141b;
  overflow:auto;
  padding:10px;
  min-width:0;
  min-height:0;
  box-sizing:border-box;
}

.valuation-empty-state,
.valuation-loading,
.valuation-error{
  height:100%;
  min-height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
  text-align:center;
  flex-direction:column;
  gap:8px;
}

.valuation-error{
  color:var(--red);
}

.valuation-error span{
  color:var(--muted);
  font-size:11px;
}

.valuation-panel{
  height:100%;
  min-height:420px;
  background:#0d1117;
  border:1px solid var(--border);
  border-radius:6px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.valuation-panel-header{
  height:38px;
  min-height:38px;
  background:#161b22;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 10px;
}

.valuation-panel-title{
  font-size:12px;
  font-weight:900;
  color:#58a6ff;
  letter-spacing:.04em;
}

.valuation-panel-subtitle{
  font-size:11px;
  color:var(--muted);
  margin-top:2px;
}

.valuation-panel-badge{
  font-size:10px;
  font-weight:900;
  color:#8b949e;
  border:1px solid var(--border);
  background:#0d1117;
  border-radius:4px;
  padding:2px 6px;
}

.valuation-panel-body{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:10px;
}

.valuation-dashboard{
  display:grid;
  grid-template-columns:repeat(2, minmax(320px, 1fr));
  gap:10px;
}

.valuation-header-card{
  grid-column:1 / -1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#161b22;
  border:1px solid var(--border);
  border-radius:8px;
  padding:14px;
}

.valuation-title{
  font-size:22px;
  font-weight:800;
  color:var(--text);
}

.valuation-subtitle{
  font-size:12px;
  color:var(--muted);
}

.valuation-status{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.valuation-status.ok{
  color:var(--green);
}

.valuation-status.warning{
  color:#f2cc60;
}

.valuation-card{
  background:#161b22;
  border:1px solid var(--border);
  border-radius:8px;
  padding:12px;
  min-height:120px;
}

.valuation-card h3{
  font-size:12px;
  color:#58a6ff;
  margin-bottom:8px;
}

.valuation-table{
  width:100%;
  border-collapse:collapse;
}

.valuation-table td{
  border-top:1px solid rgba(255,255,255,.05);
  padding:6px 4px;
  font-size:12px;
}

.valuation-table td:last-child{
  text-align:right;
  color:var(--text);
}

.valuation-muted{
  color:var(--muted);
  font-size:12px;
}

.valuation-warning{
  color:#f2cc60;
  font-size:12px;
  padding:4px 0;
}

.valuation-statement-table-wrap{
  width:100%;
  height:100%;
  overflow:auto;
  border:1px solid var(--border);
  background:#0d1117;
}

.valuation-statement-table{
  border-collapse:collapse;
  min-width:900px;
  width:max-content;
  font-size:11px;
}

.valuation-statement-table th,
.valuation-statement-table td{
  border-bottom:1px solid rgba(255,255,255,.06);
  border-right:1px solid rgba(255,255,255,.04);
  padding:5px 8px;
  color:var(--text);
  white-space:nowrap;
  text-align:right;
}

.valuation-statement-table th{
  position:sticky;
  top:0;
  z-index:2;
  background:#161b22;
  color:#58a6ff;
  font-weight:900;
}

.valuation-statement-table .statement-row-label{
  position:sticky;
  left:0;
  z-index:3;
  background:#161b22;
  color:#c9d1d9;
  text-align:left;
  min-width:260px;
  max-width:360px;
  overflow:hidden;
  text-overflow:ellipsis;
}

.valuation-statement-table td.statement-row-label{
  background:#0f141b;
  z-index:1;
}

.hidden{
  display:none !important;
}


/* =============================================================
   SQVD ANALYSIS TABLE — hozzáadni a valuation.css VÉGÉRE
   ============================================================= */

/* --- Wrapper --- */
.sqvd-analysis-table-wrap{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  background:#0d1117;
  border:1px solid var(--border);
  border-radius:6px;
  overflow:hidden;
}

/* --- Fejléc sáv (ticker + oszlop csoport pipák) --- */
.sqvd-analysis-table-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 12px;
  background:#161b22;
  border-bottom:1px solid var(--border);
  min-height:38px;
  flex-shrink:0;
  flex-wrap:wrap;
  gap:8px;
}

.sqvd-analysis-table-header-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.sqvd-analysis-ticker{
  font-size:14px;
  font-weight:900;
  color:var(--text);
}

.sqvd-analysis-company{
  font-size:11px;
  color:var(--muted);
}

.sqvd-badge{
  font-size:10px;
  font-weight:900;
  border-radius:4px;
  padding:2px 7px;
  letter-spacing:.05em;
}

.sqvd-badge-ok{
  background:rgba(63,185,80,.12);
  color:#3fb950;
  border:1px solid rgba(63,185,80,.25);
}

.sqvd-badge-warn{
  background:rgba(242,204,96,.10);
  color:#f2cc60;
  border:1px solid rgba(242,204,96,.25);
}

/* --- Oszlop csoport pipeline --- */
.sqvd-colgroup-bar{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.sqvd-colgroup-toggle{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
}

.sqvd-colgroup-toggle input[type=checkbox]{
  accent-color:#58a6ff;
  cursor:pointer;
}

.sqvd-colgroup-disabled{
  opacity:.4;
  cursor:not-allowed;
}

/* --- Tábla scrollozható terület --- */
.sqvd-analysis-table-body{
  flex:1;
  min-height:0;
  overflow:auto;
}

/* --- Maga a tábla --- */
/* A betűméretet a közös valuation_text_size.js állítja (html[data-sqvd-text]).
   Az analysis táblának SAJÁT változója van, mert sűrűbb és több oszlopos, mint
   a statements: az "M" fokozat itt 11px (a korábbi fix érték), nem 12px.
   A fokozatok definíciója a fájl végén, a betűméret-blokkban. */
.sqvd-analysis-table{
  border-collapse:collapse;
  width:max-content;
  min-width:100%;
  font-size:var(--sqvd-analysis-font, 11px);
  font-family:var(--font);
}

/* Oszlop szélességek */
.sqvd-col-label { width:240px; min-width:200px; }
.sqvd-col-info  { width:24px;  min-width:24px; }
.sqvd-col-year  { width:72px;  min-width:64px; }
.sqvd-col-extra { width:64px;  min-width:56px; }

/* --- Fejléc sor --- */
.sqvd-th-label,
.sqvd-th-info,
.sqvd-th-year,
.sqvd-th-extra{
  position:sticky;
  top:0;
  z-index:2;
  background:#161b22;
  color:#58a6ff;
  font-weight:900;
  font-size:10px;
  letter-spacing:.04em;
  padding:6px 8px;
  border-bottom:1px solid var(--border);
  white-space:nowrap;
  text-align:right;
}

.sqvd-th-label{
  position:sticky;
  left:0;
  z-index:4;        /* label + sticky top egyszerre */
  text-align:left;
  padding-left:10px;
}

.sqvd-th-info{
  text-align:center;
}

.sqvd-th-extra{
  color:#8b949e;
}

/* --- Szekció fejléc sor --- */
.sqvd-section-row{
  background:#0f141b;
  cursor:pointer;
  user-select:none;
}

.sqvd-section-row:hover{
  background:#161b22;
}

.sqvd-section-label{
  padding:6px 10px;
  font-size:11px;
  font-weight:900;
  color:#58a6ff;
  letter-spacing:.05em;
  border-top:1px solid var(--border);
  border-bottom:1px solid rgba(88,166,255,.15);
  white-space:nowrap;
}

.sqvd-section-arrow{
  display:inline-block;
  width:14px;
  font-size:9px;
  color:#8b949e;
  margin-right:4px;
}

/* --- Metrika sorok --- */
.sqvd-metric-row{
  background:#0d1117;
}

.sqvd-metric-row:hover{
  background:#111820;
}

/* Child sor (inline analytics, halvány + indent) */
.sqvd-metric-child .sqvd-metric-label{
  padding-left:22px;
  color:#6e7681;
  font-style:italic;
}

.sqvd-metric-child .sqvd-cell-value{
  color:#6e7681;
}

/* Stub sor (available=false) — még halványabb */
.sqvd-metric-stub .sqvd-metric-label{
  color:#484f58;
}

/* --- Cellák --- */
.sqvd-metric-label{
  position:sticky;
  left:0;
  z-index:1;
  background:#0d1117;
  color:#c9d1d9;
  padding:5px 10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
  border-bottom:1px solid rgba(255,255,255,.04);
  text-align:left;
}

.sqvd-metric-row:hover .sqvd-metric-label{
  background:#111820;
}

.sqvd-metric-child .sqvd-metric-label{
  background:#0d1117;
}

.sqvd-metric-child:hover .sqvd-metric-label{
  background:#111820;
}

.sqvd-metric-info{
  padding:2px 4px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.04);
}

.sqvd-cell{
  padding:5px 8px;
  text-align:right;
  white-space:nowrap;
  border-bottom:1px solid rgba(255,255,255,.04);
  font-variant-numeric:tabular-nums;
}

/* Van adat — normál */
.sqvd-cell-value{
  color:#c9d1d9;
}

/* Nincs adat (engine nem számolta) — halvány */
.sqvd-cell-missing{
  color:#484f58;
  cursor:default;
}

/* Stub (available=false) — még halványabb */
.sqvd-cell-stub{
  color:#30363d;
  cursor:default;
}

/* Extra oszlop csoport cella (Averages stb.) — egyelőre N/A */
.sqvd-cell-extra{
  color:#484f58;
  border-left:1px solid rgba(255,255,255,.04);
}

.sqvd-cell-na{
  color:#30363d;
  cursor:default;
}

/* --- Egység sor (USD values in millions) --- */
.sqvd-thead-unit-row th{
  position:sticky;
  top:28px;           /* fejléc sor magassága alatt */
  z-index:2;
  background:#0f141b;
  border-bottom:1px solid var(--border);
  padding:0;
  height:0;
}

.sqvd-th-unit-label{
  position:sticky;
  left:0;
  z-index:4;
  background:#0f141b;
  font-size:9px;
  color:#484f58;
  font-style:italic;
  font-weight:normal;
  padding:2px 10px;
  text-align:left;
  height:auto;
  white-space:nowrap;
}

.sqvd-th-unit{
  font-size:9px;
  color:#484f58;
}

/* --- Fejléc sor magassága (hogy a sticky top számítás jó legyen) --- */
.sqvd-th-label,
.sqvd-th-info,
.sqvd-th-year,
.sqvd-th-extra{
  height:28px;
}
.sqvd-info-btn{
  background:none;
  border:none;
  color:#484f58;
  font-size:12px;
  cursor:pointer;
  padding:0 2px;
  line-height:1;
  transition:color .15s;
}

.sqvd-info-btn:hover{
  color:#58a6ff;
}


.sqvd-chart-btn{
  background:none;
  border:none;
  color:rgba(88,166,255,.5);
  font-size:12px;
  cursor:pointer;
  padding:0 2px;
  line-height:1;
  transition:color .15s, opacity .15s;
  opacity:.7;
}

.sqvd-chart-btn:hover{
  color:#58a6ff;
  opacity:1;
}




/* --- Help Modal --- */
.sqvd-help-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:9000;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sqvd-help-modal-box{
  background:#161b22;
  border:1px solid var(--border);
  border-radius:8px;
  padding:20px 24px;
  min-width:320px;
  max-width:520px;
  width:90%;
  box-shadow:0 8px 32px rgba(0,0,0,.5);
}

.sqvd-help-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.sqvd-help-modal-title{
  font-size:14px;
  font-weight:900;
  color:#58a6ff;
}

.sqvd-help-modal-close{
  background:none;
  border:none;
  color:#8b949e;
  font-size:16px;
  cursor:pointer;
  padding:0 4px;
  line-height:1;
}

.sqvd-help-modal-close:hover{
  color:var(--text);
}

.sqvd-help-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:12px;
}

.sqvd-help-label{
  font-size:10px;
  font-weight:900;
  color:#8b949e;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.sqvd-help-formula{
  font-family:monospace;
  font-size:12px;
  color:#f0883e;
  background:#0d1117;
  border:1px solid var(--border);
  border-radius:4px;
  padding:6px 10px;
  display:block;
  white-space:pre-wrap;
  word-break:break-word;
}

.sqvd-help-note{
  font-size:12px;
  color:#c9d1d9;
  line-height:1.5;
}


/* =============================================================
   PANEL TÍPUSVÁLTÓ — új opciók (Statements, Analysis, DCF stb.)
   Hozzáadni a valuation.css VÉGÉRE
   ============================================================= */
 
/* Elválasztó a Chart/Watchlist és a Valuation típusok között */
.panel-type-separator{
  height: 1px;
  background: var(--border);
  margin: 4px 4px;
}
 
/* Disabled panel típus (DCF, Comps — coming soon) */
.panel-type-disabled{
  opacity: .38;
  cursor: not-allowed !important;
  pointer-events: none;
}
 
/* Panel belső Valuation tartalom konténer */
.panel-valuation-content{
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #0f141b;
}
 
/* A .panel root flex-column legyen hogy a tartalom kitölthesse */
.panel{
  display: flex;
  flex-direction: column;
}
 
/* =============================================================
   + PANEL PICKER GOMB ÉS DROPDOWN
   ============================================================= */
 
/* + gomb a charts-area jobb felső sarkában */

#sq-add-panel-btn{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
#sq-add-panel-btn:hover{
  color: var(--accent);
  border-color: rgba(88,166,255,.55);
  background: rgba(88,166,255,.08);
} 
 
/* charts-area relatív pozicionáláshoz */
#charts-area{
  position: relative;
}
 
/* Panel picker dropdown */
.sq-add-panel-picker{
  background: #0f141b;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  z-index: 500;
}
 
.sq-app-title{
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px 6px;
  font-weight: 900;
}
 
.sq-app-item{
  padding: 7px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text);
  font-family: var(--font);
}
.sq-app-item:hover{
  background: rgba(88,166,255,.10);
  color: var(--accent);
}
 
.sq-app-sep{
  height: 1px;
  background: var(--border);
  margin: 4px 4px;
}
 
.sq-app-disabled{
  opacity: .38;
  cursor: not-allowed;
  pointer-events: none;
}



/* --- Normalizer source badge (~OTH, ~CF) --- */
.sqvd-source-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #f0a500;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: 3px;
  padding: 0px 4px;
  margin-right: 5px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}

/* --- "Used in analysis" sor: NEM a ceg IS-ebol szarmazo cella ---
   Dolt szam + kis sarga felso jel (CF / Notes), ugyanaz a sarga, mint a
   fenti source-badge-e: a rendszerben ez a "mas forrasbol jott" szine.
   A teljes magyarazat a cella title-jeben (hover). */
/* Tabla alatti megjegyzes: torz adokulcs cserei a NOPLAT-ban (2026-09-14) */
.sqvd-table-notes {
  margin: 10px 4px 4px;
  padding: 8px 10px;
  border-top: 1px solid rgba(240, 165, 0, 0.45);
  font-size: 0.85em;
  line-height: 1.45;
  opacity: 0.92;
}
.sqvd-table-notes-title {
  font-weight: 700;
  color: #f0a500;
  margin-bottom: 4px;
}
.sqvd-table-notes ul {
  margin: 0 0 6px 18px;
  padding: 0;
}
.sqvd-table-notes-method {
  opacity: 0.8;
}
/* Osszecsukhato megjegyzes (2026-09-16): a cimsor kattinthato, zarva nincs alja-ter */
.sqvd-table-notes > summary {
  cursor: pointer;
  margin-bottom: 0;
}
.sqvd-table-notes[open] > summary {
  margin-bottom: 4px;
}

.sqvd-cell-proxy {
  font-style: italic;
  cursor: help;
}
.sqvd-proxy-tag {
  font-style: normal;
  font-size: 0.72em;
  font-weight: 700;
  color: #f0a500;
  margin-left: 2px;
  letter-spacing: 0.2px;
  vertical-align: super;
  line-height: 0;
}
/* Hianyzo adat, ismert okkal ("n/a" + hover-re az ok) - engine _CELL_META.
   Szandekosan mas, mint a .sqvd-cell-missing "—": ott nem tudjuk, miert ures. */
.sqvd-cell-na-reason {
  color: #8b949e;
  font-style: italic;
  cursor: help;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}


/* ---------------------------------------------------------------
   WACC META TOOLTIP CELLA
--------------------------------------------------------------- */

.sqvd-cell-waccmeta { position: relative; }

.sqvd-waccmeta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: default;
}

.sqvd-waccmeta-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: #c9d1d9;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 50;
}

.sqvd-waccmeta-wrap:hover::after {
  opacity: 1;
}

.sqvd-wacc-warn {
  font-size: 11px;
  color: #e3a03a;
  line-height: 1;
}
/* ============================================================
   ÉV-SORREND KAPCSOLÓ  (valuation_year_order.js)
   A statements és az analysis tábla fejlécében jelenik meg.
   Megjelenésben a meglévő .valuation-panel-badge-hez igazodik.
   ============================================================ */
.valuation-panel-head-right{
  display:flex;
  align-items:center;
  gap:6px;
}

.sqvd-year-order-btn{
  font-size:11px;
  font-weight:900;
  line-height:1;
  color:#8b949e;
  border:1px solid var(--border);
  background:#0d1117;
  border-radius:4px;
  padding:3px 7px;
  cursor:pointer;
  font-family:inherit;
}

.sqvd-year-order-btn:hover{
  color:#e6edf3;
  border-color:#8b949e;
}

.sqvd-year-order-btn:active{
  transform:translateY(1px);
}

/* =============================================================
   STATEMENTS TÁBLA — olvashatóság
   Betűméret-fokozatok, halvány zebra, fő sorok kiemelése.
   ============================================================= */

/* --- Betűméret-fokozatok (valuation_text_size.js állítja) ---
   Két külön változó-készlet, mert a két tábla sűrűsége eltér:
     --sqvd-stmt-font     : statements tábla (kevés oszlop) — alap 12px
     --sqvd-analysis-font : analysis tábla (sok oszlop)     — alap 11px
   Mindkettőt UGYANAZ a gomb állítja (html[data-sqvd-text]), így egy
   kattintás minden nézetre hat, de mindegyik a saját léptékében marad. */
:root                        { --sqvd-stmt-font:12px; --sqvd-stmt-pad:6px 10px; --sqvd-analysis-font:11px; --sqvd-summary-font:11px; --sqvd-summary-head:10px; }
html[data-sqvd-text="s"]     { --sqvd-stmt-font:11px; --sqvd-stmt-pad:5px 8px;  --sqvd-analysis-font:10px; --sqvd-summary-font:10px; --sqvd-summary-head:9px;  }
html[data-sqvd-text="m"]     { --sqvd-stmt-font:12px; --sqvd-stmt-pad:6px 10px; --sqvd-analysis-font:11px; --sqvd-summary-font:11px; --sqvd-summary-head:10px; }
html[data-sqvd-text="l"]     { --sqvd-stmt-font:14px; --sqvd-stmt-pad:8px 12px; --sqvd-analysis-font:13px; --sqvd-summary-font:13px; --sqvd-summary-head:12px; }

.valuation-statement-table{
  font-size:var(--sqvd-stmt-font);
}

.valuation-statement-table th,
.valuation-statement-table td{
  padding:var(--sqvd-stmt-pad);
}

.sqvd-text-size-btn{
  font-size:11px;
  font-weight:900;
  line-height:1;
  color:#8b949e;
  border:1px solid var(--border);
  background:#0d1117;
  border-radius:4px;
  padding:3px 7px;
  cursor:pointer;
  font-family:inherit;
  min-width:26px;
}
.sqvd-text-size-btn:hover{ color:#e6edf3; border-color:#8b949e; }
.sqvd-text-size-btn:active{ transform:translateY(1px); }

/* --- Analysis felso sav: Expand all / Collapse all (2026-09-14) ---
   Ugyanaz a megjelenes, mint a betumeret- es az ev-sorrend gombe. */
.sqvd-an-allbtn{
  font-size:11px;
  font-weight:900;
  line-height:1;
  color:#8b949e;
  border:1px solid var(--border);
  background:#0d1117;
  border-radius:4px;
  padding:3px 7px;
  cursor:pointer;
  font-family:inherit;
  white-space:nowrap;
}
.sqvd-an-allbtn:hover{ color:#e6edf3; border-color:#8b949e; }
.sqvd-an-allbtn:active{ transform:translateY(1px); }

/* =============================================================
   ANALYSIS — MINDEN MERET ARANYOS A BETUMERET-GOMBBAL (2026-09-14, Oliver)
   A fenti (Analysis tabla) szabalyok fix px meretei itt a
   --sqvd-analysis-font valtozohoz kotve (M = 11px -> szorzo 1).
   Csak felulir, a fenti szabalyokat nem modositja. A gombok (AM, ↑,
   Expand/Collapse all) fix meretuek maradnak, hogy a sav ne ugraljon.
   ============================================================= */
.sqvd-analysis-table-header{ min-height:calc(var(--sqvd-analysis-font, 11px) * 3.45); }
.sqvd-analysis-ticker{ font-size:calc(var(--sqvd-analysis-font, 11px) * 1.27); }
.sqvd-analysis-company{ font-size:var(--sqvd-analysis-font, 11px); }
.sqvd-badge{ font-size:calc(var(--sqvd-analysis-font, 11px) * .91); }
.sqvd-colgroup-toggle{ font-size:var(--sqvd-analysis-font, 11px); }

.sqvd-col-label { width:calc(var(--sqvd-analysis-font, 11px) * 21.8); min-width:calc(var(--sqvd-analysis-font, 11px) * 18.2); }
.sqvd-col-info  { width:calc(var(--sqvd-analysis-font, 11px) * 2.2);  min-width:calc(var(--sqvd-analysis-font, 11px) * 2.2); }
.sqvd-col-year  { width:calc(var(--sqvd-analysis-font, 11px) * 6.55); min-width:calc(var(--sqvd-analysis-font, 11px) * 5.8); }
.sqvd-col-extra { width:calc(var(--sqvd-analysis-font, 11px) * 5.8);  min-width:calc(var(--sqvd-analysis-font, 11px) * 5.1); }
.sqvd-metric-label{ max-width:calc(var(--sqvd-analysis-font, 11px) * 21.8); }

.sqvd-th-label,
.sqvd-th-info,
.sqvd-th-year,
.sqvd-th-extra{
  font-size:calc(var(--sqvd-analysis-font, 11px) * .91);
  height:calc(var(--sqvd-analysis-font, 11px) * 2.55);
}
.sqvd-thead-unit-row th{ top:calc(var(--sqvd-analysis-font, 11px) * 2.55); }
.sqvd-th-unit-label,
.sqvd-th-unit{ font-size:calc(var(--sqvd-analysis-font, 11px) * .82); }

.sqvd-section-label{ font-size:var(--sqvd-analysis-font, 11px); }
.sqvd-section-arrow{
  font-size:calc(var(--sqvd-analysis-font, 11px) * .82);
  width:calc(var(--sqvd-analysis-font, 11px) * 1.27);
}
.sqvd-info-btn,
.sqvd-chart-btn{ font-size:calc(var(--sqvd-analysis-font, 11px) * 1.09); }
.sqvd-source-badge{ font-size:calc(var(--sqvd-analysis-font, 11px) * .91); }
.sqvd-waccmeta-wrap::after,
.sqvd-wacc-warn{ font-size:var(--sqvd-analysis-font, 11px); }
.sqvd-table-notes{ font-size:calc(var(--sqvd-analysis-font, 11px) * .95); }

/* az Analysis sugo-ablaka (i-gomb a fo tablaban) */
.sqvd-help-modal-title{ font-size:calc(var(--sqvd-analysis-font, 11px) * 1.27); }
.sqvd-help-modal-close{ font-size:calc(var(--sqvd-analysis-font, 11px) * 1.45); }
.sqvd-help-label{ font-size:calc(var(--sqvd-analysis-font, 11px) * .91); }
.sqvd-help-formula,
.sqvd-help-note{ font-size:calc(var(--sqvd-analysis-font, 11px) * 1.09); }

/* --- Halvány zebra: minden második adatsor --- */
/* A tbody 1. sora a Period, ezért a páros sorokat árnyékoljuk. */
.valuation-statement-table tbody tr:nth-child(even) td{
  background:rgba(255,255,255,.022);
}
.valuation-statement-table tbody tr:nth-child(even) td.statement-row-label{
  background:#121820;        /* a ragadós első oszlop marad átlátszatlan */
}

/* --- Fő sorok: részösszeg és végösszeg --- */
.valuation-statement-table tr.statement-row-emphasis td{
  font-weight:800;
  color:#e6edf3;
  border-top:1px solid rgba(88,166,255,.35);
  background:rgba(88,166,255,.05);
}
.valuation-statement-table tr.statement-row-emphasis td.statement-row-label{
  background:#141c26;
  color:#e6edf3;
}
