/* Rules only the 'set-analysis' pages use (split from site.css; loaded after it, before responsive.css). */
/* ---------- SET analysis report (/tr/set-analizi/): score, numbers, capacity, charts, cut lists, locked app cards ---------- */
.ha-report{gap:14px}
.ha-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px}
.ha-score{display:flex;align-items:center;gap:20px;padding:20px;border-radius:18px;border:1px solid rgba(var(--acc-rgb),.25);background:radial-gradient(400px 200px at 0% 0%,rgba(var(--acc-rgb),.1),transparent 70%),rgba(255,255,255,.015)}
.ha-score-box{position:relative;flex:none;width:132px;height:132px}
.ha-score-ring{width:100%;height:100%;transform:rotate(0)}
.ha-donut-bg{stroke:rgba(255,255,255,.08)}
.ha-score-arc{stroke-linecap:round;transition:stroke-dasharray .8s ease}
.ha-score-ring.ok .ha-score-arc{stroke:#5fd38a}
.ha-score-ring.warn .ha-score-arc{stroke:#fcd34d}
.ha-score-ring.bad .ha-score-arc{stroke:#f87171}
.ha-score-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ha-score-c b{font-family:var(--display);font-size:40px;line-height:1}
.ha-score-txt{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.ha-score-txt .dm-h{overflow-wrap:anywhere}
.ha-verdict{padding:4px 10px;border-radius:8px;font-size:12px;font-weight:700;letter-spacing:.04em}
.ha-model{font-size:11px;letter-spacing:.12em;color:#a3a19b}
.ha-model-pick{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ha-lock{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.14em;color:#c4b5fd}
.ha-lock .dm-ico{color:#c4b5fd}
.ha-deduct,.ha-card,.ha-locked{display:flex;flex-direction:column;gap:12px;padding:18px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.015);min-width:0}
.ha-card-h{display:flex;align-items:center;gap:10px;margin:0;font-family:var(--display);font-size:17px}
.ha-deduct ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ha-deduct li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:start;font-size:14px;color:#e1dfda}
.ha-deduct li b{text-align:center;padding:3px 0;border-radius:7px;font-size:12px;color:#fca5a5;background:rgba(248,113,113,.12)}
.ha-dup{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border-radius:12px;font-size:13px;color:#c4b5fd;border:1px dashed rgba(167,139,250,.4)}
.ha-dup .dm-ico{color:#c4b5fd}
.ha-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ha-kpi{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;align-items:center;padding:14px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.ha-kpi .dm-ico{grid-row:1 / span 3;width:36px;height:36px;border-radius:10px;background:rgba(var(--acc-rgb),.1)}
.ha-kpi b{font-size:18px;font-variant-numeric:tabular-nums}
.ha-kpi-sub{font-size:11.5px;color:#a3a19b}
.ha-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ha-grid2:empty{display:none}
.ha-cap-v{margin:0;font-size:14px;color:#e1dfda}
.ha-bar{height:12px;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.07)}
.ha-bar i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,rgba(var(--acc-rgb),.6),var(--acc))}
.ha-bar.over i{background:linear-gradient(90deg,#fcd34d,#f87171)}
.ha-big{margin:0;font-family:var(--display);font-size:22px;color:var(--acc)}
.ha-muted{color:#8a8a93}
.ha-donut-wrap{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;align-items:center}
.ha-donut-box{position:relative;width:130px;height:130px}
.ha-donut{width:100%;height:100%}
.ha-donut-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.ha-donut-c b{font-size:16px}
.ha-legend{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:13px}
.ha-legend li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;color:#e1dfda}
.ha-legend li i{width:10px;height:10px;border-radius:3px}
.ha-legend li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ha-legend b{font-size:11px;color:#a3a19b;font-weight:500}
.ha-kinds{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ha-kinds li{display:grid;grid-template-columns:minmax(0,1.2fr) 120px minmax(80px,1.4fr) 48px;gap:14px;align-items:center;font-size:13.5px;color:#e1dfda}
/* fixed group column: every bar starts at the same x */
.ha-group{justify-self:start;padding:3px 8px;border-radius:6px;font-size:9.5px;letter-spacing:.1em;color:#a3a19b;background:rgba(255,255,255,.04);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ha-kbar{height:8px;border-radius:4px;background:rgba(255,255,255,.06);overflow:hidden}
.ha-kbar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#fcd34d,#f59e0b)}
.ha-kinds b{text-align:end;font-size:12px}
.ha-rows{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ha-rows li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.02);font-size:13.5px}
.ha-rows .dm-addr{display:inline}
.ha-more{position:relative;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;font-size:13px;color:#c4b5fd;border:1px dashed rgba(167,139,250,.45);background:repeating-linear-gradient(135deg,rgba(167,139,250,.06) 0 8px,transparent 8px 16px)}
.ha-more .dm-ico{color:#c4b5fd}
.ha-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ha-pair>span{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.06)}
.ha-pair b{font-size:20px}
.ha-lines{margin:0;padding-inline-start:18px;display:grid;gap:6px;font-size:13.5px;color:#e1dfda}
.ha-sub{margin:4px 0 0;font-size:13px;color:#fca5a5}
.ha-locked{border-color:rgba(167,139,250,.3);background:radial-gradient(500px 200px at 100% 0%,rgba(167,139,250,.08),transparent 70%),rgba(255,255,255,.015)}
.ha-locked .ha-card-h .dm-ico{color:#c4b5fd}
.ha-locked-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ha-lockcard{position:relative;display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:14px;border:1px solid rgba(167,139,250,.25);background:rgba(167,139,250,.05)}
.ha-lockcard>.dm-ico:first-child{color:#c4b5fd}
.ha-lockcard b{font-size:14px}
.ha-lk{position:absolute;top:10px;inset-inline-end:10px;color:#8a8a93}
.ha-lk svg{width:14px;height:14px}
@media (max-width:1000px){.ha-top,.ha-grid2{grid-template-columns:minmax(0,1fr)}
.ha-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.ha-locked-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.ha-score{flex-direction:column;align-items:flex-start}
.ha-donut-wrap{grid-template-columns:minmax(0,1fr)}
.ha-donut-box{margin:0 auto}
.ha-kinds li{grid-template-columns:minmax(0,1fr) 44px}
.ha-kinds .ha-group,.ha-kinds .ha-kbar{display:none}
.ha-locked-grid{grid-template-columns:minmax(0,1fr)}}
/* SET analysis: shares, group chips, the actions; print keeps the report only (the browser's "Save as PDF") */
.ha-pct{margin-inline-start:10px;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:700;color:#0b1a10;background:rgba(var(--acc-rgb),.85)}
.ha-groups{display:flex;flex-wrap:wrap;gap:6px}
.ha-groups .dm-chip{cursor:default;font-size:10.5px}
.ha-actions [data-print]{display:inline-flex;align-items:center;gap:8px}
.ha-actions [data-print] svg{width:16px;height:16px}
@media print{.ha-report,.ha-report *{visibility:visible}
.ha-report{position:absolute;inset-inline-start:0;top:0;width:100%}
.ha-report .dm-row,.ha-model-pick button{display:none!important}
.ha-card,.ha-deduct,.ha-locked,.ha-score,.ha-kpi{break-inside:avoid}}
/* SET analysis extras: banks by kind, styles / keyboard sets, samples */
.ha-bankkinds li{grid-template-columns:minmax(0,1.1fr) 150px minmax(60px,1.2fr) 70px}
.ha-bankkinds .ha-kbar i{background:linear-gradient(90deg,rgba(var(--acc-rgb),.5),var(--acc))}
.ha-rows .dm-tag{margin-inline-start:auto}
.ha-rows .ha-pct{margin-inline-start:auto}
.ha-sub-n{color:#c9c7c2}
@media (max-width:560px){.ha-bankkinds li{grid-template-columns:minmax(0,1fr) 70px}}
/* SET analysis, product pass: stages, cancel, notes, score meaning, deductions, certainty, scope, exports, next step */
.ha-ro,.ha-warn{display:flex;align-items:center;gap:8px;margin:0}
.ha-warn{color:#fcd34d}
.ha-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin:0;padding:0;list-style:none;counter-reset:st;font-size:10.5px;letter-spacing:.06em;color:#55555d}
.ha-steps li{display:flex;align-items:center;gap:6px;counter-increment:st}
.ha-steps li::before{content:counter(st);display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-size:10px;border:1px solid rgba(255,255,255,.15)}
.ha-steps li[data-state="done"]{color:#86efac}
.ha-steps li[data-state="done"]::before{content:"✓";color:#0b1a10;background:#5fd38a;border-color:#5fd38a}
.ha-steps li[data-state="now"]{color:#e9e7e2}
.ha-steps li[data-state="now"]::before{border-color:#5fd38a;color:#5fd38a}
.ha-nav{display:flex;flex-wrap:wrap;gap:6px}
.ha-jump{display:inline-flex;align-items:center;padding:5px 10px;border-radius:8px;font-size:10.5px;letter-spacing:.08em;color:#c9c7c2;text-decoration:none;border:1px solid rgba(255,255,255,.12)}
.ha-jump:hover{border-color:#5fd38a;color:#86efac}
.ha-deduct li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 12px;align-items:start}
.ha-ded-t{display:flex;flex-direction:column;gap:2px}
.ha-ded-t .dm-small{color:#8a8a93}
.ha-scorenote{display:flex;gap:8px;align-items:flex-start;margin:6px 0 0;font-size:13px;color:#a3a19b}
.ha-cert{font-size:9px;letter-spacing:.08em}
.ha-certnote,.ha-caution{font-size:12.5px;color:#a3a19b}
.ha-checked{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px;margin:0;padding:0;list-style:none}
.ha-checked li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;font-size:13px;border:1px solid rgba(255,255,255,.07)}
.ha-checked li .dm-ico{color:#5fd38a}
.ha-checked li b{margin-inline-start:auto}
.ha-checked li.off{color:#8a8a93}
.ha-checked li.off .dm-ico{color:#fcd34d}
.ha-exports{display:flex;flex-direction:column;gap:6px}
.ha-exports .dm-note svg{width:15px;height:15px}
.ha-actions [data-export]{display:inline-flex;align-items:center;gap:8px}
.ha-actions [data-export] svg{width:16px;height:16px}
.ha-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:20px 22px;border-radius:16px;border:1px solid rgba(95,211,138,.35);background:radial-gradient(600px 180px at 0% 0%,rgba(95,211,138,.1),transparent 70%),rgba(255,255,255,.015)}
.ha-next .dm-h{font-size:20px;margin:0 0 4px}
.ha-next .dm-d{margin:0}
@media (max-width:760px){.ha-next{grid-template-columns:minmax(0,1fr)}
.ha-deduct li{grid-template-columns:auto minmax(0,1fr)}
.ha-deduct li .ha-jump{grid-column:2;justify-self:start}}
.ha-kpi b,.ha-big,.ha-cap-v b{overflow-wrap:anywhere}
@media print{.ha-nav,.ha-exports,.ha-next{display:none!important}}
