[hidden] { display: none !important; }

:root {
  --navy: #13243a;
  --navy-2: #1c3555;
  --blue: #2867e8;
  --blue-dark: #1750c5;
  --ice: #eef5ff;
  --ink: #172235;
  --muted: #657287;
  --line: #dce3ec;
  --surface: #fff;
  --bg: #f4f7fb;
  --success: #1a9b68;
  --shadow: 0 12px 35px rgba(21, 42, 72, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.session-loading-screen { display:none; position:fixed; inset:0; z-index:10000; place-items:center; align-content:center; background:#13243a; color:#fff; }
.session-loading .session-loading-screen { display:grid; }
.session-loading .app-shell, .session-loading .auth-gate { display:none !important; }
.session-loading-mark { display:grid; width:112px; height:112px; overflow:hidden; place-items:center; color:transparent; background:transparent url("assets/pdr-drive-logo-v4-transparent.png?v=300") center/contain no-repeat; font-size:0; }

/* ISO-9001-supporting vehicle quality dossier */
.quality-dossier{margin:24px 0;padding:20px;border:1px solid #cbd8e8;border-radius:18px;background:#f7faff}.quality-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.quality-heading h3{margin:0}.quality-heading p{margin:4px 0 0;color:#65758b}.quality-disclaimer{margin:12px 0;padding:9px 12px;border-left:4px solid #2e6be6;background:#edf4ff;color:#41536b;font-size:.9rem}.quality-legacy{padding:10px 12px;border-radius:10px;background:#fff4d6;color:#755300;font-weight:700}.quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quality-grid .field textarea{min-height:88px}.quality-files,.quality-dossier details{margin-top:18px;padding-top:14px;border-top:1px solid #dce5f0}.quality-files ul{margin:8px 0 14px;padding-left:20px}.quality-files li{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0}.quality-files li .button{padding:6px 10px;white-space:nowrap}.quality-issue{display:grid;grid-template-columns:minmax(0,1fr) 130px minmax(160px,1fr) minmax(160px,1fr);gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #dce5f0}.quality-issue p{margin:0}.quality-add-issue,.quality-actions{display:flex;gap:10px;align-items:end;margin-top:12px}.quality-add-issue input{flex:1}.quality-actions .field{flex:1}.quality-dossier input,.quality-dossier select,.quality-dossier textarea{width:100%;box-sizing:border-box;border:1px solid #cbd8e8;border-radius:10px;padding:10px;background:#fff}.quality-dossier .detail-actions{margin-top:14px}
@media(max-width:700px){.quality-grid{grid-template-columns:1fr}.quality-issue{grid-template-columns:1fr}.quality-heading,.quality-actions{align-items:stretch;flex-direction:column}}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
.auth-locked .app-shell { display: none !important; }
.auth-gate { display: none; min-height: 100vh; padding: 28px; place-items: center; background: radial-gradient(circle at 20% 10%, #1c3555 0, #13243a 42%, #0d1b2d 100%); }
.auth-locked .auth-gate { display: grid; }
.auth-card { width: min(440px, 100%); padding: 34px; color:#f5f8fc; border:1px solid rgba(132,161,194,.22); border-radius:22px; background:#1b2d43; box-shadow:0 24px 60px rgba(2,10,20,.42),0 4px 14px rgba(2,10,20,.24); }
.auth-card h1 { font-size: 30px; }
.deliestry-logo-image { display: block; width: min(100%, 330px); height: 112px; margin: -10px auto 13px; object-fit: contain; object-position: center; }
.login-brand { display:flex; align-items:center; justify-content:center; gap:14px; margin:0 0 8px; color:#f5f8fc; }
.login-brand-mark { display:grid; width:72px; height:72px; overflow:hidden; flex:0 0 72px; place-items:center; color:transparent; background:transparent url("assets/pdr-drive-logo-v4-transparent.png?v=300") center/contain no-repeat; font-size:0; filter:drop-shadow(0 6px 16px rgba(2,10,20,.28)); }
.login-brand strong { font-size:32px; font-weight:900; letter-spacing:.025em; }
.login-product-subtitle { margin:0 0 20px; color:#9fbbd8; font-size:14px; font-weight:650; letter-spacing:.015em; text-align:center; }
.auth-copy { margin:10px 0 24px; color:#b8c5d4; font-size:13px; line-height:1.6; }
.auth-fields { display: grid; gap: 15px; }
.auth-card .button-full { margin-top: 0; }
#authGate .field { color:#eaf0f7; }
#authGate input { color:#f5f8fc; border-color:#405875; background:#13243a; box-shadow:inset 0 1px 2px rgba(0,0,0,.18); }
#authGate input:focus { border-color:#6f8ead; box-shadow:0 0 0 3px rgba(111,142,173,.18); }
#gateLogin { color:#fff; border:1px solid #45617f; background:#243b57; box-shadow:0 4px 12px rgba(3,13,26,.22); }
#gateLogin:hover, #gateLogin:focus-visible { border-color:#5b7898; background:#2b4665; box-shadow:0 5px 14px rgba(3,13,26,.25); }
.gate-message { min-height: 18px; margin: 14px 0 0; color: #a12d2d; font-size: 12px; text-align: center; }
.login-legal { padding-top:18px; margin-top:18px; color:#9cabbc; border-top:1px solid rgba(159,187,216,.18); text-align:center; }
.login-legal p { margin:0 0 7px; color:#aebdcd; font-size:11px; font-weight:750; }
.login-legal nav { display: flex; justify-content: center; gap: 6px; margin-bottom: 9px; font-size: 10px; }
.login-legal button { padding:0; color:#b9d0e7; border:0; background:none; font-size:inherit; text-decoration:underline; text-underline-offset:2px; }
.login-legal small { display: block; font-size: 9px; line-height: 1.45; }
.legal-dialog[hidden] { display: none; }
.legal-dialog { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(8, 19, 33, .78); backdrop-filter: blur(5px); }
.legal-panel { position: relative; z-index: 1; width: min(650px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 34px; border-radius: 16px; background: white; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.legal-panel h2 { margin-bottom: 18px; font-size: 25px; }
.legal-panel h3 { margin: 22px 0 7px; font-size: 15px; }
.legal-panel p, .legal-panel li { color: #536177; font-size: 12px; line-height: 1.7; }
.legal-panel a { color: var(--blue); }
.legal-panel .legal-note { padding: 12px; border-radius: 8px; background: #fff8e7; color: #70571b; }
.legal-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; color: #526074; border: 0; border-radius: 50%; background: #f0f3f7; font-size: 22px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: fixed; inset: 0 auto 0 0; z-index: 20; width: 232px; height: 100vh; padding: 24px 16px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; overflow-y: auto;
  color: white; background: var(--navy);
}
.brand { display: flex; gap: 12px; align-items: center; color: white; text-decoration: none; font-size: 20px; font-weight: 800; }
.top-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.top-actions .button { width: 100%; text-align: left; }
.editor-role .top-actions .global-search { display: none !important; }
.mobile-menu-toggle { position: relative; z-index: 2; display: none; flex: 0 0 auto; min-width: 104px; min-height: 48px; padding: 10px 14px; color: white; border: 1px solid #526177; border-radius: 9px; background: transparent; font: inherit; font-weight: 800; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.mobile-menu-toggle:active { border-color: #8cb2ff; background: rgba(69,125,224,.3); transform: scale(.98); }
.mobile-menu-toggle:focus-visible { outline: 3px solid rgba(140,178,255,.55); outline-offset: 2px; }
.mobile-menu-toggle span:first-child { margin-right: 6px; }
.expert-mobile-dock { display: none; }
.auth-locked .expert-mobile-dock { display: none !important; }
.editor-role:not(.auth-locked) .expert-mobile-dock:not([hidden]) {
  display: block; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; background: transparent;
}
.expert-mobile-dock button { display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 11px; color: white; background: var(--blue); box-shadow: 0 5px 14px rgba(24,80,197,.32); }
.expert-mobile-dock button span:first-child { font-size: 25px; font-weight: 500; line-height: 1; }
.language-picker { display: flex; align-items: center; gap: 8px; color: #c8d2df; font-size: 12px; }
.language-picker { flex-direction: column; align-items: stretch; margin-bottom: 5px; }
.language-picker select { color: white; border: 1px solid #516176; background: var(--navy-2); }

.button { border: 0; border-radius: 9px; padding: 11px 16px; font-weight: 750; transition: .18s ease; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 5px 12px rgba(40, 103, 232, .22); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.appraisal-review-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.appraisal-review-details > div { padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.appraisal-review-details strong { display:block; margin-bottom:6px; }
.appraisal-review-details p { margin:0; color:var(--muted); white-space:pre-wrap; }
@media (max-width:680px) { .appraisal-review-details { grid-template-columns:1fr; } }
.dent-quick-field { align-content:start; }
.dent-quick-actions { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:6px; }
.dent-quick-actions button { min-height:36px; padding:5px 7px; border:1px solid #b7c6da; border-radius:9px; color:var(--navy); background:#eef4ff; font:800 12px/1 system-ui,sans-serif; cursor:pointer; }
.dent-quick-actions button:active { transform:translateY(1px); background:#dce9ff; }
.appraisal-dismantling { display:none; margin:0; padding:14px; border:1px solid var(--line); border-radius:13px; }
.editor-role .appraisal-dismantling { display:block; }
.appraisal-dismantling legend { padding:0 6px; color:var(--navy); font-weight:800; }
.appraisal-dismantling-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.appraisal-dismantling-grid label { display:flex; align-items:center; gap:8px; min-height:44px; padding:9px 11px; border:1px solid var(--line); border-radius:10px; background:var(--surface-soft); font-weight:700; }
.appraisal-dismantling-grid input { width:18px; height:18px; margin:0; accent-color:var(--accent); }
.appraisal-no-dismantling { grid-column:1/-1; }
.appraisal-completion-check { margin:16px 0 0; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.appraisal-completion-check h4 { margin:0 0 9px; }
.appraisal-check-list { display:grid; gap:7px; margin:0; padding:0; list-style:none; }
.appraisal-check-list li { display:flex; align-items:center; gap:8px; color:var(--muted); font-weight:700; }
.appraisal-check-list li::before { content:"✓"; display:grid; place-items:center; width:21px; height:21px; border-radius:50%; color:#fff; background:#18864b; font-size:12px; }
.appraisal-check-list li.warning::before { content:"!"; background:#c47a13; }
.appraisal-check-list li.missing::before { content:"×"; background:#b63131; }
@media (max-width:680px) { .appraisal-dismantling-grid { grid-template-columns:1fr; } }
.whatsapp-button { color: white; background: #168b4b; }
.whatsapp-button:hover { background: #11743e; }
.topbar .button-secondary { color: white; background: transparent; border-color: #526177; }
.topbar .button-secondary:hover, .topbar .button-secondary.active-route { color: white; border-color: #75a5ff; background: rgba(69, 125, 224, .25); }
.button-full { width: 100%; margin-top: 20px; }

.workspace, .dashboard { width: min(1440px, calc(100% - 280px)); margin: 34px 24px 80px 256px; }
@media (min-width: 1720px) { .workspace, .dashboard { margin-left: calc(232px + (100vw - 1672px) / 2); } }
.dashboard[hidden] { display: none; }
#archiveImportPanel[hidden] { display: none !important; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dashboard-heading p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(210px, 260px)); gap: 10px; margin-bottom: 18px; }
.metric-card { position: relative; display: grid; gap: 2px; min-height: 72px; padding: 10px 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: #fff; background: var(--navy); box-shadow: 0 7px 17px rgba(19, 36, 58, .18); }
.metric-card::after { content: ""; position: absolute; right: -25px; bottom: -48px; width: 98px; height: 98px; border-radius: 50%; background: rgba(255,255,255,.045); pointer-events: none; }
.metric-card span { position: relative; z-index: 1; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 750; letter-spacing: .01em; }
.metric-card strong { position: relative; z-index: 1; color: #fff; font-size: clamp(18px, 1.55vw, 23px); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.metric-card small { position: relative; z-index: 1; align-self: end; color: rgba(255,255,255,.65); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 900px); gap: 22px; }
.continue-draft-action { border-color: #2f7bea; background: linear-gradient(135deg,#edf5ff,#fff); }
.operational-metrics { margin: 0 0 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.operational-metrics-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.operational-metrics-heading h2 { margin:0; font-size:18px; color:var(--navy); }
.operational-metrics-heading span { color:var(--muted); font-size:13px; }
.operational-metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.operational-metric-grid article { min-width:0; padding:14px; border-radius:14px; background:#f5f8fc; }
.operational-metric-grid span { display:block; color:var(--muted); font-size:12px; font-weight:700; }
.operational-metric-grid strong { display:block; margin-top:6px; color:var(--navy); font-size:22px; }
.editor-role .admin-operational-metric { display:none; }
.editor-role .operational-metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.employee-role #operationalMetrics { display:none; }
.status-overview { display: grid; gap: 15px; }
.status-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: #425067; font-size: 12px; }
.status-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e9eef5; }
.status-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #66a0ff); }
.recent-offer { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid #edf0f4; }
.recent-offer:is(button) { width:100%; border-width:0 0 1px; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.recent-offer:is(button):hover, .recent-offer:is(button):focus-visible { background:#f7f9fc; }
.recent-offer:last-child { border-bottom: 0; }
.recent-offer > div:last-child { text-align: right; }
.recent-offer strong, .recent-offer span { display: block; }
.recent-offer span:not(.status-badge) { margin-top: 4px; color: var(--muted); font-size: 11px; }
.month-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 7px; align-items: end; min-height: 210px; padding-top: 12px; }
.month-column { display: grid; grid-template-rows: 165px auto; gap: 8px; align-items: end; text-align: center; }
.month-stack { display: flex; flex-direction: column-reverse; justify-content: flex-start; height: 100%; overflow: hidden; border-radius: 6px 6px 2px 2px; }
.month-stack i { display: block; min-height: 2px; }
.month-column span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: clip; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: -5px 0 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 2px; }
.top-customer-list { display: grid; gap: 2px; }
.top-customer-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; border-bottom: 1px solid #edf0f4; font-size: 12px; }
.top-customer-list > div:last-child { border-bottom: 0; }
.top-customer-list span { color: #3d4b60; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 22px; }
.quick-action { display: grid; gap: 5px; padding: 17px; color: var(--navy); border: 1px solid var(--line); border-radius: 12px; background: white; text-align: left; cursor: pointer; box-shadow: 0 8px 24px rgba(20, 39, 68, .05); }
.quick-action:hover { border-color: var(--blue); transform: translateY(-1px); }
.quick-action strong { font-size: 13px; }
.quick-action span { color: var(--muted); font-size: 11px; }
.wizard-shell { margin: 0 0 18px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 10px 30px rgba(18, 37, 66, .05); }
.wizard-progress { display: grid; grid-template-columns: repeat(6, 1fr); }
.wizard-step { position: relative; display: grid; justify-items: center; gap: 7px; padding: 3px 8px; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 10px; }
.wizard-step::after { position: absolute; top: 15px; left: calc(50% + 19px); width: calc(100% - 38px); height: 2px; content: ""; background: #dce4ef; }
.wizard-step:last-child::after { display: none; }
.wizard-step span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; color: #6d7c91; border: 2px solid #dce4ef; border-radius: 50%; background: white; font-weight: 850; }
.wizard-step.active { color: var(--blue); }
.wizard-step.active span { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 5px rgba(32, 108, 214, .1); }
.wizard-step.complete span { color: white; border-color: #24966d; background: #24966d; }
.wizard-step.complete::after { background: #24966d; }
.wizard-mobile-status { display: none; }
.wizard-panel[hidden] { display: none !important; }
.wizard-navigation { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0 0; }
.wizard-review h3 { margin: 0 0 12px; }
.wizard-review dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 20px; }
.wizard-review dl div { padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.wizard-review dt { color: var(--muted); font-size: 10px; }
.wizard-review dd { margin: 5px 0 0; font-weight: 800; }
.wizard-selected-parts { position: relative; z-index: 1; margin-top: 18px; }
.wizard-selected-parts table { width: 100%; border-collapse: collapse; font-size: 11px; }
.wizard-selected-parts th, .wizard-selected-parts td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.finalize-actions, .insurer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.finalize-actions { position: relative; z-index: 3; isolation: isolate; margin-top: 14px; }
.finalize-actions .button { position: relative; z-index: 1; pointer-events: auto; touch-action: manipulation; }
.customer-entry-field[hidden], #saveCustomer[hidden] { display: none !important; }
.part-overview { display: grid; gap: 18px; margin-bottom: 18px; }
.vehicle-damage-map { position: relative; width: min(100%, 430px); aspect-ratio: 320 / 620; margin: 0 auto; }
.vehicle-top-view { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 20px rgba(18,39,64,.14)); }
.vehicle-shadow { fill: rgba(12,30,58,.13); transform: translateY(8px); }
.vehicle-body { fill: url(#carBodyGradient); stroke: #8c9bad; stroke-width: 3; }
.vehicle-glass { fill: url(#glassGradient); stroke: #0d1e31; stroke-width: 3; }
.vehicle-roof { fill: #f3f6f9; stroke: #9aa9b9; stroke-width: 2; }
.vehicle-bumper { fill: #d5dde6; stroke: #8c9bad; stroke-width: 2; }
.vehicle-line { fill: none; stroke: #8c9bad; stroke-width: 2; }
.vehicle-mirror { fill: #c9d3de; stroke: #8191a3; stroke-width: 2; }
.vehicle-wheel { fill: #172333; }
.vehicle-map-marker { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: white; border: 3px solid white; border-radius: 50%; background: #123fc2; box-shadow: 0 5px 12px rgba(10,38,107,.28); cursor: pointer; font-size: 17px; font-weight: 900; line-height: 1; transform: translate(-50%,-50%); transition: transform .16s ease, background .16s ease; }
.vehicle-map-marker:hover, .vehicle-map-marker:focus-visible { z-index: 3; background: var(--blue); outline: 3px solid rgba(32,108,214,.22); transform: translate(-50%,-50%) scale(1.1); }
.vehicle-map-marker.selected { background: #24966d; }
.vehicle-map-marker small { position: absolute; right: -8px; bottom: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; color: white; border: 2px solid white; border-radius: 12px; background: #d75432; font-size: 10px; }
.marker-1 { left:50%; top:13%; }.marker-2 { left:16%; top:22%; }.marker-3 { left:14%; top:36%; }.marker-4 { left:27%; top:47%; }
.marker-5 { left:15%; top:59%; }.marker-6 { left:17%; top:73%; }.marker-7 { left:50%; top:86%; }.marker-8 { left:50%; top:96%; }
.marker-9 { left:83%; top:73%; }.marker-10 { left:85%; top:59%; }.marker-11 { left:50%; top:47%; }.marker-12 { left:73%; top:47%; }
.marker-13 { left:86%; top:36%; }.marker-14 { left:84%; top:22%; }.marker-15 { left:10%; top:48%; }.marker-16 { left:90%; top:48%; }
.part-overview-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.part-overview-button { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; min-height: 48px; padding: 8px 10px; color: var(--navy); border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; text-align: left; cursor: pointer; }
.part-overview-button span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e5ebf3; color: var(--muted); font-size: 10px; font-weight: 850; }
.part-overview-button strong { font-size: 10px; line-height: 1.2; }
.part-overview-button small { color: var(--muted); font-weight: 850; }
.part-overview-button:hover { border-color: var(--blue); background: #f1f6fe; }
.part-overview-button.selected { border-color: #24966d; background: #ebf8f2; }
.part-overview-button.selected span { color: white; background: #24966d; }
.part-overview-button.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,103,232,.12); }
.vehicle-map-marker.active { z-index: 4; outline: 4px solid rgba(40,103,232,.22); transform: translate(-50%,-50%) scale(1.12); }
.price-profile-field { max-width: 420px; margin-bottom: 18px; }
.damage-data-store[hidden] { display: none !important; }
.part-editor-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 18px; }
.part-editor-modal[hidden] { display: none !important; }
.part-editor-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(8,24,45,.62); cursor: default; }
.part-editor-dialog { position: relative; z-index: 1; width: min(620px,100%); max-height: calc(100vh - 36px); overflow: auto; padding: 22px; border-radius: 18px; background: white; box-shadow: 0 28px 70px rgba(5,20,40,.35); }
.part-editor-header { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 20px; }
.part-editor-header small { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.part-editor-header h3 { margin: 5px 0 0; color: var(--navy); font-size: 20px; }
.part-editor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.part-editor-total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 11px; color: white; background: var(--navy); font-weight: 800; }
.part-editor-total strong { font-size: 20px; }
.part-editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
#quoteInsurerField[hidden] { display: none !important; }
.insurer-list { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.global-search input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; font-size: 11px; }
.compact-table-scroll { position: relative; z-index: 1; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 11px; }
.compact-offer-table table { width: 100%; border-collapse: collapse; background: white; font-size: 11px; }
.compact-offer-table th { padding: 10px 11px; color: var(--muted); background: #f4f7fb; text-align: left; white-space: nowrap; }
.compact-offer-table td { padding: 11px; border-top: 1px solid #edf0f4; vertical-align: middle; }
.compact-offer-table td small { display: block; margin-top: 3px; color: var(--muted); }
.compact-offer-table .money-cell { font-weight: 850; white-space: nowrap; }
.table-actions { display: flex; flex-wrap: wrap; gap: 5px; min-width: 160px; }
.table-action { padding: 6px 8px; color: var(--navy); border: 1px solid var(--line); border-radius: 6px; background: white; cursor: pointer; font-size: 9px; font-weight: 800; }
.table-action.primary { color: white; border-color: var(--blue); background: var(--blue); }
.table-action.danger { color: #a62828; }
.table-assignment { display: grid; gap: 3px; width: 100%; color: var(--muted); font-size: 9px; }
.table-assignment select { padding: 6px; font-size: 9px; }
.table-assignment:has([data-assign-viewer]),
.detail-status-control:has([data-detail-viewer]) { display: none !important; }
.task-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.task-tabs button { padding: 9px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; font-weight: 800; }
.task-tabs button.active { color: white; border-color: var(--blue); background: var(--blue); }
.review-comments { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfd; }
.review-comments h3 { margin: 0 0 14px; }
.review-comment { padding: 12px 0; border-bottom: 1px solid #e8edf4; }
.review-comment div { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; }
.review-comment time { color: var(--muted); }
.review-comment p { margin: 7px 0 0; white-space: pre-wrap; }
.comment-composer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-top: 15px; }
.comment-composer textarea { width: 100%; resize: vertical; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.eyebrow, .summary-label { margin: 0 0 8px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
h1 { margin: 0; font-size: clamp(27px, 3vw, 40px); letter-spacing: -.035em; }
.intro p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); }
.status-pill { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid #d7e5dd; border-radius: 99px; color: #34755b; background: #f3fbf7; font-size: 12px; }
.status-pill span:first-child { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.draft-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.compact-button { min-height: 36px; padding: 8px 12px; }
.field-help { margin: -4px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.checkbox-row { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
.editor { display: grid; gap: 20px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.card-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #edf0f4; }
.step { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; color: var(--blue); border-radius: 9px; background: var(--ice); font-weight: 850; }
h2 { margin: 0; font-size: 18px; }
.card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; color: #354258; font-size: 12px; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid #cfd8e4; border-radius: 8px; outline: none; background: white; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 103, 232, .1); }
textarea { resize: vertical; }
.pdf-language-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 7px; }
.pdf-language-actions button { min-height: 34px; border: 1px solid #cad5e1; border-radius: 8px; color: #13243a; background: #f5f8fb; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.pdf-language-actions button:hover { border-color: #1667b1; color: #1667b1; background: #edf6ff; }
.money-input { position: relative; }
.money-input input { padding-right: 40px; }
.money-input span { position: absolute; right: 13px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.inline-control { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.three-actions { grid-template-columns: repeat(3, 1fr); }
.file-button { display: grid; place-items: center; text-align: center; }
.file-button input { display: none; }
.danger-button { color: #a72c2c; border-color: #edcaca; background: #fff8f8; }
.data-tools { padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.cloud-section { padding-top: 0; margin-top: 0; }
.cloud-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cloud-state { padding: 10px 12px; color: #40526a; border-radius: 8px; background: #f1f5fa; font-size: 12px; }
.cloud-test-result { margin-top: 14px; padding: 12px; border-radius: 8px; background: #f4f7fb; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.cloud-test-result.success { color: #176a49; background: #eef9f4; border: 1px solid #bfe5d3; }
.cloud-test-result.error { color: #942c2c; background: #fff3f3; border: 1px solid #efcaca; }
.field input:invalid:not(:placeholder-shown) { border-color: #c94141; }
.logo-preview { display: none; max-width: 220px; max-height: 90px; object-fit: contain; object-position: left center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.logo-preview[src] { display: block; }

.table-wrap { overflow-x: auto; }
.damage-table { width: 100%; border-collapse: collapse; }
.damage-table th { padding: 9px 8px; color: var(--muted); background: #f8fafc; font-size: 11px; text-align: center; }
.damage-table th:first-child { text-align: left; }
.damage-table td { padding: 8px; border-bottom: 1px solid #edf0f4; text-align: center; }
.damage-table td:first-child { color: #344157; text-align: left; font-size: 13px; font-weight: 700; white-space: nowrap; }
.damage-table input { width: 70px; padding: 8px; text-align: center; }
.damage-table select { min-width: 76px; padding: 8px; }
.calculation-toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 0 18px; }
.hourly-setting { opacity: .45; }
body.hourly-mode .hourly-setting { opacity: 1; }
.row-total { min-width: 82px; color: var(--navy); font-size: 13px; font-weight: 800; }
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 20px; }
body.swiss-module .price-profile-field:not(:first-of-type),
body.swiss-module .rate-grid,
body.swiss-module #calculationMode,
body.belgium-module .price-profile-field:not(:first-of-type),
body.belgium-module .rate-grid,
body.belgium-module #calculationMode { display: none; }
.swiss-module-note { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: #eef5ff; color: #17365f; }
.swiss-module-note strong, .swiss-module-note span { display: block; }
.swiss-module-note span { margin-top: 4px; font-size: .92rem; }

.summary-column { position: sticky; top: 20px; }
.summary-card { padding: 26px; color: white; border: 0; background: var(--navy); box-shadow: 0 20px 45px rgba(19, 36, 58, .2); }
.summary-card .summary-label { color: #8bb2ff; }
.summary-count { display: flex; align-items: baseline; gap: 10px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid #34465d; }
.summary-count strong { font-size: 35px; }
.summary-count span { color: #b8c4d4; font-size: 13px; }
.totals { margin: 0; }
.totals div { display: flex; justify-content: space-between; margin: 14px 0; color: #c9d2de; font-size: 13px; }
.totals dd { margin: 0; color: white; font-weight: 700; }
.grand-total { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid #536176; }
.grand-total span { color: #c9d2de; font-size: 13px; }
.grand-total strong { font-size: 25px; }
.privacy-note { margin: 13px 0 0; color: #91a1b5; text-align: center; font-size: 10px; }
.compact-calculation { display: grid; grid-template-columns: .8fr 1fr 1.25fr; gap: 0; padding: 18px 20px; }
.editor-role .expert-price-control,
.editor-role .rate-grid,
.editor-role .summary-card,
.editor-role .part-editor-total,
.editor-role #baseCostsExplanation { display: none !important; }
.editor-role #dashboardView .metric-grid { display: none !important; }
.compact-summary-item { display: grid; gap: 5px; padding: 2px 18px; border-left: 1px solid #34465d; }
.compact-summary-item:first-child { padding-left: 0; border-left: 0; }
.compact-summary-item span { color: #aebed2; font-size: 11px; font-weight: 700; }
.compact-summary-item strong { color: white; font-size: 18px; line-height: 1.1; white-space: nowrap; }
.compact-gross strong { color: #fff; font-size: 22px; }
.calculation-update-targets { display: none; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; overflow-y: auto; padding: 30px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(8, 19, 33, .76); backdrop-filter: blur(5px); }
.modal-panel { position: relative; width: min(900px, 100%); margin: auto; }
.compact-modal .modal-panel { width: min(720px, 100%); }
.archive-panel { width: min(1180px, 100%) !important; }
.detail-panel { width: min(1040px, 100%) !important; }
.settings-panel .card, .archive-panel .card { max-height: calc(100vh - 110px); overflow-y: auto; }
.modal-toolbar { display: flex; justify-content: flex-end; gap: 10px; padding-bottom: 14px; }
.route-page { inset: 0 0 0 232px; z-index: 18; padding: 30px 34px; background: var(--bg); overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-gutter: stable; }
.route-page .modal-backdrop { display: none; }
.route-page .modal-panel { width: min(1440px, 100%) !important; margin: 0 auto; }
.route-page .modal-panel > .card { max-height: none; overflow: visible; }
.route-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: -32px; color: var(--muted); font-size: 11px; }
.route-breadcrumb button { padding: 0; color: var(--blue); border: 0; background: none; font-weight: 750; }
.notification-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notification-button b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; color: white; border-radius: 99px; background: #d65555; font-size: 9px; }
.sortable-heading { padding: 0; color: inherit; border: 0; background: none; font-weight: inherit; cursor: pointer; }
.sortable-heading.active::after { margin-left: 5px; content: attr(data-direction); color: var(--blue); }
.activity-user { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.repair-workflow { margin: 18px 0; padding: 20px; border: 1px solid #cddcf0; border-radius: 12px; background: #f3f7fd; }
.repair-workflow h3 { margin: 0 0 15px; }
.repair-workflow textarea { margin-bottom: 12px; }
.repair-workflow p { margin: 0; white-space: pre-wrap; }
.repair-progress { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin:18px 0 10px; padding:0; list-style:none; }
.repair-progress li { position:relative; display:grid; justify-items:center; gap:6px; color:#74839a; text-align:center; }
.repair-progress li::before { content:""; position:absolute; top:17px; left:-54%; width:108%; height:3px; background:#d8e1ee; z-index:0; }
.repair-progress li:first-child::before { display:none; }
.repair-progress li span { position:relative; z-index:1; display:grid; place-items:center; width:36px; height:36px; border:2px solid #c9d5e5; border-radius:50%; background:#fff; font-weight:800; }
.repair-progress li.is-complete span,.repair-progress li.is-current span { border-color:#2468d8; background:#2468d8; color:#fff; }
.repair-progress li.is-complete::before,.repair-progress li.is-current::before { background:#2468d8; }
.repair-progress li.is-current small { color:#17365f; font-weight:800; }
.employee-settlement-status { margin:0 0 18px; padding:10px 14px; border-radius:10px; background:#eef5ff; color:#17365f; text-align:center; }
.repair-assignment-grid { display: grid; grid-template-columns: 1.2fr 1fr .7fr .7fr auto; gap: 10px; align-items: end; }
.offer-sheet { min-height: 1120px; padding: 64px; color: #172235; background: white; box-shadow: 0 20px 70px rgba(0,0,0,.25); }
.offer-header { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 30px; border-bottom: 4px solid var(--navy); }
.offer-logo { color: var(--navy); font-size: 26px; font-weight: 900; }
.offer-logo span { color: var(--blue); }
.offer-meta { font-size: 12px; text-align: right; line-height: 1.65; }
.offer-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 45px 0; font-size: 13px; line-height: 1.65; }
.offer-section-label { margin-bottom: 7px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.offer-sheet h2 { margin: 0 0 8px; font-size: 25px; }
.offer-lead { color: #59677a; font-size: 13px; }
.offer-table { width: 100%; margin: 30px 0; border-collapse: collapse; font-size: 12px; }
.offer-table th { padding: 11px; color: white; background: var(--navy); text-align: left; }
.offer-table th:not(:first-child), .offer-table td:not(:first-child) { text-align: right; }
.offer-table td { padding: 11px; border-bottom: 1px solid #dfe5ec; }
.offer-totals { width: 340px; margin-left: auto; font-size: 12px; }
.offer-totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.offer-totals .offer-grand { padding-top: 13px; margin-top: 8px; border-top: 2px solid var(--navy); font-size: 18px; font-weight: 900; }
.offer-notes { margin-top: 50px; padding: 18px; border-radius: 8px; background: #f4f7fb; font-size: 12px; line-height: 1.6; white-space: pre-wrap; }
.offer-footer { margin-top: 70px; padding-top: 20px; color: #667386; border-top: 1px solid #dfe5ec; font-size: 10px; line-height: 1.5; }
.offer-company-logo { display: block; max-width: 170px; max-height: 70px; margin-bottom: 8px; object-fit: contain; object-position: left center; }
.archive-list { display: grid; gap: 10px; }
.archive-primary-tools { display:grid; grid-template-columns:minmax(0,1fr) 46px; gap:8px; align-items:center; margin-bottom:12px; }
.archive-search { position:relative; display:block; min-width:0; }
.archive-search-icon { position:absolute; z-index:1; top:50%; left:13px; color:#65758a; font-size:20px; line-height:1; transform:translateY(-52%); pointer-events:none; }
.archive-search input { width:100%; min-height:46px; padding:10px 14px 10px 40px; border:1px solid var(--line); border-radius:12px; background:#f8fafc; color:var(--ink); }
.archive-search input:focus { outline:2px solid rgba(40,103,232,.18); border-color:#7ca4eb; background:#fff; }
.archive-filter-toggle { position:relative; display:inline-grid; width:46px; min-height:46px; place-items:center; padding:0; border:1px solid var(--line); border-radius:12px; background:#f8fafc; color:var(--navy); }
.archive-filter-toggle:hover,.archive-filter-toggle:focus-visible,.archive-filter-toggle[aria-expanded="true"] { border-color:#9bb6dc; background:#eef4fc; }
.archive-filter-icon { font-size:21px; line-height:1; }
.archive-filter-toggle b { position:absolute; top:-5px; right:-5px; display:grid; min-width:20px; height:20px; place-items:center; padding:0 5px; border:2px solid #fff; border-radius:999px; background:var(--blue); color:#fff; font-size:9px; }
.archive-controls { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.archive-filter-panel { display:none; padding:14px; margin-bottom:14px; border:1px solid var(--line); border-radius:12px; background:#f8fafc; }
.archive-filter-panel.expanded { display:block; }
.archive-result-count { display:block; margin-top:3px; color:var(--muted); font-size:11px; font-weight:700; }
.archive-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.admin-observability { padding-top: 14px; border-top: 1px solid var(--line); }
.system-health-summary { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.system-health-summary.is-ok { border-color: #a9dac6; background: #f0fbf6; }
.system-health-summary.is-warning { border-color: #ebc681; background: #fff9eb; }
.system-alert { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #ebc681; border-radius: 12px; color: #7a5210; background: #fff9eb; font-weight: 750; }
.audit-log-list { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.audit-log-entry { display: grid; grid-template-columns: minmax(130px,.7fr) minmax(180px,1fr) minmax(120px,.8fr); gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.audit-log-entry:last-child { border-bottom: 0; }
.control-center-filters { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:12px; margin-bottom:14px; }
.control-center-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.control-summary { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:12px; margin-bottom:18px; }
.control-summary article { padding:14px; border:1px solid var(--line); border-radius:12px; background:#f8fafc; }
.control-summary span { display:block; color:var(--muted); font-size:12px; font-weight:700; }
.control-summary strong { display:block; margin-top:5px; font-size:24px; }
.control-accounts { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:12px; margin-bottom:18px; }
.control-account-card { padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.control-account-card strong,.control-account-card span,.control-account-card small { display:block; overflow-wrap:anywhere; }
.control-account-card span,.control-account-card small { margin-top:5px; color:var(--muted); }
.control-timeline { max-height:58vh; overflow:auto; }
.control-timeline .audit-log-entry { grid-template-columns:170px minmax(170px,.7fr) minmax(260px,1.3fr); }
@media (max-width:980px) { .control-center-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .control-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .control-center-filters,.control-summary { grid-template-columns:1fr; } .control-center-actions .button { width:100%; } .control-timeline .audit-log-entry { grid-template-columns:1fr; gap:4px; } }
.archive-pagination { display: flex; justify-content: center; align-items: center; gap: 14px; padding-top: 18px; color: var(--muted); font-size: 12px; }
.archive-import { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; }
.archive-import label { cursor: pointer; }
.archive-import span { color: var(--muted); font-size: 12px; font-weight: 750; }
.archive-pagination .button { padding: 8px 12px; }
.archive-pagination .button:disabled { opacity: .45; cursor: default; }
.dashboard-offer-search { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; margin-bottom:10px; }
.expert-workflow-filter { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.expert-workflow-chip { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:42px; padding:8px 12px; border:1px solid #d8e1ee; border-radius:12px; background:#f6f8fc; color:var(--navy); font:inherit; font-weight:700; cursor:pointer; }
.expert-workflow-chip strong { display:grid; place-items:center; min-width:26px; min-height:26px; padding:2px 7px; border-radius:999px; background:#e5edf9; color:#24405f; font-size:12px; }
.expert-workflow-chip.active { border-color:#132a44; background:#132a44; color:#fff; }
.expert-workflow-chip.active strong { background:rgba(255,255,255,.2); color:#fff; }
.dashboard-offer-search[hidden],.dashboard-offer-pagination[hidden] { display:none !important; }
.dashboard-offer-search label { min-width:0; }
.dashboard-offer-search input { width:100%; min-height:42px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:#f8fafc; color:var(--ink); font:inherit; }
.dashboard-offer-search input:focus { outline:2px solid rgba(47,111,237,.25); border-color:var(--accent); }
.dashboard-offer-search .button { min-height:42px; padding:8px 12px; }
.archive-empty { padding: 30px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.archive-item { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.archive-item strong, .archive-item span { display: block; }
.archive-item span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.status-badge { display: inline-block !important; width: fit-content; margin: 7px 0 0 !important; padding: 3px 7px; border-radius: 99px; color: #34526f !important; background: #edf4fa; font-size: 10px !important; font-weight: 800; text-transform: uppercase; }
.status-badge.status-draft { color:#5f6b7a !important; background:#eef1f4; }
.status-badge.status-review { color:#8a5a00 !important; background:#fff3d6; }
.status-badge.status-reviewed,.status-badge.status-sent { color:#24558a !important; background:#e9f2fc; }
.status-badge.status-accepted,.status-badge.status-repaired { color:#1f6b4a !important; background:#e7f6ee; }
.status-badge.status-rejected { color:#9b3535 !important; background:#fbeaea; }
.archive-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.offer-card-list, .archive-mobile-close { display: none; }
.archive-loading { display:grid; gap:8px; }
.archive-loading > span { display:grid; grid-template-columns:1.4fr .8fr .55fr; gap:12px; min-height:56px; padding:13px; border:1px solid var(--line); border-radius:11px; background:#fff; }
.archive-loading i { display:block; height:12px; align-self:center; border-radius:999px; background:linear-gradient(90deg,#edf1f6 25%,#f8fafc 50%,#edf1f6 75%); background-size:200% 100%; animation:archive-loading 1.25s ease-in-out infinite; }
@keyframes archive-loading { to { background-position:-200% 0; } }
.customer-directory-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr); gap: 18px; }
.customer-directory-form { margin-bottom:18px; padding:16px; border:1px solid var(--line); border-radius:12px; background:#f8fafc; }
.customer-search { margin-bottom: 18px; }
.customer-registry-toolbar { display:flex; justify-content:flex-end; margin-bottom:18px; }
.customer-form-view { max-width:760px; margin:0 auto; }
.customer-form-heading { margin-bottom:12px; }
.customer-orders-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.customer-orders-heading h3 { margin:0; }
.customer-directory-button { width: 100%; padding: 14px; color: var(--navy); border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.customer-directory-button:hover, .customer-directory-button.active { border-color: var(--blue); background: #f2f7ff; }
.customer-directory-button.is-read { opacity: .62; }
.customer-directory-button strong, .customer-directory-button span { display: block; }
.customer-directory-button span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.customer-orders { min-height: 180px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.customer-orders h3 { margin: 0 0 12px; }
.customer-history-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.customer-history-summary div { padding: 10px; border-radius: 8px; background: white; }
.customer-history-summary span, .customer-history-summary strong { display: block; }
.customer-history-summary span { color: var(--muted); font-size: 9px; }
.customer-history-summary strong { margin-top: 4px; color: var(--navy); font-size: 13px; }
.vehicle-history { display: grid; gap: 10px; }
.vehicle-history-group { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.vehicle-history-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; margin-bottom: 5px; border-bottom: 1px solid #edf0f4; cursor: pointer; }
.vehicle-history-heading span { color: var(--muted); font-size: 10px; }
.vehicle-history-offer { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 11px; }
.customer-order-pagination { margin-top: 14px; }
.notification-tabs { margin-bottom: 16px; }
.notification-tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 3px; border-radius: 99px; color: var(--navy); background: #e7edf5; font-size: 10px; }
.notification-tabs button.active .notification-tab-count { color: white; background: rgba(255,255,255,.25); }
.app-update-notice { position: fixed; z-index: 1000; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 36px)); padding: 14px 16px; color: white; border-radius: 12px; background: var(--navy); box-shadow: 0 16px 40px rgba(19,36,58,.28); font-size: 12px; font-weight: 750; }
.app-update-notice[hidden] { display: none; }
.connectivity-notice { position: fixed; z-index: 1001; top: 10px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 24px); padding: 9px 14px; border-radius: 999px; color: white; background: #9a3412; box-shadow: 0 8px 24px rgba(19,36,58,.2); font-size: 12px; font-weight: 800; text-align: center; }
.connectivity-notice[hidden] { display: none; }
.app-toast { position:fixed; right:20px; bottom:20px; z-index:120; max-width:min(420px,calc(100vw - 32px)); padding:13px 16px; border-radius:12px; color:#fff; background:#17304f; box-shadow:0 12px 36px rgba(5,18,35,.28); font-weight:700; }
.app-toast.is-error { background:#a83232; }
.app-toast[hidden] { display:none !important; }
.app-update-notice button { min-height: 44px; padding: 8px 12px; color: var(--navy); border: 0; border-radius: 8px; background: white; font-weight: 800; cursor: pointer; }
.archive-actions .button { padding: 8px 10px; font-size: 11px; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-heading .eyebrow { margin-bottom: 5px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 9px; padding: 16px 0 0; }
.detail-status-control { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 700; }
.detail-status-control select { width: auto; min-width: 135px; padding: 8px; }
.detail-total { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; padding: 20px; color: white; border-radius: 12px; background: var(--navy); }
.detail-total strong { font-size: 27px; }
.detail-positions { margin-bottom: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.detail-positions h3 { margin: 0 0 14px; font-size: 14px; }
.detail-positions table { width: 100%; border-collapse: collapse; font-size: 11px; }
.detail-positions th { padding: 9px; color: var(--muted); background: #f4f7fb; text-align: left; white-space: nowrap; }
.detail-positions td { padding: 9px; border-bottom: 1px solid #edf0f4; }
.detail-positions th:not(:first-child), .detail-positions td:not(:first-child) { text-align: right; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-grid section { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfd; }
.detail-grid h3 { margin: 0 0 15px; font-size: 14px; }
.detail-grid dl { margin: 0; }
.detail-grid dl div { display: grid; grid-template-columns: 42% 58%; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e9edf3; font-size: 12px; }
.detail-grid dl div:last-child { border-bottom: 0; }
.detail-grid dt { color: var(--muted); }
.detail-grid dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.status-timeline { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.status-timeline li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 8px 18px; border-left: 2px solid #cbd9ef; font-size: 11px; }
.status-timeline li::before { position: absolute; left: -5px; top: 13px; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--blue); }
.status-timeline time { color: var(--muted); }

@media (max-width: 980px) {
  .route-page { inset: 72px 0 0; }
  .topbar { position: sticky; inset: 0 auto auto 0; width: 100%; height: auto; padding: 14px 18px; flex-direction: row; align-items: center; justify-content: space-between; overflow: visible; }
  .top-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
  .top-actions .button { width: auto; }
  .language-picker { flex-direction: row; align-items: center; margin-bottom: 0; }
  .global-search input { width: min(220px, 24vw); }
  .workspace, .dashboard { width: min(1440px, calc(100% - 48px)); margin: 34px auto 80px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .summary-column { position: static; grid-row: 1; }
  .summary-card { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 35px; }
  .compact-calculation { grid-template-columns: .8fr 1fr 1.25fr; gap: 0; }
  .summary-label, .summary-count, .grand-total, .button-full, .privacy-note { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .expert-workflow-filter { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .expert-workflow-chip { min-height:38px; padding:6px 9px; font-size:12px; }
  .app-toast { left:16px; right:16px; bottom:92px; max-width:none; }
  .operational-metrics { padding:16px; }
  .operational-metrics-heading { display:block; }
  .operational-metrics-heading span { display:block; margin-top:4px; }
  .operational-metric-grid, .editor-role .operational-metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #saveCustomer { min-height: 44px; padding-block: 11px; }
  .login-legal nav { flex-wrap: wrap; gap: 4px 8px; }
  .login-legal button { min-height: 44px; padding: 10px 5px; }
  .route-page { inset: 64px 0 0; padding: 18px 12px; }
  .route-breadcrumb { margin-bottom: 10px; }
  .topbar { height: auto; padding: 8px 12px; align-items: center; }
  .brand { min-width: 0; min-height: 44px; gap: 8px; font-size: 15px; }
  .brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; }
  .top-actions { display: none; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; }
  .top-actions.mobile-open { display: grid; }
  .top-actions .button { width: 100%; min-height: 44px; text-align: center; }
  .language-picker span, #openSettings, #openCloud, #openInsurers { display: none; }
  .topbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .top-actions { grid-column: 1 / -1; }
  .global-search { grid-column: 1 / -1; display: block; }
  .global-search input { width: 100%; min-height: 44px; font-size: 16px; }
  .field input, .field select, .field textarea { min-height: 44px; font-size: 16px; }
  .workspace, .dashboard { width: min(100% - 24px, 1440px); margin-top: 22px; }
  .dashboard-heading { align-items: flex-start; }
  .dashboard-heading .button { flex: 0 0 auto; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric-card { min-width: 0; padding: 9px 11px; }
  .metric-card strong { font-size: clamp(16px, 4.7vw, 19px); white-space: nowrap; }
  .quick-actions { grid-template-columns: 1fr; }
  .wizard-shell { padding: 13px 15px; }
  .wizard-progress { display: none; }
  .wizard-mobile-status { display: flex; justify-content: space-between; color: var(--navy); }
  .wizard-review dl { grid-template-columns: 1fr; }
  .part-overview-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vehicle-damage-map { width: min(100%, 350px); }
  .vehicle-map-marker { width: 44px; height: 44px; font-size: 14px; }
  .part-overview-button { grid-template-columns: 24px 1fr auto; padding: 8px; }
  .part-editor-modal { padding: 8px; align-items: end; }
  .part-editor-dialog { width: 100%; max-height: calc(100vh - 16px); padding: 18px; border-radius: 18px 18px 10px 10px; }
  .part-editor-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .part-editor-grid input, .part-editor-grid select { min-height: 46px; font-size: 16px; }
  .part-editor-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .part-editor-actions .button { width: 100%; min-height: 46px; }
  .comment-composer { grid-template-columns: 1fr; }
  .intro { align-items: flex-start; gap: 20px; }
  .status-pill { display: none; }
  .card { padding: 18px; }
  .form-grid, .rate-grid, .summary-card { grid-template-columns: 1fr; }
  .compact-calculation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 12px; }
  .compact-summary-item { padding: 0 10px; }
  .compact-summary-item span { font-size: 9px; }
  .compact-summary-item strong, .compact-gross strong { font-size: 16px; }
  .inline-control { grid-template-columns: 1fr; }
  .inline-control .button { width: 100%; }
  .table-wrap { overflow: visible; }
  .detail-positions { padding: 14px; overflow: hidden; }
  .detail-positions .table-wrap,
  .detail-positions table,
  .detail-positions tbody { display: block; width: 100%; min-width: 0; }
  .detail-positions thead { display: none; }
  .detail-positions tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
  .detail-positions tr:last-child { margin-bottom: 0; }
  .detail-positions td,
  .detail-positions th:not(:first-child),
  .detail-positions td:not(:first-child) { display: grid; min-width: 0; gap: 4px; padding: 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  .detail-positions td::before { content: attr(data-label); color: var(--muted); font-size: 9px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
  .detail-positions .detail-part-name { grid-column: 1 / -1; display: block; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 850; }
  .detail-positions .detail-part-name::before { display: none; }
  .detail-positions .detail-position-total { color: var(--navy); font-weight: 850; }
  .detail-positions .detail-position-empty { display: block; }
  .detail-positions .detail-position-empty td { display: block; text-align: center; }
  .detail-positions .detail-position-empty td::before { display: none; }
  .damage-table, .damage-table tbody { display: block; width: 100%; }
  .damage-table thead { display: none; }
  .damage-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
  .damage-table-shell:not(.expanded) .damage-table tbody tr { display: none; }
  .damage-table-shell:not(.expanded) .damage-table tbody tr.active-part { display: grid; }
  .damage-table td { display: grid; gap: 5px; padding: 0; border: 0; }
  .damage-table td::before { content: attr(data-label); color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
  .damage-table .mobile-part-name { grid-column: 1 / -1; display: block; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 850; }
  .damage-table .mobile-part-name::before { display: none; }
  .damage-table input, .damage-table select { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
  .damage-table .row-total { min-width: 0; align-content: end; font-size: 14px; }
  .wizard-navigation { position: sticky; z-index: 12; bottom: 0; margin: 8px -12px -18px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(246,248,251,.96); backdrop-filter: blur(8px); }
  .wizard-navigation .button { min-height: 48px; min-width: 112px; }
  .finalize-actions { display: grid; grid-template-columns: 1fr; }
  .field-wide, .summary-label, .summary-count, .grand-total, .button-full, .privacy-note { grid-column: auto; }
  .offer-sheet { padding: 30px 22px; }
  .offer-addresses { grid-template-columns: 1fr; gap: 20px; }
  .customer-directory-grid { grid-template-columns: 1fr; }
  .customer-history-summary { grid-template-columns: 1fr; }
  .app-update-notice { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); left: 12px; justify-content: space-between; }
  .vehicle-history-offer { grid-template-columns: 1fr auto; }
.vehicle-history-offer .status-badge { grid-column: 1 / -1; }
  .archive-controls, .detail-grid { grid-template-columns: 1fr; }
  .archive-panel > .card { padding: 11px 12px 13px; }
  #archiveModal .route-breadcrumb,#archiveModal .archive-desktop-close { display:none; }
  .archive-card-heading { display:grid; width:100%; grid-template-columns:minmax(0,1fr) auto; align-items:center; column-gap:16px; margin-bottom:9px; padding:2px 2px 10px; }
  .archive-card-heading > .step { display:none; }
  .archive-card-heading > div { min-width:0; }
  .archive-card-heading h2 { overflow:hidden; font-size:18px; text-overflow:ellipsis; white-space:nowrap; }
  .archive-card-heading p { display:none; }
  .archive-result-count { margin-top:2px; font-size:10px; }
  .archive-card-heading .archive-mobile-close { display:grid; width:auto; min-width:92px; min-height:40px; place-items:center; justify-self:end; padding:0 14px; border:1px solid var(--line); border-radius:10px; background:#f8fafc; color:var(--navy); font-size:13px; font-weight:800; line-height:1; }
  .archive-primary-tools { grid-template-columns:minmax(0,1fr) 42px; gap:7px; margin-bottom:9px; }
  .archive-search input { min-height:42px; padding:8px 10px 8px 36px; border-radius:10px; font-size:14px; }
  .archive-search-icon { left:11px; font-size:18px; }
  .archive-filter-toggle { width:42px; min-height:42px; border-radius:10px; }
  .editor-role .archive-primary-tools { grid-template-columns:minmax(0,1fr); }
  .editor-role #archiveFilterToggle,.editor-role #archiveFilterPanel { display:none !important; }
  .archive-filter-panel.expanded { display: block; padding:10px; margin-bottom:10px; border:1px solid var(--line); border-radius:11px; background:#f8fafc; }
  .archive-filter-panel .archive-controls { gap:8px; margin-bottom:8px; }
  .archive-filter-panel .field { gap:4px; }
  .archive-filter-panel .field input,.archive-filter-panel .field select { min-height:44px; padding:9px 11px; }
  .archive-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin-bottom:0; }
  .archive-tools .button { width:100%; min-height:40px; padding:7px 8px; font-size:11px; }
  .archive-desktop-close { display: none; }
  .compact-offer-table .offer-table-desktop { display: none; }
  .offer-card-list { display: grid; gap: 7px; }
  .offer-mobile-card { min-width:0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(21,42,72,.045); }
  .offer-card-summary { width: 100%; min-width:0; min-height: 68px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 9px 11px; color: inherit; border: 0; background: transparent; text-align: left; cursor: pointer; }
  .offer-card-summary:hover, .offer-card-summary:focus-visible { background: #f7faff; }
  .offer-card-main, .offer-card-meta, .offer-card-main strong, .offer-card-main small, .offer-card-meta strong { display: block; min-width: 0; }
  .offer-card-main strong { color: var(--navy); font-size: 15px; letter-spacing:.01em; }
  .offer-card-main small { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .offer-card-meta { text-align: right; }
  .offer-card-meta > strong { color: var(--navy); font-size: 15px; white-space: nowrap; }
  .offer-card-meta .status-badge { margin: 4px 0 0 auto !important; }
  .offer-mobile-card .table-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-top: 3px; }
  .offer-mobile-card .table-actions.single-action { grid-template-columns: 1fr; }
  .offer-mobile-card .table-action { width: 100%; min-height: 46px; }
  .offer-mobile-primary .table-actions { grid-template-columns: 1fr; }
  .offer-more-actions { border-top: 1px solid #edf0f4; padding: 0 12px 9px; }
  .offer-more-actions summary { min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 800; cursor: pointer; list-style: none; }
  .offer-more-actions summary::-webkit-details-marker { display: none; }
  .offer-more-actions summary::after { content: "⌄"; margin-left: 8px; transition: transform .2s ease; }
  .offer-more-actions[open] summary::after { transform: rotate(180deg); }
  .offer-more-actions .table-actions { margin-top: 8px; }
  .route-breadcrumb button, .sortable-heading { min-height: 44px; padding: 10px 4px; }
  .archive-actions .button, .archive-pagination .button { min-height: 44px; padding: 11px 14px; }
  .table-actions .table-action { min-height: 44px; padding: 11px 12px; }
  .detail-status-control { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .repair-assignment-grid { grid-template-columns: 1fr; }
  .editor-role #dashboardView .metric-grid .metric-card:nth-child(2),
  .editor-role #dashboardView .metric-grid .metric-card:nth-child(4),
  .editor-role #dashboardView .metric-grid .metric-card:nth-child(5) { display: none; }
  .inline-control, .three-actions, .archive-item { grid-template-columns: 1fr; }
  .calculation-toolbar { grid-template-columns: 1fr; }
  .deliestry-logo-image { width: min(100%, 285px); height: 96px; }
}

@media (max-width: 980px) and (max-height: 500px) {
  .topbar { min-height: 60px; padding: 8px 12px; flex-wrap: wrap; }
  .brand { min-height: 44px; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; }
  .top-actions { display: none; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding-top: 8px; }
  .top-actions.mobile-open { display: grid; }
  .top-actions .button { width: 100%; min-height: 44px; text-align: center; }
  .language-picker span, #openSettings, #openCloud, #openInsurers { display: none; }
  .global-search { grid-column: 1 / -1; display: block; }
  .global-search input, .field input, .field select, .field textarea { min-height: 44px; font-size: 16px; }
}

.vehicle-photo-field { display:grid; gap:12px; }
.vehicle-photo-heading { display:flex; justify-content:space-between; gap:16px; align-items:start; }
.vehicle-photo-heading div { display:grid; gap:4px; }
.vehicle-photo-heading small { color:var(--muted); font-weight:500; }
.vehicle-photo-heading > span { padding:5px 9px; border-radius:999px; background:#e9f0fb; color:var(--navy); font-size:12px; font-weight:800; }
.vehicle-photo-dropzone { display:grid; place-items:center; gap:5px; min-height:120px; padding:20px; border:2px dashed #b9c8dc; border-radius:13px; background:#f7faff; text-align:center; cursor:pointer; transition:.18s ease; }
.vehicle-photo-dropzone:hover, .vehicle-photo-dropzone:focus-within { border-color:var(--primary); background:#eef5ff; }
.vehicle-photo-dropzone > span { font-size:30px; line-height:1; color:var(--primary); }
.vehicle-photo-dropzone small { color:var(--muted); }
.vehicle-photo-dropzone[hidden] { display:none; }
.vehicle-photo-preview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.vehicle-photo-item { position:relative; aspect-ratio:4/3; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#eef2f7; }
.vehicle-photo-item img { width:100%; height:100%; display:block; object-fit:cover; }
.vehicle-photo-item button { position:absolute; top:7px; right:7px; width:44px; height:44px; border:0; border-radius:50%; background:rgba(12,30,58,.88); color:white; font-size:23px; line-height:1; cursor:pointer; }
.field-error { margin:0; color:#a12626; font-size:12px; font-weight:700; }
.detail-vehicle-photos { margin-top:14px; }
.vehicle-photo-open { position:static!important; width:100%!important; height:100%!important; padding:0; border:0!important; border-radius:0!important; background:transparent!important; cursor:zoom-in; }
.vehicle-photo-open img { transition:transform .18s ease; }
.vehicle-photo-open:hover img, .vehicle-photo-open:focus-visible img { transform:scale(1.025); }
.photo-viewer-modal { z-index:1200; }
.photo-viewer-panel { width:min(1100px,calc(100vw - 32px)); max-height:calc(100vh - 32px); padding:16px; background:#101d31; }
.photo-viewer-panel .modal-toolbar { color:#fff; }
.photo-viewer-panel img { display:block; width:100%; max-height:calc(100vh - 120px); object-fit:contain; border-radius:12px; background:#081321; }
.repair-photo-field { margin:14px 0; }
.repair-completion-photos { margin-top:16px; }
@media (max-width:680px) { .vehicle-photo-preview { grid-template-columns:1fr; } .vehicle-photo-item { aspect-ratio:16/10; } .vehicle-photo-dropzone { min-height:136px; } }

.subcontractor-layout { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(360px,1.6fr); gap:1.25rem; align-items:start; }
.subcontractor-list { display:grid; gap:.65rem; max-height:65vh; overflow:auto; }
.subcontractor-card { width:100%; display:grid; gap:.2rem; padding:.9rem 1rem; text-align:left; border:1px solid var(--border); border-radius:12px; background:var(--surface); color:inherit; cursor:pointer; }
.subcontractor-card:hover, .subcontractor-card:focus-visible { border-color:var(--primary); box-shadow:0 0 0 3px rgba(30,90,180,.1); }
.subcontractor-card span { color:var(--muted); font-size:.85rem; }
.subcontractor-form { padding:1rem; border:1px solid var(--border); border-radius:14px; background:var(--surface-soft); }
.subcontractor-form[hidden], #subcontractorAccountView[hidden], #subcontractorRegistryView[hidden], #openNewSubcontractor[hidden] { display:none !important; }
.subcontractor-account-form { align-items:end; margin-bottom:1rem; padding-bottom:1rem; border-bottom:1px solid var(--border); }
.user-account-form { align-items:end; }
#userRegistryView[hidden], #userFormView[hidden] { display:none !important; }
.user-management-item { display:grid; grid-template-columns:minmax(180px,1fr) minmax(140px,180px); gap:10px 14px; align-items:center; }
.user-password-control { grid-column:1 / -1; display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:10px; align-items:end; }
.user-password-control .field { margin:0; }
@media (max-width:680px) { .user-management-item,.user-password-control { grid-template-columns:1fr; } .user-password-control .button { width:100%; } }
.subcontractor-feedback { margin:10px 0 1rem; padding:10px 12px; border-radius:10px; font-weight:700; }
.subcontractor-feedback.is-success { color:#17663a; background:#e9f8ef; border:1px solid #a9dfbd; }
.subcontractor-feedback.is-error { color:#9b1c1c; background:#fff0f0; border:1px solid #f1b8b8; }
.subcontractor-feedback.is-pending { color:#6a4c00; background:#fff8dc; border:1px solid #ead58b; }
.password-reset-panel { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:10px 14px; align-items:end; margin-top:6px; padding:14px; border:1px solid #d9e4f4; border-radius:12px; background:#f6f9fe; }
.password-reset-panel[hidden] { display:none; }
.password-reset-panel small { grid-column:1 / -1; color:var(--muted); }
.assignment-summary { margin:.75rem 0 0; color:var(--muted); font-weight:600; }
@media (max-width: 850px) { .subcontractor-layout { grid-template-columns:1fr; } }
@media (max-width: 680px) { .password-reset-panel { grid-template-columns:1fr; } .password-reset-panel .button { width:100%; } }

/* Reduzierte Arbeitsansicht für Subunternehmer */
.employee-role #newQuote,
.employee-role #openArchive,
.employee-role #openCustomers,
.employee-role #openInsurers,
.employee-role #openSettings,
.employee-role #openCloud,
.employee-role #openUsers,
.employee-role #openControlCenter,
.employee-role #openSubcontractors,
.employee-role #openNotifications,
.employee-role #openTasks,
.employee-role .global-search,
.employee-role .workspace,
.employee-role #dashboardView .quick-actions,
.employee-role #dashboardView .metric-grid,
.employee-role .detail-actions > [data-detail-preview],
.employee-role .detail-positions,
.employee-role .insurer-details,
.employee-role .financial-details,
.employee-role .activity-details,
.employee-role .review-comments { display:none !important; }
.employee-role #dashboardView .dashboard-grid { grid-template-columns:1fr; max-width:780px; }
.employee-role #dashboardView .dashboard-heading { margin-bottom:16px; }
.employee-role #dashboardView .dashboard-heading .eyebrow,
.employee-role #dashboardView .dashboard-heading p:not(.eyebrow) { display:none; }
.employee-role #dashboardView .dashboard-heading h1::after { content:" – Reparaturaufträge"; }
.employee-role .detail-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.employee-role .detail-positions th:last-child,
.employee-role .detail-positions td:last-child { display:none; }
.employee-role .repair-workflow { border:2px solid #b9d2ff; background:#f5f9ff; }
.employee-role .repair-workflow .button { min-height:48px; }

@media (max-width: 680px) {
  body.auth-locked { padding-bottom: 0 !important; }
  body:not(.employee-role):not(.viewer-role) { padding-bottom: 16px; }
  .editor-role:not(.auth-locked) .expert-mobile-dock:not([hidden]) {
    position: static; z-index: 2;
    display: block; width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  }
  .expert-mobile-dock[hidden] { display:none !important; }
  .employee-role { padding-bottom:76px; }
  .employee-role .topbar { position:sticky; top:0; z-index:30; width:100%; padding:10px 12px; align-items:center; background:var(--navy); box-shadow:0 4px 18px rgba(5,18,35,.2); }
  .employee-role .brand { font-size:16px; }
  .employee-role .top-actions { flex-wrap:nowrap; align-items:center; gap:6px; }
  .employee-role .language-picker { width:92px; }
  .employee-role .language-picker select { width:100%; padding:8px 5px; font-size:12px; }
  .employee-role #openDashboard { display:none; }
  .employee-role #topLogout { width:auto; padding:9px 10px; font-size:12px; }
  .employee-role .dashboard { width:100%; margin:0; padding:18px 12px 26px; }
  .employee-role #dashboardView .dashboard-heading h1 { margin:0; font-size:24px; }
  .employee-role #dashboardView .dashboard-grid { gap:0; }
  .employee-role #dashboardView .card { padding:14px; border-radius:14px; }
  .employee-role #dashboardView .card-heading { margin-bottom:4px; }
  .employee-role #dashboardView .card-heading .step,
  .employee-role #dashboardView .card-heading p { display:none; }
  .employee-role .recent-offer { min-height:74px; padding:13px 4px; gap:8px; }
  .employee-role .recent-offer > div:last-child { max-width:105px; }
  .employee-role .recent-offer > div:last-child > strong { display:none; }
  .employee-role .route-page { inset:0; padding:0; background:var(--bg); }
  .employee-role .route-page .route-shell { width:100%; max-width:none; min-height:100%; padding:14px 12px 30px; border-radius:0; }
  .employee-role .route-header { position:sticky; top:0; z-index:2; margin:-14px -12px 12px; padding:10px 12px; background:white; border-bottom:1px solid var(--line); }
  .employee-role .detail-heading { align-items:flex-start; gap:8px; }
  .employee-role .detail-heading h2 { font-size:20px; overflow-wrap:anywhere; }
  .employee-role .detail-grid { grid-template-columns:1fr; gap:10px; }
  .employee-role .detail-grid section { padding:14px; }
  .employee-role .repair-workflow { margin:14px 0; padding:16px; border-radius:14px; }
  .employee-role .repair-workflow textarea { min-height:120px; font-size:16px; }
  .employee-role .repair-workflow input { min-height:48px; font-size:16px; }
  .employee-role .repair-workflow .detail-actions { display:grid; grid-template-columns:1fr 1fr; }
  .employee-role .repair-workflow > .button { width:100%; }
  .employee-role .technician-primary-action { position:sticky; bottom:12px; z-index:4; box-shadow:0 8px 24px rgba(24,66,125,.2); }
  .repair-progress { gap:3px; }
  .repair-progress li small { font-size:10px; line-height:1.15; }
  .repair-progress li span { width:32px; height:32px; }
  .repair-progress li::before { top:15px; }
}

@media print {
  body * { visibility: hidden !important; }
  #offerSheet, #offerSheet * { visibility: visible !important; }
  #offerSheet { position: absolute; inset: 0; width: 100%; min-height: auto; padding: 14mm; box-shadow: none; }
  @page { size: A4; margin: 0; }
}
.tax-option-control{display:flex;align-items:center;gap:.65rem;min-height:46px;padding:.7rem .85rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.tax-option-control input{width:1.15rem;height:1.15rem;margin:0;accent-color:var(--accent)}
#taxRateField[hidden]{display:none!important}

.status-pill.is-pending { border-color: #d6a43a; color: #8a5a00; }

/* Smartphone ergonomics: reachable actions, compact content and safe-area spacing. */
@media (max-width: 680px) {
  :root { scroll-padding-top: 76px; }
  html,body { max-width:100%; overflow-x:hidden; }
  body:not(.auth-locked):not(.employee-role):not(.viewer-role) { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .topbar { position: fixed; inset: 0 0 auto; z-index: 40; width: 100%; min-height: 60px; padding: 8px 12px; box-shadow: 0 5px 20px rgba(5,18,35,.22); }
  .brand { min-width: 0; gap:9px; font-size: 15px; line-height: 1.15; }
  .editor-role .brand > span:last-child { font-size:0; }
  .editor-role .brand > span:last-child::after { content:"PDR DRIVE"; font-size:14px; letter-spacing:.01em; }
  .mobile-menu-toggle { min-width: 84px; min-height: 44px; padding: 8px 10px; }
  .top-actions.mobile-open {
    position: absolute; top: calc(100% + 1px); right: 8px; left: 8px; z-index: 45;
    width: auto; max-width: min(420px,calc(100% - 16px)); margin-left: auto;
    max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain;
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 8px;
    border: 1px solid rgba(255,255,255,.16); border-radius: 0 0 12px 12px;
    background: rgba(19,36,58,.985); box-shadow: 0 18px 40px rgba(5,18,35,.34);
  }
  .top-actions.mobile-open .language-picker,
  .top-actions.mobile-open .global-search { grid-column: 1 / -1; }
  .top-actions.mobile-open .language-picker { gap: 0; margin: 0; }
  .top-actions.mobile-open .language-picker select,
  .top-actions.mobile-open .global-search input { min-height: 40px; height: 40px; padding: 7px 10px; font-size: 14px; }
  .top-actions.mobile-open .button { min-height: 40px; padding: 7px 6px; font-size: 13px; line-height: 1.1; }
  .editor-role .top-actions.mobile-open { grid-template-columns: 1fr; }
  .editor-role .top-actions.mobile-open .language-picker,
  .editor-role .top-actions.mobile-open .button { grid-column: 1; width: 100%; }
  .editor-role .top-actions.mobile-open {
    right: 8px; left: auto; width: min(176px,calc(100vw - 16px)); max-width: none; margin-left: 0;
    gap: 5px; padding: 6px;
  }
  .editor-role .top-actions.mobile-open .language-picker select,
  .editor-role .top-actions.mobile-open .button {
    width: 100%; min-height: 38px; height: 38px; padding: 6px 9px; font-size: 13px;
  }
  .workspace, .dashboard { width: 100%; margin-top: 74px; padding-right: 10px; padding-left: 10px; }
  #dashboardView .dashboard-heading { display: none; }
  .intro { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; align-items: start; margin-bottom: 16px; }
  .intro > div:first-child { min-width: 0; }
  .intro h1 { font-size: clamp(26px,8vw,34px); line-height: 1.05; }
  .card { padding: 15px; border-radius: 14px; }
  .card-heading { gap: 10px; margin-bottom: 14px; padding-bottom: 14px; }
  .card-heading .step { width: 36px; height: 36px; }
  .form-grid { gap: 13px; }
  .field { gap: 7px; }
  .field input, .field select, .field textarea { min-height: 50px; padding: 12px 13px; border-radius: 10px; }
  .field textarea { min-height: 112px; }
  .inline-control { gap: 8px; }
  .button { min-height: 48px; touch-action: manipulation; }
  .wizard-shell { position: sticky; top: 67px; z-index: 20; margin: 0 0 12px; padding: 10px 14px; border-radius: 0 0 14px 14px; }
  .wizard-mobile-status { align-items: center; min-height: 28px; font-size: 13px; font-weight: 800; }
  .wizard-navigation { bottom: 0; width: 100%; max-width: 100%; margin-right: 0; margin-left: 0; padding-right: 12px; padding-left: 12px; }
  .wizard-navigation .button { flex: 1 1 0; min-width: 0; }
  .part-overview-list { gap: 8px; }
  .part-overview-button { min-height: 58px; padding: 9px; }
  .part-overview-button strong { font-size: 11px; }
  .part-editor-dialog { max-height: calc(100dvh - 8px); overflow-y: auto; overscroll-behavior: contain; }
  .part-editor-actions { position: sticky; bottom: 0; margin: 12px -18px -18px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); }
  .compact-calculation { position: sticky; top: 116px; z-index: 10; box-shadow: 0 7px 18px rgba(12,32,59,.12); }
  .status-pill { display: flex; min-height: 36px; width: 100%; justify-content: center; margin-top: 4px; font-size: 10px; }
  .draft-status-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: center; width: 100%; }
  .draft-status-row .compact-button { min-height: 40px; }
  .app-toast { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .offer-mobile-card .table-actions { grid-template-columns: 1fr; }
  .archive-panel .archive-pagination { position: static; display: grid; grid-template-columns: minmax(0,1fr) minmax(96px,1.25fr) minmax(0,1fr); gap: 7px; width: 100%; margin: 10px 0 calc(4px + env(safe-area-inset-bottom)); padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; backdrop-filter: none; }
  .archive-panel .archive-pagination span { align-self: center; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  .archive-panel .archive-pagination .button { width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; }
  .archive-panel #archivePrevious,.archive-panel #archiveNext { font-size:0; }
  .archive-panel #archivePrevious::before { content:"‹"; font-size:25px; line-height:1; }
  .archive-panel #archiveNext::before { content:"›"; font-size:25px; line-height:1; }
  .archive-panel #archivePageInfo { font-size:0; }
  .archive-panel #archivePageInfo::after { content:attr(data-short-label); font-size:12px; font-weight:750; }
  .archive-panel .archive-pagination[hidden] { display: none; }
  .dashboard-offers-card { padding:12px; }
  .editor-role #dashboardView { padding-bottom:20px; }
  .editor-role #dashboardView .quick-actions { display:grid; gap:7px; margin:0 0 10px; }
  .editor-role #dashboardView .quick-action { position:relative; min-height:0; padding:9px 10px 9px 15px; border:0; border-radius:10px; background:#fff; box-shadow:0 2px 8px rgba(18,40,70,.05); text-align:left; }
  .editor-role #dashboardView .quick-action::before { content:""; position:absolute; inset:9px auto 9px 0; width:3px; border-radius:0 3px 3px 0; background:#385d91; }
  .editor-role #dashboardView #quickNewQuote { display:flex; align-items:center; justify-content:flex-start; min-height:44px; padding:10px 13px; color:#fff; background:#233d60; }
  .editor-role #dashboardView #quickNewQuote::before { position:static; width:auto; margin-right:10px; background:transparent; content:"＋"; font-size:20px; line-height:1; }
  .editor-role #dashboardView #quickNewQuote strong { flex:1; color:#fff; font-size:14px; }
  .editor-role #dashboardView #quickNewQuote span { display:none; }
  .editor-role #dashboardView .quick-action strong { font-size:13px; }
  .editor-role #dashboardView .quick-action span { margin-top:2px; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .editor-role #dashboardView .dashboard-grid { gap:0; }
  .editor-role #dashboardView .dashboard-offers-card { padding:8px 0 0; border:0; border-radius:0; background:transparent; box-shadow:none; }
  .editor-role #dashboardView .dashboard-offers-card .card-heading { display:none; }
  .editor-role #expertWorkflowFilter { gap:6px; margin-bottom:10px; padding:3px; border:1px solid #e2e7ee; border-radius:12px; background:#eef2f6; }
  .editor-role .expert-workflow-chip { min-height:38px; border:0; border-radius:9px; background:transparent; color:#596779; box-shadow:none; }
  .editor-role .expert-workflow-chip.active { background:#fff; color:#182b44; box-shadow:0 2px 7px rgba(20,43,72,.09); }
  .editor-role .expert-workflow-chip strong { background:#e4e9ef; color:#526174; }
  .editor-role .expert-workflow-chip.active strong { background:#263f62; color:#fff; }
  .editor-role #dashboardView,.editor-role #dashboardView .dashboard-grid,.editor-role #dashboardView .dashboard-offers-card { min-width:0; max-width:100%; overflow:hidden; }
  .editor-role #dashboardRecent { min-width:0; overflow:hidden; }
  .editor-role #dashboardRecent .recent-offer { grid-template-columns:minmax(0,1fr) auto; width:100%; min-width:0; gap:8px; padding:11px 2px; }
  .editor-role #dashboardRecent .recent-offer > div { min-width:0; }
  .editor-role #dashboardRecent .recent-offer strong,.editor-role #dashboardRecent .recent-offer span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .expert-empty-state { display:grid; justify-items:center; padding:30px 18px 26px; border:1px dashed #d5dde7; border-radius:14px; background:rgba(255,255,255,.58); text-align:center; }
  .expert-empty-state > span { display:grid; width:38px; height:38px; place-items:center; margin-bottom:10px; border-radius:50%; background:#e8eef6; color:#304e75; font-size:24px; font-weight:500; }
  .expert-empty-state strong { font-size:15px; }
  .expert-empty-state p { margin:5px 0 14px; color:#718095; font-size:12px; }
  .expert-empty-state .button { min-height:42px; padding:9px 16px; color:#fff; background:#233d60; box-shadow:none; }
  .dashboard-offer-search { grid-template-columns:minmax(0,1fr) 42px; }
  .dashboard-offer-search .button { width:42px; min-width:42px; padding:0; font-size:0; }
  .dashboard-offer-search .button::before { content:"×"; font-size:22px; line-height:1; }
  #dashboardView .dashboard-offer-pagination { position:static; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:7px; margin-top:8px; padding:6px 0 0; border:0; border-radius:0; background:transparent; backdrop-filter:none; }
  #dashboardView .dashboard-offer-pagination span { overflow:hidden; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
  #dashboardView .dashboard-offer-pagination .button { min-width:0; min-height:40px; padding:7px 9px; }
  .route-page .modal-panel { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .customer-registry-toolbar { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .customer-registry-toolbar .button { width: 100%; min-height: 48px; }
  .customer-order-pagination { margin-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .brand { max-width: none; font-size: 14px; }
  .mobile-menu-toggle { min-width: 78px; padding-right: 7px; padding-left: 7px; }
  .top-actions.mobile-open { right: 5px; left: 5px; max-width: calc(100% - 10px); }
  .part-editor-grid { grid-template-columns: 1fr; }
  .compact-calculation { grid-template-columns: 1fr 1fr; }
  .compact-summary-item:last-child { grid-column: 1 / -1; }
  .metric-card { padding-inline: 9px; }
  .metric-card span, .metric-card small { font-size: 9px; }
  .metric-card strong { font-size: 16px; }
}
/* Project management · v301 */
.project-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(340px,1.35fr);gap:1rem;align-items:start}.project-workspace>.project-form{margin:0;padding:1rem;border:1px solid var(--line,#d7e0ea);border-radius:18px;background:var(--surface-soft,#f7f9fc)}.project-card{width:100%;text-align:left;margin-top:.65rem}.project-card>div{display:grid;gap:.2rem}.project-card span{color:var(--muted,#667085);font-size:.9rem}.project-form select[multiple]{min-height:8.5rem}
@media(max-width:760px){.project-layout{grid-template-columns:1fr}.project-workspace>.project-form{padding:.8rem}.project-card{min-height:58px}}
.project-workspace{display:grid;gap:1rem;min-width:0}.project-monitor{display:grid;gap:1rem}.project-summary{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:.65rem}.project-summary>div{display:grid;gap:.2rem;padding:.85rem;border:1px solid var(--line,#d7e0ea);border-radius:14px;background:var(--surface-soft,#f7f9fc)}.project-summary strong{font-size:1.35rem;color:var(--ink,#172033)}.project-summary span{font-size:.78rem;color:var(--muted,#667085)}.project-monitor-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.45fr);gap:.75rem}.project-vehicle-table-wrap{overflow:auto;border:1px solid var(--line,#d7e0ea);border-radius:14px}.project-vehicle-table{width:100%;border-collapse:collapse;min-width:720px}.project-vehicle-table th,.project-vehicle-table td{padding:.7rem .8rem;border-bottom:1px solid var(--line,#e4e9f0);text-align:left;vertical-align:middle}.project-vehicle-table th{position:sticky;top:0;background:var(--surface,#fff);font-size:.78rem;color:var(--muted,#667085);z-index:1}.project-vehicle-table td:first-child{display:grid;gap:.12rem}.project-vehicle-table small{color:var(--muted,#667085)}.project-pagination{display:flex;align-items:center;justify-content:center;gap:.75rem}.project-pagination span{min-width:150px;text-align:center;color:var(--muted,#667085)}
@media(max-width:900px){.project-summary{grid-template-columns:repeat(2,minmax(120px,1fr))}.project-monitor-tools{grid-template-columns:1fr}}
