/* mywordsandcharts.com */

:root {
  --paper: #f2f5f8;
  --card: #ffffff;
  --ink: #0b1628;
  --ink-soft: #40556b;
  --mute: #7b8fa3;
  --rule: #d5dee6;
  --rule-soft: #e6ecf1;
  --signal: #29aae3;
  --ember: #f6871f;
  --strike: #b23c17;

  /* Swap these three if the brand faces are something else. */
  --display: "Anton", "Arial Narrow", sans-serif;
  --body: "Roboto Condensed", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Roboto Mono", ui-monospace, "Courier New", monospace;

  --row: 34px;
  --gutter: 118px;
  --gutter-chart: 172px;
  --radius: 4px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
}

.skip:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------- masthead - */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  padding-bottom: 13px;
}

.wordmark {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  text-decoration: none;
  line-height: 1;
}

.wordmark-my { color: var(--mute); }
.wordmark-rest { color: var(--ink); }
.wordmark-amp { color: var(--ember); padding: 0 2px; }

.masthead-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ----------------------------------------------------------------- hero - */

.hero { padding-top: 60px; padding-bottom: 74px; }

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 10vw, 96px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.hero-title em {
  font-style: normal;
  color: var(--signal);
}

.hero-sub {
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 18.5px;
}

/* -------------------------------------------------------------- console - */
/* The whole results area is one continuous autocomplete dropdown. */

.console {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(11, 22, 40, 0.05),
              0 14px 34px -18px rgba(11, 22, 40, 0.30);
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 18px;
  height: 72px;
  margin: 10px;
  border: 1px solid #bfdff2;
  border-radius: 4px;
  background: #eaf6fd;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.field:focus-within {
  background: #fff;
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(41, 170, 227, 0.16);
}

.field-icon {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.field-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--ink);
  padding: 0;
}

.field-input:focus { outline: none; }
.field-input::placeholder { color: #8fabbe; }

.field-go {
  flex: 0 0 auto;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.field-go:hover { background: #1b3352; }
.field-go[disabled] { background: var(--mute); cursor: default; }

/* ------------------------------------------------------------- switches - */

.switches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-soft);
}

.switch { cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }

.switch-face {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 14px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.switch-face b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  color: #a9b8c6;
  padding-left: 5px;
}

.switch input:checked + .switch-face {
  color: var(--ink);
  border-color: var(--ink);
  background: #eef4f8;
}

.switch input:checked + .switch-face b { color: var(--mute); }

.switch input:focus-visible + .switch-face {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.switch-cost {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}

.switch-cost.is-heavy { color: var(--ember); }

/* ---------------------------------------------------------------- places - */

.places {
  padding: 13px 16px 15px;
  border-bottom: 1px solid var(--rule-soft);
  background: #fbfcfd;
}

.places[hidden] { display: none; }

.places-label {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 7px;
}

.places-input {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fff;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  padding: 9px 11px;
}

.places-input:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 2px rgba(41, 170, 227, 0.16);
}

.places-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--mute);
}

/* ----------------------------------------------------------------- drop - */

.drop { padding: 0; }

.drop-empty,
.drop-error {
  margin: 0;
  padding: 30px 18px;
  color: var(--mute);
  font-size: 15px;
}

.drop-error { color: var(--strike); }

/* summary bar */

.tally {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule-soft);
  background: #fbfcfd;
}

.tally-count {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.tally-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.tally-neg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--strike);
  border: 1px solid #f0cfc2;
  border-radius: 999px;
  padding: 3px 10px;
}

.tally-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }

.tool-btn {
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 3px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.tool-btn:hover { border-color: var(--ink); color: var(--ink); }

/* section headers inside the dropdown */

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 18px 18px 8px;
  border-top: 1px solid var(--rule-soft);
}

.band.is-toggle {
  width: 100%;
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.band.is-toggle:hover .band-name { color: var(--signal); }

.band-chev {
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--mute);
  border-bottom: 2px solid var(--mute);
  transform: rotate(45deg);
  margin-right: 2px;
  margin-top: -4px;
  transition: transform 0.15s ease;
}

.band.is-closed .band-chev { transform: rotate(-45deg); margin-top: 2px; }

.band:first-child { border-top: 0; }

.band-name {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}

.band-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  min-width: 0;
}

.band-rule {
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule-soft);
}

/* the actual suggestion rows */

