.report-topbar .report-nav {
  justify-content: center;
}

.report-page {
  padding-top: 5.5rem;
}

.report-hero {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(30, 41, 59, .9));
  box-shadow: 0 20px 60px rgba(2, 8, 23, .28);
}

.report-hero h1 {
  margin-bottom: .6rem;
}

.compact-header {
  margin-bottom: 1rem;
}

.report-section {
  padding-top: 1.2rem;
}

.report-form {
  display: grid;
  gap: 1rem;
}

.report-card {
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-form input,
.report-form select,
.report-form textarea {
  width: 100%;
}

.signature-card {
  overflow: hidden;
}

.signature-help {
  margin-top: .4rem;
  margin-bottom: .8rem;
}

.signature-wrap {
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, .96);
  border: 2px dashed rgba(56, 189, 248, .65);
  border-radius: 18px;
  overflow: hidden;
  touch-action: none;
}

#signatureCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.signature-actions {
  margin-top: .8rem;
  display: flex;
  justify-content: flex-end;
}

.submit-bar {
  display: grid;
  gap: .65rem;
  padding: 1rem 0 2rem;
}

.submit-bar .btn-primary {
  justify-self: start;
}

@media (max-width: 720px) {
  .report-page {
    padding-top: 4.85rem;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .signature-wrap {
    height: 190px;
  }

  .submit-bar .btn-primary,
  .signature-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* Password gate */
.report-login-page .report-hero{
  max-width: 720px;
  margin-inline: auto;
}
.login-section{
  max-width: 720px;
  margin-inline: auto;
}
.login-form{
  max-width: 720px;
  margin-inline: auto;
}
.login-card h2{
  margin: .45rem 0 .9rem;
}
.report-error{
  border: 1px solid rgba(248, 113, 113, .38);
  background: rgba(248, 113, 113, .12);
  color: #fecaca;
  border-radius: 14px;
  padding: .8rem .9rem;
  margin: .75rem 0 1rem;
  font-weight: 650;
}
.login-note{
  margin-top: .9rem;
}

/* Professional service-report refinements */
.report-topbar {
  background: rgba(15, 23, 42, .96);
  border-bottom: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 12px 32px rgba(2, 8, 23, .22);
}

.report-topbar .report-nav {
  justify-content: flex-start;
  min-height: 74px;
}

.report-topbar .brand {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
}

.report-topbar .brand-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 58px;
  object-fit: contain;
}

.report-hero {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, .22), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(30, 41, 59, .94));
  border: 1px solid rgba(250, 204, 21, .28);
}

.report-card {
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 14px 36px rgba(2, 8, 23, .16);
}

.report-card .badge {
  letter-spacing: .02em;
}

.report-form .field-group label {
  font-weight: 700;
}

.report-form input,
.report-form select,
.report-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .32);
  background: rgba(255, 255, 255, .98);
  color: #0f172a;
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
  outline: 2px solid rgba(56, 189, 248, .42);
  border-color: rgba(56, 189, 248, .75);
}

.signature-wrap {
  border: 2px solid rgba(15, 23, 42, .25);
  background:
    linear-gradient(transparent calc(100% - 42px), rgba(15, 23, 42, .05) calc(100% - 42px)),
    #fff;
}

@media (max-width: 720px) {
  .report-topbar .report-nav {
    min-height: 64px;
  }
  .report-topbar .brand-logo {
    max-width: 210px;
    max-height: 50px;
  }
}
