:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#162033;background:#f5f7fb;line-height:1.45}*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#162033}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:24px;padding:14px clamp(16px,4vw,48px);background:#fff;border-bottom:1px solid #e3e8f0}.brand{font-weight:900;letter-spacing:.03em}.brand span{font-size:.7rem;font-weight:700;color:#5e6d84;margin-inline-start:6px}.topbar nav{display:flex;gap:8px;flex:1}.topbar nav a,.lang,.link-button{padding:9px 11px;border-radius:10px;color:#43516a;font-weight:700}.topbar nav a:hover,.lang:hover,.link-button:hover{background:#f0f4fa}.top-actions{display:flex;align-items:center;gap:4px}.top-actions form{margin:0}.link-button{border:0;background:transparent;cursor:pointer;font:inherit}.shell{width:min(1180px,100%);margin:0 auto;padding:28px clamp(14px,4vw,40px) 64px}.hero,.page-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.eyebrow{text-transform:uppercase;letter-spacing:.11em;font-size:.73rem;font-weight:900;color:#49627f;margin:0 0 6px}h1{font-size:clamp(1.8rem,4vw,3rem);margin:.1em 0}h2{margin:0;font-size:1.05rem}.muted{color:#6b778b}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.metric{background:#fff;border:1px solid #e1e7f0;border-radius:18px;padding:20px;box-shadow:0 7px 22px rgba(32,48,73,.05)}.metric span{display:block;color:#6a7890;font-size:.9rem}.metric strong{display:block;font-size:2rem;margin-top:8px}.panel{background:#fff;border:1px solid #e1e7f0;border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 7px 22px rgba(32,48,73,.04)}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid label,.stack label{display:grid;gap:6px;font-size:.83rem;font-weight:800;color:#53627a}.wide{grid-column:1/-1}input,select,textarea{width:100%;font:inherit;padding:11px 12px;border-radius:11px;border:1px solid #cbd5e3;background:#fff;color:#162033;outline:none}input:focus,select:focus,textarea:focus{border-color:#3f6fa4;box-shadow:0 0 0 3px rgba(63,111,164,.12)}button.primary{border:0;border-radius:11px;background:#16395f;color:#fff;padding:11px 18px;font:inherit;font-weight:900;cursor:pointer}button.primary:disabled{opacity:.45;cursor:not-allowed}.table-wrap{overflow:auto;padding:0}table{width:100%;border-collapse:collapse;min-width:620px}th,td{text-align:start;padding:14px 16px;border-bottom:1px solid #edf0f5}th{font-size:.78rem;color:#64738a;background:#fbfcfe}tbody tr:last-child td{border-bottom:0}.status{display:inline-block;background:#eaf2fa;color:#244d79;border-radius:999px;padding:5px 9px;font-size:.76rem;font-weight:900}.notice{padding:11px 14px;border-radius:12px;margin-bottom:16px;font-weight:750}.success{background:#eaf7ef;color:#24633c}.error{background:#fff0f0;color:#8a2b2b}.login-card{width:min(430px,calc(100% - 28px));margin:9vh auto;background:#fff;border:1px solid #e1e7f0;border-radius:24px;padding:30px;box-shadow:0 22px 65px rgba(25,42,65,.12)}.brand-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#16395f;color:#fff;font-weight:950;font-size:1.3rem;margin-bottom:18px}.stack{display:grid;gap:14px;margin-top:24px}.bottom-link{display:inline-block;margin-top:18px}.audit-list{list-style:none;padding:0;margin:0}.audit-list li{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #edf0f5}.audit-list li:last-child{border-bottom:0}.audit-list span{color:#768298;font-size:.86rem}.ltr-id{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}html[dir="rtl"] .ltr-id{direction:ltr;text-align:right}@media(max-width:800px){.topbar{flex-wrap:wrap;gap:8px}.topbar nav{order:3;width:100%;overflow:auto}.topbar nav a{white-space:nowrap}.metrics{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.shell{padding-top:18px}.panel{padding:16px}.table-wrap{padding:0}.login-card{margin-top:5vh}.audit-list li{display:grid;gap:3px}}

