
:root{font-family:Segoe UI,Arial,sans-serif;color:#203532;background:#f5f7f6;font-size:15px;--green:#216e57;--muted:#73807b;--line:#e3e9e6}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #91c4b2}button{border:1px solid var(--line);background:white;color:inherit;border-radius:9px;padding:10px 16px;font-weight:600}button:hover{background:#f0f5f2}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#18513f}button.danger{color:#a23c34;border-color:#edcbc5}button.quiet{background:transparent;border-color:transparent}button.small{padding:6px 10px;font-size:13px}input,select,textarea{width:100%;border:1px solid #d9e2dc;border-radius:8px;background:white;padding:11px 12px;color:#203532;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #8ab5a4;border-color:#8ab5a4}textarea{resize:vertical;min-height:75px}label{display:block;font-size:13px;font-weight:600;margin:0 0 7px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.7px;font-weight:650;margin-bottom:7px}h2{font-size:23px;font-weight:650;margin-bottom:8px}h3{font-size:17px;font-weight:650}p{line-height:1.55}.muted{color:var(--muted)}.smalltext{font-size:13px}.layout{display:grid;grid-template-columns:228px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 34px;font-size:18px;font-weight:700}.brandmark{width:35px;height:35px;border-radius:10px;background:#216e57;color:white;display:grid;place-items:center;font-size:23px}.navbutton{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;color:#64736c;font-weight:500;padding:13px 14px;margin-bottom:5px}.navbutton.active{background:#eaf3ee;color:#216e57;font-weight:650}.navicon{font-size:19px;width:23px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0}.local{display:flex;gap:8px;align-items:center;font-size:12px;color:#66796e}.dot{background:#69a284;width:7px;height:7px;border-radius:50%}.user{border-top:1px solid var(--line);margin-top:18px;padding-top:18px;display:flex;align-items:center;gap:10px}.avatar{background:#eaf0ec;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:700;flex:none}.main{padding:38px 42px;max-width:1600px;width:100%;margin:auto}.topline{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:28px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:#809388;margin-bottom:12px}.actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:25px 0}.action{padding:19px 16px;text-align:left;min-height:114px;display:flex;flex-direction:column;gap:15px;border-color:#dce7df;box-shadow:0 2px 3px #152f1703}.action:first-child{background:#216e57;color:white;border-color:#216e57}.action-icon{font-size:22px;font-weight:400}.action span:last-child{font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.stat{padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:12px}.stat .value{font-size:29px;font-weight:650;margin:9px 0 4px;letter-spacing:-.5px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:20px}.cardhead{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.cardhead h3{margin:0}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 24px 20px}.search{max-width:340px;background:#f9fbfa}.tabs{display:flex;gap:4px;background:#f0f3f1;padding:4px;border-radius:8px}.tabs button{border:0;background:transparent;padding:8px 14px;font-size:13px;color:#6b786f}.tabs button.active{background:white;color:#216e57;box-shadow:0 1px 4px #0000000b}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{font-size:11px;letter-spacing:.6px;text-transform:uppercase;font-weight:600;color:#7b8a81;background:#fafbf9;text-align:left;padding:14px 24px;white-space:nowrap}td{border-top:1px solid #edf0ed;padding:17px 24px;vertical-align:middle}td.number,th.number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.productname{font-weight:600}.badge{display:inline-block;font-size:11px;padding:5px 9px;background:#edf4ee;border-radius:5px;color:#427459}.badge.neutral{background:#f0f2f5;color:#687988}.badge.warn{background:#fff3dc;color:#9b752d}.badge.red{background:#f8eae7;color:#a45444}.empty{padding:48px 30px;text-align:center;max-width:600px;margin:auto}.empty .emptyicon{font-size:32px;color:#7ba28c;margin-bottom:18px}.empty h3{font-size:20px;margin-bottom:8px}.empty p{color:#7c8981;font-size:14px}.empty button{margin-top:8px}.notice{padding:15px 18px;border:1px solid #dce9df;border-radius:9px;background:#f0f7f2;font-size:14px;line-height:1.5;margin-bottom:20px}.notice.warn{background:#fff9eb;border-color:#f0e4c7;color:#836d3e}.flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spacer{margin-left:auto}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:18px}.section-title{margin:25px 0 13px;font-size:14px;font-weight:700}.formrow{display:grid;grid-template-columns:minmax(130px,1fr) 140px 35px;gap:9px;align-items:end;margin:10px 0}.containerrow{grid-template-columns:140px minmax(100px,1fr) 140px 35px}.formrow button{height:43px;padding:5px}.formrow label{font-size:11px;color:#748178}.auth{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at top,#e7f0e9,#f6f7f4 70%)}.authcard{background:white;padding:38px;border:1px solid #dce6df;border-radius:18px;width:440px;max-width:100%;box-shadow:0 20px 70px #163d2010}.authcard .brand{padding:0 0 30px}.authcard h1{font-size:25px}.authcard button.primary{width:100%}.error{color:#9f4136;background:#fcf0ed;padding:12px;border-radius:7px;font-size:13px;margin-bottom:15px;white-space:pre-wrap}.error:empty{display:none}dialog{border:0;border-radius:16px;padding:0;width:760px;max-width:calc(100vw - 32px);max-height:90vh;color:#203532;box-shadow:0 25px 100px #0e302640}dialog::backdrop{background:#10251e66;backdrop-filter:blur(3px)}.modalhead{padding:25px 28px 15px;display:flex;justify-content:space-between;align-items:flex-start}.modalhead h2{margin:0}.modalbody{padding:5px 28px 25px;max-height:calc(90vh - 90px);overflow:auto}.modalfooter{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.detailrows td{padding:13px 12px}.inventoryinput{width:130px}.operationbuttons{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}.changed{color:#217451;font-weight:600}.negative{color:#aa6048}.loginhint{font-size:12px;color:#829187;margin-top:18px;margin-bottom:0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#213c30;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 6px 25px #0002;display:none;z-index:10;max-width:90vw}.setupsteps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 24px 24px}.setupstep{padding:18px;background:#f7faf7;border:1px solid #e4ece5;border-radius:9px}.setupstep b{display:block;margin-bottom:7px}.setupstep p{font-size:13px;color:#77867c;margin-bottom:10px}.audit{padding:16px 24px;border-top:1px solid var(--line);font-size:13px}.checkbox{display:flex;gap:10px;align-items:center;font-weight:400}.checkbox input{width:auto}.helptext{font-size:12px;color:#748578;margin:7px 0 0}.settingsbody{padding:0 24px 22px}.zero{color:#99a49e}@media(max-width:1100px){.main{padding:28px 24px}.layout{grid-template-columns:195px 1fr}.sidebar{padding:25px 10px}.actions{gap:8px}.action{padding:16px 10px}.action span:last-child{font-size:12px}td,th{padding-left:16px;padding-right:16px}}@media(max-width:780px){.layout{display:block}.sidebar{height:auto;position:static;padding:14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0 0 12px}.sidebar nav{display:flex;overflow:auto}.navbutton{white-space:nowrap;width:auto;padding:10px}.sidebar-bottom{display:none}.main{padding:24px 16px}.actions{grid-template-columns:repeat(2,1fr)}.actions .action:last-child{grid-column:span 2;min-height:65px;flex-direction:row;align-items:center}.action{min-height:86px}.stats{gap:8px}.stat{padding:14px}.stat .value{font-size:23px}.setupsteps{grid-template-columns:1fr}.topline{flex-wrap:wrap}h1{font-size:27px}.grid2{grid-template-columns:1fr;gap:0}.containerrow,.formrow{grid-template-columns:1fr 1fr}.formrow button{width:35px}.modalhead{padding:20px}.modalbody{padding:5px 20px 20px}.toolbar{align-items:stretch}.tabs{overflow:auto}.tabs button{white-space:nowrap}}

.settings-tabs{width:max-content;margin-bottom:24px}.shipment-feedback{position:fixed;right:24px;bottom:24px;width:320px;padding:12px 18px 15px;background:#fff;border:1px solid #dbe9df;border-radius:14px;box-shadow:0 12px 45px #153c2326;z-index:12;pointer-events:none;animation:shipment-panel 1.8s ease both}.shipment-road{position:relative;overflow:hidden;height:78px;border-bottom:2px solid #d9e7de}.shipment-truck{position:absolute;bottom:1px;left:0;animation:truck-drive 1.15s cubic-bezier(.25,.5,.5,1) both}.shipment-caption{padding-top:10px;font-weight:600;color:#216e57;text-align:center}@keyframes truck-drive{0%{transform:translateX(-200px)}35%{transform:translateX(35px)}60%{transform:translateX(50px)}100%{transform:translateX(330px)}}@keyframes shipment-panel{0%{opacity:0;transform:translateY(10px)}10%,82%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.shipment-feedback,.shipment-truck{animation:none}}@media(max-width:400px){.shipment-feedback{right:12px;width:calc(100vw - 24px)}}
.animation-choice{max-width:380px;margin-top:18px}.animation-choice button{margin-top:12px}.shipment-round{width:218px;padding:10px 14px 16px;border-radius:22px;border-color:#e0e9f7;box-shadow:0 14px 44px #173f7026;animation-duration:2.1s}.shipment-round-art{display:block;width:184px;height:184px;margin:auto}.shipment-round .shipment-caption{color:#285285;font-size:14px;padding-top:3px}.shipment-ring-fill{animation:ring-complete 1.15s .08s cubic-bezier(.3,.1,.3,1) forwards}.round-truck-body{animation:truck-idle .32s ease-in-out 4}.round-wheel{animation:wheel-turn .65s linear 2;transform-box:fill-box;transform-origin:center}.round-truck-shadow{animation:shadow-idle .32s ease-in-out 4;transform-box:fill-box;transform-origin:center}.round-complete{opacity:0;animation:complete-check .2s 1.23s ease-out forwards}@keyframes ring-complete{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}@keyframes truck-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.2px)}}@keyframes wheel-turn{to{transform:rotate(360deg)}}@keyframes shadow-idle{50%{transform:scaleX(.97);opacity:.7}}@keyframes complete-check{to{opacity:1}}@media(prefers-reduced-motion:reduce){.shipment-ring-fill,.round-truck-body,.round-wheel,.round-truck-shadow,.round-complete{animation:none}.shipment-ring-fill{stroke-dashoffset:0}.round-complete{opacity:1}}@media(max-width:400px){.shipment-round{width:210px}}

/* Independent appearance preference: company navy sampled from the supplied logo. */
:root[data-theme="blue"]{color:#262c43;background:#f5f7fc;--green:#27294f;--muted:#70788c;--line:#e1e5ef;accent-color:#27294f}
:root[data-theme="blue"] button:hover{background:#eef1f8}
:root[data-theme="blue"] button.primary,:root[data-theme="blue"] .brandmark,:root[data-theme="blue"] .action:first-child{background:#27294f;border-color:#27294f;color:white}
:root[data-theme="blue"] button.primary:hover,:root[data-theme="blue"] .action:first-child:hover{background:#383c68}
:root[data-theme="blue"] input,:root[data-theme="blue"] select,:root[data-theme="blue"] textarea{color:#262c43;border-color:#d7ddeb}
:root[data-theme="blue"] input:focus,:root[data-theme="blue"] select:focus,:root[data-theme="blue"] textarea:focus{outline-color:#929bc5;border-color:#929bc5}
:root[data-theme="blue"] button:focus-visible,:root[data-theme="blue"] a:focus-visible{outline-color:#929bc5}
:root[data-theme="blue"] .navbutton{color:#69728a}
:root[data-theme="blue"] .navbutton.active{background:#eceef8;color:#27294f}
:root[data-theme="blue"] .tabs{background:#edf0f6}
:root[data-theme="blue"] .tabs button{color:#72788e}
:root[data-theme="blue"] .tabs button.active{background:white;color:#27294f}
:root[data-theme="blue"] .avatar{background:#e9edf7}
:root[data-theme="blue"] .action{border-color:#dce1ed}
:root[data-theme="blue"] .search{background:#fafbfe}
:root[data-theme="blue"] th{color:#778197;background:#f9fafe}
:root[data-theme="blue"] td{border-color:#edf0f6}
:root[data-theme="blue"] .badge:not(.warn):not(.red):not(.neutral){background:#edf0fa;color:#424b7b}
:root[data-theme="blue"] .notice:not(.warn){background:#f1f4fb;border-color:#dce3f3}
:root[data-theme="blue"] .eyebrow,:root[data-theme="blue"] .emptyicon{color:#838dac}
:root[data-theme="blue"] .helptext,:root[data-theme="blue"] .formrow label,:root[data-theme="blue"] .loginhint,:root[data-theme="blue"] .local,:root[data-theme="blue"] .empty p,:root[data-theme="blue"] .setupstep p{color:#727d91}
:root[data-theme="blue"] .zero{color:#959dae}
:root[data-theme="blue"] .auth{background:radial-gradient(ellipse at top,#e7ebf8,#f7f8fc 70%)}
:root[data-theme="blue"] .authcard{border-color:#dce1ef;box-shadow:0 20px 70px #27294f10}
:root[data-theme="blue"] dialog{color:#262c43;box-shadow:0 25px 100px #27294f40}
:root[data-theme="blue"] dialog::backdrop{background:#1b204866}
:root[data-theme="blue"] #toast{background:#27294f}
:root[data-theme="blue"] .setupstep{background:#f8f9fd;border-color:#e2e7f3}
:root[data-theme="blue"] a{color:#393f86}
.preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:960px}
.preference-card{padding:24px;display:flex;flex-direction:column;align-items:flex-start}
.preference-card h3{margin:18px 0 8px}.preference-card p{font-size:14px}.preference-card>button{margin-top:auto}
.theme-sample{height:150px;border:1px solid #e1e5e5;border-radius:10px;display:flex;width:100%;background:#f5f7f6;overflow:hidden;--sample:#216e57;--tint:#e8f2ec}
.theme-blue{--sample:#27294f;--tint:#eceef8;background:#f5f7fc}
.sample-sidebar{width:24%;background:white;padding:17px 10px;display:flex;flex-direction:column;gap:12px}
.sample-sidebar i{height:7px;background:var(--tint);border-radius:4px}.sample-sidebar i:first-child{background:var(--sample);height:15px;margin-bottom:9px}
.sample-content{padding:18px;flex:1}.sample-content>b{display:block;width:55%;height:9px;background:var(--sample);border-radius:4px}
.sample-content>div{display:flex;gap:8px;margin:16px 0}.sample-content i{width:33%;height:37px;background:white;border:1px solid var(--tint);border-radius:5px}.sample-content i:first-child{background:var(--sample)}
.sample-content>span{display:block;height:7px;background:var(--tint);margin-top:8px;border-radius:3px}
.style-sample{height:145px;width:100%;display:grid;place-items:center;background:#fafbfc;border-radius:10px}
.style-sample .operation-art{width:137px;height:137px}
.demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:960px}
.demo-card{display:flex;flex-direction:column;align-items:center;gap:9px;padding:16px;font-weight:400}
.demo-card .operation-art{width:116px;height:116px}.demo-card b{font-size:14px}
.operation-art{display:block;width:184px;height:184px;margin:auto}
.operation-feedback{width:240px;animation-duration:2.1s}.operation-feedback .shipment-caption{font-size:14px}
.operation-green{width:240px}
.motion-arrive{animation:goods-arrive .8s cubic-bezier(.2,.7,.3,1) both}
.motion-arrow{animation:goods-arrow .4s ease-in-out 3}
.motion-liquid{animation:liquid-rise 1.15s ease-out both}
.motion-mix{transform-origin:120px 62px;animation:mix-turn 1.15s ease-out both}
.motion-flow{animation:flow-down .45s linear 3}
.motion-canister{transform-box:fill-box;transform-origin:bottom;animation:canister-fill 1.15s ease-out both}
.motion-writeoff{animation:goods-writeoff 1.1s ease-in-out both}
.motion-away{animation:goods-away 1.1s ease-out both}
.motion-check,.motion-ticks path{stroke-dasharray:100;stroke-dashoffset:100;animation:draw-check .65s .45s ease-out forwards}
.motion-static *{animation:none!important}.motion-static .shipment-ring-fill{stroke-dashoffset:18}.motion-static .motion-check,.motion-static .motion-ticks path{stroke-dashoffset:0}.motion-static .round-complete{opacity:1}
@keyframes goods-arrive{from{transform:translateY(-28px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes goods-arrow{50%{transform:translateY(5px)}}
@keyframes liquid-rise{from{transform:translateY(75px)}to{transform:translateY(0)}}
@keyframes mix-turn{from{transform:rotate(-180deg)}to{transform:rotate(0)}}
@keyframes flow-down{to{stroke-dashoffset:-20}}
@keyframes canister-fill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes goods-writeoff{0%,20%{transform:translateX(0);opacity:1}100%{transform:translateX(18px);opacity:.35}}
@keyframes goods-away{0%,20%{transform:translateX(-10px);opacity:0}100%{transform:translateX(0);opacity:1}}
@keyframes draw-check{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.operation-art *{animation:none!important}.motion-check,.motion-ticks path{stroke-dashoffset:0}}
@media(max-width:780px){.settings-tabs{max-width:100%;width:100%}.preference-grid{gap:12px}.preference-card{padding:16px}.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.preference-grid{grid-template-columns:1fr}.demo-card{padding:12px}.demo-card .operation-art{width:100px;height:100px}}


.shipment-feedback:not(.shipment-round):not(.operation-feedback){width:240px;height:240px;display:flex;flex-direction:column;justify-content:center}
.shipment-feedback:not(.shipment-round):not(.operation-feedback) .shipment-road{width:100%;flex:none}
.shipment-selection{display:grid;gap:12px}.shipment-row{padding:16px 0;border-bottom:1px solid var(--line)}


.actions{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:780px){.actions{grid-template-columns:repeat(2,minmax(0,1fr))}.actions .action:last-child{grid-column:auto;min-height:86px;flex-direction:column;align-items:flex-start}}


.audit-details summary{cursor:pointer;padding:22px 24px;font-size:17px;font-weight:650}.audit-details[open] summary{border-bottom:1px solid var(--line)}
.stock-ticker{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:28px;padding:16px 0;max-width:680px;font-size:13px}.ticker-content{display:flex;gap:16px;align-items:center;animation:ticker-enter .45s ease both}.ticker-content b{overflow-wrap:anywhere}.ticker-content>span{white-space:nowrap;color:var(--green);font-weight:600}@keyframes ticker-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.ticker-content{animation:none}}@media(max-width:780px){.stock-ticker{align-items:flex-start;flex-direction:column;gap:8px}}

.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:2px;margin-top:8px}.account-actions .profile-link{font-weight:400;color:var(--muted);padding-left:0}.account-actions .profile-link.active{color:var(--green);font-weight:600;text-decoration:underline}@media(max-width:780px){.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 0}.sidebar-bottom .local{display:none}.sidebar-bottom .user{border:0;margin:0;padding:0}.account-actions{margin:0}}

/* Secondary emphasis for the frequent shipment action. */
.action[data-type="shipment"]{background:#dceee4;border-color:#bdd8c9;color:#245a46}
.action[data-type="shipment"]:hover{background:#cfe5d9}
:root[data-theme="blue"] .action[data-type="shipment"]{background:#e2e6f5;border-color:#c8cee6;color:#34385f}
:root[data-theme="blue"] .action[data-type="shipment"]:hover{background:#d5dcf0}

.containerrow{grid-template-columns:minmax(130px,1fr) 160px 35px}@media(max-width:780px){.containerrow{grid-template-columns:1fr 1fr}}
