/* Warm neutral workspace. Test WMS presentation only. */
:root{--ink:#302c29;--muted:#82766d;--paper:#f5f3ef;--card:#fff;--green:#927761;--accent:#927761;--line:#e9e3dc;--red:#b74940}
body{font-size:17px;line-height:1.6;background:var(--paper);color:var(--ink)}
body>div:first-child{font-size:13px!important;padding:7px 24px!important;background:#f3eadb!important;border-bottom:1px solid #dfceb8!important;color:#786044}
header{height:76px;min-height:76px;display:flex;align-items:center;padding:12px 28px 12px 254px;gap:24px;background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
header>a{position:fixed;top:38px;left:24px;width:190px;z-index:5;white-space:normal;text-align:center;font-weight:500;color:#302c29}
.brand-latin{display:block;font:23px Georgia,serif;letter-spacing:2px}.brand-name{display:block;font-size:14px;letter-spacing:2px;margin-top:4px}
header nav,#main-navigation{position:fixed;left:0;top:116px;bottom:0;width:224px;padding:22px 16px;display:flex!important;flex-direction:column;justify-content:flex-start;gap:6px;background:#faf8f5;border-right:1px solid var(--line);overflow-y:auto;z-index:4}
header nav a{display:flex;align-items:center;gap:12px;background:transparent;color:#62584f;padding:12px 16px;font-size:17px;border-radius:7px;min-height:48px}
header nav a:before{content:'◇';font-size:21px;width:22px;text-align:center;color:#948172}header nav a:first-child:before{content:'⌂'}header nav a.active,header nav a.active:hover{background:#e9dfd4;color:#483b30;font-weight:750}header nav a:hover{background:#f0e9e1;color:#483b30}
header .workspace-search{display:flex!important;flex:1;max-width:650px;margin:0!important;align-items:center;gap:10px;background:#f5f3f0;border-radius:8px;padding:0 12px}
.workspace-search input{background:transparent;border:0;min-width:0;width:100%;height:44px;min-height:44px;padding:8px;font-size:16px}.workspace-search button{background:transparent;color:var(--muted);min-height:40px;padding:6px;font-size:15px;white-space:nowrap}
header .profile-form{display:flex!important;margin:0!important;margin-left:auto!important;font-size:15px;gap:14px;align-items:center}.profile-form button{font-size:15px;padding:9px 14px;min-height:40px;background:#f0e9e1;color:#625044}
.sync-details{margin:10px 28px 0 254px;font-size:13px;color:var(--muted)}
.admin-sidebar{position:static;width:auto;margin:18px 28px 0 254px;padding:10px 16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:none}
.admin-sidebar #sidebar-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.admin-sidebar h2{font-size:16px;margin:0 12px 0 0;padding-right:16px;border-right:1px solid var(--line)}.admin-sidebar a{display:inline-block;font-size:16px;margin:0;padding:8px 12px;border-radius:6px;color:#746456}.admin-sidebar a.active{background:#e9dfd4;color:#483b30}.admin-sidebar p{display:none}.admin-sidebar details{position:relative}.admin-sidebar summary{padding:8px 12px;font-size:16px}.admin-sidebar details[open]{padding:4px;background:#faf8f5}
main.workspace-main,.admin-workspace .workspace-main{margin:0 0 0 224px;max-width:none;padding:26px 30px 80px;min-width:0}
h1{font-size:32px;line-height:1.3;font-weight:650;margin:12px 0 16px}h2{font-size:22px;font-weight:650}.lead{font-size:17px;line-height:1.7;color:var(--muted)}.eyebrow{font-size:13px;color:#9b816c}.muted{color:var(--muted);font-size:14px}
.welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 32px;margin-bottom:24px;border-radius:12px;background:radial-gradient(ellipse at 100% 5%,#d6bda6 0,transparent 45%),linear-gradient(120deg,#ede5dc,#f8f5f0 55%,#e4d3c2);overflow:hidden}.welcome-panel h1{font:34px/1.3 Georgia,'Microsoft YaHei',serif}.welcome-panel .lead{margin-bottom:0;color:#766453}.welcome-mark{text-align:right;font-size:11px;line-height:2;letter-spacing:2px;color:#897361}
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0 28px}.cards article{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:none}.cards span{font-size:15px;color:#88776a}.cards strong{display:block;font-size:30px;color:#362e28;margin-top:8px;font-variant-numeric:tabular-nums}.metric-card:hover article{border-color:#b9a18c;box-shadow:0 6px 20px #79634a0c;transform:translateY(-2px)}
.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 28px}.quick-actions a{display:block;padding:24px!important;background:#fff!important;border:1px solid var(--line);border-radius:10px;color:var(--ink);text-decoration:none}.quick-actions strong{display:block;font-size:20px;color:#5d4938}.quick-actions span{display:block;font-size:14px;color:var(--muted);margin-top:8px}.quick-actions a:hover{border-color:#b9a18c;background:#fbf8f4!important}
.review-card,.pipeline-section,.table,.preview-stats article{border-radius:10px;border:1px solid var(--line);box-shadow:none;background:#fff}.review-card{padding:22px}.section-heading{margin-top:12px}th{background:#f7f4ef;color:#7c6c5e;font-size:15px;font-weight:650}td{font-size:16px}th,td{padding:14px 16px}tbody tr:hover{background:#fcfaf7}
button,.button{background:#927761;border-radius:7px;font-size:17px;min-height:46px;padding:11px 18px}.secondary{background:#eee6de;color:#66503f}.danger{background:var(--red)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #cbb49d}input,select,textarea{border:1px solid var(--line);border-radius:7px;font-size:17px}a{color:#87664d}.status{font-size:13px!important}.pipeline-grid article{background:#faf8f5}.state-flow span{background:#eee5dc;color:#80654f}
@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-form span{max-width:140px;overflow-wrap:anywhere}}
@media(max-width:800px){
header{height:auto;min-height:0;display:flex;flex-wrap:wrap;padding:16px!important;gap:12px!important}header>a{position:static;width:auto;text-align:left;flex:1}.brand-latin{font-size:21px}.brand-name{font-size:13px}header .profile-form{font-size:13px;gap:8px}.profile-form span{max-width:110px}.profile-form button{font-size:15px;min-height:44px}header .workspace-search{order:3;max-width:none;flex:1 0 100%}.workspace-search input{font-size:18px;height:50px}#mobile-main-toggle{display:flex;order:4;background:#e9dfd4;color:#594637;font-size:19px;min-height:52px;width:100%}header nav,#main-navigation,.admin-workspace header nav{position:static;display:none!important;width:100%;padding:0;background:transparent;border:0;order:5}header nav.menu-open,#main-navigation.menu-open,.admin-workspace header nav.menu-open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}header nav a{font-size:18px!important;justify-content:flex-start;background:#faf8f5;min-height:52px;padding:12px!important}header nav a:before{display:none}
.sync-details{margin:10px 16px;font-size:13px}.admin-sidebar{margin:12px 16px;padding:8px}.admin-sidebar #sidebar-options{display:none}.admin-sidebar.menu-open #sidebar-options{display:block}.admin-sidebar h2{display:none}.admin-sidebar a{display:block;font-size:19px;min-height:52px;padding:12px;margin:4px 0}.mobile-sidebar-toggle{background:#eee6de;color:#66503f;font-size:19px;min-height:52px}.admin-workspace .workspace-main,main.workspace-main{margin:0;padding:16px 16px 100px}.welcome-panel{padding:24px 20px}.welcome-panel h1{font-size:28px}.welcome-mark{display:none}h1{font-size:28px}h2{font-size:23px}.cards{gap:12px}.cards article{padding:18px 14px}.cards strong{font-size:27px;overflow-wrap:anywhere}.cards span{font-size:16px}.quick-actions{gap:12px}.quick-actions a{padding:18px!important}.quick-actions strong{font-size:19px}.quick-actions span{font-size:15px}button,.button{min-height:52px;font-size:19px}input,select,textarea{font-size:18px;min-height:52px}td{font-size:18px}th{font-size:16px}.section-heading{flex-wrap:wrap}.review-card{padding:18px!important}
}
@media(max-width:420px){.quick-actions{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:801px){header nav,#main-navigation{flex-wrap:nowrap}}
.admin-sidebar:has(a[href="/"][aria-current="page"]){display:none}
@media(max-width:800px){header{flex-direction:row;align-items:center}header>a{font-size:20px;flex:1 1 150px}.profile-form span{font-size:12px;max-width:100px}}

header nav a:before,header nav a:first-child:before{display:none}.nav-icon{flex:0 0 20px;width:20px;height:20px;color:#80776f}header nav a.active .nav-icon{color:#594637}@media(max-width:800px){header nav a{gap:10px}.nav-icon{width:20px;height:20px}}

/* Compact icon-led homepage metrics, with readable mobile numbers. */
.welcome-panel{margin-bottom:28px;padding:30px 32px}.welcome-panel .eyebrow{margin:0 0 10px}.welcome-panel h1{margin:0 0 12px;font-size:32px}.section-heading h2{font-size:21px;margin:0}.section-heading{margin-top:20px;gap:16px}
.cards{gap:16px;margin:16px 0 30px}.metric-card article{display:flex;align-items:flex-start;gap:16px;padding:24px 20px;min-height:120px}.cards .metric-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:10px;background:#f6f1eb;color:#80634d}.metric-icon svg{width:25px;height:25px}.metric-copy{min-width:0}.cards .metric-copy>span{font-size:14px;line-height:1.5;color:#82776d;letter-spacing:.02em}.cards .metric-copy strong{font-size:clamp(23px,2vw,30px);line-height:1.2;margin-top:9px;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.quick-actions strong{font-size:19px;line-height:1.5}.quick-actions span{line-height:1.7;margin-top:6px}.quick-actions a{padding:22px 24px!important}
@media(min-width:801px) and (max-width:1250px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.welcome-panel{padding:24px 20px;margin-bottom:24px}.welcome-panel h1{font-size:28px}.cards{gap:12px;margin-bottom:26px}.metric-card article{flex-direction:column;gap:12px;padding:18px 14px;min-height:152px}.cards .metric-icon{width:38px;height:38px;flex-basis:38px;border-radius:9px}.metric-icon svg{width:23px;height:23px}.cards .metric-copy>span{font-size:15px}.cards .metric-copy strong{font-size:clamp(20px,6vw,26px);margin-top:7px;letter-spacing:-.04em;overflow-wrap:normal}.section-heading h2{font-size:22px}.quick-actions a{padding:20px!important}}

/* Picking list: fixed minimum column space, scroll instead of character wrapping. */
.picking-list-table{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.picking-list-table table{width:100%;min-width:1320px;table-layout:auto}.picking-list-table th,.picking-list-table td{padding:16px 18px;line-height:1.6;text-align:left;vertical-align:middle;word-break:normal;overflow-wrap:normal;white-space:normal}.picking-list-table th{white-space:nowrap;font-size:15px}.picking-list-table th:nth-child(1),.picking-list-table td:nth-child(1){min-width:112px;white-space:nowrap}.picking-list-table th:nth-child(2),.picking-list-table td:nth-child(2){min-width:175px;max-width:230px;word-break:normal}.picking-list-table th:nth-child(3),.picking-list-table td:nth-child(3){min-width:200px;white-space:nowrap;font-variant-numeric:tabular-nums}.picking-list-table th:nth-child(4),.picking-list-table td:nth-child(4){min-width:190px;max-width:240px;word-break:keep-all}.picking-list-table th:nth-child(5),.picking-list-table td:nth-child(5),.picking-list-table th:nth-child(6),.picking-list-table td:nth-child(6){min-width:190px;white-space:nowrap;font-variant-numeric:tabular-nums}.picking-list-table th:nth-child(7),.picking-list-table td:nth-child(7){min-width:210px;font-variant-numeric:tabular-nums}.picking-list-table th:nth-child(8),.picking-list-table td:nth-child(8){min-width:110px}.picking-list-table th:nth-child(9),.picking-list-table td:nth-child(9){min-width:190px}.picking-list-table td form{white-space:nowrap}.picking-list-table td button{white-space:nowrap}.picking-list-table td small{display:inline-block;font-size:14px;line-height:1.6}.picking-scroll-hint{display:none}
@media(max-width:800px){.picking-scroll-hint{display:block;color:var(--muted);font-size:15px;margin:16px 0 10px}.picking-list-table th,.picking-list-table td{padding:16px;font-size:18px;line-height:1.65}.picking-list-table th{font-size:16px}.picking-list-table th:nth-child(2),.picking-list-table td:nth-child(2){min-width:190px}.picking-list-table td button{min-height:52px}.picking-list-table:focus-visible{outline:3px solid #cbb49d;outline-offset:3px}}

.quick-action-title{display:flex;align-items:center;gap:12px}.quick-action-icon{width:23px;height:23px;flex:0 0 23px;color:#80634d}.quick-action-title strong{margin:0}

/* All homepage operation cards share one icon, title and spacing rhythm. */
.quick-actions a{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;min-height:116px;padding:22px 24px!important}.quick-action-title{gap:12px;min-height:29px}.quick-action-title strong{font-size:19px;font-weight:650;line-height:1.5;letter-spacing:0}.quick-action-icon{width:23px;height:23px;flex:0 0 23px;stroke-width:1.6}.quick-actions a>span{font-size:15px;line-height:1.7;margin:0}
@media(max-width:800px){.quick-actions a{padding:20px!important;min-height:122px;gap:10px}.quick-action-title strong{font-size:19px}.quick-action-title{gap:10px}.quick-actions a>span{font-size:16px}}

/* Inventory, inbound, outbound and replenishment share the homepage rhythm. */
.module-title{display:flex;align-items:center;gap:14px;font-size:30px;font-weight:650;line-height:1.35;margin:12px 0 16px}.module-title-icon{width:44px;height:44px;padding:10px;flex:0 0 44px;border-radius:10px;color:#80634d;background:#eee6dd}.module-workspace>.eyebrow{margin:0 0 10px}.module-workspace>.lead{margin:0 0 24px;max-width:1000px;font-size:17px}.module-workspace .page-actions{gap:12px;margin:20px 0 24px;flex-wrap:wrap}.module-workspace .review-card{padding:24px;margin:20px 0}.module-workspace h2{font-size:22px;line-height:1.45;margin-top:0}.module-workspace .review-card h2{margin-bottom:18px}.module-workspace label{font-size:17px;font-weight:550;line-height:1.6}.module-workspace input,.module-workspace select,.module-workspace textarea{font-size:17px;min-height:48px;padding:11px 14px;border:1px solid var(--line);border-radius:7px}.module-workspace input[type=checkbox],.module-workspace input[type=radio]{min-height:20px;padding:0}.module-workspace input[type=hidden]{display:none}.module-workspace .form-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.module-workspace .form-fields label{display:grid;gap:8px;min-width:0}.module-workspace .form-fields input,.module-workspace .form-fields select{width:100%;min-width:0}.module-workspace .inbound-filters{padding:20px;background:white;border:1px solid var(--line);border-radius:10px;gap:12px;margin:20px 0}.module-workspace .preview-stats{gap:16px;margin:20px 0}.module-workspace .preview-stats article{padding:20px}.module-workspace .preview-stats strong{font-size:28px;font-weight:650}.module-workspace .table{overflow-x:auto;-webkit-overflow-scrolling:touch}.module-workspace .table th{white-space:nowrap}.module-workspace .table td{word-break:normal;overflow-wrap:normal}.module-workspace .table td:first-child{white-space:nowrap}.module-workspace .stack-form{gap:18px}.module-workspace .photo-fields{gap:16px}.module-workspace .outbound-style-head{gap:16px;margin-bottom:20px}.module-workspace .entry-grid input{padding:10px;min-width:0}.module-workspace .compact-button{font-size:15px;min-height:42px;padding:9px 14px}.module-workspace .page-actions .button{display:inline-flex;align-items:center;justify-content:center}.module-workspace .review-card>p{line-height:1.7}
@media(max-width:800px){.module-title{font-size:27px;gap:12px;align-items:flex-start}.module-title-icon{width:40px;height:40px;flex-basis:40px;padding:9px}.module-workspace>.lead{font-size:18px;margin-bottom:20px}.module-workspace .review-card{padding:20px!important}.module-workspace .form-fields,.module-workspace .inbound-filters{grid-template-columns:1fr;gap:16px}.module-workspace label{font-size:18px}.module-workspace input,.module-workspace select,.module-workspace textarea{min-height:52px;font-size:18px;padding:12px}.module-workspace input[type=checkbox],.module-workspace input[type=radio]{min-height:24px}.module-workspace .page-actions{display:grid;grid-template-columns:1fr;gap:12px}.module-workspace .page-actions .button{width:100%;min-height:52px}.module-workspace .compact-button{min-height:48px;font-size:17px}.module-workspace .table table{min-width:700px}.module-workspace .table th,.module-workspace .table td{padding:14px 16px}.module-workspace .table td{font-size:18px}.module-workspace .inbound-filters{padding:18px}.module-workspace .preview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module-workspace .preview-stats article{padding:16px}.module-workspace .photo-fields{grid-template-columns:1fr}.module-workspace .photo-fields button{width:100%}.module-workspace .inbound-order-head{gap:16px}.module-workspace .form-fields label{gap:8px}}

.welcome-panel .company-caption{font-size:20px;font-weight:600;letter-spacing:.16em;margin-bottom:12px}.welcome-panel h1.company-wordmark{font-family:Didot,"Bodoni MT","Times New Roman",serif;font-size:clamp(40px,5vw,72px);font-weight:400;letter-spacing:.09em;line-height:1.08;margin:0 0 18px;color:#342c26}.welcome-panel>div{min-width:0}@media(max-width:800px){.welcome-panel .company-caption{font-size:18px;letter-spacing:.12em}.welcome-panel h1.company-wordmark{font-size:clamp(28px,8vw,50px);letter-spacing:.04em;margin-bottom:16px}}

/* Shared warm-neutral login, independent of workspace navigation. */
body.login-page{background:radial-gradient(ellipse at 15% 10%,#e8d9ca 0,transparent 50%),linear-gradient(135deg,#f8f5f0,#eee4d9);min-height:100dvh;display:grid;place-items:center;color:#302c29}.login-main{margin:0!important;max-width:520px;width:100%;padding:30px 20px}.login-card{padding:38px!important;border-radius:18px;background:#ffffffed;border:1px solid #e9ded2;box-shadow:0 18px 60px #70503512}.login-brand{text-align:center;margin-bottom:30px}.login-card .login-brand h1{font-size:25px;line-height:1.5;letter-spacing:.12em;margin:0 0 12px;font-weight:600;color:#514337}.login-wordmark{font-family:Didot,"Bodoni MT","Times New Roman",serif;font-size:42px;letter-spacing:.07em;line-height:1.2;color:#45382e}.login-card h2{font-size:22px;color:#5f4d3f;margin:0 0 10px}.login-card>p{font-size:15px;color:#8a7c70;margin:0 0 22px}.login-form{gap:20px;margin:0;display:grid}.login-form label{font-size:17px;color:#655346;gap:8px}.login-form input{font-size:18px;padding:13px 15px;border:1px solid #e3d9cf;min-height:52px;border-radius:8px;background:#fffdfb}.login-form button{background:#927761;color:white;min-height:54px;font-size:19px;border-radius:8px;margin-top:6px}.login-form button:hover{background:#7d624d}.login-card .error-note{color:#a34133;background:#fff1ed;padding:12px}.login-page>div:first-child{position:absolute;top:0;left:0;right:0}
@media(max-width:800px){.login-main{padding:24px 16px}.login-card{padding:28px 22px!important}.login-card .login-brand h1{font-size:23px}.login-wordmark{font-size:clamp(28px,8vw,40px);letter-spacing:.04em}.login-brand{margin-bottom:26px}.login-form label{font-size:18px}.login-form input{min-height:54px}.login-form button{min-height:56px}}

.brand-latin{font-family:Didot,"Bodoni MT","Times New Roman",serif;font-size:26px;font-weight:400;letter-spacing:.06em;line-height:1.2;color:#45382e}.brand-name{font-size:14px;letter-spacing:.12em;margin-top:8px;color:#514337}@media(max-width:800px){.brand-latin{font-size:23px;letter-spacing:.04em}.brand-name{font-size:13px;margin-top:6px}}
