.report-status-page { min-width: 0; overflow-x: hidden; color: #071a3d; }
.report-status-main { position: relative; z-index: 2; width: min(100% - 2rem, var(--container)); margin: clamp(-8rem, -9vw, -5.5rem) auto 0; padding: 0 0 clamp(3rem, 7vw, 5.5rem); }
.report-search-card, .report-result-card, .report-support-section { border: 1px solid #eadcc3; border-radius: 24px; background: #fffdf8; box-shadow: 0 16px 38px rgba(71, 45, 12, 0.09); }
.report-search-card--overlap { border-color: rgba(214, 168, 79, 0.62); border-radius: 28px; box-shadow: 0 26px 58px rgba(7, 26, 61, 0.2), 0 8px 22px rgba(71, 45, 12, 0.1); }
.report-search-card { padding: clamp(1.9rem, 5vw, 3rem); }
.report-search-card__header { max-width: 42rem; }
.report-search-card__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.report-search-card__meta .eyebrow { margin: 0; }
.report-search-card__icon { display: inline-grid; place-items: center; width: 2.85rem; height: 2.85rem; border: 1px solid rgba(214, 168, 79, 0.56); border-radius: 50%; background: linear-gradient(145deg, #fff8e8, #f4d487); color: #071a3d; box-shadow: 0 10px 22px rgba(214, 168, 79, 0.2); }
.report-search-card__icon svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.report-search-card h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; }
.report-result-card h2, .report-support-section h2 { margin: 0; font-size: 1.35rem; }
.report-search-description { max-width: 38rem; margin: 1.15rem 0 0; color: rgba(7, 26, 61, 0.72); font-size: 1.02rem; line-height: 1.7; }
.report-status-form { margin-top: 2rem; }
.report-status-search { display: flex; align-items: center; gap: 1rem; }
.report-status-search input { min-width: 0; flex: 1; min-height: 3.45rem; border: 1px solid #d9d3c7; border-radius: 999px; padding: 0 1.2rem; color: #071a3d; background: #fff; font: inherit; font-weight: 700; letter-spacing: 0.025em; }
.report-status-search input:focus { outline: none; border-color: #d6a84f; box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.14); }
.report-search-instruction { margin: 1rem 0 0; color: rgba(7, 26, 61, 0.62); font-size: 0.84rem; line-height: 1.5; }
.report-status-feedback { margin: 1rem 0 0; font-weight: 700; }
.report-status-feedback.is-loading { color: #725313; }.report-status-feedback.is-error { color: #991b1b; }
.report-status-feedback:not([hidden]) { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.9rem 1rem; border: 1px solid transparent; border-radius: var(--radius-sm); box-shadow: 0 10px 24px rgba(7, 26, 61, 0.06); line-height: 1.55; }
.report-status-feedback:not([hidden])::before { flex: 0 0 auto; width: 0.65rem; height: 0.65rem; margin-top: 0.42rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px currentColor; content: ""; opacity: 0.2; }
.report-status-feedback.is-error { color: #9a3412; border-color: rgba(180, 35, 24, 0.22); background: linear-gradient(135deg, #fff7f4, #fff0ec); }
.report-status-feedback.is-success { color: #176136; border-color: rgba(47, 154, 95, 0.22); background: linear-gradient(135deg, #f4fff7, #e9f9ee); }
.report-status-feedback.is-loading { color: #725313; border-color: rgba(214, 168, 79, 0.3); background: linear-gradient(135deg, #fffaf0, #fff1cf); }
.report-status-feedback.is-info { color: #0b3f78; border-color: rgba(11, 63, 120, 0.2); background: linear-gradient(135deg, #f4f9ff, #e8f2ff); }
.report-result-card, .report-support-section { width: min(100%, 820px); margin: 1.2rem auto 0; padding: clamp(1.35rem, 5vw, 2.25rem); }
.report-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.report-result-heading .eyebrow { margin: 0 0 0.3rem; }
.report-status-pill { display: inline-flex; flex: 0 0 auto; padding: 0.44rem 0.7rem; border-radius: 999px; background: #fff3d2; color: #795009; font-size: 0.78rem; font-weight: 900; text-transform: capitalize; }
.report-status-pill.is-in-progress { color: #1d4ed8; background: #dbeafe; }.report-status-pill.is-completed { color: #176136; background: #dcfce7; }.report-status-pill.is-error, .report-status-pill.is-failed, .report-status-pill.is-closed { color: #795009; background: #fff3d2; }
.report-status-description { margin: 0.9rem 0 0; color: rgba(7, 26, 61, 0.72); line-height: 1.55; }
.report-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }.report-details div { min-width: 0; }.report-details dt { margin-bottom: 0.28rem; color: rgba(7, 26, 61, 0.56); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }.report-details dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.report-timeline { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid #eadcc3; }.report-timeline h3, .report-error-section h3, .report-delivered-section h3 { margin: 0 0 1rem; font-size: 1rem; }.report-timeline ol { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }.report-timeline li { display: grid; grid-template-columns: 30px 1fr; gap: 0.75rem; color: rgba(7, 26, 61, 0.48); }.report-timeline li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #d9d3c7; border-radius: 50%; background: #fff; font-size: 0.78rem; font-weight: 850; }.report-timeline li.is-complete { color: #071a3d; }.report-timeline li.is-complete > span { border-color: #d6a84f; background: #f4bd55; }.report-timeline strong { display: block; font-size: 0.9rem; }.report-timeline p { margin: 0.18rem 0 0; font-size: 0.84rem; line-height: 1.5; }
.report-error-section, .report-delivered-section { margin-top: 1.35rem; padding: 1rem; border-radius: 14px; }.report-error-section { color: #7f1d1d; background: #fff0f0; border: 1px solid #fecaca; }.report-delivered-section { background: #effcf3; border: 1px solid #bbf7d0; }.report-error-section p, .report-delivered-section p { margin: 0; line-height: 1.55; }.report-delivered-section .button { display: inline-flex; width: auto; min-height: 42px; margin-top: 0.85rem; padding: 0 1rem; }
.report-support-section { text-align: center; }.report-support-section p { margin: 0.65rem auto 1rem; max-width: 520px; color: rgba(7, 26, 61, 0.7); line-height: 1.55; }.report-support-section > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; }.report-support-section .button { width: auto; min-height: 42px; padding: 0 1rem; }.report-support-link { color: #8c5a09; font-weight: 800; }
@media (max-width: 640px) { .report-status-main { width: min(100% - 1.25rem, var(--container)); margin-top: -3.75rem; padding-bottom: 2.5rem; }.report-search-card--overlap { border-radius: 22px; box-shadow: 0 20px 42px rgba(7, 26, 61, 0.18), 0 7px 18px rgba(71, 45, 12, 0.08); }.report-search-card { padding: 1.5rem; }.report-status-search { flex-direction: column; align-items: flex-start; }.report-status-search input { width: 100%; }.report-result-heading { display: grid; }.report-status-pill { justify-self: start; }.report-details { grid-template-columns: 1fr; }.report-support-section > div { flex-direction: column; }.report-support-section .button { width: 100%; } }

/* Homepage-card result hierarchy */
.report-status-main::before { position: absolute; z-index: -1; inset: 8rem -8vw -7rem; background: radial-gradient(circle at 14% 20%, rgba(214, 168, 79, 0.12), transparent 24%), radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.8), transparent 28%); content: ""; pointer-events: none; }
.report-result-card { border-color: rgba(214, 168, 79, 0.28); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-soft); }
.report-result-heading { display: block; }
.report-result-heading .eyebrow { margin: 0 0 0.7rem; }
.report-result-heading h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height: 1.15; }
.report-result-status { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem 1rem; margin-top: 1.6rem; padding: 1.3rem; border: 1px solid rgba(214, 168, 79, 0.24); border-radius: var(--radius-md); background: linear-gradient(135deg, #fffdf8, #fbefd5); }
.report-result-section-label { margin: 0 0 0.3rem; color: #8c5a09; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.report-result-status h3, .report-result-details h3, .report-timeline h3 { margin: 0; color: #071a3d; font-size: 1.05rem; }
.report-result-status .report-status-description { grid-column: 1 / -1; margin: 0.25rem 0 0; }
.report-result-details, .report-timeline { margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid rgba(214, 168, 79, 0.22); }
.report-result-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.report-details { margin-top: 1.15rem; }
.report-details div { padding: 1rem; border: 1px solid rgba(214, 168, 79, 0.16); border-radius: var(--radius-sm); background: rgba(255, 253, 248, 0.82); }
.report-result-actions { margin-top: 1.5rem; }
.report-result-actions .report-error-section, .report-result-actions .report-delivered-section { margin-top: 0; }
.report-result-actions .report-delivered-section + .report-error-section, .report-result-actions .report-error-section + .report-delivered-section { margin-top: 1rem; }

@media (max-width: 640px) {
  .report-status-main::before { inset: 4rem -1rem -4rem; }
  .report-result-status { grid-template-columns: 1fr; }
  .report-status-pill { justify-self: start; }
  .report-result-details, .report-timeline { margin-top: 1.5rem; padding-top: 1.35rem; }
}

/* Five-stage premium report timeline */
.report-timeline ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.45rem; position: relative; }
.report-stage { position: relative; display: block !important; min-width: 0; color: #748092; text-align: center; transition: color 220ms ease; }
.report-stage:not(:last-child)::after { position: absolute; z-index: 0; top: 14px; left: calc(50% + 19px); width: calc(100% - 29px); height: 2px; background: #d9dde5; content: ""; transition: background-color 220ms ease; }
.report-stage__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 0.65rem; border: 1px solid #cfd5df; border-radius: 50%; background: #f8fafc; color: #718096; font-size: 0.76rem; font-weight: 900; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.report-stage strong { display: block; color: inherit; font-size: 0.82rem; }
.report-stage p { margin: 0.32rem auto 0; max-width: 135px; font-size: 0.74rem; line-height: 1.4; }
.report-stage__meta { display: block; margin-top: 0.42rem; font-size: 0.7rem; font-weight: 800; line-height: 1.35; }
.report-stage--completed { color: #8c5a09; }.report-stage--completed .report-stage__icon { border-color: #d6a84f; background: linear-gradient(135deg, #f2d38c, #d6a84f); color: #071a3d; }.report-stage--completed:not(:last-child)::after { background: #d6a84f; }
.report-stage--current { color: #071a3d; }.report-stage--current .report-stage__icon { border-color: #071a3d; background: #071a3d; color: #fff7e8; box-shadow: 0 0 0 4px rgba(214, 168, 79, 0.28); }
.report-stage--pending .report-stage__meta::before { content: "Status: "; }
.report-stage--current .report-stage__meta::before { content: "Status: "; }.report-stage--completed .report-stage__meta::before { content: "Status: "; }

@media (max-width: 700px) {
  .report-timeline ol { grid-template-columns: 1fr; gap: 1rem; }
  .report-stage { display: grid !important; grid-template-columns: 32px 1fr; gap: 0.8rem; text-align: left; }
  .report-stage:not(:last-child)::after { top: 31px; left: 14px; width: 2px; height: calc(100% - 12px); }
  .report-stage__icon { grid-row: 1 / span 2; margin: 0; }
  .report-stage p { max-width: none; margin-left: 0; }.report-stage__meta { margin-top: 0.35rem; }
}

.report-result-card, .report-error-section, .report-delivered-section { transition: opacity 240ms ease, transform 240ms ease, box-shadow 240ms ease; }
.report-result-card { opacity: 0; transform: translateY(12px); }
.report-result-card.is-revealed { opacity: 1; transform: translateY(0); }
.report-error-section, .report-delivered-section { opacity: 0; transform: translateY(10px); }
.report-error-section.is-revealed, .report-delivered-section.is-revealed { opacity: 1; transform: translateY(0); }
.report-error-section { padding: clamp(1.2rem, 4vw, 1.7rem) !important; border: 1px solid rgba(180, 35, 24, 0.3) !important; border-radius: var(--radius-md) !important; background: linear-gradient(135deg, #fff9f7, #ffebe7) !important; box-shadow: 0 16px 34px rgba(127, 29, 29, 0.1); }
.report-error-kicker { margin-bottom: 0.4rem !important; color: #b42318; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.report-error-section h3 { color: #7f1d1d; font-size: 1.22rem; }
.report-error-intro { margin-bottom: 0.85rem !important; color: #7f1d1d; font-weight: 750; }
.report-error-description-label { margin: 0 0 0.25rem !important; color: #a33a2d; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.report-error-description-label + p { color: #651d16; font-weight: 650; }
.report-error-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 0.95rem 0; }
.report-error-details dt { margin-bottom: 0.2rem; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.report-error-details dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.report-error-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.report-error-actions button, .report-error-actions .button { width: auto; min-height: 40px; border-radius: 10px; padding: 0 0.85rem; font: inherit; font-weight: 800; cursor: pointer; }
.report-error-copy { border: 1px solid rgba(7, 26, 61, 0.22); background: rgba(255, 255, 255, 0.78); color: #071a3d; }
.report-error-copy:hover, .report-error-copy:focus-visible { border-color: #d6a84f; color: #071a3d; box-shadow: 0 8px 18px rgba(214, 168, 79, 0.16); }
.report-error-actions .button { color: #2d1b00; background: linear-gradient(135deg, #d6a84f 0%, #f2d38c 100%); box-shadow: 0 10px 22px rgba(214, 168, 79, 0.2); text-decoration: none; }
.report-delivered-section { padding: clamp(1.2rem, 4vw, 1.7rem) !important; border-color: rgba(214, 168, 79, 0.46) !important; border-radius: var(--radius-md) !important; background: linear-gradient(135deg, #fffdf7, #f7e7bc) !important; color: #071a3d; box-shadow: 0 16px 34px rgba(71, 45, 12, 0.11); }.report-delivered-section .eyebrow { margin: 0 0 0.4rem; }.report-delivered-section h3 { font-size: 1.22rem; }.report-delivery-note { margin-top: 0.65rem !important; color: rgba(7, 26, 61, 0.7); font-style: italic; }.report-delivery-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin: 1.1rem 0; }.report-delivery-details div { padding: 0.8rem; border: 1px solid rgba(214, 168, 79, 0.2); border-radius: 12px; background: rgba(255, 255, 255, 0.56); }.report-delivery-details dt { margin-bottom: 0.22rem; color: rgba(7, 26, 61, 0.55); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }.report-delivery-details dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }

@media (max-width: 700px) { .report-error-details { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .report-delivery-details { grid-template-columns: 1fr; } }
