/* AskSummu field app, look v15.
   Direction: a field tool for Braille visits. Steady, tactile, plain-spoken.
   World: the steel body of a Perkins brailler, thick embossed paper, the brass of a stylus.
   Type: Atkinson Hyperlegible, made by the Braille Institute for low-vision readers.
   Signature: raised Braille dots (progress cells and the chosen answer), nothing else glows. */
:root{
  --ink:#111315;--raise:#171a1d;--raise-2:#1d2125;--raise-3:#252a2f;
  --line:rgba(226,232,238,.08);--line-2:rgba(226,232,238,.14);
  --text:#eceef0;--soft:#b6bcc3;--muted:#8d949c;--dim:#5d646c;
  --brass:#e2a64a;--brass-ink:#1a1408;--signal:#e5484d;--ok:#4cc38a;--focus:#e2a64a;
  --display:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,sans-serif;
  --body:"Atkinson Hyperlegible Next","Atkinson Hyperlegible",system-ui,sans-serif;
  --mono:"Atkinson Hyperlegible Mono",ui-monospace,monospace;
  --ease:cubic-bezier(.2,.8,.2,1)
}
body{font:400 17px/1.55 var(--body);font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

/* bars */
.top{background:rgba(17,19,21,.92)}
.nav{background:rgba(17,19,21,.96)}
.brand b{font:600 1rem/1 var(--body);letter-spacing:0}
.status{font:400 .78rem/1 var(--mono)}
.progress i{background:var(--brass)}

/* headings: size and colour carry the hierarchy, not heavy weight */
.hero h1{font:600 clamp(2rem,6.4vw,3rem)/1.06 var(--display);letter-spacing:-.01em;margin:1.25rem 0 .75rem}
.head h1{font:600 clamp(1.75rem,5vw,2.25rem)/1.1 var(--display);letter-spacing:-.005em}
.head .tag{font:500 .8rem/1 var(--mono);color:var(--brass);letter-spacing:0}
.head .tag .count{color:var(--muted)}
.gate h1{font:600 2rem/1.1 var(--display);letter-spacing:-.005em}
.tile b{font:600 1.12rem/1.25 var(--display)}
.kind b{font-family:var(--display)}

/* controls: one control radius, no pills */
.btn{border-radius:12px;font-weight:600}
.btn.ghost{border-color:var(--line-2)}
.btn.ghost:hover{border-color:rgba(226,232,238,.32);background:var(--raise)}
.chip{border-radius:10px;padding:.5rem .8rem}
.badge{border-radius:8px;font:500 .75rem/1 var(--mono)}
.steps button{border-radius:10px;padding:.5rem .8rem;font-size:.88rem}
.steps button[aria-current="step"]{background:var(--raise-3);color:var(--text);border-color:rgba(226,232,238,.32);box-shadow:inset 0 -2px 0 var(--brass)}
.steps button[aria-current="step"] .tick{border-color:var(--brass)}
input[type=text],input[type=number],input[type=date],input[type=password],input[type=search],textarea,select{border-radius:10px;background:var(--raise);border-color:var(--line-2)}
input:focus,textarea:focus,select:focus{border-color:var(--brass);outline:none}

/* questions */
.num{font:600 .8rem/1 var(--mono);color:var(--brass)}
.f > .lbl,.f > legend{font-weight:600;font-size:1.06rem;line-height:1.4}
.hint{color:var(--muted)}

/* answer options: calm tiles; the chosen one gets a raised dot */
.opt label{border-radius:10px;padding:0 .95rem;background:transparent;border-color:var(--line-2);color:var(--soft)}
.opt label:hover{border-color:rgba(226,232,238,.32);color:var(--text)}
.opt input:checked + label{background:var(--raise-3);border-color:var(--brass);color:var(--text);font-weight:600}
.opt input[type=radio] + label::before{content:"";width:10px;height:10px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 1.5px var(--dim)}
.opt input[type=radio]:checked + label::before{background:var(--brass);box-shadow:inset 0 -1.5px 0 rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.45)}
.opt input[type=checkbox] + label::before{border-radius:4px}
.opt input[type=checkbox]:checked + label::before{background:var(--brass);border-color:var(--brass)}
.dots .opt label{border-radius:10px}
.dots .opt label::before{display:none}

/* cards and tiles */
.tile{border-radius:16px;background:var(--raise);border-color:var(--line-2);min-height:132px;padding:1.15rem 1.15rem 1.05rem}
.tile:hover{border-color:rgba(226,232,238,.3);background:var(--raise-2)}
.tile:active{transform:scale(.99)}
.tile .ic{border-radius:10px;background:var(--raise-3)}
.tile.primary{background:var(--raise-2);color:var(--text);border-color:rgba(226,232,238,.28);box-shadow:inset 0 2px 0 var(--brass)}
.tile.primary .ic{background:var(--brass)}
.tile.primary .ic svg{stroke:var(--brass-ink)}
.tile.primary small{color:var(--soft)}
.kind,.person{border-radius:16px}
.meter i,.level i{background:var(--brass)}

/* Braille cells: embossed dots instead of glowing ones */
.dot{box-shadow:inset 0 0 0 1.5px var(--dim)}
.dot.up{background:var(--text);box-shadow:inset 0 -2px 0 rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.6)}
.cell.accent .dot.up{background:var(--brass);box-shadow:inset 0 -2px 0 rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.5)}

/* team tools and language switch follow the same radius */
.tdock button{border-radius:12px}
.tsheet{background:var(--ink);border-radius:16px 16px 0 0}
.tsheet .btn,.trecbtns .btn{border-radius:10px}
.tbadge{border-radius:6px}
.qlang button[aria-pressed=true]{border-color:var(--brass);background:var(--raise-3)}
.qtr{color:var(--soft)}

@media (max-width:640px){
  .tiles{grid-template-columns:1fr 1fr}
  .tiles > .tile.primary,.tiles > .tile.primary + .tile{grid-column:1/-1}
  .tiles > .tile:not(.primary){min-height:0;padding:14px 16px;gap:2px}
  .tiles > .tile:not(.primary) .ic{width:32px;height:32px;margin-bottom:6px}
  .tiles > .tile:not(.primary) b{font-size:1rem}
  .tiles > .tile:not(.primary) small{font-size:.82rem}
  .tiles > .tile.primary + .tile{flex-direction:row;align-items:center;gap:12px}
  .tiles > .tile.primary + .tile .ic{margin:0}
  .tiles > .tile.primary + .tile small{display:none}
}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
