.brand-logo {
  display: block;
  width: clamp(184px, 18vw, 224px);
  height: auto;
}

.fleet-validity {
  --progress: 1;
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--primary);
  background: conic-gradient(
    from -90deg,
    currentColor calc(var(--progress) * 1turn),
    hsl(240 5% 72% / 0.34) 0
  );
  box-shadow: 0 10px 24px rgba(1, 2, 5, 0.08);
}

.fleet-validity::before {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid hsl(240 5% 14.9% / 0.08);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.96);
}

.fleet-validity[data-urgent="true"] {
  color: var(--error);
}

.fleet-validity-time {
  position: relative;
  z-index: 1;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.fleet-handover .check-row input {
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(1, 2, 5, 0.08);
}

.fleet-employee-check > :first-child {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid hsl(115 47% 22% / 0.26);
  border-radius: 999px;
  color: var(--success);
  background: var(--success-low);
  font-size: 0.78rem;
  font-weight: 800;
}

.fleet-employee-copy {
  display: grid;
  gap: 1px;
}

.fleet-employee-copy strong {
  color: var(--primary);
  font-size: 0.92rem;
}

.fleet-employee-copy small {
  color: var(--contrast-medium);
  font-size: 0.82rem;
}

.fleet-handover.is-complete .status-stack {
  display: none;
}

.fleet-handover .completion-panel {
  position: relative;
  min-height: clamp(320px, 54vh, 520px);
  overflow: hidden;
}

.fleet-handover .completion-panel::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(170px, 32vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--success);
  border-radius: 999px;
  color: var(--success);
  content: "✓";
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.fleet-handover .completion-panel > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 178px;
  }

  body:has(.fleet-handover) .topbar {
    min-height: 64px;
    gap: 4px;
    padding: 10px 12px;
  }

  body:has(.fleet-handover) .site-frame {
    margin: 0 10px;
    padding-bottom: 16px;
  }

  .pickup-layout:has(.fleet-handover) {
    padding-top: 14px;
  }

  .fleet-handover {
    border-radius: 20px;
  }

  .fleet-handover .handover-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 14px;
  }

  .fleet-handover .handover-title {
    grid-column: 1;
  }

  .fleet-handover .handover-title h1 {
    font-size: 1.65rem;
  }

  .fleet-handover .handover-crest {
    grid-column: 2;
    justify-self: end;
    width: 28px;
  }

  .fleet-handover .status-stack {
    grid-column: 3;
    grid-row: 1;
    justify-items: end;
  }

  .fleet-handover .fleet-validity {
    width: 54px;
    height: 54px;
  }

  .fleet-handover .fleet-validity-time {
    font-size: 0.74rem;
  }

  .fleet-handover .handover-body {
    gap: 10px;
    padding: 14px;
  }

  .fleet-handover .notice {
    padding: 11px 12px;
    font-size: 0.9rem;
  }

  .fleet-summary,
  .fleet-condition-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-summary div,
  .fleet-condition-facts div {
    min-height: 60px;
    padding: 9px 10px;
  }

  .fleet-handover .field-group {
    gap: 10px;
  }

  .fleet-damage-section {
    gap: 8px;
    padding: 10px;
  }

  .fleet-damage-views {
    gap: 6px;
    margin-bottom: 8px;
  }

  .fleet-damage-view {
    min-height: 32px;
    padding: 5px 9px;
  }

  .fleet-handover .signature-box {
    min-height: 164px;
    gap: 9px;
    padding: 11px;
  }

  .fleet-handover .signature-canvas {
    height: 104px;
  }

  .fleet-handover .button {
    min-height: 42px;
  }

  .fleet-handover .privacy-note {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}
