/* Report color themes: remove class report-theme-midnight-ember from <body> in base.html to restore the previous cyan/brown look. */

  /*
   * /report only: locked viewport on desktop (no page scroll, no inner-card scroll).
   * Other routes are unchanged. Mobile uses its own rules below for fluid scroll.
   */
  html, body.page-report {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.page-report {
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0px);
  }
  
  /* Hide the top-left logo on this page */
  body.page-report .nav-logo-main {
      display: none;
  }

  body.page-report > nav {
    flex-shrink: 0;
    position: sticky !important;
    top: 0 !important;
    z-index: 1001;
  }

  /*
   * Single-view shell: .page-content does not scroll. Card scroll is default; desktop overrides
   * to overflow:hidden so the glass panel stays visually still (see min-width:641px block).
   */
  body.page-report .page-content {
    background: transparent;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    padding: 6px max(10px, env(safe-area-inset-left)) 4px max(10px, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  body.page-report .site-footer {
    flex-shrink: 0;
    padding-top: 0 !important;
    padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)) !important;
    position: relative;
    z-index: 10;
  }

  body.page-report .report-grid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    margin: 0 auto;
    width: 100%;
    max-width: min(1080px, 100%);
  }
  body.page-report .form-column {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  body.page-report .report-card {
    flex: 0 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column;
    /* Must win over generic .report-card { overflow: visible !important } */
    overflow: visible !important;
    -webkit-overflow-scrolling: touch;
    /* Enough air so the title isn’t clipped; overrides global .card padding */
    padding: 16px 18px 14px !important;
  }
  /* Global .card uses overflow:hidden + a top gloss ::before — both can clip / cover “Report” */
  body.page-report .card.report-card::before {
    display: none !important;
    content: none !important;
  }
  /*
   * Never mix overflow-x: hidden with overflow-y: visible — the spec forces overflow-y
   * to compute to "auto", which traps scroll inside the form and clips the bottom row.
   */
  body.page-report .report-card > form {
    /*
     * Keep this in normal document flow so expanded <details> always increase
     * the scrollable height inside .report-card (prevents the submit row from
     * getting pushed outside the reachable area at narrower desktop widths).
     */
    display: block;
    flex: 0 0 auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /*
   * Don’t let the split flex-shrink — it caused half-width / short windows to squash the
   * columns so content painted on top of the submit row (plus .quick-submit-anchor z-index).
   */
  body.page-report .report-form-split {
    flex: 0 0 auto;
    width: 100%;
    min-height: min-content;
  }

  body.page-report .report-submit-block {
    flex-shrink: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .report-card:hover {
      box-shadow:
        0 12px 40px rgba(2, 6, 23, 0.35),
        0 0 0 1px rgba(165, 180, 252, 0.12) inset,
        0 0 48px rgba(56, 189, 248, 0.06) !important;
    }
    details.report-fold > summary:hover {
      filter: none;
    }
    .report-submit-btn:hover {
      transform: none;
      filter: none;
    }
  }

  .report-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: min(1080px, 100%);
    margin: 10px auto;
    min-height: auto;
    height: auto;
    padding-bottom: 8px;
    box-sizing: border-box;
  }

  .report-form-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px 14px;
    align-items: start;
    width: 100%;
  }

  /* Two columns only on wide screens — avoids cramped overlap when the window is narrowed */
  @media (min-width: 1200px) {
    .report-form-split {
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      gap: 12px 16px;
    }
    .report-column {
      min-width: 0;
    }
    .report-column-right > .form-label:first-of-type {
      margin-top: 0 !important;
    }
    .report-column-right .behavior-compact-row {
      max-width: 100%;
    }
    body.page-report .report-notes-card .form-textarea {
      min-height: 44px !important;
      max-height: 68px !important;
    }
  }

  .report-column-left .privacy-box {
    margin-top: 4px !important;
  }

  
  body.page-report .report-top-stack {
    margin-bottom: 6px;
  }

  body.page-report .report-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  body.page-report .report-privacy-info {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
    align-self: center;
  }

  body.page-report .report-privacy-info__trigger {
    list-style: none;
    cursor: pointer;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.78rem;
    font-style: normal;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #0f172a;
    background: linear-gradient(145deg, #38bdf8, #2563eb);
    border: 1px solid rgba(125, 211, 252, 0.7);
    box-shadow: 0 6px 14px rgba(2, 6, 23, 0.3);
  }

  body.page-report .report-privacy-info__trigger::-webkit-details-marker {
    display: none;
  }

  body.page-report .report-privacy-info__panel {
    position: absolute;
    z-index: 50;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    width: min(340px, calc(100vw - 32px));
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.38);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.45);
    color: #e2e8f0;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: left;
  }

  body.page-report .report-privacy-info__title {
    font-weight: 800;
    font-size: 0.82rem;
    color: #bae6fd;
    margin-bottom: 8px;
  }

  body.page-report .report-privacy-info__list {
    margin: 0;
    padding-left: 1.1em;
  }

  body.page-report .report-privacy-info__list li {
    margin-bottom: 8px;
  }

  body.page-report .report-privacy-info__list li:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 640px) {
    /*
     * .report-card transform would break fixed/absolute anchoring; keep it off on phones.
     * Anchor the privacy panel to the title row (under Report + (i)), not viewport center.
     */
    body.page-report .report-card {
      transform: none;
      backface-visibility: visible;
    }

    body.page-report .report-title-row {
      position: relative;
      z-index: 5;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    body.page-report .report-page-heading {
      flex: 0 1 auto;
      min-width: 0;
      text-align: center;
    }

    body.page-report .report-privacy-info {
      position: static;
      flex-shrink: 0;
    }

    body.page-report .report-privacy-info__panel {
      position: absolute;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      top: 100%;
      margin-top: 8px;
      width: min(340px, calc(100vw - 24px));
      max-width: calc(100vw - 24px);
      max-height: min(70vh, 480px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      z-index: 10050;
      margin-left: 0;
      margin-right: 0;
      padding: 14px 16px;
      box-sizing: border-box;
    }
  }

  body.page-report details.report-fold {
    margin-top: 6px;
  }
  body.page-report .report-notes-card {
    margin-top: 10px !important;
    padding: 10px 12px !important;
  }
  body.page-report .report-notes-card .form-textarea {
    min-height: 48px;
    max-height: 72px;
    padding: 6px 8px;
    font-size: 0.85rem;
  }

  
  .report-card {
    border: 0 !important;
    background: rgba(17, 24, 39, 0.62) !important;
    border: 1px solid rgba(56, 189, 248, 0.38) !important;
    box-shadow:
      0 12px 40px rgba(2, 6, 23, 0.35),
      0 0 0 1px rgba(165, 180, 252, 0.12) inset,
      0 0 48px rgba(56, 189, 248, 0.06);
    /* Lighter blur = cheaper paint with page scroll */
    backdrop-filter: blur(10px) saturate(118%);
    -webkit-backdrop-filter: blur(10px) saturate(118%);
    overflow: visible !important;
    width: 100%;
    max-width: min(1080px, 100%) !important;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: border-color 0.22s ease;
  }
  .report-card:hover {
    border-color: rgba(56, 189, 248, 0.48) !important;
    /* Keep shadow identical to idle — avoids jitter when moving the cursor inside the form */
    box-shadow:
      0 12px 40px rgba(2, 6, 23, 0.35),
      0 0 0 1px rgba(165, 180, 252, 0.12) inset,
      0 0 48px rgba(56, 189, 248, 0.06);
  }
  .report-card .report-notes-card {
    border: 1px solid rgba(56, 189, 248, 0.30) !important;
    background: rgba(17, 24, 39, 0.70) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.20);
  }

  body.page-report .form-input,
  body.page-report .form-textarea,
  body.page-report select {
    background: rgba(15, 23, 42, 0.84) !important;
    border: 1px solid rgba(56, 189, 248, 0.44) !important;
    color: #f8fafc !important;
    scroll-margin-top: 100px;
  }
  body.page-report .privacy-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .form-column {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    overflow-y: visible;
    overflow-x: visible;
    max-height: none;
    padding: 4px 0 0;
    min-width: 0;
    order: 1;
  }

  .other-animal-wrap {
    max-width: 300px;
    margin: -8px auto 12px;
    display: none;
  }

  
  /*
   * Full-width submit row, then two disclaimer columns — avoids the old 3-col grid
   * where a wide center button overlapped the side boxes on desktop.
   */
  .report-submit-block {
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
    padding: 10px 10px 12px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "sub sub"
      "emg liab";
    /* row-gap = space between Submit row and disclaimer row (stops visual overlap) */
    gap: 10px 12px;
    align-items: stretch;
    justify-items: stretch;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(15, 23, 42, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .report-submit-col--emergency {
    grid-area: emg;
  }
  .report-submit-col--submit {
    grid-area: sub;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
  .report-submit-col--legal {
    grid-area: liab;
  }
  .report-submit-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  @media (max-width: 640px) {
    .report-submit-block {
      gap: 10px 8px;
      padding: 10px 8px;
    }
  }

  /* Very narrow: stack disclaimers so text stays readable */
  @media (max-width: 480px) {
    .report-submit-block {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      grid-template-areas:
        "sub"
        "emg"
        "liab";
    }
  }
  .report-disclaimer--inline {
    text-align: center;
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-width: 1px;
    overflow: visible;
    min-height: min-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .report-disclaimer--inline > div:last-child {
    display: block;
    margin-top: 4px;
    opacity: 0.9;
  }
  .report-disclaimer--inline.report-disclaimer--emergency {
    background: rgba(153, 27, 27, 0.28) !important;
    border-color: rgba(248, 113, 113, 0.4) !important;
    color: #fecdd3 !important;
  }
  .report-disclaimer--inline.report-disclaimer--legal {
    background: rgba(30, 58, 138, 0.28) !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
    color: #dbeafe !important;
  }
  .report-disclaimer--inline:hover {
    transform: none;
  }
  .report-disclaimer--inline .report-disclaimer-label {
    font-size: 0.55rem !important;
    margin-bottom: 3px;
    padding: 2px 6px;
    letter-spacing: 0.06em;
    opacity: 0.95;
  }
  .report-disclaimer--inline.report-disclaimer--emergency .report-disclaimer-label {
    background: rgba(248, 113, 113, 0.15);
    border-color: rgba(248, 113, 113, 0.35);
  }
  .report-disclaimer--inline.report-disclaimer--legal .report-disclaimer-label {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
  }
  .report-submit-btn {
    width: 100%;
    max-width: min(420px, 100%);
    min-width: 0;
    margin: 0 auto;
    padding: 10px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    border-radius: 11px !important;
    line-height: 1.25;
    border: 1px solid rgba(245, 158, 11, 0.55) !important;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.1)) !important;
    color: #fef3c7 !important;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  }
  .report-submit-btn:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.18), 0 4px 14px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    filter: brightness(1.05);
  }
  .report-submit-block .submit-desktop-row {
    margin-top: 0;
    width: 100%;
    max-width: min(420px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  .report-disclaimer {
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    line-height: 1.35;
    font-size: 0.78rem;
    border: 1px solid transparent;
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
    transition: transform 160ms ease, box-shadow 180ms ease, border-color 160ms ease;
  }
  .report-disclaimer:hover {
    transform: none;
  }
  .report-disclaimer--emergency {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.32);
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: 0 8px 20px rgba(127, 29, 29, 0.20);
  }
  .report-disclaimer--legal {
    color: #dbeafe;
    background: rgba(30, 58, 138, 0.30);
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.18);
  }
  .report-disclaimer-label {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .report-disclaimer--emergency .report-disclaimer-label {
    background: rgba(248, 113, 113, 0.20);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca;
  }
  .report-disclaimer--legal .report-disclaimer-label {
    background: rgba(96, 165, 250, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.42);
    color: #bfdbfe;
  }

  .behavior-compact-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 5px;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .behavior-compact-pair {
    display: flex;
    align-items: stretch;
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .behavior-custom-btn-sizer {
    flex: 0 0 auto;
    visibility: hidden;
    width: 108px;
    min-width: 108px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    box-sizing: border-box;
    font-weight: 900;
    font-size: 0.8rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    margin: 0;
  }
  select.form-input.behavior-select,
  input.form-input.behavior-custom-inline {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    margin: 0;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 0.9rem;
    line-height: 1.2;
    border-radius: 10px;
    border: 1px solid rgba(244, 162, 29, 0.54);
    background: rgba(210, 140, 110, 0.22);
    color: #f1f5f9;
  }
  select.form-input.behavior-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(210, 140, 110, 0.22);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding: 10px 36px 10px 12px;
  }
  .behavior-add-custom-btn {
    flex: 0 0 auto;
    width: 108px;
    min-width: 108px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 10px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(244, 162, 29, 0.55);
    background: rgba(244, 162, 29, 0.22);
    color: #fff7d6;
    font-weight: 900;
    font-size: 0.8rem;
    line-height: 1.1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
  .behavior-add-custom-btn:hover {
    background: rgba(244, 162, 29, 0.32);
    border-color: rgba(244, 162, 29, 0.72);
  }

  .behavior-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    justify-content: center;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .behavior-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(30, 41, 59, 0.42);
    color: #e5e7eb;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.1;
  }
  .behavior-chip button {
    border: 0;
    background: transparent;
    color: #fca5a5;
    cursor: pointer;
    font-weight: 900;
    padding: 0;
    line-height: 1;
  }

  .privacy-box {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    margin-top: 12px;
  }

  /* Stable height so geolocation / reverse-geocode messages don’t jump the address row */
  #location-status-line.report-location-status {
    min-height: 1.5em;
    box-sizing: border-box;
  }

  .quick-submit-anchor {
    position: relative;
    /* z-index removed — was 80 and stacked the whole location block over the submit row. */
    width: 100%;
  }

  /* Anchored directly below the Quick Submit / Location area */
  #quick-submit-confirm.quick-submit-confirm {
    display: none;
    position: absolute; /* Pops out directly below the container */
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-top: 10px;
    z-index: 9999;
    width: min(520px, calc(100vw - 48px));
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    background: rgba(67, 87, 38, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 14px 14px 12px;
    color: #e5e7eb;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .quick-submit-confirm-title {
    font-weight: 950;
    letter-spacing: 0.01em;
    margin: 0 0 6px;
    color: #fde68a;
    font-size: 1rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .quick-submit-confirm-body {
    color: #cbd5e1;
    line-height: 1.45;
    font-size: 0.92rem;
    word-break: break-word;
  }
  .quick-submit-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    justify-content: flex-end;
  }
  .quick-submit-confirm-actions button {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    box-sizing: border-box;
  }
  @media (min-width: 480px) {
    .quick-submit-confirm-actions button {
      flex: 0 0 auto;
      min-width: 108px;
    }
  }

  .location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 5px;
  }

  
  .submit-desktop { display: block; }

  
  .submit-desktop-row {
    max-width: 420px;
    margin: 10px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .submit-desktop-row .submit-desktop { margin: 0 !important; }

  .report-page-heading {
    margin: 0;
    padding: 0.2em 0 0;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: 0.02em;
    line-height: 1.35;
    position: relative;
    z-index: 1;
    overflow: visible;
  }
  .report-top-stack {
    max-width: 300px;
    margin: 0 auto 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  
  .report-type-row {
    display: flex;
    gap: 10px;
    margin: 14px 0 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .report-type-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(132, 150, 108, 0.46);
    background: rgba(132, 150, 108, 0.24);
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.01em;
    flex: 1;
    min-width: 220px;
  }
  .report-type-btn small {
    display: block;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0;
  }
  .report-type-btn.active {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(59, 130, 246, 0.10);
    color: #bfdbfe;
    cursor: default;
    pointer-events: none;
  }
  .report-type-btn.missing {
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.10);
    color: #fde68a;
  }
  .report-type-btn.missing.compact {
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 260px;
    max-width: 520px;
    flex: 0 1 auto;
  }
  .report-type-btn.missing.compact small {
    font-size: 0.85rem;
  }
  .report-type-btn:hover {
    border-color: #374151;
  }
  .report-type-btn.missing:hover {
    border-color: rgba(245, 158, 11, 0.85);
    background: rgba(245, 158, 11, 0.14);
  }

  .report-type-label {
    margin: 10px 0 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
  }
  .report-type-current {
    margin: 10px 0 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
  }

  details.report-fold {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid rgba(244, 162, 29, 0.30);
    background: rgba(210, 140, 110, 0.18);
    overflow: hidden;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.6);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
  }
  @media (min-width: 1200px) {
    .report-column-right details.report-fold {
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
    }
  }
  details.report-fold > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 9px 36px 9px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e5e7eb;
    text-align: center;
    position: relative;
    line-height: 1.25;
    background: rgba(210, 140, 110, 0.26);
    border-bottom: 1px solid rgba(244, 162, 29, 0.24);
    transition: background 0.2s ease, filter 0.2s ease;
  }
  details.report-fold > summary:hover {
    /* Avoid filter: — it repaints the whole details block (felt like wobble) */
    filter: none;
    background: rgba(210, 140, 110, 0.34);
  }
  details.report-fold > summary::-webkit-details-marker { display: none; }
  details.report-fold > summary::after {
    content: "▾";
    color: #93c5fd;
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
  }
  details.report-fold:not([open]) > summary::after { content: "▸"; }
  .report-fold-body { padding: 10px 12px 12px; }

  .report-fold-body .location-grid {
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .report-fold-body .form-input {
    padding: 8px 10px;
    font-size: 0.88rem;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid rgba(244, 162, 29, 0.48);
    background: rgba(210, 140, 110, 0.22);
    color: #f1f5f9;
  }

  @media (min-width: 641px) {
    .form-column {
      overflow-x: hidden;
      box-sizing: border-box;
    }

    details.report-fold {
      width: 100%;
      overflow-x: hidden;
      box-sizing: border-box;
    }

    details.report-fold > summary {
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
      white-space: nowrap;
    }

    .report-fold-body {
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
    }
  }

  @media (max-width: 640px) {
    /* Mobile: natural page scroll is safer/fluid; desktop keeps the static shell behavior. */
    html,
    body.page-report {
      height: auto;
      max-height: none;
      overflow-y: auto;
    }
    body.page-report {
      min-height: 100dvh;
    }
    html { overflow-x: hidden; overscroll-behavior-x: none; }
    body:not(.page-report) { overflow-x: hidden; overscroll-behavior-x: none; }
    .page-content { overflow-x: hidden; padding-left: 12px !important; padding-right: 12px !important; }
    body.page-report .page-content {
      overflow-y: visible;
      padding-left: max(10px, env(safe-area-inset-left)) !important;
      padding-right: max(10px, env(safe-area-inset-right)) !important;
    }
    .report-grid { flex-direction: column; height: auto; margin-top: -2px; overflow-x: hidden; width: 100%; max-width: 100%; }
    body.page-report .report-grid {
      flex: none;
      min-height: auto;
      overflow: visible;
      height: auto;
    }
    .form-column { position: relative; z-index: 3; width: 100%; max-width: 100%; box-sizing: border-box; margin: 0 auto; max-height: none; order: 1; overflow-y: visible !important; padding-right: 0 !important; padding-left: 0 !important; transform: none !important; }
    body.page-report .form-column {
      overflow: visible !important;
      min-height: auto;
      flex: none;
    }
    .report-card {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin: 0 auto;
    }
    body.page-report .report-card {
      flex: none;
      min-height: auto;
      overflow-y: visible !important;
      overflow-x: visible !important;
      -webkit-overflow-scrolling: auto;
      overscroll-behavior: auto;
    }

    .report-type-row { width: 100%; padding-left: 0 !important; padding-right: 0 !important; justify-content: center; }
    .report-type-btn { min-width: 0; width: 100%; flex: 0 0 auto; }
    .report-type-btn.missing.compact { min-width: 0; max-width: 100%; }
    .location-grid { grid-template-columns: 1fr !important; gap: 10px; width: 100%; max-width: 100%; }
    .location-grid > div { grid-column: 1 / -1 !important; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; }
    #quick-submit-btn { padding-left: 12px !important; padding-right: 12px !important; font-size: 0.9rem !important; }

    .behavior-compact-row { gap: 6px; margin-top: 4px; }
    .behavior-compact-pair { width: 100%; gap: 6px; }
    select.form-input.behavior-select,
    input.form-input.behavior-custom-inline {
      height: 42px;
      min-height: 42px;
      max-height: 42px;
      padding: 8px 10px;
      font-size: 0.95rem;
    }
    select.form-input.behavior-select {
      padding: 8px 32px 8px 10px;
      background-position: right 8px center;
    }
    .behavior-custom-btn-sizer {
      width: 108px !important;
      min-width: 108px !important;
      height: 42px !important;
      min-height: 42px !important;
      max-height: 42px !important;
      padding: 0 10px !important;
      font-size: 0.78rem !important;
    }
    .behavior-add-custom-btn {
      height: 42px !important;
      min-height: 42px !important;
      max-height: 42px !important;
      padding: 0 10px !important;
      font-size: 0.78rem !important;
      white-space: nowrap;
    }

    .privacy-box { margin: 15px 0 0 !important; max-width: 100% !important; }

    details.report-fold { max-width: 100%; }
    .behavior-compact-row { max-width: 100%; }
    .behavior-chip-list { max-width: 100%; }
  }

  @media (min-width: 641px) and (max-width: 980px) {
    .report-grid {
      gap: 28px;
    }
    .form-column {
      padding-right: 18px;
    }

    .behavior-compact-pair { width: 100%; }

    details.report-fold > summary {
      justify-content: center;
      text-align: center;
      gap: 10px;
    }

  }

  
  @media (min-width: 981px) and (min-height: 760px) {
    .report-grid {
      margin-top: 0;
      gap: 16px;
    }

    .report-card {
      padding: 20px 20px 22px !important;
    }

    .report-top-stack {
      margin-bottom: 8px;
      gap: 4px;
    }

    .form-column {
      padding: 4px 4px 0;
    }

    .submit-desktop-row { margin-top: 12px; }
  }

  
  @media (min-width: 981px) and (max-height: 759px) {
    details.report-fold { margin-top: 8px; }
    .report-fold-body { padding: 8px 10px 10px; }
    .submit-desktop-row { margin-top: 6px; }
  }

  /*
   * Desktop /report: viewport does not scroll; the glass card scrolls when the window is short/narrow
   * so nothing overlaps (hidden overflow was clipping and made the submit row look “floating”).
   */
  @media (min-width: 641px) {
    html,
    body.page-report {
      min-height: 100%;
      height: auto !important;
      overflow-x: hidden;
      overflow-y: auto !important;
    }
    body.page-report .page-content {
      overflow: visible !important;
    }
    body.page-report .report-grid,
    body.page-report .form-column {
      overflow: visible;
    }
    body.page-report .report-card {
      overflow: visible !important;
      padding: 12px 14px 10px !important;
    }
    body.page-report .report-card > form {
      display: block;
      min-height: auto;
      padding-bottom: 14px;
    }

    body.page-report .report-top-stack {
      margin-bottom: 4px;
    }
    body.page-report .report-notes-card {
      margin-top: 6px !important;
      padding: 8px 10px !important;
    }
    body.page-report .report-notes-card .form-textarea {
      min-height: 40px !important;
      max-height: 56px !important;
    }
    @media (min-width: 1200px) {
      body.page-report .report-notes-card .form-textarea {
        min-height: 38px !important;
        max-height: 52px !important;
      }
    }

    .report-form-split {
      gap: 8px 14px !important;
    }
    @media (min-width: 1200px) {
      .report-form-split {
        gap: 10px 16px !important;
      }
    }

    #location-status-line.report-location-status {
      min-height: 1.5em;
    }

    .report-submit-block {
      position: relative;
      z-index: 2;
      margin-top: 48px;
      padding: 10px 10px 12px !important;
      gap: 10px 10px !important;
      scroll-margin-bottom: 14px;
      grid-template-columns: minmax(0, 1fr) minmax(240px, 420px) minmax(0, 1fr);
      grid-template-rows: auto;
      grid-template-areas: "emg sub liab";
      align-items: center;
    }
    .report-disclaimer--inline {
      font-size: 0.56rem !important;
      line-height: 1.35 !important;
      padding: 6px 6px 7px !important;
    }
    .report-disclaimer--inline .report-disclaimer-label {
      font-size: 0.5rem !important;
      margin-bottom: 2px;
    }
    @media (max-width: 920px) {
      .report-submit-block {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
          "sub sub"
          "emg liab";
      }
    }

    /*
     * Expanded accordions or safety warning: form height often exceeds the viewport.
     * Inner .report-card scroll is unreliable when flex min-content fights the shell; unlock
     * page scroll so Submit / footer stay reachable (same idea as max-height:720px unlock).
     */
    body.page-report.report-fold-expanded,
    body.page-report.report-warning-visible {
      height: auto !important;
      max-height: none !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-y: auto;
    }
    body.page-report.report-fold-expanded .page-content,
    body.page-report.report-warning-visible .page-content,
    body.page-report.report-fold-expanded .report-grid,
    body.page-report.report-warning-visible .report-grid,
    body.page-report.report-fold-expanded .form-column,
    body.page-report.report-warning-visible .form-column,
    body.page-report.report-fold-expanded .report-card,
    body.page-report.report-warning-visible .report-card {
      overflow: visible !important;
      flex: none !important;
      min-height: auto !important;
      max-height: none !important;
    }
    body.page-report.report-fold-expanded .report-card > form,
    body.page-report.report-warning-visible .report-card > form {
      padding-bottom: 14px;
    }
    .report-submit-col--submit {
      padding-bottom: 4px;
    }
    .report-submit-btn {
      box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    }
    .report-submit-btn:hover {
      box-shadow:
        0 4px 14px rgba(245, 158, 11, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }

    body.page-report .site-footer {
      padding-top: 0 !important;
      padding-bottom: max(4px, env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Global .form-button { margin-top: 24px } — kills layout in tight viewports */
    body.page-report .report-card .form-button.report-submit-btn {
      margin-top: 0 !important;
    }
  }

  /* Short/windowed desktop: unlock page scroll so the full form is reachable */
  @media (min-width: 641px) and (max-height: 720px) {
    html,
    body.page-report {
      height: auto !important;
      max-height: none !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-y: auto;
    }
    body.page-report .page-content,
    body.page-report .report-grid,
    body.page-report .form-column,
    body.page-report .report-card {
      overflow: visible !important;
      flex: none !important;
      min-height: auto !important;
      max-height: none !important;
    }
    body.page-report .report-card > form {
      padding-bottom: 14px !important;
    }
  }

  @media (min-width: 981px) and (min-height: 820px) {
    body.page-report .report-submit-block {
      margin-top: 32px;
    }
  }

  @media (min-width: 981px) and (min-height: 900px) {
    body.page-report .report-card > form {
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }

    body.page-report .report-submit-block {
      margin-top: auto;
    }
  }

  
  #report-page-disclaimer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
    box-sizing: border-box;
  }
  #report-page-disclaimer-overlay .report-disclaimer-modal {
    max-width: 520px;
    width: 100%;
    padding: 22px 22px 18px;
    border-radius: 18px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(165, 180, 252, 0.12) inset;
  }
  
  @media (max-width: 640px) {
    #report-page-disclaimer-overlay {
      padding: 8px 10px max(10px, env(safe-area-inset-bottom));
      align-items: center;
      justify-content: center;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal {
      max-width: 100%;
      max-height: min(82dvh, 520px);
      padding: 12px 12px 10px;
      border-radius: 14px;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      box-sizing: border-box;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal h2 {
      font-size: 1rem !important;
      margin: 0 0 6px !important;
      line-height: 1.2 !important;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal > p:first-of-type {
      font-size: 0.78rem !important;
      line-height: 1.35 !important;
      margin: 0 0 6px !important;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal ul {
      font-size: 0.72rem !important;
      line-height: 1.32 !important;
      margin: 0 0 6px 14px !important;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal ul li {
      margin-bottom: 3px;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal > p:nth-of-type(2) {
      font-size: 0.72rem !important;
      line-height: 1.3 !important;
      margin: 0 0 6px !important;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal > p:nth-of-type(3) {
      font-size: 0.68rem !important;
      line-height: 1.3 !important;
      margin: 0 0 8px !important;
    }
    #report-page-disclaimer-overlay #report-page-disclaimer-accept {
      padding: 8px 16px !important;
      font-size: 0.88rem !important;
    }
    #report-page-disclaimer-overlay .report-disclaimer-modal > div:last-child {
      justify-content: center !important;
      padding-bottom: 2px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    #report-page-disclaimer-overlay { transition: none; }
  }

  
  .custom-pin-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }
  .custom-pin-modal-backdrop.is-open {
    display: flex;
  }
  .custom-pin-modal-panel {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: #0f172a;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  @keyframes modal-pop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  .custom-pin-modal-header {
    padding: 16px 20px 14px;
    text-align: center;
  }
  .custom-pin-modal-header h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #f8fafc;
    font-weight: 900;
  }
  .custom-pin-modal-header p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
  }
  .custom-pin-map-wrap {
    height: 320px;
    width: 100%;
    min-height: 280px;
  }
  .custom-pin-modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    justify-content: center;
  }
  .custom-pin-modal-actions button {
    flex: 1;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
  }
  .custom-pin-modal-cancel {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(30, 41, 59, 0.6);
    color: #e5e7eb;
  }
  .custom-pin-modal-cancel:hover { background: rgba(51, 65, 85, 0.8); }
  .custom-pin-modal-confirm {
    border: 1px solid rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.2);
    color: #bae6fd;
  }
  .custom-pin-modal-confirm:hover { background: rgba(56, 189, 248, 0.3); }

  body.page-report.report-theme-midnight-ember .page-content {
    background: transparent;
  }
  body.page-report.report-theme-midnight-ember .report-card {
    background: rgba(15, 18, 28, 0.78) !important;
    border-color: rgba(251, 146, 60, 0.42) !important;
    box-shadow:
      0 14px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(251, 146, 60, 0.1) inset,
      0 0 56px rgba(249, 115, 22, 0.08) !important;
  }
  body.page-report.report-theme-midnight-ember .report-card:hover {
    border-color: rgba(251, 146, 60, 0.55) !important;
    /* Same shadow as non-hover — border-only feedback */
    box-shadow:
      0 14px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(251, 146, 60, 0.1) inset,
      0 0 56px rgba(249, 115, 22, 0.08) !important;
  }
  body.page-report.report-theme-midnight-ember .report-card .report-notes-card {
    border-color: rgba(251, 146, 60, 0.28) !important;
    background: rgba(10, 12, 20, 0.72) !important;
  }
  body.page-report.report-theme-midnight-ember details.report-fold {
    border-color: rgba(251, 146, 60, 0.34) !important;
    background: rgba(24, 20, 18, 0.55) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  }
  body.page-report.report-theme-midnight-ember details.report-fold > summary {
    background: rgba(249, 115, 22, 0.16) !important;
    border-bottom-color: rgba(251, 146, 60, 0.28) !important;
    color: #ffedd5 !important;
  }
  body.page-report.report-theme-midnight-ember details.report-fold > summary::after {
    color: #fdba74 !important;
  }
  body.page-report.report-theme-midnight-ember .report-fold-body .form-input {
    border-color: rgba(251, 146, 60, 0.4) !important;
    background: rgba(20, 18, 16, 0.65) !important;
    color: #fef3c7 !important;
  }
  body.page-report.report-theme-midnight-ember .report-submit-btn {
    border-color: rgba(251, 146, 60, 0.65) !important;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.95), rgba(194, 65, 12, 0.88)) !important;
    color: #fffbeb !important;
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  }
  body.page-report.report-theme-midnight-ember .report-submit-btn:hover {
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
    filter: brightness(1.06);
  }
  body.page-report.report-theme-midnight-ember .behavior-add-custom-btn {
    border-color: rgba(251, 146, 60, 0.45) !important;
    background: rgba(249, 115, 22, 0.14) !important;
    color: #fed7aa !important;
  }
  body.page-report.report-theme-midnight-ember .report-submit-block {
    border-color: rgba(251, 146, 60, 0.22);
    background: rgba(8, 10, 16, 0.45);
  }
  body.page-report.report-theme-midnight-ember .report-disclaimer--inline.report-disclaimer--emergency {
    border-color: rgba(248, 113, 113, 0.45) !important;
    background: rgba(127, 29, 29, 0.28) !important;
  }
  body.page-report.report-theme-midnight-ember .report-disclaimer--inline.report-disclaimer--legal {
    border-color: rgba(167, 139, 250, 0.4) !important;
    background: rgba(49, 46, 129, 0.28) !important;
  }
  body.page-report.report-theme-midnight-ember #quick-submit-btn {
    border: 2px solid rgba(251, 191, 36, 0.75) !important;
    background: rgba(245, 158, 11, 0.22) !important;
    color: #fffbeb !important;
  }
  body.page-report.report-theme-midnight-ember #geocode-location-btn {
    border: 1px solid rgba(6, 182, 212, 0.55) !important;
    background: rgba(8, 47, 73, 0.55) !important;
    color: #cffafe !important;
  }
  body.page-report.report-theme-midnight-ember #location-custom-pin-btn {
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    background: rgba(15, 23, 42, 0.75) !important;
    color: #e2e8f0 !important;
  }
  body.page-report.report-theme-midnight-ember #privacy-toggle-btn {
    border-color: rgba(129, 140, 248, 0.55) !important;
    background: rgba(79, 70, 229, 0.2) !important;
    color: #e0e7ff !important;
  }
  body.page-report.report-theme-midnight-ember #quick-submit-ok {
    background: rgba(249, 115, 22, 0.28) !important;
    border: 1px solid rgba(251, 146, 60, 0.55) !important;
    color: #ffedd5 !important;
  }
  body.page-report.report-theme-midnight-ember .report-photo-drop {
    background: rgba(12, 14, 22, 0.9) !important;
    border-color: rgba(251, 146, 60, 0.45) !important;
  }
  body.page-report.report-theme-midnight-ember .custom-pin-modal-confirm {
    border-color: rgba(251, 146, 60, 0.55) !important;
    background: rgba(249, 115, 22, 0.2) !important;
    color: #ffedd5 !important;
  }
  body.page-report.report-theme-midnight-ember .form-input,
  body.page-report.report-theme-midnight-ember .form-textarea,
  body.page-report.report-theme-midnight-ember select {
    border-color: rgba(251, 146, 60, 0.28) !important;
    background: rgba(10, 12, 18, 0.88) !important;
  }
  /* Integrated Submit (Inside Privacy Box) */
  .privacy-box-compact {
    margin-top: 10px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .privacy-submit-integration {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .report-submit-btn-organized {
    width: 100%;
    max-width: 380px;
    background: rgba(245, 158, 11, 0.28);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fde68a;
    font-weight: 900;
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .report-submit-btn-organized:hover {
    background: rgba(245, 158, 11, 0.35);
    filter: brightness(1.1);
  }
  .integrated-disclaimers-normal {
    text-align: center;
    opacity: 0.85;
  }
  .disc-item {
    display: block;
    font-size: 0.62rem;
    color: #94a3b8;
    margin: 2px 0;
    line-height: 1.2;
  }
  .disc-red { color: #f87171; }
  .report-submit-btn-organized:hover {
    background: rgba(245, 158, 11, 0.35);
    filter: brightness(1.1);
  }
  .integrated-disclaimers-normal {
    text-align: center;
    opacity: 0.85;
  }
  .disc-item {
    display: block;
    font-size: 0.65rem;
    color: #94a3b8;
    margin: 2px 0;
    line-height: 1.2;
  }
  .disc-red { color: #f87171; }