@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700;750;800&display=swap');

:root{--bg:#f5f6f2;--surface:#fff;--surface-soft:#f6f7f3;--text:#20261d;--muted:#7b8177;--line:#e9ece4;--accent:#cbf66d;--green:#4a7627;--sidebar:#1a201b;--radius:16px;font-family:'Golos Text',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;color:var(--text);background:var(--bg);font-size:13px;color-scheme:light;scroll-behavior:smooth;scroll-padding-top:30px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{transition:background .18s,transform .18s,border-color .18s}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #78a843;outline-offset:4px}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--accent);padding:12px;border-radius:8px}.skip-link:focus{top:12px}
.sidebar{width:232px;background:var(--sidebar);color:#a1aaa0;position:fixed;inset:0 auto 0 0;padding:32px 20px 0;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;color:#fff;font-weight:750;font-size:23px;letter-spacing:-1.1px;padding:0 8px 32px}.brand-symbol{width:35px;height:40px;color:var(--accent);font-size:43px;line-height:40px;font-weight:800;position:relative;letter-spacing:-8px}.brand-symbol>span{font-size:21px;position:absolute;top:-5px;right:-2px}.brand-light{font-weight:450}.brand small{display:block;font-size:10px;letter-spacing:2.5px;margin-top:5px;color:#848e82;font-weight:500}.workspace{display:flex;gap:10px;align-items:center;padding:14px 10px;background:#252c25;border:1px solid #333b31;border-radius:10px;margin-bottom:32px;font-size:12px;color:#f4f6f0;font-weight:500}.workspace-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:7px;background:#35402b;color:#cbf66d}.workspace small{display:block;color:#919c8c;font-weight:400;font-size:12px;margin-top:5px}.workspace-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;margin-left:auto}.nav-caption{font-size:10px;letter-spacing:1.7px;color:#6d796c;margin:0 12px 14px;font-weight:600}nav{display:flex;flex-direction:column;gap:7px}.nav-link{display:flex;align-items:center;gap:12px;padding:13px 13px;border-radius:8px;font-size:12px;white-space:nowrap;transition:background .2s,color .2s}.nav-link svg{width:17px;height:17px}.nav-link:hover{background:#293128;color:#fff}.nav-link.active{background:var(--accent);color:#26331b;font-weight:600}.nav-key{margin-left:auto;color:#677f4b;font-size:11px;opacity:0}.nav-link.active .nav-key{opacity:1}.nav-counter{font-size:11px;margin-left:auto;padding:3px 5px;border-radius:4px;background:#303a2e;color:#b6c4ac;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;padding-top:40px}.strategy-note{background:linear-gradient(120deg,#303d29,#252c24);border:1px solid #3b4633;border-radius:12px;padding:16px;margin-bottom:25px}.mini-label{font-size:10px;letter-spacing:1.3px;color:#a3b294}.strategy-note>div{font-size:13px;font-weight:500;color:#eef5e8;margin:14px 0 8px;display:flex;align-items:center;gap:7px}.pulse-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent)}.strategy-note p{font-size:12px;line-height:1.8;color:#9ca993;margin:0 0 14px}.strategy-note a{display:flex;justify-content:space-between;font-size:12px;color:#d5ecc1;border-top:1px solid #3b4633;padding-top:12px}.sidebar-button{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:#a1aaa0;font-size:12px;padding:12px 10px;text-align:left;border-radius:8px}.sidebar-button:hover{background:#293128;color:#fff}.sidebar-button svg{width:16px;height:16px}.external-arrow{margin-left:auto}.team{display:flex;align-items:center;gap:9px;border-top:1px solid #343d32;margin-top:24px;padding:23px 0;font-size:12px;color:#e1e8db}.avatar{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#dce7d0;color:#354a25;font-weight:650;font-size:12px;letter-spacing:-.3px}.team small{display:block;font-size:11px;color:#808d7b;margin-top:5px}.team-badge{margin-left:auto;font-size:10px;color:#829477}.small{width:30px;height:30px;font-size:11px}
main{margin-left:232px}.topbar{height:76px;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:var(--surface)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#bcc3b4}.breadcrumb strong{font-weight:500;color:var(--text)}.topbar-actions{display:flex;align-items:center;gap:18px}.connection{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted)}.connection i,.chart-caption i{height:5px;width:5px;border-radius:50%;background:#a2a99b}.connection.online i{background:#6c9f44;box-shadow:0 0 0 3px #6c9f4414}.connection.offline i{background:#c86b57}.icon-button{display:grid;place-items:center;width:34px;height:34px;background:none;color:var(--muted);border:1px solid var(--line);border-radius:8px;flex-shrink:0}.icon-button:hover{color:var(--text);background:var(--surface-soft)}.icon-button svg{width:16px;height:16px}.content{max-width:1640px;padding:36px 38px 0;margin:auto}.page-section{scroll-margin-top:24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:600;color:var(--muted)}h1{font-size:32px;letter-spacing:-1.3px;line-height:1.2;font-weight:600;margin:9px 0 10px}.heading-dot{color:#7caa4b}.page-heading p{font-size:12px;color:var(--muted);margin:0}.heading-actions{display:flex;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;border-radius:8px;font-weight:550;font-size:12px;white-space:nowrap;min-height:38px;border:1px solid transparent}.button svg{height:14px;width:14px}.primary{background:var(--text);color:var(--surface);border-color:var(--text)}.primary:hover{background:#3b4d2f;border-color:#3b4d2f}.secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.secondary:hover{border-color:#b9c4ae;background:var(--surface-soft)}.run-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;border-top:1px solid var(--line);padding-top:18px}.run-select{display:flex;gap:10px;align-items:center;min-width:0}.run-icon{display:grid;place-items:center;height:29px;width:29px;border:1px solid var(--line);background:var(--surface);border-radius:7px;color:var(--muted)}.run-icon svg{width:15px;height:15px}.run-select label{font-size:10px;color:var(--muted);letter-spacing:1px}select{background:transparent;border:0;color:var(--text);font-size:12px;cursor:pointer;max-width:240px;padding:8px 20px 8px 0;text-overflow:ellipsis}select option{background:var(--surface);color:var(--text)}.status-pill{font-size:10px;font-weight:500;color:var(--muted);background:#eaece7;padding:5px 8px;border-radius:5px;white-space:nowrap}.status-pill.live{color:#496a2d;background:#e7f1da}.toolbar-right{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:11px}.toolbar-right .icon-button{width:27px;height:27px}.hero{background:#eaf0df;border:1px solid #e2e9d6;border-radius:var(--radius);height:261px;position:relative;overflow:hidden;margin-bottom:20px;padding:29px 32px;display:flex}.hero-copy{position:relative;z-index:2;width:52%}.hero-label{font-size:9px;letter-spacing:1.4px;display:flex;align-items:center;gap:7px;color:#78866b;font-weight:500}.hero-label>span{display:inline-block;background:#6e8f4b;width:5px;height:5px;border-radius:50%}.hero h2{font-size:39px;font-weight:600;line-height:1.08;letter-spacing:-1.6px;margin:16px 0 12px;color:#283b22}.hero-copy p{font-size:12px;line-height:1.7;color:#7a886f;margin:0}.hero-link{position:absolute;bottom:0;font-size:11px;font-weight:550;color:#435a32;display:flex;align-items:center;gap:25px}.hero-link>span{font-size:17px}.hero-illustration{position:absolute;width:43%;height:235px;left:44%;top:9px}.hero-illustration>svg{width:100%;height:100%;stroke:none}.illustration-label{position:absolute;top:8px;left:17px;font-size:8px;letter-spacing:1.3px;color:#8e9b80}.illustration-sticker{position:absolute;right:11%;bottom:8px;font-size:8px;letter-spacing:1px;color:#697b55;display:flex;gap:5px;align-items:center}.illustration-sticker i{width:4px;height:4px;background:#738e56;border-radius:50%}.hero-progress{width:150px;position:absolute;bottom:30px;right:30px;font-size:10px;color:#738468}.hero-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px}.hero-progress strong{color:#3c582e;font-weight:550}.progress-track{height:3px;background:#d6dfc9;border-radius:3px;overflow:hidden}.progress-track span{display:block;height:100%;width:0;background:#556e3b;transition:width .5s}.hero-progress small{font-size:9px;display:block;margin-top:7px}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{background:var(--surface);border:1px solid var(--line);padding:19px 20px 16px;border-radius:12px;min-height:139px}.metric-label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:6px}.metric-label svg{width:15px;height:15px;color:#9da78f}.metric-value{display:flex;gap:8px;align-items:baseline;margin:17px 0 15px;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-value>span{font-size:30px;font-weight:550;letter-spacing:-1.2px;line-height:1}.metric-value small{font-size:12px;color:var(--muted)}.metric-foot{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);min-height:14px;line-height:1.4}.metric-tag{padding:3px 5px;border-radius:4px;font-size:9px;background:#edf5e3;color:#6a8c46;white-space:nowrap}.metric-tag.negative{background:#fcf0e9;color:#ac7550}.metric-profit{background:#f0f6e8;border-color:#e3ecd7}.metric-dot{width:4px;height:4px;border-radius:50%;background:#9fb78b;flex-shrink:0}.storage-mini-track{height:3px;background:var(--line);border-radius:2px;margin:-3px 0 10px;overflow:hidden}.storage-mini-track span{display:block;background:#8caa67;height:100%;width:0;transition:width .5s}.storage-mini-track.full span{background:#cd9c4f}.analytics-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(230px,1fr);gap:20px;margin-bottom:32px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.panel h2,.section-heading h2{font-size:15px;font-weight:550;letter-spacing:-.4px;margin:0}.panel-heading p{color:var(--muted);font-size:11px;margin:6px 0 0}.panel-heading .eyebrow{display:block;margin-bottom:8px;font-size:9px}.segmented{display:flex;gap:2px;background:var(--surface-soft);border:1px solid var(--line);padding:3px;border-radius:7px}.segmented button{padding:5px 7px;font-size:10px;border:0;border-radius:4px;color:var(--muted);background:transparent;white-space:nowrap}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #1826170c}.chart-key{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-bottom:10px}.chart-key>span{width:6px;height:6px;background:#8baa57;border-radius:50%}.chart-key strong{font-size:12px;font-weight:550;margin-left:auto;color:var(--text)}.chart-wrap{position:relative;height:213px}.chart-wrap>svg{width:100%;height:100%;overflow:visible;stroke:none}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:var(--muted)}.chart-caption{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:9px}.chart-caption>span:first-child{display:flex;align-items:center;gap:6px}.chart-caption i{background:#8eaa6d}.chart-tooltip{pointer-events:none;position:absolute;background:#26351f;color:#f5f8f0;font-size:12px;border-radius:6px;padding:9px 12px;white-space:nowrap;z-index:3;box-shadow:0 3px 12px #0002}.muted-icon{color:#a2b38f;width:18px;height:18px}.event-orbit{position:relative;margin:-4px auto 10px;width:157px;height:157px}.event-orbit>svg{width:100%;height:100%;stroke:none;transform:rotate(-90deg)}.orbit-track{stroke:var(--surface-soft);stroke-width:10;fill:none}.orbit-progress{stroke:#c2e88c;stroke-width:10;fill:none;stroke-linecap:round;stroke-dasharray:408.407;stroke-dashoffset:408.407;transition:stroke-dashoffset .5s}.event-orbit>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px}.event-orbit strong{font-size:27px;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums}.event-orbit span{font-size:9px;color:var(--muted)}.shift-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-size:11px;border-bottom:1px solid var(--line)}.shift-row:last-child{border:0;padding-bottom:0}.shift-row span{display:flex;align-items:center;gap:7px;color:var(--muted)}.shift-row strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.legend-dot{width:5px;height:5px;border-radius:50%;background:#b8beb0}.green{background:#b4d58d}.amber{background:#d9c39a}.gray{background:#adb8a4}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:17px}.section-heading .eyebrow{display:block;margin-bottom:8px}.section-note{font-size:11px;color:var(--muted)}.machine-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.machine-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px;position:relative;min-height:175px;transition:border-color .2s,box-shadow .2s}.machine-card:hover{border-color:#b5c79f;box-shadow:0 5px 18px #1f351108}.machine-card.working{border-color:#c9dcb3}.machine-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.machine-number{font-size:10px;font-variant-numeric:tabular-nums;color:#a0a698;letter-spacing:1px}.machine-state{font-size:9px;display:flex;align-items:center;gap:5px;color:var(--muted)}.machine-state i{width:4px;height:4px;border-radius:50%;background:#b5bcb0}.working .machine-state{color:#658447}.working .machine-state i{background:#83a557;box-shadow:0 0 0 3px #8eab6320}.machine-icon{width:34px;height:34px;background:var(--surface-soft);color:#779458;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;margin-bottom:12px}.machine-icon svg{width:19px;height:19px}.working .machine-icon{background:#edf6df;border-color:#deebce;color:#63863e}.machine-card h3{font-size:12px;font-weight:550;margin:0 0 6px}.machine-card p{font-size:10px;color:var(--muted);margin:0}.machine-bottom{font-size:10px;border-top:1px solid var(--line);padding-top:11px;margin-top:17px;display:flex;justify-content:space-between;color:var(--muted)}.machine-bottom span:last-child{color:#6b8057}.snapshot-note{font-size:9px;color:var(--muted);margin:10px 0 28px}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;margin-bottom:25px}.subtle-pill{background:var(--surface-soft);border:1px solid var(--line);color:var(--muted);font-size:10px;border-radius:5px;padding:6px 8px;white-space:nowrap}.inventory-filters{display:flex;gap:5px;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:6px;overflow:auto}.inventory-filters button{border:0;border-radius:5px;padding:6px 9px;color:var(--muted);background:transparent;font-size:10px;white-space:nowrap}.inventory-filters button.active{background:#edf4e3;color:#668344;font-weight:500}.inventory-filters button:hover{background:var(--surface-soft)}.inventory-list{height:240px;overflow:auto}.inventory-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line)}.inventory-row:last-child{border:0}.item-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:var(--surface-soft);color:#879d74;flex-shrink:0}.item-icon svg{width:17px;height:17px}.item-name{font-size:12px;font-weight:500}.item-id{display:block;font-size:10px;color:var(--muted);margin-top:4px}.item-properties{display:flex;gap:5px;align-items:center;margin-left:auto;font-size:10px;color:var(--muted)}.color-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:3px}.color-red{background:#d79c8c}.color-blue{background:#8aa9c5}.color-green{background:#95af80}.empty-content{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:var(--muted);text-align:center;font-size:12px;padding:20px}.empty-content svg{width:30px;height:30px;opacity:.6}.empty-content small{font-size:10px;line-height:1.6;max-width:240px}.buyers-list{min-height:218px}.buyer-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:13px 0}.buyer-row:last-child{border:0}.buyer-avatar{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;font-size:12px;color:#5d754b;background:#eef2e8;flex-shrink:0}.buyer-row:nth-child(2) .buyer-avatar{color:#8f805d;background:#f4f0e7}.buyer-row:nth-child(3) .buyer-avatar{color:#6b8096;background:#edf1f5}.buyer-row:nth-child(4) .buyer-avatar{color:#8a7092;background:#f1edf4}.buyer-name{font-size:12px;font-weight:500}.buyer-detail{display:block;font-size:10px;color:var(--muted);margin-top:4px}.buyer-status{margin-left:auto;font-size:9px;border-radius:5px;background:#f2f4ee;padding:5px 8px;color:#8b967c;white-space:nowrap}.buyer-status.ready{background:#edf5e3;color:#71904d}.market-tip{display:flex;align-items:center;gap:10px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;padding:11px 12px;margin-top:15px}.market-tip svg{width:16px;height:16px;color:#99ad81}.market-tip p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.activity-panel{padding-bottom:0}.log-filter{border:1px solid var(--line);border-radius:7px;padding:0 9px}.log-filter select{font-size:10px;max-width:180px}.table-wrap{overflow:auto;margin:0 -24px}table{border-collapse:collapse;width:100%;text-align:left;min-width:640px}thead{background:var(--surface-soft);color:var(--muted);font-size:8px;letter-spacing:1px}th{font-weight:500}td,th{padding:13px 20px;border-bottom:1px solid var(--line)}td:first-child,th:first-child{padding-left:25px}td{font-size:11px;vertical-align:top}td:first-child{font-variant-numeric:tabular-nums;white-space:nowrap}td:first-child small{font-size:9px;margin-left:6px;color:var(--muted)}td:last-child{color:var(--muted);font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}.event-badge{font-size:9px;display:inline-block;padding:5px 7px;border-radius:4px;white-space:nowrap;background:#f1f3ed;color:#7b8c6b}.event-supply{background:#f0f3e7;color:#849653}.event-machine_done{background:#edf2f5;color:#7a92a0}.event-sale_result{background:#edf5e6;color:#71944d}.command-summary{font-size:10px;color:var(--muted);line-height:1.7}.command-summary summary{color:var(--text);cursor:pointer}.command-summary pre{max-width:340px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px;background:var(--surface-soft);padding:10px;border-radius:6px}.report-ok{font-size:10px;color:#789852;display:flex;align-items:center;gap:4px}.report-ok svg{width:12px;height:12px}.report-error{color:#b67d50;font-size:10px}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 0;font-size:9px;color:var(--muted);gap:12px}footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#9ca594;margin:26px 0;padding:16px 0}footer strong{color:#76846c;font-weight:600;font-size:12px;letter-spacing:-.3px}.footer-divider{color:#c7cec0;margin:0 8px}
dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:20px;box-shadow:0 30px 100px #111b1430;max-width:500px;width:calc(100% - 32px);padding:28px}dialog::backdrop{background:#16201485;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-close{font-size:23px}.dialog-icon{display:grid;place-items:center;width:48px;height:48px;background:#edf5e3;color:#63823e;border-radius:12px;margin-bottom:20px}.dialog-icon svg{width:25px;height:25px}dialog h2{font-size:25px;font-weight:550;letter-spacing:-.8px;margin:0 0 15px}dialog p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:22px}dialog label{display:block;font-size:12px;margin-bottom:8px}dialog input{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--text);padding:12px;margin-bottom:18px}.command-block{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:16px}.command-block code{font-size:12px;line-height:1.8;overflow-wrap:anywhere;display:block;margin-bottom:15px}.dialog-hint{font-size:12px!important;margin:18px 0 0!important}.error-banner{background:#fff0e9;border:1px solid #f0d8ca;color:#a0674a;padding:12px 16px;border-radius:9px;font-size:12px;margin-bottom:18px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#26351f;color:#eff8e5;border-radius:10px;padding:13px 20px;font-size:12px;box-shadow:0 10px 40px #18271330;z-index:100;max-width:90vw}
html[data-theme="dark"]{--bg:#171c18;--surface:#202721;--surface-soft:#252e25;--text:#e0e8d9;--muted:#94a38b;--line:#323e30;color-scheme:dark}html[data-theme="dark"] .metric-profit{background:#2a3724;border-color:#3c4c32}html[data-theme="dark"] .metric-tag,html[data-theme="dark"] .inventory-filters button.active,html[data-theme="dark"] .buyer-status.ready{background:#35472a;color:#bad499}html[data-theme="dark"] .hero{background:#dce8c9;border-color:#dce8c9}html[data-theme="dark"] .status-pill{background:#35402f;color:#a8ba97}html[data-theme="dark"] .working .machine-icon{background:#314427;border-color:#415d30}html[data-theme="dark"] .event-badge{background:#2b3728;color:#acbe99}html[data-theme="dark"] .error-banner{background:#3d3026;border-color:#5d4635;color:#e3be9e}html[data-theme="dark"] .buyer-avatar{background:#35402e;color:#c4d5b0}html[data-theme="dark"] .buyer-status{background:#303b2d;color:#afbea1}
@media(min-width:1550px){.content{padding:44px 50px 0}.topbar{padding:0 50px}.hero{height:285px}.hero h2{font-size:46px}.hero-illustration{height:265px}.metric-value>span{font-size:36px}.metric{padding:22px 24px}.metric-label{font-size:12px}.metric-foot{font-size:11px}.chart-wrap{height:245px}.event-orbit{width:175px;height:175px}.panel h2,.section-heading h2{font-size:18px}.hero-label{font-size:10px}.hero-copy p{font-size:12px}.hero-link{font-size:12px}.machine-card h3{font-size:14px}.machine-card p,.machine-bottom{font-size:12px}.machine-card{padding:22px}.buyer-name,.item-name{font-size:12px}.buyer-detail,.buyer-status,.item-id{font-size:11px}.buyer-row{padding:15px 0}}
@media(max-width:1150px){.sidebar{width:200px;padding:27px 14px 0}.brand{font-size:20px;padding-left:6px}.brand-symbol{font-size:37px;width:30px}.brand-symbol>span{font-size:19px}.nav-link{font-size:12px;padding:12px 11px}.team{gap:6px}.team-badge{display:none}main{margin-left:200px}.content{padding:28px 24px 0}.topbar{padding:0 24px}.hero{padding:26px;height:245px}.hero h2{font-size:35px}.hero-label{font-size:8px;letter-spacing:1px}.hero-progress{width:128px;right:22px;bottom:23px}.hero-illustration{left:46%;width:49%;top:0;height:220px}.metrics{gap:10px}.metric{padding:16px 13px}.metric-label{font-size:10px}.metric-value>span{font-size:25px}.metric-value small{font-size:10px}.metric-foot{font-size:9px}.analytics-grid{gap:14px;grid-template-columns:minmax(0,1.8fr) minmax(205px,1fr)}.panel{padding:20px}.table-wrap{margin:0 -20px}.panel-heading{gap:8px}.segmented button{font-size:9px;padding:5px}.panel h2{font-size:13px}.panel-heading p{font-size:10px}.machine-grid{gap:10px}.machine-card{padding:14px}.machine-state{font-size:8px}.machine-card h3{font-size:12px}.bottom-grid{gap:14px}.inventory-filters{gap:0}.inventory-filters button{font-size:9px;padding:6px 7px}.hero-copy{width:57%}.hero-progress{bottom:17px}.hero-link{bottom:1px;font-size:10px}}
@media(max-width:900px){.sidebar{width:72px;padding:24px 12px 0;align-items:center}.brand{padding:0 0 28px}.brand>span:nth-child(2),.workspace,.nav-caption,.nav-link .nav-key,.nav-counter,.strategy-note,.sidebar-button,.team{display:none}.brand-symbol{width:35px}.sidebar nav{width:100%;gap:12px}.nav-link{font-size:0;padding:13px;justify-content:center;position:relative}.nav-link svg{width:19px;height:19px}.sidebar-bottom{padding:0}main{margin-left:72px}.content{padding:28px 22px 0}.hero-copy{width:54%}.hero h2{font-size:36px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-label{font-size:10px}.metric-value>span{font-size:26px}.metric-foot{font-size:9px}.page-heading p{font-size:12px}.hero-illustration{left:47%}.analytics-grid{grid-template-columns:minmax(0,1.8fr) minmax(205px,1fr)}.machine-card{padding:15px}.machine-bottom{font-size:9px}.bottom-grid{grid-template-columns:1.1fr 1fr}.strategy-note{display:none}.sidebar:after{content:'RM / 01';font-size:9px;letter-spacing:1px;writing-mode:vertical-rl;margin-top:auto;margin-bottom:28px;color:#778770}}
@media(max-width:700px){.topbar{height:60px;padding:0 16px}.topbar-actions{gap:10px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 6px}.connection{font-size:10px}.topbar .small{display:none}.content{padding:22px 16px 0}h1{font-size:28px}.page-heading{align-items:start;margin-bottom:20px;gap:12px;flex-wrap:wrap}.heading-actions{margin-top:2px}.button{font-size:11px;padding:9px 11px;min-height:34px}.run-toolbar{flex-wrap:wrap;gap:7px}.run-select{gap:7px;max-width:100%}.run-select label{display:none}.run-select select{max-width:170px;font-size:11px}.toolbar-right{margin-left:auto;font-size:10px}.hero{height:232px;padding:22px}.hero-copy{width:65%}.hero-label{font-size:7px;letter-spacing:.8px}.hero h2{font-size:32px}.hero-copy p{font-size:11px}.hero-illustration{left:55%;width:48%;height:170px;top:25px;opacity:.9}.illustration-label,.illustration-sticker{display:none}.hero-progress{width:108px;right:16px;bottom:20px;font-size:9px}.hero-progress small{font-size:8px}.hero-link{font-size:9px;gap:13px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:16px;min-height:130px}.metric-value>span{font-size:29px}.metric-label{font-size:11px}.metric-foot{font-size:9px}.analytics-grid{grid-template-columns:1fr;gap:14px;margin-bottom:26px}.chart-wrap{height:200px}.panel{padding:19px}.shift-panel .event-orbit{width:145px;height:145px;margin:0 auto 8px}.shift-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.shift-panel .panel-heading{grid-column:1/-1;margin-bottom:4px}.shift-panel .event-orbit{grid-row:2/5;align-self:center}.shift-row{min-height:37px}.shift-panel .shift-row:last-child{padding-bottom:10px}.machine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.machine-card{min-height:174px;padding:16px}.machine-state{font-size:9px}.machine-card h3{font-size:12px}.machine-card p{font-size:10px}.machine-bottom{font-size:10px}.section-note{font-size:9px;max-width:100px;text-align:right;line-height:1.5}.bottom-grid{grid-template-columns:1fr}.panel h2,.section-heading h2{font-size:15px}.inventory-filters button{font-size:11px;padding:7px 9px}.item-name,.buyer-name{font-size:12px}.item-id,.buyer-detail{font-size:11px}.buyer-status{font-size:10px}.market-tip p{font-size:11px}.inventory-list{height:235px}.buyers-list{min-height:0}.snapshot-note{font-size:9px}.table-wrap{margin:0 -19px}.table-footer{font-size:8px}.table-footer span:last-child{max-width:120px;text-align:right}.activity-panel .panel-heading h2{font-size:13px}footer{font-size:9px;flex-wrap:wrap;line-height:1.8;margin:20px 0}.footer-divider{margin:0 4px}.activity-panel{margin-bottom:0}.segmented button{font-size:10px;padding:5px 8px}}
@media(max-width:420px){.sidebar{width:55px;padding:20px 8px 0}.brand-symbol{font-size:33px;width:31px}.brand-symbol>span{font-size:16px}.nav-link{padding:11px 9px}.nav-link svg{width:17px;height:17px}main{margin-left:55px}.content{padding:20px 12px 0}.topbar{padding:0 12px}.breadcrumb{font-size:10px}.breadcrumb strong{font-size:10px}.connection{font-size:0}.connection i{width:6px;height:6px}.topbar-actions{gap:8px}.topbar .icon-button{width:27px;height:27px}.hero{padding:18px;height:225px}.hero h2{font-size:30px}.hero-illustration{top:37px}.hero-progress{width:90px;right:13px}.hero-label{max-width:150px;line-height:1.6}.hero-copy{width:70%}.hero-progress small{line-height:1.5}.hero-copy p{font-size:10px}.hero-link{font-size:8px;gap:10px}.metric{padding:14px 12px}.metric-label{font-size:10px}.metric-value>span{font-size:26px}.metric-value small{font-size:9px}.metric-foot{font-size:8px}.shift-panel{column-gap:8px}.shift-panel .event-orbit{width:124px;height:124px}.shift-row{font-size:10px}.shift-row span{gap:5px}.machine-card{padding:13px}.machine-card h3{font-size:12px}.machine-bottom{font-size:9px}.hero-link{bottom:3px}.panel-heading p{font-size:9px}.chart-key,.chart-caption{font-size:9px}.inventory-filters button{font-size:10px;padding:7px}.segmented button{font-size:9px;padding:5px}.panel{padding:17px}.table-wrap{margin:0 -17px}.log-filter{padding:0 5px}.log-filter select{font-size:9px;max-width:110px}.activity-panel .panel-heading h2{font-size:12px}.section-note{font-size:8px}.page-heading p{font-size:11px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Keep the shift indicator legible over the technical illustration. */
.hero-progress{background:#eaf0dff2;border:1px solid #d8e2cb;padding:9px 11px;border-radius:8px;width:170px;bottom:22px;right:22px}.hero-progress small{font-size:9px;line-height:1.5}.hero-progress>div:first-child{font-size:9px}.metric-foot{flex-wrap:wrap}.run-select select{min-width:130px}.topbar-settings{border:0}.sidebar .brand small{font-size:8px}
@media(max-width:700px){.hero-progress{width:123px;right:12px;bottom:16px;padding:7px 8px}.hero-progress>div:first-child,.hero-progress small{font-size:8px}.hero-label{max-width:180px}.hero-illustration{height:155px;top:22px}.run-select select{min-width:100px;max-width:150px}.metric{min-height:145px}.heading-actions{margin-top:6px}.hero-copy p{font-size:11px}.hero-link{font-size:9px}.shift-row{font-size:10px}.topbar-actions{gap:6px}}
@media(max-width:420px){.hero-progress{width:105px;padding:6px;right:8px;bottom:12px}.hero-progress>div:first-child,.hero-progress small{font-size:7px}.hero-copy p{font-size:10px}.hero-link{font-size:8px}.metric-foot{font-size:8px}.metric-value{gap:4px}.metric-value>span{font-size:24px}.run-select select{max-width:132px}.status-pill{font-size:8px}.shift-row{font-size:9px}.hero-label{max-width:150px;font-size:6px}.topbar-actions .icon-button{width:25px;height:25px}}
/* A dedicated portrait layout keeps the title, illustration and actions apart. */
@media(max-width:700px){
  .hero{height:285px;padding:20px}
  .hero-copy{width:100%}
  .hero h2{font-size:clamp(23px,7vw,30px);white-space:nowrap;line-height:1.12}
  .hero-copy p{font-size:10px;max-width:150px;line-height:1.7}
  .hero-label{max-width:190px;font-size:6px;line-height:1.6}
  .hero-illustration{left:auto;right:-3px;top:125px;width:45%;height:110px}
  .hero-link{font-size:8px;bottom:0;gap:12px;max-width:140px}
  .hero-progress{bottom:15px;right:12px;width:118px}
}
@media(max-width:360px){
  .hero{height:295px;padding:17px}
  .hero-copy p{max-width:125px;font-size:9px}
  .hero-progress{width:96px;right:8px;bottom:15px}
  .hero-link{max-width:106px;font-size:7px;line-height:1.6}
  .hero-illustration{top:132px;right:-5px}
  .metric-value>span{font-size:21px}
  .shift-panel{display:block}.shift-panel .event-orbit{width:135px;height:135px}
  .machine-top{align-items:start;gap:5px}.machine-state{font-size:7px}.machine-number{font-size:8px}
  .breadcrumb{font-size:7px}.breadcrumb strong{font-size:7px}.topbar{gap:3px}.breadcrumb span{margin:0 3px}
}