.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}.record-list{display:grid;gap:.8rem}.record-card{border:1px solid var(--border,#d8dee8);border-radius:14px;padding:1rem;background:#fff}.record-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.inline-form{display:flex;gap:.6rem;align-items:end;flex-wrap:wrap;margin-top:.8rem}.secondary,.button-small{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b9c2cf;background:#fff;color:#172033;border-radius:10px;padding:.55rem .8rem;text-decoration:none;cursor:pointer}.button-small{padding:.35rem .65rem;font-size:.9rem}.money-large{font-size:1.55rem}.danger-aware{margin-top:1rem}.table-wrap tfoot th{border-top:2px solid #c9d2df}.ltr-id{direction:ltr;unicode-bidi:isolate}.status{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .55rem;background:#eef2f7;font-size:.85rem;font-weight:700}
@media(max-width:800px){.detail-grid{grid-template-columns:1fr}.topbar nav{overflow-x:auto;max-width:100%;padding-bottom:.2rem}.topbar nav a{white-space:nowrap}.record-card>div:first-child{align-items:flex-start;flex-direction:column}}
.ai-policy{border-inline-start:4px solid #16395f}.ai-answer{white-space:normal}.ai-draft pre{white-space:pre-wrap;word-break:break-word;background:#f7f9fc;border-radius:10px;padding:10px;font-size:.82rem}.ai-draft .inline-form form{margin:0}#ai-voice.recording{outline:3px solid rgba(138,43,43,.15);border-color:#8a2b2b;color:#8a2b2b}

/* ==========================================================
   GARAGE_STAGE3_STEP1_DESIGN_FOUNDATION_V1
   Foundation only. No shell/page/workflow restructuring.
   ========================================================== */

:root {
  color-scheme: light;

  --garage-graphite: #17202a;
  --garage-graphite-strong: #0f1720;
  --garage-blue: #246bfd;
  --garage-blue-hover: #1f5fd6;
  --garage-blue-soft: #edf3ff;

  --garage-bg: #f6f8fa;
  --garage-surface: #ffffff;
  --garage-surface-subtle: #f9fafb;

  --garage-text: #18212b;
  --garage-text-muted: #637083;

  --garage-border: #d9e0e8;
  --garage-border-strong: #c5cfda;

  --garage-success: #176b45;
  --garage-success-bg: #eaf7f0;

  --garage-danger: #9b3030;
  --garage-danger-bg: #fff0f0;

  --garage-warning: #785500;
  --garage-warning-bg: #fff6d8;

  --garage-radius-sm: 8px;
  --garage-radius-md: 12px;
  --garage-radius-lg: 16px;

  --garage-space-1: 4px;
  --garage-space-2: 8px;
  --garage-space-3: 12px;
  --garage-space-4: 16px;
  --garage-space-5: 24px;
  --garage-space-6: 32px;
  --garage-space-7: 40px;
  --garage-space-8: 48px;

  --garage-focus-ring: 0 0 0 3px rgba(36, 107, 253, .22);
  --garage-shadow-float: 0 12px 30px rgba(15, 23, 32, .10);
}

html {
  background: var(--garage-bg);
}

body {
  min-height: 100vh;
  background: var(--garage-bg);
  color: var(--garage-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--garage-text);
  letter-spacing: -.015em;
}

h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.12;
}

h2 {
  line-height: 1.25;
}

.muted {
  color: var(--garage-text-muted);
}

.eyebrow {
  color: #52647a;
  font-size: .72rem;
  letter-spacing: .12em;
}

.shell {
  width: min(1240px, 100%);
}

.topbar {
  background: var(--garage-surface);
  border-bottom-color: var(--garage-border);
  box-shadow: 0 1px 0 rgba(15, 23, 32, .02);
}

.brand {
  color: var(--garage-graphite);
}

.brand span {
  color: var(--garage-text-muted);
}

.topbar nav a,
.lang,
.link-button {
  border-radius: var(--garage-radius-sm);
  color: #46566a;
}

.topbar nav a:hover,
.lang:hover,
.link-button:hover {
  background: var(--garage-blue-soft);
  color: var(--garage-graphite);
}

.panel,
.metric,
.record-card,
.login-card {
  background: var(--garage-surface);
  border-color: var(--garage-border);
}

.panel,
.metric,
.record-card {
  border-radius: var(--garage-radius-md);
  box-shadow: 0 1px 2px rgba(15, 23, 32, .03);
}

.panel {
  padding: var(--garage-space-5);
}

.metric {
  padding: var(--garage-space-5);
}

.metric span {
  color: var(--garage-text-muted);
  font-weight: 650;
}

.metric strong {
  color: var(--garage-graphite);
  font-variant-numeric: tabular-nums;
}

.record-card {
  padding: var(--garage-space-4);
}

.login-card {
  border-radius: var(--garage-radius-lg);
  box-shadow: var(--garage-shadow-float);
}

.brand-mark {
  border-radius: var(--garage-radius-md);
  background: var(--garage-graphite);
}

input,
select,
textarea {
  min-height: 44px;
  border-radius: var(--garage-radius-sm);
  border-color: var(--garage-border-strong);
  background: var(--garage-surface);
  color: var(--garage-text);
  transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease;
}

textarea {
  min-height: 96px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9daaba;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--garage-blue);
  box-shadow: var(--garage-focus-ring);
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

button.primary {
  min-height: 44px;
  border-radius: var(--garage-radius-sm);
  background: var(--garage-blue);
  color: #ffffff;
  padding: 10px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 32, .08);
  transition: background-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

button.primary:hover:not(:disabled) {
  background: var(--garage-blue-hover);
}

button.primary:active:not(:disabled) {
  transform: translateY(1px);
}

.secondary,
.button-small {
  border-color: var(--garage-border-strong);
  background: var(--garage-surface);
  color: var(--garage-text);
  border-radius: var(--garage-radius-sm);
}

.secondary:hover,
.button-small:hover {
  border-color: #9daaba;
  background: var(--garage-surface-subtle);
}

.button-small {
  min-height: 36px;
}

button,
a,
input,
select,
textarea {
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--garage-blue);
  box-shadow: var(--garage-focus-ring);
}

.table-wrap {
  border-radius: var(--garage-radius-md);
}

table {
  font-variant-numeric: tabular-nums;
}

th,
td {
  border-bottom-color: #e8edf2;
}

th {
  background: var(--garage-surface-subtle);
  color: #536276;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .015em;
}

tbody tr {
  transition: background-color .12s ease;
}

tbody tr:hover {
  background: #fafbfd;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: var(--garage-blue-soft);
  color: #214f9e;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 6px 9px;
}

.notice {
  border: 1px solid transparent;
  border-radius: var(--garage-radius-sm);
}

.notice.success,
.success {
  background: var(--garage-success-bg);
  color: var(--garage-success);
  border-color: #ccebd9;
}

.notice.error,
.error {
  background: var(--garage-danger-bg);
  color: var(--garage-danger);
  border-color: #f0cccc;
}

.ai-policy {
  border-inline-start-color: var(--garage-blue);
}

.ai-draft pre {
  background: var(--garage-surface-subtle);
  border: 1px solid var(--garage-border);
  border-radius: var(--garage-radius-sm);
}

#ai-voice.recording {
  outline: 3px solid rgba(155, 48, 48, .14);
  border-color: var(--garage-danger);
  color: var(--garage-danger);
}

