/* Merchant shell: compact page context, quiet records, visible exceptions. */
#dashboard { background: #f5f7f5; }
#dashboard .dash { padding-top: 28px; padding-bottom: 32px; }
#dashboard .dash-header { align-items: center; gap: 20px; margin-bottom: 22px; }
#dashboard .workbench-heading { min-width: 0; }
#dashboard .workbench-heading .eyebrow { color: #82918b; font: 11px/1.5 "Manrope", "Noto Sans SC", sans-serif; letter-spacing: .02em; }
#dashboard .workbench-heading h1 { margin: 5px 0 0; color: #183a42; font-size: 25px; line-height: 1.35; font-weight: 700; letter-spacing: -.035em; }
#dashboard .dash-tools { flex-wrap: wrap; gap: 8px; }
#dashboard .dash-tools .btn { min-height: 36px; padding: 8px 13px; border-radius: 8px; box-shadow: none; font-size: 12px; }
#dashboard .dash-tools .btn.primary { background: #1b5447; border-color: #1b5447; }
#dashboard .dash-tools .btn.primary:hover { background: #246b58; }
#dashboard .workbench-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
#dashboard .workbench-icon-button svg { width: 15px; height: 15px; flex: none; }
#dashboard .dash-tools :is(button, select):focus-visible { outline: 2px solid #14967d; outline-offset: 3px; }
.workbench-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
#dashboard .dashboard-load-status { background: #fcf9ef; border-color: #eddfbb; color: #8b6b2b; }
#dashboard .dashboard-load-status.error { background: #fcf3f1; border-color: #edcfc9; color: #a3483e; }
#merchant-legal-consent[data-state="accepted"] { margin: -8px 0 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.merchant-legal-record { color: #83918a; font-size: 11px; line-height: 1.7; }
.merchant-legal-record summary { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-height: 24px; width: fit-content; margin-left: auto; cursor: pointer; list-style: none; }
.merchant-legal-record summary::-webkit-details-marker { display: none; }
.merchant-legal-record summary::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6a9a7e; }
.merchant-legal-record summary span { color: #56816b; }
.merchant-legal-record summary span::after { display: inline-block; margin-left: 5px; content: "⌄"; }
.merchant-legal-record[open] summary span::after { transform: rotate(180deg); }
.merchant-legal-record p { margin: 8px 0 4px; overflow-wrap: anywhere; }
.merchant-legal-record > a { color: #387c63; }
.merchant-legal-record[open] { padding: 0 12px 10px; border: 1px solid #e1eae7; border-radius: 9px; background: #fff; }
.merchant-legal-record :is(summary, a):focus-visible { outline: 2px solid #14967d; outline-offset: 3px; }
#merchant-legal-consent:is([data-state="pending"], [data-state="error"], [data-state="unpublished"]) { margin: 0 0 18px; border-color: #eddfbb; background: #fffcf4; }
#merchant-legal-consent[data-state="error"] { border-color: #edcfc9; background: #fcf3f1; }
#merchant-legal-consent p { line-height: 1.7; }
.overview-recent-panel th:nth-child(2), .overview-recent-panel td:nth-child(2),
.overview-recent-panel th:nth-child(7), .overview-recent-panel td:nth-child(7) { display: none; }
.overview-recent-panel table { min-width: 560px; }
.overview-recent-panel .order-number-cell { width: 220px; min-width: 200px; }
.overview-recent-panel .order-number { max-width: 23ch; font-size: 11px; }
@media (max-width: 900px) {
  #dashboard .dash { padding: 24px; }
  #dashboard .dash-header { flex-wrap: wrap; gap: 14px; }
  #dashboard .workbench-heading h1 { font-size: 23px; }
  #dashboard .mobile-section { display: flex; }
}
@media (max-width: 650px) {
  #dashboard .dash { padding: 22px 16px; }
  #dashboard .dash-header { margin-bottom: 18px; }
  #dashboard .dash-tools { width: 100%; justify-content: flex-start; }
  #dashboard .mobile-section { flex: 1; min-width: 120px; }
  #dashboard .mobile-section > span { display: none; }
  #dashboard .mobile-section select { width: 100%; min-height: 36px; max-width: 220px; font-size: 12px; }
  #dashboard .dash-tools .btn { padding-left: 10px; padding-right: 10px; }
  #dashboard #ops-link { order: 3; }
  .merchant-legal-record summary { margin-left: 0; }
  #merchant-legal-consent[data-state="accepted"] { margin-top: 0; }
}
