/* Stijnson Agenda – beheer-app */
html,body{margin:0}body{font-size:14px;-webkit-text-size-adjust:100%}[hidden]{display:none!important}img{max-width:100%}
/* Layout: zijmenu-app op brede schermen; op telefoon een onderbalk met grote plusknop */
:root{
  --bg:#F7F6F5; --surface:#FFFFFF; --surface-2:#F3F0EE; --line:#ECE8E6; --line-2:#E3DFDC;
  --fg:#1D1B1A; --fg-2:#4A4542; --muted:#6E6864;
  --accent:#CF3B2E; --accent-strong:#A82E23; --accent-ink:#B5332A; --accent-soft:#FCEBE8; --on-accent:#FFFFFF;
  --ok:#1F6E62; --ok-sw:#1F9483; --ok-soft:#DCF1EC; --warn-soft:#FFF4E0; --warn-fg:#5A3A05;
  --danger-soft:#FCEBE8; --danger-fg:#8E2419; --wait-bg:#EDE6F8; --wait-fg:#4B2A86; --wait:#4B2A86;
  --block:#3F3A37; --on-block:#FFFFFF; --hatch:#ECE8E6; --hatch-2:#F7F5F4; --knob:#FFFFFF;
  --toast:#1D1B1A; --on-toast:#FFFFFF; --toast-btn:#3F3A37; --scrim:rgba(29,27,26,.45); --shadow:0 1px 2px rgba(29,27,26,.08);
  --rood:#CF3B2E; --rood-bg:#FCE6E3; --rood-fg:#8E2419;
  --oranje:#D98A0B; --oranje-bg:#FCEFD6; --oranje-fg:#6E4304;
  --groen:#1F9483; --groen-bg:#DCF1EC; --groen-fg:#134F45;
  --blauw:#3B6FD8; --blauw-bg:#E2EAFB; --blauw-fg:#1D4690;
  --paars:#A63D9E; --paars-bg:#F5E3F2; --paars-fg:#6E1F68;
  --grijs:#6E6864; --grijs-bg:#EFEDEB; --grijs-fg:#3A3532;
  --font:'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#161413; --surface:#211E1C; --surface-2:#2B2725; --line:#332F2C; --line-2:#433D39;
  --fg:#F3EFEC; --fg-2:#D3CBC6; --muted:#A8A09A;
  --accent:#E04A3C; --accent-strong:#E04A3C; --accent-ink:#FF9A8F; --accent-soft:#3D211D; --on-accent:#FFFFFF;
  --ok:#7DD8C6; --ok-sw:#2BA893; --ok-soft:#173A33; --warn-soft:#3A2E14; --warn-fg:#F4D58C;
  --danger-soft:#3D211D; --danger-fg:#FFB4AB; --wait-bg:#2E2145; --wait-fg:#DCCBFA; --wait:#8D63D2;
  --block:#5A534E; --on-block:#FFFFFF; --hatch:#2B2725; --hatch-2:#211E1C; --knob:#FFFFFF;
  --toast:#F3EFEC; --on-toast:#1D1B1A; --toast-btn:#D3CBC6; --scrim:rgba(0,0,0,.6); --shadow:0 1px 2px rgba(0,0,0,.4);
  --rood:#F0675B; --rood-bg:#45201C; --rood-fg:#FFC2BB;
  --oranje:#F3B44C; --oranje-bg:#3F2D0E; --oranje-fg:#FFD999;
  --groen:#3CC0AB; --groen-bg:#123B34; --groen-fg:#A8EBDD;
  --blauw:#6D96F0; --blauw-bg:#1A2A4D; --blauw-fg:#C3D4FF;
  --paars:#E06CC6; --paars-bg:#3A1E36; --paars-fg:#F6C9EE;
  --grijs:#A39A94; --grijs-bg:#2F2B29; --grijs-fg:#E3DCD7;
  color-scheme:dark }}
:root[data-theme="dark"]{
  --bg:#161413; --surface:#211E1C; --surface-2:#2B2725; --line:#332F2C; --line-2:#433D39;
  --fg:#F3EFEC; --fg-2:#D3CBC6; --muted:#A8A09A;
  --accent:#E04A3C; --accent-strong:#E04A3C; --accent-ink:#FF9A8F; --accent-soft:#3D211D; --on-accent:#FFFFFF;
  --ok:#7DD8C6; --ok-sw:#2BA893; --ok-soft:#173A33; --warn-soft:#3A2E14; --warn-fg:#F4D58C;
  --danger-soft:#3D211D; --danger-fg:#FFB4AB; --wait-bg:#2E2145; --wait-fg:#DCCBFA; --wait:#8D63D2;
  --block:#5A534E; --on-block:#FFFFFF; --hatch:#2B2725; --hatch-2:#211E1C; --knob:#FFFFFF;
  --toast:#F3EFEC; --on-toast:#1D1B1A; --toast-btn:#D3CBC6; --scrim:rgba(0,0,0,.6); --shadow:0 1px 2px rgba(0,0,0,.4);
  --rood:#F0675B; --rood-bg:#45201C; --rood-fg:#FFC2BB;
  --oranje:#F3B44C; --oranje-bg:#3F2D0E; --oranje-fg:#FFD999;
  --groen:#3CC0AB; --groen-bg:#123B34; --groen-fg:#A8EBDD;
  --blauw:#6D96F0; --blauw-bg:#1A2A4D; --blauw-fg:#C3D4FF;
  --paars:#E06CC6; --paars-bg:#3A1E36; --paars-fg:#F6C9EE;
  --grijs:#A39A94; --grijs-bg:#2F2B29; --grijs-fg:#E3DCD7;
  color-scheme:dark }

