@import url('business-layout.css?v=74');
:root{color-scheme:light;--blue:#2468e8;--blue2:#1959ce;--bg:#f2f3f7;--surface:#fff;--soft:#f6f8fb;--soft2:#f1f6ff;--text:#253043;--muted:#596b84;--line:#e4e8ef;--line-2:#ccd5e2;--red:#b42318;--green:#15734b;--orange:#9a5709;--sidebar-width:186px;--motion:160ms}
*{box-sizing:border-box}html{min-height:100%;scrollbar-color:#bbc5d4 transparent;scrollbar-width:thin}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}body.modal-open,body.app-settings-open,body.drawer-open{overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--blue);text-underline-offset:3px}p{margin:4px 0 10px}h1,h2,h3{line-height:1.4;margin:0;font-weight:600}h1{font-size:20px}h2,.panel-title{font-size:15px;font-weight:600}h3{font-size:14px}svg{vertical-align:middle}::selection{background:#cfe0ff;color:#183d80}:focus-visible{outline:2px solid var(--blue);outline-offset:3px}input,textarea{caret-color:var(--blue)}[hidden],.hide{display:none!important}
.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:55;width:var(--sidebar-width);background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:0 10px 12px}.app-brand{height:58px;display:flex;align-items:center;gap:9px;padding:0 8px;border-bottom:1px solid var(--line);font-size:16px;font-weight:600;white-space:nowrap}.app-brand>svg{width:23px;height:23px;flex-shrink:0;color:var(--blue)}.app-nav{display:flex;flex-direction:column;gap:4px;padding-top:16px;overflow:auto;flex:1}.app-nav a{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 10px;border-radius:8px;color:#526079;text-decoration:none;white-space:nowrap}.app-nav a:hover{background:var(--soft)}.app-nav a.active{background:var(--soft2);color:var(--blue);font-weight:600}.app-nav-icon{width:18px;height:18px;flex:0 0 18px;display:grid;place-items:center}.app-nav-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-sidebar-bottom{padding:12px 4px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--soft);color:var(--text)}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-frame{margin-left:var(--sidebar-width);min-width:0;min-height:100vh}.app-page-header{position:sticky;top:0;z-index:30;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 22px;border-bottom:1px solid var(--line);background:#fff}.app-page-header .brand{font-size:18px;font-weight:600}.app-page-header h1{font-size:18px}.app-page-header .muted{display:none}.app-header-left,.app-header-actions{display:flex;align-items:center;gap:8px;min-width:0}.app-header-left>div{min-width:0}.app-header-actions{flex-shrink:0}.mobile-menu-button{display:none}.app-content{width:100%;max-width:1480px;padding:20px 22px 28px;margin:0 auto;min-width:0}.app-content[data-view-committed]{animation:view-enter var(--motion) ease-out}.sidebar-collapsed{--sidebar-width:64px}.sidebar-collapsed .app-nav-label,.sidebar-collapsed .app-brand span{display:none}.sidebar-collapsed .app-brand{padding:0;justify-content:center}.sidebar-collapsed .app-nav a{justify-content:center;padding:9px}.sidebar-collapsed .app-sidebar-bottom{flex-direction:column;padding-inline:0;align-items:center}.app-drawer-backdrop,.sidebar-close{display:none}@keyframes view-enter{from{opacity:.35}to{opacity:1}}
.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px;min-width:0;box-shadow:none}.card .card,.panel .card{background:var(--soft);border:0}.stack{display:grid;gap:14px;align-content:start}.grid,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.76fr);gap:16px;align-items:start}.order-aside{min-width:0;position:static}.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.settings-card-full{grid-column:1/-1}.settings-layout .settings-card-main,.settings-layout .settings-card-side{min-width:0}.section-headline,.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.muted,.hint,.panel-subtitle,.modal-desc{color:var(--muted);font-size:12px;line-height:1.6}.hint{margin-top:5px}.brand-block{display:flex;align-items:center}.field,.input-group{margin-bottom:12px;min-width:0}.field:last-child{margin-bottom:0}label{display:block;margin:0 0 5px;font-size:13px;font-weight:500;color:var(--text)}.input,.input-field,.count-input,.textarea,select,.site-select-search,.site-select-price-min,.site-select-price-max{display:block;width:100%;min-width:0;height:36px;padding:7px 10px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);font-size:14px;line-height:20px;box-shadow:none;appearance:none}.input::placeholder,.input-field::placeholder,.textarea::placeholder,input::placeholder{color:#596b84;opacity:1}.input:focus,.input-field:focus,.count-input:focus,.textarea:focus{border-color:var(--blue);outline:2px solid color-mix(in srgb,var(--blue) 16%,transparent);outline-offset:1px}.textarea,textarea.input-field{height:auto;min-height:96px;resize:vertical;line-height:1.65}.row,.btn-row,.input-mini-actions,.compact-actions,.modal-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn,.nav a,.history-tab,.workorder-tab,.theme-marquee-speeds button,.theme-ratio-dots button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;width:auto;max-width:100%;padding:6px 12px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);font-size:13px;font-weight:500;line-height:20px;text-decoration:none;box-shadow:none;white-space:normal}.btn:hover{background:var(--soft)}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue2);border-color:var(--blue2)}.btn-soft{background:var(--soft2);color:var(--blue);border-color:#dce8fc}.btn-danger{background:#fff5f4;color:var(--red);border-color:#f3ccc6}.btn-success{background:#edf8f2;color:var(--green);border-color:#cce5d7}.btn-link{background:transparent;border-color:transparent;color:var(--blue);padding-inline:0}.btn-full{width:100%}.btn-tiny,.btn-small{min-height:30px;font-size:12px;padding:4px 9px}.btn svg{width:16px;height:16px;flex-shrink:0}.nav{display:flex;gap:6px;flex-wrap:wrap}.count-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.count-row>.input-group{width:100px;margin-bottom:0}.count-row .btn-row{flex:1}.input-mini-actions{margin-top:8px}.password-control{position:relative;width:100%;min-width:0}.password-control>input{padding-right:44px;margin:0}.password-toggle{position:absolute;right:1px;top:1px;width:38px;height:34px;min-height:34px;padding:0;border:0;background:transparent;color:var(--muted);border-radius:7px;display:grid;place-items:center}.password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-toggle:hover{color:var(--blue);background:var(--soft)}
.mini-switch{position:relative;display:inline-flex;width:36px;height:22px;flex:0 0 36px;margin:0;cursor:pointer}.mini-switch input{position:absolute;width:100%;height:100%;margin:0;opacity:0;z-index:2;cursor:pointer}.mini-switch-slider{display:block;position:absolute;inset:0;border:0;border-radius:20px;background:#aab5c5;box-shadow:none}.mini-switch-slider:before{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;transform:translateX(0);transition:transform var(--motion) ease-out}.mini-switch input:checked+.mini-switch-slider{background:var(--blue)}.mini-switch input:checked+.mini-switch-slider:before{transform:translateX(14px)}.mini-switch input:focus-visible+.mini-switch-slider{outline:2px solid var(--blue);outline-offset:3px}.mini-switch input:disabled+.mini-switch-slider{opacity:.5}.mini-check,.checkline,.card-save-check{display:inline-flex;align-items:center;gap:7px;min-height:32px;margin:0;font-size:13px}.mini-check input[type=checkbox],.checkline input[type=checkbox],input[type=checkbox]:not(.mini-switch input){appearance:none;position:relative;width:16px;height:16px;flex:0 0 16px;border:1px solid #9aa8bc;border-radius:4px;background:#fff;margin:0;vertical-align:middle;cursor:pointer}.mini-check input:checked,.checkline input:checked,input[type=checkbox]:checked:not(.mini-switch input){background:var(--blue);border-color:var(--blue);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.mini-check input:indeterminate,input[type=checkbox]:indeterminate:not(.mini-switch input){background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat}.setting-switch-card,.inline-switch-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);background:transparent;border-radius:0}.setting-switch-card:last-child{border-bottom:0}.setting-switch-card>.mini-switch{margin-right:4px}.switch-title{font-size:13px;font-weight:500}.setting-switch-card .hint{margin-top:2px}.setting-switch-card+.form-grid{margin-top:12px}
.pill,.badge{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid var(--line);border-radius:6px;background:var(--soft);color:#526079;font-size:11px;line-height:19px;white-space:nowrap;font-weight:500}.pill-ok,.badge-success,.badge.ok{color:var(--green);background:#edf8f2;border-color:#cce5d7}.pill-err,.badge-danger,.badge.err{color:var(--red);background:#fff4f2;border-color:#f3ccc6}.pill-warn,.badge-warning{color:var(--orange);background:#fff9ed;border-color:#efddb8}.status,.status-bar{display:none;margin-top:10px;padding:9px 11px;border-radius:8px;background:var(--soft2);border:1px solid #dce8fc;color:#244c91;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.status.show,.status-bar.show{display:block}.status.ok,.status-bar.success,.status-bar.ok{color:var(--green);background:#edf8f2;border-color:#cce5d7}.status.err,.status-bar.error,.status-bar.err{color:var(--red);background:#fff4f2;border-color:#f3ccc6}.status.warn,.status-bar.warning{color:var(--orange);background:#fff9ed;border-color:#efddb8}.pre,pre{margin:8px 0 0;min-height:52px;max-height:300px;overflow:auto;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:10px;font:12px/1.65 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.mono,code{font-family:Consolas,"Microsoft YaHei UI",monospace;font-variant-numeric:tabular-nums}.panel-empty,.history-empty,.saved-original-empty{background:var(--soft);border:1px dashed var(--line-2);border-radius:8px;padding:18px 12px;text-align:center;color:var(--muted);font-size:13px}.panel-empty strong{font-weight:500}.settings-save-bar-optimized{position:sticky;bottom:12px;z-index:12;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;background:#fff;box-shadow:0 6px 20px rgba(24,39,65,.08)}.settings-save-bar-optimized .status{flex:1;margin:0}.settings-api-note,.advanced-settings-group{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px}.settings-api-link{display:inline-flex;margin:6px 5px 0 0;width:auto}.settings-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.settings-textarea-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settings-advanced-card summary,details>summary{cursor:pointer;color:var(--text);font-weight:500;line-height:1.65}.settings-advanced-card summary{font-size:15px}.security-help{margin-top:12px}.security-help summary{font-size:12px;color:var(--muted)}.recovery-result{margin-top:12px;background:#f0f7ff;border:1px solid #d2e2fa;border-radius:10px;padding:12px;overflow-wrap:anywhere}.recovery-result code{display:block;margin:10px 0;font-size:14px;color:#174eaa;user-select:all}.recovery-result .row{margin-top:8px}
.info-grid,.form-grid{min-width:0}.info-item,.info-cell{padding:8px;background:var(--soft);border-radius:7px}.info-label{color:var(--muted);font-size:12px}.info-value{font-size:13px;overflow-wrap:anywhere}.contact-order-item,.history-item,.api-profile-card,.stock-platform-card,.card-item,.workorder-item{border:1px solid var(--line);border-radius:9px;padding:10px;background:#fff;min-width:0}.contact-order-item.active,.history-tab.active,.workorder-tab.active{background:var(--soft2);border-color:#cbdffc;color:var(--blue)}.history-item-meta,.api-profile-sub,.api-profile-url,.contact-order-meta{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.card-item-text,.card-text{overflow-wrap:anywhere}.reissue-operator-strip{display:flex;align-items:center;gap:8px;padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.reissue-operator-strip strong{color:var(--text);font-weight:500}.reissue-operator-strip code{font-size:11px}.order-query-advanced{margin-top:10px}.order-query-advanced-content{margin-top:6px}.order-query-advanced summary{font-size:12px;color:var(--muted)}.saved-original-toolbar{margin-bottom:10px}.cards-section{margin-top:12px}.cards-list,.history-list,.api-profile-list{display:grid;gap:8px}.workorder-actions{display:flex;flex-wrap:wrap;gap:8px}.card-item-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-wrap,.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}th{font-size:12px;font-weight:500;color:var(--muted);background:var(--soft)}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.dashboard-stat-label,.dashboard-subtitle{color:var(--muted)}.dashboard-stat-value{color:var(--text);font-weight:600}.dashboard-stat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.dashboard-ring{border-radius:50%}
.modal-overlay,.app-settings-overlay{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(24,35,53,.3)}.modal-overlay.show,.app-settings-overlay.show{display:flex}.modal-box,.app-settings-panel{position:relative;width:min(620px,100%);max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border:0;border-radius:16px;padding:22px;box-shadow:0 16px 48px rgba(24,39,65,.16)}.modal-title{font-size:17px;font-weight:600;margin-bottom:8px}.modal-actions{justify-content:flex-end;margin-top:16px}.modal-actions .btn{width:auto;flex:0 1 auto}.modal-desc{margin-bottom:14px}.modal-overlay.show .modal-box,.app-settings-overlay.show .app-settings-panel{animation:dialog-enter var(--motion) ease-out}.app-settings-panel{width:min(710px,100%)}.app-settings-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.app-settings-title{font-size:18px;font-weight:600}.app-settings-section+.app-settings-section{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.app-settings-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;margin-bottom:10px}.app-settings-section-title small{font-size:12px;font-weight:400;color:var(--muted)}.app-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.app-page-choice{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;border:1px solid transparent;text-decoration:none;color:var(--text);min-width:0}.app-page-choice:hover,.app-page-choice.active{background:var(--soft2)}.app-page-choice-icon{width:20px;height:20px;flex:0 0 20px;color:var(--muted)}.app-page-choice-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.app-page-choice-copy{flex:1;min-width:0}.app-page-choice-copy strong{display:block;font-size:13px;font-weight:500}.app-page-choice-copy small,.app-page-choice-arrow{display:none}.app-page-choice em{font-size:11px;font-style:normal;color:var(--blue)}.theme-wheel-layout{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.theme-wheel-shell{position:relative;width:176px;height:176px;flex:0 0 176px}.theme-wheel-shell canvas{width:176px;height:176px;border-radius:50%;touch-action:none}.theme-wheel-marker{position:absolute;width:12px;height:12px;margin:-6px;border:2px solid white;border-radius:50%;pointer-events:none;box-shadow:0 1px 4px #56657d}.theme-wheel-center{display:none}.theme-ratio-card{flex:1;min-width:180px}.theme-color-readout{display:flex;flex-direction:column;gap:6px}.theme-color-readout small{color:var(--muted);font-size:12px}.theme-color-input{width:130px;min-width:0}.theme-ratio-dial{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:12px;color:var(--muted)}.theme-ratio-dial strong{font-size:14px;color:var(--text);font-weight:500}.theme-ratio-dots,.theme-marquee-speeds{display:flex;flex-wrap:wrap;gap:6px}.theme-ratio-dots button,.theme-marquee-speeds button{min-height:28px;padding:3px 8px;font-size:12px}.theme-ratio-dots button.active,.theme-marquee-speeds button.active{background:var(--soft2);border-color:#cbdffc;color:var(--blue)}.theme-marquee-card{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.theme-marquee-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0}.theme-marquee-head strong{font-size:13px;font-weight:500}.theme-marquee-head small{display:block;color:var(--muted);font-size:12px}.theme-marquee-colors,.theme-marquee-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.theme-marquee-chip{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}.theme-marquee-chip-main{display:flex;align-items:center;gap:5px;background:#fff;color:var(--text);border:0;font-size:12px;padding:5px 7px}.theme-marquee-chip-main i{width:14px;height:14px;background:var(--swatch);border-radius:4px}.theme-marquee-chip-remove{border:0;background:var(--soft);padding:0 5px}.theme-opacity-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.theme-opacity-control{font-size:12px}.theme-opacity-control>span{display:flex;justify-content:space-between;gap:8px}.theme-opacity-control b{font-weight:500}.theme-opacity-control em{font-style:normal;color:var(--muted)}.theme-opacity-control input{width:100%;accent-color:var(--blue)}.app-quick-grid{display:flex;flex-wrap:wrap;gap:8px}.app-quick-btn>span{display:none}.app-settings-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:8px;background:var(--soft);color:var(--text)}.app-settings-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}@keyframes dialog-enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.site-select{position:relative;width:100%;min-width:0}.site-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:36px;padding:7px 10px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);font-size:14px;text-align:left;line-height:20px}.site-select-trigger-text{flex:1;min-width:0;overflow-wrap:anywhere}.site-select-arrow{width:14px;height:14px;flex:0 0 14px;display:grid;place-items:center}.site-select-arrow svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.site-select-portal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(24,35,53,.18);border:0;padding:0}.site-select-portal-menu{position:fixed;z-index:121;display:flex;flex-direction:column;width:min(420px,calc(100vw - 24px));max-height:70dvh;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:0 12px 36px rgba(24,39,65,.16)}.site-select-menu-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.site-select-menu-head strong{font-size:14px;font-weight:600}.site-select-head-actions{display:flex;gap:6px}.site-select-close,.site-select-search-toggle,.site-select-filter-reset{background:var(--soft);border:0;border-radius:7px;min-width:30px;min-height:30px;color:var(--text)}.site-select-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.site-select-search-wrap{display:flex;align-items:center;gap:8px;margin-bottom:8px}.site-select-search{font-size:13px;height:34px}.site-select-search::-webkit-search-cancel-button{appearance:none}.site-select-count{font-size:12px;color:var(--muted);white-space:nowrap}.site-select-options{display:flex;flex-direction:column;flex:1 1 auto;gap:4px;overflow:auto;min-height:0;max-height:45dvh;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable}.site-select-option{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px;border:0;border-radius:7px;background:#fff;color:var(--text);text-align:left;font-size:13px}.site-select-option:hover,.site-select-option.active,.site-select-option.selected,.site-select-option[aria-selected=true]{background:var(--soft2);color:var(--blue)}.site-select-option-main{min-width:0;overflow-wrap:anywhere}.site-select-option small,.site-select-option-meta{font-size:12px;color:var(--muted)}.site-select-empty{padding:18px 10px;color:var(--muted);text-align:center}.site-select-price-filter,.site-select-status-filter,.site-select-api-filter{display:flex;align-items:center;gap:6px;margin:6px 0}.site-select-price-filter input{width:90px;height:30px;font-size:12px}.site-select-status-filter button,.site-select-api-filter button{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:4px 8px;color:var(--text);font-size:12px}.site-select-status-filter button.active,.site-select-api-filter button.active{background:var(--soft2);color:var(--blue)}
.login-page .shell{width:100%;min-height:100dvh;display:grid;place-items:center;padding:20px}.login-wrap{width:min(420px,100%)}.login-card{width:100%;padding:28px}.login-card>h1{font-size:22px;margin-bottom:6px}.login-card form{margin-top:20px}.login-card form .btn-link{display:flex;margin-top:10px;margin-left:auto}.login-card .grid{grid-template-columns:1fr}.login-wrap:has(#menuCard:not(.hide)){width:min(900px,100%)}.menu-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.menu-card h2{font-size:14px}
#appThemeFlowLayer{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:var(--theme-background-opacity,1);background:var(--bg)}html[data-theme-rainbow="1"] #appThemeFlowLayer{background-image:var(--theme-rainbow-gradient);background-size:200% 200%;animation:theme-colors var(--theme-rainbow-bg-speed,8s) ease-in-out infinite;opacity:calc(var(--theme-background-opacity,1) * .18)}html[data-theme-button-rainbow="1"] .btn-primary{background-image:var(--theme-rainbow-gradient);background-size:200% 200%;animation:theme-colors var(--theme-rainbow-button-speed,4s) ease-in-out infinite;color:#172d49;border-color:transparent}@keyframes theme-colors{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.site-select-portal-menu{top:50%;left:50%;transform:translate(-50%,-50%)}.dashboard-date{font-size:12px;color:var(--muted);margin-left:8px}.dashboard-hero-panel{display:flex;align-items:center;gap:24px;padding:20px;border:1px solid var(--line);border-radius:13px;background:#fff}.dashboard-main-dial,.dashboard-mini-dial{position:relative;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--dial-value,0)*1%),#e8eef8 0);width:170px;height:170px;padding:10px}.dashboard-dial-core,.dashboard-mini-dial>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.dashboard-dial-core strong{font-size:28px;font-weight:600}.dashboard-dial-core span,.dashboard-dial-core em,.dashboard-mini-dial span{font-size:12px;color:var(--muted);font-style:normal}.dashboard-dial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-mini-dial-card{display:grid;place-items:center;padding:14px;background:#fff;border:1px solid var(--line);border-radius:13px}.dashboard-mini-dial{width:108px;height:108px;padding:6px}.dashboard-mini-dial strong{font-size:22px;font-weight:600}.dashboard-mini-dial.danger{background:conic-gradient(var(--red) calc(var(--dial-value,0)*1%),#f7e9e7 0)}.dashboard-hero-copy p{font-size:13px;color:var(--muted);margin-top:8px}.dashboard-kicker{display:none}.dashboard-live-badge{font-size:12px;color:var(--muted)}.dashboard-day-track{height:5px;border-radius:4px;background:var(--soft2);overflow:hidden}.dashboard-day-track i{display:block;height:100%;background:var(--blue);border-radius:4px}.dashboard-day-item small{color:var(--muted);font-size:12px}.dashboard-customer-item,.dashboard-recent-item{padding:10px 0;border-bottom:1px solid var(--line)}.dashboard-customer-main code,.dashboard-customer-numbers span,.dashboard-customer-amount span,.dashboard-recent-meta,.dashboard-recent-customer-id{font-size:12px;color:var(--muted)}.dashboard-customer-rank{color:var(--muted);font-size:12px}.dashboard-empty{font-size:13px;color:var(--muted);padding:14px 0}.dashboard-recent-head em{font-size:12px;font-style:normal}.dashboard-recent-head .success{color:var(--green)}.dashboard-recent-head .fail{color:var(--red)}.cross-sync-target-check,.cross-sync-category-check,.cross-sync-goods-check{font-size:0;border:1px solid var(--line-2);border-radius:4px;background:#fff}.cross-sync-target-card.selected .cross-sync-target-check,.cross-sync-category-check-wrap input:checked+.cross-sync-category-check,.cross-sync-goods-row input:checked+.cross-sync-goods-check{background:var(--blue) center/16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E");border-color:var(--blue)}
@media(max-width:1100px){.order-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr)}.app-content{padding:16px}.settings-three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.order-layout,.settings-layout{grid-template-columns:1fr}.settings-card-full{grid-column:auto}.settings-three-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-page-header{padding-inline:16px}}
@media(max-width:760px){:root,.sidebar-collapsed{--sidebar-width:186px}.app-frame{margin-left:0}.app-sidebar{width:220px;transform:translateX(-100%);transition:transform var(--motion) ease-out;padding-inline:12px}.drawer-open .app-sidebar{transform:translateX(0)}.drawer-open .app-drawer-backdrop{display:block;position:fixed;inset:0;z-index:54;background:rgba(24,35,53,.28);border:0}.app-brand{justify-content:space-between}.app-brand>svg{display:none}.sidebar-collapsed .app-brand span,.sidebar-collapsed .app-nav-label{display:inline}.sidebar-collapsed .app-nav a{justify-content:flex-start;padding:8px 10px}.sidebar-collapsed .app-sidebar-bottom{flex-direction:row;justify-content:flex-start}.app-sidebar .sidebar-collapse{display:none}.sidebar-close,.mobile-menu-button{display:inline-flex}.app-page-header{min-height:56px;padding:6px 10px;gap:8px}.app-header-left{gap:4px}.app-page-header .brand,.app-page-header h1{font-size:16px}.icon-button{width:40px;height:40px;min-height:40px;flex-basis:40px}.app-header-actions{gap:0}.app-content{padding:12px 10px 24px}.card,.panel{padding:12px;border-radius:12px}.grid,.form-grid{gap:10px}.stack,.settings-layout,.order-layout{gap:12px}.btn{min-height:34px;padding:6px 10px;font-size:13px}.row,.btn-row,.input-mini-actions,.compact-actions{gap:10px}.field,.input-group{margin-bottom:12px}.input,.input-field,.count-input,.textarea,select,.site-select-trigger{font-size:16px;min-height:38px}.password-toggle{height:36px}.password-control>input{padding-right:44px}.muted,.hint,.panel-subtitle{font-size:12px}.section-headline,.panel-header{margin-bottom:10px}.settings-three-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-save-bar-optimized{position:static;padding:10px}.settings-save-bar-optimized .status{flex-basis:100%}.settings-textarea-grid{grid-template-columns:1fr}.modal-overlay,.app-settings-overlay{padding:12px}.modal-box,.app-settings-panel{padding:16px;max-height:calc(100dvh - 24px);border-radius:15px}.modal-actions{gap:10px}.app-page-grid{gap:2px}.theme-wheel-layout{gap:12px}.theme-wheel-shell{margin:auto}.theme-ratio-card{min-width:140px}.theme-opacity-grid{grid-template-columns:1fr}.app-settings-section-title{flex-wrap:wrap;gap:4px}.app-page-choice{padding:8px 5px;gap:7px}.app-page-choice em{display:none}.theme-marquee-actions .btn{font-size:12px}.login-card{padding:22px}.mini-switch:after{content:"";position:absolute;inset:-11px -4px}.mini-switch input{height:44px;top:-11px}.count-row{gap:10px}.reissue-operator-strip{flex-wrap:wrap;gap:4px 8px}.settings-api-link{width:auto}.site-select-portal-menu{max-height:80dvh}.site-select-option{min-height:44px}.site-select-close{width:36px;height:36px}.status,.status-bar{font-size:13px}.app-nav a{min-height:44px}}
@media(max-width:760px){.dashboard-hero-panel{padding:14px;gap:14px;align-items:flex-start}.dashboard-main-dial{width:126px;height:126px;padding:7px}.dashboard-dial-core strong{font-size:22px}.dashboard-hero-copy{min-width:0}.dashboard-hero-copy h2{font-size:14px}.dashboard-hero-copy p{font-size:12px}.dashboard-dial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-mini-dial{width:86px;height:86px;padding:5px}.dashboard-mini-dial-card{padding:10px}.dashboard-date{display:none}.app-page-header .app-header-actions>.btn{padding-inline:8px;font-size:12px}}
@media(max-width:380px){.form-grid,.grid{grid-template-columns:1fr}.app-header-actions .app-account-button{display:none}.count-row>.input-group{width:76px}.count-row .btn-row{gap:6px}.btn{padding-inline:9px}.theme-wheel-layout{flex-direction:column}.theme-ratio-card{width:100%}.app-page-grid{grid-template-columns:1fr}.dashboard-main-dial{width:104px;height:104px}.dashboard-hero-panel{gap:10px}}
.app-brand>svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.textarea-field{display:block;width:100%;min-width:0;min-height:100px;padding:9px 10px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);font-size:14px;line-height:1.65;resize:vertical}.order-layout{display:block;max-width:1160px;margin-inline:auto}.order-layout>.stack{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.order-page #singleOrderCard{display:block;padding:16px}.order-page #singleOrderCard .main-input{width:100%;padding:8px 10px;height:40px}.order-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.order-search-row>.btn{min-width:72px;height:40px}.order-page #singleOrderCard .input-mini-actions{display:flex;position:static;margin-top:6px;gap:8px}.order-page #singleOrderCard .order-reissue-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding-top:12px;border-top:1px solid var(--line);margin-top:12px}.order-page #singleOrderCard .order-reissue-row>.input-group{width:88px;margin:0}.order-page #singleOrderCard .order-reissue-row .btn-row{display:flex;gap:8px;flex:0 1 auto;width:auto}.order-query-advanced{margin-top:8px}.order-query-advanced-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-query-advanced-content .inline-switch-card{margin:0}.order-page .order-detail-panel{min-height:0}.order-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.order-result-heading>strong{min-width:0;overflow-wrap:anywhere;font-size:15px;font-weight:600}.order-result-heading>.badge{flex:none}.order-result-columns{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);gap:20px;padding-top:12px}.order-summary{min-width:0}.order-page .order-product-info-grid,.order-page .count-info-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0}.order-page .order-product-info-grid{margin-bottom:12px}.order-summary .info-item{background:transparent;padding:0;min-width:0}.order-summary .info-item.full{grid-column:1/-1}.order-summary .info-value{font-size:14px;line-height:1.6}.order-page .order-result-columns>.cards-section{margin:0;min-width:0;padding:0 0 0 20px;border-left:1px solid var(--line)}.order-page .cards-head{flex-wrap:wrap;gap:8px;margin-bottom:10px}.order-page .cards-section .card-item{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px;background:var(--soft);border:0;border-radius:8px}.order-page .cards-section .card-item-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;width:auto}.order-page .card-item-actions .card-tag{margin-right:auto}.order-page .card-item-actions .card-copy-btn{width:auto;min-width:54px}.order-page .card-text{font-size:14px;line-height:1.6;user-select:text}.order-page .contact-order-head{flex-wrap:wrap;gap:10px}.order-page .contact-order-head>div:first-child{min-width:0;flex:1 1 240px}.order-page .contact-order-actions{display:flex;flex:none;flex-wrap:wrap;gap:8px}.order-page .contact-order-meta>span{white-space:normal;overflow-wrap:anywhere}.clipboard-dialog .textarea-field{margin-top:12px;min-height:100px}.order-detail-panel>.panel-header{align-items:center}.order-detail-panel>.panel-header .badge{max-width:45%;overflow-wrap:anywhere;white-space:normal}.order-detail-panel>.panel-header .panel-subtitle{overflow-wrap:anywhere}
.pending-inline-empty,.global-reissue-empty,.global-reissue-summary{font-size:12px;color:var(--muted);padding:10px 0}.site-dialog{width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:var(--text);border:0;border-radius:16px;padding:22px;box-shadow:0 16px 48px rgba(24,39,65,.16)}.site-dialog::backdrop{background:rgba(24,35,53,.3)}.site-dialog h2{font-size:17px;margin-bottom:12px}.site-dialog p{font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.site-dialog .row{justify-content:flex-end;margin-top:18px}.site-dialog .input{margin-top:12px}
@media(max-width:760px){.order-page #singleOrderCard{padding:12px}.order-page #singleOrderCard .main-input,.textarea-field{font-size:16px}.order-page #singleOrderCard .count-row{gap:10px}.order-page #singleOrderCard .count-row .btn-row{gap:8px}.site-dialog{padding:18px}}
.goods-editor-screen{position:fixed;inset:0;overflow:auto;z-index:80;background:var(--bg)}.goods-editor-brandbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.goods-editor-brandbar .brand{font-size:18px;font-weight:600}.goods-editor-crumb{background:var(--bg);border-bottom:1px solid var(--line)}.goods-editor-back{background:transparent;border:0;color:var(--blue);font-size:13px}.goods-editor-form{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.goods-native-section{padding:16px;border-bottom:1px solid var(--line)}.goods-native-label,.goods-native-section-title{font-size:14px;font-weight:600;margin-bottom:10px}.goods-native-help,.goods-cover-info,.goods-editor-crumb-meta,.goods-editor-save-note{font-size:12px;color:var(--muted)}.required-star{color:var(--red)}.goods-editor-toolbar,.goods-publish-editor-toolbar{display:flex;flex-wrap:wrap;gap:4px;min-height:34px;padding:5px;border:1px solid var(--line-2);border-bottom:0;border-radius:8px 8px 0 0;background:var(--soft)}.goods-editor-toolbar button,.goods-publish-editor-toolbar button{min-width:30px;min-height:30px;padding:4px 7px;border:0;border-radius:5px;background:transparent;color:var(--text);font-size:13px}.goods-editor-toolbar button:hover,.goods-publish-editor-toolbar button:hover{background:var(--soft2)}.goods-native-rich-editor,.goods-publish-editor{border:1px solid var(--line-2);border-radius:0 0 8px 8px;background:#fff;padding:12px;min-height:150px;font-size:14px;line-height:1.7}.goods-native-rich-editor-small,.goods-publish-editor-small{min-height:110px}.goods-native-rich-editor:empty:before,.goods-publish-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.goods-editor-actions{background:#fff;padding:10px 14px;border-top:1px solid var(--line)}.goods-editor-image-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.goods-editor-image-tools button{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);padding:4px 7px;font-size:12px}.goods-color-backdrop{background:rgba(24,35,53,.3)}.goods-color-dialog{background:#fff;color:var(--text);border-radius:16px;box-shadow:0 16px 48px rgba(24,39,65,.16);max-height:calc(100dvh - 24px);overflow:auto}.goods-color-close{border:0;border-radius:7px;background:var(--soft);color:var(--text)}.goods-color-head strong{font-size:15px}.goods-color-head span,.goods-color-preview-card>span{font-size:12px;color:var(--muted)}.goods-color-wheel,.goods-color-wheel canvas{border-radius:50%}.goods-color-wheel-knob{border:2px solid white;border-radius:50%;box-shadow:0 1px 4px #56657d}.goods-color-value-row{flex-wrap:wrap}.goods-color-value-row button{border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);font-size:12px}.goods-color-swatch{border:1px solid var(--line);border-radius:5px}.goods-color-preview-card{background:var(--soft);border-radius:9px}.goods-color-preview-card>strong{font-size:16px;font-weight:500}.goods-color-actions{display:flex;justify-content:flex-end;gap:8px}.goods-cover-box{border:1px solid var(--line);border-radius:9px;background:var(--soft)}
.goods-color-value-row .goods-color-hex{width:110px;height:32px;font-size:13px;margin-right:auto}.goods-color-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
#pageSecurityCard .form-grid:has(#pageCurrentPasswordRow.hide){grid-template-columns:1fr;max-width:580px}
@media(max-width:760px){.grid,.compact-grid,.stock-page-grid,.bottom-stock-grid{grid-template-columns:1fr}.app-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-page-choice-copy strong{font-size:12px}.app-settings-panel{background:#fff;opacity:1}.dashboard-dial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-dialog .input{font-size:16px}}
@media(prefers-reduced-motion:reduce){:root{--motion:0ms}.app-content[data-view-committed],.modal-overlay.show .modal-box,.app-settings-overlay.show .app-settings-panel,html[data-theme-rainbow="1"] #appThemeFlowLayer,html[data-theme-button-rainbow="1"] .btn-primary{animation:none}.mini-switch-slider:before,.app-sidebar{transition:none}}
@media(prefers-reduced-transparency:reduce){.modal-overlay,.app-settings-overlay{background:#e5e9f0}.app-settings-panel,.modal-box{background:#fff}}

/* V72: task-oriented workspaces; shared colors and controls remain owned above. */
.workspace-tabs{display:flex;align-items:center;gap:20px;min-height:44px;border-bottom:1px solid var(--line);margin:0 0 16px;padding:0 2px;flex-wrap:wrap}
.workspace-tabs [role=tab]{min-height:44px;padding:8px 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:500;white-space:nowrap}
.workspace-tabs [aria-selected=true]{color:var(--blue2);border-bottom-color:var(--blue)}
.workspace-tab-panel{min-width:0}.workspace-tab-panel>.card+.card{margin-top:14px}
.settings-layout:has(>.workspace-tabs){display:block}.settings-layout .workspace-tab-panel>.card{max-width:1100px}
#settings-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
#settings-rules>.card{margin:0}#settings-rules>.settings-card-full,#settings-rules>.settings-save-bar{grid-column:1/-1}
.workspace-details{border:1px solid var(--line);border-radius:10px;margin-top:14px;background:var(--surface)}
.workspace-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;font-size:13px;font-weight:500;cursor:pointer}
.workspace-details>summary::-webkit-details-marker{display:none}.workspace-details>summary::after{content:'';width:14px;height:14px;flex:0 0 14px;background:center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23596b84' stroke-width='1.7'/%3E%3C/svg%3E")}.workspace-details[open]>summary::after{transform:rotate(180deg)}
.details-content{padding:2px 12px 12px}.details-content>.field:last-child{margin-bottom:0}.details-content .section-headline{margin-top:8px}
.app-nav-group>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 10px;color:#526079;cursor:pointer;border-radius:8px}
.app-nav-group>summary::-webkit-details-marker{display:none}.app-nav-group>summary:hover{background:var(--soft)}.nav-chevron{width:14px;height:14px;margin-left:auto;flex:0 0 14px}.nav-chevron svg{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}.app-nav-group[open] .nav-chevron{transform:rotate(180deg)}
.app-nav-children{margin:3px 0 6px 10px;border-left:1px solid var(--line);padding-left:5px}.app-nav-children a{min-height:35px;font-size:13px;padding-left:12px}.app-nav-children .app-nav-icon{display:none}
.sidebar-collapsed .app-nav-group>summary{justify-content:center;padding-inline:0}.sidebar-collapsed .app-nav-group .nav-chevron{display:none}.sidebar-collapsed .app-nav-children{margin-left:0;padding-left:0;border:0}.sidebar-collapsed .app-nav-children .app-nav-icon{display:grid}.sidebar-collapsed .app-nav-children a{padding-inline:0}
.dialog-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.dialog-title-row h2{margin:0}.platform-editor{width:min(580px,calc(100vw - 24px))}.platform-editor .profile-switch-row{margin:12px 0}.platform-editor .compact-actions{margin-top:16px;justify-content:flex-end}
#platformSettingsCard>.section-headline>div{margin-right:auto}#platformList{display:flex;flex-direction:column;gap:0}#platformList>.api-profile-card{border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 0;background:transparent;box-shadow:none}.platform-account{font-size:12px;color:var(--muted)}#platformList .api-profile-badges{gap:8px}
.order-entry>.workspace-tabs{margin-bottom:14px;gap:20px}.order-entry .workspace-tab-panel>.count-row{display:flex;align-items:flex-end;gap:12px}.order-entry .input-mini-actions{display:flex;gap:8px;margin-top:8px}.order-page #singleOrderCard .order-entry .main-input{padding:8px 10px}.order-entry #batchPanels:empty{display:none}
.complaint-workspace{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(320px,1.1fr);gap:16px;align-items:start}.complaint-running,.complaint-replies{min-width:0}.runtime-overview{padding:0 0 14px;margin:0 0 12px;border-bottom:1px solid var(--line)}.runtime-overview .py-runtime-heading{display:none}.runtime-overview .py-runtime-head{justify-content:flex-end;margin-bottom:8px}.runtime-overview .py-runtime-live{padding:10px;background:var(--soft);border:0;border-radius:8px}.py-runtime-live-meta{overflow-wrap:anywhere}.complaint-running>.workspace-details,.complaint-replies>.workspace-details{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}.complaint-running>.workspace-details>summary,.complaint-replies>.workspace-details>summary{padding-inline:0}.complaint-running>.workspace-details>.details-content,.complaint-replies>.workspace-details>.details-content{padding-inline:0}
.workspace-savebar{display:flex;align-items:center;gap:8px;justify-content:flex-end;margin-bottom:12px}.workspace-savebar>.status{margin:0 auto 0 0;order:-1}.workspace-savebar>.status:empty{display:none}.complaint-bulk-card{margin:16px 0}.complaint-history-card{margin-top:16px}
.stock-manual-placeholder:empty{display:none}#stock-manual>.card{max-width:900px}#stock-api{display:block}#stock-api>.card{margin:0}.api-usage{margin-top:14px}.api-usage .details-content>.section-headline h2{display:none}.api-usage .details-content>.section-headline{justify-content:flex-end}
.goods-count-summary{display:flex;gap:18px;flex-wrap:wrap;padding:10px 0;color:var(--muted)}.goods-count-summary>.goods-status-stat{display:flex;align-items:center;gap:6px;padding:0;background:transparent;border:0}.goods-count-summary strong{font-size:14px;color:var(--text);font-weight:600}.goods-count-summary span{font-size:12px}
.theme-effects{margin-top:16px}.theme-effects .theme-marquee-card{border:0;padding-top:4px;margin:0}.theme-effects>summary{font-size:13px}.app-settings-panel{width:min(560px,calc(100vw - 24px))}
@media(max-width:1000px){.complaint-workspace{grid-template-columns:1fr}#settings-rules{grid-template-columns:1fr}}
@media(max-width:760px){.workspace-tabs{gap:18px;margin-bottom:12px}.workspace-tabs [role=tab]{font-size:13px}.app-nav-group>summary{min-height:44px}.app-nav-children a{min-height:44px}.sidebar-collapsed .app-nav-group .nav-chevron{display:block}.sidebar-collapsed .app-nav-group>summary{justify-content:flex-start;padding:8px 10px}.sidebar-collapsed .app-nav-children{margin-left:10px;border-left:1px solid var(--line);padding-left:5px}.sidebar-collapsed .app-nav-children .app-nav-icon{display:none}.sidebar-collapsed .app-nav-children a{padding-left:12px}.complaint-workspace{gap:12px}.platform-editor{padding:16px}.platform-editor .form-grid{grid-template-columns:1fr}.runtime-overview .py-runtime-actions{gap:8px}.order-entry .workspace-tab-panel>.count-row{gap:10px}.workspace-savebar{flex-wrap:wrap}.workspace-savebar>.status:not(:empty){flex-basis:100%}.theme-effects .theme-marquee-card{padding-inline:10px}#platformList>.api-profile-card{gap:10px}#platformList .api-profile-actions{flex-wrap:wrap}}

.order-records{grid-column:1/-1}.order-records>.workspace-tabs{margin-bottom:12px}.order-records .panel-header{margin-top:4px}.order-records .panel-header .panel-title{display:none}.pending-inline-empty:empty,.global-reissue-summary:empty{display:none}.order-records .saved-original-empty{padding:18px 12px;text-align:center;border:0;background:var(--soft)}.order-records #savedCardsSubtitle{max-width:70ch}.complaint-running .py-runtime-tools>summary{display:flex;padding-inline:0}.complaint-running .py-runtime-tools .py-command-item{padding:8px 0}.platform-editor>#platformEditBadge{margin-bottom:12px}

.profile-editor{width:min(620px,calc(100vw - 24px))}.profile-editor>#profileEditBadge{margin-bottom:12px}.profile-editor .site-select-portal-menu:not(.site-select-menu-goods){max-height:75dvh}.profile-editor .compact-actions{justify-content:flex-end;margin-top:14px}.profile-editor .compact-key-grid{grid-template-columns:minmax(0,1fr) auto auto}#stock-api .section-headline>div{margin-right:auto}
.profile-editor .profile-switch-row,.platform-editor .profile-switch-row{display:flex;flex-wrap:wrap;gap:8px 16px}.profile-editor .goods-picker-row,#stock-manual .goods-picker-row{grid-template-columns:minmax(0,1fr) 36px}.profile-editor .form-grid-3{display:grid;gap:6px;align-items:center}
@media(max-width:760px){.profile-editor .profile-switch-row,.platform-editor .profile-switch-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.profile-editor .profile-switch-row>label,.platform-editor .profile-switch-row>label{min-height:44px;display:flex;align-items:center}.profile-editor .goods-picker-row,#stock-manual .goods-picker-row{grid-template-columns:minmax(0,1fr) 44px}.profile-editor .goods-picker-row>.icon-button,#stock-manual .goods-picker-row>.icon-button{width:44px;height:44px;min-height:44px}.profile-editor .compact-key-grid>.btn{padding-inline:10px;min-height:38px}}

/* Product rows: compact spacing, independently scrollable list, full names. */
.site-select-menu-goods{width:min(540px,calc(100vw - 24px));max-height:min(600px,calc(100dvh - 32px));overflow:hidden}
.site-select-portal-menu>.site-select-menu-head,.site-select-portal-menu>.site-select-search-wrap,.site-select-portal-menu>.site-select-goods-filters{flex:none}
.site-select-goods-filters{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding-bottom:10px;border-bottom:1px solid var(--line);margin-bottom:8px}
.site-select-goods-filters .site-select-price-filter,.site-select-goods-filters .site-select-status-filter,.site-select-goods-filters .site-select-api-filter{margin:0;flex-wrap:wrap}
.site-select-price-filter input{min-width:0;width:82px;border:1px solid var(--line-2);border-radius:7px;padding:4px 7px;background:#fff;color:var(--text)}
.site-select-search-wrap .site-select-search{flex:1;min-width:0;width:0;border:1px solid var(--line-2);border-radius:8px;padding:6px 10px;background:#fff;color:var(--text)}
.site-select-menu-goods .site-select-options{max-height:none;gap:6px;padding:1px 4px 6px 1px}
.site-select-option.product-option{align-items:center;gap:10px;min-height:64px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}
.site-select-option.product-option:hover,.site-select-option.product-option.selected{background:var(--soft2);border-color:var(--blue)}
.site-select-product{display:grid;flex:1;min-width:0;gap:7px}
.site-select-product-title{display:block;min-width:0;line-height:1.5}
.site-select-product-title>b{font-size:12px;font-weight:500;color:var(--muted);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.site-select-product-title>strong{font-size:13px;font-weight:600;color:var(--text);white-space:normal;overflow-wrap:anywhere}
.site-select-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.site-select-product-meta em{font-style:normal;white-space:nowrap}.site-select-product-meta .product-id{font-weight:400;color:var(--muted)}.site-select-product-meta .product-price{font-weight:600;color:var(--text)}
.site-select-product-meta .listed{color:var(--green)}.site-select-product-meta .unlisted{color:var(--orange)}.site-select-product-meta .api-linked{color:var(--blue2)}
.site-select-check{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;color:var(--blue)}.site-select-check svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-select-more{flex:none;min-height:36px;padding:6px 12px;border:1px solid var(--line);border-radius:8px;color:var(--blue2);background:var(--soft2)}
.pending-inline-row>span,.pending-reissue-row>span{min-width:0;overflow-wrap:anywhere}.pending-inline-row>.btn,.pending-reissue-mini-btn{flex:none;white-space:nowrap}
.pending-reissue-mini-btn{border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);padding:5px 10px;min-height:32px}
@media(max-width:560px){
 .site-select-menu-goods{width:calc(100vw - 24px);max-height:min(480px,64dvh);padding:10px}
 .site-select-goods-filters{gap:4px 8px}.site-select-goods-filters .site-select-price-filter{flex-basis:auto}.site-select-price-filter input{width:66px}.site-select-menu-goods .site-select-product-meta{gap:2px 8px}.site-select-menu-goods .site-select-options{gap:4px}.site-select-status-filter,.site-select-api-filter{flex-wrap:nowrap}
 .site-select-product-title{display:block}.site-select-option.product-option{min-height:64px;padding:8px}.site-select-product{gap:4px}
 .site-select-product-meta{gap:4px 8px}.site-select-product-meta em:nth-child(2){min-width:66px}
 .site-select-status-filter button,.site-select-api-filter button,.site-select-filter-reset{min-height:36px}
 .site-select-goods-filters{gap:8px 12px}.site-select-status-filter,.site-select-api-filter{gap:8px}
 .site-select-more{min-height:44px}.pending-reissue-mini-btn{min-height:44px}
}

.order-page .copy-all-btn,.order-page .card-copy-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;border:1px solid var(--line-2);border-radius:8px;background:#fff;color:var(--text);font-size:12px;line-height:20px}.order-page .copy-all-btn:hover,.order-page .card-copy-btn:hover{background:var(--soft2);color:var(--blue)}.order-page .cards-actions{display:flex;gap:6px;flex-wrap:wrap}.order-page .account-issue-controls{grid-template-columns:minmax(0,1fr)}.order-page .account-issue-custom:not(.show){display:none}.order-page .account-issue-panel{padding:0;margin:8px 0 12px}.order-page .cards-list{max-height:420px;overflow:auto;scrollbar-gutter:stable;padding-right:4px}.order-page .card-tag{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:6px;background:#e7edf6;color:var(--muted);font-size:12px}.order-page .card-tag.original{background:#edf4ff;color:var(--blue2)}.order-page .card-tag.reissue{background:#e9f6ef;color:var(--green)}
@media(max-width:760px){
 .order-layout>.stack{gap:12px}.order-page #singleOrderCard{padding:12px}.order-search-row{gap:8px}.order-search-row>.btn{min-width:60px}.order-page #singleOrderCard .input-mini-actions>.btn{min-height:36px}.order-result-columns{grid-template-columns:minmax(0,1fr);gap:14px}.order-page .order-result-columns>.cards-section{padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}.order-query-advanced-content{grid-template-columns:1fr}.order-page .count-info-row{grid-template-columns:repeat(2,minmax(0,1fr))}.order-page .card-item-actions .card-copy-btn,.order-page .copy-all-btn{min-height:36px}.order-page .order-detail-panel{min-height:0}.order-page .contact-order-head>div:first-child{flex-basis:100%}.order-page .contact-order-actions{justify-content:flex-end;width:100%}.site-select-menu-category{max-height:min(460px,65dvh)}.site-select-category-card{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.site-select-category-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex:1}.site-select-category-title strong{font-size:13px;overflow-wrap:anywhere}.site-select-category-card>em{font-size:12px;font-style:normal;color:var(--muted);white-space:nowrap}.site-select-menu-category .site-select-option{min-height:44px;padding:7px 8px}.site-select-category-state{font-size:12px;white-space:nowrap}.site-select-category-state>i{display:none}
}

.site-select-filter-details{flex:none;margin-bottom:8px}.site-select-filter-details>summary{font-size:12px;color:var(--muted);cursor:pointer;padding:4px 0}.site-select-filter-details .site-select-goods-filters{margin-top:6px;margin-bottom:0}.site-select-menu-goods .site-select-options{flex:1 1 auto}.site-select-menu-goods .site-select-search{font-size:14px}.site-select-menu-goods .site-select-product{gap:4px}
.site-select-goods .site-select-trigger-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.order-page .account-issue-controls>.site-select{min-width:0}
