/* Layout measurements and visual hierarchy follow the inspected DSFulfill pages. */
.account-payment-preview{max-height:280px;overflow:auto;margin:20px 0;border-block:1px solid var(--line)}.account-payment-preview>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px;border-bottom:1px solid var(--line);font-size:13px}.account-payment-preview small{display:block;color:var(--muted);margin-top:5px}.account-payment-preview strong{white-space:nowrap;color:var(--navy)}
.customer-balance{display:flex;flex-direction:column;gap:5px;white-space:nowrap;font-size:12px}.customer-balance .btn{align-self:flex-start;padding:0;height:auto;font-size:12px}.customer-account-strip{padding:20px 0;border-block:1px solid var(--line);display:flex;gap:28px;align-items:center;flex-wrap:wrap;margin:18px 0}.customer-account-strip p{font-size:12px}.account-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.customer-service-summary{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:15px 0}.customer-drawer .customer-account-strip{align-items:flex-start;gap:16px}.customer-drawer .account-actions{margin-left:0}.account-section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.account-section-heading span{font-size:12px;color:var(--muted)}.account-commission-totals{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}.rules-panel{padding:28px;margin-bottom:20px}.rules-panel h2{font-size:17px;color:var(--navy);margin:0 0 14px}.rules-panel h3{font-size:14px;margin:25px 0 16px}.rules-panel p{color:var(--muted);line-height:1.8;font-size:13px}.rules-section-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap}.account-rule-mode{display:flex;align-items:center;gap:12px;max-width:850px}.account-rule-mode select{width:200px}.account-condition-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0;border-bottom:1px dashed var(--line);font-size:13px}.account-condition-row input{width:110px}.account-condition-row select{width:165px}.account-condition-row select[name=currency]{width:100px}.account-direct-list{display:flex;flex-wrap:wrap;gap:16px 28px;background:#f5f9fc;padding:18px;border-radius:6px;max-height:260px;overflow:auto}.account-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px 28px}.account-rules-grid .form-row{display:block}.account-rules-grid .form-row>label{display:block;margin:12px 0 8px;font-size:12px;width:auto}.account-rules-grid .control{width:100%}.priority-tag{background:#edf5fc;color:#3c80b6;border:1px solid #bbd6eb}.finance-status.reversed,.finance-status.refunded{background:#fff4df;color:#a87924}.finance-panel+.finance-panel{margin-top:22px}@media(max-width:1000px){.account-rules-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.rules-panel{padding:20px}}@media(max-width:650px){.account-rules-grid{grid-template-columns:1fr}.customer-account-strip{display:block}.account-actions{margin-top:15px}}
.customer-sub .active{color:var(--green)!important;background:#edf5fc}
.customer-tabs{display:flex;gap:26px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.customer-tabs .btn{border:0;border-radius:0;background:transparent;padding:0 4px 12px;height:auto;color:var(--muted)}
.customer-tabs .active{border-bottom:2px solid var(--green);color:var(--green)}
.customer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}
.customer-stat{border:1px solid var(--line);border-radius:8px;background:#fff;text-align:left;padding:20px 22px;box-shadow:0 2px 5px #16395703}
.customer-stat:hover{border-color:var(--green)}
.customer-stat>span{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
.customer-stat .icon{width:21px;height:21px;color:#5b93c3}
.customer-stat strong{display:block;font-size:28px;font-weight:600;margin:14px 0 10px;color:var(--navy)}
.customer-stat small{color:#98a4b1;font-size:11px}
.customer-stat.attention strong{color:#dc9c48}.customer-stat.high strong{color:#4389bc}
.panel.customer-filter-panel{padding:22px 24px;margin-bottom:20px}
.customer-basic-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.customer-basic-filters>[name=term]{width:240px}.customer-basic-filters>[name=health]{width:140px}
.customer-basic-filters .date-control{width:155px;min-width:0}.customer-basic-filters .date-control input{width:100%}
.customer-basic-filters .text-btn{font-size:12px}
.customer-advanced{display:flex;gap:16px;border-top:1px dashed var(--line);padding-top:20px;margin-top:20px;flex-wrap:wrap}
.customer-advanced[hidden]{display:none}.customer-advanced>.control{width:200px}
.panel.customer-table-panel{padding:0;overflow:hidden}
.customer-toolbar{display:flex;align-items:center;gap:12px;padding:17px 24px;border-bottom:1px solid var(--line);font-size:12px;flex-wrap:wrap}
.customer-toolbar .btn{font-size:12px;height:30px}.customer-toolbar .selected{color:var(--green);background:#edf5fc;border-color:#a9c9e1}
.customer-toolbar select{width:160px}.customer-selection{padding:13px 24px;display:flex;align-items:center;font-size:12px;gap:12px;color:var(--muted)}
.customer-table-wrap{overflow-x:auto}.customer-table{width:100%;min-width:1040px;border-collapse:collapse;text-align:left;font-size:12px}
.customer-table th{background:#f6f8fa;color:#7f8d9b;font-weight:500;white-space:nowrap;padding:14px 18px;border-bottom:1px solid var(--line)}
.customer-table td{padding:20px 18px;border-bottom:1px solid #edf1f5;color:#526376;vertical-align:middle}
.customer-table tr:hover td{background:#fbfdff}.customer-table th:first-child,.customer-table td:first-child{padding-right:0;width:36px}
.customer-table .empty{padding:55px}.customer-table .text-btn{font-size:12px}
.customer-identity{display:flex;align-items:center;gap:12px;min-width:200px}.customer-avatar{display:grid;place-items:center;width:42px;height:42px;background:#eaf3fc;color:#5388b5;border-radius:50%;font-size:18px;flex:none}
.customer-identity strong,.customer-identity small,.customer-id{display:block}.customer-identity strong{color:var(--navy);font-size:13px;font-weight:500;margin:4px 0}.customer-identity small{color:#8b99a7;font-size:11px;overflow-wrap:anywhere}.customer-id{color:#9da8b5;font-size:10px}
.customer-group-tag{display:inline-block;font-size:10px;color:#6c8ca7;background:#f0f5f9;border:1px solid #e5edf4;border-radius:3px;padding:2px 6px;margin-top:5px}
.customer-health{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.customer-health i{width:5px;height:5px;display:inline-block;border-radius:50%;background:currentColor}.customer-health.healthy{color:#42a38a}.customer-health.attention{color:#d99b45}.customer-health.inactive{color:#a1acb6}
.customer-value{padding:3px 8px;font-size:11px;border-radius:4px;color:#7e8b99;background:#f1f4f7;white-space:nowrap}.customer-value.high{background:#eaf3fc;color:#528dbb}
.customer-priority{border-radius:3px;padding:3px 9px;font-size:11px;background:#fff6e8;color:#c39856}.customer-priority.high{background:#fff0ef;color:#d57c77}.customer-priority.low{background:#f0f6fa;color:#7d9bb2}
.customer-metric{font-size:12px;white-space:nowrap}.customer-metric b{color:var(--navy);font-size:14px;margin-left:10px;font-weight:500}.customer-metric small{display:block;font-size:10px;color:#9ba8b4;margin-top:7px}.customer-date{font-size:11px;max-width:125px;line-height:1.6}
.customer-notice{display:flex;align-items:center;gap:10px;background:#edf5fc;border:1px solid #dcebf7;padding:14px 18px;border-radius:5px;font-size:12px;color:#6b8ba6;margin-bottom:20px}
.customer-notice .icon{width:16px;height:16px}.group-table{min-width:700px}.group-table td{padding-top:22px;padding-bottom:22px}.group-table th:nth-child(3){width:24%}.customer-row-actions{white-space:nowrap}.customer-row-actions .text-btn{margin-right:16px}.danger-text{color:#c76d70!important}
.panel.customer-profile{padding:26px;margin-bottom:25px}.customer-profile-head{display:flex;align-items:center;gap:20px}.customer-profile-head .customer-avatar{width:52px;height:52px;font-size:23px}
.customer-profile-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f7fafd;border:1px solid #edf2f7;border-radius:6px;margin:22px 0}
.customer-profile-metrics>div{padding:18px;text-align:center}.customer-profile-metrics span{font-size:13px;color:#8d9cab}.customer-profile-metrics strong{display:block;font-size:22px;font-weight:500;color:var(--navy);margin-top:9px}
.customer-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:25px 0}.customer-fields>div{min-width:0}.customer-fields dt{font-size:13px;color:#91a0af;margin-bottom:7px}.customer-fields dd{margin:0;color:#5d7184;font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
.customer-profile-actions{display:flex;gap:12px;border-top:1px solid var(--line);padding-top:22px}.customer-profile-actions .btn{font-size:12px}
.customer-section-head{display:flex;align-items:center;gap:20px;margin:22px 0 18px}.customer-section-head h2{font-size:16px;font-weight:500;color:var(--navy);margin:0}.customer-section-head span{font-size:12px;color:#91a0ae}
.modal.customer-drawer{left:auto;right:0;top:0;bottom:0;transform:none;border-radius:0;width:560px;max-width:95vw;max-height:100vh}.customer-drawer .modal-head{padding:25px 26px;border-bottom:1px solid var(--line)}.customer-drawer .modal-head h2{font-size:17px}.customer-drawer .modal-body{padding:24px 26px;flex:1}.customer-drawer .modal-foot{padding:20px 26px;border-top:1px solid var(--line)}
.customer-drawer .customer-fields{grid-template-columns:1fr 1fr}.customer-drawer .customer-profile-metrics>div{padding:16px 8px}.customer-drawer-title{font-size:16px;font-weight:500;margin:28px 0 16px;color:var(--navy)}
.customer-preview-stores>div{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.customer-preview-stores strong,.customer-preview-stores small{display:block}.customer-preview-stores strong{font-size:14px;font-weight:500;color:var(--navy)}.customer-preview-stores small{font-size:13px;color:#9aa8b6;margin-top:6px}.customer-preview-stores .customer-health{margin-left:auto;font-size:12px}
.customer-form-modal{width:740px;top:8vh;max-height:86vh}.customer-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.customer-form-grid .control{width:100%}.customer-form-modal .form-row{font-size:12px;margin-bottom:18px}.customer-member-summary{font-size:12px;color:#8b9baa;padding:16px 0}.customer-member-list{max-height:360px;overflow:auto;border-top:1px solid var(--line)}.customer-member{display:flex;align-items:center;gap:12px;padding:14px 8px;border-bottom:1px solid var(--line);cursor:pointer}.customer-member[hidden]{display:none}.customer-member>span:nth-child(2){flex:1}.customer-member strong,.customer-member small{display:block;font-size:12px;font-weight:500}.customer-member small{font-size:11px;color:#8fa0af;margin-top:5px}
@media(max-width:1100px){.customer-stats{gap:10px}.customer-stat{padding:17px}.customer-basic-filters{gap:10px}.customer-fields{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.customer-stats{grid-template-columns:1fr 1fr}.customer-basic-filters .date-range{flex-wrap:wrap}.customer-basic-filters>[name=term]{width:100%}.customer-form-grid{grid-template-columns:1fr}.customer-section-head{align-items:flex-start;flex-direction:column;gap:8px}.customer-profile-actions{flex-wrap:wrap}.customer-profile-head{gap:10px}.customer-profile-head .customer-health{font-size:10px}}
.quote-modal{width:80vw;max-width:1500px;top:15vh;max-height:82vh}.quote-modal .modal-head{padding:30px 32px 20px}.quote-modal .modal-body{padding:0 32px 22px}.quote-summary{min-height:49px;background:#f6f6f6;display:flex;align-items:center;gap:34px;padding:10px 18px;margin-bottom:20px;font-size:13px;flex-wrap:wrap}.quote-summary strong{font-size:15px}.quote-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.quote-section-title>b,.quote-left .form-row>label>b{color:#f56c6c}.quote-product-table{border:1px solid #e7e9ee;margin-bottom:22px}.quote-table-head,.quote-product-row{display:grid;grid-template-columns:2fr 1.5fr .7fr .45fr}.quote-table-head{background:#f6f6f6;font-weight:600}.quote-table-head>span,.quote-product-row>div{padding:11px 14px;border-right:1px solid #e7e9ee}.quote-table-head>span:last-child,.quote-product-row>div:last-child{border-right:0}.quote-product-row>div{min-height:112px;display:flex;align-items:center;overflow-wrap:anywhere}.quote-product-row .mapping-product{align-items:flex-start}.quote-product-row .product-image{width:78px;height:78px}.quote-product-row .product-image span{font-size:46px}.quote-product-row p{font-size:12px;margin:5px 0;color:#808b99}.quote-fulfillment{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:65px;min-height:245px;padding:6px 18px 0}.quote-left .form-row{display:grid;grid-template-columns:90px 1fr;align-items:center;margin:0 0 16px}.quote-left .quote-links{display:flex;gap:18px;margin:-8px 0 20px 90px}.quote-left .quote-links .text-btn{font-size:12px}.quote-right{border-left:1px solid #eceef2;padding-left:48px}.quote-mode{display:flex;gap:36px;margin:4px 0 25px}.quote-mode label{display:flex;align-items:center;gap:8px}.quote-money{display:flex;flex-direction:column;gap:12px}.quote-money label{display:grid;grid-template-columns:78px 55px 1fr;align-items:center}.quote-money .control{height:32px}.quote-right>.check-label{margin:18px 0}.quote-total{text-align:right;border-top:1px solid #eceef2;padding-top:14px;font-size:15px}.quote-total strong{color:#f56c6c;margin-left:10px}.quote-fulfillment.is-locked>*:not(.quote-lock){opacity:.26;pointer-events:none}.quote-lock{position:absolute;inset:0;display:grid;place-items:center;color:var(--green);font-weight:600;background:#fff3;z-index:2}.quote-modal .modal-foot{border-top:1px solid #edf0f3;padding-top:20px}.quote-modal .modal-foot .btn{min-width:72px}
@font-face{font-family:Montserrat;src:url('./assets/Montserrat-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Montserrat,"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;color:#2c3e50;background:#f4f5f8;font-synthesis:none;--green:#229b2e;--bright:#16b72b;--line:#dfe3ec;--muted:#8d9aaf}
*{box-sizing:border-box}body{margin:0;min-width:1000px}button,input,textarea,select{font:inherit}button,a,label,input[type=checkbox],input[type=radio]{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:2px solid #22a638;outline-offset:3px}input,select,textarea{outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green)}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:14px;height:14px;cursor:pointer;margin:0;flex:none}input[type=checkbox]{vertical-align:middle}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h2{font-size:20px}h3{font-size:16px}p{line-height:1.65}strong,b{font-weight:600}.icon{width:17px;height:17px;display:inline-block;vertical-align:middle;flex:none}.grow{flex:1}.muted{color:var(--muted)}.tiny{font-size:11px}.green-text{color:#12bc38}.red{color:#f17676}.rotate{transform:rotate(180deg)}[hidden]{display:none!important}
.shell{height:100vh;overflow:hidden}.topbar{position:fixed;inset:0 0 auto;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;background:#fff;z-index:40;box-shadow:0 12px 30px #22314a0b}.team{height:60px;width:210px;display:flex;align-items:center;gap:7px;border:0;background:none;text-align:left;font-weight:600;color:#26374b;font-size:13px}.team>.icon{width:14px;margin-left:2px}.team-logo{width:28px;height:28px;background:var(--green);border-radius:50%;color:#fff;display:grid;place-items:center}.team-logo .icon{width:20px;height:20px;stroke-width:2}.global-search{position:absolute;left:50%;transform:translateX(-50%);display:flex;align-items:center;width:min(500px,35vw);height:40px;background:#f5f6f8;border-radius:3px;padding:0 12px;gap:8px;color:#9299a1}.global-search .control{border:0;background:none;padding:0;color:#555;height:36px}.top-tools{display:flex;align-items:center;gap:12px;margin-left:auto}.top-tools>.text-btn{font-size:11px;color:#95a0ad}.round-tool{width:36px;height:36px;border:0;border-radius:50%;background:#f4f6f8;display:grid;place-items:center;color:#747b84}.round-tool.green{background:#1ec540;color:white}.avatar{width:36px;height:36px;border:0;background:#c2c5cc;border-radius:50%;margin-left:10px}
.sidebar{position:fixed;left:0;top:60px;bottom:0;width:230px;z-index:30;background:white;border-right:1px solid #f1f2f5}.sidebar nav{height:calc(100% - 56px);overflow:auto;scrollbar-width:thin}.nav-item{border:0;background:white;padding:0 21px;width:100%;height:40px;display:flex;gap:8px;align-items:center;color:#26394c;text-align:left;font-weight:400}.nav-item>.icon:first-child{width:16px;height:16px;color:#333}.nav-item>.icon:last-child:not(:first-child){margin-left:auto;width:12px;height:12px;color:#777}.nav-item:hover{background:#f4fcf5}.nav-item.active{color:var(--bright);background:#f0fcf2}.nav-item.active>.icon{color:var(--green)}.collapse{width:28px;height:28px;border-radius:50%;background:white;border:0;box-shadow:0 2px 5px #0002;position:absolute;right:-14px;top:8px;display:grid;place-items:center;z-index:50}.collapse .icon{width:14px;transform:rotate(180deg)}.sidebar-bottom{position:absolute;bottom:0;left:0;right:0;border-top:1px solid var(--line);height:56px;background:white;display:flex;align-items:center}.sidebar-bottom .nav-item{height:54px}.client-menu{border-top:1px solid var(--line);padding-top:14px;margin-top:0}.client-menu>.nav-item{height:48px}.subnav{display:flex;flex-direction:column}.subnav>a,.subnav>.text-btn{height:40px;display:flex;align-items:center;padding:0 40px;color:#283b50;text-align:left;width:100%;justify-content:flex-start}.subnav>a.active{color:#10b42a;background:#f0fcf2}.client-sub>a,.client-sub>.text-btn{height:50px}.client-sub .icon{margin-left:auto}
.main{position:absolute;top:60px;left:230px;right:0;bottom:0;overflow:auto;background:#f4f5f8;scrollbar-width:thin}.page-head{margin:28px 34px 24px 34px;min-height:40px;display:flex;align-items:center}.page-head>button:first-child{margin-right:8px;color:#222}.page-head>button:first-child .icon{width:24px;height:24px;transform:rotate(180deg);stroke-width:2.8}.page-head h1{font-size:24px;line-height:40px;font-weight:600;margin:0 4px 0 0}.page-head .text-btn{padding:0;color:#12b52d}.page-content{padding:0 34px 34px}.panel{background:white;border:1px solid #e0e4ec;border-radius:17px;padding:32px;margin-bottom:28px}.btn{height:32px;border:1px solid #d6dce8;background:white;color:#26394c;padding:0 15px;border-radius:3px;display:inline-flex;gap:5px;align-items:center;justify-content:center;white-space:nowrap;font-size:14px;font-weight:400}.btn:hover{border-color:#9ad59d;color:var(--green);background:#f3fcf3}.btn.primary{color:white;background:var(--green);border-color:var(--green)}.btn.primary:hover{background:#39aa44}.btn.plain{color:var(--bright);background:#f1fcf3;border-color:#76ce81}.btn.small{height:24px;padding:0 10px;font-size:12px}.btn.text-btn,.text-btn{height:auto;min-height:24px;padding:0;border:0;background:none;color:#0ab426;box-shadow:none;border-radius:0;font-weight:400;display:inline-flex;align-items:center;font-size:14px;cursor:pointer;white-space:nowrap}.text-btn:hover{color:#169123;background:none}.btn.mini-btn,.mini-btn{border:0;background:transparent;color:#91979e;padding:0;display:inline-grid;place-items:center;flex:none}.mini-btn .icon{width:14px;height:14px}.control{height:32px;width:100%;border:1px solid #d5dce9;border-radius:3px;background:white;color:#2c3e50;padding:0 11px;min-width:0;font-size:14px}.control::placeholder{color:#b9bdc5}.control:read-only{background:#f5f7f9}select.control{color:#b7bcc5;appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%23b7bcc5'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}select.control.has-value{color:#2c3e50}select.control option{color:#2c3e50}textarea.control{height:auto;min-height:66px;padding:8px 11px;resize:vertical;line-height:1.5}.status-tabs{display:flex;border-bottom:2px solid #e0e4ed;overflow:auto;gap:36px;scrollbar-width:none;margin-top:-15px}.status-tab{border:0;background:none;color:#26394c;padding:0 0 12px;height:39px;flex:none;font-weight:600;position:relative;white-space:nowrap}.status-tab.active{color:#0ab328}.status-tab.active:after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#0bc22a}.scheme-bar{display:flex;align-items:center;gap:8px;min-height:51px;padding:12px 0 7px;font-size:12px;color:#60768c}.scheme-bar>.btn.selected{height:24px;background:#eefbef;color:var(--green);padding:0 8px}.filter-form{display:flex;gap:15px}.filters-grid{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.filter-submit{flex:none;width:150px;display:flex;align-items:flex-end;flex-direction:column;gap:12px}.filter-submit>.btn{min-width:60px}.span-2{grid-column:span 2}.store-filter{display:flex;min-width:0;border:1px solid #d5dce9;border-radius:3px;height:32px}.store-filter .control{border:0;border-radius:0}.store-filter .mini-btn{width:31px}.store-filter .mini-btn:first-child{border-right:1px solid var(--line);background:#f7f8fa}.store-filter .mini-btn:last-child{border-left:1px solid var(--line)}.search-number{display:flex;min-width:0}.search-number select{width:110px;flex:none;background-color:#f5f6f9}.search-number .control{border-radius:0;margin-left:-1px}.search-number select:first-child{border-radius:3px 0 0 3px}.search-number select:last-child{width:130px;background-color:white;border-radius:0 3px 3px 0}.search-number input{flex:1;min-width:60px}.date-range{display:flex;align-items:center;border:1px solid #d5dce9;border-radius:3px;height:32px;min-width:0}.date-range .control{border:0;min-width:0}.date-range select{width:140px;flex:none;border-right:1px solid #d5dce9;border-radius:0}.date-range input{padding:0 5px;width:42%;font-size:12px;color:#8692a4}.date-range input::-webkit-calendar-picker-indicator{width:11px;opacity:.4}.date-range span{color:#888}.quick-filters{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.pill-group{border:1px dotted #d9dfeb;border-radius:12px;padding:5px 8px 8px;display:flex;align-items:center;gap:12px;margin:0;min-width:0}.pill-group legend{margin:auto;color:#b8bcc5;padding:0 8px;font-weight:400}.pill-group .btn{height:26px;font-size:12px;padding:0 10px}.pill-group .btn.selected{background:#edfaee;color:var(--green);border-color:var(--green)}.order-links{height:44px;border:1px solid #dfe3eb;background:#f8f9fb;border-radius:4px;display:flex;align-items:center;gap:20px;padding:0 12px;margin-bottom:24px}.order-links .dropdown>.btn{padding:0;background:none;border:0;color:#07b427}.order-links .dropdown>.btn .icon{width:12px;height:12px}.orders-panel{padding-top:40px}.order-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:28px;flex-wrap:wrap}.selection-note{font-size:12px;color:var(--muted)}.order-list{overflow:auto;scrollbar-width:thin}.order-columns,.order-grid{display:grid;grid-template-columns:500px 200px 200px 200px 180px 100px;min-width:1380px}.order-columns{height:48px;background:#e5e6eb;border-radius:8px 8px 0 0;align-items:center;color:#223548}.order-columns>div{display:flex;gap:12px;align-items:center;padding-left:8px}.order-columns .check-label{font-size:0}.order-card{min-width:1380px;margin-bottom:14px;border:1px solid #eef0f4}.order-meta{min-height:48px;display:flex;align-items:center;gap:8px;background:#f1f2f5;font-size:12px;padding:7px 8px;color:#38526e;flex-wrap:wrap}.shop-icon{width:17px;height:20px;border-radius:3px;background:#95bf47;display:inline-grid;place-items:center;color:white;font-weight:700;font-size:13px;font-style:italic;box-shadow:inset 0 0 0 2px #fff8;flex:none}.order-number{border:0;background:none;padding:0;font-size:14px;font-weight:600;color:#182b40}.tag{font-size:11px;border-radius:13px;line-height:22px;padding:0 9px;white-space:nowrap}.tag.warning{background:#f1a000;color:white}.tag.success{background:#229e35;color:#fff}.tag.danger{background:#f56c6c;color:white}.tag.neutral{border:1px solid #e5e6eb;color:#9b9fa8;background:#f5f6f9}.tag.dark{background:#767d89;color:#fff}.order-meta>.text-btn{font-size:12px;border:1px dashed #dab17a;color:#c38530;padding:0 6px;min-height:20px}.order-grid>div{padding:20px 8px;font-size:12px;line-height:1.7;border-right:1px solid #f2f3f7}.order-grid>div:first-child{padding:20px 16px 20px 16px}.product-cell{display:flex;position:relative;gap:16px;align-items:flex-start}.product-image{width:100px;height:90px;border:1px solid #e4e7ef;background:linear-gradient(150deg,#fff,#f3f5f8);border-radius:4px;display:grid;place-items:center;flex:none;overflow:hidden}.product-image span{font-size:58px;line-height:1;color:#5d7898;text-shadow:2px 4px 0 #cbd4df;transform:rotate(-8deg)}.product-copy{flex:1;min-width:0;padding-right:50px;color:#24405e}.product-name{color:#111;font-size:13px;line-height:1.5;margin-bottom:18px}.product-copy .text-btn{font-size:11px}.mapping-stamp{width:56px;height:56px;border:2px dashed #f68a94;border-radius:50%;background:transparent;position:absolute;right:8px;top:15px;color:#f57484;transform:rotate(-12deg);font-size:11px;padding:0;line-height:1.2}.mapping-stamp.mapped{color:#59a76b;border-color:#86bf90}.qty{color:#f1838b;font-weight:600;position:absolute;right:24px;top:72px}.order-info{color:#8090a7;overflow-wrap:anywhere}.row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.row-actions .text-btn{font-size:14px;line-height:1.2;min-height:18px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#606a76;font-size:12px;margin-top:20px;min-height:32px}.pagination .btn{height:28px;min-width:28px;padding:0 6px;font-size:12px}.pagination .current{color:var(--green);border-color:transparent;background:#f0faf1}.pagination .control{width:100px;height:28px;font-size:12px}.pagination input[type=number]{width:45px;height:28px;border:1px solid var(--line);border-radius:3px;text-align:center}.empty{color:#9098a5;text-align:center;padding:60px 10px;font-size:14px}.dropdown{position:relative}.dropdown.open{z-index:24}.dropdown-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:180px;display:none;background:#fff;border:1px solid #e4e7ed;border-radius:4px;box-shadow:0 4px 12px #0002;padding:6px 0;z-index:25}.dropdown.open .dropdown-menu{display:block}.dropdown-menu button{display:block;width:100%;text-align:left;background:white;border:0;padding:9px 16px;color:#2c3e50;font-size:14px;white-space:nowrap}.dropdown-menu button:hover{background:#f0faf2;color:var(--green)}
.store-filters{padding:32px;margin-top:28px;margin-bottom:32px}.store-filters .control{height:36px;border-radius:7px}.store-filters .filter-submit{width:150px}.store-filters .filter-submit .btn{min-width:102px;height:36px;border-radius:8px}.stores-panel{padding-top:32px}.store-tabs{display:flex;gap:40px;align-items:center;margin-bottom:14px;min-height:40px}.store-tabs .status-tab{font-weight:400}.store-tabs .status-tab.active{font-weight:600}.store-toolbar{display:flex;gap:12px;margin-bottom:18px;align-items:center}.store-table-wrap{overflow:auto}.store-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:14px;min-width:850px}.store-table th{text-align:left;border-bottom:5px solid #e9ebf1;color:#162d42;padding:5px 8px 14px;font-size:16px;font-weight:600}.store-table th:first-child{width:58px;padding-left:12px}.store-table th:nth-child(2){width:100px}.store-table th:nth-child(3){width:auto}.store-table th:nth-child(4){width:148px}.store-table th:nth-child(5){width:148px}.store-table th:nth-child(6){width:144px}.store-table td{padding:12px 8px;border-bottom:1px solid #e7eaf2;vertical-align:middle;line-height:1.65}.store-table td:first-child{padding-left:12px}.store-table tr:nth-child(even){background:#fcfdff}.store-basics strong{display:block;color:#20354b;margin-bottom:4px}.store-basics>div{color:#7f96af;font-size:12px;overflow-wrap:anywhere}.platform-badge{display:inline-flex;gap:5px;align-items:center;border:1px solid #e8ecf3;border-radius:10px;padding:3px 8px;font-size:13px;background:#f7f9fb;margin-bottom:3px}.platform-badge .shop-icon{height:18px;width:16px}.store-auth-time{margin:4px 0;color:#60758e;overflow-wrap:anywhere}.enable-line{display:flex;align-items:center;gap:6px;color:#23364b}.tax-box{background:#f0f3f8;border-radius:16px;padding:7px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.tax-box .text-btn{font-size:12px;min-height:16px}.tax-box .icon{width:12px;height:12px}.tax-box .switch{width:30px;height:16px;flex:none}.tax-box .switch input:checked+span:before{transform:translateX(14px)}.tax-box .switch span:before{width:12px;height:12px}.store-row-actions .text-btn{font-size:13px;margin-right:7px;line-height:1.8}.switch{position:relative;display:inline-block;width:40px;height:20px;vertical-align:middle;flex:none}.switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:2;cursor:pointer}.switch span{position:absolute;inset:0;border-radius:20px;background:#dcdfe6}.switch span:before{content:"";position:absolute;left:2px;top:2px;width:16px;height:16px;background:white;border-radius:50%;transition:transform .15s}.switch input:checked+span{background:#229e35}.switch input:checked+span:before{transform:translateX(20px)}.switch input:focus-visible+span{outline:2px solid #3baa49;outline-offset:3px}
.overlay{position:fixed;inset:0;background:#0008;z-index:60}.modal{position:fixed;z-index:70;left:50%;top:15vh;transform:translateX(-50%);width:500px;max-width:94vw;max-height:80vh;display:flex;flex-direction:column;background:white;border-radius:16px;box-shadow:0 12px 35px #0002;color:#303133}.modal-head{padding:30px 32px 20px;display:flex;align-items:center;justify-content:space-between;flex:none}.modal-head h2{font-size:20px;font-weight:600;margin:0}.close{border:0;background:none;color:#303133;padding:0;display:grid;place-items:center}.close .icon{width:17px;height:17px}.modal-body{padding:0 32px 24px;overflow:auto;min-height:0;scrollbar-width:thin}.modal-foot{padding:0 32px 32px;display:flex;justify-content:flex-end;gap:12px;flex:none;align-items:center}.form-row{display:flex;flex-direction:column;gap:10px;margin:8px 0 24px;font-size:14px}.form-row>label .icon{color:#a3acb9;width:12px;height:12px}.form-row:last-child{margin-bottom:0}.form-hint{color:#8a97a8;font-size:12px;line-height:1.6;margin:12px 0}.store-settings-modal .modal-body{padding-top:2px}.store-settings-modal .form-row{margin-bottom:26px}.modal .control{height:33px}.modal textarea.control{height:70px;min-height:70px}.modal .control[type=checkbox]{height:auto}.import-modal{width:720px}.upload-zone{display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;min-height:150px;border:1px dashed #d6dbe3;border-radius:5px;cursor:pointer;color:#9098a5;margin-top:16px}.upload-zone:hover{border-color:var(--green)}.upload-zone .icon{width:40px;height:40px;stroke-width:1.5}.import-modal .modal-body>form>p.muted{font-size:12px}.filter-modal{top:10vh;width:600px;max-height:84vh}.filter-modal .store-tabs{gap:25px}.filter-modal .store-tabs .status-tab{padding-left:12px;padding-right:12px}.field-count{display:flex;align-items:center;font-size:12px;padding:16px 0}.field-count>.text-btn{margin-left:auto;font-size:12px}.field-list{display:flex;flex-direction:column;gap:7px}.filter-field-row{display:flex;align-items:center;border:1px solid #e9ecf2;border-radius:5px;min-height:39px;padding:0 10px;gap:10px}.drag-mark{font-size:20px;color:#b9c1ce}.check-label{display:inline-flex;align-items:center;gap:8px;font-size:14px}.filter-field-row>.check-label{flex:1}.filter-field-row>.btn{height:24px;padding:0 4px}.scheme-list>div{display:flex;gap:15px;padding:12px;border-bottom:1px solid var(--line)}.detail-modal{width:80vw;max-width:1500px;top:15vh;max-height:82vh}.detail-modal .modal-head{padding:30px 32px}.detail-modal .modal-body{padding:5px 64px 35px}.detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));font-size:14px;gap:10px 20px;margin-bottom:20px;line-height:1.5}.detail-summary>div{overflow-wrap:anywhere}.address-heading{position:relative;height:44px;display:flex;align-items:center;justify-content:center;background:#f6f6f6;margin-bottom:14px;font-size:16px}.address-heading>.text-btn{position:absolute;right:24px;font-size:14px}.detail-address{display:flex;gap:90px;min-height:405px;margin-bottom:14px}.vertical-tabs{width:160px;flex:none;display:flex;flex-direction:column;justify-content:center;gap:5px}.vertical-tabs .btn{height:40px;border-radius:0;color:#333;border-color:#d5d5d5}.vertical-tabs .btn.active{background:var(--green);color:#fff;border-color:var(--green)}.address-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;flex:1;align-content:start;padding-top:3px}.address-grid>div{display:flex;gap:12px;align-items:flex-start;min-height:20px;overflow-wrap:anywhere;line-height:1.5}.address-grid>div>b{white-space:nowrap;min-width:68px}.address-grid .full-row{grid-column:1/-1}.detail-tabs{display:flex;margin-bottom:4px}.detail-tabs>.btn{border:0;border-radius:0;height:44px;padding:0 26px;background:#f6f6f6;color:#999}.detail-tabs>.btn.active{background:white;color:var(--green);border:1px solid #eee}.detail-table{border-collapse:collapse;width:100%;text-align:left;table-layout:fixed}.detail-table th{background:#f6f6f6;font-weight:600;padding:12px;font-size:14px}.detail-table td{padding:12px;border-bottom:1px solid #edf0f6;vertical-align:top;line-height:1.65;font-size:13px;overflow-wrap:anywhere}.detail-table th:first-child{width:40%}.detail-table .product-image{width:80px;height:80px}.mapping-product{display:flex;gap:16px;align-items:center;line-height:1.7}.mapping-product>div:last-child{min-width:0}.mapping-product p{margin:4px 0;font-size:12px;color:#8894a5}.mapping-product+.form-row{margin-top:24px}.address-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.address-modal{width:700px}.feedback-history{padding:20px;background:#f6f8fa;color:#8b95a6;margin-bottom:20px}.guide-list{line-height:2.1;padding-left:18px}.settings-links{display:flex;flex-direction:column;gap:15px}.toast-stack{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none}.toast{border-radius:5px;padding:12px 20px;font-size:14px;max-width:80vw;background:#eff9ec;color:#68b93d;border:1px solid #dcefd4;box-shadow:0 3px 8px #0001;line-height:1.6}.toast.warning{color:#dc9a3b;background:#fdf6ec;border-color:#f7e8d1}.scroll-nav{position:fixed;right:20px;top:48%;display:flex;flex-direction:column;gap:8px;z-index:25}.scroll-nav>.btn{width:48px;height:52px;line-height:13px;font-size:11px;text-align:center;color:#21b734;background:#f2fcf4;border:1px solid #79d087;border-radius:11px;padding:0;display:block}
.app-filters>div{display:flex;align-items:center;gap:20px;padding:8px 0}.app-filters>div>span{color:#9aa6b5;min-width:40px}.app-filters label{display:flex;align-items:center;gap:6px}.apps-panel h2{margin-bottom:8px}.apps-panel>.muted{font-size:13px}.app-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.app-card{display:flex;gap:16px;align-items:center;padding:24px;border:1px solid #e7eaf1;border-radius:8px;min-height:150px}.app-logo{width:48px;height:48px;flex:none;display:grid;place-items:center;background:#209d38;color:white;border-radius:8px;font-size:30px;font-weight:700}.app-logo .icon{width:30px;height:30px}.app-copy{flex:1;min-width:0}.app-copy p{color:#7c8898;font-size:12px;margin:10px 0 0}.app-price{font-size:11px;background:#fff0f2;color:#ed657b;display:inline-block;margin-top:5px;padding:3px 6px;border-radius:3px}.app-card>.btn{font-size:12px;padding:0 10px}.app-detail .store-tabs{margin-bottom:30px}.app-detail .store-tabs .status-tab{height:40px;padding-left:0;padding-right:0}.intro-title{display:flex;align-items:center;gap:20px;margin-bottom:30px}.intro-title h2{margin:0 0 8px}.intro-title p{margin:0;color:#7f8c9e}.app-intro ol{line-height:2.2;padding-left:20px}.api-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin:25px 0}.api-grid>div{border:1px solid var(--line);border-radius:8px;padding:20px}.api-grid p{font-size:13px}.api-grid code{font-size:11px;color:#8c98a7;overflow-wrap:anywhere}.config-form{max-width:750px}.config-form .form-row{display:grid;grid-template-columns:230px 1fr;align-items:center;margin-bottom:18px;gap:16px}.config-form h3{margin:35px 0 25px}.config-form .check-label{display:flex;margin:18px 0}.config-form>.primary{margin-top:20px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.dashboard-stat{display:flex;flex-direction:column;gap:20px;text-align:left}.dashboard-stat strong{font-size:36px;color:var(--green)}
.collapsed .sidebar{width:65px}.collapsed .nav-item span,.collapsed .nav-item>.icon:last-child:not(:first-child),.collapsed .subnav,.collapsed .client-sub{display:none}.collapsed .main{left:65px}.collapsed .collapse .icon{transform:none}.collapsed .nav-item{padding:0 23px}
.global-search{left:calc(50% - 50px)}
.sidebar .subnav>.btn.text-btn{height:40px;min-height:40px;padding:0 40px;color:#283b50;text-align:left;width:100%;justify-content:flex-start}
.sidebar .client-sub>.btn.text-btn{height:50px;min-height:50px}
.topbar .top-tools>.btn.text-btn{font-size:11px;color:#95a0ad}
.filters-panel{padding-bottom:16px}.quick-filters{margin-top:12px}
select.control:read-only{background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%23b7bcc5'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}
.detail-modal .modal-body{padding-top:0}.detail-summary{row-gap:6px;margin-bottom:17px}
.tracking-modal{width:800px}.tracking-order{padding:16px 0;border-bottom:1px solid var(--line)}.tracking-order>p{font-size:12px;color:#7f8d9e}.tracking-upload{min-height:110px}.tracking-upload .icon{width:28px;height:28px}
.app-detail{box-shadow:0 2px 12px #23324a1a}.app-detail .store-tabs{border-bottom:2px solid #e0e4ed;margin-bottom:16px}
.app-detail .config-form{max-width:none}.app-detail .config-form .form-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px}.app-detail .config-form .form-row>.control{width:100%}
.app-detail .config-form h3{margin:24px 0 14px;font-size:14px}.app-detail .config-form>.check-label{margin:0 0 24px}
.config-radio-row{display:flex;gap:30px;margin:0 0 26px}.config-radio-row label{display:flex;align-items:center;gap:8px}
.config-inline{display:flex;align-items:center;gap:22px;margin:0 0 24px}.config-inline .icon{width:12px;height:12px;color:#555}.config-inline>.control{width:323px}
.config-api-note{font-size:12px;line-height:1.6;margin-bottom:12px}.config-api-options{display:flex;gap:28px;flex-wrap:wrap}.config-api-options>.check-label{margin:0}
.config-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.config-footer .form-hint{margin:0}
.vertical-tabs{justify-content:flex-start;padding-top:53px}
.store-table th{padding-bottom:8px}.store-toolbar{margin-bottom:12px}
.date-control{position:relative;display:flex;align-items:center;gap:6px;flex:1;min-width:0;height:30px;padding:0 10px;color:#b9bdc5;overflow:hidden;white-space:nowrap;font-size:12px}
.date-control .icon{width:13px;height:13px;color:#b9bdc5}
.date-control input.control{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;cursor:pointer}
.date-control:focus-within{outline:1px solid var(--green);outline-offset:-1px}
.date-control span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:1350px){.filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-submit{width:100px}.status-tabs{gap:32px}.detail-address{gap:35px}.detail-modal .modal-body{padding-left:40px;padding-right:40px}.address-grid{gap:18px}.address-grid>div{flex-direction:column;gap:3px}.app-card{padding:16px;gap:10px}.store-table th:nth-child(2){width:70px}.top-tools{gap:8px}}
@media(max-width:1100px){.top-tools{gap:6px}.page-content{padding-left:24px;padding-right:24px}.page-head{margin-left:24px;margin-right:24px}.panel{padding:24px}.filter-submit{width:60px}.store-filters .filter-submit{width:75px}.store-filters .filter-submit>.btn{min-width:70px}.app-grid{grid-template-columns:1fr}.detail-modal{width:92vw}.detail-address{gap:25px}.detail-summary{grid-template-columns:repeat(3,1fr)}}
.quote-modal{width:80vw;max-width:1500px;top:15vh;max-height:82vh}.quote-modal .modal-head{padding:30px 32px 20px}.quote-modal .modal-body{padding:0 32px 22px}.quote-summary{min-height:49px;background:#f6f6f6;display:flex;align-items:center;gap:34px;padding:10px 18px;margin-bottom:20px;font-size:13px;flex-wrap:wrap}.quote-summary strong{font-size:15px}.quote-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.quote-section-title>b,.quote-left .form-row>label>b{color:#f56c6c}.quote-product-table{border:1px solid #e7e9ee;margin-bottom:22px}.quote-table-head,.quote-product-row{display:grid;grid-template-columns:2fr 1.5fr .7fr .45fr}.quote-table-head{background:#f6f6f6;font-weight:600}.quote-table-head>span,.quote-product-row>div{padding:11px 14px;border-right:1px solid #e7e9ee}.quote-table-head>span:last-child,.quote-product-row>div:last-child{border-right:0}.quote-product-row>div{min-height:112px;display:flex;align-items:center;overflow-wrap:anywhere}.quote-product-row .mapping-product{align-items:flex-start}.quote-product-row .product-image{width:78px;height:78px}.quote-product-row .product-image span{font-size:46px}.quote-product-row p{font-size:12px;margin:5px 0;color:#808b99}.quote-fulfillment{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:65px;min-height:245px;padding:6px 18px 0}.quote-left .form-row{display:grid;grid-template-columns:90px 1fr;align-items:center;margin:0 0 16px}.quote-left .quote-links{display:flex;gap:18px;margin:-8px 0 20px 90px}.quote-left .quote-links .text-btn{font-size:12px}.quote-right{border-left:1px solid #eceef2;padding-left:48px}.quote-mode{display:flex;gap:36px;margin:4px 0 25px}.quote-mode label{display:flex;align-items:center;gap:8px}.quote-money{display:flex;flex-direction:column;gap:12px}.quote-money label{display:grid;grid-template-columns:78px 55px 1fr;align-items:center}.quote-money .control{height:32px}.quote-right>.check-label{margin:18px 0}.quote-total{text-align:right;border-top:1px solid #eceef2;padding-top:14px;font-size:15px}.quote-total strong{color:#f56c6c;margin-left:10px}.quote-fulfillment.is-locked>*:not(.quote-lock){opacity:.26;pointer-events:none}.quote-lock{position:absolute;inset:0;display:grid;place-items:center;color:var(--green);font-weight:600;background:#fff3;z-index:2}.quote-modal .modal-foot{border-top:1px solid #edf0f3;padding-top:20px}.quote-modal .modal-foot .btn{min-width:72px}
.login-page{min-height:100vh;display:grid;place-items:center;background:#f5f6f8}.login-panel{width:min(420px,90vw);padding:36px}.login-panel h1{color:#229b2e;margin:0}.login-panel form{margin-top:28px}.login-panel input{display:block;width:100%;margin-top:12px}.login-panel .btn{width:100%;margin-top:18px}
.quote-price-input{display:inline-flex;align-items:center;gap:12px;margin:18px 18px 0 0}.quote-price-input .control{width:140px}

/* VELA palette: ocean blue actions, navy text, and cool blue-gray surfaces. */
:root{
 --green:#0878e5;
 --bright:#0878e5;
 --brand:#0878e5;
 --brand-dark:#0668c9;
 --brand-soft:#eaf3fc;
 --navy:#102338;
 --ink:#1d3045;
 --line:#dce5ef;
 --muted:#687d92;
 --page:#f1f5f9;
 --surface:#fff;
 --success:#168a67;
}
body{color:var(--ink);background:var(--page)}
button:focus-visible,a:focus-visible{outline-color:var(--brand)}
input:focus,select:focus,textarea:focus{border-color:var(--brand)}
input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
.green-text{color:var(--brand)}
.topbar{background:var(--surface);box-shadow:0 12px 30px #10233812}
.team{color:var(--navy)}
.team-logo{background:var(--brand)}
.global-search{background:#f3f7fb;color:#71869b}
.round-tool{background:#eef4fa;color:#5d748b}
.round-tool.green{background:var(--brand)}
.sidebar{background:var(--surface);border-right-color:#e3ebf3}
.nav-item{background:var(--surface);color:var(--navy)}
.nav-item:hover{background:#f2f7fc}
.nav-item.active{color:var(--brand);background:var(--brand-soft)}
.nav-item.active>.icon{color:var(--brand)}
.subnav>a.active{color:var(--brand);background:var(--brand-soft)}
.main{background:var(--page)}
.page-head .text-btn{color:var(--brand)}
.panel{border-color:#dce5ef}
.btn{color:var(--navy);border-color:#d1ddea}
.btn:hover{border-color:#8dbbed;color:var(--brand);background:#f3f8fd}
.btn.primary{background:var(--brand);border-color:var(--brand)}
.btn.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}
.btn.plain{color:var(--brand);background:var(--brand-soft);border-color:#9bc5ef}
.btn.text-btn,.text-btn{color:var(--brand)}
.text-btn:hover{color:var(--brand-dark)}
.control{border-color:#d1ddea;color:var(--ink)}
.control:read-only{background:#f5f8fb}
.status-tabs{border-bottom-color:#dce5ef}
.status-tab.active{color:var(--brand)}
.status-tab.active:after{background:var(--brand)}
.scheme-bar>.btn.selected{background:var(--brand-soft);color:var(--brand)}
.store-filter .mini-btn:first-child{background:#f5f8fb}
.pill-group .btn.selected{background:var(--brand-soft);color:var(--brand);border-color:#8dbbed}
.order-links .dropdown>.btn{color:var(--brand)}
.order-columns{background:#e5edf5;color:var(--navy)}
.order-meta{background:#edf3f8;color:#4f6b84}
.tag.success{background:var(--success)}
.mapping-stamp.mapped{color:var(--success);border-color:#79b9a5}
.pagination .current{color:var(--brand);background:var(--brand-soft)}
.dropdown-menu button:hover{background:#f2f7fc;color:var(--brand)}
.switch input:checked+span{background:var(--brand)}
.switch input:focus-visible+span{outline-color:#62a7e9}
.upload-zone:hover{border-color:var(--brand)}
.vertical-tabs .btn.active{background:var(--brand);border-color:var(--brand)}
.detail-tabs>.btn.active{color:var(--brand)}
.toast{background:#edf8f4;color:#168a67;border-color:#cdeade}
.scroll-nav>.btn{color:var(--brand);background:var(--brand-soft);border-color:#8dbbed}
.app-logo{background:var(--brand)}
.dashboard-stat strong{color:var(--brand)}
.login-page{background:var(--page)}
.login-panel h1{color:var(--brand)}

.product-sub>a{height:40px}
.product-sub>a.active{color:var(--brand);background:var(--brand-soft)}
.page-head{position:relative}
.product-total{font-size:12px;color:var(--muted);margin-left:8px;white-space:nowrap}
.page-head>.btn{margin-left:8px}
.page-head>.btn.primary{height:38px;padding-inline:22px}
.product-import-menu{position:absolute;z-index:35;right:0;top:calc(100% + 8px);min-width:190px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 22px #10233818}
.product-import-menu .btn{width:100%;justify-content:flex-start;border:0;background:transparent}
.product-import-menu .btn:hover{background:var(--brand-soft)}
.product-filters{padding:30px 32px;margin-bottom:28px}
.product-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;align-items:center}
.product-search{display:flex;min-width:0;grid-column:span 2}
.product-search .control:first-child{width:120px;flex:none;background-color:#f5f8fb;border-radius:3px 0 0 3px}
.product-search .control:last-child{border-radius:0 3px 3px 0;margin-left:-1px}
.product-date,.price-range{display:flex;align-items:center;min-width:0;height:32px;border:1px solid #d1ddea;border-radius:3px}
.product-date>.control:first-child,.price-range>.control:first-child{width:120px;flex:none;border:0;border-right:1px solid var(--line);border-radius:0;background-color:#f5f8fb}
.product-date .date-control{height:30px;padding:0 8px}
.product-date .date-control input{min-width:0}
.product-date>span,.price-range>span{padding:0 6px;color:#8b9bad}
.price-range input.control{border:0;border-radius:0;min-width:55px;padding:0 7px}
.product-filter-grid>.btn{justify-self:end;min-width:72px}
.product-list-panel{padding:28px 32px 20px;overflow:hidden}
.product-batch{display:flex;flex-wrap:wrap;gap:10px 14px;margin-bottom:20px}
.product-batch>.btn{border-radius:20px;height:32px;padding:0 14px;font-size:13px}
.product-table-wrap{overflow:auto}
.product-table{border-collapse:collapse;width:100%;min-width:1120px;table-layout:fixed;font-size:13px}
.product-table th{height:42px;text-align:left;border-bottom:4px solid #e5ebf2;padding:5px 8px;font-weight:600;color:var(--navy);white-space:nowrap}
.product-table th:first-child{width:38px}.product-table th:nth-child(2){width:46px}.product-table th:nth-child(3){width:39%}.product-table th:nth-child(4){width:16%}.product-table th:nth-child(5){width:13%}.product-table th:nth-child(6){width:19%}.product-table th:last-child{width:230px}
.product-table td{padding:14px 8px;border-bottom:1px solid #e8eef4;vertical-align:middle}
.product-main-row:hover{background:#f8fbfe}
.product-spu-cell{display:flex;align-items:center;gap:12px;min-width:0}
.product-thumb{width:52px;height:52px;flex:none;border:1px solid #e3eaf1;border-radius:7px;display:grid;place-items:center;color:var(--brand);background:linear-gradient(145deg,#f3f8fc,#e7f1fa);font-size:20px;font-weight:700}
.product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.product-spu-cell>div:last-child{min-width:0;line-height:1.55}
.product-spu-cell strong{font-weight:500;color:var(--ink)}
.product-spu-cell small,.product-table td>small{display:block;color:#8495a8;font-size:11px;margin-top:4px}
.product-spu-cell small b{color:var(--navy)}
.product-spu-cell i{font-size:10px;font-style:normal;color:#59758f;background:#edf4fa;border-radius:10px;padding:2px 7px;margin:4px 4px 0 0;display:inline-block}
.product-money{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#73869a}
.product-money b{color:var(--brand-dark)}
.product-actions{white-space:nowrap}
.product-actions .text-btn{display:inline-flex;margin-right:9px;font-size:12px}
.product-spec-row>td{padding:0 32px 16px 90px;background:#f8fbfd}
.product-spec-row table{border-collapse:collapse;width:100%;font-size:12px;background:#fff}
.product-spec-row th,.product-spec-row td{border-bottom:1px solid #e9eff5;text-align:left;padding:9px 12px}
.product-spec-row th{color:#62788e;background:#f2f7fb}
.product-edit-form{display:flex;flex-direction:column;gap:10px}
.product-form-section{padding:18px 0;border-bottom:1px solid var(--line)}
.product-form-section:last-child{border:0}
.product-form-section h3{font-size:15px;margin:0 0 14px;color:var(--navy)}
.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.product-edit-form .form-row{gap:8px;margin:9px 0 14px;font-size:12px;color:#60758b}
.product-edit-form .form-row>.control{color:var(--ink)}
.product-json-label{display:flex;flex-direction:column;gap:8px;margin:12px 0;font-size:12px;color:#60758b}
.product-json-label textarea{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}
.product-modal{width:850px;max-height:86vh;top:7vh}
.product-modal .modal-head{padding-bottom:14px}
.product-modal .modal-body{padding-top:0}
.product-more-actions{display:flex;flex-direction:column;gap:12px}
.order-grid>.order-product-cell{align-items:stretch;gap:0;padding:14px 10px!important;min-height:96px}
.order-product-cell .order-items{flex:1;min-width:0;padding:0 58px 0 0}
.order-line-item{display:flex;align-items:flex-start;gap:10px;position:relative;min-height:76px;padding:5px 0 10px}
.order-line-item+.order-line-item{border-top:1px solid #e8eef4;padding-top:12px}
.order-line-item .product-image{width:56px;height:56px;border-radius:5px}
.order-line-item .product-image span{font-size:32px}
.order-line-item .product-image img{width:100%;height:100%;object-fit:cover}
.order-line-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;color:#72859a;font-size:11px;line-height:1.35}
.order-line-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:12px}
.order-line-copy .text-btn{align-self:flex-start;font-size:11px;min-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.order-line-qty{flex:none;color:#e27d87;font-weight:600;font-size:12px;padding:2px 4px}
@media(max-width:1350px){.product-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.product-search{grid-column:span 2}}
@media(max-width:1100px){.product-filters,.product-list-panel{padding-left:22px;padding-right:22px}.product-filter-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.product-modal{width:94vw}.product-edit-form .product-form-grid{grid-template-columns:1fr}}

.finance-sub{padding:2px 10px 8px 48px}
.finance-sub .text-btn{height:34px;min-height:34px;width:100%;padding:0 10px;border-radius:4px;color:var(--muted);font-size:13px}
.finance-sub .text-btn.active{background:var(--brand-soft);color:var(--brand)}
.finance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.finance-stat{min-width:0;min-height:94px;padding:17px 20px;background:var(--surface);border:1px solid var(--line);border-radius:6px;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:12px}
.finance-stat strong{color:var(--navy);font-size:22px;font-weight:600;overflow-wrap:anywhere}
.finance-stat strong small{font-size:12px;font-weight:400;color:var(--muted);margin-left:5px}
.finance-stat .finance-stat-muted{font-size:15px;color:#9aa9b8}
.finance-panel{padding:24px 26px 20px;border-radius:6px;min-width:0}
.finance-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.finance-panel-head h2{font-size:16px;color:var(--navy);margin:0 0 6px}
.finance-panel-head p,.finance-footnote{font-size:12px;line-height:1.55;color:var(--muted);margin:0;max-width:880px}
.finance-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:16px 0 12px}
.finance-filters>.control{width:auto;min-width:145px}
.finance-filters>[name="term"]{width:min(270px,100%)}
.finance-filters>[name="start"],.finance-filters>[name="end"]{width:145px}
.finance-filters .range-separator{color:var(--muted);font-size:12px}
.finance-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.finance-toolbar>.control{width:auto;min-width:160px}
.finance-toolbar>[name="invoiceTerm"]{min-width:260px}
.finance-table-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:38px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.finance-table-wrap{width:100%;overflow:auto;scrollbar-width:thin}
.finance-table{width:100%;min-width:840px;border-collapse:collapse;font-size:12px}
.finance-table th{height:42px;padding:8px 10px;text-align:left;white-space:nowrap;background:#f3f7fb;color:#58718a;font-weight:600;border-bottom:1px solid var(--line)}
.finance-table td{height:58px;padding:9px 10px;border-bottom:1px solid #eaf0f5;color:var(--ink);vertical-align:middle}
.finance-table tbody tr:hover{background:#f8fbfe}
.finance-table td strong,.finance-table td small{display:block}
.finance-table td strong{font-weight:500;color:var(--navy);overflow-wrap:anywhere}
.finance-table td small{font-size:11px;color:#8497aa;margin-top:4px;overflow-wrap:anywhere}
.finance-table td:first-child{min-width:160px}
.finance-table th:has(>input[type=checkbox]),.finance-table td:has(>input[type=checkbox]){width:34px;min-width:34px;padding-right:8px}
.finance-table .empty{padding:46px 10px}
.finance-amount{white-space:nowrap;font-weight:600;color:var(--success)!important;font-variant-numeric:tabular-nums}
.finance-amount.debit{color:#cc5960!important}
.finance-status{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:3px;background:#fff5e8;color:#b76d12;font-size:11px;white-space:nowrap}
.finance-status.approved,.finance-status.confirmed,.finance-status.issued{background:#eaf7f1;color:#168a67}
.finance-status.pending_payment{background:#eef4fb;color:#56738e}
.finance-status.rejected{background:#fff0ef;color:#bb4f4b}
.finance-actions{white-space:nowrap}
.finance-actions .text-btn{font-size:12px;margin-right:9px}
.finance-actions .danger-text{color:#c45656}
.finance-footnote{margin-top:14px}
.finance-modal{width:min(680px,94vw);max-height:86vh}
.finance-modal .modal-body{max-height:calc(86vh - 140px);overflow:auto}
.finance-modal .form-row{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:12px;margin:12px 0;color:var(--muted);font-size:12px}
.finance-modal .form-row>.control,.finance-modal .form-row textarea{width:100%}
.finance-modal .form-hint{font-size:12px;line-height:1.55;color:var(--muted);margin:8px 0 14px}
.invoice-source-list{display:flex;flex-direction:column;gap:0;max-height:340px;overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.invoice-source{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border-bottom:1px solid #edf2f6;cursor:pointer}
.invoice-source:last-child{border-bottom:0}
.invoice-source:hover{background:#f7fafe}
.invoice-source input{margin:0}
.invoice-source span{min-width:0}
.invoice-source strong,.invoice-source small{display:block;overflow-wrap:anywhere}
.invoice-source strong{font-size:12px;font-weight:500;color:var(--navy)}
.invoice-source small{font-size:11px;color:var(--muted);margin-top:4px}
.invoice-source b{font-size:12px;white-space:nowrap;color:var(--navy)}
.finance-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin:0}
.finance-detail-list>div{padding:12px 0;border-bottom:1px solid #edf2f6;min-width:0}
.finance-detail-list dt{font-size:11px;color:var(--muted);margin-bottom:5px}
.finance-detail-list dd{margin:0;color:var(--navy);font-size:13px;overflow-wrap:anywhere}
.team{font-size:0}
.team::before{content:"";display:block;width:132px;height:30px;background:url('/assets/vela-logo.png') center/contain no-repeat}
.team>.icon{margin-left:0}
@media(max-width:900px){.finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-filters>.control{flex:1;min-width:130px}.finance-panel{padding:19px}.finance-panel-head{align-items:flex-start}.finance-toolbar>[name="invoiceTerm"]{min-width:180px}}
@media(max-width:600px){.finance-summary{gap:8px}.finance-stat{min-height:82px;padding:12px}.finance-stat strong{font-size:18px}.finance-panel{padding:15px}.finance-panel-head{flex-direction:column}.finance-panel-head>.btn,.finance-panel-head>div:last-child{align-self:flex-start}.finance-filters{display:grid;grid-template-columns:1fr 1fr}.finance-filters>[name="term"]{grid-column:1/-1;width:100%}.finance-filters>[name="start"],.finance-filters>[name="end"]{width:100%;min-width:0}.finance-filters>.btn{width:100%}.finance-toolbar{flex-wrap:wrap}.finance-toolbar>[name="invoiceTerm"]{min-width:100%;width:100%}.finance-detail-list{grid-template-columns:1fr}.finance-modal .form-row{grid-template-columns:1fr;gap:6px}.invoice-source{grid-template-columns:20px minmax(0,1fr)}.invoice-source b{grid-column:2}}
/* 团队与角色 */
.team-intro,.team-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.team-intro h2,.team-section-head h2{font-size:16px;color:var(--navy);margin:0 0 8px}.team-intro p,.team-section-head p,.team-panel .form-hint{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.team-panel{padding:24px;margin-bottom:18px}.team-section-head .btn{flex:none}.team-table-wrap{overflow:auto}.team-table{width:100%;border-collapse:collapse;min-width:650px;font-size:13px}.team-table th{padding:13px 16px;background:#f6f8fb;color:var(--muted);font-weight:500;text-align:left;white-space:nowrap}.team-table td{padding:16px;border-bottom:1px solid var(--line);vertical-align:middle}.team-table small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.team-table .btn{font-size:12px;padding:4px 8px}.team-table code{font-size:11px;overflow-wrap:anywhere}.team-panel>.form-hint{margin-top:16px}.team-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.team-tabs .btn{border:0;border-radius:0;background:none;padding:12px 0;color:var(--muted)}.team-tabs .active{color:var(--brand);border-bottom:2px solid var(--brand)}.team-permissions-modal{top:5vh;width:min(920px,94vw);max-height:90vh}.team-permissions-modal .modal-body{max-height:calc(90vh - 145px);overflow:auto}.team-permissions-modal .form-row,.team-join .form-row{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:16px}.team-permission-tools{padding:14px 0;border-bottom:1px solid var(--line)}.team-permissions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.team-permissions section{border:1px solid var(--line);border-radius:6px;overflow:hidden}.team-permissions header{display:flex;justify-content:space-between;align-items:center;background:#f6f8fb;padding:12px 14px}.team-permissions header label{color:var(--muted);font-size:12px}.team-permissions section>div{display:flex;gap:12px 18px;flex-wrap:wrap;padding:16px 14px}.team-permissions label{font-size:12px;display:inline-flex;align-items:center;gap:6px}.team-permissions input,.team-scope-options input,.team-assign-list input{accent-color:var(--brand)}.team-scope-options{display:grid;gap:14px}.team-scope-options>label{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:6px;cursor:pointer}.team-scope-options small{display:block;margin-top:8px;font-size:12px;color:var(--muted);line-height:1.6}.team-assign-controls{display:flex;gap:16px}.team-assign-controls .control{flex:1}.team-assign-list{max-height:45vh;overflow:auto;border:1px solid var(--line);border-radius:6px}.team-assign-list>label{display:flex;align-items:center;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);cursor:pointer}.team-assign-list small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.team-invitation-url{width:100%;margin:14px 0}.team-login-logo{display:block;width:180px;height:auto;margin:0 auto 28px}.login-panel .team-tabs{justify-content:center}.team-join{max-width:540px!important}.team-join form{margin-top:24px}.team-join form>.btn{width:100%}.danger-text{color:#c43e43!important}
@media(max-width:650px){.team-intro,.team-section-head{align-items:flex-start;flex-direction:column;gap:12px}.team-panel{padding:16px}.team-permissions{grid-template-columns:1fr}.team-permissions-modal .form-row,.team-join .form-row{grid-template-columns:1fr;gap:6px}.team-assign-controls{flex-direction:column}.team-tabs{gap:20px}}
@media(max-width:650px){body{min-width:320px}.topbar{padding:0 12px}.global-search{display:none}.top-tools>:not(.avatar){display:none}.topbar .team{width:190px;flex:none}.sidebar{width:150px}.main{left:150px}.nav-item{padding:0 14px;font-size:12px}.subnav>.text-btn{padding-left:26px;font-size:11px}.page-head{margin:18px 12px;flex-wrap:wrap;gap:6px}.page-head h1{font-size:18px;line-height:1.5}.page-content{padding:0 12px 24px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-stat{padding:16px;gap:12px;font-size:12px}.dashboard-stat strong{font-size:28px}.page-content>h2{font-size:17px}.scroll-nav{display:none}.team-table-wrap{max-width:100%}.team-intro p,.team-section-head p{overflow-wrap:anywhere}.team-tabs{flex-wrap:wrap;gap:12px}.team-tabs .btn{font-size:12px}}
/* 店铺商品 */
.store-product-overview{padding:0;margin-bottom:16px;overflow:hidden}.store-product-switcher{display:flex;align-items:center;gap:0;padding:0 22px;border-bottom:1px solid var(--line);overflow:auto}.store-product-switcher .btn{flex:none;height:48px;padding:0 16px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:13px}.store-product-switcher .btn.active{color:var(--brand);border-bottom:2px solid var(--brand)}.store-product-filter-form{display:flex;align-items:center;gap:10px;padding:18px 22px}.store-product-filter-form .control{width:auto;min-width:160px}.store-product-filter-form [name="term"]{width:min(320px,100%)}.store-product-list{padding:0;overflow:hidden}.store-product-table{width:100%;min-width:940px;border-collapse:collapse;font-size:12px}.store-product-table th{height:44px;padding:9px 14px;text-align:left;background:#f4f7fa;color:#60778c;font-weight:600;border-bottom:1px solid var(--line)}.store-product-table td{padding:12px 14px;border-bottom:1px solid #e9eff4;vertical-align:middle;color:var(--ink)}.store-product-table td small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.store-product-group td{height:44px;padding:10px 16px;background:#f8fafc;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.store-product-group strong{color:var(--navy);font-size:13px}.store-product-group span{margin-left:10px;color:var(--muted)}.store-product-group b{float:right;color:var(--muted);font-weight:500}.store-product-main{display:flex;align-items:center;gap:12px;min-width:260px}.store-product-main strong,.store-product-specs span{display:block}.store-product-main strong{max-width:340px;color:var(--navy);font-weight:600;overflow-wrap:anywhere}.store-product-specs{min-width:170px;line-height:1.65}.store-product-specs b{font-weight:600;color:var(--navy)}.mono-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--navy)}.store-product-list .pagination{padding:14px 18px}.store-product-list .tag{white-space:nowrap}
@media(max-width:800px){.store-product-filter-form{align-items:stretch;flex-direction:column}.store-product-filter-form .control,.store-product-filter-form [name="term"],.store-product-filter-form .btn{width:100%}.store-product-filter-form .grow{display:none}.store-product-group span{display:block;margin:4px 0 0}.store-product-group b{float:none;display:block;margin-top:4px}.store-product-list .pagination{justify-content:flex-start;flex-wrap:wrap}.store-product-list .pagination>span{white-space:nowrap}.store-product-list .pagination .control{flex-basis:100%;width:100%}}
/* 报价计算 */
.quote-form{padding:20px 24px;margin-bottom:16px}.quote-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.quote-field{display:flex;align-items:center;gap:8px;min-height:50px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;position:relative}.quote-field.wide{grid-column:span 2}.quote-label{font-size:13px;font-weight:600;white-space:nowrap;color:var(--navy)}.quote-input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13px;text-align:center}.quote-input:disabled{background:#f4f6f9;color:var(--muted);border-radius:6px;height:32px}.quote-affix,.quote-prefix{font-size:13px;color:var(--muted);white-space:nowrap}.quote-prefix{color:var(--navy)}.quote-unit,.quote-select-native{border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}.quote-select-native{flex:1;color:inherit}
.quote-seg{display:flex;flex:1;border:1px solid var(--line);border-radius:6px;overflow:hidden}.quote-seg button{flex:1;height:32px;border:0;background:#fff;font:inherit;font-size:13px;cursor:pointer}.quote-seg button.active{background:var(--brand);color:#fff}.quote-seg.small{flex:none}.quote-seg.small button{white-space:nowrap;height:24px;padding:0 10px;font-size:12px}
.quote-multi{flex:1;min-width:0;position:relative}.quote-select{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;background:transparent;font:inherit;font-size:13px;cursor:pointer;padding:0;height:32px}.quote-select:disabled{cursor:not-allowed;opacity:.6}.quote-placeholder{color:#a8abb2}.quote-chips{display:flex;gap:4px;overflow:hidden}.quote-chips em{font-style:normal;background:#eef1f6;border-radius:4px;padding:2px 8px;font-size:12px;white-space:nowrap}.quote-select .icon{width:14px;flex:none}
.quote-pop{position:absolute;z-index:30;left:-8px;right:-8px;top:40px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px rgba(20,30,60,.14);padding:8px}.quote-search{display:block;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:6px;height:30px;text-align:left;padding:0 8px;margin-bottom:6px}.quote-options{max-height:240px;overflow:auto}.quote-option{display:flex;align-items:center;gap:8px;padding:6px 8px;font-size:13px;cursor:pointer;border-radius:4px}.quote-option:hover{background:#f4f6f9}.quote-option[hidden]{display:none}.quote-empty-mini{text-align:center;color:var(--muted);font-size:12px;margin:12px 0}
.quote-toolbar{display:flex;align-items:center;gap:12px;padding:16px 24px;margin:0 0 16px;background:#fff;border:1px solid #dce5ef;border-radius:8px}.quote-rate{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:13px}.quote-pair{font-weight:700;font-size:12px}.quote-rate strong{font-size:17px}.quote-source{font-size:12px;color:var(--muted)}.quote-rate-input{flex:none;width:100px;border:1px solid var(--line);border-radius:6px;height:26px}
.quote-table-panel{padding:0;overflow:auto}.quote-table td,.quote-table th{vertical-align:top}.quote-table .num{text-align:right}.quote-mode strong{display:block}.quote-meta,.quote-table small{display:block;font-size:12px;color:var(--muted);margin-top:3px;font-weight:400}.quote-tags{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap}.quote-tags .quote-tag{font-style:normal;font-size:11px;padding:1px 7px;border-radius:4px;border:1px solid var(--line);color:var(--muted)}.quote-tags .quote-tag.ok{color:#1c8a4e;border-color:#b6e1c8}.quote-tags .quote-tag.warn{background:#e6a23c;border-color:#e6a23c;color:#fff}.quote-sort{border:0;background:none;font:inherit;font-weight:inherit;cursor:pointer;padding:0}.quote-sort span{color:#a8abb2;font-size:10px;margin-left:4px}.quote-sort.on span{color:var(--brand)}.quote-empty{text-align:center;color:var(--muted);padding:48px 0!important}
.quote-failures{margin-top:16px;padding:14px 18px;border-radius:8px;background:#fdf6ec;color:#b88230;font-size:13px}.quote-failures ul{margin:8px 0 0;padding-left:18px}
.quote-overlay{position:fixed;inset:0;z-index:80}.quote-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.45);cursor:default}.quote-drawer{position:absolute;top:0;right:0;bottom:0;width:min(1080px,96vw);background:#fff;padding:24px;display:flex;flex-direction:column;gap:16px;overflow:auto}.quote-drawer header{display:flex;justify-content:space-between;align-items:flex-start}.quote-drawer header small{color:var(--muted);letter-spacing:.1em;font-size:11px}.quote-drawer h2{margin:4px 0 0;font-size:18px;color:var(--navy)}.quote-records-filter{display:flex;gap:10px}.quote-records-filter .control{max-width:200px}.quote-drawer footer{display:flex;align-items:center;gap:12px;justify-content:flex-end;font-size:13px}
@media(max-width:1100px){.quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-toolbar{flex-wrap:wrap}.quote-rate{margin-left:0}}
.link-search{display:flex;gap:8px;margin:12px 0}.link-search .control{flex:1}.link-candidates{max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:8px}.link-candidate{display:flex;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line);cursor:pointer}.link-candidate:last-child{border-bottom:0}.link-candidate small{display:block;color:#7c8898;font-size:12px}.store-product-table td small{display:block;color:#7c8898;font-size:12px}
.region-price-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}.region-price-row .control{width:180px}
.lang-switch{display:inline-flex;border:1px solid #d1ddea;border-radius:6px;overflow:hidden;background:#fff;font-size:12px}.lang-switch button{border:0;background:transparent;padding:4px 10px;cursor:pointer;color:#5d7184;font:inherit}.lang-switch button.on{background:var(--brand);color:#fff}.lang-float{position:fixed;right:14px;bottom:14px;z-index:200;box-shadow:0 2px 8px rgba(15,23,42,.15)}
.product-table tr.product-main-row:has([data-select-product]:checked)>td{background:var(--brand-soft)}.product-table tr.product-main-row:has([data-select-product]:checked)>td:first-child{box-shadow:inset 3px 0 0 var(--brand)}
.link-candidate:hover{background:#f6f9fc}.link-candidate:has(input:checked){background:var(--brand-soft);box-shadow:inset 3px 0 0 var(--brand)}.link-candidate:has(input:checked) strong{color:var(--brand)}
.product-sub .text-btn.active{color:var(--brand)!important;background:var(--brand-soft)!important;font-weight:600}
