:root{--bg:#f4f1eb;--ink:#23231f;--muted:#6a6b62;--line:#deded4;--brand:#b6531b;--green:#255d3b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit}h1{font-size:2.2rem;line-height:1.15;letter-spacing:-.04em;margin:.3rem 0 .7rem}h2{font-size:1.35rem;margin:0 0 1rem}p{margin:.5rem 0 1rem}button,.button{font:650 .95rem system-ui;border:1px solid #bbbeb1;border-radius:7px;background:#fff;color:var(--ink);padding:.6rem .9rem;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}.primary{border-color:var(--brand);background:var(--brand);color:#fff}label{display:block;font-weight:650;font-size:.9rem;margin:.6rem 0}input,select,textarea{display:block;width:100%;border:1px solid #bbbeb1;border-radius:7px;background:#fff;color:var(--ink);padding:.6rem .7rem;font:400 1rem system-ui;margin-top:.3rem}input[type=checkbox],input[type=radio]{display:inline;width:18px;height:18px;accent-color:var(--brand);vertical-align:middle}textarea{resize:vertical}.checkbox{font-weight:500}.brand{font-weight:900;font-size:1.1rem;text-decoration:none;line-height:1.2;letter-spacing:.02em}.brand span{display:block;font-size:.65rem;font-weight:600;letter-spacing:.18em;color:#888b7f}.staff-header{display:flex;align-items:center;justify-content:space-between;padding:1rem max(1.3rem,calc((100vw - 1300px)/2));background:#fff;border-bottom:1px solid var(--line);gap:1rem}.staff-header nav{display:flex;align-items:center;flex-wrap:wrap;gap:1.2rem;font-size:.9rem}.staff-header nav a{text-decoration:none}.staff-main{max-width:1300px;margin:0 auto;padding:2rem 1.3rem 4rem}.page-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.page-title p{color:var(--muted)}.eyebrow{font-size:.75rem!important;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--brand)!important}.toolbar,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.2rem}.toolbar form{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.toolbar label{margin:0}.toolbar p{font-size:.82rem;margin:.7rem 0 0;color:var(--muted)}.order-stats{display:flex;gap:1rem;flex-wrap:wrap;margin:1.5rem 0}.order-stats span{background:#e4e8df;padding:.45rem .9rem;border-radius:6px}.order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}.order{background:#fff;border:1px solid var(--line);border-top:5px solid #738078;border-radius:10px;padding:1.1rem}.order.new{border-top-color:#e7841e;background:#fffdf8}.order.done{opacity:.65}.order-top{display:flex;justify-content:space-between;gap:1rem}.badge{font-size:.76rem;font-weight:800;padding:.15rem .5rem;background:#f9ddb7;border-radius:4px}.order time{font-size:.8rem;color:var(--muted)}.order h2{margin:.5rem 0}.order ul{list-style:none;margin:.8rem 0;padding:0;border-top:1px solid var(--line)}.order li{padding:.65rem 0;border-bottom:1px solid var(--line)}.order small{display:block;color:#5b6055}.order .total{display:flex;justify-content:space-between;font-weight:800;margin:.8rem 0}.order-actions{display:flex;gap:.6rem;align-items:center}.order-actions select{margin:0}.order-actions a{white-space:nowrap}.note{background:#fff0d3;padding:.5rem .7rem;border-radius:5px}.error{background:#ffeae5;color:#92291c;border:1px solid #dbafa5;border-radius:7px;padding:.8rem}.success{background:#e7f2e5;color:#1f5b2a;border:1px solid #b7d7b2;border-radius:7px;padding:.8rem}.muted{color:var(--muted);font-size:.85rem}.empty{text-align:center;padding:3rem;background:#fff;border-radius:10px;border:1px dashed #bcbfb1;grid-column:1/-1}.tabs{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.2rem 0}.tabs button.active{background:var(--ink);color:white;border-color:var(--ink)}.admin-grid{display:grid;grid-template-columns:300px 1fr;gap:1.2rem}.item-list{max-height:650px;overflow:auto;margin-top:1rem}.item-list button{display:block;text-align:left;width:100%;margin:.3rem 0;background:#fafaf7}.item-list button.selected{border-color:var(--brand);background:#fff1dc}.item-list small{display:block;font-weight:400;color:#606359}.two{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.price-row{display:grid;grid-template-columns:1fr 130px auto;gap:.5rem;align-items:end;margin:.5rem 0}.price-row label{margin:0}.extra-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.4rem}.extra-options label{padding:.6rem;border:1px solid var(--line);border-radius:6px;margin:0;font-weight:500}.section-note{font-size:.87rem;color:var(--muted);margin:.4rem 0 1rem}.form-actions{display:flex;gap:.7rem;align-items:center;margin-top:1.2rem}.hours{width:100%;border-collapse:collapse}.hours th,.hours td{padding:.5rem;text-align:left;border-bottom:1px solid var(--line)}.hours input{font-size:.85rem;min-width:100px}.hours-wrap{overflow:auto}.login{display:grid;place-items:center;min-height:100vh}.login-card{width:min(420px,calc(100% - 2rem));padding:2rem;background:#fff;border:1px solid var(--line);border-radius:15px}.login-card h1{font-size:1.8rem;margin-top:1.5rem}.login-card button{width:100%;margin-top:1rem}[hidden]{display:none!important}:focus-visible{outline:3px solid #e49a38;outline-offset:2px}#admin-message{position:sticky;top:1rem;z-index:10}code{overflow-wrap:anywhere}@media(max-width:800px){.admin-grid{grid-template-columns:1fr}.item-list{max-height:220px}.staff-header{align-items:flex-start;flex-direction:column}.page-title{align-items:flex-start}.two{grid-template-columns:1fr;gap:0}h1{font-size:1.8rem}.order-grid{grid-template-columns:1fr}.price-row{grid-template-columns:1fr 95px auto}.toolbar form{gap:1rem}.staff-header nav{gap:.8rem}}
/* Responsive Verwaltung und Bestelleingang – Version 1.1 */
/* Bestellreiter – Version 1.3 */
.order-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-width:620px;margin:1rem 0 1.2rem}.order-tabs button{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:52px;padding:.8rem 1rem;line-height:1.3}.order-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff}.order-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:1.7rem;min-height:1.7rem;padding:.1rem .4rem;border-radius:999px;background:#e6e9e0;color:var(--ink);font-size:.82rem;font-variant-numeric:tabular-nums}.order-tabs button[aria-selected=true] .order-count{background:#fff;color:var(--ink)}.order-status{display:inline-block;margin:.7rem 0 0;padding:.15rem .5rem;border-radius:4px;background:#e8eee5;color:var(--green);font-size:.76rem;font-weight:750}.order-status.cancelled{background:#f7e4df;color:#92291c}.order.done{opacity:1;border-top-color:var(--green)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.order-tabs{gap:.5rem}.order-tabs button{font-size:.85rem;padding:.7rem .5rem;gap:.4rem}.order-tabs button>span:first-child{min-width:0;overflow-wrap:break-word}.order-count{font-size:.76rem;min-width:1.5rem}}
.staff-main,.panel,.admin-grid>*{min-width:0}.staff-main input,.staff-main select,.staff-main textarea{min-width:0;max-width:100%;font-size:16px}.staff-header a,.staff-header button{touch-action:manipulation}.order{min-width:0}.order li,.note,.order p{overflow-wrap:break-word}.order-actions select{min-width:0}.price-row{grid-template-columns:minmax(0,1fr) 110px 44px}.price-row button{width:44px;height:44px}.login-card input{font-size:16px;min-height:48px}.login-card button{min-height:48px}.item-list button{min-height:54px;line-height:1.4}.tabs button{min-height:44px}.form-actions{flex-wrap:wrap}.toolbar select{min-height:46px}
@media(max-width:640px){
 .staff-header{padding:1rem;gap:.8rem}.staff-header nav{display:flex;gap:.35rem .8rem;width:100%;justify-content:space-between}.staff-header nav>a{display:flex;align-items:center;min-height:44px;font-size:.85rem}.staff-header nav form{margin-left:auto}.staff-header nav button{min-height:44px;font-size:.85rem}
 .staff-main{padding:1.25rem .8rem calc(2rem + env(safe-area-inset-bottom))}.staff-main h1{font-size:1.8rem;line-height:1.15}.staff-main h2{font-size:1.2rem}.page-title{display:block}.page-title>button{margin-bottom:.6rem;min-height:44px;width:100%}.page-title p{font-size:.92rem}
 .toolbar,.panel{padding:1rem;border-radius:11px}.toolbar form{display:grid;grid-template-columns:1fr;gap:1rem}.toolbar form>button{min-height:46px}.toolbar form label.checkbox{display:flex;align-items:center;gap:.5rem;min-height:40px}.toolbar .checkbox input{margin:0}.toolbar p{line-height:1.5}
 .order-stats{gap:.45rem;margin:1rem 0}.order-stats span{font-size:.85rem;padding:.4rem .65rem}.order-grid{gap:.9rem}.order{padding:1rem}.order h2{font-size:1.15rem;line-height:1.35}.order-actions{margin-top:.65rem}.order-actions select,.order-actions .button{min-height:46px}.order-actions .button{display:flex;align-items:center;justify-content:center}
 .tabs{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.tabs button{font-size:.85rem;padding:.6rem .35rem}.admin-grid{gap:1rem}.item-list{max-height:230px;overscroll-behavior:contain}.item-list button{font-size:.91rem}.admin-grid aside>.primary{width:100%;min-height:46px}
 .price-row{grid-template-columns:minmax(0,1fr) 85px 40px;gap:.4rem}.price-row button{width:40px;height:46px;padding:.3rem}.price-row input{padding:.6rem .5rem;min-height:46px}.price-row label{font-size:.83rem}.extra-options{grid-template-columns:1fr}.extra-options label{min-height:46px}.section-note{line-height:1.55;font-size:.85rem}.form-actions>button{width:100%;min-height:48px}.panel form>.primary{min-height:48px;width:100%;margin-top:.8rem}
 .hours-wrap{overflow:visible}.hours,.hours tbody{display:block;width:100%}.hours thead{display:none}.hours tbody{display:grid;gap:.75rem}.hours tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.65rem;padding:.8rem;border:1px solid var(--line);border-radius:9px;background:#fafaf7}.hours th{grid-column:1/-1;padding:0 0 .15rem;border:0;font-size:.95rem}.hours td{display:block;min-width:0;padding:0;border:0}.hours td::before{content:attr(data-label);display:block;color:#666b5e;font-size:.76rem;line-height:1.4}.hours input{width:100%;min-width:0;min-height:45px;padding:.45rem .35rem;margin:.25rem 0 0;font-size:16px;background:#fff}
 .login-card{padding:1.5rem}.login-card h1{font-size:1.6rem}.login-card p{font-size:.95rem}
}
@media(max-width:359px){.staff-header nav{gap:.3rem .5rem}.staff-header nav>a,.staff-header nav button{font-size:.78rem}.order-actions{display:grid;grid-template-columns:1fr}.order-top{flex-wrap:wrap;gap:.4rem}.staff-main{padding-left:.65rem;padding-right:.65rem}.panel{padding:.85rem}.price-row{grid-template-columns:minmax(0,1fr) 75px 36px}.price-row button{width:36px}}

/* Kurzlebige Shop-Aktivität – Version 1.5 */
.live-overview{margin:0 0 1.25rem;padding:1.2rem;border:1px solid var(--line);border-radius:12px;background:#fff}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:1rem}.live-heading h2{font-size:1rem;margin:0}.live-state{font-size:.78rem;color:var(--muted);text-align:right}.live-state.connected{color:var(--green);font-weight:700}.live-state.connected:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;background:var(--green);border-radius:50%}.live-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}.live-metrics>div{min-width:0;background:#eef4ed;border-radius:9px;padding:1rem 1.2rem}.live-metrics>div+div{background:#fff2e2}.live-metrics dt{font-size:.9rem;font-weight:700;overflow-wrap:break-word}.live-metrics dd{font-size:2.6rem;line-height:1.25;font-weight:800;letter-spacing:-.04em;margin:.2rem 0;font-variant-numeric:tabular-nums}.live-metrics p{font-size:.8rem;font-weight:400;letter-spacing:normal;line-height:1.4;color:var(--muted);margin:0}.live-note{font-size:.77rem;color:var(--muted);margin:.85rem 0 0}
@media(max-width:640px){.live-overview{padding:1rem}.live-metrics{gap:.6rem}.live-metrics>div{padding:.8rem}.live-metrics dt{min-height:2.7em;line-height:1.35}.live-metrics dd{font-size:2.2rem}.live-metrics p{font-size:.75rem}.live-heading h2{font-size:.95rem}.live-state{font-size:.72rem}}
@media print{.live-overview{display:none}}

:root{--brand:#365637;--green:#365637} .staff-header{background:#102219;color:#f4f1e5}.brand span{color:#d7b86e}.staff-header button{background:#f4f1e5}.eyebrow{color:#476539!important}

/* Dish image management */
#item-list button{display:flex;align-items:center;gap:10px} .item-thumb{display:block;width:48px;height:48px;flex:0 0 48px;border-radius:6px;object-fit:cover;background:#eeeee7}.item-thumb-empty{display:grid;place-items:center;font-size:10px;font-weight:400;color:var(--muted)}.item-label{min-width:0;overflow-wrap:anywhere}.image-manager{margin:1.3rem 0;padding:1rem;border:1px solid var(--line);border-radius:10px;min-width:0}.image-manager legend{padding:0 .4rem;font-weight:700}.image-manager-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:1rem;align-items:start}.image-preview-box{position:relative;aspect-ratio:1;background:#f4f1eb;border:1px dashed #c5c7ba;border-radius:8px;display:grid;place-items:center;overflow:hidden}.image-preview-box a{position:absolute;inset:0;display:block;width:100%;height:100%}.image-preview-box img{display:block;width:100%;height:100%;object-fit:contain}.image-preview-box p{margin:0;padding:1rem;text-align:center;color:var(--muted);font-size:.9rem}.image-controls{min-width:0}.image-controls label{margin-top:0}.image-controls input[type=file]{padding:.5rem;font-size:.88rem;max-width:100%}.image-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:.7rem 0}.image-actions button{min-height:44px}.image-controls .section-note{margin:.6rem 0}#item-image-status{margin-bottom:0;font-size:.9rem;overflow-wrap:anywhere}
@media(max-width:1050px){.image-manager-layout{grid-template-columns:1fr}.image-preview-box{width:180px;max-width:100%}}@media(max-width:500px){.image-manager{padding:.8rem}.image-actions button{flex:1}}

.order-options{border:1px solid var(--line);border-radius:9px;padding:1rem;margin:0 0 1.5rem;min-width:0}.order-options legend{font-weight:700}.archive-filter{max-width:380px}.preorder-tag{font-size:.8rem;color:#624a0e;background:#fff1cb;padding:.3rem .5rem;border-radius:5px}.report-toolbar,.report-downloads{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap;margin:1rem 0}.report-toolbar label{margin:0}.report-downloads button{min-height:44px}.report-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.7rem;margin:1rem 0}.report-totals>div{border:1px solid var(--line);border-radius:9px;padding:1rem;background:#f4f7f0}.report-totals span{display:block;font-size:.85rem;color:var(--muted)}.report-totals strong{display:block;font-size:1.45rem;margin-top:.3rem}.report-info{background:#f4f5ef;border-left:3px solid var(--green);padding:1rem;margin:1.3rem 0;font-size:.88rem}.report-info p:last-child{margin-bottom:0}.report-table-wrap{overflow:auto}.report-table{border-collapse:collapse;width:100%;font-size:.9rem}.report-table th,.report-table td{text-align:left;border-bottom:1px solid var(--line);padding:.7rem;white-space:nowrap}.report-table th{background:#eff2e9}.report-table td:last-child{text-align:right}.order-top time{max-width:60%;text-align:right}.order-tabs{flex-wrap:wrap}@media(max-width:500px){.report-downloads button{width:100%}.report-totals{grid-template-columns:1fr 1fr}.report-totals strong{font-size:1.2rem}.order-tabs{display:grid;grid-template-columns:1fr}}
