.cash-register-page{display:grid;gap:20px;--line:color-mix(in srgb,var(--text) 18%,transparent);--surface-soft:color-mix(in srgb,var(--surface) 95%,var(--text));--green:var(--accent)}
.cash-register-intro{display:flex;justify-content:space-between;align-items:center;gap:12px}.cash-register-intro h1{margin:0}.cash-register-intro p{margin:.4rem 0}.cash-register-intro-actions,.cash-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.cash-register-intro form{margin:0}.cash-actions{margin-top:16px}
.cash-register-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:20px;align-items:stretch}.cash-register-catalog,.cash-register-cart{background:var(--surface-soft);border-radius:16px;padding:16px;min-width:0}.cash-register-browser-head{margin-bottom:12px}.cash-register-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cash-register-breadcrumb{background:var(--surface);color:var(--text);font-size:.9rem;padding:6px 9px}.cash-register-breadcrumbs svg{width:14px;height:14px}.cash-register-browser-head h2{margin:12px 0}
.cash-register-tile-grid{display:grid;gap:12px}.cash-register-category-grid,.cash-register-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cash-register-category-tile,.cash-register-product-tile{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:12px;min-height:110px;display:flex;flex-direction:column;gap:6px;align-items:start;text-align:left;position:relative;overflow-wrap:anywhere}.cash-register-category-tile{min-height:70px;flex-direction:row;align-items:center}.cash-register-product-tile:hover,.cash-register-category-tile:hover{filter:brightness(.95)}.cash-register-product-tile strong{font-size:1rem}.cash-register-product-price{font-weight:600}.cash-register-product-quantity{position:absolute;right:6px;top:6px;background:var(--accent);color:var(--button-text);padding:2px 5px;border-radius:8px;font-size:.8rem}.has-custom-color{background:var(--cash-tile-color);color:var(--cash-tile-text-color)}
.cash-register-page svg{fill:currentColor}.cash-register-category-tile svg,.cash-register-product-tile svg{height:28px;width:28px}.cash-register-cart{display:flex;flex-direction:column;gap:12px}.cash-register-cart-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cash-register-cart-head h2{margin:0}.cash-register-cart-head button{padding:6px 10px}.eyebrow{font-size:.8rem;color:var(--muted)}.cash-register-cart-empty,.cash-register-empty{display:grid;gap:8px;padding:20px;text-align:center}.cash-register-cart-lines{flex:1;min-height:60px;max-height:60vh;overflow:auto;overscroll-behavior:contain}.cash-register-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.cash-register-cart-product{display:flex;gap:8px;align-items:center;min-width:0}.cash-register-cart-product-text{display:grid;overflow-wrap:anywhere}.cash-register-cart-product small{color:var(--muted)}.cash-register-quantity-controls{display:flex;gap:4px;grid-column:1}.cash-register-quantity-controls button,.cash-register-line-remove{width:32px;height:32px;min-height:32px;padding:4px}.cash-register-quantity-controls input{width:50px;height:32px;padding:4px;text-align:center}.cash-register-line-remove{grid-column:2}.cash-register-line-total{font-weight:600}.cash-register-grand-total{display:flex;justify-content:space-between;font-size:1.3rem;gap:8px}.cash-register-checkout-actions{display:grid;gap:8px}.cash-register-action-error,.cash-register-checkout-error{padding:8px;color:var(--text);background:var(--surface);border:2px solid #b53c30;border-radius:8px}
.cash-register-selection-grid,.cash-stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:16px}.cash-register-selection-card{display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:16px;background:color-mix(in srgb,var(--surface) 92%,var(--text));color:var(--text);text-decoration:none}.cash-start-card{max-width:700px;padding:24px;border-radius:16px;background:color-mix(in srgb,var(--surface) 95%,var(--text))}.cash-start-card label,.cash-edit-form label:not(.check){display:block;margin-top:12px}.cash-start-card input{width:100%}.cash-edit-form{max-width:850px}.cash-edit-form .settings-card{padding:20px;margin:0 0 20px}.cash-edit-form input:not([type=checkbox]),.cash-edit-form select{max-width:500px;width:100%}.cash-admin-table{width:100%}.cash-admin-table small{display:block}.cash-admin-table td svg{margin-right:8px;vertical-align:middle}.cash-admin-table .icon-button{width:32px;height:32px;min-height:32px;padding:6px;display:inline-flex}.cash-stats-filter{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:20px}.cash-stats-filter select{max-width:100%}.cash-stat-cards .settings-card{padding:18px}.cash-stat-cards h2{font-size:1rem}.cash-stat-cards strong{font-size:1.4rem}.cash-table-scroll{overflow:auto}.cash-table-scroll table{width:100%}.cash-table-scroll th,.cash-table-scroll td{padding:10px;text-align:left}
html body dialog.cash-register-checkout-dialog,html body dialog.cash-register-confirm-overlay{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;overflow:auto;overscroll-behavior:contain;background:var(--surface);color:var(--text);border:0;border-radius:16px}html body dialog.cash-register-checkout-dialog header{position:static;display:flex;justify-content:space-between;gap:12px;background:none;padding:0;box-shadow:none}html body dialog.cash-register-checkout-dialog header button{width:32px;height:32px;padding:5px}html body dialog.cash-register-checkout-dialog h2{margin:0}.cash-register-checkout-content{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.cash-register-tender-field{grid-column:1}.cash-register-tender-field input{width:150px}.cash-register-money-shortcuts{grid-column:1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.cash-register-keypad{grid-column:2;grid-row:1/span 3;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cash-register-keypad button{min-height:44px}.cash-register-change{grid-column:1;display:grid;gap:6px;font-size:1.2rem}.cash-register-change strong{font-size:1.8rem}.cash-register-checkout-error{grid-column:1/-1}html body dialog.cash-register-checkout-dialog footer{display:flex;flex-direction:row;justify-content:space-between;gap:12px;padding:0;margin:0;background:none}.cash-register-confirm-actions{display:flex;flex-wrap:wrap;gap:12px}.cash-register-confirm-panel{display:grid;gap:12px}.cash-register-confirm-panel h2{margin:0}
html[data-cash-register-mode=focus] body>header,html[data-cash-register-mode=focus] body>footer,html[data-cash-register-mode=focus] .admin-bar,html[data-cash-register-mode=focus] .site-tools{display:none!important}html[data-cash-register-mode=focus] body{padding:0}html[data-cash-register-mode=focus] #content{max-width:none;width:100%;margin:0;padding:12px;min-height:100dvh}html[data-cash-register-mode=focus] .cash-register-cart-lines{max-height:calc(100dvh - 350px)}
@media(max-width:1000px){.cash-register-layout{grid-template-columns:minmax(0,1fr) 310px;gap:10px}.cash-register-category-grid,.cash-register-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cash-register-catalog,.cash-register-cart{padding:10px}}
@media(max-width:700px){.cash-register-layout{grid-template-columns:1fr}.cash-register-category-grid,.cash-register-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-register-intro{align-items:start;flex-direction:column}.cash-register-cart-lines{max-height:40vh}.cash-register-checkout-content{grid-template-columns:1fr}.cash-register-keypad{grid-column:1;grid-row:auto}.cash-register-checkout-dialog footer{flex-wrap:wrap}.cash-admin-table{font-size:.85rem}.cash-admin-table th,.cash-admin-table td{padding:6px}}
.cash-register-page [hidden],dialog [hidden]{display:none!important}
.cash-register-page button.cash-register-category-tile,.cash-register-page button.cash-register-product-tile,.cash-register-page button.cash-register-breadcrumb{color:var(--text)}.cash-register-page button.has-custom-color{color:var(--cash-tile-text-color)}html body dialog.cash-register-checkout-dialog footer button:not(.secondary){background:var(--accent);color:var(--button-text);padding:10px 16px;border:1px solid var(--accent)}.cash-register-page .cash-register-tile-grid:empty{display:none}.cash-register-cart-line>strong{grid-column:2;grid-row:1;align-self:center}.cash-register-quantity-controls{grid-row:2}.cash-register-line-remove{grid-row:2}
html[data-cash-register-mode=focus] .public-admin-bar,html[data-cash-register-mode=focus] .theme-toggle,html[data-cash-register-mode=focus] .cookie-settings-toggle,html[data-cash-register-mode=focus] .accessibility-toggle{display:none!important}html[data-cash-register-mode=focus] .cash-register-intro h1{font-size:1.6rem}html[data-cash-register-mode=focus] .cash-register-intro .eyebrow{display:none}html[data-cash-register-mode=focus] .cash-register-intro form button{padding:5px 10px;min-height:32px;margin:0}html[data-cash-register-mode=focus] .cash-register-intro p{font-size:.9rem}.cash-register-cart-line .cash-register-quantity-controls button svg,.cash-register-line-remove svg{width:16px;height:16px}
@media(min-width:701px){html[data-cash-register-mode=focus],html[data-cash-register-mode=focus] body{height:100%;overflow:hidden}html[data-cash-register-mode=focus] #content{height:100dvh;min-height:0;overflow:hidden}html[data-cash-register-mode=focus] .cash-register-page{height:100%;min-height:0;grid-template-rows:auto minmax(0,1fr);gap:12px}html[data-cash-register-mode=focus] .cash-register-layout{min-height:0}html[data-cash-register-mode=focus] .cash-register-catalog{overflow:auto;overscroll-behavior:contain}html[data-cash-register-mode=focus] .cash-register-cart{min-height:0;overflow:auto}html[data-cash-register-mode=focus] .cash-register-cart-lines{min-height:0;max-height:none;flex:1}}
html body dialog.cash-register-checkout-dialog,html body dialog.cash-register-confirm-overlay{max-width:min(760px,calc(100vw - 32px))}.cash-register-checkout-dialog svg,.cash-register-confirm-overlay svg{fill:currentColor}.cash-register-money-shortcuts button{white-space:nowrap;padding:8px 12px}.cash-register-cart-head .cash-register-reset{white-space:nowrap}.cash-register-category-tile{overflow-wrap:normal}
@media(max-width:700px){.cash-register-category-tile{flex-direction:column;align-items:start;font-size:.95rem;gap:5px}.cash-register-category-tile svg{width:24px;height:24px}}

/* Kassenlisten: gleiche Buttonhöhe und verlässlicher Abstand statt Inline-Baselines. */
.cash-list-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:20px}.cash-list-heading h1{margin:0}.cash-list-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px}.admin-main .cash-list-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;line-height:20px;padding:11px 16px;margin:0;box-sizing:border-box}.admin-main .cash-list-actions .button.secondary{background:transparent;color:var(--accent)}.cash-list-actions .icon{width:18px;height:18px;flex-shrink:0}@media(max-width:700px){.cash-list-heading{align-items:flex-start}.cash-list-actions{max-width:100%}.admin-main .cash-list-actions .button{max-width:100%;white-space:normal;text-align:center}}

.cash-list-empty{display:grid;justify-items:center;gap:10px;padding:36px 24px;text-align:center}.cash-list-empty svg{width:32px;height:32px;fill:currentColor;color:var(--muted)}.cash-list-empty h2{margin:0;font-size:1.15rem}.cash-list-empty p{margin:0;color:var(--muted);max-width:480px}
