/* Wise.Repair workspace refresh. Presentation only; domain state stays in the API. */
:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #edf3ff;
  --ink: #17253b;
  --muted: #61718a;
  --line: #e0e7f0;
  --surface: #fff;
  --canvas: #f4f6fa;
  --sidebar: 232px;
  --shadow: 0 4px 20px #17253b06;
  --shadow-hover: 0 8px 24px #17253b0c;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 9px;
}
body { background: var(--canvas); color: var(--ink); font-size: 14px; letter-spacing: -.015em; }
body::before { display: none; }
button, input, select, textarea { font-family: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:is(button,a,input,select,textarea,summary):focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
input, select, textarea { accent-color: var(--brand); }
input::placeholder, textarea::placeholder { color: #77859a; opacity: 1; }
small, .eyebrow { font-size: 12px; }
.eyebrow { color: #5e718e; font-weight: 700; letter-spacing: .105em; }
.sidebar { width: var(--sidebar); padding: 20px 14px 16px; background: #14223b; box-shadow: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #40516e transparent; }
.brand { height: 90px; flex-shrink: 0; margin: 0 2px 24px; padding: 9px; border-radius: 12px; box-shadow: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { gap: 6px; }
.main-nav :is(a,.nav-action), .settings-link { min-height: 46px; height: auto; padding: 12px; color: #b9c6d9; font-size: 14px; border: 1px solid transparent; border-radius: 9px; }
.main-nav :is(a,.nav-action).active, .settings-link.active { background: #253b60 !important; color: #fff !important; border-color: #39527a; box-shadow: none; }
.main-nav :is(a,.nav-action).active::before { display: none; }
.main-nav :is(a,.nav-action):hover, .settings-link:hover { background: #21334f; color: #fff; transform: none; }
.main-nav :is(a,.nav-action) b, .main-nav :is(a,.nav-action) i { background: #30476b; color: #d9e8ff; font-size: 12px; }
.sidebar-bottom { padding-top: 26px; gap: 8px; }
.profile-card { border-top-color: #30415b; padding: 16px 4px 0; grid-template-columns: 36px minmax(0,1fr) 32px; }
.profile-card strong { font-size: 13px; color: #f4f7fc; overflow-wrap: anywhere; }
.profile-card small { color: #aebdd3; font-size: 12px; }
.profile-card button { color: #c6d3e7; min-width: 32px; min-height: 36px; border-radius: 8px; }
.avatar { background: #2a66d5; box-shadow: none; border-radius: 10px; }
#accountSecurityButton { color: #d6e2f3; background: transparent; border-color: #364b6b; font-size: 13px; min-height: 40px; box-shadow: none; }
.density-toggle { display: flex; gap: 10px; align-items: center; min-height: 42px; padding: 9px 12px; border: 1px solid #364b6b; border-radius: 9px; background: transparent; color: #c7d5e8; text-align: left; font-size: 13px; }
.density-toggle svg { width: 17px; height: 17px; }
.density-toggle[aria-pressed="true"] { color: #fff; background: #263b5a; }
.app-shell { margin-left: var(--sidebar); padding: 30px clamp(20px,2.8vw,48px) 48px; }
.topbar { max-width: 1680px; margin: 0 auto 26px; align-items: center; gap: 18px; }
.page-title h1 { font-size: clamp(26px,2.3vw,34px); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; margin: 7px 0; }
.page-title p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.top-actions { gap: 9px; align-items: center; }
.button, .icon-button { box-shadow: none; border-radius: 10px; min-height: 42px; font-size: 14px; font-weight: 650; }
.button.primary { background: #2563eb; border: 1px solid #2563eb; box-shadow: 0 3px 7px #2563eb1a; }
.button.primary:hover { background: #1d4ed8; transform: none; box-shadow: 0 4px 12px #2563eb26; }
.button.secondary { background: #fff; color: #364967; border: 1px solid #d7e0ed; }
.button:disabled, button:disabled { cursor: not-allowed; transform: none; box-shadow: none; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: #536783; }
.create-job-button { min-width: 138px; min-height: 44px; }
.global-search-trigger { display: flex; align-items: center; justify-content: flex-start; width: auto; min-width: 230px; gap: 10px; padding: 0 13px; color: #697b94; }
.global-search-trigger span { font-size: 13px; font-weight: 500; }
kbd { font-family: inherit; font-size: 11px; font-weight: 600; border: 1px solid #dce4ef; border-radius: 5px; background: #f8fafc; padding: 3px 5px; color: #718099; }
.global-search-trigger kbd { margin-left: auto; }
.workspace, .settings-workspace { border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; border-radius: var(--radius); }
:is(.dashboard-workspace,.schedule-workspace,.customers-workspace,.parts-workspace,.reports-workspace,.accounting-workspace,.settings-workspace,#jobsWorkspace,#jobMetrics) { max-width: 1680px; margin-left: auto; margin-right: auto; }
.metrics { gap: 16px; }
.metrics article { border-radius: 13px; background: #fff; padding: 20px; border-color: var(--line); box-shadow: var(--shadow); }
.metrics article::after { display: none; }
.metrics article:hover { transform: none; box-shadow: var(--shadow-hover); }
.metrics span { font-size: 13px; color: var(--muted); }
.metrics strong { font-size: 30px; color: var(--ink); font-variant-numeric: tabular-nums; }
.metrics small { font-size: 12px; }
.metric-icon { border-radius: 11px; }
.dashboard-priority-grid { gap: 14px; }
.dashboard-priority-grid button { border-radius: 13px; background: #fff; border-color: var(--line); box-shadow: var(--shadow); min-height: 104px; }
.dashboard-priority-grid button:hover { transform: none; border-color: #b8cdef; }
.dashboard-priority-grid strong { font-size: 20px; letter-spacing: -.025em; }
.dashboard-priority-grid small, .dashboard-priority-grid em { font-size: 12px; }
.dashboard-command-grid { grid-template-columns: minmax(0,1.65fr) minmax(310px,1fr); gap: 20px; }
.dashboard-desk > header, .dashboard-chat-card > header { background: #fff; padding: 21px 22px; }
.dashboard-desk h2, .dashboard-chat-card h2 { font-size: 21px; color: var(--ink); }
.dashboard-desk > header p, .dashboard-command-grid .dashboard-chat-card > header p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.dashboard-desk > header button { min-height: 40px; font-size: 12px; border-radius: 9px; background: #eef4ff; border-color: #d0dff8; color: #2757a3; }
.dashboard-desk-search, .search-box { border-radius: 9px; border-color: #d6dfeb; box-shadow: none; background: #fff; }
.dashboard-desk-search input, .search-box input { font-size: 14px; min-height: 44px; }
.dashboard-desk-filter, .dashboard-desk-caption, .dashboard-desk > footer { font-size: 12px; }
.dashboard-desk-filter select { font-size: 13px; max-width: 170px; border-radius: 9px; }
.dashboard-desk-list { max-height: 510px; scrollbar-width: thin; scrollbar-color: #c9d4e5 transparent; }
.dashboard-desk-row { padding: 16px 22px; gap: 16px; border-top-color: #e7ecf4; }
.dashboard-desk-row:nth-child(even) { background: #f8faff; }
.dashboard-desk-row:hover { background: #f0f5ff; }
.dashboard-desk-job > span > b { font-size: 13px; color: #2c5caf; font-variant-numeric: tabular-nums; }
.dashboard-desk-job > strong { font-size: 15px; color: #253650; }
.dashboard-desk-job > small, .dashboard-desk-job > em { font-size: 12px; color: #63738a; }
.dashboard-desk-job .status { font-size: 11px; padding: 4px 8px; }
.dashboard-desk-actions button { padding: 9px; font-size: 12px; border-radius: 8px; background: #fff; border-color: #dce4ef; color: #486283; }
.dashboard-desk-actions svg { width: 15px; height: 15px; }
.dashboard-chat-empty { min-height: 196px; color: #667b94; }
.dashboard-chat-empty strong { font-size: 15px; color: #334c70; }
.dashboard-chat-empty span, .dashboard-chat-footer, .dashboard-chat-count { font-size: 12px; }
.dashboard-card > header, .dashboard-map-card > header { background: #fff; border-bottom: 1px solid var(--line); }
.dashboard-map-card { margin-top: 20px; }
.dashboard-map-layout { min-height: 310px; }
.dashboard-map-canvas { min-height: 310px; }
.map-state { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; }
.map-state strong { color: #364f70; font-size: 15px; }
.map-state span, .dashboard-map-notice, .dashboard-map-tabs button { font-size: 12px; }
.list-tools { gap: 14px; padding: 18px 22px; }
.status-tabs { background: #fff; border-bottom-color: var(--line); padding-left: 16px; gap: 6px; }
.status-tabs button { font-size: 13px; min-height: 48px; padding: 12px; }
.status-tabs button.active { color: var(--brand-dark); }
.status-tabs button span { font-size: 12px; }
table { font-variant-numeric: tabular-nums; }
th { font-size: 12px; letter-spacing: .04em; color: #60728b; background: #f8fafd; }
td { font-size: 14px; color: #344761; }
tbody tr:nth-child(even) { background: #f8faff; }
tbody tr:hover { background: #f0f5ff; }
.list-footer { padding: 16px 22px; font-size: 12px; color: #61748c; }
.empty-state { padding: 52px 22px; }
.empty-state h3 { font-size: 19px; color: #304867; }
.empty-state p { font-size: 14px; line-height: 1.6; }
.settings-nav { background: #f8faff; padding: 16px 12px; }
.settings-nav button { min-height: 64px; border: 1px solid transparent; }
.settings-nav button.active { box-shadow: none; border-color: #cbdcf6; background: #edf3ff; color: #2056aa; }
.settings-nav b { font-size: 14px; }
.settings-nav small { font-size: 12px; color: #687b95; }
.settings-content { padding: 28px; background: #fff; }
.settings-section > p { font-size: 14px; }
.settings-placeholder-grid article { box-shadow: none; border-radius: 12px; background: #f8fafd; }
.settings-placeholder-grid strong { font-size: 15px; }
.settings-placeholder-grid span { font-size: 13px; }
.staff-access-row { grid-template-columns: 36px minmax(0,1fr); }
.staff-access-row > div { min-width: 0; overflow-wrap: anywhere; }
.staff-access-row :is(.staff-access-control,.staff-owner-profile,.staff-pending-profile) { grid-column: 2; margin-left: 0; }
.staff-access-row .staff-permissions { grid-column: 2; min-width: 0; display: grid; gap: 14px; }
.staff-permissions :is(.staff-access-control,.staff-owner-profile) { grid-column: auto; margin: 0; }
.staff-permissions .staff-owner-profile { justify-content: flex-start; }
.staff-permissions .staff-owner-profile small { text-align: left; }
.staff-technician-access { min-width: 0; margin: 0; padding: 12px; border: 1px solid #cbdcf0; border-radius: 12px; background: #f5f9ff; }
.staff-technician-access legend { padding: 0 5px; font-size: 13px; font-weight: 700; color: #304867; }
.staff-technician-access label { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; padding: 6px 0; cursor: pointer; color: #203a58; font-size: 14px; }
.staff-technician-access input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 1px 0 0; padding: 0; border-radius: 4px; accent-color: #2164d5; box-shadow: none; }
.staff-technician-access label > span { min-width: 0; }
.staff-technician-access label small { font-size: 12px; line-height: 1.5; font-weight: 400; }
.staff-technician-access [data-technician-access-status] { margin-top: 8px; font-size: 12px; font-weight: 700; color: #2056aa; }
.staff-technician-access input:disabled + span { color: #687b95; }
.staff-technician-access input:focus-visible { outline: 2px solid #2164d5; outline-offset: 3px; }
.auth-gate { background: #f0f4fa; overflow-y: auto; }
.auth-card { width: min(440px,100%); padding: 36px; border-radius: 20px; border-color: #dce5f1; box-shadow: 0 24px 70px #1c315317; }
.auth-card > img { width: 185px; height: 90px; margin-bottom: 6px; }
.auth-card h1 { font-size: 30px; color: #172b49; }
.auth-card > p { font-size: 14px; line-height: 1.5; }
.auth-card label { font-size: 14px; color: #455a78; }
.auth-card input { min-height: 48px; font-size: 16px; border-radius: 9px; }
.auth-card .button { min-height: 48px; }
.auth-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.auth-legal-links a { font-size: 12px; color: #537299; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 220; padding: 12px 18px; border-radius: 8px; background: #fff; color: #1d4ed8; }
.skip-link:focus { top: 16px; }
.quick-switch-dialog { width: min(560px,calc(100vw - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #d8e2f0; border-radius: 18px; padding: 0; color: #223652; box-shadow: 0 32px 90px #14223b38; background: #fff; }
.quick-switch-dialog::backdrop { background: #14223b80; backdrop-filter: blur(4px); }
.quick-switch-dialog header { padding: 20px 22px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quick-switch-dialog h2 { font-size: 20px; margin: 0; }
.quick-switch-dialog header button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #526887; font-size: 24px; }
.quick-switch-search { display: flex; align-items: center; margin: 0 20px 12px; gap: 10px; border: 1px solid #ccd9ec; border-radius: 10px; padding: 0 12px; }
.quick-switch-search input { width: 100%; min-width: 0; height: 46px; border: 0; background: transparent; font-size: 16px; color: #223652; outline-offset: -2px; }
.quick-switch-list { display: grid; gap: 4px; padding: 0 12px 14px; max-height: 60dvh; overflow: auto; }
.quick-switch-list button { display: flex; align-items: center; gap: 13px; min-height: 49px; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; background: #fff; color: #344c6f; text-align: left; font-size: 14px; }
.quick-switch-list button:hover, .quick-switch-list button:focus-visible { background: #eef4ff; color: #2056b5; }
.quick-switch-list button[aria-current="page"] { background: #edf3ff; border-color: #dce8fb; }
.quick-switch-list button span { flex: 1; }
.quick-switch-list p { padding: 16px; color: #697c94; text-align: center; font-size: 14px; }
.quick-switch-dialog footer { border-top: 1px solid var(--line); padding: 14px 22px; font-size: 12px; color: #73839a; background: #f8fafd; }
.jobs-table td, .customers-table td, .parts-table td, .accounting-table-wrap td { font-size: 14px; padding-top: 17px; padding-bottom: 17px; }
.jobs-table td strong, .customers-table td strong, .parts-table td strong { font-size: 14px; }
.jobs-table th, .customers-table th, .parts-table th, .accounting-table-wrap th { font-size: 12px; background: #f8fafd; color: #61738d; }
.form-grid label, .detail-grid article > span, .email-fields > label, .sms-fields > label, .payment-fields label { font-size: 13px; color: #566b87; }
.form-grid input, .form-grid select, .form-grid textarea, .email-fields input, .email-fields textarea, .sms-fields input, .sms-fields textarea, .payment-fields input, .payment-fields select { font-size: 15px; min-height: 44px; }
#jobDrawer { border: 1px solid #d5dfef; border-radius: 16px; box-shadow: 0 28px 90px #101e3940; }
#jobDrawer .job-card-title { background: #14223b; border-bottom: 1px solid #243854; }
#jobDrawer .job-card-title .eyebrow { color: #afc7ea; font-size: 11px; }
#jobDrawer .job-card-title h2 { color: #fff; font-size: 23px; font-weight: 700; }
#jobDrawer .job-card-title .close-button { background: #293d5b; border-color: #526583; color: #fff; box-shadow: none; }
.job-command-bar { background: #fff; padding: 6px 16px; }
.job-command-bar button { font-size: 14px; color: #435a7b; border-color: #e0e7f1; background: #fff; }
.job-command-bar button:hover { background: #edf3ff; }
.job-section-rail { background: #f6f8fc; }
.job-section-rail button { font-size: 13px; }
.job-section-rail button.active { background: #eaf1ff; border-color: #cdddf7; color: #275ab2; box-shadow: none; }
.job-primary-column { padding: 22px; }
.detail-customer h3 { font-size: 20px; color: #213754; }
.detail-customer-identity p { font-size: 13px; }
.detail-customer-identity strong { font-size: 14px; }
.detail-grid { gap: 16px; }
.detail-grid article strong { font-size: 15px; color: #293f60; }
.detail-grid article small { font-size: 12px; line-height: 1.5; color: #617790; }
.job-activity-column { background: #f8fafd; }
.job-activity-column > header { background: #f8fafd; }
.job-activity-column .timeline strong { font-size: 13px; color: #344e6c; }
.job-activity-column .timeline p { font-size: 13px; line-height: 1.55; }
.job-activity-column .timeline small { font-size: 12px; color: #697e98; }
.job-section-rail [data-job-section="history"] { display: none; }
.job-chat-section { grid-template-columns: minmax(0,1fr); }
.job-chat-section > * { min-width: 0; }
.job-chat-composer { grid-template-columns: minmax(0,1fr) 44px; }
.job-chat-composer textarea { width: 100%; min-width: 0; border-radius: 10px; font-size: 16px; }
.job-chat-composer button { width: 44px; height: 44px; border-radius: 11px; background: #2563eb; box-shadow: none; }
.job-chat-messages > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.job-chat-messages .bubble { font-size: 15px; line-height: 1.6; border: 1px solid #e0e7f1; border-radius: 14px; box-shadow: none; }
.job-chat-messages .bubble.inbound { background: #2563eb; color: #fff; border-color: #2563eb; }
.job-chat-messages .quote-card { border-radius: 13px; box-shadow: none; border-color: #dce5f1; }
.quote-editor input, .quote-editor select { font-size: 14px; }
.calendar-toolbar, .report-toolbar, .accounting-toolbar { border-radius: 13px; box-shadow: var(--shadow); background: #fff; }
.calendar-toolbar button, .calendar-toolbar select { font-size: 13px; }
.calendar-surface { border-color: #dce5f1; border-radius: 12px; }
.calendar-views, .segmented, .report-presets { background: #f0f4fa; padding: 4px; border-radius: 9px; }
.calendar-views button, .segmented button, .report-presets button { min-height: 36px; font-size: 13px; }
.calendar-views button.active, .segmented button.active, .report-presets button.active { background: #fff; color: #2459b1; box-shadow: 0 1px 4px #192b4a12; }
.notification-panel, .global-search-panel, .quick-picker, .email-composer, .sms-composer, .payment-composer { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 70px #172b4929; }
.notification-item strong, .global-search-result strong { font-size: 14px; }
.notification-item small, .global-search-result small { font-size: 12px; color: #657993; }
.sms-inbox-dialog { width: min(780px,calc(100vw - 32px)); padding: 28px; border-color: var(--line); border-radius: 16px; box-shadow: 0 28px 90px #14223b38; }
.sms-inbox-dialog h2 { font-size: 24px; letter-spacing: -.03em; }
.sms-inbox-dialog > p { font-size: 14px; line-height: 1.6; }
.sms-inbox-dialog > label { padding: 13px 15px; border-radius: 10px; background: #f1f5fc; color: #3f5676; font-size: 14px; }
.sms-inbox-dialog input { width: 18px; height: 18px; vertical-align: middle; margin-right: 7px; }
#smsInboxRows article { padding: 18px 15px; border-radius: 10px; border-color: #e2e9f3; }
#smsInboxRows article:nth-child(even) { background: #f8faff; }
#smsInboxRows p { font-size: 16px; line-height: 1.6; }
#smsInboxRows small { font-size: 12px; }
.sms-inbox-dialog footer { border-top: 1px solid var(--line); padding-top: 18px; }
.mfa-dialog { border-radius: 16px; border-color: var(--line); color: var(--ink); }
.mfa-dialog p { font-size: 14px; }
@media (max-width:900px) {
  .job-section-rail [data-job-section="history"] { display: flex; }
  #jobDrawer.history-view .job-primary-column { display: none; }
  #jobDrawer.history-view .job-activity-column { display: grid; overflow: hidden; border-left: 0; }
  .job-primary-column { padding: 17px; }
}
@media (min-width:761px) and (max-width:900px) {
  /* Match the window manager's 24px inset instead of overrunning the viewport. */
  #jobDrawer { width: calc(100vw - 48px) !important; }
}
html[data-density="compact"] .dashboard-desk-row { padding-top: 10px; padding-bottom: 10px; }
html[data-density="compact"] td { padding-top: 10px; padding-bottom: 10px; }
html[data-density="compact"] .metrics article { padding-top: 14px; padding-bottom: 14px; }
@media (max-width:1400px) { .global-search-trigger { min-width: 44px; width: 44px; padding: 0; } .global-search-trigger span, .global-search-trigger kbd { display: none; } }
@media (max-width:1100px) { :root { --sidebar: 200px; } .app-shell { padding: 26px 22px 40px; } .dashboard-command-grid { grid-template-columns: 1fr; } .brand { height: 80px; } }
@media (max-width:760px) {
  :root { --sidebar: 0px; }
  body { padding-bottom: 0; }
  .sidebar { display: none; }
  .app-shell { margin: 0; padding: 20px 16px calc(100px + env(safe-area-inset-bottom)); }
  .topbar { gap: 10px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 22px; }
  .mobile-menu { display: grid; align-content: center; justify-content: center; gap: 4px; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; margin-top: 15px; flex-shrink: 0; }
  .mobile-menu span { width: 17px; height: 2px; background: #344b6c; }
  .page-title { flex: 1; min-width: 0; }
  .page-title h1 { font-size: 28px; }
  .page-title p { font-size: 13px; }
  .top-actions { flex: 0 0 100%; justify-content: flex-end; }
  #globalSearchButton { display: flex; margin-right: auto; width: auto; min-width: 44px; padding: 0 12px; flex: 1; }
  .global-search-trigger span { display: block; font-size: 13px; }
  #quickSwitchButton { display: none; }
  .create-job-button { min-width: 110px; font-size: 13px; }
  .metrics { gap: 10px; }
  .metrics article { padding: 15px; }
  .metrics strong { font-size: 25px; }
  .metrics span { font-size: 12px; }
  .dashboard-command-grid { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-desk > header, .dashboard-chat-card > header { padding: 18px; }
  .dashboard-desk-tools { padding: 16px 18px 10px; }
  .dashboard-desk-row { padding: 16px 18px; align-items: stretch; gap: 12px; }
  .dashboard-desk-actions button { flex: 1; min-height: 44px; }
  .dashboard-desk-job > small, .dashboard-desk-job > em { font-size: 13px; }
  .dashboard-desk-filter select, .dashboard-desk-search input, .search-box input { font-size: 16px; }
  .dashboard-chat-empty { min-height: 160px; }
  .dashboard-priority-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dashboard-priority-grid button { min-height: 96px; }
  .dashboard-priority-grid strong { font-size: 17px; }
  .dashboard-priority-grid button > span:nth-child(2) em { display: none; }
  .dashboard-map-canvas { min-height: 280px; }
  .list-tools { padding: 15px; }
  .status-tabs { padding-left: 8px; overflow-x: auto; }
  .status-tabs button { white-space: nowrap; font-size: 13px; flex-shrink: 0; }
  .settings-content { padding: 22px 16px; }
  .settings-nav button { min-width: 170px; }
  .auth-card { padding: 28px 24px; margin: auto; }
  .auth-gate { place-items: start center; padding: 24px 16px; }
  .quick-switch-dialog footer { font-size: 12px; }
  .form-grid input, .form-grid select, .form-grid textarea, .email-fields input, .email-fields textarea, .sms-fields input, .sms-fields textarea, .payment-fields input, .payment-fields select, .quote-editor input, .quote-editor select { font-size: 16px; }
  .sms-inbox-dialog { padding: 20px; width: calc(100vw - 24px); }
  #jobDrawer .job-card-title h2 { font-size: 20px; }
  .job-command-bar button { min-height: 44px; }
}
@media (max-width:560px) { #jobDrawer .job-card-layout { grid-template-rows: auto minmax(0,1fr); } }
@media (max-width:350px) { .dashboard-priority-grid { grid-template-columns: 1fr; } #globalSearchButton span { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
