/* Layout: tablet-first cockpit. Zijrail op breed scherm, tabbalk onderaan op smal scherm. Samenvatting bovenaan, detail via doorklikken, bewerken via een formulierblad. */
:root{
  --bg:#f3f5f9; --surface:#ffffff; --surface2:#e9edf4; --line:#d7dde8;
  --fg:#15202e; --muted:#5b6778; --accent:#2a4fd6; --accent-soft:#e3e9fb;
  --ok:#1f9d6b; --warn:#d9900c; --crit:#d6433b; --ok-soft:#dff4ea; --warn-soft:#fdf0d5; --crit-soft:#fbe1df;
  --display:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; --body:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:14px; --shadow:0 1px 2px rgba(21,32,46,.06),0 8px 24px -12px rgba(21,32,46,.18);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0f141c; --surface:#171e29; --surface2:#1f2836; --line:#2b3545;
  --fg:#e8edf5; --muted:#8e9bb0; --accent:#7f9bff; --accent-soft:#223060;
  --ok:#3fc48e; --warn:#f0b43a; --crit:#f26b63; --ok-soft:#153a2c; --warn-soft:#3f2f0e; --crit-soft:#44201e;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px -12px rgba(0,0,0,.6); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0f141c; --surface:#171e29; --surface2:#1f2836; --line:#2b3545;
  --fg:#e8edf5; --muted:#8e9bb0; --accent:#7f9bff; --accent-soft:#223060;
  --ok:#3fc48e; --warn:#f0b43a; --crit:#f26b63; --ok-soft:#153a2c; --warn-soft:#3f2f0e; --crit-soft:#44201e;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px -12px rgba(0,0,0,.6); color-scheme:dark}

*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--body);font-size:15px;line-height:1.45;display:flex;min-height:100%}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--bg)}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance}
h1{font-size:1.35rem;font-weight:700}
h2{font-size:1.05rem;font-weight:600}
h3{font-size:.95rem;font-weight:600}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.small{font-size:.8rem}
.eyebrow{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
a{color:var(--accent)}

/* Navigatie */
nav.rail{position:sticky;top:env(safe-area-inset-top,0px);height:calc(100vh - env(safe-area-inset-top,0px));width:220px;flex:0 0 220px;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:18px 12px 18px max(12px,env(safe-area-inset-left,0px));overflow-y:auto}
.brand{display:flex;align-items:center;gap:10px;padding:6px 8px 14px}
.brand .mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,var(--accent),#7aa0ff);display:grid;place-items:center;color:#fff;font-family:var(--display);font-weight:700;font-size:.9rem}
.brand b{font-family:var(--display);font-size:1rem}
.brand small{display:block;color:var(--muted);font-size:.72rem}
nav.rail .items{display:flex;flex-direction:column;gap:1px}
.navbtn{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;text-align:left;width:100%;color:var(--muted);font-weight:500;font-size:.9rem}
.navbtn svg{width:18px;height:18px;flex:0 0 18px}
.navbtn:hover{background:var(--surface2);color:var(--fg)}
.navbtn[aria-current="page"]{background:var(--accent-soft);color:var(--accent);font-weight:600}
nav.rail .foot{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:12px}
.themebtn{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;border:1px solid var(--line);color:var(--muted);font-size:.85rem}
nav.tabs{display:none}
.savechip{font-size:.72rem;padding:4px 10px;border-radius:999px;background:var(--surface2);color:var(--muted);display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.savechip.busy{background:var(--warn-soft);color:var(--warn)}.savechip.ok{background:var(--ok-soft);color:var(--ok)}.savechip.err{background:var(--crit-soft);color:var(--crit)}

/* Hoofd */
main{flex:1;min-width:0;padding-block:18px 32px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.wrap{max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:18px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.topbar .sub{color:var(--muted);font-size:.85rem}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-size:.82rem;color:var(--muted);font-weight:500}
.chip[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.view{display:flex;flex-direction:column;gap:18px}
.btn-pri{background:var(--accent);color:#fff;font-weight:600;padding:9px 16px;border-radius:10px;font-size:.88rem;white-space:nowrap}
.btn-sm{background:var(--accent-soft);color:var(--accent);font-weight:600;padding:6px 11px;border-radius:9px;font-size:.8rem;white-space:nowrap}
.btn-ghost{color:var(--muted);font-weight:600;padding:6px 10px;border-radius:9px;font-size:.8rem;border:1px solid var(--line)}
.btn-del{color:var(--crit);font-weight:600;padding:6px 10px;border-radius:9px;font-size:.8rem;border:1px solid var(--line)}
.actbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* Tegels */
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;display:flex;flex-direction:column;gap:4px;box-shadow:var(--shadow);text-align:left}
.tile .v{font-family:var(--display);font-size:1.6rem;font-weight:700;line-height:1.1}
.tile .d{font-size:.78rem;color:var(--muted)}
.tile.ok .v{color:var(--ok)}.tile.warn .v{color:var(--warn)}.tile.crit .v{color:var(--crit)}
button.tile:hover{border-color:var(--accent)}

/* Secties */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:12px}
.cardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cols3{display:grid;grid-template-columns:2fr 1fr;gap:16px}
@media (max-width:860px){.cols2,.cols3{grid-template-columns:1fr}}
.cols2>*,.cols3>*{min-width:0}
.note{border-left:3px solid var(--accent);padding:8px 12px;background:var(--accent-soft);border-radius:0 10px 10px 0;font-size:.86rem}
.note.warn{border-color:var(--warn);background:var(--warn-soft)}
.note.crit{border-color:var(--crit);background:var(--crit-soft)}

/* Projectkaarten */
.plist{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.pcard{background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--line);border-radius:var(--r);padding:14px 16px;display:flex;flex-direction:column;gap:10px;text-align:left;box-shadow:var(--shadow);transition:transform .12s}
.pcard:hover{transform:translateY(-2px)}
.pcard.ok{border-left-color:var(--ok)}.pcard.warn{border-left-color:var(--warn)}.pcard.crit{border-left-color:var(--crit)}.pcard.acc{border-left-color:var(--accent)}
.pcard .t{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.pcard h3{font-size:1rem}
.pcard .meta{display:flex;gap:8px;flex-wrap:wrap;font-size:.78rem;color:var(--muted)}
.pcard .foot{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted);gap:8px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:.72rem;font-weight:600;white-space:nowrap}
.pill.ok{background:var(--ok-soft);color:var(--ok)}.pill.warn{background:var(--warn-soft);color:var(--warn)}.pill.crit{background:var(--crit-soft);color:var(--crit)}
.pill.type{background:var(--surface2);color:var(--muted)}
.pill.acc{background:var(--accent-soft);color:var(--accent)}
.bar{height:8px;border-radius:999px;background:var(--surface2);overflow:hidden;position:relative}
.bar>i{position:absolute;inset:0 auto 0 0;border-radius:999px;background:var(--accent)}
.bar>i.ok{background:var(--ok)}.bar>i.warn{background:var(--warn)}.bar>i.crit{background:var(--crit)}
.bar>u{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--fg);opacity:.55}
.barrow{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:.85rem}
.barrow .lbl{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}

/* Lijsten */
.rows{display:flex;flex-direction:column}
.row{display:grid;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line);font-size:.88rem}
.row:first-child{border-top:0}
.row.btn{cursor:pointer;text-align:left;width:100%}
.row.btn:hover{background:var(--surface2);margin:0 -8px;padding-left:8px;padding-right:8px;border-radius:8px}
.dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;font-size:.88rem}
.dl dt{color:var(--muted)}.dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.table{width:100%;overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:.86rem}
th{text-align:left;font-weight:600;color:var(--muted);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
td.r,th.r{text-align:right}
tr.clk{cursor:pointer}tr.clk:hover td{background:var(--surface2)}
.lnk{color:var(--accent);font-weight:600;padding:0;text-align:left}
.lnk:hover{text-decoration:underline}

/* Detail */
.detailhead{display:flex;flex-direction:column;gap:10px}
.back{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:600;font-size:.85rem;padding:4px 0}
.subtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto}
.subtabs button{padding:10px 14px;color:var(--muted);font-weight:500;border-bottom:2px solid transparent;white-space:nowrap}
.subtabs button[aria-selected="true"]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.kpi{background:var(--surface2);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;text-align:left}
.kpi .v{font-family:var(--display);font-weight:700;font-size:1.25rem}
.kpi .d{font-size:.72rem;color:var(--muted)}
.kpi.ok .v{color:var(--ok)}.kpi.warn .v{color:var(--warn)}.kpi.crit .v{color:var(--crit)}
button.kpi:hover{outline:1px solid var(--accent)}

