/* The data site (data.nuclida.com). The same engineering-drawing look as the NIS app (ui/app.css): graph paper,
   ink frames, numbered sections and monospace numbers. No external fonts or scripts. */

:root {
  --bg: #eef1f3;
  --grid: #e0e6ea;
  --paper: #ffffff;
  --paper-2: #f6f8f9;
  --head: #e6ebef;
  --ink: #14202b;
  --ink-2: #243444;
  --text: #14202b;
  --muted: #5b6b78;
  --line: #e1e6ea;
  --line-2: #c3ccd3;
  --field: #9aa8b3;
  --blue: #0050b3;
  --orange: #ff5a1f;
  --orange-ink: #c2410c;
  --green: #1b7f4b;
  --amber: #b26a00;
  --red: #c62828;
  --violet: #6a3fb5;
  --on-ink: #9fb3c4;
  --max: 1240px;
  --font: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
h3 { font-size: 0.95rem; font-weight: 600; }
p { margin: 0 0 1em; }
sup, sub { line-height: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.92em; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
[hidden] { display: none !important; }

/* ---- navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: stretch; gap: 28px;
  min-height: 48px;
  padding: 0 clamp(16px, 3vw, 28px);
  background: var(--ink); color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand > span:not(.brand-tag) { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-mark { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.brand-mark circle { fill: var(--orange); stroke: none; }
.brand-tag {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--on-ink); border-left: 1px solid #3d4f5f; padding-left: 10px;
}
.nav nav { display: flex; gap: 2px; }
.nav nav a {
  display: flex; align-items: center; padding: 0 14px;
  text-decoration: none; color: var(--on-ink); font-size: 0.9rem;
}
.nav nav a:hover { color: #fff; background: var(--ink-2); }
.nav nav a.active { color: #fff; background: var(--ink-2); box-shadow: inset 0 -3px 0 var(--orange); }
.nav-user { display: flex; align-items: center; gap: 10px; margin-left: auto; font-family: var(--mono); font-size: 0.8rem; color: var(--on-ink); }
.nav-user img { border-radius: 50%; border: 1px solid #3d4f5f; }
.nav-user .btn { background: transparent; color: #fff; border-color: #3d4f5f; }
.nav-user .btn:hover { border-color: #fff; background: var(--ink-2); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; gap: 0 18px; padding-top: 8px; }
  .nav nav { order: 3; width: 100%; overflow-x: auto; min-height: 40px; }
  #nav-login { display: none; }
}

/* ---- layout ---- */
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 24px clamp(16px, 3vw, 28px) 56px; outline: none; counter-reset: sec; }
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--ink);
}
.page-head h1 { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-head .sub { margin: 4px 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* A card is a framed sheet. Its first heading is a title strip with a section number. */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.card::before, .card::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
  border: 2px solid var(--orange);
}
.card::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }
.card > h2:first-child, .card > .card-head:first-child {
  margin: -18px -20px 16px; padding: 10px 20px;
  background: var(--paper-2); border-bottom: 1px solid var(--line-2);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.card > h2:first-child, .card > .card-head:first-child > h2 { display: flex; align-items: center; gap: 10px; }
.card > h2:first-child::before, .card > .card-head:first-child > h2::before {
  counter-increment: sec; content: "§" counter(sec);
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
  color: #fff; background: var(--blue); padding: 1px 6px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.grid-2 > .card { margin-bottom: 0; }
.stack-20 > * + * { margin-top: 20px; }
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px clamp(16px, 3vw, 28px); background: var(--paper); border-top: 1px solid var(--ink);
  font-family: var(--mono); font-size: 0.75rem; color: var(--muted);
}
.foot a { color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 14px; border-radius: 0; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 500; font-size: 0.88rem; text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--head); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-big { padding: 11px 22px; font-size: 0.98rem; }
.btn-small { padding: 4px 10px; font-size: 0.8rem; }
.btn-danger { color: var(--red); border-color: var(--red); }
.btn-danger:hover { color: #fff; background: var(--red); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--head); border-color: var(--line-2); color: var(--ink); }
.btn-ghost.btn-danger { color: var(--muted); border-color: transparent; }
.btn-ghost.btn-danger:hover { color: var(--red); background: #fdf0f0; border-color: var(--red); }
.nav-user .btn-ghost { color: var(--on-ink); border-color: transparent; }
.btn-group { display: inline-flex; align-items: center; }
.btn-group .btn + .btn { margin-left: -1px; }
.btn-group .btn:hover, .btn-group .btn:focus-visible { position: relative; z-index: 1; }
.actions-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.btn-link { background: none; border: none; color: var(--blue); padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.icon-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 0;
  border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; font-size: 1.05rem;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--paper-2); }
.icon-btn.icon-danger:hover { color: var(--red); border-color: var(--red); background: #fdf0f0; }

/* ---- forms ---- */
label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 5px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--paper); border: 1px solid var(--field); border-radius: 0;
  padding: 7px 9px;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
input[type="number"], input.num, input[inputmode="decimal"] { font-family: var(--mono); font-variant-numeric: tabular-nums; }
input[type="checkbox"] { width: auto; accent-color: var(--blue); }
input.invalid, textarea.invalid { border-color: var(--red); background: #fdf3f3; }
textarea { resize: vertical; min-height: 80px; font-family: var(--mono); font-size: 0.85rem; }
.field { margin-bottom: 14px; }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.row-fields { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.row-fields.align-end { align-items: end; margin-bottom: 16px; }
.row-fields.align-end .field { margin-bottom: 0; }
.rows { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.rows th { text-align: left; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 0 8px 2px 0; }
.rows td { padding: 0 8px 0 0; vertical-align: middle; }
.rows td:last-child { width: 40px; padding: 0; }
.rows .num { width: 38px; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; }
.rows .kind-irr input, .rows .kind-irr select { border-left: 3px solid var(--orange); }
.rows .kind-cool input, .rows .kind-cool select { border-left: 3px solid var(--blue); }
.add-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.errors {
  border: 1px solid var(--red); border-left-width: 4px; background: #fdf3f3;
  padding: 10px 14px; margin-bottom: 16px; color: #8e1b1b;
}
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.notice {
  border: 1px solid var(--line-2); border-left: 4px solid var(--blue); background: #f2f6fb;
  padding: 10px 14px; margin-bottom: 16px;
}
.notice.warn { border-left-color: var(--amber); background: #fdf7ec; }
details > summary { cursor: pointer; color: var(--muted); font-size: 0.88rem; }
details[open] > summary { margin-bottom: 12px; }
.submit-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sum-line { font-size: 0.84rem; color: var(--muted); }
.sum-line.mono, .submit-bar .sum-line { font-family: var(--mono); font-size: 0.8rem; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--ink); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data th {
  text-align: left; font-weight: 600; color: var(--ink); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 10px; background: var(--head); border-bottom: 1px solid var(--ink); white-space: nowrap;
}
table.data td { padding: 6px 10px; border-bottom: 1px solid var(--line); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data th + th, table.data td + td { border-left: 1px solid var(--line); }
table.data tr:hover td { background: var(--paper-2); }
table.data td.r, table.data th.r { text-align: right; }
table.data td.r { font-family: var(--mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
table.data a { color: var(--blue); text-decoration: none; font-weight: 500; }
table.data a:hover { text-decoration: underline; }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); }
.empty .btn { margin-top: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

/* ---- status ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 0; border: 1px solid currentColor; white-space: nowrap; background: var(--paper);
}
.badge::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.badge.queued { color: var(--muted); }
.badge.running { color: var(--amber); }
.badge.running::before { animation: pulse 1.1s ease-in-out infinite; }
.badge.done { color: #fff; background: var(--green); border-color: var(--green); }
.badge.failed { color: #fff; background: var(--red); border-color: var(--red); }
.badge.pending { color: var(--amber); }
.badge.denied { color: var(--red); }
@keyframes pulse { 50% { opacity: 0.25; } }
.spinner {
  width: 16px; height: 16px; display: inline-block; vertical-align: middle;
  border: 2px solid var(--line-2); border-top-color: var(--orange); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 40px 0; font-family: var(--mono); font-size: 0.85rem; }

/* ---- stats and usage ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin-bottom: 20px; border: 1px solid var(--ink); background: var(--paper); }
.stat { padding: 10px 14px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat .k { font-size: 0.68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat .v { font-family: var(--mono); font-size: 1.25rem; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .u { font-size: 0.8rem; color: var(--muted); }
.meter { margin-bottom: 14px; }
.meter-top { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 6px; font-family: var(--mono); }
.meter-bar {
  height: 10px; background: var(--paper-2); border: 1px solid var(--ink); overflow: hidden;
  background-image: repeating-linear-gradient(90deg, transparent 0 9.9%, var(--line-2) 9.9% 10%);
}
.meter-bar > span { display: block; height: 100%; background: var(--blue); }
.meter-bar.high > span { background: var(--orange); }
dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 0; font-size: 0.88rem; }
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; font-family: var(--mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; }

/* ---- plots ---- */
.plot { position: relative; }
.plot svg { width: 100%; height: auto; display: block; overflow: visible; user-select: none; }
.plot .axis line, .plot .axis path { stroke: var(--ink); }
.plot .grid line { stroke: #e3e8ec; }
.plot text { fill: var(--muted); font-size: 10.5px; font-family: var(--mono); }
.plot .axis-label { fill: var(--ink); font-size: 11px; }
.plot .series { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.plot .band { fill: rgba(255, 90, 31, 0.08); }
.plot .cursor { stroke: var(--ink); stroke-dasharray: 3 3; }
.plot-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--mono); font-size: 0.78rem; margin-top: 8px; color: var(--muted); }
.plot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.plot-legend i { width: 16px; height: 2px; display: inline-block; }
.plot-legend .band-key { width: 14px; height: 10px; background: rgba(255, 90, 31, 0.25); border: 1px solid var(--orange); }
.plot-tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--paper); border: 1px solid var(--ink);
  padding: 6px 10px; font-family: var(--mono); font-size: 0.76rem; white-space: nowrap; box-shadow: 3px 3px 0 rgba(20, 32, 43, 0.15);
}
.plot-tip .t { color: var(--muted); margin-bottom: 4px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.plot-tip div { display: flex; align-items: center; gap: 7px; }
.plot-tip i { width: 8px; height: 8px; display: inline-block; }
.plot-tip b { font-weight: 500; font-variant-numeric: tabular-nums; margin-left: auto; padding-left: 12px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { background: var(--paper); border: none; color: var(--muted); padding: 4px 10px; font-family: var(--mono); font-size: 0.75rem; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button:hover { color: var(--ink); background: var(--paper-2); }
.seg button.on { background: var(--ink); color: #fff; }
.swatch { width: 12px; height: 3px; display: inline-block; margin-right: 8px; vertical-align: middle; }
tr.picked td { background: #eef4fb; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-left: 4px solid var(--green);
  padding: 9px 16px; box-shadow: 4px 4px 0 rgba(20, 32, 43, 0.2); font-size: 0.88rem;
}
.toast.error { border-left-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}

/* ---- the data site ---- */
.small { font-size: 0.82rem; }
.nav-user .btn-ghost:hover { color: #fff; background: var(--ink-2); border-color: transparent; }
.page-head h1 .long-name { font-size: 0.95rem; font-weight: 400; color: var(--muted); font-family: var(--mono); }
.page-head .badge.done { font-size: 0.62rem; }

/* the search */
.head-search { flex: 1 1 340px; max-width: 520px; }
.small-search { flex: 0 1 260px; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; font-family: var(--mono); }
.search .hint { font-size: 0.78rem; color: var(--red); margin-top: 4px; }
.search .hint:empty { display: none; }
.small-search .btn { padding: 4px 10px; font-size: 0.8rem; }
.small-search input { padding: 4px 8px; font-size: 0.85rem; }

/* the chart of nuclides */
.chart-wrap { position: relative; overflow-x: auto; }
.chart { display: block; }
.chart-legend .cell-key { width: 10px; height: 10px; }
.examples { margin: 0 0 12px; padding-left: 20px; }
.examples li { margin: 3px 0; }
ul.plain { margin: 0; padding-left: 18px; }
ul.plain li { margin: 4px 0; }

/* the tools above a plot */
.plot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.plot-tools .spacer { flex: 1; }
.tool-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tool-label:not(:first-child) { margin-left: 8px; }
.plot-box { min-height: 120px; }
.plot svg.zoomable { cursor: crosshair; touch-action: pan-y; }
.plot svg.pickable .dot { cursor: pointer; }
.plot .zoom-sel { fill: rgba(0, 80, 179, 0.1); stroke: var(--blue); stroke-dasharray: 3 3; }
.plot .dot { stroke: var(--paper); stroke-width: 1.5; }
.plot-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.plot-foot .plot-legend { margin-top: 0; }
.plot-legend i { height: 3px; }
.plot-legend i.dot-key { width: 9px; height: 9px; border-radius: 50%; }
.zoom-hint { margin-left: auto; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.plot-tip { max-width: 360px; }

/* the reactions of a nuclide: a list of check boxes beside the plot */
.xs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.xs-picks { max-height: 520px; overflow-y: auto; border: 1px solid var(--line-2); background: var(--paper-2); padding: 10px 12px; }
@media (max-width: 860px) {
  .xs-layout { grid-template-columns: 1fr; }
  .xs-picks { max-height: 220px; }
}
.picks-title { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 6px; }
.picks + .picks-title, .xs-picks > div > .picks-title { margin-top: 12px; }
.picks { display: flex; flex-direction: column; gap: 1px; }
.picks.inline { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
label.pick {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 2px 4px; cursor: pointer;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text);
}
label.pick:hover { background: var(--paper); }
label.pick.partial { padding-left: 20px; color: var(--ink-2); }
.xs-picks .btn { margin-top: 10px; }

/* the comparison: the form, then the curves */
.add-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.add-form .field { margin-bottom: 0; min-width: 160px; }
.add-form .field.grow { flex: 1; min-width: 220px; }
.add-form input { font-family: var(--mono); }
.add-form + .hint { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; min-height: 1.2em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; padding: 0; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 2px 2px 10px;
  border: 1px solid var(--ink); background: var(--paper); font-family: var(--mono); font-size: 0.82rem;
}
.chip a { color: var(--ink); text-decoration: none; }
.chip a:hover { text-decoration: underline; }
.chip .icon-btn { width: 24px; height: 24px; }
.swatch { width: 12px; height: 3px; display: inline-block; margin-right: 4px; vertical-align: middle; flex: none; }
.top-yields { margin-top: 18px; }
.top-yields .plot-tools { margin-bottom: 8px; }
.top-yields .picks-title { margin: 0; }
table.data.compact td { padding: 3px 10px; }
pre.code {
  background: var(--ink); color: #dce6ee; border: 1px solid var(--ink);
  padding: 12px 14px; overflow-x: auto; font-family: var(--mono); font-size: 0.8rem; margin: 8px 0 12px;
}
.center-card { max-width: 560px; margin: 6vh auto 0; text-align: center; padding: 36px 32px; }
.center-card .search { text-align: left; }
.nav nav a { white-space: nowrap; }
