/* AnesPilot preceptor page: the app's look, light and dark */
:root{--bg:#F6F7FB;--surface:#FFFFFF;--surface-alt:#EFF1F7;--border:#E3E6EF;--text:#1C2233;--muted:#818BA0;--primary:#2FC1E8;--green:#1B9C5C;--red:#E2445C;--radius:12px;--radius-sm:8px;--navy:#0b1f5c}
@media (prefers-color-scheme: dark){
  :root{--bg:#0B1220;--surface:#141B2E;--surface-alt:#1B2438;--border:#2A3450;--text:#E7ECF5;--muted:#8B96AE}
  .ff-root{--ff-ink:#7FDDF5;--ff-hit:#FF7AA8}
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;font-size:16px;line-height:1.45}
.top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;background:linear-gradient(180deg,#0b1f5c,#0a1a4a);color:#fff}
.brand{display:flex;align-items:center;gap:8px;font-weight:800;font-size:1.05rem;letter-spacing:-.01em;color:#fff;text-decoration:none}
.brand b{color:#2FC1E8}
.logo{display:inline-flex;width:28px;height:28px;border-radius:8px;align-items:center;justify-content:center;background:#2FC1E8;color:#0b1f5c;font-weight:900}
.tag{font-size:.8rem;opacity:.8}
main{max-width:760px;margin:0 auto;padding:16px 16px 40px}
.foot{max-width:760px;margin:0 auto;padding:0 16px 32px;font-size:.78rem;color:var(--muted);text-align:center}
.foot a{color:inherit}
.card{border:1px solid var(--border);background:var(--surface);padding:13px 15px;margin-bottom:10px;border-radius:var(--radius)}
.loading{color:var(--muted)}
.panel-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;flex-wrap:wrap;gap:6px}
.panel-title{font-size:1.15rem;font-weight:800}
.panel-hint{font-size:.8rem;color:var(--muted)}
button.action{font:inherit;font-size:.9rem;background:var(--primary);color:#fff;border:none;padding:11px 18px;border-radius:var(--radius-sm);cursor:pointer;font-weight:700}
button.action.secondary{background:var(--surface);color:var(--text);border:1px solid var(--border);font-weight:600}
button.action[disabled]{opacity:.55;cursor:default}
input,textarea{font-size:16px} /* no zoom on iPhone */
