/* Profit Leak Simulator v9 — scoped to .hc-sim (light theme only).
   Form controls use :not(#hcs) to outrank theme/Elementor kit styles for button/input/select. 
   Fonts (Manrope, Inter) are self-hosted by the theme; the TTFs in assets/fonts are only used by the Dompdf PDF. */

.hc-sim{
  --bg:#FBFAF9; --card:#FFFFFF; --soft:#F3F1EE; --line:#E5E2DC; --input:#E9E7E2;
  --fg:#1A1D23; --fg2:#505662; --fg3:#7A8190;
  --ink:#21242C; --on-ink:#FFFFFF; --on-ink2:rgba(255,255,255,.62); --ink-line:rgba(255,255,255,.12);
  --accent:#8C47D1; --accent-2:#8B5CF6; --accent-soft:rgba(139,92,246,.10); --accent-line:rgba(139,92,246,.28); --accent-text:#7A35C4; --accent-on-ink:#B9A0FB;
  --good:#1F8A5B; --warn:#B7791F; --bad:#C2410C;
  --hc-display:"Manrope",ui-sans-serif,system-ui,sans-serif; --hc-body:"Inter",ui-sans-serif,system-ui,sans-serif; --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --r:12px; --r-sm:10px; --hc-sticky-top:84px;
  color:var(--fg);font-family:var(--hc-body);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;
  max-width:1160px;margin:0 auto;padding-inline:20px;color-scheme:light;text-align:left
}
.hc-sim *,.hc-sim *::before,.hc-sim *::after{box-sizing:border-box}
.hc-sim :is(button,input,select,textarea):not(#hcs){font:inherit;color:inherit;letter-spacing:normal;text-transform:none;text-shadow:none;margin:0;min-height:0;line-height:normal;box-shadow:none}
.hc-sim :is(h1,h2,h3,p,ul){margin-top:0}
.hc-sim a{color:var(--accent-text)}
.hc-sim :focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}
.hc-sim .tnum{font-variant-numeric:tabular-nums}
@media (max-width:520px){.hc-sim{padding-inline:16px}}