.rows { list-style: none; margin: 0; padding: 0 0 6px; }

.row {
  display: grid;
  grid-template-columns: var(--gutter) 1fr auto;
  align-items: center;
  min-height: var(--row);
  padding: 0 18px;
  animation: drop-in 0.22s ease both;
}

.row:hover { background: #f5f9fc; }

.row-key {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.03em;
  padding-right: 12px;
  border-right: 1px solid var(--rule-soft);
  align-self: stretch;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-key.is-repeat { color: transparent; }

.row-phrase {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  padding-left: 14px;
  overflow-wrap: anywhere;
}

.row-phrase mark {
  background: transparent;
  color: var(--mute);
}

/* flag toggle */

.row-flag {
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  color: #c8d4de;
  cursor: pointer;
  padding: 6px 4px 6px 12px;
  opacity: 0;
  transition: opacity 0.12s ease, color 0.12s ease;
}

.row:hover .row-flag { opacity: 1; }
.row-flag:hover { color: var(--strike); }
.row-flag:focus-visible { opacity: 1; }

/* already seen in an earlier group */

.row.is-dup .row-phrase { color: var(--mute); }

.row.is-dup .row-phrase::after {
  content: "seen";
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b3c1cd;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  padding: 1px 4px;
  margin-left: 9px;
  vertical-align: 1px;
}

/* flagged as junk */

.row.is-negative .row-phrase {
  color: var(--mute);
  text-decoration: line-through;
  text-decoration-color: var(--strike);
}

.row.is-negative .row-flag { opacity: 1; color: var(--strike); }

/* Google substituted rather than completed */
.row.is-offtopic .row-phrase {
  color: var(--mute);
  text-decoration: line-through;
  text-decoration-color: #b3c1cd;
  text-decoration-style: dotted;
}

.row.is-offtopic .row-flag { opacity: 1; color: #b3c1cd; }

.tally-off {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 10px;
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: none; }
}

/* charts share the exact row rhythm as the phrases */

.chart { padding: 0 18px 14px; }

.bar {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter-chart) 1fr auto;
  align-items: center;
  min-height: var(--row);
}

/* what the modifier actually returned, including the noise */
.bar-ghost {
  position: absolute;
  left: var(--gutter-chart);
  top: 3px;
  bottom: 3px;
  background: #eef4f8;
  border-left: 1px solid var(--rule);
  z-index: 0;
}

/* what survived deduplication and flagging */
.bar-fill {
  position: absolute;
  left: var(--gutter-chart);
  top: 3px;
  bottom: 3px;
  background: #d9edfa;
  border-left: 2px solid var(--signal);
  z-index: 0;
}

.bar.is-ember .bar-fill {
  background: #fdefe0;
  border-left-color: var(--ember);
}

.bar-key {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink);
  padding-right: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.bar-code {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--mute);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1px 4px;
}

.bar-track { position: relative; z-index: 1; height: 100%; }

.bar-val {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  padding-left: 10px;
  white-space: nowrap;
}

.bar-of {
  font-style: normal;
  color: #b3c1cd;
}

.bar-of.is-cap {
  color: var(--ember);
  border-bottom: 1px dotted var(--ember);
}

/* --------------------------------------------------------------- legend - */

.legend {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid var(--rule-soft);
}

.legend thead th {
  font-family: var(--body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 12px 8px 6px;
  border-top: 0;
  text-align: left;
  white-space: nowrap;
}

.legend thead th:first-child { padding-left: 18px; }
.legend thead th:last-child { padding-right: 18px; }

.legend tbody th,
.legend td {
  text-align: left;
  vertical-align: baseline;
  padding: 5px 8px;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid #f0f4f7;
}

.legend tbody tr:last-child th,
.legend tbody tr:last-child td { padding-bottom: 12px; }

.legend tbody th {
  white-space: nowrap;
  padding-left: 18px;
  font-weight: 700;
  color: var(--ink);
}

.legend th:nth-child(1) { width: 20%; }
.legend th:nth-child(2) { width: 16%; }

.legend td:first-of-type {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.legend td:last-child { padding-right: 18px; color: var(--mute); }

/* ------------------------------------------------------------ takeaways - */

.takes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.take {
  background: #fff;
  padding: 16px 18px 18px;
}

.take-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.take-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft);
}

.take-title {
  margin: 0;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.take-n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 1px 7px;
}

