/* Shared design language for real business pages. Loaded after module styles. */
:root,
body.qny-unified,
body.qny-inventory-ui,
body.qny-alert-ui,
body.qny-supply-ui {
  --bg: #f3f1ec;
  --bg-soft: #eceae3;
  --card: #fffdf9;
  --card-solid: #fff;
  --ink: #22312c;
  --ink-2: #5c6a63;
  --ink-3: #6b7971;
  --muted: #5c6a63;
  --line: #e3ded2;
  --line-soft: #edeade;
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --teal-tint: #e3f0ec;
  --teal-tint-2: #cfe6df;
  --amber: #b45309;
  --amber-bg: #fdf0dc;
  --rose: #b3352c;
  --rose-bg: #fae7e3;
  --paper: var(--bg);
  --blue: var(--teal);
  --accent: var(--teal);
  --accent-soft: var(--teal-tint);
  --green: var(--teal);
  --red: var(--rose);
  --nav: #183e36;
  --nav2: #245449;
  --q-ink: var(--ink);
  --q-muted: var(--muted);
  --q-line: var(--line);
  --q-canvas: var(--bg);
  --q-primary: var(--teal);
  --shadow: 0 1px 2px rgba(34,49,44,.05), 0 10px 30px -18px rgba(34,49,44,.25);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
body :is(button,a,input,select,textarea,summary):focus-visible {
  outline: 3px solid #78b9ac;
  outline-offset: 3px;
}
body [hidden] { display: none !important; }
body :is(button,.btn,.inbox-btn,.supply-button) {
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
body button:disabled { cursor: not-allowed; }
body :is(.btn,.inbox-btn,.supply-button):active:not(:disabled) { transform: translateY(1px); }
body :is(input,select,textarea) { border-color: var(--line); color: var(--ink); border-radius: var(--r-sm); }
body :is(input[type=checkbox],input[type=radio]) { accent-color: var(--teal) !important; }
body :is(.spinner,.sales-loading .spinner) { border-top-color: var(--teal); }

/* Shared shell keeps its established widths and responsive navigation. */
body.qny-unified .q-layout,
body.qny-unified .q-layout .q-main { background: var(--bg); }
body.qny-unified .q-layout .q-sidebar,
body.qny-unified .q-layout .q-topbar,
body.qny-unified .q-sidebar .q-sidebar-bottom { background: var(--card); border-color: var(--line); }
body.qny-unified .q-brand strong { color: var(--ink); }
body.qny-unified .q-brand-mark { background: var(--teal); box-shadow: 0 3px 8px #0f766e20; border-radius: 12px; }
body.qny-unified .q-brand small,
body.qny-unified .q-sidebar .nav-section-heading,
body.qny-unified .q-sidebar .nav-group-toggle,
body.qny-unified .q-sidebar .workspace-entry small,
body.qny-unified .q-zone { color: var(--muted); }
body.qny-unified .q-sidebar .nav-item,
body.qny-unified .q-sidebar .workspace-entry { color: #526159; border-radius: 11px; }
body.qny-unified .q-sidebar .nav-item:hover,
body.qny-unified .q-sidebar .workspace-entry:hover { background: #eeeee5; color: var(--teal-deep); }
body.qny-unified .q-layout .q-sidebar .workspace-entry[href]:hover { background: #e3f0ec; color: var(--teal-deep); box-shadow: none; }
body.qny-unified .q-sidebar .nav-item.active { color: var(--teal-deep); background: var(--teal-tint); box-shadow: inset 3px 0 var(--teal); }
body.qny-unified .dual-console-switch { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; width: 100%; margin: 0 0 18px; padding: 4px; background: #eeeee5; border: 1px solid #dedfce; border-radius: 12px; }
body.qny-unified .dual-console-switch [data-console-mode] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 40px; padding: 8px 6px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #617064; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
body.qny-unified .dual-console-switch [data-console-mode]:hover { color: var(--teal-deep); background: #e3ede0; }
body.qny-unified .dual-console-switch [aria-pressed=true] { background: var(--card-solid); color: var(--teal-deep); border-color: #d7e0cd; box-shadow: 0 2px 6px #344e2b0d; }
body.qny-unified .dual-console-switch .icon { width: 17px; height: 17px; flex: none; }
body.qny-unified .q-profile>.user-avatar { background: var(--teal-tint) !important; color: var(--teal-deep) !important; }
body.qny-unified .q-profile .profile-summary strong,
body.qny-unified .q-topbar-profile>span,
body.qny-unified .q-topbar-location>strong { color: var(--ink); }
body.qny-unified .q-profile .profile-summary>span,
body.qny-unified .q-topbar-location>span { color: var(--muted); }
body.qny-unified .q-topbar-search>label { background: #f5f3ee; border-color: var(--line); border-radius: 11px; }
body.qny-unified .q-topbar-profile .user-avatar { background: var(--teal-tint); color: var(--teal); }
body.qny-unified .q-topbar .q-icon-button { background: var(--card); border-color: var(--line); color: var(--ink-2); }
body.qny-unified .q-topbar [data-qny-inbox-count] { background: var(--teal); }
body.qny-unified .q-page-head h1 { color: var(--ink) !important; letter-spacing: -.5px; }
body.qny-unified :is(.page-head,.q-page-head) :is(p,.subtitle),
body.qny-unified .q-page-kicker { color: var(--muted); }
body.qny-unified :is(.eyebrow,.section-kicker) { color: var(--teal); }

/* Buttons, form controls, tables and status feedback shared by all modules. */
body.qny-unified .btn,
body.qny-alert-ui .inbox-btn,
body.qny-supply-ui .supply-button { min-height: 40px; font-size: 14px; border-radius: var(--r-sm); border-color: var(--line); color: var(--ink-2); background: var(--card-solid); }
body.qny-unified .btn:hover:not(:disabled),
body.qny-alert-ui .inbox-btn:hover:not(:disabled),
body.qny-supply-ui .supply-button:hover:not(:disabled) { border-color: #9bc8bd; background: #edf6f1; color: var(--teal-deep); box-shadow: 0 3px 10px #0f766e12; }
body.qny-unified .btn.btn-primary,
body.qny-unified .inbox-btn.primary,
body.qny-alert-ui .inbox-btn.primary,
body.qny-supply-ui .supply-button.primary { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 3px 8px #0f766e1a; }
body.qny-unified .btn.btn-primary:hover:not(:disabled),
body.qny-unified .inbox-btn.primary:hover:not(:disabled),
body.qny-alert-ui .inbox-btn.primary:hover:not(:disabled),
body.qny-supply-ui .supply-button.primary:hover:not(:disabled) { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
body.qny-unified .btn.btn-danger { color: var(--rose); border-color: #e9c9c0; background: #fffaf7; }
body.qny-unified .btn.btn-danger:hover:not(:disabled) { color: #962920; border-color: #d89686; background: var(--rose-bg); }
body.qny-unified :is(.panel,.q-surface,.q-metric,.stat,.guide-card,.q-support-panel,.q-product-card,.qny-help-section,.qny-help-toc,.inbox-panel) { border-color: var(--line); border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow); }
body.qny-unified :is(.panel-toolbar,.tabs,.table-footer,.q-list-foot,.q-catalog-toolbar,.q-list-heading,.q-filter-tabs) { border-color: var(--line); }
body.qny-unified :is(.q-metric>strong,.stat-number,.catalog-stock-quantity) { color: var(--ink); font-variant-numeric: tabular-nums; }
body.qny-unified :is(.q-metric>strong,.stat-number) { font-weight: 750; white-space: nowrap; }
body.qny-unified :is(.q-metric-icon,.q-activity-symbol,.count-bubble) { background: var(--teal-tint); color: var(--teal); }
body.qny-unified :is(.q-tone-2,.badge.orange,.notice) { background: var(--amber-bg); color: var(--amber); border-color: #efd6ac; }
body.qny-unified :is(.badge.blue,.badge.green,.notice.info) { background: var(--teal-tint); color: var(--teal-deep); border-color: #c6ded4; }
body.qny-unified :is(.badge.red,.error-box) { background: var(--rose-bg); color: var(--rose); border-color: #edc4bc; }
body.qny-unified :is(.badge.gray,.badge) { font-size: 12px; }
body.qny-unified :is(.q-data-table th,th) { background: #f3f1e9; color: var(--ink-2); border-color: var(--line); font-size: 13px; font-weight: 600; }
body.qny-unified :is(.q-data-table td,td) { font-size: 14px; color: var(--ink); border-color: var(--line-soft); }
body.qny-unified .q-data-table { background: var(--card); }
body.qny-unified .q-data-table tbody>tr:hover { background: #f0f5ee; }
body.qny-unified :is(.q-cell-sku,.q-product-title>.sku,.person-with-avatar strong,.table-wrap td .user-name) { color: var(--ink); font-size: 14px; font-weight: 700; }
body.qny-unified :is(.q-cell-secondary,.q-row-explanation,.q-product-title p,.q-product-details,.q-list-foot,.q-rule-copy,.subcell,.table-footer,.field-help) { color: var(--muted); font-size: 13px; }
body.qny-unified .q-product-line>.catalog-photo { width: 40px; height: 40px; min-width: 40px; border-radius: 9px; border-color: var(--line); }
body.qny-unified .q-products-grid { background: #f1f0e9; }
body.qny-unified .q-product-card:hover { border-color: #a8c9bc; box-shadow: 0 6px 18px #244d3512; }
body.qny-unified :is(.q-list-tools input,.q-list-tools select,.filters input,.filters select) { min-height: 40px; height: auto; border-color: var(--line); background: #fff; font-size: 14px; color: var(--ink); }
body.qny-unified :is(.tab.active,.q-view-tabs>button[aria-pressed=true]) { color: var(--teal); border-color: var(--teal); }
body.qny-unified .q-view-tabs>button[aria-pressed=true]:after { background: var(--teal); }
body.qny-unified :is(.q-filter-tabs>button.active,.q-view-switch>button[aria-pressed=true],.type-switch .active,.inbox-tabs button.active,.supply-admin-tabs button.active) { background: var(--teal-tint); color: var(--teal-deep); border-color: #badace; }
body.qny-unified :is(.q-filter-tabs>button,.q-view-switch>button,.tab,.inbox-tabs button,.supply-admin-tabs button) { min-height: 40px; font-size: 14px; }
body.qny-unified :is(.q-view-switch,.rule-strip,.review-meta,.q-review-summary,.q-product-details dl,.original-details summary) { background: #f2f4ec; border-color: var(--line); color: var(--ink-2); }

/* Screenshot workbench and review lanes keep their current workflow and images. */
body.qny-unified :is(.modal,.qny-batch-dialog,.qny-batch-editor-card,.qny-drafts-dialog,.inbox-dialog) { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: 0 20px 70px #22312c26; }
body.qny-unified :is(.modal-header,.modal-footer,.qny-batch-header,.qny-batch-footer,.inbox-dialog header) { background: var(--card); border-color: var(--line); }
body.qny-unified :is(.modal-backdrop,.qny-batch-layer,.qny-drafts-layer,.inbox-dialog-backdrop) { background-color: #1a302b70; }
body.qny-unified :is(.close-btn,.qny-batch-close,.inbox-dialog-close) { min-width: 40px; min-height: 40px; color: var(--ink-2); background: #ecefe5; border-radius: 10px; }
body.qny-unified :is(.upload-zone,.qny-batch-drop) { background: #f0f6ef; border-color: #9bbcaf; border-radius: 14px; }
body.qny-unified .qny-batch-drop.is-dragging { background: var(--teal-tint); border-color: var(--teal); box-shadow: inset 0 0 0 2px #0f766e15; }
body.qny-unified :is(.qny-batch-item,.qny-draft-tile,.review-intake-item,.auto-review-item,.q-review-timeline-item) { background: #fff; border-color: var(--line); border-radius: 12px; }
body.qny-unified :is(.qny-batch-item-main,.qny-batch-file,.qny-batch-assignment,.qny-batch-spu,.review-key-facts,.review-focus-facts,.review-focus-reason,.q-review-summary) { color: var(--ink); }
body.qny-unified :is(.qny-batch-rule,.qny-batch-footnote,.qny-batch-reference-label,.qny-batch-routing,.qny-drafts-notice,.qny-draft-candidates,.q-review-summary :is(dt,dd)) { font-size: 13px; line-height: 1.75; }
body.qny-unified :is(.qny-batch-counts strong,.qny-batch-counts b,.review-queue-totals strong) { color: var(--teal-deep); font-size: 20px; font-variant-numeric: tabular-nums; }
body.qny-unified :is(.qny-batch-status.ready,.qny-batch-status.submitted,.auto-check.pass,.auto-item-state.approved,.review-decision-readiness.is-ready) { background: var(--teal-tint); color: var(--teal-deep); }
body.qny-unified :is(.qny-batch-status.needs_review,.qny-batch-status.blocked,.qny-batch-status.submission_unknown,.qny-batch-policy,.qny-drafts-warning,.review-flag) { background: var(--amber-bg); color: var(--amber); border-color: #e5b86b; }
body.qny-unified :is(.qny-batch-status.submission_failed,.qny-batch-status.upload_failed,.qny-batch-error,.review-flag.error) { background: var(--rose-bg); color: var(--rose); border-color: #d98f80; }
body.qny-unified :is(.qny-batch-progress>span,.auto-review-progress>span,.qny-batch-confirm,.qny-batch-send-all,.qny-drafts-orb) { background: var(--teal); }
body.qny-unified .auto-review-panel.is-compact { background: #eef4ed; border-color: #d4dfcd; border-radius: var(--r-md); }
body.qny-unified .auto-review-panel.is-compact .auto-review-head h2 { color: var(--ink); }
body.qny-unified .auto-review-panel.is-compact .auto-review-actions .btn { min-height: 40px; font-size: 14px; padding: 8px 12px; }
body.qny-unified .auto-review-mini-counts[aria-label="实际审核发生日统计"]>button,
body.qny-unified .auto-review-mini-counts[aria-label="自动审核摘要"]>button { background: var(--card); border-color: var(--line); color: var(--ink-2); }
body.qny-unified .auto-review-mini-counts[aria-label="实际审核发生日统计"]>button>b,
body.qny-unified .auto-review-mini-counts[aria-label="自动审核摘要"]>button>b { color: var(--teal-deep); }
body.qny-unified .q-selection-bar { background: #173f35; border-color: #527e6d; }
body.qny-unified .toast { background: #184e40; color: #fff; border-radius: 12px; }
body.qny-unified .toast.error { background: var(--rose); }

/* Growth and sales retain their podiums, real progress, and celebrations. */
body.qny-unified :is(.growth-arena,.sales-arena,.growth-targets,.growth-dashboard .personal-progress,.sales-today-total,.sales-update-card,.sales-team-note,.sales-order-milestones,.growth-execution-basis,.growth-ledgers) { border-color: var(--line); background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); }
body.qny-unified .growth-dashboard .listing-challenge { background: linear-gradient(115deg,#e5f1e9,#f5f2e2); border-color: #c8ddcc; border-radius: var(--r-lg); }
body.qny-unified :is(.listing-challenge h2,.listing-challenge-kicker,.listing-challenge-score>strong,.growth-dashboard .personal-goal-number strong,.growth-dashboard .personal-records strong) { color: var(--teal-deep); }
body.qny-unified :is(.listing-challenge p,.listing-challenge-basis,.listing-challenge-basis p,.growth-target-facts,.growth-target-explanation,.growth-personal-facts,.growth-encourage,.growth-sprint-hint,.growth-footnote) { color: var(--ink-2); }
body.qny-unified :is(.growth-target-score strong,.team-percent,.growth-target-facts strong,.growth-personal-facts b) { color: var(--teal); font-variant-numeric: tabular-nums; }
body.qny-unified :is(.growth-arena-heading h2,.sales-arena-title h2,.growth-dashboard .personal-goal-heading h2,.sales-milestone-heading h2,.sales-order-milestones.is-waiting h2) { color: var(--ink); }
body.qny-unified :is(.growth-podium-person h3,.sales-podium-person h3,.growth-member-name>strong,.sales-member-name>strong) { color: var(--ink); font-size: 16px; font-weight: 700; }
body.qny-unified :is(.growth-podium-person>strong,.sales-podium-units,.growth-member-score .leader-score,.sales-member-score .sales-units) { color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.qny-unified :is(.growth-place-1>strong,.podium-position-1 .sales-podium-units) { color: #92630f; }
body.qny-unified :is(.growth-podium-step,.sales-podium-step) { background: linear-gradient(#e6f0e9,#d6e7dc); color: var(--teal-deep); border-color: #c5dccd; }
body.qny-unified :is(.growth-place-1 .growth-podium-step,.podium-position-1 .sales-podium-step) { background: linear-gradient(#f5ead0,#ead7aa); color: #80601a; border-color: #dec896; }
body.qny-unified :is(.growth-member-grid,.sales-member-list) { background: #f2f1e9; }
body.qny-unified :is(.growth-member,.sales-member) { border-color: var(--line); background: var(--card); border-radius: 14px; }
body.qny-unified :is(.growth-member:hover,.sales-member:hover) { border-color: #add0c1; box-shadow: 0 5px 14px #244d3510; }
body.qny-unified :is(.growth-member.is-me,.sales-member.is-me) { background: #f0f7ee; border-color: #bcd8c4; box-shadow: inset 3px 0 var(--teal); }
body.qny-unified :is(.growth-member .leader-rank,.sales-rank,.growth-podium-person>span:not(.user-avatar):not(.growth-crown),.sales-podium-rank,.growth-member-score>small,.sales-member-score>span,.sales-member-score>span small) { color: var(--ink-2); }
body.qny-unified :is(.growth-member-name .shop-chip,.sales-member .shop-chip,.growth-member .achievement-badge) { background: #edf2e7; color: #4f684d; }
body.qny-unified :is(.sales-today-total>span,.sales-update-card strong,.sales-update-card p,.sales-team-note p,.sales-today-total>p,.sales-update-card>div>span,.sales-short-explanation,.sales-short-explanation p) { color: var(--ink-2); }
body.qny-unified .sales-today-total>strong { color: var(--teal-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.qny-unified :is(.sales-milestone-track,.personal-goal-track,.team-goal-track,.listing-challenge-track) { background: #e3e8db; }
body.qny-unified :is(.sales-milestone-track>span,.personal-goal-track>span,.team-goal-track>span,.listing-challenge-track>span) { background: linear-gradient(90deg,#5aa88b,var(--teal)); }
body.qny-unified :is(.sales-unknown-list>summary,.sales-unknown-list article strong,.sales-milestone-steps>span,.sales-milestone-steps>b,.sales-short-explanation>summary>span) { color: var(--ink-2); }

/* Inbox, guidance and existing administrator settings. */
body.qny-unified :is(.inbox-message-row,.inbox-sent-row,.inbox-stock-info,.inbox-sku-data,.inbox-sku-numbers,.inbox-sku-sales,.inbox-sku-warehouses,.qny-help-example,.jst-sync-card,.jst-mode-card,.jst-sample,.jst-step-grid>article) { border-color: var(--line); background: var(--card); color: var(--ink); border-radius: 12px; }
body.qny-unified :is(.inbox-message-row.unread,.jst-mode-card.selected,.qny-help-edition-badge,.qny-help-toc [aria-current],.qny-help-editions [aria-pressed=true]) { background: var(--teal-tint); color: var(--teal-deep); border-color: #bcd8cb; }
body.qny-unified :is(.inbox-unread-dot,.qny-guide-number,.jst-step-grid>article>b) { background: var(--teal); color: #fff; }
body.qny-unified :is(.inbox-read-stats strong,.inbox-stock-info strong,.inbox-sku-numbers strong,.inbox-sku-sales strong,.inbox-sku-warehouse-numbers strong) { color: var(--teal-deep); font-variant-numeric: tabular-nums; }
body.qny-unified .qny-help-head { background: var(--card); border-color: var(--line); border-radius: var(--r-lg); }
body.qny-unified :is(.qny-help-kicker,.qny-help-content h2,.qny-help-toc strong,.jst-heading h2,.jst-mode-card h3) { color: var(--ink); }
body.qny-unified :is(.qny-help-note,.jst-result-unknown,.jst-recovery) { background: var(--amber-bg); color: #87500f; border-color: #e7cca4; }
body.qny-unified :is(.jst-state.ready,.jst-feedback,.qny-help-example) { background: var(--teal-tint); color: var(--teal-deep); }
body.qny-unified :is(.jst-panel,.jst-note,.jst-step-grid p,.jst-sync-card p,.qny-help-content p) { color: var(--ink-2); }
body.qny-unified .q-welcome-fold { background: var(--card); border-color: var(--line); border-radius: 14px; }
body.qny-unified .q-welcome-fold>summary,
body.qny-unified .q-welcome-fold .welcome-metric strong { color: var(--teal-deep); }
body.qny-unified .qny-read-times { background: #f2f4eb; border-color: var(--line); color: var(--ink-2); font-size: 13px; border-radius: 11px; }

/* Independent alert and partner pages use the same palette. */
body.qny-alert-ui :is(.alert-shell,.search-panel) { color: var(--ink); }
body.qny-alert-ui :is(.source-panel,.count-card,.alert-card,.search-panel) { background: var(--card); border-color: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); }
body.qny-alert-ui :is(.brand,.sku-code,.warehouse-top strong) { color: var(--ink); }
body.qny-alert-ui :is(.count-card strong,.forecast strong,.metric-line b,.warehouse-top b) { color: var(--teal-deep); font-variant-numeric: tabular-nums; }
body.qny-alert-ui .count-card.urgent strong,
body.qny-alert-ui .alert-card.urgent :is(.risk-label,.forecast strong) { color: var(--rose); }
body.qny-alert-ui .alert-card.warning :is(.risk-label,.forecast strong) { color: var(--amber); }
body.qny-alert-ui :is(.source-label,.footnote,.source-panel,.sales-notice,.metric-line,.warehouse-heading,.batch-line) { color: var(--ink-2); }
body.qny-alert-ui .source-actions #refreshInventorySource { background: var(--teal); border-color: var(--teal); color: #fff; min-height: 40px; font-size: 14px; }
body.qny-alert-ui .source-actions #refreshInventorySource:hover:not(:disabled) { background: var(--teal-deep); border-color: var(--teal-deep); }
body.qny-alert-ui .risk-filters button { min-height: 40px; font-size: 14px; }
body.qny-alert-ui :is(.risk-filters button.active,.warehouse-toggle) { background: var(--teal-tint); color: var(--teal-deep); border-color: #bcd8cb; }
body.qny-alert-ui .sku-photo { width: 52px; height: 52px; min-width: 52px; object-fit: contain; border-radius: 10px; }
body.qny-supply-ui #distributor-app { --s-ink: var(--ink); --s-muted: var(--muted); --s-line: var(--line); background: var(--bg); color: var(--ink); }
body.qny-supply-ui :is(.supply-top,.supply-product,.supply-account-card,.supply-notice,.partner-card,.supply-dialog) { background: var(--card); border-color: var(--line); color: var(--ink); }
body.qny-supply-ui :is(.supply-product,.supply-account-card,.supply-notice,.supply-dialog) { border-radius: var(--r-md); box-shadow: var(--shadow); }
body.qny-supply-ui :is(.supply-nav button.active,.supply-sections button.active,.supply-wordmark>span,.supply-status,.supply-favorite[aria-pressed=true]) { background: var(--teal-tint); color: var(--teal-deep); border-color: #bfd9cc; }
body.qny-supply-ui .supply-search button { background: var(--teal); }
body.qny-supply-ui :is(.supply-product-sku,.supply-detail-info h3,.supply-wordmark strong) { color: var(--ink); }
body.qny-supply-ui :is(.supply-hero p,.supply-product-spec,.supply-source-note,.supply-product-bottom,.supply-detail-facts dt,.supply-detail-note,.supply-count,.supply-footer,.partner-note) { color: var(--ink-2); font-size: 14px; }
body.qny-supply-ui :is(.supply-product-bottom time,.supply-eyebrow,.supply-photo-kind) { color: #5f7265; }
body.qny-supply-ui .partner-brand { background: #183e36; }
body.qny-supply-ui .supply-hero-art { background: linear-gradient(120deg,#e0ede1,#f0e8ce); }
body.qny-supply-ui .supply-art-card { color: var(--teal); }
body.qny-supply-ui :is(.supply-reason,.supply-photo-tag) { background: var(--teal-tint); color: var(--teal-deep); }
body.qny-supply-ui .supply-overlay { background: #1a302b70; }
body.qny-unified .supply-admin-product { background: var(--card); border-color: var(--line); border-radius: 14px; }
body.qny-unified .supply-admin-product>div>strong { color: var(--ink); font-size: 16px; }
body.qny-unified .supply-admin-product>div>p { font-size: 14px; color: var(--ink-2); }
body.qny-unified .supply-admin-image { display: flex; justify-content: center; align-items: center; width: 52px; height: 52px; min-width: 52px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
body.qny-unified .supply-admin-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.qny-unified .supply-admin-image .supply-photo-empty { width: 100%; height: 100%; min-height: 0; font-size: 11px; line-height: 1.25; padding: 2px; }
body.qny-unified .supply-admin-image .supply-photo-empty svg { width: 16px; height: 16px; }
body.qny-unified .supply-admin-photo-preview { display: grid; place-items: center; min-height: 180px; }
body.qny-unified .supply-admin-photo-preview img { max-width: 100%; max-height: 65dvh; object-fit: contain; }
body.qny-unified :is(.supply-admin-photo-note,.supply-admin-caption,.supply-admin-item small) { color: var(--ink-2); font-size: 13px; }

@media(max-width:760px) {
  body.qny-unified, body.qny-inventory-ui, body.qny-alert-ui, body.qny-supply-ui { font-size: 14px; }
  body.qny-unified :is(p,small,label,td,th,summary,.subtitle,.field-help,.field-error,.subcell,.badge,.shop-chip,.q-cell-secondary,.q-row-explanation,.q-rule-copy,.q-list-foot,.qny-batch-file,.qny-batch-status,.qny-batch-rule,.qny-batch-routing,.qny-batch-reference-label,.qny-batch-footnote,.qny-drafts-notice,.qny-drafts-warning,.review-key-facts,.review-focus-facts,.growth-personal-facts,.growth-target-facts,.growth-encourage,.growth-footnote,.sales-podium-rank,.sales-milestone-steps,.qny-read-times),
  body.qny-alert-ui :is(p,small,label,summary,.source-label,.footnote,.metric-line,.warehouse-heading,.batch-line,.risk-label),
  body.qny-supply-ui :is(p,small,label,summary,.supply-source-note,.supply-status,.supply-product-bottom,.supply-photo-kind,.supply-count,.supply-detail-note) { font-size: 14px !important; }
  body.qny-unified :is(button,.btn,.inbox-btn,.q-topbar .q-icon-button),
  body.qny-alert-ui :is(button,.inbox-btn,.back-button),
  body.qny-supply-ui :is(button,.supply-button) { min-height: 40px; font-size: 14px; }
  body.qny-unified :is(.q-topbar .q-icon-button,.close-btn,.qny-batch-close,.inbox-dialog-close),
  body.qny-supply-ui .supply-close { min-width: 40px; }
  body.qny-unified :is(input,select,textarea),
  body.qny-inventory-ui :is(input,select),
  body.qny-alert-ui :is(input,select),
  body.qny-supply-ui :is(input,select) { font-size: 16px; }
  body.qny-unified :is(.page-head,.q-page-head,.q-section-heading,.q-list-heading) { flex-wrap: wrap; }
  body.qny-unified :is(.q-section-heading>.q-subtle,.q-list-foot,.q-secondary-metrics,.qny-batch-assignment,.qny-batch-spu) { white-space: normal; overflow-wrap: anywhere; }
  body.qny-unified :is(.growth-podium,.sales-podium) { gap: 8px; }
  body.qny-unified :is(.growth-podium-person h3,.sales-podium-person h3) { font-size: 14px; overflow-wrap: anywhere; }
  body.qny-unified :is(.growth-member-name>strong,.sales-member-name>strong) { font-size: 15px; }
  body.qny-unified :is(.growth-member-name>strong,.sales-member-name>strong) { color: var(--ink) !important; }
  body.qny-unified :is(.growth-member-score .leader-score,.sales-member-score .sales-units,.sales-today-total>strong,.sales-milestone-heading h2) { color: var(--teal-deep) !important; }
  body.qny-unified .q-mobile-menu { background: var(--teal-tint); color: var(--teal-deep); }
  body.qny-unified .q-sidebar .nav-group-toggle { min-height: 40px; font-size: 14px; }
  body.qny-unified .q-profile .logout { min-width: 40px !important; min-height: 40px !important; height: 40px !important; }
  body.qny-unified .q-filter-tabs { gap: 6px; }
  body.qny-unified .q-list-tools { width: 100%; }
  body.qny-unified .q-list-tools input[type=search] { flex: 1 1 160px; min-width: 0; }
  body.qny-unified .q-list-tools select { flex: 1 1 125px; max-width: 100%; min-width: 0; }
  body.qny-unified :is(.modal-header,.modal-footer,.qny-batch-header,.qny-batch-footer) { gap: 10px; }
  body.qny-unified .supply-admin-product { align-items: flex-start; gap: 12px; }
  body.qny-supply-ui .supply-product-bottom { flex-wrap: wrap; gap: 7px; }
}
@media(prefers-reduced-motion:reduce) {
  body *, body *::before, body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
