/* Stage 7: customer account frame and dashboard, never admin or home. */
.site-shell.customer-shell .customer-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.site-shell.customer-shell .customer-content { min-width: 0; }
.site-shell.customer-shell .st-acc__side { position: sticky; top: 20px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 6px; padding: 16px; box-shadow: none; backdrop-filter: none; }
.site-shell.customer-shell .st-acc__user { padding: 4px 0 20px; gap: 12px; margin-bottom: 12px; }
.site-shell.customer-shell .st-acc__user .st-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 6px; background: var(--sf-mint); color: var(--sf-mint-ink); box-shadow: none; }
.site-shell.customer-shell .customer-identity { min-width: 0; }
.site-shell.customer-shell .customer-name { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.site-shell.customer-shell .customer-caption { font-size: 12px; }
.site-shell.customer-shell .st-acc__nav a, .site-shell.customer-shell .st-acc__nav-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; min-height: 44px; border-radius: 5px; font: inherit; font-size: 13px; font-weight: 600; text-align: start; white-space: normal; }
.site-shell.customer-shell .st-acc__nav a.active { background: var(--sf-mint); color: var(--sf-mint-ink); }
.site-shell.customer-shell .st-acc__nav .ic { flex: 0 0 20px; display: flex; }
.site-shell.customer-shell .customer-logout { border-top: 1px solid var(--st-border); padding-top: 12px; margin-top: 12px; }
.site-shell.customer-shell .st-acc__nav-logout { border: 0; background: transparent; color: var(--st-danger); cursor: pointer; }
.site-shell.customer-shell .st-acc__nav-logout:hover { background: var(--st-surface-2); }
.site-shell.customer-shell .st-acc__mobile-toggle { border-radius: 5px; }
.site-shell .customer-dashboard .dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.site-shell .customer-dashboard .dashboard-heading > div { min-width: 0; }
.site-shell .customer-dashboard .dashboard-heading h1 { font-size: 26px; line-height: 1.7; overflow-wrap: anywhere; margin: 4px 0; }
.site-shell .customer-dashboard .dashboard-heading p { font-size: 13px; margin: 0; }
.site-shell .customer-dashboard .dashboard-eyebrow { color: var(--st-primary); }
.site-shell .customer-dashboard .dashboard-heading > a { flex-shrink: 0; min-height: 44px; }
.site-shell .customer-dashboard .dashboard-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.site-shell .customer-dashboard .st-stat { min-width: 0; padding: 20px 16px; border-radius: 6px; background: var(--st-surface-2); border: 1px solid var(--st-border); box-shadow: none; backdrop-filter: none; color: var(--st-text); }
.site-shell .customer-dashboard .st-stat:hover { border-color: var(--st-primary-border); }
.site-shell .customer-dashboard .st-stat__ic { background: var(--st-surface); color: var(--st-primary); border-radius: 6px; width: 44px; height: 44px; margin-bottom: 14px; }
.site-shell .customer-dashboard .st-stat__v { font-size: 21px; line-height: 1.8; overflow-wrap: anywhere; }
.site-shell .customer-dashboard .st-stat__l { font-size: 12px; margin-top: 6px; }
.site-shell .customer-dashboard .dashboard-verification { font-size: 15px; min-height: 38px; display: flex; align-items: center; }
.site-shell .customer-dashboard .is-unavailable { font-size: 13px; color: var(--st-muted); }
.site-shell .customer-dashboard .dashboard-recent { border-radius: 6px; border: 1px solid var(--st-border); background: var(--st-surface); box-shadow: none; overflow: hidden; }
.site-shell .customer-dashboard .st-card__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px; }
.site-shell .customer-dashboard .st-card__head h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0; }
.site-shell .customer-dashboard .st-card__head > a { color: var(--st-primary); font-size: 12px; padding-block: 8px; }
.site-shell .customer-dashboard .dashboard-table-caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.site-shell .customer-dashboard .st-table { width: 100%; table-layout: fixed; }
.site-shell .customer-dashboard .st-table :is(th, td) { padding: 16px 10px; white-space: normal; overflow-wrap: anywhere; font-size: 12px; text-align: start; }
.site-shell .customer-dashboard .st-table thead th { background: var(--st-surface-2); color: var(--st-muted); font-weight: 600; }
.site-shell .customer-dashboard .st-table tbody th { font-weight: 600; border-bottom: 1px solid var(--st-border); }
.site-shell .customer-dashboard .st-table :is(th, td):last-child { width: 66px; text-align: center; }
.site-shell .customer-dashboard .st-table .st-btn { width: 40px; min-height: 40px; padding: 8px; }
.site-shell .customer-dashboard .dashboard-empty { padding: 44px 20px; }
.site-shell .customer-dashboard .dashboard-error { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; border-radius: 6px; font-size: 13px; margin-bottom: 22px; }
.site-shell .customer-dashboard .dashboard-error > span { flex: 1; min-width: 180px; }
.site-shell .customer-dashboard .st-mobile-record { padding: 20px; background: var(--st-surface); }
.site-shell .customer-dashboard .st-mobile-record__head { flex-wrap: wrap; gap: 10px; }
.site-shell .customer-dashboard .st-mobile-record__row { gap: 14px; align-items: flex-start; }
.site-shell .customer-dashboard .st-mobile-record__row > :last-child { min-width: 0; }
.site-shell .customer-dashboard .st-mobile-record__actions .st-btn { min-height: 44px; }
@media (max-width: 1280px) {
    .site-shell.customer-shell .customer-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
    .site-shell .customer-dashboard .dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .site-shell.customer-shell .customer-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .site-shell.customer-shell .st-acc__side { position: static; max-height: none; overflow: visible; }
    .site-shell.customer-shell .st-acc__mobile-toggle { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--st-border); background: var(--st-surface-2); color: var(--st-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
    .site-shell.customer-shell .st-acc__mobile-toggle > span { display: flex; align-items: center; gap: 8px; }
    .site-shell.customer-shell .st-acc__nav { display: none; padding-top: 12px; }
    .site-shell.customer-shell .st-acc__nav.is-open { display: block; }
}
@media (max-width: 767px) {
    .site-shell .customer-dashboard .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .site-shell .customer-dashboard .dashboard-heading h1 { font-size: 22px; }
    .site-shell .customer-dashboard .dashboard-stats { gap: 12px; }
    .site-shell .customer-dashboard .st-stat { padding: 16px 12px; }
    .site-shell .customer-dashboard .st-stat__v { font-size: 18px; }
    .site-shell .customer-dashboard .dashboard-verification, .site-shell .customer-dashboard .is-unavailable { font-size: 12px; }
    .site-shell .customer-dashboard .st-mobile-records { display: block; }
    .site-shell .customer-dashboard .st-mobile-records-desktop { display: none; }
    .site-shell .customer-dashboard .st-mobile-record { padding: 18px 16px; }
}
