:root{--navy:#173B35;--blue:#2B7A61;--ink:#203B33;--muted:#75827A;--line:#E1E9E2;--canvas:#F5F8F5;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.45}.topbar{height:70px;padding:0 max(24px,calc((100vw - 1040px)/2));background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:3;box-shadow:0 2px 12px #0b213533}.brand{text-decoration:none;color:white;display:flex;align-items:center;gap:11px;font-weight:750;letter-spacing:.01em}.brand-mark{width:35px;height:35px;border:1px solid #79C4A4;border-radius:10px;color:#9CE1BD;display:grid;place-items:center;font-size:18px}.brand-sub{display:block;font-size:10px;font-weight:500;color:#C1D8C9;letter-spacing:.06em;margin-top:1px}.top-actions{display:flex;align-items:center;gap:15px}.network{font-size:11px;color:#d3e1e8;display:flex;align-items:center;gap:7px}.network:before{content:"";width:8px;height:8px;border-radius:50%;background:#42BD7A;box-shadow:0 0 0 3px #42BD7A2c}.network.offline:before{background:#f4be55;box-shadow:0 0 0 3px #f4be552c}.top-actions select{appearance:none;border:1px solid #ffffff44;background:#24594C;color:white;border-radius:8px;padding:8px 29px 8px 11px;font:500 12px inherit;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23dce8ef' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.shell{max-width:1040px;margin:0 auto;padding:33px 24px 42px}.crumb{font-size:11px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:#77857A;display:flex;align-items:center;gap:8px;margin:1px 0 17px}.crumb-dot{width:6px;height:6px;background:#3F9A70;border-radius:50%}.hero{background:linear-gradient(116deg,#E9F4EB 0%,#F4F8F4 64%,#EDF3EC 100%);border:1px solid #DFEAE1;border-radius:17px;min-height:238px;padding:39px 42px;display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;overflow:hidden}.eyebrow{font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-size:10px;margin-bottom:10px}h1,h2,p{margin:0}h1{font-size:clamp(27px,4vw,39px);font-weight:780;color:var(--navy);letter-spacing:-.045em;max-width:560px;line-height:1.14}#subtitle{color:#63756A;margin-top:11px;max-width:550px;font-size:13px}.hero-art{height:155px;width:275px;position:relative;display:grid;place-items:center;color:#3B8967}.floor-grid{position:absolute;inset:24px 10px 1px;background:linear-gradient(150deg,transparent 48%,#BDD8C3 49%,transparent 50%),linear-gradient(30deg,transparent 48%,#BDD8C3 49%,transparent 50%);background-size:34px 27px;opacity:.38;transform:perspective(160px) rotateX(42deg)}.rack-drawing{position:relative;width:74px;height:115px;border:3px solid #3B8967;border-radius:8px;padding:11px 8px;display:flex;flex-direction:column;gap:8px;background:#E9F4E9;box-shadow:11px 9px 0 #C6DFCA}.rack-drawing:before,.rack-drawing:after{content:"";position:absolute;bottom:-9px;width:11px;height:6px;background:#3B8967;border-radius:2px}.rack-drawing:before{left:5px}.rack-drawing:after{right:5px}.rack-drawing i{display:block;border:1.6px solid #78AF8E;border-radius:3px;flex:1}.rack-drawing b{position:absolute;width:5px;height:5px;right:7px;top:8px;border-radius:50%;background:#35aa8a}.hero-number{position:absolute;right:8px;top:7px;font-size:27px;line-height:1.02;font-weight:800;color:#bad9dc;letter-spacing:-.04em}.menu-section{margin:0 0 22px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 3px 13px}.section-title>div{display:flex;align-items:center;gap:12px}.step{width:31px;height:31px;border-radius:9px;background:#E5F1E8;color:#31765A;display:grid;place-items:center;font-size:11px;font-weight:800}.section-title h2{font-size:15px;color:var(--navy);font-weight:750;letter-spacing:-.02em}.section-title p{font-size:11px;color:var(--muted);margin-top:2px}.menu-count{font-size:10px;color:#83919b}.menu-button{width:100%;border:1px solid var(--line);border-radius:13px;background:var(--white);padding:19px 21px;display:flex;align-items:center;gap:17px;text-align:left;color:inherit;cursor:pointer;box-shadow:0 5px 17px #17375008;transition:border-color .18s,transform .18s,box-shadow .18s}.menu-button:hover{border-color:#8bbbc4;transform:translateY(-1px);box-shadow:0 10px 25px #17375011}.menu-button:focus-visible{outline:3px solid #5cb3c2;outline-offset:3px}.menu-icon{width:51px;height:51px;border-radius:12px;display:grid;place-items:center;background:#E6F2E7;color:#367B5F;flex:0 0 auto}.menu-icon svg{width:31px;height:31px}.menu-copy{display:flex;flex-direction:column;min-width:0;flex:1}.menu-kicker{font-size:9px;font-weight:750;letter-spacing:.11em;color:#357E5E;text-transform:uppercase;margin-bottom:3px}.menu-copy strong{font-size:15px;color:#183b53;font-weight:750}.menu-copy small{font-size:11px;color:#788894;margin-top:3px}.menu-arrow{font-size:24px;color:#3f8998;transition:transform .18s}.menu-button:hover .menu-arrow{transform:translateX(3px)}.offline-note{display:flex;align-items:center;gap:10px;padding:13px 15px;color:#5c7281;font-size:11px;background:#EFF5EF;border:1px solid #e2eaee;border-radius:10px;margin-top:25px}.offline-icon{display:grid;place-items:center;width:22px;height:22px;background:#E0EFE3;color:#367B5F;border-radius:7px;font-size:18px}footer{display:flex;justify-content:space-between;color:#8b99a2;font-size:10px;padding:28px 2px 0}footer span:first-child{font-weight:700;color:#637786}
@media(max-width:700px){.topbar{height:62px;padding:0 15px}.brand{font-size:13px}.brand-mark{width:31px;height:31px}.brand-sub{font-size:9px}.network{font-size:0}.top-actions{gap:10px}.top-actions select{max-width:139px;padding:7px 25px 7px 8px;font-size:10px}.shell{padding:22px 14px 32px}.hero{padding:26px 21px;min-height:190px;margin-bottom:26px}.hero-art{width:135px;transform:scale(.8);transform-origin:right center;margin-left:-20px}.hero-number{right:0;font-size:23px}.hero-copy{max-width:65%}.menu-button{padding:15px 14px;gap:12px}.menu-icon{width:44px;height:44px}.menu-copy strong{font-size:13px}.menu-copy small{font-size:10px}.section-title{align-items:flex-start}.menu-count{padding-top:7px}}@media(max-width:390px){.hero-art{display:none}.hero-copy{max-width:100%}.hero{min-height:155px}.menu-arrow{font-size:20px}}
.top-actions select{font:500 12px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.brand-mark{font-size:11px;font-weight:800;letter-spacing:-.04em}.hero{min-height:184px;padding:29px 38px}h1{font-size:clamp(22px,2.4vw,26px);letter-spacing:-.025em;line-height:1.2}.hero-art{height:132px}@media(max-width:700px){.hero{min-height:154px;padding:24px 21px}h1{font-size:22px}}
.history-button{border:1px solid #ffffff55;background:#24594C;color:#e7f3e8;border-radius:8px;padding:7px 10px;font:600 11px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.history-button:hover{background:#2e6c58}@media(max-width:700px){.history-button{font-size:10px;padding:7px 8px}}

.menu-button+.menu-button{margin-top:10px}

.menu-list{display:flex;flex-direction:column;gap:10px}.menu-list .menu-button{margin:0}

.copyright-footer{text-align:center;color:#8b99a2;font-size:10px;padding:2px 0 20px}
.logged-in{font-size:10px;font-weight:700;color:#e1eee6;white-space:nowrap}.logout-button{border:1px solid #ffffff55;background:#24594c;color:#fff;border-radius:8px;padding:8px 10px;font:700 10px inherit;cursor:pointer;white-space:nowrap}.logout-button:hover{background:#33725f}@media(max-width:700px){.top-actions{gap:7px}.logged-in{font-size:9px;max-width:74px;overflow:hidden;text-overflow:ellipsis}.logout-button{padding:7px 8px;font-size:9px}}

/* Light blue quality theme */
:root{--navy:#173F63;--blue:#327FB5;--ink:#26394B;--muted:#6B8093;--line:#D8E6F2;--canvas:#F4F9FD;--white:#fff}
body{background:var(--canvas);color:var(--ink)}
.topbar{background:#173F63;box-shadow:0 2px 12px rgba(17,54,86,.20)}
.brand-mark{border-color:#8FC1E4;color:#D3ECFC}.brand-sub{color:#D0E5F3}
.top-actions select,.history-button,.logout-button{background-color:#285D84}
.history-button:hover,.logout-button:hover{background-color:#3476A5}
.hero{background:linear-gradient(116deg,#E7F3FB 0%,#F5FAFE 64%,#EAF5FC 100%);border-color:#D5E8F5}
.hero-art{color:#3988B9}.floor-grid{background-image:linear-gradient(150deg,transparent 48%,#B8D8EC 49%,transparent 50%),linear-gradient(30deg,transparent 48%,#B8D8EC 49%,transparent 50%)}
.rack-drawing{border-color:#3988B9;background:#EAF5FC;box-shadow:11px 9px 0 #CBE3F2}.rack-drawing:before,.rack-drawing:after{background:#3988B9}.rack-drawing i{border-color:#87B9D7}
.crumb{color:#67839A}.crumb-dot{background:#3B91C7}.eyebrow,.menu-kicker{color:#2F7FB8}
.step{background:#E3F1FB;color:#286D9D}.menu-icon{background:#E5F2FB;color:#347DAC}
.menu-button:hover{border-color:#9ECBE5}.menu-button:focus-visible{outline-color:#62A8D3}
.menu-arrow{color:#3D88B7}.offline-note{background:#EEF6FC;border-color:#D9E8F3;color:#526F85}.offline-icon{background:#DCEEF9;color:#3279A8}

.sync-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:15px 17px;background:linear-gradient(110deg,#F2F8FD,#FFFFFF);border:1px solid #D5E6F3;border-radius:13px;box-shadow:0 4px 14px #17375008}
.sync-panel-main{display:flex;align-items:flex-start;gap:12px;min-width:0}
.sync-panel-icon{width:37px;height:37px;flex:0 0 auto;border-radius:10px;background:#DDEFFA;color:#287CAF;display:grid;place-items:center;font-size:22px;font-weight:700}
.sync-panel-copy{min-width:0}
.sync-panel-copy>strong{display:block;color:#173F63;font-size:13px;font-weight:750}
.sync-panel-copy>p{margin-top:2px;color:#647E91;font-size:11px}
.sync-results{display:flex;flex-wrap:wrap;gap:6px 15px;margin-top:8px}
.sync-status{display:inline-flex;align-items:center;gap:6px;color:#60788B;font-size:10px;font-weight:650}
.sync-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#88A0B1;flex:0 0 auto}
.sync-status-done:before,.sync-status-current:before{background:#28A36A}
.sync-status-working:before,.sync-status-reloading:before{background:#338CC2;box-shadow:0 0 0 3px #338CC222}
.sync-status-failed:before,.sync-status-updateReady:before{background:#D99B25}
.sync-status-offline:before{background:#8295A3}
.sync-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 14px;border:1px solid #287CAF;border-radius:9px;background:#287CAF;color:#fff;font:700 11px inherit;white-space:nowrap;cursor:pointer;box-shadow:0 3px 9px #287caf24;transition:background .15s,transform .15s}
.sync-button:hover:not(:disabled){background:#1F6898;transform:translateY(-1px)}
.sync-button:focus-visible{outline:3px solid #86C3E8;outline-offset:2px}
.sync-button:disabled{opacity:.7;cursor:progress}
.sync-button>span:first-child{font-size:16px;line-height:1}
@media(max-width:680px){.sync-panel{align-items:stretch;flex-direction:column;gap:12px}.sync-button{width:100%}}
.section-title h2{color:var(--navy)}

/* Corporate logo header */
.brand{color:#fff}.brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:0}.company-logo{display:block;width:188px;height:36px;object-fit:contain;object-position:left center}.brand .brand-sub{margin:0 0 0 34px;color:#D7EAF7;font-size:10px;font-weight:550;line-height:1.2;letter-spacing:.04em}
.brand .company-logo{filter:brightness(0) invert(1)}
.company-logo-mark{display:block;flex:0 0 38px;width:38px;height:38px;object-fit:contain;filter:brightness(0) invert(1)}.brand-title{display:flex;flex-direction:column;color:#fff;font:700 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.15;letter-spacing:.01em}.brand .brand-sub{display:block;margin:3px 0 0;color:#D7EAF7;font:500 10px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.04em;line-height:1.2}
.company-logo-mark{width:40px;height:40px;flex-basis:40px;filter:none}

.account-dropdown{position:relative;z-index:20}.account-menu-toggle{list-style:none;display:flex;align-items:center;gap:8px;min-height:38px;padding:4px 9px;border:1px solid #ffffff55;border-radius:10px;background:#285D84;color:#fff;cursor:pointer}.account-menu-toggle::-webkit-details-marker{display:none}.account-menu-toggle:hover,.account-dropdown[open]>.account-menu-toggle{background:#3476A5}.account-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#e4f2fb;color:#285D84;font-size:11px;font-weight:800}.account-identity{display:flex;flex-direction:column;line-height:1.15}.account-name{font-size:10px;font-weight:800}.account-role{margin-top:3px;font-size:9px;color:#d5e8f6}.account-caret{font-size:14px;color:#d8edf9}.account-menu-panel{position:absolute;right:0;top:calc(100% + 7px);width:205px;padding:6px;border:1px solid #d3e2ec;border-radius:11px;background:#fff;box-shadow:0 12px 28px #102d4430;display:flex;flex-direction:column;z-index:30}.account-menu-panel a,.account-menu-panel button{width:100%;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:#294b66;text-align:left;text-decoration:none;font:600 11px Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer}.account-menu-panel a:hover,.account-menu-panel button:hover{background:#eaf4fb;color:#1b5d8b}.account-menu-panel [hidden]{display:none!important}@media(max-width:700px){.account-menu-toggle{min-height:34px;padding:3px 6px;gap:6px}.account-identity{max-width:72px;overflow:hidden}.account-name{max-width:72px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.account-avatar{width:24px;height:24px;flex:0 0 24px}.account-menu-panel{width:190px}}
