@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;600;700;800&display=swap');
:root{--ink:#12201d;--muted:#6d7d78;--line:#dce5e0;--paper:#f5f8f6;--white:#fff;--accent:#d7f36b;--orange:#ff8b5c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,system-ui,sans-serif}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5vw}.brand{display:flex;gap:12px;align-items:center}.brandmark{display:grid;place-items:center;width:38px;height:38px;background:var(--ink);color:var(--accent);border-radius:10px;font:500 14px 'DM Mono'}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.lang{border:1px solid var(--ink);border-radius:99px;padding:8px 15px;background:#fff;font:600 12px Manrope}.hero{max-width:1200px;margin:0 auto;padding:70px 5vw 52px;display:flex;justify-content:space-between;gap:40px}.eyebrow{font:500 11px 'DM Mono';letter-spacing:.14em;color:#75847f}.hero h1{font-size:clamp(40px,6vw,78px);line-height:.98;letter-spacing:-.06em;margin:16px 0}.hero h1 em{font-style:normal;color:#4a665d}.lede{color:var(--muted);max-width:440px;font-size:16px;line-height:1.7}.hero-card{align-self:end;background:var(--ink);color:white;border-radius:18px;padding:24px;min-width:190px;display:flex;flex-direction:column;gap:6px}.hero-card span{font:11px 'DM Mono';color:var(--accent)}.hero-card b{font-size:46px;letter-spacing:-.06em}.hero-card small{color:#b4c3bd}.search-panel{max-width:1200px;margin:0 auto;padding:0 5vw 28px}.controls{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;display:grid;grid-template-columns:180px 240px 1fr;gap:16px;box-shadow:0 8px 30px #18352b08}label{font:500 10px 'DM Mono';letter-spacing:.1em;color:var(--muted);display:flex;flex-direction:column;gap:8px}select,input{height:46px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 12px;font:600 14px Manrope;color:var(--ink);outline:none}input:focus,select:focus{border-color:var(--ink)}.hint{font-size:12px;color:var(--muted);padding:10px 4px}.workspace{max-width:1200px;margin:0 auto 44px;padding:0 5vw;display:grid;grid-template-columns:360px 1fr;gap:18px}.workspace aside,.detail{background:#fff;border:1px solid var(--line);border-radius:16px}.aside-head{padding:18px 20px;border-bottom:1px solid var(--line);font:11px 'DM Mono';display:flex;justify-content:space-between}.aside-head b{background:var(--accent);padding:3px 8px;border-radius:99px;color:var(--ink)}.results{max-height:540px;overflow:auto}.result{padding:16px 20px;border-bottom:1px solid #edf2ef;cursor:pointer}.result:hover,.result.active{background:#f1f7e5}.code{font:500 18px 'DM Mono';color:#e36b3d}.result strong{display:block;margin:5px 0;font-size:14px}.result small{color:var(--muted)}.detail{min-height:540px;padding:34px}.detail.empty{display:grid;place-content:center;text-align:center;color:var(--muted)}.empty-icon{font-size:52px;color:var(--orange)}.detail-head{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:22px}.detail h2{margin:0;font-size:28px;letter-spacing:-.04em}.badge{background:#fff0e9;color:#c8562e;border-radius:99px;padding:8px 12px;height:max-content;font:12px 'DM Mono'}.columns{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:26px}.detail h3{font:11px 'DM Mono';letter-spacing:.1em;color:var(--muted);margin:0 0 14px}.detail ul{padding-left:20px;margin:0;line-height:1.75}.detail li{margin-bottom:7px}.subnote{margin-top:28px;padding:14px 16px;background:#f5f8f6;border-radius:10px;color:var(--muted);font-size:12px}footer{text-align:center;padding:20px;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}@media(max-width:760px){.hero{padding-top:42px;display:block}.hero-card{margin-top:28px}.controls,.workspace{grid-template-columns:1fr}.workspace{padding-bottom:0}.results{max-height:280px}.columns{grid-template-columns:1fr}.detail{min-height:420px}.topbar{padding:0 20px}}
/* calmer service-desk layout */
.hero{padding-top:42px;padding-bottom:30px}.hero h1{font-size:clamp(36px,5vw,64px)}.hero-card{border-radius:12px;padding:17px 20px;min-width:155px}.controls{border-radius:12px;padding:16px;box-shadow:none}.workspace{grid-template-columns:310px 1fr;gap:14px}.workspace aside,.detail{border-radius:12px}.detail{padding:28px}.badge{background:#f2f5f3;color:#5f716a;border-radius:7px;font-size:10px;max-width:260px}.subpicker{margin:18px 0 0;max-width:600px}.subpicker select{border-color:#b7c9bf;background:#f7fbf8}.result{padding:13px 17px}.result strong{font-size:13px}.result small{font-size:11px}.subnote{margin-top:22px;font-size:11px}
@media(max-width:600px){.topbar{height:64px}.hero{padding:30px 20px 22px}.hero h1{font-size:42px}.lede{font-size:14px}.hero-card{display:none}.search-panel{padding:0 20px 18px}.controls{display:block;padding:13px}.controls label{margin-bottom:11px}.controls label:last-child{margin-bottom:0}.workspace{display:block;padding:0 20px;margin-bottom:25px}.workspace aside{margin-bottom:12px}.results{max-height:210px}.detail{padding:20px;min-height:0}.detail-head{display:block}.badge{display:inline-block;margin-top:10px}.columns{display:block;margin-top:20px}.columns section+section{margin-top:24px}.subpicker{margin-top:15px}.subnote{line-height:1.5}footer{padding:15px 20px}}
body{font-size:14px}.topbar{height:64px}.brandmark{width:32px;height:32px;font-size:12px}.brand strong{font-size:14px}.brand small{font-size:10px}.hero{padding-top:34px;padding-bottom:24px}.hero h1{font-size:clamp(32px,4vw,54px)}.lede{font-size:14px}.hero-card b{font-size:32px}.controls{padding:14px}.controls select,.controls input{height:40px;font-size:13px}.result{padding:11px 15px}.code{font-size:15px}.result strong{font-size:12px}.detail h2{font-size:21px}.detail{font-size:13px;padding:23px}.detail h3{font-size:10px}.detail li{margin-bottom:4px}.subnote{font-size:10px}

/* Compact fault-finder: controls first, detail only when the code is exact. */
.brand strong{font-size:15px;letter-spacing:-.02em;color:var(--ink);font-weight:800}
.hero{display:none}.topbar{height:56px}.search-panel{padding-top:18px;padding-bottom:12px}.controls{grid-template-columns:150px 230px minmax(260px,1fr);gap:10px}.hint{padding:7px 2px 0}.workspace{margin-bottom:24px}.workspace.single-result{grid-template-columns:1fr}.workspace.single-result aside{display:none}.detail{min-height:340px;padding:22px 24px}.detail-head{padding-bottom:16px}.detail h2{font-size:20px}.subpicker{margin-top:14px;max-width:none}.subpicker select{height:42px}.columns{margin-top:20px;gap:24px}.detail ul{line-height:1.55}.subnote{margin-top:18px;padding:11px 13px}.results{max-height:440px}
.detail-head .badge{display:none}
.subnote{display:none}
@media(max-width:600px){
  html,body{max-width:100%;overflow-x:hidden}
  .topbar{height:50px;padding:0 12px}.brand{gap:8px}.brandmark{width:28px;height:28px;border-radius:7px}.lang{padding:6px 11px}
  .search-panel{padding:8px}.controls{display:grid;grid-template-columns:1fr;gap:7px;padding:8px;border-radius:10px;max-width:100%}.controls label{margin:0;gap:4px;min-width:0}.controls .query{grid-column:auto}.controls select,.controls input{display:block;width:100%;min-width:0;max-width:100%;height:34px;padding:0 28px 0 9px;font-size:12px;border-radius:7px;text-overflow:ellipsis}.controls input{padding-right:9px}.hint{display:none}
  .workspace{padding:0 8px;margin-bottom:8px}.workspace aside{margin-bottom:8px}.workspace aside,.detail{border-radius:10px}.aside-head{padding:11px 13px}.results{max-height:150px}.result{padding:9px 12px}
  .detail{padding:13px 14px;min-height:0}.detail-head{padding-bottom:10px}.detail-head .code{font-size:13px}.detail h2{font-size:17px;line-height:1.3;letter-spacing:-.025em;margin-top:3px}.subpicker{margin-top:10px;gap:5px}.subpicker select{height:37px;padding:0 9px;font-size:12px}.columns{display:block;margin-top:14px}.detail h3{margin-bottom:9px}.detail ul{padding-left:17px;line-height:1.5}.detail li{margin-bottom:5px}.columns section+section{margin-top:16px}.brand small{display:none}footer{display:none}
}

/* The app name is the only branding accent. */
.brand strong{font-size:15px;color:var(--ink);font-weight:800;letter-spacing:-.02em}
.brand strong{font-size:17px}
.topbar{background:linear-gradient(110deg,#f5fbf8 0%,#fbfdf5 48%,#f4f8fb 100%);border-bottom:1px solid #c9dbd4;box-shadow:0 3px 15px rgba(38,84,71,.08)}
.controls label,.detail h3,.aside-head{letter-spacing:.06em}
.controls{position:relative;overflow:hidden;background:linear-gradient(120deg,#f3faf7 0%,#f8fbf3 52%,#f4f8fb 100%);border-color:#cfdfd8;box-shadow:0 5px 18px rgba(50,101,84,.055)}
.controls::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#b8d971,#72b9ad)}
.controls select,.controls input{background:rgba(255,255,255,.92);border-color:#cbdad4}
.detail-head .code{display:inline-block;background:#fff4ee;border-radius:7px;padding:3px 7px}
.columns section{background:transparent;border:0;border-radius:0;padding:0}
.columns section h3{display:flex;align-items:center;gap:7px;color:#3f675d;font-size:12px;font-weight:700;letter-spacing:.04em}
.columns section h3::before{content:"";width:4px;height:14px;border-radius:3px;background:#b8d971;box-shadow:0 0 0 3px rgba(184,217,113,.14)}
.brand strong{background:linear-gradient(100deg,var(--ink) 0%,#286b78 38%,#66528e 58%,var(--ink) 82%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 10px rgba(54,133,139,.12);animation:titleHolo 8s ease-in-out infinite}
@keyframes titleHolo{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media (prefers-reduced-motion:reduce){.brand strong{animation:none}}

@media(max-width:600px){
  .topbar{position:sticky;top:0;z-index:20;background:linear-gradient(110deg,rgba(239,249,244,.97),rgba(250,252,241,.97),rgba(241,247,250,.97));border-bottom-color:#bdd3ca;box-shadow:0 3px 14px rgba(30,78,64,.11);backdrop-filter:blur(8px)}
  .lang{min-width:54px;min-height:34px;padding:7px 12px}
}

/* Readable production theme */
html,body{font-family:Arial,Helvetica,sans-serif;background:#f1f6f5;font-size:15px}
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
*,button,select,input{font-family:Arial,Helvetica,sans-serif!important}
footer{display:block;background:#edf4f2;color:#60736d;font-size:12px;line-height:1.5;padding:18px 20px;min-height:52px}
@media(max-width:600px){
  body{font-size:15px}
  .detail{font-size:14px}
  .detail h2{font-size:18px}
  .controls select,.controls input{font-size:13px}
  footer{display:block;font-size:11px;padding:12px 14px;margin-top:8px}
  .brand strong{font-size:17px}
  .lang{font-size:12px;border-color:#60736d}
  .subpicker select{background:#f1f8f4}
  .columns section{padding:0}
  .controls{box-shadow:0 3px 12px rgba(50,101,84,.05)}
}