*{box-sizing:border-box}
body{background:var(--bg);color:var(--fg);font-family:var(--font);font-size:15px;line-height:1.4}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--accent-ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3{text-wrap:balance;margin:0}
.tab{font-variant-numeric:tabular-nums}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}

.app{display:flex;min-height:100vh}
.side{width:248px;flex:none;position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column;gap:22px;overflow-y:auto}
.logo{display:flex;justify-content:center;padding:4px 0}
.side nav{display:flex;flex-direction:column;gap:4px}
.nav-a{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:10px;color:var(--fg-2);font-weight:600;text-decoration:none;border:0;background:transparent;width:100%;text-align:left}
.nav-a:hover{background:var(--surface-2)}
.nav-a[aria-current="page"]{background:var(--accent-soft);color:var(--accent-ink);font-weight:800}
.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:12px}
.side-foot .save{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;padding:0 8px;line-height:1.35}
.acct{display:flex;align-items:center;gap:10px;padding:12px 4px 0 8px;border-top:1px solid var(--line)}
.acct .av{width:38px;height:38px;flex:none;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:800;font-size:14px;display:grid;place-items:center}
.who-btn{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:4px;margin:-4px;border:0;border-radius:10px;background:transparent;text-align:left}
.who-btn:hover{background:var(--surface-2)}
.acct .who{flex:1;min-width:0}
.sec-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.sec-row:last-child{border-bottom:0}
.sec-row .t{flex:1;min-width:0}
.fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.fgrid .full{grid-column:1/-1}
@media (max-width:640px){.fgrid{grid-template-columns:minmax(0,1fr)}}
.bizprev{padding:16px;border-radius:12px;background:var(--surface-2);font-size:14px;line-height:1.5}
.acct .who b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct .who small{display:block;font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-card{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:14px}
.acct-card .av{width:44px;height:44px;flex:none;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-weight:800;display:grid;place-items:center}
.dot{width:8px;height:8px;border-radius:50%;flex:none}
.main{flex:1;min-width:0;padding-block:28px 48px;padding-left:max(32px,env(safe-area-inset-left,0px));padding-right:max(32px,env(safe-area-inset-right,0px));display:flex;flex-direction:column;gap:18px}
.topbar{display:none}
#view{display:flex;flex-direction:column;gap:20px;min-width:0}
@media (max-width:899px){#view{gap:16px}}
.bottom{display:none}

@media (max-width:899px){
  .side{display:none}
  .main{padding-block:12px 128px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));gap:14px}
  .bottom{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:30;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;background:var(--surface);border-top:1px solid var(--line);padding:6px max(4px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px))}
  .wide-only{display:none!important}
}
@media (min-width:900px){ .narrow-only{display:none!important} }
.b-a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700}
.b-a[aria-current="page"]{color:var(--accent-ink);font-weight:800}
.fab{justify-self:center;width:58px;height:58px;margin-top:-24px;border-radius:20px;border:0;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 16px rgba(207,59,46,.35)}

