:root {
  color-scheme: light;
  --brand-navy: #08204a;
  --brand-orange: #ff5a10;
  --color-text: #08204a;
  --color-muted: #536681;
  --color-text-muted: var(--color-muted);
  --color-disabled: #738198;
  --color-brand-primary: var(--brand-navy);
  --surface-page: #f4f6f9;
  --surface-panel: #fff;
  --surface-muted: #f0f3f8;
  --surface-selected: #e7edf6;
  --border-subtle: #dce3ee;
  --border-strong: #c4cfe0;
  --focus-ring: #2864b4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--surface-page);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body { display: flex; flex-direction: column; min-height: 100dvh; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: var(--color-text); cursor: pointer; }
button:disabled { cursor: default; }
button, a, input, select, [tabindex] { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus-ring); box-shadow: 0 0 0 4px rgb(40 100 180 / .12); }
svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20; padding: 12px 18px; border-radius: 6px; background: var(--brand-navy); color: #fff; }
.skip-link:focus { top: 12px; }
.app-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 0 32px; border-bottom: 1px solid var(--border-subtle); background: var(--surface-panel); flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--color-text); text-decoration: none; min-width: 0; }
.brand img { display: block; width: 104px; height: 26px; object-fit: contain; }
.brand-divider { height: 25px; width: 1px; background: var(--border-subtle); }
.brand-name { font-size: 14px; letter-spacing: -.2px; white-space: nowrap; }
.brand-name strong { font-weight: 750; }
.main-shell { width: 100%; max-width: 1600px; margin: 0 auto; padding: 32px; flex: 1; min-width: 0; }
.hub-shell { display: grid; place-items: center; }
body[data-signed-in="true"] .hub-shell { display: block; }
.report-section { width: 100%; }
.reports-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.auth-loading { display: grid; justify-items: center; gap: 24px; padding: 32px; color: var(--color-muted); font-size: 12px; }
.auth-loading img { width: 104px; height: auto; }
.auth-loading-line { width: 160px; height: 3px; overflow: hidden; border-radius: 4px; background: var(--border-subtle); }
.auth-loading-line::after { content: ""; display: block; width: 45%; height: 100%; background: var(--brand-orange); animation: auth-loading 1.3s ease-in-out infinite alternate; }
@keyframes auth-loading { to { transform: translateX(123%); } }
@media (prefers-reduced-motion: reduce) { .auth-loading-line::after { animation: none; width: 100%; } }
@media (min-width: 761px) and (max-width: 1100px) { .reports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section-heading { margin: 5px 0 24px; }
.section-heading h1 { margin: 0; font-size: 27px; letter-spacing: -.65px; font-weight: 650; }
.report-link { display: flex; flex-direction: column; min-width: 0; padding: 25px; border: 1px solid var(--border-subtle); border-radius: 9px; background: var(--surface-panel); text-decoration: none; box-shadow: 0 4px 18px rgb(8 32 74 / .025); transition: border-color .16s, box-shadow .16s; }
.report-link:hover { border-color: var(--border-strong); box-shadow: 0 6px 24px rgb(8 32 74 / .07); }
.report-link-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 27px; }
.report-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 8px; background: var(--surface-muted); color: var(--color-brand-primary); }
.report-icon svg { width: 23px; height: 23px; }
.report-state { color: var(--color-muted); font-size: 11px; }
.report-link h2 { margin: 0; font-size: 21px; letter-spacing: -.4px; font-weight: 650; }
.report-link > p { margin: 12px 0 26px; max-width: 350px; color: var(--color-muted); font-size: 13px; line-height: 1.7; }
.report-link-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-subtle); font-size: 12px; font-weight: 650; }
.report-link-footer > svg { color: var(--brand-orange); }
.report-card-skeleton { pointer-events: none; }
.skeleton-block { display: block; border-radius: 4px; background: var(--border-subtle); animation: report-skeleton-pulse 1.4s ease-in-out infinite alternate; }
.report-skeleton-icon { width: 45px; height: 45px; border-radius: 8px; }
.report-skeleton-state { width: 90px; height: 11px; }
.report-skeleton-title { width: 75%; height: 26px; }
.report-skeleton-copy { display: grid; gap: 10px; margin: 12px 0 26px; }
.report-skeleton-copy .skeleton-block { height: 12px; }
.report-skeleton-copy .skeleton-block:last-child { width: 65%; }
.report-skeleton-footer { width: 105px; height: 18px; }
@keyframes report-skeleton-pulse { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skeleton-block { animation: none; } }
.reports-notice { display: flex; align-items: baseline; gap: 12px; margin: -10px 0 20px; color: var(--color-muted); font-size: 12px; }
.reports-notice p { margin: 0; line-height: 1.6; }
.icon-button, .primary-button, .secondary-button, .text-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; border: 1px solid transparent; border-radius: 6px; padding: 9px 13px; background: transparent; font-size: 12px; font-weight: 650; white-space: nowrap; text-decoration: none; }
.icon-button { width: 40px; padding: 9px; }
.primary-button { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }
.primary-button:hover:not(:disabled) { background: #163761; }
.primary-button:disabled { opacity: .55; }
.secondary-button { border-color: var(--border-strong); background: var(--surface-panel); color: var(--color-text); }
.text-button { padding-inline: 3px; color: var(--color-brand-primary); }
.login-view { display: grid; grid-template-columns: .9fr 1.1fr; width: 100%; max-width: 960px; min-height: 555px; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-panel); box-shadow: 0 18px 70px rgb(8 32 74 / .07); }
.login-brand-panel { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; padding: 36px; background: var(--brand-navy); color: #fff; }
.login-brand-panel > img { filter: brightness(0) invert(1); }
.login-brand-copy { position: relative; z-index: 1; margin-top: 83px; }
.login-kicker { font-size: 14px; font-weight: 600; letter-spacing: 2.5px; color: rgb(255 255 255 / .7); }
.login-brand-copy h1 { margin: 8px 0 15px; font-size: 56px; font-weight: 700; letter-spacing: -2.5px; line-height: 1.08; }
.login-brand-copy p { max-width: 230px; margin: 0; font-size: 14px; line-height: 1.7; color: rgb(255 255 255 / .75); }
.login-brand-bottom { position: relative; z-index: 1; margin-top: auto; padding-top: 75px; font-size: 10px; letter-spacing: .4px; color: rgb(255 255 255 / .5); }
.login-grid { position: absolute; z-index: 0; display: grid; grid-template-columns: repeat(3, 75px); gap: 12px; right: -92px; bottom: 55px; transform: rotate(-16deg); opacity: .55; }
.login-grid i { aspect-ratio: 1; border: 1px solid rgb(255 255 255 / .18); border-radius: 7px; }
.login-grid i:nth-child(5) { border-color: var(--brand-orange); background: var(--brand-orange); }
.login-grid i:nth-child(2), .login-grid i:nth-child(8) { background: rgb(255 255 255 / .04); }
.login-content { display: flex; flex-direction: column; justify-content: center; padding: 52px 48px 26px; min-width: 0; }
.login-welcome { margin: auto 0; }
.login-eyebrow { color: var(--color-muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.login-welcome h2 { margin: 14px 0 16px; font-size: 31px; line-height: 1.25; letter-spacing: -.85px; font-weight: 650; }
.login-welcome > p { max-width: 330px; color: var(--color-muted); font-size: 13px; line-height: 1.7; }
.login-welcome .sign-in-button { justify-content: center; width: 100%; margin-top: 18px; min-height: 46px; font-size: 12px; }
.sign-in-button .microsoft-logo { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.login-welcome .login-status { min-height: 36px; margin: 12px 0 0; font-size: 11px; }
.login-retry { margin-top: 4px; }
.login-preferences { padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--border-subtle); }
.login-preferences .theme-control { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.login-preferences .theme-control select { max-width: 190px; }
.no-script { color: var(--color-muted); font-size: 12px; }
.callback-page { justify-content: center; align-items: center; padding: 24px; }
.callback-panel { width: 100%; max-width: 480px; padding: 32px; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--surface-panel); }
.callback-panel h1 { margin: 28px 0 12px; font-size: 22px; }
.callback-panel p { color: var(--color-muted); line-height: 1.7; }
.callback-panel a { margin-top: 16px; }
@media (max-width: 760px) {
  .app-header { min-height: 62px; padding-inline: 18px; gap: 10px; }
  .brand { gap: 12px; }
  .brand img { width: 114px; height: 24px; }
  .brand-divider { display: none; }
  .brand-name { display: flex; flex-direction: column; justify-content: space-between; height: 24px; font-size: 12px; line-height: 12px; }
  .main-shell { padding: 20px 18px; }
  .section-heading { margin: 9px 0 22px; }
  .section-heading h1 { font-size: 24px; }
  .reports-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .report-link { padding: 23px; }
  .reports-notice { align-items: flex-start; flex-direction: column; gap: 2px; }
  .login-view { grid-template-columns: 1fr; max-width: 440px; min-height: 0; }
  .login-brand-panel { padding: 25px; }
  .login-brand-copy { margin-top: 28px; }
  .login-kicker { font-size: 11px; }
  .login-brand-copy h1 { margin: 5px 0 10px; font-size: 40px; letter-spacing: -1.5px; }
  .login-brand-copy p { max-width: 290px; font-size: 12px; }
  .login-brand-bottom { display: none; }
  .login-grid { bottom: 20px; right: -50px; grid-template-columns: repeat(3, 48px); gap: 8px; }
  .login-content { padding: 28px 25px 20px; }
  .login-welcome h2 { margin: 10px 0 12px; font-size: 25px; }
  .login-welcome > p { font-size: 12px; }
  .login-preferences { margin-top: 17px; padding-top: 17px; }
}
@media (max-width: 360px) {
  .brand { gap: 9px; }
  .brand-name { font-size: 11px; }
  .main-shell { padding: 14px 12px; }
  .login-content { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