.take.is-go .take-title { border-left: 3px solid var(--signal); padding-left: 8px; }
.take.is-stop .take-title { border-left: 3px solid var(--strike); padding-left: 8px; }

.take-note {
  margin: 0;
  flex: 1 1 auto;
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
  color: var(--mute);
}

.take-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.take-list li {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
  padding: 2px 0;
  overflow-wrap: anywhere;
}

.take-more,
.take-empty {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.stack { padding: 4px 18px 18px; }

.stack-bar {
  display: flex;
  height: 26px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--rule-soft);
}

.stack-seg { display: block; height: 100%; }
.stack-seg.is-kept { background: var(--signal); }
.stack-seg.is-sub  { background: #b9cbd8; }
.stack-seg.is-junk { background: var(--strike); }
.stack-seg.is-dup  { background: #e2e9ef; }

.stack-key {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 11px 0 0;
  padding: 0;
}

.stack-key li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.stack-key i {
  width: 9px; height: 9px;
  border-radius: 2px;
  flex: 0 0 auto;
}

.stack-key i.is-kept { background: var(--signal); }
.stack-key i.is-sub  { background: #b9cbd8; }
.stack-key i.is-junk { background: var(--strike); }
.stack-key i.is-dup  { background: #e2e9ef; border: 1px solid var(--rule); }

.stack-key b { color: var(--ink); font-weight: 700; }

.chart-flat {
  margin: 0;
  padding: 4px 18px 18px;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.6;
  color: var(--mute);
}

/* loading */

.pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  border-top: 1px solid var(--rule-soft);
}

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink { 50% { opacity: 0.25; } }

/* ---------------------------------------------------------------- plain - */

.plain { padding-top: 12px; padding-bottom: 78px; }

.plain-head {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.plain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px;
}

.plain-item h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0 0 10px;
  min-height: 1.1em;
}

.plain-item p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- why --- */

.why { padding-top: 4px; padding-bottom: 68px; }

.why-head {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.why-body p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.why-body p:first-child { color: var(--ink); }
.why-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- creed - */

.creed {
  border-top: 1px solid var(--rule);
  background: var(--ink);
  padding: 54px 0 58px;
}

.creed-line {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
}

.creed-line em {
  font-style: normal;
  color: var(--signal);
}

.creed-line br + * { display: inline; }

/* ------------------------------------------------------------ method --- */
/* Fine print. Deliberately quiet: this is reference, not sales copy. */

.method {
  padding-top: 4px;
  padding-bottom: 74px;
}

.method-head {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.method-intro {
  margin: 0 0 30px;
  font-size: 14px;
  font-style: italic;
  line-height: 1.62;
  color: var(--mute);
  text-wrap: pretty;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px 40px;
}

.method-item h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 7px;
  padding-left: 11px;
  border-left: 2px solid var(--rule);
  text-wrap: balance;
}

.method-item p {
  margin: 0;
  padding-left: 13px;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.66;
  color: var(--mute);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- footer - */

.footer {
  border-top: 1px solid var(--rule);
  background: var(--card);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 26px;
  padding-bottom: 30px;
}

.footer-credit {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.footer-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 1px;
  font-weight: 700;
}

.footer-link:hover { color: var(--ember); }

.footer-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

/* --------------------------------------------------------------- mobile - */

@media (max-width: 680px) {
  :root { --gutter: 78px; --gutter-chart: 112px; }

  .takes { grid-template-columns: 1fr; }
  .legend th:nth-child(1),
  .legend th:nth-child(2) { width: auto; }

  .hero { padding-top: 40px; padding-bottom: 52px; }

  .field {
    height: auto;
    flex-wrap: wrap;
    padding: 14px;
    gap: 10px;
  }

  .field-icon { display: none; }
  .field-input { flex: 1 1 100%; font-size: 17px; }
  .field-go { flex: 1 1 100%; }

  .switch-cost { margin-left: 0; width: 100%; padding-top: 4px; }

  .tally-tools { margin-left: 0; width: 100%; }

  .row-phrase { font-size: 13.5px; }

  /* long chart notes get their own line instead of pushing the page wide */
  .band-n { flex: 1 1 100%; }
  .band-rule { min-width: 16px; }
  .row-flag { opacity: 1; }

  .row.is-dup .row-phrase::after { display: none; }
}

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