/* Basisonderdelen */
.page-h{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}
.eyebrow{font-size:14px;font-weight:600;color:var(--muted)}
.h1{font-size:30px;font-weight:800;letter-spacing:-.02em}
@media (max-width:899px){.h1{font-size:25px}}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px}
@media (max-width:899px){.card{padding:16px}}
.h2{font-size:18px;font-weight:800}
.sub{font-size:14px;color:var(--muted)}
.row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.stack{display:flex;flex-direction:column;gap:14px}
.split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.split>.grow{flex:999 1 540px;min-width:0}
.split>.aside{flex:1 1 320px;min-width:0}
@media (min-width:900px){.split.detail-open>.aside{flex-basis:360px}}
@media (max-width:899px){ .split.detail-open>.grow{display:none} .split.list-only>.aside{display:none} }
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--surface);color:var(--fg);font-weight:700;text-decoration:none;white-space:nowrap}
.btn:hover{border-color:var(--muted)}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.btn.primary:hover{background:var(--accent-strong);border-color:var(--accent-strong)}
.btn.soft{background:var(--accent-soft);border-color:transparent;color:var(--accent-ink)}
.btn.danger{background:var(--accent-strong);border-color:var(--accent-strong);color:var(--on-accent)}
.btn.link{border:0;background:transparent;padding:0 4px;color:var(--accent-ink)}
.btn.block{width:100%}
.btn.big{min-height:52px;font-size:16px;font-weight:800;border-radius:12px}
.icon-btn{width:44px;height:44px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--surface);color:var(--fg);display:inline-flex;align-items:center;justify-content:center;flex:none}
.icon-btn.plain{border:0;background:transparent;color:var(--muted)}
.seg{display:inline-flex;padding:4px;background:var(--surface-2);border-radius:10px;gap:2px}
.seg button{height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;font-weight:600;color:var(--fg-2)}
.seg button[aria-pressed="true"]{background:var(--surface);box-shadow:var(--shadow);font-weight:800;color:var(--fg)}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:700;min-width:0}
.field .hint{font-weight:500;color:var(--muted)}
.inp{height:46px;padding:0 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);font-weight:500;width:100%;min-width:0}
textarea.inp{height:auto;padding:10px 12px;resize:vertical}
@media (max-width:899px){.inp{font-size:16px}}
.search{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--muted);min-width:0}
.search input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:var(--fg)}
.search.strong{border:2px solid var(--accent)}
.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:20px;font-size:12.5px;font-weight:700;white-space:nowrap}
.chip.ok{background:var(--ok-soft);color:var(--ok)}
.chip.mute{background:var(--surface-2);color:var(--fg-2)}
.chip.wait{background:var(--wait-bg);color:var(--wait-fg)}
.chip.warn{background:var(--warn-soft);color:var(--warn-fg)}
.pill{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:999px;border:1.5px solid var(--line-2);background:var(--surface);color:var(--fg-2);font-size:12px;font-weight:800;white-space:nowrap}
.pill.ok{border-color:color-mix(in srgb,var(--ok) 45%,var(--line-2));background:var(--ok-soft);color:var(--ok)}
.pill.warn{border-color:color-mix(in srgb,var(--muted) 45%,transparent);background:color-mix(in srgb,var(--muted) 8%,transparent);color:var(--muted);opacity:.65;cursor:default}
.pill[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.pill.red[aria-pressed="true"]{background:var(--accent-soft);border:2px solid var(--accent);color:var(--accent-ink)}
.choice{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface);text-align:left;min-width:0}
.choice[aria-checked="true"],.choice[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft)}
.choice b{display:flex;align-items:center;gap:8px;font-weight:800}
.choice span{font-size:13px;color:var(--fg-2)}
.sq{width:10px;height:10px;border-radius:3px;flex:none}
.note{padding:10px 14px;border-radius:10px;font-size:14px}
.note.warn{background:var(--warn-soft);color:var(--warn-fg);font-weight:600}
.note.err{background:var(--danger-soft);color:var(--danger-fg);font-weight:700}
.note.info{background:var(--surface-2);color:var(--fg-2)}
.note.ok{background:var(--ok-soft);color:var(--ok);font-weight:700}
.sw{width:52px;height:32px;padding:3px;border:0;border-radius:16px;background:var(--line-2);display:flex;justify-content:flex-start;flex:none}
.sw[aria-checked="true"]{background:var(--ok-sw);justify-content:flex-end}
.sw.red[aria-checked="true"]{background:var(--accent)}
.sw span{width:26px;height:26px;border-radius:50%;background:var(--knob);box-shadow:0 1px 2px rgba(0,0,0,.25)}
.chk{display:flex;align-items:center;gap:10px;font-weight:700;cursor:pointer;min-height:40px}
.chk input{width:20px;height:20px;margin:0;accent-color:var(--accent);flex:none}
.hatch{background:repeating-linear-gradient(135deg,var(--hatch) 0 5px,var(--hatch-2) 5px 10px)}
.empty{padding:36px 16px;text-align:center;color:var(--muted);font-weight:600}
.avatar{width:40px;height:40px;border-radius:50%;background:var(--surface-2);color:var(--fg-2);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;flex:none}
.avatar.big{width:56px;height:56px;font-size:20px;background:var(--accent-soft);color:var(--accent-ink)}
.list{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}
.li{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;min-width:0}
.li:last-child{border-bottom:0}
.li[aria-pressed="true"]{background:var(--accent-soft)}
.li .t{flex:1;min-width:0}
.li .t b{display:block;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.li .t small{display:block;font-size:13px;color:var(--fg-2)}

/* Agenda */
.week{min-width:0;overflow:hidden}
.week-scroll{max-height:500px;overflow:auto;overscroll-behavior:contain}
.week-in{min-width:720px}
.week-scroll>.wg{min-width:720px}
.wg{display:grid;grid-template-columns:52px repeat(7,minmax(76px,1fr));gap:6px}
.dh{border:0;background:transparent;padding:0;text-align:center}
.dh small{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.dh span{margin:4px auto 0;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800}
.dh.today small{color:var(--accent-ink)}
.dh.today span{background:var(--accent);color:var(--on-accent)}
.col{position:relative;border-radius:10px;background-color:var(--surface);border:1px solid var(--line);overflow:hidden}
.col.today{border:2px solid var(--accent-soft)}
.hrs{position:relative;font-size:12px;font-weight:600;color:var(--muted)}
.hrs div{position:absolute;right:6px;transform:translateY(-50%)}
.gl{position:absolute;left:0;right:0;height:1px;background:var(--line)}
.off{position:absolute;left:0;right:0;background:var(--surface-2)}
.ev{position:absolute;left:4px;right:4px;border:0;border-radius:8px;padding:5px 8px;text-align:left;font-size:12.5px;line-height:1.3;overflow:hidden}
.ev b{display:block;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pz{position:absolute;left:4px;right:4px;border-radius:6px;font-size:11.5px;font-weight:700;color:var(--fg-2);padding:0 8px;display:flex;align-items:center;overflow:hidden}
.closed{display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:13px;font-weight:700;color:var(--muted);text-align:center;padding:8px}
.strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.strip button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0;border:0;border-radius:14px;background:transparent;color:var(--fg)}
.strip button small{font-size:12px;font-weight:700;color:var(--muted)}
.strip button b{font-size:18px;font-weight:800}
.strip button i{width:5px;height:5px;border-radius:50%}
.strip button[aria-selected="true"]{background:var(--accent);color:var(--on-accent)}
.strip button[aria-selected="true"] small{color:var(--on-accent)}
.strip button.closedday{color:var(--muted)}
.drow{display:flex;gap:12px;width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:left;color:var(--fg)}
.drow .tm{width:54px;flex:none}
.drow .tm b{display:block;font-size:16px;font-weight:800}
.drow .tm small{font-size:13px;color:inherit;opacity:.8}
.drow .sub{color:inherit;opacity:.85}
.drow .bar{width:4px;flex:none;border-radius:2px}
.drow .tx{flex:1;min-width:0}
.drow .tx b{display:block;font-size:16px;font-weight:800}
.drow.blk{background:var(--block);color:var(--on-block);border-color:var(--block)}
.drow.blk .tm small{color:var(--on-block)}
.gap{display:flex;align-items:center;gap:10px;width:100%;padding:9px 14px;border:1.5px dashed var(--line-2);border-radius:12px;background:transparent;font-size:13.5px;font-weight:700;color:var(--fg-2);text-align:left}
.gap span{flex:1}
.gap .chip{flex:none}
.gap.out{color:var(--muted);border-style:dotted}
.prow{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:0;border-radius:12px;font-size:13.5px;font-weight:700;color:var(--fg-2);text-align:left;cursor:pointer}
.prow>span:first-child{flex:1}
.prow .chip{opacity:0;transition:opacity .18s}
.prow:hover .chip,.prow:focus-visible .chip{opacity:1}
@media (hover:none){.prow .chip{opacity:1}}
.pz{border:0;cursor:pointer;text-align:left}
.pz:hover{filter:brightness(.96)}
.agctl{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:'today date mode';align-items:center;gap:8px;margin-bottom:12px}
.ag-today{grid-area:today;justify-self:start}
.ag-date{grid-area:date;justify-self:center}
.ag-mode{grid-area:mode;justify-self:end}

.datepick{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 8px;border-radius:10px;color:var(--muted);min-width:0;cursor:pointer}
.datepick:hover{background:var(--surface-2)}
.datepick h2{color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.datepick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.seg button{min-width:0}
.agcard{container-type:inline-size}
.lbl-s{display:none}
@container (max-width:640px){.lbl-l{display:none}.lbl-s{display:inline}.agctl{gap:4px}.agctl .icon-btn.plain{width:30px}.agctl .datepick{padding:0 4px;gap:4px}.agctl .datepick h2{font-size:16px}.ag-today{padding:0 9px!important;font-size:14px}.agctl .seg button{padding:0 9px;font-size:14px}}
@container (max-width:420px){.agctl{gap:2px}.agctl .datepick>svg{display:none}.agctl .icon-btn.plain{width:24px;height:36px}.agctl .datepick{padding:0 2px;min-height:40px}.agctl .datepick h2{font-size:14px}.ag-today{min-height:36px!important;padding:0 7px!important;font-size:13px}.agctl .seg{padding:3px}.agctl .seg button{height:30px!important;padding:0 7px!important;font-size:13px}}
.agctl.stack{grid-template-columns:1fr 1fr;grid-template-areas:'today mode' 'date date'}
@media (max-width:899px){.card.agcard{padding:14px 12px}}
.strip button.closedday[aria-selected="true"]{color:var(--on-accent)}
.strip button.closedday[aria-selected="true"] b{opacity:.7}
@media (max-width:899px){.agctl .seg button{height:32px;padding:0 12px}}
.legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;font-weight:600;color:var(--fg-2)}
.legend span{display:flex;align-items:center;gap:6px}
.banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;background:var(--surface-2);color:var(--fg-2);font-size:14px}
.banner span{flex:1 1 240px}

/* Sheet & toast */
.scrim{position:fixed;inset:0;z-index:40;background:var(--scrim);display:flex;align-items:center;justify-content:center;padding:16px}
.dlg{width:min(460px,100%);background:var(--surface);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:14px;max-height:90vh;overflow:auto}
@media (max-width:899px){.scrim{align-items:flex-end;padding:0}.dlg{width:100%;border-radius:22px 22px 0 0;padding:18px 18px calc(22px + env(safe-area-inset-bottom,0px))}}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:24px;z-index:50;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:12px 12px 12px 16px;border-radius:12px;background:var(--toast);color:var(--on-toast);font-size:14px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.2)}
.toast button{height:36px;padding:0 12px;border:0;border-radius:8px;background:var(--toast-btn);color:var(--on-toast);font-weight:800}
@media (max-width:899px){.toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.slot{height:44px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);font-weight:800}
.slot[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.slot{position:relative}
.gd{position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--ok-sw);flex:none}
.slot[aria-checked="true"] .gd{background:var(--on-accent)}
.dates{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.dbtn{flex:none;min-width:70px;padding:8px 10px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface);text-align:center}
.dbtn small{display:block;font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase}
.dbtn b{display:block;font-size:18px;font-weight:800}
.dbtn i{display:block;font-style:normal;font-size:11.5px;font-weight:700;color:var(--ok)}
.dbtn i.full{color:var(--muted)}
.dbtn[aria-pressed="true"]{border:2px solid var(--accent);background:var(--accent-soft)}
.step{display:flex;align-items:center;gap:10px}
.step b{width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent-ink);font-size:14px;display:flex;align-items:center;justify-content:center}
dl.kv{margin:0;display:grid;grid-template-columns:auto 1fr;gap:8px 14px;font-size:14px}
dl.kv dt{color:var(--muted);font-weight:600}
dl.kv dd{margin:0;font-weight:700;min-width:0}
.sticky{position:sticky;top:20px}
@media (max-width:899px){.sticky{position:static}}
.tcard{display:flex;flex-direction:column;gap:12px;width:100%;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:left}
.tcard[aria-pressed="true"]{border:2px solid var(--accent)}
.tico{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.tico i{width:14px;height:14px;border-radius:4px}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.facts span{padding:8px 10px;border-radius:10px;background:var(--surface-2);font-size:12px;color:var(--muted);font-weight:600}
.facts b{display:block;font-size:15px;color:var(--fg);font-weight:800}
.swatches{display:flex;flex-wrap:wrap;gap:10px}
.swatch{width:40px;height:40px;border-radius:50%;border:3px solid var(--surface)}
.swatch[aria-pressed="true"]{outline:2px solid var(--fg)}
.dayrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:14px 0;border-bottom:1px solid var(--line)}
.dayrow:last-child{border-bottom:0}
.dayname{display:flex;align-items:center;gap:12px;width:170px;font-weight:800}
.ptag{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 4px 0 12px;border-radius:19px;background:var(--surface-2);font-size:14px;font-weight:700}
.ptag.edit{border:1.5px solid var(--accent);background:var(--surface);padding:0 4px 0 8px}
.ptag input{height:30px;border:0;background:transparent;font-weight:600}
.addp{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1.5px dashed var(--line-2);border-radius:19px;background:transparent;font-size:14px;font-weight:700;color:var(--fg-2)}
.dpick{position:relative;cursor:pointer;color:var(--muted)}
.dpick b{display:flex;justify-content:center;height:24px;align-items:center}
.dpick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;padding:0;cursor:pointer}
.noslot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:var(--surface-2);font-weight:700;color:var(--fg-2);font-size:14px}
.page-h .seg{max-width:100%;overflow-x:auto;scrollbar-width:none}
.page-h .seg button{white-space:nowrap;flex:none}
.nav-a.parent{color:var(--fg);font-weight:800}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
.h3{margin:0;font-size:16px;font-weight:800}
.bp-col{flex:1 1 300px;min-width:0}
.bp-logo{display:flex;align-items:center;justify-content:center;min-height:96px;padding:16px;border:1.5px dashed var(--line-2);border-radius:14px;background:var(--surface-2);text-align:center}
.bp-logo img{max-height:80px;max-width:100%;object-fit:contain}
.bp-pick{position:relative;flex:none;width:50px;height:50px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);cursor:pointer;overflow:hidden}
.bp-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.bp-frame{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--bg);margin-inline:auto;width:100%;transition:max-width .35s cubic-bezier(.2,.7,.2,1)}
.bp-frame.phone{max-width:390px}
.bp-chrome{display:flex;align-items:center;gap:6px;padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--line)}
.bp-chrome i{width:10px;height:10px;border-radius:50%;background:var(--line-2)}
.bp-chrome span{flex:1;min-width:0;margin-left:8px;padding:4px 12px;border-radius:999px;background:var(--surface);font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bp-site{max-height:820px;overflow:auto}
.bp-tabs{display:flex;flex-wrap:wrap;max-width:100%}
.bp-steps{margin:0;padding-left:22px;display:grid;gap:6px;color:var(--fg-2);max-width:70ch}
.bp-steps code,.bp-code pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}
.bp-steps code{padding:1px 6px;border-radius:6px;background:var(--surface-2)}
.bp-code{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px}
.bp-code pre{flex:1 1 360px;min-width:0;margin:0;padding:14px 16px;border-radius:12px;background:var(--surface-2);border:1px solid var(--line);overflow-x:auto;white-space:pre;line-height:1.55}
/* widget */
.wgt{--brand-text:var(--brand-text-l)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .wgt{--brand-text:var(--brand-text-d)}}
:root[data-theme="dark"] .wgt{--brand-text:var(--brand-text-d)}
.wgt{container-type:inline-size;color:var(--fg);background:var(--bg);min-height:100%}
.wg-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:var(--surface);border-bottom:1px solid var(--line)}
.wg-logo{max-height:52px;max-width:60%;object-fit:contain}
.wg-name b{display:block;font-size:19px;font-weight:800;color:var(--brand-text);line-height:1.2}
.wg-name small{display:block;font-size:13px;color:var(--muted)}
.wg-call{text-align:right;font-size:13px;color:var(--muted);line-height:1.3}
.wg-call b{display:block;color:var(--fg);font-size:14px;white-space:nowrap}
.wg-body{padding:18px 20px 26px}
.wg-steps{display:flex;gap:6px;list-style:none;margin:0 0 18px;padding:0}
.wg-steps li{flex:1;min-width:0}
.wg-steps li>*{all:unset;display:flex;flex-direction:column;gap:7px;width:100%}
.wg-steps li>button{cursor:pointer}
.wg-steps i{height:5px;border-radius:3px;background:var(--line)}
.wg-steps li[data-st="done"] i{background:var(--brand)}
.wg-steps li[data-st="now"] i{background:color-mix(in srgb,var(--brand) 55%,var(--line))}
.wg-steps em{font-style:normal;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wg-steps li[data-st="now"] em{color:var(--fg)}
.wg-steps li[data-st="done"] em{color:var(--brand-text)}
.wg-h{margin:0;font-size:24px;font-weight:800;letter-spacing:-.01em;text-wrap:balance}
.wg-lead{margin:4px 0 16px;color:var(--fg-2);max-width:60ch}
.wg-muted{color:var(--muted);font-size:14px;margin:2px 0 12px}
.wg-sub{display:block;font-size:16px;font-weight:800}
.wg-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.wg-side{display:none}
@container (min-width:960px){.wg-grid{grid-template-columns:minmax(0,1fr) 260px;align-items:start}.wg-side{display:block;position:sticky;top:0}}
.wg-main{container-type:inline-size;min-width:0;animation:wgIn .35s cubic-bezier(.2,.7,.2,1) both}
@keyframes wgIn{from{opacity:0;transform:translateX(14px)}}
.wg-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px}
.wg-types{display:grid;gap:10px}
.wg-type{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;padding:14px 16px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);text-align:left;color:inherit;transition:border-color .15s,box-shadow .15s,transform .12s}
.wg-type:hover{border-color:var(--brand-line)}
.wg-type[aria-pressed="true"]{border-color:var(--brand);background:var(--brand-tint);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 20%,transparent)}
.wg-dur{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:var(--surface-2);font-size:11px;color:var(--muted);line-height:1.1}
.wg-dur b{font-size:20px;color:var(--brand-text)}
.wg-tt b{display:block;font-size:16px;font-weight:800}
.wg-tt small{display:block;font-size:13px;color:var(--fg-2)}
.wg-pr{display:flex;flex-direction:column;align-items:flex-end;font-size:13px;color:var(--fg-2);white-space:nowrap}
.wg-pr b{color:var(--fg);font-size:15px;margin-left:6px}
.wg-pr .kid{margin-top:1px;font-size:12px;color:var(--muted)}
.wg-pr .kid b{font-size:12px;font-weight:700;color:var(--muted)}
@container (max-width:520px){.wg-type{grid-template-columns:auto minmax(0,1fr)}.wg-pr{grid-column:1/-1;flex-direction:row;gap:14px;padding-top:8px;border-top:1px dashed var(--line)}.wg-top{padding:12px 16px}.wg-body{padding:16px}.wg-steps .x{display:none}.wg-steps li[data-st="now"] .x{display:inline}.wg-h{font-size:21px}.wg-call span{display:none}}
.wg-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
@container (max-width:620px){.wg-two{grid-template-columns:minmax(0,1fr)}}
.wg-calh{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.wg-calh b{font-size:17px}
.wg-ib{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--fg-2);display:grid;place-items:center}
.wg-ib:disabled{opacity:.35;cursor:default}
.wg-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 4px;text-align:center}
.wg-cal .dn{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;padding:4px 0}
.wg-day{position:relative;aspect-ratio:1;min-height:42px;padding-bottom:8px!important;border:0;border-radius:10px;background:transparent;font-weight:700;font-size:14px;color:var(--muted);opacity:.45;cursor:default;padding:0}
.wg-day.av{opacity:1;color:var(--fg);background:var(--surface-2);cursor:pointer}
.wg-day.av::after{content:"";position:absolute;left:50%;bottom:6px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:var(--brand)}
.wg-day.av:hover{background:var(--brand-tint)}
.wg-day[aria-pressed="true"]{background:var(--brand);color:var(--brand-ink)}
.wg-day[aria-pressed="true"]::after{background:var(--brand-ink)}
.wg-day.today{box-shadow:inset 0 0 0 1.5px var(--line-2)}
.wg-first{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--brand-tint);font-size:13px}
.wg-first button{border:0;background:transparent;color:var(--brand-text);font-weight:800;text-decoration:underline;text-underline-offset:3px;padding:2px}
.wg-grp{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px}
.wg-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:7px}
.wg-slot{height:46px;border-radius:11px;border:1.5px solid var(--line-2);background:var(--surface);color:inherit;font-weight:800;font-size:15px;line-height:1.1}
.wg-slot small{display:block;font-size:11px;font-weight:600;opacity:.75}
.wg-slot:hover{border-color:var(--brand)}
.wg-slot[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.wg-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.wg-form .full{grid-column:1/-1}
@container (max-width:560px){.wg-form{grid-template-columns:minmax(0,1fr)}}
.wgt .inp:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 22%,transparent);outline:none}
.wg-leg{font-size:14px;font-weight:700;margin-bottom:6px;padding:0}
.wg-dob{display:grid;grid-template-columns:1fr 1.5fr 1.2fr;gap:8px}
.wg-err{display:block;color:var(--err,#B03A2E);font-size:13px;font-weight:700;margin-top:4px}
.wg-ok{display:flex;align-items:center;gap:8px;margin-top:8px;padding:10px 12px;border-radius:10px;background:var(--ok-bg,#E7F3EA);color:var(--ok,#2F6B3F);font-size:14px;font-weight:700}
.wg-chk{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--fg-2)}
.wg-chk input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:var(--brand)}
.wg-act{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}
.wg-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border-radius:12px;border:0;background:var(--brand);color:var(--brand-ink);font-weight:800;font-size:15px}
.wg-btn:disabled{opacity:.45;cursor:not-allowed}
.wg-btn.ghost{background:transparent;color:var(--fg-2)}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}
.wg-rv{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px}
.wg-rv small{display:block;font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.wg-rv b{font-weight:700}
.wg-big{font-size:24px}
.wg-lnk{border:0;background:transparent;color:var(--brand-text);font-weight:800;text-decoration:underline;text-underline-offset:3px;padding:6px}
.wg-sum dl{margin:12px 0 0;display:grid;gap:8px}
.wg-sum dl div{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.wg-sum dt{color:var(--muted)}
.wg-sum dd{margin:0;font-weight:700;text-align:right}
.wg-tot{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line-2);font-size:14px}
.wg-tot b{font-size:19px}
.wg-done{text-align:center;padding:24px 0}
.wg-tick{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;background:var(--brand-tint);color:var(--brand-text);display:grid;place-items:center;animation:wgPop .5s cubic-bezier(.2,1.4,.4,1) both}
@keyframes wgPop{from{transform:scale(.4);opacity:0}}
.wg-note{display:inline-block;margin:0 0 14px;padding:6px 12px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:700;color:var(--fg-2)}
@media (prefers-reduced-motion:reduce){.wg-main,.wg-tick{animation:none}.bp-frame{transition:none}}
.mcard{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.mcard.warn{background:var(--warn-soft);border-color:transparent}
.mcard.ok{background:var(--ok-soft);border-color:transparent}
.mcard b svg{vertical-align:-3px}
.score{flex:none;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:800;background:var(--surface);color:var(--fg-2)}
.score.hi{color:var(--ok)}.score.mid{color:var(--warn-fg)}
.cmp{display:grid;gap:0;border-radius:10px;overflow:hidden;background:var(--surface);font-size:13.5px}
.cmp-h,.cmp-r{display:grid;grid-template-columns:76px minmax(0,1fr) minmax(0,1fr);gap:10px;padding:8px 10px;align-items:start}
.cmp-h{font-size:12px;font-weight:800;color:var(--muted);border-bottom:1px solid var(--line)}
.cmp-r+.cmp-r{border-top:1px solid var(--line)}
.cmp-r span{min-width:0;overflow-wrap:anywhere}
.cmp-r span:first-child{color:var(--muted);font-weight:700}
.mk{display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:50%;font-size:13px;font-weight:900;vertical-align:-3px}
.mk.ok{background:var(--ok-soft);color:var(--ok)}.mk.near{background:var(--warn-soft);color:var(--warn-fg)}.mk.no{background:var(--surface-2);color:var(--muted)}
.newc{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--ok) 25%,transparent)}
.dupgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:640px){.dupgrid{grid-template-columns:minmax(0,1fr)}}
.dupc{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:12px;background:var(--surface-2);min-width:0}
.dupc>div{overflow-wrap:anywhere}
.domchips{display:flex;flex-wrap:wrap;gap:8px}
.domchip{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 4px 0 12px;border-radius:18px;background:var(--surface-2);font-weight:700;font-size:14px}
.subnav{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.2,.7,.2,1)}
.subnav.open{grid-template-rows:1fr}
.subnav>div{overflow:hidden;display:flex;flex-direction:column;gap:2px;margin-left:21px;padding-left:12px;border-left:1.5px solid var(--line)}
.subnav.open>div{padding-block:2px 6px}
.nav-s{display:flex;align-items:center;min-height:38px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--fg-2);font-weight:600;font-size:14px;text-align:left;width:100%}
.nav-s:hover{background:var(--surface-2)}
.nav-s[aria-current="page"]{background:var(--accent-soft);color:var(--accent-ink);font-weight:800}
.backlink{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin:-4px 0 6px -6px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:var(--accent-ink);font-weight:800}
.setli{padding:14px 16px}
.setli .sico{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-ink)}
.setli>svg{color:var(--muted);flex:none}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
@media (max-width:899px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.kpi{display:flex;flex-direction:column;gap:4px;padding:16px}
.kpi .kl{font-size:13px;font-weight:800;color:var(--fg-2);text-transform:uppercase;letter-spacing:.06em}
.kpi .kv{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
@media (max-width:899px){.kpi .kv{font-size:24px}}
.kpi .ks{font-size:13px}
.dl{font-weight:800;font-size:13px;color:var(--fg-2)}
.dl.up{color:var(--ok)}
.dl.down{color:var(--danger-fg)}
.meter{height:8px;border-radius:4px;background:var(--surface-2);overflow:hidden;margin-top:6px}
.meter i{display:block;height:100%;border-radius:4px;background:var(--accent)}
.hb{display:flex;flex-direction:column;gap:6px}
.hbar{height:10px;border-radius:5px;background:var(--surface-2);overflow:hidden}
.hbar i{display:block;height:100%;border-radius:0 5px 5px 0}
.ovtip{position:absolute;z-index:5;pointer-events:none;padding:8px 10px;border-radius:10px;background:var(--toast);color:var(--on-toast);font-size:12.5px;line-height:1.4;box-shadow:0 6px 18px rgba(0,0,0,.18);white-space:nowrap}
.mini{position:relative;border-radius:10px;background:var(--surface-2);font-size:12px;overflow:hidden}
.mini .b{position:absolute;left:48px;right:8px;border-radius:6px;padding:2px 8px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini .lbl{position:absolute;left:8px;color:var(--muted);font-weight:600}
table.tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.tbl th{text-align:left;padding:10px 12px;font-size:13px;color:var(--muted);font-weight:700;border-bottom:1px solid var(--line)}
.tbl td{padding:9px 12px;border-bottom:1px solid var(--line)}
.tbl tr.sel td{background:var(--accent-soft)}
.tbl button.nm{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;font-weight:700;text-align:left}
/* Beweging */
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes slideX{from{opacity:0;transform:translateX(var(--dx,18px))}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeOut{from{opacity:1}to{opacity:0}}
@keyframes dlgIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes dlgOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(12px) scale(.97)}}
@keyframes sheetIn{from{transform:translateY(100%)}to{transform:none}}
@keyframes sheetOut{from{transform:none}to{transform:translateY(100%)}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes toastOut{from{opacity:1;transform:translate(-50%,0)}to{opacity:0;transform:translate(-50%,14px)}}
@keyframes pop{0%{transform:scale(.96)}60%{transform:scale(1.015)}100%{transform:none}}
#view.enter>*{animation:rise .36s cubic-bezier(.2,.8,.2,1) both}
#view.enter>*:nth-child(2){animation-delay:.04s}
#view.enter>*:nth-child(3){animation-delay:.08s}
#view.enter>*:nth-child(4){animation-delay:.12s}
#view.swap>*:not(.page-h){animation:slideX .32s cubic-bezier(.2,.8,.2,1) both}
.agbody.slide{animation:slideX .3s cubic-bezier(.2,.8,.2,1) both}
.scrim{animation:fadeIn .2s ease both}
.dlg{animation:dlgIn .26s cubic-bezier(.2,.8,.2,1) both}
.scrim.closing{animation:fadeOut .18s ease both}
.scrim.closing .dlg{animation:dlgOut .18s ease both}
@media (max-width:899px){.dlg{animation-name:sheetIn;animation-duration:.32s}.scrim.closing .dlg{animation-name:sheetOut}}
.toast{animation:toastIn .26s cubic-bezier(.2,.8,.2,1) both}
.toast.out{animation:toastOut .2s ease both}
.pop{animation:pop .24s ease}
.seg{position:relative}
.seg button{position:relative;z-index:1;transition:color .2s}
.seg.has-ind button[aria-pressed="true"]{background:transparent;box-shadow:none}
.seg-ind{position:absolute;z-index:0;border-radius:8px;background:var(--surface);box-shadow:var(--shadow);pointer-events:none}
.btn,.icon-btn,.choice,.slot,.dbtn,.pill,.li,.drow,.gap,.tcard,.nav-a,.b-a,.fab,.swatch,.strip button,.dh,.ev{transition:transform .14s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease}
.btn:active,.icon-btn:active,.choice:active,.slot:active,.dbtn:active,.pill:active,.li:active,.drow:active,.gap:active,.tcard:active,.nav-a:active,.b-a:active,.swatch:active,.strip button:active{transform:scale(.97)}
.fab:active{transform:scale(.9)}
.drow:hover,.tcard:hover,.choice:hover,.dbtn:hover,.slot:hover{box-shadow:0 2px 8px rgba(29,27,26,.08)}
.ev:hover{filter:brightness(.97);box-shadow:0 2px 6px rgba(29,27,26,.15)}
@media (prefers-reduced-motion: reduce){#view.enter>*,#view.swap>*,.agbody.slide,.scrim,.dlg,.toast,.pop{animation:none!important}}
/* inloggen */
#auth{min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--fg);font-family:var(--font)}
.authwrap{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px max(16px,env(safe-area-inset-right,0px)) 24px max(16px,env(safe-area-inset-left,0px))}
.authcard{width:100%;max-width:400px;padding:28px;gap:16px}
.authcard .logo svg{width:48px;height:44px}
.app-logo{display:block;width:64px;height:64px;object-fit:contain}
.topbar .app-logo{width:48px;height:48px}
.authcard .app-logo{width:80px;height:80px}
