:root{--black:#000000;--black-a25:#00000040;--board:#e8e0cb;--board-light:#f4efe3;--card:#fffcf7;--card-a94:#fffcf7f0;--coral:#eb7254;--coral-ink:#a83f24;--font:'Inter Variable','Inter Fallback',ui-sans-serif,system-ui,sans-serif;--gutter:1.5rem;--ink:#19000b;--ink-2:#4a3640;--ink-2-a78:#4a3640c7;--ink-a04:#19000b0a;--ink-a06:#19000b0f;--ink-a08:#19000b14;--ink-a09:#19000b18;--ink-a12:#19000b1f;--ink-a16:#19000b29;--ink-a50:#19000b80;--ink-a55:#19000b8c;--ink-a65:#19000ba6;--ink-a70:#19000bb3;--ivory:#f2eddf;--ivory-a08:#f2eddf14;--ivory-a10:#f2eddf1a;--ivory-a55:#f2eddf8c;--ivory-a70:#f2eddfb3;--mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace;--muted:#6b4a55;--paper:#fffcf5;--praxis-accent:#ff785e;--praxis-bg:#1e1019;--praxis-border:#876c78;--praxis-green:#77d7ba;--praxis-muted:#c8b5bd;--praxis-text:#f9f1e7;--praxis-tool:#142e29;--praxis-user:#301522;--praxis-yellow:#f4cd79;--r-card:20px;--r-module:28px;--r-pill:999px;--rule:#19000b24;--rule-strong:#19000b59;--teal:#47adb2;--teal-deep:#2c7c80;--tone-coral-bg:#f8d9ce;--tone-stone-bg:#ebe3cf;--tone-teal-bg:#cfe8e6;--tone-yellow-bg:#ffe7a1;--white-a42:#ffffff6b;--white-a60:#ffffff99;--white-a65:#ffffffa6;--white-a78:#ffffffc7;--white-a92:#ffffffeb;--wrap:80rem;--yellow:#ffdf80;}/* Reset, type and shared pieces, after the live shebang.se stylesheet.
   Tokens (var(--…)) come from crates/design; the generator adds only the
   ones a page uses. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  /* Regular to Bold: the face clamps any heavier weight to Bold. */
  font-weight: 400 700;
  /* The one file covers the Latin text; a glyph it lacks falls back on its own. */
  src: local("Inter Variable");
}

/* Metrics-matched fallback, so swapping in Inter doesn't shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

:root {
  color-scheme: light;
  --focus: var(--ink);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0.5rem;
}

/* Brand glass surfaces, as defined on shebang.se. An element with a
   backdrop-filter is a backdrop root: a backdrop-filter inside it sees only
   what it paints, not the page. .glass can hold a .glass-strong panel (the
   header's), so it draws its glass on a pseudo-element behind its content. */
.glass {
  position: relative;
  isolation: isolate;
  /* Invisible; keeps the content box where the drawn border had put it. */
  border: 1px solid transparent;
}

.glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid var(--ink-a12);
  border-radius: inherit;
  background: linear-gradient(var(--white-a65), var(--white-a42));
  backdrop-filter: blur(14px) saturate(140%);
}

.glass-strong {
  backdrop-filter: blur(22px) saturate(160%);
  background: linear-gradient(var(--white-a92), var(--white-a78));
  border: 1px solid var(--rule);
  box-shadow: inset 0 1px var(--white-a60), 0 10px 30px -18px var(--rule-strong);
}

/* No transitions at all: a short duration would also turn on `all`, the
   default property, so every style change would lag a frame. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* The portal's own layout, after the design tokens and base.css. */

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}

.bar .home {
  font-weight: 700;
  text-decoration: none;
}

.bar nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

main.wrap {
  max-width: 60rem;
  padding-block: 2.5rem 4rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
}

p {
  max-width: 42rem;
}

button,
.action,
input,
select {
  font: inherit;
  color: inherit;
}

/* Buttons are actions; links are navigation. .action is the one link that
   starts something: sign-in. */
button,
.action {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--card);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.action {
  background: var(--ink);
  color: var(--ivory);
}

input,
select {
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-weight: 600;
}

td:first-child {
  overflow-wrap: anywhere;
}

/* On a phone each person is a block: their address, then their actions. */
@media (max-width: 40rem) {
  thead {
    display: none;
  }

  tr {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
  }

  td {
    padding: 0;
    border: 0;
  }

  td:first-child {
    flex-basis: 100%;
  }
}

form.inline,
form.add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.audit li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--rule);
}

.audit time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
