*{box-sizing:border-box}body{margin:0;font:14px/1.5 'Segoe UI',Arial,sans-serif;background:#f5f6f8;color:#25312f}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #d9e1dd;border-radius:7px;background:white;padding:9px 15px;color:#25312f}button:hover{background:#edf3ef}button.primary{background:#205c44;border-color:#205c44;color:white}button.danger{color:#b23737}button:disabled{opacity:.45;cursor:default}a{color:#205c44}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.8px;margin-bottom:5px}h2{font-size:19px}small,.muted{color:#73807a}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#132d25;color:#c6d3cc;padding:32px 18px;display:flex;flex-direction:column}.brand{color:white;font-size:25px;font-weight:800;letter-spacing:3px;margin:0 15px}.brand-sub{font-size:11px;letter-spacing:2px;margin:3px 15px 36px;color:#93ab9e}.nav{display:grid;gap:7px}.nav button{border:0;background:transparent;color:#b9ccc0;text-align:left;padding:12px 15px}.nav button.active{background:#2d493d;color:white}.nav button:hover{background:#254436}.aside-bottom{margin-top:auto;border-top:1px solid #3d5045;padding:20px 12px 0}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8ec79d;margin-right:7px}main{margin-left:238px;padding:0 38px 50px;max-width:1800px}.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e5e2;margin-bottom:30px}.avatar{display:inline-grid;place-items:center;border-radius:50%;background:#dce9df;width:34px;height:34px;font-weight:700;margin-right:9px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;color:#7a867f;font-size:11px;margin-bottom:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:25px 0}.stat,.panel{background:white;border:1px solid #e1e6e2;border-radius:10px;padding:22px}.stat strong{display:block;font-size:31px;font-weight:600;margin:10px 0 4px}.stat span{font-size:12px;color:#758179}.stat:first-child{border-top:3px solid #2e7051}.panel{margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-head h2{margin:0}.filters{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filters input{flex:1;min-width:190px}.filters select{max-width:220px}input,select{border:1px solid #d5dfd8;border-radius:6px;padding:10px 12px;width:100%;background:white;color:#25312f}input:focus,select:focus{outline:2px solid #99b7a2;outline-offset:1px}label{display:grid;gap:5px;font-size:12px;color:#657369}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:15px}.grid2 .wide{grid-column:1/-1}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:#7b8780;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;background:#f8faf8}td,th{padding:15px 12px;border-bottom:1px solid #edf0ee}td strong{font-weight:600}td small{display:block;margin-top:3px}.table-wrap{overflow:auto}.badge{font-size:11px;padding:4px 9px;border-radius:5px;white-space:nowrap}.available{background:#edf6ee;color:#39774b}.reserved{background:#fff4de;color:#9b6d16}.written_off{background:#f0f0f0;color:#888}.swatch{width:32px;height:34px;background:repeating-linear-gradient(92deg,#c8b391,#bda480 3px,#d5c2a1 7px);border-radius:4px;float:left;margin-right:10px}.actions{display:flex;gap:7px;flex-wrap:wrap}.actions button{padding:5px 9px;font-size:12px}.empty{text-align:center;padding:45px 15px;color:#77837c}.empty h3{color:#34493c}.welcome{background:#e8eee7;border-color:#d8e2d4;display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome h2{font-size:23px}.welcome p{margin-bottom:0;color:#667363}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#132d25;color:white;display:flex;flex-direction:column;justify-content:center;padding:12%;position:relative;overflow:hidden}.auth-story:after{content:'';width:400px;height:400px;border:1px solid #44604d;position:absolute;bottom:-200px;right:-100px;transform:rotate(35deg)}.auth-story h1{font-size:43px;line-height:1.15;margin:30px 0 20px}.auth-story p{color:#b3c5b6;font-size:16px;max-width:370px}.auth-form{display:grid;align-content:center;max-width:430px;width:100%;margin:auto;padding:35px}.auth-form form{display:grid;gap:16px}.auth-form h2{font-size:25px}dialog{border:1px solid #dce5de;border-radius:12px;width:min(650px,95vw);max-height:92vh;padding:28px;box-shadow:0 25px 90px #0003}dialog::backdrop{background:#132d2577}dialog form{display:grid;gap:15px}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.dialog-head h2{margin:0}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.error{color:#b23737;min-height:20px;font-size:13px}#toast{position:fixed;bottom:25px;right:25px;background:#183e2c;color:white;padding:13px 20px;border-radius:8px;display:none;z-index:100}.label-preview{width:100%;max-width:500px;display:block;margin:auto;border:1px solid #ddd}code{overflow-wrap:anywhere;background:#f2f4f2;padding:3px 6px}pre{white-space:pre-wrap;overflow-wrap:anywhere}.storage{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.location{border:1px solid #e1e6e2;border-radius:8px;padding:20px}.location h3{margin-bottom:6px}.location strong{display:block;margin:15px 0 6px;font-size:21px}@media(max-width:1000px){aside{width:190px}main{margin-left:190px;padding:0 20px 30px}.stats{grid-template-columns:1fr 1fr}.topbar{font-size:12px}}@media(max-width:650px){aside{position:static;width:auto;padding:18px}.brand-sub,.aside-bottom{display:none}.brand{font-size:20px;margin-bottom:12px}.nav{display:flex;overflow:auto}.nav button{white-space:nowrap;padding:8px}.auth{grid-template-columns:1fr}.auth-story{padding:35px}.auth-story h1{font-size:30px;margin:20px 0}.auth-story p{font-size:13px}.auth-form{padding:30px}.auth-story .brand-sub{display:block}.topbar{height:65px;margin-bottom:20px}main{margin:0;padding:0 14px 25px}.stats{gap:10px}.stat{padding:15px}.heading{align-items:flex-start}h1{font-size:24px}.heading .primary{font-size:12px}.panel{padding:16px}.grid2{grid-template-columns:1fr}.welcome{display:block}.welcome button{margin-top:15px}}

/* Shared visual identity with the primary KRONAS website. */
:root{--purple:#78399c;--purple-dark:#542467;--ink:#302637;--line:#e5dce9}
body{font-family:Arial,'Segoe UI',sans-serif;color:var(--ink);background:linear-gradient(#f5f5ffe8,#f5f5ffe8),url('/kronas-background.png') center/cover fixed no-repeat}
button{border-color:var(--line);color:#654074;border-radius:9px;min-height:40px;transition:background .15s,box-shadow .15s}button:hover{background:#f3eaf8}button.primary{background:var(--purple);border-color:var(--purple);box-shadow:0 4px 12px #78399c18;color:white}button.primary:hover{background:#642b87}a{color:var(--purple)}h1{color:#65317d}small,.muted{color:#756a7c}.eyebrow{color:#7b508c;font-weight:700}input,select{border-color:#ded5e3;border-radius:9px;min-height:44px}input:focus,select:focus{outline-color:#bd96d0}
aside{position:sticky;top:0;inset:auto;width:100%;min-height:86px;padding:17px 30px;background:#ffffffed;border-bottom:1px solid #e5dce9;box-shadow:0 4px 18px #3517430b;display:flex;flex-direction:row;align-items:center;gap:25px;z-index:10;backdrop-filter:blur(14px)}
aside .brand{position:relative;color:#34233e;letter-spacing:-.7px;font-size:24px;margin:0 0 0 14px;white-space:nowrap}aside .brand:before,.auth-story .brand:before{content:'';position:absolute;left:-16px;top:2px;width:8px;height:26px;background:#8c3cb4;border-radius:2px;transform:skew(-13deg)}aside .brand-sub{display:none}.nav{display:flex;gap:5px;flex:1;flex-wrap:wrap}.nav button{white-space:nowrap;color:#6d5578;background:transparent;padding:9px 12px;min-height:38px;border-radius:8px}.nav button:hover{background:#f4edf7}.nav button.active{background:#eee0f5;color:#733393;font-weight:700}.aside-bottom{margin:0;border:0;border-left:1px solid #e7ddea;padding:0 0 0 18px;color:#72597d;white-space:nowrap;font-size:12px}.dot{background:#a45dbd}.aside-bottom small{display:block;font-size:10px}
main{margin:0 auto;max-width:1460px;padding:0 32px 45px}.topbar{height:72px;border-bottom-color:#e4dce8;margin-bottom:25px;color:#85758d}.topbar>button{background:#ffffffdb;border-color:#e4dce8;color:#5d3b6b}.avatar{background:#eee0f4;color:#78399c}.heading{margin-bottom:22px}.heading h1{font-size:29px}.stat,.panel{border-color:#e6ddea;border-radius:14px;box-shadow:0 6px 24px #3f214b06;background:#ffffffed}.stats{gap:18px}.stat strong{color:#613079}.stat:first-child{border-top-color:#a44ec3}.stat span{color:#8d7d95}.welcome{background:linear-gradient(115deg,#f2e8f8,#ffffffec);border-color:#e3d1eb}.welcome h2{color:#633080}.welcome p{color:#806c8b}.welcome button{border-color:#dbc2e7;color:#793c98;background:white}
th{background:#f3eaf8;color:#72458a}td,th{border-bottom-color:#eee6f2}td strong{color:#493251}.table-wrap table{border:1px solid #eee6f2}.available{background:#edf6ee;color:#39774b}.reserved{background:#fff4de;color:#9b6d16}.location{border-color:#e5d7ec;background:#fefcff}.location strong{color:#773893}.empty{color:#89758f}.empty h3{color:#6b477c}dialog{border-color:#e7d7ed;border-radius:16px;box-shadow:0 25px 90px #28133544}dialog::backdrop{background:#29143577}#toast{background:#653080}.dialog-head h2{color:#633079}
.auth{min-height:100vh;grid-template-columns:minmax(0,1fr) 420px;gap:60px;align-items:center;padding:65px max(5vw,24px);background:linear-gradient(90deg,#1b0c27b8,#2510328f),url('/kronas-background.png') center/cover no-repeat}.auth-story{padding:30px 0;background:transparent;display:block;overflow:visible}.auth-story:after{display:none}.auth-story .brand{position:relative;font-size:26px;letter-spacing:-1px;margin:0 0 45px 17px}.auth-story .brand-sub{display:none}.auth-story h1{font-size:clamp(35px,4.6vw,62px);line-height:1.2;letter-spacing:-1.8px;color:white;margin:0 0 35px}.auth-story p{font-size:17px;color:#e1d6e8;max-width:620px;line-height:1.65}.auth-form{display:block;background:#fffffff7;width:100%;max-width:420px;padding:42px 38px;border-radius:19px;box-shadow:0 18px 65px #16082144}.auth-form h2{font-size:28px;letter-spacing:-.5px;color:#211c25;margin-bottom:12px}.auth-form>.muted{font-size:13px;margin-bottom:24px}.auth-form .eyebrow{font-size:11px;letter-spacing:1.7px;margin-bottom:14px}.auth-form form{gap:17px}.auth-form label{color:#65546f}.auth-form input{background:#f7f3fa;min-height:48px}.auth-form .dialog-footer{display:block;margin-top:0}.auth-form .primary{width:100%;min-height:48px;font-weight:700}.auth-form .error:empty{display:none}
@media(max-width:1200px){aside{padding:15px 20px;gap:15px}.nav button{font-size:12px;padding:8px}.aside-bottom{display:none}}
@media(max-width:800px){aside{position:static;flex-wrap:wrap;gap:12px;padding:16px 20px}.nav{flex:1 1 100%;flex-wrap:nowrap;overflow:auto;padding-bottom:3px}.nav button{font-size:13px}.auth{grid-template-columns:1fr;gap:20px;padding:30px 22px}.auth-story{padding:12px 4px}.auth-story .brand{margin-bottom:22px}.auth-story h1{font-size:36px;margin-bottom:14px}.auth-story p{font-size:14px;margin-bottom:0}.auth-story p:last-child{display:none}.auth-form{max-width:480px;margin:0 auto;padding:30px}.topbar{height:65px;font-size:11px}main{margin:0;padding:0 16px 30px}}
@media print{body{background:white}aside,.topbar{display:none}main{margin:0;padding:0}.panel,.stat{box-shadow:none}}

/* Strong purple identity requested by the owner. */
body{background:linear-gradient(125deg,#54206dda,#79339ce6),url('/kronas-background.png') center/cover fixed no-repeat;color:#302637}
aside{background:linear-gradient(100deg,#4c1e68,#713094);border-bottom:1px solid #a964c4;box-shadow:0 5px 22px #250d3c55}aside .brand{color:white}aside .brand:before{background:#d59bef}.nav button{color:#f2e3fa}.nav button:hover{background:#ffffff1c;color:white}.nav button.active{background:#ffffff;color:#6b258b;box-shadow:0 3px 10px #2c103733}.aside-bottom{color:white;border-left-color:#ffffff38}.aside-bottom small{color:#e4c9ef}.dot{background:#d6a0ee}
.topbar{color:#f2dffa;border-bottom-color:#ffffff33}.topbar>button{background:#ffffffed;color:#61327a}.heading>.primary{background:white;border-color:white;color:#6c2c8e;font-weight:700}.heading>.primary:hover{background:#f0dff9}.heading h1{color:white;text-shadow:0 2px 10px #32114233}.heading .eyebrow{color:#e7c7fa}.heading .muted{color:#f1ddf8}.stat,.panel{background:#fffffff7;border-color:#eadcf1;box-shadow:0 8px 25px #2d103c22}.stat:first-child{border-top:3px solid #d29ae8}.welcome{background:linear-gradient(110deg,#edd7f9,#fffaff);border-color:#d9aeea}.welcome h2{color:#682684}.welcome .eyebrow{color:#8c4aab}.panel-head h2{color:#6b2a87}th{background:#eee0f6;color:#743492}.stat strong{color:#7c349f}.avatar{background:#ead6f6;color:#743492}
.auth{background:linear-gradient(100deg,#351044cc,#652284aa),url('/kronas-background.png') center/cover no-repeat}.auth-form{background:#fffffff7}.auth-form h2{color:#35183f}.auth-story .brand:before{background:#c574e8}
@media print{body{background:white}}

/* Restrained workspace palette. */
body{background:#f0edf3;color:#302637}aside{background:#65357e;border-bottom-color:#75468c;box-shadow:0 3px 14px #30203913}.topbar{color:#87768f;border-bottom-color:#dfd6e5}.heading h1{color:#543464;text-shadow:none}.heading .eyebrow{display:none}.heading .muted{display:none}.heading>.primary{background:#784394;border-color:#784394;color:white}.heading>.primary:hover{background:#66357f}.panel,.stat{box-shadow:0 3px 15px #34243e05;background:#fff;border-color:#e2dbe7}.stat:first-child{border-top-color:#9a72af}.stat strong{color:#6b437f}.topbar>button{background:white}.auth{background:linear-gradient(100deg,#24162de8,#4b355bd9),url('/kronas-background.png') center/cover no-repeat}.welcome{display:none}

.warehouse-checks{border:1px solid #e2dbe7;border-radius:9px;padding:15px}.warehouse-checks label{display:flex;align-items:center;gap:10px;font-size:14px;margin:12px 0}.warehouse-checks input{width:18px;min-height:18px;height:18px;accent-color:#784394}.warehouse-checks small{display:block}.location p strong{font-size:14px;margin:0}.location>button{margin-top:12px}

aside .aside-bottom{display:block;max-width:260px;min-width:140px;white-space:normal;flex-shrink:0}.warehouse-names{overflow-wrap:anywhere}.aside-bottom small{margin-top:3px}@media(max-width:1200px){aside{flex-wrap:wrap}aside .aside-bottom{max-width:100%;min-width:0;margin-left:auto}}@media(max-width:800px){aside .aside-bottom{flex:1 1 100%;margin:0;border-left:0;padding:0;font-size:12px}}

.storage-card{text-align:left;display:flex;flex-direction:column;gap:9px;width:100%;min-height:165px;align-items:flex-start}.storage-card:hover{background:#f5edf9;border-color:#b992ca;box-shadow:0 4px 16px #61327a12}.storage-card strong{font-size:19px;margin:0}.storage-card .eyebrow{margin:0}.storage-open{color:#784394;font-size:12px;margin-top:auto}.storage-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:22px;color:#806889}.storage-crumbs button{border:0;background:#f3edf7;padding:6px 10px;min-height:32px;font-size:12px}.storage-crumbs>span{font-size:12px}.panel-head{gap:14px;flex-wrap:wrap}

.part-diagram{display:block;width:156px;height:118px}.warehouse-tile{display:flex;flex-direction:column;gap:8px}.warehouse-tile .storage-card{width:100%;flex:1}.rename-warehouse{align-self:flex-start;padding:7px 12px;font-size:12px}.actions{flex-wrap:wrap}

.row-menu summary{list-style:none;cursor:pointer;border:1px solid #dfd4e5;border-radius:8px;padding:9px 14px;white-space:nowrap;color:#69407c;background:#fff}.row-menu summary::-webkit-details-marker{display:none}.row-menu-items{position:fixed;z-index:50;width:160px;padding:6px;background:#fff;border:1px solid #e3d8e9;border-radius:10px;box-shadow:0 8px 28px #40244e26}.row-menu-items button{display:block;width:100%;text-align:left;border:0;border-radius:6px;padding:10px}.row-menu-items button:hover{background:#f1eaf5}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.part-diagram{margin-bottom:4px}

.part-diagram{height:100px}
