@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-700.woff2) format("woff2"); }
@font-face { font-family: "Kumbh Sans"; font-weight: 400; font-display: swap; src: url(/fonts/kumbh-400.woff2) format("woff2"); }
@font-face { font-family: "Kumbh Sans"; font-weight: 500; font-display: swap; src: url(/fonts/kumbh-500.woff2) format("woff2"); }
@font-face { font-family: "Kumbh Sans"; font-weight: 600; font-display: swap; src: url(/fonts/kumbh-600.woff2) format("woff2"); }

:root {
  --bg: #09090d; --bg2: #16161e; --ink: #f4f4f4; --mute: #c3bccd; --line: rgba(238, 227, 238, .17);
  --panel: rgba(18, 17, 26, .72); --accent: #ffd23f; --haze1: #5a2f86; --haze2: #a2508f; --bad: #ff6b7d; --ok: #55e0a3;
  --selection: linear-gradient(122deg, #f6f9f6 0%, #f6f9f6 52%, rgba(225, 220, 225, .72) 86%, rgba(214, 203, 216, .45) 100%);
  --on-selection: #181920;
  --title: "Barlow Condensed", "Arial Narrow", sans-serif; --text: "Kumbh Sans", system-ui, sans-serif;
  --t: .22s; --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
:root[data-zone="zone"] { --accent: #35d6ef; --haze1: #3b2b86; --haze2: #1f7f96; }
:root[data-contrast="true"] { --mute: #fff; --line: rgba(255, 255, 255, .55); --panel: #0b0b10; }
:root[data-motion="soft"] { --t: .12s; }
:root[data-motion="none"] *, :root[data-motion="none"] *::before, :root[data-motion="none"] *::after { animation: none !important; transition: none !important; }

* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; color: var(--ink); }
body { font: 400 .9375rem/1.45 var(--text); letter-spacing: .01em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
h1, h2, h3, .btn, .tabs button, .zones button, .hint, .gate h1, .figures b, .money b { font-family: var(--title); text-transform: uppercase; letter-spacing: .015em; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #14131a; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg.i { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- fondo ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(35deg, #1c1630 0%, var(--haze1) 55%, var(--haze2) 100%); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 9, 13, .25), rgba(9, 9, 13, .72)); }
.backdrop i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .13; right: -25vmax; top: -35vmax; }
.backdrop i + i { background: radial-gradient(closest-side, var(--haze2), transparent); opacity: .5; left: -30vmax; right: auto; top: auto; bottom: -40vmax; }
:root[data-backdrop="on"][data-motion="full"] .backdrop i { animation: drift 28s ease-in-out infinite alternate; }
:root[data-backdrop="on"][data-motion="full"] .backdrop i + i { animation-duration: 40s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate3d(-12vmax, 8vmax, 0) scale(1.12); } }
:root[data-lite="true"] .backdrop i { display: none; }

/* ---------- armazón ---------- */
.game { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-width: 92rem; margin: 0 auto; padding: 0 clamp(.75rem, 3.5vw, 3rem); }
.top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: 1.1rem 0 .9rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { width: 3.6rem; height: 3.6rem; object-fit: contain; }
.brand h1 { font-size: 2rem; font-weight: 600; line-height: .95; }
.zone-name { display: block; font: 500 .8rem var(--text); color: var(--accent); }
.zones { display: flex; gap: .25rem; margin-top: .2rem; }
.zones button { white-space: nowrap; background: rgba(255, 255, 255, .1); border: 0; padding: .05rem .55rem; font-size: .95rem; font-weight: 500; color: var(--mute); }
.zones button[aria-pressed="true"] { background: var(--accent); color: #14131a; font-weight: 700; }
.tabs { display: flex; align-items: center; justify-content: center; gap: .2rem; overflow-x: auto; scrollbar-width: none; min-width: 0; justify-content: safe center; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: rgba(255, 255, 255, .13); padding: .38rem 1rem; font-size: 1.15rem; font-weight: 500; transition: background-color var(--t), color var(--t), transform var(--t) var(--ease); }
.tabs button:hover { background: rgba(255, 255, 255, .24); }
.tabs button:active { transform: scale(.96); }
.tabs button[aria-current="page"] { background: #f7f9f5; color: var(--on-selection); font-weight: 700; }
kbd { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.2rem; padding: 0 .3rem; background: #f4f4f4; color: #17161d; border-radius: 2px; font: 600 .68rem var(--text); text-transform: none; }
.tabs kbd { flex: none; margin: 0 .35rem; opacity: .8; }
.who { display: flex; align-items: center; gap: .75rem; color: var(--mute); font-size: .85rem; }
.link { background: none; border: 0; padding: .25rem 0; text-decoration: underline; text-underline-offset: 3px; }

.view { min-height: 0; display: flex; flex-direction: column; gap: 1rem; padding-top: .5rem; }
.view.from-right > * { animation: from-right var(--t) var(--ease) both; }
.view.from-left > * { animation: from-left var(--t) var(--ease) both; }
.view > * + * { animation-delay: .05s !important; }
@keyframes from-right { from { opacity: 0; transform: translate3d(2.2rem, 0, 0); } }
@keyframes from-left { from { opacity: 0; transform: translate3d(-2.2rem, 0, 0); } }

.hints { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .3rem 1.25rem; padding: .7rem 0 .85rem; }
.hint { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; padding: 0; font-size: 1.02rem; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ---------- lista y ficha ---------- */
.split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(16rem, 25rem) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); }
.list { display: flex; flex-direction: column; min-height: 0; gap: .5rem; }
.list-scroll { overflow-y: auto; min-height: 0; flex: 1; }
.list > .row { flex: none; }
.row { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 3.35rem; text-align: left; padding: .45rem .9rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); transition: background-color var(--t); }
.row:hover { background: rgba(255, 255, 255, .08); }
.row[aria-current="true"] { background: var(--selection); color: var(--on-selection); border-bottom-color: transparent; }
.row-t { flex: 1; min-width: 0; }
.row-t b { display: block; font-weight: 500; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-t small { display: block; font-size: .76rem; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev, .arrow::after { width: .55rem; height: .55rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); flex: none; }
.chev { opacity: 0; }
.row[aria-current="true"] .chev { opacity: 1; }
.num { font: 600 1.15rem var(--title); font-style: normal; min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.num.hot { background: var(--accent); color: #14131a; }

.detail, .panel { overflow-y: auto; min-height: 0; padding: 0 .35rem 1rem 0; }
.panel { flex: 1; width: 100%; max-width: 62rem; }
.detail > .head, .panel > .head { position: relative; }
.head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; padding-bottom: .45rem; margin-bottom: .8rem; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, var(--accent), transparent) 1; }
.head h2 { font-size: 1.9rem; font-weight: 600; line-height: 1.05; overflow-wrap: anywhere; }
.head small { color: var(--mute); font-size: .76rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 1.1rem 0 .35rem; }
.lead { color: var(--mute); max-width: 68ch; margin-bottom: .75rem; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.fields.one { grid-template-columns: minmax(0, 40rem); }
.field { display: flex; align-items: center; gap: .75rem; min-height: 3.1rem; padding: .3rem .8rem; background: var(--panel); border: 1px solid transparent; transition: border-color var(--t); }
.field:focus-within { border-color: rgba(245, 239, 244, .55); }
.field.wide { grid-column: 1 / -1; align-items: flex-start; padding-top: .65rem; }
.lbl { flex: 0 0 9rem; font-size: .85rem; color: var(--mute); }
.field input[type=text], .field input[type=number], .field textarea { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .3rem .1rem; text-align: left; }
.field textarea { resize: vertical; min-height: 4.2rem; }
.field .stepper { flex: 1; margin: 0; }
input[type=search], .paste, .tier input, .cap input { background: var(--panel); border: 1px solid var(--line); padding: .5rem .7rem; }
::placeholder { color: rgba(244, 244, 244, .45); }

input[type=range] { flex: 1; appearance: none; -webkit-appearance: none; background: transparent; height: 1.5rem; --fill: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: .45rem; background: linear-gradient(to right, var(--accent) var(--fill), rgba(218, 205, 218, .4) var(--fill)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: .3rem; height: 1rem; margin-top: -.28rem; background: #fff; }
input[type=range]::-moz-range-track { height: .45rem; background: rgba(218, 205, 218, .4); }
input[type=range]::-moz-range-progress { height: .45rem; background: var(--accent); }
input[type=range]::-moz-range-thumb { width: .3rem; height: 1rem; border: 0; border-radius: 0; background: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .3rem 1.35rem; font-size: 1.15rem; font-weight: 600; background: rgba(255, 255, 255, .13); border: 1px solid transparent; color: var(--ink); text-decoration: none; transition: background-color var(--t), transform var(--t) var(--ease); }
.btn:not(:disabled):hover { background: rgba(255, 255, 255, .26); }
.btn:not(:disabled):active { transform: scale(.97); }
.btn.pri { background: var(--selection); color: var(--on-selection); font-weight: 700; }
.btn.pri:not(:disabled):hover { background: #fff; }
.btn.big { font-size: 1.4rem; min-height: 3rem; padding: .4rem 2.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.tools { display: flex; gap: .4rem; }
.tools input { flex: 1; min-width: 0; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2.2rem; text-align: center; }
.stepper span { flex: 1; font-weight: 500; }
.arrow { width: 1.9rem; height: 1.9rem; display: grid; place-items: center; flex: none; border: 0; border-radius: 50%; background: rgba(20, 15, 30, .6); }
.arrow::after { content: ""; width: .42rem; height: .42rem; margin-left: -.18rem; }
.arrow.prev::after { transform: rotate(135deg); margin: 0 -.18rem 0 0; }
.panel > .stepper { max-width: 22rem; margin-bottom: .5rem; }

.money { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-bottom: .25rem; }
.money div, .figures div { background: var(--panel); padding: .55rem .8rem; min-width: 0; }
.money span, .figures span { display: block; font-size: .72rem; color: var(--mute); }
.money b { display: block; font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.figures b { display: block; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }

.links { display: grid; gap: 0; }
.link-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: .65rem .8rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.link-row:hover, .link-row:focus-visible { background: var(--selection); color: var(--on-selection); }
.link-row small { opacity: .75; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); font-size: .86rem; }
.log time { color: var(--mute); white-space: nowrap; font-size: .76rem; }

.table-wrap { overflow-x: auto; background: var(--panel); }
.cap { width: 100%; border-collapse: collapse; }
.cap th, .cap td { padding: .3rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.cap thead th { font: 600 1.05rem var(--title); text-transform: uppercase; color: var(--mute); }
.cap tbody th { font-weight: 500; }
.cap .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cap .strong { font-weight: 600; }
.cap input { width: 10rem; max-width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
.cap tbody tr:focus-within { background: rgba(255, 255, 255, .09); }
.cap tfoot th, .cap tfoot td { font: 700 1.3rem var(--title); text-transform: uppercase; border-bottom: 0; padding: .6rem .8rem; }

.paste { display: block; width: 100%; min-height: 11rem; resize: vertical; font-size: .8rem; white-space: pre; }
.result h3 { margin-top: 1rem; }
.names { font-size: .85rem; color: var(--mute); }
.tiers { max-width: 30rem; display: grid; gap: 2px; }
.tier { display: grid; grid-template-columns: 1fr 1fr 2.4rem; gap: 2px; align-items: center; }
.tier input { min-width: 0; width: 100%; }
.head-row { font-size: .76rem; color: var(--mute); }
.icon-btn { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: transparent; border: 0; }
.icon-btn:hover { background: rgba(255, 255, 255, .15); }

.empty { padding: 1.5rem 0; max-width: 52ch; }
.empty b { display: block; font: 600 1.5rem var(--title); text-transform: uppercase; }
.empty p { color: var(--mute); margin: .25rem 0 .9rem; }
.quiet { padding: .9rem; color: var(--mute); }
.skel { height: 7rem; background: var(--panel); animation: pulse 1.1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .45; } }

/* ---------- pestaña Bot ---------- */
h4 { margin: .9rem 0 .15rem; padding: 0 .9rem; font: 600 1.05rem var(--title); text-transform: uppercase; color: var(--accent); }
.tag { font: 600 .9rem var(--title); font-style: normal; text-transform: uppercase; padding: 0 .35rem; background: rgba(255, 255, 255, .16); color: inherit; }
.row[aria-current="true"] .tag { background: rgba(20, 20, 30, .12); }
.tag.hot, .row[aria-current="true"] .tag.hot { background: var(--accent); color: #14131a; }
.tag.bad, .row[aria-current="true"] .tag.bad { background: var(--bad); color: #14131a; }
.field .lbl small, .locked small { display: block; font-size: .72rem; line-height: 1.3; opacity: .8; }
.field input[type=url] { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .3rem .1rem; }
.field input[type=color] { width: 3.5rem; height: 2.2rem; background: transparent; border: 1px solid var(--line); padding: .15rem; }
.field > .pick, .field > div:not(.stepper) { flex: 1; min-width: 0; }
.wide-block { grid-column: 1 / -1; background: var(--panel); padding: .65rem .8rem; }
.wide-block > .lbl { display: block; margin-bottom: .4rem; }
.warn-line { display: flex; gap: .55rem; align-items: flex-start; padding: .55rem .8rem; background: var(--panel); border-left: 3px solid var(--accent); margin-bottom: .4rem; }
.warn-line.error { border-left-color: var(--bad); }
.link-row:disabled { cursor: default; opacity: 1; }
.link-row:disabled:hover { background: transparent; color: var(--ink); }
.link-row.error span { border-left: 3px solid var(--bad); padding-left: .6rem; }
.link-row.warn span { border-left: 3px solid var(--accent); padding-left: .6rem; }
.log a { color: var(--ink); white-space: nowrap; }

.pick { position: relative; }
.pick > button { display: flex; align-items: center; gap: .5rem; width: 100%; min-height: 2.3rem; padding: .3rem .1rem; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.pick > button span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick > button.empty span { opacity: .55; }
.pick > button.broken { border-bottom-color: var(--bad); }
.pop { position: absolute; z-index: 30; top: calc(100% + 2px); left: 0; right: 0; min-width: 15rem; background: #1e1e2b; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); padding: .35rem; }
.pop input { width: 100%; }
.pop ul { list-style: none; margin: .35rem 0 0; padding: 0; max-height: 15rem; overflow-y: auto; }
.pop li[role=presentation] { padding: .45rem .5rem .15rem; font-size: .72rem; color: var(--accent); }
.pop li[role=option] { display: flex; align-items: center; gap: .5rem; padding: .4rem .5rem; cursor: pointer; }
.pop li.hi, .pop li[role=option]:hover { background: var(--selection); color: var(--on-selection); }
.pop li small { margin-left: auto; opacity: .75; }
.swatch { width: .6rem; height: .6rem; border-radius: 50%; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .1rem .15rem .1rem .55rem; background: rgba(255, 255, 255, .13); font-size: .82rem; }
.chip button { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; background: none; border: 0; }
.chip button:hover { background: rgba(255, 255, 255, .2); }

.items { display: grid; gap: 2px; }
.item { border: 1px solid var(--line); }
.item-head { display: flex; align-items: center; }
.item-head .title { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: .55rem .8rem; font-weight: 500; }
.item-head .title[aria-expanded="true"] { background: var(--selection); color: var(--on-selection); }
.item-body { display: grid; gap: 2px; padding: 2px; }

.preview { background: #313338; border-radius: 6px; padding: .9rem; color: #dbdee1; max-width: 36rem; }
.preview .bot { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; margin-bottom: .4rem; }
.preview .bot img { width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.preview .bot em { font-style: normal; font-size: .62rem; background: #5865f2; border-radius: 3px; padding: 0 4px; }
.preview .embed { border-left: 4px solid #8b2cf5; background: #2b2d31; padding: .6rem .85rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview .embed .title { display: block; color: #fff; margin-bottom: .25rem; }
.preview .embed img { display: block; max-width: 100%; margin-top: .6rem; }
.preview .plain { white-space: pre-wrap; overflow-wrap: anywhere; }
.preview .btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.preview .btns span { background: #5865f2; color: #fff; border-radius: 4px; padding: .3rem .75rem; font-size: .82rem; }
.preview .btns .menu { background: #1e1f22; color: #949ba4; min-width: 15rem; }

.chart { display: flex; align-items: flex-end; gap: 4px; height: 6rem; background: var(--panel); padding: .6rem .8rem .3rem; margin-bottom: .4rem; }
.chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .2rem; }
.chart i { width: 100%; background: var(--accent); }
.chart small { font-size: .65rem; color: var(--mute); }
.head input[type=search] { max-width: 18rem; }

.secret { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }

/* ---------- entrada ---------- */
.gate { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .9rem; padding: 1.5rem; }
.gate .logos { display: flex; gap: 1.5rem; align-items: center; }
.gate img { width: min(11rem, 36vw); height: auto; }
.gate h1 { font-size: clamp(3rem, 9vw, 5.5rem); font-weight: 600; line-height: .95; }
.gate p { max-width: 46ch; color: var(--mute); }

.toasts { position: fixed; z-index: 60; right: 1rem; bottom: 3.5rem; display: grid; gap: .5rem; max-width: min(24rem, calc(100vw - 2rem)); }
.toast { display: flex; align-items: center; gap: .6rem; background: #1e1e2b; border-left: 3px solid var(--ok); padding: .65rem 1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: from-right var(--t) var(--ease); }
.toast.err { border-left-color: var(--bad); }

/* ---------- tabletas y móviles ---------- */
@media (max-width: 70rem) {
  .top { grid-template-columns: auto auto; justify-content: space-between; row-gap: .7rem; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .money { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  body { font-size: 1rem; }
  .game { height: auto; min-height: 100dvh; padding-bottom: .5rem; }
  .split { display: block; }
  .split .detail { display: none; }
  .split.open .list { display: none; }
  .split.open .detail { display: block; }
  .list-scroll, .detail, .panel { overflow: visible; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand img { width: 2.8rem; height: 2.8rem; }
  .brand h1 { font-size: 1.6rem; }
  .who span, .tabs kbd { display: none; }
  .hint:not(button) { display: none; }
  .field { flex-wrap: wrap; }
  .field .lbl { flex-basis: 100%; }
  .field input, .field textarea, input[type=search], .tier input, .cap input { font-size: 1rem; }
  .cap th, .cap td { padding: .3rem .45rem; }
  .cap input { width: 7rem; }
}
