:root{
  --primary:#4CAF50;
  --primary-dark:#3f9144;
  --secondary:#2196F3;
  --danger:#ff6b6b;
  --warning:#FF9800;
  --purple:#9C27B0;
  --gray:#607D8B;
  --text:#1f2933;
  --muted:#64748b;
  --light:#eef2f6;
  --border:#b7c0cb;
  --card:#fff;
  --shadow:0 1px 3px rgba(0,0,0,.14);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Arial,sans-serif;color:var(--text);background:var(--light)}
button,input,select{font:inherit}
button{touch-action:manipulation}
.app-shell{min-height:100vh}
.topbar{min-height:78px;background:#fff;border-bottom:1px solid #d7dde5;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:10px 18px;position:sticky;top:0;z-index:20;box-shadow:var(--shadow)}
.brand-block{display:flex;align-items:center;gap:10px;min-width:190px}.brand-mark{width:44px;height:44px;border-radius:8px;background:var(--primary);color:white;display:grid;place-items:center;font-weight:800;font-size:24px}.brand-title{font-weight:800;font-size:20px}.brand-subtitle{font-size:12px;color:var(--muted);margin-top:2px}
.main-nav{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.nav-btn,.admin-tab{border:1px solid transparent;background:#f1f4f7;color:#334155;border-radius:4px;padding:11px 16px;font-weight:700;cursor:pointer;min-height:44px}.nav-btn.active,.admin-tab.active{background:var(--secondary);color:white}
.header-total{background:#e7f4e4;border:1px solid #b8ddb8;border-radius:6px;padding:8px 14px;text-align:right;min-width:128px}.header-total span{display:block;color:#47614a;font-size:11px;text-transform:uppercase;font-weight:700}.header-total strong{font-size:22px;color:#17212b}.header-total.hidden{visibility:hidden}
main{padding:14px}.view{display:none}.view.active{display:block}
.cash-layout{display:grid;grid-template-columns:118px minmax(360px,1fr) 300px;gap:12px;min-height:calc(100vh - 106px)}
.category-rail,.product-panel,.cart-panel,.page-card,.admin-nav{background:#fff;border:1px solid #d7dde5;border-radius:8px;box-shadow:var(--shadow)}
.category-rail{padding:10px;display:flex;flex-direction:column}.rail-title{font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:800;margin:4px 4px 10px}.category-buttons{display:flex;flex-direction:column;gap:8px}.category-btn{border:1px solid #cbd5e1;background:#f8fafc;border-radius:6px;min-height:66px;padding:8px 4px;font-weight:800;color:#334155;cursor:pointer;line-height:1.1}.category-btn.active{background:var(--secondary);border-color:var(--secondary);color:#fff}.category-btn.deposit{border-left:5px solid var(--warning)}
.product-panel{padding:14px;min-width:0;display:flex;flex-direction:column}.section-head,.page-title-row,.cart-head,.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-head{margin-bottom:12px}.section-head h1,.page-card h1{margin:0;font-size:24px}.section-head p,.help-text{margin:4px 0 0;color:var(--muted);font-size:13px}.soft-btn,.secondary-action,.danger-action,.primary-small{border-radius:4px;min-height:42px;padding:9px 13px;font-weight:700;cursor:pointer}.soft-btn{background:#f1f4f7;border:1px solid #cbd5e1;color:#334155}.secondary-action{background:var(--secondary);border:1px solid var(--secondary);color:#fff}.danger-action{background:#fff0f0;border:1px solid #ffc4c4;color:#b91c1c}.primary-small{background:var(--primary);border:1px solid var(--primary);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;align-content:start;flex:1}.product-btn{border:none;border-radius:8px;min-height:116px;padding:12px;box-shadow:0 2px 4px rgba(0,0,0,.13);cursor:pointer;color:#fff;text-align:left;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.product-btn:active{transform:translateY(1px)}.product-btn.green{background:#4CAF50}.product-btn.blue{background:#2196F3}.product-btn.orange{background:#FF9800}.product-btn.red{background:#ef5350}.product-btn.purple{background:#9C27B0}.product-btn.gray{background:#607D8B}.product-name{font-weight:800;font-size:17px;line-height:1.15}.product-price{font-size:24px;font-weight:800}.product-qty-badge{position:absolute;right:8px;top:8px;background:rgba(255,255,255,.95);color:#1f2933;min-width:28px;height:28px;padding:0 7px;border-radius:14px;display:grid;place-items:center;font-weight:800}
.fixed-deposit-bar{position:sticky;bottom:0;margin-top:14px;padding-top:10px;background:linear-gradient(to top,#fff 82%,rgba(255,255,255,.88));display:grid;grid-template-columns:1fr 1fr;gap:10px;z-index:8}.fixed-deposit-btn{min-height:78px;border:0;border-radius:8px;color:#fff;font-weight:800;font-size:22px;cursor:pointer;box-shadow:0 2px 5px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:space-between;padding:12px 18px}.fixed-deposit-btn.minus{background:#ef5350}.fixed-deposit-btn.plus{background:#4CAF50}.fixed-deposit-btn small{font-size:15px;opacity:.95}.fixed-deposit-btn:active{transform:translateY(1px)}
.deposit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.deposit-btn{min-height:150px;border:0;border-radius:8px;color:#fff;font-size:25px;font-weight:800;cursor:pointer;box-shadow:0 2px 4px rgba(0,0,0,.15)}.deposit-btn.minus{background:#ef5350}.deposit-btn.plus{background:#4CAF50}.deposit-btn small{display:block;font-size:15px;margin-top:8px;opacity:.9}
.cart-panel{display:flex;flex-direction:column;overflow:hidden}.cart-head{padding:14px;border-bottom:1px solid #e2e8f0}.eyebrow{display:block;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:800;margin-bottom:4px}.cart-head strong{font-size:15px}.icon-btn{width:42px;height:42px;border-radius:50%;font-weight:800;cursor:pointer}.icon-btn.danger{background:#fff0f0;border:1px solid #ffc4c4;color:#b91c1c}.cart-lines{padding:8px 12px;overflow:auto;flex:1;min-height:220px}.empty-state{display:grid;place-items:center;text-align:center;color:#94a3b8;font-size:14px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:6px;padding:10px 0;border-bottom:1px solid #edf1f5}.cart-line:last-child{border-bottom:0}.cart-line-title{font-weight:700}.cart-line-meta{font-size:12px;color:var(--muted);margin-top:3px}.cart-line-total{font-weight:800;white-space:nowrap}.cart-footer{padding:14px;border-top:1px solid #e2e8f0;background:#fafafa}.total-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.total-row span{font-size:14px;color:var(--muted)}.total-row strong{font-size:28px}.primary-action{width:100%;border:0;border-radius:6px;background:var(--primary);color:white;font-weight:800;font-size:19px;min-height:54px;cursor:pointer}.primary-action:disabled{background:#c7d1db;cursor:not-allowed}
.page-card{padding:18px;max-width:1200px;margin:0 auto}.page-title-row{margin-bottom:16px}.action-row{display:flex;gap:8px;flex-wrap:wrap}.receipt-list,.admin-list{display:flex;flex-direction:column;gap:8px}.receipt-row,.admin-row{background:#fafafa;border:1px solid #dfe5ec;border-radius:6px;padding:12px;display:grid;align-items:center;gap:10px}.receipt-row{grid-template-columns:90px 1fr 110px 110px}.receipt-number{font-weight:800;color:#334155}.receipt-items{color:var(--muted);font-size:13px;margin-top:4px}.receipt-total{font-size:18px;font-weight:800;text-align:right}.receipt-time{font-size:13px;color:var(--muted);text-align:right}.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.stat-card{background:#f8fafc;border:1px solid #dce3ea;border-radius:6px;padding:14px}.stat-card span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;font-weight:800}.stat-card strong{display:block;font-size:25px;margin-top:4px}.table-wrap{overflow:auto;border:1px solid #dce3ea;border-radius:6px}table{width:100%;border-collapse:collapse;background:white}th,td{padding:12px 10px;border-bottom:1px solid #e8edf2;text-align:left}th{background:#f1f4f7;color:#475569;font-size:12px;text-transform:uppercase}td:last-child,th:last-child{text-align:right}
.admin-layout{display:grid;grid-template-columns:180px 1fr;gap:12px;max-width:1200px;margin:0 auto}.admin-nav{padding:10px;height:max-content;display:flex;flex-direction:column;gap:6px}.admin-pane{display:none}.admin-pane.active{display:block}.admin-row{grid-template-columns:42px 1.4fr 1fr 100px 160px}.color-dot{width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.color-dot.green{background:#4CAF50}.color-dot.blue{background:#2196F3}.color-dot.orange{background:#FF9800}.color-dot.red{background:#ef5350}.color-dot.purple{background:#9C27B0}.color-dot.gray{background:#607D8B}.row-main{font-weight:800}.row-sub{font-size:12px;color:var(--muted);margin-top:3px}.row-actions{display:flex;gap:6px;justify-content:flex-end}.mini-btn{border:1px solid #cbd5e1;background:white;border-radius:4px;padding:7px 9px;cursor:pointer}.mini-btn.danger{color:#b91c1c;border-color:#fecaca}.status-pill{font-size:12px;font-weight:800;border-radius:12px;padding:5px 8px;display:inline-block;text-align:center}.status-pill.on{background:#e7f4e4;color:#2e7d32}.status-pill.off{background:#eceff1;color:#607D8B}.narrow-card{max-width:650px;margin:0}.field-label{display:block;font-weight:700;margin:16px 0 0}.field-label input,.field-label select,select.field{display:block;width:100%;margin-top:7px;border:1px solid #b7c0cb;border-radius:4px;padding:12px;background:white;min-height:46px}.toggle-row{margin-top:16px;border:1px solid #dce3ea;background:#fafafa;border-radius:6px;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:14px}.toggle-row.compact{margin-top:12px}.toggle-row small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.toggle-row input{width:24px;height:24px}.settings-save{margin-top:18px}
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100;display:grid;place-items:center;padding:18px}.modal-backdrop[hidden]{display:none}.modal{background:white;border-radius:8px;box-shadow:0 12px 36px rgba(0,0,0,.28);width:min(520px,100%);max-height:94vh;overflow:auto;padding:18px}.checkout-modal{width:min(560px,100%)}.small-modal{width:min(430px,100%)}.modal-head{margin-bottom:12px}.modal-head h2{margin:0;font-size:23px}.close-btn{border:0;background:#eceff1;width:38px;height:38px;border-radius:50%;font-size:26px;cursor:pointer;color:#475569}.checkout-due,.change-box{display:flex;justify-content:space-between;align-items:center;border-radius:6px;padding:14px;margin:10px 0}.checkout-due{background:#e7f4e4}.checkout-due strong{font-size:30px}.change-box{background:#f1f4f7}.change-box strong{font-size:25px}.quick-money{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.quick-money button{border:1px solid #b7c0cb;background:#fff;border-radius:4px;min-height:46px;font-weight:800;cursor:pointer}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#17212b;color:#fff;border-radius:6px;padding:11px 16px;z-index:200;box-shadow:0 4px 18px rgba(0,0,0,.25)}
@media(max-width:1050px){.cash-layout{grid-template-columns:104px 1fr}.cart-panel{grid-column:1/-1;min-height:310px}.product-grid{grid-template-columns:repeat(3,1fr)}.cart-lines{max-height:240px}.topbar{grid-template-columns:auto 1fr}.header-total{grid-column:2;grid-row:1;justify-self:end}.main-nav{grid-column:1/-1;grid-row:2}.admin-row{grid-template-columns:36px 1.4fr .8fr 90px 140px}}
@media(max-width:720px){main{padding:8px}.topbar{position:static;padding:8px;grid-template-columns:1fr auto}.brand-subtitle{display:none}.brand-mark{width:38px;height:38px}.main-nav{overflow:auto;justify-content:flex-start;flex-wrap:nowrap}.nav-btn{padding:9px 12px;white-space:nowrap}.cash-layout{grid-template-columns:86px 1fr;gap:7px}.category-rail{padding:6px}.category-btn{min-height:60px;font-size:13px}.product-panel{padding:8px}.section-head{align-items:flex-start;flex-direction:column}.product-grid{grid-template-columns:repeat(2,1fr);gap:7px}.product-btn{min-height:104px;padding:9px}.product-name{font-size:15px}.product-price{font-size:21px}.fixed-deposit-bar{grid-template-columns:1fr 1fr;gap:7px;margin-top:8px;padding-top:7px}.fixed-deposit-btn{min-height:68px;font-size:18px;padding:9px 10px}.fixed-deposit-btn small{font-size:12px}.deposit-grid{grid-template-columns:1fr}.deposit-btn{min-height:110px}.admin-layout{grid-template-columns:1fr}.admin-nav{flex-direction:row;overflow:auto}.admin-tab{white-space:nowrap}.admin-row{grid-template-columns:30px 1fr auto}.admin-row .category-cell,.admin-row .status-cell{display:none}.row-actions{grid-column:1/-1}.receipt-row{grid-template-columns:72px 1fr 90px}.receipt-time{grid-column:2/-1;text-align:left}.stats-summary{grid-template-columns:1fr}.quick-money{grid-template-columns:repeat(2,1fr)}}

/* Kompakter Arbeitsmodus: Kasse im Vordergrund, Verwaltung nur sekundär. */
.app-shell{padding-bottom:42px}
.topbar{min-height:58px;grid-template-columns:1fr auto;gap:10px;padding:6px 12px}
.brand-block{min-width:0;gap:8px}.brand-mark{width:34px;height:34px;border-radius:6px;font-size:19px}.brand-title{font-size:18px}.brand-subtitle,.main-nav{display:none}
.header-total{min-width:112px;padding:5px 10px}.header-total span{font-size:9px}.header-total strong{font-size:20px}
main{padding:8px}.cash-layout{grid-template-columns:92px minmax(320px,1fr) 270px;gap:8px;min-height:calc(100vh - 108px)}
.category-rail{padding:6px}.category-buttons{gap:6px}.category-btn{min-height:54px;padding:6px 3px;font-size:14px}.rail-title{display:none}
.product-panel{padding:8px}.section-head{margin-bottom:7px;min-height:38px}.section-head h1{font-size:21px}.section-head p{display:none}.compact-undo{min-height:34px;padding:5px 9px;font-size:13px}
.product-grid{gap:7px}.product-btn{min-height:88px;padding:8px}.product-name{font-size:15px}.product-price{font-size:20px}.product-qty-badge{min-width:24px;height:24px;font-size:13px}
.fixed-deposit-bar{margin-top:7px;padding-top:7px;gap:7px}.fixed-deposit-btn{min-height:58px;padding:7px 12px;font-size:18px}.fixed-deposit-btn small{font-size:12px}
.cart-head{padding:9px 10px}.cart-head strong{font-size:14px}.icon-btn{width:34px;height:34px}.cart-lines{padding:5px 10px;min-height:120px}.cart-line{padding:7px 0}.cart-footer{padding:9px 10px}.total-row{margin-bottom:7px}.total-row strong{font-size:23px}.primary-action{min-height:45px;font-size:17px}
.utility-nav{position:fixed;left:0;right:0;bottom:0;height:40px;z-index:40;background:rgba(255,255,255,.98);border-top:1px solid #d7dde5;display:flex;justify-content:center;align-items:center;gap:2px;padding:3px 7px;box-shadow:0 -1px 5px rgba(0,0,0,.08)}
.utility-btn{border:0;background:transparent;color:#64748b;border-radius:4px;padding:5px 9px;font-size:12px;cursor:pointer;min-height:30px}.utility-btn.active{color:#1f2933;background:#eef2f6;font-weight:700}.utility-btn.settings-link{margin-left:auto;font-size:11px;color:#94a3b8}

@media(max-width:1050px){
  .cash-layout{grid-template-columns:82px 1fr;gap:6px;min-height:auto}
  .cart-panel{grid-column:1/-1;min-height:0}
  .cart-lines{max-height:150px;min-height:70px}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .topbar{grid-template-columns:1fr auto}.header-total{grid-column:auto;grid-row:auto}.main-nav{display:none}
}
@media(max-width:720px){
  .app-shell{padding-bottom:38px}.topbar{position:sticky;top:0;padding:5px 8px;min-height:50px}.brand-mark{width:30px;height:30px;font-size:17px}.brand-title{font-size:16px}.header-total{min-width:96px;padding:3px 8px}.header-total strong{font-size:18px}
  main{padding:5px}.cash-layout{grid-template-columns:72px 1fr;gap:5px}.category-rail{padding:4px}.category-btn{min-height:48px;font-size:12px;padding:4px 2px}
  .product-panel{padding:5px}.section-head{margin-bottom:5px;min-height:32px;flex-direction:row;align-items:center}.section-head h1{font-size:19px}.compact-undo{min-height:30px;padding:4px 7px;font-size:12px}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:5px}.product-btn{min-height:78px;padding:7px}.product-name{font-size:14px}.product-price{font-size:18px}
  .fixed-deposit-bar{margin-top:5px;padding-top:5px;gap:5px}.fixed-deposit-btn{min-height:52px;font-size:16px;padding:6px 8px}.fixed-deposit-btn small{font-size:11px}
  .cart-panel{margin-top:0}.cart-head{padding:7px 9px}.eyebrow{font-size:9px}.cart-lines{min-height:58px;max-height:118px}.cart-footer{padding:7px 9px}.total-row strong{font-size:21px}.primary-action{min-height:42px;font-size:16px}
  .utility-nav{height:36px;justify-content:flex-start;overflow:auto}.utility-btn{padding:4px 7px;font-size:11px;white-space:nowrap;min-height:28px}.utility-btn.settings-link{margin-left:auto;font-size:10px}
}


/* Alpha 0.1.3: Bon oben, C = letzter Schritt zurück. */
.cash-layout{grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:stretch}
.top-cart{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;min-height:82px;overflow:hidden}
.top-cart .cart-head{min-width:145px;border-bottom:0;border-right:1px solid #e2e8f0;align-items:center}
.top-cart .cart-lines{min-height:0;max-height:82px;display:flex;align-items:center;gap:16px;padding:7px 12px;overflow-x:auto;overflow-y:hidden}
.top-cart .cart-lines.empty-state{display:flex;justify-content:center}
.top-cart .cart-line{min-width:145px;border-bottom:0;border-right:1px solid #edf1f5;padding:5px 14px 5px 0}
.top-cart .cart-footer{min-width:210px;border-top:0;border-left:1px solid #e2e8f0;padding:7px 9px;display:grid;grid-template-columns:1fr 100px;gap:8px;align-items:center}
.top-cart .total-row{margin:0;display:block}.top-cart .total-row span{display:block;font-size:11px}.top-cart .total-row strong{font-size:24px;white-space:nowrap}
.top-cart .primary-action{min-height:48px}.category-rail{grid-column:1;grid-row:2}.product-panel{grid-column:2;grid-row:2}
.icon-btn.danger{background:#f1f4f7;border-color:#cbd5e1;color:#334155}.icon-btn.danger:disabled{opacity:.35}

@media(max-width:720px){
  .cash-layout{grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto 1fr}
  .top-cart{grid-template-columns:78px minmax(0,1fr) 120px;min-height:68px;margin:0}
  .top-cart .cart-head{min-width:0;padding:5px 6px;display:grid;grid-template-columns:1fr auto;gap:3px}.top-cart .cart-head .eyebrow{display:none}.top-cart .cart-head strong{font-size:11px}.top-cart .icon-btn{width:28px;height:28px;font-size:13px}
  .top-cart .cart-lines{max-height:68px;padding:4px 7px;gap:8px}.top-cart .cart-line{min-width:105px;padding:3px 8px 3px 0}.top-cart .cart-line-title{font-size:12px}.top-cart .cart-line-meta,.top-cart .cart-line-total{font-size:11px}
  .top-cart .cart-footer{min-width:0;padding:4px 5px;grid-template-columns:1fr;gap:3px}.top-cart .total-row span{font-size:9px}.top-cart .total-row strong{font-size:17px}.top-cart .primary-action{min-height:29px;font-size:12px}
}
.undo-action-btn{border:1px solid #f4b8b8;background:#fff1f1;color:#b91c1c;border-radius:6px;min-height:42px;padding:7px 12px;font-weight:800;font-size:14px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.undo-action-btn:disabled{opacity:.45;cursor:not-allowed}.undo-symbol{font-size:18px;line-height:1}
@media(max-width:720px){.undo-action-btn{min-height:40px;padding:6px 10px;font-size:13px}.undo-symbol{font-size:17px}}

/* Touch-Zahlungsabschluss ohne Systemtastatur */
.payment-label{font-size:12px;text-transform:uppercase;color:var(--muted);font-weight:800;margin:12px 0 7px}.touch-money{grid-template-columns:repeat(3,1fr);gap:8px}.touch-money-btn{min-height:62px!important;font-size:18px;border:2px solid #d5dde6!important;background:#fff!important;color:#263442;border-radius:7px!important}.touch-money-btn.exact{border-color:#8ecf91!important;background:#edf8ed!important}.touch-money-btn.selected{border-color:var(--secondary)!important;background:#e7f3fe!important;box-shadow:inset 0 0 0 1px var(--secondary)}
.custom-amount-btn{width:100%;min-height:42px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:6px;color:#475569;font-weight:700;margin:2px 0 8px}.custom-amount-area{border:1px solid #dce3ea;background:#f8fafc;border-radius:8px;padding:9px;margin-bottom:8px}.touch-amount-display{background:white;border:2px solid #cbd5e1;border-radius:6px;padding:10px;text-align:right;font-size:25px;font-weight:800;margin-bottom:8px}.touch-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.touch-keypad button{min-height:54px;border:1px solid #cbd5e1;background:white;border-radius:6px;font-size:21px;font-weight:800}.change-box{margin-top:8px}
@media(max-width:720px){.checkout-modal{padding:12px}.touch-money{grid-template-columns:repeat(2,1fr)}.touch-money-btn{min-height:58px!important;font-size:17px}.touch-keypad button{min-height:50px}.checkout-due{padding:10px}.checkout-due strong{font-size:27px}}

.cashup-page{max-width:920px}.cashup-start h1,.cashup-head h1{margin:2px 0 8px}.opening-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 10px}.opening-quick button{min-height:72px;border:1px solid #b9d7ef;background:#edf7ff;color:#1769aa;border-radius:8px;font-size:21px;font-weight:800;cursor:pointer}.cashup-custom{width:100%;min-height:50px}.cashup-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.cashup-started{font-size:12px;color:var(--muted)}.cashup-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.cashup-card{border:1px solid #dce3ea;background:#fafafa;border-radius:7px;padding:12px}.cashup-card span{display:block;font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:800}.cashup-card strong{display:block;font-size:21px;margin-top:5px}.cashup-card.expected{background:#e7f4e4;border-color:#b8ddb8}.cashup-card.expected strong{font-size:24px}.cashup-actions{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:9px;margin:14px 0}.close-cash-btn{min-height:44px}.cashup-section{margin-top:20px}.cashup-section h2{font-size:16px;margin:0 0 8px}.adjustment-list,.cashup-history{display:flex;flex-direction:column;gap:6px}.adjustment-row,.cashup-history-row{border:1px solid #e1e6ec;background:#fafafa;border-radius:6px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.cashup-history-row{display:grid;grid-template-columns:1fr auto auto}.cashup-history-row small{display:block;color:var(--muted);margin-top:2px}.history-ist{font-size:13px;color:var(--muted)}.positive{color:#2e7d32}.negative{color:#b91c1c}.neutral{color:#475569}.cash-amount-modal{width:min(440px,100%)}.touch-amount-display.big{font-size:34px;margin-bottom:10px}.cash-keypad{margin-bottom:12px}@media(max-width:720px){.opening-quick{grid-template-columns:repeat(2,1fr)}.cashup-grid{grid-template-columns:repeat(2,1fr)}.cashup-card.expected{grid-column:1/-1}.cashup-actions{grid-template-columns:1fr 1fr}.close-cash-btn{grid-column:1/-1}.cashup-history-row{grid-template-columns:1fr auto}.history-ist{grid-column:2}}

/* Trinkgeld beim Zahlungsabschluss */
.tip-btn{width:100%;min-height:50px;border:2px solid #f0b04d;background:#fff7e8;color:#8a5200;border-radius:7px;font-size:17px;font-weight:800;margin:7px 0;cursor:pointer}.tip-info{display:flex;justify-content:space-between;align-items:center;background:#fff4d6;border:1px solid #f0c96b;border-radius:7px;padding:10px 12px;margin:7px 0;font-weight:700}.tip-info strong{font-size:21px;color:#8a5200}.cashup-card.tip{background:#fff8e6;border-color:#f2d18a}.cashup-card.tip strong{color:#8a5200}.stats-summary{grid-template-columns:repeat(4,1fr)}@media(max-width:720px){.tip-btn{min-height:48px;font-size:16px}.stats-summary{grid-template-columns:1fr 1fr}.cashup-grid{grid-template-columns:repeat(2,1fr)}}

/* Individueller Bargeldbetrag: Scheine, Münzen und Cent direkt antippen */
.cash-compose-label{font-size:11px;text-transform:uppercase;color:var(--muted);font-weight:800;margin:8px 0 5px}.banknote-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.banknote{min-height:58px;border:2px solid rgba(0,0,0,.12);border-radius:8px;font-weight:900;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 1px 3px rgba(0,0,0,.12);cursor:pointer}.banknote span{font-size:22px;line-height:1}.banknote small{font-size:9px;margin-top:3px;letter-spacing:.08em}.b5{background:#d9d9d9}.b10{background:#f1a8a8}.b20{background:#a7c8ee}.b50{background:#e8a579}.b100{background:#9dcc9a}.coin-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.coin-grid button{min-height:46px;border:1px solid #b8b8b8;border-radius:23px;background:#f5f1d8;font-size:17px;font-weight:800}.cent-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.cent-grid button{min-height:38px;border:1px solid #cbd5e1;background:#fff;border-radius:6px;font-weight:800}.cent-grid button.selected{background:#e7f3fe;border-color:var(--secondary);color:#1769aa}.amount-reset{width:100%;margin-top:8px;min-height:38px;border:1px solid #d7dde5;background:#f8fafc;border-radius:6px;color:#64748b;font-weight:700}
@media(max-width:720px){.banknote-grid{grid-template-columns:repeat(5,minmax(52px,1fr));overflow-x:auto}.banknote{min-height:52px}.banknote span{font-size:19px}.cent-grid{grid-template-columns:repeat(5,1fr)}}

/* Kompakter Bargeld-Composer */
.custom-amount-area{padding:7px}.cash-compose-row{margin:5px 0}.banknote-grid{gap:5px}.banknote{min-height:42px;border-radius:6px;font-size:15px;font-weight:900;padding:5px}.coin-grid{grid-template-columns:repeat(4,1fr);gap:5px}.coin-grid button{min-height:40px;border-radius:6px;background:#f8fafc}.coin-grid button.minus{background:#fff1f1;border-color:#f3c1c1;color:#b91c1c}.cent-grid{grid-template-columns:repeat(10,1fr);gap:4px}.cent-grid button{min-height:34px;padding:3px 2px;font-size:12px}.amount-reset{min-height:32px;margin-top:5px;font-size:12px}.touch-amount-display{padding:7px;font-size:23px;margin-bottom:5px}
@media(max-width:720px){.banknote-grid{grid-template-columns:repeat(5,1fr);overflow:visible}.banknote{min-height:38px;font-size:14px}.coin-grid{grid-template-columns:repeat(4,1fr)}.cent-grid{grid-template-columns:repeat(5,1fr)}.cent-grid button{min-height:32px}}

/* Klarer Tagesabschluss + löschbare Abschluss-Historie */
.cash-close-summary{border:1px solid #b9d7ef;background:#edf7ff;border-radius:7px;padding:10px 12px;margin:0 0 10px}.cash-close-summary strong{display:block;font-size:18px;color:#1769aa;margin-bottom:4px}.cash-close-summary span{display:block;font-size:13px;color:#475569;line-height:1.35}.cashup-history-row{grid-template-columns:1fr auto auto auto}.cashup-delete{border:1px solid #fecaca;background:#fff5f5;color:#b91c1c;border-radius:5px;min-height:34px;padding:6px 9px;font-weight:700;cursor:pointer}@media(max-width:720px){.cashup-history-row{grid-template-columns:1fr auto}.cashup-delete{grid-column:1/-1;justify-self:end}.cash-close-summary strong{font-size:16px}}

/* Killingers Kassa Branding */
.brand-logo{width:54px;height:42px;object-fit:contain;display:block;flex:0 0 auto}.brand-title{white-space:nowrap}@media(max-width:720px){.brand-logo{width:46px;height:36px}.brand-title{font-size:15px}}

/* Mobile-Korrektur: Storno darf den leeren Bon nicht überlagern */
@media(max-width:720px){
  .top-cart{grid-template-columns:104px minmax(0,1fr) 120px;}
  .top-cart .cart-head{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:5px 7px;}
  .top-cart .cart-head>div{width:100%;}
  .top-cart .undo-action-btn{width:100%;min-height:28px;padding:3px 6px;justify-content:center;font-size:11px;gap:4px;}
  .top-cart .undo-symbol{font-size:14px;}
  .top-cart .cart-lines.empty-state{padding-left:10px;padding-right:10px;font-size:12px;}
}

/* Plattformneutrale App-/Updateanzeige */
.app-update-card{margin-top:16px;border:1px solid #dce3ea;background:#f8fafc;border-radius:7px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.app-update-card strong{display:block;font-size:16px}.app-update-card small{display:block;color:var(--muted);margin-top:3px}.app-update-card .secondary-action{min-width:140px}.app-update-card .secondary-action:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.app-update-card{align-items:stretch;flex-direction:column}.app-update-card .secondary-action{width:100%}}
