/* Approved LeZhiKang operations design, 2026-11-01.
   This layer changes presentation only. Original APIs, permissions and handlers remain authoritative. */
:root:where(:not(:has(.login-screen))) {
  --brand-navy:#102D40;--brand-blue:#1675E8;--brand-teal:#16B9BD;--brand-lime:#98D83E;
  --ink:#102D40;--muted:#536A79;--line:#D8E3E4;--line-strong:#7D919E;
  --bg:#F5F7F4;--surface:#FFFFFF;--panel:#F8FAF8;--content-canvas:#F5F7F4;
  --nav-canvas:#102D40;--nav-border:#102D40;--nav:#102D40;--nav-soft:#183E56;
  --blue:#1267D4;--blue-soft:#EAF2FC;--teal:#1267D4;--teal-soft:#EAF2FC;
  --green:#177758;--green-soft:#EAF5EF;--amber:#946000;--amber-soft:#FFF3D9;
  --red:#B3433F;--red-soft:#FDEDEC;--coral:#B3433F;--coral-soft:#FDEDEC;
  --radius:8px;--shadow:0 6px 20px #102d4008;--footer-space:32px;
  font-family:"Noto Sans CJK SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:14px;line-height:1.6;color:var(--ink);background:var(--bg);
}
html:where(:not(:has(.login-screen))),body:where(:not(:has(.login-screen))),.shell {background:var(--bg);color:var(--ink);font-family:inherit;}
:where(html:not(:has(.login-screen))) button,:where(html:not(:has(.login-screen))) input,:where(html:not(:has(.login-screen))) select,:where(html:not(:has(.login-screen))) textarea {font-family:inherit;font-size:14px;}
:where(html:not(:has(.login-screen))) button,:where(html:not(:has(.login-screen))) a,:where(html:not(:has(.login-screen))) input,:where(html:not(:has(.login-screen))) select,:where(html:not(:has(.login-screen))) textarea,:where(html:not(:has(.login-screen))) summary {touch-action:manipulation;}
:where(html:not(:has(.login-screen))) :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--blue);outline-offset:3px;}
:where(html:not(:has(.login-screen))) button:disabled {opacity:.58;cursor:not-allowed;}
:where(html:not(:has(.login-screen))) button,:where(html:not(:has(.login-screen))) .field-row strong,:where(html:not(:has(.login-screen))) td,:where(html:not(:has(.login-screen))) .metric strong {font-variant-numeric:tabular-nums;}
[hidden] {display:none!important;}
.shell .topbar {position:sticky;top:0;z-index:40;min-height:84px;padding:0 24px 0 0;display:grid;grid-template-columns:240px minmax(160px,1fr) minmax(130px,190px) auto;gap:20px;border-bottom:1px solid var(--line);background:white;box-shadow:none;}
.shell .topbar::before {content:"";position:absolute;right:18%;top:-160px;width:340px;height:210px;border:22px solid #16b9bd0d;border-top:0;border-radius:50%;transform:rotate(16deg);pointer-events:none;}
.shell .brand {position:relative;min-height:84px;width:240px;justify-content:center;padding:10px 20px;border-right:1px solid var(--line);gap:10px;}
.brand-logo-full {display:block;width:180px;height:auto;object-fit:contain;flex:none;}
.brand-menu-toggle {display:none;}
.shell .portal-identity {padding:0;border:0;position:relative;}
.shell .portal-identity>span {display:none;}
.shell .portal-identity strong {font-size:18px;line-height:1.4;font-weight:600;color:var(--ink);}
.shell .top-control {position:relative;gap:2px;}
.shell .top-control>span,.shell .top-context>span {font-size:11px;color:var(--muted);font-weight:400;}
.shell .top-control select {min-height:34px;padding:5px 24px 5px 8px;font-size:13px;border:1px solid var(--line);border-radius:6px;background:white;}
.shell .top-context strong {font-size:14px;font-weight:500;}
.shell .top-actions {position:relative;display:flex;flex-wrap:nowrap;gap:12px;align-items:center;min-width:0;}
.shell .sync-status {max-width:128px;white-space:normal;font-size:11px;font-weight:400;line-height:1.4;}
.shell .sync-status:before {flex:none;width:6px;height:6px;}
.brand-account {position:relative;max-width:210px;}
.brand-account>summary {list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;font-size:12px;color:var(--ink);}
.brand-account>summary::-webkit-details-marker {display:none;}
.brand-account>summary span {display:block;max-width:175px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.brand-account-actions {position:absolute;right:0;top:calc(100% + 16px);z-index:50;min-width:190px;padding:12px;display:grid;gap:8px;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 12px 40px #102d4026;}
.shell .brand-account-actions button {width:100%;text-align:left;justify-content:flex-start;}
.shell .brand-account-actions [data-global=reset] {color:var(--red);border-color:#e1b5b0;background:#fff;}
.shell .app-body {display:grid;grid-template-columns:240px minmax(0,1fr);gap:0;padding:0;align-items:start;}
.shell .sidebar {position:sticky;top:var(--shell-header-height,84px);height:calc(100svh - var(--shell-header-height,84px));min-height:300px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;isolation:isolate;border:0;border-radius:0;padding:24px 0 140px;background:var(--brand-navy);box-shadow:none;color:#e8f1f6;}
.shell .sidebar:before {content:"";position:absolute;z-index:-1;left:-100px;bottom:18px;width:380px;height:180px;border:28px solid #16b9bd66;border-right-color:transparent;border-radius:50%;transform:rotate(-28deg);background:none;pointer-events:none;opacity:.7;}
.shell .sidebar:after {content:"";position:absolute;z-index:-1;left:-160px;bottom:-36px;width:440px;height:240px;border:34px solid #1675e84d;border-top-color:transparent;border-radius:50%;transform:rotate(12deg);background:none;pointer-events:none;opacity:.7;}
.shell .nav-group {position:relative;z-index:1;display:grid;gap:6px;}
.shell .nav-item {position:relative;display:flex;gap:16px;align-items:center;min-height:52px;margin:0;padding:12px 26px;border:0;border-radius:0;background:transparent;color:#e5eef4;box-shadow:none;}
.shell .nav-item span {font-size:14px;line-height:1.6;font-weight:500;}
.shell .nav-item:hover {background:#ffffff0b;color:white;}
.shell .nav-item.active {background:#1675e829;color:white;}
.shell .nav-item.active:before {display:block;content:"";position:absolute;top:0;bottom:0;left:0;width:4px;background:var(--brand-teal);}
.shell .nav-item:focus-visible {outline:2px solid #b4e8ed;outline-offset:-4px;}
.nav-icon {flex:0 0 20px;width:20px;height:20px;stroke-width:1.75;}
.shell .sidebar .scope-card {display:block;margin:0 14px 18px;padding:12px;border:1px solid #ffffff2b;border-radius:4px;background:#ffffff08;}
.shell .scope-card strong {color:#fff;font-size:13px;line-height:1.5;}
.shell .scope-card span {color:#c6d9e1;font-size:12px;}
.shell .main,.shell.cockpit-focus .main {min-width:0;min-height:calc(100svh - var(--shell-header-height,84px));padding:24px;background:var(--bg);border:0;border-radius:0;box-shadow:none;}
.shell .subnav {margin:-24px -24px 24px;padding:0 24px;position:relative;overflow:visible;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:#fff;}
.shell .subnav:before,.shell .subnav:after {display:none;}
.shell .subnav-groups,.shell .subnav-tabs {display:flex;flex-wrap:wrap;gap:0 24px;align-items:center;background:none;border:0;}
.shell .subnav-groups {border-bottom:1px solid #e8eeee;padding:4px 0;}
.shell .subnav-groups button {min-height:38px;padding:8px 0;font-size:12px;font-weight:500;background:transparent;color:var(--muted);border:0;border-radius:0;}
.shell .subnav-groups button.active {background:none;color:var(--blue);}
.shell .subnav-tabs button {min-height:52px;padding:12px 0;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--muted);box-shadow:none;}
.shell .subnav-tabs button strong {font-size:14px;font-weight:500;line-height:1.6;}
.shell .subnav-tabs button.active {border-bottom-color:var(--blue);background:none;color:var(--blue);}
.shell .subnav-tabs button em {font-size:11px;color:var(--muted);font-weight:400;}
.shell .page-head {position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 24px;padding:0;border:0;box-shadow:none;background:none;}
.shell .page-head:after {content:"";position:absolute;right:0;top:-26px;width:260px;height:65px;border-bottom:16px solid #16b9bd0b;border-radius:50%;transform:rotate(12deg);pointer-events:none;z-index:0;}
.shell .page-head>div {position:relative;z-index:1;}
.shell .page-head h1 {font-size:28px;line-height:1.45;font-weight:600;letter-spacing:-.3px;color:var(--ink);}
.shell .page-head p {max-width:740px;font-size:14px;line-height:1.7;color:var(--muted);font-weight:400;margin:8px 0 0;}
.shell .head-actions {display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center;}
.shell .panel,.shell .board,.shell .detail,.shell .role-summary,.shell .workspace-panel {border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;}
.shell .panel-head {padding:18px 20px;border-bottom:1px solid var(--line);background:#fff;}
.shell .panel-head h2 {font-size:18px;line-height:1.5;font-weight:600;}
.shell .panel-head>span,.shell .panel-head p {font-size:12px;color:var(--muted);font-weight:400;}
.shell .panel-body {padding:20px;}
.shell .workspace {gap:24px;grid-template-columns:minmax(0,1fr) minmax(280px,32%);}
.shell .record-workspace {display:block;}
.shell .record-workspace>.board {width:100%;min-width:0;}
.shell .role-summary {padding:18px 20px;margin-bottom:24px;}
.shell .role-identity strong {font-size:16px;font-weight:600;}
.shell .role-identity>span:not(.badge),.shell .role-summary p {font-size:13px;color:var(--muted);}
.shell .filter-panel {display:flex;flex-wrap:wrap;gap:16px;align-items:end;padding:20px;background:#fff;border-bottom:1px solid var(--line);}
.shell .filter-panel label {flex:1 1 180px;display:grid;gap:8px;min-width:0;}
.shell .filter-panel label:first-child {flex:2 1 240px;}
.shell .filter-panel .field-label,.shell .field-label {font-size:12px;font-weight:500;color:var(--muted);}
.shell .filter-panel input[readonly] {background:#f6f8f8;color:var(--muted);}
.shell .action-bar {padding:16px 20px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:white;border-color:var(--line);}
.shell .record-count {margin-left:auto;font-size:12px;color:var(--muted);font-weight:400;}
.shell :is(button.primary,button.ghost,button.danger,a.primary,a.ghost) {min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border-radius:6px;font-size:14px;line-height:22px;font-weight:500;box-shadow:none;text-decoration:none;}
.shell .primary,.shell .primary[data-supplier-product-import],.shell .primary[data-supplier-product-listing],.shell .primary[data-supplier-product-batch-action=publish] {border:1px solid var(--blue);background:var(--blue);color:white;}
.shell .primary:hover:not(:disabled) {background:#0D57B5;border-color:#0D57B5;}
.shell .ghost {border:1px solid var(--line-strong);background:white;color:var(--ink);}
.shell .ghost:hover:not(:disabled) {background:#f3f7fc;border-color:var(--blue);}
.shell .danger {border:1px solid #c27e79;background:white;color:var(--red);}
.shell .danger:hover:not(:disabled) {background:var(--red-soft);}
.shell .mini {min-height:32px;padding:5px 10px;border:1px solid var(--line);border-radius:4px;background:white;color:var(--blue);font-size:12px;font-weight:500;line-height:20px;box-shadow:none;}
.shell .mini.danger-mini {color:var(--red);border-color:#e4bfbc;}
.shell :is(input,select,textarea) {min-height:40px;border:1px solid var(--line-strong);border-radius:6px;padding:8px 12px;font-size:14px;line-height:22px;color:var(--ink);background:white;box-shadow:none;}
.shell textarea {min-height:112px;resize:vertical;}
.shell :is(input,select,textarea):focus {border-color:var(--blue);box-shadow:0 0 0 3px #1267d416;}
.shell :is(input,select,textarea)[readonly] {background:#f5f7f8;color:var(--muted);}
.shell input[type=checkbox],.shell input[type=radio] {width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--blue);}
.shell :is(input,select,textarea)[aria-invalid=true] {border-color:var(--red);}
.shell .field-error {color:var(--red);font-size:12px;line-height:1.6;}
.shell .table-wrap {max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:0;background:white;}
.shell table {border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;}
.shell th {height:44px;padding:12px 16px;background:#F3F6F7;color:var(--muted);font-size:12px;line-height:20px;font-weight:500;border-bottom:1px solid var(--line);vertical-align:top;}
.shell td {height:52px;padding:14px 16px;background:transparent;color:var(--ink);font-size:14px;font-weight:400;line-height:22px;border-bottom:1px solid #E5ECEC;}
.shell tbody tr:hover {background:#f4f8fc;}
.shell tbody tr.selected,.shell tbody tr.multi-selected {background:var(--blue-soft);}
.shell .record-name-link {padding:0;border:0;background:none;color:var(--blue);font-size:14px;font-weight:500;line-height:1.6;text-align:left;white-space:normal;max-width:280px;}
.shell .record-name-column {min-width:220px;}
.shell .table-pagination {padding:12px 20px;gap:12px;flex-wrap:wrap;background:white;border-color:var(--line);font-size:12px;color:var(--muted);}
.shell .table-pagination select {min-height:32px;font-size:12px;padding:4px 8px;}
.shell .column-condition-filter {min-width:144px;gap:8px;}
.shell .column-condition-filter>span {font-size:12px;line-height:20px;color:var(--muted);font-weight:500;}
.shell .column-filter-search {height:36px;border:1px solid #a8b9c3;border-radius:5px;box-shadow:none;}
.shell .column-condition-filter .column-filter-search>select,.shell .column-condition-filter .column-filter-values input {height:34px;min-height:0;font-size:12px;padding:4px 8px;border:0;border-radius:0;}
.shell .column-condition-filter .column-filter-search>select {border-right:1px solid var(--line);}
.shell .column-filter-error {font-size:12px;}
.shell .badge {border-radius:4px;border:0;padding:3px 8px;font-size:12px;font-weight:500;line-height:20px;}
.shell .badge.good,.shell .badge.done,.shell .badge.green {color:var(--green);background:var(--green-soft);}
.shell .badge.warning,.shell .badge.warn,.shell .badge.amber {color:var(--amber);background:var(--amber-soft);}
.shell .badge.danger,.shell .badge.bad,.shell .badge.red {color:var(--red);background:var(--red-soft);}
.shell .badge.info,.shell .badge.blue {color:var(--blue);background:var(--blue-soft);}
.shell .badge.neutral,.shell .badge.gray {color:var(--muted);background:#EEF2F4;}
.shell .tabs {gap:24px;border-bottom:1px solid var(--line);background:#fff;}
.shell .tabs button {min-height:48px;padding:12px 0;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:var(--muted);font-size:14px;font-weight:500;line-height:22px;}
.shell .tabs button.active {border-bottom-color:var(--blue);background:none;color:var(--blue);}
.shell .field-grid {gap:0;}
.shell .field-row {padding:14px 0;gap:12px;border:0;border-bottom:1px solid var(--line);background:transparent;}
.shell .field-row span {font-size:13px;line-height:22px;color:var(--muted);}
.shell .field-row strong,.shell .field-row p {font-size:14px;line-height:22px;font-weight:400;color:var(--ink);overflow-wrap:anywhere;}
.shell .detail-head {padding:24px;border-bottom:1px solid var(--line);}
.shell .detail-head h2 {font-size:24px;line-height:1.5;font-weight:600;margin-top:12px;}
.shell .detail-body {padding:20px 24px;max-height:none;font-size:14px;line-height:1.7;}
.shell .detail .tabs {padding:0 24px;}
.shell .detail .tabs button {min-height:48px;font-size:14px;}
.shell .detail-actions {padding:16px 24px;display:flex;flex-wrap:wrap;gap:10px;border-color:var(--line);}
.shell .record-detail-backdrop {position:fixed;inset:0;z-index:50;background:#102d404d;backdrop-filter:blur(2px);}
.shell .record-detail-drawer {position:fixed;inset:0 0 0 auto;z-index:51;width:min(680px,calc(100vw - 48px));max-width:100%;height:100dvh;max-height:100dvh;overflow:auto;overscroll-behavior:contain;background:white;border:0;border-radius:0;box-shadow:-12px 0 48px #102d401f;}
.shell .record-detail-toolbar {position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#fff;border-bottom:1px solid var(--line);}
.shell .record-detail-toolbar>strong {font-size:14px;font-weight:500;color:var(--muted);}
.shell .record-detail-toolbar-actions {display:flex;gap:8px;flex-wrap:wrap;}
.shell .record-detail-drawer>.detail {position:static;border:0;border-radius:0;box-shadow:none;max-height:none;}
.shell .record-detail-drawer .detail-body {overflow:visible;max-height:none;}
.shell .record-detail-drawer[data-entity=approvals] {width:min(960px,calc(100vw - 48px));}
.shell .next-step-card,.shell .product-entry-rules,.shell .product-price-links,.shell .product-profile-card,.shell .business-rule {padding:16px;border:1px solid var(--line);border-radius:6px;background:#f8fafb;color:var(--ink);box-shadow:none;}
.shell .next-step-card {border-left:3px solid var(--brand-teal);}
.shell .next-step-card strong,.shell .product-entry-rules strong {font-size:14px;color:var(--ink);font-weight:500;}
.shell .next-step-card p,.shell .product-profile-fields span {font-size:13px;line-height:1.7;color:var(--muted);}
.shell .association-link[data-association-state=linked] {color:var(--blue);background:var(--blue-soft);border:1px solid #c5d9f3;border-radius:4px;}
.shell .timeline {padding:8px 0;}
.shell .timeline-item {padding:0 0 24px;gap:16px;}
.shell .timeline-item>span {width:28px;height:28px;min-width:28px;border:1px solid var(--line-strong);background:#fff;color:var(--muted);font-size:12px;border-radius:50%;}
.shell .timeline-item.done>span {color:white;background:var(--green);border-color:var(--green);}
.shell .timeline-item strong {font-size:14px;font-weight:500;line-height:22px;color:var(--ink);}
.shell .timeline-item em {margin-top:6px;font-size:12px;line-height:1.7;color:var(--muted);font-style:normal;}
.shell .modal-backdrop {background:#102d4061;backdrop-filter:blur(2px);}
.shell .modal {border:1px solid var(--line);border-radius:8px;padding:28px;background:white;box-shadow:0 20px 80px #102d402e;scroll-padding-block:64px 110px;color:var(--ink);}
.shell form.modal[data-form] {width:min(1080px,calc(100vw - 64px));max-height:calc(100dvh - 64px);}
.shell .modal h2 {font-size:24px;line-height:1.5;font-weight:600;color:var(--ink);}
.shell .modal h3 {font-size:18px;line-height:1.5;font-weight:600;color:var(--ink);}
.shell .modal>p {font-size:14px;line-height:1.7;margin:8px 0 24px;color:var(--muted);}
.shell .modal-close {position:sticky;top:0;float:right;z-index:8;min-height:36px;padding:6px 12px;margin:0 0 8px 16px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted);font-size:13px;}
.shell .modal .form-grid {gap:24px;}
.shell .modal label {font-size:14px;line-height:1.6;gap:8px;}
.shell .modal .field-label {font-size:14px;font-weight:500;color:var(--ink);}
.shell .modal fieldset {margin:0;padding:20px;border:1px solid var(--line);border-radius:6px;}
.shell .modal legend {padding:0 8px;font-size:16px;font-weight:600;}
.shell .modal-actions {position:sticky;bottom:-28px;z-index:7;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin:28px -28px -28px;padding:16px 28px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -6px 14px #ffffffed;}
.shell .modal input,.shell .modal textarea,.shell .modal select {scroll-margin-block:70px 110px;}
.shell .modal .field-hint {font-size:12px;line-height:1.7;color:var(--muted);}
.shell [data-workflow-steps] {margin:20px 0 24px;padding:0 0 20px;border:0;border-bottom:1px solid var(--line);background:none;display:block;}
.shell .brand-stepper {list-style:none;display:grid;grid-template-columns:repeat(var(--steps,4),minmax(0,1fr));gap:16px;margin:0 0 16px;padding:0;}
.shell .brand-stepper li {position:relative;min-width:0;display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;}
.shell .brand-stepper li>span {display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#e7edef;color:var(--muted);font-size:13px;}
.shell .brand-stepper li[aria-current=step] {color:var(--blue);font-weight:500;}
.shell .brand-stepper li[aria-current=step]>span {color:white;background:var(--blue);}
.shell .brand-stepper li[data-complete=true]>span {color:var(--green);background:var(--green-soft);}
.shell [data-workflow-steps]>span[role=status] {font-size:12px;color:var(--muted);}
.shell [data-workflow-steps]>button {float:right;}
.shell [data-workflow-review] {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;}
.shell [data-workflow-review] .field-row p {white-space:pre-wrap;}
.shell .empty {padding:40px 24px;border:1px dashed #c6d6dc;border-radius:6px;background:#fbfcfb;color:var(--muted);font-size:14px;line-height:1.7;text-align:center;}
.shell .empty:before {content:"";display:block;width:56px;height:30px;margin:0 auto 16px;border:2px solid #93cfd1;border-top-color:transparent;border-radius:50%;transform:rotate(-20deg);}
.shell .toast {padding:14px 20px;max-width:min(520px,calc(100vw - 32px));border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font-size:14px;line-height:1.6;box-shadow:0 12px 40px #102d4026;}
.shell .service-alert,.shell .conflict-banner {margin:0;padding:16px 24px;border:1px solid #e3b5b2;border-radius:0;background:var(--red-soft);color:var(--red);}
.shell .service-alert strong {font-size:14px;font-weight:500;}
.shell .service-alert span {font-size:13px;line-height:1.7;color:var(--red);}
:where(html:not(:has(.login-screen))) .operation-feedback {font-family:inherit;border:1px solid var(--line);border-radius:8px;color:var(--ink);padding:24px;box-shadow:0 16px 64px #102d4033;}
:where(html:not(:has(.login-screen))) .operation-feedback::backdrop {background:#102d405c;}
:where(html:not(:has(.login-screen))) .operation-feedback-header span {color:var(--green);background:var(--green-soft);}
:where(html:not(:has(.login-screen))) .operation-feedback[data-kind=error] .operation-feedback-header span {color:var(--red);background:var(--red-soft);}
:where(html:not(:has(.login-screen))) .operation-feedback[data-kind=warning] .operation-feedback-header span {color:var(--amber);background:var(--amber-soft);}
:where(html:not(:has(.login-screen))) .operation-feedback[data-status=pending] .operation-feedback-header span {color:var(--blue);background:var(--blue-soft);}
:where(html:not(:has(.login-screen))) .operation-feedback button {min-height:40px;padding:8px 16px;border:1px solid var(--blue);border-radius:6px;background:var(--blue);color:white;font-size:14px;}
:where(html:not(:has(.login-screen))) .operation-feedback p {font-size:14px;line-height:1.8;}
:where(html:not(:has(.login-screen))) .operation-feedback [data-operation-feedback-detail] {color:var(--muted);}
:where(html:not(:has(.login-screen))) .operation-feedback progress,:where(html:not(:has(.login-screen))) .import-progress progress {accent-color:var(--blue);}
:where(html:not(:has(.login-screen))) .operation-feedback [data-operation-feedback-items] li {background:#f5f8f8;border-radius:6px;}
.shell .import-progress {border-color:var(--line);background:#f4f8fb;color:var(--muted);}
/* Workbench and all data dashboards retain their actual metrics and chart semantics. */
.shell .metrics {gap:0;margin:0 0 24px;padding:20px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;}
.shell .metric {border:0;border-right:1px solid var(--line);border-radius:0;background:none;box-shadow:none;padding:0 24px;min-height:88px;}
.shell .metric:last-child {border-right:0;}
.shell .metric:before {display:none;}
.shell .metric>span {font-size:13px;font-weight:500;color:var(--ink);}
.shell .metric>strong {margin:6px 0;font-size:30px;font-weight:600;line-height:1.35;color:var(--blue);}
.shell .metric>em {font-size:12px;color:var(--muted);font-weight:400;font-style:normal;}
.shell .overview-grid {gap:24px;margin-bottom:24px;}
.shell .task-item {gap:16px;padding:18px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:white;}
.shell .task-item:first-child {padding-top:0;}
.shell .task-item:last-child {border-bottom:0;}
.shell .task-item strong {font-size:14px;font-weight:500;}
.shell .task-item span {font-size:12px;line-height:1.6;color:var(--muted);}
.shell .risk-item {padding:16px;border:1px solid #ecdbb8;border-radius:6px;background:#fffaef;color:var(--ink);}
.shell .risk-item strong {font-size:14px;font-weight:500;}
.shell .risk-item span {font-size:12px;color:var(--muted);}
.shell .pipeline {margin:24px 0;border-color:var(--line);background:white;box-shadow:none;}
.shell .pipeline-step {border-color:var(--line);background:#fff;}
.shell .pipeline-step strong {font-size:14px;font-weight:500;color:var(--ink);}
.shell .pipeline-step span {font-size:12px;color:var(--muted);}
.shell .cockpit-hero {padding:24px 0;border:0;border-radius:0;background:transparent;color:var(--ink);box-shadow:none;}
.shell .cockpit-hero h1 {font-size:28px;font-weight:600;color:var(--ink);}
.shell .cockpit-hero p,.shell .cockpit-hero>div:first-child>span,.shell .cockpit-hero-actions>span {font-size:13px;color:var(--muted);font-weight:400;}
.shell .cockpit-health {border-color:var(--line);color:var(--ink);}
.shell .cockpit-health span,.shell .cockpit-health em {font-size:12px;color:var(--muted);}
.shell .cockpit-hero-actions .primary {background:var(--blue);color:white;}
.shell .cockpit-hero-actions .ghost {border-color:var(--line-strong);background:white;color:var(--ink);}
.shell .cockpit-metrics {gap:16px;margin-bottom:24px;}
.shell .cockpit-metric {padding:20px;border:1px solid var(--line);border-radius:6px;background:white;box-shadow:none;}
.shell .cockpit-metric:before {height:2px;background:var(--brand-teal);}
.shell .cockpit-metric span,.shell .cockpit-metric em,.shell .cockpit-metric b {font-size:12px;line-height:1.6;font-weight:400;color:var(--muted);white-space:normal;}
.shell .cockpit-metric strong {font-size:26px;font-weight:600;color:var(--blue);}
.shell .cockpit-grid,.shell .cockpit-row {gap:24px;}
.shell .dc-board {--dc-bg:#F5F7F4;--dc-card:#FFFFFF;--dc-text:#102D40;--dc-muted:#536A79;--dc-border:#D8E3E4;--dc-teal:#1267D4;--dc-blue:#1675E8;--dc-amber:#946000;--dc-red:#B3433F;background:var(--bg);color:var(--ink);}
.shell :is(.dc-panel,.dc-card,.dc-hero,.dc-lens,.tech-card,.tech-panel) {background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:none;}
.shell :is(.dc-panel,.dc-card,.dc-hero,.dc-lens,.tech-card,.tech-panel):before,.shell :is(.dc-panel,.dc-card,.dc-hero,.dc-lens,.tech-card,.tech-panel):after {box-shadow:none;filter:none;}
.shell .dc-board :is(h1,h2,h3,strong) {color:var(--ink);}
.shell .dc-board :is(p,span,small,em,dd) {color:var(--muted);}
.shell .dc-board h1 {font-size:28px;line-height:1.5;}
.shell .dc-board h2 {font-size:18px;font-weight:600;}
.shell .dc-board :is(p,small,em,dd) {font-size:12px;line-height:1.7;}
.shell .dc-board svg text {font-size:12px;fill:var(--muted);}
.shell .dc-flow-node>i {background:var(--blue-soft);border:1px solid #c5daf3;box-shadow:none;color:var(--blue);}
.shell .dc-flow-node strong,.shell .dc-flow-node.module-statistic:hover strong {color:var(--ink);}
.shell .dc-flow-node span,.shell .dc-flow-node.module-statistic:hover span {color:var(--muted);}
/* Shared feature surfaces: every center keeps its specialized layout within the same palette. */
.shell :is(.account-section,.account-card,.member-card,.supplier-card,.project-summary,.project-panel,.center-panel,.channel-panel,.finance-card,.budget-card,.benefit-card,.mall-config-rule,.evaluation-card,.approval-preparation,.product-profile-card,.catalog-card,.analysis-panel,.automation-card) {border-color:var(--line);border-radius:6px;background:white;box-shadow:none;color:var(--ink);}
.shell :is(.account-section-title,.account-setup-head,.product-section-title,.project-section-title,.center-section-head,.mall-section-head) {border-color:var(--line);color:var(--ink);font-weight:600;}
.shell :is(.account-section-title,.project-section-title,.center-section-head,.mall-section-head) h3 {font-size:18px;font-weight:600;}
.shell :is(.account-setup-row,.admission-checklist,.approval-summary,.contracting-summary,.budget-summary,.benefit-summary,.mall-master-summary) {border-color:var(--line);background:#f8faf9;}
.shell :is(.account-setup-main,.admission-panel,.supplier-admission-workspace,.channel-admission-workspace,.project-workspace,.center-workspace,.benefit-workspace,.mall-workspace) {min-width:0;color:var(--ink);}
.shell :is(.account-setup-main,.admission-panel,.supplier-admission-workspace,.channel-admission-workspace,.project-workspace,.center-workspace,.benefit-workspace,.mall-workspace) p {font-size:13px;line-height:1.75;color:var(--muted);}
.shell :is(.approval-node,.flow-node,.timeline-node) {border-color:var(--line);background:#fff;box-shadow:none;}
.shell :is(.approval-node,.flow-node,.timeline-node).active {border-color:var(--blue);background:var(--blue-soft);}
.shell :is(.approval-node,.flow-node,.timeline-node).done {border-color:#b4d4c7;background:var(--green-soft);}
.shell .product-gallery-editor,.shell .product-gallery-uploader,.shell .product-form-section {border-color:var(--line);border-radius:6px;box-shadow:none;}
.shell .product-gallery-thumb img,.shell .product-image-slot img {object-fit:contain;}
.shell .approval-batch-progress,.shell .supplier-import-progress {background:var(--blue-soft);border-color:#c6d9ef;}
.shell .permission-matrix th,.shell .approval-matrix th {background:#f3f6f7;}
.shell .log-item,.shell .audit-row {padding:16px 0;border-bottom:1px solid var(--line);font-size:13px;}
.shell .log-item span,.shell .log-item time {font-size:12px;color:var(--muted);}
/* The login page retains its pre-release stylesheet and artwork. */
.icp-footer {background:var(--brand-navy);font-family:inherit;font-size:11px;}
.brand-navigator {position:fixed;inset:0;width:min(1080px,calc(100vw - 64px));max-height:calc(100dvh - 64px);padding:28px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);box-shadow:0 24px 80px #102d4033;overscroll-behavior:contain;}
.brand-navigator::backdrop {background:#102d4061;backdrop-filter:blur(2px);}
.brand-navigator>header {display:flex;align-items:start;justify-content:space-between;gap:24px;}
.brand-navigator h2 {margin:0;font-size:24px;line-height:1.5;font-weight:600;}
.brand-navigator header p {margin:8px 0 0;font-size:13px;color:var(--muted);}
.brand-nav-search {display:grid;gap:8px;margin:24px 0;font-size:12px;color:var(--muted);}
.brand-nav-search input {width:100%;}
.brand-nav-groups {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.brand-nav-groups section {min-width:0;border-top:1px solid var(--line);padding-top:16px;}
.brand-nav-groups h3 {margin:0 0 12px;font-size:14px;font-weight:600;}
.brand-nav-groups section>div {display:grid;gap:4px;}
.brand-nav-groups button {display:grid;gap:3px;text-align:left;padding:10px 12px;border:0;border-radius:4px;background:none;color:var(--ink);}
.brand-nav-groups button strong {font-size:14px;font-weight:500;}
.brand-nav-groups button span {font-size:11px;line-height:1.6;font-weight:400;color:var(--muted);}
.brand-nav-groups button:hover,.brand-nav-groups button[aria-current=page] {background:var(--blue-soft);color:var(--blue);}
@media(max-width:1250px) {
 .shell .topbar {grid-template-columns:240px minmax(120px,1fr) 150px auto;gap:14px;padding-right:16px;}
 .shell .top-actions .sync-status {display:none;}
 .brand-account {max-width:150px;}.brand-account>summary span {max-width:125px;}
 .shell .portal-identity strong {font-size:16px;}
 .shell .cockpit-metrics {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:1100px) {
 .shell .topbar {grid-template-columns:200px minmax(120px,1fr) 140px auto;}
 .shell .brand {width:200px;padding:12px 16px;}.brand-logo-full {width:166px;}
 .shell .app-body {grid-template-columns:64px minmax(0,1fr);}
 .shell .sidebar {padding-top:18px;}
 .shell .nav-item {padding:14px 22px;justify-content:center;}
 .shell .nav-item span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
 .shell .sidebar .scope-card {display:none;}
 .shell .nav-item:before {width:3px;}
 .shell .main,.shell.cockpit-focus .main {padding:24px;}
 .shell .metrics {grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px;}
 .shell .metric:nth-child(3n) {border-right:0;}
 .shell .overview-grid,.shell .workspace {grid-template-columns:minmax(0,1fr);}
 .shell .detail {position:static;}
 .shell .cockpit-hero {grid-template-columns:minmax(0,1fr) 140px;}
 .shell .cockpit-hero-actions {grid-column:1/-1;}
 .brand-nav-groups {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
 .shell .topbar {grid-template-columns:minmax(0,1fr) auto;min-height:72px;gap:8px 12px;padding:8px 16px;}
 .shell .brand {width:auto;min-height:48px;justify-content:flex-start;padding:0;border:0;gap:12px;}
 .brand-logo-full {width:140px;}
 .brand-menu-toggle {display:grid;place-items:center;width:36px;height:40px;flex:none;padding:6px;border:0;background:white;color:var(--ink);}
 .shell .topbar:before,.shell .portal-identity {display:none;}
 .shell .top-control,.shell .top-context {grid-row:2;grid-column:1/-1;display:flex;align-items:center;gap:10px;}
 .shell .top-control select {width:auto;max-width:calc(100vw - 132px);flex:1;}
 .shell .top-actions {grid-row:1;grid-column:2;gap:0;}
 .shell .brand-navigator-trigger {display:none;}
 .brand-account {max-width:120px;}.brand-account>summary {font-size:11px;}.brand-account>summary span {max-width:96px;}
 .shell .app-body {display:block;}
 .shell .sidebar {display:none;}
 .shell .main,.shell.cockpit-focus .main {padding:20px 16px;min-height:calc(100svh - var(--shell-header-height,100px));}
 .shell .subnav {margin:-20px -16px 20px;padding:0 16px;}
 .shell .subnav-groups,.shell .subnav-tabs {flex-wrap:nowrap;overflow-x:auto;gap:20px;white-space:nowrap;scrollbar-width:thin;}
 .shell .subnav-tabs button {flex:none;min-height:48px;}
 .shell .page-head {display:block;margin-bottom:20px;}
 .shell .page-head h1 {font-size:24px;}
 .shell .page-head p {font-size:13px;line-height:1.7;}
 .shell .head-actions {justify-content:flex-start;margin-top:16px;}
 .shell :is(button.primary,button.ghost,button.danger) {min-height:44px;padding:10px 14px;}
 .shell :is(input,select,textarea) {font-size:16px;min-height:44px;}
 .shell .filter-panel {padding:16px;gap:12px;}
 .shell .filter-panel label,.shell .filter-panel label:first-child {flex:1 1 calc(50% - 12px);}
 .shell .filter-panel label:first-child {flex-basis:100%;}
 .shell .action-bar {padding:12px 16px;gap:8px;}
 .shell .record-count {width:100%;margin:4px 0 0;}
 .shell .table-wrap {border-top:1px solid var(--line);}
 .shell .table-wrap:before {content:"表格可横向滑动查看完整资料";position:sticky;left:0;display:block;width:calc(100vw - 66px);padding:8px 14px;color:var(--muted);background:#f6f9fa;font-size:11px;}
 .shell td {font-size:14px;padding:14px 12px;}.shell th {padding:12px;}
 .shell .mini {min-height:40px;padding:8px 10px;}
 .shell .metrics {grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 0;gap:18px 0;}
 .shell .metric {padding:0 16px;min-height:80px;}.shell .metric:nth-child(n) {border-right:1px solid var(--line);}.shell .metric:nth-child(2n) {border-right:0;}
 .shell .metric>strong {font-size:26px;}.shell .metric>span,.shell .metric>em {font-size:12px;}
 .shell .panel-head,.shell .panel-body {padding:16px;}
 .shell .task-item {flex-wrap:wrap;gap:12px;}
 .shell .cockpit-hero {grid-template-columns:minmax(0,1fr);gap:20px;padding:8px 0 20px;}
 .shell .cockpit-health {border:0;text-align:left;justify-items:start;}
 .shell .cockpit-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .shell .cockpit-metric {padding:16px;}
 .shell .record-detail-drawer,.shell .record-detail-drawer[data-entity=approvals] {width:100%;height:100dvh;}
 .shell .record-detail-toolbar {padding:12px 16px;gap:10px;}
 .shell .record-detail-toolbar-actions {gap:8px;}
 .shell .detail-head,.shell .detail-body,.shell .detail-actions {padding:18px 16px;}
 .shell .detail-head h2 {font-size:22px;}
 .shell .detail .tabs {padding:0 16px;gap:24px;overflow-x:auto;white-space:nowrap;}
 .shell .field-row {grid-template-columns:minmax(100px,34%) minmax(0,1fr);gap:12px;}
 .shell .modal,.shell form.modal[data-form],.shell .supplier-mall-config-modal,.shell .classification-change-modal,.shell .product-groups-modal {top:0;left:0;transform:none;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));}
 .shell .modal .form-grid,.shell [data-workflow-review] {grid-template-columns:minmax(0,1fr);gap:20px;}
 .shell .modal h2 {font-size:22px;}.shell .modal h3 {font-size:17px;}
 .shell .modal fieldset {padding:16px;min-width:0;}
 .shell .modal-close {min-height:40px;padding:8px 12px;}
 .shell .modal-actions {bottom:calc(-20px - env(safe-area-inset-bottom));margin:24px -16px calc(-20px - env(safe-area-inset-bottom));padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:10px;}
 .shell .modal-actions :is(button,a) {flex:1 1 auto;}
 .shell .brand-stepper {grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:12px;}
 .shell .brand-stepper li:not([aria-current=step]) {display:none;}
 .shell .brand-stepper li {font-size:15px;}
 .shell .brand-stepper li>span {width:32px;height:32px;}
 .shell [data-workflow-steps]>button {float:none;margin-top:10px;}
 .shell .brand-navigator {inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:20px 16px;}
 .brand-nav-groups {grid-template-columns:1fr;gap:20px;}
 .brand-nav-groups section>div {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .brand-nav-groups button {min-height:58px;padding:10px 8px;}
 .brand-nav-groups h3 {font-size:14px;}
 :where(html:not(:has(.login-screen))) .operation-feedback {width:calc(100vw - 32px);padding:20px;border-radius:8px;max-height:calc(100dvh - 32px);}
}
@media(max-width:360px) {
 .brand-logo-full {width:112px;}.shell .brand {gap:8px;}
 .brand-account {max-width:96px;}.brand-account>summary span {max-width:72px;}
 .shell .filter-panel label {flex-basis:100%;}
 .shell .record-detail-toolbar {flex-wrap:wrap;}
 .shell .metrics {grid-template-columns:minmax(0,1fr);}.shell .metric:nth-child(n) {border-right:0;border-bottom:1px solid var(--line);padding-bottom:16px;}.shell .metric:last-child {border-bottom:0;padding-bottom:0;}
}
@media(prefers-reduced-motion:reduce) {
 *,*:before,*:after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
/* Business workbench: decisions and exceptions precede charts. */
.shell .brand-primary-metrics,.shell .brand-secondary-metrics {grid-template-columns:repeat(4,minmax(0,1fr));}
.brand-workbench-grid {display:grid;grid-template-columns:minmax(0,2.25fr) minmax(270px,1fr);gap:16px;margin:24px 0 16px;}
.brand-workbench-grid .panel {margin:0;}
.brand-priority {grid-column:1;}.brand-attention {grid-column:2;grid-row:1/span 2;}.brand-journey {grid-column:1;}
.shell .brand-priority .panel-body {padding:0 20px 20px;}
.brand-priority-row {display:grid;grid-template-columns:40px minmax(140px,1fr) minmax(100px,1fr) auto auto;align-items:center;gap:12px;padding:16px 12px;border:1px solid var(--line);border-radius:6px;margin-top:8px;}
.brand-priority-row>div {display:grid;gap:3px;}.brand-priority-row>div>span {font-size:12px;color:var(--muted);}
.brand-task-node {font-size:13px;}.brand-task-icon {display:grid;place-items:center;width:40px;height:40px;background:var(--blue-soft);border-radius:50%;color:var(--blue);flex:none;}
.brand-journey-items {display:flex;justify-content:space-around;padding:0 16px 20px;gap:12px;}
.brand-journey-items>button {position:relative;display:grid;justify-items:center;gap:8px;flex:1;border:0;background:none;min-height:100px;}
.brand-journey-items>button+button:before {content:"→";position:absolute;left:-14px;top:10px;font-size:20px;color:var(--line-strong);}
.brand-journey-items small {font-size:12px;color:var(--muted);}.brand-journey-items b {font-size:16px;color:var(--blue);margin-left:8px;}
.shell .brand-projects {margin-bottom:24px;}.shell .brand-projects table {min-width:650px;}.shell .brand-projects th:first-child {width:40%;}
.brand-secondary-metrics {margin-top:24px;}
.shell .brand-product-review {width:min(1180px,calc(100vw - 48px));max-width:none;}
.brand-review-layout {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start;}
.brand-review-content {min-width:0;}.brand-review-content>h3 {font-size:20px;line-height:1.5;margin:12px 0 20px;}
.brand-review-progress {padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:8px;}
.brand-review-progress h3 {font-size:18px;margin:0 0 12px;}.brand-review-progress dl {font-size:13px;margin:16px 0;display:grid;gap:8px;}.brand-review-progress dt {color:var(--muted);}.brand-review-progress dd {margin:0 0 8px;}
.shell .brand-stepper {width:100%;flex-basis:100%;}
.shell .panel-head h2 {font-size:20px;line-height:1.5;}.shell .panel-head {padding:20px;}
@media(max-width:1250px) {.brand-priority-row {grid-template-columns:36px minmax(110px,1fr) auto;}.brand-task-node {grid-column:2;}.brand-priority-row>.badge {grid-column:3;grid-row:1;}.brand-priority-row>button {grid-column:3;grid-row:2;}.brand-priority-row>.brand-task-icon {grid-row:1/span 2;}}
@media(max-width:900px) {.brand-workbench-grid {grid-template-columns:minmax(0,1fr);}.brand-attention,.brand-priority,.brand-journey {grid-column:auto;grid-row:auto;}.brand-review-layout {grid-template-columns:minmax(0,1fr);}}
@media(max-width:760px) {.shell .brand-primary-metrics,.shell .brand-secondary-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}.brand-journey-items {flex-wrap:wrap;justify-content:flex-start;}.brand-journey-items>button {min-width:76px;flex:0 0 calc(33% - 12px);}.brand-journey-items>button+button:before {display:none;}.shell .brand-product-review {width:100vw;}.brand-priority-row {padding:12px 8px;gap:8px;}.shell .brand-priority .panel-body {padding:0 12px 12px;}}
.shell .badge.risk {color:var(--red);background:var(--red-soft);}
.shell .brand-table-empty {margin:16px;min-height:156px;}
.shell .project-workspace {grid-template-columns:200px minmax(0,1fr) 220px;gap:16px;}
.shell .project-gates {grid-template-columns:repeat(3,minmax(0,1fr));}
.shell .project-gate {min-width:0;padding:14px;}
.shell .project-gate :is(p,span,strong) {overflow-wrap:anywhere;}
.shell .project-stepper {display:flex;flex-wrap:nowrap;gap:16px;overflow:auto;padding:16px;}
.shell .project-stepper>div {flex:none;min-width:100px;}
.shell .project-stepper .current {color:var(--blue);}.shell .project-stepper .current span {background:var(--blue);border-color:var(--blue);}
.shell .project-list-rail {top:calc(var(--shell-header-height,84px) + 16px);}
.shell .project-related-grid,.shell .project-summary-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:1250px) {.shell .project-workspace {grid-template-columns:180px minmax(0,1fr);}.shell .project-action-rail {grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.shell .project-gates {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:760px) {.shell .project-workspace {grid-template-columns:minmax(0,1fr);}.shell .project-action-rail {grid-column:auto;grid-template-columns:minmax(0,1fr);}.shell .project-gates {grid-template-columns:repeat(2,minmax(0,1fr));}.shell .project-related-grid,.shell .project-summary-grid {grid-template-columns:minmax(0,1fr);}}
/* Quiet list headers. Conditions live in a small on-demand popover. */
.shell .brand-column {display:flex;align-items:center;gap:4px;min-width:96px;}
.shell .brand-column-sort {display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:500;padding:6px 0;min-height:32px;text-align:left;}
.shell .brand-sort-mark {font-size:13px;color:var(--line-strong);opacity:0;}
.shell th:hover .brand-sort-mark,.shell th[aria-sort=ascending] .brand-sort-mark,.shell th[aria-sort=descending] .brand-sort-mark,.shell .brand-column-sort:focus-visible .brand-sort-mark {opacity:1;}
.shell th[aria-sort=ascending] .brand-column-sort,.shell th[aria-sort=descending] .brand-column-sort {color:var(--blue);}
.shell .brand-column-toggle {display:grid;place-items:center;flex:none;min-height:28px;width:28px;padding:4px;border:0;background:transparent;color:#7d919e;border-radius:4px;}
.shell .brand-column-toggle:hover,.shell .brand-column-toggle[aria-expanded=true] {color:var(--blue);background:var(--blue-soft);}
.shell .brand-column-toggle.is-active {color:var(--blue);background:var(--blue-soft);}
.shell .brand-column-popover {position:fixed;margin:0;padding:20px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 40px #102d4024;color:var(--ink);font-size:14px;font-weight:400;text-align:left;white-space:normal;}
.shell .brand-column-popover::backdrop {background:transparent;}
.shell .brand-column-popover header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;}
.shell .brand-column-popover header strong {font-size:15px;font-weight:600;color:var(--ink);}
.shell .brand-column-popover header button {border:0;background:none;min-height:28px;width:28px;padding:0;font-size:24px;color:var(--muted);}
.shell .brand-column-popover label {display:grid;gap:6px;margin-bottom:12px;}
.shell .brand-column-popover label>span {font-size:12px;color:var(--muted);font-weight:400;}
.shell .brand-column-popover :is(input,select) {height:40px;min-height:40px;width:100%;border:1px solid var(--line-strong);background:#fff;border-radius:6px;font-size:14px;}
.shell .brand-column-popover .column-filter-range {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;}
.shell .brand-column-popover .column-filter-range>span {font-size:12px;color:var(--muted);}
.shell .brand-column-popover .column-filter-error:empty {display:none;}
.shell .brand-column-popover .column-filter-error {display:block;font-size:12px;line-height:1.5;color:var(--red);margin-top:8px;min-height:0;}
.shell .brand-column-popover footer {display:flex;justify-content:space-between;gap:12px;padding-top:20px;margin-top:16px;border-top:1px solid var(--line);}
.shell .brand-active-filters {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 20px;background:#fbfcfd;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);}
.shell .brand-active-filters>button {display:inline-flex;align-items:center;gap:8px;min-height:28px;max-width:100%;padding:4px 10px;background:var(--blue-soft);border:1px solid #cedff4;border-radius:4px;font-size:12px;font-weight:400;color:var(--blue);white-space:normal;}
.shell .brand-active-filters>button>span {font-size:17px;line-height:1;}
.shell .brand-active-filters>.brand-clear-all {margin-left:auto;border:0;background:transparent;color:var(--muted);}
.shell .record-workspace th {padding-block:8px;}
.shell .record-workspace td {padding-block:16px;}
.shell form.modal[data-form] {width:min(1000px,calc(100vw - 64px));padding:32px;}
.shell form.modal[data-form] .modal-actions {margin:28px -32px -32px;padding:18px 32px;bottom:-32px;}
.shell form.modal[data-form] .form-grid {gap:24px 28px;}
.shell form.modal[data-form] input:not([type=checkbox]),.shell form.modal[data-form] select {min-height:44px;background:#fbfcfc;}
.shell form.modal[data-form] :is(input,textarea,select):focus {background:#fff;}
.shell .subadmin-role-card {background:#fff;border-color:var(--line);}
.shell .subadmin-role-meta,.shell .subadmin-role-tags {font-size:12px;line-height:1.6;}
@media(max-width:760px) {.shell .brand-column-toggle {width:40px;min-height:44px;}.shell .brand-column-sort {min-height:44px;}.shell .brand-column-popover :is(input,select) {min-height:44px;font-size:16px;}.shell form.modal[data-form] {width:100vw;padding:20px;}.shell form.modal[data-form] .modal-actions {margin:24px -20px -20px;padding:16px 20px;bottom:-20px;}}
.brand-account-avatar {display:none;}
.brand-account-caption {margin:0 0 8px;padding:4px 4px 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.7;}
.shell .dc-river-pulse {display:none;}
.shell :is(.dc-flow-node.blocked>i,.dc-title span i,.dc-project-bubble.level-阻断 circle:first-child) {animation:none;}
@media(max-width:920px) {.shell .record-workspace>.board>.record-action-bar {flex-wrap:wrap;overflow:visible;top:var(--shell-header-height,72px);box-shadow:none;}.shell .record-workspace>.board>.record-action-bar .record-count {width:100%;}}
@media(max-width:760px) {
 .shell .top-actions .brand-navigator-trigger {display:none;}
 .shell .brand-account {width:40px;max-width:40px;}
 .shell .brand-account>summary {display:grid;place-items:center;min-height:40px;width:40px;border-radius:50%;background:var(--blue-soft);color:var(--blue);}
 .shell .brand-account>summary span,.shell .brand-account>summary>svg:not(.brand-account-avatar) {display:none;}
 .shell .brand-account>summary .brand-account-avatar {display:block;}
 .shell .brand-logo-full {width:140px;}
 .shell .pipeline {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;}
 .shell .pipeline>button,.shell .pipeline>.module-statistic {min-width:0;width:100%;}
 .shell .dc-business-river {height:auto;padding-bottom:32px;}
 .shell .dc-river-chart {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;height:auto;padding:12px 0;}
 .shell .dc-river-chart>svg {display:none;}
 .shell .dc-flow-node {position:static;transform:none;min-width:0;border:1px solid var(--line);border-radius:6px;padding:14px;background:#fff;}
 .shell .dc-flow-node strong {font-size:20px;color:var(--ink);}.shell .dc-flow-node span {font-size:13px;color:var(--muted);}
 .shell .dc-flow-node>i {display:none;}
 .shell .dc-flow-legend {font-size:11px;}
 .shell .filter-panel label:last-of-type {flex-basis:100%;}
 .shell .filter-panel label:last-of-type:has(input[readonly]) {display:flex;align-items:center;gap:10px;}
 .shell .filter-panel input[readonly] {flex:1;min-height:28px;padding:0;background:transparent;border:0;color:var(--muted);font-size:12px;}
}
.shell .badge {max-width:100%;white-space:normal;overflow-wrap:anywhere;}
.shell [data-workflow-steps] {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;}
.shell [data-workflow-steps]>.brand-stepper {grid-column:1/-1;margin:0 0 8px;}
.shell [data-workflow-steps]>span[role=status] {display:block;min-width:0;white-space:normal;}
.shell [data-workflow-steps]>button {margin:0;float:none;}

/* Partner admission and account setup use the same brand controls outside the app shell. */
.shell .role-summary>button,.shell .account-setup-head>button {justify-self:end;width:auto;}
.admission-screen {background:var(--bg);}
.admission-screen .admission-panel {max-width:1160px;border-radius:8px;box-shadow:none;border-color:var(--line);}
.admission-header .brand {display:flex;flex-wrap:wrap;align-items:center;gap:20px;}
.brand-admission-label {padding-left:20px;border-left:1px solid var(--line);font-size:16px;font-weight:600;color:var(--ink);}
.admission-screen h1 {font-size:28px;line-height:1.5;font-weight:600;}
.admission-screen :is(input,select,textarea) {min-height:44px;border:1px solid var(--line-strong);border-radius:6px;padding:10px 12px;font-size:14px;line-height:22px;color:var(--ink);background:#fff;box-shadow:none;}
.admission-screen :is(input,select,textarea):focus {border-color:var(--blue);box-shadow:0 0 0 3px #1267d416;}
.admission-screen :is(input[type=checkbox],input[type=radio]) {width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--blue);}
.admission-screen :is(.primary,.ghost,.danger) {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:6px;font-size:14px;line-height:22px;font-weight:500;box-shadow:none;background:#fff;color:var(--ink);}
.admission-screen .primary {background:var(--blue);border-color:var(--blue);color:#fff;}
.admission-screen .danger {color:var(--red);border-color:#c27e79;}
.admission-screen .form-grid {gap:24px;}.admission-screen .field-label {font-size:13px;font-weight:500;}
.admission-screen .field-hint {font-size:12px;line-height:1.7;}.admission-screen .field-error {font-size:13px;color:var(--red);}
.admission-screen :is(.account-setup-panel,.account-setup-row,.account-setup-list,.supplier-admission-category) {border-color:var(--line);box-shadow:none;}
.admission-screen .account-setup-head>button {justify-self:end;width:auto;}
@media(max-width:760px) {
 .shell .role-summary>button,.shell .account-setup-head>button {justify-self:start;}
 .admission-header .brand {gap:16px;}.brand-admission-label {padding-left:16px;font-size:14px;}
 .admission-screen h1 {font-size:24px;}
 .admission-screen :is(input,select,textarea) {font-size:16px;}
}
