/* BATCH Team – Startseite mit smarten Kacheln (29.10.2026, v2)
 * Festes Raster: S = 1×1, M = 2×1, L = 2×2 – die Kacheln greifen lückenlos ineinander. */
.hm{--row:178px;--gap:14px;display:flex;flex-direction:column;gap:16px;
  --k0:#a9a59c;--k1:#2a78d6;--k2:#eb6834;--k3:#1baf7a;--k4:#eda100;--k5:#e87ba4;--k6:#008300;--k7:#6250d6;--k8:#e34948;
  --q0:#f4f3ef;--q1:#e4eefb;--q2:#b7d3f6;--q3:#86b6ef;--q4:#5598e7;--q5:#2a78d6;--q6:#1c5cab;--q7:#104281;
  --pos:#1f8a3b;--pos-t:#1d6b2f;--pos-bg:#e3f1e5;--neg:#d24a3a;--neg-t:#a8382b;--neg-bg:#f9e4e0;--neu-bg:#efede8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hm{--k0:#6f6b64;--k1:#3987e5;--k2:#d95926;--k3:#199e70;--k4:#c98500;--k5:#d55181;--k6:#008300;--k7:#9085e9;--k8:#e66767;
  --q0:#1d1c19;--q1:#13253d;--q2:#163357;--q3:#184f95;--q4:#1c5cab;--q5:#2a78d6;--q6:#5598e7;--q7:#9ec5f4;--pos:#3fb35a;--pos-t:#79cf8a;--pos-bg:#1a2c1e;--neg:#e8664f;--neg-t:#f08e7a;--neg-bg:#3a201b;--neu-bg:#25241f}}
:root[data-theme="dark"] .hm{--k0:#6f6b64;--k1:#3987e5;--k2:#d95926;--k3:#199e70;--k4:#c98500;--k5:#d55181;--k6:#008300;--k7:#9085e9;--k8:#e66767;
  --q0:#1d1c19;--q1:#13253d;--q2:#163357;--q3:#184f95;--q4:#1c5cab;--q5:#2a78d6;--q6:#5598e7;--q7:#9ec5f4;--pos:#3fb35a;--pos-t:#79cf8a;--pos-bg:#1a2c1e;--neg:#e8664f;--neg-t:#f08e7a;--neg-bg:#3a201b;--neu-bg:#25241f}
.hm-hd{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hm-hd h1{margin:0;font-weight:400;font-size:28px;letter-spacing:-.01em}
.hm-date{font-size:13px;color:var(--soft)}
.hm-tools{display:flex;gap:8px;flex-wrap:wrap}.hm-tools .pill[disabled]{opacity:.4}
/* Raster */
.hm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:var(--row);grid-auto-flow:row dense;gap:var(--gap)}
.hm-card{grid-column:span 1;grid-row:span 1;background:var(--paper);border:1px solid var(--line2);border-radius:18px;padding:13px 15px 14px;display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;overflow:hidden;position:relative;transition:box-shadow .2s,transform .2s,border-color .2s}
.hm-card.sz-m{grid-column:span 2}
.hm-card.sz-l{grid-column:span 2;grid-row:span 2}
.hm-card.go{cursor:pointer}
.hm-card.go:hover{border-color:var(--line);box-shadow:0 4px 16px var(--shadow)}
.hm-card.go:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.hm-cb{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}
@media (max-width:899px){.hm{--row:168px;--gap:10px}.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-hd h1{font-size:24px}.hm-card{padding:11px 12px 12px;border-radius:16px}}
.hm-grid.editing .hm-card{border-style:dashed;border-color:var(--line);cursor:grab}
.hm-card.drag{opacity:.4}.hm-card.over{box-shadow:0 0 0 2px var(--ink)}
.hm-card.flash{animation:hmfl 1.4s var(--ease)}
@keyframes hmfl{0%{box-shadow:0 0 0 3px var(--k1)}100%{box-shadow:0 0 0 0 transparent}}
.hm-ch{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:20px;flex:none}
.hm-ch h3{margin:0;font-size:10.5px;letter-spacing:.11em;text-transform:uppercase;font-weight:500;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-ed{display:flex;align-items:center;gap:3px;flex:none}
.hm-ed button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;min-width:26px;height:26px;font:inherit;font-size:12px;cursor:pointer;padding:0 5px}
.hm-ed button[disabled]{opacity:.3}
.hm-sz{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.hm-sz button{border:0;border-radius:0;min-width:24px}
.hm-sz button.on{background:var(--ink);color:var(--on-ink)}
@media (max-width:899px){.hm-card.sz-s .hm-ed [data-mv]{display:none}.hm-ed{flex-wrap:wrap;justify-content:flex-end}}
.hm-muted{color:var(--soft);font-size:13.5px;margin:0}.hm-muted.sm{font-size:11px}
.hm-skel{display:flex;flex-direction:column;gap:8px}
.hm-skel i{display:block;height:14px;border-radius:7px;background:linear-gradient(90deg,var(--line2),var(--hover),var(--line2));background-size:200% 100%;animation:hmsk 1.2s infinite}
.hm-skel i:nth-child(1){width:40%;height:28px}.hm-skel i:nth-child(3){width:70%}
@keyframes hmsk{to{background-position:-200% 0}}
/* Zahlen */
.hm-kpi{display:flex;flex-direction:column;gap:3px;min-width:0}
.hm-lab{font-size:12px;color:var(--soft);line-height:1.3;overflow:hidden;text-overflow:ellipsis}
.hm-lab.r{text-align:right;display:block}
.hm-big{font-size:30px;line-height:1.08;font-weight:400;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-big.sm{font-size:19px;letter-spacing:-.01em;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hm-big.bad{color:var(--red)}
@media (max-width:899px){.hm-big{font-size:24px}.hm-big.sm{font-size:16px}}
.hm-chips2{display:flex;gap:4px;flex-wrap:wrap;min-height:20px}
.hm .hc{display:inline-flex;align-items:center;font-size:11px;padding:2px 7px;border-radius:999px;white-space:nowrap;font-variant-numeric:tabular-nums;font-style:normal}
.hm .hc.pos{background:var(--pos-bg);color:var(--pos-t)}.hm .hc.neg{background:var(--neg-bg);color:var(--neg-t)}
.hm .hc.pos.strong{background:var(--pos);color:#fff}.hm .hc.neg.strong{background:var(--neg);color:#fff}
.hm .hc.flat{background:var(--neu-bg);color:var(--soft)}
.hm .tpos{color:var(--pos-t)}.hm .tneg{color:var(--neg-t)}
.hm-tag{align-self:flex-start;font-size:11px;padding:2px 8px;border-radius:999px;background:var(--neu-bg);color:var(--soft)}
.hm-tag.ok{background:var(--pos-bg);color:var(--pos-t)}.hm-tag.warn{background:var(--amber-bg);color:var(--amber)}
.hm-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:14px;align-items:start;min-height:0}
.hm-split.w{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr)}
.hm-mini{display:flex;gap:16px;flex-wrap:wrap}
.hm-mini.col{flex-direction:column;gap:6px}
.hm-mini div{display:flex;flex-direction:column;gap:1px;min-width:0}
.hm-mini span{font-size:11px;color:var(--soft)}.hm-mini b{font-weight:400;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hm-note{font-size:12.5px;color:var(--ink);line-height:1.35;background:var(--today-bg,#F1EEE9);border-radius:10px;padding:6px 9px;flex:none}
/* Mini-Diagramme */
.hm-sparkw{position:relative;height:58px;min-width:0}
.hm-sparkw.s{height:40px;margin-top:auto}
.hm-spark{display:block;width:100%;height:100%;overflow:visible}
.hm-spark .a{fill:color-mix(in srgb,var(--k1) 14%,transparent)}
.hm-spark .l{fill:none;stroke:var(--k1);stroke-width:2;stroke-linejoin:round}
.hm-spdot{position:absolute;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:var(--k1);box-shadow:0 0 0 2px var(--paper)}
.hm-cols{display:flex;align-items:stretch;gap:3px;flex:1;min-height:60px}
.hm-cols>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.hm-cols .col{flex:1;position:relative;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--line)}
.hm-cols .col i{display:block;width:100%;max-width:26px;border-radius:3px 3px 0 0;background:var(--soft);min-height:0}
.hm-cols .pos .col i{background:var(--pos)}.hm-cols .neg .col i{background:var(--neg)}
.hm-cols .now .col i{background:var(--ink)}
.hm-cols .fut .col{border-bottom-style:dashed}
.hm-cols .col s{position:absolute;left:50%;transform:translateX(-50%);width:calc(100% + 2px);max-width:30px;height:0;border-top:2px solid var(--ink);text-decoration:none}
.hm-cols em{font-style:normal;font-size:9.5px;color:var(--soft);text-align:center;height:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.hm-cols.dense{gap:1px}
.hm-mcol{display:flex;height:100%;min-height:80px}
.hm-prog{position:relative;height:12px;border-radius:6px;background:var(--neu-bg);overflow:visible;flex:none;margin:4px 0}
.hm-prog i{position:absolute;top:0;bottom:0;border-radius:6px}
.hm-prog i.cur{left:0;background:var(--k1)}
.hm-prog i.proj{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--k1) 45%,transparent) 0 3px,transparent 3px 6px);border-radius:0 6px 6px 0}
.hm-prog s{position:absolute;top:-4px;bottom:-4px;border-left:2px solid var(--ink);text-decoration:none}
.hm-goalw{flex:1;min-height:0;display:flex;flex-direction:column;gap:4px}
.hm-goal{flex:1;width:100%;min-height:60px}
.hm-goal path{fill:none;stroke-width:2}.hm-goal .tg{stroke:var(--soft);stroke-dasharray:4 4}.hm-goal .cv{stroke:var(--k1);stroke-width:2.5}.hm-goal .pj{stroke:var(--k1);stroke-dasharray:3 4}
.hm-legend2{display:flex;gap:12px;font-size:11px;color:var(--soft)}
.hm-legend2 i{display:inline-block;width:14px;height:0;border-top:2px solid;vertical-align:3px;margin-right:5px}
.hm-legend2 i.cv{border-color:var(--k1)}.hm-legend2 i.tg{border-color:var(--soft);border-top-style:dashed}.hm-legend2 i.pj{border-color:var(--k1);border-top-style:dotted}
.hm-stack{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;flex:none;margin-top:auto}
.hm-stack i,.hm-leg i{background:var(--k0)}
.hm .k1{background:var(--k1)!important}.hm .k2{background:var(--k2)!important}.hm .k3{background:var(--k3)!important}.hm .k4{background:var(--k4)!important}.hm .k5{background:var(--k5)!important}.hm .k6{background:var(--k6)!important}.hm .k7{background:var(--k7)!important}.hm .k8{background:var(--k8)!important}
.hm-leg{display:flex;flex-direction:column;gap:3px;min-width:0}
.hm-leg div{display:grid;grid-template-columns:9px minmax(0,1fr) auto auto;gap:7px;align-items:center;font-size:12.5px}
.hm-leg i{width:9px;height:9px;border-radius:50%}
.hm-leg span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hm-leg b{font-weight:400;color:var(--soft);font-variant-numeric:tabular-nums}
.hm-dl{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr);gap:14px;align-items:center;flex:1;min-height:0}
.hm-donut{position:relative;width:100%;aspect-ratio:1}
.hm-donut svg{width:100%;height:100%}
.hm-donut circle{fill:none;stroke-width:6.2;stroke:var(--k0)}.hm-donut circle.bg{stroke:var(--neu-bg)}
.hm-donut circle.k1{stroke:var(--k1)}.hm-donut circle.k2{stroke:var(--k2)}.hm-donut circle.k3{stroke:var(--k3)}.hm-donut circle.k4{stroke:var(--k4)}.hm-donut circle.k5{stroke:var(--k5)}.hm-donut circle.k6{stroke:var(--k6)}.hm-donut circle.k7{stroke:var(--k7)}.hm-donut circle.k8{stroke:var(--k8)}
.hm-donut>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.hm-donut b{font-weight:400;font-size:15px;font-variant-numeric:tabular-nums}.hm-donut span{font-size:10.5px;color:var(--soft)}
.hm-heat{display:grid;gap:2px;align-items:center;flex:1}
.hm-heat em{font-style:normal;font-size:9.5px;color:var(--soft);text-align:center}.hm-heat em.on{color:var(--ink);font-weight:600}
.hm-heat i{display:block;height:100%;min-height:14px;border-radius:3px;background:var(--q0)}
.hm-heat i.on{box-shadow:inset 0 0 0 1.5px var(--ink)}
.hm-heat .q1{background:var(--q1)}.hm-heat .q2{background:var(--q2)}.hm-heat .q3{background:var(--q3)}.hm-heat .q4{background:var(--q4)}.hm-heat .q5{background:var(--q5)}.hm-heat .q6{background:var(--q6)}.hm-heat .q7{background:var(--q7)}
/* Listen */
.hm-list{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.hm-list h4{margin:0 0 3px;font-size:11px;font-weight:500;color:var(--soft)}
.hm-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;padding:4px 0;border-bottom:1px solid var(--line2)}
.hm-list>div span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1}
.hm-list>div b{font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
.hm-list.tight>div{padding:3px 0}
.hm-mv{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-height:0}
.hm-mv .up h4{color:var(--pos-t)}.hm-mv .dn h4{color:var(--neg-t)}
.hm-rank{display:flex;flex-direction:column;gap:2px;min-height:0;overflow:hidden}
.hm-rank>div{display:grid;grid-template-columns:16px minmax(0,1fr) auto auto;gap:8px;align-items:center;font-size:13px;padding:3px 0}
.hm-rank em{font-style:normal;color:var(--soft);font-size:11px;text-align:right}
.hm-rank span{position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-bottom:4px}
.hm-rank span i{position:absolute;left:0;bottom:0;height:3px;border-radius:2px;background:var(--k1);opacity:.6}
.hm-rank b{font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums}
/* App-Kacheln */
.hm-app{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.hm-aico{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--neu-bg);color:var(--ink);flex:none;margin-bottom:auto}
.hm-aico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hm-app.attn .hm-aico{background:var(--amber-bg);color:var(--amber)}.hm-app.bad .hm-aico{background:var(--neg-bg);color:var(--neg-t)}.hm-app.ok .hm-aico{background:var(--pos-bg);color:var(--pos-t)}
.hm-app.plain b{font-weight:400;font-size:18px}
.hm-snap{position:relative;border-radius:10px;overflow:hidden;background:var(--neu-bg);min-height:0;height:100%}
.hm-snap img{width:100%;height:100%;object-fit:cover;display:block}
.hm-snap span{position:absolute;left:6px;bottom:6px;font-size:11px;color:#fff;background:rgba(0,0,0,.45);padding:1px 6px;border-radius:6px}
.hm-card.sz-l .hm-snap{height:auto;flex:1}
.hm-wline{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--soft)}
/* Dialoge */
.hm-mh{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-mi.wide{max-width:760px;max-height:86vh;overflow:auto}
.hm-mi h3{margin:8px 0 4px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:var(--soft)}
.hm-cat{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.hm-catb{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;font:inherit;background:var(--neu-bg);border:1px solid transparent;border-radius:12px;padding:10px 12px;cursor:pointer;color:var(--ink)}
.hm-catb:hover{border-color:var(--line)}.hm-catb b{font-weight:500;font-size:14px}.hm-catb span{font-size:12px;color:var(--soft)}
.hm-catb .hm-aico{margin:0 0 4px;background:var(--paper)}
.hm-of{display:flex;flex-direction:column;gap:10px}
.hm-of label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--soft)}
.hm-of input,.hm-of select{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;font-size:15px;color:var(--ink);background:var(--paper)}
/* Kompaktere Wetter-/Team-Teile im festen Raster */
.hm-card .hm-w-t{font-size:38px}.hm-card .hm-wi.big{width:46px;height:46px}
.hm-card .hm-chips{margin-top:0}
.hm-card .hm-hours{margin-top:0;overflow:hidden}
.hm-card .hm-days{padding:8px 4px}
.hm-card .hm-ev{padding:5px 0}.hm-card .hm-ev b{font-size:13.5px}.hm-card .hm-ev span{font-size:12px}
.hm-card .hm-tm h4{margin:0 0 4px}.hm-card .hm-tm+.hm-tm{margin-top:4px}
.hm-card .hm-sh{padding:6px 9px;border-radius:10px}.hm-card .hm-sh.gap{box-shadow:inset 3px 0 0 var(--red)}
.hm-card .hm-low>div{padding:4px 0;grid-template-columns:28px 1fr auto;font-size:13px}.hm-card .hm-low img,.hm-card .hm-low .ph{width:28px;height:28px}
.hm-card .pill{align-self:flex-start;flex:none}
@media (max-width:899px){.hm-split{gap:10px}.hm-card.sz-l .hm-split{grid-template-columns:1fr 1fr}.hm-mv{gap:8px}.hm-card .hm-w-t{font-size:30px}.hm-card .hm-wi.big{width:38px;height:38px}.hm-dl{grid-template-columns:96px 1fr}}
/* Wetter */
.hm-wi{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hm-wi.big{width:58px;height:58px;stroke-width:1.3}
.hm-wi.w-sun{color:#E2A21B}.hm-wi.w-part{color:#9AA3AD}.hm-wi.w-cloud,.hm-wi.w-fog{color:#8F969E}.hm-wi.w-rain,.hm-wi.w-drizzle{color:#3E7BC4}.hm-wi.w-snow{color:#6FA8D8}.hm-wi.w-storm{color:#7B5CC4}.hm-wi.w-moon{color:#8C8FB5}
.hm-w-now{display:flex;align-items:center;gap:14px}
.hm-w-t{font-size:44px;line-height:1;font-weight:300;letter-spacing:-.03em}
.hm-w-c{font-size:15px;margin-top:2px}
.hm-w-side{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:13px;color:var(--soft)}
.hm-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hm-chip{font-size:12px;padding:4px 10px;border-radius:999px;background:var(--hover);color:var(--ink)}
.hm-chip.wet{background:#E1ECF8;color:#245C9E}.hm-chip.dry{background:var(--ok-bg);color:var(--ok)}
:root[data-theme="dark"] .hm-chip.wet{background:#1C2A3A;color:#8DB8E8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hm-chip.wet{background:#1C2A3A;color:#8DB8E8}}
.hm-hours{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(44px,1fr);gap:4px;margin-top:14px;overflow-x:auto;padding-bottom:2px}
.hm-hours>div,.hm-days>div{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px}
.hm-hours span,.hm-days span{color:var(--soft)}
.hm-hours b,.hm-days b{font-weight:500;font-size:14px}
.hm-hours em,.hm-days em{font-style:normal;font-size:11px;color:var(--soft);min-height:13px}
.hm-hours em.hi,.hm-days em.hi{color:#3E7BC4;font-weight:500}
.hm-days{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:var(--hover);border-radius:14px;padding:12px 6px}
.hm-days i{font-style:normal;font-size:12px;color:var(--soft)}
.hm-tips{list-style:none;margin:0;padding:12px 14px;border-radius:14px;background:var(--today-bg,#F1EEE9);display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.4}
.hm-tips li{padding-left:18px;position:relative}
.hm-tips li::before{content:'→';position:absolute;left:0;color:var(--today,#827462)}
.hm-src{font-size:11px;color:var(--soft)}
/* Events */
.hm-ev{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line2)}
.hm-ev:last-of-type{border-bottom:0}
.hm-ev-i{font-size:18px;line-height:1.2;text-align:center}
.hm-ev b{display:block;font-weight:500;font-size:14.5px}
.hm-ev span{display:block;font-size:12.5px;color:var(--soft)}
.hm-ev em{display:block;font-style:normal;font-size:12.5px;margin-top:2px}
.hm-ev.imp-hoch b::after{content:'mehr Andrang';margin-left:8px;font-size:10px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;padding:2px 6px;border-radius:6px;background:var(--amber-bg);color:var(--amber);vertical-align:2px}
.hm-x{border:0;background:none;color:var(--soft);font-size:18px;cursor:pointer}
/* Team */
.hm-tm{display:flex;flex-direction:column;gap:6px}
.hm-tm+.hm-tm{margin-top:10px}
.hm-sh{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:12px;background:var(--hover)}
.hm-sh>span{font-size:12px;color:var(--soft)}
.hm-sh>div{display:flex;flex-wrap:wrap;gap:6px}
.hm-p{display:inline-flex;align-items:center;gap:6px;font-size:14px}
.hm-p i{width:9px;height:9px;border-radius:50%}
.hm-gap{font-style:normal;font-size:13px;color:var(--red)}
/* Lager */
.hm-low{display:flex;flex-direction:column}
.hm-low>div{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line2);font-size:14px}
.hm-low img,.hm-low .ph{width:34px;height:34px;border-radius:8px;object-fit:contain;background:#fff;border:1px solid var(--line2)}
.hm-low .ph{background:var(--hover)}
.hm-low b{font-weight:500;color:var(--red);white-space:nowrap}
.hm-card .pill{align-self:flex-start}
/* Event-Formular */
.hm-modal{position:fixed;inset:0;z-index:150;background:var(--overlay,rgba(0,0,0,.4));display:flex;align-items:center;justify-content:center;padding:16px}
.hm-mi{width:100%;max-width:460px;background:var(--paper);color:var(--ink);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:10px}
.hm-mi h2{margin:0;font-size:20px;font-weight:500;text-transform:none;letter-spacing:0}
.hm-mi label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--soft)}
.hm-mi input,.hm-mi select{height:42px;border:1px solid var(--line);border-radius:10px;padding:0 10px;font:inherit;font-size:15px;color:var(--ink);background:var(--paper)}
.hm-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hm-err{color:var(--red);font-size:13px;margin:0}
.hm-ft{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}

/* Inhalte schrumpfen nicht ineinander – was nicht passt, wird unten abgeschnitten */
.hm-cb>*{flex-shrink:0}
.hm-cb>.hm-cols,.hm-cb>.hm-goalw,.hm-cb>.hm-dl,.hm-cb>.hm-heat,.hm-cb>.hm-list,.hm-cb>.hm-rank,.hm-cb>.hm-mv,.hm-cb>.hm-snap{flex-shrink:1;min-height:0}
.hm-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hm-row .hm-tag{align-self:center}
.hm-card .hm-low>div span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hm-card .hm-ev b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-card .hm-ev.imp-hoch b::after{display:none}.hm-card .hm-ev.imp-hoch .hm-ev-i::after{content:'';position:absolute}
.hm-card .hm-ev.imp-hoch span::after{content:' · mehr Andrang';color:var(--amber)}

/* Wetter kompakt im festen Raster */
.hm-card .hm-hours>div{gap:2px}.hm-card .hm-hours b{font-size:13px}.hm-card .hm-hours .hm-wi{width:20px;height:20px}
.hm-card .hm-days{padding:6px 4px;border-radius:12px}.hm-card .hm-days>div{gap:2px}.hm-card .hm-days .hm-wi{width:20px;height:20px}.hm-card .hm-days b{font-size:13px}
.hm-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:899px){
  .hm-card.t-weather .hm-note,.hm-card.t-weather .hm-days em{display:none}
  .hm-card.sz-m.t-umsatz .hm-mini{display:none}
  .hm-card.sz-m .hm-note{-webkit-line-clamp:1}
  .hm-card .hm-hours{grid-auto-columns:minmax(34px,1fr)}
}

.hm-kpi .hm-lab{white-space:nowrap}
.hm-w-side .hm-chip{margin-bottom:4px}
.hm-card .hm-ev{padding:4px 0}

/* Prognose mit Wetter (31.10.2026) */
.hm-fac{margin-top:6px;gap:5px;flex:none}
.hm-chip.pos{background:var(--pos-bg);color:var(--pos-t)}
.hm-chip.neg{background:var(--neg-bg);color:var(--neg-t)}
.hm-card.sz-l.t-prognose .hm-pg{flex:none;align-items:start}
.hm-card.sz-l.t-prognose .hm-cols{flex:none;height:70px;min-height:70px}
.hm-card.sz-l.t-prognose .hm-note{flex:none}
.hm-prep2{display:grid!important;grid-template-columns:1fr 1fr;column-gap:18px;flex:none}
.hm-prep2 h4{grid-column:1/-1}
.hm-wk{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:4px;flex:none}
.hm-wkd{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;padding:5px 1px 4px;border-radius:12px;color:var(--ink)}
.hm-wkd.today{background:var(--neu-bg)}
.hm-wkd>span{font-size:12px;font-weight:600;color:var(--ink)}
.hm-wkd>em{font-style:normal;font-size:10.5px;color:var(--soft)}
.hm-wkd .hm-wi{width:22px;height:22px;margin:3px 0 1px;flex:none}
.hm-wkd>i{display:block;height:26px}
.hm-wkd small{font-size:10.5px;color:var(--soft);white-space:nowrap;height:14px}
.hm-wkd>b{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.hm-wkd.closed{opacity:.45}
.hm-wkd.closed>b{margin-top:auto}
.hm-wkbar{position:relative;width:12px;height:46px;flex:none;border-radius:4px;background:var(--neu-bg);margin:4px 0 3px}
.hm-wkbar i{position:absolute;left:0;right:0;bottom:0;border-radius:4px;background:var(--k1)}
.hm-wkbar s{position:absolute;left:-3px;right:-3px;border:1px solid color-mix(in srgb,var(--k1) 40%,transparent);border-radius:5px;text-decoration:none}
.hm-card.sz-m.t-woche .hm-wkd>em,.hm-card.sz-m.t-woche .hm-wkd small{display:none}
.hm-card.sz-m.t-woche .hm-wkbar{height:30px}
.hm-sh2{margin:10px 0 2px;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);font-weight:500;flex:none}
.hm-wfx{flex:none}
.hm-wfx>div{display:grid!important;grid-template-columns:minmax(0,1.5fr) 1fr 50px;align-items:center;gap:8px}
.hm-wfx em{font-style:normal;color:var(--soft);font-size:11px}
.hm-gb{height:7px;border-radius:4px;background:var(--neu-bg);position:relative;overflow:hidden}
.hm-gb i{position:absolute;top:0;bottom:0;left:50%;border-radius:4px}
.hm-gb i.p{background:var(--pos)}
.hm-gb i.n{background:var(--neg);transform:translateX(-100%)}
.hm-wfx b.pos{color:var(--pos-t);text-align:right}.hm-wfx b.neg{color:var(--neg-t);text-align:right}
.hm-wfn{font-size:11.5px;line-height:1.35;flex:none}
.hm-card.sz-l.t-woche .hm-wkd>em{display:none}
.hm-card.sz-l.t-woche .hm-wkbar{height:36px}
.hm-card.sz-m.t-woche .hm-wkbar{height:24px;margin:2px 0}
.hm-card.sz-m.t-woche .hm-wkd .hm-wi{width:18px;height:18px;margin:1px 0}
.hm-card.sz-m.t-woche .hm-wkd{padding:3px 1px}
.hm-sh2 em{font-style:normal;text-transform:none;letter-spacing:0}
.hm-wkd,.hm-wkd *{text-transform:none!important;letter-spacing:0}

/* Köln News (31.10.2026) */
.hm-news{display:flex;flex-direction:column;min-height:0}
.hm-news a{display:flex;flex-direction:column;gap:2px;padding:7px 0;border-bottom:1px solid var(--line2);text-decoration:none;color:var(--ink);min-width:0}
.hm-news a:last-child{border-bottom:0}
.hm-news a:hover b{text-decoration:underline}
.hm-news b{font-weight:500;font-size:13.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-news span{font-size:11.5px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-news em{font-style:normal;color:var(--k1)}
.hm-news.sz-s b{-webkit-line-clamp:2;font-size:13px}

/* Kamera-Widget (31.10.2026) */
.hm-card.t-kamera .hm-cb{margin:-2px -4px -4px}
.hm-camw{position:relative;flex:1;min-height:0;border-radius:12px;overflow:hidden;background:#111}
.hm-camw img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-camw span{position:absolute;left:8px;bottom:8px;display:flex;align-items:center;gap:6px;font-size:12px;color:#fff;padding:4px 9px 4px 7px;border-radius:9px;background:rgba(0,0,0,.45);backdrop-filter:blur(6px)}
.hm-camw span i{width:7px;height:7px;border-radius:50%;background:#e8473c}

/* Schichtzeiten je Person (05.11.2026) */
.hm-ptm{font-size:11px;color:var(--soft);font-variant-numeric:tabular-nums}
