:root {
  color-scheme:dark; --canvas:#050912; --panel:#0A0F1D; --surface:#0B132B;
  --ink:#F8FAFC; --mute:#AAB9CD; --accent:#00F5D4; --line:rgba(255,255,255,.13);
  font:16px/1.55 Inter,system-ui,sans-serif; background:var(--canvas); color:var(--ink);
}
* {box-sizing:border-box}
body {margin:0}
[hidden] {display:none!important}
h1,h2,h3,p,dl,dd {margin:0}
h1,h2,h3,.brand {font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif;line-height:1.15}
h1 {font-size:clamp(2.05rem,4.8vw,3.85rem);letter-spacing:-.035em;font-weight:800;text-wrap:balance}
h2 {font-size:1.37rem;letter-spacing:-.02em}
h3 {font-size:1.0rem;line-height:1.35}
a {color:var(--accent);text-underline-offset:.18em}
a:hover {color:#B6FFF3}
p {color:var(--mute);line-height:1.62}
button,input,select,textarea {font:inherit}
.shell {width:min(calc(100% - 3rem),74rem);margin-inline:auto}
.skip {position:absolute;left:1rem;top:-8rem;padding:.55rem .9rem;background:var(--canvas);z-index:10}
.skip:focus {top:.5rem}
:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
header,footer {background:#080D19;border-bottom:1px solid var(--line)}
.header-inner,.footer-inner {display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.15rem}
.brand {color:var(--ink);font-size:1.45rem;letter-spacing:-.06em;font-weight:800;text-decoration:none}
.brand span {color:var(--accent)}
header nav,footer nav {display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
header nav>a:not(.primary),footer a {color:var(--mute);text-decoration:none;font-size:.87rem}
header nav>a:not(.primary):hover,footer a:hover {color:var(--accent)}
.primary,.secondary {display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:42px;padding:.59rem .86rem;border-radius:10px;font-size:.88rem;font-weight:720;line-height:1.3;cursor:pointer;text-decoration:none}
.primary {color:#050912;background:var(--accent);border:1px solid transparent;box-shadow:0 4px 14px rgba(0,245,212,.24)}
.primary:hover {color:#050912;background:#A0FFF0}
.secondary {color:#D9E4F2;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.secondary:hover {color:white;border-color:rgba(0,245,212,.45)}
button:disabled {opacity:.55;cursor:wait}
.hero {background:radial-gradient(ellipse at 86% -12%,#182A43 0,transparent 63%),linear-gradient(145deg,#0D1729,#080D19);border-bottom:1px solid var(--line);padding:clamp(1.7rem,4vw,3.6rem) 0}
.hero h1 {max-width:24ch}
.crumb {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.81rem;font-weight:680;color:var(--mute);margin-bottom:.65rem}
.crumb>*+* {border-left:1px solid var(--line);padding-left:.6rem}
.lead {font-size:clamp(1rem,1.8vw,1.15rem);color:#C7D4E6;max-width:70ch;margin-top:.65rem}
.hero .privacy {color:#9BB0C7;font-size:.82rem;margin-top:.65rem}
.directory-hero .hero-actions {display:flex;gap:.8rem;margin-top:1.1rem}
.workspace {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.86fr);gap:1.1rem;align-items:start;padding-block:1.45rem}
.panel {background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0;padding:clamp(1rem,2.2vw,1.45rem)}
.panel-title {display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:.9rem}
.field-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem .9rem}
.field {min-width:0}
.field-wide {grid-column:1/-1}
label {display:block;color:#EBF0F8;font-weight:700;font-size:.85rem;margin-bottom:.28rem}
.field-hint {font-size:.79rem;margin-top:.3rem;color:#9BB0C7}
input:not([type=file]), select, textarea {width:100%;min-height:44px;background:#050914;color:white;border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:.58rem .7rem}
input[type=file] {max-width:100%;font-size:.82rem;color:#BECDE0}
input[type=file]::file-selector-button {margin-right:.55rem;padding:.39rem .62rem;border-radius:8px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--ink);cursor:pointer}
textarea {resize:vertical;min-height:114px;font: .87rem/1.5 "JetBrains Mono",ui-monospace,monospace}
.file-pick {margin-top:.32rem}
.form-actions {display:flex;gap:.55rem;flex-wrap:wrap;margin-top:1rem}
.error {display:block;margin:.6rem 0;color:#FFD4D8;background:#2C131B;border:1px solid #A85464;border-radius:10px;padding:.55rem .68rem;overflow-wrap:anywhere}
.activity {margin-top:.55rem;min-height:1em;font-size:.8rem;color:#AABED4}
.result {scroll-margin-top:1rem}
.result>h2 {margin-bottom:.68rem}
.result[data-state=idle] {background:linear-gradient(155deg,#0E1930,var(--panel))}
.result[data-state=idle] p {color:#CAD7E8}
.metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.8rem 0}
.metrics>div {min-width:0;border-radius:10px;border:1px solid var(--line);background:#0C1629;padding:.65rem .72rem}
.metrics dt {color:#9EB0C9;font-size:.78rem}
.metrics dd {color:var(--ink);font-weight:760;font-size:1.13rem;line-height:1.25;margin-top:.22rem;overflow-wrap:anywhere}
.table-scroll {overflow:auto;max-height:24rem;margin-top:.7rem;border:1px solid var(--line);border-radius:10px}
.table-scroll table {border-collapse:collapse;width:100%;min-width:20rem;font-size:.79rem;line-height:1.36}
.table-scroll th,.table-scroll td {text-align:left;vertical-align:top;padding:.48rem .58rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.table-scroll th {background:#111E35;position:sticky;top:0;white-space:nowrap}
.table-scroll td {color:#C0CFE0}
.table-scroll tr:last-child td {border-bottom:0}
.record-output {color:#DFEAF6;background:#050914;border:1px solid var(--line);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;padding:.65rem;font: .84rem/1.48 "JetBrains Mono",ui-monospace,monospace}
.previews {display:grid;gap:.45rem;margin-top:.7rem}
.previews details {border:1px solid var(--line);border-radius:10px;padding:.55rem .7rem}
.previews summary {font-size:.85rem;cursor:pointer;font-weight:700}
.downloads {margin:.68rem 0;display:flex;gap:.4rem;flex-wrap:wrap}
.downloads button {font-size:.77rem;overflow-wrap:anywhere}
.note,.result-notes {font-size:.82rem;color:#9FB1C8}
.note {margin-top:.49rem}
.result-notes {padding-left:1.15rem;margin:.8rem 0 0}
.result-notes li+li {margin-top:.35rem}
.clipboard-fallback {position:fixed;top:0;left:0;width:1px;height:1px;opacity:0}
.tool-reading {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:1.1rem;margin:0 auto 2.8rem}
.tool-reading p {margin-top:.48rem}
.tool-reading section+section {margin-top:1.15rem}
.tool-reading ul {margin:.55rem 0 0;padding-left:1.12rem}
.tool-reading li+li {margin-top:.33rem}
.directory {padding:1.6rem 0 3.4rem}
.topic-nav {display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.8rem}
.topic-nav a {border:1px solid var(--line);border-radius:10px;padding:.47rem .68rem;background:var(--panel);color:#DCE7F5;text-decoration:none;font-size:.83rem}
.topic-nav a:hover {border-color:var(--accent);color:var(--accent)}
.tool-group {scroll-margin-top:1rem;margin:0 0 1.5rem}
.tool-group h2 {margin-bottom:.69rem}
.tool-grid {list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;padding:0;margin:0}
.tool-grid a {height:100%;display:flex;flex-direction:column;gap:.28rem;padding:.85rem;border:1px solid var(--line);border-radius:14px;background:var(--panel);text-decoration:none}
.tool-grid a:hover {border-color:rgba(0,245,212,.49)}
.tool-grid h3 {color:var(--ink);display:flex;align-items:flex-start;justify-content:space-between;gap:.4rem}
.tool-grid h3 svg {flex-shrink:0;color:var(--accent)}
.tool-grid p {font-size:.85rem}
footer {border-top:1px solid var(--line);border-bottom:0}
.footer-inner {color:#92A7BE;font-size:.84rem}
@media(max-width:890px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace,.tool-reading{grid-template-columns:minmax(0,1fr)}}
@media(max-width:510px){
  .shell{width:calc(100% - 2rem)}.field-grid,.tool-grid{grid-template-columns:minmax(0,1fr)}
  .footer-inner{flex-wrap:wrap;padding:.55rem 0}.header-inner{min-height:3.75rem}
  header nav{gap:.55rem}.header-inner nav>a:nth-child(2){display:none}
  .metrics dd{font-size:1.02rem}.metrics>div{padding:.55rem}
  .table-scroll table{min-width:25rem}
}

header.xp-static-header {
  background: #080b10;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-sizing: border-box;
  margin: 12px auto 0;
  max-width: 1280px;
  width: calc(100% - 32px);
}
header.xp-static-header.xp-guide-root {
  background: #080b10;
  border: 0;
  border-radius: 0;
  margin: 0;
  max-width: none;
  width: 100%;
}
.xp-static-head, header .xp-static-nav, .xp-static-links {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
}
.xp-static-head {
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1232px;
  min-height: 62px;
  padding: 8px 20px;
}
.xp-static-head > a {
  flex: 0 0 auto;
  text-decoration: none;
  white-space: nowrap;
}
header .xp-static-nav { column-gap: 22px; }
.xp-static-links { column-gap: clamp(14px, 2vw, 24px); }
header .xp-static-nav .xp-static-links a {
  color: #cbd5e1;
  font: 600 .875rem/1.3 Inter, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}
header .xp-static-nav .xp-static-links a:hover { color: #fff; }
header .xp-static-nav .xp-static-links a[aria-current] { color: #00F5D4; }
a.xp-static-primary, header .xp-static-nav a.xp-static-primary {
  align-items: center;
  background: #00F5D4;
  border: 1px solid #00F5D4;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,245,212,.18);
  color: #050912;
  display: inline-flex;
  flex: 0 0 auto;
  font: 750 .875rem/1.2 Inter, system-ui, sans-serif;
  gap: 7px;
  justify-content: center;
  margin: 0;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}
a.xp-static-primary:hover, header .xp-static-nav a.xp-static-primary:hover {
  color: #050912;
  background: #54ffea;
  text-decoration: none;
}
.xp-static-primary svg { flex: none; }
.xp-static-header a:focus-visible, .xp-static-card a:focus-visible, .xp-tool-cta a:focus-visible {
  outline: 2px solid #00F5D4;
  outline-offset: 3px;
}
.xp-static-card, .xp-tool-cta {
  background: #0A0F1D;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #f2f6ff;
  padding: 15px;
}
.rail .xp-static-card { margin-top: 20px; }
.xp-static-card h3 {
  color: #f2f6ff;
  font-size: .95rem;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin: 0 0 6px;
}
.rail .xp-static-card p, .reader .xp-static-card p, .xp-static-card p {
  color: #cbd5e1;
  font-size: .84rem;
  line-height: 1.5;
  margin: 0 0 12px;
}
.xp-bottom-card { margin-bottom: 30px; }
.xp-tool-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  grid-column: 1 / -1;
  justify-content: space-between;
}
.xp-tool-cta p { color: #cbd5e1; margin: 0; }
.xp-tool-cta p a { color: #00F5D4; font-weight: 650; }
#tool-output:not([data-state="done"]) + .xp-tool-cta { display: none; }
@media (max-width: 860px) {
  header .xp-static-nav .xp-static-links { display: none; }
}
@media (max-width: 650px) {
  header.xp-static-header:not(.xp-guide-root) {
    margin-top: 8px;
    width: calc(100% - 18px);
  }
  .xp-static-head { box-sizing: border-box; min-height: 54px; padding: 7px 12px; }
  .xp-static-head > a { font-size: 1.2rem; }
  a.xp-static-primary, header .xp-static-nav a.xp-static-primary { padding: 8px 10px; }
}
