/* ======= Theme ======= */
:root{
  --bg:#0b0c10;
  --panel:#10131a;
  --ink:#e7ecf5;
  --ink-2:#c3c8d4;
  --line:#1d2230;
  --soft:#151926;
  --accent:#67e8f9;
  --accent-2:#a78bfa;
  --ok:#22c55e;
  --warn:#f59e0b;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; color:var(--ink);
  font:16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(103,232,249,.08), transparent 60%),
    radial-gradient(1000px 500px at -10% 80%, rgba(167,139,250,.08), transparent 60%),
    var(--bg);
}

/* ======= Header ======= */
.site-header{
  position:sticky; top:0; z-index:40;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(14,16,24,.9), rgba(14,16,24,.55) 60%, transparent);
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:.8rem 1rem;
}
.brand{display:flex; align-items:center; gap:.8rem; max-width:980px; margin:auto}
.logo{
  width:40px; height:40px; border-radius:10px;
  display:grid; place-items:center; font-weight:800; color:#0a0b0f;
  background:conic-gradient(from 200deg, var(--accent), var(--accent-2));
  box-shadow:0 8px 22px rgba(103,232,249,.35);
}
.brand h1{margin:0; font-size:1.15rem; letter-spacing:.2px}
.subtitle{margin:.1rem 0 0; color:var(--ink-2); font-size:.95rem}

/* ======= Layout ======= */
.container{max-width:980px; margin:auto; padding:1rem; }
.oa-form{display:grid; gap:1rem}
.card{
  background:linear-gradient(180deg, var(--panel), var(--soft));
  border:1px solid var(--line);
  border-radius:16px; padding:1rem 1.1rem;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.strip{background:transparent; border:1px dashed var(--line); border-radius:16px; padding:1rem}
.lead{margin:.2rem 0 .6rem}
h3{margin:.1rem 0 1rem; font-size:1.05rem}

/* ======= Inputs ======= */
.stack{display:grid; gap:.35rem}
input[type="date"], input[type="time"]{
  background:#0e1118; color:var(--ink);
  border:1px solid var(--line); border-radius:12px;
  padding:.6rem .75rem; width:100%;
}
.muted{color:var(--ink-2); font-size:.92rem}

/* Grid */
.grid.two{display:grid; grid-template-columns:1fr 1fr; gap:.8rem}
@media (max-width:760px){ .grid.two{grid-template-columns:1fr} }

/* ======= Chips / Choices ======= */
.choices{display:flex; gap:.6rem; flex-wrap:wrap; margin:0; padding:0; border:0}
.legend{font-weight:600; margin:0 0 .4rem 0}
.row{flex-wrap:nowrap}
.wrap{flex-wrap:wrap}

.chip{
  --pad:.5rem .7rem;
  display:inline-flex; align-items:center; gap:.55rem;
  padding:var(--pad);
  border-radius:999px; border:1px solid var(--line);
  background:linear-gradient(90deg, rgba(103,232,249,.10), rgba(167,139,250,.10));
  cursor:pointer; user-select:none; transition:transform .05s ease;
}
.chip:hover{transform:translateY(-1px)}
.chip input{appearance:none; width:1.05rem; height:1.05rem; border-radius:50%;
  border:2px solid rgba(255,255,255,.35); display:grid; place-items:center}
.chip input:checked{border-color:var(--accent)}
.chip input:checked::after{content:""; width:.55rem; height:.55rem; border-radius:50%; background:var(--accent)}
.chip span{white-space:nowrap}
.chip.wide{border-radius:14px}

.choices.row .chip{border-radius:999px}
.choices.row .chip input{border-radius:50%}

/* Small tooltip dot at chip end */
.chip-tip{
  width:.6rem; height:.6rem; border-radius:50%;
  background:rgba(255,255,255,.28); position:relative; flex:0 0 auto;
}
.chip-tip::after{
  content:attr(data-tip);
  position:absolute; left:50%; transform:translateX(-50%) translateY(.5rem);
  width:min(260px, 80vw);
  background:#0f121a; color:var(--ink);
  border:1px solid var(--line); border-radius:10px;
  padding:.55rem .65rem; box-shadow:0 10px 30px rgba(0,0,0,.35);
  opacity:0; pointer-events:none; transition:opacity .18s ease;
}
.chip:hover .chip-tip::after{opacity:1}

/* Inline explanatory details */
details.inline > summary{
  display:inline-block; cursor:pointer;
  color:var(--accent); border-bottom:1px dashed var(--accent);
}
details.inline[open] > summary{color:var(--accent-2); border-color:var(--accent-2)}
.block{margin-top:.8rem}
.block > summary{
  cursor:pointer; user-select:none;
  padding:.55rem .75rem; border:1px solid var(--line); border-radius:12px;
  background:#0f121a; color:var(--ink);
}
.block[open] > summary{border-color:rgba(255,255,255,.25)}
.block > *:not(summary){margin:.75rem 0 0}

/* Bullets */
.bullets{margin:.2rem 0 0 1.1rem}
.bullets li{margin:.25rem 0}

/* Tip underline */
.tip{
  border-bottom:1px dotted var(--ink-2); cursor:help; position:relative;
}
.tip::after{
  content:attr(data-tip);
  position:absolute; left:50%; transform:translateX(-50%) translateY(.45rem);
  width:min(260px, 82vw); background:#0f121a; color:var(--ink);
  border:1px solid var(--line); border-radius:10px; padding:.55rem .65rem;
  opacity:0; pointer-events:none; transition:opacity .18s ease; box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.tip:hover::after{opacity:1}

/* Consent & actions */
.agree{display:flex; align-items:flex-start; gap:.6rem}
.agree input{margin-top:.2rem}
.actions{display:flex; gap:.6rem; margin-top:.8rem; flex-wrap:wrap}
.btn{
  appearance:none; border:1px solid var(--line); background:#0e1118;
  color:var(--ink); padding:.65rem .95rem; border-radius:12px; cursor:pointer;
}
.btn.primary{
  background:linear-gradient(90deg, var(--accent), var(--accent-2));
  color:#0a0b0f; font-weight:700; border:0;
  box-shadow:0 10px 24px rgba(163,146,255,.25);
}
.btn.ghost{background:transparent}

/* Footer */
.site-footer{max-width:980px; margin:1.4rem auto 2rem; text-align:center; color:var(--ink-2)}

/* A11y helper */
.visually-hidden{
  position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap; border:0; padding:0; margin:-1px;
}

