*{box-sizing:border-box}body{margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f4f6f4;color:#19362d}button,select,input{font:inherit}button{cursor:pointer;display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px;border:1px solid #ccd6ce;background:white;color:#244b3b;border-radius:9px;padding:8px 15px;font-weight:600}button:disabled{opacity:.45;cursor:default}button:hover:enabled,button[aria-pressed=true]{background:#e3eee6}.primary{background:#245b43;color:white;border-color:#245b43}.primary:hover:enabled{background:#17432e}.shell{display:flex;min-height:100vh}aside{width:240px;background:#112f27;color:#fff;padding:34px 18px;display:flex;flex-direction:column;position:sticky;height:100vh;top:0;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font:26px Georgia,serif;margin:0 5px 48px}.seal{border:1px solid #a9c387;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;color:#d6ecab;font:italic 22px Georgia}.brand small{font:600 10px/2 sans-serif;letter-spacing:2px;color:#c8d6c7}.role{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid #426052;padding:20px 8px 0;font-size:14px;color:#d5e0d6}nav button{width:100%;justify-content:flex-start;margin-bottom:5px;background:transparent;color:#d5e2da;border:0;padding:12px 14px}nav button.active,nav button:hover:enabled{background:#305443;color:white}svg{width:20px;height:20px;stroke-width:1.7;flex-shrink:0}main{min-width:0;flex:1}header{display:flex;align-items:center;gap:12px;border-bottom:1px solid #d9e0d9;padding:14px clamp(16px,4vw,60px);font-size:14px;background:white}header em{margin:0 10px;color:#95a098}header .icon:last-child{margin-left:auto}.icon,.link{border:0;background:transparent}.mobile{display:none}article{max-width:1310px;margin:auto;padding:38px clamp(16px,4vw,60px) 80px}.heading,.panelhead,.row,.actions{display:flex;align-items:center;gap:12px}.heading,.panelhead{justify-content:space-between}.kicker{font-size:12px;font-weight:700;letter-spacing:1.6px;color:#506c5d;display:flex;align-items:center;gap:8px}.kicker span{width:20px;height:2px;background:#658259}h1{font:normal clamp(36px,4vw,54px)/1.15 Georgia,serif;letter-spacing:-1.6px;margin:8px 0 20px}h2{font:normal 25px/1.25 Georgia,serif;margin:0}.depotbar{display:flex;align-items:center;gap:14px;border-block:1px solid #d8e0d7;padding:12px 0;margin:5px 0 20px}.depotbar label{display:flex;gap:15px;align-items:center;color:#566a60}.depotbar b{color:#203b30}.stats{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px;margin-bottom:20px}.stats section,.panel{background:#fff;border:1px solid #d7e0d7;border-radius:14px}.stats section{position:relative;padding:20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}.stats svg{grid-column:2;grid-row:1;color:#5e7b62}.stats span{grid-column:1;grid-row:1;font-size:14px}.stats strong{font-size:clamp(28px,3vw,42px);line-height:1.2;letter-spacing:-1.6px}.stats section:first-child{background:#214936;color:white}.stats section:first-child svg{color:#d4e7aa}.panel{margin:16px 0;padding:24px}.welcome{display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 20px}.bigicon,.tile{border-radius:12px;background:#eff4e9;color:#507049;display:grid;place-items:center;width:42px;height:42px}.bigicon{width:56px;height:56px;margin-bottom:15px}.bigicon svg{width:30px;height:30px}.welcome p,.empty,small{color:#596c61}.empty{padding:16px 0 0}.count{font:600 14px sans-serif;background:#eef2eb;padding:4px 9px;border-radius:12px}.row{padding:14px 0;border-bottom:1px solid #e6ebe5}.grow{flex:1;min-width:0;overflow-wrap:anywhere}small,b{display:block}.actions{flex-wrap:wrap;margin:15px 0}.prices{display:flex;justify-content:space-between;gap:8px;background:#f3f6f2;border-radius:8px;padding:10px;font-size:14px}.item{padding-bottom:5px;border-bottom:1px solid #d8dfd9}input,select{max-width:100%;background:#fff;color:#19362d;border:1px solid #bbc9bc;border-radius:8px;padding:10px}dialog{width:min(440px,94vw);max-height:90dvh;color:inherit;border:0;border-radius:16px;padding:24px;box-shadow:0 20px 70px #1234}dialog::backdrop{background:#10282088}dialog label{display:grid;gap:4px;margin:13px 0;font-size:14px;font-weight:600}dialog input,dialog select{font-size:16px}.submit{width:100%;margin-top:12px}.error{color:#912e2e;background:#ffeded;padding:9px}.link{font-size:14px}.role svg{color:#bdcd9a}
@media(max-width:800px){aside{display:none}aside.shown{display:flex;position:fixed;z-index:3;top:69px;height:calc(100dvh - 69px);width:min(280px,85vw);box-shadow:10px 15px 40px #1233}.mobile{display:inline-flex}.heading{flex-wrap:wrap;gap:0}.stats{gap:8px;grid-template-columns:1fr 1fr}.stats section:first-child{grid-column:1/-1}.stats section{padding:14px}.stats section:first-child strong{font-size:38px}.panel{padding:17px}article{padding-top:25px}.heading .primary{margin-bottom:14px}.depotbar label{flex-wrap:wrap;gap:6px}.row{gap:8px}.stats span{font-size:14px}h2{font-size:23px}header{height:69px}.role{margin-bottom:20px}}
.account{max-width:460px;margin:10vh auto;padding:15px}.account label{display:grid;margin:12px 0;gap:5px}.account [hidden]{display:none}.account footer{margin-top:20px;display:flex;align-items:center;justify-content:space-between}a{color:#245b43}header a{margin-left:auto;font-size:14px}

.mb-logo,.mb-mobile-logo{display:block;width:174px;max-width:100%;height:auto}
.account .mb-logo,.mb-mobile-logo{filter:brightness(0)}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.mb-mobile-logo{display:none}
@media(max-width:800px){header .mb-breadcrumb{font-size:0}header .mb-breadcrumb em,header .mb-breadcrumb span{display:none}.mb-mobile-logo{display:block;width:98px}}

/* Keep product names and quantities readable in narrow dialogs. */
dialog form, dialog label, dialog fieldset, .reference-copy { min-width: 0; }
dialog label { grid-template-columns: minmax(0, 1fr); }
dialog input:not([type="radio"]), dialog select { width: 100%; min-width: 0; }
dialog select, .depotbar select {
    appearance: none;
    padding-right: 2rem;
    background-image: linear-gradient(45deg,transparent 50%,#52675d 50%), linear-gradient(135deg,#52675d 50%,transparent 50%);
    background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    text-overflow: ellipsis;
}
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.product-meta {
    display: flex; align-items: baseline; gap: .1rem .35rem; flex-wrap: wrap;
    color: #52665c; font-size: .875rem; line-height: 1.45; font-weight: 450; overflow-wrap: anywhere;
}
.meta-dot { color: #76867e; }
.rate-mark { display: inline-flex; align-items: center; gap: .28rem; white-space: nowrap; font-weight: 700; }
.rate-mark svg { width: 1.02em; height: 1.02em; }
.alert-60 { color: #975100; }
.alert-90 { color: #b73527; }
.alert-99 { color: #670e35; }
.strength-field { min-inline-size: 0; margin: 13px 0; padding: 0; border: 0; }
.strength-field legend, .field-name { font-size: .875rem; font-weight: 600; padding: 0; }
.strength-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 5px; }
dialog .strength-choice {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-width: 0; min-height: 44px; margin: 0; padding: 6px 2px; font-size: 1rem;
    border: 1px solid #ced9d1; border-radius: 9px; background: white; cursor: pointer;
}
.strength-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.strength-choice:has(:checked) { background: #edf4ef; border-color: #285741; box-shadow: inset 0 0 0 1px #285741; }
.strength-choice:has(:focus-visible), summary:focus-visible, .reference-option:focus-visible {
    outline: 2px solid #286749; outline-offset: 2px;
}
.reference-field { margin: 13px 0; }
.reference-picker { border: 1px solid #bacabf; border-radius: 10px; background: white; margin-top: 4px; min-width: 0; }
.reference-picker summary, .depot-menu summary { list-style: none; cursor: pointer; }
.reference-picker summary::-webkit-details-marker, .depot-menu summary::-webkit-details-marker { display: none; }
.reference-picker summary, .reference-option {
    width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.reference-picker summary,.reference-native,.reference-single { padding: 10px 14px; border-radius: 9px; }
.reference-native { position:relative; display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; }
.reference-native select { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.reference-native:focus-within { outline:2px solid #286749; outline-offset:2px; }
.reference-picker summary::after, .reference-native::after, .depot-menu summary::after {
    content: ""; width: 7px; height: 7px; flex: 0 0 7px;
    border-right: 1.5px solid #476152; border-bottom: 1.5px solid #476152; transform: rotate(45deg); margin: -3px 2px 0 0;
}
.reference-picker[open] summary::after, .depot-menu[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.reference-copy { display: grid; grid-template-columns: minmax(0,1fr); gap: 2px; overflow-wrap: anywhere; }
.reference-name { font-weight: 650; font-size: 1rem; color: #19362d; }
.reference-menu { border-top: 1px solid #dce3dd; padding: 5px; }
dialog input.reference-search[type="search"] { margin: 3px 3px 5px; width: calc(100% - 6px); }
.reference-options { max-height: min(34dvh, 18rem); overflow-y: auto; overscroll-behavior: contain; }
button.reference-option { padding: 8px 9px; min-height: 44px; border: 0; border-radius: 6px; background: #fff; }
button.reference-option:hover { background: #edf4ef; }
.reference-empty { display: block; padding: 10px; font-size: .9rem; }
.depotbar { justify-content: space-between; flex-wrap: wrap; }
.depotbar label, .depotbar select { min-width: 0; max-width: 100%; }
.depotbar label { flex: 1 1 220px; }
.depotbar select { min-height: 44px; }
.depot-menu { position: relative; }
.depot-menu summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9rem; font-weight: 600; }
.depot-menu-list { position: absolute; right: 0; z-index: 2; width: max-content; padding: 5px; border: 1px solid #d4ded6; background: white; border-radius: 10px; box-shadow: 0 6px 18px #16312617; }
.depot-menu button { display: flex; width: 100%; justify-content: flex-start; border: 0; }
.depot-menu button.danger-link { color: #983831; }
.inventory-panel .panelhead { gap: 8px; flex-wrap: wrap; }
.inventory-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.inventory-tools input { flex: 1 1 10rem; min-width: 0; }
.inventory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 12px; }
.inventory-grid .item { display: flex; flex-direction: column; min-width: 0; border: 1px solid #d5dfd7; border-radius: 12px; padding: 15px; }
.item-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.item-head b { font-size: 1.06rem; }
.stock-count { flex: none; border-radius: 6px; padding: 2px 7px; background: #eef3ee; font-size: .87rem; font-weight: 700; white-space: nowrap; }
.item-prices, .deletion-totals { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.item-prices { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 14px 0 12px; border-block: 1px solid #e1e8e1; padding: 10px 0; }
.item-prices dt, .deletion-totals dt { font-size: .82rem; line-height: 1.35; color: #506359; }
.item-prices dd, .deletion-totals dd { margin: 2px 0 0; font-size: 1rem; font-weight: 650; }
.item-actions, .confirm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.item-actions { margin-top: auto; }
.item-actions button { min-height: 44px; }
.item-actions .sell { background: #eaf2ec; border-color: #c7d8cb; }
.item-actions .remove-reference { margin-left: auto; width: 44px; padding: 0; border-color: transparent; color: #71504b; }
.item-actions .remove-reference:hover { background: #f9ecea; color: #952f29; }
.removal-info, .removal-warning { margin: 16px 0; border-left: 3px solid #aabbb0; padding: 4px 0 4px 14px; overflow-wrap: anywhere; }
.removal-info p, .removal-warning p { margin: 6px 0; font-size: .94rem; }
.removal-warning { border-color: #aa3c33; }
.removal-warning > strong { color: #8d302a; }
.deletion-totals { grid-template-columns: 1fr 1fr; margin: 12px 0 0; }
.confirm-actions { margin-top: 18px; justify-content: flex-end; }
button.danger-submit { color: white; background: #97382f; border-color: #97382f; }
button.danger-submit:hover:enabled { background: #7c2a23; }
@media (max-width: 520px) {
    .depotbar { gap: 4px 12px; }
    .depotbar label { flex-basis: 170px; }
    .depot-menu { position: static; }
    .depotbar { position: relative; }
    .depot-menu-list { left: auto; right: 0; }
    .inventory-grid { grid-template-columns: minmax(0,1fr); }
    dialog { padding: 20px; }
}

/* Mouvements et alertes de réapprovisionnement */
.movement-list,.restock-list,.ticket-lines,.staff-list,.sales-report ol{list-style:none;padding:0;margin:0}
.movement-list{display:grid;gap:.55rem}
.movement{--edge:#597265;--wash:#f1f5f2;border-inline-start:4px solid var(--edge);border-radius:8px;background:var(--wash);padding:.7rem .9rem;overflow-wrap:anywhere}
.movement-sale{--edge:#43815a;--wash:#edf6ee}.movement-payment{--edge:#447ba6;--wash:#edf4fa}.movement-product{--edge:#8469a3;--wash:#f5f0f8}.movement-restock{--edge:#ac7729;--wash:#fbf5e8}.movement-removeProduct{--edge:#ae5867;--wash:#fbf0f1}
.move-heading,.ticket-lines li,.ticket-total div,.staff-list li{display:flex;gap:.7rem;align-items:baseline;justify-content:space-between}
.move-heading{line-height:1.35}.move-heading b{white-space:nowrap;font-variant-numeric:tabular-nums}.move-product{margin:.2rem 0;font-size:.95rem}.movement small,.ticket-lines small{display:block;color:#4c5e56;font-size:.8rem}
.restock-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1rem;align-items:center;border-top:1px solid #e1e7e1;padding:.9rem 0}
.restock-list li:first-child{border:0}.restock-levels{display:flex;gap:1rem;margin:0}.restock-levels dt{font-size:.78rem;color:#4f6058}.restock-levels dd{font-size:1.04rem;font-weight:750;margin:0;white-space:nowrap}
.low-level dd{color:#895618}.zero-level dd{color:#9c3438}.form-pill{display:inline-block;background:#e8efe7;color:#254c3a;padding:.08rem .47rem;border-radius:5px;font-size:.82rem}
.ticket-lines{display:grid;gap:.45rem}.ticket-lines li{align-items:center;background:#f1f5f1;border-radius:8px;padding:.55rem .7rem}.ticket-total{background:#edf4ee;border-radius:9px;padding:.75rem;margin:.2rem 0}.ticket-total dd{font-weight:700;margin:0;white-space:nowrap}.add-ticket-line{width:fit-content}
.account-role{display:inline-block;margin:0 0 1.1rem;padding:.2rem .7rem;color:#214e37;background:#e8f1e9;border-radius:20px;font-size:.85rem;font-weight:650}
#staff-manager{margin-top:1rem}.staff-add{display:flex;gap:.6rem;align-items:end;flex-direction:row}.staff-add label{min-width:0;flex:1}.staff-status:empty{display:none}.staff-list li{border-top:1px solid #e3e9e3;padding:.6rem 0;align-items:center}.staff-list{margin-top:1rem}.staff-list strong{overflow-wrap:anywhere}
/* Statistiques du dépôt */
.sales-report{display:grid;gap:1rem;min-width:0}.sales-report .panel{margin:0;min-width:0}
.report-filter{display:flex;gap:.8rem;align-items:end;flex-wrap:wrap}.report-filter label{min-width:0;font-size:.83rem;font-weight:650}.report-filter :is(select,input){display:block;width:100%;margin-top:4px;background:white}
.range-label,.stat-caption{font-size:.86rem;color:#516259}.range-label{padding:.6rem 0}.stat-caption{margin:.2rem 0 .8rem}
.report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.report-metrics section{border:1px solid #d5e1d7;border-radius:12px;background:#fff;padding:1rem}
.report-metrics span,.report-metrics strong,.rank-amount small{display:block}
.report-metrics span{font-size:.83rem}.report-metrics strong{font-size:clamp(1.15rem,2.3vw,1.75rem);font-variant-numeric:tabular-nums}
.best-products li{display:flex;align-items:center;gap:.7rem;border-top:1px solid #e6ebe6;padding:.7rem 0}.best-products .grow{min-width:0;overflow-wrap:anywhere}.rank{border-radius:50%;background:#edf3ed;min-width:1.7rem;height:1.7rem;text-align:center;line-height:1.7rem;font-size:.85rem}.rank-amount{text-align:right;white-space:nowrap}.rank-amount small{color:#4f6058}
.distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.distribution li{display:grid;grid-template-columns:5.7rem minmax(2rem,1fr) 2.5rem;gap:.6rem;align-items:center;font-size:.88rem;padding:.22rem 0}.distribution li b{text-align:right}.distribution meter{width:100%;height:.7rem;background:#e8eee8;border:none;border-radius:1rem;overflow:hidden}.distribution meter::-webkit-meter-bar{background:#e8eee8;border:0}.distribution meter::-webkit-meter-optimum-value{background:#85a48b;border-radius:1rem}.distribution meter::-moz-meter-bar{background:#85a48b}.distribution .peak meter::-webkit-meter-optimum-value{background:#295d44}.distribution .peak meter::-moz-meter-bar{background:#295d44}.stat-peak{border-top:1px solid #dce6dd;padding:.7rem 0 0;margin:.5rem 0 0;font-size:.86rem}.stat-peak b{display:block}
@media(max-width:720px){.distribution-grid{grid-template-columns:1fr}.report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metrics section{padding:.75rem}.restock-list li{grid-template-columns:minmax(0,1fr) auto;gap:.5rem}.restock-list li>.reference-copy{grid-column:1/-1}.restock-levels{gap:1.25rem}.restock-list li>button{justify-self:end}.report-filter .range-label{width:100%;padding:0}.report-filter input,.report-filter select{font-size:16px}.move-heading{align-items:start}}

.sale-dialog::backdrop { background: #20382f; }
dialog .stepper-field { margin: 14px 0; }
dialog .stepper-field label { margin: 0 0 4px; }
.quantity-stepper { display: grid; grid-template-columns: 44px minmax(3.5rem,5rem) 44px; gap: 6px; align-items: stretch; }
.quantity-stepper button { min-height: 44px; padding: 0; font-size: 1.3rem; line-height: 1; touch-action: manipulation; }
.quantity-stepper input { min-height: 44px; padding: .35rem; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sale-dialog .ticket-total { margin: 1.35rem 0 .5rem; }
.sale-dialog .ticket-total dd { font-size: 1.2rem; }
.staff-help { font-size: .9rem; }

.revenue-breakdown .revenue-head, .revenue-paid > div { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:.4rem 1rem; }
.revenue-head h2, .revenue-breakdown dd, .revenue-paid { margin:0; }
.revenue-head strong { color:#24553d; font-size:clamp(1.35rem,3vw,2rem); }
.revenue-breakdown :is(strong,dd) { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.revenue-shares { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:.8rem 0 1rem; padding:.85rem 1rem; background:#f1f5ef; border-radius:8px; }
.revenue-shares dt,.revenue-paid small { color:#4b5d51; font-size:.86rem; }
.revenue-shares dd,.revenue-paid dd { font-size:1.1rem; font-weight:700; }
.revenue-paid { padding-top:.85rem; border-top:1px solid #d8e1d7; }
.revenue-paid dt { font-weight:650; }
.revenue-paid small { display:block; font-weight:400; }
@media (max-width:480px) {
    .revenue-shares { padding:.65rem; gap:.6rem; }
    .report-metrics { gap:.4rem; }
    .report-metrics section { padding:.55rem; overflow-wrap:anywhere; }
    .report-metrics strong { font-size:1.1rem; }
}

.payments-page{display:grid;gap:1rem}
.payments-page .panel{margin:0}.payment-panel .panelhead{align-items:baseline;flex-wrap:wrap}.payment-panel h2{margin:0}
.depot-balance{text-align:right;font-size:.8rem;color:#50665b}.depot-balance b{display:block;font-size:1.22rem;color:#1e4e36}
.payments-page .check-line{display:flex;align-items:center;gap:.65rem;cursor:pointer;margin:0;font-size:.92rem}
.payments-page input[type=checkbox]{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:#245b43}
.select-all,.filter-entries{min-height:44px}.open-tickets{border:1px solid #d6e0d8;border-radius:10px;overflow:hidden}
.pay-ticket,.receipt-ticket{padding:.8rem .9rem;background:white;overflow-wrap:anywhere}
.pay-ticket+.pay-ticket,.receipt-ticket+.receipt-ticket{border-top:1px solid #dee7df}
.pay-ticket:has(.check-line input:checked){background:#f2f7f2}
.pay-ticket .check-line{min-height:38px;font-weight:650}.check-line span{min-width:0}.check-line>b{margin-left:auto;white-space:nowrap}
.settlement-lines{list-style:none;margin:.4rem 0;padding:0}
.settlement-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1rem;padding:.25rem 0}
.receipt-quantity{text-align:right}.receipt-quantity small,.payment-receipt summary small,.receipt-share{display:block;font-size:.78rem;color:#54665b}
.receipt-share{grid-column:1/-1}
.collection-confirm{display:grid;gap:.8rem;margin-top:1rem}.collection-confirm label:not(.check-line),.legacy-link label{display:grid;gap:.3rem;font-size:.9rem;font-weight:600}.collection-confirm select,.legacy-link select,.legacy-link input{width:100%;min-width:0;font-size:16px}
.payment-total,.receipt-sale-heading,.register-state{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.payment-total{padding:.7rem .9rem;background:#edf4ee;border-radius:8px}.payment-total strong{font-size:1.2rem}
.payment-receipt{border:1px solid #d7e1d9;border-radius:9px;margin-top:.55rem;overflow:hidden}
.payment-receipt>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.55rem;align-items:center;cursor:pointer;padding:.75rem;background:#f2f6f3;list-style:none}.payment-receipt>summary::-webkit-details-marker{display:none}.payment-receipt>summary::before{content:"›";font-size:1.3rem}.payment-receipt[open]>summary::before{transform:rotate(90deg)}
.receipt-sale-heading,.register-state{font-size:.86rem}.register-state{align-items:center;margin-top:.5rem}.register-state button{min-height:42px;padding:.38rem .7rem;font-size:.83rem}.entered{color:#27613f}.to-enter{color:#80501d;font-weight:650}.legacy-note{margin:.6rem 0;padding:.8rem .9rem;background:#fbf6e9;border-radius:8px;color:#594821}.legacy-note p{margin:.4rem 0}.legacy-link summary,.free-sales summary{cursor:pointer;font-weight:650;padding:.35rem 0}.legacy-link form{display:grid;gap:.6rem}.receipt-status{padding:.65rem 1rem;background:#edf4ee;border-radius:8px}
@media(max-width:480px){.pay-ticket,.receipt-ticket{padding:.65rem}.payment-panel .panelhead{gap:.4rem}.receipt-sale-heading{align-items:flex-start}.payment-receipt>summary{gap:.4rem;padding:.65rem}.payment-receipt>summary b{white-space:nowrap}}

.sale-heading { flex-wrap:wrap; }
.sale-heading b { margin-left:auto; color:#214e36; }
.sale-items { list-style:none; margin:.25rem 0; padding:0; }
.sale-items li { display:flex; align-items:start; justify-content:space-between; gap:.5rem 1rem; flex-wrap:wrap; }
.sale-items li+li { margin-top:.3rem; padding-top:.35rem; border-top:1px solid #d8e7da; }
.sale-items .move-product { min-width:0; flex:1 1 7rem; margin:0; }
.sale-item-price { margin-left:auto; text-align:right; font-size:.86rem; font-variant-numeric:tabular-nums; }
.sale-item-price :is(b,span) { display:block; }

.queue-count{margin:0;font-weight:650;color:#385744}
.queue-shortcut{justify-self:start}
.queue-empty h2,.queue-product h2{margin:0;overflow-wrap:anywhere}
.queue-empty p{margin:.4rem 0 0;color:#52675b}
.queue-product fieldset{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem 1.2rem;border:0;padding:0;margin:0;min-width:0}
.queue-product .stepper-field label{display:block;font-size:.9rem;font-weight:600;margin-bottom:.3rem}
.queue-product .primary{min-height:44px}
.queue-totals{display:flex;gap:.5rem 1.5rem;flex-wrap:wrap;margin:.6rem 0 .85rem;padding:.6rem .8rem;border-radius:8px;background:#eef4ee}
.queue-totals dt{font-size:.82rem;color:#4e6253}.queue-totals dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:480px){.queue-product .primary{flex:1 1 100%}}

.preview-banner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.6rem 1rem; margin:.6rem 0; padding:.8rem 1rem; border-radius:10px; background:#e6f1e9; color:#234a36; }
.preview-banner small { display:block; }
.preview-banner a { color:inherit; text-underline-offset:.16em; padding:.35rem 0; }
.access-dialog { overflow-wrap:anywhere; }
.access-dialog h2 { margin:0; }
.access-dialog input[readonly] { font-family:monospace; }
.depotbar .access-dialog label { display:grid; gap:.3rem; }
.depot-menu-list { max-width:calc(100vw - 2rem); }
@media (max-width:600px) { .depotbar > .depot-menu { margin-inline-start:auto; } }

.shop-counter { min-height:100vh; }
.shop-counter header { justify-content:space-between; }
.shop-counter header .mb-logo { width:7rem; filter:brightness(0); }
.shop-counter article { max-width:48rem; padding:1.5rem clamp(1rem,4vw,2rem) 4rem; }
.counter-depot { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:0 0 .5rem; color:#486352; font-weight:600; }
.counter-depot select { font-size:1rem; }
.counter-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:.5rem; }
.counter-heading h1 { margin:0; font-size:clamp(2rem,5vw,2.8rem); }
.counter-ticket { margin-top:1rem; }
.counter-ticket fieldset { border:0; margin:0; padding:0; min-width:0; }
.counter-ticket .reference-field { margin:0 0 .8rem; }
.counter-ticket .stepper-field { margin:.8rem 0; }
.counter-ticket .stepper-field label { display:block; margin-bottom:.25rem; font-weight:600; }
.counter-ticket .counter-price { margin:.35rem 0; }
.counter-ticket .ticket-total { margin:1.25rem 0 .5rem; }
.counter-ticket .ticket-total dd { font-size:1.25rem; }
.counter-ticket .receipt-status { margin-top:0; }
.counter-ticket .reference-search { width:100%; margin:.4rem 0; }
.shop-counter .preview-banner { margin:0 0 1rem; }
