/* app.css — hand-written, no framework, no build step, no preprocessor.
 *
 * Three things this stylesheet is trying to do well:
 *
 * 1. A PHONE IS THE HARD CASE. The director report is five dense tables; the
 *    member report is two more. Every table lives in a labelled scroll box
 *    (div.table-scroll, built by the view that owns the table: js/director.js
 *    and the member view in js/dashboard.js, each through its own scroll-box
 *    helper) so a narrow screen scrolls the table sideways instead of squeezing
 *    columns into unreadable slivers.
 *    The box carries tabindex="0" in the markup precisely so a keyboard can
 *    scroll it: a scrollable region that cannot be focused cannot be scrolled
 *    by keyboard (WCAG 2.1.1). Focus styles below make that focus visible.
 *
 * 2. MONEY MUST SCAN. Figures are exact-decimal strings with thousands
 *    separators, so every numeric cell is right-aligned with tabular numerals
 *    — digits line up column-wise, and the eye can compare magnitudes down a
 *    column instead of parsing each one.
 *
 * 3. INCOME AND EXPENSE ARE NOT DISTINGUISHED BY COLOUR ALONE. A red/green
 *    pair is invisible to a red-green colour-blind reader, and this data is
 *    money. Each figure class therefore carries a redundant, non-colour cue:
 *      income   — bold, solid underline, and a plus marker
 *      expense  — dotted underline
 *      net      — bold, no underline, so it reads as the result rather than
 *                 one side of a pair
 *    The marker is decorative only: the column header names the column
 *      ("Income", "Expenses", "Net") and a negative amount already carries a
 *      minus sign in its text, so nothing a screen reader needs is CSS-only.
 *    Colour is applied on top of those cues, never instead of them. All text
 *    and figure colours below were chosen to clear WCAG AA (4.5:1 for body
 *    text, 3:1 for large text and UI borders) against their own background in
 *    both schemes; the ratios are recorded in task-12b4-report.md.
 *
 * Dark scheme follows the reader's system preference (prefers-color-scheme)
 * rather than a toggle, and prefers-reduced-motion removes the only
 * transitions in the file.
 */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  --page-bg: #f6f7f9;
  --surface: #ffffff;
  --surface-alt: #eef1f5;
  --border: #d3d7dd;
  --border-strong: #a9b0b9;

  /* 17.6:1 on --surface */
  --text: #16191d;
  /* 6.2:1 on --surface — muted, but still AA for body text */
  --text-muted: #5b626b;
  --link: #0b3d91;         /* 10.0:1 on --surface */
  --focus: #0b3d91;

  --figure-income: #146c33;   /* 6.5:1 on --surface */
  --figure-expense: #a11a17;  /* 7.9:1 on --surface */
  --figure-total: #16191d;    /* 17.6:1 — the net line is the headline */
  --warning: #7a4a00;         /* 7.5:1 on --surface */
  --danger-surface: #fdeceb;
  --danger-border: #a11a17;
  --notice-surface: #fdf5e6;
  --notice-border: #7a4a00;

  --radius: 6px;
  --gap: 1rem;
  --measure: 78ch;
  /* The report is tables of money; prose keeps --measure, the report gets
     the width a ledger needs on a desktop. */
  --content-width: 72rem;
  --transition: 120ms ease-out;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #10141a;
    --surface: #171c23;
    --surface-alt: #1f262f;
    --border: #2f3944;
    --border-strong: #4a5764;

    /* 14.1:1 on --surface */
    --text: #e6e9ee;
    /* 8.4:1 on --surface */
    --text-muted: #aeb6c0;
    --link: #8ab8ff;         /* 8.5:1 on --surface */
    --focus: #8ab8ff;

    --figure-income: #5fdb98;   /* 9.8:1 on --surface */
    --figure-expense: #ff9b96;  /* 8.5:1 on --surface */
    --figure-total: #e6e9ee;
    --warning: #f0c36d;         /* 10.4:1 on --surface */
    --danger-surface: #2a1a1c;
    --danger-border: #ff9b96;
    --notice-surface: #2a2317;
    --notice-border: #f0c36d;
  }
}

/* Motion is decoration; if the reader has asked for none, there is none. */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0ms;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Focus — visible on everything, and never removed without a replacement.
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Browsers without :focus-visible still get a ring. */
:focus:not(:focus-visible) {
  outline: none;
}

/* The scroll boxes are focusable (tabindex="0") but are not links, so they
   need their own, heavier ring: a keyboard user has to be able to see that
   focus is inside a scrollable region and that the region scrolls sideways. */