.ltr-id {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
}

html[dir="rtl"] .ltr-id {
  direction: ltr;
}

@media (max-width: 800px) {
  .shell {
    padding-inline: var(--garage-space-4);
  }

  .panel,
  .metric {
    padding: var(--garage-space-4);
  }

  input,
  select,
  textarea,
  button.primary,
  .secondary {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* END GARAGE_STAGE3_STEP1_DESIGN_FOUNDATION_V1 */

/* ==========================================================
   GARAGE_STAGE3_STEP2_COMMERCIAL_SHELL_V1
   Commercial shell only.
   No dashboard/job/AI workflow redesign.
   ========================================================== */

.app-frame {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: var(--garage-bg);
  direction: ltr;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  grid-column: 1;
  grid-row: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 14px 16px;
  background: var(--garage-graphite-strong);
  color: #dce4ee;
  border-inline-end: 1px solid rgba(255, 255, 255, .06);
  direction: ltr;
}

.app-workspace {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  direction: ltr;
}

.sidebar-brand-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-brand {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: .055em;
}

.sidebar-brand:hover {
  color: #ffffff;
}

.sidebar-product {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #91a3b9;
  font-size: .61rem;
  font-weight: 850;
  letter-spacing: .09em;
}

.sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 2px;
  scrollbar-width: thin;
  scrollbar-color: #405064 transparent;
}

.sidebar-section {
  display: grid;
  gap: 3px;
  margin-bottom: 17px;
}

.sidebar-section-title {
  padding: 4px 10px 6px;
  color: #75869a;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px 9px 15px;
  border-radius: 8px;
  color: #bdc9d7;
  font-size: .88rem;
  font-weight: 720;
  transition:
    background-color .12s ease,
    color .12s ease,
    box-shadow .12s ease;
}

.sidebar-link::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin-inline-end: 10px;
  border-radius: 999px;
  background: #596a7d;
}

