/* Cabinet layout and typography, shared by renter and staff workspaces. */
body.site-shell .cabinet-bookings-first { margin: 20px 0 28px; min-width: 0; }
body.site-shell .cabinet-bookings-first #p-list-title { font-size: 24px; margin-bottom: 16px; }
body.site-shell .cabinet-bookings-first #client-next-trip { background: var(--bg-card) !important; border-color: var(--border) !important; border-left: 4px solid var(--primary) !important; box-shadow: none !important; }
body.site-shell .cabinet-bookings-first #client-next-trip-eyebrow { color: var(--text-muted) !important; font-weight: 600 !important; }
body.admin-page { --nr-admin-font: var(--nr-font); }
body.admin-page .container { padding: clamp(16px, 3vw, 32px); }
body.admin-page .cabinet-overview {
    padding: 24px;
    background: var(--bg-input);
    border-color: var(--border);
    border-radius: 16px;
}
body.admin-page .cabinet-overview h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
body.admin-page .cabinet-overview p { font-size: 14px; line-height: 1.65; }
body.admin-page .cabinet-overview__identity { min-width: 0; background: var(--bg-card); }
body.admin-page .dash-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin-bottom: 24px; }
body.admin-page .dash-card { padding: 16px; border-left-width: 1px; box-shadow: none !important; }
body.admin-page .dash-card small { font-size: 12px; font-weight: 600; text-transform: none; line-height: 1.5; }
body.admin-page .dash-card b { font-size: 26px; font-weight: 700; margin-top: 8px; font-variant-numeric: tabular-nums; }
body.admin-page .tabs { gap: 6px; padding: 6px 6px 12px; border-bottom: 1px solid var(--border); scrollbar-width: thin; }
body.admin-page .tab-btn { min-height: 44px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
body.admin-page .tab-btn.active { background: var(--primary) !important; }
body.admin-page .table-wrap { max-width: 100%; }
body.admin-page .table-wrap th { font-size: 12px; font-weight: 700; padding: 14px 12px; white-space: nowrap; }
body.admin-page .table-wrap td { line-height: 1.55; vertical-align: top; }
body.admin-page .table-wrap tbody tr:focus-within { outline: 2px solid var(--primary); outline-offset: -2px; }
body.admin-page .btn { font-weight: 600; line-height: 1.4; }
body.admin-page .input-group label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
body.admin-page .input-group :is(input, select, textarea) { min-height: 44px; font-size: 16px; }
body.site-shell #page-profile .profile-dashboard { padding: clamp(18px, 3vw, 32px) !important; border-radius: 18px; }
body.site-shell #page-profile .profile-title { margin: 0 0 12px; font-size: 28px; }
body.site-shell #page-profile .partner-switch-container { padding: 5px; gap: 5px; border: 1px solid var(--border); background: var(--surface-secondary); border-radius: 12px; }
body.site-shell #page-profile .p-switch { min-height: 44px; border: 0; border-radius: 9px; font-size: 14px; font-weight: 650; }
body.site-shell #page-profile :is(#profile-email-panel, #profile-security-panel) { padding: 20px !important; border: 1px solid var(--border); background: var(--bg-card) !important; }
body.site-shell #page-profile :is(#profile-email-panel, #profile-security-panel) label { font-size: 14px !important; font-weight: 600 !important; line-height: 1.5; }
body.site-shell #page-profile :is(#profile-email-panel, #profile-security-panel) input { min-height: 48px; font-size: 16px; }
body.site-shell #page-profile :is(#profile-submit, #profile-password-submit) { min-height: 44px; font-size: 14px; font-weight: 650 !important; }
body.site-shell #page-profile .profile-booking-filter { padding: 16px; border: 1px solid var(--border); background: var(--bg-card); border-radius: 14px; gap: 12px; }
body.site-shell #page-profile .referral-card { box-shadow: none; padding: 20px 24px; }
body.site-shell #page-profile .referral-card h3 { font-size: 21px; margin-top: 0; }
body.site-shell #page-profile .verification-notice { font-size: 13px; line-height: 1.65; }
body.site-shell .workspace-toolbar { padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; }
body.site-shell .workspace-car { padding: 18px 0; align-items: center; line-height: 1.6; }
body.site-shell .workspace-booking { padding: 24px; box-shadow: none; }
body.site-shell .workspace-actions :is(button, a) { min-height: 44px; font-weight: 600; }
@media (hover: hover) {
    body.admin-page .table-wrap tbody tr:hover { background: var(--bg-input); }
}
@media (max-width: 760px) {
    body.admin-page .cabinet-overview { padding: 18px; }
    body.admin-page .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    body.admin-page .dash-card { padding: 12px; }
    body.admin-page .dash-card b { font-size: 23px; }
    body.admin-page .cabinet-overview__metrics { grid-template-columns: 1fr; }
    body.site-shell #page-profile :is(#profile-email-panel, #profile-security-panel) { padding: 16px !important; }
    body.site-shell #page-profile .profile-booking-filter { flex-wrap: wrap; }
    body.site-shell #page-profile .profile-booking-filter > :is(input, select) { width: 100%; min-width: 0; }
    body.site-shell .workspace-booking { padding: 18px; }
}
