/* Mobile Repair Module */
.repair-hero {
  text-align: center;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(165deg, rgba(99,102,241,0.12), rgba(236,72,153,0.08));
  border-radius: 16px;
  margin-bottom: 1rem;
}
.repair-hero__icon svg { width: 40px; height: 40px; color: var(--accent); }
.repair-hero__title { font-size: 1.375rem; font-weight: 700; margin: 0.5rem 0 0.25rem; }
.repair-hero__sub { font-size: 0.8125rem; color: var(--text-secondary); margin: 0; }

.repair-step { padding: 1rem; margin-bottom: 0.75rem; }
.repair-step__title { font-size: 0.9375rem; font-weight: 600; margin: 0 0 0.25rem; }
.repair-step__desc { font-size: 0.75rem; color: var(--text-muted); margin: 0 0 0.75rem; }

.repair-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 0.75rem; }
.repair-photo-slot input { display: none; }
.repair-photo-slot__box {
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.625rem;
  color: var(--text-muted);
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-secondary);
}
.repair-photo-slot__box.has-image { border-style: solid; padding: 0; }
.repair-photo-slot__box img { width: 100%; height: 100%; object-fit: cover; }
.repair-photo-slot__icon { font-size: 1.25rem; color: var(--accent); }

.repair-problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.repair-problem-card {
  text-align: left;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  cursor: pointer;
  font-size: 0.75rem;
}
.repair-problem-card strong { display: block; font-size: 0.8125rem; margin-bottom: 2px; }
.repair-problem-card span { color: var(--text-muted); font-size: 0.6875rem; line-height: 1.3; }
.repair-problem-card.is-selected { border-color: var(--accent); background: var(--accent-muted); }
.repair-problem-card--multi { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; padding: 10px; }
.repair-problem-card--multi input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.repair-problem-card--multi:has(input:checked) { border-color: var(--accent); background: var(--accent-muted); box-shadow: 0 0 0 1px var(--accent); }
.repair-problem-card__body { flex: 1; }
.repair-selected-count { font-size: 0.8125rem; font-weight: 600; color: var(--accent); margin-bottom: 0.75rem; padding: 8px 12px; background: var(--accent-muted); border-radius: 8px; }

