/*
 * The Gantry site's one stylesheet. The tokens are the portal's
 * (crates/gantry-http/web/gantry.css): the Rivet application family's neutral
 * ramp, and Gantry's crane yellow, which carries text only on dark.
 */
:root {
  color-scheme: light dark;
  --page: #f4f6f8; --surface: #ffffff; --ink: #171a22; --ink-2: #484e5e; --ink-3: #6b7282;
  --rule: #d2d6e0; --accent: #6e5c00; --on-accent: #ffffff; --brand: #f0ce14; --on-brand: #161512;
  --danger: #a3382b; --radius: 10px; --measure: 880px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #171a22; --surface: #2b3340; --ink: #f4f6f8; --ink-2: #c6ccd8; --ink-3: #98a0b0;
    --rule: #4a5464; --accent: #f0ce14; --on-accent: #161512; --danger: #db8277;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); line-height: 1.5; }
.measure { max-width: var(--measure); margin: 0 auto; padding: 0 16px; }
main { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: 1.5rem; margin: 0 0 16px; }
h2 { font-size: 1.05rem; margin: 0 0 6px; }
a { color: var(--accent); }
code { font-family: var(--mono); font-size: 0.85em; overflow-wrap: anywhere; }

.bar { border-bottom: 1px solid var(--rule); background: var(--surface); }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.bar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.92rem; }
.bar-right form { margin: 0; }
.who { color: var(--ink-3); overflow-wrap: anywhere; }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 14px; }
.card.center { max-width: 460px; margin: 40px auto; text-align: center; }
.card.center .g_id_signin { display: inline-block; margin-top: 8px; }
.apps { list-style: none; margin: 0; padding: 0; }
.app { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.meta { color: var(--ink-3); font-size: 0.88rem; margin: 2px 0 0; }
.note { color: var(--ink-2); font-size: 0.9rem; margin: 6px 0 0; }
.problem { color: var(--danger); }

.button { display: inline-block; background: var(--brand); color: var(--on-brand); border: 0; border-radius: 999px;
  padding: 8px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button.quiet { background: transparent; color: var(--ink-2); border: 1px solid var(--rule); }
.button.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
input[type=email], input[type=text], input:not([type]) { font: inherit; padding: 7px 10px; border: 1px solid var(--rule);
  border-radius: 8px; background: var(--page); color: var(--ink); min-width: 0; flex: 1 1 220px; }
.checks { display: flex; gap: 10px; flex-wrap: wrap; }
.checks label { display: inline-flex; gap: 4px; align-items: center; font-size: 0.92rem; }
.item { border-top: 1px solid var(--rule); padding: 10px 0; }
.item:first-child { border-top: 0; }
.item-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
