.auto-maintenance{--am-ink: #16324f;--am-muted: #526477;--am-border: #d9e1e8;--am-surface: #ffffff;--am-subtle: #f4f7fa;--am-blue: #2563eb;color:var(--am-ink);max-width:1180px;margin:0 auto;padding:32px 24px 64px;font-size:14px;line-height:1.5}.auto-maintenance h1{font-size:28px;font-weight:700;letter-spacing:-.025em}.auto-maintenance h2{font-size:24px;font-weight:650;letter-spacing:-.02em}.auto-maintenance h3{font-size:18px;font-weight:650}.auto-maintenance h4{font-size:15px;font-weight:650}.auto-maintenance p{max-width:75ch}.auto-maintenance .muted,.auto-maintenance .helper{color:var(--am-muted)}.auto-maintenance .helper{font-size:13px;margin-top:5px}.auto-maintenance button{border:1px solid var(--am-border);background:var(--am-surface);color:var(--am-ink);padding:8px 12px;border-radius:6px;font-weight:550;cursor:pointer;min-height:40px}.auto-maintenance button:hover:not(:disabled){background:var(--am-subtle);border-color:#94a3b8}.auto-maintenance button:disabled{opacity:.5;cursor:default}.auto-maintenance button.primary{background:var(--am-blue);border-color:var(--am-blue);color:#fff}.auto-maintenance button.primary:hover:not(:disabled){background:#1d4ed8}.auto-maintenance button.quiet{border-color:transparent;background:transparent}.auto-maintenance button.danger{color:#b91c1c}.auto-maintenance :is(button,input,textarea,select):focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.auto-maintenance .garage-header,.auto-maintenance .vehicle-header,.auto-maintenance .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.auto-maintenance .garage-header{margin-bottom:24px}.auto-maintenance .actions,.auto-maintenance .vehicle-actions,.auto-maintenance .form-actions{display:flex;flex-wrap:wrap;gap:8px}.auto-maintenance .garage-list{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 16px;margin-bottom:16px}.auto-maintenance button.garage-choice{flex:0 0 235px;text-align:left;padding:15px 16px;border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;border-top-width:3px}.auto-maintenance .garage-choice strong{font-size:16px;overflow-wrap:anywhere}.auto-maintenance .garage-choice span{margin-top:4px;font-variant-numeric:tabular-nums}.auto-maintenance .garage-choice small{margin-top:10px;color:var(--am-muted);font-weight:400}.auto-maintenance button.garage-choice.selected{border-color:var(--am-blue);background:var(--am-subtle)}.auto-maintenance .vehicle-detail{border:1px solid var(--am-border);background:var(--am-surface);border-radius:10px;overflow:hidden}.auto-maintenance .vehicle-header{padding:24px 24px 12px}.auto-maintenance .vehicle-header h2{overflow-wrap:anywhere}.auto-maintenance .odometer{text-align:right;flex-shrink:0}.auto-maintenance .odometer strong{display:block;font-size:25px;font-variant-numeric:tabular-nums}.auto-maintenance .odometer strong span{font-size:14px;font-weight:400}.auto-maintenance .odometer small{color:var(--am-muted)}.auto-maintenance .vehicle-actions{padding:0 24px 20px}.auto-maintenance .tabs{display:flex;gap:12px;padding:0 24px;border-bottom:1px solid var(--am-border)}.auto-maintenance .tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 6px}.auto-maintenance .tabs button[aria-selected=true]{border-bottom-color:var(--am-blue);color:var(--am-blue)}.auto-maintenance .tabs span{margin-left:6px;color:var(--am-muted);font-size:12px}.auto-maintenance .section-heading{padding:22px 24px;align-items:flex-start}.auto-maintenance .section-heading button{flex-shrink:0}.auto-maintenance .service-row{border-top:1px solid var(--am-border);display:flex;justify-content:space-between;gap:24px;padding:20px 24px}.auto-maintenance .service-main{min-width:0}.auto-maintenance .service-main h4{overflow-wrap:anywhere}.auto-maintenance .row-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.auto-maintenance .category{font-size:12px;margin:3px 0 8px}.auto-maintenance .status{font-size:12px;font-weight:600;padding:3px 8px;border-radius:4px;background:#edf2f7;color:#475569}.auto-maintenance .status[data-status=overdue],.auto-maintenance .status[data-status=due]{color:#b91c1c;background:#fef2f2}.auto-maintenance .status[data-status=upcoming]{color:#92400e;background:#fffbeb}.auto-maintenance .status[data-status=ok]{color:#166534;background:#f0fdf4}.auto-maintenance .due-values{display:flex;flex-wrap:wrap;gap:4px 20px;margin-top:8px;font-variant-numeric:tabular-nums}.auto-maintenance .row-actions{display:flex;align-items:flex-start;gap:6px;flex-shrink:0}.auto-maintenance .row-actions button{font-size:12px}.auto-maintenance .record-notes{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--am-muted)}.auto-maintenance .empty{padding:48px 24px;text-align:center}.auto-maintenance .empty p{margin:10px auto 20px;max-width:52ch}.auto-maintenance .notice{color:#166534;padding:12px 0}.auto-maintenance .error-banner{border:1px solid #fecaca;background:#fef2f2;color:#991b1b;padding:16px;border-radius:6px;margin-bottom:16px}.auto-maintenance .error-banner button{margin-top:8px}.auto-maintenance .maintenance-form{padding:24px;margin:0 0 20px;background:var(--am-subtle);border:1px solid var(--am-border);border-radius:8px}.auto-maintenance .vehicle-detail .maintenance-form{margin:20px 24px 0}.auto-maintenance .maintenance-form h3{margin-bottom:16px}.auto-maintenance .maintenance-form h4{margin-top:20px}.auto-maintenance fieldset{padding:0;border:0;min-width:0}.auto-maintenance .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.auto-maintenance label{display:flex;flex-direction:column;font-weight:550;gap:6px;margin-bottom:12px}.auto-maintenance :is(input,select,textarea){width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--am-border);border-radius:5px;background:var(--am-surface);color:var(--am-ink);font:inherit;font-weight:400}.auto-maintenance label.checkbox{flex-direction:row;align-items:center;gap:9px;margin:12px 0 18px}.auto-maintenance .checkbox input{width:18px;min-height:18px;height:18px}.auto-maintenance .form-actions{margin-top:20px}.auto-maintenance .error{color:#b91c1c;margin-top:12px}:where(.dark) .auto-maintenance{--am-ink: #e2e8f0;--am-muted: #a9bacd;--am-border: #384b5f;--am-surface: #142438;--am-subtle: #1d3046}:where(.dark) .auto-maintenance .danger{color:#fca5a5}:where(.dark) .auto-maintenance .notice{color:#86efac}@media(max-width:760px){.auto-maintenance{padding:20px 12px 40px}.auto-maintenance .garage-header{align-items:flex-start;flex-direction:column}.auto-maintenance .vehicle-header{align-items:flex-start;padding:20px 16px 12px}.auto-maintenance .vehicle-actions,.auto-maintenance .tabs{padding-left:16px;padding-right:16px}.auto-maintenance .odometer strong{font-size:20px}.auto-maintenance .odometer small{font-size:11px}.auto-maintenance .service-row{flex-direction:column;gap:16px;padding:18px 16px}.auto-maintenance .row-actions{flex-wrap:wrap}.auto-maintenance .section-heading{flex-direction:column;padding:20px 16px}.auto-maintenance .maintenance-form{padding:18px 16px}.auto-maintenance .vehicle-detail .maintenance-form{margin:16px 12px 0}.auto-maintenance .form-grid{grid-template-columns:1fr;gap:0}}@media(max-width:400px){.auto-maintenance .vehicle-header{flex-direction:column}.auto-maintenance .odometer{text-align:left}}