.repair-option-group { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.repair-option-group:last-child { border-bottom: none; }
.repair-option-group__title { font-size: 0.875rem; font-weight: 700; margin: 0 0 8px; }

.repair-cost-breakdown { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.06)); border: 1px solid var(--border); }
.repair-cost-breakdown__title { font-size: 0.8125rem; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.repair-cost-row { display: flex; justify-content: space-between; font-size: 0.8125rem; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.repair-cost-row--total { border-bottom: none; font-size: 0.9375rem; padding-top: 10px; margin-top: 4px; border-top: 2px solid var(--accent); }
.repair-cost-row--total strong { color: var(--accent); font-size: 1.125rem; }

.repair-field-error { font-size: 0.75rem; color: var(--error); margin: 4px 0 0; }
.form-input.is-invalid { border-color: var(--error); }

.repair-doc-grid--id { grid-template-columns: 1fr 1fr; }
@media (max-width: 400px) { .repair-doc-grid--id { grid-template-columns: 1fr; } }

.repair-option-list { display: flex; flex-direction: column; gap: 8px; }
.repair-option-card {
  text-align: left;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  cursor: pointer;
}
.repair-option-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.repair-option-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.repair-option-card__price { font-weight: 700; color: var(--accent); font-size: 0.9375rem; }
.repair-option-card p { font-size: 0.75rem; color: var(--text-secondary); margin: 0 0 4px; }
.repair-option-card small { font-size: 0.6875rem; color: var(--text-muted); }

.repair-quote {
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(16,185,129,0.08));
  border: 1px solid var(--accent-muted);
  border-radius: 12px;
  text-align: center;
}
.repair-quote h3 { font-size: 0.8125rem; margin: 0 0 0.5rem; color: var(--text-secondary); }
.repair-quote__price { font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.repair-quote__meta { display: flex; justify-content: center; gap: 1rem; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

.repair-muted, .repair-loading { font-size: 0.8125rem; color: var(--text-muted); }
.repair-login-hint { padding: 1rem; margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; }

.repair-preview-hero { text-align: center; padding: 1.5rem 1rem; }
.repair-preview-hero__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(34,197,94,0.15); color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 0.75rem; }
.repair-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 1rem; }
.repair-detail-card { padding: 12px; border-radius: 10px; background: var(--bg-secondary); font-size: 0.75rem; }
.repair-detail-card strong { display: block; font-size: 0.9375rem; margin-top: 2px; }

.repair-order-card { display: block; padding: 1rem; margin-bottom: 0.5rem; text-decoration: none; color: inherit; background: var(--bg-secondary); border-radius: 12px; border: 1px solid var(--border); }
.repair-order-card__top { display: flex; justify-content: space-between; gap: 8px; }
.repair-order-card__price { font-weight: 700; color: var(--accent); }

.status-badge--under_inspection { background: rgba(245,158,11,0.12); color: #b45309; }
.status-badge--quote_approved { background: rgba(34,197,94,0.12); color: var(--success); }
.status-badge--repair_in_progress { background: rgba(99,102,241,0.12); color: #4f46e5; }
.status-badge--ready_for_delivery { background: rgba(16,185,129,0.12); color: #059669; }
.status-badge--device_received { background: rgba(59,130,246,0.12); color: var(--info); }

@media (min-width: 640px) {
  .repair-problem-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Wizard */
.repair-wizard-nav { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 0.75rem; padding-bottom: 4px; }
.repair-wizard-nav__item { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.5625rem; color: var(--text-muted); padding: 6px 8px; border-radius: 8px; min-width: 52px; }
.repair-wizard-nav__item span { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-secondary); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 600; }
.repair-wizard-nav__item.is-active { color: var(--accent); font-weight: 600; }
.repair-wizard-nav__item.is-active span { background: var(--accent); color: #fff; border-color: var(--accent); }
.repair-wizard-nav__item.is-done span { background: rgba(34,197,94,0.15); color: var(--success); border-color: var(--success); }
.repair-wizard-actions { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }

/* Documents */
.repair-doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.repair-doc-slot input { display: none; }
.repair-doc-slot__box { padding: 10px; border: 2px dashed var(--border); border-radius: 10px; text-align: center; cursor: pointer; font-size: 0.625rem; color: var(--text-muted); min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--bg-secondary); overflow: hidden; }
.repair-doc-slot__box.has-file { border-style: solid; border-color: var(--accent); }
.repair-doc-slot__box img { width: 100%; max-height: 60px; object-fit: cover; border-radius: 4px; }
.repair-doc-slot__icon { font-size: 1.25rem; }

/* Photos 5-col */
.repair-photo-grid--5 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 480px) { .repair-photo-grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* Video */
.repair-video-upload input { display: none; }
.repair-video-preview { margin-top: 0.75rem; }
.repair-video-preview video { width: 100%; max-height: 240px; border-radius: 10px; background: #000; }
.repair-video-controls { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* Courier */
.repair-courier-card { padding: 1rem; border-radius: 12px; background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.06)); border: 1px solid var(--border); font-size: 0.8125rem; }
.repair-courier-card__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 4px; }
.repair-courier-card strong { font-size: 1rem; display: block; margin-bottom: 4px; }
.repair-courier-card p { margin: 0 0 4px; color: var(--text-secondary); }
.repair-courier-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 0.75rem; }

/* Status badges — enterprise workflow */
.status-badge--submitted { background: rgba(99,102,241,0.12); color: #4f46e5; }
.status-badge--documents_verified { background: rgba(34,197,94,0.12); color: var(--success); }
.status-badge--courier_awaited { background: rgba(245,158,11,0.12); color: #b45309; }
.status-badge--inspection_started, .status-badge--under_inspection { background: rgba(245,158,11,0.12); color: #b45309; }
.status-badge--repair_started, .status-badge--repair_in_progress { background: rgba(99,102,241,0.12); color: #4f46e5; }
.status-badge--repair_completed, .status-badge--quality_check { background: rgba(168,85,247,0.12); color: #7c3aed; }
.status-badge--ready_to_dispatch, .status-badge--ready_for_delivery { background: rgba(16,185,129,0.12); color: #059669; }
.status-badge--dispatched { background: rgba(59,130,246,0.12); color: var(--info); }
.status-badge--info_requested { background: rgba(239,68,68,0.12); color: var(--error); }

/* Premium form */
.repair-hero--premium { padding: 1.25rem 1rem; }
.repair-form--premium .repair-step { border-radius: 16px; box-shadow: 0 4px 24px rgba(15,23,42,0.06); animation: repairFadeIn 0.35s ease; }
@keyframes repairFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.repair-progress { height: 4px; background: var(--bg-secondary); border-radius: 99px; overflow: hidden; margin-bottom: 0.75rem; }
.repair-progress__bar { height: 100%; background: linear-gradient(90deg, var(--accent), #ec4899); border-radius: 99px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.repair-wizard-nav--premium { scrollbar-width: none; -ms-overflow-style: none; }
.repair-wizard-nav--premium::-webkit-scrollbar { display: none; }
.repair-wizard-nav--premium .repair-wizard-nav__item em { font-style: normal; text-align: center; line-height: 1.2; max-width: 56px; }

.repair-step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.repair-step__num { font-size: 0.6875rem; font-weight: 700; color: var(--accent); background: var(--accent-muted); padding: 4px 8px; border-radius: 6px; }
.repair-step__head h2 { font-size: 1.0625rem; font-weight: 700; margin: 0; }

.repair-problem-category { margin-bottom: 1rem; }
.repair-problem-category__title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.repair-problem-card { transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s; position: relative; }
.repair-problem-card:active { transform: scale(0.98); }
.repair-problem-card.is-selected { box-shadow: 0 0 0 2px var(--accent); }
.repair-badge { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: 4px; font-size: 0.5625rem; font-weight: 600; text-transform: uppercase; }
.repair-badge--price { background: rgba(34,197,94,0.12); color: var(--success); }

.repair-option-card { transition: border-color 0.2s, transform 0.15s; }
.repair-option-card:active { transform: scale(0.99); }
.repair-quote__note { font-size: 0.75rem; color: var(--text-muted); margin: 0.5rem 0 0; }

/* Accessories checklist */
.repair-checklist { display: grid; grid-template-columns: 1fr; gap: 6px; }
.repair-checklist__item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-secondary); cursor: pointer; font-size: 0.8125rem; transition: border-color 0.2s, background 0.2s; }
.repair-checklist__item:has(input:checked) { border-color: var(--accent); background: var(--accent-muted); }
.repair-checklist__item input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

/* Pattern lock grid */
.repair-pattern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 220px; margin: 0 auto; padding: 12px; background: var(--bg-secondary); border-radius: 16px; border: 1px solid var(--border); }
.repair-pattern-dot { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-primary); cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.15s; padding: 0; }
.repair-pattern-dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 0 3px var(--accent-muted); }

/* Android-style pattern lock */
.pattern-lock { position: relative; width: 100%; max-width: 280px; margin: 0 auto; aspect-ratio: 1; touch-action: none; user-select: none; }
.pattern-lock__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.pattern-lock__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; padding: 16px; z-index: 1; }
.pattern-lock__dot { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(99,102,241,0.35); background: var(--bg-secondary); cursor: pointer; transition: transform 0.15s, background 0.2s, box-shadow 0.2s; padding: 0; position: relative; }
.pattern-lock__dot::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: rgba(99,102,241,0.25); transition: transform 0.15s; }
.pattern-lock__dot.is-active { border-color: var(--accent); background: rgba(99,102,241,0.15); box-shadow: 0 0 0 4px rgba(99,102,241,0.2); }
.pattern-lock__dot.is-active::after { background: var(--accent); transform: scale(1.2); }
.pattern-lock__dot.is-pulse { animation: patternPulse 0.3s ease; }
@keyframes patternPulse { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
.pattern-lock__hint { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin: 8px 0 0; }
.pattern-lock__status { text-align: center; font-size: 0.8125rem; margin-top: 6px; }
.pattern-lock__status.is-valid { color: var(--success); }
.pattern-lock__preview { font-size: 0.8125rem; text-align: center; margin: 8px 0; }
.pattern-lock__preview.is-valid { color: var(--success); }
.pattern-lock__preview.is-invalid { color: var(--error); }
.repair-quote-notice { font-size: 0.8125rem; color: var(--text-muted); text-align: center; padding: 10px; background: var(--bg-secondary); border-radius: 8px; margin-top: 0.75rem; }
.repair-success-id { text-align: center; padding: 1.25rem; margin-bottom: 1rem; }
.repair-success-id span { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.repair-success-id strong { display: block; font-size: 1.375rem; color: var(--accent); margin: 4px 0; }
.repair-success-id small { font-size: 0.75rem; color: var(--text-muted); }
.repair-quote-card .repair-cost-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.8125rem; border-bottom: 1px dashed var(--border); }
.repair-quote-card .repair-cost-row--total { border-bottom: none; font-size: 1rem; padding-top: 8px; }
.status-badge--under_review { background: rgba(245,158,11,0.12); color: #b45309; }
.status-badge--quote_sent { background: rgba(99,102,241,0.12); color: #4f46e5; }
.status-badge--quote_accepted { background: rgba(34,197,94,0.12); color: var(--success); }
.status-badge--quote_rejected { background: rgba(239,68,68,0.12); color: var(--error); }
.status-badge--repair_in_progress { background: rgba(99,102,241,0.12); color: #4f46e5; }
.status-badge--quality_check { background: rgba(168,85,247,0.12); color: #7c3aed; }

/* Review summary */
.repair-review { padding: 1rem; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border); }
.repair-review-list { margin: 0; display: grid; gap: 10px; }
.repair-review-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 0.8125rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.repair-review-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.repair-review-list dt { color: var(--text-muted); font-weight: 500; margin: 0; }
.repair-review-list dd { margin: 0; font-weight: 600; word-break: break-word; }

.repair-skip-btn { margin-left: auto; }

@media (min-width: 375px) {
  .repair-checklist { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .repair-checklist { grid-template-columns: repeat(2, 1fr); }
  .repair-review-list > div { grid-template-columns: 140px 1fr; }
}
@media (min-width: 768px) {
  .repair-form--premium { max-width: 720px; margin: 0 auto; }
  .repair-problem-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 359px) {
  .repair-wizard-nav__item { min-width: 44px; font-size: 0.5rem; padding: 4px 4px; }
  .repair-wizard-actions .btn { flex: 1 1 auto; min-width: 0; font-size: 0.8125rem; }
}

/* Premium Repair Orders List */
.repair-orders-hero { display: flex; align-items: center; gap: 12px; padding: 1rem; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.06)); border-radius: 16px; border: 1px solid var(--border); }
.repair-orders-hero__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-muted); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.repair-orders-hero__title { font-size: 1.125rem; font-weight: 700; margin: 0; }
.repair-orders-hero__sub { font-size: 0.75rem; color: var(--text-muted); margin: 2px 0 0; }
.repair-orders-hero__cta { margin-left: auto; flex-shrink: 0; }
.repair-orders-empty { text-align: center; padding: 2.5rem 1rem; background: var(--bg-secondary); border-radius: 16px; }
.repair-orders-empty__icon { color: var(--text-muted); margin-bottom: 0.75rem; }
.repair-orders-list { display: flex; flex-direction: column; gap: 10px; }
.repair-order-premium { display: flex; align-items: stretch; gap: 12px; padding: 12px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; animation: repairFadeIn 0.35s ease both; }
.repair-order-premium:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,23,42,0.08); border-color: var(--accent-muted); }
.repair-order-premium--highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-muted); }
.repair-order-premium__media { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg-primary); }
.repair-order-premium__media img { width: 100%; height: 100%; object-fit: cover; }
.repair-order-premium__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.06)); }
.repair-order-premium__body { flex: 1; min-width: 0; }
.repair-order-premium__head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.repair-order-premium__brand { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 600; }
.repair-order-premium__model { font-size: 0.9375rem; font-weight: 700; line-height: 1.2; }
.repair-order-premium__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.repair-order-premium__chip { display: inline-flex; align-items: center; gap: 4px; font-size: 0.625rem; color: var(--text-muted); background: var(--bg-primary); padding: 3px 8px; border-radius: 99px; }
.repair-order-premium__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.repair-order-premium__stat { font-size: 0.625rem; }
.repair-order-premium__stat span { display: block; color: var(--text-muted); margin-bottom: 1px; }
.repair-order-premium__stat strong { font-size: 0.6875rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repair-order-premium__accent { color: var(--accent); }
.repair-order-premium__arrow { display: flex; align-items: center; color: var(--text-muted); flex-shrink: 0; }

/* Premium Repair Detail */
.repair-detail-hero { margin-bottom: 1rem; }
.repair-detail-hero__back { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; }
.repair-detail-hero__main { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.repair-detail-hero__id { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); font-weight: 700; margin: 0 0 4px; }
.repair-detail-hero__title { font-size: 1.25rem; font-weight: 800; margin: 0; line-height: 1.2; }
.repair-detail-hero__sub { font-size: 0.75rem; color: var(--text-muted); margin: 4px 0 0; }
.repair-detail-hero__badge { flex-shrink: 0; }
.repair-detail-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 1rem; }
@media (min-width: 640px) { .repair-detail-kpis { grid-template-columns: repeat(4, 1fr); } }
.repair-detail-kpi { padding: 12px; border-radius: 12px; background: var(--bg-secondary); border: 1px solid var(--border); font-size: 0.6875rem; }
.repair-detail-kpi span { display: block; color: var(--text-muted); margin-bottom: 2px; }
.repair-detail-kpi strong { font-size: 0.875rem; }
.repair-quote-panel { padding: 1rem; margin-bottom: 1rem; border-radius: 16px; border: 2px solid var(--accent); background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(16,185,129,0.04)); }
.repair-quote-panel__head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0.75rem; color: var(--accent); }
.repair-quote-panel__head h2 { font-size: 1rem; margin: 0; color: var(--text-primary); }
.repair-quote-panel__head p { font-size: 0.75rem; color: var(--text-muted); margin: 2px 0 0; }
.repair-cost-breakdown--flat { margin: 0; padding: 0; background: none; border: none; }
.repair-quote-panel__notes { font-size: 0.8125rem; margin: 0.75rem 0 0; color: var(--text-secondary); }
.repair-quote-panel__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1rem; }
.repair-pending-banner { padding: 1rem; margin-bottom: 1rem; text-align: center; font-size: 0.8125rem; color: var(--text-muted); background: var(--bg-secondary); border-radius: 12px; border: 1px dashed var(--border); }
.repair-detail-section { margin-bottom: 1rem; padding: 1rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; }
.repair-detail-section__title { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.75rem; }
.repair-info-list { margin: 0; display: grid; gap: 8px; }
.repair-info-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: 0.8125rem; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.repair-info-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.repair-info-list dt { color: var(--text-muted); margin: 0; }
.repair-info-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.repair-problems-list h3 { font-size: 0.8125rem; margin: 0.75rem 0 0.5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.repair-problems-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.repair-problems-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8125rem; padding: 8px 10px; background: var(--bg-primary); border-radius: 10px; }
.repair-problems-list li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.repair-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.repair-media-grid__item { margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg-primary); }
.repair-media-grid__item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.repair-media-grid__item figcaption { font-size: 0.5625rem; text-align: center; padding: 4px; color: var(--text-muted); text-transform: capitalize; }
.repair-video-player { width: 100%; max-height: 260px; border-radius: 12px; background: #000; }
.repair-doc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.repair-doc-item { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--bg-primary); border: 1px solid var(--border); font-size: 0.75rem; text-decoration: none; color: inherit; }
.repair-courier-card--detail { margin: 0; }
.repair-admin-notes { font-size: 0.8125rem; line-height: 1.5; color: var(--text-secondary); }
.repair-timeline-pro { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 1rem; scrollbar-width: none; }
.repair-timeline-pro::-webkit-scrollbar { display: none; }
.repair-timeline-pro__step { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 72px; font-size: 0.5625rem; text-align: center; color: var(--text-muted); }
.repair-timeline-pro__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg-primary); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.repair-timeline-pro__step--done .repair-timeline-pro__dot { background: rgba(34,197,94,0.15); border-color: var(--success); color: var(--success); }
.repair-timeline-pro__step--active .repair-timeline-pro__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted); }
.repair-timeline-pro__step--active { color: var(--accent); font-weight: 700; }
.repair-event-timeline { display: flex; flex-direction: column; gap: 0; }
.repair-event-timeline__item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding-bottom: 1rem; }
.repair-event-timeline__rail { display: flex; justify-content: center; position: relative; }
.repair-event-timeline__rail::after { content: ''; position: absolute; top: 12px; bottom: -12px; width: 2px; background: var(--border); left: 50%; transform: translateX(-50%); }
.repair-event-timeline__item:last-child .repair-event-timeline__rail::after { display: none; }
.repair-event-timeline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); margin-top: 4px; position: relative; z-index: 1; }
.repair-event-timeline__item--latest .repair-event-timeline__dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted); }
.repair-event-timeline__content h3 { font-size: 0.875rem; margin: 0 0 2px; }
.repair-event-timeline__content p { font-size: 0.75rem; color: var(--text-secondary); margin: 0 0 4px; }
.repair-event-timeline__content time { font-size: 0.6875rem; color: var(--text-muted); }
.repair-cancel-form { margin: 1rem 0; text-align: center; }
.repair-btn-danger { color: var(--error) !important; }
