/* VendQube: fleet navigation, 59-slot cabinet and editing drawer. */
.vendqube-brand{padding:0;margin:0 0 35px;background:#f5f8f7;border-radius:10px;height:85px;display:flex;align-items:center;justify-content:center;overflow:hidden}.vendqube-brand img{width:245px;max-width:none;height:auto;flex-shrink:0}.sidebar .nav-item{padding:14px 13px;font-size:13px;gap:13px}.sidebar .nav-bottom{margin-top:15px}.sidebar-note{padding:32px 12px;color:#78918e}.sidebar-note .sidebar-label{padding:0;font-size:8px;letter-spacing:1.1px}.sidebar-note p{font-size:11px;line-height:1.9;color:#91aaa5;margin:13px 0 18px}.sidebar-note .button{background:#223a3b;color:#91d3c1;border-color:#354e4c;font-size:10px;padding:10px 9px}.notification-button{position:relative;color:#66827a}.notification-button>span:last-child:not([data-icon]){position:absolute;right:5px;top:3px;height:6px;width:6px;background:#dc9460;border:1px solid white;border-radius:50%}.nav-count.has-alert{background:#d8a165;color:#182229;border-color:#d8a165}.wide-machine{display:block!important}.wide-machine .machine-area{padding:20px 24px}.cabinet-scroll{overflow-x:auto;padding:4px 7px 8px;scrollbar-width:thin;scrollbar-color:#9fb4b0 transparent}.wide-machine .cabinet{max-width:1080px;width:100%;padding:17px 17px 14px;border-radius:16px;background:linear-gradient(130deg,#3f5053,#26383c);box-shadow:0 17px 28px -18px #1e454c99,inset 1px 0 1px #8a9a97}.wide-machine .machine-feet{max-width:1080px}.columns-9 .slot-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:9px 7px}.columns-9 .cabinet{min-width:790px}.columns-9 .machine-feet{min-width:790px}.wide-machine .glass{padding:12px 11px 5px;background:#1b2c30;border-color:#60736f}.wide-machine .slot{height:115px;min-height:115px;padding:7px 5px 8px;border-radius:5px;justify-content:flex-start}.wide-machine .slot-picture{height:63px;margin-top:12px;margin-bottom:3px}.wide-machine .product-illustration{height:62px;width:45px}.wide-machine .slot-name{font-size:9px;line-height:1.4}.wide-machine .slot-price{font-size:9px;margin-top:3px}.wide-machine .slot-number{font-size:9px;width:20px;height:16px;top:6px;left:6px}.wide-machine .slot-quantity{font-size:8px;right:6px;top:9px}.wide-machine .slot.empty{background:linear-gradient(125deg,#35464a,#2b3b40);border:1px solid #52686c55;height:100px;min-height:100px;justify-content:center;box-shadow:inset 0 1px 5px #14232850}.wide-machine .slot.empty:after{content:"";position:absolute;bottom:7px;left:13%;right:13%;height:9px;background:repeating-linear-gradient(115deg,transparent 0 8px,#6b7d7d33 9px 10px,transparent 11px 15px);border-bottom:1px solid #657c7a33}.wide-machine .empty-plus{font-size:24px;font-weight:300;line-height:1;margin:2px 0 6px;color:#90aaa9}.wide-machine .empty-label{font-size:8px;color:#839d9d}.wide-machine .shelf-bar{margin:0 0 2px;height:6px;background:linear-gradient(#87958f,#3c514f 60%,#233633);box-shadow:0 3px 5px #0005}.cabinet-brand{font-size:16px;letter-spacing:-.6px;text-transform:none;font-weight:650}.cabinet-tagline{font-size:8px!important;color:#9eb8ae!important;font-weight:400;letter-spacing:.3px;display:inline-block;margin-left:12px}.cabinet-top{margin:0 4px 17px}.cabinet-top small{font-size:8px}.layout-tag{font-size:8px;letter-spacing:.7px;color:#8c9f9b;font-weight:400;margin-left:7px}.wide-machine .machine-caption{text-align:center;line-height:1.7;font-size:10px}.wide-machine .legend{font-size:9px}.wide-machine .collection-tray{height:35px;font-size:7px}.wide-machine .slot.stock-low{background:#fff3dd;border-color:#e5ac58}.wide-machine .slot.stock-low .slot-quantity{color:#a66b1d}.wide-machine .slot.stock-low .status-dot{background:#d99a40}.wide-machine .slot.stock-empty{background:#fff0ed;border-color:#df8a79}.wide-machine .slot.stock-empty .slot-quantity{color:#b65340}.wide-machine .slot.stock-empty .status-dot{background:#cf6d59}.editor-backdrop{position:fixed;inset:0;background:#0b20284a;backdrop-filter:blur(2px);z-index:39}.wide-machine .inspector{position:fixed;top:0;bottom:0;right:0;width:400px;max-width:100vw;height:100dvh;overflow-y:auto;border-radius:14px 0 0 14px;box-shadow:-15px 0 70px #183c3b30;z-index:40;border:0;display:block}.wide-machine .inspector-header{position:sticky;top:0;background:white;z-index:2;padding:22px 25px}.wide-machine .inspector-header .slot-badge{margin-left:auto;margin-right:12px}.wide-machine .inspector-body{display:block;padding:23px 25px 30px}.wide-machine .photo-zone{height:175px}.wide-machine .photo-zone .product-illustration{height:125px;width:95px}.wide-machine .inspector label{font-size:12px;margin-bottom:18px}.wide-machine .inspector input{font-size:13px;padding:11px}.wide-machine .stepper{height:40px}.wide-machine .stepper input{padding:8px}.wide-machine .photo-note{font-size:10px;line-height:1.7}.wide-machine .field-hint,.wide-machine .field-info{font-size:10px;line-height:1.7}.wide-machine .save-button{font-size:12px;padding:14px}.wide-machine .save-note{font-size:10px}.wide-machine .photo-status{font-size:11px}.wide-machine .form-price-label{font-size:9px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:35px}.summary-tile{background:white;border:1px solid var(--line);border-radius:10px;padding:21px;text-align:left;color:var(--ink)}.summary-tile>span{display:flex;align-items:center;gap:8px;color:#7b928a;font-size:11px}.summary-tile .icon{height:16px;width:16px}.summary-tile>strong{font-size:33px;letter-spacing:-1px;font-weight:650;display:block;margin:15px 0 7px}.summary-tile strong em{font-size:11px;font-weight:400;font-style:normal;letter-spacing:0;color:#8b9f97;margin-left:8px}.summary-tile small{font-size:10px;color:#8a9c95}.summary-tile.warning{background:#fff8e9;border-color:#eddbba}.summary-tile.warning strong{color:#ac7c39}.summary-tile:hover:is(button){border-color:#73b4a1}.fleet-heading h2{font-size:19px;font-weight:600;letter-spacing:-.4px}.overview-card{text-align:left}.overview-card-art{position:relative;background:radial-gradient(ellipse at bottom,#dce7e2,#edf3f0)}.overview-capacity{position:absolute;bottom:13px;right:13px;font-size:9px;color:#6e8e81;background:#ffffffa8;padding:4px 7px;border-radius:5px}.fleet-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0 25px}.fleet-tools .search-wrap{width:350px}.filter-tabs{display:flex;background:#e6edeb;border:1px solid #e1e8e5;padding:4px;gap:3px;border-radius:8px;flex-wrap:wrap}.filter-tabs button{padding:9px 14px;font-size:11px;border:0;background:transparent;color:#7d9289;border-radius:5px;white-space:nowrap}.filter-tabs button.active{background:white;color:#28745e;box-shadow:0 2px 6px #20342c0a}.fleet-list{display:grid;gap:12px}.fleet-row{width:100%;display:flex;align-items:center;gap:20px;border:1px solid var(--line);background:white;padding:20px 22px;border-radius:10px;text-align:left}.fleet-row:hover{border-color:#88b4a5;background:#fbfefc}.fleet-machine-icon{background:#e9f1ed;border-radius:8px;color:#648d7d;width:44px;height:48px;display:flex;align-items:center;justify-content:center}.fleet-machine-icon .icon{height:32px;width:27px}.fleet-name{flex:1}.fleet-name strong{font-size:15px;font-weight:600;display:block}.fleet-name small{font-size:11px;color:#8c9d96;display:block;margin-top:6px}.fleet-slots{font-size:16px;font-weight:600}.fleet-slots small{font-size:10px;font-weight:400;color:#92a39a}.fleet-row>.icon{margin-left:10px;color:#8baa9d;width:17px}.draft-badge{background:#f1f2f1;color:#8b9891}.message-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0 25px}.poll-hint{display:flex;gap:7px;align-items:center;font-size:10px;color:#8ba094}.poll-hint .icon{width:13px;height:13px}.message-card{border:1px solid #eddfc7;border-radius:10px;background:#fffdf8;padding:22px;display:flex;align-items:center;gap:17px;margin-bottom:12px}.message-symbol{background:#fbefd7;color:#b88b40;border-radius:10px;height:45px;width:45px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.message-content{flex:1;min-width:0}.message-content h3{font-size:16px;margin:7px 0;font-weight:600;overflow-wrap:anywhere}.message-content p{font-size:12px;color:#8d8c7a;line-height:1.7;margin:0 0 8px;overflow-wrap:anywhere}.message-content small{font-size:9px;color:#a2a392}.message-side{display:flex;flex-direction:column;align-items:flex-end;gap:15px}.message-side .badge{background:#fbebcc;color:#a87931;font-size:10px}.message-card.critical{background:#fff7f5;border-color:#eed1c7}.message-card.critical .message-symbol,.message-card.critical .badge{background:#f9e0d8;color:#b56247}.message-card.resolved{background:white;border-color:var(--line)}.message-card.resolved .message-symbol,.message-card.resolved .badge{background:#e9f2ec;color:#69917e}.message-empty{background:white;border:1px solid var(--line);border-radius:12px;padding:80px 25px;text-align:center;color:#8ca196}.message-empty>.icon{width:45px;height:45px;background:#eaf6ef;color:#76ac92;padding:10px;border-radius:50%;margin-bottom:10px}.message-empty h2{font-size:21px;letter-spacing:-.5px;color:#4c6e5e;font-weight:550}.message-empty p{font-size:12px;line-height:1.8}.table-card .list-table th,.table-card .list-table td{font-size:12px;padding:14px}.table-card .list-table th{font-size:10px}.table-card .name-cell{font-size:12px}.page-heading .search-wrap{align-self:center}.wide-machine .section-title{font-size:12px}.initial-loading h1{font-size:24px}footer{font-weight:600;font-size:10px;letter-spacing:.4px}footer>span{font-weight:400}.sidebar .brand:focus-visible{outline-offset:5px}
@media(min-width:1550px){.wide-machine .cabinet{max-width:1200px}.wide-machine .machine-feet{max-width:1200px}.wide-machine .slot{height:130px;min-height:130px}.wide-machine .slot.empty{height:105px;min-height:105px}.wide-machine .slot-picture{height:74px}.wide-machine .product-illustration{height:70px}.wide-machine .slot-name{font-size:10px}}
#reset-password-dialog{width:520px;max-width:calc(100% - 24px);max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:28px;background:white}#reset-password-dialog::backdrop{background:#10201dcc;backdrop-filter:blur(3px)}#reset-password-dialog h2{margin-top:10px}#reset-password-dialog p{font-size:12px;line-height:1.7;color:var(--muted)}#reset-password-dialog label{display:grid;gap:7px;margin:17px 0;font-size:11px;color:#52666c}#reset-password-dialog input{width:100%;height:44px;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#f5f8f7;color:var(--ink);font:600 15px ui-monospace,monospace;letter-spacing:.3px}#reset-password-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}
.sidebar .account.user-entry{width:100%;border-top:1px solid #ffffff0c;border-radius:0;padding:18px 2px 20px;margin:0;background:transparent;color:#dbe4e7;font-size:10px;gap:9px}.sidebar .account.user-entry:hover{background:#ffffff08;color:white}.user-entry-details{display:grid;gap:3px;flex:1;min-width:0}.user-entry-details small{font-size:8px;color:#80959b}.user-entry-details .user-entry-hint{color:#66cbb7;font-size:8px}.collapsed-brand-mark{display:none}.user-profile-card{display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:900px}.user-profile-card h2{font-size:19px;margin:9px 0 4px}.user-profile-card p{font-size:11px;color:var(--muted);margin:0}.user-profile-actions{display:flex;gap:8px;flex-wrap:wrap}.user-admin td:last-child{white-space:nowrap}.user-admin .section-bar{align-items:center}.user-admin .section-bar p{font-size:11px;color:var(--muted);margin:5px 0}.user-admin td .button{font-size:9px;padding:8px}.sidebar-collapsed .sidebar .account.user-entry{padding:14px 17px;justify-content:center}.sidebar-collapsed .sidebar .account.user-entry .user-entry-details{display:none}.sidebar-collapsed .sidebar .account.user-entry .account-label{display:none}.sidebar-collapsed .brand img{display:none}.sidebar-collapsed .brand{justify-content:center;align-items:center}.sidebar-collapsed .collapsed-brand-mark{display:flex;width:42px;height:42px;align-items:center;justify-content:center}.sidebar-collapsed .collapsed-brand-mark svg{width:40px;height:40px;display:block}
@media(max-width:700px){.user-profile-card{display:block}.user-profile-actions{margin-top:15px}.user-admin .section-bar{align-items:flex-start;flex-direction:column}.user-admin td:last-child{white-space:normal}.user-admin td .button{margin:3px 0}}
@media(max-width:1100px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-tools,.message-toolbar{flex-wrap:wrap}.layout-tag{display:none}.wide-machine .machine-area{padding:18px 12px}.sidebar-note{padding:30px 10px}.vendqube-brand img{width:225px}.fleet-row{gap:14px}.fleet-slots small{display:none}}
@media(max-width:700px){.vendqube-brand img{width:245px}.sidebar{overflow-y:auto}.sidebar-note{padding-top:24px;padding-bottom:35px}.connection-card{margin-top:25px}.summary-grid{gap:10px;margin-bottom:25px}.summary-tile{padding:16px}.summary-tile>span{font-size:10px}.summary-tile>strong{font-size:28px}.summary-tile small{font-size:9px;line-height:1.5}.wide-machine .machine-area{padding:15px 9px}.wide-machine .cabinet{min-width:760px}.wide-machine .machine-feet{min-width:760px}.wide-machine .machine-caption{font-size:9px}.wide-machine .legend{gap:10px;font-size:8px}.wide-machine .inspector{width:100%;max-width:430px;border-radius:12px 0 0 12px}.wide-machine .inspector-body{padding:20px}.wide-machine .photo-zone{height:150px}.fleet-tools{gap:15px}.fleet-tools .search-wrap{width:100%;margin:0}.filter-tabs button{font-size:10px;padding:8px 11px}.fleet-row{padding:15px 12px;gap:11px}.fleet-machine-icon{width:34px;height:40px}.fleet-name strong{font-size:12px}.fleet-name small{font-size:9px}.fleet-slots{display:none}.fleet-row>.icon{margin-left:0}.fleet-row .badge{font-size:8px}.message-toolbar{gap:13px}.poll-hint{font-size:9px}.message-card{padding:16px 13px;gap:10px;align-items:flex-start;flex-wrap:wrap}.message-content h3{font-size:14px}.message-content p{font-size:11px}.message-symbol{height:35px;width:35px}.message-side{width:100%;flex-direction:row;justify-content:flex-end;align-items:center}.message-empty{padding:50px 18px}.message-empty h2{font-size:18px}.table-card .list-table td{font-size:10px;padding:12px 8px}.table-card .name-cell{font-size:10px}.table-card .list-table th{font-size:9px}.fleet-heading h2{font-size:16px}.topbar-right{gap:7px}.notification-button .icon{width:17px;height:17px}.qa-chip{font-size:7px}}
.wide-machine .slot{height:130px;min-height:130px}.message-card.info{background:#f7fbfa;border-color:#dce9e5}.message-card.info .message-symbol,.message-card.info .badge{background:#e6f3ec;color:#648b7a}.message-card.info .message-content p{color:#7b9387}@media(max-width:1100px){.cabinet-scroll:after{content:"↔ Seitlich scrollen für alle neun Fächer der Reihe";display:block;position:sticky;left:0;font-size:9px;color:#72928a;margin-top:12px;text-align:center}}
.catalog-tools{display:flex;gap:22px;align-items:flex-end;justify-content:space-between;margin:20px 0}.catalog-tools>label{margin:0;min-width:310px;font-size:11px}.catalog-tools select{font-size:12px}.catalog-tools .search-wrap{width:290px}.catalog-context{font-size:11px;color:#789489;margin:0 0 12px}.catalog-group th{background:#edf5f0;color:#42735f!important;font-size:12px!important;font-weight:600!important;padding:16px!important}@media(max-width:700px){.catalog-tools{display:block}.catalog-tools>label{min-width:0}.catalog-tools .search-wrap{width:100%;margin-top:15px}}
.sidebar{overflow-y:auto}.vendqube-brand{flex-shrink:0}.unmapped-note{margin-top:20px;padding:15px;background:#fff5e2;border:1px solid #ebddbe;border-radius:8px;display:flex;gap:10px;color:#a08b63;font-size:10px;line-height:1.7}.unmapped-note p{margin:5px 0 10px}.unmapped-note .button{font-size:10px}.unmapped-note>.icon{width:16px;height:16px;flex-shrink:0}.columns-9 .slot.empty{height:100px;min-height:100px}@media(max-height:850px){.sidebar-note{display:none}.vendqube-brand{margin-bottom:26px}}
.age-control{background:#f3f7f5;border:1px solid #dce8e1;border-radius:8px;padding:14px;margin:0 0 20px}.wide-machine .age-switch{display:flex;align-items:center;gap:12px;position:relative;margin:0;cursor:pointer}.age-switch>span:first-child{flex:1}.age-switch strong{font-size:12px;color:#426555;display:block}.age-switch small{font-size:9px;color:#81978c;font-weight:400;display:block;margin-top:5px;line-height:1.5}.age-switch input{position:absolute;opacity:0;right:0;width:43px!important;height:26px;padding:0!important;margin:0!important}.switch-track{width:43px;height:25px;background:#bbc9c1;border-radius:20px;position:relative;flex-shrink:0;transition:background .15s}.switch-track:after{content:"";position:absolute;left:3px;top:3px;width:19px;height:19px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.age-switch input:checked+.switch-track{background:#0d9488}.age-switch input:checked+.switch-track:after{transform:translateX(18px)}.age-switch input:focus-visible+.switch-track{outline:3px solid #7bd9be;outline-offset:3px}.age-control p{font-size:10px;line-height:1.7;color:#809487;margin:12px 0 0}.save-confirmation{margin:20px 24px 0;padding:18px 15px;border-radius:9px;border:1px solid #8fc8a7;background:#e9f7ed;display:flex;gap:12px;align-items:flex-start;color:#285d3a}.success-icon{width:30px;height:30px;border-radius:50%;background:#448f62;color:white;display:flex;align-items:center;justify-content:center;flex-shrink:0}.success-icon .icon{width:17px;height:17px}.save-confirmation strong{font-size:14px;line-height:1.5}.save-confirmation p{font-size:12px;margin:7px 0}.save-confirmation small{font-size:10px;line-height:1.6;color:#639471}.save-button .loader{width:17px;height:17px;border-color:#ffffff55;border-top-color:white}.save-progress{padding:12px;background:#edf6f1;border-radius:7px}.sidebar-collapsed .sidebar{width:80px;padding-left:13px;padding-right:13px}.sidebar-collapsed main{margin-left:80px}.sidebar-collapsed .sidebar .nav-label,.sidebar-collapsed .sidebar-label,.sidebar-collapsed .sidebar-note,.sidebar-collapsed .account>div,.sidebar-collapsed .account-label,.sidebar-collapsed .connection-card>div,.sidebar-collapsed .connection-card>span:last-child{display:none}.sidebar-collapsed .sidebar .nav-item{padding:14px 17px;position:relative;gap:0}.sidebar-collapsed .sidebar .nav-count{position:absolute;right:1px;top:2px;font-size:8px;padding:1px 3px;border:0}.sidebar-collapsed .brand{width:48px;height:53px;justify-content:flex-start;border-radius:8px;margin-bottom:34px}.sidebar-collapsed .brand img{width:235px;margin-left:-15px}.sidebar-collapsed .connection-card{padding:18px 0;justify-content:center}.sidebar-collapsed .account{justify-content:center}.sidebar-collapsed .toast{left:calc(50% + 40px)}@media(max-width:700px){#collapse-menu{display:none}.sidebar-collapsed main{margin-left:0}.sidebar-collapsed .sidebar{width:248px;padding-left:18px;padding-right:18px}.sidebar-collapsed .sidebar .nav-label,.sidebar-collapsed .sidebar-label,.sidebar-collapsed .account>div,.sidebar-collapsed .account-label,.sidebar-collapsed .connection-card>div,.sidebar-collapsed .connection-card>span:last-child{display:initial}.sidebar-collapsed .sidebar .nav-item{padding:14px 13px;gap:13px}.sidebar-collapsed .sidebar .nav-count{position:static;margin-left:auto;font-size:10px;padding:2px 5px}.sidebar-collapsed .brand{width:auto;height:85px;justify-content:center;margin-bottom:26px}.sidebar-collapsed .brand img{width:245px;margin-left:0}.sidebar-collapsed .connection-card{padding:13px 11px;justify-content:flex-start}.sidebar-collapsed .account{justify-content:flex-start}.sidebar-collapsed .toast{left:50%}}
/* Keep the cabinet stationary while editing and mark age-restricted slots. */
html{scrollbar-gutter:stable}
body.editor-open{position:fixed;width:100%;overflow:hidden;overscroll-behavior:none}
.wide-machine .inspector{overscroll-behavior-y:contain;touch-action:pan-y}
.editor-backdrop{overscroll-behavior:none;touch-action:none}
.vendqube-brand,.sidebar-collapsed .brand{background:transparent;border-radius:0;box-shadow:none}
.age-control.age-active{background:#fff0ef;border-color:#e3a5a1}
.age-control.age-active .age-switch strong{color:#b33d38}
.age-control.age-active .age-switch small,.age-control.age-active p{color:#a56862}
.age-switch input:checked+.switch-track{background:#c94740}
.age-switch input:focus-visible+.switch-track{outline-color:#e6a29e}
.slot-age-badge{position:absolute;right:5px;bottom:6px;display:flex;align-items:center;justify-content:center;width:17px;height:19px;border-radius:4px;background:#fff0ec;color:#bd4740;border:1px solid #e7bbb5}
.slot-age-badge .icon{width:11px;height:13px;stroke-width:1.9}
.slot-age-badge:before{content:attr(title);position:absolute;right:0;bottom:24px;white-space:nowrap;padding:6px 8px;border-radius:4px;background:#713c36;color:white;font-size:9px;opacity:0;pointer-events:none;transition:opacity .1s}
.slot-age-badge:hover:before,.slot:focus-visible .slot-age-badge:before{opacity:1}
/* Puff-Haven concept illustration in the fleet overview. */
.overview-card-art{height:250px;overflow:hidden;background:#18292c;display:flex;align-items:center;justify-content:center}
.overview-card-art .fleet-machine-photo{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s}
.overview-card:hover .fleet-machine-photo{transform:scale(1.025)}
.overview-card.draft .overview-card-art{opacity:1}
.fleet-art-label{position:absolute;top:10px;left:10px;font-size:8px;color:#d3e4df;background:#18292cbd;border-radius:4px;padding:4px 6px}
.overview-capacity{color:#d3e4df;background:#18292cdd}
.fleet-machine-thumbnail{width:62px;height:82px;overflow:hidden;background:#18292c;flex-shrink:0}
.fleet-machine-thumbnail img{width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.overview-card-art{height:190px}.fleet-machine-thumbnail{width:47px;height:66px}}
/* Compact fleet cards and responsive, readable compartment layout. */
.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.overview-card{display:grid;grid-template-columns:145px minmax(0,1fr);padding:0;overflow:hidden;align-items:stretch;background:white;border:1px solid var(--line)}
.overview-card-art{height:220px;background:#14292c!important;border-radius:0;position:relative}
.overview-card-art .fleet-machine-photo{object-fit:contain;width:100%;height:100%}
.overview-card-body{padding:24px 20px;align-self:center;min-width:0}
.overview-card-body h3{margin:0 0 8px;font-size:19px}
.overview-card-body p{font-size:11px;line-height:1.6;margin:0 0 12px}
.overview-card .overview-capacity,.overview-card .fleet-art-label{display:none}
.fleet-metrics{display:flex;gap:15px;margin:19px 0 10px;font-size:19px}
.fleet-metrics small{font-size:10px;font-weight:400;color:var(--muted)}
.fleet-fill{width:100%;height:7px;accent-color:var(--teal)}
.wide-machine .cabinet,.wide-machine .machine-feet{max-width:900px;min-width:0;margin-left:auto;margin-right:auto}
.columns-9 .slot-grid{gap:8px 5px;grid-template-columns:repeat(9,minmax(0,1fr))}
.wide-machine .slot{height:105px;min-height:105px}.wide-machine .slot-picture{height:53px}.wide-machine .product-illustration{height:51px}
.wide-machine .slot.empty{height:90px;min-height:90px}.mobile-row-label{display:none}
.editor-tabs{display:flex;gap:4px;margin:15px 24px 0;padding:4px;background:#edf3f1;border-radius:8px}
.editor-tabs button{flex:1;border:0;border-radius:5px;padding:11px 5px;background:transparent;font-size:11px;color:#71867f}
.editor-tabs button[aria-selected=true]{background:white;color:#215b4d;box-shadow:0 1px 5px #18292c10}
#empty-panel p{font-size:12px;line-height:1.8;color:var(--muted)}
.clear-slot-button{border:1px solid #dfbcb1;background:#fff1ec;color:#a34732;width:100%;justify-content:center;margin-top:15px}
@media(min-width:701px) and (max-width:1100px){.wide-machine .cabinet{padding:12px}.wide-machine .slot{padding-left:3px;padding-right:3px}.wide-machine .slot-name{font-size:8px}.wide-machine .slot-quantity{font-size:7px}.wide-machine .slot-number{left:3px}.cards{grid-template-columns:1fr}}
@media(max-width:700px){.cards{grid-template-columns:1fr}.overview-card{grid-template-columns:115px minmax(0,1fr)}.overview-card-art{height:180px}.overview-card-body{padding:17px 14px}.overview-card-body h3{font-size:17px}.fleet-metrics{gap:10px;font-size:17px}.wide-machine .machine-area{padding:12px 8px}.wide-machine .cabinet,.wide-machine .machine-feet{min-width:0;max-width:430px}.wide-machine .cabinet{padding:12px 10px}.columns-9 .slot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wide-machine .slot,.wide-machine .slot.empty{height:115px;min-height:115px}.wide-machine .slot-name{font-size:10px}.wide-machine .slot-price{font-size:10px}.wide-machine .slot-picture{height:60px}.mobile-row-label{display:block;grid-column:1/-1;color:#a9c3ba;font-size:10px;padding:12px 0 4px;text-align:left}.cabinet-tagline{display:none!important}.wide-machine .inspector{width:100%;max-width:100%;border-radius:0}.cabinet-scroll{padding:0 0 8px;overflow-x:hidden}}
/* Readable names, a slimmer cabinet and visible transfer feedback. */
@media(min-width:701px){.wide-machine .cabinet,.wide-machine .machine-feet{max-width:800px}}
.wide-machine .slot:not(.empty){height:155px;min-height:155px;display:grid;grid-template-rows:48px 42px 17px;gap:4px;align-content:start;justify-items:center;padding:26px 5px 8px}
.wide-machine .slot-picture{height:48px;width:100%;margin:0;min-height:0;display:flex;justify-content:center;align-items:center}
.wide-machine .slot-picture .product-illustration{height:46px;width:36px}
.wide-machine .slot-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:14px;height:42px;max-height:42px;width:100%;margin:0;flex-shrink:0}
.wide-machine .slot-price{font-size:10px;line-height:17px;margin:0;align-self:end}
.wide-machine .slot-age-badge{top:6px;bottom:auto;left:28px;right:auto;width:13px;height:15px}
.wide-machine .slot-age-badge .icon{width:10px;height:11px}
.wide-machine .slot-quantity{right:4px;top:9px;font-size:8px}.wide-machine .slot-quantity .status-dot{display:none}
.transfer-status{position:sticky;top:88px;z-index:3;margin:16px 24px 0;padding:16px;background:#eaf5f1;border:1px solid #a7cdbd;border-radius:8px;color:#285e4b;font-size:12px;line-height:1.6;box-shadow:0 3px 15px #17342b0d}
.transfer-status small{display:block;margin-top:8px;font-size:10px}.transfer-status.failed{background:#fff0eb;border-color:#dfafa3;color:#9b4335}.transfer-status.complete{background:#e9f7ed;border-color:#8fc8a7}
.transfer-track{height:6px;margin-top:12px;border-radius:8px;background:#c7e1d8;overflow:hidden}.transfer-track span{display:block;width:35%;height:100%;border-radius:8px;background:#168a73;animation:vq-transfer 1.2s ease-in-out infinite}
@keyframes vq-transfer{from{transform:translateX(-100%)}to{transform:translateX(390%)}}
@media(prefers-reduced-motion:reduce){.transfer-track span{animation:none;width:100%;opacity:.65}}
@media(max-width:700px){.wide-machine .slot:not(.empty){height:155px;min-height:155px}.wide-machine .slot-name{font-size:11px}.transfer-status{margin-left:20px;margin-right:20px}}
.wide-machine .slot.empty{height:155px;min-height:155px}
/* Stock-based replenishment, independent from sales analytics. */
.insights-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 24px}.insights-controls label,.refill-list-tools label{font-size:11px;font-weight:600;display:grid;gap:8px;min-width:230px}.insights-controls select,.refill-list-tools select{padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);max-width:100%}.insights-controls p,.insights-section>p,.refill-actions p,.print-heading p{font-size:11px;color:var(--muted);line-height:1.8}.insights-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.insights-section{margin:28px 0}.insights-section h2{font-size:18px;font-weight:600;margin:0 0 14px}.sales-pending{padding:22px;border:1px solid var(--line);background:white;border-radius:10px;display:flex;gap:15px;color:#607b70}.sales-pending p{font-size:12px;line-height:1.8;margin:8px 0 0}.sales-pending strong{font-size:13px}.sales-pending>.icon{flex-shrink:0}.refill-table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:10px}.refill-table td,.refill-table th{font-size:12px;white-space:normal}.refill-table td:first-child small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.refill-product{display:flex;align-items:center;gap:12px;min-width:170px}.refill-product img,.refill-product .product-illustration{width:36px;height:45px;object-fit:contain;flex-shrink:0}.refill-product strong{overflow-wrap:anywhere;font-size:12px}.refill-empty{background:#fff1ec}.refill-low{background:#fff8e9}.refill-actions,.refill-list-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.refill-list-tools{padding:18px 0;border-top:1px solid var(--line);margin-top:12px;justify-content:flex-start}.print-heading{padding:20px 0 8px}.print-heading h2{margin:0}.refill-table .button{font-size:10px;padding:9px;white-space:nowrap}
@media(max-width:700px){.insights-controls{align-items:stretch;flex-direction:column;gap:8px}.insights-summary{grid-template-columns:1fr}.refill-actions{align-items:stretch;flex-direction:column}.refill-list-tools>*{width:100%;min-width:0}.refill-table td,.refill-table th{font-size:10px;padding:12px 9px}.refill-product{min-width:145px}.refill-product strong{font-size:11px}.insights-section .message-empty{padding:28px 18px}}
@media print{body.printing-refill{background:white!important;color:black!important}.printing-refill .sidebar,.printing-refill .topbar,.printing-refill footer,.printing-refill #toast,.printing-refill #offline-banner,.printing-refill .no-print{display:none!important}.printing-refill main{margin:0!important}.printing-refill #content{padding:0!important}.printing-refill #content>:not(.insights-section:last-child){display:none!important}.printing-refill #refill-list{display:block!important}.printing-refill .insights-section{margin:0}.printing-refill .refill-table-wrap{overflow:visible;border:0}.printing-refill .refill-table{width:100%;border-collapse:collapse}.printing-refill .refill-table th,.printing-refill .refill-table td{padding:9px 7px;color:black;font-size:10pt;border-bottom:1px solid #ccc}.printing-refill .refill-product{min-width:0}.printing-refill .refill-table tr{break-inside:avoid}.printing-refill .refill-table thead{display:table-header-group}.printing-refill .print-heading p{color:#444}.printing-refill .refill-empty,.printing-refill .refill-low{background:white}}

#photo-input[hidden]{display:none!important}
.local-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 30px}.local-product-card{display:flex;gap:18px;align-items:center;background:white;border:1px solid var(--line);border-radius:10px;padding:20px;min-width:0}.local-product-picture{width:70px;height:100px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.local-product-picture img,.local-product-picture .product-illustration{width:65px;height:90px;object-fit:contain}.local-product-card h3{font-size:15px;overflow-wrap:anywhere;margin:10px 0}.local-product-card p{font-size:11px;color:var(--muted);line-height:1.7}.local-product-actions{display:flex;gap:8px;flex-wrap:wrap}.local-product-actions .button{font-size:10px;padding:9px}.local-catalog-divider{border:0;border-top:1px solid var(--line);margin:36px 0}.local-search{max-width:100%;width:360px}.local-product-grid>.message-empty{grid-column:1/-1}#local-product-dialog{width:520px;max-width:calc(100% - 24px);max-height:90dvh;overflow-y:auto}#local-product-dialog p{font-size:12px;line-height:1.7;color:var(--muted)}#local-product-dialog label{display:grid;gap:8px;margin-bottom:17px;font-size:12px}#local-product-dialog .local-age{display:flex;align-items:center;gap:10px}#local-product-dialog .local-age input{width:18px;height:18px;accent-color:#c94740}#local-product-status{color:#a64b36!important}#local-product-dialog input[type=file]{font-size:11px}
@media(max-width:1000px){.local-product-grid{grid-template-columns:1fr}}@media(max-width:700px){.local-product-card{padding:16px;gap:12px}.local-product-actions .button{font-size:10px}.local-product-picture{width:50px}.local-product-picture img{max-width:50px}}
.local-delete{background:#fff2ee;color:#a44936;border:1px solid #eac7bd}.local-trash{margin:20px 0;font-size:12px;color:var(--muted)}.local-trash summary{cursor:pointer;padding:12px 0}.local-trash>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid var(--line)}.local-trash>div>span{overflow-wrap:anywhere}.local-trash .button{font-size:11px;flex-shrink:0}
.local-catalog-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:white;margin:20px 0}.local-catalog-table td,.local-catalog-table th{padding:12px 14px;font-size:11px;vertical-align:middle}.local-catalog-table th{font-size:10px;white-space:nowrap}.local-list-name{display:flex;align-items:center;gap:12px;min-width:170px}.local-list-name img,.local-list-name .product-illustration{width:34px;height:43px;object-fit:contain;flex-shrink:0}.local-list-name strong{font-size:12px;overflow-wrap:anywhere;max-width:270px;line-height:1.5}.local-catalog-table .local-product-actions{gap:6px;flex-wrap:nowrap}.local-catalog-table .local-product-actions .button{white-space:nowrap;font-size:10px;padding:8px}.local-catalog-empty{padding:30px 18px!important;text-align:center;color:var(--muted);line-height:1.8}.age-list-badge{background:#fff0ec;color:#a34c39;font-size:9px}.local-catalog-table td:nth-child(3),.local-catalog-table td:nth-child(4){white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:700px){.local-catalog-table td,.local-catalog-table th{padding:10px;font-size:10px}.local-list-name{min-width:150px}.local-list-name strong{font-size:11px}.local-catalog-table .local-product-actions{flex-wrap:wrap;min-width:120px}}
#content .auth-wrap{min-height:calc(100vh - 75px);display:grid;place-items:center;padding:28px}.auth-locked .sidebar,.auth-locked .topbar,.auth-locked footer,.auth-locked #offline-banner{display:none!important}.auth-locked main{margin-left:0!important}.auth-locked #content{padding:0!important}.auth-card{width:min(100%,440px);background:white;border:1px solid var(--line);border-radius:16px;padding:36px;box-shadow:0 22px 70px #1b3a3420;display:grid;gap:15px}.auth-card>img{width:190px;max-height:80px;object-fit:contain;object-position:left;margin-bottom:8px}.auth-card h1{font-size:27px;letter-spacing:-.8px;margin:0}.auth-card>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.auth-card label{display:grid;gap:7px;font-size:11px;font-weight:600;color:#52666c}.auth-card input,#user-dialog input,#password-dialog input{width:100%;height:44px;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#fff;color:var(--ink)}.auth-card small{font-size:10px;color:var(--muted)}.auth-error{font-size:11px!important;color:#a34336!important;background:#fff0ed;padding:10px;border-radius:6px}.auth-submit{width:100%;justify-content:center;margin-top:4px}.auth-footnote{text-align:center;color:#829892;font-size:9px;letter-spacing:.4px;margin-top:4px}.account-actions{display:flex;gap:7px;padding:0 0 17px}.account-actions .button{font-size:9px;padding:8px 9px;flex:1;justify-content:center;background:#23343a;border-color:#405159;color:#c9d5d8}.account-actions .button:hover{border-color:#5a887c;color:white}.role-hidden{display:none!important}.employee-mode .sidebar-note{display:none}.employee-mode .connection-card{margin-top:auto}.refill-history{border:1px solid var(--line);background:white;border-radius:9px;padding:4px 15px}.refill-history>div{display:flex;align-items:center;gap:20px;padding:13px 2px;border-bottom:1px solid var(--line)}.refill-history>div:last-child{border-bottom:0}.refill-history span{flex:1;min-width:0}.refill-history strong,.refill-history small{display:block}.refill-history small{font-size:10px;color:var(--muted);margin-top:4px}.refill-history b{font-size:11px;color:#43886c;white-space:nowrap}.refill-history time{font-size:9px;color:var(--muted);white-space:nowrap}.user-admin .section-bar{align-items:center}.user-admin .section-bar p{font-size:11px;color:var(--muted);margin:5px 0}.user-admin td .button{font-size:9px;padding:8px}#user-dialog,#password-dialog{width:520px;max-width:calc(100% - 24px);max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:28px;background:white}#user-dialog::backdrop,#password-dialog::backdrop{background:#10201dcc;backdrop-filter:blur(3px)}#user-form label,#password-form label{display:grid;gap:7px;margin:17px 0;font-size:11px;color:#52666c}#user-dialog h2,#password-dialog h2{margin-top:10px}
@media(max-width:700px){#content .auth-wrap{min-height:100vh;padding:18px}.auth-card{padding:26px 22px}.refill-history>div{gap:10px;flex-wrap:wrap}.refill-history time{width:100%;margin-left:0}.account-actions{padding-bottom:12px}}

/* Mobile readability: use the viewport width, readable controls and stacked catalog rows. */
@media(max-width:700px){
  body{font-size:16px}
  .topbar{height:64px;padding:0 16px}
  .breadcrumb{font-size:12px;gap:9px}
  .qa-chip{font-size:10px;padding:7px 9px}
  #content{padding:22px 16px 34px}
  .page-heading{gap:12px;margin-bottom:22px}
  .page-heading h1{font-size:30px;line-height:1.16}
  .subtitle{font-size:15px;line-height:1.6;max-width:none}
  .eyebrow{font-size:10px;letter-spacing:1.5px}
  .heading-actions .button{min-height:44px;padding:10px 13px;font-size:13px}
  .heading-actions .button .icon{width:16px;height:16px}
  input,select{font-size:16px;min-height:48px;padding:11px 13px}
  .button{min-height:44px;font-size:13px;padding:10px 13px}
  .search-wrap{min-height:50px;gap:10px;padding:0 13px}
  .search-wrap input{min-height:46px;margin:0}
  .local-search{width:100%;margin:14px 0}
  .local-catalog-divider{margin:28px 0}
  .local-catalog-table-wrap{overflow:visible;border:0;background:transparent;margin:14px 0 22px}
  .local-catalog-table{display:block;width:100%;min-width:0;border:0;border-spacing:0}
  .local-catalog-table thead{display:none}
  .local-catalog-table tbody{display:grid;gap:12px}
  .local-catalog-table .local-catalog-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px;box-shadow:0 2px 8px #18272d08}
  .local-catalog-table .local-catalog-row>td{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;padding:10px 8px;border:0;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
  .local-catalog-table .local-catalog-row>td::before{content:attr(data-label);font-size:11px;font-weight:650;color:var(--muted);letter-spacing:.15px}
  .local-catalog-table .local-catalog-row>td[data-label="Produkt"],.local-catalog-table .local-catalog-row>td[data-label="Aktionen"]{grid-column:1/-1}
  .local-list-name{min-width:0;gap:12px}
  .local-list-name img,.local-list-name .product-illustration{width:42px;height:54px}
  .local-list-name strong{max-width:none;font-size:16px;line-height:1.4}
  .local-catalog-table .local-product-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .local-catalog-table .local-product-actions .button{white-space:normal;min-height:44px;font-size:13px;padding:9px 10px}
  .local-catalog-table .local-catalog-empty{display:block;grid-column:1/-1;padding:22px 16px!important;font-size:14px;line-height:1.65;background:#fff;border:1px solid var(--line);border-radius:12px}
  .catalog-tools>label{font-size:14px}
  .catalog-tools select{font-size:16px}
  .catalog-tools .search-wrap{width:100%;margin-top:14px}
  .catalog-context{font-size:14px;margin-bottom:14px}
  .table-card .list-table{min-width:620px}
  .table-card .list-table th{font-size:12px;padding:14px 12px}
  .table-card .list-table td{font-size:14px;padding:14px 12px}
  .table-card .name-cell{font-size:14px;gap:10px}
  .table-card .name-cell img,.table-card .name-cell .product-illustration{width:30px;height:40px}
  .table-card .list-table .button{min-height:42px;font-size:12px;padding:9px 11px}
  .catalog-help{font-size:12px;line-height:1.7}
  .fleet-name strong,.overview-card h3{font-size:15px}
  .fleet-name small,.overview-card p{font-size:12px}
  .info-strip,.banner{font-size:12px;line-height:1.6}
  .footer-right,footer>span{font-size:10px}
  #local-product-dialog{width:calc(100% - 20px);max-width:520px;max-height:calc(100dvh - 20px);padding:22px 18px}
  #local-product-dialog label{font-size:14px;margin-bottom:16px}
  #local-product-dialog input[type=file]{font-size:14px}
  #content .auth-wrap{min-height:100vh;min-height:100svh;min-height:100dvh;padding:16px}
  .auth-card{width:100%;max-width:540px;padding:clamp(24px,6vw,38px);gap:19px;border-radius:20px}
  .auth-card>img{width:220px;max-height:90px;margin-bottom:4px}
  .auth-card h1{font-size:30px;line-height:1.2}
  .auth-card>p{font-size:16px;line-height:1.6}
  .auth-card label{font-size:14px;gap:8px}
  .auth-card input,#user-dialog input,#password-dialog input{height:54px;font-size:16px;padding:0 14px;border-radius:10px}
  .auth-card small{font-size:13px;line-height:1.5}
  .auth-error{font-size:14px!important;padding:12px}
  .auth-submit{min-height:54px;font-size:16px}
  .auth-footnote{font-size:12px}
}
@media(max-width:380px){
  .topbar{padding:0 11px}
  .topbar-right{gap:6px}
  .qa-chip{font-size:9px;padding:6px 7px}
  #content{padding-left:12px;padding-right:12px}
  .page-heading h1{font-size:27px}
  .heading-actions .button{font-size:12px;padding:9px 10px}
  .local-catalog-table .local-product-actions{grid-template-columns:1fr}
}

/* A compact machine park: cards use the desktop width, but stay readable on phones. */
.fleet-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fleet-row{display:grid;grid-template-columns:62px minmax(0,1fr) 20px;align-items:center;gap:14px;min-height:126px;padding:15px 16px;position:relative}
.fleet-machine-thumbnail{width:62px;height:84px;border-radius:8px}
.fleet-main{display:grid;gap:8px;min-width:0}
.fleet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.fleet-machine-title{font-size:16px;font-weight:650;overflow-wrap:anywhere}
.fleet-heading .badge{flex-shrink:0;margin:0;font-size:10px}
.fleet-subtitle{font-size:12px;color:#82938e;overflow-wrap:anywhere}
.fleet-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fleet-slots{display:block;font-size:14px;font-weight:650;white-space:nowrap}
.fleet-slots small{display:inline;color:#82938e;font-size:11px;font-weight:400}
.fleet-progress{height:6px;border-radius:99px;background:#e8efed;display:block;overflow:hidden}
.fleet-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d9488,#54c7a5);transition:width .2s ease}
.fleet-row.draft .fleet-progress>span{background:#b7c4c3}
.fleet-arrow{color:#8ba39b;display:flex;align-items:center;justify-content:center}
@media(min-width:1500px){.fleet-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
  .fleet-list{grid-template-columns:1fr;gap:10px}
  .fleet-row{grid-template-columns:46px minmax(0,1fr) 18px;min-height:105px;padding:12px;gap:11px}
  .fleet-machine-thumbnail{width:46px;height:64px}
  .fleet-main{gap:6px}
  .fleet-heading{flex-wrap:wrap;justify-content:flex-start;gap:5px 8px}
  .fleet-machine-title{font-size:15px}
  .fleet-heading .badge{font-size:10px}
  .fleet-subtitle{font-size:12px;line-height:1.35}
  .fleet-slots{display:block;font-size:13px}
  .fleet-slots small{display:inline;font-size:11px}
  .fleet-row .fleet-arrow .icon{width:17px;height:17px}
}
@media(max-width:380px){.fleet-row{grid-template-columns:40px minmax(0,1fr) 16px;padding:10px;gap:9px}.fleet-machine-thumbnail{width:40px;height:58px}.fleet-heading .badge{font-size:9px}.fleet-slots{font-size:12px}.fleet-slots small{font-size:10px}}

/* Mobile navigation and machine layout refinements */
.sidebar-backdrop,.sidebar-close{display:none}
.product-autocomplete{display:block;position:relative;width:100%;z-index:5}
.product-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:min(280px,38dvh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #cbdad5;border-radius:9px;box-shadow:0 12px 30px #17352b24;z-index:15;padding:5px}
.product-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:0;border-radius:6px;background:white;text-align:left;color:var(--ink)}
.product-suggestion:hover,.product-suggestion:focus-visible{background:#eef7f3;outline:none}
.product-suggestion strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.product-suggestion small{font-size:10px;color:var(--muted);flex-shrink:0}
@media(max-width:700px){
  body.mobile-nav-open{overflow:hidden}
  .sidebar{width:min(84vw,320px);z-index:40}
  .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:30;border:0;padding:0;background:rgba(8,23,29,.54);backdrop-filter:blur(2px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
  body.mobile-nav-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  .sidebar-close{position:absolute;top:19px;right:14px;z-index:2;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff25;border-radius:10px;background:#ffffff0c;color:#c5d4d6}
  .sidebar-close .icon{width:20px;height:20px}
  .machine-page-heading{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:13px;margin-bottom:17px}
  .machine-page-heading>div:first-child{min-width:0}
  .machine-page-heading h1{font-size:clamp(25px,7vw,32px);line-height:1.12;overflow-wrap:anywhere;margin:8px 0}
  .machine-page-heading .subtitle{max-width:none;font-size:13px;line-height:1.55}
  .machine-page-heading .heading-actions{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);width:100%;gap:9px;flex-direction:initial}
  .machine-page-heading .heading-actions .button{min-width:0;width:100%;min-height:44px;justify-content:center;white-space:normal;font-size:11px;line-height:1.25;padding:9px 7px}
  .machine-page-heading .heading-actions .button .icon{width:15px;height:15px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}
  .stats .stat{min-width:0;display:flex;align-items:center;gap:9px;padding:12px 11px}
  .stats .stat:nth-child(3){grid-column:1/-1}
  .stats .stat-icon{display:flex;width:30px;height:30px;flex:0 0 30px}
  .stats .stat-icon .icon{width:15px;height:15px}
  .stats .stat-label{font-size:9px;line-height:1.35}
  .stats .stat-value{font-size:21px;line-height:1.2}
  .stats .stat-value small{font-size:9px}
  .stats .stat-end{display:none}
  .wide-machine .machine-area{padding:13px 10px}
  .wide-machine .cabinet,.wide-machine .machine-feet{min-width:790px;max-width:none}
  .columns-9 .slot-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:8px 6px}
  .cabinet-scroll{width:100%;overflow-x:auto;overflow-y:hidden;touch-action:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9fb4b0 transparent;padding:0 0 9px}
  .cabinet-scroll:after{content:"← Seitlich wischen für alle 9 Fächer dieser Reihe →";position:sticky;left:0;display:block;width:min(calc(100vw - 52px),430px);text-align:center;font-size:11px;color:#61847a;background:linear-gradient(90deg,#eaf0f0 82%,transparent);padding:10px 0 3px}
  .wide-machine .machine-caption{font-size:10px;line-height:1.6}
  .wide-machine .legend{font-size:9px;flex-wrap:wrap}
  .wide-machine .inspector input:not([type="checkbox"]){font-size:16px!important}
  .product-suggestion{min-height:48px;padding:12px}
}
@media(max-width:380px){
  .machine-page-heading .heading-actions{grid-template-columns:1fr 1fr;gap:7px}
  .machine-page-heading .heading-actions .button{font-size:10px;padding:8px 5px}
  .stats .stat{gap:7px;padding:11px 9px}
  .stats .stat-icon{width:27px;height:27px;flex-basis:27px}
}

/* Puff-Haven branded machine artwork in the fleet */
.overview-card-art{background:radial-gradient(ellipse at 52% 48%,#34484b 0%,#223438 56%,#172428 100%)!important}
.overview-card-art .fleet-machine-photo{width:88%;height:94%;object-fit:contain;filter:drop-shadow(0 12px 15px #08131699)}

/* Phone view: show the full nine-column shelf without horizontal scrolling. */
.mobile-machine-hint{display:none}
@media(max-width:700px){
  .mobile-machine-hint{display:block;margin:7px 2px 11px;color:#64827c;font-size:11px;line-height:1.5}
  .wide-machine .machine-area{padding:11px 6px}
  .wide-machine .cabinet,.wide-machine .machine-feet{width:100%;min-width:0;max-width:none}
  .wide-machine .cabinet{padding:11px 7px 9px;border-radius:13px}
  .wide-machine .cabinet-top{margin:0 3px 10px}
  .wide-machine .cabinet-brand{font-size:13px}
  .wide-machine .cabinet-top small{font-size:7px}
  .wide-machine .glass{padding:6px 5px 4px}
  .columns-9 .slot-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:5px 3px}
  .wide-machine .slot,.wide-machine .slot.empty{height:67px;min-height:67px;padding:4px 1px 3px;border-radius:5px}
  .wide-machine .slot:not(.empty){height:67px;min-height:67px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:19px 1px 2px}
  .wide-machine .slot-number{top:3px;left:3px;width:18px;height:16px;font-size:10px;line-height:16px;font-weight:700;color:#355451;background:#e5efee;border-radius:4px}
  .wide-machine .slot-quantity{top:4px;right:2px;font-size:7px;gap:2px}
  .wide-machine .slot-quantity .status-dot{width:4px;height:4px}
  .wide-machine .slot-picture{height:31px;min-height:0;margin:0;display:flex;align-items:center;justify-content:center;flex:0 0 31px}
  .wide-machine .slot-picture img,.wide-machine .slot-picture .product-illustration{width:22px;height:29px;object-fit:contain}
  .wide-machine .slot-name,.wide-machine .slot-price{display:none}
  .wide-machine .slot-age-badge{width:13px;height:13px;right:2px;bottom:2px}
  .wide-machine .slot-age-badge .icon{width:9px;height:9px}
  .wide-machine .empty-plus{font-size:15px;margin:18px 0 2px;line-height:1}
  .wide-machine .empty-label{font-size:6px;line-height:1}
  .wide-machine .slot.empty:after{bottom:3px;height:5px}
  .wide-machine .shelf-bar{height:4px;margin-bottom:1px}
  .mobile-row-label{font-size:11px;font-weight:600;padding:9px 1px 3px}
  .wide-machine .cabinet-base{margin-top:6px}
  .wide-machine .collection-tray{height:27px}
  .wide-machine .machine-feet{display:none}
  .cabinet-scroll{overflow-x:hidden;overflow-y:visible;touch-action:pan-y pinch-zoom}
  .cabinet-scroll:after{display:none}
}
@media(max-width:380px){
  .wide-machine .slot,.wide-machine .slot.empty{height:61px;min-height:61px}
  .wide-machine .slot:not(.empty){height:61px;min-height:61px;padding-top:17px}
  .wide-machine .slot-picture{height:27px;flex-basis:27px}
  .wide-machine .slot-picture img,.wide-machine .slot-picture .product-illustration{width:19px;height:25px}
  .wide-machine .slot-number{width:18px;height:16px;font-size:9px;line-height:16px}
  .wide-machine .slot-quantity{font-size:6.5px}
  .wide-machine .empty-label{font-size:7px}
}

/* A gentle touch response for the Puff-Haven machines on phones. */
@keyframes puffHavenMachineFloat{
  0%,100%{transform:perspective(650px) translateY(0) rotateY(-2.5deg) rotateX(.4deg);filter:drop-shadow(0 9px 12px #08131680)}
  50%{transform:perspective(650px) translateY(-3px) rotateY(2deg) rotateX(-.4deg);filter:drop-shadow(0 12px 15px #00cbb34a)}
}
@media(max-width:700px) and (hover:none) and (pointer:coarse){
  .overview-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;transform-style:preserve-3d}
  .overview-card:active{transform:scale(.985);border-color:#54b8a4;box-shadow:0 8px 24px #0d948826}
  .overview-card-art{isolation:isolate}
  .overview-card-art:before{content:"";position:absolute;z-index:0;inset:12% 16%;border-radius:50%;background:radial-gradient(circle,#21d4bd70 0%,#18bfa63a 35%,transparent 72%);filter:blur(12px);opacity:.45;transition:opacity .2s ease;pointer-events:none}
  .overview-card-art .fleet-machine-photo{position:relative;z-index:1;transform-origin:50% 60%;animation:puffHavenMachineFloat 5.5s ease-in-out infinite;will-change:transform,filter}
  .overview-card:active .overview-card-art:before{opacity:.9}
  .overview-card:active .overview-card-art .fleet-machine-photo{animation-play-state:paused;transform:perspective(650px) translateY(-2px) rotateY(9deg) rotateX(1deg) scale(1.035);filter:drop-shadow(0 0 12px #00dfc5a8)}
  .fleet-row:active .fleet-machine-thumbnail img{transform:perspective(500px) rotateY(10deg) scale(1.05);filter:drop-shadow(0 0 7px #00dfc58a)}
}
@media(prefers-reduced-motion:reduce){
  .overview-card-art .fleet-machine-photo{animation:none!important;will-change:auto}
  .overview-card:active .overview-card-art .fleet-machine-photo{transform:none;filter:drop-shadow(0 6px 8px #08131660)}
}
