/* Aussehen „RestaurantExpress“ – nachgebaut nach dem alten Programm (Windows-Grau, Fenster, Funktionstastenleiste) */
.look-classic { background: #9c9c96; font-family: "Segoe UI", Tahoma, Verdana, system-ui, sans-serif; font-size: 13.5px;
  --dlg-bg: #ece9e2; --dlg-radius: 2px; --dlg-border: 1px solid #6d6d6d; --dlg-tbg: linear-gradient(#f4f3ef, #dcd9d0); --dlg-tpad: 7px 10px; --dlg-line: #b8b4aa; --dlg-line2: #8f8b82;
  --dlg-iradius: 0; --dlg-sel: #0a246a; --dlg-selfg: #fff; --dlg-cur: #dfe6f7; --dlg-th: #e2dfd6; --dlg-item: #fff; --dlg-hover: #e4e1d8; }
.look-classic .btn { border-radius: 0; border: 1px solid #6f6f6f; background: linear-gradient(#fbfbf9, #e3e0d8); box-shadow: inset 1px 1px 0 #fff; padding: 5px 14px; }
.look-classic .btn:hover { background: linear-gradient(#fff, #ecebe5); }
.look-classic .btn.primary { color: #000; font-weight: 700; border: 2px solid #3c3c3c; background: linear-gradient(#fbfbf9, #e3e0d8); }
.look-classic .btn.on { background: #fff; border: 2px solid #333; font-weight: 700; box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .25); }
.look-classic input, .look-classic select { border: 1px solid #7f9db9; border-radius: 0; background: #fff; padding: 4px 6px; height: 26px; }
.look-classic input:focus, .look-classic select:focus { outline: 2px solid #f0c64c; outline-offset: -1px; background: #fffbe0; }
.look-classic .dlg { box-shadow: 4px 4px 0 rgba(0, 0, 0, .35); }
.look-classic .dlg-title { font-style: italic; justify-content: center; position: relative; }
.look-classic .dlg-x { position: absolute; right: 4px; top: 3px; border: 1px solid #6f6f6f; background: linear-gradient(#fbfbf9, #e3e0d8); font-size: 15px; padding: 0 6px; }
.look-classic .dlg-input { border-radius: 0; }
.look-classic .opt-col, .look-classic .split-part, .look-classic .tbl-wrap { border-radius: 0; background: #fff; }
.look-classic .split-n { border-radius: 0; }

.c-app { height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.c-title { display: flex; justify-content: space-between; align-items: center; padding: 3px 8px; background: #f2f2f0; border-bottom: 1px solid #c9c9c4; color: #222; }
.c-title-r { display: flex; gap: 14px; align-items: center; }
.tse { padding: 0 10px; color: #fff; font-size: 12px; font-weight: 600; }
.tse.ok { background: #2e7d32; }
.tse.test { background: #d4a20d; color: #000; }
.tse.off { background: #b71c1c; }
.c-menubar { display: flex; align-items: center; gap: 2px; padding: 0 4px; background: #fbfbfa; border-bottom: 2px solid #9a9a95; position: relative; z-index: 50; }
.c-menu { position: relative; }
.c-menu > span { display: block; padding: 4px 10px; cursor: default; }
.c-menu > span:hover, .c-menu.open > span { background: #316ac5; color: #fff; }
.c-drop { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid #7a7a7a; box-shadow: 3px 3px 0 rgba(0, 0, 0, .25); padding: 2px; }
.c-item { display: flex; justify-content: space-between; gap: 18px; padding: 5px 12px; cursor: default; }
.c-item:hover { background: #316ac5; color: #fff; }
.c-item kbd { border: 0; background: transparent; color: inherit; font-weight: 400; }
.c-brandname { margin-left: auto; color: #1f8b3a; font-style: italic; font-weight: 700; font-size: 16px; padding-right: 8px; }
.c-welcome { display: flex; justify-content: space-between; margin: 3px 4px; padding: 5px 9px; background: #ffffea; border: 1px solid #a8a89a; }
.c-legend { display: flex; gap: 14px; align-items: center; padding: 4px 8px; background: #e9e9e6; border-bottom: 1px solid #c2c2bc; }
.c-legend .lg { display: inline-flex; align-items: center; gap: 5px; }
.c-legend .lg i { width: 12px; height: 12px; border: 1px solid #555; display: inline-block; background: var(--c); }
.c-done { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; }
.c-done input { height: auto; }
.st-offen { --c: #f7e967; } .st-spaet { --c: #f2564a; } .st-unterwegs { --c: #6ccf6a; } .st-erledigt { --c: #d7f0d0; } .st-storno { --c: #a7a7a7; } .st-online { --c: #ffd08a; } .st-fertig { --c: #9fd3f7; }
.c-onlinebar { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: #ffd9a3; border-bottom: 2px solid #e8913a; }
.c-main { flex: 1; display: grid; grid-template-columns: 132px 1fr 220px; min-height: 0; }
.c-side { margin: 6px 4px; background: #d6d4cf; border: 1px solid #a5a39c; padding: 4px 4px 8px; display: flex; flex-direction: column; gap: 4px; align-self: start; }
.c-side-h { text-align: center; font-style: italic; font-weight: 700; color: #555; padding: 2px 0 4px; border-bottom: 1px solid #b0aea7; }
.c-side-b { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border: 1px solid #7a7a7a; background: linear-gradient(#fbfbf9, #e3e0d8); cursor: pointer; text-align: left; }
.c-side-b i { font-style: normal; width: 18px; font-size: 11px; opacity: .65; }
.c-side-b:hover { background: #fff; }
.c-board { padding: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; overflow: auto; }
.c-board-empty { padding: 30px; color: #e8e8e4; font-size: 18px; }
.c-tile { width: 188px; min-height: 82px; background: var(--c); border: 2px solid #fff; outline: 1px solid #555; box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); padding: 5px 7px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; border-left: 6px solid var(--brand, #fff); }
.c-tile.sel { outline: 3px solid #0a246a; }
.c-tile-h { display: flex; justify-content: space-between; gap: 6px; font-weight: 700; }
.c-tile-n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-tile-a { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-tile-f { margin-top: auto; display: flex; justify-content: space-between; font-size: 12.5px; }
.c-help { background: #f4f4f2; border-left: 1px solid #b5b5ae; overflow: auto; font-size: 12.5px; }
.c-help-h { background: #dedcd5; padding: 4px 6px; font-weight: 700; }
.c-help-g { display: flex; flex-direction: column; padding: 6px 8px; border-bottom: 1px solid #ddd; color: #555; }
.c-help-g b { color: #0a3d91; }
.c-help-g a { cursor: pointer; color: #555; text-decoration: underline; }
.c-help-g a.on { font-weight: 700; color: #000; text-decoration: none; }
.c-fkeys { display: flex; gap: 4px; padding: 3px 4px; background: #e2e0da; border-top: 1px solid #a5a39c; overflow: hidden; white-space: nowrap; }
.c-fkeys span { border: 1px solid #8a8a85; background: #fff; padding: 1px 7px; }
.c-call { position: fixed; right: 230px; top: 92px; width: 300px; background: #fffbe6; border: 2px solid var(--brand, #c0392b); box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); z-index: 60; padding: 0 0 8px; animation: c-ring .9s ease-in-out 3; }
.c-call-h { background: var(--brand, #c0392b); color: #fff; padding: 4px 8px; }
.c-call > div { padding: 2px 10px; }
.c-call-n { font-size: 22px; font-weight: 700; }
.c-call-b { display: flex; gap: 6px; margin-top: 6px; }
@keyframes c-ring { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* Auftragsfenster */
.c-win-back { position: fixed; inset: 0; z-index: 100; background: rgba(60, 60, 55, .35); display: grid; place-items: center; padding: 8px; }
.c-win { width: min(1220px, 99vw); height: min(760px, 98vh); background: #ece9e2; border: 1px solid #555; box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); display: flex; flex-direction: column; }
.c-win-t { position: relative; text-align: center; font-style: italic; font-weight: 700; padding: 6px; background: linear-gradient(#f4f3ef, #dcd9d0); border-bottom: 1px solid #9a968c; border-top: 4px solid var(--brand, transparent); }
.c-win-t .dlg-x { position: absolute; right: 4px; top: 5px; border: 1px solid #6f6f6f; background: linear-gradient(#fbfbf9, #e3e0d8); font-size: 15px; padding: 0 6px; font-style: normal; }
.c-win-brand { color: var(--brand); font-style: normal; }
.c-win-body { flex: 1; display: grid; grid-template-columns: 370px 1fr; gap: 10px; padding: 8px 10px 10px; min-height: 0; }
.c-left { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.c-box { border: 1px solid #a7a39a; padding: 2px 8px 8px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.c-box legend { padding: 0 4px; }
.c-row { display: flex; gap: 8px; align-items: flex-end; }
.c-f { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; }
.c-f input { width: 100%; }
.c-f.grow { flex: 1; } .c-f.w25 { width: 25%; } .c-f.w20 { width: 22%; }
.c-f input.phone { background: #fffbb8; font-weight: 600; }
.c-panik { height: 28px; }
.c-hint { background: #fffbd0; border: 1px solid #c9c19a; padding: 7px 9px; font-size: 13px; }
.c-streets, .c-history { flex: 1; min-height: 0; overflow: auto; background: #fff; border: 1px solid #8f8b82; }
.c-streets-h { background: #e2dfd6; padding: 3px 6px; font-size: 12px; color: #444; }
.c-street { padding: 3px 7px; cursor: pointer; }
.c-street.sel { background: #0a246a; color: #fff; }
.c-hist { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px; padding: 5px 7px; border-bottom: 1px solid #eee; cursor: pointer; font-size: 12.5px; align-items: center; }
.c-hist:hover { background: #dfe6f7; }
.c-hist .sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-right { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.c-types { align-items: center; }
.c-types .btn { padding: 5px 14px; }
.c-brands { display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; }
.c-brand { border: 2px solid var(--bc); background: #fff; color: var(--bc); font-weight: 700; padding: 3px 10px; cursor: pointer; }
.c-brand.on { background: var(--bc); color: #fff; }
.c-inl { display: inline-flex; align-items: center; gap: 6px; }
.c-inl .w4 { width: 54px; text-align: right; } .c-inl .w5 { width: 64px; }
.c-kd { margin-left: auto; color: #555; }
.c-mid { height: 28px; }
.c-list { flex: 1; min-height: 120px; overflow: auto; background: #fff; border: 1px solid #8f8b82; }
.c-list table { width: 100%; border-collapse: collapse; }
.c-list th { position: sticky; top: 0; background: linear-gradient(#f8f7f3, #e2dfd6); border: 1px solid #b8b4aa; border-top: 0; font-weight: 400; text-align: left; padding: 3px 6px; }
.c-list th.r { text-align: right; }
.c-list td { padding: 2px 6px; }
.c-list tr.main td { border-top: 1px solid #e4e2dc; padding-top: 4px; }
.c-list tr.sub td { font-size: 12.5px; color: #333; }
.c-list tr.sub.k-ohne td { color: #b03a2e; font-weight: 600; }
.c-list tr.sub.k-teil td { font-weight: 600; color: #0a246a; }
.c-list tr.sel td { background: #dfe6f7; }
.c-list tr.main.focus td { background: #0a246a; color: #fff; }
.c-note { color: #7a5b00; font-weight: 400; }
.c-list-empty { padding: 20px; color: #888; text-align: center; }
.c-sums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.c-sum { background: #fff; border: 1px solid #8f8b82; padding: 4px 8px; display: flex; flex-direction: column; }
.c-sum small { color: #666; font-size: 11.5px; }
.c-sum span { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; }
.c-sum.total span { color: #c62828; font-weight: 700; font-size: 22px; }
.c-sum.total small { color: #6c9e2e; font-weight: 700; }
.c-zone { font-size: 12.5px; color: #555; min-height: 17px; }
.c-ordernote { width: 100%; }
.c-btns { display: flex; gap: 8px; align-items: center; }
.c-btns .btn { padding: 6px 14px; }
.c-tile.cur { box-shadow: 3px 3px 0 rgba(0, 0, 0, .3), inset 0 0 0 2px #0a246a; }
.c-drv { font-weight: 700; padding: 0 5px; border-left: 4px solid var(--dc); background: rgba(255, 255, 255, .55); }
.c-selcount { margin-left: auto; background: #0a246a !important; color: #fff; font-weight: 700; }
.c-onlinebar .pt-ring { font-size: 18px; display: inline-block; }
.c-onlinebar .btn { gap: 6px; }
.c-onlinehint { color: #7a4a10; font-size: 12px; margin-left: auto; }
.c-tile-f .pt-badge { font-size: 9.5px; padding: 0 5px; vertical-align: 1px; }
.look-classic .btn.danger { color: #fff; background: linear-gradient(#c8402f, #a3271b); border-color: #6d1a12; }
.look-classic .pt-min button { border-radius: 0; background: linear-gradient(#fbfbf9, #e3e0d8); border-color: #6f6f6f; }
.look-classic .pt-min button.on { background: #1d2329; color: #fff; }
.c-bonus { cursor: pointer; background: #fff3c4; border: 1px solid #c9a227; padding: 0 6px; }
.c-bonus.on { background: #0a246a; color: #fff; border-color: #0a246a; }
.c-resbar { background: #d9f2ea; border-bottom-color: #16a085; cursor: pointer; }
