:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0}img{max-width:100%}[hidden]{display:none!important}
/* Layout: one narrow phone column, sticky header, cards as a scannable list; timer bar docks at the bottom */
:root{
  /* Glass: helle, durchscheinende Flächen über einem blau-grauen Verlauf mit weichem Farbband */
  --bg:#B3C1D4; --bg-a:#CBD5E2; --bg-b:#9FB1C8;
  --rb-1:#3A62D2; --rb-2:#8FA9EE; --rb-3:#F1A9C6; --rb-4:#F5CE96; --rb-5:#EEF2F8; --rb-op:.62;
  --surface:rgba(248,250,253,.64); --surface-2:rgba(255,255,255,.42); --glass-strong:rgba(243,246,251,.86);
  --line:rgba(255,255,255,.68); --line-soft:rgba(60,80,110,.16);
  --fg:#17212E; --muted:#475569; --muted-bg:#253041;
  --accent:#2F5BE0; --accent-2:#6B8DF2; --accent-fg:#FFFFFF; --accent-soft:rgba(90,130,245,.2);
  --on-color:#FFFFFF;
  --over:#B8301F; --over-soft:rgba(232,96,76,.17); --over-line:rgba(214,92,72,.55);
  --soon:#8A5600; --soon-soft:rgba(240,176,60,.22);
  --ok:#22784A; --ok-2:#3C9A66; --ok-soft:rgba(70,186,120,.2);
  --irene:#962A72; --irene-soft:rgba(206,86,164,.18); --nico:#0C646D; --nico-soft:rgba(36,168,180,.18);
  --scrim:rgba(38,52,78,.32);
  --shadow:inset 0 1px 0 rgba(255,255,255,.75),0 8px 24px rgba(36,56,92,.12);
  --shadow-lg:inset 0 1px 0 rgba(255,255,255,.8),0 18px 50px rgba(30,48,84,.22);
  --blur:blur(22px) saturate(160%);
  --sparkle:#FFFFFF; --sparkle-glow:rgba(60,100,235,.95); --shine:rgba(255,255,255,.92);
  /* Schmutz: Flecken, Krümel, Spinnweben */
  --dirt-blend:multiply; --stain-k:.95; --speck-k:1.25;
  --grime:linear-gradient(rgba(150,120,80,.22),rgba(150,120,80,.22));
  --dirt-stain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.34 0 0 0 0 0.25 0 0 0 0 0.13 0 0 0 3.4 -1.5'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23f)'/%3E%3C/svg%3E");
  --dirt-speck:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.26 0 0 0 0 0.2 0 0 0 0 0.13 0 0 0 11 -7.2'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23f)'/%3E%3C/svg%3E");
  --web:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='76' viewBox='0 0 74 76'%3E%3Cpath d='M72 0L0 10 M72 0L6 34 M72 0L22 56 M72 0L46 72 M72 0L70 74 M56.2 2.2Q58.6 4.3 57.5 7.5Q60.8 8.7 61.0 12.3Q64.6 12.4 66.3 15.8Q69.3 14.1 71.6 16.3 M39.6 4.5Q44.7 8.7 42.3 15.3Q49.0 17.8 49.5 25.2Q57.0 25.3 60.3 32.4Q66.5 28.9 71.1 33.3 M21.6 7.0Q29.5 13.6 25.8 23.8Q36.3 27.7 37.0 39.2Q48.6 39.4 53.8 50.4Q63.4 45.0 70.6 51.8 M3.6 9.5Q14.3 18.4 9.3 32.3Q23.5 37.6 24.5 53.2Q40.2 53.5 47.3 68.4Q60.3 61.0 70.1 70.3' fill='none' stroke='rgba(60,62,70,0.55)' stroke-width='0.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --dirt-stain-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.8 0 0 0 0 0.74 0 0 0 0 0.62 0 0 0 3.2 -1.45'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23f)'/%3E%3C/svg%3E");
  --dirt-speck-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.86 0 0 0 0 0.78 0 0 0 11 -7.2'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23f)'/%3E%3C/svg%3E");
  --web-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='76' viewBox='0 0 74 76'%3E%3Cpath d='M72 0L0 10 M72 0L6 34 M72 0L22 56 M72 0L46 72 M72 0L70 74 M56.2 2.2Q58.6 4.3 57.5 7.5Q60.8 8.7 61.0 12.3Q64.6 12.4 66.3 15.8Q69.3 14.1 71.6 16.3 M39.6 4.5Q44.7 8.7 42.3 15.3Q49.0 17.8 49.5 25.2Q57.0 25.3 60.3 32.4Q66.5 28.9 71.1 33.3 M21.6 7.0Q29.5 13.6 25.8 23.8Q36.3 27.7 37.0 39.2Q48.6 39.4 53.8 50.4Q63.4 45.0 70.6 51.8 M3.6 9.5Q14.3 18.4 9.3 32.3Q23.5 37.6 24.5 53.2Q40.2 53.5 47.3 68.4Q60.3 61.0 70.1 70.3' fill='none' stroke='rgba(230,232,238,0.5)' stroke-width='0.8' stroke-linecap='round'/%3E%3C/svg%3E");
  --f-display:'Bricolage Grotesque',ui-rounded,'Segoe UI',system-ui,sans-serif;
  --f-body:'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --gutter-l:max(16px,env(safe-area-inset-left,0px)); --gutter-r:max(16px,env(safe-area-inset-right,0px));
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0D1420; --bg-a:#121D2E; --bg-b:#090F18;
  --rb-1:#2A48B8; --rb-2:#4067DA; --rb-3:#93509F; --rb-4:#9C6B3C; --rb-5:#1C283C; --rb-op:.75;
  --surface:rgba(28,38,57,.6); --surface-2:rgba(255,255,255,.06); --glass-strong:rgba(19,27,41,.88);
  --line:rgba(255,255,255,.13); --line-soft:rgba(255,255,255,.09);
  --fg:#E7EDF6; --muted:#A5B3C7; --muted-bg:#B3C0D2;
  --accent:#8FA9FF; --accent-2:#B5C7FF; --accent-fg:#0D1420; --accent-soft:rgba(120,150,255,.2);
  --on-color:#0D1420;
  --over:#FF8878; --over-soft:rgba(255,110,90,.16); --over-line:rgba(255,120,100,.45);
  --soon:#F4C064; --soon-soft:rgba(244,192,100,.15);
  --ok:#6AD49E; --ok-2:#93E6BC; --ok-soft:rgba(100,212,158,.16);
  --irene:#F29DD2; --irene-soft:rgba(242,157,210,.16); --nico:#71D8E1; --nico-soft:rgba(113,216,225,.15);
  --scrim:rgba(0,0,0,.5);
  --shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 28px rgba(0,0,0,.35);
  --shadow-lg:inset 0 1px 0 rgba(255,255,255,.08),0 20px 60px rgba(0,0,0,.55);
  --sparkle:#FFFFFF; --sparkle-glow:rgba(140,170,255,.95); --shine:rgba(255,255,255,.5);
  --dirt-blend:screen; --stain-k:.5; --speck-k:.6;
  --grime:linear-gradient(rgba(160,150,130,.1),rgba(160,150,130,.1));
  --dirt-stain:var(--dirt-stain-d); --dirt-speck:var(--dirt-speck-d); --web:var(--web-d);
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0D1420; --bg-a:#121D2E; --bg-b:#090F18;
  --rb-1:#2A48B8; --rb-2:#4067DA; --rb-3:#93509F; --rb-4:#9C6B3C; --rb-5:#1C283C; --rb-op:.75;
  --surface:rgba(28,38,57,.6); --surface-2:rgba(255,255,255,.06); --glass-strong:rgba(19,27,41,.88);
  --line:rgba(255,255,255,.13); --line-soft:rgba(255,255,255,.09);
  --fg:#E7EDF6; --muted:#A5B3C7; --muted-bg:#B3C0D2;
  --accent:#8FA9FF; --accent-2:#B5C7FF; --accent-fg:#0D1420; --accent-soft:rgba(120,150,255,.2);
  --on-color:#0D1420;
  --over:#FF8878; --over-soft:rgba(255,110,90,.16); --over-line:rgba(255,120,100,.45);
  --soon:#F4C064; --soon-soft:rgba(244,192,100,.15);
  --ok:#6AD49E; --ok-2:#93E6BC; --ok-soft:rgba(100,212,158,.16);
  --irene:#F29DD2; --irene-soft:rgba(242,157,210,.16); --nico:#71D8E1; --nico-soft:rgba(113,216,225,.15);
  --scrim:rgba(0,0,0,.5);
  --shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 28px rgba(0,0,0,.35);
  --shadow-lg:inset 0 1px 0 rgba(255,255,255,.08),0 20px 60px rgba(0,0,0,.55);
  --sparkle:#FFFFFF; --sparkle-glow:rgba(140,170,255,.95); --shine:rgba(255,255,255,.5);
  --dirt-blend:screen; --stain-k:.5; --speck-k:.6;
  --grime:linear-gradient(rgba(160,150,130,.1),rgba(160,150,130,.1));
  --dirt-stain:var(--dirt-stain-d); --dirt-speck:var(--dirt-speck-d); --web:var(--web-d);
  color-scheme:dark}

