/* Tools on estero.app: fields to choose with, the app's travel ribbon across
   the night sky, and the answer as one sentence in display type. */

.tool { position: relative; padding-block: 40px 24px; }
.tool-title { font-size: clamp(44px, 7vw, 84px); max-width: 11em; }

/* The ribbon */
.ribbon { --rows: 0; position: relative; margin-top: 64px; }
.rb-notes { position: relative; height: calc(var(--rows) * 44px); }
.rb-note {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 13px 8px 11px; border-radius: 13px; cursor: pointer;
  background: rgba(24, 28, 62, 0.72); border: 1px solid var(--glass-line); color: var(--ink);
  font: 650 14px/1 var(--body); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.7);
}
.rb-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 10px var(--aurora); flex: none; }
.rb-note::after {
  content: ""; position: absolute; left: var(--tip, 50%); top: 100%; width: 1px; height: var(--stem, 14px);
  background: linear-gradient(var(--glass-line), rgba(255, 255, 255, 0.28));
}
.rb-note:hover, .rb-note:focus-visible { border-color: rgba(255, 255, 255, 0.32); background: rgba(36, 41, 86, 0.9); }
.rb-note.stay i { background: var(--lilac); box-shadow: 0 0 10px var(--lilac); }
.rb-note.dim { color: var(--soft); }
.rb-note.dim i { background: var(--faint); box-shadow: none; }
.rb-note.warn i { background: var(--solar); box-shadow: 0 0 10px var(--solar); }
.rb-note.over i { background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.rb-note.today i { background: var(--ink); box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }

.rb-track {
  position: relative; height: 76px; margin-top: 14px; border-radius: 999px; cursor: copy;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.rb-fill, .rb-seg { position: absolute; top: 8px; bottom: 8px; border-radius: 999px; }
.rb-fill.here { background: linear-gradient(90deg, #0ea97e, #19d3a2); opacity: 0.9; }
.rb-fill.ahead { background: repeating-linear-gradient(90deg, rgba(25, 211, 162, 0.34) 0 6px, rgba(25, 211, 162, 0.16) 6px 10px); }
.rb-seg {
  min-width: 8px; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(90deg, #19d3a2, #5cc8ff); box-shadow: 0 0 26px -4px rgba(25, 211, 162, 0.7);
  transition: left 0.45s var(--spring), width 0.45s var(--spring), opacity 0.3s;
}
.rb-seg:hover, .rb-seg:focus-visible { filter: brightness(1.15); outline: 2px solid var(--ink); outline-offset: 2px; }
.rb-seg.stay { background: repeating-linear-gradient(135deg, #8b95ff 0 8px, #7a83f0 8px 16px); box-shadow: 0 0 26px -4px rgba(139, 149, 255, 0.8); }
.rb-seg.dim { opacity: 0.28; box-shadow: none; }
.rb-seg.over { background: linear-gradient(90deg, #f2555a, #ff7ab6); box-shadow: 0 0 26px -4px rgba(242, 85, 90, 0.8); }
/* On a line of days at home, a trip is a gap in it. */
.rb-seg.away { background: var(--night); box-shadow: none; top: 4px; bottom: 4px; border: 1px solid rgba(255, 255, 255, 0.18); }
.rb-seg.away.warn { background: var(--solar); border-color: var(--solar); }
.rb-seg.away.over { background: var(--signal); border-color: var(--signal); }

.rb-window {
  position: absolute; top: -7px; bottom: -7px; border: 2px solid rgba(244, 245, 255, 0.85); border-radius: 22px; pointer-events: none;
  transition: left 0.45s var(--spring), width 0.45s var(--spring);
}
.rb-window span {
  position: absolute; right: 14px; bottom: -11px; padding: 0 8px; background: var(--night);
  font: 700 13px/20px var(--body); color: var(--ink); white-space: nowrap;
}
.rb-mark { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none; }
.rb-mark.entry, .rb-mark.today { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18), 0 0 18px rgba(255, 255, 255, 0.9); }
.rb-mark.file { width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 3px solid var(--aurora); background: var(--night); box-shadow: 0 0 22px rgba(25, 211, 162, 0.9); }

.rb-ticks { position: relative; height: 34px; margin-top: 12px; }
.rb-ticks span { position: absolute; top: 0; transform: translateX(-50%); font: 600 13px/1 var(--body); color: var(--faint); white-space: nowrap; }

/* Narrow screens: the bubbles line up below the ribbon. */
.ribbon.flow { display: flex; flex-direction: column; }
.ribbon.flow .rb-track { order: 1; height: 60px; margin-top: 0; }
.ribbon.flow .rb-ticks { order: 2; }
.ribbon.flow .rb-notes { order: 3; height: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.ribbon.flow .rb-note { position: static; }
.ribbon.flow .rb-note::after { display: none; }

/* The answer */
.answer {
  margin-top: 48px; max-width: 17em; font: 750 clamp(34px, 5.2vw, 64px)/1.08 var(--display); letter-spacing: -0.03em; color: var(--ink);
}
.answer .alarm { display: block; color: var(--signal); margin-bottom: 0.2em; }
.answer .caution { display: block; color: var(--solar); margin-top: 0.2em; }

.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  border-radius: 14px; padding: 13px 18px; font: 700 15px/1 var(--body);
  border: 1px solid var(--glass-line); background: rgba(255, 255, 255, 0.06); color: var(--ink);
}
.btn:hover { background: rgba(255, 255, 255, 0.12); }
.btn.light { background: var(--ink); color: var(--night); border-color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.quiet { background: transparent; border-color: transparent; color: var(--soft); padding-inline: 8px; }
.btn.quiet:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

.seg { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-line); }
.seg button { border: 0; border-radius: 10px; padding: 9px 14px; background: transparent; color: var(--soft); font: 700 14px/1.2 var(--body); cursor: pointer; }
.seg button:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--night); }

.btn[hidden] { display: none; }

/* The trip just added glows once. */
.rb-seg.fresh { animation: arrive 1.2s var(--spring); }
@keyframes arrive { from { transform: scaleY(0.2); filter: brightness(1.8); } to { transform: none; filter: none; } }

/* The form itself, as USCIS prints it */
.sheet { padding-block: 72px 24px; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; max-width: 920px; }
.sheet-head h2 { font-size: clamp(30px, 4vw, 44px); }
.paper {
  margin-top: 26px; padding: 30px 32px 34px; border-radius: 6px; background: #fbfcff; color: #14183a;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotate(-0.4deg); max-width: 920px;
}
.paper h3 { font: 700 17px/1.3 var(--body); color: #14183a; letter-spacing: 0; padding-bottom: 12px; border-bottom: 2px solid #14183a; }
.paper table { width: 100%; border-collapse: collapse; margin-top: 16px; font: 500 15px/1.3 var(--body); }
.paper th { text-align: start; vertical-align: bottom; font: 700 12.5px/1.35 var(--body); color: #14183a; padding: 0 10px 8px 0; width: 30%; }
.paper th:last-child { width: 40%; }
.paper td { padding: 4px 10px 4px 0; }
.paper td span { display: block; min-height: 38px; padding: 9px 11px; background: #e6ecfb; border: 1px solid #b8c4e6; color: #0f1230; font-variant-numeric: tabular-nums; }
.paper tr.warn td span { background: #fff1d6; border-color: #f0c069; }
.paper tr.over td span { background: #ffe0e1; border-color: #ef9a9d; }

/* Prose: how the rule works */
.explain { padding-block: 72px 8px; }
.explain h2, .explain p { max-width: 720px; }
.explain h2 { font-size: clamp(30px, 4vw, 44px); }
.explain p { margin-top: 18px; font-size: 19px; line-height: 1.6; color: #c6cae9; }
.explain a { color: var(--aurora); }

/* Press */
.press { padding-block: 40px 40px; }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-end; margin: 56px auto 0; max-width: 1040px; }
.fan img {
  width: 23%; height: auto; margin-inline: -2.2%; border-radius: 14% / 6.4%; border: 1px solid var(--glass-line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.fan img:nth-child(1) { transform: translateY(14%) rotate(-7deg); }
.fan img:nth-child(2) { transform: translateY(5%) rotate(-3.5deg); z-index: 1; }
.fan img:nth-child(3) { width: 26%; z-index: 2; box-shadow: 0 40px 120px -30px rgba(25, 211, 162, 0.45), 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.fan img:nth-child(4) { transform: translateY(5%) rotate(3.5deg); z-index: 1; }
.fan img:nth-child(5) { transform: translateY(14%) rotate(7deg); }
.press-text { max-width: 720px; margin: 110px 0 0; }
.press-text .lead { font: 700 clamp(26px, 3.2vw, 36px)/1.25 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.press-text p { margin-top: 20px; font-size: 19px; line-height: 1.6; color: #c6cae9; }
.press-text .tool-actions { margin-top: 36px; }

.final.small { padding-block: 72px 100px; }
.final.small h2 { font-size: clamp(30px, 4.4vw, 46px); }

@media (max-width: 600px) {
  .ribbon { margin-top: 40px; }
  .answer { margin-top: 36px; }
  .paper { padding: 20px 16px 24px; transform: none; }
  .paper table, .paper tbody, .paper tr, .paper td { display: block; }
  .paper thead { display: none; }
  .paper tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px 0; }
  .paper td { padding: 0; }
  .paper td:last-child { grid-column: 1 / 3; }
  .fan img { margin-inline: -4%; }
  .press-text { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-seg, .rb-window { transition: none; }
  .rb-seg.fresh { animation: none; }
}
.seg[hidden] { display: none; }

/* Do I need a visa? The answer is a sentence; the passport's visa page carries the stamp. */
.visa-answer { max-width: 19em; margin-top: 44px; }

/* The three choices, as plain fields with their names on them */
.choose { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr; gap: 12px; margin-top: 40px; max-width: 980px; }
.field {
  position: relative; display: grid; gap: 6px; padding: 16px 52px 17px 20px; border-radius: 18px; cursor: pointer; text-align: start;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
}
.field:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); }
.field:focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; }
.field.open { border-color: var(--aurora); background: rgba(25, 211, 162, 0.1); }
.field-label { font: 700 14px/1 var(--body); color: var(--aurora); }
.field-value { font: 750 24px/1.15 var(--display); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-chev { position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--ink); transition: transform 0.2s; }
.field.open .field-chev { transform: rotate(180deg); }
.visa-result { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 52px; }

.pass-page {
  position: relative; aspect-ratio: 125 / 88; border-radius: 10px 10px 10px 4px; overflow: hidden; color: #1d2150;
  background:
    repeating-radial-gradient(circle at 18% 120%, rgba(90, 104, 190, 0.07) 0 1px, transparent 1px 9px),
    repeating-radial-gradient(circle at 92% -20%, rgba(25, 160, 130, 0.06) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, #f2f3fb, #e8ecf6 60%, #eef3ef);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.45), inset 14px 0 18px -14px rgba(29, 33, 80, 0.35);
  transform: rotate(-1.2deg);
}
.pp-head { position: absolute; inset: 16px 20px auto; display: flex; justify-content: space-between; font: 700 11px/1 var(--body); letter-spacing: 0.24em; color: rgba(29, 33, 80, 0.62); }
.pp-mrz { position: absolute; left: 20px; right: 20px; bottom: 14px; font: 600 12px/1 ui-monospace, Menlo, monospace; letter-spacing: 0.18em; color: rgba(29, 33, 80, 0.32); white-space: nowrap; overflow: hidden; }
.stamp { position: absolute; left: 11%; top: 17%; width: 78%; height: auto; transform: rotate(var(--tilt, -4deg)); mix-blend-mode: multiply; opacity: 0.9; }
.stamp text { fill: currentColor; font-family: var(--display); }
.st-where { font-weight: 750; font-size: 26px; letter-spacing: 0.08em; }
.st-word { font-weight: 800; font-size: 50px; letter-spacing: -0.01em; }
.st-days { font-weight: 750; font-size: 28px; letter-spacing: 0.06em; }
.st-date { font-family: var(--body) !important; font-weight: 700; font-size: 12.5px; letter-spacing: 0.2em; }
.stamp.t-vf { color: #0a8263; }
.stamp.t-on { color: #3d46bd; }
.stamp.t-ev { color: #a8650c; }
.stamp.t-vr { color: #bf333a; }
.stamp.t-home, .stamp.t-none { color: #262b66; }
.pass-page.stamped .stamp { animation: stamp 0.42s var(--spring) both; }
@keyframes stamp { from { transform: rotate(var(--tilt)) scale(1.35); opacity: 0; } 55% { opacity: 0.95; } to { transform: rotate(var(--tilt)) scale(1); opacity: 0.9; } }

.visa-facts { display: grid; gap: 14px; padding-top: 6px; }
.fact { margin: 0; font: 600 19px/1.45 var(--body); color: var(--ink); max-width: 34em; }
.fact a, .fact .link { color: var(--aurora); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fact .link { border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.fact .link:hover, .fact a:hover { color: #c9fff0; }
.fact.alarm { color: #ff9a9d; }
.fact.caution { color: #ffc96b; }
.visa-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 10px; }
.visa-cta p { margin: 0; font: 700 19px/1.3 var(--body); color: var(--ink); }
.visa-cta .store.badge img { height: 44px; }

/* The picker */
.dd {
  position: absolute; z-index: 50; padding: 10px; border-radius: 18px;
  background: rgba(24, 28, 62, 0.97); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.dd[hidden] { display: none; }
.dd-q {
  display: block; width: calc(100% - 16px); margin: 6px 8px 10px; padding: 6px 0 8px; border: 0; border-bottom: 2px dotted var(--aurora);
  background: transparent; color: var(--ink); font: 700 20px/1.2 var(--display); letter-spacing: -0.01em;
}
.dd-q::placeholder { color: var(--aurora); opacity: 1; }
.dd-q:focus { outline: none; border-bottom-style: solid; }
.dd-q[hidden] { display: none; }
.dd-list { max-height: min(360px, 52vh); overflow-y: auto; display: grid; gap: 2px; }
.dd-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px;
  background: transparent; color: var(--ink); font: 600 16px/1.25 var(--body); text-align: start; cursor: pointer;
}
.dd-opt:hover, .dd-opt.active { background: rgba(255, 255, 255, 0.1); }
.dd-opt:focus-visible { outline: 2px solid var(--aurora); outline-offset: -2px; }
.dd-opt.current { color: var(--aurora); }
.dd-opt i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dd-none { margin: 8px 12px 10px; color: var(--ink); font-weight: 600; }
.t-vf { background: var(--aurora); } .t-on { background: var(--lilac); } .t-ev { background: var(--solar); }
.t-vr { background: rgba(244, 245, 255, 0.3); } .t-home { background: var(--ink); } .t-none { background: rgba(244, 245, 255, 0.12); }
.stamp.t-vf, .stamp.t-on, .stamp.t-ev, .stamp.t-vr, .stamp.t-home, .stamp.t-none { background: none; }

/* Every destination for the passport */
.atlas { padding-block: 96px 8px; }
.atlas h2 { font-size: clamp(30px, 4vw, 44px); max-width: 22em; }
.atlas-figs { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; }
.fig { display: grid; gap: 6px; text-decoration: none; color: var(--ink); }
.fig-n { font: 800 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -0.03em; }
.fig-l { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--body); }
.fig-l i { width: 10px; height: 10px; border-radius: 50%; }
.fig:hover .fig-n { color: #c9fff0; }
.atlas-map { margin-top: 36px; }
.atlas-map svg { display: block; width: 100%; height: auto; }
.atlas-map path, .atlas-map circle { stroke: var(--night); stroke-width: 0.5; cursor: pointer; transition: fill 0.3s; }
.atlas-map path:hover, .atlas-map circle:hover { stroke: var(--ink); stroke-width: 1; }
.atlas-map .on { stroke: #fff; stroke-width: 1.6; }
.map-tip {
  position: absolute; z-index: 40; display: grid; gap: 3px; padding: 9px 12px; border-radius: 12px; pointer-events: none;
  background: rgba(24, 28, 62, 0.96); border: 1px solid var(--glass-line); color: var(--ink); font: 650 14px/1.2 var(--body);
}
.map-tip[hidden] { display: none; }
.map-tip span:last-child { background: none !important; font-weight: 600; }
.atlas-lists { margin-top: 48px; }
.group { margin-bottom: 44px; }
.group ul.cols { columns: 4 220px; column-gap: 36px; }
.group ul.cols li { break-inside: avoid; }
.group h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--glass-line); font: 750 22px/1.1 var(--display); }
.group-n { font: 700 15px/1 var(--body); color: var(--ink); }
.group ul { list-style: none; margin: 8px 0 0; padding: 0; }
.group li button {
  display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 7px 8px; margin: 0 -8px; border: 0; border-radius: 9px;
  background: transparent; color: var(--ink); font: 550 16px/1.3 var(--body); text-align: start; cursor: pointer; width: calc(100% + 16px);
}
.group li button:hover { background: rgba(255, 255, 255, 0.08); }
.group li button.on { background: rgba(25, 211, 162, 0.16); }
.group .len { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.explain-next { margin-top: 56px; }

@media (max-width: 860px) {
  .visa-result { grid-template-columns: 1fr; gap: 36px; }
  .pass-page { max-width: 470px; }
}
@media (max-width: 860px) {
  .choose { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .atlas-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pass-page.stamped .stamp { animation: none; }
  .atlas-map path, .atlas-map circle { transition: none; }
}

/* A trip being edited: its bubble lit on the ribbon */
.rb-note.active { z-index: 3; background: rgba(30, 35, 78, 0.97); border-color: rgba(25, 211, 162, 0.6); box-shadow: 0 0 0 5px rgba(25, 211, 162, 0.12), 0 18px 40px -16px rgba(0, 0, 0, 0.85); }
.rb-seg.active { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Date fields: the field shows the date written out; the browser's own date picker opens over it. */
.field.date { display: grid; }
.field.date input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; font-size: 16px; }
.field.date:focus-within { outline: 2px solid var(--aurora); outline-offset: 3px; }
.field.text input {
  width: 100%; min-width: 0; border: 0; padding: 0; margin: 0; background: transparent; color: var(--ink);
  font: 750 24px/1.15 var(--display); letter-spacing: -0.01em;
}
.field.text input::placeholder { color: var(--aurora); opacity: 1; }
.field.text input:focus { outline: none; }
.field.text:focus-within { border-color: var(--aurora); }
.field.text { padding-right: 20px; cursor: text; }
.field.empty .field-value { color: var(--aurora); }

/* The controls under a tool's title, and the panel that adds or edits a trip */
.controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 40px; }
.controls .field { min-width: 260px; }
.controls .btn { align-self: center; }
.controls .seg { align-self: center; }
.editor {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 14px; padding: 14px; max-width: 980px;
  border-radius: 24px; border: 1px solid rgba(25, 211, 162, 0.45); background: rgba(25, 211, 162, 0.06);
}
.editor[hidden] { display: none; }
.editor .field { flex: 1 1 220px; }
.editor .btn { align-self: center; }

/* The visa checker's passports, each linking to its own page */
.index { padding-block: 96px 8px; }
.index h2 { font-size: clamp(30px, 4vw, 44px); }
.passports { list-style: none; margin: 30px 0 0; padding: 0; columns: 4 200px; column-gap: 36px; }
.passports li { break-inside: avoid; }
.passports a { display: block; padding: 6px 8px; margin: 0 -8px; border-radius: 9px; color: var(--ink); text-decoration: none; font: 600 16px/1.3 var(--body); }
.passports a:hover { background: rgba(255, 255, 255, 0.08); }

/* Sources */
.sources { padding-block: 40px 40px; }
.sources h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 64px; }
.sources table { width: 100%; max-width: 980px; border-collapse: collapse; margin-top: 24px; font-size: 16px; line-height: 1.4; }
.sources th, .sources td { text-align: start; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--glass-line); color: var(--ink); }
.sources th { font-weight: 700; width: 28%; }
.sources thead th { font-size: 14px; color: var(--aurora); }
.sources td:last-child { white-space: nowrap; }
.sources a { color: var(--aurora); }
.sources .lead { max-width: 720px; margin-top: 18px; font-size: 19px; line-height: 1.6; color: var(--ink); }

@media (max-width: 600px) {
  .controls .field { min-width: 0; flex: 1 1 100%; }
  .sources td:last-child { white-space: normal; }
}
.tool-title.passport-title { font-size: clamp(40px, 5.6vw, 68px); max-width: 15em; }