.sidebar-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .065);
}

.sidebar-link.active {
  color: #ffffff;
  background: rgba(36, 107, 253, .19);
  box-shadow: inset 3px 0 0 var(--garage-blue);
}

.sidebar-link.active::before {
  background: #73a0ff;
}

.sidebar-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 5px 8px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--garage-blue);
  color: #ffffff;
  font-size: .78rem;
  font-weight: 900;
}

.user-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.user-copy strong {
  overflow: hidden;
  color: #f7f9fc;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-copy small {
  margin-top: 2px;
  color: #8fa0b3;
  font-size: .7rem;
  font-weight: 650;
}

.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--garage-border);
  box-shadow: 0 1px 0 rgba(15, 23, 32, .02);
}

.workspace-context {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.workspace-context span {
  color: var(--garage-text-muted);
  font-size: .68rem;
  font-weight: 750;
}

.workspace-context strong {
  margin-top: 2px;
  overflow: hidden;
  color: var(--garage-text);
  font-size: .86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.workspace-actions form {
  margin: 0;
}

.workspace-role {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--garage-border);
  border-radius: 999px;
  background: var(--garage-surface-subtle);
  color: #536276;
  font-size: .7rem;
  font-weight: 800;
}

.workspace-actions .lang,
.workspace-actions .link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--garage-radius-sm);
  color: #46566a;
}

.workspace-actions .lang:hover,
.workspace-actions .link-button:hover {
  background: var(--garage-blue-soft);
  color: var(--garage-graphite);
}

.app-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 30px clamp(20px, 3vw, 42px) 72px;
}

.public-shell {
  margin-inline: auto;
}

html[dir="rtl"] .app-frame {
  grid-template-columns: minmax(0, 1fr) 248px;
  direction: ltr;
}

html[dir="rtl"] .sidebar {
  grid-column: 2;
  direction: rtl;
  border-inline-end: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, .06);
}

html[dir="rtl"] .app-workspace {
  grid-column: 1;
  direction: rtl;
}

html[dir="rtl"] .sidebar-link {
  padding: 9px 15px 9px 11px;
}

html[dir="rtl"] .sidebar-link.active {
  box-shadow: inset -3px 0 0 var(--garage-blue);
}

