/* Einstellungen, Speisekarte, Kunden (sx-, me-, cu-). Grundform hell; RestaurantExpress grau und eckig; DOS blau mit Textschrift. */
.sx { --sx-red: #b3261e; --sx-ok: #1d6b38; --sx-warn: #8a5a00; }
.sx-page { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
.sx-card { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.sx-card-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sx-card-h h3 { margin: 0; font-size: 15px; }
.sx-card-h > .sx-btn, .sx-card-h select { align-self: center; }
.sx .grow, .sx-save .grow, .sx-row .grow { flex: 1; }
.sx-mut { color: var(--of-mut); font-size: 12.5px; }
.sx-note { margin: 4px 0 0; font-size: 12.5px; color: var(--of-mut); background: rgba(0, 0, 0, .03); border-radius: calc(var(--of-r) / 2); padding: 6px 10px; }
.sx-warn { margin: 4px 0 0; font-size: 13px; color: var(--sx-warn); }
.sx-ok { color: var(--sx-ok); font-weight: 700; margin: 0 0 6px; }
.sx-red { color: var(--sx-red); }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 14px; align-items: start; }
.sx-f { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sx-f.wide { grid-column: span 2; }
.sx-f.full { grid-column: 1 / -1; }
.sx-l { font-size: 12px; color: var(--of-mut); font-weight: 600; }
.sx-l:empty { display: none; }
.sx-h { font-size: 11.5px; color: var(--of-mut); line-height: 1.3; }
.sx-in { border: 1px solid var(--of-line); border-radius: calc(var(--of-r) / 2); padding: 6px 8px; font: inherit; font-size: 14px; background: #fff; color: inherit; min-width: 0; box-sizing: border-box; }
.sx-f > .sx-in, .sx-f > select.sx-in { width: 100%; }
.sx-in:focus { outline: 2px solid var(--of-acc); outline-offset: -1px; }
.sx-in:disabled { background: #f1f0ec; color: #8a8984; }
.sx-in.mono, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.sx-area { resize: vertical; min-height: 44px; }
.sx-in.w5 { width: 72px; } .sx-in.w10 { width: 130px; }
.sx-num { display: inline-flex; align-items: center; gap: 4px; }
.sx-num .sx-in { width: 90px; text-align: right; }
.sx-num span, .sx-money span { color: var(--of-mut); font-size: 13px; }
.sx-money { display: inline-flex; align-items: center; gap: 4px; }
.sx-money .sx-in { width: 82px; text-align: right; font-variant-numeric: tabular-nums; }
.sx-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; padding: 3px 0; }
.sx-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--of-acc); flex: none; }
.sx-check span { display: flex; flex-direction: column; }
.sx-check small { color: var(--of-mut); font-size: 11.5px; }
.sx-check.off { opacity: .55; cursor: default; }
.sx-check.small { font-size: 12.5px; }
.sx-checks { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.sx-radio { display: flex; flex-direction: column; gap: 4px; }
.sx-radio label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border: 1px solid var(--of-line); border-radius: calc(var(--of-r) / 2); cursor: pointer; background: #fff; }
.sx-radio label.on { border-color: var(--of-acc); box-shadow: inset 0 0 0 1px var(--of-acc); }
.sx-radio input { margin-top: 3px; accent-color: var(--of-acc); }
.sx-radio span { display: flex; flex-direction: column; }
.sx-radio small { color: var(--of-mut); font-size: 12px; }
.sx-btn { border: 1px solid var(--of-line); background: var(--of-card); color: inherit; padding: 7px 14px; border-radius: var(--of-r); cursor: pointer; font: inherit; font-size: 14px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.sx-btn.small { padding: 3px 9px; font-size: 12.5px; }
.sx-btn.main, .sx-btn.on { background: var(--of-acc); border-color: var(--of-acc); color: #fff; font-weight: 600; }
.sx-btn.danger { color: var(--sx-red); border-color: #e6b3ae; }
.sx-btn:disabled { opacity: .45; cursor: default; }
.sx-btn kbd { font-size: 10.5px; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; opacity: .8; }
.sx-x { border: 0; background: none; font-size: 19px; line-height: 1; cursor: pointer; color: var(--of-mut); padding: 2px 6px; }
.sx-x:hover { color: var(--sx-red); }
.sx-save { display: flex; gap: 8px; align-items: center; padding-top: 6px; border-top: 1px dashed var(--of-line); flex-wrap: wrap; }
.sx-save.sticky { position: sticky; bottom: 0; background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 8px 12px; z-index: 2; box-shadow: 0 -4px 14px rgba(0, 0, 0, .06); }
.sx-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sx-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 16px; align-items: start; }
.sx-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; align-items: start; }
.sx-tag { display: inline-block; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 600; background: #e8eef7; color: #24527a; }
.sx-tag.ok { background: #e2f0e5; color: var(--sx-ok); } .sx-tag.warn { background: #fff1c9; color: var(--sx-warn); } .sx-tag.bad { background: #fbe4e2; color: var(--sx-red); }
.sx-chip { color: #fff; border-radius: 5px; padding: 0 5px; font-size: 11px; font-weight: 700; }
.sx-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.sx-color { width: 56px; height: 34px; padding: 2px; border: 1px solid var(--of-line); border-radius: 6px; background: #fff; }
.sx-rowbtn { text-align: right; white-space: nowrap; }
.of-table tr.off td { opacity: .5; }
.of-table tr.dirty td { background: #fffbea; }
.of-table td .sx-in { padding: 4px 6px; }
.sx-druck td { vertical-align: middle; }
.sx-druck td small.sx-h { display: block; }
.sx-druck .sx-in { min-width: 140px; }
.sx-sub { margin: 18px 0 8px; font-size: 14px; }
.sx-druck-btn { margin-top: 8px; }
.sx-bon { margin: 0; background: #fff; border: 1px solid var(--of-line); padding: 10px; font: 11.5px/1.3 "Courier New", monospace; white-space: pre; overflow: auto; color: #111; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.sx-example { background: #fff; border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 10px 12px; font-size: 13.5px; display: flex; flex-direction: column; gap: 2px; }
.sx-example hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; width: 100%; }
.sx-example .row { display: flex; justify-content: space-between; }
.sx-example .row.b { font-weight: 700; }
.sx-vat td { padding: 4px 8px; }

/* Funktionen und Sprachen */
.sx-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.sx-mod { display: flex; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 9px 12px; background: #fff; }
.sx-mod > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sx-mod small { color: var(--of-mut); font-size: 12px; }
.sx-mod.on { border-color: color-mix(in srgb, var(--of-acc) 45%, var(--of-line)); }
.sx-mod.lock { background: #f4f3ef; }
.sx-lock { color: var(--sx-warn) !important; }
.sx-sw { width: 44px; height: 26px; border-radius: 13px; border: 0; background: #c9c8c2; position: relative; cursor: pointer; flex: none; padding: 0; }
.sx-sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .15s; }
.sx-sw.on { background: var(--of-acc); } .sx-sw.on i { left: 21px; }
.sx-sw:disabled { opacity: .45; cursor: default; }
.sx-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-lang { display: flex; gap: 8px; align-items: center; border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 8px 12px; background: #fff; cursor: pointer; }
.sx-lang.on { border-color: var(--of-acc); box-shadow: inset 0 0 0 1px var(--of-acc); }
.sx-lang.lock { opacity: .6; cursor: default; }
.sx-lang small { color: var(--of-mut); font-size: 11.5px; }
.sx-lang input { accent-color: var(--of-acc); }

/* Marken */
.sx-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px; }
.sx-brand { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--of-line); border-left: 6px solid var(--bc); border-radius: var(--of-r); background: #fff; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.sx-brand span:last-child { display: flex; flex-direction: column; gap: 2px; }
.sx-brand small { color: var(--of-mut); font-size: 12px; }
.sx-brand.off { opacity: .6; }
.sx-bdot { background: var(--bc); color: #fff; font-weight: 800; border-radius: 8px; padding: 8px 6px; min-width: 44px; text-align: center; font-size: 13px; }

/* Tische */
.sx-rooms { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sx-tables { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 12px; }
.sx-floor { position: relative; aspect-ratio: 16 / 9; background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(0, 0, 0, .04) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(0, 0, 0, .04) 39px 40px), #faf9f6;
  border: 1px solid var(--of-line); border-radius: var(--of-r); touch-action: none; user-select: none; overflow: hidden; }
.sx-t { position: absolute; width: 7.5%; aspect-ratio: 1; min-width: 54px; border: 2px solid #8b8a85; background: #fff; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: grab; font: inherit; color: inherit; padding: 0; box-shadow: 0 2px 5px rgba(0, 0, 0, .08); }
.sx-t.gross { width: 11%; aspect-ratio: 1.5; }
.sx-t.rund { border-radius: 50%; }
.sx-t b { font-size: 16px; } .sx-t small { font-size: 10.5px; color: var(--of-mut); }
.sx-t.sel { border-color: var(--of-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--of-acc) 30%, transparent); }
.sx-t:active { cursor: grabbing; }
.sx-floor-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--of-mut); }
.sx-tside { border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 10px; background: #fff; }
.sx-tform { display: flex; flex-direction: column; gap: 8px; }
.sx-tform h4 { margin: 0; }
.sx-tform-more { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--of-line); padding-top: 8px; margin-top: 4px; }

/* Telefon, Benutzer, Protokoll, Zwei-Faktor */
.sx-phone { display: flex; flex-direction: column; gap: 12px; }
.sx-phone > div { display: flex; flex-direction: column; gap: 3px; }
.sx-phone small { color: var(--of-mut); font-size: 12.5px; }
.sx-copy { display: flex; gap: 6px; }
.sx-copy .sx-in { flex: 1; font-size: 12.5px; }
.sx-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; font-size: 13px; }
.sx-roles div { display: flex; flex-direction: column; }
.sx-roles span { color: var(--of-mut); }
.sx-audit td { vertical-align: top; }
.sx-ch { font-size: 12px; color: #3b3a37; max-width: 520px; word-break: break-word; }
.sx-tfa { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.sx-qr { width: 170px; height: 170px; background: #fff; padding: 6px; border: 1px solid var(--of-line); border-radius: 8px; }
.sx-qr svg { width: 100%; height: 100%; display: block; }
.sx-tfa p { margin: 0 0 6px; font-size: 13.5px; }

/* Speisekarte und Kunden: Liste links, Formular rechts */
.of > .me-art { flex: 1; }
.me-art { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; height: 100%; min-height: 0; }
.me-list { display: flex; flex-direction: column; gap: 8px; min-height: 0; background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 10px; }
.me-filter { display: flex; flex-direction: column; gap: 6px; }
.me-list ul { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-height: 120px; }
.me-list li { display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; align-items: baseline; }
.me-list li:hover { background: rgba(0, 0, 0, .05); }
.me-list li.on { background: var(--of-acc); color: #fff; }
.me-list li.off { opacity: .5; }
.me-list li.bad .nm { color: var(--sx-red, #b3261e); }
.me-list li.on.bad .nm { color: #fff; }
.me-list .nr { min-width: 34px; text-align: right; color: var(--of-mut); font-variant-numeric: tabular-nums; font-size: 13px; }
.me-list .nm { display: flex; flex-direction: column; min-width: 0; }
.me-list .nm small { color: var(--of-mut); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-list li.on .nr, .me-list li.on small { color: #fff; opacity: .85; }
.me-b, .cu-bad { font-style: normal; color: #fff; border-radius: 4px; padding: 0 4px; font-size: 10px; font-weight: 700; }
.cu-bad { background: #b3261e; }
.me-edit { min-height: 0; overflow: auto; }
.me-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--of-mut); padding: 30px; }
.me-empty b { font-size: 17px; color: inherit; }
.me-form { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.me-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.me-head h3 { margin: 0; font-size: 18px; }
.me-prices { max-width: 640px; }
.me-prices td { padding: 4px 8px; }
.me-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.me-chip { display: inline-flex; gap: 4px; align-items: center; background: #eef2ee; border: 1px solid #d3dcd5; border-radius: 14px; padding: 3px 4px 3px 10px; font-size: 13px; }
.me-chip button { border: 0; background: rgba(0, 0, 0, .08); border-radius: 50%; width: 20px; height: 20px; cursor: pointer; line-height: 1; padding: 0; }
.me-codes { display: flex; flex-wrap: wrap; gap: 5px; }
.me-code { border: 1px solid var(--of-line); background: #fff; border-radius: 14px; padding: 3px 10px; font: inherit; font-size: 12.5px; cursor: pointer; color: inherit; }
.me-code.on { background: var(--of-acc); border-color: var(--of-acc); color: #fff; }
.me-tr { display: flex; flex-direction: column; gap: 6px; }
.me-tr > div { display: grid; grid-template-columns: 90px 1fr 2fr; gap: 6px; align-items: center; }
.me-items { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 4px; }
.me-items li { display: flex; gap: 8px; align-items: center; }
.me-items li span { flex: 1; } .me-items small { color: var(--of-mut); }
.me-pls { display: flex; flex-direction: column; gap: 8px; }
.me-pl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border: 1px solid var(--of-line); border-radius: var(--of-r); padding: 8px 10px; background: #fff; }
.me-pl.def { background: #f6f5f1; }
.me-pl.off { opacity: .6; }
.me-days { display: flex; gap: 3px; flex-wrap: wrap; }
.cu-tiles .of-tile b { font-size: 22px; }
.cu-street { position: relative; }
.cu-street .sx-in { width: 100%; }
.cu-hints { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; list-style: none; margin: 2px 0 0; padding: 4px; background: #fff; border: 1px solid var(--of-line); border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.cu-hints li { padding: 5px 8px; cursor: pointer; border-radius: 4px; }
.cu-hints li:hover { background: #f1f4f7; }
.cu-hints small { color: var(--of-mut); }
.sx-in.cu-red { border-color: #e08a83; color: #b3261e; font-weight: 600; background: #fff6f5; }
@media (max-width: 900px) { .me-art, .sx-tables, .sx-split { grid-template-columns: 1fr; } .me-list { max-height: 45vh; } .sx-f.wide { grid-column: auto; } }

/* Datenübernahme (im-) */
.im-kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; border-radius: var(--of-r); }
.im-kinds.over { outline: 3px dashed var(--of-acc); outline-offset: 4px; }
.im-kind { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 12px 14px; border: 1px solid var(--of-line); border-radius: var(--of-r); background: var(--of-card); color: inherit; font: inherit; cursor: pointer; }
.im-kind:hover, .im-kind:focus-visible { border-color: var(--of-acc); box-shadow: inset 0 0 0 1px var(--of-acc); }
.im-kind b { font-size: 15px; }
.im-kind small { color: var(--of-mut); font-size: 12px; line-height: 1.3; }
.im-ic { font-size: 22px; }
.im-busy { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; }
.im-bar { height: 10px; border: 1px solid var(--of-line); border-radius: 6px; overflow: hidden; background: rgba(0, 0, 0, .04); }
.im-bar i { display: block; height: 100%; background: var(--of-acc); transition: width .3s; }
.im-help summary { cursor: pointer; font-weight: 600; font-size: 13.5px; }
.im-help ul { margin: 6px 0; padding-left: 20px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.im-head { padding: 2px 2px 0; }
.im-map tr.off td { color: var(--of-mut); }
.im-map select.sx-in { min-width: 230px; }
.im-ex span { display: inline-block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; background: rgba(0, 0, 0, .05); border-radius: 4px; padding: 0 5px; margin: 0 4px 2px 0; font-size: 12.5px; }
.im-prev td { vertical-align: top; }
.im-prev small { color: var(--of-mut); }
.im-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 16px; }
.im-arch tr.zero td { color: var(--of-mut); }
.im-arch td small { margin-left: 4px; }
.look-classic .im-kind, .look-classic .im-bar { border-radius: 0; }
.look-dos .im-kind, .look-dos .im-bar, .look-dos .im-ex span { border-radius: 0; background: #0000aa; color: #fff; border-color: #55ffff; }
.look-dos .im-kind:hover, .look-dos .im-kind:focus-visible { background: #00aaaa; color: #000; }
.look-dos .im-bar i { background: #55ff55; }

/* RestaurantExpress: grau, eckig, Windows-Knöpfe */
.look-classic .sx-btn { box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #fff; background: #ece9e2; border-color: #a8a49a; }
.look-classic .sx-btn.main, .look-classic .sx-btn.on { background: #0a246a; color: #fff; }
.look-classic .sx-btn.danger { color: #9b1c12; }
.look-classic .sx-in { border-radius: 0; border-color: #808080 #fff #fff #808080; border-width: 2px; padding: 3px 5px; }
.look-classic .sx-mod, .look-classic .sx-brand, .look-classic .sx-radio label, .look-classic .sx-lang, .look-classic .sx-tside, .look-classic .me-pl { border-radius: 0; }
.look-classic .me-list li.on { background: #0a246a; }
.look-classic .sx-sw { border-radius: 2px; } .look-classic .sx-sw i { border-radius: 1px; }

/* DOS: blauer Bildschirm, Textschrift, keine Rundungen */
.look-dos .sx-overlay { position: fixed; inset: 0; z-index: 700; background: #0000aa; color: #fff; display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; font-family: "Px437 IBM VGA 8x16", "Courier New", ui-monospace, monospace; }
.look-dos .sx-overlay-h { display: flex; justify-content: space-between; background: #00aaaa; color: #000; padding: 4px 12px; font-weight: 700; letter-spacing: .5px; font-size: 20px; }
.look-dos .sx-overlay-b { flex: 1; min-height: 0; padding: 10px 14px; overflow: hidden; display: flex; flex-direction: column; }
.look-dos .sx-overlay-f { background: #00aaaa; color: #000; padding: 3px 12px; font-size: 14px; }
.look-dos .of { --of-card: #0000aa; --of-line: #55ffff; --of-mut: #aaaaaa; --of-r: 0; --of-acc: #00aaaa; --of-ink: #fff; font-family: inherit; }
.look-dos .of-tabs button { font-family: inherit; color: #fff; background: #0000aa; border-color: #55ffff; }
.look-dos .of-tabs button.on { background: #aaaaaa; color: #000; border-color: #aaaaaa; }
.look-dos .sx-in, .look-dos .sx-btn, .look-dos .me-code, .look-dos .sx-radio label, .look-dos .sx-mod, .look-dos .sx-lang, .look-dos .sx-brand, .look-dos .sx-tside, .look-dos .me-pl, .look-dos .sx-example, .look-dos .sx-bon, .look-dos .sx-t, .look-dos .sx-floor, .look-dos .cu-hints {
  border-radius: 0; font-family: inherit; background: #0000aa; color: #fff; border-color: #55ffff; box-shadow: none; }
.look-dos .sx-in:focus { background: #00aaaa; color: #000; outline: 0; }
.look-dos .sx-btn.main, .look-dos .sx-btn.on, .look-dos .me-code.on, .look-dos .me-list li.on { background: #aaaaaa; color: #000; border-color: #aaaaaa; }
.look-dos .sx-sw { border-radius: 0; background: #555; } .look-dos .sx-sw.on { background: #55ff55; } .look-dos .sx-sw i { border-radius: 0; }
.look-dos .sx-tag, .look-dos .sx-chip, .look-dos .me-chip { border-radius: 0; background: #00aaaa; color: #000; border: 0; }
.look-dos .sx-l, .look-dos .sx-card-h h3, .look-dos .sx-sub { color: #ffff55; }
.look-dos .of-table th { color: #ffff55; border-color: #55ffff; }
.look-dos .of-table td { border-color: #5555ff; }
.look-dos .of-table tr.dirty td { background: #000080; }
.look-dos .sx-save.sticky, .look-dos .sx-note, .look-dos .sx-mod.lock, .look-dos .me-pl.def { background: #000080; }
.look-dos .sx-floor { background: #000080; }
.look-dos .of-tile { background: #0000aa; border-color: #55ffff; border-radius: 0; }
.look-dos .sx-red, .look-dos .sx-warn { color: #ff5555; } .look-dos .sx-ok { color: #55ff55; }

/* Gutscheine (lo-) */
.lo-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 1000px) { .lo-top { grid-template-columns: 1fr; } }
.lo-amounts { display: flex; gap: 6px; flex-wrap: wrap; }
.lo-amounts .sx-btn { min-width: 64px; justify-content: center; font-weight: 600; }
.lo-last { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: rgba(31, 111, 67, .08); border-radius: calc(var(--of-r) / 2); padding: 6px 10px; }
.lo-check { display: flex; gap: 8px; }
.lo-code { flex: 1; font-size: 20px !important; letter-spacing: 2px; text-transform: uppercase; }
.lo-card { border: 1px solid var(--of-line); border-left: 6px solid var(--sx-ok); border-radius: calc(var(--of-r) / 2); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.lo-card.bad { border-left-color: var(--sx-red); }
.lo-card-h { display: flex; align-items: baseline; gap: 8px; font-size: 18px; }
.lo-bal { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lo .of-table tbody tr { cursor: pointer; }
.lo-preview { align-self: center; max-width: 340px; background: #fff; color: #000; border: 1px solid var(--of-line); padding: 10px; }
.look-dos .lo-card { border-color: #55ffff; } .look-dos .lo-last { background: #000080; }
.look-dos .lo-preview { background: #fff; color: #000; }

/* Auswertung (st-) */
.st-page { padding: 0 2px 16px; }
.st-tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.st-tile b { font-size: 26px; font-variant-numeric: tabular-nums; }
.st-d { font-size: 12px; color: var(--of-mut); }
.st-d.good::first-letter { color: #1d6b38; } .st-d.bad::first-letter { color: #b3261e; }
.st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.st-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .st-grid, .st-grid.three { grid-template-columns: 1fr; } }
.st-card h4 { margin: 12px 0 4px; font-size: 12.5px; color: var(--of-mut); font-weight: 600; }
.st-bars { display: flex; flex-direction: column; gap: 4px; }
.st-bar { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto auto; gap: 8px; align-items: center; font-size: 13px; }
.st-bar .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-bar .track { height: 10px; background: rgba(0, 0, 0, .05); border-radius: 0 4px 4px 0; overflow: hidden; }
.st-bar .track i { display: block; height: 100%; background: #2a78d6; border-radius: 0 4px 4px 0; }
.st-bar .v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; min-width: 70px; }
.st-bar .x { color: var(--of-mut); font-size: 12px; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.st-heat { display: grid; grid-template-columns: 28px repeat(var(--cols), minmax(14px, 1fr)); gap: 2px; font-size: 11px; color: var(--of-mut); }
.st-heat .hh { text-align: center; }
.st-heat .wd { align-self: center; font-weight: 600; }
.st-heat .c { height: 24px; border-radius: 3px; background: rgba(42, 120, 214, var(--a)); outline: 1px solid rgba(0, 0, 0, .04); }
.st-heat .c.on, .st-heat .c:focus { outline: 2px solid #0b0b0b; }
.st-heat-i { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; color: var(--of-ink); }
.st-foot { margin: 0; }
.look-dos .st-bar .track { background: #000080; } .look-dos .st-bar .track i { background: #55ffff; border-radius: 0; }
.look-dos .st-heat .c { background: rgba(85, 255, 255, var(--a)); border-radius: 0; outline-color: #5555ff; }
.look-dos .st-heat-i { color: #fff; }
.look-dos .of-date, .look-dos .of .of-in, .look-dos .of .of-num, .look-dos .of select { background: #0000aa; color: #fff; border-color: #55ffff; border-radius: 0; color-scheme: dark; }
.look-dos .of-date:focus, .look-dos .of .of-in:focus { background: #00aaaa; color: #000; outline: 0; }
.look-classic .st-bar .track i { background: #0a246a; border-radius: 0; }
.look-classic .st-heat .c { background: rgba(10, 36, 106, var(--a)); border-radius: 0; }