*{box-sizing:border-box}
body{background:var(--bg);color:var(--fg);font:15px/1.45 var(--f-body);padding-left:var(--gutter-l);padding-right:var(--gutter-r);padding-block:0 140px;-webkit-tap-highlight-color:transparent}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--bg)}
.wrap{max-width:620px;margin:0 auto}
button,select,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--bg);padding-block:12px 10px;border-bottom:1px solid var(--line)}
.top-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--accent);color:var(--accent-fg);display:grid;place-items:center;flex:none}
.brand-name{font:800 20px/1 var(--f-display);letter-spacing:-.01em}
.brand-sub{font-size:12px;color:var(--muted);margin-top:3px}
.me{display:flex;align-items:center;gap:6px}
.me-lbl{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.me-seg{display:flex;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px}
.me-seg button{border:0;background:none;border-radius:999px;padding:5px 11px;font-weight:600;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px}
.me-seg button[aria-pressed="true"]{background:var(--surface-2);color:var(--fg)}
.dot{width:8px;height:8px;border-radius:50%;flex:none}
.dot.irene{background:var(--irene)} .dot.nico{background:var(--nico)}
.tabs{display:flex;gap:4px;margin-top:12px}
.tabs button{flex:1;border:0;background:none;padding:7px 0;border-radius:9px;font-weight:600;font-size:14px;color:var(--muted)}
.tabs button[aria-selected="true"]{background:var(--surface);color:var(--fg);box-shadow:var(--shadow)}

/* summary */
.sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.sum button{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px 10px 9px;text-align:left;min-width:0}
.sum b{display:block;font:800 24px/1 var(--f-display);font-variant-numeric:tabular-nums}
.sum span{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.25}
.sum .s-over b{color:var(--over)} .sum .s-soon b{color:var(--soon)}
.sum button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft)}

/* filters */
.filters{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));padding-inline:var(--gutter-l) var(--gutter-r)}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--fg);white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--fg);border-color:var(--fg);color:var(--bg)}
.chip-sep{flex:none;width:1px;background:var(--line);margin:4px 2px}
.selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.sel{position:relative;min-width:0}
.sel span{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 3px 2px}
.sel select{width:100%;appearance:none;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:8px 26px 8px 10px;font-size:13.5px;font-weight:500;min-width:0;text-overflow:ellipsis}
.sel::after{content:"";position:absolute;right:11px;bottom:15px;width:6px;height:6px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);transform:rotate(45deg);pointer-events:none}

/* list */
.group{margin-top:22px}
.group-h{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 2px 8px}
.group-h h2{font:700 15px/1.2 var(--f-display);margin:0;text-transform:uppercase;letter-spacing:.06em}
.group-h .n{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.group.over .group-h h2{color:var(--over)}
.list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}
.card{display:grid;grid-template-columns:minmax(0,1fr) 54px;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.card.st-over{border-color:var(--over-line)}
.card-main{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 8px 11px 11px;text-align:left;background:none;border:0;min-width:0}
.c-name{font-weight:600;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.c-meta{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:4px;font-size:12px;color:var(--muted);align-items:center}
.pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:1px 8px 1px 6px;font-size:11.5px;font-weight:600;white-space:nowrap}
.pill.irene{background:var(--irene-soft);color:var(--irene)} .pill.nico{background:var(--nico-soft);color:var(--nico)}
.pill.need{background:var(--over-soft);color:var(--over)}
.pill.run{background:var(--accent-soft);color:var(--accent)}
.pill.res{border:1px dashed currentColor;background:none}
.c-count{text-align:right;font-family:var(--f-display);line-height:1;white-space:nowrap}
.c-count b{font-size:23px;font-weight:800;font-variant-numeric:tabular-nums}
.c-count .u{font-size:13px;font-weight:700;margin-left:2px}
.c-count small{display:block;font:500 11px var(--f-body);color:var(--muted);margin-top:4px}
.st-over .c-count{color:var(--over)} .st-soon .c-count{color:var(--soon)} .st-idle .c-count{color:var(--muted)}
.c-check{border:0;border-left:1px solid var(--line);background:var(--surface-2);color:var(--muted);display:grid;place-items:center}
.c-check:hover,.c-check:focus-visible{background:var(--ok-soft);color:var(--ok)}
.c-check svg{width:24px;height:24px}
.ring{width:40px;height:40px;display:block}
.ring circle{fill:none;stroke-width:4}
.ring .rt{stroke:var(--line)} .ring .rf{stroke:var(--ok);stroke-linecap:round}
.rs-soon .rf{stroke:var(--soon)} .rs-over .rf{stroke:var(--over)} .rs-idle .rf{stroke:none} .rs-idle .rt{stroke-dasharray:3 3}
.ring text{font:700 10.5px var(--f-display);fill:var(--muted)}
.area-h{font:600 12px var(--f-body);color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin:16px 2px 6px}
details.bedarf{margin-top:22px}
details.bedarf summary{list-style:none;cursor:pointer}
details.bedarf summary::-webkit-details-marker{display:none}
details.bedarf summary h2::after{content:" +";color:var(--muted)}
details.bedarf[open] summary h2::after{content:" –"}
.empty{margin-top:24px;padding:24px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--muted)}
.empty button{margin-top:10px}
.note{margin-top:28px;font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}

/* buttons */
.btn{border:1px solid transparent;border-radius:12px;padding:12px 14px;font-weight:700;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn svg{width:18px;height:18px}
.btn.ok{background:var(--ok);color:var(--surface)}
.btn.primary{background:var(--accent);color:var(--accent-fg)}
.btn.ghost{background:var(--surface-2);border-color:var(--line);color:var(--fg)}
.btn.danger{background:none;border-color:var(--over-line);color:var(--over)}
.btn.small{padding:7px 12px;font-size:13px;border-radius:10px}
.btn:disabled{opacity:.5;cursor:default}
.linkish{background:none;border:0;padding:4px 0;color:var(--accent);font-weight:600;font-size:13.5px;text-decoration:underline;text-underline-offset:3px}

/* fab */
.fab{position:fixed;right:var(--gutter-r);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:25;width:56px;height:56px;border-radius:18px;border:0;background:var(--fg);color:var(--bg);display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.2);transition:bottom .2s}
.fab svg{width:24px;height:24px}
body.has-timer .fab{bottom:calc(96px + env(safe-area-inset-bottom,0px))}

