:root {
  --bg: #f4f2ee; --panel: #ffffff; --ink: #1d2126; --muted: #5d6670; --line: #e2ded6; --soft: #ece8e1;
  --brand: #e8590c; --brand-btn: #be4308; --brand-ink: #ffffff; --brand-soft: #fde7d9; --accent: #24323f;
  --ok: #1e7a4c; --ok-soft: #dcf1e5; --warn: #9a6200; --warn-soft: #fbecc8; --bad: #b42318; --bad-soft: #fbe0dd;
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 24, 28, .06), 0 4px 14px rgba(20, 24, 28, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c; --panel: #1c2228; --ink: #e9ecef; --muted: #9aa5b0; --line: #2c343c; --soft: #232a31;
    --brand: #f27a35; --brand-btn: #be4308; --brand-soft: #3a2518; --accent: #cfd8e1;
    --ok: #4cc38a; --ok-soft: #173326; --warn: #e2b14a; --warn-soft: #3a2f15; --bad: #f2786d; --bad-soft: #3d1c1a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: inherit; }
h1 { font-size: 1.6rem; line-height: 1.2; margin: .2rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
p { margin: .4rem 0; }
small { color: var(--muted); }
.muted { color: var(--muted); } .small { font-size: .87rem; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--panel); padding: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }

/* Rahmen */
.app { display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: var(--accent); color: #e8edf2; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 14px 10px; }
@media (prefers-color-scheme: dark) { .side { background: #0f1317; } }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; }
.brand .logo svg { width: 36px; height: 36px; display: block; }
.brand b { display: block; font-size: 1.15rem; letter-spacing: .01em; text-transform: none; }
.brand b sup { font-size: .55em; margin-left: 1px; }
.brand small { color: inherit; opacity: .7; display: block; line-height: 1.2; }
.brand.big .logo svg { width: 48px; height: 48px; }
.side nav { display: flex; flex-direction: column; gap: 2px; overflow: auto; flex: 1; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: inherit; opacity: .86; position: relative; }
.side nav a:hover { background: rgba(255, 255, 255, .07); opacity: 1; }
.side nav a.on { background: rgba(255, 255, 255, .12); opacity: 1; box-shadow: inset 3px 0 0 var(--brand); }
.side .me { display: flex; gap: 10px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .1); }
.side .me small { color: inherit; opacity: .7; display: block; }
main#view { flex: 1; min-width: 0; outline: none; padding-bottom: 90px; }
.pad { padding: 22px 26px; max-width: 980px; }
.pad.narrow { max-width: 760px; } .pad.wide { max-width: 1280px; }
.bottom { display: none; }
.demo { background: var(--brand-btn); color: #fff; font-size: .88rem; padding: 6px 14px; text-align: center; }
.demo a { color: #fff; font-weight: 600; margin-left: 6px; }
.badge { font-style: normal; font-size: .72rem; font-weight: 700; background: var(--brand-btn); color: #fff; border-radius: 99px; padding: 0 6px; min-width: 18px; text-align: center; line-height: 18px; margin-left: auto; }
.badge:empty { display: none; }

@media (max-width: 820px) {
  .side { display: none; }
  .pad { padding: 16px; }
  h1 { font-size: 1.4rem; }
  .bottom { display: flex; position: fixed; inset: auto 0 0 0; background: var(--panel); border-top: 1px solid var(--line); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
  .bottom a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; text-decoration: none; font-size: .72rem; color: var(--muted); position: relative; }
  .bottom a.on { color: var(--brand); }
  .bottom .badge { position: absolute; top: 3px; left: calc(50% + 6px); margin: 0; }
}

/* Bausteine */
.head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.head h1, .head h2 { margin: 0; }
.row { display: flex; gap: 8px; align-items: center; }
.row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; margin: 10px 0; flex-wrap: wrap; } .row.end { justify-content: flex-end; margin-top: 14px; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: var(--brand-btn); color: var(--brand-ink); font: inherit; font-weight: 600; padding: 10px 16px; cursor: pointer; text-decoration: none; min-height: 44px; white-space: nowrap; }
.btn:hover { filter: brightness(1.05); } .btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.alt { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.alt { background: #2f3b47; } }
.btn.big { min-height: 56px; font-size: 1.05rem; padding: 12px 22px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn.icon { padding: 0; width: 44px; }
.btn.stop { background: var(--accent); }
.x { border: 0; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.x:hover { background: var(--soft); color: var(--ink); }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--ink); white-space: nowrap; }
.tag.red { background: var(--bad-soft); color: var(--bad); } .tag.green { background: var(--ok-soft); color: var(--ok); } .tag.amber { background: var(--warn-soft); color: var(--warn); } .tag.grey { color: var(--muted); }
.av { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .9rem; flex: none; }
.av.sm { width: 28px; height: 28px; font-size: .72rem; }
.av.grp { background: var(--soft); color: var(--muted); }
.empty { color: var(--muted); padding: 14px 0; margin: 0; } .empty.sm { padding: 4px 0; }
.block { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 14px 0; }
.item { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.item:last-child { border-bottom: 0; }
.item > div { min-width: 0; flex: 1; }
.item b { display: block; } .item small { display: block; }
.item > b { flex: 1; }
.item.must { box-shadow: inset 3px 0 0 var(--bad); padding-left: 12px; }
.item .right { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.btnlike { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: inherit; text-align: start; cursor: pointer; }
.clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.clip1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.late { color: var(--bad); font-weight: 700; }
.back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--muted); margin-bottom: 8px; }
.search input { width: 100%; }
.seg { display: inline-flex; background: var(--soft); border-radius: 12px; padding: 3px; margin: 6px 0; }
.seg button { border: 0; background: none; font: inherit; padding: 7px 14px; border-radius: 9px; cursor: pointer; color: var(--muted); min-height: 38px; }
.seg button.on { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; max-width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; }
textarea { resize: vertical; width: 100%; }
.form { display: flex; flex-direction: column; gap: 6px; }
.form label { font-weight: 600; font-size: .92rem; margin-top: 6px; }
.form input:not([type=checkbox]):not([type=radio]), .form select { width: 100%; }
label.check, label.opt { display: flex; align-items: center; gap: 10px; font-weight: 400 !important; padding: 6px 0; cursor: pointer; }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; min-height: 0; accent-color: var(--brand); }
fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 8px 0 0; }
legend { font-weight: 600; padding: 0 4px; }
.card { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); opacity: 0; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 12px; z-index: 100; transition: .25s; max-width: 90vw; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .toast { background: #e9ecef; color: #14181c; } }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.bad { background: var(--bad); color: #fff; }
dialog.sheet { border: 0; border-radius: 18px; padding: 0; width: min(560px, 94vw); max-height: 90vh; background: var(--panel); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
dialog.sheet::backdrop { background: rgba(10, 14, 18, .45); }
dialog.sheet form { padding: 18px 20px 20px; }
dialog.sheet header { display: flex; justify-content: space-between; align-items: center; }
dialog.sheet header h2 { margin: 0; font-size: 1.2rem; }
dialog input[readonly] { width: 100%; margin: 8px 0; }
@media (max-width: 600px) { dialog.sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92vh; } }

/* Start */
.clock { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.clock.running { background: var(--ok-soft); }
.clock b { display: block; font-size: 1.05rem; } .clock small { font-size: 1.4rem; color: var(--ok); font-weight: 700; font-variant-numeric: tabular-nums; }
.clock.big { padding: 22px; margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; position: relative; }
.tile .ic { color: var(--brand); } .tile b { font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; } .tile span { color: var(--muted); font-size: .88rem; }
.tile.warn { background: var(--warn-soft); }
.tile.link { flex-direction: row; align-items: center; gap: 12px; } .tile.link span { color: var(--ink); font-weight: 600; font-size: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ev .when { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 92px; font-size: .92rem; }
.ev.absence .when { color: var(--muted); }

/* Neuigkeiten */
.post { display: block; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 12px 0; text-decoration: none; }
.post.unread { box-shadow: var(--shadow), inset 4px 0 0 var(--brand); }
.post h2 { font-size: 1.15rem; margin: 8px 0 4px; }
.post .meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; flex-wrap: wrap; }
.post .foot { display: flex; gap: 16px; color: var(--muted); font-size: .85rem; margin-top: 10px; flex-wrap: wrap; }
.post .foot .ic { width: 16px; height: 16px; }
.post.full h1 { margin-top: 10px; }
.text { font-size: 1.05rem; } .text ul, .text ol { padding-inline-start: 22px; }
.attach img { max-width: 100%; border-radius: 12px; margin: 10px 0; display: block; }
.attach { display: inline-flex; gap: 8px; align-items: center; margin: 8px 0; }
.readbox { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.readbox .ok { color: var(--ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.missing summary { cursor: pointer; color: var(--bad); font-weight: 600; }
.tr { border: 0; background: var(--soft); color: var(--ink); border-radius: 99px; padding: 5px 12px; font: inherit; font-size: .85rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.tr .ic { width: 16px; height: 16px; } .tr.on { background: var(--brand-soft); }
.tr.mini { padding: 0; background: none; text-decoration: underline; margin: 0; font-size: .78rem; color: inherit; }
.comment { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.comment p { margin: 2px 0; }
.compose { display: flex; gap: 8px; margin-top: 10px; } .compose input { flex: 1; min-width: 0; }

/* Chat */
.chat .av { width: 46px; height: 46px; }
.chatwrap { display: flex; flex-direction: column; height: 100vh; height: 100dvh; max-width: 900px; }
.demo ~ .app .chatwrap { height: calc(100dvh - 34px); }
.chathead { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.chathead .back { margin: 0; } .chathead small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70vw; }
.msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.msg { align-self: flex-start; max-width: min(78%, 560px); background: var(--panel); padding: 8px 12px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--brand-soft); border-radius: 16px 16px 4px 16px; }
.msg b { font-size: .82rem; } .msg small { font-size: .72rem; align-self: flex-end; }
.msg img { max-width: 100%; max-height: 300px; border-radius: 10px; display: block; margin: 4px 0; }
.msg .file { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.day { align-self: center; font-size: .78rem; color: var(--muted); background: var(--soft); padding: 2px 10px; border-radius: 99px; margin: 8px 0; }
.chatbar { padding: 8px 10px; background: var(--panel); border-top: 1px solid var(--line); margin: 0; }
.v-chat main, .v-chat { padding-bottom: 0 !important; }
@media (max-width: 820px) { .v-chat .chatwrap { height: calc(100dvh - 62px); } .demo ~ .app .v-chat .chatwrap { height: calc(100dvh - 96px); } }
#mic.rec { background: var(--bad-soft); color: var(--bad); }

/* Aufgaben */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } }
.col h2 small { font-weight: 400; }
.task { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 8px; }
.task.high { box-shadow: var(--shadow), inset 3px 0 0 var(--bad); }
.task .body { flex: 1; cursor: pointer; min-width: 0; } .task .body small { display: block; }
.tick { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--panel); cursor: pointer; flex: none; display: grid; place-items: center; padding: 0; color: #fff; }
.tick.doing { border-color: var(--brand); background: linear-gradient(90deg, var(--brand) 50%, var(--panel) 50%); }
.tick.done { background: var(--ok); border-color: var(--ok); } .tick .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.col:last-child .task { opacity: .7; }
.proof { max-width: 100%; border-radius: 10px; margin: 8px 0; }

/* Kalender */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1000px) { .week { grid-template-columns: 1fr; } }
.dayc { background: var(--panel); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; min-height: 80px; }
.dayc.today { box-shadow: var(--shadow), inset 0 3px 0 var(--brand); }
.dayc h2 { font-size: .9rem; color: var(--muted); }
.dayc .item { flex-wrap: wrap; gap: 4px 10px; padding: 8px 0; }
.dayc .item .when { min-width: 0; }
@media (min-width: 1001px) { .dayc .item { flex-direction: column; align-items: flex-start; } }
.evwrap { cursor: default; }

/* Zeit */
.sum { font-size: 1.05rem; margin: 10px 0; } .sum b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.tbl { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.tbl th { background: var(--soft); font-weight: 600; }

/* Wissen, Unterweisung */
.doc { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.quiz { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.quiz .q.wrong { border-color: var(--bad); background: var(--bad-soft); }
.quiz input#sig { width: 100%; }
.course .ic { color: var(--brand); }

/* Kollegen */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.person { background: var(--panel); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.person > div:nth-child(2) { flex: 1; min-width: 0; } .person small { display: block; }
.pp { position: relative; } .dot { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); border: 2px solid var(--panel); }
.acts { display: flex; gap: 2px; }
.invite { width: 100%; display: flex; justify-content: space-between; align-items: center; background: var(--warn-soft); border-radius: 10px; padding: 6px 10px; font-size: .88rem; }

/* Umfragen */
.poll { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 12px 0; position: relative; }
.poll h2 { margin: 6px 0 10px; }
.poll .del { position: absolute; top: 8px; right: 8px; }
.bar { position: relative; background: var(--soft); border-radius: 10px; margin: 6px 0; padding: 9px 12px; display: flex; justify-content: space-between; overflow: hidden; }
.bar span { position: absolute; inset: 0 auto 0 0; background: var(--brand-soft); }
.bar.mine span { background: var(--brand); opacity: .35; }
.bar b, .bar em { position: relative; font-style: normal; } .bar em { font-weight: 700; }
.vote { display: flex; flex-direction: column; gap: 2px; } .vote .btn { align-self: flex-start; margin-top: 8px; }

/* Fahrzeuge */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vcard { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.vcard.warn { box-shadow: var(--shadow), inset 0 3px 0 var(--warn); } .vcard.bad { box-shadow: var(--shadow), inset 0 3px 0 var(--bad); }
.plate { font-family: ui-monospace, Consolas, monospace; border: 1.5px solid var(--ink); border-radius: 5px; padding: 0 6px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.dues { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 6px 0; }
.ck { display: flex !important; align-items: center; gap: 10px; background: var(--ok-soft); border-radius: 12px; padding: 12px !important; margin: 0 !important; cursor: pointer; font-weight: 600 !important; }
.ck:has(input:not(:checked)) { background: var(--bad-soft); color: var(--bad); }

/* Verwaltung */
.prog { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; width: 140px; flex: none; }
.prog span { display: block; height: 100%; background: var(--ok); }
.swatch { width: 16px; height: 16px; border-radius: 5px; flex: none; }

/* Anmeldung */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 0%, var(--brand-soft), transparent 60%), var(--bg); }
.login .card { width: min(460px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; }
.langs button { border: 1.5px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 99px; padding: 4px 12px; font: inherit; font-size: .88rem; cursor: pointer; min-height: 34px; }
.langs button.on { border-color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.demo-pick { background: var(--soft); border-radius: 14px; padding: 14px; }
.demo-pick .btn { justify-content: flex-start; }

/* Hallen-Bildschirm */
body.display { background: #10161b; color: #f1f3f5; }
.disp { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto 1fr; gap: 2.4vw; height: 100vh; padding: 2.4vw; font-size: 1.6vw; }
.disp header { grid-column: 1 / -1; display: flex; align-items: center; gap: 1vw; font-size: 1.8vw; }
.disp header .logo svg { width: 3vw; height: 3vw; display: block; }
.disp header time { margin-left: auto; opacity: .75; }
.disp .hero { background: #1b232b; border-radius: 1.4vw; padding: 3vw; overflow: hidden; }
.disp .hero h1 { font-size: 3.6vw; margin: .5vw 0 1.4vw; }
.disp .hero small { color: #f27a35; font-size: 1.3vw; }
.disp aside { background: #1b232b; border-radius: 1.4vw; padding: 2vw; overflow: hidden; }
.disp aside h2 { font-size: 1.6vw; margin: 1.6vw 0 .8vw; opacity: .8; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1vw; }
.kpis div { background: #10161b; border-radius: 1vw; padding: 1vw; } .kpis b { display: block; font-size: 3vw; color: #f27a35; } .kpis span { font-size: 1.1vw; opacity: .8; }
.sh { display: grid; grid-template-columns: 9vw 1fr; gap: 0 1vw; padding: .6vw 0; border-bottom: 1px solid #2b353f; font-size: 1.3vw; }
.sh em { grid-column: 2; font-style: normal; opacity: .65; font-size: 1.1vw; }
.disp .empty { color: #9aa5b0; }

@media print { .side, .bottom, .demo, .row.end, header .x { display: none !important; } dialog.sheet { position: static; box-shadow: none; width: 100%; max-height: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.legal { text-align: center; margin: 0; color: var(--muted); } .legal a { color: inherit; }