@media (max-width: 1080px) {
  .app-frame {
    grid-template-columns: 218px minmax(0, 1fr);
  }

  html[dir="rtl"] .app-frame {
    grid-template-columns: minmax(0, 1fr) 218px;
  }

  .sidebar {
    padding-inline: 10px;
  }

  .app-main {
    padding-inline: 24px;
  }
}

/*
  Temporary responsive shell for Step 2.
  Purpose-built mobile bottom navigation is explicitly deferred to Step 9.
*/
@media (max-width: 800px) {
  .app-frame,
  html[dir="rtl"] .app-frame {
    display: block;
    direction: inherit;
  }

  .sidebar,
  html[dir="rtl"] .sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 10px 12px 8px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    direction: inherit;
  }

  .sidebar-brand-row {
    min-height: 42px;
    padding: 0 4px 9px;
  }

  .sidebar-product {
    display: none;
  }

  .sidebar-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 2px;
  }

  .sidebar-section {
    display: contents;
  }

  .sidebar-section-title {
    display: none;
  }

  .sidebar-link {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 10px;
    white-space: nowrap;
  }

  .sidebar-link::before {
    display: none;
  }

  .sidebar-link.active,
  html[dir="rtl"] .sidebar-link.active {
    box-shadow: none;
    background: rgba(36, 107, 253, .28);
  }

  .sidebar-footer {
    display: none;
  }

  .workspace-topbar {
    min-height: 56px;
    padding: 8px 14px;
  }

  .workspace-role {
    display: none;
  }

  .workspace-actions {
    gap: 3px;
  }

  .workspace-actions .lang,
  .workspace-actions .link-button {
    min-height: 40px;
    padding-inline: 8px;
  }

  .app-main {
    padding: 20px 14px 64px;
  }
}

/* END GARAGE_STAGE3_STEP2_COMMERCIAL_SHELL_V1 */

/* ==========================================================
   GARAGE_STAGE3_STEP3_DASHBOARD_PRESENTATION_V1
   Existing-data dashboard presentation only.
   ========================================================== */

.dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-head h1 {
  margin: 2px 0 8px;
}

.dashboard-head .muted {
  margin: 0;
}

.dashboard-head-action {
  flex: 0 0 auto;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-kpi {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--garage-border);
  border-radius: var(--garage-radius-md);
  background: var(--garage-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 32, .03);
  transition:
    border-color .14s ease,
    box-shadow .14s ease,
    transform .14s ease;
}

.dashboard-kpi:hover {
  border-color: #b9c7d7;
  box-shadow: 0 7px 20px rgba(15, 23, 32, .055);
  transform: translateY(-1px);
}

.dashboard-kpi span {
  color: var(--garage-text-muted);
  font-size: .78rem;
  font-weight: 750;
}

.dashboard-kpi strong {
  color: var(--garage-graphite);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-section {
  min-width: 0;
  margin: 0;
}

.attention-list,
.money-list {
  display: grid;
  gap: 8px;
}

.attention-row,
.money-list a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid #e7ecf2;
  border-radius: var(--garage-radius-sm);
  background: var(--garage-surface-subtle);
}

.attention-row:hover,
.money-list a:hover {
  border-color: #cdd7e2;
  background: #f5f8fb;
}

.attention-row span {
  display: grid;
  gap: 2px;
}

.attention-row small {
  color: var(--garage-text-muted);
  font-size: .72rem;
}

.attention-row b,
.money-list strong {
  flex: 0 0 auto;
  color: var(--garage-graphite);
  font-variant-numeric: tabular-nums;
}

.money-list a span {
  color: var(--garage-text-muted);
  font-weight: 700;
}

.dashboard-empty {
  padding: 18px;
  border: 1px dashed var(--garage-border-strong);
  border-radius: var(--garage-radius-sm);
  color: var(--garage-text-muted);
  background: var(--garage-surface-subtle);
}

.dashboard-active-jobs {
  margin-bottom: 18px;
}

