.workbench .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 0 2px; line-height: 1.3; white-space: nowrap; }
.workbench .bottom-nav button > svg { margin: 0; }
.joint-page { padding-bottom: 90px; color: #1d2129; letter-spacing: 0; }
.joint-page * { box-sizing: border-box; }
.joint-page button, .joint-page input { font: inherit; }
.joint-page button { cursor: pointer; }
.joint-page button:disabled { cursor: default; opacity: .65; }
.joint-page :focus-visible { outline: 2px solid #0052d9; outline-offset: 3px; }
.joint-surface { padding: 20px 16px; margin-bottom: 8px; background: #fff; }
.joint-page h1 { margin: 0; font-size: 22px; }
.joint-page h2 { margin: 0 0 14px; font-size: 15px; }
.joint-heading p { margin: 6px 0 14px; font-size: 12px; color: #606b7b; overflow-wrap: anywhere; }
.joint-store-active .topbar { height: 48px; padding-inline: 12px; }
.joint-store-active .brand { gap: 8px; }
.joint-store-active .brand small { display: block; font-size: 9px; }
.joint-store-active .brand strong { font-size: 13px; }
.joint-store-active .period-button { height: 32px; font-size: 12px; }
.joint-store-active .avatar { width: 29px; height: 29px; font-size: 13px; }
.joint-store-active .identity-button > span:nth-child(2) { display: none; }
.joint-store-active .publication-status { margin: 0; padding: 3px 12px; font-size: 10px; }
.joint-store-page .joint-surface { padding: 12px; margin-bottom: 6px; }
.joint-store-page .joint-heading { padding: 2px 12px 8px; }
.joint-store-page .joint-heading > .joint-command { min-height: 22px; font-size: 11px !important; }
.joint-store-page .joint-heading > .joint-command svg { width: 13px; height: 13px; }
.joint-store-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 26px; }
.joint-store-title-row h1 { flex-shrink: 0; font-size: 17px; line-height: 26px; }
.joint-store-title-name { min-width: 0; margin-left: auto; color: #606b7b; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.joint-store-title-model { flex-shrink: 0; padding: 1px 5px; border-radius: 3px; background: #f1edff; color: #6250a2; font-size: 10px; white-space: nowrap; }
.joint-section-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.joint-section-head > div { min-width: 0; }
.joint-icon-button { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #d2d8e1; border-radius: 4px; background: #fff; color: #0052d9; }
.joint-command { display: inline-flex; align-items: center; gap: 3px; min-height: 36px; padding: 0; border: 0; background: transparent; color: #0052d9; font-size: 12px !important; }
.joint-period { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 36px; align-items: end; gap: 8px; margin-top: 6px; }
.joint-period label { display: grid; gap: 5px; min-width: 0; color: #606b7b; font-size: 11px; }
.joint-period input { width: 100%; min-width: 0; height: 36px; padding: 4px; color: #1d2129; border: 1px solid #d2d8e1; border-radius: 4px; background: #fff; font-size: 12px; }
.joint-shortcuts { display: flex; gap: 18px; margin-top: 8px; }
.joint-shortcuts button { border: 0; background: transparent; color: #0052d9; padding: 5px 0; font-size: 12px; min-height: 30px; }
.joint-income { background: #0052d9; color: #fff; }
.joint-income > span { font-size: 12px; }
.joint-income > strong { display: block; font-size: 34px; line-height: 1.4; margin: 8px 0 18px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-income small { font-size: 10px; color: #e0ebff; }
.joint-models { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 14px; padding: 14px 0; border-top: 1px solid #ffffff38; }
.joint-models span { display: block; font-size: 11px; color: #e0ebff; }
.joint-models b { display: block; font-size: 20px; margin-top: 8px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-page strong > small, .joint-page b > small { display: block; font-size: 10px; font-weight: 400; }
.joint-model-single > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.joint-model-single span { flex: 1; }
.joint-model-single b { margin: 0; }
.joint-analysis .joint-section-head { align-items: center; margin-bottom: 18px; }
.joint-analysis h2 { margin: 0; font-size: 19px; }
.joint-analysis .joint-section-head > small { color: #657185; font-size: 11px; }
.joint-analysis .joint-search { min-height: 43px; border: 1px solid #e1e5ec; border-radius: 6px; padding: 0 12px; }
.joint-analysis .joint-search input { min-height: 41px; font-size: 13px; }
.joint-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 15px 0 17px; }
.joint-model-filter { display: flex; min-width: 0; gap: 2px; overflow-x: auto; border-bottom: 1px solid #e5e8ee; }
.joint-model-filter button { flex-shrink: 0; min-height: 38px; padding: 8px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 12px; color: #657185; }
.joint-model-filter button[aria-pressed="true"] { color: #0052d9; border-bottom-color: #0052d9; font-weight: 600; }
.joint-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; color: #768193; font-size: 10px; }
.joint-legend > span { display: flex; align-items: center; gap: 5px; }
.joint-legend i { width: 6px; height: 6px; border-radius: 50%; background: #a4adba; }
.joint-legend i[data-level="ok"] { background: #15956b; }
.joint-legend i[data-level="warn"] { background: #d79808; }
.joint-legend i[data-level="danger"] { background: #d3423f; }
.joint-store-list { display: grid; gap: 12px; }
.joint-store-row { display: block; width: 100%; padding: 16px; text-align: left; border: 1px solid #edf0f4; border-left: 4px solid #a4adba; border-radius: 6px; background: #fafbfc; color: #20242c; scroll-margin-bottom: 100px; }
.joint-store-row[data-level="ok"] { border-left-color: #15956b; }
.joint-store-row[data-level="warn"] { border-left-color: #d79808; }
.joint-store-row[data-level="danger"] { border-left-color: #d3423f; }
.joint-store-row:hover { background: #f4f7fc; }
.joint-store-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.joint-store-heading { min-width: 0; flex: 1; }
.joint-store-heading > strong { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 8px; overflow-wrap: anywhere; }
.joint-model-badge { display: inline-block; padding: 3px 6px; border-radius: 3px; color: #5a6577; background: #edf0f4; font-size: 11px; line-height: 1.4; }
.joint-store-heading > small { display: inline-block; margin-left: 7px; color: #8993a2; font-size: 10px; overflow-wrap: anywhere; }
.joint-store-value { max-width: 43%; min-width: 0; text-align: right; font-variant-numeric: tabular-nums; }
.joint-store-value > strong { display: block; font-size: 21px; line-height: 1.4; overflow-wrap: anywhere; }
.joint-store-value > small { display: block; margin-top: 3px; color: #657185; font-size: 10px; }
.joint-store-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; color: #657185; font-size: 11px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.joint-store-values > span { overflow-wrap: anywhere; }
.joint-store-values b { display: inline-block; color: #3c4758; font-weight: 500; }
.joint-store-bottom { display: flex; align-items: start; gap: 8px; margin-top: 11px; padding-top: 11px; border-top: 1px solid #e7ebf1; }
.joint-store-bottom > svg { flex-shrink: 0; color: #8d98a7; margin-top: 2px; }
.joint-status-lines { display: grid; flex: 1; gap: 5px; min-width: 0; }
.joint-status-line { display: flex; align-items: start; gap: 6px; color: #657185; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.joint-status-line > svg { flex-shrink: 0; margin-top: 2px; }
.joint-status-line[data-level="ok"] { color: #17815f; }
.joint-status-line[data-level="warn"] { color: #986805; }
.joint-status-line[data-level="danger"] { color: #c13a36; }
@media (max-width: 400px) {
  .joint-store-row { padding: 14px 12px 12px; }
  .joint-store-value > strong { font-size: 19px; }
  .joint-store-heading > small { display: block; margin: 6px 0 0; }
}
@media (max-width: 350px) {
  .joint-model-filter button { padding: 8px 6px; font-size: 11px; }
  .joint-store-values { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .joint-store-value > strong { font-size: 17px; }
  .joint-store-heading > strong { font-size: 14px; }
}
.joint-note { font-size: 11px; line-height: 1.7; margin: 12px 0 0; color: #606b7b; overflow-wrap: anywhere; }
.joint-error { font-size: 12px; color: #bd3c36; line-height: 1.6; }
.joint-search { display: flex; gap: 8px; align-items: center; background: #f3f5f7; padding: 8px; border-radius: 4px; color: #606b7b; }
.joint-search input { width: 100%; min-width: 0; border: 0; background: transparent; color: #1d2129; font-size: 12px; }
.joint-scope-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; width: 100%; min-height: 66px; text-align: left; padding: 12px 0; border: 0; border-bottom: 1px solid #e7eaf0; background: #fff; }
.joint-scope-row > span { min-width: 0; }
.joint-scope-row strong { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.joint-scope-row small { display: block; font-size: 10px; margin-top: 5px; color: #606b7b; }
.joint-row-value { display: flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 13px; color: #0052d9; font-variant-numeric: tabular-nums; }
.joint-unassigned { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: 12px; color: #606b7b; }
.joint-store-total { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 18px; }
.joint-net { align-self: center; min-width: 0; }
.joint-net > span, .joint-store-side span { color: #606b7b; font-size: 10px; }
.joint-net > strong { display: block; color: #0052d9; font-size: 30px; margin-top: 10px; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-store-side { display: grid; gap: 13px; padding-left: 16px; border-left: 1px solid #e7eaf0; min-width: 0; }
.joint-store-side b { display: block; font-size: 17px; margin-top: 5px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-table { max-width: 100%; overflow-x: auto; }
.joint-table table { width: 100%; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.joint-table th, .joint-table td { padding: 11px 5px; border-bottom: 1px solid #e7eaf0; white-space: nowrap; text-align: right; }
.joint-table th { color: #606b7b; font-weight: 400; }
.joint-table th:first-child, .joint-table td:first-child { text-align: left; padding-left: 0; }
.joint-daily-scroll { max-height: 240px; max-height: min(240px, 45dvh); overflow: auto; scrollbar-width: thin; scrollbar-color: #c4cbd5 #f3f5f7; }
.joint-daily-scroll > .joint-table { overflow: visible; }
.joint-daily-scroll th { position: sticky; top: 0; z-index: 1; background: #fff; box-shadow: 0 1px 0 #e7eaf0; }
.joint-details { border-bottom: 1px solid #e7eaf0; padding-bottom: 6px; }
.joint-details summary { display: flex; align-items: center; gap: 8px; min-height: 56px; list-style: none; cursor: pointer; font-size: 12px; }
.joint-details summary::-webkit-details-marker { display: none; }
.joint-details summary strong { font-size: 14px; margin-left: auto; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-details summary > svg:last-child { flex-shrink: 0; }
.joint-outbound-date { min-width: 0; }
.joint-outbound-reason { display: block; margin-top: 5px; color: #606b7b; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.joint-outbound-reason[data-state="INVENTORY_OFFSET"] { color: #00845e; }
.joint-outbound-reason[data-state="PENDING"] { color: #a65b00; }
.joint-outbound-deductions { border-top: 1px solid #e7eaf0; }
.joint-details[open] summary > svg:last-child { transform: rotate(90deg); }
.joint-fee-record { padding: 12px 0; border-top: 1px solid #e7eaf0; }
.joint-fee-record > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.joint-fee-record small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.6; color: #606b7b; overflow-wrap: anywhere; }
.joint-stock-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: #606b7b; }
.joint-stock-total strong { font-size: 24px; color: #0052d9; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.joint-outbound-group { padding-top: 16px; }
.joint-outbound-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.joint-outbound-head h3 { margin: 0; font-size: 12px; }
.joint-outbound-record { padding: 12px 0; border-bottom: 1px solid #e7eaf0; }
.joint-outbound-record > strong { display: block; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.joint-outbound-record > small { display: block; margin-top: 4px; color: #606b7b; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.joint-outbound-record dl, .joint-outbound-reconciliation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.joint-outbound-record dt, .joint-outbound-reconciliation dt { font-size: 10px; color: #606b7b; line-height: 1.5; overflow-wrap: anywhere; }
.joint-outbound-record dd, .joint-outbound-reconciliation dd { margin: 5px 0 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.joint-outbound-reconciliation { padding: 12px 0; }
.joint-watermark { padding: 8px 16px; font-size: 10px; line-height: 1.7; color: #606b7b; overflow-wrap: anywhere; }
.joint-income-heading { align-items: center; margin-bottom: 10px; gap: 8px; }
.joint-income-heading h2 { margin: 0; }
.joint-income-heading > small { color: #606b7b; font-size: 10px; }
.joint-income-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 10px; }
.joint-income-grid > div { min-width: 0; }
.joint-income-box-head { min-height: 91px; padding: 11px 12px 9px; container-type: inline-size; --income-size: 28px; border: 1px solid #dde3eb; border-radius: 6px 6px 0 0; }
.joint-income-box-head h2 { display: flex; align-items: center; gap: 5px; margin: 0; color: #606b7b; font-size: 12px; font-weight: 500; }
.joint-income-box-head > strong { display: block; margin-top: 6px; font-size: min(var(--income-size), calc(155cqi / var(--income-chars,10))); line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.joint-income-box-head > small { display: block; min-height: 14px; color: #606b7b; font-size: 10px; }
.joint-income-blue { color: #0052d9; }
.joint-income-category { position: relative; min-height: 90px; padding: 8px 12px 6px; border-inline: 1px solid #dde3eb; container-type: inline-size; }
.joint-income-category::after { position: absolute; content: ""; bottom: 0; left: 10px; right: 10px; border-bottom: 1px solid #e7eaf0; }
.joint-income-category[data-income-channel="MEITUAN"] { min-height: 106px; }
.joint-income-channel-name { display: flex; align-items: center; gap: 5px; min-height: 18px; font-size: 12px; line-height: 18px; }
.joint-income-channel-name i { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.joint-income-channel-name small { color: #606b7b; font-size: 9px; }
.joint-income-channel-amount { display: block; margin-top: 3px; font-size: min(20px,calc(155cqi / var(--income-chars,10))); line-height: 28px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.joint-income-channel-difference { display: flex; align-items: center; gap: 4px; margin-top: 5px; font-size: 11px; line-height: 20px; font-variant-numeric: tabular-nums; }
.joint-income-channel-difference > svg { flex-shrink: 0; }
.joint-income-channel-difference > span { min-width: 0; overflow-wrap: anywhere; }
.joint-income-channel-difference[data-level="ok"] { color: #087f61; }
.joint-income-channel-difference[data-level="warning"] { color: #a76500; }
.joint-income-channel-difference[data-level="pending"] { color: #606b7b; }
.joint-income-received-label { display: block; color: #606b7b; font-size: 10px; line-height: 14px; }
.joint-income-category[data-income-side="received"] .joint-income-channel-amount { margin-top: 0; font-size: min(19px,calc(155cqi / var(--income-chars,10))); line-height: 24px; }
.joint-income-box-foot { min-height: 57px; padding: 10px 12px; background: #f8fafc; border: 1px solid #dde3eb; border-radius: 0 0 6px 6px; }
.joint-income-line { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 12px; }
.joint-income-line > span { color: #606b7b; }
.joint-income-line strong { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.joint-income-category .joint-income-line { padding: 0; gap: 4px; font-size: 10px; line-height: 15px; }
.joint-income-category .joint-income-line > strong { flex-shrink: 0; font-weight: 500; white-space: nowrap; }
.joint-income-category .joint-income-line:last-child { margin-top: 2px; font-size: 11px; line-height: 17px; }
.joint-income-category .joint-income-line:last-child > strong { font-weight: 600; }
.joint-income-box-foot .joint-income-line { padding: 2px 0; font-size: 10px; gap: 5px; }
.joint-income-box-foot strong { font-size: 12px; }
.joint-income-result { display: flex; align-items: start; gap: 5px; margin-top: 10px; color: #008362; font-size: 11px; }
.joint-income-result > svg { flex-shrink: 0; margin-top: 1px; }
.joint-income-warning,.joint-income-difference { color: #bc4a27; }
.joint-income-pending { color: #606b7b; }
.joint-income-record-head h3 { margin: 0; font-size: 13px; }
.joint-income-select { min-width: 0; max-width: 130px; min-height: 34px; padding: 3px 5px; border: 1px solid #dce2e8; border-radius: 4px; background: white; color: #536171; font: inherit; font-size: 11px; }
#joint-income-daily { scroll-margin-top: 90px; }
#joint-income-daily .joint-section-head { align-items: center; margin-bottom: 10px; }
#joint-income-daily h2 { margin: 0; }
.joint-income-day { display: flex; align-items: center; gap: 3px; min-height: 30px; padding: 2px 0; color: inherit; background: none; border: 0; font-size: 11px !important; }
.joint-income-day-selected td { color: #0052d9; background: #edf4ff; }
.joint-income-caption { margin: 9px 0 0; color: #606b7b; font-size: 10px; }
.joint-income-record-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 22px 0 12px; }
.joint-income-record-head > span { color: #606b7b; font-size: 10px; }
.joint-income-tabs { display: inline-flex; gap: 2px; padding: 3px; background: #f2f4f7; border-radius: 4px; }
.joint-income-tabs button { min-height: 32px; padding: 4px 12px; border: 0; background: transparent; color: #606b7b; font-size: 11px; border-radius: 3px; }
.joint-income-tabs button[aria-pressed="true"] { background: white; color: #0052d9; box-shadow: 0 1px 3px #1d21291a; }
.joint-income-records { max-height: 390px; overflow: auto; scrollbar-width: thin; }
.joint-income-record summary > span { min-width: 0; }
.joint-income-record summary small { display: block; margin-top: 3px; color: #606b7b; font-size: 10px; }
.joint-income-record .joint-income-line { font-size: 11px; }
@media (min-width: 700px) {
  .joint-store-page .joint-surface { padding: 16px 24px; }
  .joint-store-page .joint-heading { padding: 2px 24px 8px; }
  .joint-store-active .topbar { padding-inline: 24px; }
  .joint-store-active .publication-status { padding-inline: 24px; }
}
@media (max-width: 430px) {
  .joint-income-grid { column-gap: 8px; }
  .joint-income-box-head { min-height: 83px; padding: 10px 9px 8px; --income-size: 23px; }
  .joint-income-box-head h2 { font-size: 11px; gap: 4px; }
  .joint-income-category { min-height: 86px; padding: 8px 8px 6px; }
  .joint-income-category[data-income-channel="MEITUAN"] { min-height: 102px; }
  .joint-income-channel-amount { font-size: min(19px,calc(155cqi / var(--income-chars,10))); }
  .joint-income-category[data-income-side="received"] .joint-income-channel-amount { font-size: min(18px,calc(155cqi / var(--income-chars,10))); }
  .joint-income-box-foot { padding: 8px; }
  .joint-income-box-foot strong { font-size: 11px; }
  #joint-income-daily .joint-table th,#joint-income-daily .joint-table td { padding: 10px 4px; font-size: 10px; }
  #joint-income-daily .joint-table th { font-size: 9px; }
}
@media (max-width: 350px) {
  .joint-store-title-row { gap: 5px; }
  .joint-store-title-row h1 { font-size: 15px; }
  .joint-store-title-name { font-size: 11px; }
  .joint-store-title-model { font-size: 9px; padding-inline: 4px; }
  .joint-store-active .brand strong { font-size: 12px; }
  .joint-store-active .period-button { font-size: 11px; }
  .joint-income-box-head { --income-size: 21px; }
  .joint-income-box-head h2 { font-size: 10px; gap: 3px; }
  .joint-income-category { padding-inline: 7px; }
  .joint-income-channel-amount { font-size: min(18px,calc(155cqi / var(--income-chars,10))); }
  .joint-income-category[data-income-side="received"] .joint-income-channel-amount { font-size: min(17px,calc(155cqi / var(--income-chars,10))); }
  .joint-income-category .joint-income-line { font-size: 9px; }
  .joint-income-category .joint-income-line:last-child { font-size: 10px; }
  .joint-income-channel-difference { font-size: 10px; gap: 3px; }
  .joint-income-heading > small { font-size: 9px; }
  .joint-income-box-foot .joint-income-line { flex-wrap: wrap; gap: 1px; }
}
@media (max-width: 360px) {
  .joint-surface { padding: 16px 12px; }
  .joint-store-total { gap: 12px; }
  .joint-store-side { padding-left: 12px; }
  .joint-net > strong { font-size: 26px; }
  .joint-store-side b { font-size: 15px; }
  .joint-row-value { max-width: 48%; overflow-wrap: anywhere; flex-shrink: 1; }
}