.table-scroll:focus,
.table-scroll:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -1px;
}

a,
button,
[tabindex] {
  transition: background-color var(--transition), color var(--transition);
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 1rem 3rem;
  background-color: var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* The skip link is the first focusable thing on the page and is off-screen
   until focused. It is hidden by position, not by display:none, so it stays in
   the tab order. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background-color: var(--surface);
  color: var(--link);
  font-weight: 600;
  border: 2px solid var(--focus);
  border-radius: 0 0 var(--radius) 0;
  z-index: 10;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
}

.page-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.5rem 0 0.5rem;
}

.page-title {
  margin: 0;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.2;
}

.page-tagline {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: var(--measure);
}

.main-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.app-root > .region {
  display: block;
  margin: 0 0 1.25rem;
}

.app-root > .region:empty {
  margin: 0;
}

.noscript-notice {
  max-width: var(--measure);
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  background-color: var(--notice-surface);
  border-left: 4px solid var(--notice-border);
  color: var(--text);
}

/* Visible to a screen reader, invisible on screen. Used for the page live
   region; announcements are text, not visual events. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--link);
}

a:hover {
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   Panels: auth, loading, errors, freshness
   -------------------------------------------------------------------------- */
.auth-panel,
.member-view,
.director-view {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.auth-panel h2,
.view-heading {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.section-heading {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.05rem;
}

.view-heading:focus-visible {
  outline-offset: 4px;
}

.auth-error,
.member-view-error,
.director-view-error {
  background-color: var(--danger-surface);
  border-color: var(--danger-border);
}

.auth-error .view-heading,
.error-notice,
.director-view-error .view-heading {
  color: var(--figure-expense);
}

/* The sign-out control is a real form button, not a link, so it inherits the
   focus ring and the button font without any extra styling. Only its placement
   in the panel is ours. */
.auth-signout {
  margin-top: 0.75rem;
  cursor: pointer;
}

.auth-detail,
.error-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  /* Operator-facing detail: a long server line must not stretch the phone. */
  overflow-wrap: anywhere;
}

.loading-notice,
.auth-notice,
.empty-notice,
.trend-empty,
.unpriced-notice,
.estimate-note,
.freshness-detail {
  color: var(--text-muted);
  margin: 0.35rem 0;
}

.estimate-note,
.unpriced-notice {
  font-size: 0.95rem;
}

/* Freshness: the report date is always stated, and "we cannot tell how old
   this is" is styled differently again from "this is old". */
.freshness {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-left: 4px solid var(--border-strong);
  background-color: var(--surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.freshness-date {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.freshness-stale {
  border-left-color: var(--warning);
}

.freshness-stale .freshness-detail {
  color: var(--warning);
  font-weight: 600;
}

.freshness-unknown {
  border-left-color: var(--notice-border);
}

.freshness-unknown .freshness-detail {
  color: var(--text);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Figure lists (wallet balance, asset value, pricing metadata)
   -------------------------------------------------------------------------- */
.pricing-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem 1rem;
  margin: 0.5rem 0;
}

.figure-term {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.figure-value {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 32em) {
  .pricing-meta {
    grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  }
}

.pricing-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.summary,
.trends,
.director-body section {
  margin-top: 1.5rem;
}

/* The scroll box. This is the element each view wraps its dense tables in
   (js/director.js and the member view in js/dashboard.js, each through its own
   scroll-box helper), and the element app.css makes scrollable. max-width keeps
   it inside the page on a phone; overflow-x is what makes it scroll; tabindex
   (in the markup) is what makes it keyboard-scrollable. */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  /* Momentum scrolling on a touch screen; overridden under reduced motion. */
  scroll-behavior: smooth;
}

table {
  width: 100%;
  border-collapse: collapse;
  /* Figures are the point: keep the digits the same width in every cell. */
  font-variant-numeric: tabular-nums;
}

.table-caption {
  caption-side: top;
  text-align: left;
  padding: 0.5rem 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

th,
td {
  padding: 0.4rem 0.6rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  /* A long ESI-derived description or item name must wrap rather than push
     the money columns off the screen — but between words. `anywhere` broke
     "Test Widget" into one letter per line on a phone. */
  overflow-wrap: break-word;
}


.cell-description,
.cell-reference {
  min-width: 10rem;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--surface-alt);
  border-bottom: 2px solid var(--border-strong);
  white-space: nowrap;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* The row label is what a row is about; it keeps a readable width and the
   table scrolls sideways instead. */
tbody th {
  font-weight: 600;
  min-width: 7rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* --- numeric alignment ---------------------------------------------------- */
/* Right-aligned with tabular numerals so a column of money can be scanned
   vertically. The class hooks are the ones the views already emit. */
.col-amount,
.col-value,
.col-total,
.col-unit-price,
.col-price,
.col-when,
.col-quantity,
.cell-amount,
.cell-value,
.cell-total,
.cell-unit-price,
.cell-when,
.cell-quantity,
.cell-location,
.row-value,
.figure-value,
.trend-income,
.trend-expense,
.trend-net,
.col-income,
.col-expense,
.col-net,
.cell-income,
.cell-expense,
.cell-net,
.trend-table-7 .col-1,
.trend-table-7 .col-2,
.trend-table-7 .col-3,
.trend-table-30 .col-1,
.trend-table-30 .col-2,
.trend-table-30 .col-3 {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Dates and timestamps are numbers too, but they read better right-aligned
   against the figures beside them than left-aligned under a text column. */
.trend-date {
  white-space: nowrap;
}

.cell-direction {
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

/* Buy and sell are words, not hues: the cell says "Buy" or "Sell" in full. */
.director-direction-buy,
.director-direction-sell {
  font-weight: 700;
}

.director-direction-buy::before {
  content: "▲ ";
}

.director-direction-sell::before {
  content: "▼ ";
}

.director-direction-unstated {
  color: var(--text-muted);
  font-weight: 400;
}

/* --- income / expense / net: more than colour ----------------------------- */
/* The non-colour cue is a sign marker, not an underline: underlined figures
   read as links. The column header or the word beside the figure names it, so
   the marker adds nothing a screen reader needs. */
.trend-income,
.cell-income,
.figure-income {
  color: var(--figure-income);
}

.trend-income::before,
.cell-income::before,
.figure-income::before {
  content: "+ ";
}

.trend-expense,
.cell-expense,
.figure-expense {
  color: var(--figure-expense);
}

.trend-expense::before,
.cell-expense::before,
.figure-expense::before {
  content: "\2212  ";
}

.trend-net,
.cell-net {
  color: var(--figure-total);
  font-weight: 700;
}

/* A net figure is coloured by its sign; the minus is already in its text. */
.figure-positive {
  color: var(--figure-income);
}

.figure-negative {
  color: var(--figure-expense);
}

.trend-heading {
  margin: 0.75rem 0 0.25rem;
  font-size: 1rem;
}

.trend-block {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */
@media (max-width: 40em) {
  body {
    font-size: 0.95rem;
    padding: 0 0.6rem 2rem;
  }

  .auth-panel,
  .member-view,
  .director-view {
    padding: 0.75rem;
  }

  /* Denser tables so more of a row fits before the sideways scroll. */
  th,
  td {
    padding: 0.35rem 0.45rem;
  }

  thead th {
    font-size: 0.8rem;
  }

  .table-caption {
    font-size: 0.85rem;
  }
}

/* Even narrower still: the two-column member summary tables (label, value) are
   the ones most at risk, so they keep a readable minimum width and scroll
   rather than compressing their figures. */
@media (max-width: 26em) {
  .trend-table-7,
  .trend-table-30 {
    min-width: 20rem;
  }
}

/* --------------------------------------------------------------------------
   Director tools (operations.js). Same surface as the other panels; the facts
   are a definition list so label and value stay paired for screen readers.
   -------------------------------------------------------------------------- */
.ops-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap);
  margin-top: var(--gap);
}

.ops-heading {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.ops-text {
  margin: 0.35rem 0;
}

.ops-facts {
  margin: 0 0 0.75rem;
}

.ops-fact {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--border);
}

.ops-fact dt {
  font-weight: 600;
  min-width: 14rem;
}

.ops-fact dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ops-running {
  background-color: var(--notice-surface);
  border-left: 4px solid var(--notice-border);
  padding: 0.4rem 0.6rem;
  color: var(--warning);
}

.ops-actions > * + * {
  margin-top: 0.75rem;
}

.ops-link {
  color: var(--link);
  font-weight: 600;
}

.ops-button {
  cursor: pointer;
}

.ops-danger summary {
  cursor: pointer;
  color: var(--figure-expense);
}

.ops-button-danger {
  border: 1px solid var(--danger-border);
  background-color: var(--danger-surface);
  color: var(--figure-expense);
}

/* --------------------------------------------------------------------------
   Buttons. The sign-in link and the form buttons share one look, so the
   primary action on each screen is obvious and a native button never sits
   unstyled next to a styled link.
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
}

.button-primary {
  background-color: var(--link);
  border-color: var(--link);
  color: var(--surface);
}

.button-primary:hover {
  filter: brightness(1.12);
}

.button-secondary {
  background-color: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  background-color: var(--surface-alt);
}

/* --------------------------------------------------------------------------
   Session bar: who is signed in, the report-date picker, and Sign out.
   -------------------------------------------------------------------------- */
.auth-panel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  padding: 0.6rem 1rem;
}

.auth-identity {
  margin: 0;
}

.auth-panel-bar .auth-signout {
  margin-top: 0;
}

/* Sign out sits at the far end of the bar; its form is the flex item. */
.auth-panel-bar form[method="post"] {
  margin-left: auto;
}

.auth-signed-out .auth-signin,
.auth-panel .auth-signin {
  margin-top: 0.25rem;
}

.date-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.date-form-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.date-form-input {
  font: inherit;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--surface);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Summary tiles
   -------------------------------------------------------------------------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.kpi-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.kpi-value {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

/* A figure never breaks across lines: "− 2,000.00 / ISK" reads as two
   numbers. The tile's detail line wraps between its parts instead. */
.figure-income,
.figure-expense {
  white-space: nowrap;
}

.kpi-detail {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.kpi-detail .estimate-note {
  margin: 0;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Trend strip: daily net as bars around a zero line. Heights are classes
   (bar-h-0 … bar-h-8, in eighths of half the strip) because the CSP forbids
   inline styles. Up is a gain, down a loss, so the direction is legible
   without the colour.
   -------------------------------------------------------------------------- */
.trend-strip {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 4rem;
  margin: 0.25rem 0 0.6rem;
  padding: 0 0.25rem;
  background-image: linear-gradient(var(--border-strong), var(--border-strong));
  background-size: 100% 1px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.trend-bar {
  position: relative;
  flex: 1 1 0;
  max-width: 2.5rem;
  min-width: 2px;
}

.trend-bar::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 50%;
  border-radius: 2px 2px 0 0;
  background-color: var(--figure-income);
}

.trend-bar.figure-negative::after {
  bottom: auto;
  top: 50%;
  border-radius: 0 0 2px 2px;
  background-color: var(--figure-expense);
}

.trend-bar.figure-zero::after {
  height: 2px;
  background-color: var(--border-strong);
}

.trend-bar-missing::after {
  top: 45%;
  bottom: 45%;
  background-color: transparent;
  border: 1px dashed var(--border-strong);
}

.bar-h-0::after { height: 0; }
.bar-h-1::after { height: 6.25%; }
.bar-h-2::after { height: 12.5%; }
.bar-h-3::after { height: 18.75%; }
.bar-h-4::after { height: 25%; }
.bar-h-5::after { height: 31.25%; }
.bar-h-6::after { height: 37.5%; }
.bar-h-7::after { height: 43.75%; }
.bar-h-8::after { height: 50%; }

/* --------------------------------------------------------------------------
   Director section nav. Sticky so the next section is always one tap away;
   a single scrolling row on a phone rather than three wrapped lines.
   -------------------------------------------------------------------------- */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -1rem 0.75rem;
  padding: 0.5rem 1rem;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.section-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-nav-link {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-nav-link:hover {
  background-color: var(--surface-alt);
}

/* A jump lands below the sticky nav, not under it. */
[id] {
  scroll-margin-top: 3.5rem;
}

.report-not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

@media (max-width: 40em) {
  .section-nav {
    margin: 0 -0.75rem 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .section-nav-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .auth-panel-bar form[method="post"] {
    margin-left: 0;
  }

  .kpi-value {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Forced colours (Windows high contrast) — the app must not become a white
   rectangle. System colours win; our redundant cues survive because they are
   text decoration, not colour.
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .table-scroll,
  .auth-panel,
  .member-view,
  .director-view,
  .ops-panel,
  .freshness,
  .kpi,
  .button,
  .section-nav-link {
    border: 1px solid CanvasText;
  }

  .trend-bar::after {
    background-color: CanvasText;
  }

  .skip-link {
    border: 2px solid Highlight;
  }
}

@media print {
  .section-nav,
  .date-form,
  .auth-signout {
    display: none;
  }

  .skip-link,
  .table-scroll {
    overflow: visible;
  }

  thead th {
    position: static;
  }
}
