[data-farbschema="relationen-nacht"] {
  color-scheme:dark;
  --bg:#101819; --panel:#192324; --panel2:#202d2e; --control:#142021;
  --text:#f1f5ee; --muted:#a9bab6; --line:#536663; --accent:#e1fb05; --accent-text:#192019;
  --login-error-background:#3a2326; --login-error-text:#ffc5bc; --message-critical:#f58579;
}
* { box-sizing:border-box }
html { font:16px/1.5 "Segoe UI","Helvetica Neue",Arial,sans-serif; background:var(--bg); color:var(--text); --border:color-mix(in srgb,var(--line) 55%,var(--panel)); --control-h:40px; --compact-control-h:34px; --touch-target:40px; --focus-ring:2px solid var(--accent) }
body { margin:0 }
a { color:inherit; text-underline-offset:.22em }
button,input,select,summary { font:inherit; color:inherit }
button,summary,select { cursor:pointer }
:focus-visible { outline:var(--focus-ring); outline-offset:3px }
:where(.module-tools,.module-actions,.desk-tools,.quality-controls,.settings-actions,.composer-actions,.shift-actions,.presence-options) {
  align-items:end;
}
:where(.module-tools,.module-actions,.desk-tools,.quality-controls,.settings-actions,.composer-actions,.shift-actions) > :is(button,a,select,input) {
  min-height:var(--control-h);
}
:where(.module-tools,.module-actions,.quality-controls,.settings-actions,.composer-actions,.shift-actions) > :is(button,a,select,input) {
  line-height:1.2;
}
.skip { position:fixed; z-index:12; left:1rem; top:-5rem; padding:.5rem 1rem; background:var(--panel) }
.skip:focus { top:1rem }
.mast { --control-h:36px; min-height:54px; padding:1px clamp(12px,2.4vw,36px); display:flex; align-items:center; justify-content:space-between; gap:.6rem; position:relative; z-index:5; background:var(--bg); border-bottom:1px solid var(--border) }
.identity,.utilities,.section-label { display:flex; align-items:center }
.identity { gap:clamp(12px,1.8vw,28px) }
.brand { display:block; height:38px; width:auto; aspect-ratio:2162/633; --wordmark-ink:color-mix(in srgb,var(--accent) 78%,var(--header-ink,var(--text))); --wordmark-detail:color-mix(in srgb,var(--header-ink,var(--text)) 70%,var(--header-bg,var(--bg))) }
.wordmark-ink { fill:var(--wordmark-ink) }
.wordmark-detail { fill:var(--wordmark-detail) }
.utilities { gap:8px }
.languages select,.profile summary,.theme button,.main-nav summary { height:var(--control-h); border:1px solid var(--border); border-radius:5px; background:var(--panel); font-size:.875rem }
.languages select,.profile summary { min-width:94px; padding:0 8px; line-height:1 }
.profile summary { max-width:min(40vw,220px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.theme button,.main-nav summary { width:var(--control-h); padding:0; display:grid; place-items:center }
.utilities svg,.main-nav svg,.peek svg { width:16px; height:16px; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; fill:none }
.entry { max-width:1370px; width:calc(100% - clamp(40px,8.4vw,145px)); margin:clamp(22px,6vh,78px) auto; display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); min-height:min(640px,calc(100dvh - 175px)); overflow:hidden; border:1px solid var(--border); border-radius:10px; background:var(--panel) }
.network { margin:0; min-width:0; display:flex; flex-direction:column; justify-content:space-between; background:#16292c; color:#f0f3e8; position:relative; isolation:isolate; overflow:hidden }
.atlas-head { display:grid; justify-items:start; gap:12px; padding:clamp(22px,2.7vw,38px) clamp(24px,3.5vw,52px) 16px; background:linear-gradient(180deg,#1d3133,transparent) }
.atlas-wordmark { display:block; width:clamp(215px,24vw,340px); max-width:100%; height:auto; --wordmark-ink:color-mix(in srgb,var(--accent) 85%,white); --wordmark-detail:color-mix(in srgb,var(--accent) 10%,#c2d0c8) }
[data-tone="light"] .atlas-wordmark { --wordmark-ink:color-mix(in srgb,var(--accent) 43%,white) }
.section-label { gap:9px; font-size:.72rem; font-weight:700; letter-spacing:.14em; color:var(--muted); text-transform:uppercase }
.section-label i,.section-label .rule { width:22px; height:2px; background:var(--accent); display:inline-block }
.atlas-head h2 { font:500 clamp(1rem,1.55vw,1.3rem)/1.3 "Segoe UI",sans-serif; margin:0; text-wrap:balance }
.atlas { width:100%; height:auto; display:block; margin:auto 0; min-width:0 }
.atlas .routes-core,.atlas .routes-extra,.atlas .map-leaders { fill:none; stroke-linecap:round; stroke-linejoin:round }
.atlas .routes-core { stroke:#e3f56a; stroke-width:1.75 }
.atlas .routes-extra { stroke:#bcdb74; stroke-width:1.45 }
.atlas .map-leaders { stroke:#a0b6a2; stroke-width:.8 }
.atlas .map-dots { fill:#e6fa83; stroke:#253b39; stroke-width:1 }
.atlas .map-hub { fill:none; stroke:#e1fb05; stroke-width:1.3 }
.atlas .map-hub circle:last-child { fill:#e1fb05 }
.atlas .map-labels { fill:#eff4e8; stroke:#263a39; stroke-width:2.8; stroke-linejoin:round; paint-order:stroke; font:600 12.5px "Segoe UI",Arial,sans-serif }
.atlas .hub-label { fill:#f3ff81; font-size:15px; font-weight:750 }
.network figcaption { display:flex; justify-content:space-between; gap:8px 18px; align-items:center; flex-wrap:wrap; padding:18px clamp(20px,3vw,44px); border-top:1px solid #394b4b; background:#18292a }
.network figcaption div { display:flex; align-items:center; gap:9px }.locator { font:22px/1 monospace; color:#e1fb05 }.network figcaption strong { font-size:.94rem }.network figcaption small { color:#a0b3ac; font-size:.68rem; letter-spacing:.1em }
.coords,time { font-variant-numeric:tabular-nums }.coords { color:#becdc6; font:.78rem/1.3 Consolas,"Courier New",monospace; white-space:nowrap }
.signin { min-width:0; display:flex; flex-direction:column; padding:clamp(26px,4.3vw,68px) clamp(24px,4.4vw,72px) 20px; border-left:1px solid var(--border) }
.signin-inner { width:100%; max-width:415px; margin:auto }
h1,h2,p { margin:0 }
h1 { margin:.25em 0; font-size:clamp(2.5rem,4.4vw,4.3rem); line-height:1.02; letter-spacing:-.055em; font-weight:630 }
.lead { color:var(--muted); line-height:1.55; margin:12px 0 27px }
.fields { display:flex; flex-direction:column; align-items:stretch }
.fields label { display:block; font-size:.875rem; font-weight:650 }
.fields input:not([type=hidden]) { display:block; width:100%; height:46px; border:1px solid var(--line); background:var(--control); color:var(--text); border-radius:5px; padding:0 12px; font-size:1rem; margin-top:5px }
.fields label + label,.fields .secret + label { margin-top:16px }
.secret { position:relative }.secret input { padding-right:52px!important }
.peek { position:absolute; right:3px; top:8px; width:40px; height:40px; border:0; background:transparent; color:var(--muted); display:grid; place-items:center }
.primary { display:flex; justify-content:space-between; align-items:center; margin-top:23px; width:100%; min-height:46px; border:0; border-radius:5px; padding:0 16px; background:var(--accent); color:var(--accent-text); font-weight:700 }
.primary:hover { filter:brightness(.93) }.primary span { font-size:1.4rem }
.fields small { color:var(--muted); margin-top:8px }
.error { margin-bottom:15px; border-left:3px solid var(--message-critical); padding:9px 12px; background:var(--login-error-background); color:var(--login-error-text); font-size:.88rem }
.signin footer { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 18px; margin-top:35px; border-top:1px solid var(--border); padding-top:14px; color:var(--muted); font-size:.78rem }
.context-help { flex:1 0 45% }
.context-help[open] { flex-basis:100% }
.context-help > summary { color:var(--text); font-weight:650; list-style:none; width:fit-content }
.context-help > summary::before { content:"?"; display:inline-grid; place-items:center; width:1.1em; height:1.1em; margin-right:6px; border:1px solid currentColor; border-radius:50%; font-size:.85em }
.help-topics { margin:12px 0 4px; font-size:.9rem; color:var(--text) }
.help-topics details { border-top:1px solid var(--border); padding:8px 0 }
.help-topics summary { font-weight:600 }
.help-topics p { margin:6px 0 4px; color:var(--muted); line-height:1.5 }
.profile,.main-nav,.main-nav details { position:relative }
.profile summary { display:flex; align-items:center; justify-content:space-between; gap:12px }.profile summary::after { content:'⌄' }
summary::-webkit-details-marker { display:none }
.profile-menu,.navlinks { position:absolute; z-index:5; border:1px solid var(--border); background:var(--panel); border-radius:6px; box-shadow:0 10px 24px #0003 }
.profile-menu { top:100%; right:0; padding:4px; min-width:195px }.profile-menu a,.profile button { display:block; text-align:left; width:100%; text-decoration:none; border:0; background:var(--panel); border-radius:4px; padding:7px 12px }
.profile button:hover,.navlinks a:hover,.theme button:hover,.main-nav summary:hover { background:var(--panel2) }
.main-nav details[open] summary { border-color:var(--accent) }
.navlinks { top:100%; left:0; padding:5px; min-width:205px }
.navlinks a { min-height:var(--control-h); display:flex; justify-content:space-between; align-items:center; padding:8px 12px; gap:12px; border-radius:3px; text-decoration:none; font-weight:550 }
.navlinks a[aria-current=page] { background:color-mix(in srgb,var(--accent) 12%,var(--panel)); color:var(--text) }
kbd { font:.72rem Consolas,monospace; color:var(--muted) }
.desk { min-height:calc(100dvh - 54px) }
.surface { padding:clamp(16px,3vw,38px); min-width:0; max-width:1310px; margin:auto }
.surface-head { display:flex; align-items:baseline; gap:8px 20px; flex-wrap:wrap; justify-content:space-between; padding-bottom:12px; border-bottom:1px solid var(--border) }
.surface-head small,.surface-head time,.greeting strong { color:var(--muted) }.surface-head small,.greeting strong { font-weight:650 }.surface h1 { font-size:clamp(2rem,4vw,3.8rem) }
.greeting { margin:25px 0; display:flex; gap:12px; align-items:center }.val-icon { background:var(--panel2); color:var(--accent); border:1px solid var(--border); border-radius:50%; display:grid; place-items:center; width:40px; height:40px; font-weight:700 }.greeting strong { font-size:.8rem }
.help { padding:22px 0; max-width:65ch }.help p { margin:12px 0 }.help h2 { font-size:1.25rem }
@media(max-width:850px) { .entry { grid-template-columns:1fr 1fr }.signin{padding-inline:26px}.network figcaption{gap:4px 12px} }
@media(max-width:700px) {
  .mast{padding-inline:10px;gap:6px}.utilities,.identity{gap:6px}.languages select,.profile summary{min-width:76px;font-size:.81rem}
  .entry{width:calc(100% - 24px);margin:14px auto;display:flex;flex-direction:column;min-height:auto}
  .atlas-head{padding:18px 18px 12px;gap:8px}.atlas-wordmark{width:clamp(185px,53vw,245px)}.atlas{height:auto}.network figcaption{padding:8px 16px}.coords{font-size:.67rem}
  .signin{padding:24px 20px 14px;border:0;border-top:1px solid var(--border)}.signin footer{margin-top:19px}.lead{margin:8px 0 18px}
  .surface{padding:27px 19px}
}
@media(max-width:380px) { .languages select,.profile summary{min-width:60px;padding:0 5px} }
@media(max-height:700px) and (min-width:701px) { .entry{margin-block:18px;min-height:calc(100dvh - 120px)}.signin{padding-block:20px 12px}.lead{margin:8px 0 15px}.signin footer{margin-top:18px}.atlas-head{padding-top:18px} }
@media(max-width:390px) {
  html { font-size:15px }
  .surface { padding-inline:8px }
  .desk-tools { inset-inline-end:8px; max-width:calc(100vw - 16px); overflow-x:auto; padding-block:2px; scrollbar-width:none }
  .desk-tools::-webkit-scrollbar { display:none }
  .desk-tools > :is(button,a) { flex:0 0 var(--compact-control-h); min-width:var(--compact-control-h) }
  :where(.module-tools,.module-actions,.quality-controls,.settings-actions,.composer-actions,.shift-actions) {
    gap:.35rem; align-items:stretch;
  }
  :where(.module-tools,.module-actions,.quality-controls,.settings-actions,.composer-actions,.shift-actions) > :is(button,a,select,input) {
    min-width:0; max-width:100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.01ms!important }
}
@media(forced-colors:active) {
  :focus-visible { outline:2px solid CanvasText }
  button,input,select,textarea { border:1px solid ButtonText }
}

.surface-head h1 { margin:0; font-size:clamp(1.55rem,2.6vw,2.35rem) }
.surface-head time,.pane-title small { font-size:.82rem; color:var(--muted) }
.assistant-pane,.settings-form { min-width:0 }
.assistant-pane { border:1px solid var(--border); border-radius:8px; background:var(--panel); padding:clamp(16px,2.1vw,26px) }
.pane-title { display:flex; align-items:center; gap:11px; margin-bottom:16px }
.pane-title h2 { font-size:1.15rem; line-height:1.25; letter-spacing:-.02em }
.val-monogram { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--accent); color:var(--accent-text); font-size:1.4rem; font-weight:750 }
.assistant-pane .greeting { margin:0 0 16px }
.conversation { max-height:clamp(160px,35dvh,350px); overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; border-block:1px solid var(--border); margin:0 0 14px; padding-right:8px }
.turn { padding:10px 0; overflow-wrap:anywhere }.turn + .turn { border-top:1px solid var(--border) }
.turn strong { font-size:.77rem; color:var(--muted) }.turn .val-name { color:var(--accent) }.turn p { margin:3px 0 8px; white-space:pre-wrap }
.composer label,.settings-form label { font-size:.85rem; font-weight:600 }
.composer textarea,.settings-form input,.settings-form select { width:100%; min-width:0; color:var(--text); background:var(--control); border:1px solid var(--line); border-radius:5px; font:inherit }
.composer textarea { display:block; min-height:4.7em; margin:5px 0 8px; padding:9px 11px; resize:vertical }
.composer-actions,.settings-actions { display:flex; align-items:center; justify-content:space-between; gap:10px }
.composer-actions [role=status] { font-size:.82rem; color:var(--muted) }
.action { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-width:96px; min-height:34px; padding:4px 14px; border:0; border-radius:5px; background:var(--accent); color:var(--accent-text); font-weight:650 }
.action:disabled { opacity:.65; cursor:progress }
.listen { display:inline-flex; align-items:center; gap:5px; width:fit-content; min-height:28px; padding:2px 8px; border:1px solid var(--border); border-radius:4px; background:var(--panel); color:var(--text); font-size:.8rem }
.listen::before { content:"▷"; color:var(--accent) }.listen[aria-pressed=true]::before { content:"■" }.test-voice { align-self:end; min-height:34px }
.voice-status { color:var(--muted); font-size:.83rem }.voice-status:not(:empty) { margin:7px 0 }.settings-form .voice-status { grid-column:1/-1 }.settings-form .voice-status:empty { display:none }
.inline-help { margin-top:14px; font-size:.875rem; color:var(--muted) }
.settings-form { max-width:920px }.settings-form fieldset { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 16px; border:0; border-bottom:1px solid var(--border); margin:16px 0 0; padding:2px 0 16px }
.settings-form legend { font-weight:650; padding:0 0 7px }.settings-form label { display:grid; gap:5px }
.settings-form input,.settings-form select { height:34px; padding:4px 8px; font-weight:400 }.voice { align-self:end; grid-column:span 2; font-size:.875rem; color:var(--muted) }.voice summary { padding:6px 0 }.voice audio { width:min(100%,360px); height:34px }
.settings-actions { justify-content:flex-end; margin-top:15px; font-size:.9rem }.notice { margin:12px 0; color:var(--text); border-inline-start:3px solid var(--accent); padding-inline:8px }
@media(max-width:700px) {
  .surface { padding:16px 12px }
  .settings-form fieldset { grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr)) }.voice { grid-column:1/-1 }
}

[data-farbschema="hafenblau"] { color-scheme:dark; --bg:#101d31; --panel:#182b45; --panel2:#243b58; --control:#12233a; --text:#f0f5ff; --muted:#b3c5db; --line:#7187a2; --accent:#87cbff; --accent-text:#102239 }
[data-farbschema="sandstein"] { color-scheme:light; --bg:#f4efe7; --panel:#fffcf6; --panel2:#eadfcf; --control:#fffdf9; --text:#302820; --muted:#625248; --line:#a68f78; --accent:#84411e; --accent-text:#fff }
[data-farbschema="salbei"] { color-scheme:light; --bg:#eaf0e8; --panel:#f8fbf6; --panel2:#dce7dc; --control:#fff; --text:#203329; --muted:#425d4e; --line:#859d8b; --accent:#285d45; --accent-text:#fff }
[data-farbschema="graphit"] { color-scheme:dark; --bg:#19191d; --panel:#25252a; --panel2:#303039; --control:#1e1e23; --text:#f4f2f7; --muted:#c0bdca; --line:#827d8d; --accent:#c8b3fa; --accent-text:#261b39 }
:root { --message-warning:#e59a36; --message-success:#399f65; --message-info:#368ed3 }
[data-tone="dark"] { --login-error-background:#40282b; --login-error-text:#ffc9c2; --message-critical:#f58579 }
[data-tone="light"]:not([data-farbschema="usb-anmeldung"]) { --login-error-background:#fff2ef; --login-error-text:#931f21; --message-critical:#bf3838 }
.val-toggle,.dialog-close { display:inline-flex; align-items:center; justify-content:center; gap:5px; background:var(--panel); color:var(--text); border:1px solid var(--border); border-radius:5px }
.val-toggle { height:var(--control-h); min-width:64px; padding:0 10px; font-size:.875rem; font-weight:650 }
.val-toggle[data-listening] { border-color:var(--accent) }
.val-toggle::after { content:""; flex:none; width:7px; height:7px; border-radius:50%; background:transparent; outline:1px solid currentColor }
.val-toggle::after {background:#ed343b;outline-color:currentColor}
.val-toggle[data-state=listen]::after {background:#26ae54}
.val-toggle[data-state=work]::after {background:#ec9024}
.val-toggle[data-state=answer]::after {background:#3388ed}
.dialog-close { margin-inline-start:auto; width:32px; height:32px; font-size:1.35rem }
dialog.assistant-pane { width:min(580px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); color:var(--text); box-shadow:0 16px 70px #0005 }
dialog::backdrop { background:#09101885 }
dialog .pane-title { margin-bottom:10px }
.mic-controls { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:12px; font-size:.8rem; color:var(--muted) }
.mic-switch::before { content:""; display:block; width:7px; height:7px; border:1px solid currentColor; border-radius:50% }
.mic-switch[aria-pressed=true]::before { content:""; background:var(--accent) }
.range-label { display:flex; align-items:center; justify-content:space-between; gap:4px }
.range-label output { font-variant-numeric:tabular-nums; color:var(--muted) }
.settings-form input[type=range] { accent-color:var(--accent); padding-inline:0; cursor:pointer }
html[data-brightness] body,html[data-brightness] dialog { filter:brightness(var(--brightness,1)) contrast(var(--contrast,1)) }
html[data-brightness] body { min-height:100dvh; background:var(--bg) }

.mast { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); background:var(--header-bg,var(--bg)) }
.utilities { justify-self:end }
.header-clock { display:flex; align-items:baseline; gap:.6em; color:var(--header-ink,var(--text)); font-size:.86rem; font-variant-numeric:tabular-nums; white-space:nowrap }
.header-clock b { font-weight:650 }
[data-farbschema="daniel-hafen"] { --header-ink:#e8eef6 }
[data-farbschema="daniel-hafen"] .brand { --wordmark-ink:color-mix(in srgb,var(--accent) 42%,var(--header-ink)) }
.wake-pref { display:flex!important; align-items:center; align-self:end; min-height:34px }
.settings-form .wake-pref input { width:18px; height:18px; accent-color:var(--accent); margin:0 6px 0 0 }
.personal-briefing { margin-top:14px; padding-block:8px; border-bottom:1px solid var(--border) }
.personal-briefing summary { font-weight:600 }
.personal-briefing h2 { font-size:1rem; margin-block:12px 4px }
.personal-briefing p { white-space:pre-line; max-width:76ch }
.personal-briefing small { color:var(--muted) }
@media(max-width:600px) {
 .mast { grid-template-columns:minmax(0,1fr) auto auto }
 .header-clock { flex-direction:column; align-items:end; gap:0; font-size:.72rem; line-height:1.35 }
 .brand { width:clamp(44px,17vw,95px); height:auto }
 .profile summary { max-width:clamp(52px,17vw,100px); min-width:0 }
 .val-toggle { min-width:42px;padding-inline:5px }
}

/* Mitarbeiter-Arbeitsplatz: Kontextleiste, ausklappbare Funktionsliste und Kachelfläche. */
body:has(.day-board) .surface { max-width:none; padding:0 }
body:has(.day-board) .surface-head { padding:7px clamp(14px,2vw,26px); min-height:44px; align-items:center; background:var(--panel); gap:8px }
body:has(.day-board) .surface-head h1 { font-size:1.04rem; letter-spacing:0; font-weight:650 }
body:has(.day-board) .surface > [data-voice-mode],body:has(.day-board) .surface > .inline-help { margin-inline:clamp(14px,2vw,26px) }
body:has(.day-board) .greeting { margin:12px 0 }
.function-search,.board-add,.home-refresh,.nav-pin,.tile-plus,.tile-controls button { display:inline-flex; align-items:center; justify-content:center; height:32px; border:1px solid var(--border); border-radius:6px; background:var(--control); color:var(--text); cursor:pointer }
.function-search { height:var(--control-h); min-width:155px; gap:8px; padding:0 10px; white-space:nowrap; color:var(--muted); font-size:.84rem }
.function-search kbd { margin-left:auto; font-size:.7rem }
.home-refresh,.nav-pin,.tile-plus,.tile-controls button { width:32px; padding:0 }
.board-add { padding:0 12px; font-size:.85rem; font-weight:650 }
.day-board { padding:16px clamp(14px,2vw,26px) 0 }
.board-head,.drawer-head,.home-tile header { display:flex; align-items:center; gap:8px }
.board-head { justify-content:space-between; margin-bottom:12px }
.board-head h2 { font-size:1.3rem; margin:0; letter-spacing:-.02em }
.tile-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr)); gap:12px; align-content:start; min-height:clamp(170px,42vh,520px); padding:12px; border:1px dashed var(--border); border-radius:8px }
.board-empty { grid-column:1/-1; margin:0; padding:14px 5px; font-size:.9rem; color:var(--muted) }
.home-tile { min-width:0; border:1px solid var(--border); border-radius:8px; background:var(--panel); padding:10px }
.home-tile header { margin-bottom:12px; min-height:30px }
.home-tile header strong { font-size:.92rem }
.grip { cursor:grab; color:var(--muted); padding:3px }
.tile-controls { display:flex; gap:3px; margin-left:auto }
.tile-controls button { width:27px; height:27px }
.tile-open { display:inline-flex; align-items:center; justify-content:space-between; gap:14px; padding:6px 12px; border:0; border-radius:6px; font-size:.85rem; font-weight:650; text-decoration:none; background:var(--accent); color:var(--accent-text) }
.board-status,.nav-status { font-size:.83rem;margin:5px 0;color:var(--text) }
.board-status:empty,.nav-status:empty { display:none }
.main-nav .navlinks { top:calc(100% + 8px); left:0; width:min(278px,calc(100vw - 24px)); padding:12px; border-radius:8px; max-height:calc(100dvh - 60px); overflow:auto; background:var(--panel); box-shadow:0 10px 24px #0003 }
.drawer-head { justify-content:space-between; margin-bottom:8px }
.drawer-head h2 { margin:0; font-size:1rem }
.nav-filter { width:100%; min-width:0; padding:6px 9px; height:34px; background:var(--control); color:var(--text); border:1px solid var(--border);border-radius:5px;font:inherit;font-size:.84rem }
.nav-home { margin:6px 0 }
.nav-row { display:flex; align-items:center; gap:6px;margin-block:3px }
.nav-row .nav-item { width:100%; min-width:0; height:34px; display:flex; align-items:center; justify-content:flex-start; gap:8px; padding:0 9px; border:0; border-radius:5px; background:transparent; color:var(--text); font:inherit; font-size:.85rem; cursor:grab }
.nav-row .nav-item:hover,.board-add:hover,.home-refresh:hover,.nav-pin:hover { background:var(--panel2) }
.tile-plus { flex:none }.tile-plus:disabled,.tile-controls button:disabled { opacity:.45;cursor:default }
.return-zone { border:1px dashed var(--border); margin-top:10px; border-radius:5px; padding:7px; color:var(--muted); font-size:.78rem;text-align:center }
.drag-target { outline:2px solid var(--accent); outline-offset:-2px }
.navlinks [hidden],.tile-grid [hidden] { display:none }
@media(min-width:801px) { body.drawer-pinned .desk { margin-left:calc(278px + clamp(12px,2.4vw,36px)) } }
@media(max-width:800px) { .function-search { display:none } }

.grip,.nav-row .nav-item { touch-action:none;user-select:none }
body.tile-dragging,body.tile-dragging * { cursor:grabbing!important; user-select:none }

body:not(:has(.global-search)) .mast .brand{width:150px;height:44px}
@media(max-width:610px){
 body:not(:has(.global-search)) .mast{grid-template-columns:minmax(0,1fr) auto;row-gap:3px;padding-block:4px}
 body:not(:has(.global-search)) .mast .identity{grid-area:1/1}
 body:not(:has(.global-search)) .mast .utilities{grid-area:1/2}
 body:not(:has(.global-search)) .mast .brand{width:116px;max-width:100%;height:36px}
 body:not(:has(.global-search)) .mast .header-clock{grid-area:2/1/3/-1;justify-self:end;flex-direction:row;gap:8px}
}

#app-confirm{width:min(380px,calc(100vw - 24px));padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);font:inherit}
#app-confirm h2{margin:0;font-size:1.04rem}#app-confirm p{margin:8px 0 16px}
#app-confirm form{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}
#app-confirm button,.utilities [data-fullscreen]{height:var(--unit,32px);border:1px solid var(--border);border-radius:5px;background:var(--control);color:var(--text);font:inherit}
#app-confirm button{padding-inline:12px}#app-confirm button[value=accept]{background:var(--accent);color:var(--accent-text)}
.field-feedback{grid-column:1/-1;color:var(--login-error-text);background:var(--login-error-background);padding:4px 8px;margin:4px 0;font-size:.86rem}
[aria-invalid=true]{outline:2px solid var(--message-critical)}
.utilities [data-fullscreen]{width:var(--control-h);height:var(--control-h);padding:0;display:grid;place-items:center}
.utilities [data-fullscreen][hidden]{display:none}
#screen-status:empty{display:none}
#screen-status:not(:empty){position:fixed;z-index:5;inset-inline-end:8px;bottom:2.5rem;max-width:calc(100vw - 20px);padding:6px 10px;border:1px solid var(--border);border-radius:5px;background:var(--panel);color:var(--text)}
[data-farbschema="limette-website"] body :focus-visible{outline:2px solid #202326}
[data-farbschema="limette-website"] body .mast :focus-visible{outline:2px solid #E6FF00}

body:is([data-view=login],[data-view=setup]){min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:minmax(max-content,1fr) auto minmax(0,1fr)}
body:is([data-view=login],[data-view=setup]) .mast{align-self:start}
body:is([data-view=login],[data-view=setup]) .entry{justify-self:center;align-self:center;margin:12px auto}

.listen[hidden]{display:none}
.val-sources{margin:4px 0;padding-inline-start:1.2em;overflow-wrap:anywhere}

@media(min-width:701px) and (min-height:550px){
 body:is([data-view=login],[data-view=setup]) .entry{height:min(700px,calc(100dvh - 136px));min-height:0}
 body:is([data-view=login],[data-view=setup]) .atlas{flex:1 1 0;min-height:0;margin:0}
 body:is([data-view=login],[data-view=setup]) .signin{min-height:0;overflow-y:auto}
}

.logicon,.locale-flag{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.14em;margin-inline-end:.4em;pointer-events:none}
.locale-flag{width:1.55em;height:.94em;box-shadow:0 0 0 1px #8887}
.locale-picker{position:relative;display:inline-flex;min-width:0}
.locale-picker button{font:inherit;color:inherit;white-space:nowrap;display:flex;align-items:center;justify-content:flex-start;background:var(--panel,var(--control));border:1px solid var(--border);border-radius:.3rem;padding:.3em .55em}
.locale-options{position:absolute;inset-inline-start:0;top:100%;min-width:100%;z-index:90;background:var(--panel,#fff);color:var(--text);border:1px solid var(--border);box-shadow:0 .4rem 1rem #0003}
.languages .locale-options{inset-inline-start:auto;inset-inline-end:0}
.locale-options button{width:100%;border:0;border-radius:0}
.locale-options button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.locale-options[hidden],select[name=locale][hidden]{display:none!important}

.profile-menu { max-width:min(24rem,calc(100vw - 1rem)); box-sizing:border-box }
.profile-menu .profile-full-name { display:block; padding:.45rem .75rem; white-space:normal; overflow-wrap:anywhere; border-bottom:1px solid var(--border) }
.android-download { display:grid; justify-items:start; gap:.6rem; min-width:0; margin:1rem 0; padding:1rem; border:1px solid var(--line); border-radius:.5rem; scroll-margin-top:5rem }
.android-download :is(h2,p) { margin:0 }
.android-download summary { display:list-item; cursor:pointer; padding:.5rem 0 }
.android-download details, .android-download label { max-width:100%; min-width:0 }
.android-download img { display:block; max-width:100%; height:auto; margin-top:.5rem }
.android-download label { display:grid; gap:.35rem; width:100% }
.android-download input { box-sizing:border-box; width:100% }
.android-download .listen { display:inline-flex; align-items:center; min-height:var(--control-h,2.75rem); text-decoration:none }
