:root{
  --bg:#08131b;
  --bg2:#0b1b24;
  --card:#0d1720;
  --card2:#0f1d28;
  --line:rgba(255,255,255,.09);
  --text:#e8eef5;
  --muted:#a3b3c2;
  --accent:#1fd3ff;
  --accent2:#00ff8b;
  --warn:#ffbf3f;
  --danger:#ff6476;
  --shadow:0 20px 40px rgba(0,0,0,.28);
  --radius:22px;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
body.light{
  --bg:#eef4f8;
  --bg2:#ddebf3;
  --card:#ffffff;
  --card2:#f5fbff;
  --line:rgba(12,28,45,.1);
  --text:#10202f;
  --muted:#516274;
  --accent:#007db8;
  --accent2:#008f4f;
  --warn:#8a5a00;
  --danger:#b8243a;
  --shadow:0 18px 32px rgba(16,32,47,.12);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#08131b}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--sans);background:radial-gradient(circle at top center,#08312f 0%,var(--bg) 34%,#060d14 100%);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;position:relative;font-size:15px}

html::before,body::before{content:"";position:fixed;inset:0;background:#08131b;z-index:-3;pointer-events:none}
body::after{content:"";position:fixed;inset:0;background:radial-gradient(circle at top center,#08312f 0%,var(--bg) 34%,#060d14 100%);z-index:-2;pointer-events:none}
.shell{position:relative;z-index:1}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
.mono{font-family:var(--mono)}
.hidden{display:none!important}
.shell{max-width:1040px;margin:0 auto;padding:12px 12px 44px}
.site-header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:18px}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.logo-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;border:1px solid rgba(31,211,255,.22);background:linear-gradient(180deg,rgba(31,211,255,.13),rgba(31,211,255,.05));color:var(--accent);font:700 22px var(--mono);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(31,211,255,.08)}
.logo-text{display:flex;align-items:center;gap:8px;font-size:2rem;font-weight:800;letter-spacing:-.03em}
.cursor{display:inline-block;width:auto;height:auto;border-radius:0;background:none;box-shadow:none;color:var(--accent);font:700 1em var(--mono);line-height:1;animation:cursorBlink 1s steps(1,end) infinite}
.site-links{display:flex;gap:16px;color:var(--muted);font-size:1rem;white-space:nowrap}
.site-links a:hover{color:var(--text)}
.nav-toggle{display:none;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text);padding:10px 14px;border-radius:999px}
.mobile-nav{display:none;gap:10px;flex-wrap:wrap;margin:-4px 0 16px}
.mobile-nav a{display:inline-flex;padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.hero{padding:18px 2px 10px}
.hero h1{margin:0;font-size:clamp(1.52rem,4.2vw,2.34rem);line-height:.96;letter-spacing:-.04em;color:#eef7ff}
.lede{margin:10px 0 0;color:var(--muted);font-size:clamp(.93rem,1.95vw,1.14rem);line-height:1.42;max-width:820px}
.page{display:grid;gap:22px}
.card{background:linear-gradient(180deg,rgba(11,22,31,.88),rgba(8,18,27,.92));backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.console{overflow:hidden}
.console-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.console-left{display:flex;align-items:center;gap:14px;min-width:0}
.console-right{display:flex;align-items:center;gap:10px}
.dots{display:flex;gap:8px}.dots i{display:block;width:12px;height:12px;border-radius:50%}.dots .red{background:#ff5f56}.dots .yellow{background:#ffbd2e}.dots .green{background:#27c93f}
.console-title{font:500 1.15rem var(--mono);color:#b8c6d6;white-space:nowrap}
.settings-panel{display:flex;gap:10px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.02)}
.mini-pill,.btn,.summary-pill,.tab,.protocol-card,.copy-chip,.icon-btn,.quickbar button{border:1px solid var(--line);background:rgba(255,255,255,.02);color:var(--text);border-radius:16px;transition:.18s ease}
.mini-pill{padding:10px 14px}.mini-pill.active,.tab.active,.protocol-card.active{border-color:rgba(31,211,255,.55);background:rgba(31,211,255,.12);color:var(--text);box-shadow:inset 0 0 0 1px rgba(31,211,255,.08)}.mini-pill:hover,.btn:hover,.summary-pill:hover,.tab:hover,.protocol-card:hover,.copy-chip:hover,.icon-btn:hover,.quickbar button:hover{transform:translateY(-1px);border-color:rgba(31,211,255,.45)}
.console-main{padding:12px;display:grid;gap:10px}
.result-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eyebrow{font-size:.86rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.copy-chip{padding:10px 14px}
.primary-ip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px;border:1px solid rgba(31,211,255,.2);background:linear-gradient(180deg,rgba(31,211,255,.09),rgba(31,211,255,.03));border-radius:20px;color:var(--text);text-align:left;width:100%}
.primary-label{font-size:.95rem;color:var(--muted)}
.primary-value{display:block;font-size:clamp(1.45rem,4.4vw,2.3rem);font-weight:800;line-height:1.05;color:var(--accent)}
.copy-inline{font-size:1.1rem;color:var(--muted)}
.result-sub{color:var(--muted);font-size:.94rem;line-height:1.45}.rdns-wrap{display:flex;align-items:center}.rdns-line{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;border:1px solid rgba(31,211,255,.14);background:rgba(31,211,255,.06);color:#bdefff}.primary-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.family-card{display:grid;gap:6px;padding:15px 16px;border-radius:18px;border:1px solid rgba(31,211,255,.18);background:linear-gradient(180deg,rgba(31,211,255,.08),rgba(31,211,255,.02));text-align:left;color:var(--text)}.family-card.active{box-shadow:inset 0 0 0 1px rgba(31,211,255,.1)}.family-k{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}.family-v{font-size:clamp(1.06rem,3.2vw,1.58rem);font-weight:800;line-height:1.08;color:var(--accent);word-break:break-word}.console-meta-time{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}.time-chip{border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:10px 12px;background:rgba(255,255,255,.025)}.time-chip .k{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#7f95aa;margin-bottom:4px}.time-chip .v{display:block;color:#dbe8f3;font-size:.96rem;line-height:1.2}.time-chip .tz{display:block;margin-top:4px;color:#8fa4b5;font-size:.78rem}.mini-copy{width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text)}.meta-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.meta-chip{border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:12px 14px;background:rgba(255,255,255,.025);cursor:pointer}.meta-chip .k{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#7f95aa;margin-bottom:4px}.meta-chip .v{display:block;color:#dbe8f3;font-size:.94rem;line-height:1.35}
.protocol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.protocol-card{padding:14px 16px;text-align:left}
.protocol-label{display:block;color:var(--muted);font-size:.9rem;margin-bottom:6px}
.protocol-value{font-size:1.08rem}
.action-row{display:flex;gap:10px;flex-wrap:wrap}.btn{padding:11px 14px}.btn.primary{border-color:rgba(31,211,255,.45);background:rgba(31,211,255,.12)}.btn-primary-tool{padding:12px 16px;font-weight:700;min-width:140px}
.issue-panel,.geo-panel,.more-panel{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(255,255,255,.02)}.issue-panel{border-color:rgba(255,100,118,.35);background:linear-gradient(180deg,rgba(255,100,118,.09),rgba(255,100,118,.03));box-shadow:inset 0 0 0 1px rgba(255,100,118,.06)}.issue-title{font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;color:#ff8f9b;font-size:.76rem}.issue-panel #issueText{color:#ffd2d8;font-family:var(--mono);font-size:.82rem;line-height:1.4}.issue-reasons{margin-top:10px;padding-left:18px;color:#ffcad2;font-size:.82rem;line-height:1.4}
.panel-title{font-weight:700;margin-bottom:12px}.small-title{font-size:.95rem;margin-bottom:8px}
.geo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.geo-item{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.04)}
.geo-item .label{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);display:block;margin-bottom:4px}
.tool-tabs{display:flex;gap:8px;flex-wrap:wrap}.tab{padding:10px 13px;border-radius:14px}.tab.active{border-color:rgba(31,211,255,.5);background:rgba(31,211,255,.12)}
.tool-panels{display:grid;gap:16px}.tool{display:none}.tool.active{display:grid;gap:12px}
.tool-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tool-actions.wrap .input{flex:1 1 220px}.input{border:1px solid var(--line);background:rgba(255,255,255,.02);color:var(--text);padding:14px 16px;border-radius:16px}.input.narrow{flex:0 0 110px}.output{margin:0;padding:16px;border-radius:16px;background:#081018;border:1px solid rgba(255,255,255,.05);color:#d7e7f7;min-height:82px;white-space:pre-wrap;overflow:auto;font:500 1rem/1.55 var(--mono)}
.console-output{min-height:120px;color:#d6e1ea;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.32));font-size:.86rem}.eyebrow{color:#8ca1b5}.panel-title,.section-title{color:#eef5fb}.lede strong,.result-sub strong{color:#cfefff}
.turnstile-row{min-height:72px}.inline-tip{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid var(--line);color:var(--muted)}
.icon-btn{display:inline-grid;place-items:center;width:42px;height:42px}.icon-btn.large{width:48px;height:48px;border-radius:14px}
.small,.muted{color:var(--muted)} .console-title{color:#d8e5ef}
.map-panel{margin-top:14px}.simple-map{position:relative;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0e2030,#09131b);aspect-ratio:16/9}.simple-map svg{display:block;width:100%;height:100%}.map-pin{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(31,211,255,.22),0 0 18px rgba(31,211,255,.35);transform:translate(-50%,-50%)} .map-start{position:absolute;width:28px;height:28px;border-radius:50%;background:rgba(0,255,139,.18);border:2px solid var(--accent2);box-shadow:0 0 18px rgba(0,255,139,.18);transform:translate(-50%,-50%)}
.seo{padding:18px 20px}.compact-card details{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.compact-card summary{font-weight:700;cursor:pointer}.details-body{padding-top:12px;color:var(--muted)}.build-footer{padding:6px 4px 0;color:#7f95aa;font-size:.84rem;text-align:center;letter-spacing:.02em}.build-sub{display:block;margin-top:3px;color:#93a8ba}
.section-title{font-size:1.5rem;font-weight:800;margin-bottom:4px}.small-lede{margin-top:6px;font-size:1rem;color:#9fb0c0}
.quickbar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:30;display:flex;gap:10px;padding:10px 12px;background:rgba(6,14,20,.82);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08);border-radius:999px;box-shadow:var(--shadow)}
.quickbar button{padding:12px 16px;border-radius:999px}
.toast{position:fixed;left:50%;top:16px;transform:translateX(-50%) translateY(-10px);background:rgba(6,32,20,.96);color:#e8fff0;padding:14px 18px;border-radius:18px;border:1px solid rgba(0,255,139,.28);opacity:0;pointer-events:none;transition:.22s ease;z-index:40;box-shadow:var(--shadow);font-size:.98rem;white-space:pre-line;text-align:center;max-width:min(92vw,560px);min-width:min(74vw,420px)}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.toast[data-kind='error']{background:rgba(50,12,20,.96);border-color:rgba(255,100,118,.35);color:#ffe3e7}
.ad-slot{min-height:0}
@media (max-width:860px){
  .shell{padding:8px 0 34px}
  .site-header{padding:0 14px;margin-bottom:12px}
  .site-links{display:none}
  .nav-toggle{display:inline-flex}
  .mobile-nav{display:flex;padding:0 14px}
  .hero{padding:8px 14px 0}
  .hero h1{font-size:1.92rem;line-height:.96}
  .lede{font-size:.96rem;line-height:1.44;margin-top:10px}
  .card{border-radius:26px}
  .console{border-left:none;border-right:none;border-radius:24px}
  .console-bar,.settings-panel,.console-main,.seo{padding-left:10px;padding-right:10px}
  .result-head{align-items:flex-start;flex-direction:column}
  .copy-chip{display:none}
  .primary-ip{padding:16px}
  .family-v{font-size:1.34rem}
  .family-strip{grid-template-columns:1fr 1fr}
  .action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .btn,.tab{justify-content:center}
  .geo-grid{grid-template-columns:1fr}
  .meta-strip{grid-template-columns:1fr}
  .primary-family-grid{grid-template-columns:1fr}
  .console-top{grid-template-columns:1fr}.console-meta-time{grid-template-columns:1fr 1fr auto}.console-output{min-height:150px}
  .time-copy{right:10px;bottom:10px}
  .quickbar{display:none!important}
  .console-output{min-height:150px}
}
@media (max-width:560px){
  .hero h1{font-size:1.72rem}
  .logo-text{font-size:1.5rem}
  .logo-mark{width:44px;height:44px;font-size:18px}
  .cursor{height:24px;width:10px}
  .action-row{grid-template-columns:1fr 1fr}
  .family-strip{grid-template-columns:1fr}
  .mini-pill{padding:10px 12px}
}
@media (orientation:landscape) and (max-width:950px){
  .hero h1{font-size:2.7rem}
  .hero{padding-top:2px}
  .console-output{min-height:120px}
}
@media print{
  .quickbar,.nav-toggle,.mobile-nav,.turnstile-row{display:none!important}
  body{background:#fff;color:#000}
  .card{box-shadow:none;backdrop-filter:none}
}

@supports (-webkit-touch-callout: none){
  html,body{background:#08131b!important}
  body::before{background:#08131b!important}
  body::after{background:linear-gradient(180deg,#07131b 0%,#08131b 35%,#061019 100%)!important}
  .card,.console,.seo,.geo-panel,.more-panel,.issue-panel,.simple-map,.output{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .card{background:linear-gradient(180deg,rgba(11,22,31,.96),rgba(8,18,27,.98))!important}
}
@media print{
  html,body{background:#08131b!important;color:#e8eef5!important}
  body::before,body::after{background:#08131b!important}
  .card,.console,.seo,.geo-panel,.more-panel,.issue-panel,.output,.simple-map{background:#0b1720!important;color:#e8eef5!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:rgba(255,255,255,.08)!important}
  .site-header,.mobile-nav{position:static!important}
}

.rdns-line{color:#9db6c9;font-size:.95rem;line-height:1.45;font-family:var(--mono)}
.more-panel-top{padding:10px 0 4px;background:transparent;border:none}
.more-panel-top .tool-tabs{padding:0 0 2px}
.more-panel-top .tab{padding:9px 12px;font-size:.92rem}

.details-panel{display:grid;gap:10px}
.time-card{position:relative;border:1px solid rgba(255,255,255,.07);border-radius:18px;padding:12px 14px;background:rgba(255,255,255,.025)}
.time-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.time-block{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.04)}
.time-block .k{display:block;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#7f95aa;margin-bottom:4px}
.time-block .v{display:block;color:#dbe8f3;font-size:1.02rem;line-height:1.15}
.time-block .sub{display:block;margin-top:4px;color:#98aabc;font-size:.82rem}
.time-block .tz{display:block;margin-top:4px;color:#8fa4b5;font-size:.78rem}
.mini-copy{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.03);color:var(--text)}
.time-copy{position:absolute;right:12px;bottom:12px}
.more-panel{display:grid;gap:10px}
.more-panel .tool-tabs{padding:0}
.rdns-line .label{color:#8fb2c7;text-transform:uppercase;letter-spacing:.1em;font-size:.74rem}
.rdns-line .value{color:#d6eefb;overflow-wrap:anywhere}
.summary-card{padding:14px 16px;border-radius:18px;background:#081018;border:1px solid rgba(255,255,255,.05)}
.turnstile-hidden{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;pointer-events:none;opacity:0}
.copyable{cursor:pointer}
.copied-feedback{border-color:rgba(0,255,139,.55)!important;background:rgba(0,255,139,.12)!important;box-shadow:inset 0 0 0 1px rgba(0,255,139,.10),0 0 0 1px rgba(0,255,139,.08)!important}
body.light .copied-feedback{border-color:rgba(0,255,139,.55)!important;background:rgba(0,255,139,.10)!important;box-shadow:inset 0 0 0 1px rgba(0,255,139,.08),0 0 0 1px rgba(0,255,139,.06)!important;color:#10202f!important}

.details-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.small-copy{padding:8px 12px}.small-copy-icon{padding:0;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-size:1rem;line-height:1}.meta-strip{grid-template-columns:1fr;gap:8px}.meta-chip{text-align:left}.meta-chip .v{text-align:left}.issue-toggle{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;width:100%;background:transparent;border:none;padding:0;color:inherit;text-align:left}.issue-summary{color:#ffcad2;font-family:var(--mono);font-size:.82rem;line-height:1.35}.issue-panel #issueText{margin-top:10px}.console-top{justify-content:space-between}.status-line{flex:1 1 auto;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:#9eb2c3}.btn.running,.mini-pill.running{border-color:rgba(0,255,139,.45)!important;background:rgba(0,255,139,.12)!important;box-shadow:inset 0 0 0 1px rgba(0,255,139,.08)}#activeIpMeta .label{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:#8fb2c7}#activeIpMeta .value{color:#dff2ff;overflow-wrap:anywhere}@media (max-width:860px){.hero h1{font-size:2.02rem}.console-output{font-size:.82rem}.btn{padding:11px 13px}.console-bar,.settings-panel,.console-main,.seo{padding-left:10px;padding-right:10px}}@media (max-width:560px){.hero h1{font-size:1.86rem}.time-card{padding:10px 12px}.time-grid{grid-template-columns:1fr 1fr}.time-copy{right:10px;bottom:10px;width:38px;height:38px}}

.tool-pills-panel{display:grid;gap:8px;margin-top:12px}.console-live{display:grid;gap:10px}.console-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.console-shell{position:relative}.console-copy-btn{position:absolute;right:10px;bottom:10px;background:rgba(255,255,255,.05)}.status-line{font-family:var(--mono);font-size:.9rem;display:flex;align-items:center;min-height:52px}.status-line[data-kind="idle"]{color:#9eb2c3}.status-line[data-kind="running"]{color:#ffd27c;border-color:rgba(255,191,63,.28);background:rgba(255,191,63,.08)}.status-line[data-kind="success"]{color:#b7ffd9;border-color:rgba(0,255,139,.25);background:rgba(0,255,139,.08)}.status-line[data-kind="error"]{color:#ffd8dd;border-color:rgba(255,100,118,.25);background:rgba(255,100,118,.08)}.console-meta-time{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr)) auto;gap:8px;align-items:stretch}.time-chip.compact{padding:9px 11px}.time-copy-inline{align-self:stretch;width:42px;height:auto}.console-output{min-height:170px}.tool-pills-panel .tab{padding:9px 12px}.primary-actions.compact-actions{margin-bottom:2px}.details-panel,.geo-panel,.issue-panel,.seo{margin-top:2px}.btn.running,.mini-pill.running,.tab.running{border-color:rgba(0,255,139,.45)!important;background:rgba(0,255,139,.12)!important;box-shadow:inset 0 0 0 1px rgba(0,255,139,.08)}

@media (max-width:560px){.btn-primary-tool{min-width:unset}.console-meta-time{grid-template-columns:1fr 1fr auto}.tool-pills-panel .tool-tabs{gap:6px}.console-output{font-size:.8rem;line-height:1.45}}

/* v19 tighter console-first polish */
.hero{padding-top:2px}.hero h1{font-size:clamp(2rem,4.3vw,4rem);letter-spacing:-.045em}.lede{max-width:920px;font-size:1.01rem}.console-main{padding-top:14px}.primary-family-grid{gap:10px}.family-card{padding:14px 16px}.family-v{font-size:clamp(1.45rem,2.5vw,2.6rem)}.rdns-wrap{margin-top:8px}.rdns-line{font-size:.9rem}.action-row.compact-actions{margin:10px 0 8px}.btn-primary-tool{padding:12px 16px;font-size:1.02rem}.console-live{margin-top:6px}.console-top{grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr);gap:8px;align-items:stretch}.status-line{min-height:96px;font-size:1rem;border-radius:16px}.console-meta-time{grid-template-columns:repeat(2,minmax(0,1fr)) 52px}.time-chip.compact{padding:10px 12px;min-height:96px}.time-chip .v{font-size:1rem}.time-chip .sub{font-size:.84rem}.time-chip .tz{font-size:.76rem}.time-copy-inline{width:52px;border-radius:16px}.tool-pills-panel{margin-top:10px}.tool-tabs{gap:8px}.tool-pills-panel .tab{padding:10px 14px;font-size:.95rem}.console-output{min-height:180px;font-size:.82rem;line-height:1.42;padding:16px 54px 16px 16px}.console-copy-btn{right:12px;bottom:12px}.details-head{margin-bottom:6px}.panel-title,.section-title{letter-spacing:-.02em}.geo-panel{margin-top:10px}.issue-panel{margin-top:10px}#toolPanelsWrap.hidden{display:none!important}@media (max-width:860px){.hero h1{font-size:1.82rem}.lede{font-size:.94rem}.family-card{padding:13px 14px}.family-v{font-size:1.28rem}.btn-primary-tool{padding:11px 13px;font-size:.98rem}.console-top{grid-template-columns:1fr}.status-line{min-height:56px}.console-meta-time{grid-template-columns:1fr 1fr 44px}.time-chip.compact{min-height:unset;padding:9px 10px}.time-copy-inline{width:44px}.tool-pills-panel .tab{padding:9px 12px;font-size:.9rem}.console-output{font-size:.79rem;min-height:150px}}@media (max-width:560px){.hero h1{font-size:1.66rem}.lede{font-size:.9rem}.family-v{font-size:1.18rem}.rdns-line{font-size:.84rem}.console-bar{padding-top:14px;padding-bottom:14px}.tool-tabs{gap:6px}.tool-pills-panel .tab{padding:8px 11px;font-size:.88rem}}

/* v20 compact console/status strip */
.console-title{font-size:.96rem;letter-spacing:.02em}
.console-bar{padding-top:12px;padding-bottom:12px}
.hero h1{font-size:clamp(1.82rem,3.9vw,3.6rem);letter-spacing:-.05em}
.lede{font-size:.96rem;line-height:1.42;max-width:860px}
.primary-family-grid{gap:8px}
.family-card{padding:12px 14px;border-radius:18px}
.family-k{font-size:.7rem}
.family-v{font-size:clamp(1.18rem,2.15vw,2.2rem);line-height:1.08}
.rdns-wrap{margin-top:6px}
.rdns-line{font-size:.84rem}
.action-row.compact-actions{margin:8px 0 6px}
.btn-primary-tool{padding:10px 14px;font-size:.98rem}
.console-live{margin-top:4px;gap:8px}
.console-top.compact-strip{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(0,1.35fr) 42px;gap:8px;align-items:center}
.status-line{min-height:48px;padding:8px 10px;font-size:.88rem;border-radius:12px}
.console-meta-time{display:flex;align-items:center;gap:10px;padding:8px 10px;min-height:48px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);overflow:hidden}
.time-group{display:flex;align-items:center;gap:6px;min-width:0}
.utc-group{opacity:.82}
.clock-label{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:#8ba3b6}
.clock-value{font-size:.9rem;color:#dfeaf4}
.clock-sub{font-size:.82rem;color:#9ab0c3}
.clock-zone{font-size:.76rem;color:#8ea2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.time-sep{color:#5f7689}
.time-copy-inline{width:42px;height:48px;border-radius:12px}
.console-output{min-height:170px;font-size:.79rem;line-height:1.38;padding:14px 50px 14px 14px}
.tool-pills-panel{margin-top:8px}
.tool-pills-panel .tab{padding:8px 12px;font-size:.9rem}
.details-panel{margin-top:8px}.geo-panel{margin-top:8px}.issue-panel{margin-top:8px}
@media (max-width:860px){
  .hero h1{font-size:1.68rem}
  .lede{font-size:.9rem}
  .family-card{padding:11px 12px}
  .family-v{font-size:1.08rem}
  .btn-primary-tool{padding:9px 12px;font-size:.95rem}
  .console-top.compact-strip{grid-template-columns:1fr;gap:6px}
  .console-meta-time{padding:8px 9px;gap:8px;flex-wrap:wrap}
  .time-copy-inline{justify-self:end;height:40px;width:40px}
  .clock-zone{max-width:100%}
  .tool-pills-panel .tab{padding:8px 10px;font-size:.86rem}
  .console-output{font-size:.73rem;min-height:142px}
}

/* v21 console consolidation */
.console-bar{padding-top:10px;padding-bottom:10px}
.console-title{font-size:.84rem;letter-spacing:.015em}
.console-right .mini-pill{padding:7px 11px;font-size:.84rem;border-radius:14px}
.hero h1{font-size:clamp(1.54rem,3.15vw,3.0rem);letter-spacing:-.055em}
.lede{font-size:.88rem;line-height:1.38;max-width:820px}
.primary-family-grid{gap:7px}
.family-card{padding:9px 11px;border-radius:16px}
.family-k{font-size:.66rem}
.family-v{font-size:clamp(1rem,1.82vw,1.68rem)}
.rdns-line{font-size:.78rem;padding:9px 11px}
.btn-primary-tool{padding:8px 12px;font-size:.91rem;min-height:42px}
.console-live{margin-top:4px;gap:7px}
.console-top.compact-strip{grid-template-columns:minmax(0,1fr) 38px;gap:7px;align-items:stretch}
.status-strip{display:flex;align-items:center;gap:6px;min-height:38px;padding:7px 10px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);overflow:hidden}
.status-strip[data-kind="idle"]{color:#9eb2c3}
.status-strip[data-kind="running"]{color:#ffd27c;border-color:rgba(255,191,63,.28);background:rgba(255,191,63,.08)}
.status-strip[data-kind="success"]{color:#b7ffd9;border-color:rgba(0,255,139,.25);background:rgba(0,255,139,.08)}
.status-strip[data-kind="error"]{color:#ffd8dd;border-color:rgba(255,100,118,.25);background:rgba(255,100,118,.08)}
.status-line{display:inline;min-height:0;padding:0;border:none;background:transparent;color:inherit;font-size:.84rem;flex:0 0 auto}
.clock-label{font-size:.58rem;letter-spacing:.08em;color:#8ea4b6}
.clock-value{font-size:.78rem;color:#dfeaf4}
.clock-sub{font-size:.71rem;color:#9eb2c3}
.clock-zone{font-size:.68rem;color:#8ea4b6;max-width:128px}
.utc-inline{display:flex;align-items:center;gap:4px;opacity:.72}
.strip-sep{color:#5f7689;opacity:.6}
.time-copy-inline{width:38px;height:40px;border-radius:12px;align-self:stretch}
.console-output{min-height:198px;font-size:.74rem;line-height:1.34;padding:12px 46px 12px 12px;border-radius:16px}
.console-copy-btn{right:10px;bottom:10px;width:38px;height:38px;border-radius:12px}
.tool-pills-panel{margin-top:7px}
.tool-pills-panel .tab{padding:7px 10px;font-size:.81rem;border-radius:13px}
.tool-panels{margin-top:6px}
.tool .tool-actions{margin-top:0}
.tool .output{display:none!important}
.geo-panel,.details-panel,.issue-panel{margin-top:8px}
.issue-summary{font-size:.82rem}
.build-footer{font-size:.94rem}
.build-sub{font-size:.86rem}
@media (max-width:860px){
  .hero h1{font-size:1.48rem}
  .lede{font-size:.84rem}
  .family-card{padding:10px 11px}
  .family-v{font-size:1rem}
  .btn-primary-tool{padding:8px 11px;font-size:.92rem}
  .status-strip{padding:7px 9px;min-height:38px;gap:5px}
  .clock-zone{max-width:100px}
  .tool-pills-panel .tab{padding:7px 10px;font-size:.82rem}
  .console-output{font-size:.74rem;min-height:180px}
}
@media (max-width:560px){
  .hero h1{font-size:1.48rem}
  .lede{font-size:.85rem}
  .console-title{font-size:.83rem}
  .console-right .mini-pill{padding:7px 10px;font-size:.84rem}
  .rdns-line{font-size:.78rem}
  .status-strip{flex-wrap:wrap;align-items:flex-start}
  .utc-inline{width:100%}
  .clock-zone{max-width:100%}
}

/* v22 status/time simplification */
.rdns-wrap,.rdns-line{width:100%}
.rdns-line{display:block}
.console-top.compact-strip{grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:stretch}
.status-strip{display:grid;grid-template-rows:auto auto;gap:5px;min-height:0;padding:9px 12px;border-radius:14px}
.strip-meta-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#a9bccb;font-size:.78rem;line-height:1.25}
.strip-time-main,.strip-time-sub,.strip-probe{display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.strip-time-main span,.strip-time-sub span,.strip-probe span{color:#e6eff7}
.strip-status-row{display:block}
.status-line{font-size:.9rem;line-height:1.2}
.time-copy-inline{height:auto;min-height:52px;border-radius:14px}
.time-copy-inline,.console-copy-btn{background:rgba(255,255,255,.04)}
.console-title{font-size:.82rem}
.console-right .mini-pill{padding:7px 11px;font-size:.84rem}
.family-card{padding:9px 11px}
.family-v{font-size:clamp(1rem,1.75vw,1.55rem)}
.hero h1{font-size:clamp(1.52rem,3.2vw,2.8rem)}
.lede{font-size:.88rem}
.console-output{min-height:150px;font-size:.77rem;line-height:1.34}
@media (max-width:860px){
  .strip-meta-row{font-size:.74rem;gap:8px}
  .status-line{font-size:.86rem}
  .console-output{min-height:138px;font-size:.74rem}
}

/* v27 stability polish */
.input, select.input, textarea.input { font-size: 16px; }
.rdns-line .label { margin-right: 0.2rem; }
.rdns-line .value { word-break: break-word; }

@keyframes cursorBlink{0%,49%{opacity:1}50%,100%{opacity:.18}}
.status-strip{position:relative;padding:10px 12px 9px 12px;gap:7px}
.strip-meta-row{padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.08)}
.strip-status-row{padding-top:2px}
.status-line{font-size:.88rem;font-weight:600;letter-spacing:.01em}
.status-strip[data-kind="running"] .strip-meta-row,.status-strip[data-kind="success"] .strip-meta-row,.status-strip[data-kind="error"] .strip-meta-row{border-bottom-color:rgba(255,255,255,.12)}
.rdns-line{padding-left:14px;padding-right:14px}
#activeIpMeta .label{margin-right:4px}
.console-title{font-size:.8rem}.console-right .mini-pill{padding:7px 10px;font-size:.82rem}
.family-card{padding:8px 10px}.family-v{font-size:clamp(.98rem,1.65vw,1.45rem)}
.console-output{min-height:142px;font-size:.75rem}
@media (max-width:860px){.status-strip{padding:9px 10px}.strip-meta-row{gap:8px}.console-output{min-height:136px;font-size:.74rem}}

/* v28 details consolidation */
.status-line{font-size:.76rem;font-weight:500;line-height:1.35}
.details-grid{grid-template-columns:1fr;gap:8px}
.map-panel{margin-top:8px;padding-top:2px}
#mapMsg{margin-top:10px;line-height:1.45}
.meta-chip .v{line-height:1.42}
@media (max-width:860px){.status-line{font-size:.74rem}}

/* v29 interaction polish */
.copy-hint{margin:4px 0 0;color:var(--muted);font-size:.82rem;line-height:1.3}
#activeIpMeta{cursor:pointer;text-align:left;width:100%;border:none;font-family:var(--mono)}
#activeIpMeta:hover{border-color:rgba(31,211,255,.3);background:rgba(31,211,255,.08)}
.console-top.compact-strip{grid-template-columns:minmax(0,1fr);position:relative}
.time-copy-inline{position:absolute;right:8px;top:8px;width:34px;height:34px;z-index:2}
.status-strip{padding-right:48px}
.strip-meta-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.72rem;color:#a9c0d1}
.strip-status-row{padding-top:2px}
.status-line{font-size:.74rem;line-height:1.35}
.google-map-wrap{border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#0b141b}
.google-static-map{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.modal{position:fixed;inset:0;z-index:40}.modal.hidden{display:none}.modal-backdrop{position:absolute;inset:0;background:rgba(2,8,14,.72);backdrop-filter:blur(2px)}.modal-card{position:relative;max-width:720px;margin:8vh auto 0;background:#0d1720;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px 16px 12px;box-shadow:0 24px 80px rgba(0,0,0,.45)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.modal-pre{max-height:60vh;overflow:auto;border:1px solid rgba(255,255,255,.06);border-radius:14px;padding:12px;background:rgba(255,255,255,.02);font-size:.74rem;line-height:1.34;white-space:pre-wrap;word-break:break-word}
.site-links a,.mobile-nav a{white-space:nowrap}
@media (max-width:860px){.copy-hint{font-size:.8rem}.time-copy-inline{right:6px;top:6px}.status-strip{padding-right:44px}}

.copy-hint{margin:6px 0 0}.copy-hint-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#9fb2c3;font-size:.78rem;line-height:1.2}.rdns-line{justify-content:flex-start}.status-line{font-size:.79rem;line-height:1.35}.time-copy-inline{position:relative;justify-self:stretch;align-self:stretch}.console-line{display:inline}.line-prompt{color:#27d17f}.line-error{color:#ff8484}.line-done{color:#27d17f}.google-map-wrap{position:relative;min-height:220px}.google-static-map{background:#0b141b}.modal-pre{white-space:pre-wrap;overflow-wrap:anywhere}

.status-prompt{display:inline-flex;align-items:center;gap:0;margin-left:2px}.prompt-angle{color:var(--text);font-family:var(--mono);margin-right:1px}.status-cursor{color:var(--accent);font-family:var(--mono);animation:cursorBlink 1.7s steps(1,end) infinite}.console-activity{position:absolute;right:46px;top:12px;width:14px;height:14px;border-radius:999px;border:2px solid rgba(31,211,255,.18);border-top-color:var(--accent);animation:spin 1s linear infinite}.console-activity.hidden{display:none}.status-strip{position:relative}.time-copy-inline{position:absolute;right:8px;top:8px;width:34px;height:34px}.rdns-line .label{margin-right:6px}.google-static-map.skip-lazy{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#0b141b}.copy-hint-pill{cursor:default}@keyframes spin{to{transform:rotate(360deg)}}

/* v35 polish */
.logo-mark{color:var(--accent);font-family:var(--mono);font-weight:700}
.logo-text .cursor{margin-left:1px}
.status-strip{padding-right:70px}
.time-copy-inline{position:absolute;right:8px;top:10px;width:32px;height:32px;z-index:4}
.console-activity{right:46px;top:16px;width:14px;height:14px;border-width:2px;z-index:4;opacity:.9}
.status-line{font-size:.74rem;line-height:1.35}
.status-prompt .status-cursor{animation:cursorBlink 1.7s steps(1,end) infinite}
.copy-hint-pill{opacity:.9}
.rdns-line{display:flex;align-items:flex-start;gap:4px}
.rdns-line .label{flex:0 0 auto;margin-right:0}.rdns-line .value{flex:1 1 auto}
.modal-card{max-width:720px}
.modal-pre{font-size:.74rem;line-height:1.34}
.google-map-wrap img{display:block;width:100%;height:auto}
@media (max-width:860px){.console-activity{top:15px}.time-copy-inline{top:9px}.status-strip{padding-right:70px}}

/* v36 logo mark and scroll polish */
.logo-mark{display:inline-flex;align-items:center;justify-content:center;gap:0}.logo-mark .prompt-angle{color:var(--text);font-family:var(--mono);margin-right:1px}.logo-mark-cursor{color:var(--accent);font-family:var(--mono)}

/* v41 typography alignment */
.issue-panel #issueText,.issue-reasons,.issue-summary,.modal-pre{font-size:.75rem;line-height:1.34;}
@media (max-width:860px){.issue-panel #issueText,.issue-reasons,.issue-summary,.modal-pre{font-size:.74rem;line-height:1.34;}}

/* v42 modal and landscape polish */
.tool-modal-card{max-width:680px}.tool-modal-body{display:grid;gap:12px}.tool-modal-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tool-modal-body .input{flex:1 1 220px}.tool-modal-help{font-size:.78rem;line-height:1.4;color:var(--muted)}.tool-modal-help strong{color:var(--text)}
.details-head{align-items:center}.small-copy::before{content:"⧉ ";opacity:.8}.panel-title.small-title::before{content:"◌ ";color:var(--accent)}
.details-head .panel-title.small-title{margin-bottom:0}
.meta-chip .k::before{content:"• ";color:rgba(31,211,255,.7)} .meta-chip .k{display:inline-flex;align-items:center;gap:2px}.meta-chip[data-key="Country"] .k::before{content:"⚑ ";color:rgba(31,211,255,.75)}
.meta-chip[data-key="Country"] .v{display:flex;align-items:center;gap:6px}
.map-panel .small.muted{margin-top:12px}.tool-panels{display:none!important}.settings-panel .mini-pill{white-space:nowrap}
@media (orientation:landscape) and (max-width:950px){
  .shell{
    width:min(97vw, calc(100vw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right))));
    max-width:min(97vw, calc(100vw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right))));
    margin-left:auto;
    margin-right:auto;
    padding-left:max(12px, calc(env(safe-area-inset-left) + 8px));
    padding-right:max(12px, calc(env(safe-area-inset-right) + 8px));
    padding-top:8px;
  }
  .site-header{margin-bottom:10px;gap:10px;align-items:flex-start}
  .brand{gap:10px}
  .logo-mark{width:42px;height:42px;border-radius:14px;font-size:18px}
  .logo-text{font-size:1.15rem;gap:6px}
  .site-links{gap:10px;font-size:.8rem}
  .hero{padding-top:2px;padding-bottom:6px}
  .hero h1{font-size:1.06rem;line-height:1;max-width:32rem}
  .lede{font-size:.74rem;line-height:1.28;max-width:32rem;margin-top:6px}
  .hero .mini-pill{padding:6px 10px;font-size:.74rem;border-radius:999px}
  .console-title{font-size:.82rem}
  .console-bar,.console-main,.seo{padding-left:12px;padding-right:12px}
  .console-bar{padding-top:10px;padding-bottom:10px}
  .console-output{font-size:.66rem;line-height:1.22;min-height:132px;padding:12px 46px 12px 12px}
  .primary-label,.family-k{font-size:.68rem}
  .primary-value,.family-v{font-size:1rem;line-height:1.04}
  .rdns-line{font-size:.72rem;padding:9px 10px}
  .btn-primary-tool{padding:8px 11px;font-size:.84rem;min-height:38px}
  .tool-pills-panel .tab,.tab{padding:7px 10px;font-size:.8rem}
  .status-strip{padding-right:42px;min-height:66px}
  .status-line{font-size:.74rem}
  .clock-label{font-size:.54rem}
  .clock-value,.clock-sub,.clock-zone{font-size:.72rem}
  .meta-chip .k,.details-panel .label,.geo-item .label{font-size:.62rem}
  .meta-chip .v,.issue-panel #issueText,.issue-reasons,.issue-summary,.details-panel .value,.geo-item .value{font-size:.68rem;line-height:1.22}
  .panel-title,.section-title{font-size:.98rem}
  .details-head .small-copy{padding:7px 10px;font-size:.76rem}
  .quickbar #qbMore{display:none!important}
}
@media (orientation:landscape) and (max-width:780px){
  .shell{width:min(96vw, calc(100vw - max(14px, env(safe-area-inset-left)) - max(14px, env(safe-area-inset-right)))) ;max-width:min(96vw, calc(100vw - max(14px, env(safe-area-inset-left)) - max(14px, env(safe-area-inset-right))))}
  .site-links{gap:8px;font-size:.74rem}
  .hero h1{font-size:.98rem}
  .lede{font-size:.7rem}
  .console-output{font-size:.63rem;line-height:1.18}
  .meta-chip .v,.issue-panel #issueText,.issue-reasons,.issue-summary,.details-panel .value,.geo-item .value{font-size:.65rem}
}

@media (orientation:landscape) and (max-width:1300px){
  body.is-safari .shell{width:min(78vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 72px)) !important;max-width:min(78vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 72px)) !important;padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right));}
}
@media (orientation:landscape) and (max-width:950px){
  body.is-safari .shell{width:min(76vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 64px)) !important;max-width:min(76vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 64px)) !important;}
}
@media (orientation:landscape) and (max-width:780px){
  body.is-safari .shell{width:min(74vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 52px)) !important;max-width:min(74vw, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 52px)) !important;}
}

/* v45 cleanup */
.rdns-wrap{display:none!important}

/* v46 safari landscape width-only */
@supports (-webkit-touch-callout: none) {
  @media (orientation:landscape) and (max-width:1300px){
    body.is-safari .shell{margin-left:auto!important;margin-right:auto!important;}
  }
}

/* v47 safari landscape layout override only */
@media (orientation:landscape) and (max-width:1100px){
  .site-links{display:none!important}
  .nav-toggle{display:inline-flex!important}
  .mobile-nav.hidden{display:none!important}
  .mobile-nav:not(.hidden){display:flex;padding:0 14px;gap:10px;flex-wrap:wrap}
  .site-header{justify-content:space-between;align-items:flex-start}
}
@media (orientation:landscape) and (max-width:1100px){
  .shell{width:min(92vw, calc(100vw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right)) - 12px));
         max-width:min(92vw, calc(100vw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right)) - 12px));}
}
@supports (-webkit-touch-callout:none){
  @media (orientation:landscape) and (max-width:1100px){
    body.is-safari .shell{width:min(84vw, calc(100vw - max(22px, env(safe-area-inset-left)) - max(22px, env(safe-area-inset-right)) - 40px)) !important;
                          max-width:min(84vw, calc(100vw - max(22px, env(safe-area-inset-left)) - max(22px, env(safe-area-inset-right)) - 40px)) !important;
                          margin-left:auto!important;margin-right:auto!important;}
  }
  @media (orientation:landscape) and (max-width:950px){
    body.is-safari .shell{width:min(82vw, calc(100vw - max(20px, env(safe-area-inset-left)) - max(20px, env(safe-area-inset-right)) - 34px)) !important;
                          max-width:min(82vw, calc(100vw - max(20px, env(safe-area-inset-left)) - max(20px, env(safe-area-inset-right)) - 34px)) !important;}
  }
}

/* v48 safari landscape text-size only */
@supports (-webkit-touch-callout:none){
  @media (orientation:landscape) and (max-width:1100px){
    body.is-safari .hero h1{font-size:1.52rem!important;line-height:1.02!important;letter-spacing:-.04em!important;max-width:18rem!important;}
    body.is-safari .lede{font-size:.92rem!important;line-height:1.34!important;max-width:26rem!important;}
    body.is-safari .copy-hint{font-size:.8rem!important;}
    body.is-safari .site-header{align-items:flex-start!important;}
    body.is-safari .wordmark{font-size:clamp(1.55rem,2.8vw,2.35rem)!important;}
    body.is-safari .console-bar{padding-top:14px!important;padding-bottom:14px!important;}
    body.is-safari .family-k{font-size:.72rem!important;}
    body.is-safari .family-v{font-size:clamp(1.12rem,1.9vw,1.5rem)!important;}
    body.is-safari .btn-primary-tool{font-size:.92rem!important;padding:10px 13px!important;min-height:42px!important;}
    body.is-safari .status-strip{min-height:74px!important;padding:11px 14px!important;}
    body.is-safari .status-line{font-size:.84rem!important;line-height:1.28!important;}
    body.is-safari .clock-label{font-size:.6rem!important;}
    body.is-safari .clock-value,
    body.is-safari .clock-sub,
    body.is-safari .clock-zone{font-size:.78rem!important;}
    body.is-safari .console-output{font-size:.78rem!important;line-height:1.34!important;}
    body.is-safari .tool-pills-panel .tab,
    body.is-safari .tab{font-size:.88rem!important;padding:8px 11px!important;}
    body.is-safari .issue-summary,
    body.is-safari .issue-panel #issueText,
    body.is-safari .issue-reasons,
    body.is-safari .modal-pre{font-size:.72rem!important;line-height:1.3!important;}
    body.is-safari .panel-title,
    body.is-safari .section-title{font-size:1.02rem!important;}
    body.is-safari .details-panel .label,
    body.is-safari .geo-item .label,
    body.is-safari .meta-chip .k{font-size:.66rem!important;}
    body.is-safari .details-panel .value,
    body.is-safari .geo-item .value,
    body.is-safari .meta-chip .v{font-size:.82rem!important;line-height:1.3!important;}
    body.is-safari .details-grid{gap:10px!important;}
    body.is-safari .details-panel,
    body.is-safari .geo-item{padding:12px 14px!important;}
    body.is-safari .details-head .small-copy{font-size:.78rem!important;padding:7px 10px!important;}
  }
  @media (orientation:landscape) and (max-width:950px){
    body.is-safari .hero h1{font-size:1.42rem!important;max-width:16.5rem!important;}
    body.is-safari .lede{font-size:.86rem!important;max-width:24rem!important;}
    body.is-safari .wordmark{font-size:clamp(1.42rem,2.5vw,2.05rem)!important;}
    body.is-safari .family-v{font-size:clamp(1.02rem,1.7vw,1.34rem)!important;}
    body.is-safari .btn-primary-tool{font-size:.88rem!important;padding:9px 12px!important;}
    body.is-safari .status-line{font-size:.8rem!important;}
    body.is-safari .console-output{font-size:.74rem!important;}
    body.is-safari .details-panel .value,
    body.is-safari .geo-item .value,
    body.is-safari .meta-chip .v{font-size:.78rem!important;}
  }
}

/* v50 academy, issue, and validation polish */
.strip-status-row.two-line{display:grid;gap:4px;align-items:start}
#consoleToolStatus{font-weight:700;color:#dff7ff}
#consoleStatus{color:#a9bed0}
#consoleStrip[data-kind="success"] #consoleToolStatus{color:#b7ffd9}
#consoleStrip[data-kind="error"] #consoleToolStatus{color:#ffb4be}
#consoleStrip[data-kind="warning"] #consoleToolStatus{color:#ffe0a3}
.issue-toggle{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:none;border:none;padding:0;color:inherit;text-align:left}
.issue-copy{display:grid;gap:5px;min-width:0}
.issue-toggle-meta{display:grid;gap:4px;justify-items:end;flex:0 0 auto}
.issue-hint{font-size:.72rem;line-height:1.25;color:#ffc2ca;white-space:nowrap}
.issue-chevron{font-size:1rem;line-height:1;color:#ff9fab;transition:transform .18s ease}
.issue-panel.expanded .issue-chevron{transform:rotate(180deg)}
.issue-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.issue-link{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#ffe8ec;font-size:.77rem}
.issue-link:hover{border-color:rgba(255,255,255,.24)}
.issue-secondary{margin:10px 0 0;color:#ffdce2;font-size:.78rem;line-height:1.35}
.tool-modal-form{display:grid;gap:12px}
.tool-advanced{display:grid;gap:10px;padding:12px 14px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.022)}
.tool-advanced.is-open{background:rgba(255,255,255,.03)}
.tool-advanced-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;border:none;background:transparent;color:var(--text);font:inherit;font-weight:700;text-align:left;cursor:pointer}
.tool-advanced-chevron{font-size:1.1rem;line-height:1;transition:transform .18s ease}
.tool-advanced.is-open .tool-advanced-chevron{transform:rotate(180deg)}
.tool-advanced-body{display:grid;gap:12px}
.tool-advanced-summary{margin:0;color:var(--muted);font-size:.92rem;line-height:1.55}
.tool-advanced-grid{display:grid;gap:12px}
.tool-field.hidden,.tool-field-select.hidden{display:none}
body.light .tool-advanced{background:rgba(255,255,255,.94);border-color:rgba(8,19,27,.08)}
body.light .tool-advanced.is-open{background:#fff}
.tool-field{display:grid;gap:6px}
.tool-field-label{font-size:.8rem;font-weight:700;color:var(--text)}
.tool-field-example{font-size:.74rem;color:#9fb2c3}
.tool-field .input.error{border-color:rgba(255,100,118,.9);box-shadow:0 0 0 3px rgba(255,100,118,.14);outline:none}
.tool-field-error{min-height:1.1em;font-size:.76rem;line-height:1.35;color:#ff9ba8}
.tool-field-select .input{min-width:140px}
.tool-learn-links{display:flex;gap:8px;flex-wrap:wrap}
.tool-learn-link{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;border:1px solid rgba(31,211,255,.24);background:rgba(31,211,255,.08);color:#cbf5ff;font-size:.77rem;line-height:1.2}
.tool-modal-help{margin:0}
.academy-launchpad{display:grid;gap:14px}
.academy-inline-links{margin:12px 0 0;color:var(--muted)}
.academy-inline-links a{color:#bff3ff}
.academy-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.home-card-grid{margin-top:4px}
.tool-card-grid{margin-top:12px}
.academy-card-link,.academy-mini-card{display:grid;gap:8px;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);transition:.18s ease;color:var(--text)}
.academy-card-link strong,.academy-mini-card strong{font-size:.95rem;line-height:1.25}
.academy-card-link span,.academy-mini-card span{font-size:.83rem;line-height:1.42;color:var(--muted)}
.academy-card-link:hover,.academy-mini-card:hover{transform:translateY(-1px);border-color:rgba(31,211,255,.34)}
.academy-shell{max-width:1100px}
.academy-header{margin-bottom:10px}
.academy-page{gap:18px}
.academy-hero-card,.academy-grid-card,.academy-article-card,.academy-related-card,.academy-faq-card{padding:20px}
.academy-kicker{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#8bcfe0;margin-bottom:8px}
.academy-hero-card h1{margin:0;font-size:clamp(1.6rem,4vw,2.7rem);line-height:1;letter-spacing:-.04em}
.academy-meta-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.academy-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);font-size:.78rem;color:#c8d7e3}
.academy-pill-link{color:#dff7ff}
.academy-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.82rem}
.academy-breadcrumbs a{color:#c2edf9}
.academy-grid-card{display:grid;gap:16px}
.academy-callout{padding:16px;border-radius:18px;border:1px solid rgba(31,211,255,.18);background:rgba(31,211,255,.06)}
.academy-callout p{margin:8px 0 0;color:var(--muted);line-height:1.48}
.academy-cta-btn{margin-top:12px;display:inline-flex;width:auto}
.academy-learn-list{margin:10px 0 0;padding-left:18px;color:#dbe7f1;line-height:1.55}
.academy-section + .academy-section{margin-top:18px}
.academy-section h2{margin:0 0 10px;font-size:1.08rem;color:#eff7fd}
.academy-section p{margin:0 0 12px;color:#d0dee9;line-height:1.62}
.academy-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:12px}
.academy-updated{margin:14px 0 0;color:var(--muted);font-size:.82rem}
.glossary-list{margin:0;display:grid;gap:12px}
.glossary-row{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.glossary-row:last-child{border-bottom:none}
.glossary-row dt{font-weight:700;color:#eef6fc}
.glossary-row dd{margin:0;color:#d0dde8;line-height:1.55}
.academy-inline-tool-section{display:grid;gap:12px}
.academy-links{display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:860px){
  .issue-toggle{gap:10px}
  .issue-hint{white-space:normal;text-align:right;max-width:110px}
  .academy-hero-card,.academy-grid-card,.academy-article-card,.academy-related-card,.academy-faq-card{padding:16px}
  .academy-card-grid,.academy-mini-grid{grid-template-columns:1fr}
  .academy-links{display:flex;gap:10px;flex-wrap:wrap}
  .tool-modal-actions{justify-content:flex-start}
}

/* v53 academy/mobile nav/theme polish */
.site-header{
  display:grid;
  gap:10px;
  align-items:stretch;
}
.header-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.theme-toggle{
  white-space:nowrap;
}
.site-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.site-links a,
.mobile-nav a{
  white-space:nowrap;
}
@media (max-width: 960px){
  .site-links{display:none!important;}
  .nav-toggle{display:inline-flex!important;}
  .mobile-nav.hidden{display:none!important;}
  .mobile-nav:not(.hidden){display:flex;flex-wrap:wrap;gap:10px;}
}
@media (min-width: 961px){
  .nav-toggle{display:none!important;}
  .mobile-nav{display:none!important;}
}
@media (max-width: 560px){
  .header-main{align-items:flex-start;}
  .header-actions{gap:8px;}
  .theme-toggle{padding:9px 12px;font-size:.82rem;}
}
@media (orientation: landscape) and (max-width: 1100px){
  .site-links{display:none!important;}
  .nav-toggle{display:inline-flex!important;}
}
.academy-card-link,
.academy-mini-card,
.tool-learn-link,
.issue-link,
.academy-pill-link{
  position:relative;
}
.academy-card-link,
.academy-mini-card,
.tool-learn-link,
.issue-link{
  padding-right:44px;
}
.academy-card-link::after,
.academy-mini-card::after,
.tool-learn-link::after,
.issue-link::after,
.academy-pill-link::after{
  content:"";
  width:15px;
  height:15px;
  display:block;
  position:absolute;
  right:14px;
  top:14px;
  opacity:.82;
  background-repeat:no-repeat;
  background-position:center;
  background-size:15px 15px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfefff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}
body.light .academy-card-link::after,
body.light .academy-mini-card::after,
body.light .tool-learn-link::after,
body.light .issue-link::after,
body.light .academy-pill-link::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}
.academy-pill-link{padding-right:34px;}
.academy-pill-link::after{right:11px;top:50%;transform:translateY(-50%);width:13px;height:13px;background-size:13px 13px;}
.academy-card-link strong,
.academy-mini-card strong{padding-right:6px;}
.academy-section h2,
.section-title,
.panel-title,
.issue-title{text-wrap:balance;}

/* v53 light theme corrections */
body.light{
  background:linear-gradient(180deg,#f7fbff 0%,#edf5fb 52%,#e5f0f7 100%);
}
body.light::before{
  background:#eef4f8;
}
body.light::after{
  background:radial-gradient(circle at top center,#ffffff 0%,#eef5fb 38%,#e3edf5 100%);
}
body.light .card,
body.light .console,
body.light .seo,
body.light .issue-panel,
body.light .geo-panel,
body.light .more-panel,
body.light .details-panel,
body.light .summary-card,
body.light .academy-hero-card,
body.light .academy-grid-card,
body.light .academy-article-card,
body.light .academy-related-card,
body.light .academy-faq-card{
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,250,255,.98));
  border-color:rgba(16,32,47,.1);
  box-shadow:0 18px 34px rgba(16,32,47,.08);
}
body.light .console-bar,
body.light .settings-panel{
  background:rgba(8,125,184,.03);
  border-color:rgba(16,32,47,.08);
}
body.light .console-title,
body.light .hero h1,
body.light .section-title,
body.light .panel-title,
body.light .academy-hero-card h1,
body.light .academy-section h2,
body.light .glossary-row dt,
body.light .logo-text,
body.light .site-links a,
body.light .mobile-nav a,
body.light .console-output,
body.light .output,
body.light .status-line,
body.light .status-strip,
body.light .console-meta-time,
body.light .time-chip .v,
body.light .clock-value,
body.light .academy-pill-link,
body.light .academy-breadcrumbs a,
body.light .academy-inline-links a{
  color:#10202f;
}
body.light .console-output,
body.light .output,
body.light .summary-card{
  background:linear-gradient(180deg,#ffffff,#f5faff);
  border-color:rgba(16,32,47,.1);
}
body.light .primary-ip,
body.light .family-card,
body.light .rdns-line,
body.light .status-strip,
body.light .status-line,
body.light .console-meta-time,
body.light .time-chip,
body.light .meta-chip,
body.light .geo-item,
body.light .academy-card-link,
body.light .academy-mini-card,
body.light .academy-callout,
body.light .academy-pill,
body.light .faq details,
body.light .mobile-nav a,
body.light .copy-chip,
body.light .mini-pill,
body.light .tab,
body.light .btn,
body.light .nav-toggle,
body.light .input,
body.light .tool-modal-field,
body.light .issue-link,
body.light .tool-learn-link{
  background:rgba(255,255,255,.88);
  border-color:rgba(16,32,47,.1);
  color:#10202f;
}
body.light .mini-pill.active,
body.light .tab.active,
body.light .protocol-card.active,
body.light .btn.primary,
body.light .theme-toggle.active{
  background:rgba(0,125,184,.12);
  border-color:rgba(0,125,184,.34);
  color:#0d3148;
}
body.light .primary-value,
body.light .family-v,
body.light .logo-mark,
body.light .cursor,
body.light .copy-inline,
body.light .issue-hint,
body.light .academy-kicker,
body.light .eyebrow,
body.light .family-k,
body.light .rdns-line .label,
body.light .time-chip .k,
body.light .clock-label,
body.light .geo-item .label,
body.light .meta-chip .k,
body.light .primary-label,
body.light .console-title,
body.light .build-sub{
  color:#007db8;
}
body.light .lede,
body.light .result-sub,
body.light .academy-callout p,
body.light .academy-card-link span,
body.light .academy-mini-card span,
body.light .academy-updated,
body.light .glossary-row dd,
body.light .academy-section p,
body.light .academy-learn-list,
body.light .issue-summary,
body.light .issue-panel #issueText,
body.light .issue-reasons,
body.light .build-footer,
body.light .tool-help,
body.light .error-text,
body.light .mobile-nav,
body.light .site-links,
body.light .console-sub,
body.light .clock-sub,
body.light .clock-zone,
body.light .time-chip .sub,
body.light .time-chip .tz,
body.light .status-prompt,
body.light .muted,
body.light .geo-caption{
  color:#516274;
}
body.light .issue-panel{
  background:linear-gradient(180deg,rgba(184,36,58,.06),rgba(184,36,58,.03));
  border-color:rgba(184,36,58,.26);
}
body.light .issue-title{
  color:#b8243a;
}
body.light .issue-panel #issueText,
body.light .issue-summary,
body.light .issue-reasons{
  color:#7e3240;
}
body.light .btn:hover,
body.light .mini-pill:hover,
body.light .tab:hover,
body.light .academy-card-link:hover,
body.light .academy-mini-card:hover,
body.light .nav-toggle:hover,
body.light .mobile-nav a:hover{
  border-color:rgba(0,125,184,.26);
  box-shadow:0 10px 18px rgba(0,125,184,.08);
}
body.light .tool-status-open{color:#127a43;}
body.light .tool-status-closed{color:#b8243a;}
body.light .status-strip[data-kind="running"],
body.light .status-line[data-kind="running"]{
  color:#7c5600;
  background:rgba(255,191,63,.14);
  border-color:rgba(138,90,0,.18);
}
body.light .status-strip[data-kind="success"],
body.light .status-line[data-kind="success"]{
  color:#0f6f3b;
  background:rgba(0,143,79,.12);
  border-color:rgba(0,143,79,.18);
}
body.light .status-strip[data-kind="error"],
body.light .status-line[data-kind="error"]{
  color:#9d2336;
  background:rgba(184,36,58,.1);
  border-color:rgba(184,36,58,.16);
}
body.light .mobile-nav{
  background:transparent;
}
body.light .logo-mark{
  background:linear-gradient(180deg,rgba(0,125,184,.08),rgba(0,125,184,.02));
  border-color:rgba(0,125,184,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 0 0 1px rgba(0,125,184,.06);
}
body.light .console-output .ok,
body.light .output .ok,
body.light .status-ok{
  color:#0f6f3b;
}
body.light .console-output .warn,
body.light .output .warn,
body.light .status-warn{
  color:#7c5600;
}
body.light .console-output .err,
body.light .output .err,
body.light .status-err{
  color:#9d2336;
}

/* v53 header/menu/theme and light-mode corrections */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.header-actions{position:relative}
.header-icon-btn{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.035);color:var(--text);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.theme-toggle-btn{min-width:44px}
.theme-toggle-icon,.theme-option-icon{position:relative;display:inline-block;width:20px;height:20px;border-radius:50%;border:2px solid currentColor;overflow:hidden}
.theme-toggle-icon::before,.theme-option-icon::before{content:"";position:absolute;inset:0;right:50%;background:currentColor}
.theme-option-system::after{content:"";position:absolute;inset:4px;border-radius:50%;border:2px solid currentColor;opacity:.65}
.theme-toggle-btn[data-mode='light'] .theme-toggle-icon,.theme-option-light{color:#516274}
.theme-toggle-btn[data-mode='dark'] .theme-toggle-icon,.theme-option-dark{color:#9fdfff}
.theme-toggle-btn[data-mode='system'] .theme-toggle-icon,.theme-option-system{color:#7aa6bf}
.header-popover{position:absolute;top:calc(100% + 10px);right:0;display:grid;gap:6px;min-width:220px;padding:10px;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(8,18,27,.98);box-shadow:0 24px 50px rgba(0,0,0,.32);z-index:45}
.header-popover.hidden{display:none!important}
.theme-option{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border-radius:14px;border:1px solid transparent;background:transparent;color:var(--text);text-align:left;transition:.18s ease}
.theme-option:hover{border-color:rgba(31,211,255,.2);background:rgba(31,211,255,.06)}
.theme-option.active{border-color:rgba(31,211,255,.28);background:rgba(31,211,255,.12)}
.theme-option-label{font-weight:700;letter-spacing:-.01em}
.nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:92px}
.nav-toggle::before{content:"";width:16px;height:16px;display:block;background-repeat:no-repeat;background-position:center;background-size:16px 16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dce8f2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h16'/%3E%3C/svg%3E")}
.mobile-nav.menu-sheet{display:grid;gap:12px;margin:0 14px 16px;padding:14px;border-radius:22px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(11,22,31,.96),rgba(8,18,27,.98));box-shadow:0 18px 36px rgba(0,0,0,.24)}
.menu-section{display:grid;gap:8px}
.menu-section-title{font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.menu-link-list,.menu-link-grid{display:grid;gap:8px}
.menu-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.menu-link{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:var(--text);transition:.18s ease}
.menu-link:hover{transform:translateY(-1px);border-color:rgba(31,211,255,.3);background:rgba(31,211,255,.07)}
.menu-link-label{font-weight:700;letter-spacing:-.01em}
.menu-link-arrow{width:15px;height:15px;flex:0 0 15px;background-repeat:no-repeat;background-position:center;background-size:15px 15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fdfff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")}
@media (max-width:640px){.menu-link-grid{grid-template-columns:1fr}}
@media (min-width:961px){.mobile-nav.menu-sheet{display:none!important}}

html.light,body.light{background:#eef4f8!important}
body.light::before{background:#eef4f8!important}
body.light::after{background:radial-gradient(circle at top center,#ffffff 0%,#eef5fb 40%,#e3edf5 100%)!important}
@supports (-webkit-touch-callout: none){
  html.light,body.light{background:#eef4f8!important}
  body.light::before{background:#eef4f8!important}
  body.light::after{background:radial-gradient(circle at top center,#ffffff 0%,#eef5fb 40%,#e3edf5 100%)!important}
  body.light .card,
  body.light .console,
  body.light .seo,
  body.light .geo-panel,
  body.light .more-panel,
  body.light .issue-panel,
  body.light .details-panel,
  body.light .summary-card,
  body.light .academy-hero-card,
  body.light .academy-grid-card,
  body.light .academy-article-card,
  body.light .academy-related-card,
  body.light .academy-faq-card,
  body.light .simple-map,
  body.light .output{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,250,255,.99))!important;border-color:rgba(16,32,47,.1)!important}
}
body.light .meta-chip .v,
body.light .geo-item .value,
body.light .details-panel .value,
body.light .details-panel .mono,
body.light .copy-hint-pill,
body.light .modal-card,
body.light .modal-pre,
body.light code,
body.light strong,
body.light .menu-link-label,
body.light .toplinks a,
body.light .status-table,
body.light .status-table td,
body.light .status-table th{color:#10202f}
body.light .copy-hint-pill{background:rgba(255,255,255,.92);border:1px solid rgba(16,32,47,.12)}
body.light .modal-card{background:linear-gradient(180deg,#ffffff,#f4f9fd);border-color:rgba(16,32,47,.1)}
body.light .modal-pre,
body.light .console-output,
body.light .output{background:linear-gradient(180deg,#ffffff,#f5faff)!important;color:#10202f!important;border-color:rgba(16,32,47,.1)!important}
body.light .input::placeholder{color:#728296}
body.light .nav-toggle,
body.light .header-icon-btn,
body.light .theme-option,
body.light .mobile-nav.menu-sheet,
body.light .menu-link,
body.light .header-popover{background:rgba(255,255,255,.96);border-color:rgba(16,32,47,.1);color:#10202f}
body.light .nav-toggle::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f3148' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h16'/%3E%3C/svg%3E")}
body.light .menu-section-title{color:#007db8}
body.light .menu-link-arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E")}
body.light .theme-option:hover,
body.light .menu-link:hover,
body.light .header-icon-btn:hover,
body.light .nav-toggle:hover{background:#f3f8fc}
.status-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.status-metric{display:grid;gap:8px;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.status-label{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.status-value{font-size:1.35rem;font-weight:800;letter-spacing:-.03em;color:var(--text)}
.status-detail{color:var(--muted);line-height:1.45}
.status-table{width:100%;border-collapse:collapse;border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.02)}
.status-table th,.status-table td{padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;vertical-align:top}
.status-table th{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.status-table tr:last-child td{border-bottom:none}
.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.08);font-size:.82rem;font-weight:800}
.status-ok{color:#0fce7d}
.status-err{color:#ff6476}
.status-badge.status-ok{background:rgba(15,206,125,.1);border-color:rgba(15,206,125,.22)}
.status-badge.status-err{background:rgba(255,100,118,.1);border-color:rgba(255,100,118,.22)}
body.light .status-metric{background:rgba(255,255,255,.92);border-color:rgba(16,32,47,.1)}
body.light .status-label{color:#007db8}
body.light .status-value{color:#10202f}
body.light .status-detail{color:#516274}
body.light .status-table{background:rgba(255,255,255,.96);border-color:rgba(16,32,47,.1)}
body.light .status-table th,body.light .status-table td{border-bottom-color:rgba(16,32,47,.08)}
body.light .status-table th{color:#007db8}

/* v56 corrected bundle layout */
.site-header{grid-template-columns:minmax(0,1fr)}
.header-main{width:100%}
.brand{flex:1 1 auto;min-width:0}
.header-actions{flex:0 0 auto;justify-content:flex-end}
@media (max-width:560px){
  .header-main{align-items:center}
  .brand{min-width:0}
  .logo-text{font-size:1.42rem}
  .header-actions{margin-left:auto}
}
@media (min-width:961px){
  .header-actions{margin-left:auto}
}

/* v56 status cards + overlay menu */
.mobile-menu-backdrop{position:fixed;inset:0;background:rgba(3,10,16,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:58}
.mobile-menu-backdrop.hidden{display:none!important}
.mobile-nav.menu-sheet{
  position:fixed;
  top:84px;
  right:12px;
  left:auto;
  width:min(360px,calc(100vw - 24px));
  max-height:calc(100vh - 104px);
  overflow:auto;
  z-index:59;
  margin:0;
}
@media (min-width:641px) and (max-width:960px){
  .mobile-nav.menu-sheet{width:min(420px,calc(100vw - 32px));right:16px;top:92px}
}
.status-probe-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.status-probe-card{display:grid;gap:12px;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.status-probe-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.status-probe-host code{font-size:1rem;word-break:break-word;overflow-wrap:anywhere}
.status-probe-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:start;padding-top:10px;border-top:1px solid rgba(255,255,255,.06)}
.status-probe-key{font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.status-probe-value{min-width:0;color:var(--text);line-height:1.5}
.status-probe-value code{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.status-empty{color:var(--muted)}
.status-ip-wrap code{word-break:break-all}
body.light .mobile-menu-backdrop{background:rgba(25,40,56,.12)}
body.light .status-probe-card{background:rgba(255,255,255,.94);border-color:rgba(16,32,47,.1)}
body.light .status-probe-key{color:#007db8}
body.light .status-empty{color:#516274}
body.light .status-probe-value,
body.light .status-probe-host code{color:#10202f}

/* v57 menu active states, our-ips page polish, and compact mobile spacing */
.site-links a.is-active,
.mobile-nav a.is-active,
.menu-link.is-active{
  color:var(--text);
  border-color:rgba(31,211,255,.34);
  background:rgba(31,211,255,.1);
  box-shadow:inset 0 0 0 1px rgba(31,211,255,.08);
}
.site-links a.is-active{padding:8px 12px;border-radius:999px}
body.light .site-links a.is-active,
body.light .mobile-nav a.is-active,
body.light .menu-link.is-active{
  border-color:rgba(0,125,184,.28);
  background:rgba(0,125,184,.1);
  color:#10202f;
}
.allowlist-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.allowlist-card .status-probe-key{width:auto}
.compact-note{margin:0 0 2px}
@media (max-width:860px){
  .page{gap:18px}
  .hero{padding:6px 14px 0}
  .console-main{gap:8px}
  .seo{padding-top:16px;padding-bottom:16px}
  .details-panel .meta-chip{padding:11px 13px}
}
@media (max-width:560px){
  .page{gap:16px}
  .site-header{margin-bottom:10px}
  .hero{padding:2px 14px 0}
  .lede{margin-top:8px}
  .copy-hint{margin:8px 0 0}
  .console-bar{padding:14px 14px}
  .console-main{padding:10px;gap:8px}
  .details-head{margin-bottom:2px}
  .tool-pills-panel{margin-top:8px}
  .issue-panel{margin-top:8px}
  .academy-page{gap:16px}
  .academy-hero-card,.academy-grid-card,.academy-article-card,.academy-related-card,.academy-faq-card{padding:14px}
  .mobile-nav.menu-sheet{top:78px}
  .allowlist-grid{grid-template-columns:1fr}
}

/* v59 glossary polish and direct Our IPs navigation */
.glossary-intro-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}
.glossary-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.glossary-section-card .academy-section p:last-child{margin-bottom:0}
.glossary-helper-list{margin:8px 0 0;padding-left:18px;color:#d0dee9;line-height:1.62}
.glossary-helper-list li + li{margin-top:6px}
.glossary-mini-note{margin:10px 0 0;color:var(--muted);font-size:.83rem;line-height:1.5}
.glossary-row dd a{color:#bff3ff}
body.light .glossary-helper-list{color:#516274}
@media (max-width:860px){
  .glossary-intro-grid,.glossary-section-grid{grid-template-columns:1fr}
}

.faq-start-card{display:grid;gap:14px;margin-bottom:16px}
.faq-start-callout{margin-bottom:0}
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.contact-form{display:grid;gap:14px}
.contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.contact-textarea{min-height:180px;resize:vertical}
.contact-form-status{padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:var(--text);line-height:1.5}
.contact-form-status[data-kind='success']{border-color:rgba(0,255,139,.28);background:rgba(0,255,139,.08);color:#dffbf0}
.contact-form-status[data-kind='error']{border-color:rgba(255,100,118,.34);background:rgba(255,100,118,.08);color:#ffd9de}
.contact-form-status[data-kind='pending']{border-color:rgba(31,211,255,.28);background:rgba(31,211,255,.08);color:#dff6ff}
.contact-honeypot{position:absolute !important;left:-9999px !important;opacity:0 !important;pointer-events:none !important;height:0 !important;width:0 !important;overflow:hidden !important}
.contact-actions{justify-content:flex-start}
.academy-page .glossary-section-card .academy-section p{color:var(--muted)}
@media (max-width: 860px){
  .contact-grid,.contact-form-grid{grid-template-columns:1fr}
}
body.light .contact-form-status{background:#fff;border-color:rgba(8,19,27,.1);color:#1e2b38}
body.light .contact-form-status[data-kind='success']{background:#eefcf4;color:#0f5a30;border-color:rgba(15,90,48,.16)}
body.light .contact-form-status[data-kind='error']{background:#fff0f3;color:#8f2435;border-color:rgba(143,36,53,.14)}
body.light .contact-form-status[data-kind='pending']{background:#eef8ff;color:#154d78;border-color:rgba(21,77,120,.14)}

/* v65 footer issue link and contact form polish */
.build-subtle-wrap{display:block;margin-top:6px}
.build-subtle-link{color:rgba(207,227,242,.56);text-decoration:none;border-bottom:1px solid transparent;transition:color .18s ease,border-color .18s ease}
.build-subtle-link:hover,.build-subtle-link:focus-visible{color:#9fdfff;border-color:rgba(159,223,255,.42)}
body.light .build-subtle-link{color:rgba(12,42,66,.55)}
body.light .build-subtle-link:hover,body.light .build-subtle-link:focus-visible{color:#007db8;border-color:rgba(0,125,184,.32)}
.contact-turnstile-host{min-height:70px;display:flex;align-items:flex-start;justify-content:flex-start}
.contact-gate-wrap{display:grid;gap:6px}
.contact-ready-gate{display:flex;align-items:center;gap:10px;color:var(--text);font-size:.97rem;line-height:1.45}
.contact-ready-gate input{width:18px;height:18px;margin:0;accent-color:#1fd3ff}
.contact-gate-help{margin:0;color:var(--muted);font-size:.92rem}
body.light .contact-ready-gate{color:#173047}
body.light .contact-gate-help{color:#5f7386}

/* v65 content link clarity and contact page simplification */
.content-link,
.lede a,
.small-lede a,
.academy-section p a,
.academy-section li a,
.academy-callout p a,
.glossary-mini-note a,
.glossary-row dd a,
.details-body a,
.faq details p a,
.faq details li a,
.contact-form-status a{
  color:#c9f4ff;
  text-decoration:underline;
  text-decoration-color:rgba(159,223,255,.42);
  text-underline-offset:3px;
  text-decoration-thickness:1.2px;
  transition:color .18s ease,text-decoration-color .18s ease;
}
.content-link:hover,
.content-link:focus-visible,
.lede a:hover,
.lede a:focus-visible,
.small-lede a:hover,
.small-lede a:focus-visible,
.academy-section p a:hover,
.academy-section p a:focus-visible,
.academy-section li a:hover,
.academy-section li a:focus-visible,
.academy-callout p a:hover,
.academy-callout p a:focus-visible,
.glossary-mini-note a:hover,
.glossary-mini-note a:focus-visible,
.glossary-row dd a:hover,
.glossary-row dd a:focus-visible,
.details-body a:hover,
.details-body a:focus-visible,
.faq details p a:hover,
.faq details p a:focus-visible,
.faq details li a:hover,
.faq details li a:focus-visible,
.contact-form-status a:hover,
.contact-form-status a:focus-visible{
  color:#e8fbff;
  text-decoration-color:rgba(224,248,255,.78);
}
.quick-links-note{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  align-items:center;
}
.quick-links-note a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-weight:600;
}
.quick-links-note a::after{
  content:"";
  width:12px;
  height:12px;
  flex:0 0 12px;
  opacity:.82;
  background-repeat:no-repeat;
  background-position:center;
  background-size:12px 12px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfefff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}
@media (max-width: 860px){
  .contact-grid{gap:14px;}
}
body.light .content-link,
body.light .lede a,
body.light .small-lede a,
body.light .academy-section p a,
body.light .academy-section li a,
body.light .academy-callout p a,
body.light .glossary-mini-note a,
body.light .glossary-row dd a,
body.light .details-body a,
body.light .faq details p a,
body.light .faq details li a,
body.light .contact-form-status a{
  color:#007db8;
  text-decoration-color:rgba(0,125,184,.32);
}
body.light .content-link:hover,
body.light .content-link:focus-visible,
body.light .lede a:hover,
body.light .lede a:focus-visible,
body.light .small-lede a:hover,
body.light .small-lede a:focus-visible,
body.light .academy-section p a:hover,
body.light .academy-section p a:focus-visible,
body.light .academy-section li a:hover,
body.light .academy-section li a:focus-visible,
body.light .academy-callout p a:hover,
body.light .academy-callout p a:focus-visible,
body.light .glossary-mini-note a:hover,
body.light .glossary-mini-note a:focus-visible,
body.light .glossary-row dd a:hover,
body.light .glossary-row dd a:focus-visible,
body.light .details-body a:hover,
body.light .details-body a:focus-visible,
body.light .faq details p a:hover,
body.light .faq details p a:focus-visible,
body.light .faq details li a:hover,
body.light .faq details li a:focus-visible,
body.light .contact-form-status a:hover,
body.light .contact-form-status a:focus-visible{
  color:#005b86;
  text-decoration-color:rgba(0,91,134,.46);
}
body.light .quick-links-note a::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}

/* v75 multi-probe selector */
.probe-selector-wrap{display:grid;gap:8px;margin:14px 0 4px;padding:14px 16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.022)}
.probe-selector-label{font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.probe-selector-control{position:relative}
.probe-selector-select{width:100%;appearance:none;-webkit-appearance:none;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(4,15,24,.85);color:var(--text);padding:13px 44px 13px 14px;font:inherit;line-height:1.3;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.probe-selector-control::after{content:"";position:absolute;right:14px;top:50%;width:12px;height:12px;pointer-events:none;transform:translateY(-50%);background-repeat:no-repeat;background-position:center;background-size:12px 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239fdfff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E")}
.probe-selector-select:focus-visible{outline:none;border-color:rgba(31,211,255,.48);box-shadow:0 0 0 3px rgba(31,211,255,.14)}
.probe-selector-help{margin:0;color:var(--muted);font-size:.93rem;line-height:1.5}
body.light .probe-selector-wrap{background:rgba(255,255,255,.94);border-color:rgba(8,19,27,.08)}
body.light .probe-selector-label{color:#007db8}
body.light .probe-selector-select{background:#fff;color:#10202f;border-color:rgba(16,32,47,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
body.light .probe-selector-control::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23007db8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7l5 5 5-5'/%3E%3C/svg%3E")}
body.light .probe-selector-help{color:#5f7386}
@media (max-width: 640px){.probe-selector-wrap{padding:13px 14px;margin-top:12px}}

/* v76 modal cleanup and polish */
html,body{overflow-x:hidden}
html.modal-open,body.modal-open{overflow:hidden;touch-action:none;overscroll-behavior:none}
.modal{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow:auto;overscroll-behavior:contain}
.modal.hidden{display:none}
.modal-card{position:relative;width:min(680px,calc(100vw - 32px));max-width:680px;max-height:calc(100dvh - 32px);margin:0;overflow:hidden}
.tool-modal-card{display:flex;flex-direction:column;gap:0;border-radius:22px;padding:18px 18px 16px;max-width:680px}
.tool-modal-body{display:grid;gap:10px;overflow:auto;padding-right:2px;min-width:0}
.tool-modal-help{font-size:.9rem;line-height:1.5;color:var(--muted);margin:0 0 2px}
.tool-modal-form{gap:10px}
.tool-modal-actions{margin-top:2px}
.tool-advanced{gap:8px;padding:10px 12px;border-radius:18px;border-color:rgba(255,255,255,.10);background:rgba(255,255,255,.028)}
.tool-advanced-body{gap:10px}
.tool-advanced-grid{gap:10px}
.tool-advanced-summary{font-size:.88rem;line-height:1.48}
.tool-field{gap:5px}
.tool-field-label{font-size:.78rem}
.tool-field-example{font-size:.72rem}
.tool-field .input,.tool-field-select .input{padding:13px 15px;border-radius:18px}
.tool-modal-body,.tool-modal-help,.tool-advanced,.tool-advanced *{-webkit-touch-callout:none}
.tool-modal-body input,.tool-modal-body textarea,.tool-modal-body select{-webkit-touch-callout:default}
.quickbar{display:none!important}
.output,.console-output{max-width:100%;width:100%;min-width:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.console-shell,.console-live,.details-panel,.tool-pills-panel,.tool-tabs{min-width:0}
.tool-tabs .tab.active{border-color:rgba(31,211,255,.62);background:rgba(31,211,255,.14);box-shadow:inset 0 0 0 1px rgba(31,211,255,.14)}
.mini-pill,.btn,.summary-pill,.tab,.protocol-card,.copy-chip,.icon-btn{border-color:rgba(255,255,255,.14)}
.mini-pill:hover,.btn:hover,.summary-pill:hover,.tab:hover,.protocol-card:hover,.copy-chip:hover,.icon-btn:hover{border-color:rgba(31,211,255,.52)}
.details-grid{gap:7px}
.geo-item{padding:9px 11px}
.meta-chip{padding:11px 13px}
body.light .mini-pill,body.light .btn,body.light .summary-pill,body.light .tab,body.light .protocol-card,body.light .copy-chip,body.light .icon-btn,body.light .input,body.light .tool-advanced{border-color:rgba(16,32,47,.14)!important}
body.light .mini-pill:hover,body.light .btn:hover,body.light .summary-pill:hover,body.light .tab:hover,body.light .protocol-card:hover,body.light .copy-chip:hover,body.light .icon-btn:hover{border-color:rgba(0,125,184,.38)!important}
body.light .tool-tabs .tab.active,body.light .mini-pill.active,body.light .protocol-card.active{border-color:rgba(0,125,184,.48)!important;background:rgba(0,125,184,.1)!important;box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)}
body.light .tool-modal-help,body.light .tool-advanced-summary,body.light .tool-field-example{color:#4e6174}
body.light .tool-field-label,body.light .panel-title,body.light .section-title{color:#10202f}
body.light .status-line[data-kind='success']{background:rgba(24,122,67,.1);border-color:rgba(24,122,67,.2)}
body.light .status-line[data-kind='running']{background:rgba(191,133,0,.1);border-color:rgba(191,133,0,.22)}
body.light .theme-option{position:relative}
.theme-option.active{border-color:rgba(31,211,255,.4);background:rgba(31,211,255,.14);box-shadow:inset 0 0 0 1px rgba(31,211,255,.12)}
body.light .theme-option.active{border-color:rgba(0,125,184,.35);background:rgba(0,125,184,.09);box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)}
.theme-option.active::after{content:'✓';margin-left:auto;font-size:.92rem;font-weight:800;color:currentColor}
@media (max-width: 860px){
  .modal{padding:14px}
  .modal-card{width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 28px)}
  .tool-modal-card{padding:16px 16px 14px;border-radius:20px}
}
@media (max-width: 560px){
  .modal{padding:12px}
  .modal-card{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
  .tool-modal-card{padding:14px 14px 12px;border-radius:18px}
  .tool-modal-body{gap:9px}
  .tool-advanced{padding:9px 11px;gap:7px}
  .details-grid{gap:6px}
  .meta-chip,.geo-item{padding:10px 12px}
}
@media (orientation: landscape) and (max-width: 980px){
  .modal{align-items:flex-start;padding:10px}
  .modal-card{max-height:calc(100dvh - 20px)}
  .tool-modal-card{width:min(760px,calc(100vw - 20px))}
}

/* v77 modal lock and definition pass */
:root{--pill-line-dark:rgba(255,255,255,.18);--pill-line-dark-hover:rgba(31,211,255,.58);--pill-line-light:rgba(16,32,47,.24);--pill-line-light-hover:rgba(16,32,47,.34)}
html.modal-open,body.modal-open{overflow:hidden!important;overscroll-behavior:none!important}
body.modal-open{position:fixed;inset:0;touch-action:none}
.modal{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-start;justify-content:center;padding:clamp(14px,3vw,22px);overflow:hidden;overscroll-behavior:none}
.modal.hidden{display:none!important}
.modal-backdrop{position:fixed!important;inset:0;background:rgba(2,8,14,.74)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.modal-card{position:relative;width:min(640px,calc(100vw - 40px));max-width:640px;max-height:calc(100dvh - 34px);margin:0;overflow:hidden}
.tool-modal-card{display:flex;flex-direction:column;gap:0;padding:18px 18px 16px;border-radius:22px;max-width:640px}
.tool-modal-body{display:grid;gap:10px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;padding-right:2px;scrollbar-gutter:stable both-edges}
.tool-modal-actions{margin-top:0;padding-top:2px}
.tool-modal-form{gap:10px}
.tool-modal-help{margin:0 0 2px;font-size:.9rem;line-height:1.48;color:var(--muted);user-select:none;-webkit-user-select:none}
.tool-advanced{gap:8px;padding:10px 12px;border-radius:18px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.028)}
.tool-advanced-body{gap:10px}
.tool-advanced-grid{gap:10px}
.tool-advanced-summary{font-size:.88rem;line-height:1.48;color:var(--muted);user-select:none;-webkit-user-select:none}
.tool-field{gap:5px}.tool-field-label,.tool-field-example{-webkit-user-select:none;user-select:none}
.tool-field .input,.tool-field-select .input{padding:13px 15px;border-radius:18px}
.quickbar,#quickbar{display:none!important}
.console-output,.output,#terminalOut{max-width:100%;width:100%;min-width:0;overflow-x:hidden!important;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.console-line{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.mini-pill,.btn,.summary-pill,.tab,.protocol-card,.copy-chip,.icon-btn{border-color:var(--pill-line-dark)}
.mini-pill:hover,.btn:hover,.summary-pill:hover,.tab:hover,.protocol-card:hover,.copy-chip:hover,.icon-btn:hover{border-color:var(--pill-line-dark-hover)}
.tool-tabs .tab.active,.mini-pill.active,.protocol-card.active{border-color:rgba(31,211,255,.68)!important;background:rgba(31,211,255,.14)!important;box-shadow:inset 0 0 0 1px rgba(31,211,255,.14)}
.details-grid{gap:7px}.meta-chip{padding:10px 13px}
body.light .mini-pill,body.light .btn,body.light .summary-pill,body.light .tab,body.light .protocol-card,body.light .copy-chip,body.light .icon-btn,body.light .input,body.light .tool-advanced,body.light .probe-selector-wrap,body.light .probe-selector-select{border-color:var(--pill-line-light)!important}
body.light .mini-pill:hover,body.light .btn:hover,body.light .summary-pill:hover,body.light .tab:hover,body.light .protocol-card:hover,body.light .copy-chip:hover,body.light .icon-btn:hover{border-color:var(--pill-line-light-hover)!important}
body.light .tool-tabs .tab.active,body.light .mini-pill.active,body.light .protocol-card.active{border-color:rgba(16,32,47,.38)!important;background:rgba(0,125,184,.08)!important;box-shadow:inset 0 0 0 1px rgba(16,32,47,.08)}
body.light .card,body.light .console,body.light .seo,body.light .issue-panel,body.light .geo-panel,body.light .details-panel,body.light .summary-card,body.light .academy-grid-card,body.light .academy-article-card,body.light .academy-related-card,body.light .academy-faq-card{border-color:rgba(16,32,47,.12)!important}
body.light .tool-modal-help,body.light .tool-advanced-summary,body.light .tool-field-example,body.light .lede,body.light .result-sub,body.light .build-footer,body.light .geo-caption{color:#44576a}
body.light .probe-selector-help,body.light .issue-summary,body.light #issueText,body.light .issue-reasons,body.light .muted{color:#506375}
body.light .status-line,body.light .status-strip,body.light .console-meta-time,body.light .console-output,body.light .output{border-color:rgba(16,32,47,.14)!important}
body.light .status-strip[data-kind='warning'],body.light .status-line[data-kind='warning']{background:rgba(191,133,0,.11);border-color:rgba(191,133,0,.24)!important}
body.light .status-strip[data-kind='success'],body.light .status-line[data-kind='success']{background:rgba(24,122,67,.1);border-color:rgba(24,122,67,.22)!important}
body.light .tool-modal-card{background:#f8fbfe}
body.light .tool-advanced{background:#fbfdff}
body.light .meta-chip,body.light .geo-item{background:#fff}
@media (max-width:860px){
  .modal{padding:16px}
  .modal-card{width:min(620px,calc(100vw - 34px));max-height:calc(100dvh - 28px)}
  .tool-modal-card{padding:16px 16px 14px;border-radius:20px}
}
@media (max-width:560px){
  .modal{padding:14px}
  .modal-card{width:calc(100vw - 28px);max-height:calc(100dvh - 26px)}
  .tool-modal-card{padding:14px 14px 12px;border-radius:18px}
}
@media (orientation: landscape) and (max-width:980px){
  .modal{padding:10px 16px}
  .modal-card{width:min(700px,calc(100vw - 48px));max-height:calc(100dvh - 20px)}
  .tool-modal-card{max-width:700px}
}

/* v78 landscape modal fit + theme emphasis */
:root{--modal-max-width-v78:620px;--modal-landscape-max-width-v78:560px}
.modal-card{width:min(var(--modal-max-width-v78),calc(100vw - 40px));max-width:var(--modal-max-width-v78);max-height:calc(100dvh - 30px)}
.tool-modal-card{max-width:var(--modal-max-width-v78)}
.theme-option{position:relative;justify-content:flex-start}
.theme-option.active{border-color:rgba(31,211,255,.48);background:linear-gradient(180deg,rgba(31,211,255,.16),rgba(31,211,255,.1));box-shadow:inset 0 0 0 1px rgba(31,211,255,.16),0 0 0 1px rgba(31,211,255,.08)}
.theme-option.active .theme-option-label{font-weight:800}
.theme-option.active::before{content:'';position:absolute;left:10px;top:10px;bottom:10px;width:3px;border-radius:999px;background:currentColor;opacity:.95}
.theme-option.active::after{content:'✓';margin-left:auto;display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;font-size:.8rem;font-weight:900;color:var(--bg);background:currentColor}
body.light .theme-option.active{border-color:rgba(0,125,184,.45);background:linear-gradient(180deg,rgba(0,125,184,.12),rgba(0,125,184,.07));box-shadow:inset 0 0 0 1px rgba(0,125,184,.12),0 0 0 1px rgba(0,125,184,.06)}
body.light .theme-option.active::after{color:#ffffff}
@media (max-width:860px){
  .modal-card{width:min(610px,calc(100vw - 34px));max-height:calc(100dvh - 26px)}
}
@media (max-width:560px){
  .modal-card{width:calc(100vw - 28px);max-height:calc(100dvh - 24px)}
}
@media (orientation: landscape) and (max-width:980px){
  .modal{align-items:center;padding:8px 12px}
  .modal-card{width:min(var(--modal-landscape-max-width-v78),calc(100vw - 24px));max-width:var(--modal-landscape-max-width-v78);max-height:calc(100dvh - 16px)}
  .tool-modal-card{max-width:var(--modal-landscape-max-width-v78);padding:14px 15px 12px;border-radius:18px}
  .tool-modal-body{gap:8px}
  .tool-advanced{padding:9px 10px}
}
@media (orientation: landscape) and (max-width:760px){
  .modal-card{width:min(540px,calc(100vw - 20px));max-width:540px}
  .tool-modal-card{max-width:540px;padding:13px 14px 11px}
}

/* v79 desktop workbench + light-mode pro pass */
body.page-home .hero .small-lede{
  margin-top:8px;
  max-width:820px;
  font-size:clamp(.93rem,1.95vw,1.14rem);
  line-height:1.42;
}
body.page-home .details-panel{margin-top:10px}
body.page-home .details-grid{display:grid;grid-template-columns:1fr;gap:10px}
body.page-home .map-panel{display:grid;gap:8px}
body.page-home .map-panel #mapWrap{min-height:220px}
body.page-home .home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media (min-width: 1100px){
  body.page-home .shell{max-width:1260px;padding-left:20px;padding-right:20px}
  body.page-home .hero{max-width:980px;padding-top:8px;padding-bottom:12px}
  body.page-home .console-main{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    grid-template-areas:
      "head details"
      "family details"
      "actions details"
      "probe details"
      "turnstile details"
      "live details"
      "tabs details"
      "panels details"
      "issue details";
    align-items:start;
    column-gap:18px;
    row-gap:12px;
  }
  body.page-home .result-head{grid-area:head;margin-bottom:0}
  body.page-home .primary-family-grid{grid-area:family}
  body.page-home .action-row.compact-actions{grid-area:actions;margin:0}
  body.page-home .probe-selector-wrap{grid-area:probe;margin-top:0}
  body.page-home #turnstileActionHost{grid-area:turnstile}
  body.page-home .console-live{grid-area:live;margin-top:0}
  body.page-home .tool-pills-panel{grid-area:tabs;margin-top:0}
  body.page-home .tool-panels{grid-area:panels}
  body.page-home .issue-panel{grid-area:issue;margin-top:0}
  body.page-home .details-panel{grid-area:details;position:sticky;top:18px;align-self:start;margin-top:0}
  body.page-home .details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.page-home .details-head{margin-top:8px;margin-bottom:6px;padding-left:2px}
  body.page-home .tool-tabs{gap:10px}
}

@media (min-width: 1400px){
  body.page-home .shell{max-width:1320px}
  body.page-home .console-main{grid-template-columns:minmax(0,1.12fr) minmax(410px,.88fr)}
}

@media (max-width: 1099px){
  body.page-home .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 680px){
  body.page-home .home-card-grid{grid-template-columns:1fr}
}

body.light{
  --bg:#eef2f5;
  --bg2:#e4e9ee;
  --card:#f3f5f7;
  --card2:#f3f5f7;
  --line:rgba(16,32,47,.16);
  --text:#112131;
  --muted:#4d6072;
  --accent:#007db8;
  --accent2:#0a8f5c;
  --warn:#845500;
  --danger:#a7283a;
  --shadow:0 16px 28px rgba(16,32,47,.08);
}
body.light::before{background:#eef2f5}
body.light::after{background:linear-gradient(180deg,#f7f9fb 0%,#eef2f5 48%,#e8edf2 100%)}
body.light .card,
body.light .console,
body.light .seo,
body.light .details-panel,
body.light .academy-hero-card,
body.light .academy-grid-card,
body.light .academy-article-card,
body.light .academy-related-card,
body.light .academy-faq-card,
body.light .summary-card{
  background:var(--card)!important;
  border-color:rgba(16,32,47,.14)!important;
  box-shadow:var(--shadow)!important;
}
body.light .console-bar,
body.light .settings-panel{
  background:#f6f7f9!important;
  border-color:rgba(16,32,47,.12)!important;
}
body.light .primary-ip,
body.light .family-card,
body.light .rdns-line,
body.light .console-meta-time,
body.light .time-chip,
body.light .meta-chip,
body.light .geo-item,
body.light .academy-card-link,
body.light .academy-mini-card,
body.light .academy-callout,
body.light .academy-pill,
body.light .faq details,
body.light .mobile-nav a,
body.light .copy-chip,
body.light .mini-pill,
body.light .tab,
body.light .btn,
body.light .nav-toggle,
body.light .input,
body.light .tool-modal-field,
body.light .issue-link,
body.light .tool-learn-link,
body.light .probe-selector-wrap,
body.light .probe-selector-select{
  background:#f3f5f7!important;
  border-color:rgba(16,32,47,.15)!important;
  color:#112131!important;
}
body.light .console-output,
body.light .output{
  background:#eef2f5!important;
  border-color:rgba(16,32,47,.18)!important;
  color:#1c2b39!important;
}
body.light .status-strip,
body.light .status-line,
body.light .console-meta-time{
  background:#edf1f4!important;
  border-color:rgba(16,32,47,.18)!important;
  color:#233546!important;
}
body.light .strip-meta-row,
body.light .strip-time-main,
body.light .strip-time-sub,
body.light .strip-probe,
body.light .clock-label,
body.light .clock-sub,
body.light .clock-zone,
body.light .time-group,
body.light .console-title{
  color:#31485a!important;
}
body.light #consoleToolStatus{color:#132434!important}
body.light #consoleStatus{color:#274052!important}
body.light .lede,
body.light .small-lede,
body.light .result-sub,
body.light .build-footer,
body.light .tool-help,
body.light .muted,
body.light .geo-caption,
body.light .probe-selector-help,
body.light .academy-card-link span,
body.light .academy-mini-card span,
body.light .academy-callout p,
body.light .clock-sub,
body.light .clock-zone,
body.light .time-chip .sub,
body.light .time-chip .tz{
  color:#4d6072!important;
}
body.light .family-k,
body.light .eyebrow,
body.light .time-chip .k,
body.light .meta-chip .k,
body.light .geo-item .label,
body.light .rdns-line .label,
body.light .issue-hint,
body.light .build-sub{
  color:#007db8!important;
}
body.light .issue-panel{
  background:#f6eff1!important;
  border-color:rgba(167,40,58,.22)!important;
  box-shadow:none!important;
}
body.light .issue-summary,
body.light .issue-panel #issueText,
body.light .issue-reasons{color:#6d3943!important}
body.light .tool-tabs .tab.active,
body.light .mini-pill.active,
body.light .protocol-card.active,
body.light .btn.primary,
body.light .theme-toggle.active{
  background:#d9ebf4!important;
  border-color:rgba(0,125,184,.34)!important;
  color:#0f3148!important;
  box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)!important;
}
body.light .console-output .ok,
body.light .output .ok,
body.light .status-ok,
body.light .tool-status-open{color:#0c6c43!important}
body.light .console-output .warn,
body.light .output .warn,
body.light .status-warn{color:#7c5600!important}
body.light .status-strip[data-kind="running"],
body.light .status-line[data-kind="running"]{background:#f5e8bf!important;color:#6a4c00!important;border-color:rgba(132,85,0,.24)!important}
body.light .status-strip[data-kind="success"],
body.light .status-line[data-kind="success"]{background:#dff1e8!important;color:#0e6940!important;border-color:rgba(10,143,92,.22)!important}
body.light .status-strip[data-kind="error"],
body.light .status-line[data-kind="error"]{background:#f6e3e7!important;color:#8a2434!important;border-color:rgba(167,40,58,.22)!important}
body.light .logo-mark{
  background:#f3f5f7!important;
  border-color:rgba(0,125,184,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 0 0 1px rgba(0,125,184,.05)!important;
}

/* v82 phase 1 workbench structure */
body.page-home .workbench-shell{position:relative;border-color:rgba(31,211,255,.18)!important;box-shadow:0 18px 36px rgba(0,0,0,.22), inset 0 0 0 1px rgba(31,211,255,.05)}
body.page-home .workbench-shell::before{content:'';position:absolute;inset:0;border-radius:24px;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(31,211,255,.12)}
body.page-home .hero .hero-support-match{max-width:820px;margin-top:8px}
body.page-home .tool-tabs-primary{gap:8px}
body.page-home .tool-tabs-utility{gap:8px;padding-top:2px}
body.page-home .tool-tabs-utility .tab{opacity:.92}
body.page-home .tool-tabs .tab-link{cursor:pointer}
body.page-home .issue-title{color:#9fdfff}
body.page-home .issue-summary{color:#cddae4}
body.page-home .console-prompt-label,body.page-home .console-run-label{color:#27d17f;font-weight:800}
body.page-home .console-prompt-text,body.page-home .console-run-text{color:inherit}
body.page-home .strip-status-row.two-line{display:grid;gap:6px}
body.page-home .status-line{min-height:unset;padding:10px 12px;font-size:.78rem;line-height:1.28}
body.page-home .probe-selector-wrap{border-color:rgba(31,211,255,.18)!important;background:rgba(255,255,255,.03)!important;box-shadow:inset 0 0 0 1px rgba(31,211,255,.05)}
body.page-home .probe-selector-label{font-size:.78rem;letter-spacing:.14em;font-weight:900}
body.page-home .probe-selector-help{font-size:.9rem;color:#a5b7c8}
body.page-home .tool-pills-panel{display:grid;gap:10px}
body.page-home .tool-tabs .tab{font-weight:700}
body.page-home .tool-tabs-primary .tab.active{border-color:rgba(31,211,255,.75)!important;background:rgba(31,211,255,.16)!important;box-shadow:inset 0 0 0 1px rgba(31,211,255,.16),0 0 0 1px rgba(31,211,255,.08)}
body.light.page-home .workbench-shell{border-color:rgba(0,125,184,.22)!important;box-shadow:0 16px 28px rgba(16,32,47,.08), inset 0 0 0 1px rgba(0,125,184,.06)!important}
body.light.page-home .workbench-shell::before{box-shadow:inset 0 0 0 1px rgba(0,125,184,.12)}
body.light.page-home .hero .hero-support-match{}
body.light.page-home .probe-selector-wrap{background:#eef2f5!important;border-color:rgba(16,32,47,.2)!important;box-shadow:inset 0 0 0 1px rgba(16,32,47,.04)!important}
body.light.page-home .probe-selector-label{color:#0f3148!important}
body.light.page-home .probe-selector-help{color:#425666!important}
body.light.page-home .status-strip,body.light.page-home .status-line{background:#e9eef2!important;border-color:rgba(16,32,47,.2)!important;color:#1d3040!important}
body.light.page-home .strip-meta-row,body.light.page-home .strip-time-main,body.light.page-home .strip-time-sub,body.light.page-home .strip-probe{color:#2b4153!important}
body.light.page-home #consoleToolStatus,body.light.page-home #consoleStatus{color:#112131!important}
body.light.page-home .console-prompt-label,body.light.page-home .console-run-label{color:#0e7a4d!important}
body.light.page-home .console-output,body.light.page-home .output{background:#e8edf1!important;border-color:rgba(16,32,47,.2)!important;color:#1b2c3a!important}
body.light.page-home .tool-tabs-primary .tab.active{border-color:rgba(0,125,184,.42)!important;background:#dbeaf2!important;box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)!important}
body.light.page-home .tool-tabs-utility .tab{background:#f3f5f7!important;border-color:rgba(16,32,47,.18)!important;color:#112131!important}
body.light.page-home .issue-panel{background:#f3f5f7!important;border-color:rgba(16,32,47,.16)!important;box-shadow:var(--shadow)!important}
body.light.page-home .issue-title{color:#0f3148!important}
body.light.page-home .issue-summary,body.light.page-home .issue-panel #issueText,body.light.page-home .issue-reasons{color:#425666!important}
@media (max-width:860px){body.page-home .hero .hero-support-match{margin-top:8px}}

/* v82 phase 1 closeout */
body.light.page-home{
  background:#edf2f6!important;
}
body.light.page-home::before{
  background:#edf2f6!important;
}
body.light.page-home::after{
  background:radial-gradient(circle at top center,#ffffff 0%,#f2f6fa 44%,#e7edf3 100%)!important;
}
body.light.page-home .card,
body.light.page-home .console,
body.light.page-home .details-panel,
body.light.page-home .geo-panel,
body.light.page-home .issue-panel,
body.light.page-home .seo{
  background:#f4f6f8!important;
  border-color:rgba(16,32,47,.18)!important;
  box-shadow:0 12px 22px rgba(16,32,47,.05)!important;
}
body.light.page-home .console-bar,
body.light.page-home .settings-panel{
  background:#f7f9fb!important;
  border-color:rgba(16,32,47,.14)!important;
}
body.light.page-home .family-card,
body.light.page-home .copy-chip,
body.light.page-home .mini-pill,
body.light.page-home .tool-tabs .tab,
body.light.page-home .btn,
body.light.page-home .input,
body.light.page-home .probe-selector-select{
  background:#fbfcfd!important;
  border-color:rgba(16,32,47,.2)!important;
  color:#10202f!important;
}
body.light.page-home .tool-tabs-primary .tab.active,
body.light.page-home .btn.primary,
body.light.page-home .mini-pill.active{
  background:#d8e9f2!important;
  border-color:rgba(0,125,184,.42)!important;
  color:#0f3148!important;
  box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)!important;
}
body.light.page-home .workbench-shell{
  border-color:rgba(0,125,184,.26)!important;
  box-shadow:0 14px 28px rgba(16,32,47,.06), inset 0 0 0 1px rgba(0,125,184,.06)!important;
}
body.light.page-home .workbench-shell::before{
  box-shadow:inset 0 0 0 1px rgba(0,125,184,.14)!important;
}
body.light.page-home .probe-selector-wrap{
  background:#eef2f5!important;
  border-color:rgba(16,32,47,.24)!important;
  box-shadow:0 0 0 1px rgba(16,32,47,.03), inset 0 0 0 1px rgba(16,32,47,.04)!important;
}
body.page-home .probe-selector-wrap{
  border-color:rgba(31,211,255,.26)!important;
  box-shadow:0 0 0 1px rgba(31,211,255,.05), inset 0 0 0 1px rgba(31,211,255,.07)!important;
}
body.page-home .probe-selector-select{
  font-weight:700;
}
body.page-home .probe-selector-help{
  font-size:.92rem;
}
body.light.page-home .probe-selector-label{
  color:#0f3148!important;
}
body.light.page-home .probe-selector-help{
  color:#344a5e!important;
}
body.light.page-home .probe-selector-select{
  background:#ffffff!important;
  border-color:rgba(16,32,47,.24)!important;
}
body.light.page-home .status-strip,
body.light.page-home .status-line{
  background:#f0f3f6!important;
  border-color:rgba(16,32,47,.24)!important;
  color:#162838!important;
}
body.light.page-home .strip-meta-row,
body.light.page-home .strip-time-main,
body.light.page-home .strip-time-sub,
body.light.page-home .strip-probe,
body.light.page-home .clock-label,
body.light.page-home .clock-value,
body.light.page-home .clock-sub,
body.light.page-home .clock-zone{
  color:#223b4d!important;
}
body.light.page-home .strip-meta-row{
  font-weight:600;
}
body.light.page-home #consoleToolStatus,
body.light.page-home #consoleStatus,
body.light.page-home .console-prompt-text,
body.light.page-home .console-run-text{
  color:#132434!important;
}
body.light.page-home .console-output,
body.light.page-home .output{
  background:#edf1f4!important;
  border-color:rgba(16,32,47,.22)!important;
  color:#182a3a!important;
}
body.light.page-home .issue-panel{
  background:#f4f6f8!important;
  border-color:rgba(126,58,73,.24)!important;
}
body.light.page-home .issue-title{
  color:#0f3148!important;
}
body.light.page-home .issue-summary,
body.light.page-home .issue-panel #issueText,
body.light.page-home .issue-reasons,
body.light.page-home .issue-hint{
  color:#3f5568!important;
}

/* v83 probe status row and theme menu cleanup */
.theme-option-icon::before{content:"";position:absolute;top:0;bottom:0;left:0;width:50%;background:currentColor}
.theme-option-dark::before{left:auto;right:0}
.theme-option-system::before{left:10%;width:82%;background:currentColor;clip-path:polygon(0 100%,100% 0,100% 36%,36% 100%)}
.theme-option-system::after{content:"";position:absolute;inset:3px;border-radius:50%;border:2px solid currentColor;opacity:.72}
.theme-option.active::before,.theme-option.active::after{display:none!important}
.theme-option.active{border-color:rgba(31,211,255,.48);background:linear-gradient(180deg,rgba(31,211,255,.16),rgba(31,211,255,.1));box-shadow:inset 0 0 0 1px rgba(31,211,255,.16),0 0 0 1px rgba(31,211,255,.08)}
.theme-option.active .theme-option-label{font-weight:800}
body.light .theme-option.active{border-color:rgba(0,125,184,.38);background:rgba(0,125,184,.08);box-shadow:inset 0 0 0 1px rgba(0,125,184,.10)}
.theme-option-label{font-weight:700}

.probe-status-wrap{display:grid;gap:8px;margin-top:2px}
.probe-status-title{font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7fa8bf}
.probe-status-pills{display:flex;flex-wrap:wrap;gap:8px}
.probe-status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);color:#d8e4ec;font:inherit;font-size:.72rem;font-weight:800;letter-spacing:.02em;cursor:pointer;transition:.16s ease}
.probe-status-pill:hover{border-color:rgba(31,211,255,.28);background:rgba(31,211,255,.08)}
.probe-status-pill.active{border-color:rgba(31,211,255,.52);background:rgba(31,211,255,.12);box-shadow:inset 0 0 0 1px rgba(31,211,255,.12)}
.probe-status-dot{width:8px;height:8px;border-radius:999px;background:#2bd576;box-shadow:0 0 0 1px rgba(0,0,0,.18)}
.probe-status-pill[data-status="healthy"] .probe-status-dot{background:#2bd576}
.probe-status-pill[data-status="degraded"] .probe-status-dot{background:#f2b94b}
.probe-status-pill[data-status="down"] .probe-status-dot{background:#ea5b67}
body.light.page-home .probe-status-title{color:#506474}
body.light.page-home .probe-status-pill{background:#f7f9fb;border-color:rgba(16,32,47,.16);color:#223747}
body.light.page-home .probe-status-pill:hover{border-color:rgba(0,125,184,.24);background:#eef5f8}
body.light.page-home .probe-status-pill.active{border-color:rgba(0,125,184,.34);background:#dfeef5;box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)}

body.light.page-home .status-strip,
body.light.page-home .status-line{background:#eef2f5!important;border-color:rgba(16,32,47,.28)!important;color:#172b39!important}
body.light.page-home .strip-meta-row,
body.light.page-home .strip-time-main,
body.light.page-home .strip-time-sub,
body.light.page-home .strip-probe{color:#243a4a!important;font-weight:700}
body.light.page-home .strip-meta-row{font-size:.76rem!important;letter-spacing:0}
body.light.page-home .console-prompt-text,
body.light.page-home .console-run-text{color:#172a39!important}
body.light.page-home .console-prompt-label,
body.light.page-home .console-run-label{color:#0c7a4c!important}
body.light.page-home .status-strip[data-kind="running"]{background:#f4e7bf!important;color:#5f4600!important}
body.light.page-home .status-strip[data-kind="success"]{background:#deefe6!important;color:#0f6540!important}
body.light.page-home .status-strip[data-kind="error"]{background:#f5e1e5!important;color:#842838!important}

/* v84 homepage closeout: top action cluster, available probes, shell boundary, and light-row readability */
body.page-home .action-row.compact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.page-home .action-row.compact-actions .btn-primary-tool{width:100%;min-width:0}
body.page-home .action-row.compact-actions .btn-primary-tool:last-child{grid-column:1 / -1}
body.page-home .probe-status-title{content-visibility:auto}
body.light.page-home #localTimeValue,
body.light.page-home #utcTimeValue,
body.light.page-home #probeLabel{color:var(--accent)!important;font-weight:800}
@media (min-width:700px){
  body.page-home .action-row.compact-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.page-home .action-row.compact-actions .btn-primary-tool:last-child{grid-column:auto}
}
@media (max-width:640px){
  body.page-home .workbench-shell{margin-left:4px;margin-right:4px}
}
@media (min-width:1100px){
  body.page-home .page{
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy";
    align-items:start;
    column-gap:18px;
    row-gap:14px;
  }
  body.page-home .hero{grid-area:hero}
  body.page-home .workbench-shell{grid-area:workbench}
  body.page-home .details-panel{grid-area:details;position:sticky;top:18px;align-self:start;margin-top:0}
  body.page-home .academy-launchpad{grid-area:academy}
  body.page-home .console-main{display:grid;grid-template-columns:1fr;grid-template-areas:none;row-gap:10px}
}
@media (min-width:1400px){
  body.page-home .page{grid-template-columns:minmax(0,1.12fr) minmax(410px,.88fr)}
}

/* v87 packaging correction and details heading alignment polish */
body.page-home .shell{padding-top:8px}
body.page-home .action-row.compact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.page-home .action-row.compact-actions .btn-primary-tool{width:100%;min-width:0;white-space:nowrap;padding:10px 10px;font-size:.94rem;line-height:1.1}
body.page-home .action-row.compact-actions .btn-primary-tool:last-child{grid-column:auto}
body.page-home .btn-primary-tool.active{border-color:rgba(31,211,255,.75)!important;background:rgba(31,211,255,.16)!important;box-shadow:inset 0 0 0 1px rgba(31,211,255,.16),0 0 0 1px rgba(31,211,255,.08)}
body.light.page-home .btn-primary-tool.active{border-color:rgba(0,125,184,.42)!important;background:#dbeaf2!important;box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)!important}
body.page-home .btn-primary-tool.running{border-color:rgba(31,211,255,.75)!important;background:rgba(31,211,255,.16)!important;box-shadow:inset 0 0 0 1px rgba(31,211,255,.16),0 0 0 1px rgba(31,211,255,.08)!important}
body.light.page-home .btn-primary-tool.running{border-color:rgba(0,125,184,.42)!important;background:#dbeaf2!important;box-shadow:inset 0 0 0 1px rgba(0,125,184,.08)!important}
body.page-home .status-strip{padding-right:12px!important}
body.page-home .strip-meta-row,body.page-home .strip-status-row{padding-right:0}
body.page-home .status-line{width:100%}
body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:16px;padding-right:16px}
body.page-home .details-head{margin-top:14px!important;margin-bottom:8px!important;padding-left:2px}
body.page-home .details-grid .meta-chip{padding:14px 16px}
body.page-home .map-panel{padding-left:2px;padding-right:2px}
body.page-home .build-footer{padding-left:12px;padding-right:12px}
@media (max-width:560px){
  body.page-home .action-row.compact-actions{gap:7px}
  body.page-home .action-row.compact-actions .btn-primary-tool{padding:9px 8px;font-size:.88rem}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:14px;padding-right:14px}
  body.page-home .details-head{margin-top:16px!important;margin-bottom:8px!important;padding-left:2px}
  body.page-home .details-grid .meta-chip{padding:13px 14px}
}

/* v99 light-mode palette refresh, theme menu polish, and spacing cleanup */
body.light{
  --bg:#eef1f4;
  --bg2:#e6ebf0;
  --card:#fbfcfd;
  --card2:#f5f7fa;
  --line:rgba(24,38,56,.14);
  --text:#17212c;
  --muted:#566679;
  --accent:#2f6fe4;
  --accent2:#67b96b;
  --warn:#96640b;
  --danger:#bb4b5d;
  --shadow:0 14px 28px rgba(17,28,39,.08);
}
html.light,body.light{background:#eef1f4!important}
body.light::before{background:#eef1f4!important}
body.light::after{background:radial-gradient(circle at top center,#ffffff 0%,#f8fafc 36%,#eef1f4 100%)!important}
body.light .card,
body.light .console,
body.light .seo,
body.light .issue-panel,
body.light .geo-panel,
body.light .more-panel,
body.light .details-panel,
body.light .summary-card,
body.light .academy-hero-card,
body.light .academy-grid-card,
body.light .academy-article-card,
body.light .academy-related-card,
body.light .academy-faq-card,
body.light .tool-modal-card{
  background:#fbfcfd!important;
  border-color:rgba(24,38,56,.14)!important;
  box-shadow:0 10px 22px rgba(17,28,39,.06)!important;
}
body.light .console-bar,
body.light .settings-panel,
body.light .tool-modal-head,
body.light .tool-modal-foot,
body.light .header-popover,
body.light .mobile-nav.menu-sheet{
  background:#f8fafc!important;
  border-color:rgba(24,38,56,.12)!important;
}
body.light .header-icon-btn,
body.light .nav-toggle,
body.light .menu-link,
body.light .copy-hint-pill,
body.light .theme-option,
body.light .mini-pill,
body.light .tab,
body.light .btn,
body.light .copy-chip,
body.light .input,
body.light .tool-modal-field,
body.light .probe-selector-wrap,
body.light .probe-selector-select,
body.light .academy-pill,
body.light .academy-card-link,
body.light .academy-mini-card,
body.light .academy-callout,
body.light .faq details,
body.light .meta-chip,
body.light .primary-ip,
body.light .family-card,
body.light .rdns-line{
  background:#ffffff!important;
  border-color:rgba(24,38,56,.16)!important;
  color:#17212c!important;
  box-shadow:none!important;
}
body.light .hero h1,
body.light .section-title,
body.light .panel-title,
body.light .academy-hero-card h1,
body.light .academy-section h2,
body.light .glossary-row dt,
body.light .logo-text,
body.light .site-links a,
body.light .mobile-nav a,
body.light .console-title,
body.light .console-output,
body.light .output,
body.light .status-line,
body.light .status-strip,
body.light .time-chip .v,
body.light .clock-value,
body.light .academy-breadcrumbs a,
body.light .academy-inline-links a,
body.light .tool-modal-copy,
body.light .tool-modal-lead{
  color:#17212c!important;
}
body.light .lede,
body.light .small-lede,
body.light .result-sub,
body.light .academy-card-link span,
body.light .academy-mini-card span,
body.light .academy-callout p,
body.light .academy-updated,
body.light .academy-section p,
body.light .academy-learn-list,
body.light .issue-summary,
body.light .issue-panel #issueText,
body.light .issue-reasons,
body.light .build-footer,
body.light .tool-help,
body.light .mobile-nav,
body.light .site-links,
body.light .console-sub,
body.light .clock-sub,
body.light .clock-zone,
body.light .time-chip .sub,
body.light .time-chip .tz,
body.light .status-prompt,
body.light .muted,
body.light .geo-caption,
body.light .probe-selector-help,
body.light .copy-hint-pill,
body.light .tool-advanced-summary,
body.light .tool-field-help,
body.light .tool-modal-copy p,
body.light .tool-modal-copy li{
  color:#566679!important;
}
body.light .eyebrow,
body.light .family-k,
body.light .primary-label,
body.light .time-chip .k,
body.light .meta-chip .k,
body.light .geo-item .label,
body.light .rdns-line .label,
body.light .academy-kicker,
body.light .menu-section-title,
body.light .probe-selector-label,
body.light .probe-status-title,
body.light .build-sub,
body.light .issue-title{
  color:#4c78b0!important;
}
body.light .console-output,
body.light .output{
  background:#f2f5f8!important;
  border-color:rgba(24,38,56,.18)!important;
  color:#1b2732!important;
}
body.light .tool-tabs .tab.active,
body.light .mini-pill.active,
body.light .protocol-card.active,
body.light .btn.primary,
body.light .theme-option.active,
body.light .btn-primary-tool.active,
body.light .btn-primary-tool.running{
  background:#eaf1ff!important;
  border-color:rgba(47,111,228,.46)!important;
  color:#214b9b!important;
  box-shadow:inset 0 0 0 1px rgba(47,111,228,.12),0 8px 16px rgba(47,111,228,.08)!important;
}
body.light .theme-option{padding:12px 14px;border-radius:16px}
body.light .theme-option:hover,
body.light .menu-link:hover,
body.light .header-icon-btn:hover,
body.light .nav-toggle:hover,
body.light .academy-card-link:hover,
body.light .academy-mini-card:hover,
body.light .mini-pill:hover,
body.light .tab:hover,
body.light .btn:hover,
body.light .copy-chip:hover{
  background:#f4f7fb!important;
  border-color:rgba(47,111,228,.24)!important;
  box-shadow:0 8px 16px rgba(47,111,228,.06)!important;
}
body.light .header-popover{min-width:236px;padding:12px;gap:8px;border-radius:20px;box-shadow:0 20px 40px rgba(17,28,39,.10)!important}
body.light .theme-option.active .theme-option-label{font-weight:800}
body.light .theme-option.active .theme-option-icon{color:#2f6fe4!important}
body.light .theme-option-light{color:#6a7584}
body.light .theme-option-dark{color:#2f6fe4}
body.light .theme-option-system{color:#7890aa}
body.light.page-home .workbench-shell{
  background:#f8fafc!important;
  border-color:rgba(47,111,228,.20)!important;
  box-shadow:0 14px 30px rgba(17,28,39,.08), inset 0 0 0 1px rgba(47,111,228,.04)!important;
}
body.light.page-home .workbench-shell::before{box-shadow:inset 0 0 0 1px rgba(47,111,228,.11)!important}
body.light.page-home .probe-selector-wrap{
  background:#f6f8fb!important;
  border-color:rgba(24,38,56,.16)!important;
  box-shadow:inset 0 0 0 1px rgba(24,38,56,.03)!important;
}
body.light.page-home .probe-selector-select{
  background:#ffffff!important;
  border-color:rgba(24,38,56,.18)!important;
}
body.light.page-home .probe-selector-help{color:#58697a!important}
body.light.page-home .probe-status-pill{background:#ffffff!important;border-color:rgba(24,38,56,.16)!important;color:#223544!important}
body.light.page-home .probe-status-pill.active{background:#eaf1ff!important;border-color:rgba(47,111,228,.40)!important;box-shadow:inset 0 0 0 1px rgba(47,111,228,.10)!important}
body.light.page-home .status-strip,
body.light.page-home .status-line{
  background:#f7fafc!important;
  border-color:rgba(24,38,56,.16)!important;
  color:#1b2834!important;
}
body.light.page-home .strip-meta-row{
  color:#425464!important;
  border-bottom-color:rgba(24,38,56,.10)!important;
  font-weight:700;
}
body.light.page-home #localTimeValue,
body.light.page-home #utcTimeValue,
body.light.page-home #probeLabel{color:#2f6fe4!important;font-weight:800}
body.light.page-home #consoleToolStatus,
body.light.page-home #consoleStatus,
body.light.page-home .console-prompt-text,
body.light.page-home .console-run-text{color:#1a2734!important}
body.light.page-home .console-prompt-label,
body.light.page-home .console-run-label{color:#1f8a57!important}
body.light.page-home .issue-panel{
  background:#fbfcfd!important;
  border-color:rgba(187,75,93,.22)!important;
  box-shadow:0 10px 20px rgba(17,28,39,.04)!important;
}
body.light.page-home .issue-title{color:#4c78b0!important}
body.light.page-home .issue-summary,
body.light.page-home .issue-panel #issueText,
body.light.page-home .issue-reasons,
body.light.page-home .issue-hint{color:#5c6c7c!important}
body.page-home .console-main{gap:12px!important}
body.page-home .probe-selector-wrap,
body.page-home .console-live,
body.page-home .tool-pills-panel,
body.page-home .issue-panel{margin-top:0!important}
body.page-home .probe-selector-wrap,
body.page-home .console-live,
body.page-home .console-shell,
body.page-home .issue-panel{border-radius:18px}
body.page-home .details-panel{padding-left:16px;padding-right:16px}
body.page-home .details-head{margin-top:16px!important;margin-bottom:10px!important;padding-left:2px}
body.page-home .details-grid{gap:8px!important}
body.page-home .details-grid .meta-chip{padding:12px 14px!important}
body.page-home .details-grid .meta-chip .k{margin-bottom:6px}
body.page-home .details-grid .meta-chip .v{font-size:.95rem;line-height:1.42;overflow-wrap:anywhere;word-break:break-word}
body.page-home .map-panel{margin-top:12px!important;padding-top:0!important}
body.page-home .academy-launchpad{padding-left:16px;padding-right:16px}
body.light.page-home .copy-hint-pill{background:#f8fafc!important;border-color:rgba(24,38,56,.14)!important;color:#536272!important}
body.light.page-home .menu-link,
body.light.page-home .nav-toggle,
body.light.page-home .header-icon-btn{background:#f8fafc!important;border-color:rgba(24,38,56,.14)!important;color:#17212c!important}

/* v99 spacing and density cleanup */
body.page-home .console-main{gap:10px!important}
body.page-home .primary-family-grid{gap:8px!important}
body.page-home .action-row.compact-actions{margin:0!important;gap:8px!important}
body.page-home .probe-selector-wrap{margin:0!important;padding:13px 14px!important}
body.page-home .probe-status-wrap{gap:6px!important}
body.page-home .probe-status-pills{gap:6px!important}
body.page-home .console-live{gap:8px!important}
body.page-home .console-top{gap:8px!important}
body.page-home .status-strip{padding:10px 11px!important}
body.page-home .strip-meta-row{padding-bottom:7px!important;margin-bottom:7px!important}
body.page-home .strip-status-row.two-line{gap:5px!important}
body.page-home .status-line{padding:9px 11px!important;line-height:1.24!important}
body.page-home .console-output{min-height:150px;padding:14px 52px 14px 14px!important}
body.page-home .tool-pills-panel{gap:8px!important}
body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:6px!important}
body.page-home .tool-tabs-primary{padding-top:0!important}
body.page-home .tool-tabs-utility{padding-top:0!important}
body.page-home .tool-pills-panel .tab{padding:7px 10px!important;font-size:.84rem!important;line-height:1.15!important}
body.page-home .issue-panel{padding:13px 14px!important}
body.page-home .details-panel{padding-left:14px!important;padding-right:14px!important}
body.page-home .details-head{margin-top:12px!important;margin-bottom:8px!important;padding-left:2px!important}
body.page-home .details-grid{gap:7px!important}
body.page-home .details-grid .meta-chip{padding:11px 13px!important}
body.page-home .details-grid .meta-chip .k{margin-bottom:4px!important}
body.page-home .details-grid .meta-chip .v{font-size:.93rem!important;line-height:1.35!important}
body.page-home .map-panel{margin-top:10px!important}
body.page-home .map-panel #mapWrap{min-height:208px!important}
body.page-home .academy-launchpad{padding-left:14px!important;padding-right:14px!important}
body.page-home .academy-grid{gap:10px!important}
body.page-home .academy-grid-card{padding:14px 15px!important}
body.page-home .build-footer{padding-top:8px!important}

@media (min-width:1100px){
  body.page-home .console-main{column-gap:16px!important;row-gap:10px!important}
  body.page-home .details-panel{padding-left:15px!important;padding-right:15px!important}
  body.page-home .details-grid{gap:8px!important}
  body.page-home .details-grid .meta-chip{padding:11px 13px!important}
}

@media (max-width:860px){
  body.page-home .console-main{gap:9px!important}
  body.page-home .action-row.compact-actions{gap:7px!important}
  body.page-home .probe-selector-wrap{padding:12px 13px!important}
  body.page-home .status-strip{padding:9px 10px!important}
  body.page-home .status-line{padding:8px 10px!important}
  body.page-home .console-output{min-height:142px!important;font-size:.77rem!important;line-height:1.36!important;padding:13px 48px 13px 13px!important}
  body.page-home .tool-pills-panel .tab{padding:7px 9px!important;font-size:.83rem!important}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:13px!important;padding-right:13px!important}
  body.page-home .details-grid .meta-chip{padding:10px 12px!important}
}

@media (max-width:560px){
  body.page-home .console-main{gap:8px!important}
  body.page-home .probe-selector-wrap{padding:11px 12px!important}
  body.page-home .status-strip{padding:8px 9px!important}
  body.page-home .strip-meta-row{padding-bottom:6px!important;margin-bottom:6px!important}
  body.page-home .status-line{padding:8px 9px!important;font-size:.76rem!important}
  body.page-home .console-output{min-height:136px!important;font-size:.75rem!important;line-height:1.34!important;padding:12px 46px 12px 12px!important}
  body.page-home .tool-pills-panel .tab{padding:7px 9px!important;font-size:.81rem!important}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:12px!important;padding-right:12px!important}
  body.page-home .details-head{margin-top:11px!important;margin-bottom:7px!important}
  body.page-home .details-grid{gap:6px!important}
  body.page-home .details-grid .meta-chip{padding:10px 11px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.91rem!important;line-height:1.32!important}
}

@media (orientation: landscape) and (max-width:1100px){
  body.page-home .shell{
    width:min(97vw, calc(100vw - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right)) - 8px))!important;
    max-width:min(97vw, calc(100vw - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right)) - 8px))!important;
    padding-left:max(10px, env(safe-area-inset-left))!important;
    padding-right:max(10px, env(safe-area-inset-right))!important;
    padding-top:4px!important;
  }
  body.page-home .hero{padding-top:2px!important;padding-bottom:8px!important}
  body.page-home .console-main{gap:8px!important}
  body.page-home .action-row.compact-actions{gap:7px!important}
  body.page-home .probe-selector-wrap{padding:11px 12px!important}
  body.page-home .status-strip{padding:8px 10px!important}
  body.page-home .strip-meta-row{padding-bottom:6px!important;margin-bottom:6px!important}
  body.page-home .status-line{padding:8px 10px!important;font-size:.73rem!important;line-height:1.22!important}
  body.page-home .console-output{min-height:128px!important;font-size:.71rem!important;line-height:1.32!important;padding:11px 46px 11px 11px!important}
  body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:5px!important}
  body.page-home .tool-pills-panel .tab{padding:6px 8px!important;font-size:.78rem!important}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:11px!important;padding-right:11px!important}
  body.page-home .details-head{margin-top:10px!important;margin-bottom:6px!important}
  body.page-home .details-grid{gap:5px!important}
  body.page-home .details-grid .meta-chip{padding:9px 10px!important}
  body.page-home .details-grid .meta-chip .k{margin-bottom:3px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.82rem!important;line-height:1.26!important}
  body.page-home .map-panel{margin-top:8px!important}
  body.page-home .map-panel #mapWrap{min-height:190px!important}
  body.page-home .academy-grid{gap:8px!important}
  body.page-home .academy-grid-card{padding:12px 13px!important}
}

/* v100 phase 2.1 responsive layout */
@media (orientation: landscape) and (min-width: 821px) and (max-width: 1100px){
  body.page-home .shell{
    max-width:none!important;
    width:calc(100vw - max(12px, env(safe-area-inset-left)) - max(12px, env(safe-area-inset-right)) - 20px)!important;
    padding-left:max(10px, env(safe-area-inset-left))!important;
    padding-right:max(10px, env(safe-area-inset-right))!important;
    padding-top:4px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy";
    column-gap:12px;
    row-gap:12px;
    align-items:start;
  }
  body.page-home .hero{grid-area:hero;max-width:none!important;padding-top:0!important;padding-bottom:6px!important}
  body.page-home .hero h1{font-size:clamp(1.55rem,3.1vw,2.2rem)!important;line-height:1.06!important;margin-bottom:10px!important}
  body.page-home .hero .lede{max-width:none!important;font-size:.9rem!important;line-height:1.33!important}
  body.page-home .copy-hint{margin-top:8px!important}
  body.page-home .workbench-shell{grid-area:workbench;margin-top:0!important}
  body.page-home .details-panel{grid-area:details;position:sticky;top:10px;align-self:start;margin-top:0!important;padding-left:10px!important;padding-right:10px!important}
  body.page-home .academy-launchpad{grid-area:academy;margin-top:0!important}
  body.page-home .console-main{gap:8px!important}
  body.page-home .result-head{margin-bottom:0!important}
  body.page-home .primary-family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
  body.page-home .family-card{padding:10px 12px!important}
  body.page-home .family-k{font-size:.72rem!important}
  body.page-home .family-v{font-size:1.12rem!important}
  body.page-home .action-row.compact-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important}
  body.page-home .action-row.compact-actions .btn-primary-tool{padding:8px 8px!important;font-size:.82rem!important;line-height:1.08!important}
  body.page-home .probe-selector-wrap{padding:10px 11px!important}
  body.page-home .probe-selector-label{font-size:.72rem!important}
  body.page-home .probe-selector-help{font-size:.82rem!important}
  body.page-home .probe-status-title{font-size:.72rem!important}
  body.page-home .probe-status-pill{padding:6px 9px!important;font-size:.78rem!important}
  body.page-home .status-strip{padding:8px 9px!important}
  body.page-home .strip-meta-row{padding-bottom:6px!important;margin-bottom:6px!important;font-size:.72rem!important}
  body.page-home .strip-status-row.two-line{gap:4px!important}
  body.page-home .status-line{padding:8px 9px!important;font-size:.72rem!important;line-height:1.22!important}
  body.page-home .console-output{min-height:124px!important;padding:11px 42px 11px 11px!important;font-size:.71rem!important;line-height:1.3!important}
  body.page-home .tool-pills-panel{gap:7px!important}
  body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:5px!important}
  body.page-home .tool-pills-panel .tab{padding:6px 8px!important;font-size:.76rem!important;line-height:1.1!important}
  body.page-home .issue-panel{padding:12px 12px!important}
  body.page-home .details-head{margin-top:10px!important;margin-bottom:6px!important}
  body.page-home .details-grid{gap:5px!important}
  body.page-home .details-grid .meta-chip{padding:9px 10px!important}
  body.page-home .details-grid .meta-chip .k{margin-bottom:3px!important;font-size:.69rem!important}
  body.page-home .details-grid .meta-chip .v{font-size:.82rem!important;line-height:1.26!important}
  body.page-home .map-panel{margin-top:8px!important}
  body.page-home .map-panel #mapWrap{min-height:180px!important}
  body.page-home .map-panel .muted{font-size:.8rem!important}
  body.page-home .academy-launchpad{padding-left:11px!important;padding-right:11px!important}
  body.page-home .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}
  body.page-home .academy-card-link{padding:12px 13px!important}
  body.page-home .academy-card-link strong{font-size:.92rem!important}
  body.page-home .academy-card-link span{font-size:.78rem!important;line-height:1.32!important}
}

@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait){
  body.page-home .shell{max-width:980px;padding-left:18px!important;padding-right:18px!important}
  body.page-home .page{gap:18px!important}
  body.page-home .workbench-shell{margin-top:0!important}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:15px!important;padding-right:15px!important}
  body.page-home .details-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-home .details-grid .meta-chip{padding:11px 12px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.92rem!important;line-height:1.33!important}
  body.page-home .map-panel #mapWrap{min-height:230px!important}
  body.page-home .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.page-home .academy-card-link{padding:14px 15px!important}
}

@media (min-width: 1100px){
  body.page-home .shell{max-width:1400px!important;padding-left:24px!important;padding-right:24px!important}
  body.page-home .page{
    grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr)!important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy";
    column-gap:20px!important;
    row-gap:16px!important;
    align-items:start;
  }
  body.page-home .hero{max-width:960px!important;padding-bottom:10px!important}
  body.page-home .workbench-shell{grid-area:workbench}
  body.page-home .details-panel{grid-area:details;position:sticky;top:18px;align-self:start;margin-top:0!important}
  body.page-home .academy-launchpad{grid-area:academy}
  body.page-home .tool-pills-panel .tab{font-size:.87rem!important}
  body.page-home .map-panel #mapWrap{min-height:240px!important}
}

@media (min-width: 1360px){
  body.page-home .shell{max-width:1480px!important}
  body.page-home .page{grid-template-columns:minmax(0,1.05fr) minmax(500px,.95fr)!important}
  body.page-home .details-panel{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(300px,.94fr);
    grid-template-areas:
      "head head"
      "grid map";
    column-gap:14px;
    row-gap:10px;
    align-items:start;
  }
  body.page-home .details-head{grid-area:head;margin-top:12px!important;margin-bottom:4px!important}
  body.page-home .details-grid{grid-area:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-home .map-panel{grid-area:map;margin-top:0!important;padding-left:0!important;padding-right:0!important;align-self:start}
  body.page-home .map-panel #mapWrap{min-height:320px!important}
}

@media (min-width: 1500px){
  body.page-home .page{grid-template-columns:minmax(0,1.04fr) minmax(580px,.96fr)!important}
  body.page-home .details-panel{grid-template-columns:minmax(0,1fr) minmax(340px,.98fr)}
}

/* v101 cleanup pass */
body.page-home .details-grid{gap:6px!important}
body.page-home .details-grid .meta-chip{padding:10px 11px!important}
body.page-home .details-grid .meta-chip .k{margin-bottom:3px!important}
body.page-home .details-grid .meta-chip .v{line-height:1.3!important}
body.page-home .google-map-wrap,
body.page-home .simple-map{width:100%;height:100%}
body.page-home .google-static-map,
body.page-home .google-static-map.skip-lazy{display:block;width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:cover;object-position:center}
body.page-home .map-panel #mapWrap{height:220px!important;min-height:0!important;overflow:hidden;border-radius:18px}
body.page-home .map-panel .google-map-wrap{border-radius:18px;height:100%;min-height:0!important}

@media (max-width:560px){
  body.page-home .details-grid{gap:5px!important}
  body.page-home .details-grid .meta-chip{padding:9px 10px!important}
  body.page-home .details-grid .meta-chip .k{margin-bottom:3px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.9rem!important;line-height:1.28!important}
}

@media (orientation: landscape) and (max-width:1100px){
  body.page-home .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))!important;
    max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))!important;
    padding-left:max(4px, env(safe-area-inset-left))!important;
    padding-right:max(4px, env(safe-area-inset-right))!important;
  }
  body.is-safari .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))!important;
    max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))!important;
    padding-left:max(4px, env(safe-area-inset-left))!important;
    padding-right:max(4px, env(safe-area-inset-right))!important;
  }
  body.page-home .details-grid{gap:4px!important}
  body.page-home .details-grid .meta-chip{padding:8px 9px!important}
  body.page-home .details-grid .meta-chip .k{margin-bottom:2px!important;font-size:.68rem!important}
  body.page-home .details-grid .meta-chip .v{font-size:.8rem!important;line-height:1.22!important}
  body.page-home .map-panel #mapWrap{height:186px!important}
}

@media (orientation: landscape) and (min-width: 821px) and (max-width: 1100px){
  body.page-home .page{
    grid-template-columns:minmax(0,1.42fr) minmax(260px,.58fr);
    column-gap:8px;
    row-gap:10px;
  }
  body.page-home .details-panel{padding-left:8px!important;padding-right:8px!important}
  body.page-home .map-panel #mapWrap{height:198px!important}
}

@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait){
  body.page-home .details-grid{gap:7px!important}
  body.page-home .details-grid .meta-chip{padding:10px 11px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.9rem!important;line-height:1.3!important}
}

@media (min-width: 1100px){
  body.page-home .page{
    grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr)!important;
    column-gap:16px!important;
  }
  body.page-home .details-panel{padding-left:10px!important;padding-right:10px!important}
  body.page-home .details-grid{gap:6px!important}
  body.page-home .details-grid .meta-chip{padding:10px 11px!important}
  body.page-home .details-grid .meta-chip .v{font-size:.9rem!important;line-height:1.28!important}
  body.page-home .map-panel #mapWrap{height:238px!important}
}

@media (min-width: 1360px){
  body.page-home .page{grid-template-columns:minmax(0,1.24fr) minmax(420px,.76fr)!important}
  body.page-home .details-panel{
    grid-template-columns:minmax(0,1fr) minmax(280px,.86fr);
    column-gap:12px;
    row-gap:8px;
  }
  body.page-home .details-grid{gap:7px!important}
  body.page-home .details-grid .meta-chip{padding:10px 11px!important}
  body.page-home .map-panel #mapWrap{height:300px!important}
}

@media (min-width: 1500px){
  body.page-home .page{grid-template-columns:minmax(0,1.28fr) minmax(440px,.72fr)!important}
  body.page-home .details-panel{grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)}
  body.page-home .map-panel #mapWrap{height:318px!important}
}

/* v104 outer-shell-only landscape correction */
@media (orientation: landscape) and (min-width: 821px){
  body.page-home .shell,
  body.is-safari.page-home .shell,
  body.page-home.is-safari .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 12px)!important;
    max-width:1920px!important;
    padding-left:max(6px, env(safe-area-inset-left))!important;
    padding-right:max(6px, env(safe-area-inset-right))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* v106 outer-shell-only landscape width correction */
@media (min-width: 821px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 4px)!important;
    max-width:none!important;
    padding-left:max(2px, env(safe-area-inset-left))!important;
    padding-right:max(2px, env(safe-area-inset-right))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* v106 outer-shell-only iPhone Max landscape width correction */
@media (orientation: landscape) and (min-width: 896px) and (max-height: 500px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:100vw !important;
    max-width:100vw !important;
    padding-left:max(8px, calc(env(safe-area-inset-left) + 2px)) !important;
    padding-right:max(8px, calc(env(safe-area-inset-right) + 2px)) !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}

/* v108 details-panel final polish */
@media (orientation: landscape) and (min-width: 896px) and (max-height: 500px){
  body.page-home .page{
    grid-template-columns:minmax(0,1.32fr) minmax(300px,.68fr) !important;
    column-gap:10px !important;
  }
}

/* v113 console done token parity */
body.light.page-home .line-done{color:#1f8a57!important}

/* v114 standalone portrait safe-area offset + pull to refresh */
body.standalone-app{
  --standalone-pull-offset:0px;
}
body.standalone-app .shell{
  transition:transform .18s ease;
}
body.standalone-app.standalone-pull-active .shell,
body.standalone-app.standalone-refreshing .shell{
  transform:translateY(var(--standalone-pull-offset));
}
body.standalone-app .standalone-pull-refresh{
  position:fixed;
  left:50%;
  top:max(8px, calc(env(safe-area-inset-top, 0px) + 6px));
  z-index:120;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(31,211,255,.26);
  background:rgba(8,19,27,.94);
  color:#dfeef9;
  box-shadow:0 12px 28px rgba(0,0,0,.28);
  transform:translate(-50%, calc(-120% + var(--standalone-pull-offset)));
  opacity:0;
  pointer-events:none;
  transition:transform .18s ease, opacity .18s ease, border-color .18s ease, background .18s ease;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
body.standalone-app .standalone-pull-refresh .ptr-icon{
  color:var(--accent);
  font-weight:800;
  line-height:1;
}
body.standalone-app.standalone-pull-active .standalone-pull-refresh,
body.standalone-app.standalone-refreshing .standalone-pull-refresh{
  opacity:1;
}
body.standalone-app.standalone-pull-armed .standalone-pull-refresh,
body.standalone-app.standalone-refreshing .standalone-pull-refresh{
  border-color:rgba(0,255,139,.34);
  background:rgba(9,29,22,.95);
}
body.light.standalone-app .standalone-pull-refresh{
  border-color:rgba(16,32,47,.18);
  background:rgba(255,255,255,.97);
  color:#10202f;
  box-shadow:0 12px 24px rgba(16,32,47,.14);
}
body.light.standalone-app.standalone-pull-armed .standalone-pull-refresh,
body.light.standalone-app.standalone-refreshing .standalone-pull-refresh{
  border-color:rgba(0,143,79,.34);
  background:rgba(244,255,249,.98);
}

/* v115 light-mode tap-to-copy copied-state parity */
body.light .family-card.copied-feedback,
body.light .meta-chip.copied-feedback,
body.light .copy-chip.copied-feedback,
body.light .icon-btn.copied-feedback,
body.light .mini-copy.copied-feedback,
body.light .small-copy-icon.copied-feedback{
  border-color:rgba(0,255,139,.55)!important;
  background:rgba(0,255,139,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(0,255,139,.08),0 0 0 1px rgba(0,255,139,.06)!important;
}
body.light .family-card.copied-feedback .family-k,
body.light .family-card.copied-feedback .family-v,
body.light .meta-chip.copied-feedback .k,
body.light .meta-chip.copied-feedback .v{
  color:#10202f!important;
}
@media (max-width: 860px) and (orientation: portrait){
  body.standalone-app.standalone-portrait .shell{
    padding-top:calc(env(safe-area-inset-top, 0px) + 22px) !important;
  }
}

/* v116 hide pull-refresh shell outside active standalone states */
.standalone-pull-refresh{display:none!important}
body.standalone-app.standalone-pull-active .standalone-pull-refresh,
body.standalone-app.standalone-pull-armed .standalone-pull-refresh,
body.standalone-app.standalone-refreshing .standalone-pull-refresh{display:inline-flex!important}

/* v117 homepage footer centering in wide layout */
body.page-home .build-footer{
  grid-column:1 / -1;
  justify-self:center;
  width:100%;
  text-align:center;
}

/* v119 responsive repair: preserve phone, repair tablet and desktop */
body.page-home .workbench-shell,
body.page-home .console-main,
body.page-home .console-live,
body.page-home .tool-pills-panel{overflow:visible!important;max-height:none!important}

@media (min-width: 700px) and (max-width: 1099px) and (orientation: portrait){
  body.page-home .shell{max-width:1000px!important;padding-left:20px!important;padding-right:20px!important}
  body.page-home .page{display:grid!important;grid-template-columns:1fr!important;row-gap:18px!important}
  body.page-home .hero{max-width:860px!important}
  body.page-home .workbench-shell{margin-top:0!important}
  body.page-home .console-main{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:none!important;gap:10px!important;padding:18px!important;padding-top:16px!important}
  body.page-home .console-live{gap:8px!important}
  body.page-home .tool-pills-panel{gap:8px!important}
  body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:7px!important}
  body.page-home .tool-pills-panel .tab{min-width:0!important;padding:8px 10px!important;font-size:.84rem!important;line-height:1.15!important}
  body.page-home .details-panel,body.page-home .academy-launchpad{padding-left:16px!important;padding-right:16px!important}
  body.page-home .details-panel{position:static!important;max-width:none!important;width:100%!important;display:block!important}
  body.page-home .details-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-home .details-grid .meta-chip{padding:11px 12px!important}
  body.page-home .details-grid .meta-chip .k{font-size:.72rem!important}
  body.page-home .details-grid .meta-chip .v{font-size:.93rem!important;line-height:1.32!important}
  body.page-home .map-panel{margin-top:10px!important}
  body.page-home .map-panel #mapWrap{height:250px!important;min-height:250px!important}
  body.page-home .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.page-home .academy-card-link{padding:14px 15px!important}
}

@media (orientation: landscape) and (min-width: 821px) and (max-width: 1279px){
  body.page-home .shell{
    width:min(calc(100vw - max(10px, env(safe-area-inset-left)) - max(10px, env(safe-area-inset-right)) - 8px), 1280px)!important;
    max-width:1280px!important;
    padding-left:max(10px, env(safe-area-inset-left))!important;
    padding-right:max(10px, env(safe-area-inset-right))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.page-home .page{
    display:grid!important;
    grid-template-columns:minmax(0,1.34fr) minmax(320px,.66fr)!important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy"!important;
    column-gap:14px!important;
    row-gap:14px!important;
    align-items:start!important;
  }
  body.page-home .hero{grid-area:hero;max-width:none!important;padding-bottom:8px!important}
  body.page-home .workbench-shell{grid-area:workbench;margin-top:0!important}
  body.page-home .academy-launchpad{grid-area:academy;margin-top:0!important}
  body.page-home .console-main{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:none!important;gap:8px!important;padding:12px!important;padding-top:14px!important}
  body.page-home .primary-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-home .family-card{padding:11px 12px!important}
  body.page-home .family-v{font-size:1.12rem!important}
  body.page-home .action-row.compact-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  body.page-home .action-row.compact-actions .btn-primary-tool{padding:8px 8px!important;font-size:.84rem!important;line-height:1.1!important}
  body.page-home .probe-selector-wrap{padding:11px 12px!important}
  body.page-home .probe-selector-help{font-size:.82rem!important}
  body.page-home .probe-status-pill{padding:6px 9px!important;font-size:.78rem!important}
  body.page-home .status-strip{padding:9px 10px!important}
  body.page-home .strip-meta-row{font-size:.74rem!important;gap:8px!important}
  body.page-home .status-line{min-height:auto!important;padding:8px 10px!important;font-size:.78rem!important;line-height:1.26!important}
  body.page-home .console-output{min-height:132px!important;padding:12px 44px 12px 12px!important;font-size:.73rem!important;line-height:1.34!important}
  body.page-home .tool-pills-panel{gap:8px!important}
  body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:6px!important}
  body.page-home .tool-tabs-primary .tab,body.page-home .tool-tabs-utility .tab,body.page-home .tool-pills-panel .tab{min-width:0!important;padding:7px 9px!important;font-size:.8rem!important;line-height:1.12!important}
  body.page-home .issue-panel{margin-top:0!important;padding:12px!important}
  body.page-home .details-panel{
    grid-area:details;
    position:sticky!important;
    top:12px!important;
    align-self:start!important;
    justify-self:end!important;
    width:100%!important;
    max-width:390px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:
      "head"
      "map"
      "grid"!important;
    row-gap:10px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  body.page-home .details-head{grid-area:head;margin-top:10px!important;margin-bottom:2px!important}
  body.page-home .map-panel{grid-area:map;margin-top:0!important;padding-left:0!important;padding-right:0!important}
  body.page-home .map-panel #mapWrap{height:220px!important;min-height:220px!important}
  body.page-home .details-grid{grid-area:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-home .details-grid .meta-chip{padding:10px 11px!important}
  body.page-home .details-grid .meta-chip .k{margin-bottom:3px!important;font-size:.69rem!important}
  body.page-home .details-grid .meta-chip .v{font-size:.86rem!important;line-height:1.28!important}
  body.page-home .home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.page-home .academy-card-link{padding:13px 14px!important}
}

@media (min-width: 1280px){
  body.page-home .shell{max-width:1440px!important;padding-left:22px!important;padding-right:22px!important}
  body.page-home .page{
    display:grid!important;
    grid-template-columns:minmax(0,1.24fr) minmax(380px,.76fr)!important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy"!important;
    column-gap:18px!important;
    row-gap:16px!important;
    align-items:start!important;
  }
  body.page-home .hero{grid-area:hero;max-width:980px!important}
  body.page-home .workbench-shell{grid-area:workbench;margin-top:0!important}
  body.page-home .academy-launchpad{grid-area:academy}
  body.page-home .console-main{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:none!important;gap:10px!important}
  body.page-home .console-live{gap:8px!important}
  body.page-home .tool-pills-panel{gap:8px!important}
  body.page-home .tool-tabs,body.page-home .tool-tabs-primary,body.page-home .tool-tabs-utility{gap:7px!important}
  body.page-home .tool-tabs-primary .tab,body.page-home .tool-tabs-utility .tab,body.page-home .tool-pills-panel .tab{min-width:0!important;padding:8px 10px!important;font-size:.84rem!important;line-height:1.14!important}
  body.page-home .details-panel{
    grid-area:details;
    position:sticky!important;
    top:18px!important;
    align-self:start!important;
    justify-self:end!important;
    width:100%!important;
    max-width:470px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:
      "head"
      "map"
      "grid"!important;
    row-gap:10px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  body.page-home .details-head{grid-area:head;margin-top:10px!important;margin-bottom:2px!important}
  body.page-home .map-panel{grid-area:map;margin-top:0!important;padding-left:0!important;padding-right:0!important}
  body.page-home .map-panel #mapWrap{height:248px!important;min-height:248px!important}
  body.page-home .details-grid{grid-area:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-home .details-grid .meta-chip{padding:11px 12px!important}
  body.page-home .details-grid .meta-chip .k{font-size:.7rem!important}
  body.page-home .details-grid .meta-chip .v{font-size:.9rem!important;line-height:1.3!important}
  body.page-home .home-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  body.page-home .academy-card-link{padding:14px 15px!important}
}

@media (min-width: 1500px){
  body.page-home .page{grid-template-columns:minmax(0,1.26fr) minmax(420px,.74fr)!important}
  body.page-home .details-panel{max-width:500px!important}
  body.page-home .map-panel #mapWrap{height:272px!important;min-height:272px!important}
}

/* v122 breakpoint repair: keep portrait stable, delay 2-up details, restore desktop workbench flow */
body.page-home .console-main > .result-head,
body.page-home .console-main > .primary-family-grid,
body.page-home .console-main > .action-row,
body.page-home .console-main > .probe-selector-wrap,
body.page-home .console-main > #turnstileActionHost,
body.page-home .console-main > .console-live,
body.page-home .console-main > .tool-pills-panel,
body.page-home .console-main > .tool-panels,
body.page-home .console-main > .issue-panel{
  grid-area:auto !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
body.page-home .console-main > *{min-width:0;max-width:none}

@media (max-width: 1279px){
  body.page-home .details-grid{grid-template-columns:1fr !important}
}

@media (orientation: landscape) and (min-width: 821px) and (max-width: 1279px){
  body.page-home .page{
    grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr) !important;
    column-gap:14px !important;
    row-gap:14px !important;
  }
  body.page-home .console-main{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
    gap:10px !important;
    padding:14px !important;
    padding-top:15px !important;
  }
  body.page-home .console-live,
  body.page-home .tool-pills-panel{gap:9px !important}
  body.page-home .issue-panel{
    margin-top:0 !important;
    padding:12px !important;
  }
  body.page-home .details-panel{
    max-width:372px !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  body.page-home .map-panel #mapWrap{
    height:220px !important;
    min-height:220px !important;
  }
}

@media (min-width: 1280px){
  body.page-home .console-main{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
    gap:12px !important;
    padding:16px !important;
    padding-top:16px !important;
  }
  body.page-home .console-live,
  body.page-home .tool-pills-panel{gap:10px !important}
  body.page-home .details-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  body.page-home .details-panel{max-width:440px !important}
  body.page-home .map-panel #mapWrap{
    height:236px !important;
    min-height:236px !important;
  }
}

/* v122 outer-margin and right-rail order repair */
@media (orientation: landscape) and (max-width: 820px){
  body.page-home .shell{
    max-width:none !important;
    padding-left:max(16px, env(safe-area-inset-left)) !important;
    padding-right:max(16px, env(safe-area-inset-right)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{row-gap:16px !important;}
  body.page-home .details-panel,
  body.page-home .academy-launchpad{padding-left:14px !important;padding-right:14px !important;}
}

@media (orientation: landscape) and (min-width: 821px) and (max-width: 1279px){
  body.page-home .shell{
    max-width:1180px !important;
    padding-left:max(24px, calc(env(safe-area-inset-left) + 12px)) !important;
    padding-right:max(24px, calc(env(safe-area-inset-right) + 12px)) !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr) !important;
    column-gap:12px !important;
    row-gap:14px !important;
  }
  body.page-home .details-panel{
    max-width:388px !important;
    grid-template-areas:
      "head"
      "grid"
      "map" !important;
    row-gap:10px !important;
  }
  body.page-home .details-grid{grid-area:grid !important;}
  body.page-home .map-panel{
    grid-area:map !important;
    margin-top:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.page-home .map-panel #mapWrap{height:216px !important;min-height:216px !important;}
}

@media (min-width: 1280px){
  body.page-home .shell{
    max-width:1320px !important;
    padding-left:32px !important;
    padding-right:32px !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr) !important;
    column-gap:14px !important;
    row-gap:16px !important;
  }
  body.page-home .details-panel{
    max-width:420px !important;
    grid-template-areas:
      "head"
      "grid"
      "map" !important;
    row-gap:10px !important;
  }
  body.page-home .details-grid{grid-area:grid !important;}
  body.page-home .map-panel{
    grid-area:map !important;
    margin-top:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.page-home .map-panel #mapWrap{height:236px !important;min-height:236px !important;}
}

@media (min-width: 1500px){
  body.page-home .shell{max-width:1360px !important;}
  body.page-home .page{grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr) !important;column-gap:16px !important;}
  body.page-home .details-panel{max-width:430px !important;}
}

/* v122 finish-carpentry: smarter details threshold, tighter desktop shell, capped IP values, and explicit visibility */
body.page-home .console-main,
body.page-home .workbench-shell,
body.page-home .issue-panel{overflow:visible !important;}
body.page-home .issue-panel{display:block !important;}

@media (max-width: 559px){
  body.page-home .details-grid{grid-template-columns:1fr !important;}
}

@media (min-width: 560px){
  body.page-home .details-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}

@media (orientation: landscape) and (max-width: 820px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:auto !important;
    max-width:1000px !important;
    padding-left:max(16px, calc(env(safe-area-inset-left) + 8px)) !important;
    padding-right:max(16px, calc(env(safe-area-inset-right) + 8px)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    gap:16px !important;
    row-gap:16px !important;
  }
}

@media (min-width: 821px) and (max-width: 1279px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:auto !important;
    max-width:1120px !important;
    padding-left:24px !important;
    padding-right:24px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0,1.1fr) minmax(330px,380px) !important;
    column-gap:12px !important;
    row-gap:16px !important;
  }
  body.page-home .details-panel{
    max-width:380px !important;
  }
}

@media (min-width: 1280px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:auto !important;
    max-width:1240px !important;
    padding-left:28px !important;
    padding-right:28px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0,1.08fr) minmax(340px,390px) !important;
    column-gap:14px !important;
    row-gap:18px !important;
  }
  body.page-home .details-panel{
    max-width:390px !important;
    grid-template-areas:
      "head"
      "grid"
      "map" !important;
  }
  body.page-home .details-grid{gap:8px !important;}
  body.page-home .map-panel{grid-area:map !important; margin-top:0 !important;}
  body.page-home .family-v{
    font-size:clamp(1.18rem,1.45vw,1.7rem) !important;
    line-height:1.08 !important;
  }
}

@media (min-width: 1600px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{max-width:1260px !important;}
  body.page-home .page{column-gap:14px !important;}
}

/* v123 breakpoint carpentry: stabilize in-between widths, keep smart stacked details, and tame oversized IP values */
body.page-home .console-main,
body.page-home .workbench-shell,
body.page-home .details-panel,
body.page-home .academy-launchpad{min-width:0 !important;}

body.page-home .details-panel{
  width:100% !important;
  container-type:inline-size;
}

body.page-home .details-grid{
  grid-template-columns:1fr !important;
  gap:8px !important;
}

body.page-home .details-grid .meta-chip,
body.page-home .details-grid .meta-chip .v,
body.page-home .details-grid .meta-chip .k{
  min-width:0;
}

body.page-home .family-v{
  font-size:clamp(1rem, 0.82rem + 0.9vw, 1.36rem) !important;
  line-height:1.08 !important;
}

@media (max-width: 1179px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:auto !important;
    max-width:1040px !important;
    padding-left:max(16px, calc(env(safe-area-inset-left) + 8px)) !important;
    padding-right:max(16px, calc(env(safe-area-inset-right) + 8px)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.page-home .page{
    grid-template-columns:1fr !important;
    grid-template-areas:none !important;
    column-gap:0 !important;
    row-gap:16px !important;
  }

  body.page-home .hero,
  body.page-home .workbench-shell,
  body.page-home .details-panel,
  body.page-home .academy-launchpad,
  body.page-home .build-footer{
    grid-area:auto !important;
    max-width:none !important;
  }

  body.page-home .details-panel{
    grid-template-areas:
      "head"
      "grid"
      "map" !important;
    row-gap:10px !important;
  }

  body.page-home .map-panel{
    grid-area:map !important;
    margin-top:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

@media (min-width: 700px) and (max-width: 1179px){
  body.page-home .details-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  body.page-home .academy-launchpad .home-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  body.page-home .family-v{
    font-size:clamp(1.06rem, 0.86rem + 0.7vw, 1.26rem) !important;
  }
}

@media (max-width: 699px){
  body.page-home .details-grid{grid-template-columns:1fr !important;}
}

@media (min-width: 1180px) and (max-width: 1499px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    max-width:1260px !important;
    padding-left:28px !important;
    padding-right:28px !important;
  }

  body.page-home .page{
    grid-template-columns:minmax(0,1fr) minmax(320px,360px) !important;
    column-gap:18px !important;
    row-gap:18px !important;
  }

  body.page-home .details-panel{
    max-width:360px !important;
    grid-template-areas:
      "head"
      "grid"
      "map" !important;
    row-gap:10px !important;
  }

  body.page-home .details-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  body.page-home .family-v{
    font-size:clamp(1.08rem, 0.92rem + 0.55vw, 1.28rem) !important;
  }
}

@media (min-width: 1500px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    max-width:1300px !important;
    padding-left:32px !important;
    padding-right:32px !important;
  }

  body.page-home .page{
    grid-template-columns:minmax(0,1.04fr) minmax(340px,390px) !important;
    column-gap:18px !important;
  }

  body.page-home .details-panel{
    max-width:390px !important;
  }

  body.page-home .details-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  body.page-home .family-v{
    font-size:clamp(1.12rem, 0.92rem + 0.45vw, 1.32rem) !important;
  }
}

/* v124 split-sooner, 2-up-later breakpoint correction */
body.page-home .workbench-shell,
body.page-home .workbench-shell::before{
  border-radius:var(--radius)!important;
}
body.page-home .workbench-shell{
  overflow:hidden!important;
  isolation:isolate!important;
  background-clip:padding-box!important;
}
body.page-home .workbench-shell::before{
  inset:0!important;
}
body.page-home .workbench-shell > .console-bar{
  position:relative;
  z-index:0;
  border-top-left-radius:inherit;
  border-top-right-radius:inherit;
  background-clip:padding-box;
}

@media (max-width: 899px){
  body.page-home .page{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "hero"
      "workbench"
      "details"
      "academy"!important;
    row-gap:16px!important;
  }
  body.page-home .hero{grid-area:hero!important;max-width:860px!important}
  body.page-home .workbench-shell{grid-area:workbench!important;max-width:none!important;width:100%!important;justify-self:stretch!important}
  body.page-home .details-panel{
    grid-area:details!important;
    position:relative!important;
    top:auto!important;
    max-width:none!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:none!important;
  }
  body.page-home .details-grid{grid-template-columns:1fr!important}
  body.page-home .academy-launchpad{grid-area:academy!important}
}

@media (min-width: 900px){
  body.page-home .shell{
    width:min(1200px, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
    max-width:1200px!important;
    padding-left:max(8px, env(safe-area-inset-left))!important;
    padding-right:max(8px, env(safe-area-inset-right))!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body.page-home .page{
    display:grid!important;
    grid-template-columns:minmax(560px, 1fr) minmax(300px, 480px)!important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy"!important;
    column-gap:20px!important;
    row-gap:16px!important;
    align-items:start!important;
  }
  body.page-home .hero{
    grid-area:hero!important;
    max-width:920px!important;
    padding-bottom:10px!important;
  }
  body.page-home .workbench-shell{
    grid-area:workbench!important;
    width:100%!important;
    max-width:700px!important;
    justify-self:start!important;
    margin-top:0!important;
  }
  body.page-home .details-panel{
    grid-area:details!important;
    width:100%!important;
    max-width:480px!important;
    justify-self:stretch!important;
    align-self:start!important;
    position:relative!important;
    top:auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:none!important;
    padding-left:14px!important;
    padding-right:14px!important;
    container-name:home-details;
    container-type:inline-size;
  }
  body.page-home .details-head{
    margin-top:12px!important;
    margin-bottom:8px!important;
  }
  body.page-home .details-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  body.page-home .details-grid .meta-chip{
    padding:11px 12px!important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.92rem!important;
    line-height:1.34!important;
  }
  body.page-home .map-panel{
    margin-top:10px!important;
    padding-left:2px!important;
    padding-right:2px!important;
  }
  body.page-home .map-panel #mapWrap{
    height:220px!important;
    min-height:220px!important;
  }
  body.page-home .academy-launchpad{grid-area:academy!important}
  body.page-home .family-card{padding:11px 12px!important}
  body.page-home .family-v{
    font-size:clamp(1.02rem, .84rem + .65vw, 1.34rem)!important;
    line-height:1.12!important;
  }
  body.page-home .primary-value{
    font-size:clamp(1.22rem, .98rem + .85vw, 1.62rem)!important;
  }
}

@media (min-width: 1150px){
  body.page-home .shell{
    width:min(1200px, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)))!important;
    padding-left:max(4px, env(safe-area-inset-left))!important;
    padding-right:max(4px, env(safe-area-inset-right))!important;
  }
  body.page-home .details-panel{
    position:sticky!important;
    top:18px!important;
  }
}

@media (min-width: 1160px){
  body.page-home .details-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  }
}

@supports (container-type: inline-size){
  @media (min-width: 900px){
    body.page-home .details-grid{
      grid-template-columns:1fr!important;
    }
    @container home-details (min-width: 450px){
      body.page-home .details-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr))!important;
      }
    }
  }
}

/* v125 css-only breakpoint repair: split sooner, right rail sane, 2-up only when truly wide */
body.page-home .workbench-shell,
body.page-home .workbench-shell::before{
  border-radius:24px !important;
}
body.page-home .workbench-shell{
  overflow:hidden !important;
  isolation:isolate !important;
  background-clip:padding-box !important;
}
body.page-home .workbench-shell > .console-bar{
  border-top-left-radius:inherit !important;
  border-top-right-radius:inherit !important;
  background-clip:padding-box !important;
}
body.page-home .details-panel{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}
body.page-home .details-head,
body.page-home .details-grid,
body.page-home .map-panel{
  width:100% !important;
}
body.page-home .details-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}
body.page-home .details-grid .meta-chip{
  min-width:0 !important;
}
body.page-home .map-panel{
  display:grid !important;
  gap:8px !important;
  margin-top:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}
body.page-home .map-panel #mapWrap{
  height:220px !important;
  min-height:220px !important;
}
body.page-home .family-card{
  padding:10px 12px !important;
}
body.page-home .family-v{
  font-size:clamp(1.02rem, 0.98rem + 0.55vw, 1.24rem) !important;
  line-height:1.12 !important;
}
body.page-home .primary-value{
  font-size:clamp(1.18rem, 1.06rem + 0.6vw, 1.44rem) !important;
  line-height:1.08 !important;
}

@media (max-width: 899px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(100%, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))) !important;
    max-width:none !important;
    padding-left:max(8px, env(safe-area-inset-left)) !important;
    padding-right:max(8px, env(safe-area-inset-right)) !important;
  }
  body.page-home .page{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:
      "hero"
      "workbench"
      "details"
      "academy" !important;
    row-gap:16px !important;
    column-gap:0 !important;
  }
  body.page-home .hero{grid-area:hero !important; max-width:860px !important;}
  body.page-home .workbench-shell{grid-area:workbench !important; max-width:none !important; width:100% !important; justify-self:stretch !important;}
  body.page-home .details-panel{
    grid-area:details !important;
    position:relative !important;
    top:auto !important;
    max-width:none !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.page-home .details-grid{grid-template-columns:1fr !important;}
  body.page-home .academy-launchpad{grid-area:academy !important;}
}

@media (min-width: 900px) and (max-width: 1169px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(1200px, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px)) !important;
    max-width:1200px !important;
    padding-left:max(8px, env(safe-area-inset-left)) !important;
    padding-right:max(8px, env(safe-area-inset-right)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    display:grid !important;
    grid-template-columns:minmax(560px, 640px) minmax(320px, 1fr) !important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy" !important;
    column-gap:20px !important;
    row-gap:16px !important;
    align-items:start !important;
  }
  body.page-home .hero{grid-area:hero !important; max-width:920px !important; padding-bottom:10px !important;}
  body.page-home .workbench-shell{
    grid-area:workbench !important;
    width:100% !important;
    max-width:640px !important;
    justify-self:start !important;
    margin-top:0 !important;
  }
  body.page-home .details-panel{
    grid-area:details !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    align-self:start !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.page-home .details-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  body.page-home .details-grid .meta-chip{
    padding:11px 12px !important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.93rem !important;
    line-height:1.34 !important;
  }
  body.page-home .map-panel #mapWrap{
    height:220px !important;
    min-height:220px !important;
  }
  body.page-home .family-v{
    font-size:clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem) !important;
  }
  body.page-home .primary-value{
    font-size:clamp(1.18rem, 1.1rem + 0.3vw, 1.34rem) !important;
  }
}

@media (min-width: 1170px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(1200px, calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 8px)) !important;
    max-width:1200px !important;
    padding-left:max(4px, env(safe-area-inset-left)) !important;
    padding-right:max(4px, env(safe-area-inset-right)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    display:grid !important;
    grid-template-columns:minmax(560px, 700px) minmax(450px, 480px) !important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy" !important;
    column-gap:20px !important;
    row-gap:16px !important;
    align-items:start !important;
    justify-content:space-between !important;
  }
  body.page-home .hero{grid-area:hero !important; max-width:920px !important;}
  body.page-home .workbench-shell{
    grid-area:workbench !important;
    width:100% !important;
    max-width:700px !important;
    justify-self:start !important;
    margin-top:0 !important;
  }
  body.page-home .details-panel{
    grid-area:details !important;
    position:sticky !important;
    top:18px !important;
    width:100% !important;
    max-width:480px !important;
    justify-self:stretch !important;
    align-self:start !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.page-home .details-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
  }
  body.page-home .details-grid .meta-chip{
    padding:10px 11px !important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.91rem !important;
    line-height:1.3 !important;
  }
  body.page-home .map-panel #mapWrap{
    height:238px !important;
    min-height:238px !important;
  }
  body.page-home .family-v{
    font-size:clamp(1.06rem, 0.98rem + 0.28vw, 1.2rem) !important;
  }
  body.page-home .primary-value{
    font-size:clamp(1.2rem, 1.12rem + 0.24vw, 1.34rem) !important;
  }
}

/* v126 normal iPhone landscape alignment repair */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 844px) and (max-width: 980px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
    max-width:none !important;
    padding-left:max(4px, env(safe-area-inset-left)) !important;
    padding-right:max(4px, env(safe-area-inset-right)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0, 1fr) minmax(272px, 302px) !important;
    column-gap:12px !important;
    row-gap:14px !important;
    align-items:start !important;
  }
  body.page-home .workbench-shell{
    max-width:none !important;
    min-width:0 !important;
  }
  body.page-home .details-panel{
    max-width:none !important;
    position:relative !important;
    top:auto !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }
  body.page-home .details-grid{
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  body.page-home .details-grid .meta-chip{
    padding:9px 10px !important;
  }
  body.page-home .details-grid .meta-chip .k{
    font-size:.68rem !important;
    margin-bottom:3px !important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.82rem !important;
    line-height:1.25 !important;
  }
  body.page-home .map-panel #mapWrap{
    height:188px !important;
    min-height:188px !important;
  }
}

/* v127 normal iPhone landscape outer-margin tightening */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 844px) and (max-width: 1100px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)) !important;
    max-width:none !important;
    padding-left:env(safe-area-inset-left) !important;
    padding-right:env(safe-area-inset-right) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    grid-template-columns:minmax(0, 1fr) minmax(272px, 302px) !important;
    column-gap:10px !important;
    row-gap:14px !important;
    align-items:start !important;
  }
  body.page-home .details-panel{
    padding-left:4px !important;
    padding-right:4px !important;
  }
}

/* v128 normal iPhone landscape edge-to-edge shell tuning */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 844px) and (max-width: 1100px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 2px) !important;
    max-width:none !important;
    padding-left:max(2px, env(safe-area-inset-left)) !important;
    padding-right:max(2px, env(safe-area-inset-right)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.page-home .page{
    column-gap:8px !important;
    row-gap:14px !important;
  }
  body.page-home .hero,
  body.page-home .academy-launchpad{
    max-width:none !important;
    width:100% !important;
  }
  body.page-home .details-panel{
    padding-left:2px !important;
    padding-right:2px !important;
  }
}

/* v129 normal iPhone landscape safe-edge margin math correction */
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 500px) and (min-width: 844px) and (max-width: 1100px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:auto !important;
    max-width:none !important;
    margin-left:max(2px, env(safe-area-inset-left)) !important;
    margin-right:max(2px, env(safe-area-inset-right)) !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.page-home .page{
    column-gap:8px !important;
    row-gap:14px !important;
  }
  body.page-home .hero,
  body.page-home .academy-launchpad,
  body.page-home .workbench-shell,
  body.page-home .details-panel,
  body.page-home .build-footer{
    width:100% !important;
    max-width:none !important;
  }
  body.page-home .details-panel{
    padding-left:2px !important;
    padding-right:2px !important;
  }
}

/* v130 edge-margin-first shell sizing: use full available width up to 1200px, then center the capped shell */
@media (max-width: 1199px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100dvw - max(6px, env(safe-area-inset-left)) - max(6px, env(safe-area-inset-right))) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
  body.page-home .hero,
  body.page-home .academy-launchpad,
  body.page-home .build-footer{
    width:100% !important;
    max-width:none !important;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 500px) and (min-width: 844px) and (max-width: 1199px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100dvw - max(4px, env(safe-area-inset-left)) - max(4px, env(safe-area-inset-right))) !important;
  }
}

@media (min-width: 1200px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:1200px !important;
    max-width:1200px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

/* v131 normal iPhone landscape: keep a safe Dynamic Island margin but stop early shell capping */
@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 500px) and (min-width: 844px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:calc(100dvw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right))) !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

/* v132 authoritative homepage shell + desktop hero sizing */
body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  max-width:1400px!important;
}

@media (min-width:1100px){
  body.page-home .hero h1{
    font-size:1.5rem!important;
    line-height:1.02!important;
    letter-spacing:-.04em!important;
  }
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(1400px, calc(100dvw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right))))!important;
    max-width:min(1400px, calc(100dvw - max(18px, env(safe-area-inset-left)) - max(18px, env(safe-area-inset-right))))!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* v133 layer-1 homepage shell ownership: one owner per layer, outer shell only */
body.page-home{
  --page-shell-cap-v133: 1400px;
  --page-shell-safe-gutter-v133: 12px;
}

body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  width:min(
    var(--page-shell-cap-v133),
    calc(
      100dvw
      - max(var(--page-shell-safe-gutter-v133), env(safe-area-inset-left))
      - max(var(--page-shell-safe-gutter-v133), env(safe-area-inset-right))
    )
  ) !important;
  max-width:var(--page-shell-cap-v133) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

body.page-home .page{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px){
  body.page-home{
    --page-shell-safe-gutter-v133: 18px;
  }
}

@media (min-width:1400px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:var(--page-shell-cap-v133) !important;
    max-width:var(--page-shell-cap-v133) !important;
  }
}

/* v135 homepage row ownership: cap the main row at 1200px so extra desktop width becomes outer margin, not center gap */
@media (min-width:1170px){
  body.page-home .page{
    width:min(1200px, 100%) !important;
    max-width:1200px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    grid-template-columns:minmax(560px,700px) minmax(450px,480px) !important;
    column-gap:20px !important;
    justify-content:normal !important;
  }
}

/* v136 homepage shell is the single width owner; remove desktop row cap and align hero rails */
body.page-home{
  --page-shell-cap-v136: 1400px;
  --page-shell-safe-gutter-v136: 12px;
}

body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  width:min(
    var(--page-shell-cap-v136),
    calc(
      100dvw
      - max(var(--page-shell-safe-gutter-v136), env(safe-area-inset-left))
      - max(var(--page-shell-safe-gutter-v136), env(safe-area-inset-right))
    )
  ) !important;
  max-width:var(--page-shell-cap-v136) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

body.page-home .page{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px){
  body.page-home{
    --page-shell-safe-gutter-v136: 18px;
  }
}

@media (min-width:1170px){
  body.page-home{
    --page-shell-safe-gutter-v136: 24px;
  }
  body.page-home .page{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    grid-template-columns:minmax(0,1fr) minmax(430px,480px) !important;
    column-gap:20px !important;
    justify-content:normal !important;
  }
  body.page-home .hero{
    width:100% !important;
    max-width:none !important;
    padding-top:8px !important;
    padding-bottom:12px !important;
  }
  body.page-home .hero .lede,
  body.page-home .hero .hero-support-match,
  body.page-home .hero .copy-hint{
    max-width:1000px !important;
  }
  body.page-home .primary-family-grid{
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr) !important;
  }
}

/* v138 homepage shared width owner: align header/hero/page/footer and move extra desktop width to outer margins */
body.page-home{
  --home-frame-cap-v138:1400px;
  --home-frame-gutter-v138:12px;
}

body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding:8px 0 44px !important;
}

body.page-home .site-header,
body.page-home .hero,
body.page-home .page,
body.page-home .build-footer{
  width:min(
    var(--home-frame-cap-v138),
    calc(
      100dvw
      - max(var(--home-frame-gutter-v138), env(safe-area-inset-left))
      - max(var(--home-frame-gutter-v138), env(safe-area-inset-right))
    )
  ) !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.page-home .page{
  max-width:none !important;
  column-gap:20px !important;
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:520px) and (min-width:844px){
  body.page-home{
    --home-frame-gutter-v138:24px;
  }
}

@media (min-width:1100px){
  body.page-home{
    --home-frame-gutter-v138:24px;
  }
  body.page-home .page{
    grid-template-columns:minmax(0, calc(100% - 480px - 20px)) 480px !important;
    justify-content:space-between !important;
    align-items:start !important;
  }
  body.page-home .hero{
    padding-top:8px !important;
    padding-bottom:12px !important;
  }
  body.page-home .hero .lede,
  body.page-home .hero .hero-support-match,
  body.page-home .hero .copy-hint{
    max-width:100% !important;
  }
  body.page-home .primary-family-grid{
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) !important;
  }
}

/* v139 desktop split-column width repair: let the workbench fill its column so extra desktop width becomes outer margin, not center gap */
body.page-home{
  --home-frame-cap-v139: 1400px;
  --home-frame-gutter-v139: 18px;
}

body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding:8px 0 44px !important;
}

body.page-home .site-header,
body.page-home .hero,
body.page-home .page,
body.page-home .build-footer{
  width:min(
    var(--home-frame-cap-v139),
    calc(
      100dvw
      - max(var(--home-frame-gutter-v139), env(safe-area-inset-left))
      - max(var(--home-frame-gutter-v139), env(safe-area-inset-right))
    )
  ) !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.page-home .page{
  width:min(
    var(--home-frame-cap-v139),
    calc(
      100dvw
      - max(var(--home-frame-gutter-v139), env(safe-area-inset-left))
      - max(var(--home-frame-gutter-v139), env(safe-area-inset-right))
    )
  ) !important;
  max-width:none !important;
  justify-content:normal !important;
  align-items:start !important;
}

body.page-home .workbench-shell{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  justify-self:stretch !important;
}

body.page-home .details-panel{
  width:100% !important;
  min-width:0 !important;
  justify-self:stretch !important;
}

@media (min-width: 900px) and (max-width: 1099px) and (min-height: 501px){
  body.page-home .page{
    grid-template-columns:minmax(0, 1fr) minmax(300px, 340px) !important;
    column-gap:14px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .details-panel{
    max-width:340px !important;
  }
}

@media (min-width: 1100px) and (max-width: 1199px){
  body.page-home .page{
    grid-template-columns:minmax(0, 1fr) minmax(360px, 390px) !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .workbench-shell{
    max-width:none !important;
  }
  body.page-home .details-panel{
    max-width:390px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px){
  body.page-home .page{
    width:min(1345px, 100%) !important;
    max-width:1345px !important;
    grid-template-columns:minmax(560px, 700px) minmax(430px, 625px) !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .workbench-shell{
    max-width:700px !important;
  }
  body.page-home .details-panel{
    max-width:625px !important;
  }
}

@media (min-width: 1400px){
  body.page-home .page{
    width:min(1345px, 100%) !important;
    max-width:1345px !important;
    grid-template-columns:700px 625px !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .workbench-shell{
    max-width:700px !important;
  }
  body.page-home .details-panel{
    max-width:625px !important;
  }
}

/* v149 Network Insight interaction + helper-copy refinement */
body.page-home .issue-panel{
  position:relative;
  isolation:isolate;
  cursor:default;
  pointer-events:auto;
}
body.page-home .issue-toggle,
body.page-home .issue-toggle *{
  cursor:pointer;
}
body.page-home .issue-toggle{
  position:relative;
  z-index:2;
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
}
body.page-home .issue-copy,
body.page-home .issue-toggle-meta,
body.page-home .issue-summary,
body.page-home .issue-title,
body.page-home .issue-hint,
body.page-home .issue-chevron{
  pointer-events:none;
}
body.page-home .issue-links,
body.page-home .issue-links *{
  cursor:auto;
}

body.page-home .issue-summary,
body.page-home .issue-panel #issueText,
body.page-home .issue-reasons,
body.page-home .issue-secondary,
body.page-home .issue-hint{
  font-size:.74rem !important;
  line-height:1.32 !important;
}

@media (max-width: 960px){
  body.page-home .issue-summary,
  body.page-home .issue-panel #issueText,
  body.page-home .issue-reasons,
  body.page-home .issue-secondary,
  body.page-home .issue-hint{
    font-size:.72rem !important;
    line-height:1.3 !important;
  }
}

@media (min-width: 961px){
  body.page-home .site-links{
    gap:10px !important;
  }
  body.page-home .site-links a{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    padding:9px 13px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.09);
    background:rgba(255,255,255,.028);
    color:var(--text);
    transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
  }
  body.page-home .site-links a:hover{
    transform:translateY(-1px);
    border-color:rgba(31,211,255,.28);
    background:rgba(31,211,255,.07);
    box-shadow:0 8px 18px rgba(0,0,0,.12);
  }
  body.page-home .site-links a.is-active{
    padding:9px 13px !important;
  }
  body.light.page-home .site-links a{
    border-color:rgba(24,38,56,.14);
    background:#ffffff;
    color:#17212c;
  }
  body.light.page-home .site-links a:hover{
    border-color:rgba(0,125,184,.22);
    background:#f5f9fc;
    box-shadow:0 8px 16px rgba(17,28,39,.06);
  }
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px) and (max-width:1100px){
  body.page-home .details-panel{
    padding-left:12px !important;
    padding-right:12px !important;
  }
  body.page-home .details-grid{
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  body.page-home .details-grid .meta-chip{
    padding:10px 11px !important;
  }
  body.page-home .details-grid .meta-chip .k{
    margin-bottom:3px !important;
    font-size:.69rem !important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.88rem !important;
    line-height:1.28 !important;
  }
}

/* v151 academy heading scale + homepage IP family rebalance revert */
.academy-hero-card h1,
body.light .academy-hero-card h1{
  font-size:clamp(1.375rem, 2.2vw, 1.5rem) !important;
  line-height:1.08 !important;
}

.academy-grid-card .section-title,
.academy-related-card .section-title,
.academy-faq-card .section-title,
.academy-page .section-title,
.tools-page .section-title,
.contact-page .section-title,
.faq-page .section-title,
.glossary-page .section-title,
body.light .academy-grid-card .section-title,
body.light .academy-related-card .section-title,
body.light .academy-faq-card .section-title,
body.light .academy-page .section-title,
body.light .tools-page .section-title,
body.light .contact-page .section-title,
body.light .faq-page .section-title,
body.light .glossary-page .section-title{
  font-size:1rem !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

/* v152 homepage IPv4 content-sized card + IPv6 flex remainder */
body.page-home .primary-family-grid{
  grid-template-columns:max-content minmax(0,1fr) !important;
  gap:8px !important;
}

body.page-home #ipv4Card{
  width:max-content !important;
  min-width:0 !important;
  max-width:100% !important;
  justify-self:start !important;
}

body.page-home #ipv6Card{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}

body.page-home #ipv4Value{
  white-space:nowrap !important;
}

body.page-home #ipv6Value{
  min-width:0 !important;
}

@media (max-width:699px){
  body.page-home .primary-family-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  body.page-home #ipv4Card,
  body.page-home #ipv6Card{
    width:auto !important;
    max-width:none !important;
  }
}

/* v156 canonical site shell + homepage gutter ownership */
:root{
  --site-frame-cap-v156: 1400px;
  --vvw: 100vw;
  --vvh: 100vh;
  --site-frame-gutter-v156: 20px;
  --site-frame-gutter-phone-portrait-v156: 5px;
  --site-frame-gutter-phone-landscape-v156: 30px;
}

.shell,
body.is-safari .shell{
  width:min(
    var(--site-frame-cap-v156),
    calc(
      100vw
      - max(var(--site-frame-gutter-v156), env(safe-area-inset-left))
      - max(var(--site-frame-gutter-v156), env(safe-area-inset-right))
    )
  ) !important;
  max-width:var(--site-frame-cap-v156) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:12px 0 44px !important;
}

.academy-shell{
  max-width:var(--site-frame-cap-v156) !important;
}

@media (max-width:860px){
  .shell,
  body.is-safari .shell{
    padding:8px 0 34px !important;
  }
}

body.page-home .shell,
body.page-home.is-safari .shell,
body.is-safari.page-home .shell{
  width:min(
    var(--site-frame-cap-v156),
    calc(
      100vw
      - max(var(--site-frame-gutter-v156), env(safe-area-inset-left))
      - max(var(--site-frame-gutter-v156), env(safe-area-inset-right))
    )
  ) !important;
  max-width:var(--site-frame-cap-v156) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:8px 0 44px !important;
}

body.page-home .site-header,
body.page-home .hero,
body.page-home .page,
body.page-home .build-footer{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

@media (max-width:939px){
  body.page-home .page{
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-areas:
      "hero"
      "workbench"
      "details"
      "academy" !important;
    row-gap:16px !important;
    column-gap:0 !important;
  }
  body.page-home .hero{grid-area:hero !important;max-width:860px !important;}
  body.page-home .workbench-shell{grid-area:workbench !important;max-width:none !important;width:100% !important;justify-self:stretch !important;}
  body.page-home .details-panel{
    grid-area:details !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    max-width:none !important;
    justify-self:stretch !important;
    align-self:start !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.page-home .details-grid{grid-template-columns:1fr !important;}
  body.page-home .academy-launchpad{grid-area:academy !important;}
}

@media (min-width:940px) and (max-width:1099px) and (min-height:501px){
  body.page-home .page{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(300px, 340px) !important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy" !important;
    column-gap:14px !important;
    row-gap:16px !important;
    justify-content:normal !important;
    align-items:start !important;
  }
  body.page-home .details-panel{
    max-width:340px !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

@media (min-width:1100px) and (max-width:1199px){
  body.page-home .page{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(360px, 390px) !important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy" !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
    align-items:start !important;
  }
  body.page-home .workbench-shell{max-width:none !important;}
  body.page-home .details-panel{
    max-width:390px !important;
    position:relative !important;
    top:auto !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

@media (min-width:1200px) and (max-width:1399px){
  body.page-home .page{
    width:min(1345px, 100%) !important;
    max-width:1345px !important;
    grid-template-columns:minmax(560px, 700px) minmax(430px, 625px) !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .workbench-shell{max-width:700px !important;}
  body.page-home .details-panel{
    max-width:625px !important;
    position:sticky !important;
    top:18px !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

@media (min-width:1400px){
  body.page-home .page{
    width:min(1345px, 100%) !important;
    max-width:1345px !important;
    grid-template-columns:700px 625px !important;
    column-gap:20px !important;
    row-gap:16px !important;
    justify-content:normal !important;
  }
  body.page-home .workbench-shell{max-width:700px !important;}
  body.page-home .details-panel{
    max-width:625px !important;
    position:sticky !important;
    top:18px !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

@media (hover:none) and (pointer:coarse) and (orientation:portrait) and (max-width:820px){
  .shell,
  body.is-safari .shell,
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(
      var(--site-frame-cap-v156),
      calc(
        100vw
        - max(var(--site-frame-gutter-phone-portrait-v156), env(safe-area-inset-left))
        - max(var(--site-frame-gutter-phone-portrait-v156), env(safe-area-inset-right))
      )
    ) !important;
    max-width:var(--site-frame-cap-v156) !important;
  }
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px){
  .shell,
  body.is-safari .shell,
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(
      var(--site-frame-cap-v156),
      calc(
        100vw
        - max(var(--site-frame-gutter-phone-landscape-v156), env(safe-area-inset-left))
        - max(var(--site-frame-gutter-phone-landscape-v156), env(safe-area-inset-right))
      )
    ) !important;
    max-width:var(--site-frame-cap-v156) !important;
  }
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (min-width:844px){
  body.page-home .shell,
  body.page-home.is-safari .shell,
  body.is-safari.page-home .shell{
    width:min(
      var(--site-frame-cap-v156),
      calc(
        100vw
        - max(var(--site-frame-gutter-phone-landscape-v156), env(safe-area-inset-left))
        - max(var(--site-frame-gutter-phone-landscape-v156), env(safe-area-inset-right))
      )
    ) !important;
    max-width:var(--site-frame-cap-v156) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:8px 0 44px !important;
  }
  body.page-home .page{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) minmax(272px, 302px) !important;
    grid-template-areas:
      "hero hero"
      "workbench details"
      "academy academy" !important;
    column-gap:12px !important;
    row-gap:14px !important;
    align-items:start !important;
  }
  body.page-home .workbench-shell{
    max-width:none !important;
    min-width:0 !important;
  }
  body.page-home .details-panel{
    position:relative !important;
    top:auto !important;
    max-width:none !important;
    width:100% !important;
    justify-self:stretch !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }
  body.page-home .details-grid{
    grid-template-columns:1fr !important;
    gap:7px !important;
  }
  body.page-home .details-grid .meta-chip{
    padding:9px 10px !important;
  }
  body.page-home .details-grid .meta-chip .k{
    font-size:.68rem !important;
    margin-bottom:3px !important;
  }
  body.page-home .details-grid .meta-chip .v{
    font-size:.82rem !important;
    line-height:1.25 !important;
  }
  body.page-home .map-panel #mapWrap{
    height:188px !important;
    min-height:188px !important;
  }
}

/* v157 live status foundation */
.probe-live-helper {
  display: grid;
  gap: 2px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.probe-live-line {
  display: block;
}

.probe-live-state {
  font-weight: 800;
}

.probe-live-state--healthy {
  color: #1aff8c;
}

.probe-live-state--warning {
  color: #ffd166;
}

.probe-live-state--offline {
  color: #ff6b7a;
}

.probe-live-state--unknown {
  color: var(--text);
}

.btn-primary-tool.running,
.tab.running,
.probe-status-pill.running {
  position: relative;
}

.btn-primary-tool.running::after,
.tab.running::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
  animation: whenip-soft-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
}

.probe-status-pill.running .probe-status-dot {
  animation: whenip-soft-pulse 1.4s ease-in-out infinite;
}

@keyframes whenip-soft-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 640px) {
  .probe-live-helper {
    white-space: normal;
  }
}

body.light .probe-live-state--healthy{color:#0f8a4b}
body.light .probe-live-state--warning{color:#9a6a00}
body.light .probe-live-state--offline{color:#b4233d}
body.light .probe-live-state--unknown{color:#173047}

/* v161 light-mode workbench contrast pass */
body.light.page-home .workbench-shell{
  background:#f4f7fb!important;
  border-color:rgba(34,57,84,.18)!important;
  box-shadow:0 16px 30px rgba(17,28,39,.07), inset 0 0 0 1px rgba(47,111,228,.05)!important;
}
body.light.page-home .workbench-shell::before{
  box-shadow:inset 0 0 0 1px rgba(47,111,228,.10)!important;
}
body.light.page-home .probe-selector-wrap{
  background:#fbfcfe!important;
  border-color:rgba(24,38,56,.20)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.82) inset, 0 0 0 1px rgba(24,38,56,.03)!important;
}
body.light.page-home .probe-selector-select{
  background:#ffffff!important;
  border-color:rgba(24,38,56,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
}
body.light.page-home .probe-selector-help,
body.light.page-home .probe-live-helper,
body.light.page-home .probe-live-line{
  color:#435769!important;
}
body.light.page-home .probe-status-wrap{
  border-top:1px solid rgba(24,38,56,.08);
  padding-top:8px;
  margin-top:4px;
}
body.light.page-home .status-strip,
body.light.page-home .status-line{
  background:#edf3f7!important;
  border-color:rgba(24,38,56,.20)!important;
  color:#182838!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58)!important;
}
body.light.page-home .strip-meta-row{
  color:#35495b!important;
  border-bottom-color:rgba(24,38,56,.12)!important;
}
body.light.page-home #consoleToolStatus,
body.light.page-home #consoleStatus,
body.light.page-home .console-prompt-text,
body.light.page-home .console-run-text{
  color:#172635!important;
}
body.light.page-home .console-shell{
  background:#d8e1e9!important;
  border:1px solid rgba(24,38,56,.24)!important;
  border-radius:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34)!important;
}
body.light.page-home .console-output,
body.light.page-home .output{
  background:#d8e1e9!important;
  border-color:rgba(24,38,56,.08)!important;
  color:#152331!important;
}
body.light.page-home .console-copy-btn{
  background:#e6edf4!important;
  border-color:rgba(24,38,56,.22)!important;
  color:#172635!important;
}
body.page-home .console-copy-btn.copied-feedback{
  border-color:rgba(0,255,139,.52)!important;
  background:rgba(0,255,139,.12)!important;
  box-shadow:inset 0 0 0 1px rgba(0,255,139,.08),0 0 0 1px rgba(0,255,139,.08)!important;
}
body.light.page-home .console-copy-btn.copied-feedback{
  border-color:rgba(20,166,96,.46)!important;
  background:#edf9f1!important;
  color:#12442c!important;
  box-shadow:inset 0 0 0 1px rgba(20,166,96,.08),0 0 0 1px rgba(20,166,96,.08)!important;
}
body.light.page-home .console-output .ok,
body.light.page-home .output .ok{
  color:#0e6f45!important;
}
body.light.page-home .console-output .warn,
body.light.page-home .output .warn{
  color:#7e5800!important;
}
body.light.page-home .console-output .err,
body.light.page-home .output .err{
  color:#9e2b3a!important;
}

/* v162 light-mode workbench finish pass */
body.light.page-home .workbench-shell{
  background:#f3f6fa!important;
  border-color:rgba(34,57,84,.20)!important;
  box-shadow:0 18px 34px rgba(17,28,39,.075), inset 0 0 0 1px rgba(47,111,228,.05)!important;
}
body.light.page-home .probe-selector-wrap{
  background:#fcfdff!important;
  border-color:rgba(24,38,56,.22)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(24,38,56,.04)!important;
}
body.light.page-home .status-strip,
body.light.page-home .status-line{
  background:#e7eef4!important;
  border-color:rgba(24,38,56,.24)!important;
  color:#162636!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72), 0 1px 0 rgba(24,38,56,.03)!important;
}
body.light.page-home .strip-meta-row{
  color:#314657!important;
  border-bottom-color:rgba(24,38,56,.14)!important;
}
body.light.page-home .console-shell{
  background:#cfd9e2!important;
  border:1px solid rgba(24,38,56,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 10px 20px rgba(17,28,39,.05)!important;
}
body.light.page-home .console-output,
body.light.page-home .output{
  background:#d3dde6!important;
  border-color:rgba(24,38,56,.10)!important;
  color:#142331!important;
}
body.light.page-home .issue-panel{
  background:#f8fbfd!important;
  border-color:rgba(147,75,92,.26)!important;
  box-shadow:0 10px 22px rgba(17,28,39,.035), inset 0 1px 0 rgba(255,255,255,.72)!important;
}
body.light.page-home .issue-title{
  color:#446a95!important;
}
body.light.page-home .issue-summary,
body.light.page-home .issue-panel #issueText,
body.light.page-home .issue-reasons,
body.light.page-home .issue-hint{
  color:#4a6073!important;
}

/* v163 light-mode status instrument definition + console prompt parity */
body.light.page-home .status-strip{
  background:#dbe5ed!important;
  border-color:rgba(24,38,56,.30)!important;
  color:#142433!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.66), 0 8px 18px rgba(17,28,39,.045)!important;
}
body.light.page-home .strip-meta-row{
  color:#314657!important;
  border-bottom-color:rgba(24,38,56,.16)!important;
  font-weight:800!important;
}
body.light.page-home .strip-status-row.two-line{
  gap:8px!important;
}
body.light.page-home .status-line{
  background:#eef4f8!important;
  border:1px solid rgba(24,38,56,.18)!important;
  color:#152534!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88), 0 1px 0 rgba(24,38,56,.03)!important;
}
body.light.page-home #consoleToolStatus,
body.light.page-home #consoleStatus,
body.light.page-home .console-prompt-text,
body.light.page-home .console-run-text{
  color:#152534!important;
}
body.light.page-home .console-prompt-label,
body.light.page-home .console-run-label,
body.light.page-home .line-prompt,
body.light.page-home .line-done{
  color:#1f8a57!important;
}
body.page-home .line-done-dot{
  display:inline-block;
  animation:readyDotPulse 2.8s ease-in-out infinite;
}
@keyframes readyDotPulse{
  0%,100%{opacity:.28;}
  50%{opacity:1;}
}

/* v164 probe pulse offsets + modal command preview polish */
.probe-status-pill[data-status="healthy"] .probe-status-dot{
  animation:readyDotPulse 2.8s ease-in-out infinite;
  animation-delay:var(--probe-pulse-delay,0s);
  transform-origin:center;
}
.probe-status-pill.running[data-status="healthy"] .probe-status-dot{
  animation:whenip-soft-pulse 1.8s ease-in-out infinite;
}

.tool-command-preview{display:grid;gap:10px}
.tool-command-preview.hidden{display:none}
.tool-command-preview-box{display:grid;gap:10px;padding:11px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.032)}
.tool-command-summary{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}
.tool-command-row{display:grid;gap:8px}
.tool-command-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tool-command-label{font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8fb2c7}
.tool-command-copy{min-width:34px;width:34px;height:34px;padding:0;border-radius:12px;font-size:.92rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.tool-command-code{margin:0;padding:11px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(4,15,24,.78);color:#dce8f3;font-size:.84rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}
body.light .tool-modal-card{background:#f7fbff!important;border-color:rgba(24,38,56,.16)!important;box-shadow:0 18px 34px rgba(17,28,39,.08)!important}
body.light .tool-modal-help{color:#455a6d!important}
body.light .tool-advanced{background:#eef4fb!important;border-color:rgba(24,38,56,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.84)!important}
body.light .tool-advanced.is-open{background:#edf4fb!important}
body.light .tool-advanced-toggle{color:#132433!important}
body.light .tool-advanced-summary{color:#4d6274!important}
body.light .tool-field-label{color:#142534!important}
body.light .tool-field-example{color:#5a6f82!important}
body.light .tool-field .input,
body.light .tool-field-select .input{background:#ffffff!important;border-color:rgba(24,38,56,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}
body.light .tool-field .input:focus-visible,
body.light .tool-field-select .input:focus-visible{border-color:rgba(47,111,228,.42)!important;box-shadow:0 0 0 3px rgba(47,111,228,.12)!important;outline:none}
body.light .tool-modal-actions .btn.primary{background:#dff0fb!important;border-color:rgba(47,111,228,.34)!important;color:#174060!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important}
body.light .tool-modal-actions .btn.primary:hover{background:#d6ecfa!important;border-color:rgba(47,111,228,.42)!important}
body.light .tool-command-preview-box{background:#f6fafe!important;border-color:rgba(24,38,56,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important}
body.light .tool-command-summary{color:#445a6e!important}
body.light .tool-command-label{color:#416a95!important}
body.light .tool-command-copy{background:#ffffff!important;border-color:rgba(24,38,56,.18)!important;color:#173047!important}
body.light .tool-command-code{background:#e9f0f6!important;border-color:rgba(24,38,56,.16)!important;color:#173047!important}

/* v165 modal close cleanup, portrait collapsibles, pulse offsets, activity icon, and dark modal hierarchy */
.modal.hidden,
.modal[aria-hidden='true']{
  pointer-events:none!important;
}

.details-head-actions,
.section-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.home-collapse-toggle{
  display:none;
  min-width:36px;
  width:36px;
  height:36px;
  padding:0;
  border-radius:12px;
  font-size:1rem;
  line-height:1;
  align-items:center;
  justify-content:center;
}

.home-collapse-toggle.is-collapsed{
  transform:rotate(-90deg);
}

.home-collapsible-body.hidden{
  display:none!important;
}

@media (max-width:760px) and (orientation:portrait){
  body.page-home.home-collapsible-enabled .home-collapse-toggle{
    display:inline-flex!important;
  }
}

.probe-status-pill[data-status="healthy"] .probe-status-dot{
  animation:readyDotPulse 2.8s ease-in-out infinite;
}
.probe-status-pill.running[data-status="healthy"] .probe-status-dot{
  animation:whenip-soft-pulse 1.8s ease-in-out infinite;
}

body:not(.light) .tool-modal-card{
  background:linear-gradient(180deg,#091727,#081423)!important;
  border-color:rgba(148,188,214,.18)!important;
  box-shadow:0 24px 54px rgba(0,0,0,.5)!important;
}
body:not(.light) .tool-modal-help,
body:not(.light) .tool-advanced-summary,
body:not(.light) .tool-field-example,
body:not(.light) .tool-command-summary{
  color:#a7bccd!important;
}
body:not(.light) .tool-advanced{
  background:#0c1b2a!important;
  border-color:rgba(148,188,214,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body:not(.light) .tool-advanced.is-open{
  background:#0f2234!important;
}
body:not(.light) .tool-field-label,
body:not(.light) .tool-advanced-toggle,
body:not(.light) .tool-modal-title{
  color:#eef7fd!important;
}
body:not(.light) .tool-field .input,
body:not(.light) .tool-field-select .input{
  background:#132638!important;
  border-color:rgba(148,188,214,.18)!important;
  color:#eef7fd!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
body:not(.light) .tool-field .input:focus-visible,
body:not(.light) .tool-field-select .input:focus-visible{
  border-color:rgba(31,211,255,.34)!important;
  box-shadow:0 0 0 3px rgba(31,211,255,.12)!important;
  outline:none;
}
body:not(.light) .tool-command-preview-box{
  background:#0f2030!important;
  border-color:rgba(148,188,214,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body:not(.light) .tool-command-label{
  color:#9ec9e2!important;
}
body:not(.light) .tool-command-copy{
  background:#112638!important;
  border-color:rgba(148,188,214,.18)!important;
  color:#dbe7f2!important;
}
body:not(.light) .tool-command-code{
  background:#08121c!important;
  border-color:rgba(148,188,214,.14)!important;
  color:#edf7fd!important;
}

/* v168 modal close recovery + spinner centering */
.modal.hidden,
.modal[aria-hidden='true']{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.modal.hidden .modal-backdrop,
.modal[aria-hidden='true'] .modal-backdrop,
.modal.hidden .modal-card,
.modal[aria-hidden='true'] .modal-card{
  pointer-events:none!important;
}

/* v168 modal teardown hardening + console spinner relocation */
html.modal-open,
body.modal-open{
  overflow:hidden!important;
}
.modal.hidden,
.modal[aria-hidden='true'],
.modal[hidden]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.modal.hidden .modal-backdrop,
.modal[aria-hidden='true'] .modal-backdrop,
.modal[hidden] .modal-backdrop,
.modal.hidden .modal-card,
.modal[aria-hidden='true'] .modal-card,
.modal[hidden] .modal-card{
  pointer-events:none!important;
}

/* v168 safari modal unlock override + console spinner animation restore */
html.modal-open,
body.modal-open{
  overflow:hidden!important;
  overscroll-behavior:auto!important;
  touch-action:auto!important;
}
body.modal-open{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:auto!important;
}

/* v170 console spinner stabilization */

/* v170 spinner visibility fix */

/* v172 modal pro pass */
.tool-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.tool-modal-title{
  font-size:1.02rem;
  font-weight:800;
  letter-spacing:.01em;
}
.tool-modal-close{
  width:38px;
  height:38px;
  border-radius:14px;
  font-size:1.08rem;
}
.tool-modal-body{
  gap:12px!important;
}
.tool-modal-lead{
  display:grid;
  gap:6px;
}
.tool-modal-help{
  margin:0!important;
  font-size:.88rem!important;
  line-height:1.48!important;
}
.tool-modal-form{
  display:grid;
  gap:10px!important;
}
.tool-modal-field{
  padding:10px 11px 11px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.tool-modal-field .input,
.tool-modal-field-select .input{
  margin-top:1px;
}
.tool-advanced{
  gap:10px!important;
  padding:12px 13px!important;
  border-radius:18px!important;
}
.tool-advanced-toggle{
  padding:1px 0;
}
.tool-advanced-chevron{
  transition:transform .18s ease;
}
.tool-advanced.is-open .tool-advanced-chevron{
  transform:rotate(180deg);
}
.tool-advanced-body{
  gap:12px!important;
  padding-top:2px;
}
.tool-advanced-grid{
  gap:10px!important;
}
.tool-advanced-summary-wrap{
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.tool-advanced-summary{
  margin:0;
}
.tool-command-preview-modal{
  gap:0!important;
}
.tool-command-preview-box{
  gap:12px!important;
  padding:12px 13px!important;
  border-radius:16px!important;
}
.tool-command-summary{
  font-size:.89rem!important;
  line-height:1.52!important;
}
.tool-command-row{
  gap:10px!important;
}
.tool-command-copy{
  min-width:36px!important;
  width:36px!important;
  height:36px!important;
  border-radius:12px!important;
}
.tool-command-code{
  padding:12px 13px!important;
  line-height:1.55!important;
}
.tool-modal-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:0!important;
  padding-top:10px!important;
  border-top:1px solid rgba(255,255,255,.08);
}
.tool-modal-actions .btn.primary{
  min-width:132px;
}

body.light .tool-modal-card{
  background:linear-gradient(180deg,#fbfdff 0%,#f6faff 100%)!important;
  border-color:rgba(24,38,56,.18)!important;
  box-shadow:0 22px 42px rgba(17,28,39,.10)!important;
}
body.light .tool-modal-head{
  border-bottom-color:rgba(24,38,56,.10)!important;
}
body.light .tool-modal-title{
  color:#112436!important;
}
body.light .tool-modal-close{
  background:#ffffff!important;
  border-color:rgba(24,38,56,.16)!important;
  color:#173047!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important;
}
body.light .tool-modal-help{
  color:#475d71!important;
}
body.light .tool-modal-field{
  background:#fdfefe!important;
  border-color:rgba(24,38,56,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94)!important;
}
body.light .tool-advanced{
  background:#edf4fb!important;
  border-color:rgba(24,38,56,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;
}
body.light .tool-advanced-summary-wrap{
  background:#f7fbff!important;
  border-color:rgba(24,38,56,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
}
body.light .tool-command-preview-box{
  background:#f4f8fd!important;
  border-color:rgba(24,38,56,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
}
body.light .tool-command-copy{
  background:#ffffff!important;
  border-color:rgba(24,38,56,.18)!important;
  color:#173047!important;
}
body.light .tool-command-code{
  background:#e8eff6!important;
  border-color:rgba(24,38,56,.16)!important;
  color:#173047!important;
}
body.light .tool-modal-actions{
  border-top-color:rgba(24,38,56,.10)!important;
}

body:not(.light) .tool-modal-card{
  background:linear-gradient(180deg,#091725 0%,#0b1927 100%)!important;
  border-color:rgba(148,188,214,.20)!important;
  box-shadow:0 28px 60px rgba(0,0,0,.54)!important;
}
body:not(.light) .tool-modal-head{
  border-bottom-color:rgba(148,188,214,.12)!important;
}
body:not(.light) .tool-modal-close{
  background:#102232!important;
  border-color:rgba(148,188,214,.18)!important;
  color:#dbe7f2!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body:not(.light) .tool-modal-field{
  background:#0d2031!important;
  border-color:rgba(148,188,214,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body:not(.light) .tool-advanced{
  background:#0b1d2d!important;
  border-color:rgba(148,188,214,.18)!important;
}
body:not(.light) .tool-advanced-summary-wrap{
  background:#102232!important;
  border-color:rgba(148,188,214,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body:not(.light) .tool-command-preview-box{
  background:#0f2131!important;
  border-color:rgba(148,188,214,.18)!important;
}
body:not(.light) .tool-command-copy{
  background:#112638!important;
  border-color:rgba(148,188,214,.18)!important;
  color:#dbe7f2!important;
}
body:not(.light) .tool-command-code{
  background:#08131d!important;
  border-color:rgba(148,188,214,.14)!important;
  color:#edf7fd!important;
}
body:not(.light) .tool-modal-actions{
  border-top-color:rgba(148,188,214,.12)!important;
}

@media (max-width:560px){
  .tool-modal-head{
    margin-bottom:10px;
    padding-bottom:10px;
  }
  .tool-modal-field{
    padding:9px 10px 10px;
    border-radius:15px;
  }
  .tool-advanced{
    padding:11px 12px!important;
  }
  .tool-command-preview-box{
    padding:11px 12px!important;
  }
}

/* v172 modal density pass */
.tool-modal-head{
  gap:10px!important;
  margin-bottom:9px!important;
  padding-bottom:9px!important;
}
.tool-modal-title{
  font-size:.98rem!important;
  letter-spacing:.008em!important;
}
.tool-modal-close{
  width:34px!important;
  height:34px!important;
  border-radius:12px!important;
  font-size:1rem!important;
}
.tool-modal-body{
  gap:9px!important;
}
.tool-modal-lead{
  gap:4px!important;
}
.tool-modal-help{
  font-size:.82rem!important;
  line-height:1.4!important;
}
.tool-modal-form{
  gap:8px!important;
}
.tool-modal-field{
  padding:8px 9px 9px!important;
  border-radius:14px!important;
}
.tool-modal-field .input,
.tool-modal-field-select .input{
  margin-top:0!important;
  padding:11px 13px!important;
  border-radius:14px!important;
}
.tool-field-label{
  font-size:.78rem!important;
}
.tool-field-example{
  font-size:.72rem!important;
  margin-top:1px!important;
}
.tool-advanced{
  gap:8px!important;
  padding:10px 11px!important;
  border-radius:16px!important;
}
.tool-advanced-body{
  gap:10px!important;
  padding-top:1px!important;
}
.tool-advanced-grid{
  gap:8px!important;
}
.tool-advanced-summary-wrap{
  display:none!important;
}
.tool-command-preview-box{
  gap:10px!important;
  padding:10px 11px!important;
  border-radius:14px!important;
}
.tool-command-summary{
  font-size:.83rem!important;
  line-height:1.42!important;
}
.tool-command-row{
  gap:8px!important;
}
.tool-command-row-head{
  gap:8px!important;
}
.tool-command-label{
  font-size:.75rem!important;
}
.tool-command-copy{
  min-width:34px!important;
  width:34px!important;
  height:34px!important;
  border-radius:11px!important;
}
.tool-command-code{
  padding:10px 11px!important;
  font-size:.82rem!important;
  line-height:1.48!important;
}
.tool-modal-actions{
  gap:8px!important;
  padding-top:8px!important;
}
.tool-modal-actions .btn.primary{
  min-width:124px!important;
}
@media (max-width:560px){
  .tool-modal-card{
    padding:12px 12px 10px!important;
    border-radius:16px!important;
  }
  .tool-modal-head{
    margin-bottom:8px!important;
    padding-bottom:8px!important;
  }
  .tool-modal-field{
    padding:7px 8px 8px!important;
    border-radius:13px!important;
  }
  .tool-modal-field .input,
  .tool-modal-field-select .input{
    padding:10px 12px!important;
    border-radius:13px!important;
  }
  .tool-advanced,
  .tool-command-preview-box{
    padding:9px 10px!important;
  }
}

/* v173 tool sheet / portrait no-scroll pass */
html.modal-open,
body.modal-open{
  overflow:hidden!important;
}
.modal{
  align-items:center!important;
  justify-content:center!important;
  padding:8px 10px!important;
  overflow:hidden!important;
}
.modal-backdrop{
  background:rgba(7,12,18,.34)!important;
  backdrop-filter:blur(1.5px)!important;
  -webkit-backdrop-filter:blur(1.5px)!important;
}
.modal-card{
  width:min(560px,calc(100vw - 20px))!important;
  max-width:560px!important;
  max-height:calc(100dvh - 16px)!important;
}
.tool-modal-card{
  padding:10px 10px 9px!important;
  border-radius:18px!important;
}
.tool-modal-head{
  gap:8px!important;
  margin-bottom:6px!important;
  padding-bottom:6px!important;
}
.tool-modal-title{
  font-size:.96rem!important;
}
.tool-modal-close{
  width:32px!important;
  height:32px!important;
  border-radius:11px!important;
}
.tool-modal-body{
  gap:7px!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
.tool-modal-lead{
  gap:2px!important;
}
.tool-modal-help{
  font-size:.79rem!important;
  line-height:1.32!important;
}
.tool-modal-form{
  gap:7px!important;
}
.tool-modal-field{
  padding:6px 7px 7px!important;
  border-radius:13px!important;
}
.tool-field-label{
  font-size:.76rem!important;
}
.tool-field-example{
  font-size:.69rem!important;
  line-height:1.2!important;
  margin-top:0!important;
}
.tool-modal-field .input,
.tool-modal-field-select .input{
  padding:9px 11px!important;
  border-radius:12px!important;
  min-height:0!important;
}
.tool-advanced{
  gap:7px!important;
  padding:8px 9px!important;
  border-radius:15px!important;
}
.tool-advanced-toggle{
  padding:0!important;
}
.tool-advanced-body{
  gap:8px!important;
  padding-top:0!important;
}
.tool-advanced-grid{
  display:grid!important;
  gap:7px!important;
  grid-template-columns:1fr!important;
}
.tool-command-preview-box{
  gap:8px!important;
  padding:8px 9px!important;
  border-radius:13px!important;
}
.tool-command-summary{
  font-size:.79rem!important;
  line-height:1.34!important;
}
.tool-command-row{
  gap:6px!important;
}
.tool-command-row-head{
  gap:6px!important;
}
.tool-command-label{
  font-size:.72rem!important;
}
.tool-command-copy{
  min-width:32px!important;
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
}
.tool-command-code{
  padding:8px 10px!important;
  font-size:.79rem!important;
  line-height:1.36!important;
}
.tool-modal-actions{
  gap:7px!important;
  padding-top:6px!important;
}
.tool-modal-actions .btn.primary{
  min-width:118px!important;
  padding:10px 14px!important;
}
@media (min-width:380px){
  .tool-advanced-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .tool-advanced-grid > :first-child,
  .tool-advanced-grid > #toolAdvancedTargetInputWrap,
  .tool-advanced-grid > .tool-command-preview-modal{
    grid-column:1 / -1;
  }
}
@media (max-width:560px){
  .modal{
    padding:7px 9px!important;
  }
  .modal-card{
    width:calc(100vw - 18px)!important;
    max-height:calc(100dvh - 14px)!important;
  }
  .tool-modal-card{
    padding:9px 9px 8px!important;
    border-radius:17px!important;
  }
}

/* v174 tool sheet density finish pass */
.modal{
  padding:6px 10px!important;
}
.modal-backdrop{
  background:rgba(7,12,18,.32)!important;
  backdrop-filter:blur(1px)!important;
  -webkit-backdrop-filter:blur(1px)!important;
}
.tool-modal-card{
  padding:8px 9px 8px!important;
  border-radius:17px!important;
}
.tool-modal-head{
  gap:7px!important;
  margin-bottom:5px!important;
  padding-bottom:5px!important;
}
.tool-modal-title{
  font-size:.94rem!important;
}
.tool-modal-close{
  width:30px!important;
  height:30px!important;
  border-radius:10px!important;
  font-size:.94rem!important;
}
.tool-modal-body{
  gap:6px!important;
}
.tool-modal-lead{
  gap:1px!important;
}
.tool-modal-help{
  font-size:.76rem!important;
  line-height:1.24!important;
}
.tool-modal-form{
  gap:6px!important;
}
.tool-modal-field{
  padding:5px 6px 6px!important;
  border-radius:12px!important;
}
.tool-field-label{
  font-size:.75rem!important;
}
.tool-field-example{
  font-size:.67rem!important;
  line-height:1.15!important;
}
.tool-modal-field .input,
.tool-modal-field-select .input{
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:.88rem!important;
}
.tool-advanced{
  gap:6px!important;
  padding:7px 8px!important;
  border-radius:14px!important;
}
.tool-advanced-toggle{
  min-height:0!important;
}
.tool-advanced-toggle span:first-child{
  font-size:.95rem!important;
}
.tool-advanced-body{
  gap:7px!important;
}
.tool-advanced-grid{
  gap:6px!important;
}
.tool-command-preview-box{
  gap:6px!important;
  padding:7px 8px!important;
  border-radius:12px!important;
}
.tool-command-summary{
  font-size:.77rem!important;
  line-height:1.28!important;
}
.tool-command-row{
  gap:5px!important;
}
.tool-command-row-head{
  align-items:flex-start!important;
  gap:6px!important;
}
.tool-command-meta{
  display:grid;
  gap:1px;
  min-width:0;
  flex:1 1 auto;
}
.tool-command-label{
  font-size:.71rem!important;
  line-height:1.1!important;
}
.tool-command-hint{
  color:var(--muted);
  font-size:.63rem;
  line-height:1.15;
  letter-spacing:.01em;
}
.tool-command-copy{
  min-width:30px!important;
  width:30px!important;
  height:30px!important;
  border-radius:9px!important;
  margin-top:-1px;
}
.tool-command-code{
  padding:7px 9px!important;
  font-size:.77rem!important;
  line-height:1.28!important;
  cursor:pointer;
  user-select:none;
  -webkit-user-select:none;
}
.tool-modal-actions{
  gap:6px!important;
  padding-top:5px!important;
}
.tool-modal-actions .btn.primary{
  min-width:118px!important;
  padding:9px 14px!important;
}
body.light .tool-command-hint{
  color:#576b7d!important;
}
body:not(.light) .tool-command-hint{
  color:#9eb0c3!important;
}
@media (max-width:560px){
  .modal{
    align-items:flex-start!important;
    padding:calc(env(safe-area-inset-top, 0px) + 8px) 10px 10px!important;
  }
  .modal-card{
    width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - env(safe-area-inset-top, 0px) - 18px)!important;
  }
  .tool-modal-card{
    padding:7px 8px 7px!important;
    border-radius:16px!important;
  }
  .tool-modal-head{
    margin-bottom:4px!important;
    padding-bottom:4px!important;
  }
  .tool-modal-help{
    font-size:.74rem!important;
  }
  .tool-modal-field{
    padding:4px 5px 5px!important;
    border-radius:11px!important;
  }
  .tool-modal-field .input,
  .tool-modal-field-select .input{
    padding:7px 9px!important;
    border-radius:10px!important;
  }
  .tool-advanced,
  .tool-command-preview-box{
    padding:6px 7px!important;
    border-radius:11px!important;
  }
  .tool-advanced-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  #toolAdvancedProbeWrap,
  #toolAdvancedTargetInputWrap{
    grid-column:1 / -1!important;
  }
  .tool-command-copy{
    min-width:28px!important;
    width:28px!important;
    height:28px!important;
  }
  .tool-command-code{
    padding:6px 8px!important;
    font-size:.74rem!important;
  }
  .tool-modal-actions .btn.primary{
    min-width:112px!important;
    padding:8px 13px!important;
  }
}

/* v177 targeted copy feedback */
.tool-command-code.copied-feedback{
  border-color: rgba(0,255,139,.48) !important;
  background: rgba(0,255,139,.10) !important;
  box-shadow: inset 0 0 0 1px rgba(0,255,139,.10), 0 0 0 1px rgba(0,255,139,.08) !important;
}
body.light .tool-command-code.copied-feedback{
  border-color: rgba(20,166,96,.46) !important;
  background: #edf9f1 !important;
  box-shadow: inset 0 0 0 1px rgba(20,166,96,.08), 0 0 0 1px rgba(20,166,96,.08) !important;
}

/* v178 phase B/G cleanup pack */
.tool-field-hint{
  display:block;
  font-size:.66rem;
  line-height:1.22;
  color:var(--muted);
}
.tool-field.is-valid .tool-field-label,
.tool-field.is-valid .tool-field-example,
.tool-field-error[data-state="valid"],
.input.valid + .inline-field-error[data-state="valid"]{
  color:#23a566!important;
}
.tool-field.is-valid .input,
.input.valid{
  border-color:rgba(35,165,102,.55)!important;
  box-shadow:0 0 0 3px rgba(35,165,102,.10)!important;
  outline:none;
}
.tool-field.is-valid{
  border-color:rgba(35,165,102,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(35,165,102,.06)!important;
}
.tool-field.is-invalid{
  border-color:rgba(255,100,118,.20)!important;
}
.inline-field-error{
  display:block;
  min-height:1.05em;
  margin-top:6px;
}
body.light .tool-field-hint,
body.light .inline-field-error{
  color:#5d7184;
}
body.light .tool-field.is-valid .tool-field-label,
body.light .tool-field.is-valid .tool-field-example,
body.light .tool-field-error[data-state="valid"],
body.light .input.valid + .inline-field-error[data-state="valid"]{
  color:#17804f!important;
}
body.light .tool-field.is-valid .input,
body.light .input.valid{
  border-color:rgba(23,128,79,.44)!important;
  box-shadow:0 0 0 3px rgba(23,128,79,.10)!important;
}
body.light .tool-field.is-valid{
  border-color:rgba(23,128,79,.18)!important;
  background:#fbfffc!important;
}
#clearConsoleBtn{
  font-weight:800;
  letter-spacing:.04em;
}
body.light #clearConsoleBtn{
  color:#173047;
}
@media (max-width:560px){
  body.standalone-app.standalone-portrait .shell{
    padding-top:max(42px, calc(env(safe-area-inset-top, 0px) + 14px)) !important;
  }
}

/* v180 A2HS / iPhone zoom-safe finish carpentry */
body.standalone-app .toast{
  top:max(18px, calc(env(safe-area-inset-top, 0px) + 18px));
}
@media (max-width:560px){
  body.standalone-app.standalone-portrait .toast{
    top:max(24px, calc(env(safe-area-inset-top, 0px) + 24px));
  }
}
@supports (-webkit-touch-callout:none){
  @media (hover:none) and (pointer:coarse) and (max-width:860px){
    .tool-modal-field .input,
    .tool-modal-field-select .input,
    #toolAdvancedTargetInput,
    #toolAdvancedProbe,
    #toolAdvancedTargetMode,
    #toolAdvancedFamily{
      font-size:16px !important;
      line-height:1.28 !important;
    }
  }
}

/* v183 footer diagnostics + stale refresh */
.build-diag{
  display:block;
  margin-top:4px;
  white-space:normal;
}
.build-diag-status.is-fresh{
  color:#1f9a61;
}
.build-diag-status.is-stale{
  color:#d95b65;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
.build-refresh-btn{
  appearance:none;
  border:0;
  background:transparent;
  padding:0 0 0 2px;
  margin:0;
  color:inherit;
  font:inherit;
  line-height:1;
  cursor:pointer;
}
.build-refresh-btn.is-stale{
  color:#d95b65;
}
body.light .build-diag-status.is-fresh{
  color:#17804f;
}
body.light .build-diag-status.is-stale,
body.light .build-refresh-btn.is-stale{
  color:#c84c57;
}

/* v185 console activity bar + mini console version */
body.page-home .console-left{
  position:relative;
  padding-top:8px;
}
body.page-home .console-mini-version{
  position:absolute;
  left:0;
  top:-2px;
  font-size:.58rem;
  line-height:1;
  letter-spacing:.08em;
  font-weight:700;
  color:rgba(31,211,255,.62);
  user-select:none;
  pointer-events:none;
}
body.light.page-home .console-mini-version{
  color:rgba(0,125,184,.62);
}
body.page-home .console-left .dots{
  margin-top:2px;
}

/* v200 console activity spinner visibility refinement
   Keep the working v197/v198 placement and motion path, but make the spinner slightly larger
   and much easier to see in both themes with a brighter red ring. */
body.page-home #consoleActivity.console-activity{
  position:absolute;
  right:12px;
  top:12px;
  left:auto;
  bottom:auto;
  width:20px;
  height:20px;
  min-width:20px;
  display:block;
  box-sizing:border-box;
  border-radius:999px;
  pointer-events:none;
  z-index:6;
  opacity:1;
  background:transparent;
  border:3px solid rgba(255,94,94,.28);
  border-top-color:#ff4d4f;
  box-shadow:0 0 0 1px rgba(0,0,0,.10),0 0 12px rgba(255,77,79,.28);
  animation:spin 1s linear infinite !important;
  -webkit-animation:spin 1s linear infinite !important;
  transform:none;
  -webkit-transform:none;
  transform-origin:center center;
  -webkit-transform-origin:center center;
  will-change:transform;
}
body.light.page-home #consoleActivity.console-activity{
  background:transparent;
  border:3px solid rgba(255,77,79,.32);
  border-top-color:#ff3b30;
  box-shadow:0 0 0 1px rgba(255,255,255,.70),0 0 12px rgba(255,59,48,.22);
}
body.page-home #consoleActivity.console-activity.hidden{
  display:none !important;
  animation:none !important;
  -webkit-animation:none !important;
}
body.page-home #consoleActivity.console-activity::before,
body.page-home #consoleActivity.console-activity::after{
  content:none;
  display:none;
}
@media (max-width:860px){
  body.page-home #consoleActivity.console-activity{
    top:14px;
    right:10px;
  }
}


/* v200 bottom-safe-area toast refresh, logo join, and subtle console/status harmony */
.logo-text{
  gap:0 !important;
}
.logo-text .cursor{
  margin-left:0 !important;
}
.console-shell,
.console-output{
  border-color:rgba(86, 125, 160, .22);
}
body.light .console-shell,
body.light .console-output{
  border-color:rgba(126, 150, 175, .34);
}
.toast{
  position:fixed;
  left:50%;
  top:auto !important;
  bottom:max(14px, calc(env(safe-area-inset-bottom, 0px) + 14px));
  width:min(calc(100vw - 24px), 760px);
  min-width:0;
  max-width:760px;
  padding:0;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
  text-align:left;
  white-space:normal;
  transform:translateX(-50%) translateY(14px);
  opacity:0;
  pointer-events:none;
  z-index:80;
}
.toast.show{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.toast-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:start;
  padding:18px 20px 18px 18px;
  border-radius:22px;
  border:1px solid rgba(31, 124, 72, .58);
  background:#eff6f1;
  box-shadow:0 16px 40px rgba(12, 27, 18, .18), 0 6px 16px rgba(12, 27, 18, .12);
}
.toast-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:999px;
  font-size:1.5rem;
  font-weight:800;
  color:#147a41;
  background:rgba(20, 122, 65, .12);
}
.toast-copy{
  min-width:0;
  display:grid;
  gap:6px;
  padding-top:2px;
}
.toast-title{
  color:#137340;
  font-weight:800;
  font-size:1.05rem;
  line-height:1.1;
}
.toast-message{
  color:#1d2e41;
  font-size:1rem;
  line-height:1.45;
}
.toast-close{
  appearance:none;
  border:none;
  background:transparent;
  color:#1b7a45;
  font-size:1.7rem;
  line-height:1;
  padding:0;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
}
.toast-close:hover,
.toast-close:focus-visible{
  background:rgba(19, 115, 64, .1);
  outline:none;
}
.toast[data-kind='success'] .toast-card{
  background:#eef7f0;
  border-color:rgba(24, 122, 67, .56);
}
.toast[data-kind='success'] .toast-icon,
.toast[data-kind='success'] .toast-title,
.toast[data-kind='success'] .toast-close{
  color:#147a41;
}
.toast[data-kind='success'] .toast-icon{
  background:rgba(20, 122, 65, .12);
}
.toast[data-kind='info'] .toast-card{
  background:#eef5fb;
  border-color:rgba(48, 115, 188, .42);
}
.toast[data-kind='info'] .toast-icon,
.toast[data-kind='info'] .toast-title,
.toast[data-kind='info'] .toast-close{
  color:#2166ae;
}
.toast[data-kind='info'] .toast-icon{
  background:rgba(33, 102, 174, .12);
}
.toast[data-kind='warning'] .toast-card{
  background:#fbf4e7;
  border-color:rgba(163, 101, 21, .46);
}
.toast[data-kind='warning'] .toast-icon,
.toast[data-kind='warning'] .toast-title,
.toast[data-kind='warning'] .toast-close{
  color:#9a5f14;
}
.toast[data-kind='warning'] .toast-icon{
  background:rgba(154, 95, 20, .12);
}
.toast[data-kind='error'] .toast-card{
  background:#fbefef;
  border-color:rgba(176, 56, 74, .46);
}
.toast[data-kind='error'] .toast-icon,
.toast[data-kind='error'] .toast-title,
.toast[data-kind='error'] .toast-close{
  color:#b0384a;
}
.toast[data-kind='error'] .toast-icon{
  background:rgba(176, 56, 74, .12);
}
body.standalone-app .toast{
  bottom:max(18px, calc(env(safe-area-inset-bottom, 0px) + 18px));
}
@media (max-width:700px){
  .toast{
    width:min(calc(100vw - 20px), 640px);
    bottom:max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  }
  .toast-card{
    gap:14px;
    padding:16px 16px 16px 14px;
    border-radius:20px;
  }
  .toast-icon{
    width:36px;
    height:36px;
    font-size:1.3rem;
  }
  .toast-title{
    font-size:1rem;
  }
  .toast-message{
    font-size:.98rem;
  }
}
