@font-face{font-family:Inter;src:url('/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Inter,system-ui,sans-serif;color:#f7f9ff;background:#171927;line-height:1.5;--surface:#1f2235;--raised:#282d43;--edge:#424962;--muted:#c0c7df;--blue:#bbcbff;--green:#d7fa8d;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
a{color:inherit;text-underline-offset:.22em}
button,input,textarea{font:inherit}
:focus-visible{outline:2px solid var(--green);outline-offset:4px}
h1,h2,p{margin:0}
.masthead,main,footer{width:min(1180px,calc(100% - 72px));margin:auto}
.masthead{min-height:67px;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;gap:12px}
.masthead>a:last-child{font-size:.78rem;font-weight:650;color:#d7def4}
.mark{text-decoration:none;font-size:1.14rem;font-weight:840;letter-spacing:-.055em;display:flex;gap:9px;align-items:center}
.mark>span{width:23px;height:21px;display:flex;align-items:center;justify-content:center;gap:3px;transform:skewX(-13deg)}
.mark i{display:block;width:8px;height:16px;border:2px solid var(--blue);border-radius:5px}
.mark i+i{border-color:var(--green);transform:translateY(2px)}
.intro{padding:29px 0 21px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px}
h1{font-size:clamp(2.9rem,6.1vw,5.15rem);line-height:1.0;font-weight:740;letter-spacing:-.079em}
.intro p{color:var(--muted);margin-top:10px;max-width:55ch}
button{border:1px solid #6b7395;border-radius:7px;background:#30354c;color:#f7f9ff;min-height:35px;padding:6px 10px;font-size:.76rem;font-weight:690;cursor:pointer}
button:hover{background:#444d6d}
.workbench{border:1px solid var(--edge);border-radius:11px;background:var(--surface);overflow:hidden}
.links{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--edge)}
.link-input{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:11px 15px 13px;background:var(--surface);border-top:3px solid var(--accent)}
.link-input.a{--accent:var(--blue)}
.link-input.b{--accent:var(--green)}
.link-input>span{font-size:.75rem;font-weight:750;color:var(--accent)}
textarea{display:block;width:100%;min-height:57px;resize:vertical;border:1px solid #505976;border-radius:6px;background:#161a2b;color:#f7f9ff;padding:8px 10px;font: .82rem/1.45 var(--mono)}
textarea[aria-invalid=true]{border:1px solid #ffb798}
textarea:focus-visible{outline-color:var(--accent);outline-offset:2px}
small{color:#ffcaad;font-size:.77rem}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 15px;background:var(--raised);border-block:1px solid var(--edge);min-height:42px}
#result{color:#ffe0ac;font-size:.85rem;font-weight:775}
#result.no-change{color:var(--green)}
.option{display:flex;align-items:center;gap:7px;color:#e1e7f9;font-size:.73rem;font-weight:650;cursor:pointer}
.option input{margin:0;accent-color:var(--green);width:16px;height:16px}
.results{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;padding:0 15px 16px;align-items:start}
.results section{min-width:0}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 7px;min-height:42px}
.section-title h2{font-size:.94rem;letter-spacing:-.023em;font-weight:770}
.section-title>span{color:#bbc3df;font-size:.68rem;text-align:right}
.table-wrap{background:#1a1d2d;border:1px solid var(--edge);border-radius:7px;overflow:hidden}
table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:.76rem}
th,td{padding:7px 6px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #393e56}
thead th{color:var(--muted);font-size:.69rem;background:#292e43}
th:first-child{width:21%;padding-left:8px}
th:last-child{width:15%;min-width:40px}
tbody tr:last-child>*{border-bottom:0}
td:not(.row-status){font-family:var(--mono);unicode-bidi:plaintext}
td ul{list-style:none;margin:0;padding:0}
td li+li{margin-top:3px;padding-top:3px;border-top:1px dotted #5a607a}
td:nth-child(2){color:#cfdbff}
td:nth-child(3){color:#e0f6a8}
th[scope=row]{font-weight:735}
tr.changed{background:#2b2c42}
.row-status{color:#d6dcf0;font-size:.69rem}
.changed .row-status{color:#ffd793;font-weight:740}
.empty{font-size:.76rem;color:var(--muted);padding:9px 8px;border-top:1px solid var(--edge)}
.footnote,footer{font-size:.76rem;color:#c5cde5}
.footnote{max-width:76ch;margin-top:13px}
footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;border-top:1px solid var(--edge);margin-top:25px;padding:14px 0 22px}
.guide{width:min(756px,calc(100% - 44px));margin-top:40px}
.guide h1{font-size:clamp(2.9rem,7.5vw,5rem);margin-bottom:19px}
.guide h2{margin:26px 0 7px;font-size:1.3rem}
.guide p,.guide ol{margin-bottom:13px;color:#dee5f7}
.guide code{overflow-wrap:anywhere;color:var(--green);font: .86em var(--mono)}
.guide .exercise{padding:13px 16px;border-left:3px solid var(--green);background:var(--surface)}
@media(max-width:970px){
  .results{grid-template-columns:1fr}
  .section-title{min-height:0}
  .masthead,main,footer{width:calc(100% - 52px)}
}
@media(max-width:585px){
  .masthead,main,footer{width:calc(100% - 24px)}
  .masthead{min-height:50px}
  .intro{align-items:flex-start;flex-direction:column;gap:9px;padding-top:21px;padding-bottom:14px}
  h1{font-size:clamp(2.3rem,10.5vw,3.9rem)}
  .intro p{font-size:.87rem;margin-top:7px}
  .links{grid-template-columns:1fr}
  .link-input{padding:7px 10px 8px}
  .toolbar{padding:7px 10px}
  #result{font-size:.77rem}
  .option{font-size:.69rem}
  .results{padding:0 8px 10px;gap:8px}
  .section-title h2{font-size:.85rem}
  .section-title>span{font-size:.62rem}
  th,td{padding:5px 4px;font-size:.68rem}
  th:first-child{padding-left:5px}
  th:last-child{width:17%}
  .row-status,thead th{font-size:.64rem}
}
