:root{--green:#193d32;--green-dark:#102b24;--ink:#22392e;--muted:#758278;--line:#e1e7de;--bg:#f5f7f2;--paper:#fff;--rose:#ad6d7b;--amber:#a36819;--red:#aa4a4d;--radius:13px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);font:16px/1.5 'Segoe UI',Arial,sans-serif;color:var(--ink)}button,select,input{font:inherit}button,select{cursor:pointer}a{color:inherit;text-decoration:none}button,a,select{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #c38994;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}h1,h2,h3,p{margin-top:0}.sidebar{width:236px;background:var(--green);color:#ecf2e9;position:fixed;inset:0 auto 0 0;padding:33px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:12px;align-items:center;margin-bottom:48px}.brand-mark{font:42px/1 Georgia,serif;position:relative}.brand-mark>span{font:20px/1 Arial;position:absolute;top:-5px;right:-8px;color:#d6adb5}.brand strong{display:block;letter-spacing:.12em;font-size:22px;font-weight:400}.brand b{font-size:19px;letter-spacing:0;font-weight:600}.brand small{font-size:10px;letter-spacing:.12em;color:#c4d3c9}.nav-caption{font-size:10px;letter-spacing:.14em;color:#aac0b0;margin-bottom:15px}nav{display:grid;gap:8px}.nav-link{display:flex;gap:13px;align-items:center;padding:12px 13px;border-radius:8px;font-size:14px;color:#c3d4c8}.nav-link svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}.nav-link:hover{background:#25483a}.nav-link.active{background:#edf2e6;color:var(--green);font-weight:600}.nav-count{margin-left:auto;background:#f1d3ca;color:#7c4337;min-width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:30px}.demo-card{border:1px solid #45614e;background:#234337;border-radius:10px;padding:16px}.demo-card strong{font-size:12px;display:block;margin-top:8px;font-weight:500}.demo-card p{font-size:12px;color:#b9cbbb;margin:8px 0 0;line-height:1.7}.demo-pulse{display:block;width:6px;height:6px;border-radius:50%;background:#cddab6}.customer-link{display:flex;justify-content:space-between;font-size:12px;padding:22px 3px;color:#d6e1d8}.signature{font-size:11px;color:#b0c3b5;border-top:1px solid #3b5948;padding:20px 3px 0}.signature strong{font-weight:600;color:#e1e9df}.main-shell{margin-left:236px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;height:88px;padding:0 40px;border-bottom:1px solid var(--line);background:#ffffffa6}.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#abb5a9}.breadcrumb strong{font-weight:500;color:var(--ink)}.profile{display:flex;align-items:center;gap:10px;font-size:13px}.profile>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9dfd7;color:#7a574c;font-size:12px;font-weight:600}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.demo-banner{background:#edf1e8;padding:10px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#61745f}.demo-banner b{font-size:10px;letter-spacing:.08em;margin-right:10px;color:#375734}.link-button{font-size:12px;border:0;background:none;color:inherit;padding:4px 0;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}main{max-width:1700px;margin:auto;padding:31px 40px 0}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:.14em;color:var(--muted);font-weight:600;margin-bottom:8px}h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em;font-size:39px;line-height:1.2;margin:0 0 9px}.page-heading p:last-child{font-size:14px;color:var(--muted);margin:0}.primary,.secondary,.small-button{border:1px solid var(--green);border-radius:7px;padding:12px 17px;min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:14px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.secondary{background:white}.secondary:hover,.small-button:hover{background:#f0f4ec}.primary>span{font-size:20px;line-height:1}.small-button{padding:7px 11px;min-height:35px;background:white;border-color:var(--line);font-size:12px}.filters{display:flex;gap:13px;align-items:center;margin-bottom:24px}.filters label{font-size:12px;color:var(--muted);display:flex;gap:9px;align-items:center}select{background:white;border:1px solid var(--line);border-radius:7px;padding:10px 32px 10px 12px;font-size:13px;color:var(--ink);max-width:100%}.scenario-date{margin-left:auto;font-size:12px;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.metric{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:20px}.metric-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:#6e7e70}.metric-title svg{height:18px;width:18px;fill:none;stroke:#91a18e;stroke-width:1.5}.metric-value{font-size:29px;font-weight:600;letter-spacing:-.04em;line-height:1.3;margin:13px 0 8px;white-space:nowrap}.metric:first-child{background:var(--green);color:white;border-color:var(--green)}.metric:first-child .metric-title,.metric:first-child .metric-foot{color:#c3d3c5}.metric:first-child svg{stroke:#b6cdb8}.metric-foot{font-size:11px;color:var(--muted)}.metric-foot .positive{color:#45824d}.charts{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:22px;margin-bottom:24px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px 0;margin-bottom:20px}.panel-head h2{font-size:16px;font-weight:600;letter-spacing:-.02em;margin:0}.panel-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.panel-head a{font-size:12px;font-weight:500;color:#53724d;white-space:nowrap}.chart-total{font-size:13px;color:var(--muted)}.revenue-chart{padding:0 22px 18px}.revenue-chart svg{display:block;width:100%;height:194px;overflow:visible}.chart-caption{font-size:11px;color:var(--muted);margin:8px 0 0}.payment-mix{padding:3px 23px 23px}.payment-row{margin-bottom:20px}.payment-row:last-child{margin-bottom:0}.payment-row>div:first-child{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}.payment-row strong{font-weight:600}.payment-row small{font-size:11px;color:var(--muted)}.bar-track{height:8px;border-radius:5px;background:#f0f3ec;overflow:hidden}.bar-track span{display:block;height:100%;border-radius:5px}.payment-count{font-size:11px;color:var(--muted);margin-top:6px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:26px 0 15px}.section-title h2{font-size:17px;font-weight:600;letter-spacing:-.02em;margin:0}.section-title span{font-size:12px;color:var(--muted)}.machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.machine-card{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:20px}.machine-card .machine-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.machine-id{font-size:10px;letter-spacing:.1em;color:var(--muted);margin-bottom:5px}.machine-card h3{font-size:17px;font-weight:600;letter-spacing:-.03em;margin:0 0 4px}.machine-location{font-size:12px;color:var(--muted);margin-bottom:20px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;border-radius:5px;padding:4px 7px;white-space:nowrap;background:#e8f1e3;color:#49733a}.badge.warning{background:#fff2dc;color:#92631d}.badge.danger{background:#f8e9e7;color:#9c4c45}.badge.neutral{background:#eef1eb;color:#73816d}.machine-stats{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin:0 0 10px}.machine-stats strong{font-weight:600;color:var(--ink);font-size:18px}.capacity{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin-bottom:17px}.capacity span{height:23px;border-radius:3px;background:#e9ede6}.capacity .filled{background:#83a478}.capacity .blocked{background:#daa962}.capacity .stale{opacity:.45}.machine-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.overview-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px;margin-top:24px}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}th{text-align:left;font-size:11px;letter-spacing:.025em;font-weight:500;color:var(--muted);background:#fafbf8;padding:12px 20px;border-bottom:1px solid var(--line)}td{padding:14px 20px;border-bottom:1px solid #edf0e9}tbody tr:last-child td{border:0}td strong{font-weight:600}td small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.product-cell{display:flex;gap:10px;align-items:center}.product-cell img{width:38px;height:42px;object-fit:cover;border-radius:5px}.incidents-short{padding:0 22px 10px}.incident-compact{padding:16px 0;border-top:1px solid var(--line)}.incident-compact:first-child{padding-top:0;border:0}.incident-compact strong{display:block;font-size:13px;margin:8px 0 4px}.incident-compact p{font-size:12px;color:var(--muted);margin:0 0 9px}.incident-link{font-size:12px;color:#8a5931;background:none;border:0;padding:3px 0;text-decoration:underline;text-underline-offset:4px}.notice{border:1px solid #e5decf;background:#fbf7ed;color:#827047;padding:13px 16px;border-radius:9px;font-size:13px;margin:20px 0}.info-note{font-size:12px;color:var(--muted);padding:14px 22px;margin:0;border-top:1px solid var(--line)}.incident-list{display:grid;gap:14px}.incident-row{display:flex;gap:20px;align-items:center;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.incident-symbol{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;background:#fbeddc;color:#a56e2d;border-radius:10px;font-size:22px}.incident-row.resolved .incident-symbol{background:#eaf2e5;color:#5a7c4c}.incident-copy{flex:1}.incident-copy h2{font-size:16px;margin:7px 0}.incident-copy p{font-size:14px;color:var(--muted);margin:0 0 8px;max-width:650px}.incident-copy small{font-size:12px;color:var(--muted)}.stock-cards{margin-bottom:24px}.empty{padding:38px 20px;text-align:center;color:var(--muted);font-size:14px}.sales-summary{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;padding:15px 22px;border-top:1px solid var(--line);background:#fafbf8}.sales-summary strong{margin-left:6px}footer{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#899382;padding:28px 0;margin-top:15px}dialog{padding:27px;border:1px solid var(--line);border-radius:18px;width:min(94vw,670px);max-height:92dvh;overflow:auto;color:var(--ink);box-shadow:0 30px 90px #102b2430}dialog::backdrop{background:#152c2480;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head .eyebrow{margin:0}.icon-button{min-width:40px;min-height:40px;background:white;border:1px solid var(--line);border-radius:50%;font-size:23px}.modal-title{font:400 32px/1.2 Georgia,serif;letter-spacing:-.03em;margin-bottom:10px}.modal-title:focus{outline:none}.modal-subtitle{font-size:14px;color:var(--muted);margin-bottom:20px}.form-field{display:block;font-size:14px;margin-bottom:18px}.form-field select{display:block;width:100%;font-size:14px;min-height:45px;margin-top:8px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-error{font-size:14px;padding:12px;border-radius:8px;background:#f8e9e7;color:#9c4c45;margin:12px 0}.form-info{font-size:13px;color:var(--muted);padding:13px;background:#f4f7ef;border-radius:8px}.machine-detail-summary{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin:18px 0}.machine-detail-summary strong{display:block;color:var(--ink);font-size:23px;font-weight:600}.locker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.locker-door{border:1px solid var(--line);padding:7px;border-radius:9px;background:#f6f8f2;display:grid;gap:7px}.door-caption{text-align:center;font-size:11px;color:var(--muted);padding:4px}.slot{border:1px solid #d8e1d2;border-radius:6px;background:white;min-height:84px;padding:9px;text-align:left;display:flex;flex-direction:column;gap:4px}.slot.filled{background:#edf4e6;border-color:#d8e4cf}.slot.blocked{background:#fff0dc;border-color:#edd4ac}.slot strong{font-size:12px}.slot span{font-size:11px;line-height:1.3}.slot em{font-size:10px;font-style:normal;color:var(--muted)}.slot.selected{outline:2px solid var(--green);outline-offset:1px}.slot-detail{border:1px solid var(--line);background:#fafbf8;border-radius:9px;padding:17px;margin-top:17px}.slot-detail h3{font-size:15px;margin-bottom:8px}.slot-detail p{font-size:13px;color:var(--muted);margin-bottom:12px}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:11px;color:var(--muted);margin-top:12px}.legend span::before{content:'';display:inline-block;width:8px;height:8px;background:#9ab98a;border-radius:2px;margin-right:5px}.legend span:nth-child(2)::before{background:#e3e9df}.legend span:nth-child(3)::before{background:#e2b878}#toast{position:fixed;right:25px;bottom:25px;background:var(--green);color:white;box-shadow:0 8px 30px #142e2440;border-radius:10px;padding:16px 22px;max-width:min(450px,90vw);font-size:14px;z-index:99}.badge,.metric-foot,.machine-id,.chart-caption,.payment-count,.machine-bottom,.catalog-note{font-size:12px}@media(min-width:1600px){main{padding-top:40px}.metric-value{font-size:34px}.revenue-chart svg{height:220px}.charts{grid-template-columns:2fr 1fr}}@media(max-width:1250px){.sidebar{width:205px;padding:30px 16px}.main-shell{margin-left:205px}main{padding:28px 25px 0}.topbar{padding:0 25px}.demo-banner{padding:10px 25px}.metrics{gap:12px}.metric{padding:16px}.metric-value{font-size:25px}.machine-grid{gap:12px}.machine-card{padding:16px}.machine-top{flex-wrap:wrap}.charts{gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(235px,1fr)}.overview-bottom{grid-template-columns:1fr}.incidents-short{display:flex;gap:25px}.incident-compact{flex:1;border:0;padding-top:0}.scenario-date{display:none}}@media(max-width:980px){.sidebar{width:80px;align-items:center;padding:25px 11px}.brand{margin-bottom:32px}.brand>span:last-child,.nav-caption,.nav-link>span,.sidebar-bottom{display:none}.nav-link{padding:14px}.nav-link svg{width:22px;height:22px}.main-shell{margin-left:80px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.machine-grid{grid-template-columns:1fr}.machine-card .machine-top{flex-wrap:nowrap}.machine-stats{justify-content:start;gap:35px}.capacity{max-width:470px}.machine-location{margin-bottom:14px}.demo-banner{align-items:flex-start}.demo-banner b{display:block;margin-bottom:3px}.profile small{display:none}.chart-total{display:none}}@media(max-width:700px){.sidebar{position:sticky;top:0;width:100%;height:61px;flex-direction:row;justify-content:space-between;padding:8px 15px}.brand{margin:0}.brand-mark{font-size:32px}.brand-mark>span{font-size:14px}.sidebar nav{display:flex;gap:4px}.nav-link{padding:10px}.nav-link svg{width:19px;height:19px}.main-shell{margin:0}.topbar{height:65px;padding:0 18px}.profile>div{display:none}.profile>span{width:30px;height:30px}.breadcrumb{font-size:12px}.demo-banner{padding:10px 18px;font-size:11px;gap:10px}.demo-banner .link-button{font-size:11px}.demo-banner b{font-size:9px}main{padding:25px 18px 0}.page-heading{align-items:start;flex-wrap:wrap;margin-bottom:20px;gap:16px}h1{font-size:34px}.page-heading .eyebrow{font-size:9px}.page-heading p:last-child{font-size:14px}.page-heading>.primary{width:100%;min-height:46px}.filters{align-items:start;gap:10px}.filters label{display:block;flex:1;min-width:0;font-size:12px}.filters select{width:100%;margin-top:5px;font-size:12px;padding:10px 8px}.metrics{gap:10px}.metric{padding:15px 13px}.metric-title{font-size:12px}.metric-value{font-size:25px;white-space:normal;line-height:1.15}.metric-foot{font-size:11px;min-height:33px}.metric-title svg{display:none}.charts{grid-template-columns:1fr;gap:18px}.panel-head{padding:18px 18px 0}.revenue-chart{padding:0 12px 18px}.payment-mix{padding:0 18px 20px}.payment-row{margin-bottom:16px}.machine-grid{gap:14px}.machine-card{padding:19px}.machine-card h3{font-size:18px}.overview-bottom{margin-top:18px}.incidents-short{display:block;padding:0 18px 8px}.incident-compact{border-top:1px solid var(--line);padding-top:15px}.incident-row{padding:18px;gap:13px;flex-wrap:wrap;align-items:start}.incident-symbol{width:35px;height:35px}.incident-copy{min-width:calc(100% - 60px)}.incident-row>button{width:100%}.incident-copy p{font-size:13px}footer{font-size:10px;flex-direction:column;gap:5px}.form-row{grid-template-columns:1fr;gap:0}dialog{padding:20px}.modal-title{font-size:28px}.locker-grid{gap:6px}.locker-door{padding:4px;gap:5px}.slot{padding:7px;min-height:92px}.slot span{font-size:10px}.slot strong{font-size:11px}.form-actions{flex-wrap:wrap}.form-actions button{flex:1}.machine-detail-summary{gap:20px}.table-wrap:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.scenario-date{display:none}.section-title span{font-size:11px}.sales-summary{font-size:12px;gap:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Painel operacional de uma maquina. Identidade e componentes da base original. */
:root{--bg:#f7f8f3;--rose-light:#f6e8e8}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bc8390;outline-offset:3px}input,textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:white;padding:12px 13px;color:var(--ink);font:inherit}textarea{resize:vertical}label{display:block;color:var(--ink);font-size:13px;font-weight:500}label input,label textarea,label select{display:block;margin-top:7px;margin-bottom:17px}button{min-height:44px}.muted{color:var(--muted);font-size:13px}.form-error{color:#a13d43;font-size:13px;min-height:18px}.login-screen{display:grid;grid-template-columns:1.08fr 1fr;min-height:100vh}.login-story{position:relative;overflow:hidden;background:var(--green);color:#f6f5ec;padding:45px 55px;display:flex;flex-direction:column}.login-story .brand{margin:0}.login-intro{margin:auto 0;padding:70px 0 110px;position:relative;z-index:1}.login-intro .eyebrow{color:#c1cdb8;max-width:300px;font-size:10px;letter-spacing:.13em}.login-intro h1{font-size:clamp(40px,4.6vw,70px);line-height:1.12;margin:22px 0 26px}.login-intro>p:last-of-type{color:#c3d0c5;line-height:1.9;font-size:15px}.flower-art{position:absolute;right:-80px;bottom:-160px;font-size:310px;color:#78937d;opacity:.26;font-family:Georgia,serif;line-height:1;transform:rotate(14deg);z-index:-1}.flower-art>span{position:absolute;font-size:160px;left:-100px;top:90px;color:#d9b5bd}.login-signature{font-size:11px;color:#b9c8b9;letter-spacing:.08em}.login-signature>span{margin:0 8px}.login-area{display:grid;place-items:center;padding:50px 40px}.login-box{width:100%;max-width:355px}.login-box h2{font:38px/1.18 Georgia,serif;letter-spacing:-.04em;font-weight:400;margin-bottom:14px}.login-box>.muted{margin-bottom:36px;font-size:14px}.login-box .primary{width:100%;margin-top:3px;justify-content:space-between}.login-note{font-size:11px;color:var(--muted);text-align:center;margin-top:27px}.login-box input{background:#fff;min-height:49px}.login-box .eyebrow{margin-bottom:17px}.nav-link b{font-size:21px;width:22px;text-align:center;line-height:1;font-weight:400}.machine-identity{padding:20px 4px 30px}.machine-identity strong{display:block;font:23px/1.3 Georgia,serif;font-weight:400;margin:15px 0}.machine-identity p{font-size:11px;color:#b8cbbb}.tiny-flower{color:#d4aab5;font-size:28px}.sidebar{padding-top:35px}.sidebar .brand{margin-bottom:53px}.sidebar .nav-link{min-height:47px}.topbar{height:78px}.profile .link-button{margin-left:18px;padding:12px 6px}.profile small{font-size:11px}.page-heading{margin-bottom:25px}.page-heading>.badge{align-self:start;margin-top:11px}.connection-banner{font-size:12px;line-height:1.7;background:#fff4df;color:#805b26;padding:11px 16px;border-radius:8px;margin:0 0 22px;border:1px solid #eee2c7}.connection-banner.connected{background:#eaf0e4;border-color:#dce6d6;color:#4e6949}.pending-banner{border:1px solid #dfc29f;background:#fff7ed;padding:13px 17px;border-radius:8px;color:#835d29;font-size:13px;margin-bottom:20px}.pending-banner button{margin-left:10px;white-space:normal}.metric-value small{font-size:16px;font-weight:400;color:var(--muted);letter-spacing:0}.metric-foot{min-height:17px}.metrics{gap:15px}.metric{padding:22px 20px}.metric-value{font-size:31px;margin:15px 0 9px}.operation-heading{display:flex;justify-content:space-between;align-items:center;margin:33px 0 18px;gap:18px}.operation-heading h2{font:29px/1.2 Georgia,serif;font-weight:400;letter-spacing:-.025em;margin:0 0 8px}.operation-heading p:last-child{font-size:12px;color:var(--muted);margin:0}.machine-panel{padding:24px}.machine-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.map-door{background:#f6f7f2;padding:13px;border:1px solid #e5e9df;border-radius:12px;display:flex;flex-direction:column;gap:11px}.map-door-label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;font-weight:600;letter-spacing:.09em;color:#657562;padding:1px 2px 6px}.map-door-label span{font-weight:400;font-size:10px;letter-spacing:0}.map-niche{border:1px solid #d7e2cd;border-radius:8px;background:#fff;min-height:122px;text-align:left;padding:15px;display:flex;flex-direction:column;gap:9px;flex:1;width:100%;min-width:0}.map-niche>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.map-niche strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;line-height:1.5}.map-niche>span{font-size:13px;color:#4e624a}.map-niche small{font-size:11px;color:var(--muted);margin-top:auto}.map-niche:disabled{opacity:1;cursor:default}.map-niche.available{box-shadow:inset 3px 0 #819a6d}.map-niche.sold,.map-niche.empty,.map-niche.reserved{background:#fcf8f0;border-color:#e9ddc7}.map-niche.unknown{background:#f3f4ef;border:1px dashed #d8ded0}.map-niche.unknown>span{color:var(--muted)}.map-niche.blocked{background:#fbf0f0;border-color:#e9cdd0}.map-niche:not(:disabled):hover{border-color:#77946a;box-shadow:0 2px 8px #193d3210}.slot-number{font:22px/1 Georgia,serif;color:#607356}.map-legend{display:flex;gap:19px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:22px}.map-legend span{display:flex;gap:6px;align-items:center}.map-legend i{width:7px;height:7px;border-radius:50%;background:#849e70;display:inline-block}.map-legend .amber-dot{background:#c5a66d}.map-legend .gray-dot{background:#b9c1b1}.map-legend a{margin-left:auto;color:#486c42;font-weight:500}.attention-panel{margin-top:25px}.attention-panel .panel-head{margin-bottom:15px}.sensor-note{font-size:11px;color:var(--muted);line-height:1.8;margin:18px 0 0}.empty-state{text-align:center;padding:38px 20px;color:var(--muted)}.empty-state>span{display:block;font-size:28px;color:#9fae91;margin-bottom:12px}.empty-state h3{font-size:14px;font-weight:500;color:#607253;margin-bottom:7px}.empty-state p{font-size:12px;margin:0}.stock-intro{padding:20px 23px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.stock-intro h2{font-size:16px;margin:0 0 5px}.stock-intro p{font-size:13px;color:var(--muted);margin:0}.sales-filters{display:flex;align-items:end;gap:12px;margin-bottom:22px;flex-wrap:wrap}.sales-filters label{font-size:12px;flex:1;min-width:140px}.sales-filters input,.sales-filters select{margin:6px 0 0;width:100%;min-height:44px}.sales-filters button{margin:0}.pagination{padding:17px 22px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);font-size:12px;gap:10px}.incident-row>div:last-child{display:flex;gap:10px;flex-direction:column;align-items:end}.incident-symbol{color:#9a7138;background:#f7eedf}.incident-symbol.critical{background:#f7e5e5;color:#a24c55}.incident-copy small{font-size:11px;color:var(--muted)}.incident-copy p{overflow-wrap:anywhere}.slot-detail{padding:17px;background:#f5f7ef;border-radius:8px;margin:20px 0}.slot-detail h3{font-size:18px;margin:14px 0 6px;overflow-wrap:anywhere}.slot-detail p{font-size:13px;margin:0;color:var(--muted)}.slot-actions{display:grid;gap:10px}.slot-actions button{width:100%}.notice{font-size:13px;line-height:1.7;background:#fff4df;border-radius:7px;padding:13px;color:#846436}.checkbox-label{display:flex;align-items:start;gap:10px;font-size:14px;margin:23px 0;line-height:1.7}.checkbox-label input{width:19px;height:19px;flex:none;margin:2px 0 0}.incident-history{max-height:180px;overflow:auto;padding:12px;background:#f5f6f1;border-radius:6px;font-size:12px;line-height:1.7}.incident-history p:last-child{margin-bottom:0}.incident-history small{color:var(--muted)}#modal label select{width:100%}#modal .form-actions{margin-top:15px}#view>.section-title{align-items:center}#view>.section-title p{font-size:13px;color:var(--muted);margin:0;max-width:400px}.main-shell main{max-width:1460px}footer{padding-bottom:25px}#toast{max-width:calc(100vw - 32px);line-height:1.7}
@media(max-width:1250px){.map-door-label{display:block}.map-door-label span{display:block;margin-top:5px}.map-niche .badge{font-size:10px}.machine-panel{padding:19px}.map-door{padding:10px}.map-niche{padding:12px}}
@media(max-width:980px){.sidebar .brand{margin-bottom:30px}.nav-link b{width:22px}.metric-value{font-size:29px}.machine-map{gap:10px}.map-door{padding:8px}.map-niche>div{flex-wrap:wrap}.login-story{padding:35px}.login-area{padding:30px}.login-intro h1{font-size:48px}.flower-art{font-size:250px}}
@media(max-width:700px){body{font-size:15px}.login-screen{display:block}.login-story{padding:27px 25px;min-height:225px}.login-story .brand{margin:0}.login-intro{padding:28px 0 0;margin:0}.login-intro .eyebrow{display:none}.login-intro h1{font-size:35px;margin:0;line-height:1.15}.login-intro>p:last-of-type,.login-signature{display:none}.flower-art{right:-15px;bottom:-80px;font-size:190px}.flower-art>span{font-size:100px;left:-40px;top:60px}.login-area{padding:37px 27px 45px}.login-box h2{font-size:31px}.login-box>.muted{margin-bottom:25px}.login-note{margin-top:24px}.sidebar{position:fixed;inset:auto 0 0;height:73px;z-index:30;justify-content:center;padding:5px 10px 9px;border-radius:15px 15px 0 0;box-shadow:0 -3px 15px #193d3210}.sidebar>.brand,.sidebar .brand{display:none}.sidebar nav{width:100%;justify-content:space-around;gap:3px}.sidebar .nav-link{min-width:65px;min-height:55px;display:flex;flex-direction:column;gap:4px;padding:7px 12px;font-size:10px;border-radius:8px}.sidebar .nav-link>span{display:block}.nav-link b{font-size:21px}.main-shell{padding-bottom:73px}.topbar{height:67px;padding:0 20px}.profile .link-button{margin-left:4px;font-size:12px}.profile{gap:8px}main{padding:27px 18px 0}.page-heading{gap:12px;margin-bottom:20px;display:block}.page-heading h1{font-size:34px}.page-heading>.badge{margin-top:13px}.page-heading p:last-child{font-size:13px}.connection-banner{font-size:11px;padding:11px 13px;margin-bottom:17px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:17px 13px}.metric-value{font-size:27px;line-height:1.2;margin:13px 0 8px}.metric-title{font-size:11px;min-height:17px}.metric-foot{font-size:10px;min-height:28px}.operation-heading{display:block;margin:27px 0 16px}.operation-heading h2{font-size:26px;max-width:280px}.operation-heading>.badge{margin-top:13px}.machine-panel{padding:13px}.machine-map{gap:7px}.map-door{padding:5px;gap:7px;border-radius:9px}.map-door-label{padding:5px 2px;font-size:9px;letter-spacing:.04em}.map-door-label span{font-size:9px;line-height:1.6}.map-niche{padding:10px 7px;min-height:129px;gap:9px;box-shadow:none!important}.slot-number{font-size:22px}.map-niche strong{font-size:11px;line-height:1.5}.map-niche>span{font-size:11px}.map-niche .badge{font-size:8px;padding:3px 5px;white-space:normal}.map-niche>div{gap:8px;display:block}.map-niche>div>.badge{display:table;margin-top:7px}.map-niche small{font-size:9px}.map-legend{font-size:10px;gap:10px;margin-top:17px}.map-legend a{display:block;width:100%;margin:3px 0 0;font-size:12px}.attention-panel{margin-top:19px}.panel-head{gap:10px}.panel-head h2{font-size:15px}.panel-head a{font-size:11px}.sensor-note{font-size:10px;margin-top:15px}.stock-intro{padding:17px;display:block}.stock-intro>.badge{margin-top:12px}.stock-intro p{font-size:12px}.sales-filters{gap:10px}.sales-filters label{min-width:calc(50% - 10px)}.sales-filters button{flex:1}.sales-filters label:nth-child(3){min-width:calc(60% - 10px)}.pagination{padding:14px 12px;font-size:10px;gap:7px}.pagination button{font-size:10px;padding:7px;min-height:40px}.table-wrap th,.table-wrap td{padding:13px 15px}.incident-row{padding:17px;gap:10px}.incident-copy{min-width:calc(100% - 48px)}.incident-row>div:last-child{flex-direction:row;width:100%;justify-content:space-between;align-items:center;padding-left:45px}.incident-copy p{font-size:12px}.incident-copy strong{font-size:14px}.section-title{display:block!important}.section-title button{width:100%;margin-top:15px}.section-title p{font-size:12px!important}dialog{width:calc(100vw - 28px);padding:22px;max-height:90dvh}.modal-title{font-size:27px}.pending-banner{font-size:12px}footer{padding-bottom:22px;line-height:1.7}#toast{bottom:87px;right:16px;left:16px;font-size:13px}.form-row{display:block}}