/* buttons */
.hc-sim .hcs-btn:not(#hcs){display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--r-sm);font-weight:600;font-size:14px;padding:10px 16px;border:1px solid transparent;cursor:pointer;text-decoration:none;white-space:nowrap;background:transparent;color:var(--fg);transition:background .15s,border-color .15s,opacity .15s}
.hc-sim .hcs-btn.hcs-primary:not(#hcs){background:var(--ink);color:var(--on-ink);border-color:var(--ink)}
.hc-sim .hcs-btn.hcs-primary:not(#hcs):hover{background:#2E323C}
.hc-sim .hcs-btn.hcs-glow:not(#hcs){box-shadow:0 0 25px rgba(140,71,209,.35),0 0 50px rgba(140,71,209,.15)}
.hc-sim .hcs-btn.hcs-ghost:not(#hcs){background:transparent;border-color:var(--line);color:var(--fg)}
.hc-sim .hcs-btn.hcs-ghost:not(#hcs):hover{border-color:var(--accent-line);background:var(--card)}
.hc-sim .hcs-btn:not(#hcs):disabled{opacity:.45;cursor:not-allowed}
.hc-sim .hcs-btn.is-busy:not(#hcs){opacity:.75;cursor:progress}

/* hero */
.hc-sim .hcs-hero{padding-block:44px 28px}
.hc-sim .hcs-badge{display:inline-flex;gap:6px;align-items:center;font-size:11.5px;font-weight:600;padding:4px 10px;border-radius:6px;background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--accent-line);letter-spacing:.02em}
.hc-sim .hcs-h1{font-family:var(--hc-display);font-weight:800;text-transform:uppercase;letter-spacing:-.02em;line-height:.98;font-size:clamp(2rem,4.6vw,3.3rem);margin:16px 0 14px;max-width:16ch;text-wrap:balance;color:var(--fg)}
.hc-sim .hcs-hero p{color:var(--fg2);max-width:62ch;margin:0;font-size:16px}
.hc-sim .hcs-proof{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;font-size:13px;color:var(--fg3)}
.hc-sim .hcs-proof span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent-2);margin-right:8px;vertical-align:middle}

/* simulator layout */
.hc-sim .sim{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start;padding-bottom:64px}
@media (max-width:900px){.hc-sim .sim{grid-template-columns:minmax(0,1fr)}}
.hc-sim .hcs-card{background:var(--card);border:1px solid var(--line);border-radius:16px;min-width:0}
.hc-sim .card-head{padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.hc-sim .stepmeta{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:12.5px;color:var(--fg3)}
.hc-sim [data-r="stepname"]{color:var(--fg);font-weight:600}
.hc-sim .card-body{padding:24px 22px 8px;min-height:380px}
.hc-sim .card-foot{display:flex;justify-content:space-between;gap:12px;padding:16px 22px 20px;align-items:center;flex-wrap:wrap}
.hc-sim .why{font-size:12.5px;color:var(--fg3);display:flex;gap:6px;align-items:baseline}
.hc-sim .why b{color:var(--fg2);font-weight:600;white-space:nowrap}
.hc-sim h2.q{font-family:var(--hc-display);font-weight:700;font-size:1.45rem;letter-spacing:-.01em;line-height:1.2;margin:0 0 6px;text-wrap:balance;color:var(--fg)}
.hc-sim .hcs-lead{color:var(--fg2);margin:0 0 20px;font-size:14.5px}
.hc-sim .field{display:grid;gap:8px;margin-bottom:22px;border-radius:var(--r);align-content:start}
.hc-sim .field.is-missing{outline:2px dashed color-mix(in srgb,var(--bad) 55%,transparent);outline-offset:6px}
.hc-sim .label{font-weight:600;font-size:14px}
.hc-sim .hint{font-size:12.5px;color:var(--fg3)}
.hc-sim .hint.assume{color:var(--accent-text)}
.hc-sim .opts{display:flex;flex-wrap:wrap;gap:8px}
.hc-sim .opt:not(#hcs){border:1px solid var(--input);background:var(--bg);color:var(--fg);border-radius:999px;padding:8px 14px;font-size:13.5px;font-weight:400;cursor:pointer;transition:border-color .15s,background .15s,transform .12s;display:inline-flex;align-items:center}
.hc-sim .opt:not(#hcs):hover{border-color:var(--accent-line);background:var(--bg);color:var(--fg)}
.hc-sim .opt[aria-pressed="true"]:not(#hcs){background:var(--accent-soft);border-color:var(--accent-2);color:var(--accent-text);font-weight:600;animation:hcs-pop .25s}
.hc-sim .opt:not(#hcs):active{transform:scale(.96)}
.hc-sim .opt .ic{margin-right:6px;color:var(--accent-text)}
.hc-sim .tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px}
.hc-sim .tile:not(#hcs){text-align:left;border:1px solid var(--input);background:var(--bg);color:var(--fg);border-radius:var(--r);padding:12px 14px;cursor:pointer;display:grid;gap:2px;font-weight:400;font-size:14px;transition:border-color .15s,background .15s,transform .15s;white-space:normal}
.hc-sim .tile:not(#hcs):hover{transform:translateY(-2px);background:var(--bg);color:var(--fg);border-color:var(--accent-line)}
.hc-sim .tile b{font-weight:600}
.hc-sim .tile small{color:var(--fg3);font-size:12px}
.hc-sim .tile[aria-pressed="true"]:not(#hcs){border-color:var(--accent-2);background:var(--accent-soft)}
.hc-sim .tile[aria-pressed="true"] b{color:var(--accent-text)}
.hc-sim .tile .tic{font-size:22px;color:var(--accent-text);margin-bottom:6px;display:block}
.hc-sim .inp:not(#hcs){height:44px;border-radius:var(--r-sm);border:1px solid var(--input);background:var(--bg);color:var(--fg);padding:0 12px;width:100%;font-size:15px;outline:none}
.hc-sim .inp:not(#hcs):focus{outline:2px solid var(--accent-2);outline-offset:0;border-color:transparent}
.hc-sim .inp.is-missing:not(#hcs){border-color:var(--bad)}
.hc-sim .affix{position:relative}
.hc-sim .affix .pre,.hc-sim .affix .post{position:absolute;top:50%;transform:translateY(-50%);color:var(--fg3);font-size:14px;pointer-events:none}
.hc-sim .affix .pre{left:12px}.hc-sim .affix .post{right:12px}
.hc-sim .affix .inp.has-pre:not(#hcs){padding-left:24px}
.hc-sim .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:560px){.hc-sim .grid2{grid-template-columns:minmax(0,1fr)}}
.hc-sim .range-row{display:flex;align-items:center;gap:14px}
.hc-sim .range-row input[type=range]:not(#hcs){flex:1;accent-color:var(--accent);height:auto;padding:0;border:0;background:transparent}
.hc-sim .range-row output{font-family:var(--hc-display);font-weight:700;font-size:20px;min-width:64px;text-align:right}
.hc-sim .urlbox{display:flex;gap:10px;flex-wrap:wrap}
.hc-sim .urlbox .inp:not(#hcs){flex:1 1 260px}
.hc-sim .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* scan */
.hc-sim .scanlist{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px}
.hc-sim .scanlist li{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);font-size:14px;margin:0}
.hc-sim .scanlist .hcs-st{margin-left:auto;font-size:12.5px;color:var(--fg3);text-align:right}
.hc-sim .scanlist li.fail .hcs-st{color:var(--warn)}
.hc-sim .hcs-dot{width:10px;height:10px;border-radius:50%;background:var(--line);flex:none}
.hc-sim .scanlist li.done .hcs-dot{background:var(--good)}
.hc-sim .scanlist li.fail .hcs-dot{background:var(--warn)}
.hc-sim .scanlist li.run .hcs-dot{background:var(--accent-2);animation:hcs-pulse 1s infinite}
@keyframes hcs-pulse{50%{opacity:.35}}
.hc-sim .found{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px}
@media (max-width:560px){.hc-sim .found .fcard.m-wide{grid-column:1/-1}.hc-sim .fcard{padding:10px 12px}}
.hc-sim .fcard{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;display:grid;gap:4px;background:var(--bg);align-content:start}
.hc-sim .fcard.is-missing{border-color:var(--bad)}
.hc-sim .fcard .hcs-k{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--fg3);font-weight:600}
.hc-sim .fcard .hcs-v{font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.hc-sim .fcard .det{font-size:11.5px;color:var(--fg3);font-weight:400}
.hc-sim .fcard.wide{grid-column:1/-1}
.hc-sim .sel:not(#hcs){-webkit-appearance:none;appearance:none;width:100%;min-width:0;max-width:100%;height:42px;border:1px solid var(--input);border-radius:var(--r-sm);padding:0 34px 0 12px;font-size:14.5px;font-weight:500;color:var(--fg);background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8190' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}
.hc-sim select.inp:not(#hcs){-webkit-appearance:none;appearance:none;padding-right:34px;background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8190' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px}
.hc-sim .fcard .hcs-v .sel:not(#hcs){flex:1 1 150px}
.hc-sim .fcard .hcs-v .opt:not(#hcs){padding:7px 12px;font-size:13px}
.hc-sim .nd{grid-column:1/-1;border:1px dashed var(--line);border-radius:var(--r);padding:12px 14px;display:grid;gap:8px}
.hc-sim .nd .hcs-k{font-size:12.5px;color:var(--fg3)}
.hc-sim .nd .opt .ic{color:var(--fg3)}
.hc-sim .hcs-pill{display:inline-block;white-space:nowrap;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;line-height:1.5}
.hc-sim .hcs-pill.good{background:color-mix(in srgb,var(--good) 14%,transparent);color:var(--good)}
.hc-sim .hcs-pill.warn{background:color-mix(in srgb,var(--warn) 16%,transparent);color:var(--warn)}
.hc-sim .hcs-pill.bad{background:color-mix(in srgb,var(--bad) 14%,transparent);color:var(--bad)}

/* side panel */
.hc-sim .hcs-panel{background:var(--ink);color:var(--on-ink);border-radius:16px;padding:22px;position:sticky;top:calc(env(safe-area-inset-top,0px) + var(--hc-sticky-top));border:1px solid var(--ink-line)}
@media (max-width:900px){.hc-sim .hcs-panel{position:static}}
.hc-sim .hcs-panel .hcs-k{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--on-ink2);font-weight:600}
.hc-sim .hcs-panel .hcs-big{font-family:var(--hc-display);font-weight:800;font-size:2.1rem;letter-spacing:-.02em;line-height:1.05;margin:6px 0 2px}
.hc-sim .hcs-panel .sub{font-size:12.5px;color:var(--on-ink2)}
.hc-sim .hcs-panel hr{border:0;border-top:1px solid var(--ink-line);margin:18px 0;background:none;height:0}
.hc-sim .plist{display:grid;gap:10px;margin-top:10px}
.hc-sim .prow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;font-size:13px}
.hc-sim .prow .hcs-t{height:4px;grid-column:1/-1;background:var(--ink-line);border-radius:4px;overflow:hidden}
.hc-sim .prow .hcs-t i{display:block;height:100%;background:var(--accent-on-ink);border-radius:4px}
.hc-sim .prow span:last-child{color:var(--on-ink2)}
.hc-sim .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hc-sim .chip{font-size:11.5px;padding:4px 9px;border-radius:6px;background:rgba(139,92,246,.18);color:var(--accent-on-ink);border:1px solid rgba(139,92,246,.3)}
.hc-sim .chip.miss{background:transparent;color:var(--on-ink2);border-color:var(--ink-line);text-decoration:line-through}
.hc-sim .hcs-panel .hcs-note{font-size:11.5px;color:var(--on-ink2);margin-top:14px}

/* results */
.hc-sim .res-top{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;margin-bottom:22px}
@media (max-width:560px){.hc-sim .res-top{grid-template-columns:minmax(0,1fr)}}
.hc-sim .gauge{position:relative;width:150px;height:150px}
.hc-sim .gauge svg{width:150px;height:150px;transform:rotate(-90deg)}
.hc-sim .gauge .hcs-n{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.hc-sim .gauge .hcs-n b{font-family:var(--hc-display);font-size:2.4rem;font-weight:800;line-height:1;display:block}
.hc-sim .gauge .hcs-n small{font-size:11.5px;color:var(--fg3)}
.hc-sim .stake{font-family:var(--hc-display);font-weight:800;font-size:clamp(1.6rem,3.4vw,2.2rem);letter-spacing:-.02em;line-height:1.1}
.hc-sim .rk{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg3);font-weight:600}
.hc-sim .levers{display:grid;gap:12px;margin:6px 0 26px}
.hc-sim .lev{display:grid;grid-template-columns:170px minmax(0,1fr) 120px;gap:12px;align-items:center;font-size:13.5px}
@media (max-width:560px){.hc-sim .lev{grid-template-columns:minmax(0,1fr) auto}.hc-sim .lev .hcs-track{grid-column:1/-1;order:3}}
.hc-sim .lev .hcs-track{height:10px;background:var(--soft);border-radius:6px;overflow:hidden}
.hc-sim .lev .hcs-track i{display:block;height:100%;background:var(--accent-2);border-radius:6px;transition:width .9s cubic-bezier(.2,.7,.2,1)}
.hc-sim .lev .amt{text-align:right;font-weight:600}
.hc-sim .locked{filter:blur(4px);user-select:none;pointer-events:none}
.hc-sim .lev.zero .amt{color:var(--good)}
.hc-sim .plan{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}
@media (max-width:700px){.hc-sim .plan{grid-template-columns:minmax(0,1fr)}}
.hc-sim .phase{border:1px solid var(--line);border-radius:var(--r);padding:14px;background:var(--bg)}
.hc-sim .phase .hcs-k{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-text);font-weight:700}
.hc-sim .phase ul{margin:8px 0 0;padding-left:18px;font-size:13.5px;display:grid;gap:4px}
.hc-sim .phase li{margin:0}
.hc-sim .h3{font-family:var(--hc-display);font-weight:700;font-size:1.05rem;margin:0 0 10px;display:block}
.hc-sim .h3 .ic{color:var(--accent-text);margin-right:8px}
.hc-sim .risk{display:flex;gap:10px;align-items:center;border:1px dashed var(--line);border-radius:var(--r);padding:10px 14px;font-size:13.5px;margin-bottom:20px}
.hc-sim .gate{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:var(--r);padding:16px;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hc-sim .gate p{margin:0;font-size:14px;max-width:46ch}
.hc-sim .form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hc-sim .form .full{grid-column:1/-1}
@media (max-width:560px){.hc-sim .form{grid-template-columns:minmax(0,1fr)}}
.hc-sim .form label{display:grid;gap:6px;font-size:13.5px;font-weight:600;margin:0}
.hc-sim .form .check{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:13px;color:var(--fg2)}
.hc-sim .form .check input:not(#hcs){width:18px;height:18px;margin-top:1px;flex:none;accent-color:var(--accent)}
.hc-sim .hcs-legal{font-size:12px;color:var(--fg3);margin:0}
.hc-sim .ok{display:grid;gap:16px}
.hc-sim .ok .pdf{display:flex;gap:14px;align-items:center;border:1px solid var(--line);border-radius:var(--r);padding:14px;background:var(--bg)}
.hc-sim .ok .pdf .ic{width:42px;height:52px;border-radius:6px;background:var(--ink);color:var(--on-ink);display:grid;place-items:center;font-size:11px;font-weight:700;letter-spacing:.06em;flex:none}
.hc-sim .hcs-checks{display:grid;gap:8px;margin-bottom:22px}
.hc-sim .chk{display:grid;grid-template-columns:auto 44px minmax(0,1fr);gap:10px;align-items:center;font-size:13.5px}
.hc-sim .chk .area{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--fg3)}
.hc-sim .stack-tbl{display:grid;gap:8px;margin-bottom:14px}
.hc-sim .srow{display:grid;grid-template-columns:minmax(0,220px) 130px minmax(0,1fr);gap:12px;align-items:center;font-size:13.5px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg)}
.hc-sim .srow .pair{font-weight:600}
.hc-sim .srow .what{color:var(--fg2)}
.hc-sim .srow .hcs-pill{justify-self:start}
@media (max-width:640px){.hc-sim .srow{grid-template-columns:minmax(0,1fr) auto}.hc-sim .srow .what{grid-column:1/-1}}
.hc-sim .recs{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:var(--r);padding:12px 14px;margin-bottom:10px}
.hc-sim .recs ul{margin:6px 0 0;padding-left:18px;font-size:13.5px;display:grid;gap:4px}
.hc-sim .segs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
@media (max-width:640px){.hc-sim .segs{grid-template-columns:minmax(0,1fr)}}
.hc-sim .seg{border:1px solid var(--line);border-radius:var(--r);padding:14px;background:var(--bg);display:grid;gap:6px;align-content:start}
.hc-sim .seg p{margin:0;font-size:13.5px}
.hc-sim .seg-pill{background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--accent-line);justify-self:start;font-size:12px;white-space:normal}
.hc-sim .seg-code{font-family:var(--mono);font-size:11.5px;color:var(--fg3)}
.hc-sim .seg .svc{font-size:12px;color:var(--fg3)}
.hc-sim .flow-note{font-size:12.5px;color:var(--fg3);border-left:3px solid var(--accent-line);padding-left:10px;margin:0}
.hc-sim .hcs-err{color:var(--bad);font-size:12.5px;margin:0}
.hc-sim .ic{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:-.15em}
.hc-sim .step-ic{width:46px;height:46px;border-radius:12px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent-text);display:grid;place-items:center;font-size:22px;margin-bottom:14px}
.hc-sim .journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hc-sim .ph{display:grid;gap:7px;min-width:0;font-size:12.5px;font-weight:600;color:var(--fg3)}
.hc-sim .ph .hcs-lbl{display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-sim .ph .hcs-num{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:11px;border:1.5px solid var(--line);flex:none;transition:all .3s}
.hc-sim .ph.on{color:var(--accent-text)} .hc-sim .ph.on .hcs-num{border-color:var(--accent-2);background:var(--accent-soft)}
.hc-sim .ph.done{color:var(--fg2)} .hc-sim .ph.done .hcs-num{background:var(--accent-2);border-color:var(--accent-2);color:#fff}
.hc-sim .ph .hcs-tr{height:6px;background:var(--soft);border-radius:6px;overflow:hidden}
.hc-sim .ph .hcs-tr i{display:block;height:100%;width:0;background:var(--accent-2);border-radius:6px;transition:width .5s cubic-bezier(.2,.7,.2,1)}
.hc-sim .ph .s{display:none}
@media (max-width:560px){.hc-sim .ph .l{display:none}.hc-sim .ph .s{display:inline}.hc-sim .card-body{padding:20px 16px 6px}.hc-sim .card-head,.hc-sim .card-foot{padding-inline:16px}.hc-sim .card-foot .why{order:3;flex-basis:100%}}
.hc-sim .eta{display:inline-flex;align-items:center;gap:6px}
.hc-sim .skipline{margin:-6px 0 18px}
.hc-sim .skipline button:not(#hcs){background:none;border:0;padding:0;color:var(--accent-text);font-weight:600;font-size:13px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hc-sim .enter>*{animation:hcs-fadeUp .45s cubic-bezier(.2,.7,.2,1) both}
.hc-sim .enter>*:nth-child(2){animation-delay:.04s}.hc-sim .enter>*:nth-child(3){animation-delay:.08s}.hc-sim .enter>*:nth-child(4){animation-delay:.12s}.hc-sim .enter>*:nth-child(5){animation-delay:.16s}.hc-sim .enter>*:nth-child(6){animation-delay:.2s}.hc-sim .enter>*:nth-child(n+7){animation-delay:.24s}
@keyframes hcs-fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes hcs-pop{0%{transform:scale(.9)}50%{transform:scale(1.08)}100%{transform:scale(1)}}
.hc-sim .insight{display:flex;gap:10px;align-items:flex-start;margin:4px 0 18px;padding:12px 14px;border-radius:var(--r);background:var(--soft);border:1px solid var(--line);font-size:13.5px;color:var(--fg2)}
.hc-sim .insight .ic{color:var(--accent-text);font-size:18px;margin-top:1px}
.hc-sim .insight b{color:var(--fg)}
.hc-sim .radar{position:relative;width:120px;height:120px;margin:6px auto 20px;border-radius:50%;border:1px solid var(--accent-line);background:repeating-radial-gradient(circle,transparent 0 19px,var(--line) 19px 20px);display:grid;place-items:center;overflow:hidden}
.hc-sim .radar::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(139,92,246,.4),transparent 28%);animation:hcs-spin 1.6s linear infinite}
.hc-sim .radar .ic{font-size:30px;color:var(--accent-text);position:relative}
.hc-sim .radar.done::before{animation:none;opacity:0}
@keyframes hcs-spin{to{transform:rotate(360deg)}}
.hc-sim .scanlist .ic,.hc-sim .crunch .ic{color:var(--fg3);font-size:16px}
.hc-sim .scanlist li.done .ic{color:var(--good)}
.hc-sim .fcard .hcs-k .ic{margin-right:6px;color:var(--accent-text);font-size:13px}
.hc-sim .crunch{list-style:none;padding:0;margin:8px auto 0;display:grid;gap:10px;max-width:440px}
.hc-sim .crunch li{display:flex;gap:12px;align-items:center;padding:11px 14px;border:1px solid var(--line);border-radius:var(--r);font-size:14px;opacity:.3;animation:hcs-lit .35s forwards;margin:0}
.hc-sim .crunch li .ok{margin-left:auto;color:var(--good);font-size:16px;opacity:0;animation:hcs-lit .3s forwards;animation-delay:inherit;display:inline}
@keyframes hcs-lit{to{opacity:1}}
.hc-sim .crunch-head{text-align:center;margin-bottom:6px}
.hc-sim .delta{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;color:var(--accent-on-ink);background:rgba(139,92,246,.22);padding:2px 8px;border-radius:999px;vertical-align:middle;animation:hcs-floatUp 1.8s ease-out forwards}
@keyframes hcs-floatUp{0%{opacity:0;transform:translateY(6px)}15%{opacity:1;transform:none}80%{opacity:1}100%{opacity:0;transform:translateY(-8px)}}
.hc-sim .gfill{transition:stroke-dashoffset 1.1s cubic-bezier(.2,.7,.2,1)}
@media (prefers-reduced-motion:reduce){.hc-sim .enter>*,.hc-sim .radar::before,.hc-sim .opt[aria-pressed="true"],.hc-sim .delta,.hc-sim .crunch li,.hc-sim .crunch li .ok,.hc-sim .scanlist li.run .hcs-dot{animation:none!important;opacity:1!important}.hc-sim .lev .hcs-track i,.hc-sim .gfill,.hc-sim .tile,.hc-sim .bar i,.hc-sim .ph .hcs-tr i{transition:none!important}}

/* thank-you block */
.hc-sim.hc-ready{padding-block:8px}
.hc-sim .ready-actions{display:flex;gap:10px;flex-wrap:wrap}

/* private web report */
.hc-sim.hc-report{padding-block:36px 64px}
.hc-sim .rep-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-bottom:22px}
.hc-sim .rep-head h1{font-family:var(--hc-display);font-weight:800;font-size:clamp(1.7rem,3.6vw,2.4rem);letter-spacing:-.02em;line-height:1.08;margin:6px 0 6px;color:var(--fg)}
.hc-sim .rep-head .meta{color:var(--fg2);font-size:14px}
.hc-sim .rep-sec{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:24px 22px;margin-bottom:18px}
.hc-sim .rep-sec h2{font-family:var(--hc-display);font-weight:700;font-size:1.3rem;margin:0 0 4px;color:var(--fg)}
.hc-sim .rep-sec .eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);margin-bottom:6px}
.hc-sim .levx{border:1px solid var(--line);border-radius:var(--r);padding:14px;margin-bottom:10px;background:var(--bg)}
.hc-sim .levx .top{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.hc-sim .levx .top b{font-family:var(--hc-display);font-size:1rem}
.hc-sim .levx .hcs-track{height:8px;background:var(--soft);border-radius:6px;overflow:hidden;margin:8px 0}
.hc-sim .levx .hcs-track i{display:block;height:100%;background:var(--accent-2);border-radius:6px}
.hc-sim .levx p{margin:4px 0 0;font-size:13.5px;color:var(--fg2)}
.hc-sim .levx p b{color:var(--fg)}
.hc-sim .kvt{width:100%;border-collapse:collapse;font-size:13.5px;margin:0}
.hc-sim .kvt td,.hc-sim .kvt th{padding:7px 8px;border:0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;background:none}
.hc-sim .kvt th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--fg3);font-weight:700}
.hc-sim .kvt td.k{color:var(--fg3);width:45%}
.hc-sim .rep-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
@media (max-width:700px){.hc-sim .rep-cols{grid-template-columns:minmax(0,1fr)}.hc-sim .rep-sec{padding:20px 16px}}
.hc-sim .pillars{display:grid;gap:8px}
.hc-sim .pillar{display:grid;grid-template-columns:minmax(0,190px) minmax(0,1fr) 90px;gap:12px;align-items:center;font-size:13.5px}
.hc-sim .pillar .hcs-track{height:8px;background:var(--soft);border-radius:6px;overflow:hidden}
.hc-sim .pillar .hcs-track i{display:block;height:100%;background:var(--accent-2)}
.hc-sim .pillar .sc{text-align:right;white-space:nowrap}
@media (max-width:560px){.hc-sim .pillar{grid-template-columns:minmax(0,1fr) auto}.hc-sim .pillar .hcs-track{grid-column:1/-1;order:3}}
.hc-sim .cta-ink{background:var(--ink);color:var(--on-ink);border-radius:16px;padding:22px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.hc-sim .cta-ink h2{color:#fff;margin:0}
.hc-sim .cta-ink p{color:var(--on-ink2);margin:4px 0 0;font-size:14px}
.hc-sim .cta-ink .hcs-btn.hcs-accent:not(#hcs){background:var(--accent);color:#fff;border-color:var(--accent)}
.hc-sim input[type=number]::-webkit-inner-spin-button,.hc-sim input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hc-sim input[type=number]:not(#hcs){-moz-appearance:textfield;appearance:textfield}
.hc-sim .affix .inp.has-post:not(#hcs){padding-right:34px}
.hc-sim .affix .inp.has-post-l:not(#hcs){padding-right:84px}
.hc-sim .found .fcard.half{grid-column:span 2}
@media (max-width:560px){.hc-sim .found .fcard.half{grid-column:1/-1}}
.hc-sim .hcs-shots{margin:0 0 18px}
.hc-sim .hcs-shots .stage{position:relative;padding:0 18px 14px 0}
.hc-sim .hcs-shots .dev{overflow:hidden;background:var(--soft);position:relative}
.hc-sim .hcs-shots .dsk{aspect-ratio:10/7;border-radius:8px;border:1px solid var(--line);border-top-width:9px}
.hc-sim .hcs-shots .mob{position:absolute;right:0;bottom:0;width:27%;aspect-ratio:1/2;border-radius:10px;border:3px solid #1A1D23;box-shadow:0 6px 18px rgba(0,0,0,.28)}
.hc-sim .hcs-shots .dsk:only-child,.hc-sim .hcs-shots .mob:only-child{position:relative;margin:0 auto}
.hc-sim .hcs-shots .mob:only-child{width:34%}
.hc-sim .hcs-shots img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;opacity:0;animation:hcsFade .5s ease forwards}
.hc-sim .hcs-shots .shim{position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%) var(--soft);background-size:220% 100%;animation:hcsShim 1.4s linear infinite}
.hc-sim .hcs-shots figcaption{font-size:11.5px;color:var(--fg3);margin-top:2px}
.hc-sim .hcs-panel .hcs-shots{margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--ink-line)}
.hc-sim .hcs-panel .hcs-shots .dsk{border-color:var(--ink-line)}
.hc-sim .hcs-panel .hcs-shots .dev{background:rgba(255,255,255,.06)}
.hc-sim .hcs-panel .hcs-shots .mob{border-color:#0E0F12}
.hc-sim .hcs-panel .hcs-shots .shim{background-color:rgba(255,255,255,.06);background-image:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.12) 50%,transparent 70%)}
.hc-sim .hcs-panel .hcs-shots figcaption{color:var(--on-ink2)}
.hc-sim .hcs-shots.at-gate{max-width:420px;margin:4px 0 24px}
@keyframes hcsShim{from{background-position:120% 0}to{background-position:-120% 0}}
@keyframes hcsFade{to{opacity:1}}
@media (prefers-reduced-motion:reduce){.hc-sim .hcs-shots .shim,.hc-sim .hcs-shots img{animation:none;opacity:1}}
/* panel: category cards */
.hc-sim .hcs-panel{background:transparent;color:var(--fg);border:0;padding:0;display:grid;gap:12px;align-content:start}
.hc-sim .hcs-panel .pcard{border-radius:16px;padding:18px;border:1px solid var(--line);background:var(--card);min-width:0}
.hc-sim .hcs-panel .pcard.ink{background:var(--ink);color:var(--on-ink);border-color:var(--ink-line);padding:20px}
.hc-sim .hcs-panel .pcard.ink .plist{margin-top:14px}
.hc-sim .hcs-panel .hcs-note{color:var(--fg3);margin:2px 4px 0}
.hc-sim .pc-h{display:flex;align-items:center;gap:8px;font-family:var(--hc-display);font-weight:700;font-size:14.5px;margin:0 0 8px;color:var(--fg)}
.hc-sim .pc-ic{display:inline-flex;width:28px;height:28px;border-radius:8px;align-items:center;justify-content:center;background:rgba(255,255,255,.7)}
.hc-sim .pc-ic .ic{width:16px;height:16px}
.hc-sim .pcard.t-unit{background:#F2F6FF;border-color:#DCE6FB}.hc-sim .t-unit .pc-ic{color:#3B5BDB}
.hc-sim .pcard.t-acq{background:#FFF8EC;border-color:#F1E1C2}.hc-sim .t-acq .pc-ic{color:#B7791F}
.hc-sim .pcard.t-ret{background:#EEF8F2;border-color:#D3EBDD}.hc-sim .t-ret .pc-ic{color:#1F8A5B}
.hc-sim .pcard.t-stack{background:#F7F3FE;border-color:var(--accent-line)}.hc-sim .t-stack .pc-ic{color:var(--accent-text)}
.hc-sim .pcard.t-stack .chips{margin-top:4px}
.hc-sim .pcard.t-stack .chip{background:var(--card);color:var(--accent-text);border-color:var(--accent-line)}
.hc-sim .pcard.t-stack .chip.miss{background:transparent;color:var(--fg3);border-color:var(--line)}
.hc-sim .kvr{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;padding:7px 0;border-top:1px solid rgba(26,29,35,.07)}
.hc-sim .kvr:first-child{border-top:0;padding-top:2px}
.hc-sim .kvr span{color:var(--fg2)}
.hc-sim .kvr b{font-weight:600;text-align:right;color:var(--fg)}
.hc-sim .kvr .hcs-pill{font-size:10.5px;margin-left:4px;vertical-align:1px}
.hc-sim .pc-wait{font-size:12.5px;color:var(--fg3);margin:0}
/* mobile bar */
.hc-sim .hcs-mbar{display:none}
@media (max-width:900px){
.hc-sim .hcs-mbar:not([hidden]){display:flex;align-items:center;gap:10px;position:fixed;z-index:60;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--on-ink);border-radius:14px;padding:10px 12px 10px 16px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hc-sim .hcs-mbar .mb-k{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--on-ink2);font-weight:600;white-space:nowrap}
.hc-sim .hcs-mbar b{font-family:var(--hc-display);font-weight:800;font-size:15px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hc-sim .hcs-mbar .mb-go{color:var(--on-ink);background:rgba(255,255,255,.12);border-radius:9px;padding:7px 11px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.hc-sim.has-mbar .sim{padding-bottom:96px}
}
/* thresholds */
.hc-sim .thr{background:var(--ink);color:var(--on-ink);border-radius:18px;padding:22px;margin:4px 0 24px}
.hc-sim .thr-k{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-on-ink);font-weight:700}
.hc-sim .thr-h{font-family:var(--hc-display);font-weight:800;font-size:clamp(1.3rem,2.6vw,1.75rem);letter-spacing:-.02em;line-height:1.15;margin:6px 0 16px;color:var(--on-ink)}
.hc-sim .thr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:760px){.hc-sim .thr-grid{grid-template-columns:minmax(0,1fr)}}
.hc-sim .thr-c{background:var(--card);color:var(--fg);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0;border-top:4px solid var(--accent-2)}
.hc-sim .thr-c.good{border-top-color:var(--good)}.hc-sim .thr-c.bad{border-top-color:var(--bad)}
.hc-sim .thr-n{font-size:11px;font-weight:700;color:var(--fg3);letter-spacing:.06em}
.hc-sim .thr-t{font-size:13.5px;font-weight:600;color:var(--fg2);line-height:1.3}
.hc-sim .thr-v{font-family:var(--hc-display);font-weight:800;font-size:2rem;letter-spacing:-.03em;line-height:1.05;color:var(--accent-text)}
.hc-sim .thr-c.good .thr-v{color:var(--good)}.hc-sim .thr-c.bad .thr-v{color:var(--bad)}
.hc-sim .thr-v small{font-size:.42em;font-weight:700;color:var(--fg3);margin-left:6px;letter-spacing:0}
.hc-sim .thr-c p{font-size:12.5px;color:var(--fg2);line-height:1.45;margin:0}
.hc-sim .thr-chip{align-self:flex-start;font-size:10.5px;font-weight:700;color:var(--accent-text);background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:999px;padding:2px 8px}
.hc-sim .thr-c details{margin-top:auto;padding-top:6px;border-top:1px solid var(--line)}
.hc-sim .thr-c summary{cursor:pointer;font-size:12px;font-weight:600;color:var(--accent-text);list-style:none}
.hc-sim .thr-c summary::-webkit-details-marker{display:none}
.hc-sim .thr-c summary::after{content:" +"}.hc-sim .thr-c details[open] summary::after{content:" −"}
.hc-sim .thr-c details p{margin-top:6px;font-size:12px;color:var(--fg2)}
/* projection */
.hc-sim .proj{margin:6px 0 26px}
.hc-sim .proj-ctl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;align-items:end;margin-bottom:12px}
.hc-sim .proj-ctl label{display:grid;gap:4px;font-size:12px;color:var(--fg3);font-weight:600;min-width:0}
@media (max-width:560px){.hc-sim .proj-ctl{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-sim .proj-ctl .seg-t{grid-column:1/-1}}
.hc-sim .seg-t{display:inline-flex;background:var(--soft);border-radius:999px;padding:3px;gap:2px}
.hc-sim .seg-t button{border:0;background:transparent;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;color:var(--fg2);cursor:pointer;flex:1}
.hc-sim .seg-t button[aria-pressed="true"]{background:var(--accent);color:#fff}
.hc-sim .proj-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
@media (max-width:760px){.hc-sim .proj-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hc-sim .pk{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--card);display:grid;gap:3px;min-width:0}
.hc-sim .pk b{font-family:var(--hc-display);font-weight:800;font-size:1.3rem;letter-spacing:-.02em;color:var(--fg)}
.hc-sim .pk span{font-size:12px;color:var(--fg3);line-height:1.3}
.hc-sim .pk.acc{background:var(--accent-soft);border-color:var(--accent-line)}.hc-sim .pk.acc b{color:var(--accent-text)}
.hc-sim .pchart-w{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:12px 10px 10px;margin-bottom:8px}
.hc-sim .pchart{display:block;width:100%;height:auto}
.hc-sim .pchart .gl{stroke:var(--line);stroke-width:1}
.hc-sim .pchart .bar{fill:#D9C8FB}
.hc-sim .pchart .bar:hover{fill:#C4A9F8}
.hc-sim .pchart .pl{fill:none;stroke:var(--accent-text);stroke-width:2.5;stroke-linejoin:round}
.hc-sim .pchart .pd{fill:var(--card);stroke:var(--accent-text);stroke-width:2}
.hc-sim .pchart .ax{font-size:10.5px;fill:var(--fg3);font-family:var(--hc-body)}
.hc-sim .pchart .ax.l{text-anchor:end}.hc-sim .pchart .ax.r{text-anchor:start}.hc-sim .pchart .ax.c{text-anchor:middle}
.hc-sim .pleg{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:12px;color:var(--fg2);padding:6px 6px 0}
.hc-sim .pleg .lg{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-2px;margin-right:4px}
.hc-sim .pleg .lg.bar{background:#D9C8FB}.hc-sim .pleg .lg.line{height:3px;background:var(--accent-text);border-radius:2px;vertical-align:3px}
