:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #121826;
  --muted: #667085;
  --line: #dde4ee;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --green: #16a34a;
  --amber: #d97706;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, #eef5ff 0%, rgba(245, 247, 251, 0) 340px),
    var(--bg);
  color: var(--text);
}

button {
  font: inherit;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}

select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}

textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hidden {
  display: none !important;
}

.shell {
  min-height: 100vh;
  padding: 18px 16px calc(124px + env(safe-area-inset-bottom));
}

.sentinelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 8px 2px 20px;
}

.sentinelHeaderActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.sentinelLogoutBtn {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.sentinelLogoutBtn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}

.vehicleHeader {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.vehicleHeader span {
  min-height: 25px;
  padding: 5px 9px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #475467;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.vehicleHeader span:first-child {
  color: var(--blue);
}

.topProgress {
  position: sticky;
  top: 0;
  z-index: 12;
  width: min(100%, 760px);
  height: 5px;
  margin: -8px auto 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(221, 228, 238, 0.9);
}

.topProgress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 220ms ease;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.healthBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.healthDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.12);
}

.healthBadge.ok .healthDot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

.healthBadge.offline .healthDot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.content {
  display: grid;
  gap: 16px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.homeView,
.reviewQueueView,
.workflowView {
  display: grid;
  gap: 16px;
}

.heroPanel {
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(22, 163, 74, 0.14), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.sectionLabel {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.heroPanel h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(31px, 10vw, 54px);
  line-height: 0.98;
  letter-spacing: 0;
}

.heroCopy {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.newInspectionBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.newInspectionBtn:focus-visible,
.dayActionButton:focus-visible,
.navItem:focus-visible,
.searchButton:focus-visible,
.confirmVehicleButton:focus-visible,
.startWalkaroundButton:focus-visible,
.photoCaptureButton:focus-visible,
.damageTypeGrid button:focus-visible,
.conditionCard select:focus-visible,
.conditionCard input:focus-visible,
.conditionCard textarea:focus-visible,
.signatureRoleGrid button:focus-visible,
.signaturePad:focus-within,
.secondaryButton:focus-visible,
.backLink:focus-visible,
.typeButton:focus-visible,
.primaryStepButton:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.newInspectionBtn:active {
  transform: translateY(1px);
}

.myDayHero {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(22, 163, 74, 0.12), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.myDayHero h2 {
  margin: 0;
  font-size: clamp(42px, 13vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.sentinelInstallCard {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.sentinelInstallCard.hidden {
  display: none;
}

.sentinelInstallCard h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}

.sentinelInstallCard p {
  margin: 6px 0 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.sentinelInstallCard .secondaryButton {
  min-height: 48px;
}

.sentinelInstallHelp {
  padding: 10px 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 8px;
  background: #f8fbff;
}

.dayStatsGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dayStat {
  min-height: 92px;
  padding: 13px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.dayStat span {
  display: block;
  min-height: 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.dayStat strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.todayPanel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.todayHeader,
.dayInspectionTop,
.dayProgressTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.todayHeader h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.todayHeader > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
}

.inspectionDayList {
  display: grid;
  gap: 10px;
}

.dayInspectionCard {
  display: grid;
  gap: 13px;
  padding: 14px;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.dayInspectionCard.demo {
  border-style: dashed;
  background: #f8fbff;
}

.dispatchPanel.hidden {
  display: none !important;
}

.dispatchGrid {
  display: grid;
  gap: 10px;
}

.dispatchGrid .fieldLabel {
  margin: 0;
}

.dispatchGrid input,
.dispatchGrid select,
.dispatchGrid textarea {
  min-height: 48px;
  border-radius: 14px;
}

.dispatchGrid textarea {
  padding-top: 12px;
  padding-bottom: 12px;
}

.dispatchWide {
  grid-column: 1 / -1;
}

#dispatchStatus.warning {
  color: #92400e;
}

#dispatchStatus.success {
  color: #166534;
}

.dayInspectionDetails {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.dayInspectionDetails strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.dayInspectionDetails p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.dayInspectionDetails .dayInspectionCounts {
  color: #475467;
  font-size: 12px;
}

.myDayStateMessage {
  margin: 0;
  padding: 14px;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: #f8fbff;
  color: #526070;
  font-size: 13px;
  font-weight: 850;
}

.myDayStateMessage.warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fffbeb;
  color: #92400e;
}

.myDayStateMessage p {
  margin: 0;
}

.inlineRetryButton {
  width: auto;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 12px;
}

.dayStatusBadge {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
  white-space: normal;
}

.dayStatusBadge.ready,
.dayStatusBadge.draft,
.dayStatusBadge.in_progress {
  background: #fff7ed;
  color: #9a3412;
}

.dayStatusBadge.awaiting_signatures {
  background: #fef3c7;
  color: #92400e;
}

.dayStatusBadge.ready_for_review {
  background: #eff6ff;
  color: #1d4ed8;
}

.dayStatusBadge.ready_to_send {
  background: #ecfdf3;
  color: #166534;
}

.dayStatusBadge.needs_amendment {
  background: #fff1f2;
  color: #be123c;
}

.dayStatusBadge.completed,
.dayStatusBadge.report_ready {
  background: #ecfdf3;
  color: #166534;
}

.dayStatusBadge.unsafe {
  background: #fffbeb;
  color: #92400e;
}

.dayProgress {
  display: grid;
  gap: 7px;
}

.dayProgressTop span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.dayProgressTrack {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf6;
}

.dayProgressTrack span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.dayActionButton {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 950;
}

.dayInspectionActions {
  display: grid;
  gap: 8px;
}

.reviewHero .newInspectionBtn {
  margin-top: 0;
}

.reviewHeroActions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.reviewHeroActions .secondaryButton,
.reviewHeroActions .newInspectionBtn {
  margin-top: 0;
}

.archivedInspectionsPanel.hidden {
  display: none !important;
}

.archivedSearchRow {
  display: grid;
  gap: 8px;
}

.archivedSearchRow .fieldLabel {
  margin: 0;
}

.archivedSearchRow input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.archivedInspectionCard {
  border-style: dashed;
  background: #fbfdff;
}

.reviewQueueList {
  gap: 12px;
}

.reviewQueueCard {
  border-color: rgba(37, 99, 235, 0.18);
}

.reviewQueueActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.reviewQueueActions .secondaryButton {
  min-height: 50px;
  margin-top: 0;
  border-radius: 16px;
}

.dispatchJobPackNote,
.dispatchAmendmentNote {
  padding: 9px 10px;
  border-radius: 12px;
  background: #f8fbff;
  color: #344054 !important;
}

.dispatchAmendmentNote {
  background: #fff1f2;
  color: #be123c !important;
}

.dispatchAssignmentForm {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(180px, 0.9fr);
  gap: 8px;
  align-items: start;
  padding-top: 2px;
}

.dispatchAssignmentForm textarea,
.dispatchAssignmentForm .secondaryButton,
.dispatchAssignmentStatus {
  grid-column: 1 / -1;
}

.dispatchAssignmentForm select,
.dispatchAssignmentForm input,
.dispatchAssignmentForm textarea {
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
}

.dispatchAssignmentStatus {
  min-height: 18px;
  margin: 0;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
}

.dispatchAssignmentStatus.pending {
  color: #1d4ed8;
}

.dispatchAssignmentStatus.failed {
  color: #be123c;
}

.reviewDetailPanel {
  border-color: rgba(22, 163, 74, 0.18);
}

.reviewDetailBody {
  display: grid;
  gap: 10px;
}

.reviewEvidenceCard {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #ffffff;
}

.reviewEvidenceCard.warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fffbeb;
}

.reviewEvidenceCard h4 {
  margin: 0;
  color: #344054;
  font-size: 14px;
}

.reviewWarningText {
  margin: 0;
  color: #92400e;
  font-size: 13px;
  font-weight: 850;
}

.reviewSummaryGrid {
  display: grid;
  gap: 8px;
}

.reviewSummaryGrid div {
  display: grid;
  grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}

.reviewSummaryGrid div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reviewSummaryGrid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.reviewSummaryGrid strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.reviewChecklistList .completionChecklistItem {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}

.plusIcon {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.plusIcon::before,
.plusIcon::after {
  position: absolute;
  inset: 9px 5px auto;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  content: "";
}

.plusIcon::after {
  transform: rotate(90deg);
}

.prototypeNote {
  min-height: 18px;
  margin: 12px 0 0;
  color: #526070;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.summaryGrid {
  display: grid;
  gap: 12px;
}

.overviewCard {
  min-height: 144px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.cardTopline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cardIcon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #eef4ff;
}

.cardIcon::before,
.navIcon::before {
  position: absolute;
  content: "";
}

.draftIcon::before {
  inset: 9px 11px;
  border: 2px solid var(--blue);
  border-top-width: 5px;
  border-radius: 4px;
}

.completeIcon {
  background: #ecfdf3;
}

.completeIcon::before {
  width: 17px;
  height: 9px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  transform: translate(10px, 13px) rotate(-45deg);
}

.settingsIcon {
  background: #fff7ed;
}

.settingsIcon::before {
  inset: 10px;
  border: 3px solid var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(217, 119, 6, 0.1);
}

.count {
  color: #1f2937;
  font-size: 21px;
  font-weight: 900;
}

.overviewCard h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.overviewCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workflowStrip {
  display: flex;
  gap: 8px;
  padding: 2px 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.workflowStrip::-webkit-scrollbar {
  display: none;
}

.workflowStrip span {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.progressCard,
.stepPanel {
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.progressCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
}

.backLink {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.progressText {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.progressTrack {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf6;
}

.progressTrack span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 180ms ease;
}

.caseStatus {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.amendmentBanner {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  background: #fffbeb;
  color: #92400e;
}

.amendmentBanner strong {
  font-size: 13px;
  font-weight: 950;
}

.amendmentBanner p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.amendmentBanner .secondaryButton {
  min-height: 44px;
  margin-top: 0;
  border-radius: 14px;
  background: #ffffff;
}

.stepPanel {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.stepPanel h2 {
  margin: 0;
  font-size: clamp(27px, 8vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

.vehicleHeroPanel {
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(155deg, #ffffff 0%, #f7fbff 100%);
}

.vehicleIntro p:last-child {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.vehicleHeroPanel h2 {
  font-size: clamp(38px, 13vw, 66px);
  line-height: 0.94;
}

.typeGrid {
  display: grid;
  gap: 10px;
}

.typeButton,
.primaryStepButton,
.secondaryButton {
  min-height: 56px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.typeButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.typeButton::after {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.typeButton:disabled,
.primaryStepButton:disabled,
.secondaryButton:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fieldLabel {
  margin-bottom: -8px;
  color: #475467;
  font-size: 13px;
  font-weight: 850;
}

.regLabel {
  margin-top: 6px;
}

.registrationInput {
  min-height: 78px;
  padding: 14px 18px;
  border: 2px solid #111827;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #facc15 0 19%, transparent 19%),
    #ffffff;
  color: #111827;
  font-size: clamp(31px, 11vw, 56px);
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.registrationInput::placeholder {
  color: rgba(17, 24, 39, 0.28);
}

.searchRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 16px;
  background: #eff6ff;
  color: var(--blue);
}

.searchButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
}

.searchButton::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 42%, transparent 68%);
  content: "";
  transform: translateX(-110%);
}

.searchButton:hover::before,
.searchButton.searching::before {
  animation: searchSweep 1s ease infinite;
}

.searchPulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 6px rgba(134, 239, 172, 0.16);
}

.searchButton.searching .searchPulse {
  animation: searchPulse 820ms ease-in-out infinite;
}

@keyframes searchSweep {
  to {
    transform: translateX(110%);
  }
}

@keyframes searchPulse {
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 0 12px rgba(134, 239, 172, 0.04);
  }
}

.lookupResult {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.draftSummary {
  min-height: 72px;
  padding: 14px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: var(--surface-soft);
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
}

.locationCapturePanel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  background: #ffffff;
  color: #334155;
}

.locationCapturePanel strong {
  display: block;
  color: #111827;
  font-size: 14px;
}

.locationCapturePanel p {
  margin: 4px 0 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.locationCaptureStatus.denied,
.locationCaptureStatus.unavailable {
  color: #b42318;
}

.locationCaptureStatus.captured,
.locationCaptureStatus.manual {
  color: #166534;
}

.locationCaptureActions {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.manualLocationField {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.manualLocationField input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

@media (max-width: 680px) {
  .locationCaptureActions {
    grid-template-columns: 1fr;
  }

  .damagePanelGrid,
  .vehicleLookupActions,
  .extraPhotoControls {
    grid-template-columns: 1fr;
  }

  .extraPhotoControls label,
  .extraPhotoControls select,
  .extraPhotoControls button {
    grid-column: auto;
    grid-row: auto;
  }
}

.summaryValueMissing {
  color: #b42318;
}

.summaryValueException {
  color: #b54708;
}

.lookupResult.ready {
  color: #166534;
}

.vehicleLookupActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 1fr);
  gap: 10px;
}

.vehicleDataLookupButton {
  min-height: 56px;
}

.vehicleConfirmCard {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.75), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.vehicleCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vehicleCardHeader h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.confidenceBadge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 11px;
  font-weight: 950;
}

.vehicleFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vehicleFieldCard {
  display: grid;
  gap: 6px;
  min-height: 68px;
  padding: 11px;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: #ffffff;
  min-width: 0;
}

.vehicleFields span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.vehicleFields strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.extraPhotoPanel h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.extraPhotoPanel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.damageNotesField,
.extraPhotoControls label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #475467;
  font-size: 12px;
  font-weight: 900;
}

.vehicleFields input,
.damageNotesField textarea,
.extraPhotoControls select {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

.vehicleFields input {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.vehicleFields input:focus {
  outline: 0;
}

.vehicleFieldMissing input {
  color: #92400e;
}

.vehicleFieldMissing {
  border-color: rgba(217, 119, 6, 0.42);
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08);
}

.vehicleDetailHint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.vehicleDetailHint.needsInput {
  color: #92400e;
}

.vehicleDataLookupButton:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.primaryStepButton {
  width: 100%;
  margin-top: 4px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.confirmVehicleButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 16px 18px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--green), #15803d);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.26);
  cursor: pointer;
  font-size: 19px;
  font-weight: 950;
}

.confirmVehicleButton:disabled {
  cursor: not-allowed;
  filter: grayscale(0.5);
  opacity: 0.5;
}

.walkaroundPanel {
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 163, 74, 0.12), transparent 30%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.walkaroundCopy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.localPhotoNote {
  margin: -6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.cameraFileInput {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.startWalkaroundButton,
.photoCaptureButton {
  width: 100%;
  min-height: 68px;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  color: #ffffff;
  font-size: 19px;
  font-weight: 950;
}

.startWalkaroundButton {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.walkaroundCapture,
.walkaroundComplete {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.walkaroundProgress {
  justify-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.walkaroundSide {
  color: var(--text);
  font-size: clamp(42px, 14vw, 72px);
  font-weight: 950;
  line-height: 0.94;
}

.walkaroundMessage {
  min-height: 46px;
  margin: 0;
  color: #475467;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  white-space: pre-line;
}

.photoCaptureButton {
  background: linear-gradient(135deg, #111827, #2563eb);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.walkaroundThumbGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.walkaroundThumb {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: #f8fbff;
}

.walkaroundThumb img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.walkaroundThumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.walkaroundThumb.complete::before {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  content: "✓";
  font-size: 14px;
  font-weight: 950;
  z-index: 1;
}

.walkaroundThumb.empty {
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.photoCaptureButton:active,
.startWalkaroundButton:active,
.confirmVehicleButton:active {
  transform: translateY(1px);
}

.walkaroundComplete {
  justify-items: center;
  text-align: center;
}

.completeMark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 26px;
  background: #ecfdf3;
  font-size: 34px;
}

.walkaroundComplete h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.05;
}

.walkaroundComplete p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.extraPhotoPanel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 22px;
  background: #ffffff;
}

.extraPhotoControls {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.extraPhotoControls label {
  grid-column: 1;
}

.extraPhotoControls select {
  grid-column: 1;
}

.extraPhotoControls button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.damageMapPanel {
  background:
    radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.damageChapterTabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.damageChapterTabs button {
  min-height: 48px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-weight: 950;
}

.damageChapterTabs button.active {
  background: #eff6ff;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.damageMap {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.damagePanelGrid {
  display: grid;
  gap: 12px;
}

.damagePanelGrid.imageBacked {
  padding: 6px;
  justify-items: center;
}

.damagePanelCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.damagePanelButton {
  min-height: 78px;
  padding: 12px;
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.damagePanelButton span,
.damagePanelButton small {
  display: block;
}

.damagePanelButton span {
  font-size: 14px;
  font-weight: 950;
}

.damagePanelButton small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.damagePanelButton.selected {
  border-color: rgba(37, 99, 235, 0.34);
  background: #eff6ff;
}

.damagePanelButton.damaged {
  border-color: rgba(15, 118, 110, 0.32);
  background: #f0fdfa;
}

.vehicleMapImage {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: calc(1122 / 902 * 100%);
  max-width: none;
  height: 100%;
  transform: translateX(-19.607%);
  border-radius: 20px;
  object-fit: fill;
}

.damageMapStage {
  position: relative;
  overflow: hidden;
  width: min(100%, 860px);
  aspect-ratio: 902 / 1402;
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.damageMapSvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.damageMapSvg .damageHotspot {
  cursor: pointer;
  fill: rgba(37, 99, 235, 0.015);
  stroke: transparent;
  stroke-width: 6;
  touch-action: manipulation;
  vector-effect: non-scaling-stroke;
  -webkit-tap-highlight-color: rgba(37, 99, 235, 0.14);
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.damageMapSvg .damageHotspot:hover,
.damageMapSvg .damageHotspot:focus-visible {
  fill: rgba(37, 99, 235, 0.08);
  stroke: rgba(37, 99, 235, 0.38);
  outline: none;
}

.damageMapSvg .damageHotspot.damaged {
  fill: rgba(20, 184, 166, 0.1);
  stroke: rgba(15, 118, 110, 0.34);
}

.damageMapSvg .damageHotspot.active {
  fill: rgba(37, 99, 235, 0.16);
  stroke: #2563eb;
  filter: drop-shadow(0 0 7px rgba(37, 99, 235, 0.28));
}

.damageMarkerLayer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.damageMarker {
  position: absolute;
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
  font-size: 10px;
  font-weight: 950;
  transform: translate(-50%, -50%);
}

.damageMapSelection {
  width: min(100%, 860px);
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.damageEditor {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.damageEditor h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.damageTypeGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.damageTypeGrid button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.damageTypeGrid button.selected {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eff6ff;
  color: var(--blue);
}

.damageStatus {
  min-height: 20px;
  margin: 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.damagePhotoPreview {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #f8fbff;
}

.damagePhotoPreview img {
  display: block;
  width: 100%;
  max-height: 190px;
  border-radius: 14px;
  object-fit: cover;
}

.damagePhotoPreview span {
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.damageList {
  min-height: 58px;
  padding: 14px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: var(--surface-soft);
  color: #475467;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

.damageList.noDamageConfirmed {
  border-color: rgba(22, 101, 52, 0.22);
  background: #f0fdf4;
  color: #166534;
}

.noDamageButton {
  width: 100%;
}

.damagePillList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.damagePill {
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 900;
}

.signaturePanel {
  background:
    radial-gradient(circle at 82% 10%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.signatureRoleGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.signatureRoleGrid button {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-weight: 950;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.signatureRoleGrid button.active {
  background: #eff6ff;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.signaturePad {
  min-height: 220px;
  padding: 10px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94)),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64), 0 18px 42px rgba(15, 23, 42, 0.08);
}

.signaturePad canvas {
  display: block;
  width: 100%;
  height: 210px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent calc(100% - 42px), rgba(37, 99, 235, 0.12) calc(100% - 42px), rgba(37, 99, 235, 0.12) calc(100% - 40px), transparent calc(100% - 40px)),
    #ffffff;
  cursor: crosshair;
  touch-action: none;
}

.signatureActions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
}

.signatureActions .primaryStepButton,
.signatureActions .secondaryButton {
  margin-top: 0;
}

.signatureStatus {
  min-height: 20px;
  margin: 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
}

.signatureSummary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signatureChip {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.signatureChip.saved {
  background: #ecfdf3;
  color: #166534;
}

.reportPanel {
  gap: 16px;
  background:
    radial-gradient(circle at 90% 8%, rgba(22, 163, 74, 0.11), transparent 28%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.reportHero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.reportHero h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(26px, 8vw, 46px);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

.reportHero p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reportStatus {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.reportStatus.unsafe {
  background: #fffbeb;
  color: #92400e;
}

.reportHeaderGrid,
.reportSummaryGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reportHeaderGrid div,
.reportSummaryGrid div {
  min-height: 68px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: #ffffff;
}

.reportHeaderGrid span,
.reportSummaryGrid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.reportHeaderGrid strong,
.reportSummaryGrid strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.reportSection {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.reportSection h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.reportTimeline {
  display: grid;
  gap: 8px;
}

.timelineItem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: #f8fbff;
}

.timelineItem span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.timelineItem.complete span {
  background: var(--green);
}

.timelineItem strong {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.reportCount {
  margin: 0 0 10px;
  color: #526070;
  font-size: 13px;
  font-weight: 800;
}

.reportDamageMaps {
  display: grid;
  gap: 10px;
}

.reportMapCard {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #ffffff;
}

.reportMapCard h4,
.reportPhotoGroup h4 {
  margin: 0;
  color: #344054;
  font-size: 13px;
  font-weight: 950;
}

.reportMapPreview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f8fbff;
}

.reportMapPreview img {
  display: block;
  width: 100%;
  height: auto;
}

.reportMarker {
  pointer-events: none;
}

.reportPhotoSummary,
.reportSignatureSummary {
  display: grid;
  gap: 10px;
}

.reportPhotoGroup {
  display: grid;
  gap: 8px;
}

.reportPhotoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.reportPhotoThumb {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: #f8fbff;
}

.reportPhotoThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reportPhotoThumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.reportPhotoThumb.empty {
  display: grid;
  place-items: center;
}

.reportPhotoThumb.empty span {
  position: static;
  background: transparent;
  color: #94a3b8;
}

.reportSignatureCard {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #f8fbff;
}

.reportSignatureCard strong {
  color: #344054;
  font-size: 13px;
  font-weight: 950;
}

.reportSignatureCard img {
  display: block;
  width: 100%;
  height: 86px;
  border-radius: 12px;
  background: #ffffff;
  object-fit: contain;
}

.reportSignatureCard span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.reportSignatureCard.saved {
  background: #ecfdf3;
}

.reportQrPlaceholder {
  display: grid;
  place-items: center;
  min-height: 156px;
  border: 2px dashed rgba(37, 99, 235, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(22, 163, 74, 0.06)),
    #ffffff;
  color: #475467;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.reportActions {
  display: grid;
  gap: 10px;
}

.dealDeskTeaserCard {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.dealDeskTeaserCard h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.dealDeskTeaserCard p {
  margin: 6px 0 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.dealDeskTeaserActions {
  display: grid;
  gap: 8px;
}

.dealDeskTeaserActions .secondaryButton {
  min-height: 48px;
  border-color: rgba(37, 99, 235, 0.2);
  background: #f8fbff;
}

.noteDialogOverlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.38);
}

.noteDialog {
  width: min(100%, 520px);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.noteDialog h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.noteDialogActions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.shareRecipientActions {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  background: #f8fbff;
}

.shareLinkPanel {
  display: grid;
  gap: 6px;
}

.shareLinkLabel {
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}

.shareLinkRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.shareLinkInput {
  min-width: 0;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
}

.shareLinkOpenButton,
.shareLinkCopyButton {
  min-width: 92px;
  white-space: nowrap;
}

.shareLinkCopyStatus {
  min-height: 16px;
  color: #166534;
  font-size: 12px;
  font-weight: 850;
}

.shareLinkCopyStatus.failed {
  color: #92400e;
}

.shareRecipientTitle {
  margin: 0;
  color: #526070;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.shareRecipientGroup {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5ebf3;
  border-radius: 8px;
  background: #ffffff;
}

.shareRecipientGroup strong {
  color: #18202f;
  font-size: 13px;
}

.shareRecipientButtonRow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 8px;
  align-items: center;
  justify-content: start;
}

.shareRecipientButtonRow .secondaryButton {
  width: auto;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.shareRecipientHelper {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.reportSnapshotStatus {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: #f8fbff;
  color: #526070;
  font-size: 12px;
  font-weight: 850;
}

.reportSnapshotStatus.generated {
  border-color: rgba(22, 163, 74, 0.24);
  background: #ecfdf3;
  color: #166534;
}

.reportSnapshotStatus.pending {
  border-color: rgba(37, 99, 235, 0.24);
  background: #eff6ff;
  color: #1d4ed8;
}

.reportSnapshotStatus.failed {
  border-color: rgba(245, 158, 11, 0.28);
  background: #fffbeb;
  color: #92400e;
}

.sharedReportPage {
  min-height: 100vh;
  background: #f5f7fb;
  color: #18202f;
}

.sharedReportShell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.sharedReportHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.sharedReportActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sharedReportHeader h1 {
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: 0;
}

.sharedReportHeader p:last-child {
  margin: 6px 0 0;
  color: #5d687a;
}

.sharedReportPage .reportSection {
  padding: 18px;
}

.sharedReportPage .reportConditionGrid {
  gap: 12px;
}

.sharedReportPage .reportConditionGroup {
  padding: 14px;
}

.sharedEvidenceSummary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sharedEvidenceSummary div {
  min-height: 64px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #f8fbff;
}

.sharedEvidenceSummary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.sharedEvidenceSummary strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sharedFieldList {
  display: grid;
  gap: 8px;
}

.sharedField {
  display: grid;
  grid-template-columns: minmax(116px, 42%) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.sharedField:last-child {
  border-bottom: 0;
}

.sharedFieldLabel {
  min-width: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.sharedFieldValue {
  min-width: 0;
  color: #121826;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sharedReportPage .reportPhotoGrid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.sharedReportPage .reportPhotoThumb {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.sharedReportPage button.reportPhotoThumb {
  width: 100%;
  padding: 0;
  border: 1px solid #e5ebf3;
  cursor: zoom-in;
  text-align: left;
}

.sharedReportPage button.reportPhotoThumb:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.34);
  outline-offset: 2px;
}

.sharedReportPage .reportPhotoThumb img {
  height: 100%;
  object-fit: cover;
}

.sharedReportPage .reportPhotoThumb span {
  right: 8px;
  bottom: 8px;
  left: 8px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.25;
}

.sharedImageLightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.88);
}

.sharedImageLightbox.hidden {
  display: none !important;
}

.sharedLightboxFigure {
  display: grid;
  gap: 10px;
  width: min(100%, 1080px);
  max-height: calc(100vh - 88px);
  margin: 0;
}

.sharedLightboxFigure img {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  max-height: calc(100vh - 144px);
  border-radius: 8px;
  background: #020617;
  object-fit: contain;
}

.sharedLightboxFigure figcaption {
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.sharedLightboxClose {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 121;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.sharedLightboxOpen {
  overflow: hidden;
}

@media (min-width: 640px) {
  .sharedEvidenceSummary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sharedReportPage .reportPhotoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .sharedReportShell {
    width: min(1080px, calc(100% - 56px));
    padding: 36px 0 72px;
  }

  .sharedReportPage .reportSection {
    padding: 24px;
    border-radius: 20px;
  }

  .sharedReportPage .reportHeaderGrid,
  .sharedReportPage .reportSummaryGrid,
  .sharedEvidenceSummary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sharedReportPage .reportConditionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sharedReportPage .reportConditionGroup {
    padding: 18px;
  }

  .sharedReportPage .reportConditionGroup:nth-child(3) {
    grid-column: 1 / -1;
  }

  .sharedField {
    grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
  }

  .sharedFieldLabel {
    font-size: 12px;
  }

  .sharedFieldValue {
    font-size: 15px;
  }

  .sharedReportPage .reportPhotoGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .sharedReportPage .reportPhotoThumb span {
    font-size: 12px;
  }
}

@media print {
  .sharedImageLightbox {
    display: none !important;
  }
}

.completionChecklist {
  display: grid;
  gap: 10px;
}

.completionChecklistSummary {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: #f8fbff;
  color: #526070;
  font-size: 13px;
  font-weight: 850;
}

.completionChecklistSummary.ready {
  border-color: rgba(22, 163, 74, 0.24);
  background: #ecfdf3;
  color: #166534;
}

.completionChecklistList {
  display: grid;
  gap: 8px;
}

.completionChecklistItem {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #e5ebf3;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.completionChecklistItem strong {
  color: #526070;
  font-size: 11px;
  text-transform: uppercase;
}

.completionChecklistMarker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef2f7;
  color: #526070;
  font-weight: 950;
}

.completionChecklistItem.complete .completionChecklistMarker {
  background: #dcfce7;
  color: #166534;
}

.completionChecklistItem.missing.required .completionChecklistMarker {
  background: #fee2e2;
  color: #991b1b;
}

.completionChecklistItem.missing.warning .completionChecklistMarker {
  background: #fef3c7;
  color: #92400e;
}

.conditionPanel {
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.driveHomePanel {
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
}

.conditionHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.conditionCompletion,
.conditionBadge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  text-align: center;
}

.conditionCompletion.complete,
.conditionBadge.good {
  background: #ecfdf3;
  color: #166534;
}

.conditionCard {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.conditionCard h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
}

.conditionFieldGrid,
.conditionStatusGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.conditionFieldGrid label,
.conditionStatusGrid label,
.conditionTextAreaLabel {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.conditionFieldGrid span,
.conditionStatusGrid span,
.conditionTextAreaLabel span {
  color: #475467;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.conditionFieldGrid input,
.conditionFieldGrid select,
.conditionStatusGrid select {
  min-height: 50px;
  border-radius: 14px;
}

.conditionFieldGrid label.conditionMissingField span,
.conditionStatusGrid label.conditionMissingField span {
  color: #b42318;
}

.conditionFieldGrid label.conditionMissingField input,
.conditionFieldGrid label.conditionMissingField select,
.conditionStatusGrid label.conditionMissingField select {
  border-color: rgba(180, 35, 24, 0.72);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.wideField {
  grid-column: 1 / -1;
}

.driveHomeCheckList {
  display: grid;
  gap: 10px;
}

.driveHomeFuelGauge {
  --fuel-level: 0%;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 16px;
  background: linear-gradient(90deg, #fef2f2 0%, #fff7ed 34%, #ecfdf3 100%);
}

.driveHomeFuelGauge input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.driveHomeFuelGauge input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0 var(--fuel-level), rgba(255, 255, 255, 0.74) var(--fuel-level) 100%);
}

.driveHomeFuelGauge input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0 var(--fuel-level), rgba(255, 255, 255, 0.74) var(--fuel-level) 100%);
}

.driveHomeFuelValue {
  min-height: 28px;
  padding: 9px 12px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #ffffff;
  color: #101828;
  font-size: 16px;
}

.driveHomeFuelGaugeLabels {
  display: flex;
  justify-content: space-between;
  color: #344054;
  font-size: 11px;
  font-weight: 900;
}

.driveHomeCheckRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.driveHomeCheckRow label {
  display: grid;
  gap: 6px;
}

.driveHomeCheckRow span {
  color: #475467;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.driveHomeCheckRow .secondaryButton.saved {
  border-color: rgba(22, 101, 52, 0.24);
  background: #ecfdf3;
  color: #166534;
}

.conditionStatusGrid select.statusAdvisory,
.conditionBadge.advisory,
.conditionBadge.low,
.conditionBadge.not_checked,
.conditionBadge.suspected,
.conditionBadge.safe_with_advisory {
  border-color: rgba(217, 119, 6, 0.42);
  background: #fff7ed;
  color: #9a3412;
}

.conditionStatusGrid select.statusFault,
.conditionBadge.fault,
.conditionStatusGrid select.statusPresent,
.conditionBadge.present,
.conditionBadge.missing,
.conditionBadge.not_safe_to_drive {
  border-color: rgba(220, 38, 38, 0.34);
  background: #fef2f2;
  color: #991b1b;
}

.conditionIssueList {
  min-height: 48px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: var(--surface-soft);
  color: #526070;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.conditionIssueChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.conditionSyncStatus {
  min-height: 20px;
  margin: 0;
  color: #526070;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.conditionSyncStatus.synced {
  color: #166534;
}

.conditionSyncStatus.unsynced {
  color: #9a3412;
}

.reportConditionGrid {
  display: grid;
  gap: 10px;
}

.reportConditionGroup {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  background: #f8fbff;
}

.reportConditionGroup h4 {
  margin: 0;
  color: #344054;
  font-size: 14px;
}

.conditionBadgeRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reportActions .primaryStepButton,
.reportActions .secondaryButton {
  min-height: 58px;
  margin-top: 0;
  white-space: normal;
}

.reportActions .dealDeskTeaserActions .secondaryButton {
  min-height: 48px;
}

.printReportMode .sentinelHeader,
.printReportMode .topProgress,
.printReportMode .progressCard,
.printReportMode .bottomNav,
.printReportMode .amendmentBanner {
  display: none !important;
}

.printReportMode .reportActions > :not(#printReportBtn):not(#backToSentinelBtn) {
  display: none !important;
}

.summaryRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e5ebf3;
}

.summaryRow:last-child {
  border-bottom: 0;
}

.summaryRow span:first-child {
  color: var(--muted);
  font-weight: 750;
}

.summaryRow span:last-child {
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: right;
}

.bottomNav {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: min(calc(100% - 28px), 520px);
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(208, 215, 226, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
}

.navItem {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 58px;
  padding: 8px 4px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.navItem.active {
  background: #eff6ff;
  color: var(--blue);
}

.navIcon {
  position: relative;
  width: 21px;
  height: 21px;
}

.homeIcon::before {
  inset: 6px 3px 4px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
  transform: perspective(20px) rotateX(8deg);
}

.draftsIcon::before {
  inset: 3px 5px;
  border: 2px solid currentColor;
  border-top-width: 5px;
  border-radius: 4px;
}

.doneIcon::before {
  width: 15px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translate(3px, 5px) rotate(-45deg);
}

.cogIcon::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

@media (min-width: 720px) {
  .shell {
    padding-top: 30px;
  }

  .summaryGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .overviewCard {
    min-height: 176px;
  }

  .conditionFieldGrid,
  .conditionStatusGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dispatchGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .conditionFieldGrid .wideField,
  .conditionStatusGrid .wideField {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .shell {
    padding-bottom: calc(176px + env(safe-area-inset-bottom));
  }

  .content,
  .homeView,
  .reviewQueueView,
  .workflowView {
    gap: 12px;
  }

  .reportPanel {
    padding-bottom: calc(156px + env(safe-area-inset-bottom));
  }

  .reportHero {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .reportHero h2 {
    font-size: clamp(25px, 7vw, 34px);
    white-space: normal;
  }

  .damageMapPanel {
    padding: 16px 12px calc(132px + env(safe-area-inset-bottom));
  }

  .damageMap {
    padding: 6px;
    border-radius: 20px;
  }

  .damagePanelGrid.imageBacked {
    padding: 2px;
  }

  .todayPanel {
    padding: 14px;
  }

  .inspectionDayList {
    width: 100%;
    min-width: 0;
  }

  .inspectionDayList .dayInspectionCard {
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .inspectionDayList .dayInspectionTop {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-content: stretch;
    gap: 8px;
  }

  .inspectionDayList .dayInspectionDetails,
  .inspectionDayList .dayInspectionDetails strong,
  .inspectionDayList .dayInspectionDetails p,
  .inspectionDayList .dayStatusBadge,
  .inspectionDayList .dayActionButton {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .inspectionDayList .dayInspectionDetails {
    width: 100%;
  }

  .inspectionDayList .dayStatusBadge {
    justify-self: start;
    width: auto;
    text-align: left;
  }

  .inspectionDayList .dayProgress {
    width: 100%;
    min-width: 0;
    gap: 5px;
  }

  .inspectionDayList .dayProgressTop {
    align-items: center;
    gap: 10px;
  }

  .inspectionDayList .dayProgressTop span:last-child {
    flex: 0 0 auto;
  }

  .inspectionDayList .dayInspectionActions,
  .inspectionDayList .reviewQueueActions,
  .inspectionDayList .dispatchAssignmentForm {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .inspectionDayList .dayActionButton,
  .inspectionDayList .secondaryButton {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
  }

  .bottomNav {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    width: min(calc(100% - 20px), 520px);
    padding: 7px;
    border-radius: 20px;
  }

  .navItem {
    min-height: 54px;
    padding: 7px 3px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .heroPanel {
    padding: 20px;
    border-radius: 24px;
  }

  .healthBadge {
    padding: 8px;
  }
}

@media (max-width: 560px) {
  .shareLinkRow {
    grid-template-columns: minmax(0, 1fr);
  }

  .shareLinkCopyButton,
  .shareRecipientButtonRow .secondaryButton {
    width: 100%;
  }

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

  .damagePanelGrid,
  .vehicleLookupActions,
  .extraPhotoControls {
    grid-template-columns: 1fr;
  }

  .extraPhotoControls label,
  .extraPhotoControls select,
  .extraPhotoControls button {
    grid-column: auto;
    grid-row: auto;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .topBar,
  .sentinelHeader,
  .topProgress,
  .bottomNav,
  .workflowHeader,
  .progressCard,
  .amendmentBanner,
  .reportActions,
  .backButton {
    display: none !important;
  }

  .shell,
  .content,
  .appMain,
  .workflowView,
  .workflowPanel,
  .stepPanel.reportPanel {
    display: block !important;
    width: auto;
    max-width: none;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  .stepPanel:not(.reportPanel),
  .homeView {
    display: none !important;
  }

  .reportHero,
  .reportSection,
  .reportHeaderGrid div,
  .reportSummaryGrid div,
  .reportMapCard,
  .reportPhotoThumb,
  .reportSignatureCard {
    break-inside: avoid;
    box-shadow: none;
  }
}