/* Mijlpalen */
.ms{display:flex;flex-direction:column;position:relative;padding-left:22px}
.ms::before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--line)}
.msi{position:relative;padding:8px 0 8px 10px;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:.88rem;align-items:center}
.msi::before{content:"";position:absolute;left:-19px;top:14px;width:10px;height:10px;border-radius:50%;background:var(--surface);border:2px solid var(--muted)}
.msi.done::before{background:var(--ok);border-color:var(--ok)}
.msi.late::before{background:var(--crit);border-color:var(--crit)}
.msi.soon::before{border-color:var(--warn);background:var(--warn)}
.msi .d{color:var(--muted);font-size:.8rem;white-space:nowrap}

/* Tijdslijn */
.gantt{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.gwrap{min-width:900px;position:relative}
.ghead{display:grid;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--surface);z-index:2}
.ghead>div{font-size:.72rem;color:var(--muted);padding:8px 6px;border-left:1px solid var(--line);white-space:nowrap}
.grow{display:grid;grid-template-columns:230px 1fr;border-bottom:1px solid var(--line);min-height:44px;align-items:center}
.grow .gl{padding:8px 12px;font-size:.85rem;display:flex;flex-direction:column;gap:2px;cursor:pointer;min-width:0;text-align:left}
.grow .gl b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.grow .gl small{color:var(--muted)}
.grow .gl:hover{background:var(--surface2)}
.gtrack{position:relative;height:44px}
.gbar{position:absolute;top:11px;height:22px;border-radius:7px;background:var(--surface2);overflow:hidden}
.gbar>i{position:absolute;inset:0 auto 0 0;background:var(--accent);opacity:.9;border-radius:7px}
.gbar.ok>i{background:var(--ok)}.gbar.warn>i{background:var(--warn)}.gbar.crit>i{background:var(--crit)}
.gbar span{position:absolute;left:8px;top:0;line-height:22px;font-size:.72rem;color:var(--fg);font-weight:600;white-space:nowrap}
.gdot{position:absolute;top:16px;width:12px;height:12px;transform:translateX(-6px) rotate(45deg);background:var(--fg);border-radius:2px;opacity:.7}
.gdot.late{background:var(--crit);opacity:1}
.today{position:absolute;top:0;bottom:0;width:2px;background:var(--crit);z-index:1;opacity:.8}
.today::after{content:"vandaag";position:absolute;top:2px;left:5px;font-size:.65rem;color:var(--crit);font-weight:600}
.gcols{position:absolute;inset:0;display:grid;pointer-events:none}
.gcols>div{border-left:1px solid var(--line);opacity:.6}

