:root {
  --report-navy: #07121a;
  --report-indigo: #217eaa;
  --report-action: #217eaa;
  --report-action-2: #165f83;
  --report-required: #b94a48;
  --report-ink: #07121a;
  --report-muted: #5f7881;
  --report-border: #d6e0e3;
  --report-canvas: #f2f2f3;
  --report-focus: #217eaa;
  --report-danger: #b94a48;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.reporting-page { margin: 0; min-height: 100vh; background: var(--report-canvas); color: var(--report-ink) !important; font-family: Inter, sans-serif; }
.reporting-page .material-symbols-outlined { font-size: 20px; }
.reporting-shell { min-height: 100vh; margin-left: 256px; padding-bottom: 92px; }
.reporting-topbar { height: 64px; padding: 0 28px; background: #eeeeee; color: var(--report-ink) !important; border-bottom: 1px solid var(--report-border); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15; }
.reporting-back-link, .reporting-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--report-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.reporting-brand { font-size: 15px; }
.reporting-brand-logo img { width: 30px; height: 30px; object-fit: contain; }
.reporting-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 38px 0; }
.reporting-loading { min-height: 55vh; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--report-muted); }
.reporting-spin { animation: reporting-spin 1s linear infinite; }
@keyframes reporting-spin { to { transform: rotate(360deg); } }
.reporting-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.reporting-eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 800; color: var(--report-indigo); }
.reporting-heading h1 { margin: 0; color: var(--report-navy); font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; }
.reporting-heading p:last-child { max-width: 680px; margin: 8px 0 0; color: var(--report-muted); font-size: 14px; line-height: 1.55; }
.reporting-save-state { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; color: #067647; background: #ecfdf3; border: 1px solid #abefc6; border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.reporting-save-state.is-saving { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }
.reporting-save-state.is-error { color: var(--report-danger); background: #fef3f2; border-color: #fecdca; }
.reporting-stepper { display: flex; gap: 0; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.reporting-stepper::-webkit-scrollbar { display: none; }
.reporting-step { flex: 1 0 120px; min-width: 0; border: 0; border-bottom: 3px solid var(--report-border); background: transparent; color: var(--report-muted); padding: 5px 10px 13px; text-align: left; cursor: pointer; font: inherit; }
.reporting-step span:first-child { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.reporting-step span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.reporting-step[aria-current="step"] { color: var(--report-indigo); border-color: var(--report-indigo); }
.reporting-step.is-complete { color: #067647; border-color: #6ce9a6; }
.reporting-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.reporting-card { border: 1px solid var(--report-border); border-radius: 14px; background: #eeeeee; color: var(--report-ink) !important; box-shadow: 0 8px 24px rgba(7, 18, 26, .08); }
.anonymous-destination { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 13px 16px; border: 1px solid #b2ddff; border-radius: 10px; background: #eff8ff; color: #184e77; font-size: 14px; line-height: 1.45; }
.anonymous-destination .material-symbols-outlined { color: var(--report-indigo); }
.anonymous-destination strong { color: var(--report-navy); }
.reporting-template-picker { max-width: 920px; margin: 36px auto; padding: 28px; }
.reporting-template-picker h1 { margin: 4px 0 8px; color: var(--report-navy); font-size: 28px; }
.reporting-template-picker > p:not(.reporting-eyebrow) { margin: 0; color: var(--report-muted); line-height: 1.5; }
.reporting-template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.reporting-template-card { min-height: 112px; padding: 18px; border: 1px solid var(--report-border); border-radius: 12px; background: #eeeeee; text-align: left; color: var(--report-ink); cursor: pointer; }
.reporting-template-card:hover, .reporting-template-card:focus-visible { border-color: var(--report-indigo); background: #e8f2f6; outline: 3px solid rgba(33, 126, 170, .18); }
.reporting-template-card strong, .reporting-template-card span { display: block; }
.reporting-template-card strong { font-size: 15px; }
.reporting-template-card span { margin-top: 7px; color: var(--report-muted); font-size: 13px; line-height: 1.45; }
.reporting-form-card { padding: 30px; min-height: 450px; }
.reporting-step-heading { padding-bottom: 20px; border-bottom: 1px solid #edf0f5; margin-bottom: 24px; }
.reporting-step-heading > p:first-child { margin: 0 0 5px; color: var(--report-indigo); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; }
.reporting-step-heading h2 { margin: 0; color: var(--report-navy); font-size: 22px; }
.reporting-step-heading > p:last-child { margin: 7px 0 0; color: var(--report-muted); font-size: 13px; line-height: 1.5; }
.reporting-field { margin-bottom: 22px; }
.reporting-field[hidden] { display: none; }
.reporting-field label, .reporting-field legend { display: block; margin: 0 0 7px; color: #07121a; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.reporting-required { color: var(--report-required); }
.reporting-helper, .reporting-counter { margin: 6px 0 0; color: var(--report-muted); font-size: 12px; line-height: 1.45; }
.reporting-counter { text-align: right; }
.reporting-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .reporting-field select, .reporting-field textarea { width: 100%; min-height: 44px; border: 1px solid #8ca4ac; border-radius: 8px; background: #f8fafb; color: var(--report-ink); padding: 10px 12px; font: inherit; font-size: 15px; outline: none; }
.reporting-field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.reporting-field input:focus, .reporting-field select:focus, .reporting-field textarea:focus, .reporting-choice:focus-within { border-color: var(--report-focus); box-shadow: 0 0 0 3px rgba(33, 126, 170, .20); }
.reporting-field.is-invalid input, .reporting-field.is-invalid select, .reporting-field.is-invalid textarea, .reporting-field.is-invalid .reporting-choice-list { border-color: #f04438; }
.reporting-error { margin: 6px 0 0; color: var(--report-danger); font-size: 12px; font-weight: 600; }
.reporting-choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; border: 1px solid transparent; border-radius: 8px; }
.reporting-choice { display: flex; gap: 9px; align-items: flex-start; min-height: 44px; margin: 0 !important; padding: 10px 11px; border: 1px solid var(--report-border); border-radius: 8px; cursor: pointer; font-weight: 500 !important; }
.reporting-choice input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--report-indigo); }
.reporting-boolean { display: flex; gap: 9px; }
.reporting-boolean .reporting-choice { flex: 1; }
.reporting-fieldset { padding: 0; margin: 0; border: 0; }
.reporting-source-badge { margin-left: 7px; border-radius: 999px; padding: 2px 6px; color: #07121a; background: #dfe8eb; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px; }
.reporting-upload { display: block; padding: 18px; border: 1px dashed #8ca4ac; border-radius: 9px; background: #f2f2f3; text-align: center; cursor: pointer; }
.reporting-upload input { display: block; max-width: 100%; margin: 9px auto 0; }
.reporting-repeat-list { display: grid; gap: 10px; }
.reporting-repeat-item { padding: 13px; border: 1px solid var(--report-border); border-radius: 9px; display: flex; align-items: center; gap: 9px; }
.reporting-repeat-item input { flex: 1; }
.reporting-icon-button { border: 0; background: #e8f2f6; border-radius: 7px; color: var(--report-danger); width: 38px; height: 38px; cursor: pointer; }
.reporting-add-row { margin-top: 9px; }
.reporting-summary { position: sticky; top: 86px; padding: 22px; }
.reporting-summary-toggle { display: none; }
.reporting-summary h2 { margin: 0 0 18px; color: var(--report-navy); font-size: 16px; }
.reporting-summary dl { margin: 0; display: grid; gap: 12px; }
.reporting-summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.reporting-summary dt { color: var(--report-muted); font-size: 12px; }
.reporting-summary dd { margin: 0; max-width: 160px; text-align: right; font-size: 12px; font-weight: 700; }
.reporting-progress { height: 6px; margin: 14px 0 20px; border-radius: 99px; background: #d6e0e3; overflow: hidden; }
.reporting-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: #12b76a; transition: width .25s; }
.reporting-missing { padding-top: 17px; border-top: 1px solid #eaecf0; }
.reporting-missing h3 { margin: 0 0 8px; font-size: 12px; }
.reporting-missing ul { margin: 0; padding-left: 18px; color: var(--report-muted); font-size: 12px; line-height: 1.55; }
.reporting-missing li + li { margin-top: 4px; }
.reporting-boundary { display: flex; gap: 7px; margin: 20px 0 0; padding: 11px; border-radius: 8px; color: #415d67; background: #e8f2f6; font-size: 11px; line-height: 1.5; }
.reporting-review { display: grid; gap: 16px; }
.reporting-review-section { border-bottom: 1px solid #eaecf0; padding-bottom: 14px; }
.reporting-review-section:last-child { border: 0; }
.reporting-review-section h3 { margin: 0 0 9px; color: var(--report-navy); font-size: 14px; }
.reporting-review-row { display: grid; grid-template-columns: minmax(130px, .7fr) 1fr; gap: 15px; padding: 5px 0; font-size: 13px; }
.reporting-review-row dt { color: var(--report-muted); }
.reporting-review-row dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.reporting-inline-alert, .reporting-error-card { border: 1px solid #fecdca; border-radius: 9px; background: #fef3f2; color: var(--report-danger); padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.reporting-error-card { display: flex; gap: 14px; margin: 60px auto; max-width: 660px; padding: 22px; }
.reporting-error-card[hidden] { display: none; }
.reporting-error-card h1 { margin: 0 0 6px; font-size: 19px; }
.reporting-actions { position: fixed; z-index: 20; left: 256px; right: 0; bottom: 0; border-top: 1px solid var(--report-border); background: rgba(238,238,238,.96); backdrop-filter: blur(10px); padding: 13px 24px calc(13px + env(safe-area-inset-bottom)); }
.reporting-actions-inner { width: min(1120px, 100%); margin: 0 auto; display: flex; gap: 10px; justify-content: flex-end; }
.reporting-button { min-height: 42px; border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.reporting-button:focus-visible, .reporting-step:focus-visible, .reporting-summary-toggle:focus-visible { outline: 3px solid rgba(33,126,170,.35); outline-offset: 2px; }
.reporting-button:disabled { opacity: .55; cursor: wait; }
.reporting-button-primary { color: #fff; background: linear-gradient(135deg, var(--report-action), var(--report-action-2)); box-shadow: 0 14px 30px rgba(33, 126, 170, .24); }
.reporting-button-secondary { color: var(--report-navy); border-color: #8ca4ac; background: #f8fafb; }
.reporting-button-quiet { margin-right: auto; color: #415d67; background: transparent; }
.reporting-dialog-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,18,26,.55); }
.reporting-dialog-backdrop[hidden] { display: none; }
.reporting-dialog { width: min(440px, 100%); border-radius: 14px; background: #eeeeee; padding: 26px; box-shadow: 0 25px 60px rgba(7,18,26,.28); }
.reporting-dialog-icon { color: var(--report-indigo); font-size: 30px !important; }
.reporting-dialog h2 { margin: 10px 0 7px; color: var(--report-navy); font-size: 20px; }
.reporting-dialog p { margin: 0; color: var(--report-muted); font-size: 13px; line-height: 1.55; }
.reporting-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

@media (max-width: 900px) {
  .reporting-layout { grid-template-columns: 1fr; }
  .reporting-summary { position: static; padding: 0; order: -1; }
  .reporting-summary-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 0; background: transparent; padding: 15px 17px; color: var(--report-navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  .reporting-summary-toggle > span:first-child { display: inline-flex; gap: 7px; align-items: center; }
  .reporting-summary-body { display: none; padding: 0 17px 17px; }
  .reporting-summary.is-open .reporting-summary-body { display: block; }
  .reporting-summary.is-open .reporting-summary-chevron { transform: rotate(180deg); }
  .reporting-summary-body > h2 { display: none; }
}

@media (max-width: 720px) {
  #sidebar { display: none !important; }
  .reporting-shell { margin-left: 0; padding-bottom: 96px; }
  .reporting-actions { left: 0; padding-left: 12px; padding-right: 12px; }
  .reporting-topbar { height: 58px; padding: 0 16px; }
  .reporting-brand [data-tenant-name] { display: none; }
  .reporting-main { width: calc(100% - 32px); padding: 24px 0; }
  .reporting-heading { display: block; margin-bottom: 20px; }
  .reporting-save-state { margin-top: 13px; }
  .reporting-stepper { margin-left: -16px; margin-right: -16px; padding-left: 16px; }
  .reporting-step { flex-basis: 90px; padding-left: 5px; padding-right: 5px; }
  .reporting-step span:last-child { max-width: 86px; }
  .reporting-form-card { padding: 21px 17px; min-height: 360px; }
  .reporting-template-picker { margin: 10px auto; padding: 20px 16px; }
  .reporting-template-picker h1 { font-size: 23px; }
  .reporting-template-list { grid-template-columns: 1fr; }
  .reporting-choice-list { grid-template-columns: 1fr; }
  .reporting-actions-inner { gap: 7px; }
  .reporting-actions .reporting-button { min-width: 0; padding-left: 11px; padding-right: 11px; }
  #reporting-save { padding-left: 9px; padding-right: 9px; }
  .reporting-review-row { grid-template-columns: 1fr; gap: 2px; }
  .reporting-dialog-actions { flex-direction: column-reverse; }
  .reporting-dialog-actions .reporting-button { width: 100%; }
}

@media (max-width: 380px) {
  .reporting-main { width: calc(100% - 24px); }
  .reporting-stepper { margin-left: -12px; margin-right: -12px; padding-left: 12px; }
  .reporting-actions .material-symbols-outlined { display: none; }
  .reporting-actions .reporting-button { font-size: 12px; }
}