/* timer bar */
.tbar{position:fixed;left:0;right:0;bottom:0;z-index:26;background:var(--accent);color:var(--accent-fg);padding:12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom,0px)) var(--gutter-l)}
.tbar-in{max-width:620px;margin:0 auto;display:flex;align-items:center;gap:10px}
.tbar-txt{flex:1;min-width:0}
.tbar-name{font-size:12.5px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbar-time{font:800 26px/1.05 var(--f-display);font-variant-numeric:tabular-nums}
.tbar button{border:1.5px solid currentColor;background:none;color:inherit;border-radius:12px;padding:9px 12px;font-weight:700;font-size:14px;display:inline-flex;gap:6px;align-items:center}
.tbar button.solid{background:var(--accent-fg);color:var(--accent);border-color:var(--accent-fg)}
.tbar button svg{width:16px;height:16px}
.tbar.paused .tbar-time{opacity:.6}

/* sheet */
.scrim{position:fixed;inset:0;z-index:50;background:var(--scrim);display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--surface);width:100%;max-width:620px;max-height:90vh;overflow:auto;border-radius:22px 22px 0 0;padding:8px var(--gutter-r) calc(24px + env(safe-area-inset-bottom,0px)) var(--gutter-l);overscroll-behavior:contain}
@media (min-width:700px){.scrim{align-items:center}.sheet{border-radius:22px;max-height:86vh;padding-inline:24px}}
.grab{width:40px;height:4px;border-radius:2px;background:var(--line);margin:4px auto 12px}
.sh-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.sh-head h2{font:700 21px/1.2 var(--f-display);margin:4px 0 0;text-wrap:balance;overflow-wrap:anywhere}
.sh-kicker{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.x{border:0;background:var(--surface-2);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex:none;color:var(--muted)}
.x svg{width:18px;height:18px}
.sh-status{display:flex;gap:14px;align-items:center;margin-top:16px;padding:12px 14px;border-radius:14px;background:var(--surface-2)}
.sh-status.st-over{background:var(--over-soft)} .sh-status.st-soon{background:var(--soon-soft)}
.sh-count{font:800 30px/1 var(--f-display);font-variant-numeric:tabular-nums;white-space:nowrap}
.sh-count span{font-size:15px;margin-left:3px}
.st-over .sh-count{color:var(--over)} .st-soon .sh-count{color:var(--soon)} .st-ok .sh-count{color:var(--ok)}
.sh-status p{margin:0;font-size:13.5px;color:var(--fg)}
.sh-status p small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.sh-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.sh-sub{margin-top:4px;text-align:center}
.blk{margin-top:20px}
.lbl{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;margin-bottom:7px}
.seg2{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.seg2 button{border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:10px;font-weight:600;font-size:14px}
.seg2 button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.hint{font-size:12.5px;color:var(--muted);margin:7px 0 0}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fact{background:var(--surface-2);border-radius:12px;padding:10px 12px;min-width:0}
.fact b{display:block;font:700 17px/1.2 var(--f-display);font-variant-numeric:tabular-nums}
.fact span{font-size:12px;color:var(--muted)}
.hist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hist li{display:flex;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:13.5px}
.hist li:first-child{border-top:0}
.hist .when{flex:1;min-width:0;color:var(--muted)}
.hist .what{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.sh-foot{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}
.sh-foot .btn{flex:1}

/* form */
form .field{display:flex;flex-direction:column;gap:5px;margin-top:14px}
form label.f{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
form input[type=text],form input[type=number],form input[type=datetime-local],form select,form textarea{width:100%;border:1px solid var(--line);background:var(--surface-2);border-radius:11px;padding:10px 12px;font-size:15px;min-width:0}
form textarea{resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.presets{display:flex;flex-wrap:wrap;gap:6px}
.presets button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 11px;font-size:13px;font-weight:600}
.presets button[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.checkrow{display:flex;gap:8px;align-items:center;font-size:14px;margin-top:4px}
.form-err{color:var(--over);font-size:13px;min-height:1em;margin-top:8px}

/* stats */
.stats{margin-top:18px;display:flex;flex-direction:column;gap:14px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
.panel h3{font:700 16px/1.2 var(--f-display);margin:0 0 4px}
.panel p.sub{margin:0 0 14px;font-size:13px;color:var(--muted)}
.people{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.person{border-radius:12px;padding:12px;background:var(--surface-2)}
.person .nm{display:flex;gap:6px;align-items:center;font-weight:700}
.person b{display:block;font:800 26px/1.1 var(--f-display);margin-top:8px;font-variant-numeric:tabular-nums}
.person span{font-size:12px;color:var(--muted)}
.share{display:flex;height:12px;border-radius:6px;overflow:hidden;margin-top:14px;background:var(--line)}
.share i{display:block;height:100%}
.share i.irene{background:var(--irene)} .share i.nico{background:var(--nico)}
.share-l{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:6px;font-variant-numeric:tabular-nums}
.acc{width:100%;border-collapse:collapse;font-size:13.5px}
.acc th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600;text-align:right;padding:0 0 8px 8px}
.acc th:first-child{text-align:left;padding-left:0}
.acc td{padding:8px 0 8px 8px;border-top:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.acc td:first-child{text-align:left;padding-left:0;white-space:normal}
.acc .up{color:var(--over);font-weight:700} .acc .down{color:var(--ok);font-weight:700}
.tbl-wrap{overflow-x:auto}

/* search + switch */
.search{position:relative;display:flex;align-items:center}
.search>svg{position:absolute;left:12px;width:18px;height:18px;color:var(--muted);pointer-events:none}
.search input{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:11px 42px 11px 38px;font-size:15px;-webkit-appearance:none;appearance:none}
.search input::-webkit-search-cancel-button{display:none}
.search button{position:absolute;right:7px;border:0;background:var(--surface-2);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.search button svg{width:14px;height:14px}
.switch{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:600;cursor:pointer;user-select:none;align-self:flex-start;position:relative}
.switch input{position:absolute;opacity:0;width:1px;height:1px}
.switch .track{width:40px;height:24px;border-radius:12px;background:var(--line);position:relative;transition:background .15s;flex:none}
.switch .track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.switch input:checked+.track{background:var(--accent)}
.switch input:checked+.track::after{transform:translateX(16px)}
.switch input:focus-visible+.track{outline:2px solid var(--accent);outline-offset:2px}
details.group>summary{list-style:none;cursor:pointer}
details.group>summary::-webkit-details-marker{display:none}
details.group>summary h2::after{content:" +";color:var(--muted)}
details.group[open]>summary h2::after{content:" –"}
.room .group-h{padding-top:4px;border-top:1px solid var(--line)}
.room .group-h h2{text-transform:none;letter-spacing:-.005em;font-size:19px;padding-top:8px}
.room .group-h .n{padding-top:8px}
.group-h .ov{color:var(--over);font-weight:700}
.tab-n{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--accent-fg);font-size:11px;margin-left:6px;font-variant-numeric:tabular-nums;vertical-align:1px}

/* meine liste */
.add{display:flex;flex-direction:column;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px;margin-top:14px;box-shadow:var(--shadow)}
.add-row{display:flex;gap:8px}
.add input[type=text]{flex:1;min-width:0;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:10px 12px;font-size:15px}
.seg3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.seg3 button{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:7px 6px;font-weight:600;font-size:13px}
.seg3 button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.private{font-size:12px;color:var(--muted);margin:2px 2px 0}
.todo{display:grid;grid-template-columns:44px minmax(0,1fr) auto 34px;align-items:center;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:6px 4px;box-shadow:var(--shadow)}
.td-check{width:44px;height:40px;border:0;background:none;display:grid;place-items:center;color:var(--muted)}
.td-check span{width:22px;height:22px;border-radius:50%;border:2px solid currentColor;display:grid;place-items:center}
.td-check svg{width:14px;height:14px}
.td-check:hover span{color:var(--ok)}
.todo.done .td-check span{background:var(--ok);border-color:var(--ok);color:var(--surface)}
.todo.done .td-text{text-decoration:line-through;color:var(--muted)}
.td-text{font-size:15px;font-weight:500;overflow-wrap:anywhere;line-height:1.3}
.td-tag{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-weight:600}
.td-day{border:1px solid var(--line);background:var(--surface-2);border-radius:8px;padding:5px 4px;font-size:12.5px;max-width:104px}
.td-del{width:32px;height:32px;border:0;background:none;color:var(--muted);display:grid;place-items:center;border-radius:8px}
.td-del svg{width:15px;height:15px}
.sugg li{display:flex;align-items:center;gap:10px;padding:9px 10px 9px 14px;border:1px dashed var(--line);border-radius:12px}
.sugg .nm{flex:1;min-width:0;font-size:14px;font-weight:600}
.sugg small{display:block;font-weight:500;color:var(--over);font-size:12px;margin-top:2px}

/* melden */
.c-flag{gap:1px;font-size:10px;font-weight:700;letter-spacing:.02em}
.c-flag svg{width:19px;height:19px}
.c-flag:hover,.c-flag:focus-visible{background:var(--accent-soft);color:var(--accent)}
.seg2 button:disabled{opacity:.5;cursor:default}
.seg2 button[aria-pressed="true"]:disabled{opacity:1}
.res-other{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:14px;color:var(--muted)}
.res-other input{flex:1;min-width:0;border:1px solid var(--line);background:var(--surface-2);border-radius:10px;padding:8px 10px;font-size:14px}

/* persönliche Aufgaben in der Gesamtliste */
.todo.inlist{grid-template-columns:44px minmax(0,1fr) auto}
.todo.other{background:var(--surface-2);box-shadow:none;border-style:dashed}
.td-who{display:grid;place-items:center;width:44px;height:40px}
.td-who .dot{width:10px;height:10px}
.td-info{font-size:11.5px;color:var(--muted);padding-right:10px;white-space:nowrap}

/* ansicht + kalender */
.mode{display:grid;grid-template-columns:1fr 1fr;gap:3px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:3px;margin-top:12px}
.mode button{border:0;background:none;border-radius:9px;padding:8px;font-weight:600;font-size:14px;color:var(--muted);display:flex;gap:7px;align-items:center;justify-content:center}
.mode button svg{width:16px;height:16px}
.mode button[aria-pressed="true"]{background:var(--fg);color:var(--bg)}
.cal-mode .chips,.cal-mode .sel-sort,.cal-mode .switch{display:none}
.cal-mode .selects{grid-template-columns:repeat(2,minmax(0,1fr))}
.cal{margin-top:18px}
.cal-head{display:flex;align-items:center;gap:6px}
.cal-head h2{flex:1;min-width:0;font:700 19px/1.2 var(--f-display);margin:0}
.icon-btn{width:36px;height:36px;flex:none;border-radius:10px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;color:var(--fg)}
.icon-btn svg{width:18px;height:18px}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:10px}
.cal-wd{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:center;font-weight:600;padding-bottom:2px}
.cal-day{position:relative;min-width:0;min-height:56px;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:6px 5px 12px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;overflow:hidden}
.cal-day .dn{font:700 14px/1 var(--f-display);font-variant-numeric:tabular-nums}
.cal-day .dm{font-size:10.5px;font-weight:600;color:var(--muted);margin-top:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.cal-day .bar{position:absolute;left:5px;right:5px;bottom:4px;height:3px;border-radius:2px;background:var(--line)}
.cal-day .bar i{display:block;height:100%;border-radius:2px;background:var(--accent)}
.cal-day.past{background:var(--surface-2)}
.cal-day.past .bar i{background:var(--ok)}
.cal-day.has-over .bar i{background:var(--over)}
.cal-day.out{opacity:.45}
.cal-day.today{box-shadow:inset 0 0 0 1.5px var(--accent)}
.cal-day.today .dn{color:var(--accent)}
.cal-day.picked{background:var(--accent-soft);border-color:var(--accent)}
.rdots{position:absolute;top:6px;right:5px;display:flex;gap:2px}
.rdots .dot{width:6px;height:6px}
.cal-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--muted);margin-top:10px}
.lg{display:inline-flex;align-items:center;gap:6px}
.lg>i{width:14px;height:3px;border-radius:2px;display:inline-block}
.cal-note{font-size:12.5px;color:var(--muted);margin:8px 2px 0;max-width:62ch}
#agenda{scroll-margin-top:130px}
.group-h h2.ag-h{text-transform:none;letter-spacing:-.005em;font-size:18px}
.crow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding-right:10px;box-shadow:var(--shadow)}
.crow.proj{border-style:dashed;box-shadow:none;background:none}
.crow.planned{border-color:var(--accent)}
.crow.done{box-shadow:none}
.crow-main{background:none;border:0;text-align:left;padding:10px 4px 10px 14px;min-width:0}
.crow .t{font-weight:600;font-size:14.5px;line-height:1.3;overflow-wrap:anywhere}
.crow .who{font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap;font-size:13px;color:var(--muted)}
.crow.sum{display:block;padding:12px 14px;color:var(--muted);font-size:13.5px;border-style:dashed;box-shadow:none;background:none}

/* toast */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(90px + env(safe-area-inset-bottom,0px));z-index:60;background:var(--fg);color:var(--bg);border-radius:12px;padding:10px 10px 10px 14px;display:flex;gap:12px;align-items:center;font-size:14px;max-width:calc(100vw - 32px);box-shadow:0 8px 24px rgba(0,0,0,.25)}
body.has-timer .toast{bottom:calc(166px + env(safe-area-inset-bottom,0px))}
.toast button{border:0;background:none;color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:4px 6px}
@media (prefers-reduced-motion: no-preference){.toast{animation:up .18s ease-out}.sheet{animation:up .2s ease-out}@keyframes up{from{transform:translate(var(--tx,0),12px);opacity:0}}.toast{--tx:-50%}}
@media (max-width:380px){.c-count b{font-size:20px}.card-main{gap:10px}.sum b{font-size:21px}}
/* ===== Glass-Look ===== */
body{background:var(--bg);padding-block:0 210px}
#bg{position:fixed;inset:0;z-index:-1;background:linear-gradient(160deg,var(--bg-a),var(--bg-b));overflow:hidden;pointer-events:none}
#bg svg{position:absolute;left:0;top:0;width:100%;height:100%}
body::before{background:var(--surface);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur)}
.top{background:var(--surface);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:1px solid var(--line);box-shadow:0 6px 24px rgba(30,48,84,.08);margin-inline:calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));padding-inline:var(--gutter-l) var(--gutter-r)}
.brand-mark{background:linear-gradient(160deg,var(--accent-2),var(--accent));color:var(--accent-fg);border-radius:14px;box-shadow:0 6px 16px var(--accent-soft),inset 0 1px 0 rgba(255,255,255,.35)}
.brand-sub,.me-lbl{color:var(--muted)}
.me-seg{background:var(--surface-2);border:1px solid var(--line);box-shadow:var(--shadow)}
.me-seg button[aria-pressed="true"]{background:var(--surface);box-shadow:0 2px 10px rgba(30,48,84,.14)}

