:root{--ink:#1b2c41;--muted:#708196;--paper:#f5f8fc;--white:#fff;--line:#dce6ef;--green:#1e639e;--green-soft:#e8f2fb;--lime:#b9ddfa;--orange:#ed8b50;--shadow:0 10px 30px rgba(24,63,102,.08)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:#eef4fa;border-right:1px solid var(--line);padding:26px 16px 17px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 28px}.brand b{display:block;font-size:14px;letter-spacing:-.3px}.brand small,.sidebar-foot small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.mark{width:37px;height:37px;border-radius:12px;background:var(--green);color:white;display:grid;place-items:center;font-weight:800;font-size:19px}.nav-label{margin:3px 10px 8px;color:#929a91;font-size:9px;font-weight:800;letter-spacing:1.3px}nav{display:grid;gap:3px}.nav-item{border:0;text-align:left;color:#58665d;background:transparent;padding:10px 11px;border-radius:9px;font-size:12px;display:flex;gap:11px;align-items:center}.nav-item i{font-style:normal;width:18px;text-align:center;font-size:16px}.nav-item.active{background:#fff;color:var(--green);font-weight:750;box-shadow:0 2px 7px #17211c0a}.sidebar-foot{margin-top:auto;border-top:1px solid #dfe2d8;padding:15px 8px 0;display:flex;align-items:center;gap:9px;font-size:11px}.avatar{width:32px;height:32px;border-radius:50%;background:#dcecff;display:grid;place-items:center}.local-dot{width:7px;height:7px;background:#79aa69;border-radius:50%;margin-left:auto}main{max-width:1500px;width:100%;margin:0 auto;padding:21px clamp(20px,3.8vw,56px) 36px}.topbar{height:39px;display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.crumb{color:var(--muted);font-size:11px}.mobile-brand{display:none}.top-actions{display:flex;gap:8px}.search,.help{height:34px;background:#fff;border:1px solid var(--line);border-radius:8px;color:#536158}.search{padding:0 9px;min-width:180px;display:flex;align-items:center;gap:8px;font-size:12px;text-align:left}.search span{flex:1;color:#7e8981}.search kbd{font:10px inherit;color:#969e98;border:1px solid var(--line);border-radius:4px;padding:1px 4px}.help{width:34px;border-radius:50%}.view{display:none}.view.active{display:block}.welcome{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:var(--green);font-weight:800}.eyebrow span{display:inline-block;width:7px;height:7px;background:#83b16b;border-radius:50%;margin-right:5px}h1{font-size:clamp(27px,3vw,36px);line-height:1.2;letter-spacing:-1.1px;margin:9px 0 8px}.welcome p,.page-title p{color:var(--muted);font-size:13px;margin:0}.today,.subtle{font-size:10px;color:#718075;background:#fff;border:1px solid var(--line);padding:8px 11px;border-radius:8px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:29px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 15px;min-height:86px}.stat span,.stat small{display:block;font-size:10px;color:var(--muted)}.stat b{display:block;font-size:20px;margin:5px 0 1px;letter-spacing:-.4px}.stat small{font-size:9px}.stat.accent{background:#e9f2fb}.stat.accent b{font-size:16px;color:var(--green)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 12px}.section-heading h2{font-size:16px;margin:0;letter-spacing:-.3px}.section-heading p{font-size:11px;color:var(--muted);margin:3px 0 0}.flow-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px 14px;display:flex;align-items:center;justify-content:space-around;margin-bottom:29px}.flow-step{border:0;background:none;text-align:left;display:grid;grid-template-columns:26px auto;column-gap:9px;align-items:center;min-width:145px;color:var(--ink)}.flow-step b{font-size:12px}.flow-step small{grid-column:2;color:var(--muted);font-size:10px;margin-top:2px}.step-no{width:23px;height:23px;display:grid;place-items:center;background:#ebf2f9;color:var(--green);border-radius:50%;font-size:10px;font-weight:800;grid-row:span 2}.step-no.done{background:var(--green);color:#fff}.flow-arrow{color:#b9c0b8}.tools-head{margin-bottom:13px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tool-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto auto;column-gap:10px;text-align:left;transition:.16s;color:var(--ink)}.tool-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#d0dacf}.tool-icon{grid-row:span 3;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-size:17px}.tool-icon.green{background:var(--green-soft);color:var(--green)}.tool-icon.orange{background:#fff0e6}.tool-icon.blue{background:#eef0ff}.tool-icon.yellow{background:#f4edda}.tool-icon.violet{background:#f1eafd}.tool-icon.gray{background:#edf0ee}.tool-card b{font-size:11px;margin:1px 0 3px}.tool-card small{font-size:9px;color:var(--muted)}.tool-card em{font-style:normal;color:var(--green);font-size:9px;margin-top:8px}.notice{background:#eaf2fb;padding:12px 14px;border-radius:10px;margin-top:15px;display:flex;align-items:center;gap:12px;color:#647268;font-size:10px}.notice b{color:#2c4737;white-space:nowrap}.notice span{flex:1}.notice button{border:1px solid #d4dfd1;border-radius:6px;background:#fff;color:var(--green);font-size:10px;padding:6px 9px;white-space:nowrap}.notice.warning{background:#fff4e9;color:#775e49}.notice.warning b{color:#8a542a}.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:22px}.page-title h1{margin-top:7px}.two-col{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:14px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:18px}.panel h2{font-size:14px;margin:0 0 4px}.panel-intro{font-size:10px;color:var(--muted);margin:0 0 15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 12px}.form-grid label,.doc-meta label{display:grid;gap:5px;font-size:10px;color:#707b73}.form-grid input,.form-grid select,.form-grid textarea,.doc-meta input,.search-input{width:100%;min-width:0;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:8px 9px;outline:none;font-size:11px}.form-grid input,.form-grid select,.doc-meta input,.search-input{height:34px}.form-grid textarea{resize:vertical}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.doc-meta input:focus,.search-input:focus{border-color:#78acd6;box-shadow:0 0 0 3px #e7f2fc}.span-2{grid-column:1/-1}.button-row{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}.btn{height:34px;padding:0 13px;border-radius:7px;font-size:10px;font-weight:700}.btn.primary{border:1px solid var(--green);background:var(--green);color:#fff}.btn.primary:hover{background:#194f38}.btn.secondary{border:1px solid var(--line);background:#fff;color:#536158}.btn.wide{width:100%;margin-top:13px}.result-panel{background:#f2f7fc;border-color:#e0eaf4}.result-label{font-size:10px;color:#718075}.big-result{font-size:31px;font-weight:800;letter-spacing:-1px;color:var(--green);margin:4px 0 15px}.big-result small{font-size:13px;font-weight:600;letter-spacing:0}.result-list{border-top:1px solid #dfe6dc}.result-list div{display:flex;justify-content:space-between;padding:9px 1px;border-bottom:1px solid #e3e9e0;font-size:10px}.result-list span{color:var(--muted)}.result-list b{font-size:11px}.disclaimer{font-size:9px;line-height:1.65;color:#818b82;margin:13px 0 0}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.panel-header h2{margin:0}.panel-header .panel-intro{margin:3px 0 0}.search-input{max-width:185px}.product-layout{grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:490px}th{text-align:left;color:#8a948b;font-size:9px;font-weight:600;padding:9px 8px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:10px 8px;border-bottom:1px solid #eff0eb;font-size:10px;vertical-align:middle}td strong{display:block;font-size:10px}td small{color:var(--muted);font-size:9px}.row-action{border:0;background:none;color:var(--green);font-size:10px;padding:3px}.empty{color:#909990;text-align:center;padding:25px 8px;font-size:10px}.panel-header.line-top{border-top:1px solid var(--line);padding-top:15px;margin-top:19px}.doc-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;border-top:1px solid var(--line);padding-top:13px;margin-top:10px}.doc-meta{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:8px}.doc-meta input{max-width:130px}.doc-total{text-align:right;white-space:nowrap}.doc-total small{display:block;color:var(--muted);font-size:10px}.doc-total b{font-size:18px}.button-row.end{justify-content:flex-end}.reconcile{margin-top:14px}.check-output{margin-top:14px}.check-results{display:grid;gap:7px}.check-row{border-radius:8px;padding:10px 12px;font-size:10px;display:flex;justify-content:space-between;gap:10px;background:#f5f6f2}.check-row.ok{background:#edf5eb;color:#346247}.check-row.diff{background:#fff2e7;color:#8a542a}.official-links{display:grid;gap:8px;margin-top:12px}.official-links a{border:1px solid var(--line);border-radius:8px;padding:10px;font-size:10px;color:var(--green);font-weight:700}.official-links a span{float:right}.official-links small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:3px}.hs-record-panel{margin-top:14px}.hs-row{padding:10px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:10px;font-size:10px}.hs-row span{color:var(--muted)}footer{display:flex;justify-content:space-between;color:#98a098;font-size:9px;margin-top:30px}.toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1b2c41;color:#fff;padding:10px 14px;border-radius:8px;font-size:11px;transition:.18s;z-index:8;max-width:calc(100vw - 30px)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1040px){.shell{grid-template-columns:205px minmax(0,1fr)}main{padding-left:24px;padding-right:24px}.tool-grid{grid-template-columns:repeat(2,1fr)}.flow-step{min-width:115px}.product-layout{grid-template-columns:1fr}.two-col{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.shell{display:block}.sidebar{display:none}main{padding:14px 14px 28px}.topbar{margin-bottom:24px}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:12px}.mobile-brand .mark{width:30px;height:30px;border-radius:10px;font-size:16px}.crumb{display:none}.search{min-width:34px;width:34px;justify-content:center;padding:0}.search span,.search kbd{display:none}.welcome{display:block}.today{display:inline-block;margin-top:12px}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat{min-height:77px;padding:11px}.stat b{font-size:17px}.flow-card{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:15px}.flow-arrow{display:none}.flow-step{min-width:0}.tool-grid{grid-template-columns:1fr 1fr;gap:8px}.tool-card{padding:10px;grid-template-columns:30px 1fr;gap:8px}.tool-icon{width:30px;height:30px;font-size:14px}.tool-card b{font-size:10px}.tool-card small{font-size:8px}.notice{align-items:flex-start;flex-wrap:wrap}.notice span{min-width:100%;order:3}.notice button{margin-left:auto}.page-title{align-items:flex-start;flex-direction:column}.page-title .button-row{margin-top:0}.two-col,.product-layout{grid-template-columns:1fr}.doc-meta{grid-template-columns:1fr 1fr}.doc-bottom{align-items:flex-end}.doc-total b{font-size:15px}.hs-row{grid-template-columns:1fr 1fr}.hs-row span:nth-child(3){grid-column:1/-1}footer{flex-direction:column;gap:5px}}
@media(max-width:400px){.tool-grid{grid-template-columns:1fr}.form-grid{gap:9px}.panel{padding:14px}.search-input{max-width:135px}.doc-bottom{display:block}.doc-total{margin-top:12px}.button-row.end{justify-content:stretch}.button-row.end .btn{flex:1}}
.exchange-result{display:grid;gap:5px;background:#f1f5ef;border-radius:9px;padding:13px;margin-top:14px}.exchange-result small,.exchange-result span{font-size:9px;color:var(--muted)}.exchange-result b{font-size:24px;color:var(--green)}.apply-rate{align-items:end;margin-top:13px}.apply-rate button{width:100%;height:34px}.fx-table{min-width:420px}.fx-table td{white-space:nowrap}.fx-table .rate-date{color:var(--muted);font-size:9px}.fx-loading{opacity:.65;pointer-events:none}
.shipment-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.shipment-filters label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.shipment-filters input[type=date]{min-width:130px;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:10px}
@media(max-width:740px){.shipment-filters{width:100%}.shipment-filters .search-input{max-width:none;flex:1;min-width:170px}.shipment-filters label{flex:1}.shipment-filters input[type=date]{min-width:0;width:100%}}
.reconcile-source{display:grid;gap:5px;margin:12px 0 4px;color:var(--muted);font-size:10px}.reconcile-source select{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:11px}
.hs-record{padding:14px 0;border-bottom:1px solid var(--line)}.hs-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.hs-record-head>div{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;align-items:center}.hs-record-head b{color:var(--green);font-size:12px}.hs-record-head strong{font-size:11px}.hs-record-head span{font-size:9px;color:var(--muted)}.hs-status{padding:4px 8px;border-radius:20px;background:#f1f3ee;white-space:nowrap}.hs-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px 16px;margin-top:12px;font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.hs-facts>div{line-height:1.5}.hs-facts small{display:block;color:var(--muted);font-size:9px;margin-bottom:2px}.hs-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
@media(max-width:740px){.hs-record-head>div{grid-template-columns:1fr}.hs-facts{grid-template-columns:1fr 1fr}}
#docLines td small{display:block;color:var(--muted);font-size:9px;line-height:1.4;margin-top:3px;max-width:220px;white-space:normal;overflow-wrap:anywhere}#docLines .line-sku{color:var(--muted)}#docLines .line-product{max-width:145px}
.modal-backdrop{position:fixed;inset:0;z-index:20;background:#17211c80;display:grid;place-items:center;padding:18px}.modal-backdrop[hidden]{display:none}.confirm-dialog{width:min(100%,420px);background:#fff;border-radius:14px;padding:22px;box-shadow:0 20px 70px #0003}.confirm-dialog h2{margin:0 0 9px;font-size:16px}.confirm-dialog p{margin:0;color:#697b8d;font-size:12px;line-height:1.7}.confirm-dialog .button-row{justify-content:flex-end;margin-top:20px}
.command-search{max-width:none!important;width:100%;margin:13px 0 7px}.command-results{display:grid;gap:5px;max-height:min(55vh,420px);overflow:auto}.command-results button{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px;color:var(--ink);text-align:left;font-size:11px}.command-results button:hover,.command-results button:focus{border-color:#78acd6;background:#f4f9fd;outline:none}.command-results small{color:var(--muted);font-size:9px}.command-empty{padding:14px;color:var(--muted);font-size:11px;text-align:center}
.toast{display:flex;align-items:center;gap:12px}.toast button{border:0;border-left:1px solid #ffffff55;padding:2px 0 2px 12px;background:transparent;color:#d9eefe;font-size:11px;font-weight:700}.toast button[hidden]{display:none}
.toast.show{pointer-events:auto}
.shell{display:none}.shell.authenticated{display:grid}.auth-root{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#f5f8fc}.auth-root[hidden]{display:none}.auth-card{width:min(100%,440px);padding:36px;border:1px solid #e7e4da;border-radius:20px;background:white;box-shadow:0 24px 80px #172b2614}.auth-card>.mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e8f3fc;color:#1e639e;font-size:25px}.auth-card h1{margin:20px 0 7px;font-size:25px}.auth-card>p,.auth-foot{color:#697b8d}.auth-card form{display:grid;gap:16px;margin-top:24px}.auth-card label,.inline-form label{display:grid;gap:7px;font-size:13px;color:#43514a}.auth-card input,.inline-form input,.inline-form select,.admin-row select{width:100%;padding:12px;border:1px solid #d9ded8;border-radius:9px;font:inherit;background:#fff}.auth-card form button{margin-top:5px}.auth-error{min-height:22px;margin-top:10px;color:#ae3b32;font-size:13px}.auth-foot{display:block;margin-top:18px;font-size:12px}.account-open{white-space:nowrap}.account-dialog{width:min(900px,calc(100vw - 32px));max-height:86vh;overflow:auto}.team-panel{padding:16px 0;border-top:1px solid #e2eaf3}.team-panel h3{margin:0 0 8px}.team-panel p{color:#65716b;font-size:13px}.member-list{display:grid;gap:7px;margin:14px 0}.member-list>div,.admin-row{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e8ebe7;border-radius:9px}.member-list span{margin-left:auto;color:#68736e;font-size:12px}.inline-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}.inline-form label{min-width:180px;flex:1}.inline-form button{min-height:43px}.invite-result{overflow-wrap:anywhere;padding:9px 0;color:#33453b}.invite-result input{width:100%;padding:10px;border:1px solid #d9ded8;border-radius:8px;margin:5px 0}.admin-row{flex-wrap:wrap;margin:8px 0}.admin-row b{min-width:160px;flex:1}.admin-row span{color:#697b8d;font-size:12px}.admin-row select{width:auto;padding:8px}.admin-row button{padding:8px 12px}.account-dialog>.panel-header{align-items:start}.account-dialog>.button-row{padding-top:15px;border-top:1px solid #e2eaf3}

/* Public product landing page */
.landing-root{min-height:100vh;background:#f8fbfe;color:#1e3046}.landing-nav{height:78px;max-width:1200px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:38px;border-bottom:1px solid #e1e9f2}.landing-brand{display:flex;align-items:center;gap:10px;min-width:230px}.landing-brand .mark,.landing-bottom>.mark{width:40px;height:40px}.landing-brand b{display:block;font-size:14px;letter-spacing:-.3px}.landing-brand small{display:block;margin-top:2px;color:#7b867d;font-size:10px}.landing-links{display:flex;gap:28px;margin:auto;color:#697b8d;font-size:12px}.landing-links a:hover,.landing-login:hover{color:var(--green)}.landing-actions{display:flex;align-items:center;gap:10px}.landing-login,.text-link{border:0;background:transparent;color:#46554b;font-weight:700;font-size:12px;padding:10px}.landing-actions .btn{height:38px;font-size:11px}.landing-main{max-width:1200px;margin:auto;padding:0 28px}.landing-hero{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:76px 0 68px;min-height:525px}.hero-copy{padding:10px 0}.landing-eyebrow{font-size:10px;letter-spacing:1.5px;color:#426d91;font-weight:800}.landing-eyebrow>span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#77b9ea;margin-right:7px}.hero-copy h1{font-size:clamp(38px,5vw,58px);line-height:1.17;letter-spacing:-2.3px;margin:20px 0 18px}.hero-copy h1 em{font-style:normal;color:#287ab7}.hero-copy>p,.landing-section-heading>p,.landing-workflow>div>p{max-width:475px;color:#6b7f91;font-size:14px;line-height:1.9;margin:0}.hero-actions{display:flex;gap:10px;margin-top:26px}.hero-actions .btn{height:43px;padding:0 17px;font-size:12px}.hero-actions .btn span{margin-left:12px}.hero-note{margin-top:18px;color:#849087;font-size:10px}.hero-visual{position:relative;padding:20px 0 20px 12px}.visual-window{position:relative;overflow:hidden;background:#fff;border:1px solid #e5e9e1;border-radius:17px;box-shadow:0 28px 80px #273e2c1a;transform:rotate(1deg)}.visual-window:before{content:"";position:absolute;width:220px;height:220px;right:-95px;top:-115px;border-radius:50%;background:#e5f1df}.visual-top{height:51px;position:relative;display:flex;align-items:center;gap:6px;padding:0 16px;border-bottom:1px solid #eaf1f8;color:#617067;font-size:10px}.visual-top i{width:7px;height:7px;border-radius:50%;background:#d8ded5}.visual-top span{margin-left:10px}.visual-top b{margin-left:auto;color:#2a77ad;font-size:9px}.visual-body{min-height:310px;display:grid;grid-template-columns:116px 1fr}.visual-body aside{display:flex;flex-direction:column;gap:5px;padding:16px 9px;background:#f4f8fc;border-right:1px solid #eaf1f8}.visual-body aside strong{width:25px;height:25px;margin:0 0 10px 7px;border-radius:8px;background:#1e639e;color:#fff;display:grid;place-items:center}.visual-body aside span{padding:8px 9px;border-radius:6px;color:#728077;font-size:9px}.visual-body aside .selected{background:#fff;color:#1e639e;font-weight:700}.visual-content{padding:23px 22px}.visual-content>small{color:#879189;font-size:8px;letter-spacing:1px}.visual-content h3{margin:7px 0 18px;font-size:17px;letter-spacing:-.5px}.visual-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.visual-stats div{padding:11px 9px;border:1px solid #e9f0f8;border-radius:8px}.visual-stats small,.visual-stats b{display:block;font-size:8px;color:#879189}.visual-stats b{margin-top:5px;color:#285e90;font-size:10px}.visual-flow{display:flex;align-items:center;justify-content:space-between;margin:18px 0;padding:13px 11px;border-radius:8px;background:#f5f9fd;color:#32678f;font-size:9px;font-weight:700}.visual-flow i{color:#a7b2a8;font-style:normal}.visual-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}.visual-cards>div{display:grid;gap:8px;padding:12px;border:1px solid #e9f0f8;border-radius:8px}.visual-cards b{font-size:9px}.visual-cards span{color:#758078;font-size:8px}.visual-cards .visual-highlight{background:#eaf3fb;border-color:#e2edf8}.landing-proof{display:flex;align-items:center;justify-content:center;gap:18px;padding:19px 12px;border-top:1px solid #e1e9f2;border-bottom:1px solid #e1e9f2;color:#315675;font-size:11px}.landing-proof span{color:#849087;font-size:10px;margin-right:10px}.landing-proof i{color:#bec6bc;font-style:normal}.landing-section{padding:83px 0 87px}.landing-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px}.landing-section-heading h2,.landing-workflow h2,.landing-bottom h2{font-size:30px;letter-spacing:-1px;line-height:1.3;margin:10px 0 0}.landing-section-heading>p{max-width:390px;font-size:12px}.landing-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.landing-feature-grid article{min-height:188px;padding:20px;border:1px solid #e2eaf3;border-radius:12px;background:#fff;transition:transform .18s,box-shadow .18s}.landing-feature-grid article:hover{transform:translateY(-3px);box-shadow:0 14px 35px #25392c10}.feature-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-size:16px;color:#1e639e}.feature-icon.mint{background:#e8f3e8}.feature-icon.blue{background:#eaf0fb;color:#486792}.feature-icon.peach{background:#fff0e4;color:#a76632}.feature-icon.lilac{background:#f0eafa;color:#7757a0}.feature-icon.yellow{background:#f5f0d9;color:#907c35}.feature-icon.gray{background:#edf0ed;color:#5d7164}.landing-feature-grid h3{font-size:14px;margin:14px 0 6px}.landing-feature-grid p{max-width:320px;min-height:42px;color:#6b7e91;font-size:11px;line-height:1.7;margin:0}.landing-feature-grid article>small{display:block;color:#829087;font-size:9px;margin-top:13px}.landing-workflow{display:grid;grid-template-columns:1fr .9fr;gap:60px;align-items:center;padding:54px 48px;border-radius:17px;background:#edf5fb}.landing-workflow h2{font-size:29px}.landing-workflow>div>p{max-width:470px;font-size:12px;margin-top:14px}.text-link{margin:16px 0 0 -10px;color:#1e639e}.workflow-steps{display:grid;gap:10px}.workflow-steps article{display:flex;align-items:center;gap:15px;padding:15px;border:1px solid #e1e9de;border-radius:10px;background:#fbfcf8}.workflow-steps article>b{color:#74a078;font-size:11px}.workflow-steps strong,.workflow-steps small{display:block}.workflow-steps strong{font-size:12px}.workflow-steps small{margin-top:4px;color:#758078;font-size:10px}.landing-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:72px 8px 66px}.landing-bottom>div{display:flex;align-items:center;gap:16px}.landing-bottom .mark{width:43px;height:43px}.landing-bottom h2{font-size:24px;margin:5px 0}.landing-bottom p{color:#738077;font-size:11px;margin:0}.landing-bottom>.btn{height:40px;font-size:11px;padding:0 17px}.landing-footer{display:flex;justify-content:space-between;max-width:1200px;margin:auto;padding:18px 28px;border-top:1px solid #e1e9f2;color:#8a948b;font-size:9px}.auth-root{background:#f7f8f3}.auth-card{border-radius:16px}.auth-card h1{letter-spacing:-.7px}.auth-card form{gap:12px}.auth-card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.auth-card-actions button{border:0;background:transparent;color:#426b91;font-size:11px;padding:6px 0}.auth-card-actions .auth-switch{font-weight:750}.auth-card .auth-error{margin-top:5px}
@media(max-width:900px){.landing-nav{gap:18px}.landing-brand{min-width:195px}.landing-links{gap:15px}.landing-hero{gap:28px;padding:60px 0}.visual-body{grid-template-columns:94px 1fr}.visual-content{padding:20px 15px}.landing-workflow{gap:32px;padding:40px 32px}}
@media(max-width:680px){.landing-nav{height:68px;padding:0 16px}.landing-brand{min-width:0;flex:1}.landing-brand .mark{width:34px;height:34px}.landing-brand small{display:none}.landing-links{display:none}.landing-actions{gap:5px}.landing-actions .btn{height:34px;padding:0 9px;font-size:9px}.landing-login{font-size:11px;padding:8px}.landing-main{padding:0 17px}.landing-hero{grid-template-columns:1fr;gap:28px;padding:49px 0 42px}.hero-copy h1{font-size:39px;letter-spacing:-1.8px}.hero-copy>p{font-size:12px}.hero-actions{flex-wrap:wrap}.hero-actions .btn{height:40px;padding:0 12px;font-size:10px}.hero-visual{padding:0 2px}.visual-body{min-height:275px;grid-template-columns:76px 1fr}.visual-body aside{padding:12px 6px}.visual-body aside span{padding:7px 5px;font-size:8px}.visual-content{padding:17px 11px}.visual-content h3{font-size:14px}.visual-stats{gap:5px}.visual-stats div{padding:8px 5px}.visual-stats b{font-size:8px}.visual-flow{font-size:8px;padding:10px 7px}.visual-cards>div{padding:9px 7px}.landing-proof{justify-content:flex-start;flex-wrap:wrap;gap:8px 10px;padding:15px 3px;font-size:9px}.landing-proof span{width:100%;margin:0}.landing-proof b{font-size:9px}.landing-section{padding:57px 0}.landing-section-heading{display:block;margin-bottom:18px}.landing-section-heading h2,.landing-workflow h2{font-size:25px}.landing-section-heading>p{margin-top:9px}.landing-feature-grid{grid-template-columns:1fr 1fr;gap:8px}.landing-feature-grid article{min-height:180px;padding:13px}.landing-feature-grid h3{font-size:12px;margin:10px 0 5px}.landing-feature-grid p{font-size:9px}.landing-feature-grid article>small{font-size:8px}.landing-workflow{grid-template-columns:1fr;gap:23px;padding:28px 17px}.workflow-steps article{padding:12px}.landing-bottom{align-items:flex-start;flex-direction:column;padding:48px 0}.landing-bottom h2{font-size:21px}.landing-footer{padding:16px 17px}.auth-root{padding:15px}.auth-card{padding:25px 21px}.auth-card h1{font-size:23px}}
.pricing-section{padding:62px 0 18px}.pricing-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:0 0 24px}.pricing-heading h2{margin:8px 0 0;font-size:28px;letter-spacing:-.8px}.pricing-heading>p{max-width:430px;color:#718078;font-size:12px;line-height:1.7}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.price-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid #e7eae3;border-radius:14px;background:#fff}.price-card.featured{border-color:#89ad91;box-shadow:0 12px 32px #24644412}.price-card>span{color:#587062;font-size:12px;font-weight:750}.price-card>strong{margin-top:18px;color:#1d3026;font-size:30px;letter-spacing:-1px}.price-card>strong small{font-size:13px;font-weight:500;letter-spacing:0}.price-card>small,.price-card>p{margin:6px 0 0;color:#78837c;font-size:11px}.price-card ul{display:grid;gap:10px;min-height:84px;margin:20px 0;padding-left:17px;color:#55645b;font-size:11px;line-height:1.5}.price-card .btn{width:100%;margin-top:auto}.pricing-disclosure{margin:14px 0;color:#8b938d;font-size:10px}.website-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.auth-card form>small{color:#708196;font-size:11px;line-height:1.6}
@media(max-width:680px){.pricing-section{padding:48px 0 10px}.pricing-heading{display:block}.pricing-heading h2{font-size:24px}.pricing-grid{grid-template-columns:1fr;gap:10px}.price-card{padding:19px}.price-card ul{min-height:0;margin:13px 0 18px}}

/* Calm, long-session palette: cool mineral neutrals anchored by the supplied teal mark. */
#confirmMessage{white-space:pre-line;max-height:58vh;overflow:auto}
:root{--ink:#1e3046;--muted:#697d90;--paper:#f3f8f7;--white:#fff;--line:#dce7f1;--green:#1e69a7;--green-soft:#e5f2f0;--lime:#b9e7dc;--orange:#b96f45;--shadow:0 10px 30px rgba(28,62,62,.07)}
body{background:var(--paper);color:var(--ink)}
.sidebar{background:#edf4f3;border-right-color:#dce7f1}
.sidebar-foot{border-color:#dce7f1}
.nav-item{color:#53676a}.nav-item.active{color:#1e69a7}
.avatar{background:#dcefed}
.local-dot{background:#37a397}
.stat.accent{background:#e8f3f1}.stat.accent b,.step-no{color:#1e69a7}
.step-no{background:#e6f1ef}.step-no.done{background:#1e69a7;color:#fff}
.tool-icon.green{background:#e1f1ee;color:#1e69a7}.tool-icon.blue{background:#e8f0f4;color:#426b7b}.tool-icon.orange{background:#f8eee7}.tool-icon.yellow{background:#f3f0e5}.tool-icon.violet{background:#eeeaf3}.tool-icon.gray{background:#edf2f1}
.notice{background:#eaf3fc;color:#52696a}.notice b{color:#294f50}.notice button{border-color:#cfdfdc;color:#1e69a7}
.btn.primary{border-color:#1e69a7;background:#1e69a7}.btn.primary:hover{background:#066c67}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.doc-meta input:focus,.search-input:focus{border-color:#168e86;box-shadow:0 0 0 3px #dff0ed}
.flow-card,.stat,.panel,.tool-card,.confirm-dialog,.auth-card,.price-card{border-color:#dce7f1}
.dashboard-next{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:12px;margin:0 0 28px}.next-panel,.recent-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px}.next-panel .section-heading,.recent-panel .section-heading{align-items:center;margin-bottom:10px}.task-count{font-size:10px;color:var(--green);background:var(--green-soft);border-radius:20px;padding:5px 9px;white-space:nowrap}.task-list{display:grid;gap:7px}.task-item{display:grid;grid-template-columns:27px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid #edf0ea;border-radius:9px;padding:9px 10px}.task-item.is-done{background:#f7faff}.task-index{width:24px;height:24px;border-radius:50%;background:#f1f2ed;color:#637067;display:grid;place-items:center;font-size:9px;font-weight:800}.is-done .task-index{background:#e6f0e5;color:var(--green)}.task-copy b,.recent-copy b{font-size:10px;display:block}.task-copy small,.recent-copy small{display:block;color:var(--muted);font-size:9px;margin-top:2px;line-height:1.45}.task-action{border:0;background:transparent;color:var(--green);font-size:9px;font-weight:700;white-space:nowrap;padding:5px}.recent-list{display:grid}.recent-item{display:grid;grid-template-columns:27px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #eff0eb}.recent-item:last-child{border-bottom:0}.recent-icon{width:25px;height:25px;border-radius:8px;background:#e9f2fb;color:var(--green);display:grid;place-items:center;font-size:13px}.recent-amount{font-size:9px;color:#48554d;white-space:nowrap}.recent-empty{min-height:175px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;color:var(--muted)}.recent-empty b{font-size:11px;color:#4e5c52}.recent-empty span{font-size:9px}.recent-empty .btn{margin-top:5px}
.dashboard-alerts{margin:0 0 20px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:13px}.dashboard-alerts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.dashboard-alerts-head h2{font-size:14px;margin:0;color:var(--ink)}.dashboard-alerts-head p{font-size:10px;margin:3px 0 0;color:var(--muted)}.alert-count{font-size:10px;color:var(--muted);background:#f1f3f5;border-radius:20px;padding:5px 10px;white-space:nowrap}.alert-count.has-alerts{color:#975b08;background:#fff3d8}.dashboard-alert-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:7px}.dashboard-alert{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;text-align:left;background:#f8fafc;border:1px solid #e8eef3;border-radius:9px;padding:9px 10px;cursor:pointer;color:var(--ink)}.dashboard-alert:hover{border-color:#b8cce0;background:#f4f8fc}.dashboard-alert.is-review{background:#fffaf0;border-color:#f0e3bf}.dashboard-alert-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;font-weight:800;color:#8d620c;background:#fff0ca}.dashboard-alert:not(.is-review) .dashboard-alert-icon{color:#4c7187;background:#e4f0f5}.dashboard-alert-copy{min-width:0}.dashboard-alert-copy b{display:block;font-size:10px}.dashboard-alert-copy small{display:block;margin-top:3px;font-size:9px;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-alert-link{font-size:9px;font-weight:700;color:var(--blue);white-space:nowrap}.dashboard-alert-empty{font-size:10px;color:var(--muted);padding:8px 2px}
@media(max-width:900px){.dashboard-next{grid-template-columns:1fr}}
@media(max-width:740px){.dashboard-next{gap:8px;margin-bottom:22px}.next-panel,.recent-panel{padding:12px}.task-item{grid-template-columns:25px minmax(0,1fr);gap:7px}.task-action{grid-column:2;justify-self:start;padding:2px 0}.recent-item{grid-template-columns:25px minmax(0,1fr) auto}.recent-amount{grid-column:2;grid-row:2}.recent-item .row-action{grid-column:3;grid-row:1 / span 2}}
.result-panel{background:#edf5fd;border-color:#dce7f1}.big-result,.exchange-result b{color:#1e69a7}
.check-row.ok{background:#e9f4f0;color:#286a5b}.check-row.diff,.notice.warning{background:#fbf1e9;color:#76543e}
.landing-root{background:#f6f9fd;color:#1e3046}
.landing-nav,.landing-proof,.landing-footer{border-color:#dce7f1}
.landing-links{color:#5c7073}.landing-links a:hover,.landing-login:hover{color:#1e69a7}
.landing-login,.text-link{color:#38565a}
.landing-eyebrow{color:#1e69a7}.landing-eyebrow>span{background:#4faef0}
.hero-copy h1 em{color:#1e69a7}.hero-copy>p,.landing-section-heading>p,.landing-workflow>div>p{color:#667b90}
.hero-note,.landing-proof span,.landing-feature-grid p,.landing-feature-grid article>small,.landing-footer{color:#708397}
.visual-window{border-color:#dce7f1;box-shadow:0 28px 80px rgba(35,76,74,.13)}
.visual-window:before{background:#e5f2fb}.visual-body aside{background:#eef5fc;border-color:#dce7f1}
.visual-body aside strong{background:#1e69a7}.visual-body aside span{color:#64787b}.visual-body aside .selected{color:#1e69a7}
.visual-stats div,.visual-cards>div{border-color:#e5eef8}.visual-stats b{color:#246aab}.visual-flow{background:#eef5fc;color:#246aab}.visual-cards .visual-highlight{background:#eaf3fc;border-color:#deecf8}
.landing-proof{color:#315777}.landing-proof i{color:#b8c8c6}
.landing-feature-grid article{border-color:#e0eaf5}.feature-icon{color:#1e69a7}.feature-icon.mint{background:#e4f2ef}.feature-icon.blue{background:#e8f0f4;color:#426b7b}.feature-icon.peach{background:#f8eee7;color:#9a6244}.feature-icon.lilac{background:#eeebf3;color:#6c5d86}.feature-icon.yellow{background:#f3f0e5;color:#817542}.feature-icon.gray{background:#edf2f1;color:#597074}
.landing-workflow{background:#eaf3fc}.workflow-steps article{border-color:#dce8e5;background:#f8fbfa}.workflow-steps article>b,.workflow-steps small{color:#6b8584}
.price-card.featured{border-color:#82b9b2;box-shadow:0 12px 32px rgba(18,104,96,.09)}.price-card>span{color:#416966}.price-card>strong{color:#203952}.pricing-heading>p{color:#63787b}.pricing-disclosure{color:#6c7f81}
.landing-footer{color:#708397}
.auth-root{background:#f3f7fc}.auth-card{box-shadow:0 24px 80px rgba(30,67,66,.12)}.auth-card>.mark{background:#e5f2fd;color:#1e69a7}.auth-card>p,.auth-foot{color:#697d90}.auth-card-actions button{color:#426b91}
.brand-logo{display:block;width:40px;height:40px;flex:none;object-fit:contain;padding:5px;border-radius:12px;background:#e9f4fd}
.brand-logo-large{width:52px;height:52px;border-radius:15px;padding:6px}
.auth-brand-logo{width:54px;height:54px;padding:6px;border-radius:15px}
.landing-brand .brand-logo{width:42px;height:42px}.mobile-brand .brand-logo{width:34px;height:34px;padding:4px;border-radius:10px}
.landing-brand b,.brand b{color:#203952}.landing-brand small,.brand small{color:#697d90}
::selection{background:#cde9e5;color:#173d3b}
.landing-daily{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px;align-items:center;margin:40px 0 28px;padding:35px 40px;border:1px solid #dce7f1;border-radius:18px;background:linear-gradient(120deg,#edf5fd,#f7faff)}.daily-copy h2{font-size:29px;line-height:1.35;letter-spacing:-.8px;margin:12px 0}.daily-copy h2 em{font-style:normal;color:#1e69a7}.daily-copy>p{max-width:420px;color:#667b90;font-size:12px;line-height:1.9;margin:0}.daily-copy .text-link{margin:13px 0 0;padding-left:0}.daily-preview{padding:18px 20px;border:1px solid #e0eaf5;border-radius:13px;background:#fff;box-shadow:0 15px 35px rgba(35,76,74,.07)}.daily-preview-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;border-bottom:1px solid #edf1ef;font-size:11px;font-weight:750;color:#304b66}.daily-preview-head b{padding:5px 9px;border-radius:20px;background:#eaf3fc;color:#1e69a7;font-size:9px}.daily-preview>article{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #f0f2ef}.daily-preview>article>i{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#eef5fc;color:#39746e;font-size:9px;font-style:normal;font-weight:800}.daily-preview>article span b,.daily-preview>article span small{display:block}.daily-preview>article span b{font-size:10px;color:#273a34}.daily-preview>article span small{margin-top:3px;color:#81908a;font-size:9px}.daily-preview>article strong{color:#28766b;font-size:9px;white-space:nowrap}.daily-recent{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding-top:12px}.daily-recent>span{font-size:10px;font-weight:750;color:#304b66}.daily-recent>small{font-size:9px;color:#81908a;text-align:right}.daily-recent>b{grid-column:1/-1;padding:9px 10px;border-radius:7px;background:#f5f8f6;color:#526a62;font-size:9px;font-weight:600}
.workspace-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.workspace-role-grid>article{grid-template-columns:28px minmax(0,1fr);min-height:61px;padding:10px 0}.workspace-role-grid>article>span{min-width:0}.workspace-role-grid>article span small{line-height:1.45}.landing-proof{flex-wrap:wrap}.landing-proof b{white-space:nowrap}
@media(max-width:760px){.landing-daily{grid-template-columns:1fr;gap:20px;margin:24px 0;padding:24px 18px}.daily-copy h2{font-size:24px}.daily-preview{padding:14px}.daily-preview>article{grid-template-columns:25px 1fr}.daily-preview>article strong{grid-column:2}.daily-recent{grid-template-columns:1fr}.daily-recent>small{text-align:left}}
@media(max-width:560px){.workspace-role-grid{grid-template-columns:1fr}.landing-proof{gap:8px 10px}.landing-proof span{width:100%}.landing-proof i{display:none}}
.quote-term-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px}.quote-term-option{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line,#dfe7e2);border-radius:10px;padding:10px 12px;background:var(--surface,#fff);color:var(--ink,#25352f);font:inherit;text-align:left;cursor:pointer}.quote-term-option:hover,.quote-term-option[aria-current="true"]{border-color:var(--green,#236b50);background:#edf6f1}.quote-term-option strong{font-size:13px}.quote-term-option span{font-size:12px;font-weight:700}@media(max-width:560px){.quote-term-matrix{grid-template-columns:1fr}}

/* Customer order sharing */
.shared-followups-panel,.linked-customer-accounts{margin:0 0 14px}.shared-order-list{display:grid;gap:8px}.shared-order-row,.share-target-row{display:flex;align-items:center;gap:12px;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfcfe}.shared-order-main{display:grid;gap:4px;min-width:0;flex:1}.shared-order-main>b,.share-target-row>b{font-size:12px;color:var(--ink)}.shared-order-main>span,.shared-order-main>small,.share-target-row>span,.share-target-row>small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.shared-order-actions{display:flex;align-items:center;gap:8px;flex:none}.order-share-dialog{width:min(100%,620px);max-height:min(88vh,850px);overflow:auto}.order-share-dialog>p{margin-bottom:16px}.share-id-label{display:grid;gap:7px;font-size:11px;font-weight:700;color:var(--muted)}.share-id-label textarea{width:100%;min-height:90px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink);font:inherit;font-size:12px;resize:vertical}.share-target-preview{display:grid;gap:6px;max-height:190px;overflow:auto;margin:10px 0 14px}.share-target-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:8px 10px}.share-target-row>b{grid-column:1}.share-target-row>span{grid-column:2;grid-row:1;text-align:right}.share-target-row>small{grid-column:1/-1}.share-target-row>.row-action{grid-column:2;grid-row:2}.share-existing-heading{font-size:11px;font-weight:750;color:var(--muted);padding:4px}.order-share-dialog>.notice{margin:12px 0;padding:10px 12px;font-size:10px}.shared-order-detail-dialog{width:min(100%,760px);max-height:min(88vh,900px);overflow:auto}.shared-detail-source,.shared-privacy-note{padding:9px 11px;border-radius:8px;background:#f3f7fb;color:var(--muted);font-size:10px;line-height:1.6;overflow-wrap:anywhere}.shared-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px}.shared-detail-summary>div{display:grid;gap:4px;padding:9px;border:1px solid var(--line);border-radius:8px}.shared-detail-summary small,.shared-followup-list article>small{color:var(--muted);font-size:10px}.shared-detail-summary b{font-size:11px;overflow-wrap:anywhere}.shared-detail-summary p{margin:0;white-space:pre-wrap;font-size:11px;line-height:1.6}.shared-detail-summary .span-all{grid-column:1/-1}.shared-order-detail-dialog h3{font-size:13px;margin:12px 0 8px}.shared-followup-list{display:grid;gap:8px}.shared-followup-list article{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.shared-followup-list article>b{font-size:11px}.shared-followup-list article>p{margin:6px 0;white-space:pre-wrap;font-size:11px;line-height:1.65}.shared-followup-list article>small{display:inline-block;margin:0 10px 0 0}.error-text{color:#a83227!important}
@media(max-width:640px){.shared-order-row{align-items:flex-start;flex-direction:column}.shared-order-actions{width:100%;justify-content:flex-end}.shared-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-detail-summary .span-all{grid-column:1/-1}.order-share-dialog .notice{font-size:9px}}
.shared-followup-images{display:flex;gap:7px;flex-wrap:wrap;margin:7px 0}.shared-followup-images a{display:block;width:72px;height:72px;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#f4f7f9}.shared-followup-images img{width:100%;height:100%;object-fit:cover}

/* Customer project tracking */
.order-layout{align-items:start}.order-rows{display:grid;gap:9px;max-height:720px;overflow:auto}.order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff}.order-card.selected{border-color:#90bbdd;box-shadow:0 0 0 2px #1e639e12}.order-card.overdue{border-color:#e8b795;background:#fffaf6}.order-card-main{border:0;background:transparent;text-align:left;padding:0;display:grid;gap:3px;color:var(--ink)}.order-card-main strong{font-size:12px}.order-card-main small,.order-card-main span,.order-card-main em{font-size:10px;color:var(--muted);font-style:normal}.order-card-main em{color:var(--green)}.order-card.overdue .order-card-main em{color:#a74b21}.order-card>select{align-self:start;max-width:130px}.order-card-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:6px;border-top:1px solid var(--line);padding-top:6px}.order-summary{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:18px}.order-summary>div,.linked-doc{padding:11px;border:1px solid var(--line);border-radius:9px;background:#fff}.order-summary small{font-size:10px;color:var(--muted)}.order-summary p{margin:5px 0 0;white-space:pre-wrap;font-size:12px}.order-progress{align-items:start;margin-bottom:18px}.order-progress h3,.order-timeline h3{font-size:13px;margin:0 0 10px}.milestone-list,.linked-docs{display:grid;gap:7px}.milestone{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px}.milestone.done{background:var(--green-soft);color:var(--green)}.milestone small{color:var(--muted);font-size:9px}.linked-doc{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px}.linked-doc span{color:var(--muted);flex:1}.order-timeline{border-top:1px solid var(--line);padding-top:16px}.timeline-list{display:grid;gap:0;margin-top:12px}.timeline-entry{display:grid;grid-template-columns:150px 100px 1fr;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:10px}.timeline-entry>span{color:var(--muted)}.timeline-entry p{margin:0;white-space:pre-wrap}.order-detail .empty{padding:18px}.order-layout .panel{min-width:0}
@media(max-width:900px){.order-summary{grid-template-columns:1fr}.timeline-entry{grid-template-columns:1fr;gap:3px}.order-card{grid-template-columns:1fr}.order-card>select{max-width:none}.order-progress{grid-template-columns:1fr}}

/* Authentication controls */
.order-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.order-filters select{height:34px;min-width:130px;max-width:190px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:0 8px;font-size:10px}.order-customer-group{display:grid;gap:7px;padding:9px;background:#f7fafd;border:1px solid #e4edf6;border-radius:12px}.order-group-head{display:flex;justify-content:space-between;align-items:center;padding:2px 3px 5px;gap:8px}.order-group-head strong{display:block;font-size:12px;color:#245e97}.order-group-head small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.followup-section{border-top:1px solid var(--line);padding-top:18px;margin-bottom:22px}.followup-section h3{font-size:14px;margin:0}.followup-form{padding:14px;background:#f6faf8;border:1px solid #e3edf7;border-radius:10px}.followup-table-wrap{margin-top:16px}.followup-table{min-width:820px}.followup-table td{vertical-align:top;max-width:250px}.followup-table td small{display:block}.followup-notes{white-space:pre-wrap;word-break:break-word;min-width:190px}.followup-image-list{display:flex;flex-wrap:wrap;gap:5px;min-height:42px;align-items:center}.followup-image{position:relative;width:56px;height:56px;border:1px solid #e3ecf5;border-radius:7px;overflow:hidden;background:#f3f8fc}.followup-image a,.followup-image img{display:block;width:100%;height:100%}.followup-image img{object-fit:cover}.followup-image>button{position:absolute;right:1px;top:1px;width:17px;height:17px;line-height:15px;border:0;border-radius:50%;background:#fff;color:#a33927;font-size:13px}.followup-upload{display:inline-block;margin-top:5px;padding:5px 7px;border:1px dashed #a2c8e9;border-radius:6px;color:#1d659f;font-size:9px;cursor:pointer}.followup-upload:hover{background:#eaf3fc}.row-action.danger{color:#a7432f}@media(max-width:900px){.order-filters{width:100%}.order-filters select,.order-filters .search-input{flex:1;max-width:none;min-width:130px}.followup-form{grid-template-columns:1fr 1fr}}@media(max-width:560px){.followup-form{grid-template-columns:1fr}.followup-form .span-2{grid-column:1}}
.password-entry{position:relative;display:block;width:100%}.password-entry>input{width:100%;padding-right:44px!important}.password-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#708397;cursor:pointer}.password-eye:hover,.password-eye.is-visible{color:#1e69a7;background:#eaf3fc}.password-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-forgot{justify-self:end;border:0;background:none;color:#1e69a7;font-size:11px;text-align:right;cursor:pointer;margin-top:-5px}.code-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.code-entry>.btn{height:40px;white-space:nowrap}.auth-card input[type=tel],.auth-card input[inputmode=numeric]{font-family:inherit}@media(max-width:440px){.code-entry{grid-template-columns:1fr}.code-entry>.btn{width:100%}}

/* 贸矩品牌配色：取自用户提供的蓝色标志，阅读区域使用低饱和蓝灰。 */
:root{--ink:#1c3047;--muted:#6b7d91;--paper:#f5f8fc;--line:#dfe8f2;--green:#1e69a7;--green-soft:#e8f3fd;--shadow:0 12px 32px rgba(28,72,116,.08)}
body{background:var(--paper)}
::selection{background:#cde8fb;color:#153d66}
.sidebar{background:#eef4fa}
.brand{gap:11px}
.brand-logo{background:#e9f4fd;border:1px solid #d9eaf8;padding:4px}
.landing-brand b{font-size:17px;letter-spacing:.04em}
.brand b{font-size:16px;letter-spacing:.04em}
.mobile-brand b{font-size:14px;letter-spacing:.04em}
.landing-root{background:linear-gradient(180deg,#f8fbfe 0%,#f4f8fc 100%);color:var(--ink)}
.landing-nav,.landing-proof,.landing-footer{border-color:#dfe8f2}
.landing-hero{position:relative}
.hero-copy h1 em{color:#1e69a7}
.hero-visual{filter:drop-shadow(0 20px 34px rgba(38,104,166,.08))}
.visual-window{border-color:#d8e7f5}
.visual-window:before{background:#e4f3fd}
.visual-body aside strong.visual-brand-icon{width:30px;height:30px;margin-left:4px;background:#e9f4fd;border:1px solid #d8eaf9}
.visual-brand-icon img{display:block;width:24px;height:24px;object-fit:contain}
.btn.primary:hover{background:#175587;border-color:#175587}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.doc-meta input:focus,.search-input:focus,.auth-card input:focus,.inline-form input:focus,.inline-form select:focus{border-color:#75afe0;box-shadow:0 0 0 3px #e2f2ff;outline:none}
button:focus-visible,a:focus-visible{outline:2px solid #4891e0;outline-offset:3px}
.stat.accent,.result-panel{background:#eaf3fc}
.auth-root{background:#f2f7fc}
.auth-card{border-color:#dce8f4;box-shadow:0 24px 80px rgba(32,77,122,.12)}
.order-card.selected{border-color:#8dbce2;box-shadow:0 0 0 2px #e4f1fc}
@media(prefers-reduced-motion:reduce){.tool-card,.toast{transition:none}}
.auth-brand-lockup{display:flex;align-items:center;gap:11px}
.auth-brand-lockup .auth-brand-logo{width:48px;height:48px}
.auth-brand-lockup b{display:block;color:#203952;font-size:17px;letter-spacing:.04em}
.auth-brand-lockup small{display:block;color:#708397;font-size:10px;margin-top:1px}
:root{--muted:#61758a}
.landing-links{color:#52697f}
.landing-brand small,.brand small,.hero-note,.landing-proof span,.landing-footer{color:#61758a}

/* Account settings: keep the common tasks visible and fold the platform tools. */
.account-dialog{width:min(940px,calc(100vw - 24px));max-height:min(88vh,880px);padding:24px 26px;scrollbar-gutter:stable}
.account-dialog>.panel-header{margin-bottom:14px}
.account-dialog>.panel-header p{margin:4px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.account-tabs{position:sticky;top:-24px;z-index:2;display:flex;gap:7px;flex-wrap:wrap;padding:9px 0 12px;margin-bottom:8px;background:#fff;border-bottom:1px solid var(--line)}
.account-tabs button{border:1px solid transparent;border-radius:8px;background:transparent;color:#597087;padding:8px 13px;font-weight:700;font-size:12px}
.account-tabs button:hover{background:#edf5fc}
.account-tabs button[aria-selected="true"]{background:#e8f3fd;border-color:#b9d9f1;color:#145b95}
.account-dialog>.team-panel{border:0;padding:8px 0 16px}
.account-dialog [hidden]{display:none!important}
.account-dialog #adminRows{max-height:210px;overflow:auto;margin:10px 0 16px}
.account-dialog .admin-row{gap:8px}
.account-dialog .admin-row .feedback{flex-basis:100%;margin:0}
.account-fold{border:1px solid var(--line);border-radius:10px;margin:10px 0;padding:0 14px;background:#fff}
.account-fold>summary{list-style:none;cursor:pointer;padding:13px 2px;color:var(--ink);font-weight:750}
.account-fold>summary::-webkit-details-marker{display:none}
.account-fold>summary::after{content:'展开';float:right;color:var(--green);font-size:11px;font-weight:600}
.account-fold[open]>summary{border-bottom:1px solid var(--line)}
.account-fold[open]>summary::after{content:'收起'}
.account-fold>.inline-form{margin:14px 0}
.account-fold>p{margin:12px 0 0}
.account-dialog .inline-form label{min-width:200px}
.account-dialog .inline-form input,.account-dialog .inline-form select{min-width:0}
.account-dialog .feedback{border-radius:8px;padding:10px 12px;margin:8px 0 12px;font-size:12px;line-height:1.5}
.account-dialog .feedback:empty{display:none}
.account-dialog .feedback.success{background:#eaf5ee;border:1px solid #b8dbc5;color:#1d653b}
.account-dialog .feedback.error{background:#fff1ed;border:1px solid #efc4b7;color:#9a3c2b}
.account-dialog .feedback.info{background:#edf5fc;border:1px solid #c6def2;color:#1b6097}
.toast{z-index:1100}
.toast[data-type="error"]{background:#8e302b}
.toast[data-type="success"]{background:#206d4a}
@media(max-width:620px){.account-dialog{padding:16px;max-height:92vh}.account-tabs{top:-16px;gap:4px}.account-tabs button{padding:7px 9px;font-size:11px}.account-dialog .inline-form label{flex-basis:100%;min-width:0}.account-dialog .inline-form button{width:100%}.account-dialog .admin-row b{flex-basis:100%}.account-dialog #adminRows{max-height:260px}}
.staff-account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.staff-account-row>div:first-child{display:grid;gap:4px;min-width:0}
.staff-account-row b{overflow-wrap:anywhere}
.staff-account-row small{color:#64736d}
.staff-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.staff-actions button{border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 10px;color:#344840;cursor:pointer}
.staff-actions button[data-status="deleted"]{color:#a2392d}
.staff-send-email{align-self:center;display:flex!important;align-items:center;gap:8px}
.staff-send-email input{width:auto!important}
.account-dialog #adminPanel .account-fold:has(#adminCreateAccount){display:none}
@media(max-width:620px){.staff-account-row{align-items:flex-start;flex-direction:column}.staff-actions{justify-content:flex-start}}

/* Compact, scannable data lists inspired by the supplied ERP reference. */
.order-workspace{grid-template-columns:minmax(570px,1.35fr) minmax(420px,1fr)}
.order-list-panel{min-width:0}
.order-rows{max-height:calc(100vh - 265px);overflow:auto}
.erp-dense-wrap{border:1px solid var(--line);border-radius:10px;background:#fff}
.erp-dense-table{min-width:0;width:100%;table-layout:auto}
.erp-dense-table thead th{position:sticky;top:0;z-index:1;background:#f4f8fc;color:#5e7185;font-weight:700;border-bottom:1px solid #dce7f1}
.erp-dense-table tbody tr:hover{background:#f7fbfe}
.erp-dense-table tbody tr.selected{background:#eaf4fd}
.erp-dense-table tbody tr.overdue{background:#fff8f1}
.view .erp-dense-table td{padding:8px 9px;vertical-align:middle}
.view .erp-dense-table th{padding:9px 9px}
.erp-dense-table td strong{font-size:12px;color:var(--ink)}
.erp-dense-table td small{display:block;margin-top:2px;line-height:1.4;color:var(--muted)}
.order-dense-table{min-width:1240px;table-layout:auto}
.order-dense-table td{padding:6px 9px!important;font-size:11px;line-height:1.35}
.order-dense-table th{white-space:nowrap}
.order-dense-table th:nth-child(1){min-width:150px}
.order-dense-table th:nth-child(2){min-width:190px}
.order-dense-table th:nth-child(3){min-width:180px}
.order-dense-table th:nth-child(4),.order-dense-table th:nth-child(5),.order-dense-table th:nth-child(8){min-width:110px}
.order-dense-table th:nth-child(6){min-width:142px}
.order-dense-table th:nth-child(7){min-width:180px}
.order-dense-table th:nth-child(9){min-width:72px}
.order-dense-table th:nth-child(10){min-width:92px}
.order-table-link{display:block;width:100%;padding:0;border:0;background:none;text-align:left;color:var(--ink)}
.order-table-link strong{display:block;font-size:12px}
.order-table-link small{color:var(--muted)}
.order-new-for-customer{margin-top:3px;padding:1px 0!important;font-size:10px!important}
.order-stage-select{max-width:118px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:3px 6px;font-size:11px}
.order-next-action{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405c74}
.order-next-action.is-overdue{color:#a54d20;font-weight:700}
.order-next-date{white-space:nowrap}
.order-customer-tree{display:grid;gap:4px;max-height:calc(100vh - 310px);overflow:auto}
.order-tree-item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#40576e;text-align:left;cursor:pointer;font-size:11px}
.order-tree-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-tree-item small{flex:0 0 auto;color:var(--muted);font-size:10px}
.order-tree-item:hover{background:#f3f7fb}
.order-tree-item.active{background:#eaf4fd;color:#215f94;font-weight:700}
.order-priority{display:inline-block;padding:3px 8px;border-radius:12px;background:#f0f3f6;color:#596b7c;font-size:10px;white-space:nowrap}
.priority-high{background:#fff4dc;color:#94610e}.priority-urgent{background:#ffebe8;color:#a44134}
.erp-dense-table td.is-overdue,.order-next-action.is-overdue{color:#aa4e29;font-weight:700}
.order-workspace:not(.detail-mode) .order-detail-panel{display:none}
.order-workspace.detail-mode{grid-template-columns:minmax(0,1fr)}
.order-workspace.detail-mode .order-tree-panel,.order-workspace.detail-mode .order-list-panel{display:none}
.order-workspace.detail-mode .order-detail-panel{display:block}
#orderCustomerFilter{display:none}
.customer-dense-table{min-width:760px}
.customer-dense-table td:first-child{min-width:170px}
.customer-dense-table td:nth-child(3){min-width:190px;overflow-wrap:anywhere}
.customer-note-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-history{margin-top:4px;font-size:10px}
.customer-history>summary{cursor:pointer;color:var(--green);white-space:nowrap}
.customer-history-list{min-width:330px;max-width:520px;padding:6px 0}
.customer-history-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:8px 0;border-bottom:1px solid var(--line)}
.customer-history-order b,.customer-history-order small,.customer-history-order span{display:block}
.customer-history-order small,.customer-history-order span{color:var(--muted);margin-top:3px}
.work-dense-table{min-width:1060px}
.work-dense-table td:first-child{min-width:155px}
.work-dense-table td:nth-child(2){min-width:145px}
.work-dense-table td:nth-child(7){min-width:230px}
.work-status{white-space:nowrap}
.work-status-completed{background:#e9f6ee;color:#276b46}
.work-status-cancelled{background:#f0f2f5;color:#6d7783}
.work-table-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.work-table-actions select{max-width:145px;height:30px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:3px 5px;font-size:10px}
.work-edit-details{position:relative}
.work-edit-details>summary{cursor:pointer;color:var(--green);font-size:11px;white-space:nowrap}
.work-edit-popover{min-width:340px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow)}
.work-edit-popover .form-grid{gap:8px}
.work-edit-popover .form-grid label{font-size:10px}
.work-edit-popover .form-grid input{height:34px;padding:6px 8px;font-size:11px}
.work-event-list{display:grid;gap:4px;margin:9px 0}
.work-note{margin:8px 0;color:var(--muted);font-size:11px}
@media(max-width:1200px){.order-workspace{grid-template-columns:1fr}.order-list-panel{position:static}.order-rows{max-height:460px}.work-edit-popover{min-width:min(340px,calc(100vw - 80px))}}
/* Lightweight ERP views keep the same restrained workspace palette. */
.sidebar{overflow-y:auto}
.erp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.erp-grid .panel{min-width:0}
.erp-order-items{border:1px solid var(--line,#dbe4e8);border-radius:16px;padding:20px;margin:10px 0 22px;background:var(--surface,#f8faf9)}
.erp-order-items .table-wrap,.erp-stocktake .table-wrap{margin:12px 0}
.erp-order-items td small,.erp-history-order small,.erp-work-head small{display:block;color:#70807b;margin-top:4px}
.erp-order-items .erp-totals{text-align:right;font-weight:700;color:#245c4e;margin:6px 0 20px}
.erp-customer-list,.erp-work-list{display:grid;gap:14px}
.erp-customer-card,.erp-work-card,.erp-stocktake{border:1px solid #dbe5e3;border-radius:15px;padding:17px;background:#fff}
.erp-customer-head,.erp-work-head,.erp-list-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.erp-customer-head h3{margin:0 0 5px}.erp-customer-head small,.erp-work-meta,.erp-list-row span{color:#61736f}
.erp-history-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border-top:1px solid #e8eeeb;margin-top:13px;padding-top:13px}
.erp-history-items{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.erp-history-items span{display:inline-block;background:#f1f6f4;border-radius:8px;padding:6px 9px;font-size:12px}
.erp-small-list{margin-top:16px}.erp-small-list .erp-list-row{padding:10px 0;border-bottom:1px solid #e8eeeb}
.erp-positive{color:#236b52;font-weight:700}.erp-negative{color:#b34f43;font-weight:700}
.erp-stocktake{margin-top:14px}.erp-stocktake input{max-width:145px}.erp-stocktake .button-row{justify-content:flex-end}
.erp-bom-line{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:8px;margin:8px 0}.erp-bom-line input,.erp-bom-line select{width:100%}
.erp-work-head b{font-size:17px}.erp-work-meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin:13px 0;font-size:13px}.erp-work-meta small{display:block}
.erp-work-card details{border-top:1px solid #e8eeeb;padding-top:12px}.erp-work-card details summary{cursor:pointer;color:#245c4e;font-weight:600;margin-bottom:12px}.erp-work-card details .btn{margin-top:12px}
.erp-work-card>.button-row{margin-top:12px;align-items:center}.erp-work-card>.button-row select{max-width:180px}
@media(max-width:900px){.erp-grid{grid-template-columns:1fr}.erp-bom-line{grid-template-columns:minmax(0,1fr) 110px auto}}

/* Workspace readability and progressive disclosure */
.view .page-title{align-items:flex-start;margin-bottom:24px}
.view .page-title h1{font-size:28px;line-height:1.25;margin:5px 0 7px;letter-spacing:-.5px}
.view .page-title p{font-size:13px;line-height:1.65;color:var(--muted);max-width:690px;margin:0}
.view .panel{padding:22px;border-radius:15px}
.view .panel h2{font-size:17px;line-height:1.35}
.view .panel h3{font-size:15px;line-height:1.4}
.view .panel-intro{font-size:12px;line-height:1.6}
.view .form-grid{gap:15px 16px}
.view .form-grid label,.view .doc-meta label{font-size:12px;font-weight:600;color:#43566a;line-height:1.45}
.view .form-grid input,.view .form-grid select,.view .form-grid textarea,.view .doc-meta input,.view .search-input{font-size:13px;border-radius:9px;padding:9px 11px}
.view .form-grid input,.view .form-grid select,.view .doc-meta input,.view .search-input{height:40px}
.view .btn{height:39px;font-size:12px;padding:0 15px;border-radius:9px}
.view .panel-header{gap:16px;align-items:flex-start;margin-bottom:17px}
.view .table-wrap th{font-size:11px;padding:11px 10px;color:#617386}
.view .table-wrap td{font-size:12px;line-height:1.5;padding:11px 10px}
.view .table-wrap td strong{font-size:12px}
.view .table-wrap td small{font-size:11px}
.view .row-action{font-size:12px;padding:5px 7px;border-radius:6px}
.view .row-action:hover{background:#eaf3fc}
.view .empty{font-size:13px;line-height:1.6;padding:18px}
.view .notice{font-size:12px;line-height:1.6}
.view .badge{font-size:11px}

/* Compact spreadsheet-like grids for operational lists and editable line items. */
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap{overflow:auto;border:1px solid #d9e3ec;border-radius:8px;background:#fff}
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap table{width:100%;border-collapse:collapse;border-spacing:0;font-variant-numeric:tabular-nums}
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap thead th{position:sticky;top:0;z-index:1;background:#f2f6fa;color:#506276;font-size:11px;font-weight:700;white-space:nowrap;border:1px solid #d9e3ec;padding:7px 9px}
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap tbody td{font-size:12px;line-height:1.4;padding:6px 9px;border:1px solid #e0e7ee;vertical-align:middle}
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap tbody tr:nth-child(even){background:#f9fbfd}
:is(#view-inventory,#view-quote,#view-exchange,#view-products,#view-documents,#view-shipments) .table-wrap tbody tr:hover{background:#eef6fc}
:is(#view-inventory,#view-quote,#view-documents) .table-wrap input,:is(#view-inventory,#view-quote,#view-documents) .table-wrap select{height:30px;padding:4px 7px;border-radius:5px;font-size:12px}
#view-inventory .inventory-balance table,#view-inventory>article:last-child table{min-width:680px}
#view-quote #quoteLines{min-width:650px}
#view-exchange .fx-table{min-width:520px}
#view-products #productRows{min-width:700px}
#view-documents #docLines{min-width:780px}
#view-shipments #shipmentRows{min-width:900px}
#view-shipments .table-wrap td:last-child{min-width:280px}
.erp-stocktake{padding:12px;border-radius:9px;background:#fbfdff}
.erp-stocktake .table-wrap{margin:8px 0}

/* Spreadsheet-like data entry: compact, aligned cells with clear row/column rules. */
:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid{gap:0;border-top:1px solid #dbe4ed;border-left:1px solid #dbe4ed;grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid>label{min-width:0;padding:9px 11px;border-right:1px solid #dbe4ed;border-bottom:1px solid #dbe4ed;background:#fff;gap:5px;font-size:11px;line-height:1.35}
:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid>label:nth-child(4n+1),:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid>label:nth-child(4n+2){background:#fbfcfe}
:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid input,:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid select{height:33px;min-width:0;padding:5px 8px;border-radius:4px;background:#fff;font-size:12px}
:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid textarea{min-height:64px;padding:7px 8px;border-radius:4px;font-size:12px}
.order-editor-body>.form-grid{border-radius:7px;overflow:hidden}
.order-editor-body>.form-grid .span-2{grid-column:1/-1}
.order-editor-body>.form-grid .span-2 textarea{min-height:72px}
.view .form-grid{gap:0;border-top:1px solid #dbe4ed;border-left:1px solid #dbe4ed}
.view .form-grid>label{min-width:0;padding:9px 11px;border-right:1px solid #dbe4ed;border-bottom:1px solid #dbe4ed;background:#fff;gap:5px;font-size:11px;line-height:1.35}
.view .form-grid>label:nth-child(4n+1),.view .form-grid>label:nth-child(4n+2){background:#fbfcfe}
.view .form-grid input,.view .form-grid select{height:33px;min-width:0;padding:5px 8px;border-radius:4px;background:#fff;font-size:12px}
.view .form-grid textarea{min-height:64px;padding:7px 8px;border-radius:4px;font-size:12px}
@media(max-width:740px){:is(.order-editor-body,.customer-editor-body,.disclosure-body,.production-tools,.product-editor-body,.doc-form-section,#view-classification .panel) .form-grid{grid-template-columns:1fr}}
@media(max-width:740px){.view .form-grid{grid-template-columns:1fr}}
.view .erp-customer-card,.view .erp-work-card,.view .erp-stocktake{padding:18px}
.view .erp-customer-head small,.view .erp-work-meta,.view .erp-history-order small{font-size:12px;line-height:1.55}
.view .erp-customer-head h3{font-size:16px}
.view .erp-history-order{padding-top:12px;padding-bottom:12px}
[hidden]{display:none!important}

.order-editor,.customer-editor{margin-bottom:18px}
.order-editor>summary,.customer-editor>summary,.production-tools details>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;list-style:none}
.order-editor>summary::-webkit-details-marker,.customer-editor>summary::-webkit-details-marker,.production-tools details>summary::-webkit-details-marker,.sub-disclosure>summary::-webkit-details-marker{display:none}
.order-editor>summary strong,.customer-editor>summary strong,.production-tools details>summary strong{display:block;font-size:16px;color:var(--ink)}
.order-editor>summary small,.customer-editor>summary small,.production-tools details>summary small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.disclosure-arrow{font-size:21px;color:var(--green);line-height:1;transition:transform .2s}
details[open]>summary .disclosure-arrow{transform:rotate(180deg)}
.order-editor-body,.customer-editor-body,.disclosure-body{border-top:1px solid var(--line);margin-top:17px;padding-top:19px}
.order-editor-body>.button-row,.customer-editor-body>.button-row,.disclosure-body>.button-row{margin-top:18px}
.sub-disclosure{border:1px solid var(--line);border-radius:11px;background:#fff;margin:14px 0;padding:0 15px}
.sub-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;cursor:pointer;list-style:none;color:var(--ink);font-size:13px;font-weight:700}
.sub-disclosure>summary span{font-size:11px;font-weight:400;color:var(--muted);text-align:right}
.sub-disclosure[open]>summary{border-bottom:1px solid var(--line);margin-bottom:15px}
.sub-disclosure>.form-grid,.sub-disclosure>.order-summary,.sub-disclosure>.milestone-list,.sub-disclosure>.timeline-list{padding-bottom:15px}
.sub-disclosure .button-row{padding:0 0 16px}

.order-workspace{display:grid;grid-template-columns:minmax(190px,220px) minmax(0,1fr);align-items:start;gap:12px}
.order-workspace>.panel{min-width:0}
.order-list-panel{position:sticky;top:16px}
.order-list-panel .panel-header{margin-bottom:11px}
.order-filters{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:14px}
.order-filters select,.order-filters .search-input{height:39px;max-width:none;width:100%;font-size:12px}
.order-rows{max-height:calc(100vh - 260px);overflow:auto;gap:10px;padding-right:3px}
.order-customer-group{padding:10px;background:#f8fbfd;border-color:#e5edf3;gap:7px}
.order-group-head{padding:3px 2px 7px}
.order-group-head strong{font-size:13px;color:var(--ink)}
.order-group-head small{font-size:11px}
.order-card{display:block;padding:0;border-radius:9px;overflow:hidden}
.order-card-main{display:block;width:100%;padding:11px 12px}
.order-card-main:hover{background:#f2f8fc}
.order-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.order-card-main strong{font-size:13px;line-height:1.4}
.order-card-stage{flex:0 0 auto;max-width:90px;padding:2px 6px;border-radius:12px;background:#eaf3fc;color:#24618f;font-size:10px;line-height:1.4;text-align:center}
.order-card-main small{display:block;font-size:10px;margin-top:2px}
.order-card-main em{display:block;font-size:11px;line-height:1.45;margin-top:8px;color:#516b72;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-card.selected{border-color:#7bb0d5;background:#f6fbff}
.order-card.selected .order-card-main:hover{background:#f6fbff}
.order-card.overdue .order-card-main em{color:#a75028}
.order-detail-panel>.panel-header{padding-bottom:15px;border-bottom:1px solid var(--line)}
.order-detail-panel .panel-header h2{font-size:19px;overflow-wrap:anywhere}
.order-detail-panel .panel-header p{margin:4px 0 0}
.order-focus{border:1px solid #d6e8ef;border-radius:12px;padding:17px;background:#f5fbfc;margin-bottom:13px}
.order-focus-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px;color:#64798b;font-size:12px;flex-wrap:wrap}
.order-focus-meta label{display:flex;align-items:center;gap:8px;font-size:12px}
.order-focus-meta select{border:1px solid #cbdfe7;background:#fff;color:#235875;border-radius:8px;height:34px;padding:0 9px;font-size:12px;font-weight:700}
.order-focus>small{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;color:#57788a}
.order-focus>p{font-size:17px;font-weight:700;line-height:1.55;margin:5px 0 13px;white-space:pre-wrap;overflow-wrap:anywhere}
.order-focus-actions{display:flex;gap:6px}
.order-focus-actions .row-action{font-size:12px}
.order-info .order-summary{grid-template-columns:1fr 1fr;gap:9px;margin:0}
.order-info .order-summary>div{background:#fbfdff}
.order-info .order-summary>div:first-child{grid-column:1/-1}
.order-summary small{font-size:11px}
.order-summary p{font-size:13px;line-height:1.6}
.followup-section{border-top:0;padding-top:7px;margin-bottom:20px}
.followup-section .panel-header{align-items:center;margin-bottom:11px}
.followup-section h3,.order-docs h3{font-size:16px;margin:0}
.section-count{font-size:11px;color:#356b82;background:#edf7fa;border-radius:14px;padding:5px 10px;white-space:nowrap}
.followup-composer{background:#f8fcfe;margin:0 0 14px}
.followup-form{border:0;background:transparent;padding:0 0 12px}
.followup-table-wrap{margin-top:0}
.followup-table{min-width:680px}
.followup-table th:nth-child(1){width:115px}.followup-table th:nth-child(3){width:120px}.followup-table th:nth-child(4){width:105px}.followup-table th:nth-child(5){width:100px}
.followup-table td{max-width:none}
.followup-notes{min-width:160px;white-space:pre-wrap;overflow-wrap:anywhere}
.followup-price{display:block;color:#226979;font-weight:700;margin-top:8px}
.followup-upload{font-size:11px;margin-top:7px}
.followup-image-list{min-height:24px}
.followup-image{width:44px;height:44px}
.order-docs{border-top:1px solid var(--line);padding-top:18px;margin-bottom:19px}
.order-docs .panel-header{align-items:center}
.linked-doc{font-size:12px;padding:11px}
.linked-doc span{font-size:12px}
.milestone{font-size:12px;padding:10px}
.milestone small{font-size:11px}
.timeline-entry{font-size:12px;grid-template-columns:150px 90px 1fr}
.order-products{margin-top:14px}
.order-products .erp-order-items{border:0;padding:0}
.order-products .erp-order-items .panel-header{margin-bottom:11px}
.customer-list-panel{margin-bottom:16px}
.customer-history{margin-top:13px;border-top:1px solid var(--line);padding-top:11px}
.customer-history>summary{cursor:pointer;list-style:none;color:var(--green);font-size:12px;font-weight:700}
.customer-history>summary::-webkit-details-marker{display:none}
.customer-history[open]>summary{margin-bottom:10px}
.production-list-panel{margin-bottom:16px}
.production-tools{margin-bottom:0}
.production-tools details{align-self:start}
.production-tools .line-top{margin-top:20px}

@media(max-width:900px){.order-workspace{grid-template-columns:1fr}.order-tree-panel{position:static}.order-customer-tree{display:flex;max-height:none;overflow-x:auto;padding-bottom:5px}.order-tree-item{flex:0 0 auto}.order-list-panel{position:static}.order-rows{max-height:none}.order-info .order-summary{grid-template-columns:1fr}.order-info .order-summary>div:first-child{grid-column:auto}}
@media(max-width:740px){.view .page-title h1{font-size:24px}.view .panel{padding:17px}.view .form-grid{grid-template-columns:1fr}.view .form-grid .span-2{grid-column:1}.view .panel-header{flex-wrap:wrap}.order-filters{grid-template-columns:1fr 1fr}.order-rows{max-height:360px}.followup-table{min-width:580px}.production-tools{gap:12px}.sub-disclosure>summary span{display:none}}
@media(max-width:520px){.view .page-title .button-row{width:100%;flex-wrap:wrap}.view .page-title .button-row .btn{flex:1}.order-filters{grid-template-columns:1fr}.followup-table{min-width:0;width:100%}.followup-table thead{display:none}.followup-table tbody{display:grid;gap:10px}.followup-table tr{display:grid;border:1px solid var(--line);border-radius:10px;padding:10px}.followup-table td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;border:0;padding:6px!important;min-width:0}.followup-table td::before{content:attr(data-label);font-size:11px;font-weight:700;color:var(--muted)}.followup-table td.empty{display:block}.followup-table td.empty::before{display:none}.followup-notes{min-width:0}.followup-image-list{grid-column:2}.followup-upload{grid-column:2}.order-focus>p{font-size:15px}}
@media(max-width:620px){.erp-bom-line{grid-template-columns:1fr 1fr}.erp-bom-line select{grid-column:1/-1}.erp-history-order{grid-template-columns:1fr}.erp-history-items{grid-column:1}}

/* Spreadsheet-style customer order register: compact cells and visible columns. */
.order-workspace:not(.detail-mode){grid-template-columns:190px minmax(0,1fr);gap:8px}
.order-workspace:not(.detail-mode)>.panel{padding:12px;border-radius:8px}
.order-tree-panel .panel-header,.order-list-panel .panel-header{margin-bottom:8px}
.order-tree-panel .panel-header h2,.order-list-panel .panel-header h2{font-size:14px}
.order-tree-panel .panel-intro,.order-list-panel .panel-intro{font-size:11px}
.order-customer-tree{gap:1px;max-height:calc(100vh - 250px)}
.order-tree-item{padding:7px 8px;border-radius:4px;font-size:11px}
.order-filters{display:flex;align-items:center;gap:6px;margin:0 0 8px}
.order-filters .search-input{height:32px;max-width:320px;padding:5px 9px;border-radius:4px;font-size:11px}
.order-rows{max-height:calc(100vh - 300px);padding:0;overflow:auto}
.order-dense-table{width:100%;min-width:1020px;table-layout:fixed;border-collapse:collapse;border-spacing:0}
.view .order-list-panel .order-dense-table thead th{position:sticky;top:0;z-index:2;height:34px;padding:5px 7px!important;background:#edf2f7;color:#34485d;border:1px solid #cbd6e0;font-size:11px;font-weight:700;text-align:left;white-space:nowrap}
.view .order-list-panel .order-dense-table tbody td{height:35px;padding:4px 7px!important;border:1px solid #d5dee7;font-size:11px;line-height:1.25;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-dense-table tbody tr:nth-child(even){background:#f8fafc}
.order-dense-table tbody tr:hover{background:#eaf3fb}
.order-dense-table tbody tr.selected{background:#e4f0fb}
.order-dense-table th:nth-child(1){width:9%;min-width:0}
.order-dense-table th:nth-child(2){width:13%;min-width:0}
.order-dense-table th:nth-child(3){width:15%;min-width:0}
.order-dense-table th:nth-child(4),.order-dense-table th:nth-child(5){width:8.5%;min-width:0}
.order-dense-table th:nth-child(6){width:10%;min-width:0}
.order-dense-table th:nth-child(7){width:14.5%;min-width:0}
.order-dense-table th:nth-child(8){width:8.5%;min-width:0}
.order-dense-table th:nth-child(9){width:5%;min-width:0}
.order-dense-table th:nth-child(10){width:8%;min-width:0}
.order-dense-table .order-table-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.order-dense-table .order-table-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.order-stage-select{width:100%;max-width:120px;height:25px;padding:2px 4px;border-radius:3px;font-size:10px}
.order-next-action{max-width:100%;font-size:10px}
.order-priority{padding:2px 5px;border-radius:3px;font-size:10px}
.order-list-panel .erp-dense-wrap{border:0;border-radius:0;overflow:auto}
@media(max-width:900px){.order-workspace:not(.detail-mode){grid-template-columns:1fr}.order-workspace:not(.detail-mode)>.panel{padding:12px}.order-customer-tree{gap:4px}.order-tree-item{padding:6px 8px}}

/* Stock balance stays visible while less frequent stock actions are expandable. */
.inventory-toolbar{display:flex;align-items:end;gap:15px;flex-wrap:wrap;margin-bottom:12px}
.inventory-toolbar label{display:grid;gap:6px;min-width:230px;font-size:12px;font-weight:700;color:#43566a}
.inventory-toolbar select{height:40px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:13px}
.inventory-toolbar span{font-size:12px;color:var(--muted);padding-bottom:10px}
.inventory-balance{margin:17px 0}
.inventory-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
.inventory-actions details{align-self:start;min-width:0}
.inventory-actions details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}
.inventory-actions details>summary::-webkit-details-marker{display:none}
.inventory-actions details>summary strong{display:block;color:var(--ink);font-size:15px}
.inventory-actions details>summary small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px}
.inventory-actions .form-grid{grid-template-columns:1fr}
.inventory-actions .btn{width:100%}
@media(max-width:1050px){.inventory-actions{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.inventory-actions{grid-template-columns:1fr}.inventory-toolbar label{width:100%}.inventory-toolbar span{padding-bottom:0}}

.quote-advanced{margin-top:19px}
.quote-advanced>.form-grid{padding:0 0 17px}
.quote-result{position:sticky;top:16px;align-self:start}
.doc-form-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.doc-form-section:first-of-type{border-top:0;padding-top:0;margin-top:16px}
.doc-form-section h3{font-size:14px;margin:0 0 13px;color:var(--green)}
.doc-form-section .form-grid{margin-bottom:0}
@media(max-width:740px){.quote-result{position:static}}

.product-list-panel{margin-bottom:17px}
.product-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}
.product-editor>summary::-webkit-details-marker{display:none}
.product-editor>summary strong{display:block;font-size:16px;color:var(--ink)}
.product-editor>summary small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.product-editor-body{border-top:1px solid var(--line);margin-top:17px;padding-top:19px}
.product-editor-body>.button-row{margin-top:18px}

/* Navigation and home shortcuts: group the full toolset without hiding any capability. */
.sidebar #nav{display:grid;gap:12px;align-content:start;padding-right:2px}
.sidebar .nav-group{display:grid;gap:2px}
.sidebar .nav-group-label{padding:0 11px 3px;color:#8293a4;font-size:9px;font-weight:750;letter-spacing:.08em}
.sidebar .nav-item{min-height:36px;padding:8px 11px;font-size:11px;border-radius:8px}
.sidebar .nav-item i{font-size:15px;color:#71869a}
.sidebar .nav-item.active{background:#fff;color:#175d96;box-shadow:0 2px 8px rgba(30,76,116,.08)}
.sidebar .nav-item.active i{color:#1e69a7}
.sidebar .nav-group-overview{padding-bottom:7px;border-bottom:1px solid #dce7f1}
.tools-head{margin-top:2px}
.tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tool-card{min-height:50px;grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:1fr;align-items:center;gap:8px;padding:8px 10px;border-radius:9px}
.tool-icon{grid-row:auto;width:29px;height:29px;border-radius:8px;font-size:14px}
.tool-card b{margin:0;font-size:10px;line-height:1.35}
.tool-card small,.tool-card em{display:none}
.tool-card::after{content:'↗';color:#8da0b2;font-size:11px}
@media(max-width:1040px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tool-card{min-height:46px;padding:7px}.tool-card b{font-size:9px}}

/* Supplier collaboration: compact, spreadsheet-like operational tables. */
.supply-card{background:var(--panel,#fff);border:1px solid var(--line,#dce5ef);border-radius:16px;padding:20px;margin:0 0 16px;box-shadow:0 4px 16px rgba(30,55,90,.035)}
.supply-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.supply-card h2{font-size:18px;margin:0 0 5px}.supply-card p{font-size:13px;color:var(--muted,#687a90);margin:0}.supply-workspace-id{display:inline-block;padding:10px 12px;border-radius:8px;background:#f2f6fb;color:#315c9a;word-break:break-all;margin-bottom:14px}.supply-connect-form,.supply-order-tools{display:grid;grid-template-columns:minmax(210px,1fr) minmax(240px,1.5fr) auto;gap:12px;align-items:end;margin:6px 0 16px}.supply-connect-form label,.supply-order-tools label,.supply-inline-label{display:grid;gap:6px;font-size:13px;font-weight:650;color:#45566e}.supply-connect-form input,.supply-connect-form select,.supply-order-tools select,.supply-inline-label select,.supply-order-table select,.supply-note textarea{min-height:40px;border:1px solid #d8e2ee;border-radius:8px;padding:8px 10px;background:white;color:#24364d}.supply-link-list{display:grid;gap:6px}.supply-link-row{display:flex;align-items:center;gap:10px;padding:11px 4px;border-top:1px solid #edf1f6}.supply-link-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#e9f1ff;color:#356dcc;font-weight:700}.supply-link-info{display:grid;gap:3px;min-width:0;flex:1}.supply-link-info small,.supply-order-table td small{color:#718198;font-size:11px}.supply-status{white-space:nowrap;display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2f7;color:#56677d;font-size:12px}.supply-status.active{background:#e7f7ee;color:#17804c}.supply-status.pending{background:#fff4dc;color:#9b6800}.supply-count{font-size:12px;color:#61748c;background:#f1f5fa;padding:5px 9px;border-radius:20px}.supply-inline-label{max-width:420px;margin:0 0 12px}.supply-card .table-wrap{overflow:auto}.supply-card .data-table{min-width:780px;width:100%;border-collapse:collapse;font-size:12px}.supply-card .data-table th,.supply-card .data-table td{border:1px solid #dce5ee;padding:8px 9px;text-align:left;vertical-align:middle}.supply-card .data-table th{background:#f3f7fb;color:#4d6078;white-space:nowrap;font-weight:650}.supply-card .data-table tbody tr:nth-child(even){background:#f9fbfd}.supply-card .data-table input[type=number]{width:84px;min-height:32px;border:1px solid #d8e2ee;border-radius:6px;padding:4px 7px}.supply-card .data-table input:disabled{background:#f2f5f8;color:#95a0ae}.supply-order-tools{grid-template-columns:minmax(220px,1fr) minmax(120px,.4fr);max-width:600px}.supply-note{display:grid;gap:6px;margin:14px 0;font-size:13px;font-weight:650;color:#45566e}.supply-order-table{min-width:1100px!important}.supply-order-item{padding:2px 0;white-space:nowrap}.supply-thumb{width:40px;height:40px;object-fit:cover;border-radius:5px}.supply-card .button-row{align-items:center}.supply-product-select tbody tr:hover,.supply-order-table tbody tr:hover{background:#f1f6ff}.supply-card .empty{padding:18px;color:#7b8ba0;text-align:center}
@media(max-width:720px){.supply-card{padding:14px}.supply-connect-form{grid-template-columns:1fr}.supply-link-row{flex-wrap:wrap}.supply-link-info{min-width:calc(100% - 52px)}}
.supply-create-customer{border-top:1px solid #edf1f6;margin-top:12px;padding-top:12px}.supply-create-customer summary{cursor:pointer;color:#355f9d;font-weight:650}.supply-create-customer p{margin:10px 0}.supply-create-customer .supply-connect-form{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.supply-create-customer .invite-result label{display:inline-grid;gap:4px;margin:6px 10px 6px 0;color:#53647a}.supply-create-customer .invite-result input{max-width:300px;border:1px solid #d8e2ee;padding:8px;border-radius:6px}

/* Sidebar: keep the brand and account anchored while the complete menu scrolls. */
.sidebar{height:100vh;height:100dvh;overflow:hidden;padding:22px 13px 14px}
.sidebar .brand{flex:0 0 auto;padding:0 9px 19px;gap:10px}
.sidebar .brand-logo{width:39px;height:39px;border-radius:11px}
.sidebar .brand b{font-size:15px;line-height:1.25}
.sidebar .brand small{font-size:10px}
.sidebar .nav-label{flex:0 0 auto;margin:0 9px 8px;padding:8px 9px;border:1px solid #dce7f1;border-radius:8px;background:rgba(255,255,255,.48);color:#668098;font-size:10px;font-weight:700;letter-spacing:.02em}
.sidebar #nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c8d7e5 transparent;gap:10px;padding:1px 4px 10px 0}
.sidebar #nav::-webkit-scrollbar{width:5px}
.sidebar #nav::-webkit-scrollbar-thumb{border-radius:8px;background:#c8d7e5}
.sidebar .nav-group{gap:2px}
.sidebar .nav-group-label{display:flex;align-items:center;min-height:23px;padding:0 10px;color:#73879a;font-size:10px;font-weight:700;letter-spacing:.015em}
.sidebar .nav-item{position:relative;width:100%;min-height:36px;padding:6px 9px;gap:9px;border:1px solid transparent;border-radius:8px;color:#465d73;font-size:11px;font-weight:550;line-height:1.3;transition:background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease}
.sidebar .nav-item:hover{background:rgba(255,255,255,.68);color:#214f77}
.sidebar .nav-item i{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:6px;background:#e4edf6;color:#617c96;font-size:14px;line-height:1}
.sidebar .nav-item.active{border-color:#dce9f5;background:#fff;color:#175d96;font-weight:700;box-shadow:0 2px 7px rgba(30,76,116,.07)}
.sidebar .nav-item.active:before{position:absolute;top:7px;bottom:7px;left:-1px;width:3px;border-radius:0 3px 3px 0;background:#287cbb;content:""}
.sidebar .nav-item.active i{background:#e8f3fd;color:#1e69a7}
.sidebar .nav-item:focus-visible{outline:2px solid #4891e0;outline-offset:1px}
.sidebar .nav-group-overview{padding-bottom:8px;border-bottom:1px solid #d8e4ef}
.sidebar .sidebar-foot{flex:0 0 auto;margin-top:8px;padding:11px 6px 0;border-top-color:#d8e4ef}
.sidebar .sidebar-foot>div:nth-child(2){min-width:0;overflow:hidden}
.sidebar .sidebar-foot b,.sidebar .sidebar-foot small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.sidebar .nav-item{transition:none}}

/* Landing page product walkthrough: a lightweight, accessible motion demo. */
.product-demo{position:relative;overflow:hidden;border:1px solid #d8e7f5;border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(38,104,166,.12);transform:rotate(.6deg)}
.demo-chrome{height:43px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #e8eff6;background:#fbfdff;color:#37516a;font-size:10px;font-weight:750}
.demo-brand{display:flex;align-items:center;gap:7px}.demo-brand img{width:20px;height:20px}.demo-live{display:flex;align-items:center;gap:6px;color:#637c91;font-size:9px;font-weight:600}.demo-live i{width:7px;height:7px;border-radius:50%;background:#42a77e;box-shadow:0 0 0 3px #42a77e20}
.demo-layout{min-height:320px;display:grid;grid-template-columns:105px 1fr}.demo-rail{display:flex;flex-direction:column;gap:5px;padding:17px 9px;background:#f3f7fb;border-right:1px solid #e7eef5}.demo-rail b{padding:7px 8px 11px;color:#315f87;font-size:10px}.demo-rail span{padding:8px;border-radius:6px;color:#77889a;font-size:9px}.demo-rail span.active{background:#e5f1fb;color:#1e69a7;font-weight:750}
.demo-stage{min-width:0;padding:20px 18px 14px}.demo-heading{display:flex;align-items:center;justify-content:space-between}.demo-heading small{color:#8494a5;font-size:8px;letter-spacing:.3px}.demo-heading h3{margin:6px 0 15px;color:#233b53;font-size:14px;letter-spacing:-.3px}.demo-avatar{display:grid;place-items:center;width:29px;height:29px;margin-top:-9px;border-radius:50%;background:#e8f3fd;color:#2b73ac;font-size:9px;font-weight:800}.demo-steps{display:flex;align-items:center;gap:7px;margin:0 0 12px}.demo-steps span{padding:5px 7px;border-radius:5px;background:#f1f5f8;color:#738497;font-size:8px;white-space:nowrap;animation:demo-step 9s infinite}.demo-steps>i{height:1px;flex:1;background:#d8e3ec}.demo-steps .step-supply{animation-delay:3s}.demo-steps .step-ship{animation-delay:6s}
.demo-sheet{overflow:hidden;border:1px solid #e1eaf2;border-radius:8px}.demo-sheet-head,.demo-row{display:grid;grid-template-columns:minmax(125px,1.7fr) minmax(80px,1fr) 58px 64px;align-items:center;gap:7px;padding:8px 9px}.demo-sheet-head{background:#f4f8fb;color:#75899a;font-size:8px}.demo-row{min-height:43px;border-top:1px solid #edf2f6;color:#334b62;font-size:9px;animation:demo-row 9s infinite}.demo-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-row>span small{display:block;margin-top:3px;color:#96a3af;font-size:7px}.demo-product-icon{display:inline-grid;place-items:center;float:left;width:23px;height:23px;margin-right:7px;border-radius:5px;background:#e6f0fa;color:#3475ac;font-size:9px}.demo-product-icon.mint{background:#e9f5ef;color:#39906e}.demo-row em{justify-self:start;padding:4px 6px;border-radius:4px;background:#fff4df;color:#a87828;font-size:8px;font-style:normal;white-space:nowrap}.row-two em{background:#e8f3fd;color:#2774ad;animation:demo-status 9s infinite}
.demo-notice{position:relative;display:flex;align-items:center;min-height:50px;margin-top:11px;padding:8px 34px 8px 10px;border:1px solid #e5edf4;border-radius:7px;background:#fbfdff}.demo-notice>span{position:absolute;left:10px;top:50%;transform:translateY(-50%);opacity:0;animation:demo-notice 9s infinite}.demo-notice>span b,.demo-notice>span small{display:block}.demo-notice>span b{color:#31546f;font-size:9px}.demo-notice>span small{margin-top:3px;color:#8293a2;font-size:8px}.demo-notice .notice-supplier{animation-delay:3s}.demo-notice .notice-shipping{animation-delay:6s}.demo-check{position:absolute;right:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e8f5ef;color:#30906b;font-size:12px;animation:demo-check 9s infinite}.demo-caption{display:flex;justify-content:space-between;gap:4px;margin-top:9px;color:#8292a0;font-size:7px}.demo-caption span{animation:demo-caption 9s infinite}.demo-caption span:nth-child(2){animation-delay:3s}.demo-caption span:nth-child(3){animation-delay:6s}
@keyframes demo-step{0%,27%,100%{background:#f1f5f8;color:#738497}8%,20%{background:#e5f2fc;color:#1e69a7}}@keyframes demo-row{0%,27%,100%{background:#fff}8%,20%{background:#f6fbff}}@keyframes demo-status{0%,30%,100%{background:#e8f3fd;color:#2774ad}38%,59%{background:#e9f5ef;color:#25845f}68%,90%{background:#edf0ff;color:#5569b0}}@keyframes demo-notice{0%,2%,28%,100%{opacity:0}7%,22%{opacity:1}}@keyframes demo-check{0%,27%,100%{transform:scale(.85);opacity:.55}8%,20%{transform:scale(1);opacity:1}}@keyframes demo-caption{0%,27%,100%{color:#8292a0;font-weight:500}8%,20%{color:#1e69a7;font-weight:750}}
@media(max-width:680px){.product-demo{transform:none;border-radius:12px}.demo-chrome{height:39px;padding:0 11px}.demo-layout{min-height:285px;grid-template-columns:76px 1fr}.demo-rail{padding:12px 5px}.demo-rail span{padding:7px 5px;font-size:8px}.demo-stage{padding:16px 10px 12px}.demo-heading h3{font-size:12px}.demo-sheet-head,.demo-row{grid-template-columns:minmax(92px,1.4fr) minmax(60px,1fr) 45px 52px;gap:4px;padding:7px 5px;font-size:8px}.demo-sheet-head{font-size:7px}.demo-row em{font-size:7px;padding:4px}.demo-steps{gap:4px}.demo-steps span{padding:5px 4px;font-size:7px}.demo-caption{font-size:6px}}
@media(prefers-reduced-motion:reduce){.demo-steps span,.demo-row,.demo-notice>span,.demo-check,.demo-caption span{animation:none!important}.demo-steps span:first-child{background:#e5f2fc;color:#1e69a7}.demo-notice>span:first-child{opacity:1}.demo-check{opacity:1}}

/* Multi-store marketplace operating dashboard. */
.marketplace-source-note{margin-bottom:14px}.marketplace-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px 16px}.marketplace-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.marketplace-filters label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:650}.marketplace-filters input,.marketplace-filters select{min-height:36px;border:1px solid var(--line);border-radius:8px;padding:6px 9px;background:#fff;color:var(--ink)}.marketplace-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.marketplace-kpis article{min-width:0;display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.marketplace-kpis small{color:var(--muted);font-size:11px}.marketplace-kpis b{color:var(--ink);font-size:17px;line-height:1.35;overflow-wrap:anywhere}.marketplace-kpis span{color:#8694a4;font-size:10px;line-height:1.4}.marketplace-panel,.marketplace-stores-panel{margin-bottom:14px}.marketplace-table{min-width:1250px}.marketplace-table th,.marketplace-table td{white-space:nowrap}.marketplace-table td small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.marketplace-store-list{display:grid}.marketplace-store-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-top:1px solid #edf1f6}.marketplace-store-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#e8f2fb;color:#2b6ea3;font-weight:800}.marketplace-store-row>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.marketplace-store-row small{color:var(--muted);font-size:11px}.marketplace-store-row .row-action{white-space:nowrap}.confirm-dialog .form-grid{margin:16px 0}.confirm-dialog .form-grid label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.confirm-dialog .form-grid input,.confirm-dialog .form-grid select{min-height:40px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:white;color:var(--ink)}
@media(max-width:1100px){.marketplace-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.marketplace-toolbar{align-items:stretch;flex-direction:column}.marketplace-toolbar>.button-row{justify-content:flex-start}.marketplace-filters{display:grid;grid-template-columns:1fr 1fr}.marketplace-filters label:nth-child(3){grid-column:1/-1}.marketplace-filters .btn{grid-column:1/-1}.marketplace-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-kpis article{padding:11px}.marketplace-kpis b{font-size:14px}.marketplace-store-row{flex-wrap:wrap}.marketplace-store-row>span:nth-child(2){min-width:calc(100% - 56px)}}
.marketplace-report-plan{margin:0 0 14px;padding:16px}.report-plan-badge{align-self:center;border-radius:999px;padding:5px 10px;background:#eef2f6;color:#66778a;font-size:11px;font-weight:700;white-space:nowrap}.report-plan-badge.is-ready{background:#e9f5ef;color:#25845f}.report-plan-notice{margin:12px 0}.report-plan-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.report-plan-controls>label:not(.report-plan-switch){display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:650}.report-plan-controls input[type=time],.report-plan-controls select{min-height:38px;min-width:180px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff;color:var(--ink)}.report-plan-switch{display:flex;align-items:center;gap:8px;min-height:38px;color:var(--ink);font-size:12px;font-weight:700}.report-plan-switch input{accent-color:#2879b9;width:16px;height:16px}.report-plan-fields{display:grid;gap:5px;margin-top:15px;padding:12px;border-radius:10px;background:#f5f8fb;color:var(--muted);font-size:11px}.report-plan-fields b{color:var(--ink);font-size:12px}.report-delivery-history{margin-top:12px;color:var(--muted);font-size:11px}.report-delivery-history:empty{display:none}.report-delivery-history ul{margin:6px 0 0;padding-left:18px}.report-delivery-history li{padding:3px 0}
@media(max-width:740px){.report-plan-controls{align-items:stretch;flex-direction:column}.report-plan-controls>label:not(.report-plan-switch),.report-plan-controls input[type=time],.report-plan-controls select{width:100%}.report-plan-controls>.btn{width:100%}}

/* Product images */
#view-products #productRows{min-width:820px}
.product-row-image,.product-row-image-placeholder{width:48px;height:48px;object-fit:cover;border:1px solid var(--line);border-radius:7px;background:#f4f7fa}
.product-row-image-placeholder{display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-size:10px}
.product-image-upload{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.product-image-upload .btn{min-height:32px;padding:6px 10px;font-size:11px}
#productImageHint{font-size:10px;color:var(--muted);font-weight:400}
.product-image-preview{display:flex;align-items:center;gap:10px;margin-top:8px;color:var(--muted);font-size:11px;font-weight:400}
.product-image-preview[hidden]{display:none}
.product-image-preview img{width:64px;height:64px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#f4f7fa}
.workspace-switcher{height:34px;max-width:210px;min-width:132px;padding:0 28px 0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:12px;font-weight:650;box-shadow:0 1px 2px rgba(24,63,102,.03)}.workspace-switcher:focus{outline:2px solid #b9dafa;outline-offset:1px}.workspace-switcher:disabled{opacity:.65;cursor:wait}@media(max-width:700px){.workspace-switcher{max-width:145px;min-width:90px}.top-actions{gap:5px}}
.line-declaration{margin-top:5px;max-width:190px}.line-declaration summary,.supply-history summary,.supply-production summary{font-size:10px;color:var(--muted);cursor:pointer}.line-declaration input{display:block;width:180px;max-width:100%;margin:4px 0;padding:5px 7px;font-size:10px}

.hs-ai-candidate{display:flex;align-items:flex-start;gap:8px;margin:6px 0;font-size:12px;line-height:1.55}.line-ai-result{display:block;color:var(--muted);font-size:11px;line-height:1.45;margin:5px 0}.line-declaration .suggest-line-hs{margin:5px 0}

/* Dashboard summary, compact actionable alerts, and marketplace KPI */
.stats{grid-template-columns:repeat(6,minmax(0,1fr))}
.stat-link{appearance:none;display:block;width:100%;font-family:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.stat-link:hover{border-color:#b8d2e7;box-shadow:0 5px 16px rgba(24,63,102,.1);transform:translateY(-1px)}.stat-link:focus-visible{outline:3px solid #8fc7f2;outline-offset:2px}
.dashboard-alerts{position:sticky;top:0;z-index:8;margin:-18px 0 16px;padding:0;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 5px 18px rgba(27,44,65,.1)}
.dashboard-alerts[hidden],.dashboard-alert-content[hidden]{display:none}
.dashboard-alerts-head{gap:0;margin:0}
.dashboard-alert-toggle{display:flex;flex:1;min-width:0;align-items:center;gap:12px;padding:9px 12px;border:0;background:transparent;color:var(--ink);text-align:left}
.dashboard-alert-toggle>span:first-child{min-width:0;flex:1}
.dashboard-alert-toggle b,.dashboard-alert-toggle small{display:block}
.dashboard-alert-toggle b{font-size:11px}
.dashboard-alert-toggle small{margin-top:2px;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-alert-toggle .alert-count{font-size:9px}
.alert-chevron{color:var(--muted);font-size:14px;transition:transform .18s}
.dashboard-alerts.is-open .alert-chevron{transform:rotate(180deg)}
.dashboard-alert-close{width:34px;height:34px;margin-right:5px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:19px}
.dashboard-alert-close:hover{background:#f1f5f8;color:var(--ink)}
.dashboard-alert-content{padding:0 11px 10px;border-top:1px solid #edf1f4}
.dashboard-alert-list{padding-top:9px}
.dashboard-alert-access{position:relative;height:34px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#536158;font-size:11px;font-weight:650}
.dashboard-alert-access span{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:10px;background:#edf2f6;color:#617589;font-size:9px}
.dashboard-alert-access.has-alerts span{background:#fff0cf;color:#975b08}
@media(max-width:1050px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-alerts{top:0;margin:-14px 0 14px}.dashboard-alert-toggle{gap:7px;padding:8px}.dashboard-alert-toggle small{max-width:45vw}.dashboard-alert-access{padding:0 8px}.search{min-width:34px;width:34px;padding:0;justify-content:center}.search span,.search kbd{display:none}}

/* Contextual help tips for complex forms and workflows */
.context-help{position:relative;z-index:2;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:17px;height:17px;padding:0;border:1px solid #a9bacb;border-radius:50%;background:#fff;color:#597895;font-size:11px;font-weight:750;line-height:1;vertical-align:middle}
.context-help:hover,.context-help:focus-visible,.context-help[aria-expanded=true]{border-color:#367db5;background:#edf6ff;color:#1e639e;outline:none}
.help-popover{display:none;position:absolute;top:calc(100% + 8px);right:-4px;z-index:40;width:min(300px,calc(100vw - 42px));padding:10px 12px;border:1px solid #cfdeeb;border-radius:9px;background:#fff;color:#40546a;box-shadow:0 9px 26px rgba(27,44,65,.17);font-size:11px;font-weight:450;line-height:1.65;text-align:left;white-space:normal}
.help-popover[hidden]{display:none!important}
.help-trigger{position:absolute;inset:0;z-index:1;display:grid;place-items:center;border-radius:inherit;cursor:help}
.context-help.is-hovered .help-popover,.context-help:focus-visible .help-popover,.context-help[aria-expanded=true] .help-popover{display:block}
.help-enabled-heading{display:flex;align-items:center;gap:7px}
.help-enabled-heading>.context-help{margin-left:0}
.help-enabled-block{position:relative}
.help-enabled-block>.context-help{position:absolute;top:8px;right:8px}
.field-label-line{display:flex;align-items:center;gap:5px;min-height:17px}
.field-label-line>.context-help{width:15px;height:15px;font-size:10px}
.field-label-line>.context-help .help-popover{right:-6px}
.form-grid label:has(>.field-label-line),.doc-meta label:has(>.field-label-line),.marketplace-filters label:has(>.field-label-line){position:relative}
@media(max-width:680px){.help-popover{position:fixed;top:auto;right:12px;bottom:18px;width:min(340px,calc(100vw - 24px));font-size:12px;box-shadow:0 10px 35px rgba(27,44,65,.22)}.help-enabled-block>.context-help{right:7px;top:7px}.help-enabled-heading{gap:5px}}
.supply-order-catalog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px;color:#45566e;font-size:13px}.supply-quick-product{margin:0 0 12px;padding:12px 14px;border:1px solid #dce5ee;border-radius:9px;background:#f8fbff}.supply-quick-product summary{cursor:pointer;color:#315f96;font-weight:650}.supply-quick-product>p{margin:7px 0 12px}.supply-quick-product-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px}.supply-quick-product-grid label{display:grid;gap:5px;font-size:12px;font-weight:600;color:#45566e}.supply-quick-product-grid input:not([type=file]){min-height:36px;min-width:0;border:1px solid #d8e2ee;border-radius:7px;padding:7px 9px;background:white;color:#24364d}.supply-quick-product-grid .button-row{grid-column:1/-1}@media(max-width:760px){.supply-quick-product-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}
.supply-order-feedback{margin-top:10px;padding:10px 12px;border-radius:8px;background:#edf7f1;color:#187548;font-size:13px}.supply-order-feedback.error{background:#fff1f0;color:#b42318}
.supply-order-feedback{margin-top:10px;padding:10px 12px;border-radius:8px;background:#edf7f1;color:#187548;font-size:13px}.supply-order-feedback.error{background:#fff1f0;color:#b42318}

/* Landing refresh: ContactOut-inspired clarity, using Maoju's own workflow and brand. */
.landing-root{background:#fff;color:#172b43}
.landing-nav{position:sticky;top:0;z-index:30;height:76px;max-width:1320px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-color:#e6edf4}
.landing-brand{min-width:205px}.landing-brand b{font-size:16px;color:#173452}.landing-brand small{font-size:10px;color:#71869a}
.landing-links{gap:24px;color:#536a80;font-size:12px}.landing-links a{transition:color .16s ease}.landing-links a:hover,.landing-login:hover{color:#1677c8}
.landing-login{color:#38546e}.landing-actions .btn{height:40px;border-radius:9px;font-size:12px}
.landing-main{max-width:1320px}
.landing-hero{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:54px;min-height:610px;padding:70px 0 62px}
.hero-copy{max-width:560px}.hero-copy h1{font-size:clamp(44px,5.2vw,68px);line-height:1.12;letter-spacing:-2.8px;margin:21px 0 20px}.hero-copy h1 em{color:#1676be}.hero-copy>p{font-size:15px;line-height:1.9;max-width:510px;color:#61768a}.landing-eyebrow{font-size:10px;letter-spacing:1.7px;color:#276c9f}.hero-actions{margin-top:29px}.hero-actions .btn{height:48px;padding:0 20px;border-radius:10px;font-size:13px}.hero-actions .btn.primary{box-shadow:0 8px 20px rgba(30,105,167,.18)}.hero-note{margin-top:20px;color:#71869a;font-size:11px;letter-spacing:.02em}
.hero-visual{padding:17px 0 19px 5px;filter:drop-shadow(0 25px 50px rgba(39,91,137,.13))}.product-demo{overflow:hidden;border:1px solid #dce8f2;border-radius:20px;background:#fff;transform:rotate(.25deg)}.demo-chrome{height:48px;padding:0 18px;background:#fbfdff}.demo-live{font-size:10px}.demo-layout{min-height:352px;grid-template-columns:112px 1fr}.demo-rail{padding:18px 10px}.demo-stage{padding:23px 22px 16px}.demo-heading h3{font-size:16px;margin-bottom:18px}.demo-sheet{border-radius:10px}.demo-sheet-head,.demo-row{padding:10px 11px;grid-template-columns:minmax(125px,1.7fr) minmax(95px,1fr) 62px 76px}.demo-row{min-height:50px;font-size:10px}.demo-row>span small{font-size:8px}.demo-notice{min-height:58px;border-radius:9px}.demo-notice>span b{font-size:10px}.demo-notice>span small{font-size:9px}.landing-proof{gap:20px;padding:21px 12px;background:#fbfdff;color:#385b78;font-size:12px}.landing-proof span{color:#71869a}
.landing-daily{margin-top:52px;padding:42px;border-color:#e0e9f2;border-radius:22px;background:linear-gradient(112deg,#f2f8fd 0%,#f8fbfe 62%,#eef6fc 100%)}.daily-copy h2{font-size:34px;letter-spacing:-1.3px}.daily-copy>p{font-size:13px}.daily-preview{border-color:#e2ebf3;border-radius:16px;box-shadow:0 16px 45px rgba(25,71,111,.08)}.workspace-role-grid>article{min-height:68px}.daily-recent>b{font-size:10px}
.landing-section{padding:92px 0}.landing-section-heading h2,.landing-workflow h2,.landing-bottom h2{font-size:34px;letter-spacing:-1.2px}.landing-section-heading>p{font-size:13px;line-height:1.8;color:#647b90}.landing-feature-grid{gap:14px}.landing-feature-grid article{min-height:190px;padding:23px;border-color:#e3ebf3;border-radius:15px;box-shadow:0 2px 8px rgba(30,70,110,.025)}.landing-feature-grid article:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(30,70,110,.09)}.landing-feature-grid h3{font-size:15px}.landing-feature-grid p{font-size:12px;line-height:1.75;color:#61768a}.landing-feature-grid article>small{font-size:10px;color:#71869a}.feature-icon{width:39px;height:39px;border-radius:12px}
.landing-workflow{padding:58px 52px;border:1px solid #dfebf4;border-radius:20px;background:#f1f7fc}.landing-workflow>div>p{font-size:13px;line-height:1.8;color:#61768a}.workflow-steps{gap:12px}.workflow-steps article{padding:17px;border-color:#e0e9f1;border-radius:12px;background:#fff}.workflow-steps strong{font-size:13px}.workflow-steps small{font-size:11px;color:#71869a}
.pricing-section{padding:88px 0 38px}.pricing-heading h2{font-size:34px;letter-spacing:-1.2px}.pricing-heading>p{font-size:13px;line-height:1.8;color:#61768a}.pricing-grid{gap:16px}.price-card{padding:27px;border-color:#e1eaf2;border-radius:16px;box-shadow:0 3px 12px rgba(25,71,111,.035)}.price-card.featured{border-color:#8bbce1;box-shadow:0 16px 40px rgba(30,105,167,.1)}.price-card>span{color:#47647e}.price-card>strong{color:#183651}.price-card ul{font-size:12px;color:#526a80}.price-card .btn{min-height:42px;border-radius:9px}.pricing-disclosure{font-size:11px;line-height:1.7;color:#6e8295}
.landing-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start;padding:72px 0 56px;border-top:1px solid #e7eef5}.landing-faq-heading h2{margin:12px 0;font-size:30px;line-height:1.25;letter-spacing:-1px}.landing-faq-heading>p{max-width:330px;color:#6b8094;font-size:13px;line-height:1.8}.landing-faq-list{display:grid;gap:10px}.landing-faq-list details{padding:0 17px;border:1px solid #e2eaf2;border-radius:12px;background:#fff}.landing-faq-list summary{position:relative;cursor:pointer;list-style:none;padding:17px 28px 17px 0;color:#243f59;font-size:13px;font-weight:750}.landing-faq-list summary::-webkit-details-marker{display:none}.landing-faq-list summary:after{content:'+';position:absolute;right:2px;top:14px;color:#397eae;font-size:19px;font-weight:400}.landing-faq-list details[open] summary:after{content:'−'}.landing-faq-list p{margin:0;padding:0 0 17px;color:#687e92;font-size:12px;line-height:1.8}.landing-bottom{padding:70px 8px 62px}.landing-bottom h2{font-size:28px}.landing-bottom p{font-size:13px;color:#687e92}.landing-bottom>.btn{height:46px;padding:0 21px;border-radius:10px;font-size:13px}.landing-footer{max-width:1320px;padding:21px 28px;color:#71869a}
@media(max-width:900px){.landing-hero{gap:32px;min-height:540px;padding:58px 0}.hero-copy h1{font-size:clamp(42px,5.6vw,56px)}.landing-faq{gap:32px}.landing-section{padding:72px 0}}
@media(max-width:680px){.landing-nav{position:sticky;height:66px;padding:0 16px}.landing-main{padding:0 17px}.landing-hero{grid-template-columns:1fr;gap:21px;min-height:unset;padding:42px 0 36px}.hero-copy h1{font-size:39px;letter-spacing:-1.8px;margin:15px 0}.hero-copy>p{font-size:13px}.hero-actions{flex-wrap:wrap;margin-top:20px}.hero-actions .btn{height:43px;font-size:11px}.hero-note{font-size:10px}.hero-visual{padding:4px 0}.demo-layout{min-height:285px;grid-template-columns:76px 1fr}.demo-stage{padding:16px 10px 12px}.demo-heading h3{font-size:12px}.demo-sheet-head,.demo-row{grid-template-columns:minmax(92px,1.4fr) minmax(60px,1fr) 45px 52px;gap:4px;padding:7px 5px}.demo-row{min-height:41px;font-size:8px}.demo-row em{font-size:7px;padding:4px}.landing-proof{justify-content:flex-start;gap:9px 12px;padding:15px 4px;font-size:10px}.landing-proof span{width:100%;margin:0}.landing-daily{margin:27px 0 12px;padding:23px 17px;border-radius:16px}.daily-copy h2{font-size:25px}.landing-section{padding:61px 0}.landing-section-heading{display:block}.landing-section-heading h2,.landing-workflow h2{font-size:26px}.landing-section-heading>p{margin-top:11px}.landing-feature-grid{grid-template-columns:1fr 1fr;gap:9px}.landing-feature-grid article{min-height:0;padding:15px;border-radius:12px}.landing-feature-grid p{min-height:70px;font-size:10px}.landing-feature-grid h3{font-size:12px}.landing-feature-grid article>small{font-size:9px}.feature-icon{width:34px;height:34px}.landing-workflow{grid-template-columns:1fr;gap:20px;padding:28px 18px;border-radius:15px}.workflow-steps article{padding:13px}.workflow-steps small{font-size:10px}.pricing-section{padding:60px 0 22px}.pricing-heading{display:block}.pricing-heading h2{font-size:26px}.pricing-heading>p{font-size:12px}.pricing-grid{grid-template-columns:1fr;gap:10px}.price-card{padding:21px}.landing-faq{grid-template-columns:1fr;gap:19px;padding:54px 0 38px}.landing-faq-heading h2{font-size:25px}.landing-faq-heading>p{font-size:12px}.landing-faq-list summary{font-size:12px;padding:15px 25px 15px 0}.landing-faq-list p{font-size:11px}.landing-bottom{align-items:flex-start;flex-direction:column;padding:48px 2px}.landing-bottom>div{align-items:flex-start}.landing-bottom h2{font-size:22px}.landing-footer{gap:8px;flex-direction:column;padding:17px}}

/* Homepage capabilities use alternating product-story panels, following the reference video. */
.business-showcase{padding-top:96px;padding-bottom:72px}
.business-showcase>.landing-section-heading{margin-bottom:34px}
.business-showcase>.landing-section-heading h2{font-size:clamp(30px,3.3vw,42px);letter-spacing:-1.5px}
.showcase-row{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:clamp(38px,6vw,86px);align-items:center;padding:52px 0}
.showcase-row+.showcase-row{border-top:1px solid #e9edf0}
.showcase-row.reverse .showcase-visual{order:2}.showcase-row.reverse .showcase-copy{order:1}
.showcase-visual{min-width:0;padding:15px 10px 18px 0}
.showcase-window{overflow:hidden;position:relative;min-height:335px;border:1px solid #dce4e8;border-radius:15px;background:#fff;box-shadow:0 20px 50px rgba(34,61,78,.12);transform:rotate(-.3deg)}
.showcase-row.reverse .showcase-window{transform:rotate(.3deg)}
.showcase-chrome{height:39px;display:flex;align-items:center;gap:6px;padding:0 14px;border-bottom:1px solid #e9edf0;background:#fafbfc;color:#718094;font-size:10px}
.showcase-chrome>i{width:7px;height:7px;border-radius:50%;background:#d6dde2}.showcase-chrome>i:first-child{background:#e7a6a1}.showcase-chrome>i:nth-child(2){background:#e7cf8c}.showcase-chrome>i:nth-child(3){background:#a5c8a7}.showcase-chrome>span{margin-left:9px}.showcase-chrome>b{margin-left:auto;padding:4px 8px;border-radius:20px;background:#edf5fb;color:#3476a8;font-size:9px;font-weight:650}
.mock-content{padding:20px 19px 18px;background:linear-gradient(135deg,#fff 0%,#fbfdff 100%);color:#293e52}.mock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.mock-toolbar>b{font-size:12px}.mock-toolbar>span{color:#718399;font-size:9px}.mock-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mock-kpis>div{min-width:0;padding:10px 9px;border:1px solid #e8edf1;border-radius:8px;background:#fff}.mock-kpis small,.mock-kpis b,.mock-kpis em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mock-kpis small{color:#8190a0;font-size:8px}.mock-kpis b{margin-top:7px;color:#213b52;font-size:13px}.mock-kpis em{margin-top:5px;color:#8b9aa7;font-size:8px;font-style:normal}.mock-kpis .mock-kpi-accent{background:#eef7f3;border-color:#dceee5}.mock-kpis .mock-kpi-accent b{color:#25805c}
.mock-table{margin-top:14px;border:1px solid #e6ebef;border-radius:7px;overflow:hidden}.mock-table>div{display:grid;grid-template-columns:1.5fr .55fr .8fr .55fr;align-items:center;gap:7px;padding:9px 10px;border-top:1px solid #edf0f2;font-size:9px}.mock-table>div>span:first-child{display:flex;align-items:center;gap:6px}.mock-table-head{background:#f4f7f9;color:#7b8b9b;font-size:8px!important;border-top:0!important}.mock-table>div>b{font-size:9px;font-weight:600}.platform-dot{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;font-size:9px;font-style:normal;font-weight:800}.platform-dot.amazon{background:#f7ebdc;color:#a76418}.platform-dot.walmart{background:#e7f1ff;color:#2674c8}
.showcase-copy{padding:12px 0}.showcase-tag{display:inline-flex;padding:7px 11px;border-radius:30px;background:#eaf3f8;color:#2f6d8c;font-size:10px;font-weight:750;letter-spacing:.03em}.showcase-copy h3{margin:19px 0 13px;color:#182f46;font-size:clamp(27px,3.1vw,39px);line-height:1.25;letter-spacing:-1.3px}.showcase-copy>p{max-width:470px;margin:0;color:#63788b;font-size:13px;line-height:1.9}.showcase-copy ul{display:grid;gap:9px;margin:18px 0 4px;padding:0;list-style:none;color:#526a7d;font-size:11px}.showcase-copy li{position:relative;padding-left:19px;line-height:1.6}.showcase-copy li:before{content:'✓';position:absolute;left:0;color:#348c78;font-size:11px;font-weight:800}.showcase-copy .text-link{margin:15px 0 0 -10px;color:#1e6fa9;font-size:12px}
.mock-product{display:grid;gap:15px}.mock-product-card{display:grid;grid-template-columns:37% 1fr;gap:14px;padding:12px;border:1px solid #e8edf1;border-radius:10px;background:#fff}.mock-product-photo{position:relative;min-height:142px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 60% 35%,#dce9ed 0 16%,transparent 17%),linear-gradient(145deg,#eff2ed,#e4e8e4 55%,#ccd7d5)}.mock-product-photo>span{color:#6f858a;font-size:13px;font-weight:800;letter-spacing:2px;text-align:center;line-height:1.5}.mock-product-photo>i{position:absolute;left:7px;bottom:7px;padding:4px 6px;border-radius:4px;background:#ffffffdd;color:#536b77;font-size:8px;font-style:normal}.mock-product-info{display:flex;flex-direction:column;gap:9px;padding:5px 0}.mock-product-info small{color:#39816f;font-size:8px}.mock-product-info>b{color:#263d52;font-size:13px}.mock-product-info>span{color:#748597;font-size:9px}.mock-costs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mock-costs>div{display:flex;justify-content:space-between;align-items:center;gap:4px;padding:10px;border:1px solid #e8edf1;border-radius:7px;color:#778899;font-size:8px}.mock-costs b{color:#314c63;font-size:10px}.mock-costs .mock-cost-total{background:#f0f7f4;border-color:#dcebe4}.mock-costs .mock-cost-total b{color:#25805c}.mock-chip-row{display:flex;flex-wrap:wrap;gap:6px}.mock-chip-row span{padding:5px 8px;border:1px solid #e5eaee;border-radius:20px;color:#60768a;font-size:8px}
.mock-order-steps{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:23px 0 17px}.mock-order-steps>span{display:flex;align-items:center;gap:6px;color:#95a1ab;font-size:8px;white-space:nowrap}.mock-order-steps i{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#edf1f3;color:#7b8b99;font-size:9px;font-style:normal}.mock-order-steps .complete{color:#418574}.mock-order-steps .complete i{background:#e3f2ed;color:#32816f}.mock-order-steps .active{color:#246ca2;font-weight:750}.mock-order-steps .active i{background:#e7f1f9;color:#246ca2}.mock-order-line{display:grid;grid-template-columns:1.4fr .65fr .9fr;gap:10px;padding:13px 11px;border:1px solid #e6edf1;border-radius:8px;background:#fff}.mock-order-line>div{display:grid;gap:7px}.mock-order-line small,.mock-message>i{color:#8795a2;font-size:8px;font-style:normal}.mock-order-line b{color:#344d61;font-size:9px}.mock-order-line .mock-status{color:#a46e2d}.mock-message{display:grid;grid-template-columns:70px 1fr;gap:6px 10px;margin-top:10px;padding:11px;border-radius:8px;background:#f4f8fb;color:#52697e;font-size:9px}.mock-message small{grid-column:2;color:#96a2ac;font-size:8px}
.mock-state{padding:5px 8px;border-radius:20px;background:#fff4dd;color:#9b7029!important}.mock-parties{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:8px;padding:14px 12px;border:1px solid #e6edf1;border-radius:9px;background:#fff}.mock-parties>div{display:grid;gap:7px}.mock-parties small{color:#8897a3;font-size:8px}.mock-parties b{font-size:10px;color:#314a60}.mock-parties span{font-size:8px;color:#7f8e9b}.mock-parties>i{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eaf4f2;color:#31806f;font-size:15px;font-style:normal}.mock-supply-row{display:grid;grid-template-columns:1fr auto auto;gap:15px;align-items:center;margin-top:10px;padding:12px;border:1px solid #e7edf1;border-radius:8px;background:#fbfcfd;font-size:9px;color:#53697c}.mock-supply-row>b{font-size:9px}.mock-supply-row>strong{color:#294b66;font-size:10px}.mock-supply-track{display:flex;align-items:center;gap:7px;margin:18px 2px 12px;color:#8493a0;font-size:8px}.mock-supply-track>i{height:1px;flex:1;background:#dce4e9}.mock-supply-track .track-on{color:#27806f;font-weight:700}.mock-note{padding:8px 10px;border-radius:6px;background:#f6f8fa;color:#798995;font-size:8px}
.mock-fulfillment-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:10px}.mock-stock,.mock-production{padding:13px;border:1px solid #e6edf1;border-radius:9px;background:#fff}.mock-stock>small,.mock-production>small{display:block;margin-bottom:11px;color:#788b9a;font-size:8px}.mock-stock>div:not(.mock-stock-bar){display:flex;justify-content:space-between;gap:7px;padding:7px 0;border-top:1px solid #eff2f4;color:#788b9a;font-size:8px}.mock-stock>div b{color:#344c60;font-size:9px}.mock-stock-bar{height:5px;margin-top:8px;border-radius:6px;background:#edf1f3}.mock-stock-bar i{display:block;width:68%;height:100%;border-radius:6px;background:#72b29a}.mock-stock>em{display:block;margin-top:8px;color:#94a0a9;font-size:7px;font-style:normal}.mock-production>b{display:block;color:#344b60;font-size:10px}.production-progress{height:7px;margin:17px 0 6px;border-radius:8px;background:#edf1f3}.production-progress i{display:block;width:65%;height:100%;border-radius:8px;background:linear-gradient(90deg,#54a88b,#83c5a9)}.mock-production>span{display:flex;justify-content:space-between;color:#778a99;font-size:8px}.mock-production>span b{color:#398571}.production-stages{display:flex;justify-content:space-between;gap:3px;margin-top:15px}.production-stages i{color:#84939e;font-size:7px;font-style:normal}.production-stages i:first-child{color:#398571}
.mock-docs{display:grid;gap:8px}.mock-doc-card{display:grid;grid-template-columns:35px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e6edf1;border-radius:8px;background:#fff}.mock-doc-card>i{width:32px;height:34px;display:grid;place-items:center;border-radius:6px;background:#fff0ed;color:#c56656;font-size:8px;font-style:normal;font-weight:800}.mock-doc-card>span{display:grid;gap:4px}.mock-doc-card>span b{color:#344b60;font-size:9px}.mock-doc-card>span small{color:#8896a2;font-size:8px}.doc-check{color:#348471;font-size:13px}.doc-review{padding:4px 6px;border-radius:12px;background:#fff4df;color:#9b742c;font-size:8px;font-weight:650}.mock-doc-summary{display:flex;align-items:center;gap:7px;margin-top:12px;flex-wrap:wrap}.mock-doc-summary>span{padding:6px 8px;border:1px solid #e8edf1;border-radius:6px;color:#697f91;font-size:8px}.mock-doc-summary>b{margin-left:auto;color:#697f91;font-size:8px}
@media(max-width:900px){.showcase-row{grid-template-columns:minmax(0,1fr) minmax(270px,.88fr);gap:28px;padding:39px 0}.showcase-window{min-height:310px}.mock-content{padding:16px 13px}.showcase-copy h3{font-size:30px}.mock-kpis{gap:5px}.mock-kpis>div{padding:8px 6px}.mock-kpis b{font-size:11px}}
@media(max-width:680px){.business-showcase{padding:58px 0 38px}.business-showcase>.landing-section-heading{margin-bottom:18px}.business-showcase>.landing-section-heading h2{font-size:27px}.showcase-row{grid-template-columns:1fr;gap:10px;padding:31px 0}.showcase-row.reverse .showcase-visual,.showcase-row.reverse .showcase-copy{order:initial}.showcase-visual{padding:4px 2px 6px}.showcase-window,.showcase-row.reverse .showcase-window{min-height:285px;transform:none;border-radius:12px}.showcase-chrome{height:34px;padding:0 10px;font-size:8px}.showcase-chrome>b{font-size:7px}.mock-content{padding:14px 10px}.mock-toolbar>b{font-size:10px}.mock-toolbar>span{font-size:8px}.mock-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.mock-kpis>div{padding:8px}.mock-kpis b{font-size:12px}.mock-table>div{padding:8px 7px;font-size:8px}.mock-table>div>b{font-size:8px}.showcase-copy{padding:7px 1px}.showcase-tag{font-size:9px}.showcase-copy h3{font-size:27px;line-height:1.3;margin:13px 0 9px}.showcase-copy>p{font-size:12px;line-height:1.8}.showcase-copy ul{gap:7px;margin:13px 0 0;font-size:10px}.showcase-copy .text-link{margin-top:10px}.mock-product-card{grid-template-columns:35% 1fr;gap:9px;padding:9px}.mock-product-photo{min-height:124px}.mock-product-photo>span{font-size:10px}.mock-product-info{gap:7px}.mock-product-info>b{font-size:10px}.mock-product-info>span{font-size:8px}.mock-costs>div{display:grid;gap:5px;padding:7px 6px}.mock-costs b{font-size:9px}.mock-chip-row span{font-size:7px}.mock-order-steps{gap:2px;margin:16px 0 12px}.mock-order-steps>span{gap:3px;font-size:7px}.mock-order-steps i{width:18px;height:18px;font-size:8px}.mock-order-line{gap:6px;padding:9px 7px}.mock-order-line b{font-size:8px}.mock-message{grid-template-columns:58px 1fr;font-size:8px}.mock-parties{gap:4px;padding:11px 8px}.mock-parties b{font-size:9px}.mock-parties span{font-size:7px}.mock-supply-row{grid-template-columns:1fr auto;gap:7px;padding:9px 7px;font-size:8px}.mock-supply-row>strong{grid-column:2}.mock-supply-track{gap:4px;font-size:7px}.mock-fulfillment-grid{grid-template-columns:1fr 1fr;gap:6px}.mock-stock,.mock-production{padding:9px 7px}.mock-stock>small,.mock-production>small{font-size:7px}.mock-stock>div:not(.mock-stock-bar){font-size:7px}.mock-stock>div b{font-size:8px}.mock-production>b{font-size:9px}.production-stages i{font-size:6px}.mock-doc-summary>b{margin-left:0}.mock-doc-card{grid-template-columns:29px 1fr auto;gap:7px;padding:8px}.mock-doc-card>i{width:27px;height:29px;font-size:7px}.mock-doc-card>span b{font-size:8px}.mock-doc-card>span small{font-size:7px}}

/* Product tours use small, code-native motion instead of a heavyweight background video. */
.showcase-window:before{content:"";position:absolute;z-index:2;top:39px;left:0;width:100%;height:2px;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#2b85bc,#73c5a5);pointer-events:none}
.showcase-row.is-playing .showcase-window:before{animation:showcase-progress 8s linear infinite}
.showcase-demo-label{display:inline-flex;align-items:center;gap:5px}
.showcase-demo-label:before{content:"";width:5px;height:5px;border-radius:50%;background:#48a985}
.showcase-motion-control{width:24px;height:23px;display:grid;place-items:center;flex:none;padding:0;border:1px solid #dce7ed;border-radius:6px;background:#fff;color:#537085;font-family:inherit;font-size:10px;font-weight:700;line-height:1;cursor:pointer}
.showcase-motion-control:hover,.showcase-motion-control:focus-visible{border-color:#83b8d6;background:#f1f8fc;color:#216a9f;outline:none}
.showcase-row.is-playing .mock-kpi-accent{animation:demo-kpi-glow 7s ease-in-out infinite}
.showcase-row.is-playing .mock-table>div:nth-child(2){animation:demo-row-focus 7s ease-in-out infinite}
.showcase-row.is-playing .mock-table>div:nth-child(3){animation:demo-row-focus 7s ease-in-out 3.5s infinite}
.showcase-row.is-playing .mock-product-photo:after{content:"";position:absolute;inset:-20% auto -20% -60%;width:38%;transform:skewX(-18deg);background:linear-gradient(90deg,transparent,#ffffff9c,transparent);pointer-events:none;animation:demo-product-sheen 5s ease-in-out infinite}
.showcase-row.is-playing .mock-cost-total{animation:demo-kpi-glow 6s ease-in-out 2s infinite}
.showcase-row.is-playing .mock-order-steps .active i{animation:demo-step-pulse 2.4s ease-out infinite}
.showcase-row.is-playing .mock-message{animation:demo-note-focus 7s ease-in-out infinite}
.showcase-row.is-playing .mock-supply-row{animation:demo-row-focus 7s ease-in-out infinite}
.showcase-row.is-playing .mock-supply-track .track-on{animation:demo-status 3s ease-in-out infinite}
.showcase-row.is-playing .mock-stock-bar i{animation:demo-stock-fill 7s ease-in-out infinite alternate}
.showcase-row.is-playing .production-progress i{animation:demo-production-fill 7s ease-in-out infinite alternate}
.showcase-row.is-playing .doc-check{animation:demo-check 3.2s ease-in-out infinite}
.showcase-row.is-playing .doc-review{animation:demo-note-focus 7s ease-in-out 2s infinite}
@keyframes showcase-progress{to{transform:scaleX(1)}}
@keyframes demo-kpi-glow{0%,100%{box-shadow:0 0 0 rgba(54,150,112,0);border-color:#dceee5}45%{box-shadow:0 5px 18px rgba(54,150,112,.14);border-color:#9fd2b9}}
@keyframes demo-row-focus{0%,100%{background-color:transparent}35%,62%{background-color:#edf7f2}}
@keyframes demo-product-sheen{0%,20%{left:-60%}65%,100%{left:130%}}
@keyframes demo-step-pulse{0%{box-shadow:0 0 0 0 rgba(36,108,162,.24)}75%,100%{box-shadow:0 0 0 9px rgba(36,108,162,0)}}
@keyframes demo-note-focus{0%,100%{box-shadow:0 0 0 rgba(51,123,102,0);background-color:#f4f8fb}45%,65%{box-shadow:0 4px 16px rgba(51,123,102,.1);background-color:#eef7f3}}
@keyframes demo-status{0%,100%{opacity:.65}50%{opacity:1}}
@keyframes demo-stock-fill{from{width:55%}to{width:76%}}
@keyframes demo-production-fill{from{width:45%}to{width:78%}}
@keyframes demo-check{0%,100%{transform:scale(.92);opacity:.65}50%{transform:scale(1.08);opacity:1}}
@media(max-width:680px){.showcase-window:before{top:34px}.showcase-chrome>b{font-size:7px}.showcase-motion-control{width:22px;height:21px;font-size:9px}}

/* Cross-platform product studio */
.marketplace-tool-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0;padding:7px;border:1px solid var(--line);border-radius:12px;background:#f8fbfd}
.marketplace-tool-tabs button{min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.marketplace-tool-tabs button:hover{background:#fff;color:var(--ink)}
.marketplace-tool-tabs button.active{border-color:#cfe1ed;background:#fff;color:#216fa8;box-shadow:0 2px 7px #183b5910}
.marketplace-tool-pane{display:none;gap:14px}.marketplace-tool-pane.active{display:grid}
.tool-center-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:4px 0}.tool-center-heading h2{margin:0 0 5px}.tool-center-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.tool-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tool-center-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto 16px;align-items:center;gap:12px;min-height:82px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}
.tool-center-card:hover:not(.planned){border-color:#98bdd7;box-shadow:0 5px 16px #173c5910;transform:translateY(-1px)}.tool-center-card.planned{cursor:default;background:#f9fbfd;color:#718397}
.tool-center-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf5fb;color:#327cb2;font-size:18px;font-weight:800}.tool-center-icon.violet{background:#f2efff;color:#7661c9}.tool-center-icon.green{background:#eaf6f0;color:#3c8a67}.tool-center-icon.orange{background:#fff3e6;color:#bd7d34}.tool-center-icon.pink{background:#fff0f2;color:#c26174}
.tool-center-copy{display:grid;gap:4px;min-width:0}.tool-center-copy b{font-size:13px}.tool-center-copy small{color:var(--muted);font-size:11px;line-height:1.5}.tool-center-state{padding:5px 8px;border-radius:999px;background:#f1f4f7;color:#748496;font-size:10px;font-weight:750;white-space:nowrap}.tool-center-state.ready{background:#e8f5ee;color:#32825f}.tool-center-state.planned-state{background:#f1f3f6;color:#728196}.tool-center-arrow{color:#6e91aa;font-size:17px}.tool-region-panel{margin-top:2px}
.marketplace-pool-summary{display:grid;gap:0}.marketplace-pool-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #edf1f6;color:var(--muted);font-size:11px}.marketplace-pool-item>span:first-child{display:grid;gap:3px;flex:1}.marketplace-pool-item strong{color:var(--ink)}.marketplace-pool-item small{color:var(--muted)}.marketplace-pool-item img{width:42px;height:42px;object-fit:cover;border-radius:7px;border:1px solid var(--line)}
.status-pill{display:inline-flex;align-items:center;max-width:100%;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.status-pill.success{background:#e8f5ee;color:#32825f}.status-pill.pending{background:#fff4df;color:#a47722}
.listing-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.listing-editor>label{display:grid;align-content:start;gap:6px;color:var(--muted);font-size:12px;font-weight:650}.listing-editor>label.span-2{grid-column:1/-1}.listing-editor textarea{min-height:76px;resize:vertical}.listing-bullet-list{display:grid;gap:9px}.listing-bullet-list label{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:7px;color:var(--muted);font-size:11px;font-weight:700}.listing-bullet-list textarea{min-height:58px}
.listing-draft-history{display:grid;gap:7px}.listing-draft-history>button{display:grid;gap:4px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;color:var(--ink);cursor:pointer}.listing-draft-history>button:hover{border-color:#91bed9;background:#f7fbfe}.listing-draft-history small{color:var(--muted);font-size:10px}
.diagnosis-score{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 15px;border:1px solid #d9e8f0;border-radius:10px;background:#f4f9fc}.diagnosis-score>b{font-size:24px;color:#216fa8}.diagnosis-score>span{font-size:12px;font-weight:750;color:var(--ink)}.diagnosis-score>small{flex-basis:100%;color:var(--muted);font-size:10px}
.check-row{display:grid;grid-template-columns:minmax(130px,.32fr) minmax(0,1fr);gap:12px;padding:10px 12px;border-bottom:1px solid #edf1f6;font-size:11px}.check-row>span:first-child{font-weight:700}.check-row>span:last-child{color:var(--muted);line-height:1.65}.check-row.ok>span:first-child{color:#318260}.check-row.diff>span:first-child{color:#aa7421}
.compliance-checklist{display:grid;gap:8px}.compliance-item{display:grid;grid-template-columns:19px minmax(0,1fr) minmax(125px,170px);align-items:center;gap:9px;padding:10px 11px;border:1px solid #e8edf2;border-radius:8px;background:#fff;color:var(--ink);font-size:11px}.compliance-item input{width:16px;height:16px}.compliance-item select{min-height:32px;padding:4px 8px}
.generated-image-preview{margin-top:13px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.generated-image-preview img{display:block;max-width:min(100%,640px);max-height:640px;object-fit:contain;margin:auto;border-radius:8px;background:#fff}.generated-image-preview p{margin:9px 0 0;color:var(--muted);font-size:11px;text-align:center}
.marketplace-tool-pane>.panel>.panel-header{align-items:flex-start}.marketplace-tool-pane .button-row{align-items:center;flex-wrap:wrap}.marketplace-tool-pane .panel-intro{line-height:1.7}.marketplace-tool-pane .status-pill{margin-left:auto}
@media(max-width:1040px){.tool-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.listing-editor{grid-template-columns:1fr}.listing-editor>label.span-2{grid-column:auto}.check-row{grid-template-columns:1fr;gap:4px}.compliance-item{grid-template-columns:18px minmax(0,1fr)}.compliance-item select{grid-column:2}.marketplace-tool-tabs{overflow-x:auto;flex-wrap:nowrap}.marketplace-tool-tabs button{flex:none}.tool-center-grid{grid-template-columns:1fr}.tool-center-card{grid-template-columns:34px minmax(0,1fr) 15px}.tool-center-state{grid-column:2;justify-self:start}.tool-center-arrow{grid-column:3;grid-row:1/3}.tool-center-heading{display:block}.tool-center-heading .report-plan-badge{display:inline-flex;margin-top:8px}}

/* Homepage introduction video */
.hero-visual{padding:12px 0 14px 5px;filter:none}
.hero-film{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:16/9;width:100%;border:1px solid #d7e2ea;border-radius:22px;background:#15283a;box-shadow:0 26px 70px rgba(25,56,82,.2)}
.hero-film-video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;background:#15283a}
.hero-film:after{content:"";position:absolute;z-index:1;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(12,27,41,.68));pointer-events:none}
.hero-film-caption{position:absolute;z-index:2;left:22px;bottom:20px;display:grid;gap:5px;color:white;text-shadow:0 1px 8px rgba(0,0,0,.4);pointer-events:none}
.hero-film-caption span{font-size:13px;font-weight:750;letter-spacing:.02em}
.hero-film-caption small{color:rgba(255,255,255,.82);font-size:10px}
.hero-video-control{position:absolute;z-index:3;top:13px;right:13px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(12,27,41,.45);color:white;font-family:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer;backdrop-filter:blur(8px)}
.hero-video-control:hover,.hero-video-control:focus-visible{background:rgba(12,27,41,.72);outline:2px solid white;outline-offset:2px}
@media(max-width:680px){.hero-visual{padding:3px 0 5px;filter:none}.hero-film{border-radius:15px}.hero-film-caption{left:14px;bottom:13px;gap:3px}.hero-film-caption span{font-size:10px}.hero-film-caption small{font-size:8px}.hero-video-control{top:9px;right:9px;width:29px;height:29px;font-size:10px}}

/* Full-bleed homepage film */
.landing-hero{position:relative;display:block;width:100vw;height:calc(100vh - 76px);height:calc(100svh - 76px);min-height:0;margin-left:calc(50% - 50vw);padding:0;overflow:hidden;background:#102337}
.hero-film{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:#102337}
.hero-film-video{object-fit:cover;object-position:center 43%}
.hero-film:after{inset:0;background:linear-gradient(180deg,rgba(10,31,51,.14) 0%,transparent 25%,transparent 51%,rgba(8,25,42,.08) 68%,rgba(8,25,42,.66) 100%),linear-gradient(90deg,rgba(10,33,54,.22),transparent 45%,rgba(10,33,54,.08));pointer-events:none}
.hero-film-overlay{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(22px,4vw,56px);pointer-events:none}
.hero-film-brand{display:flex;align-items:center;gap:11px;align-self:flex-start;padding:9px 14px 9px 9px;border:1px solid rgba(255,255,255,.35);border-radius:15px;background:rgba(15,37,56,.26);color:#fff;box-shadow:0 8px 30px rgba(7,27,45,.12);backdrop-filter:blur(12px);text-shadow:0 1px 8px rgba(0,0,0,.25)}
.hero-film-brand img{display:block;width:37px;height:37px;padding:4px;border-radius:11px;background:rgba(255,255,255,.94)}
.hero-film-brand>span{display:grid;gap:1px;font-size:15px;font-weight:800;letter-spacing:.06em}.hero-film-brand small{font-size:10px;font-weight:550;letter-spacing:.02em;color:rgba(255,255,255,.82)}
.hero-film-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero-film-caption{position:static;display:flex;align-items:center;gap:11px;font-size:clamp(15px,2vw,22px);font-weight:750;letter-spacing:.08em}.hero-film-caption i{font-style:normal;color:#8bd0ff;font-size:.8em}
.hero-film-explore{display:inline-flex;align-items:center;gap:11px;padding:11px 15px;border:1px solid rgba(255,255,255,.46);border-radius:999px;background:rgba(15,37,56,.3);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(12px);pointer-events:auto;transition:background .18s,transform .18s}.hero-film-explore:hover{background:rgba(15,37,56,.56);transform:translateY(-2px)}.hero-film-explore b{font-size:17px;font-weight:500;line-height:1}
.hero-film-controls{position:absolute;z-index:3;top:clamp(22px,4vw,56px);right:clamp(22px,4vw,56px);display:flex;align-items:center;gap:9px}
.hero-video-audio-control,.hero-video-control{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(13,34,52,.38);color:#fff;font-family:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer;backdrop-filter:blur(12px);transition:background .18s,transform .18s}
.hero-video-control{position:static;z-index:auto;width:40px;padding:0;font-size:13px}.hero-video-audio-control:hover,.hero-video-control:hover,.hero-video-audio-control:focus-visible,.hero-video-control:focus-visible{background:rgba(13,34,52,.68);transform:translateY(-1px);outline:2px solid rgba(255,255,255,.88);outline-offset:2px}
@media(max-width:680px){.landing-hero{height:calc(100vh - 66px);height:calc(100svh - 66px);margin-left:calc(50% - 50vw)}.hero-film-video{object-position:center 42%}.hero-film-overlay{padding:18px}.hero-film-brand{gap:8px;padding:7px 11px 7px 7px;border-radius:12px}.hero-film-brand img{width:32px;height:32px;border-radius:9px}.hero-film-brand>span{font-size:13px}.hero-film-brand small{font-size:9px}.hero-film-bottom{align-items:flex-end}.hero-film-caption{gap:7px;font-size:14px}.hero-film-explore{gap:7px;padding:9px 11px;font-size:10px}.hero-film-controls{top:18px;right:18px;gap:6px}.hero-video-audio-control,.hero-video-control{height:34px;font-size:10px}.hero-video-audio-control{padding:0 10px}.hero-video-control{width:34px;padding:0}}
@media(max-width:400px){.hero-film-brand small{display:none}.hero-film-caption{font-size:12px}.hero-video-audio-control span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hero-film-explore,.hero-video-audio-control,.hero-video-control{transition:none}}

/* Cinematic landing-page continuity: navigation, film transition, and workflow showcases */
.landing-root{overflow-x:clip;background:linear-gradient(180deg,#f6faff 0%,#f3f8fd 48%,#f8fbfe 100%)}
.landing-nav{position:sticky;top:0;z-index:30;width:100%;max-width:none;height:82px;margin:0;padding:0 max(28px,calc((100vw - 1320px)/2));gap:clamp(20px,3vw,44px);border:0;border-bottom:1px solid rgba(167,205,234,.22);background:linear-gradient(105deg,rgba(12,35,56,.97),rgba(18,53,79,.96) 52%,rgba(20,67,99,.95));box-shadow:0 8px 28px rgba(11,36,58,.16);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.landing-brand{min-width:210px;gap:12px;color:#f5faff}.landing-brand .brand-logo{width:46px;height:46px;padding:5px;border:1px solid rgba(255,255,255,.23);border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 4px 14px rgba(4,20,35,.18)}.landing-brand b{font-size:19px;letter-spacing:.02em;color:#fff}.landing-brand small{font-size:12px;color:#c5d9e9}
.landing-links{gap:clamp(20px,2.3vw,34px);font-size:15px;font-weight:650;color:#d7e5f1}.landing-links a{position:relative;padding:9px 0;transition:color .16s ease}.landing-links a:after{content:"";position:absolute;right:50%;bottom:1px;left:50%;height:2px;border-radius:2px;background:#72c1f4;transition:left .16s ease,right .16s ease}.landing-links a:hover,.landing-links a:focus-visible,.landing-login:hover{color:#fff}.landing-links a:hover:after,.landing-links a:focus-visible:after{right:0;left:0}.landing-login{color:#e3edf6;font-size:14px;padding:10px 12px}.landing-actions{gap:13px}.landing-actions .btn{height:43px;padding:0 18px;border-radius:10px;font-size:13px;box-shadow:0 7px 20px rgba(52,145,211,.28)}
.landing-hero{height:calc(100vh - 82px);height:calc(100svh - 82px)}
.landing-proof{position:relative;z-index:1;width:100vw;margin-left:calc(50% - 50vw);min-height:74px;gap:clamp(12px,2vw,27px);padding:18px 24px;border:0;background:linear-gradient(100deg,#102d47 0%,#153d5d 52%,#174d72 100%);color:#e2f1fd;font-size:13px;box-shadow:0 12px 34px rgba(20,59,88,.12)}.landing-proof:before,.landing-proof:after{content:"";position:absolute;top:0;width:16vw;height:100%;pointer-events:none}.landing-proof:before{right:100%;background:linear-gradient(90deg,transparent,#102d47)}.landing-proof:after{left:100%;background:linear-gradient(90deg,#174d72,transparent)}.landing-proof span{margin:0;color:#b7d6ee;font-size:12px}.landing-proof b{font-weight:650}.landing-proof i{color:#6c9cbd}
.landing-daily{position:relative;isolation:isolate;margin-top:52px;border-color:#dceaf5;background:linear-gradient(118deg,#eaf5fd 0%,#f7fbff 53%,#eaf4fc 100%);box-shadow:0 20px 55px rgba(30,83,125,.07)}.landing-daily:before{content:"";position:absolute;z-index:-1;inset:12% 38% auto auto;width:340px;height:240px;border-radius:50%;background:rgba(109,184,232,.12);filter:blur(50px);pointer-events:none}.daily-preview{background:rgba(255,255,255,.88)}
.business-showcase{position:relative;isolation:isolate;padding-top:100px;padding-bottom:82px}.business-showcase:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:radial-gradient(ellipse at 12% 10%,rgba(93,173,225,.12),transparent 37%),radial-gradient(ellipse at 90% 48%,rgba(99,161,207,.10),transparent 34%),linear-gradient(180deg,#f2f8fd 0%,#f7fbfe 48%,#eff6fc 100%);pointer-events:none}.business-showcase>.landing-section-heading{margin-bottom:26px;padding:0 5px}.business-showcase>.landing-section-heading .landing-eyebrow{color:#2676aa}.business-showcase>.landing-section-heading h2{color:#173653}.business-showcase>.landing-section-heading>p{color:#58738b}
.showcase-row{position:relative;margin:20px 0;padding:24px;border:1px solid rgba(206,225,240,.9);border-radius:22px;background:linear-gradient(112deg,rgba(255,255,255,.94),rgba(246,251,255,.96));box-shadow:0 14px 40px rgba(26,70,105,.065);gap:clamp(28px,4.5vw,66px);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.showcase-row:hover{transform:translateY(-2px);border-color:#bad7ec;box-shadow:0 20px 48px rgba(26,70,105,.10)}.showcase-row+.showcase-row{border-top:1px solid rgba(206,225,240,.9)}.showcase-visual{padding:6px}.showcase-window,.showcase-row.reverse .showcase-window{border-color:#d3e2ed;border-radius:16px;box-shadow:0 17px 38px rgba(24,64,94,.12);transform:none}.showcase-chrome{background:linear-gradient(90deg,#f4f9fd,#edf5fb);color:#54718a}.showcase-demo-label{background:#e5f4ed!important;color:#327e62!important}.showcase-copy h3{color:#173653}.showcase-copy>p{color:#587086}.showcase-copy ul{color:#48647c}.showcase-tag{background:linear-gradient(100deg,#e4f2fb,#edf6fc);color:#246e9e}.showcase-copy .text-link{color:#176da9}
.landing-workflow{border-color:#d7e7f3;background:linear-gradient(112deg,#e9f4fc,#f3f9fd 62%,#e7f2fb);box-shadow:0 14px 38px rgba(30,83,125,.06)}.workflow-steps article{border-color:#dce9f2;background:rgba(255,255,255,.9)}
.pricing-section{position:relative}.landing-faq{border-color:#dce8f2}.landing-bottom{border-radius:24px;background:linear-gradient(105deg,#e9f4fc,#f7fbfe 65%,#e7f2fb)}
@media(max-width:900px){.landing-nav{padding:0 22px;gap:20px}.landing-brand{min-width:170px}.landing-brand .brand-logo{width:42px;height:42px}.landing-brand b{font-size:17px}.landing-links{gap:16px;font-size:13px}.landing-actions{gap:8px}.landing-actions .btn{padding:0 13px}.showcase-row{padding:19px;border-radius:18px}}
@media(max-width:680px){.landing-nav{height:66px;padding:0 14px;gap:8px}.landing-brand{min-width:0;gap:8px}.landing-brand .brand-logo{width:38px;height:38px;padding:4px;border-radius:11px}.landing-brand b{font-size:16px}.landing-brand small{display:none}.landing-actions{gap:4px}.landing-login{font-size:12px;padding:8px}.landing-actions .btn{height:36px;padding:0 11px;font-size:11px}.landing-hero{height:calc(100vh - 66px);height:calc(100svh - 66px)}.landing-proof{width:100vw;min-height:unset;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;padding:16px 18px;font-size:10px}.landing-proof span{width:100%;font-size:10px}.landing-proof b{font-size:10px}.landing-proof i{display:none}.landing-daily{margin-top:26px}.business-showcase{padding-top:62px;padding-bottom:42px}.business-showcase>.landing-section-heading{padding:0}.showcase-row,.showcase-row+.showcase-row{margin:13px 0;padding:13px;border-radius:16px;border:1px solid rgba(206,225,240,.9)}.showcase-row:hover{transform:none}.showcase-visual{padding:2px}.showcase-window,.showcase-row.reverse .showcase-window{border-radius:12px}.landing-bottom{padding:26px 18px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.landing-links a,.landing-links a:after,.showcase-row{transition:none}}

.idle-warning{z-index:1101}.idle-warning .confirm-dialog{width:min(100%,460px)}.idle-warning .button-row{margin-top:20px}
.order-share-hint{margin:14px 0 10px;padding:10px 12px;border-left:3px solid #4c94c9;border-radius:6px;background:#edf6fd;color:#49677f;font-size:12px}.row-action-group{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.share-order-action{color:#1769a8;font-weight:700;white-space:nowrap}

/* Shared workspace refinements: compact navigation, legible controls and tables. */
.mobile-nav-toggle,.mobile-nav-backdrop{display:none}
.shell.authenticated{min-width:0}
.shell main{min-width:0}
.sidebar .nav-group-label{color:#5a7186;font-size:11px}
.sidebar .nav-item{font-size:12px;min-height:38px}
.sidebar .nav-item.active{box-shadow:none}
.sidebar .nav-item.active:before{width:2px}
.shell :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #1e70b4;outline-offset:2px}
.shell .btn.primary:hover{background:#175587;border-color:#175587}
.shell .btn:disabled{cursor:not-allowed;opacity:.6}
.shell .table-wrap{max-width:100%;overscroll-behavior-x:contain}
.shell :is(.erp-dense-table,.data-table,.followup-table){font-variant-numeric:tabular-nums}
.shell :is(.erp-dense-table,.data-table,.followup-table) th{color:#465d73}
.shell input::placeholder,.shell textarea::placeholder{color:#65778a;opacity:1}
.shell ::selection{background:#cce5f8;color:#183a58}
@media(max-width:740px){
  .shell.authenticated{display:block}
  .shell .sidebar{display:none;position:fixed;z-index:100;inset:0 auto 0 0;width:min(290px,85vw);height:100dvh;box-shadow:8px 0 28px rgba(16,42,65,.2)}
  .shell .sidebar.mobile-open{display:flex}
  .mobile-nav-backdrop:not([hidden]){display:block;position:fixed;z-index:99;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:rgba(16,37,55,.48)}
  .mobile-nav-toggle{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#245d8c;font-size:19px;line-height:1}
  .shell .topbar{height:auto;min-height:44px;gap:8px;flex-wrap:wrap}
  .shell .mobile-brand{min-width:0;gap:7px}
  .shell .top-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
  .shell .sidebar .nav-item{min-height:42px;font-size:13px}
  .shell .sidebar .nav-group-label{font-size:12px}
}

/* Workspace navigation: group by task and emphasize the current destination. */
.sidebar{background:#f0f5fa;border-right:1px solid #d8e3ed}
.sidebar .brand{padding:1px 10px 21px}
.sidebar .brand b{color:#213c57;font-size:16px;letter-spacing:0}
.sidebar .brand small{color:#60778c;font-size:10px}
.sidebar #nav{gap:0;padding:0 3px 24px 0}
.sidebar .nav-group{display:grid;gap:2px;padding:13px 0 10px;border-bottom:1px solid #dbe5ee}
.sidebar .nav-group[hidden],.sidebar .nav-item[hidden]{display:none!important}
.sidebar .nav-group:last-child{border-bottom:0}
.sidebar .nav-group-overview{padding:0 0 14px}
.sidebar .nav-group-label{min-height:24px;padding:0 10px 4px;color:#536b80;font-size:11px;font-weight:700;letter-spacing:.02em}
.sidebar .nav-item{min-height:38px;gap:10px;padding:6px 10px;color:#344d63;font-size:14px;font-weight:550}
.sidebar .nav-item i{width:22px;height:22px;flex-basis:22px;background:transparent;color:#6b849a}
.sidebar .nav-item i svg{display:block;width:19px;height:19px}
.sidebar .nav-item:hover{background:#e4edf6;color:#1b577f}
.sidebar .nav-item.active{background:#dcecf9;border-color:#c3ddef;color:#145a91;font-weight:700}
.sidebar .nav-item.active:before{display:none}
.sidebar .nav-item.active i{background:transparent;color:#176ca8}
@media(max-width:740px){.shell .sidebar .nav-item{min-height:42px;font-size:14px}.sidebar .nav-group{padding:11px 0 9px}.sidebar .nav-group-overview{padding:0 0 12px}}

/* Compact two-level workspace navigation */
.sidebar details.nav-disclosure{display:block;padding:5px 0;border:0}
.sidebar details.nav-disclosure>summary{list-style:none;cursor:pointer;min-height:38px;padding:8px 11px;border-radius:8px;color:#435e75;font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}
.sidebar details.nav-disclosure>summary::-webkit-details-marker{display:none}
.sidebar details.nav-disclosure>summary::after{content:"";margin-left:auto;width:7px;height:7px;border-right:1.5px solid #71889c;border-bottom:1.5px solid #71889c;transform:rotate(45deg) translateY(-2px)}
.sidebar details.nav-disclosure[open]>summary::after{transform:rotate(225deg) translate(-1px,-1px)}
.sidebar details.nav-disclosure>summary:hover{background:#e5eef6}
.sidebar details.nav-disclosure>summary:focus-visible{outline:2px solid #4891e0;outline-offset:1px}
.sidebar details.nav-disclosure:has(.nav-item.active)>summary{color:#165e97}
.sidebar details.nav-disclosure>.nav-item{width:calc(100% - 12px);margin:2px 0 2px 12px}
.sidebar .nav-group-overview{margin-bottom:6px}
@media(max-width:740px){.sidebar details.nav-disclosure{padding:4px 0}.sidebar details.nav-disclosure>summary{min-height:44px;font-size:14px}}

/* Narrow workspace navigation and desktop collapse control. */
@media(min-width:741px){
  .shell{grid-template-columns:196px minmax(0,1fr)}
  .shell.nav-collapsed{grid-template-columns:minmax(0,1fr)}
  .shell.nav-collapsed .sidebar{display:none}
  .sidebar{padding-left:9px;padding-right:9px}
  .sidebar .nav-item{gap:7px;padding-left:7px;padding-right:6px}
  .sidebar details.nav-disclosure>.nav-item{width:calc(100% - 8px);margin-left:8px}
}
.desktop-nav-heading{display:flex;align-items:center;gap:12px;min-width:0}
.desktop-nav-toggle{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid #d8e4ef;border-radius:8px;background:#fff;color:#58758e}
.desktop-nav-toggle:hover{background:#e8f2fb;color:#175d96}
.desktop-nav-toggle:focus-visible{outline:2px solid #4891e0;outline-offset:2px}
.desktop-nav-toggle svg{width:19px;height:19px}
.nav-collapsed .desktop-nav-toggle svg{transform:scaleX(-1)}
@media(max-width:740px){.desktop-nav-heading{display:none}}

/* Keep the public homepage hidden while the existing session is restored. */
.startup-loading{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#f5f8fc;color:#536f89;font-size:14px;font-weight:600}
.startup-logo{position:relative;width:68px;height:68px}
.startup-logo img{position:absolute;inset:0;width:100%;height:100%}
.startup-logo-base{opacity:.14;filter:grayscale(1)}
.startup-logo-fill{clip-path:inset(100% 0 0);animation:startup-logo-fill 1.5s ease-in-out infinite}
@keyframes startup-logo-fill{0%{clip-path:inset(100% 0 0)}75%,100%{clip-path:inset(0)}}
@media(prefers-reduced-motion:reduce){.startup-logo-fill{animation:none;clip-path:none}}
.startup-message:empty{display:none}
.startup-loading button{border:1px solid #c8dbea;border-radius:7px;padding:7px 10px;background:#fff;color:#1e639e;font:inherit}
.startup-loading button[hidden]{display:none}

/* Integrated specialist workspaces keep the original forms available below. */
.module-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;margin-bottom:24px;background:#eaf3fb;border:1px solid #c7dcef;border-radius:12px}
.module-entry h2{margin:0 0 6px;font-size:20px;color:#203c57}
.module-entry p{margin:0;max-width:70ch;line-height:1.6;color:#49647c}
.module-entry .btn{flex-shrink:0}
@media(max-width:700px){.module-entry{align-items:stretch;flex-direction:column;gap:14px;padding:18px}}

/* MAOEDGE order operations upgrade · additive, authenticated workspace only.
   Public homepage, media, specialist modules and existing print templates stay intact. */
.shell.authenticated{
  --ink:#20354c;--muted:#5f7388;--paper:#f3f6fa;--line:#d9e3ed;
  --green:#176cb0;--green-soft:#eaf3fc;--shadow:0 6px 20px rgba(24,63,102,.05);
  background:var(--paper);color:var(--ink);
}
.shell.authenticated>main{max-width:1680px;padding-top:18px}
.shell.authenticated .topbar{padding-bottom:14px;border-bottom:1px solid var(--line);height:auto;min-height:48px;margin-bottom:24px}
.shell.authenticated .crumb{font-size:12px;color:#526a82}
.shell.authenticated .sidebar{background:#eef3f9;border-right-color:#d4e0ec}
.shell.authenticated .sidebar .brand b{color:#184c79;letter-spacing:.04em}
.shell.authenticated .sidebar .nav-item.active{background:#dcecfb;color:#125d99;box-shadow:inset 3px 0 #267dbd}
.shell.authenticated .sidebar .nav-item:hover{background:#e1ebf5}
.shell.authenticated .page-title h1{font-size:clamp(24px,2.1vw,30px);letter-spacing:-.5px}
.shell.authenticated .page-title p{max-width:80ch;line-height:1.65;color:#5f7388}
.shell.authenticated .page-title .eyebrow{font-size:10px;letter-spacing:.12em;color:#3373a4}
.shell.authenticated .panel{box-shadow:none;border-color:var(--line);border-radius:10px}
.shell.authenticated .panel-header h2{color:#203c57}
.shell.authenticated .panel-intro{font-size:12px;line-height:1.6;color:#5f7388}
.shell.authenticated .btn{border-radius:6px;min-height:34px}
.shell.authenticated .btn.primary{background:#176cb0;border-color:#176cb0}
.shell.authenticated .btn.primary:hover{background:#12578e;border-color:#12578e}
.shell.authenticated .btn.secondary{background:#fff;border-color:#cbdbe9;color:#305d81}
.shell.authenticated .btn.secondary:hover{background:#edf5fc;border-color:#8bb8db}
.shell.authenticated :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #126fb6;outline-offset:3px}
.shell.authenticated :is(input,select,textarea):disabled{color:#667b8d;background:#edf1f5;cursor:not-allowed}
.shell.authenticated .table-wrap{border-radius:5px;scrollbar-color:#adc2d6 #f0f4f8}
.shell.authenticated .erp-dense-table{font-variant-numeric:tabular-nums;font-size:12px}
.shell.authenticated .erp-dense-table tbody tr:hover{background:#eff6fd}
.shell.authenticated .order-role-note{padding:10px 13px;border:1px solid #d7e5f1;border-radius:6px;background:#edf4fb;color:#4c6880;font-size:12px;line-height:1.6;margin:0 0 16px}
.shell.authenticated .order-role-note b,.shell.authenticated .order-role-note strong{color:#245d87}

/* A scan-first work queue: counts remain real buttons with explicit selected state. */
.shell.authenticated .order-cockpit{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 18px}
.shell.authenticated .order-kpi{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:100px;padding:14px 16px;border:1px solid #d6e2ed;border-radius:8px;background:#fff;color:#526b82;text-align:left;box-shadow:none;transition:border-color .14s ease,background-color .14s ease}
.shell.authenticated .order-kpi:hover{border-color:#7dadcf;background:#f6faff}
.shell.authenticated .order-kpi :is(b,strong){font-size:28px;line-height:1.15;letter-spacing:-.5px;font-weight:750;font-variant-numeric:tabular-nums;color:#204b70}
.shell.authenticated .order-kpi span{font-size:12px;font-weight:650;line-height:1.4}
.shell.authenticated .order-kpi small{font-size:11px;line-height:1.45;color:#667c90}
.shell.authenticated .order-kpi.is-active{border-color:#287cbb;background:#eaf4ff;box-shadow:inset 0 -3px #287cbb}
.shell.authenticated .order-kpi[data-tone="danger"] :is(b,strong){color:#b33e3b}
.shell.authenticated .order-kpi[data-tone="warning"] :is(b,strong){color:#95631b}
.shell.authenticated .order-filter-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:0 0 12px;padding:12px;background:#f7f9fc;border:1px solid #dfe7ef;border-radius:6px}
.shell.authenticated .order-filter-bar label{display:grid;gap:4px;flex:1 1 130px;color:#526b82;font-size:11px}
.shell.authenticated .order-filter-bar :is(input,select){min-width:0;max-width:100%;height:34px;padding:5px 9px;border:1px solid #cad9e6;border-radius:5px;background:#fff;color:#29475f;font-size:12px}
.shell.authenticated .order-filter-bar>select{flex:1 1 130px}
.shell.authenticated #clearOrderFilters{margin-left:auto;white-space:nowrap;min-height:34px}
.shell.authenticated .order-filters{gap:10px}
.shell.authenticated .order-workspace:not(.detail-mode){gap:12px;grid-template-columns:180px minmax(0,1fr)}
.shell.authenticated .order-workspace:not(.detail-mode)>.panel{padding:14px;border-radius:8px}
.shell.authenticated .order-tree-panel .panel-header{padding-bottom:10px;border-bottom:1px solid #e2eaf2}
.shell.authenticated .order-tree-item{min-height:36px;border-radius:5px}
.shell.authenticated .order-tree-item.active{background:#e6f1fc;color:#155f98}
.shell.authenticated .order-list-panel .order-dense-table{min-width:1350px;table-layout:auto}
.shell.authenticated .order-list-panel .order-dense-table thead th{width:auto;min-width:90px;height:36px;background:#edf3f9;color:#3b5872;font-size:12px}
.shell.authenticated .order-list-panel .order-dense-table tbody td{height:42px;max-width:260px;font-size:12px;line-height:1.45}
.shell.authenticated .order-list-panel .order-dense-table tbody tr.selected{background:#e7f2fd}
.shell.authenticated .order-list-panel .order-dense-table :is(.order-table-link,.order-table-link strong){font-size:12px}
.shell.authenticated .order-list-panel .order-dense-table th:nth-child(2){min-width:180px}
.shell.authenticated .order-list-panel .order-dense-table th:last-child{min-width:154px}
.shell.authenticated .order-list-panel .row-action-group{justify-content:flex-start}
.shell.authenticated .order-list-panel .order-next-action{max-width:240px}
.shell.authenticated .order-stage-select{font-size:12px;min-height:29px}
.shell.authenticated .order-health-badges{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.shell.authenticated .order-health-badges span{display:inline-flex;align-items:center;border-radius:4px;padding:3px 6px;border:1px solid transparent;font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap}
.shell.authenticated .order-health-badges .risk-danger{background:#fff0ef;border-color:#edc8c5;color:#a23a35}
.shell.authenticated .order-health-badges .risk-warning{background:#fff7e8;border-color:#ecd9b0;color:#845915}
.shell.authenticated .order-health-badges .risk-neutral{background:#edf3f8;border-color:#d5e1eb;color:#526c82}

/* Order detail: next action first, then hand-off, delivery and accountable history. */
.shell.authenticated .order-detail-panel>.panel-header{align-items:flex-start;gap:15px;margin-bottom:18px}
.shell.authenticated .order-focus{background:#edf5fd;border-color:#ccdfef;border-left:3px solid #287cbb;border-radius:7px;padding:17px 18px}
.shell.authenticated .order-focus-meta{margin-bottom:12px;color:#456980}
.shell.authenticated .order-focus>p{color:#1b4566;font-size:18px;line-height:1.55}
.shell.authenticated .order-focus-actions{flex-wrap:wrap;gap:8px}
.shell.authenticated .order-delivery-strip{display:flex;flex-wrap:wrap;gap:10px 24px;padding:12px 0;margin:0 0 16px;border-top:1px solid #e0e9f1;border-bottom:1px solid #e0e9f1;color:#4e687f;font-size:12px;font-variant-numeric:tabular-nums}
.shell.authenticated .order-delivery-strip :is(b,strong){color:#274c6d}
.shell.authenticated .order-stage-track{display:flex;gap:4px;overflow:auto;padding:2px 0 11px;margin:0 0 14px;scrollbar-width:thin}
.shell.authenticated .stage-step{display:flex;flex:1 0 88px;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:48px;padding:7px 10px;border-bottom:3px solid #d9e3ed;background:#f4f7fa;color:#637b90;font-size:11px;text-align:center;white-space:nowrap}
.shell.authenticated .stage-step.done{background:#eef6fb;border-bottom-color:#8bb6d7;color:#426e91}
.shell.authenticated .stage-step.current{background:#e6f1fc;border-bottom-color:#176cb0;color:#145e99;font-weight:750}
.shell.authenticated .stage-step.lost{border-bottom-color:#aa6b69;background:#fbf1f0;color:#92524f}
.shell.authenticated .order-handoff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.shell.authenticated .order-handoff-grid article{display:flex;flex-direction:column;min-width:0;padding:14px 16px;background:#fff;border:1px solid #d8e4ef;border-radius:7px}
.shell.authenticated .order-handoff-grid h4{margin:0 0 7px;color:#2f5c7d;font-size:13px}
.shell.authenticated .order-handoff-grid p{flex:1;margin:0 0 10px;color:#597187;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.shell.authenticated .order-handoff-grid button{align-self:flex-start}
.shell.authenticated .order-detail .sub-disclosure{border-color:#dce6ef;border-radius:6px}
.shell.authenticated .order-detail .sub-disclosure>summary{min-height:42px;color:#355a78;font-size:13px}
.shell.authenticated .milestone-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.shell.authenticated .milestone-card{padding:11px 12px;border:1px solid #dae5ef;border-radius:6px;background:#fff;min-width:0}
.shell.authenticated .milestone-card .milestone{padding:0;border:0;background:none;display:flex;align-items:center;gap:8px;font-size:12px}
.shell.authenticated .milestone-card .milestone small{margin-left:auto;font-size:11px;white-space:nowrap}
.shell.authenticated .milestone-card .milestone input[type="checkbox"]{width:16px;height:16px;accent-color:#176cb0;flex-shrink:0}
.shell.authenticated .milestone-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.shell.authenticated .milestone-fields label{display:grid;gap:4px;min-width:0;font-size:11px;color:#61788d}
.shell.authenticated .milestone-fields input{width:100%;min-width:0;max-width:100%;height:32px;padding:5px 7px;border:1px solid #cfdeea;border-radius:4px;background:#fbfdff;color:#2e526e;font-size:12px}
.shell.authenticated .order-server-timeline{padding:0 0 8px}
.shell.authenticated .audit-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 12px;color:#627a8e;font-size:12px}
.shell.authenticated .audit-entry{position:relative;margin:0 0 0 6px;padding:0 0 18px 20px;border-left:1px solid #cfdfea;overflow-wrap:anywhere}
.shell.authenticated .audit-entry::before{content:"";position:absolute;top:5px;left:-4px;width:7px;height:7px;border-radius:50%;background:#3282ba;box-shadow:0 0 0 3px #edf5fb}
.shell.authenticated .audit-entry:last-child{padding-bottom:4px;border-left-color:transparent}
.shell.authenticated .audit-entry time{display:block;color:#6a8093;font-size:11px;font-variant-numeric:tabular-nums;margin-bottom:3px}
.shell.authenticated .audit-entry>b{display:block;font-size:13px;color:#345972}
.shell.authenticated .audit-entry p{margin:5px 0 0;font-size:12px;color:#587287;line-height:1.6;white-space:pre-wrap}

@media(min-width:1600px){.shell.authenticated>main{padding-left:36px;padding-right:36px}}
@media(max-width:1200px){
  .shell.authenticated .order-cockpit{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shell.authenticated .order-workspace:not(.detail-mode){grid-template-columns:1fr}
  .shell.authenticated .order-tree-panel .order-customer-tree{display:flex;gap:6px;overflow:auto;max-height:150px;flex-wrap:wrap}
  .shell.authenticated .order-tree-item{width:auto;flex:0 0 auto;gap:12px;max-width:250px}
}
@media(max-width:740px){
  .shell.authenticated>main{padding:14px 12px 26px}
  .shell.authenticated .topbar{margin-bottom:18px}
  .shell.authenticated .page-title{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}
  .shell.authenticated .page-title h1{font-size:25px}
  .shell.authenticated .page-title .button-row{flex-wrap:wrap}
  .shell.authenticated .order-cockpit{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}
  .shell.authenticated .order-kpi{min-height:92px;padding:12px}
  .shell.authenticated .order-kpi :is(b,strong){font-size:25px}
  .shell.authenticated .order-filter-bar{padding:10px;gap:9px}
  .shell.authenticated .order-filter-bar label{flex-basis:calc(50% - 9px)}
  .shell.authenticated #clearOrderFilters{margin-left:0}
  .shell.authenticated .order-list-panel .order-dense-table{min-width:1300px}
  .shell.authenticated .order-detail-panel>.panel-header{flex-wrap:wrap}
  .shell.authenticated .order-focus{padding:14px}
  .shell.authenticated .order-focus>p{font-size:16px}
  .shell.authenticated .order-handoff-grid{grid-template-columns:1fr;gap:8px}
  .shell.authenticated .order-handoff-grid article{padding:12px 14px}
  .shell.authenticated .order-stage-track{margin-bottom:10px}
  .shell.authenticated .milestone-list{grid-template-columns:1fr}
  .shell.authenticated .order-role-note{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.shell.authenticated .order-kpi{transition:none}}
@media print{
  .shell.authenticated .order-cockpit,.shell.authenticated .order-filter-bar,.shell.authenticated .order-role-note,.shell.authenticated .audit-toolbar button,.shell.authenticated .order-handoff-grid button{display:none!important}
  .shell.authenticated .order-detail-panel,.shell.authenticated .order-focus,.shell.authenticated .milestone-card,.shell.authenticated .order-handoff-grid article{box-shadow:none;background:#fff;color:#000;break-inside:avoid}
  .shell.authenticated .order-stage-track{overflow:visible;flex-wrap:wrap}
  .shell.authenticated .audit-entry{break-inside:avoid}
}

/* Filing links stay together on desktop and wrap by complete number on mobile. */
.landing-footer{align-items:center;flex-wrap:wrap;gap:12px 24px;font-size:12px;line-height:1.6;color:#61758a}
.landing-footer-legal,.filing-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;min-width:0}
.landing-footer-copyright{white-space:nowrap}
.filing-links a{display:inline-flex;align-items:center;gap:6px;min-height:32px;color:inherit;text-decoration:none;white-space:nowrap}
.filing-links img{display:block;flex:none;object-fit:contain}
.filing-links a:hover{text-decoration:underline;text-underline-offset:3px;color:#1e69a7}
.filing-links a:focus-visible{outline:2px solid #2876a8;outline-offset:4px;border-radius:3px}
.landing-footer-tagline{font-size:11px}
@media(max-width:680px){.landing-footer{align-items:flex-start;gap:10px}.landing-footer-legal{align-items:flex-start;flex-direction:column;gap:8px}.filing-links{gap:0 20px}.filing-links a{min-height:44px;font-size:14px}}

/* Order-first workspace: the core path stays visible, supporting tools recede. */
.sidebar .nav-core{margin-bottom:7px;padding-bottom:10px!important;border-bottom:1px solid #cedde9!important}
.sidebar .nav-core>summary{color:#214f73!important}
.sidebar .nav-core>.nav-item{font-weight:650}
.sidebar .nav-documents{margin-bottom:8px}
.shell.authenticated .dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:2px 0 20px}
.dashboard-heading h1{margin:0 0 6px;font-size:25px;line-height:1.3;letter-spacing:-.4px}
.dashboard-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.dashboard-heading>.btn{flex-shrink:0}
.shell.authenticated .core-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}
.shell.authenticated .core-stats .stat{min-height:110px;padding:16px 19px;border-radius:9px;text-align:left}
.shell.authenticated .core-stats .stat>span{font-size:13px;color:#435f78;font-weight:600}
.shell.authenticated .core-stats .stat>b{font-size:29px;line-height:1.2;margin:7px 0;color:#1f4d71;font-variant-numeric:tabular-nums}
.shell.authenticated .core-stats .stat>small{font-size:12px;line-height:1.5}
.dashboard-order-queue{border:1px solid #d6e2ed;border-radius:10px;background:#fff;padding:19px;margin-bottom:18px}
.dashboard-order-queue .section-heading{align-items:center;margin:0 0 15px;gap:15px}
.dashboard-order-queue h2,.dashboard-fulfillment h2{font-size:17px;line-height:1.4;margin:0 0 5px}
.dashboard-order-queue .section-heading p{font-size:12px;line-height:1.6;margin:0}
.dashboard-stage-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#dce6ee;border:1px solid #dce6ee;border-radius:6px;overflow:hidden;margin-bottom:16px}
.dashboard-stage-links>button{display:flex;align-items:center;gap:8px;border:0;background:#f5f8fc;color:#405c73;padding:12px;text-align:left;font-size:12px;cursor:pointer}
.dashboard-stage-links>button>b{margin-left:auto;font-size:17px;color:#244f72;font-variant-numeric:tabular-nums}
.dashboard-stage-links>button>span:last-child{color:#8a9eaf}
.dashboard-stage-links>button:hover{background:#e8f2fc}
.shell.authenticated .dashboard-order-table{min-width:650px;width:100%;font-size:12px}
.shell.authenticated .dashboard-order-table th{font-size:11px;padding:10px;background:#f3f7fb;color:#546d83}
.shell.authenticated .dashboard-order-table td{padding:11px 10px;vertical-align:top;line-height:1.55;white-space:normal}
.dashboard-order-table td:first-child{width:30%;min-width:190px}
.dashboard-order-table td:nth-child(3){width:30%;min-width:180px}
.dashboard-order-table small{display:block;color:#6b7e91;font-size:11px;margin-top:4px}
.dashboard-order-title{display:block;border:0;background:transparent;color:#185d93;font:inherit;font-weight:650;text-align:left;padding:0;cursor:pointer;overflow-wrap:anywhere}
.dashboard-order-title:hover{text-decoration:underline}
.dashboard-stage-name{white-space:nowrap;color:#405e77}
.dashboard-order-table .order-health-badges{margin-top:5px}
.dashboard-fulfillment{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:4px 0 22px;margin-bottom:18px;border-bottom:1px solid #d8e4ee}
.dashboard-fulfillment article{padding:8px 0}
.dashboard-fulfillment article+article{border-left:1px solid #d8e4ee;padding-left:24px}
.workflow-caption{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;color:#537690;margin-bottom:8px}
.dashboard-fulfillment p{font-size:12px;line-height:1.8;color:#5b7389;max-width:54em;margin:0 0 13px}
.dashboard-support{margin:8px 0 24px;border-top:1px solid #d9e3ec}
.dashboard-support>summary{cursor:pointer;padding:18px 0;color:#425e77;font-size:14px;font-weight:650}
.dashboard-support>summary>span{font-size:12px;font-weight:400;color:#718496;margin-left:12px}
.shell.authenticated .support-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px}
.dashboard-support-links{display:flex;gap:8px 24px;flex-wrap:wrap;padding-bottom:12px}
.dashboard-support-links>button{padding:6px 0;border:0;background:transparent;color:#3e6685;font-size:12px;cursor:pointer}
.dashboard-support-links>button:hover{text-decoration:underline}
.dashboard-order-queue button:focus-visible,.dashboard-support button:focus-visible,.dashboard-support>summary:focus-visible{outline:2px solid #267dbd;outline-offset:3px}
@media(max-width:1050px){.dashboard-stage-links{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-order-queue .section-heading{align-items:flex-start}}
@media(max-width:740px){
  .shell.authenticated .dashboard-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:16px}
  .dashboard-heading h1{font-size:22px}.dashboard-heading p{font-size:12px}
  .shell.authenticated .core-stats{gap:7px}.shell.authenticated .core-stats .stat{padding:11px 9px;min-height:116px}
  .shell.authenticated .core-stats .stat>span{font-size:11px}.shell.authenticated .core-stats .stat>b{font-size:24px}.shell.authenticated .core-stats .stat>small{font-size:10px}
  .dashboard-order-queue{padding:12px}.dashboard-order-queue .section-heading{display:block}.dashboard-order-queue .section-heading>.row-action{margin-top:8px}
  .dashboard-stage-links{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stage-links>button{padding:10px;min-height:44px}
  .dashboard-fulfillment{grid-template-columns:1fr;gap:12px}.dashboard-fulfillment article+article{border-left:0;border-top:1px solid #d8e4ee;padding:18px 0 0}
  .dashboard-support>summary>span{display:block;margin:5px 0 0;font-size:11px}
  .shell.authenticated .support-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-support-links>button{min-height:44px}
}

/* Collaboration orders: one product per row, ten stable business columns. */
.supply-card .supply-grid{table-layout:fixed;min-width:1280px;font-size:13px}
.supply-grid th:nth-child(1){width:44px}.supply-grid th:nth-child(2){width:180px}.supply-grid th:nth-child(3){width:170px}.supply-grid th:nth-child(4){width:130px}.supply-grid th:nth-child(5){width:80px}.supply-grid th:nth-child(6){width:140px}.supply-grid th:nth-child(7),.supply-grid th:nth-child(8){width:100px}.supply-grid th:nth-child(9),.supply-grid th:nth-child(10){width:130px}.supply-grid th:nth-child(11){width:220px}
.supply-order-toolbar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;padding:12px;margin:0 0 12px;background:var(--brand-canvas,#f3f5f8);border:1px solid var(--brand-line,#d8e0e8);border-radius:6px}
.supply-order-filters,.supply-order-export{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px 12px}
.supply-order-filters label{display:grid;gap:5px;font-size:12px;color:var(--ink);font-weight:650}
.supply-order-filters select{width:auto;min-width:118px;min-height:36px;padding:5px 8px;font-size:13px}
.supply-order-export{align-items:center;font-size:13px;color:var(--muted)}
.supply-order-export .btn{min-height:36px;padding:6px 12px;font-size:13px}
.supply-order-toolbar button:disabled{opacity:.55;cursor:default}
.supply-card .supply-grid .supply-select-cell{text-align:center;padding:6px 4px}
.supply-select-cell input[type=checkbox]{width:18px;height:18px;min-height:0;margin:4px;vertical-align:middle;accent-color:var(--brand-blue,#245b82);cursor:pointer}
.supply-grid tbody[hidden]{display:none}
.supply-edit-order{font-weight:650}
.supply-grid-actions .supply-change-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:12px 0;padding:8px 12px;border:1px solid var(--brand-line,#d8e0e8);border-radius:6px}
.supply-change-form legend{padding:0 5px;font-weight:650}
.supply-change-pending li{white-space:pre-wrap}
.supply-grid-actions [data-change-feedback]:empty{display:none}
.supply-grid-actions [data-change-feedback].error{color:#b42318}
@media(max-width:760px){.supply-grid-actions .supply-change-form fieldset{grid-template-columns:1fr;max-width:calc(100vw - 76px)}}
.supply-card .supply-grid td{vertical-align:top;overflow-wrap:anywhere;padding:12px 10px;line-height:1.5}
.supply-grid-product .supply-thumb{width:56px;height:56px;object-fit:contain;background:white;border:1px solid #e1e8f0;margin-bottom:6px}
.supply-no-image{display:grid;place-items:center;width:56px;height:56px;background:#f1f5f9;color:#738399;font-size:11px;margin-bottom:6px}
.supply-grid td small,.supply-grid time{display:block;margin-top:4px;font-size:11px;color:#63758b}
.supply-grid-order>b{display:block;line-height:1.5}.supply-grid-number{font-variant-numeric:tabular-nums;text-align:right!important;white-space:nowrap}
.supply-grid-tags span{display:block}.supply-grid-notes>div{margin-bottom:8px}.supply-grid-notes p{white-space:pre-wrap;overflow-wrap:anywhere}.supply-grid-notes b{font-size:11px;color:#63758b}
.supply-card .supply-grid tbody tr{background:white}.supply-card .supply-grid .is-alternate{background:#f8fafc}.supply-card .supply-grid .supply-grid-line:hover{background:#eff6ff}
.supply-grid select{width:100%;min-width:0;min-height:38px;padding:6px!important;font-size:12px}.supply-grid select:disabled{color:#63758b;background:#f1f5f9}
.supply-grid-actions{padding:8px 12px;max-width:900px}.supply-grid-actions>details{margin:10px 0}.supply-grid-actions summary{cursor:pointer;color:#245f96;font-size:13px}.supply-grid-actions small{display:block}.supply-grid-actions label{display:grid;gap:5px;max-width:400px;margin:8px 0}.supply-grid-actions input,.supply-grid-actions textarea{max-width:100%}
.supply-grid-feedback{font-size:12px;color:#187548;white-space:normal}.supply-grid-feedback.error{color:#b42318}.supply-grid-detail[hidden]{display:none!important}
@media(max-width:760px){.supply-grid select,.supply-grid .row-action{min-height:44px}.supply-card .supply-grid{min-width:1280px}}

/* Order-specific labels: one country/FNSKU entry per line. */
.supply-order-labels textarea{display:block;width:100%;min-width:170px;min-height:76px;resize:vertical;border:1px solid #d8e2ee;border-radius:6px;padding:6px 8px;font:inherit;line-height:1.5;background:#fff;color:#24364d}
.supply-order-labels textarea:disabled{background:#f2f5f8;color:#95a0ae}
.supply-order-labels small{display:block;margin-top:4px;color:#61748c}
.supply-grid-tags span{white-space:pre-line}

/* Factory planning shares the existing production page tabs and dense tables. */
.factory-panel .factory-summary{margin:0 0 12px;color:#45647c;font-size:13px}
.factory-panel .notice{margin:0 0 16px;font-size:12px}
.factory-panel .data-table{width:100%;min-width:740px;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.factory-panel .data-table :is(th,td){padding:9px 10px;border:1px solid #dce5ee;text-align:left;vertical-align:top}
.factory-panel .data-table th{background:#f3f7fb;color:#4d6078;white-space:nowrap}
.factory-panel .data-table small{display:block;color:#718198;font-size:11px;margin-top:3px}
.factory-records{display:grid;gap:10px;margin:12px 0 20px}
.factory-record{border:1px solid #dce5ee;border-radius:6px;background:#fff;padding:12px}
.factory-record summary{cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#315a79;font-size:13px;list-style:none}
.factory-record summary::before{content:'▸';color:#6c859a}.factory-record[open] summary::before{content:'▾'}
.factory-record summary span{margin-left:auto;color:#687f93;font-size:12px}
.factory-record :is(form,p){margin-top:14px}.factory-record fieldset{border:0;padding:0;margin:0;min-width:0}
.factory-record .button-row{margin-top:12px}.factory-record .button-row small{color:#718198;margin-right:auto}
.factory-panel .factory-feedback{padding:10px 12px;margin:0 0 12px;border-radius:5px;background:#edf6f1;color:#26724b;font-size:13px;white-space:pre-wrap}
.factory-panel .factory-feedback.error{background:#fff1ed;color:#a14432}
@media(max-width:740px){.factory-record .form-grid{grid-template-columns:1fr}.factory-record summary span{margin-left:0}.factory-record .button-row{flex-wrap:wrap}}