.dashboard-active-jobs .panel-head,
.dashboard-section .panel-head,
.dashboard-activity .panel-head {
  margin-bottom: 14px;
}

.dashboard-active-jobs th:first-child,
.dashboard-active-jobs td:first-child {
  white-space: nowrap;
}

.dashboard-active-jobs td:nth-child(3) {
  max-width: 360px;
}

.dashboard-activity {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .dashboard-head {
    align-items: flex-start;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-kpi {
    min-height: 102px;
    padding: 16px;
  }

  .dashboard-active-jobs {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .dashboard-head {
    display: grid;
  }

  .dashboard-head-action {
    justify-self: start;
  }

  .dashboard-kpis {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dashboard-kpi {
    min-height: 96px;
  }

  .dashboard-kpi strong {
    font-size: 1.55rem;
  }
}

/* END GARAGE_STAGE3_STEP3_DASHBOARD_PRESENTATION_V1 */

/* ==========================================================
   GARAGE_STAGE3_STEP4_JOBS_PRESENTATION_V1
   Jobs presentation only. Existing workflow preserved.
   ========================================================== */

.jobs-head {
  margin-bottom: 20px;
}

.jobs-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
  color: var(--garage-text-muted);
  font-size: .78rem;
  font-weight: 650;
}

.jobs-summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.jobs-summary strong {
  color: var(--garage-graphite);
  font-size: .94rem;
  font-variant-numeric: tabular-nums;
}

.jobs-create {
  margin-bottom: 18px;
  padding: 0;
  overflow: hidden;
}

.jobs-create > summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.jobs-create > summary::-webkit-details-marker {
  display: none;
}

.jobs-create > summary::after {
  content: '+';
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--garage-blue-soft);
  color: var(--garage-blue);
  font-size: 1.15rem;
  font-weight: 900;
  transition: transform .14s ease;
}

.jobs-create[open] > summary::after {
  transform: rotate(45deg);
}

.jobs-create > summary:hover {
  background: var(--garage-surface-subtle);
}

.jobs-create > summary:focus-visible {
  outline: 2px solid var(--garage-blue);
  outline-offset: -3px;
}

.jobs-create-title {
  color: var(--garage-text);
  font-size: .92rem;
  font-weight: 850;
}

.jobs-create-help {
  flex: 1;
  color: var(--garage-text-muted);
  font-size: .76rem;
}

.jobs-create-body {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--garage-border);
  background: #fbfcfd;
}

.jobs-list-panel {
  margin-bottom: 0;
}

.jobs-list-panel .panel-head {
  margin-bottom: 14px;
}

.jobs-list-panel .panel-head p {
  margin: 4px 0 0;
  font-size: .76rem;
}

.jobs-table-wrap {
  border: 1px solid #e7ecf2;
}

.jobs-table {
  min-width: 760px;
}

.jobs-table th:first-child {
  width: 185px;
}

.jobs-table th:nth-child(2) {
  width: 190px;
}

.jobs-table th:nth-child(4) {
  width: 120px;
}

.jobs-table th:last-child {
  width: 92px;
}

.jobs-row td {
  vertical-align: middle;
}

.job-registration {
  color: var(--garage-graphite);
  font-size: .96rem;
  font-weight: 900;
  letter-spacing: .025em;
  white-space: nowrap;
}

.job-vehicle-meta {
  margin-top: 4px;
  color: var(--garage-text-muted);
  font-size: .72rem;
  line-height: 1.25;
}

.jobs-work-cell {
  max-width: 420px;
  color: #344256;
}

.jobs-action-cell {
  text-align: end;
  white-space: nowrap;
}

html[dir="rtl"] .jobs-action-cell {
  text-align: start;
}

@media (max-width: 800px) {
  .jobs-create > summary {
    min-height: 64px;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .jobs-create-help {
    display: none;
  }

  .jobs-create-body {
    padding: 16px;
  }

  .jobs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* END GARAGE_STAGE3_STEP4_JOBS_PRESENTATION_V1 */