/* Bereiche-Navigation unten */
.tabs{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:27;display:flex;gap:4px;margin:0;padding:6px;width:min(360px,calc(100vw - 32px));border-radius:999px;background:var(--surface);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);box-shadow:var(--shadow-lg)}
.tabs button{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px 6px;border-radius:999px;font-size:11.5px;font-weight:600;color:var(--muted)}
.tabs button svg{width:22px;height:22px}
.tabs button[aria-selected="true"]{background:var(--surface-2);color:var(--accent);box-shadow:var(--shadow)}
.tab-n{position:absolute;top:3px;left:calc(50% + 6px);margin:0;border:2px solid var(--glass-strong)}

/* Bedienelemente */
.sum button{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:12px 12px 11px}
.sum button[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent)}
.mode{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);padding:4px}
.mode button{border-radius:999px}
.mode button[aria-pressed="true"]{background:var(--surface);color:var(--accent);box-shadow:0 2px 10px rgba(30,48,84,.14)}
.search input{background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);padding-left:42px}
.search>svg{left:15px}
.search button{background:var(--surface-2);border:1px solid var(--line)}
.chip{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.chip[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.sel select{background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);padding-left:14px}
.sel::after{right:15px}
.sel span,.group-h .n,.area-h,.note,.cal-wd,.cal-legend,.cal-note{color:var(--muted-bg)}
.switch .track{background:var(--surface-2);border:1px solid var(--line);box-shadow:inset 0 1px 3px rgba(30,48,84,.18)}
.switch .track::after{top:2px;left:2px}
.switch input:checked+.track{background:var(--accent);border-color:transparent}
.btn{border-radius:999px}
.btn.ok{background:linear-gradient(180deg,var(--ok-2),var(--ok));color:var(--on-color);box-shadow:0 6px 18px var(--ok-soft),inset 0 1px 0 rgba(255,255,255,.3)}
.btn.primary{background:linear-gradient(180deg,var(--accent-2),var(--accent));color:var(--accent-fg);box-shadow:0 6px 18px var(--accent-soft),inset 0 1px 0 rgba(255,255,255,.3)}
.btn.ghost{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.btn.danger{background:var(--surface-2)}
.linkish{color:var(--accent)}
.fab{background:linear-gradient(160deg,var(--accent-2),var(--accent));color:var(--accent-fg);border-radius:50%;box-shadow:0 10px 26px rgba(40,80,210,.35),inset 0 1px 0 rgba(255,255,255,.35);bottom:calc(96px + env(safe-area-inset-bottom,0px))}
body.has-timer .fab{bottom:calc(178px + env(safe-area-inset-bottom,0px))}
.empty{background:var(--surface-2);border-color:var(--line);border-radius:20px;color:var(--muted)}

/* Karten */
.card{position:relative;isolation:isolate;grid-template-columns:minmax(0,1fr) 62px;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.card.st-over{border-color:var(--over-line)}
.card>button{position:relative;z-index:1}
.card::before,.card::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;mix-blend-mode:var(--dirt-blend)}
.card::before{background:var(--dirt-stain),var(--grime);background-position:var(--dx,0) var(--dy,0),0 0;opacity:calc(var(--dirt,0) * var(--stain-k))}
.card::after{background:var(--dirt-speck);background-position:var(--dy,0) var(--dx,0);opacity:min(1,calc(var(--dirt,0) * var(--speck-k)))}
.card.webbed::before{background:var(--web),var(--dirt-stain),var(--grime);background-position:right 0 top 0,var(--dx,0) var(--dy,0),0 0;background-repeat:no-repeat,repeat,repeat;background-size:74px 76px,auto,auto}
.ring .rt{stroke:var(--line-soft)}
.c-check{position:relative;background:none;border-left:0;color:var(--muted)}
.c-check::before{content:"";position:absolute;left:50%;top:50%;width:42px;height:42px;margin:-21px 0 0 -21px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);box-shadow:var(--shadow);transition:background .15s}
.c-check>*{position:relative}
.c-check svg{width:20px;height:20px}
.c-check:hover,.c-check:focus-visible{background:none;color:var(--ok)}
.c-check:hover::before,.c-check:focus-visible::before{background:var(--ok-soft)}
.c-flag::before{width:50px;height:50px;margin:-25px 0 0 -25px;border-radius:16px}
.c-flag:hover,.c-flag:focus-visible{color:var(--accent)}
.c-flag:hover::before,.c-flag:focus-visible::before{background:var(--accent-soft)}
.todo{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.todo.other{background:var(--surface-2);box-shadow:none}
.todo.done .td-check span{color:var(--on-color)}
.td-day{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:5px 8px}
.add{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.add input[type=text]{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:10px 14px}
.seg2 button,.seg3 button,.presets button{background:var(--surface-2);border:1px solid var(--line);border-radius:999px}
.seg2 button[aria-pressed="true"],.seg3 button[aria-pressed="true"],.presets button[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.sugg li{background:var(--surface-2);border:1px dashed var(--line);border-radius:20px}
.crow{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.crow.proj,.crow.sum{background:var(--surface-2);border-style:dashed;box-shadow:none}
.cal-day{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.cal-day.past{background:var(--surface-2);box-shadow:none}
.cal-day.picked{background:var(--accent-soft);border-color:var(--accent)}
.cal-day .bar{background:var(--line-soft)}
.icon-btn{background:var(--surface);border:1px solid var(--line);border-radius:50%;box-shadow:var(--shadow)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.person{background:var(--surface-2);border:1px solid var(--line);border-radius:18px}
.acc td,.hist li{border-top-color:var(--line-soft)}
.room .group-h{border-top-color:var(--line)}

/* Timer, Toast, Sheet */
.tbar{left:var(--gutter-l);right:var(--gutter-r);bottom:calc(94px + env(safe-area-inset-bottom,0px));max-width:620px;margin-inline:auto;padding:10px 10px 10px 18px;border-radius:24px;background:linear-gradient(160deg,var(--accent-2),var(--accent));box-shadow:var(--shadow-lg)}
.toast{left:0;right:0;margin-inline:auto;width:fit-content;transform:none;--tx:0;background:var(--glass-strong);color:var(--fg);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow-lg);padding:8px 8px 8px 18px;bottom:calc(166px + env(safe-area-inset-bottom,0px))}
body.has-timer .toast{bottom:calc(248px + env(safe-area-inset-bottom,0px))}
.toast button{color:var(--accent)}
.sheet{background:var(--glass-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);border-bottom:0;box-shadow:var(--shadow-lg);border-radius:28px 28px 0 0}
@media (min-width:700px){.sheet{border-radius:28px;border-bottom:1px solid var(--line)}}
.x{background:var(--surface-2);border:1px solid var(--line)}
.sh-status{background:var(--surface-2);border:1px solid var(--line);border-radius:20px}
.sh-status.st-over{background:var(--over-soft);border-color:var(--over-line)}
.sh-status.st-soon{background:var(--soon-soft)}
.fact{background:var(--surface-2);border:1px solid var(--line);border-radius:18px}
.res-other input{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:8px 14px}
form input[type=text],form input[type=number],form input[type=datetime-local],form select,form textarea{background:var(--surface-2);border:1px solid var(--line);border-radius:14px}

/* Sauberwischen */
.card.wiping{box-shadow:var(--shadow),0 0 0 2px var(--ok-soft)}
.card.wiping .c-check{color:var(--ok)}
.card.wiping::before,.card.wiping::after{-webkit-mask-image:linear-gradient(90deg,transparent 45%,#000 55%);mask-image:linear-gradient(90deg,transparent 45%,#000 55%);-webkit-mask-size:200% 100%;mask-size:200% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;animation:wipe .9s cubic-bezier(.55,.05,.35,1) forwards}
@keyframes wipe{from{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:0 0;mask-position:0 0}}
.wiper{position:absolute;top:-20%;bottom:-20%;left:-32px;width:64px;z-index:2;pointer-events:none;background:linear-gradient(90deg,transparent,var(--shine) 42%,var(--shine) 58%,transparent);transform:skewX(-14deg);animation:wiper .9s cubic-bezier(.55,.05,.35,1) forwards}
.wiper::after{content:"";position:absolute;left:50%;top:8%;bottom:8%;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--accent);opacity:.55}
@keyframes wiper{from{left:-32px}to{left:calc(100% - 32px)}}
.spark{position:absolute;z-index:3;pointer-events:none;transform:translate(-50%,-50%) scale(0);animation:spark .6s ease-out both}
.spark svg{display:block;width:100%;height:100%;fill:var(--sparkle);filter:drop-shadow(0 0 3px var(--sparkle-glow))}
@keyframes spark{0%{transform:translate(-50%,-50%) scale(0) rotate(0)}45%{transform:translate(-50%,-50%) scale(1) rotate(45deg)}100%{transform:translate(-50%,-50%) scale(0) rotate(90deg)}}
/* ===== Dashboard + Einkaufsliste (gleicher Glass-Look, ohne Schmutz) ===== */
:root{
  /* Kategorie-Tönungen für Icons */
  --t-green:#2E8A55; --t-amber:#A86A10; --t-blue:#2F5BE0; --t-rose:#B83A6B; --t-teal:#0E7A82;
  --t-violet:#6A4BC4; --t-brown:#8A5A35; --t-slate:#4A5A72; --t-red:#B8401F;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --t-green:#6AD49E; --t-amber:#F4C064; --t-blue:#8FA9FF; --t-rose:#F29DC0; --t-teal:#71D8E1;
  --t-violet:#B9A4FF; --t-brown:#D9A97E; --t-slate:#A5B3C7; --t-red:#FF9A80}}
:root[data-theme="dark"]{
  --t-green:#6AD49E; --t-amber:#F4C064; --t-blue:#8FA9FF; --t-rose:#F29DC0; --t-teal:#71D8E1;
  --t-violet:#B9A4FF; --t-brown:#D9A97E; --t-slate:#A5B3C7; --t-red:#FF9A80}

/* Bereiche je nach Modul ein- und ausblenden */
body:not(.r-putz) .tabs, body:not(.r-putz) .fab, body:not(.r-putz) .tbar,
body:not(.r-putz) #view-list, body:not(.r-putz) #view-mine, body:not(.r-putz) #view-stats, body:not(.r-putz) .putz-note{display:none!important}
body:not(.r-home) #view-home, body:not(.r-shop) #view-shop{display:none!important}
body.r-home, body.r-shop{padding-block:0 72px}
body.r-home .toast, body.r-shop .toast, body.r-home.has-timer .toast, body.r-shop.has-timer .toast{bottom:calc(24px + env(safe-area-inset-bottom,0px))}
a.brand-mark{text-decoration:none;flex:none}
a.brand-mark svg{width:20px;height:20px}
a.brand-mark.is-back{background:var(--surface-2);color:var(--fg);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:50%}
a.brand-mark.is-back svg{width:22px;height:22px}
.brand-name{text-wrap:balance}
@media (max-width:420px){body:not(.r-home) .me-lbl{display:none}}

/* Dashboard */
.hello{margin-top:22px}
.hello h1{font:800 30px/1.1 var(--f-display);margin:0;letter-spacing:-.015em;text-wrap:balance}
.hello p{margin:6px 0 0;color:var(--muted-bg);font-size:14px}
.mods{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.mod{display:block;text-decoration:none;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:18px;box-shadow:var(--shadow);transition:box-shadow .2s,transform .2s}
a.mod:hover{box-shadow:var(--shadow-lg)}
a.mod:active{transform:scale(.99)}
.mod-top{display:flex;align-items:center;gap:14px}
.mod-ic{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;flex:none;color:var(--accent-fg);background:linear-gradient(160deg,var(--accent-2),var(--accent));box-shadow:0 8px 20px var(--accent-soft),inset 0 1px 0 rgba(255,255,255,.35)}
.mod-shop .mod-ic{color:var(--on-color);background:linear-gradient(160deg,var(--ok-2),var(--ok));box-shadow:0 8px 20px var(--ok-soft),inset 0 1px 0 rgba(255,255,255,.35)}
.mod-ic svg{width:26px;height:26px}
.mod-top h2{font:800 22px/1.1 var(--f-display);margin:0;letter-spacing:-.01em}
.mod-top p{margin:3px 0 0;font-size:13px;color:var(--muted)}
.mod-go{margin-left:auto;width:38px;height:38px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;color:var(--muted);flex:none}
.mod-go svg{width:18px;height:18px}
.mod-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}
.mod-stats div{background:var(--surface-2);border:1px solid var(--line);border-radius:18px;padding:10px 12px;min-width:0}
.mod-stats b{display:block;font:800 22px/1 var(--f-display);font-variant-numeric:tabular-nums;white-space:nowrap}
.mod-stats span{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.25}
.mod-stats .over b{color:var(--over)} .mod-stats .soon b{color:var(--soon)} .mod-stats .new b{color:var(--irene)} .mod-stats .new.nico b{color:var(--nico)}
.mod-peek{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column}
.mod-peek li{display:flex;align-items:center;gap:10px;padding:8px 2px;border-top:1px solid var(--line-soft);font-size:14px;min-width:0}
.mod-peek li:first-child{border-top:0}
.mod-peek .nm{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.mod-peek .v{font:700 13px var(--f-display);white-space:nowrap;color:var(--over)}
.mod-peek .v.soon{color:var(--soon)}
.mod-peek .dotc{width:8px;height:8px;border-radius:50%;background:var(--over);flex:none}
.mod-peek .dotc.soon{background:var(--soon)}
.mod-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.mod-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface-2);border-radius:999px;padding:4px 10px 4px 5px;font-size:13px;font-weight:600;max-width:100%}
.mod-chip.more{padding-left:10px;color:var(--muted)}
.mod-line{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:12px;font-size:12.5px;color:var(--muted)}
.mod-soon{background:var(--surface-2);border-style:dashed;box-shadow:none}
.mod-soon .mod-ic{background:var(--surface);color:var(--muted);box-shadow:none;border:1px solid var(--line)}

/* Kategorie-Icon */
.cic{--ct:var(--t-slate);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--ct);background:var(--surface-2);background:color-mix(in srgb,var(--ct) 16%,var(--surface-2));border:1px solid var(--line)}
.cic svg{width:17px;height:17px}
.cic.sm{width:24px;height:24px} .cic.sm svg{width:14px;height:14px}

/* Listen-Auswahl */
.sl-chips{margin-top:16px}
.chip .cn{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:10px;background:var(--surface-2);font-size:11.5px;font-variant-numeric:tabular-nums;vertical-align:1px}
.chip[aria-pressed="true"] .cn{background:var(--accent);color:var(--accent-fg)}
.chip .nd{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:6px;vertical-align:1px}
.chip .nd.irene{background:var(--irene)} .chip .nd.nico{background:var(--nico)}
.chip .lock{width:13px;height:13px;margin-right:5px;vertical-align:-2px}
.chip.add-l{color:var(--muted)}
.sl-head{display:flex;align-items:flex-end;gap:10px;margin-top:16px}
.sl-head>div:first-child{flex:1;min-width:0}
.sl-head h2{font:800 26px/1.1 var(--f-display);margin:0;letter-spacing:-.01em;text-wrap:balance;overflow-wrap:anywhere}
.sl-meta{font-size:13px;color:var(--muted-bg);margin-top:5px;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
.sl-tools{display:flex;gap:6px;align-items:center;flex:none}
.mini-seg{display:flex;background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:3px;box-shadow:var(--shadow)}
.mini-seg button{border:0;background:none;border-radius:999px;padding:6px 10px;font-size:12.5px;font-weight:700;color:var(--muted);white-space:nowrap}
.mini-seg button[aria-pressed="true"]{background:var(--surface);color:var(--accent);box-shadow:0 2px 10px rgba(30,48,84,.14)}

/* Eingabe mit Vorschlägen */
.sadd{position:sticky;top:calc(var(--hdr,72px) + 10px);z-index:15;margin-top:14px}
.sadd form{display:flex;align-items:center;gap:6px;background:var(--glass-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);border-radius:999px;padding:5px 5px 5px 16px;box-shadow:var(--shadow-lg)}
.sadd form:focus-within{box-shadow:var(--shadow-lg),0 0 0 2px var(--accent)}
.sadd .lead{width:19px;height:19px;color:var(--muted);flex:none}
.sadd form input[type=text]{flex:1;border-radius:0;box-shadow:none;min-width:0;border:0;background:none;padding:10px 4px;font-size:16px;color:var(--fg);outline:none}
.sadd input::placeholder{color:var(--muted)}
.sadd .go{width:42px;height:42px;border-radius:50%;border:0;display:grid;place-items:center;flex:none;color:var(--accent-fg);background:linear-gradient(160deg,var(--accent-2),var(--accent));box-shadow:0 6px 16px var(--accent-soft),inset 0 1px 0 rgba(255,255,255,.35)}
.sadd .go svg{width:20px;height:20px}
.sgg{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--glass-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-lg);padding:6px;max-height:min(52vh,430px);overflow:auto;overscroll-behavior:contain}
.sgg-row{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;border-radius:16px;padding:8px 10px;text-align:left;color:var(--fg)}
.sgg-row:hover,.sgg-row.hl{background:var(--surface-2)}
.sgg-row .nm{flex:1;min-width:0;font-weight:600;overflow-wrap:anywhere}
.sgg-row .nm em{font-style:normal;color:var(--muted);font-weight:500}
.sgg-row small{color:var(--muted);font-size:12px;white-space:nowrap}
.sgg-row small.on{color:var(--ok);font-weight:600}
.sgg-lbl{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600;padding:8px 10px 4px}
.sgg-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 6px 8px}
.sgg-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:4px 11px 4px 4px;font-size:13.5px;font-weight:600;color:var(--fg)}
.sgg-hint{font-size:12px;color:var(--muted);padding:6px 10px 6px}

/* Hinweis auf neue Artikel */
.snew{display:flex;gap:12px;align-items:center;margin-top:14px;padding:12px 10px 12px 14px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.snew .av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;font:800 15px var(--f-display)}
.snew .av.irene{background:var(--irene-soft);color:var(--irene)} .snew .av.nico{background:var(--nico-soft);color:var(--nico)}
.snew p{margin:0;flex:1;min-width:0;font-size:14px;line-height:1.35}
.snew p small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px;overflow-wrap:anywhere}

/* Artikel */
.cg{margin-top:20px}
.cg-h{display:flex;align-items:center;gap:10px;margin:0 2px 8px}
.cg-h h3{font:700 15px/1.2 var(--f-display);margin:0;flex:1;min-width:0;letter-spacing:.01em}
.cg-h .n{font-size:12px;color:var(--muted-bg);font-variant-numeric:tabular-nums}
.its{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.it{position:relative;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);min-height:56px;transition:opacity .3s,transform .3s,border-color .3s}
.it.is-new.irene{border-color:var(--irene)} .it.is-new.nico{border-color:var(--nico)}
.it-check{width:52px;height:100%;min-height:54px;border:0;background:none;display:grid;place-items:center;color:var(--muted);padding:0}
.it-check span{width:26px;height:26px;border-radius:50%;border:2px solid currentColor;display:grid;place-items:center;background:var(--surface-2);transition:background .2s,border-color .2s,transform .2s}
.it-check svg{width:15px;height:15px;opacity:0;transition:opacity .15s}
.it-check:hover span,.it-check:focus-visible span{color:var(--ok);background:var(--ok-soft)}
.it-main{border:0;background:none;text-align:left;padding:8px 12px 8px 0;min-width:0;display:flex;align-items:center;gap:10px;color:var(--fg);min-height:54px}
.it-txt{flex:1;min-width:0}
.it-name{font-weight:600;font-size:15.5px;line-height:1.3;overflow-wrap:anywhere}
.it-sub{display:flex;flex-wrap:wrap;gap:3px 8px;font-size:12.5px;color:var(--muted);margin-top:3px;align-items:center}
.it-sub .brand{font-weight:600;color:var(--fg);opacity:.8}
.it-sub .nt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.it-qty{font:700 13px/1 var(--f-display);padding:6px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums}
.it-photo{width:40px;height:40px;border-radius:12px;object-fit:cover;flex:none;border:1px solid var(--line);display:block}
.it.ticking .it-check span,.it.is-done .it-check span{background:var(--ok);border-color:var(--ok);color:var(--on-color)}
.it.ticking .it-check span{transform:scale(1.15)}
.it.ticking .it-check svg,.it.is-done .it-check svg{opacity:1}
.it.ticking .it-name,.it.is-done .it-name{text-decoration:line-through;text-decoration-thickness:1.5px}
.it.ticking{opacity:.5;transform:scale(.985)}
.it.is-done{background:var(--surface-2);box-shadow:none}
.it.is-done .it-name{color:var(--muted)}
.it.is-done .it-photo{opacity:.6}
.it.flash{animation:flash 1.2s ease-out}
@keyframes flash{0%,30%{box-shadow:var(--shadow),0 0 0 3px var(--accent)}100%{box-shadow:var(--shadow),0 0 0 0 transparent}}
details.cg.done-g>summary{list-style:none;cursor:pointer}
details.cg.done-g>summary::-webkit-details-marker{display:none}
details.cg.done-g>summary h3::after{content:" +";color:var(--muted)}
details.cg.done-g[open]>summary h3::after{content:" –"}
.done-foot{display:flex;justify-content:flex-end;margin-top:8px}
.s-empty{margin-top:18px;padding:26px 20px;border:1px dashed var(--line);border-radius:22px;background:var(--surface-2);text-align:center;color:var(--muted)}
.s-empty b{display:block;font:700 18px var(--f-display);color:var(--fg);margin-bottom:4px}

/* Sheets der Einkaufsliste */
.catpick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.catpick button{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface-2);border-radius:16px;padding:6px 10px 6px 6px;font-size:13px;font-weight:600;text-align:left;min-width:0;color:var(--fg)}
.catpick button span:last-child{min-width:0;overflow-wrap:anywhere;line-height:1.2}
.catpick button[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.catpick button.newc{border-style:dashed;color:var(--muted)}
.ph{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ph img{width:96px;height:96px;border-radius:18px;object-fit:cover;border:1px solid var(--line)}
.ph label.btn{cursor:pointer}
.ph input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
.ph label.btn:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.s-meta{font-size:12.5px;color:var(--muted);margin-top:14px;display:flex;flex-wrap:wrap;gap:4px 12px}
.sw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;font-size:14px}
.sw-row small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.shop-note{margin-top:30px}
@media (prefers-reduced-motion: reduce){.it,.it-check span,.mod{transition:none}.it.flash{animation:none}}
@media (max-width:380px){.mini-seg button{padding:6px 8px}.sl-head h2{font-size:23px}}
/* ===== Konten: Anmeldung, Profil, Haushalt ===== */
.me{gap:0}
.av-btn{border:0;background:none;padding:2px;border-radius:50%;box-shadow:0 0 0 2px var(--line);display:block}
.av{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:800 15px/1 var(--f-display);color:var(--on-color);background:var(--muted);flex:none}
.av.nico{background:var(--nico)} .av.irene{background:var(--irene)}
.av.big{width:52px;height:52px;font-size:22px}
.av.off{background:var(--line-soft);color:var(--muted)}
.hh-sw{border:0;background:none;padding:0;font:inherit;font-size:12px;color:var(--muted);display:inline-flex;gap:3px;align-items:center}
.hh-sw svg{width:12px;height:12px}
body.solo [data-a="done-other"]{display:none}

body.auth-on{overflow:hidden}
body.auth-on .toast{z-index:80}
.auth{position:fixed;inset:0;z-index:75;overflow:auto;overscroll-behavior:contain;background:linear-gradient(160deg,var(--bg-a),var(--bg-b));padding:calc(24px + env(safe-area-inset-top,0px)) var(--gutter-r) calc(40px + env(safe-area-inset-bottom,0px)) var(--gutter-l)}
.auth::before{content:"";position:fixed;inset:0;pointer-events:none;opacity:var(--rb-op);background:radial-gradient(60% 40% at 12% 88%,color-mix(in srgb,var(--rb-3) 60%,transparent),transparent 70%),radial-gradient(55% 42% at 92% 8%,color-mix(in srgb,var(--rb-2) 65%,transparent),transparent 70%),radial-gradient(40% 30% at 80% 70%,color-mix(in srgb,var(--rb-4) 45%,transparent),transparent 70%)}
.auth-in{position:relative;max-width:420px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-block:6px 2px}
.auth-brand .brand-name{font-size:22px}
.auth-card{background:var(--glass-strong);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border:1px solid var(--line);border-radius:24px;padding:22px 20px 20px;box-shadow:var(--shadow-lg)}
.auth h1{font:800 26px/1.15 var(--f-display);margin:0;letter-spacing:-.01em;text-wrap:balance}
.auth-lead{margin:8px 0 0;color:var(--muted);font-size:14.5px}
.auth .eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin:0 0 6px}
.auth input[type=email],.auth input[type=password],.auth input[type=text],.sheet input[type=email],.sheet input[type=password]{width:100%;border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:11px 12px;font-size:16px;min-width:0}
.pw{position:relative}
.pw input{padding-right:46px!important}
.pw-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:0;background:none;width:38px;height:38px;display:grid;place-items:center;color:var(--muted);border-radius:10px}
.pw-eye svg{width:20px;height:20px}
.au-wide{width:100%;margin-top:16px}
.au-info{background:var(--ok-soft);color:var(--ok);border-radius:12px;padding:10px 12px;font-size:13.5px;font-weight:600;margin:14px 0 0}
.au-back{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:0;margin:0 0 12px;color:var(--accent);font-weight:600;font-size:14px}
.au-back svg{width:16px;height:16px}
.auth-links{display:flex;justify-content:center;margin-top:12px}
.auth-demo{background:var(--surface);border:1px dashed var(--line-soft);border-radius:18px;padding:14px 16px;font-size:13.5px}
.auth-demo b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.auth-demo p{margin:4px 0 10px}
.auth-demo code{font:600 13px ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface-2);border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.auth-foot{text-align:center;font-size:13px;color:var(--muted);margin:0}
.auth-banner{background:var(--soon-soft);border:1px solid var(--line);border-radius:14px;padding:10px 12px;font-size:13px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;justify-content:space-between}
.auth-banner .linkish{font-size:13px;padding:0}
.au-steps{display:flex;gap:6px;margin:0 0 14px}
.au-steps span{flex:1;height:4px;border-radius:2px;background:var(--line)}
.au-steps span.on{background:var(--accent)}
.mail{margin-top:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.mail-k{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:10px 14px 0}
.mail-h{padding:6px 14px 10px;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted);display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.mail-b{padding:12px 14px 14px;font-size:14px}
.mail-b p{margin:0 0 10px}

.sw{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.sw button{width:38px;height:38px;border-radius:50%;border:2px solid transparent;background:var(--c);box-shadow:inset 0 0 0 2px var(--glass-strong);padding:0}
.sw button[aria-checked="true"]{border-color:var(--fg)}
.sw button:disabled{opacity:.25;cursor:not-allowed}

.prof-h{display:flex;align-items:center;gap:12px;min-width:0}
.prof-h h2{margin:0}
.prof-h p{margin:2px 0 0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.psec{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.psec h3{font:700 16px/1.2 var(--f-display);margin:0}
.psec>.hint:first-of-type{margin-top:4px}
.psec summary{cursor:pointer;font:700 16px/1.2 var(--f-display);list-style:none;display:flex;justify-content:space-between;align-items:center}
.psec summary::-webkit-details-marker{display:none}
.psec summary::after{content:"+";color:var(--muted);font-weight:600}
.psec[open] summary::after{content:"–"}
.prow{width:100%;display:flex;align-items:center;gap:12px;margin-top:20px;padding:12px 14px;border:1px solid var(--line);background:var(--surface-2);border-radius:14px;text-align:left}
.prow .t{flex:1;min-width:0}
.prow b{display:block;font-size:15px}
.prow span{font-size:13px;color:var(--muted)}
.prow svg{width:18px;height:18px;color:var(--muted);flex:none}
.devs{list-style:none;padding:0;margin:10px 0 12px;display:flex;flex-direction:column;gap:8px}
.devs li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px}
.devs span{color:var(--muted);font-size:12.5px;white-space:nowrap}
.pf-row{display:flex;gap:8px;align-items:flex-end}
.pf-row .field{flex:1;min-width:0}
.mem{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.mem li{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px}
.mem .who{flex:1;min-width:0}
.mem .who b{font-size:15px}
.mem .who .em{display:block;font-size:12.5px;color:var(--muted);overflow-wrap:anywhere}
.mbadge{display:inline-block;font-size:11px;font-weight:700;padding:1px 7px;border-radius:999px;background:var(--accent-soft);color:var(--accent);margin-left:6px;vertical-align:1px}
.inv{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;padding:12px;margin-top:10px}
.inv code{display:block;font:600 13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
.inv small{display:block;color:var(--muted);font-size:12.5px;margin-top:4px}
.inv .acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.psec .btn.au-wide{margin-top:12px}
.danger-zone{margin-top:14px;text-align:center}
.linkish.danger{color:var(--over)}
.proto-note{margin:18px 0 0;text-align:center;font-size:12.5px;color:var(--muted)}
.hh-list{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-direction:column;gap:8px}
.hh-list button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);background:var(--surface-2);border-radius:14px;font-weight:600;text-align:left}
.hh-list button[aria-current="true"]{border-color:var(--accent);background:var(--accent-soft)}
.hh-list svg{width:18px;height:18px;color:var(--accent)}
/* ===== Echte App: Ergänzungen ===== */
.brand-mark svg{width:20px;height:20px}
.dot{background:var(--muted)}
.me{gap:10px}
.sync-off{font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--soon);background:var(--soon-soft);border:1px solid var(--line);border-radius:999px;padding:3px 9px}
.empty b{display:block;font:700 17px/1.3 var(--f-display);color:var(--fg);margin-bottom:4px}
.empty .btn.primary{margin-top:12px}
.mem-acts{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.mem-acts .linkish{font-size:12.5px;padding:2px 0}
.cf-input{width:100%;border:1px solid var(--line);background:var(--surface-2);border-radius:14px;padding:11px 12px;font-size:16px}
.people{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.auth .checkrow input,.auth input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:var(--accent)}
.auth .sh-foot{margin-top:16px}
