:root{--bg:#f5f6f1;--panel:#fff;--ink:#1d3028;--muted:#788079;--green:#214e3b;--lime:#d8efad;--line:#e6e9e0;--danger:#9d342f;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a:hover{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9ebb75;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3.5vw,43px);line-height:1.15;letter-spacing:-1.7px;margin-bottom:12px;font-weight:650}h2{font-size:20px;letter-spacing:-.5px;line-height:1.3;margin-bottom:12px}h3{font-size:16px;line-height:1.35;margin-bottom:8px}p{margin-bottom:16px}small{font-size:12px}hr{width:100%;border:0;border-top:1px solid var(--line);margin:8px 0}code{font-size:12px;background:#f1f4ed;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}em{font-style:normal;color:#5b7a43}.muted,.help{color:var(--muted)}.help{font-size:12px;line-height:1.65}.eyebrow{display:block;font-size:10px;letter-spacing:1.7px;font-weight:700;color:#788775;margin-bottom:14px}.heading-dot{color:#82a962}.brand{display:flex;align-items:center;flex-shrink:0}.brand-logo{display:block;width:225px;height:60px;object-fit:contain}.sidebar .brand-logo{width:180px;max-width:100%;height:auto}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 18px;font-weight:600;font-size:13px;border-radius:9px;border:1px solid transparent;line-height:1.35;text-align:center;transition:background .15s}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#173b2b;color:#fff}.secondary{background:#fff;border-color:#dce3d5;color:var(--green)}.secondary:hover{background:#f1f5ea}.full{width:100%}.text-button{background:none;border:0;color:var(--green);font-size:12px;font-weight:650;white-space:nowrap;padding:5px 0}.button-row{display:flex;flex-wrap:wrap;gap:8px}.icon-button{background:transparent;border:0;font-size:22px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;font-size:10px;font-weight:600;line-height:1.2;border-radius:30px;white-space:nowrap}.green{background:#edf4e6;color:#4b6c33}.gray{background:#f0f1ed;color:#7b8279}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#78a366;margin-right:5px}.count{display:inline-grid;place-items:center;font-size:12px;background:#e9eee2;min-width:25px;min-height:25px;border-radius:7px;vertical-align:middle;margin-left:8px;color:#6d7c60}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin-bottom:24px}.stack{display:flex;flex-direction:column;gap:17px}.stack>p,.stack>h2,.stack>h3{margin-bottom:0}.stack label,label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:12px;min-width:0}input,select,textarea{width:100%;min-height:43px;border:1px solid #dfe4da;border-radius:8px;background:#fff;padding:10px 12px;color:var(--ink);min-width:0}input::placeholder{color:#9aa095;font-weight:400}input:disabled{background:#f6f7f3;color:var(--muted)}input[readonly]{background:#f6f7f3}input[type=checkbox]{accent-color:var(--green);width:17px;min-height:17px;height:17px;flex-shrink:0;margin:2px 0 0}.check{display:flex;flex-direction:row;gap:10px;align-items:flex-start;font-weight:400}.check span{display:flex;flex-direction:column;gap:3px}.check small{color:var(--muted);font-weight:400;line-height:1.55}.check.compact{align-items:center}.check.compact input{margin:0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.alert{padding:14px 18px;border-radius:10px;background:#f7f3de;color:#786a35;border:1px solid #e8dfb9;margin-bottom:22px;font-size:13px}.alert.success{background:#edf5e5;border-color:#d8e7cb;color:#456b35}.alert.error{background:#fcf0ed;border-color:#efd3cc;color:var(--danger)}.note{background:#f4f6ed;padding:10px 12px;border-radius:8px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;z-index:2}.sidebar .brand{margin:0 0 50px 9px;max-width:calc(100% - 9px)}.sidebar>.eyebrow{margin-left:12px;font-size:9px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav a{font-size:13px;font-weight:550;padding:12px 13px;border-radius:9px;display:flex;gap:10px;align-items:center;color:#7f867b}.sidebar nav a span{font-size:18px}.sidebar nav a.selected{color:var(--green);background:#edf3e4}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;gap:9px;min-width:0}.avatar{display:grid;place-items:center;background:#eef1e7;color:#6c8058;width:33px;height:34px;border-radius:50%;flex-shrink:0}.sidebar-bottom strong{display:block;font-size:11px}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px;max-width:110px;overflow:hidden;text-overflow:ellipsis}.sidebar-bottom form{margin-left:auto}.admin-body{margin-left:236px}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 40px;font-size:11px;background:#ffffff80;gap:15px}.topbar>a{color:#6d7d5c;white-space:nowrap}.workspace{max-width:1480px;margin:auto;padding:44px 40px 32px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading .eyebrow{font-size:9px;margin-bottom:12px}.page-heading p{font-size:13px;margin-bottom:0}.page-heading .button{flex-shrink:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:37px}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 24px}.stat>span{font-size:12px;color:#818a7c}.stat>strong{display:flex;align-items:baseline;gap:15px;font-size:35px;font-weight:600;letter-spacing:-1px;margin-top:10px}.stat small{font-size:10px;letter-spacing:0;font-weight:400;color:#92998c}.section-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.section-header h2{margin-bottom:0;font-size:18px}.search{display:flex;align-items:center;gap:9px;width:330px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 13px}.search input{border:0;padding:10px 0;font-size:11px;min-height:38px;background:transparent}.search>span{font-size:23px;color:#8a9481}.search .text-button{font-size:10px}.machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:30px}.machine-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:23px 23px 0;min-width:0;transition:box-shadow .15s}.machine-card:hover{box-shadow:0 5px 20px #213e2c08}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.model-icon{display:grid;place-items:center;width:38px;height:39px;background:#f0f4e9;border-radius:11px;font-size:25px;color:#78945b}.card-title{display:block;font-weight:650;font-size:18px;line-height:1.4;letter-spacing:-.4px;margin-bottom:8px;overflow-wrap:anywhere}.location{font-size:11px;color:var(--muted);min-height:34px;margin-bottom:13px}.mini-lockers{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;margin:16px 0 19px}.mini-lockers span{height:45px;border:1px solid #e9ece4;border-radius:5px;background:#f9faf7;font-size:8px;padding:7px;color:#c0c7b9}.mini-lockers .filled{background:#eef4e5;border-color:#e3ebd7;color:#90a87a}.card-meta{font-size:10px;color:#929a8c;display:flex;justify-content:space-between;gap:8px;margin-bottom:22px}.card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0;font-size:11px;color:#6d7f5a}.card-actions .text-button{font-size:11px}.empty-state{text-align:center;padding:55px 25px}.empty-state p{color:var(--muted);max-width:420px;margin:0 auto 25px}.empty-icon{display:block;font-size:43px;color:#8caa70;margin-bottom:15px}.empty-state h1{font-size:30px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:10px;font-weight:500;color:var(--muted);padding:0 12px 14px}td{font-size:12px;border-top:1px solid var(--line);padding:14px 12px}.admin-footer{display:flex;justify-content:space-between;max-width:1480px;margin:auto;padding:0 40px 25px;color:#a1a799;font-size:10px}.back-link{display:block;color:#829172;font-size:11px;margin-bottom:24px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:24px;align-items:start}.detail-grid>.panel{min-width:0}.step-label{font-size:12px;color:#a4b092}.qr-panel{text-align:center}.qr-panel .eyebrow{margin-bottom:10px}.qr-image{width:min(100%,240px);height:auto;display:block;margin:15px auto 20px}.qr-placeholder{height:180px;display:grid;place-items:center;font-size:110px;color:#d8dfcf;background:#f7f9f2;border-radius:12px;margin:24px 0}.copy-field{display:flex;align-items:center;gap:9px;margin:18px 0}.copy-field input{font-size:10px;padding:10px}.copy-field .text-button{font-size:10px}.qr-panel .button-row{justify-content:center}.qr-panel .button{padding:10px 13px;min-height:38px}.qr-panel>.help:last-child{margin-top:18px;margin-bottom:0}.tip-card{padding:26px;border-radius:15px;background:#edf2e2;color:#4b6440}.tip-card h3{font-size:17px}.tip-card p{font-size:12px;line-height:1.7;color:#7d8a6c}.tip-icon{display:block;font-size:24px;color:#91a87c;margin-bottom:12px}.slot-edit{padding:18px;border:1px solid var(--line);border-radius:12px;margin:0 0 20px}.slot-edit legend{font-size:12px;font-weight:600;color:#789361;padding:0 8px}.slot-fields{display:grid;grid-template-columns:minmax(130px,2fr) minmax(90px,1fr) minmax(70px,1fr);gap:13px}.icon-field input{text-align:center;font-size:22px;padding:4px}.slot-description{display:flex;gap:20px;margin-top:15px;align-items:end}.slot-description>label:first-child{flex:1}.slot-description .compact{min-height:43px;font-size:11px;white-space:nowrap}.reset-row{display:flex;flex-wrap:wrap;align-items:center;gap:20px;border-top:1px solid var(--line);padding:18px 0}.reset-row .check{flex:1;min-width:230px}.reset-row>strong{font-size:12px}.settings-list{margin:0}.settings-list>div{display:flex;gap:24px;justify-content:space-between;border-bottom:1px solid var(--line);padding:15px 0;font-size:13px}.settings-list dt{color:var(--muted);flex:1}.settings-list dd{margin:0;flex:1;overflow-wrap:anywhere}.setup-steps{padding-left:20px;font-size:14px}.setup-steps li{padding:0 0 20px 8px;line-height:1.8}
.public-nav{max-width:1160px;margin:auto;padding:29px 32px;display:flex;justify-content:space-between;align-items:center}.public-nav>a:last-child{font-size:12px}.public-content{max-width:1160px;margin:auto;padding:30px 32px 40px;min-height:calc(100dvh - 180px)}.public-footer{text-align:center;font-size:11px;color:#9da590;padding:30px}.login-grid{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:85px;margin:40px auto 70px;max-width:950px}.login-intro h1{font-size:66px;line-height:1.03;letter-spacing:-3px;margin-bottom:25px}.login-intro>p{max-width:320px;color:var(--muted);font-size:14px}.login-panel{padding:38px}.login-panel h2{font-size:27px;margin-bottom:8px}.login-panel>.muted{font-size:12px;margin-bottom:28px}.login-panel>.help{margin:27px 0 0;font-size:10px}.locker-art{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:265px;margin-top:32px;padding:14px;border-radius:14px;background:#e5edda;transform:rotate(-3deg)}.locker-art>span{height:65px;background:#f8faf3;border:1px solid #cfdcbd;border-radius:6px;display:grid;place-items:center;font-size:25px;position:relative}.locker-art small{position:absolute;top:6px;left:7px;font-size:7px;color:#a3b88b}.home-hero{max-width:750px;margin:65px auto 40px;text-align:center}.home-hero h1{font-size:clamp(40px,6vw,72px);letter-spacing:-3px}.home-hero>p{max-width:520px;margin:28px auto;color:var(--muted);font-size:16px;line-height:1.8}.home-steps{display:flex;justify-content:center;gap:35px;margin:40px 0;font-size:12px;color:var(--muted)}.home-steps b{display:block;font-size:20px;color:#7f9e60;margin-bottom:7px}.catalogue-heading{margin:20px 0 35px}.catalogue-heading h1{margin:18px 0 13px;font-size:42px}.catalogue-heading p{font-size:13px}.install-card{display:flex;align-items:center;gap:30px;background:#eaf1de;border:1px solid #dde6cf;border-radius:20px;padding:32px;margin-bottom:45px}.app-mark{display:block;width:105px;height:105px;object-fit:contain;border-radius:22px;flex-shrink:0}.install-card h2{font-size:27px}.install-card p{font-size:12px;color:#7c886c;max-width:570px}.install-card .eyebrow{font-size:9px}.install-card .button{font-size:12px}.install-card .help{margin:14px 0 0;font-size:10px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;min-width:0}.product-art{position:relative;display:grid;place-items:center;background:#edf0e3;height:190px;margin:10px;border-radius:10px}.product-card:nth-child(3n+2) .product-art{background:#f2eadd}.product-card:nth-child(3n+3) .product-art{background:#e8eceb}.product-emoji{font-size:80px;filter:drop-shadow(4px 8px 5px #192c2212)}.slot-tag{position:absolute;bottom:10px;left:12px;background:#ffffffb8;border:1px solid #ffffff80;padding:4px 7px;font-size:9px;border-radius:5px;color:#70805e}.product-info{padding:12px 20px 22px}.product-info h3{font-size:18px;margin-bottom:8px}.product-info>p{font-size:12px;color:var(--muted);min-height:37px;margin-bottom:18px}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.product-bottom>strong{font-size:18px;letter-spacing:-.5px}.sold-out .product-art{opacity:.5}.catalogue-note{font-size:12px;text-align:center;color:#919b86;margin:35px auto;max-width:650px}.machine-code{font-size:10px;text-align:center;color:#a0aa95}.print-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.print-sheet{text-align:center;background:#fff;border:1px dashed #cad7bc;padding:55px;max-width:700px;margin:0 auto}.print-sheet>.print-qr{max-width:100%;height:auto;margin:20px auto}.print-sheet h1{font-size:35px}.print-sheet p{color:var(--muted);font-size:13px}.print-url{overflow-wrap:anywhere;font-size:10px!important}
@media(min-width:1600px){.machine-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){.sidebar{width:208px;padding:28px 16px}.admin-body{margin-left:208px}.workspace{padding:34px 26px}.topbar{padding:0 26px}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr)}.panel{padding:23px}.slot-fields{grid-template-columns:1fr 100px 80px}.stat{padding:18px}.stat>strong{gap:8px}.stat small{font-size:9px}.login-grid{gap:45px}}
@media(max-width:900px){.sidebar{position:static;width:auto;padding:18px 24px;flex-direction:row;align-items:center;gap:25px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0;font-size:22px}.sidebar>.eyebrow,.sidebar-bottom>div,.avatar{display:none}.sidebar nav{flex-direction:row;gap:2px;flex:1}.sidebar nav a{font-size:11px;padding:9px}.sidebar-bottom{border:0;padding:0;margin:0}.admin-body{margin:0}.topbar{height:52px}.workspace{padding:30px 24px}.detail-grid{grid-template-columns:1fr 300px;gap:18px}.detail-grid>.panel{padding:20px}.form-row{grid-template-columns:1fr}.page-heading h1{font-size:32px}.login-intro h1{font-size:53px}.login-panel{padding:28px}.login-grid{gap:35px}.product-grid{gap:16px}.product-bottom{align-items:flex-start;flex-direction:column}.product-art{height:155px}.product-emoji{font-size:60px}}
@media(max-width:700px){.sidebar{padding:15px 18px;gap:15px;flex-wrap:wrap}.sidebar nav{order:3;flex-basis:100%}.sidebar-bottom{margin-left:auto}.sidebar nav a{flex:1}.topbar{padding:0 18px;font-size:10px}.workspace{padding:26px 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}.page-heading h1{font-size:34px}.stats-grid{gap:8px;margin-bottom:28px}.stat{padding:14px 12px;border-radius:12px}.stat>span{font-size:10px}.stat>strong{display:block;font-size:29px;margin-top:8px}.stat small{display:block;font-size:8px;margin-top:5px;line-height:1.5;letter-spacing:0}.machine-grid{gap:13px}.machine-card{padding:18px 17px 0}.card-title{font-size:16px}.card-meta{flex-direction:column;font-size:9px;gap:3px}.card-top{margin-bottom:17px}.mini-lockers{gap:3px}.mini-lockers span{height:37px;padding:5px}.section-header{flex-wrap:wrap;gap:16px}.section-header .search{width:100%}.detail-grid{grid-template-columns:1fr}.detail-aside{display:grid;grid-template-columns:1fr;gap:0}.qr-image{width:220px}.tip-card{margin-bottom:24px}.slot-fields{grid-template-columns:1fr 1fr;gap:12px}.slot-description{align-items:stretch;flex-direction:column;gap:8px}.slot-description .compact{min-height:28px}.form-row{grid-template-columns:1fr 1fr}.panel{padding:22px}.admin-footer{padding:0 18px 24px;font-size:8px}.public-nav{padding:24px 22px}.public-content{padding:15px 22px 25px}.login-grid{grid-template-columns:1fr;gap:28px;margin:20px auto;max-width:440px}.login-intro h1{font-size:46px;letter-spacing:-2px}.login-intro h1 br{display:none}.login-intro>.eyebrow{font-size:9px}.login-intro>p{font-size:13px;max-width:none}.locker-art{display:none}.login-panel{padding:28px}.home-hero{margin:40px auto}.home-hero h1{letter-spacing:-2px}.home-hero>p{font-size:14px}.home-steps{gap:20px;font-size:10px}.catalogue-heading{margin:15px 0 25px}.catalogue-heading h1{font-size:35px}.install-card{padding:24px;gap:20px;align-items:flex-start;flex-direction:column;margin-bottom:30px}.app-mark{width:58px;height:58px;border-radius:15px}.install-card h2{font-size:25px}.install-card .button-row{flex-direction:column}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.product-art{height:135px;margin:7px}.product-emoji{font-size:55px}.product-info{padding:10px 13px 16px}.product-info h3{font-size:15px}.product-info p{font-size:11px;min-height:35px}.product-bottom>strong{font-size:16px}.product-bottom .badge{font-size:9px}.slot-tag{font-size:8px;left:8px;bottom:8px}.settings-list>div{flex-direction:column;gap:5px}.setup-steps{font-size:12px}.print-sheet{padding:26px}.reset-row>strong{flex-basis:100%}}
@media(max-width:390px){.machine-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.public-nav .brand{font-size:22px}.public-nav>a:last-child{font-size:10px}.product-grid{gap:10px}.product-art{height:120px}.product-emoji{font-size:48px}}
@media print{body{background:#fff}.sidebar,.topbar,.admin-footer,.print-controls,.public-nav,.public-footer{display:none!important}.admin-body{margin:0}.workspace,.public-content{padding:0}.print-sheet{border:0;padding:20mm;max-width:none}.print-sheet h1{font-size:25pt}.print-sheet .print-qr{width:85mm;height:85mm}}

.production-card{margin-bottom:0;display:flex;flex-direction:column;gap:10px}.production-card .button-row{margin-top:auto}.production-card .eyebrow{margin:10px 0 0}.model-photo{display:block;width:100%;height:210px;object-fit:contain;border-radius:12px;background:#f5f7f0;margin:0 0 18px}.model-photo.large{height:340px}.photo-empty{display:grid;place-items:center;font-size:75px;color:#9cac8c}.multiline{white-space:pre-wrap}.lookup-form{display:flex;align-items:end;gap:16px}.lookup-form label{flex:1}.url-example{display:block;padding:14px;margin:18px 0}.pagination{display:flex;gap:12px;justify-content:flex-end;margin-top:22px}.production-card p{overflow-wrap:anywhere}.production-card h2{overflow-wrap:anywhere}@media(max-width:900px){.sidebar nav{flex-wrap:wrap}}@media(max-width:700px){.lookup-form{align-items:stretch;flex-direction:column}.sidebar nav a{flex-basis:40%;white-space:normal}.production-card .button{flex:1}.model-photo.large{height:230px}.table-scroll{max-width:100%}.settings-list dd{min-width:0}}

.danger{background:#9d342f;color:#fff}.danger:hover:not(:disabled){background:#7e2824;color:#fff}.danger-outline{color:#9d342f;background:#fff;border-color:#e3bdb9}.danger-outline:hover{color:#7e2824;background:#fcf0ed}.deletion-panel{border-color:#ecd7d3}.deletion-panel .stack{margin-top:22px}

.print-sheet>.print-logo{display:block;width:300px;max-width:100%;height:auto;margin:0 auto 25px}@media(max-width:700px){.public-nav .brand-logo{width:180px;height:48px}}@media(max-width:390px){.public-nav .brand-logo{width:160px;height:43px}}
@media print{.print-sheet>.print-logo{width:65mm;height:auto}}

.stack label.check{flex-direction:row;font-weight:400}

.lookup-form{flex-wrap:wrap}.lookup-form>label{min-width:220px}.machine-scanner{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.machine-scanner .section-header{margin-bottom:16px}.machine-scanner video{display:block;width:100%;max-width:540px;max-height:55vh;object-fit:contain;background:#15251c;border-radius:12px;margin-bottom:16px}.qr-photo-label{max-width:540px;margin:16px 0}.machine-scanner .help{max-width:650px}@media(max-width:700px){.lookup-form>label{min-width:0;width:100%}.lookup-form>.button{width:100%}.machine-scanner .section-header{align-items:flex-start;flex-wrap:wrap}}

.product-photo{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}.product-photo-empty{font-size:13px;color:var(--muted)}
@media(max-width:700px){.slot-fields .product-title-field{grid-column:1/-1}}

.photo-field{min-width:0;margin-bottom:18px}.stack>.photo-field{margin-bottom:0}.photo-upload{display:grid;grid-template-columns:92px minmax(0,1fr);gap:20px;align-items:center;padding:18px;border:1px dashed #c7d4bd;border-radius:13px;background:#f8faf5;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.photo-upload:hover{border-color:#789361;background:#f1f6eb}.photo-upload:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #dfeacc}.photo-upload-preview{position:relative;display:grid;place-items:center;width:92px;height:108px;overflow:hidden;border:1px solid #e0e7d8;border-radius:10px;background:#fff}.photo-upload-preview img{display:block;width:100%;height:100%;object-fit:contain}.photo-upload-empty{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;font-weight:500;color:#8b9d7b}.photo-upload-empty svg{width:31px;height:31px}.photo-upload-preview:has(img:not([hidden])) .photo-upload-empty{display:none}.photo-upload-content{display:flex;flex-direction:column;gap:5px;min-width:0}.photo-upload-title{font-size:13px;font-weight:650;color:var(--ink)}.photo-upload-formats{font-size:11px;font-weight:400;color:var(--muted)}.photo-upload-input{display:block;width:100%;min-height:34px;margin:7px 0 3px;padding:0;border:0;border-radius:6px;background:transparent;font-size:11px;font-weight:400;color:#68745f;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.photo-upload-input::file-selector-button{margin-right:10px;padding:8px 12px;border:1px solid #cfdcc5;border-radius:7px;background:#fff;font:inherit;font-weight:650;color:var(--green);cursor:pointer;transition:background .15s,border-color .15s}.photo-upload-input:hover::file-selector-button{background:#e8f0df;border-color:#9eb78a}.photo-upload-note{font-size:10px;font-weight:400;line-height:1.5;color:#839076}.photo-upload-status{margin:10px 0 0;padding:10px 12px;border-radius:8px;background:#edf4e6;font-size:11px;line-height:1.6;color:#4b6c33;overflow-wrap:anywhere}.photo-upload-status:empty{margin:0;padding:0}.photo-field:has(input:invalid) .photo-upload{border-color:#c89080;background:#fff8f5}.photo-field:has(input:invalid) .photo-upload-status{background:#fcf0ed;color:var(--danger)}.photo-remove{align-items:center;gap:9px;width:fit-content;padding:8px 11px;border:1px solid #e3e7dc;border-radius:8px;background:#fff;font-size:11px;color:var(--muted);margin:0 0 18px;cursor:pointer}.photo-remove input{margin:0}.stack>.photo-remove{margin-bottom:0}.photo-remove:has(input:checked){border-color:#e6c5bc;background:#fcf0ed;color:var(--danger)}.photo-remove input:checked{accent-color:var(--danger)}
@media(max-width:700px){.photo-upload{grid-template-columns:72px minmax(0,1fr);gap:13px;padding:14px}.photo-upload-preview{width:72px;height:94px}.photo-upload-input::file-selector-button{padding:8px 9px;margin-right:7px}}@media(max-width:390px){.photo-upload{grid-template-columns:1fr}.photo-upload-preview{width:64px;height:64px}.photo-upload-content{gap:4px}}

.product-buy{margin-top:16px}.purchase-dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--ink);box-shadow:0 20px 70px #102e2440}.purchase-dialog::backdrop{background:#142d2266;backdrop-filter:blur(3px)}.purchase-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.purchase-heading .eyebrow{margin:0}.purchase-dialog h2{font-size:23px}.purchase-dialog .button-row{margin:20px 0 14px}.purchase-status{padding:14px 16px;border-radius:10px;background:#edf4e6;font-size:13px;line-height:1.65}.purchase-reference{overflow-wrap:anywhere}.purchase-dialog>label{margin-top:16px}@media(max-width:700px){.purchase-dialog{padding:22px}.purchase-dialog .button-row{flex-direction:column}.product-buy{font-size:11px;padding:10px 7px}}

.slot-in-stock{align-self:end;min-height:43px;padding:10px 0}

/* Long role names and the expanded administration menu remain usable on short screens. */
@media(min-width:901px){.sidebar nav{flex:1;min-height:0;overflow-y:auto;gap:3px}.sidebar nav a{flex-shrink:0;padding-block:10px}.sidebar-bottom{flex-shrink:0;margin-top:16px}.sidebar-bottom>div{min-width:0}.sidebar-bottom strong{overflow-wrap:anywhere}.sidebar-bottom small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.income-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.income-grid strong{font-size:clamp(20px,2.1vw,30px);overflow-wrap:anywhere}
@media(max-width:1100px){.income-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.income-grid{grid-template-columns:1fr}}

.dashboard-heading{margin-bottom:22px}.dashboard-period{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.dashboard-period form{display:flex;align-items:center;gap:5px}.dashboard-period form>span{font-size:12px;color:var(--muted);margin-right:10px}.period-button{border:1px solid transparent;border-radius:8px;background:transparent;padding:8px 13px;color:var(--muted);font-size:12px}.period-button:hover{background:#edf3e4}.period-button.is-active{background:var(--green);color:white}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.dashboard-kpis .stat{min-width:0;padding:22px}.dashboard-kpis .stat>strong{display:block;font-size:clamp(22px,2.2vw,34px);margin:12px 0 8px;overflow-wrap:anywhere}.dashboard-kpis .stat>small{display:block;font-size:10px;color:var(--muted)}.dashboard-kpis .dashboard-income{background:var(--green);color:#fff;border-color:var(--green)}.dashboard-kpis .dashboard-income>span,.dashboard-kpis .dashboard-income>small{color:#d7e3ce}.dashboard-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:24px}.dashboard-main>.panel,.dashboard-bottom>.panel{min-width:0}.dashboard-main-inventory{grid-template-columns:1fr}.dashboard-chart{position:relative}.dashboard-chart .section-header{align-items:flex-start}.dashboard-chart .eyebrow,.dashboard-fleet>.eyebrow{margin-bottom:10px}.dashboard-chart-scale{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:22px}.income-chart{display:block;width:100%;height:176px;overflow:visible;margin:10px 0}.chart-grid-line{stroke:#e9eee4;stroke-width:1;vector-effect:non-scaling-stroke}.chart-baseline{stroke:#afbea3;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.chart-area{fill:#e5eedc}.chart-line{stroke:var(--green);stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.chart-point{fill:var(--green);opacity:0;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.chart-point:hover{opacity:1}.dashboard-chart-dates{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.dashboard-footnote{font-size:10px;color:var(--muted);margin:20px 0 0}.dashboard-chart-empty{min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:12px;background:#f7f9f3;margin-top:22px;padding:22px}.dashboard-chart-empty p{max-width:340px;font-size:12px;color:var(--muted);margin:0}.dashboard-empty-mark{display:grid;place-items:center;width:40px;height:40px;background:#e9f0df;color:var(--green);border-radius:12px;font-size:24px;margin-bottom:14px}.dashboard-fleet-total{font-size:36px;font-weight:650;letter-spacing:-1px;line-height:1}.dashboard-fleet-metrics{margin:20px 0}.dashboard-fleet-metrics>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.dashboard-fleet-metrics dt{font-size:12px;color:var(--muted)}.dashboard-fleet-metrics dd{margin:0;font-weight:650}.dashboard-fleet-note{margin:12px 0 0}.dashboard-attention{display:flex;justify-content:space-between;align-items:center;gap:18px}.dashboard-attention p{margin:5px 0 0;font-size:12px}.dashboard-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.dashboard-bottom .section-header h2{margin:0}.dashboard-machine-row,.dashboard-order-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0}.dashboard-machine-row>span:nth-child(2){flex:1;min-width:0}.dashboard-machine-row strong,.dashboard-order-row strong{display:block;font-size:12px;overflow-wrap:anywhere}.dashboard-machine-row small,.dashboard-order-row small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.dashboard-machine-symbol{font-size:22px;color:var(--green);background:#eef3e7;border-radius:9px;width:34px;height:38px;display:grid;place-items:center;flex-shrink:0}.dashboard-order-row{justify-content:space-between}.dashboard-order-row>div:first-child{min-width:0;flex:1}.dashboard-order-row>div:last-child{text-align:right;flex-shrink:0}.dashboard-order-row .badge{margin-top:5px}.dashboard-empty{padding:24px 0 10px}.dashboard-empty h3{font-size:15px}
@media(max-width:1180px){.dashboard-main{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:18px}.dashboard-main-inventory{grid-template-columns:1fr}.dashboard-kpis{gap:12px}.dashboard-kpis .stat{padding:18px}.dashboard-bottom{gap:18px}}
@media(max-width:1000px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main,.dashboard-bottom{grid-template-columns:1fr}.dashboard-main .panel{margin-bottom:0}.dashboard-main{margin-bottom:24px}.dashboard-chart .section-header{flex-wrap:wrap}.dashboard-fleet-total{font-size:32px}}
@media(max-width:600px){.dashboard-period{align-items:flex-start;gap:10px}.dashboard-period form>span{display:none}.dashboard-kpis .stat{padding:16px}.dashboard-kpis .stat>strong{font-size:24px}.dashboard-machine-row>.badge{display:none}.dashboard-attention{align-items:flex-start;flex-direction:column}.dashboard-kpis .stat>small{font-size:9px}.dashboard-chart-scale{margin-top:14px}}
.dashboard-chart-plot{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;margin-top:22px}.dashboard-chart-plot .dashboard-chart-scale{flex-direction:column;height:176px;padding:16px 0;margin:0;white-space:nowrap}.dashboard-chart-plot .income-chart{margin:0}.dashboard-chart-dates{margin-left:68px}