/* Risico's */
.matrix{display:grid;grid-template-columns:auto repeat(3,1fr);gap:4px;font-size:.78rem}
.matrix .ax{display:flex;align-items:center;justify-content:center;color:var(--muted);padding:4px}
.mcell{aspect-ratio:1.6;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:700;font-size:1.2rem;cursor:pointer;max-width:100%}
.mcell.l1{background:var(--ok-soft);color:var(--ok)}.mcell.l2{background:var(--warn-soft);color:var(--warn)}.mcell.l3{background:var(--crit-soft);color:var(--crit)}
.rrow{grid-template-columns:auto 1fr auto}
.sev{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-family:var(--display);font-weight:700}
.sev.l1{background:var(--ok-soft);color:var(--ok)}.sev.l2{background:var(--warn-soft);color:var(--warn)}.sev.l3{background:var(--crit-soft);color:var(--crit)}
.sev.l0{background:var(--surface2);color:var(--muted)}

/* Acties, werklast, logboek */
.arow .adetail{background:var(--surface2);border-radius:10px;padding:12px 14px;margin:2px 0 8px;display:flex;flex-direction:column;gap:12px;font-size:.88rem}
.opm{display:grid;grid-template-columns:52px 1fr;gap:8px;padding:4px 0;font-size:.85rem}
.opm.sys span:last-child{color:var(--muted);font-style:italic}
.opm.mtg span:last-child{border-left:3px solid var(--accent);padding-left:8px}
.pill.vs{background:var(--accent);color:#fff}
.opmform{display:flex;gap:8px;margin-top:6px}
input[type=text],input[type=number],input[type=date],input[type=datetime-local],select,textarea{font:inherit;color:var(--fg);background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:8px 10px;min-width:0;width:100%}
textarea{min-height:80px;resize:vertical}
input[type=number]{font-variant-numeric:tabular-nums}
.opmform input{flex:1}
.statgroup{display:flex;flex-direction:column;gap:6px}
.statgroup .eyebrow{margin:0}
.stack{position:relative;height:14px;border-radius:999px;background:var(--surface2);display:flex;overflow:hidden;min-width:0}
.stack i{display:block;height:100%}
.stack i+i{border-left:1px solid var(--surface)}
.stack u{position:absolute;top:-3px;bottom:-3px;width:2px;background:var(--crit)}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.78rem;color:var(--muted)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
svg text{font-family:var(--body)}
.logrow{grid-template-columns:70px 1fr;align-items:start}
.logtype{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.inzetgrid input{width:64px;padding:5px 6px;text-align:right}
code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.82rem;background:var(--surface2);padding:2px 6px;border-radius:5px}
pre{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.78rem;background:var(--surface2);padding:12px;border-radius:10px;overflow-x:auto;margin:0;line-height:1.5}
.drop{border:2px dashed var(--line);border-radius:12px;padding:18px;text-align:center;color:var(--muted);font-size:.88rem;display:flex;flex-direction:column;gap:8px;align-items:center}
.drop.over{border-color:var(--accent);background:var(--accent-soft)}
.drop input{display:none}
.stepper{display:flex;gap:4px;flex-wrap:wrap}
.stepper button{padding:5px 10px;border-radius:8px;font-size:.75rem;font-weight:600;background:var(--surface2);color:var(--muted);border:1px solid transparent}
.stepper button[aria-pressed="true"]{background:var(--ok-soft);color:var(--ok);border-color:var(--ok)}
.stepper button.todo:hover{border-color:var(--accent)}

/* Formulierblad */
.sheetbg{position:fixed;inset:0;background:rgba(10,14,20,.45);z-index:30;display:flex;align-items:flex-end;justify-content:center}
@media (min-width:861px){.sheetbg{align-items:center}}
.sheet{background:var(--surface);color:var(--fg);width:min(720px,100%);max-height:92vh;overflow-y:auto;border-radius:18px 18px 0 0;padding:18px max(18px,env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:14px;box-shadow:0 -10px 40px rgba(0,0,0,.3)}
@media (min-width:861px){.sheet{border-radius:18px}}
.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.form label{display:flex;flex-direction:column;gap:4px;font-size:.76rem;color:var(--muted);font-weight:600}
.form label.wide{grid-column:1/-1}
.form label.check{flex-direction:row;align-items:center;gap:8px;font-size:.88rem;color:var(--fg);font-weight:500}
.form label.check input{width:18px;height:18px}
.sheet .actbar{justify-content:space-between}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(80px + env(safe-area-inset-bottom,0px));background:var(--fg);color:var(--bg);padding:10px 16px;border-radius:999px;font-size:.85rem;z-index:40;box-shadow:var(--shadow);max-width:90%}
@media (min-width:861px){.toast{bottom:24px}}
.editbtn{color:var(--muted);font-size:.75rem;font-weight:600;padding:3px 8px;border-radius:7px;border:1px solid var(--line);white-space:nowrap}
.editbtn:hover{color:var(--accent);border-color:var(--accent)}
.menu{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.menu button{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:600;font-size:.85rem}
.menu button svg{width:24px;height:24px;color:var(--accent)}

/* Uitleg (i) */
.ib{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;border:1px solid var(--muted);color:var(--muted);font-size:10px;font-weight:700;font-family:var(--display);margin-left:6px;vertical-align:middle;line-height:1;padding:0;flex:0 0 16px}
.ib:hover{border-color:var(--accent);color:var(--accent)}
.helpbox{position:fixed;z-index:50;max-width:320px;background:var(--surface);color:var(--fg);border:1px solid var(--line);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow);font-size:.85rem;line-height:1.45}
.helpbox b{display:block;margin-bottom:4px;font-family:var(--display)}
.helpbox .x{position:absolute;top:6px;right:8px;color:var(--muted);font-size:.9rem}
.form label .ib{margin-left:4px}
.tile .d .ib{width:14px;height:14px;font-size:9px}

/* Smal scherm */
@media (max-width:860px){
  body{flex-direction:column}
  nav.rail{display:none}
  main{padding-block:14px 90px}
  nav.tabs{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--line);z-index:20;padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
  nav.tabs button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:.66rem;color:var(--muted);padding:6px 2px;border-radius:10px}
  nav.tabs button svg{width:22px;height:22px}
  nav.tabs button[aria-current="page"]{color:var(--accent);background:var(--accent-soft)}
  .plist{grid-template-columns:1fr}
  .grow{grid-template-columns:150px 1fr}
  .prow{grid-template-columns:1fr 60px !important}
  .prow>.stack{grid-column:1/-1}
  .mobilesave{display:flex;justify-content:space-between;align-items:center;gap:8px}
}
@media (min-width:861px){.mobilesave{display:none}}
@media (prefers-reduced-motion:reduce){.pcard{transition:none}}

/* Aanmelden en vergrendeling */
.gate{position:fixed;inset:0;background:var(--bg);z-index:100;display:grid;place-items:center;padding:24px}
.gate .box{width:min(380px,100%);background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow)}
.gate .brand{padding:0 0 6px}
.pin{display:flex;gap:8px;justify-content:center;margin:6px 0}
.pin i{width:14px;height:14px;border-radius:50%;border:2px solid var(--accent);display:block}
.pin i.on{background:var(--accent)}
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pad button{font-size:1.3rem;padding:14px 0;border-radius:12px;background:var(--surface2);font-family:var(--display);font-weight:600}
.pad button:active{background:var(--accent-soft)}
.pad button.ghost{background:none;font-size:.85rem;color:var(--muted)}
.sync{font-size:.72rem;color:var(--muted)}
