:root {
  --bg: #0B1220;
  --card: #121B2C;
  --raised: #17223A;
  --well: #0D1526;
  --ink: #E8EDF5;
  --muted: #A3B1C6;
  --line: #24324A;
  --line-strong: #3A4A66;
  --accent: #5CD6E8;
  --accent-ink: #06202A;
  --accent-soft: #12303C;
  --gold: #E9BC67;
  --ok: #6EE7B7;
  --ok-bg: #12342B;
  --ok-solid: #34D399;
  --bad: #FDA4AF;
  --bad-bg: #3B1D27;
  --bad-solid: #FB7185;
  --warn: #FCD34D;
  --warn-bg: #362B12;
  --mark: #4A3F12;
  --series-ok: #199e70;
  --series-bad: #e66767;
  --shadow: 0 1px 2px #0006, 0 8px 24px #0003;
  --focus: #7DE3F4;
  --switch-fill: #263651;
  --switch-knob: #B5D7F3;
  --switch-active: #102844;
  --sans: "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #E3E7ED;
  --card: #F1F3F7;
  --raised: #E9EDF2;
  --well: #E9EDF2;
  --ink: #152033;
  --muted: #55657D;
  --line: #CFD6E0;
  --line-strong: #AAB6C7;
  --accent: #0B6B82;
  --accent-ink: #FFFFFF;
  --accent-soft: #D5E8ED;
  --gold: #805C22;
  --ok: #0F6B4A;
  --ok-bg: #CFE8DA;
  --ok-solid: #1B9A6C;
  --bad: #A3283F;
  --bad-bg: #F1D3D8;
  --bad-solid: #D6455F;
  --warn: #7A5300;
  --warn-bg: #F0E0B4;
  --mark: #F5E3A0;
  --series-ok: #1baf7a;
  --series-bad: #e34948;
  --shadow: 0 1px 2px #1520330F, 0 6px 20px #1520330A;
  --focus: #005BAB;
  --switch-fill: #D3DDE7;
  --switch-knob: #F7F8FA;
  --switch-active: #855400;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,input,textarea,select { font: inherit; color: inherit; }
button,a,select,input[type=checkbox],input[type=radio] { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: default; }
[hidden] { display: none!important; }
h1,h2,h3,h4,p,figure,dl,dd,ol,ul { margin: 0; }
ul,ol { padding: 0; list-style: none; }

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

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  z-index: 5;
  top: -80px;
  left: 8px;
  background: var(--card);
  padding: 9px 12px;
  border-radius: 8px;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(1720px,calc(100% - 64px));
  margin-inline: auto;
}

/* ---- Header ---- */
.site {
  position: sticky;
  top: 0;
  z-index: 3;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brandmark { width: 34px; height: auto; }
.wordmark { width: 122px; height: auto; }
.product-tag {
  color: var(--gold);
  font-size: 15px;
  padding-left: 2px;
}
.mainnav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 20px;
  font-size: 14px;
}
.navlink,.linklike {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
}
.navlink:hover { color: var(--ink); }
.linklike {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.navcta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 16px;
  font-weight: 600;
}
.navcta:hover,.primary:hover { filter: brightness(1.08); }

.theme-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  width: 58px;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--switch-fill);
  color: var(--muted);
}
.theme-switch::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  z-index: -1;
  width: 24px;
  border-radius: 50%;
  background: var(--switch-knob);
  transform: translateX(26px);
}
.theme-switch span {
  display: grid;
  width: 24px;
  place-items: center;
  font: 17px/1 Arial,sans-serif;
}
.theme-switch[aria-checked="false"]::before { transform: none; }
.theme-switch[aria-checked="true"] .theme-moon,
.theme-switch[aria-checked="false"] .theme-sun { color: var(--switch-active); }

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px 40px;
  align-items: center;
  padding: 28px 0 22px;
}
.hero-copy { flex: 1 1 auto; }
h1 { white-space: nowrap; }
.title-row { position: relative; display: flex; align-items: center; gap: 10px; }
.info {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 20px;
}
.info:hover,.info[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); }
.tip {
  display: none;
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  left: 0;
  width: min(420px,100%);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
}
.info:hover + .tip,.info:focus-visible + .tip,.tip.open { display: block; }
.overline {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(21px,3vw,32px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 62ch;
}
.status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 340px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
}
.status strong,.status small { display: block; }
.status small { color: var(--muted); font-size: 13px; }
.dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--line-strong);
}
.status[data-tone="ok"] .dot { background: var(--ok-solid); box-shadow: 0 0 0 4px var(--ok-bg); }
.status[data-tone="warn"] .dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-bg); }

.notice {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 15px;
}
.notice .linklike { color: inherit; margin-left: 6px; }

/* ---- Key figures ---- */
.kpis {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}
.kpi-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi-value {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-note { color: var(--muted); font-size: 13px; }
.kpi.positive .kpi-value { color: var(--ok); }
.kpi.negative .kpi-value { color: var(--bad); }
.kpi-action .kpi-note { color: var(--accent); font-weight: 600; }
.kpi-action:not(:disabled):hover { border-color: var(--accent); }
.kpi-action[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.kpi-action:disabled .kpi-note { visibility: hidden; }

/* ---- Layout ---- */
.layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 32px;
  align-items: start;
  margin: 32px 0 64px;
}
.side { display: grid; gap: 20px; }
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  scroll-margin-top: 84px;
}
.card.accent { border-top: 3px solid var(--accent); }
.card h2 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hint { margin-top: 4px; color: var(--muted); font-size: 14px; }

/* ---- Filters ---- */
#archivo { scroll-margin-top: 84px; min-width: 0; }
.scope {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  max-width: 100%;
}
.scope label,.chips label { position: relative; }
.scope input,.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scope span {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.scope input:checked + span { background: var(--accent-soft); color: var(--accent); }
.scope input:focus-visible + span,.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto auto;
  gap: 12px;
  align-items: end;
}
.search,select,input[type=email],input[type=text],input[type=password],.chipbox {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 18px;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}
.search input:focus { outline: none; }
.search:focus-within,.chipbox:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.field {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
select {
  height: 46px;
  max-width: 220px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 400;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}
.chips legend {
  float: left;
  margin-right: 4px;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.chips span {
  display: block;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
}
.chips label:hover span { border-color: var(--accent); }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.chips input:checked + .positive { border-color: var(--ok-solid); background: var(--ok-bg); color: var(--ok); }
.chips input:checked + .negative { border-color: var(--bad-solid); background: var(--bad-bg); color: var(--bad); }
.chips input:checked + .mixed { border-color: var(--warn); background: var(--warn-bg); color: var(--warn); }

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  margin: 24px 0 4px;
}
.count { color: var(--muted); font-size: 14px; }
.list-head .linklike { font-size: 14px; }

/* ---- Ruling cards ---- */
.record {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: left;
}
button.record:hover { border-color: var(--accent); }
.record-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}
.order-line {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 6px 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.order-main,.order-name,.order-ingredient { display: block; }
.pill {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--raised);
  color: var(--muted);
  font-size: 20px;
}
.pill.positive { background: var(--ok-bg); color: var(--ok); }
.pill.negative { background: var(--bad-bg); color: var(--bad); }
.pill.mixed { background: var(--warn-bg); color: var(--warn); }
.order-name {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.01em;
}
.order-line.plain .order-name { font-weight: 600; color: var(--muted); }
.order-ingredient { margin-top: 2px; color: var(--muted); font-size: 14px; }
.order-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
}
.order-deadline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.quiet { color: var(--muted); font-weight: 400; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.badge.positive { background: var(--ok-bg); color: var(--ok); }
.badge.negative { background: var(--bad-bg); color: var(--bad); }
.badge.mixed { background: var(--warn-bg); color: var(--warn); }
.record-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.skeleton { display: grid; gap: 12px; }
.bone {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: var(--line);
}
.bone.short { width: 30%; }
.bone.mid { width: 55%; }

.empty {
  margin-top: 12px;
  padding: 40px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  text-align: center;
}
.empty h3 { margin: 12px 0 4px; font-size: 20px; font-weight: 700; }
.empty p { max-width: 420px; margin: 0 auto 16px; color: var(--muted); font-size: 15px; }
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.subtle,.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.subtle { border: 1px solid var(--line-strong); background: transparent; }
.subtle:hover { border-color: var(--accent); color: var(--accent); }
.primary { border: 0; background: var(--accent); color: var(--accent-ink); }
.primary.danger { background: var(--bad-solid); color: #1B0A0E; }
.primary:disabled,.subtle:disabled { opacity: .6; }
.wide { width: 100%; margin-top: 16px; }

/* ---- Medication ranking ---- */
#ranking { display: grid; gap: 4px; margin: 14px -10px 0; }
.rank {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  text-align: left;
}
.rank:hover { background: var(--raised); }
.rank[aria-pressed="true"] { background: var(--accent-soft); }
.rank-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rank-name { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.rank-name .ico { color: var(--muted); font-size: 16px; }
.rank-count { flex: none; color: var(--muted); font-size: 13px; }
.rank-bar { display: flex; gap: 2px; height: 6px; }
.rank-bar span { border-radius: 3px; }
.rank-bar .positive,.key.positive,.split-bar .positive,.col-stack .positive { background-color: var(--series-ok); }
.rank-bar .negative,.key.negative,.split-bar .negative,.col-stack .negative {
  background-color: var(--series-bad);
  /* A second cue besides colour, for colour-blind readers and print. */
  background-image: repeating-linear-gradient(135deg, #fff6 0 2px, transparent 2px 6px);
}
#ranking-more { margin-top: 10px; font-size: 14px; }
#ranking-note { margin-top: 10px; }
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.key { width: 10px; height: 10px; border-radius: 3px; }
.key + .key,.legend .key:not(:first-child) { margin-left: 10px; }

/* ---- Email notices ---- */
form { margin-top: 16px; }
form > label:not(.choice),#term-wrap > label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
input[type=email],dialog input[type=text],dialog input[type=password] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
}
input[type=email]:read-only { background: var(--raised); color: var(--muted); }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
}
.choice input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0;
  accent-color: var(--accent);
}
.choice strong,.choice small { display: block; }
.choice strong { font-size: 15px; }
.choice small,#terms-note { color: var(--muted); font-size: 13px; }
#term-wrap { margin: 12px 0 0 28px; }
.chipbox {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  cursor: text;
}
#term-list { display: contents; }
.term {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 4px 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.term button {
  border: 0;
  background: none;
  padding: 0 6px;
  font-size: 16px;
  line-height: 1;
}
.chipbox input {
  flex: 1 1 110px;
  min-width: 0;
  height: 30px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: 15px;
}
.chipbox input:focus { outline: none; }
#terms-note { display: block; margin-top: 6px; }
.suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.suggestion {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px 3px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: none;
  font-size: 13px;
}
.suggestion:hover { border-color: var(--accent); color: var(--accent); }
form .primary { width: 100%; min-height: 46px; margin-top: 22px; font-size: 15px; }
.cancel {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}
#feedback {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 14px;
}
#feedback.error { background: var(--bad-bg); color: var(--bad); }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--line); color: var(--muted); }
footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 0;
  font-size: 13px;
}
.footmark { color: var(--ink); font-weight: 700; }
.footlinks { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer a:hover,dialog a:hover { text-decoration: underline; }
footer .linklike { font-size: 13px; }

/* ---- Dialogs ---- */
dialog {
  width: min(600px,calc(100% - 32px));
  max-height: 88dvh;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  overflow: auto;
}
dialog::backdrop { background: #050A14B8; }
dialog h2 {
  margin: 6px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
}
dialog > p { color: var(--muted); }
.x {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  font-size: 18px;
}
.x:hover { border-color: var(--accent); color: var(--accent); }
dialog > .x { float: right; margin: -8px -8px 0 12px; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
#confirm-status:not(:empty) { margin-top: 12px; color: var(--bad); font-size: 14px; }
.steps { display: grid; gap: 14px; margin: 4px 0 18px; counter-reset: step; }
.steps li {
  position: relative;
  padding-left: 40px;
  color: var(--muted);
  font-size: 15px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.steps strong { color: var(--ink); }
.fineprint { color: var(--muted); font-size: 13px; }
#source .fineprint { margin-bottom: 18px; }

/* ---- Ruling sheet ---- */
#detail {
  width: min(780px,100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  overflow: hidden;
}
#detail[open] {
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
}
.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 28px;
  padding-top: max(env(safe-area-inset-top),12px);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.detail-actions { display: flex; gap: 8px; }
.detail-actions .subtle { white-space: nowrap; }
.detail-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 28px;
  padding-bottom: max(env(safe-area-inset-bottom),28px);
}
#detail-title {
  margin: 0;
  font-size: clamp(22px,2.6vw,28px);
  overflow-wrap: anywhere;
}
.meta { margin-top: 6px; color: var(--muted); font-size: 14px; }
#detail-body { display: grid; gap: 20px; margin-top: 24px; }
#detail-body h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#case-analysis,#basis-section,#transcript {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
#detail-summary {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
#findings {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr));
  gap: 12px;
}
#findings:not(:empty) { margin-top: 18px; }
.finding {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 12px;
  background: var(--raised);
  overflow-wrap: anywhere;
}
.finding.positive { border-left-color: var(--ok-solid); }
.finding.negative { border-left-color: var(--bad-solid); }
.finding.mixed { border-left-color: var(--warn); }
.finding h4 { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.finding dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.finding dd { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.finding dd.quiet { font-size: 14px; }
.finding dd:last-child { margin-bottom: 0; }
.source-passage { margin-top: 18px; }
.source-passage figcaption { margin-bottom: 8px; font-size: 14px; font-weight: 700; }
blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--line-strong);
  font: 16px/1.7 Georgia,'Times New Roman',serif;
}
blockquote p,#detail-text p { margin: 0 0 .8em; overflow-wrap: break-word; }
blockquote p:last-child,#detail-text p:last-child { margin-bottom: 0; }
mark {
  padding: 0 3px;
  border-radius: 4px;
  background: var(--mark);
  color: inherit;
  font-weight: 700;
}
summary { cursor: pointer; font-weight: 700; color: var(--accent); }
#detail-text {
  max-width: 72ch;
  margin-top: 18px;
  font: 16px/1.7 Georgia,'Times New Roman',serif;
}
.official { display: grid; gap: 10px; justify-items: start; }

@media(prefers-reduced-motion:no-preference) {
  .theme-switch::before { transition: transform .16s ease; }
  .record,.kpi,.rank,.chips span { transition: border-color .15s ease, background-color .15s ease; }
  #detail[open] { animation: sheet .22s ease-out; }
  .bone { animation: pulse 1.2s ease-in-out infinite alternate; }
  @keyframes sheet { from { transform: translateX(32px); opacity: 0; } }
  @keyframes pulse { to { opacity: .45; } }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
}

@media(max-width:1020px) {
  .layout { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .side { grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); align-items: start; }
}
@media(max-width:700px) {
  .wrap { width: calc(100% - 32px); }
  .top { gap: 10px; min-height: 56px; }
  .wordmark { width: 96px; }
  .brandmark { width: 28px; }
  .navlink { display: none; }
  .hero { padding: 20px 0 16px; }
  .status { max-width: none; width: 100%; }
  .kpis { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 26px; }
  .kpi-label { font-size: 13px; }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .search { grid-column: 1 / -1; }
  select { width: 100%; max-width: none; }
  .scope { display: flex; }
  .scope label { flex: 1; text-align: center; }
  .scope span { padding: 8px 6px; font-size: 13px; }
  .order-line { grid-template-columns: auto minmax(0,1fr); align-items: start; }
  .order-side { grid-column: 2; justify-content: flex-start; }
  .pill { width: 34px; height: 34px; font-size: 18px; }
  .record { padding: 14px 16px; }
  .detail-toolbar { padding-inline: 16px; }
  .detail-scroll { padding: 20px 16px; }
  #case-analysis,#basis-section,#transcript { padding: 16px; }
  #detail { border-left: 0; }
  dialog { padding: 22px; }
}
@media(max-width:360px) {
  h1 { font-size: 17px; }
  .info { width: 28px; height: 28px; }
}
@media(max-width:400px) {
  #detail-label { display: none; }
  .detail-actions { flex: 1; justify-content: space-between; }
  .product-tag { display: none; }
  .navcta { padding: 8px 12px; }
}
@media print {
  .site,.side,.toolbar,.chips,.scope,footer,.kpi-note { display: none; }
}

/* ---- Menu and views ---- */
.hamburger {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  margin-left: -8px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 22px;
}
.hamburger:hover { background: var(--accent-soft); color: var(--accent); }
.mainnav { gap: 4px; }
.mainnav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}
.mainnav a:hover { color: var(--ink); }
.mainnav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
#contenido:focus { outline: none; }
#menu {
  width: min(340px,88vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 auto 0 0;
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
}
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-left: 8px; }
#menu nav { display: grid; gap: 4px; }
#menu nav a,.menu-more button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  text-align: left;
  font-size: 15px;
}
#menu nav a > .ico { font-size: 22px; color: var(--muted); }
#menu nav strong,#menu nav small { display: block; }
#menu nav small { color: var(--muted); font-size: 13px; }
#menu nav a:hover,.menu-more button:hover { background: var(--raised); }
#menu nav a[aria-current="page"] { background: var(--accent-soft); }
#menu nav a[aria-current="page"] strong,#menu nav a[aria-current="page"] > .ico { color: var(--accent); }
.menu-more { display: grid; gap: 2px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.menu-more button { color: var(--muted); font-weight: 600; }
.menu-more .ico { font-size: 18px; }
.card.cta .primary { margin-top: 14px; width: 100%; }
[data-view="panel"] .hero,[data-view="avisos"] .hero { align-items: end; }
[data-view] > .hero .hint { max-width: 60ch; }

/* ---- Email notices page ---- */
.avisos-layout {
  display: grid;
  grid-template-columns: minmax(0,560px) minmax(0,400px);
  gap: 24px;
  align-items: start;
  margin-bottom: 64px;
}
.benefits { display: grid; gap: 18px; margin-top: 16px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.benefits .ico {
  box-sizing: content-box;
  padding: 9px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
}
.benefits strong { display: block; color: var(--ink); font-size: 15px; }

/* ---- Dashboard ---- */
#dash { margin-bottom: 64px; }
#dash.stale { opacity: .55; }
#dash-empty { margin-bottom: 64px; }
.charts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  margin-top: 20px;
}
.chart { min-width: 0; }
.bars { display: grid; gap: 4px; margin: 14px -10px 0; }
.bars .fineprint { padding: 4px 10px; }
div.rank { cursor: default; }
.rank-bar span:first-child { border-radius: 3px 4px 4px 3px; }
.chart .rank-bar { height: 10px; }
.chart .rank-bar span { border-radius: 2px 4px 4px 2px; }
.split { margin-top: 18px; }
.split-bar { display: flex; gap: 2px; height: 28px; }
.split-bar span { min-width: 6px; border-radius: 4px; }
.split-labels { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.split-label { display: inline-flex; align-items: center; gap: 8px; }
.split-label b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.cols {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 220px;
  margin-top: 18px;
}
.col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  max-width: 96px;
  border-radius: 8px;
}
.col:hover,.col:focus-visible { background: var(--raised); }
.col-plot {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  border-bottom: 1px solid var(--line-strong);
}
.col-total { margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.col-stack { display: flex; flex-direction: column; gap: 2px; width: min(60%,36px); min-height: 4px; }
.col-stack span { min-height: 3px; flex-basis: 0; }
.col-stack span:first-child { border-radius: 4px 4px 0 0; }
.col-label { padding: 6px 0 2px; color: var(--muted); font-size: 12px; text-align: center; white-space: nowrap; }
.tablewrap { margin-top: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th,td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
tbody th { font-weight: 600; }
td,thead th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
#viz-tip {
  position: fixed;
  z-index: 10;
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}
#viz-tip strong { color: var(--ink); font-size: 13px; }
.tip-row { display: flex; align-items: center; gap: 6px; }
.tip-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tip-row i { width: 12px; height: 3px; border-radius: 2px; }
.tip-row i.positive { background: var(--series-ok); }
.tip-row i.negative { background: var(--series-bad); }

@media(max-width:1020px) {
  .avisos-layout { grid-template-columns: 1fr; }
}
@media(max-width:860px) {
  .mainnav { display: none; }
  .theme-switch { margin-left: auto; }
  .charts { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
}
@media(min-width:861px) {
  .chart.wide { grid-column: 1 / -1; }
}

/* ---- Dashboard filters, trend, alerts ---- */
.dash-filters {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr)) auto;
  gap: 12px 14px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}
.dash-filters select { width: 100%; max-width: none; }
.dash-filters .linklike { height: 46px; white-space: nowrap; }
.dash-note { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.trend { margin-top: 18px; padding-left: 44px; }
.trend-plot { position: relative; height: 200px; margin: 12px 0 0; }
.trend-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trend-plot polyline { fill: none; stroke: var(--series-ok); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trend-grid {
  position: absolute;
  left: -44px;
  right: 0;
  height: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 0;
  font-variant-numeric: tabular-nums;
}
.trend-slot { position: absolute; top: -12px; bottom: -8px; border-radius: 8px; }
.trend-slot:hover,.trend-slot:focus-visible { background: color-mix(in srgb, var(--raised) 60%, transparent); }
.trend-dot,.trend-tag { position: absolute; left: 50%; margin-top: 12px; }
.trend-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--card);
  border-radius: 50%;
  background: var(--series-ok);
  transform: translate(-50%,-50%);
}
.trend-tag { transform: translate(-50%,-190%); color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trend-tag.below { transform: translate(-50%,70%); }
.trend-axis { display: flex; margin-top: 10px; }
.trend-axis .col-label { flex: 1 1 0; min-width: 0; overflow: hidden; }
.alert-list,.user-list { display: grid; gap: 8px; margin-top: 14px; }
.alert-list li,.user-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
}
.alert.changed { border-color: var(--warn); }
.alert-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.alert-text span,.alert-empty { color: var(--muted); font-size: 13px; }
.alert-list .badge,.alert-list .x { flex: none; }
.alert-list .x { width: 34px; height: 34px; font-size: 15px; }
.badge.quiet { background: var(--raised); color: var(--muted); }
.alert-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.alert-form select { height: 40px; }
.alert-form .primary { width: auto; min-height: 40px; margin: 0 0 0 auto; padding: 0 18px; font-size: 14px; }
#alert-note { margin-top: 10px; }
.menu-user { padding: 4px 12px 8px; color: var(--muted); font-size: 13px; }
.menu-user strong { color: var(--ink); }
#login { width: min(420px,calc(100% - 32px)); }
#login-error,#user-feedback.error { margin-top: 12px; color: var(--bad); font-size: 14px; }
#user-feedback { margin-top: 12px; font-size: 14px; }
#user-feedback code { padding: 2px 8px; border-radius: 6px; background: var(--raised); color: var(--ink); font-size: 15px; user-select: all; }
dialog form > label:not(.choice) { margin-top: 14px; }
@media(max-width:1020px) {
  .dash-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dash-filters .linklike { height: auto; justify-self: start; }
}
@media(max-width:560px) {
  .dash-filters { grid-template-columns: 1fr; }
  .alert-list li { flex-wrap: wrap; }
  .alert-text { flex-basis: calc(100% - 50px); }
  .alert-form .primary { width: 100%; margin-left: 0; }
  .trend { padding-left: 38px; }
  .trend-grid { left: -38px; }
}

/* ---- Lines, donut, highlights, questions ---- */
.trend-plot polyline.negative { stroke: var(--series-bad); stroke-dasharray: 6 4; }
.trend-plot .area { stroke: none; fill: var(--series-ok); opacity: .13; }
.trend-dot.negative { background: var(--series-bad); border-radius: 3px; }
.key.line { width: 16px; height: 3px; border-radius: 2px; background-image: none; }
.key.line.negative { background: repeating-linear-gradient(90deg, var(--series-bad) 0 5px, transparent 5px 8px); }
.donut { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 36px; margin-top: 14px; }
.donut-figure { position: relative; width: min(210px,60vw); aspect-ratio: 1; }
.donut-figure svg { width: 100%; height: 100%; }
.arc { fill: none; stroke-width: 14; outline-offset: 2px; }
.arc.positive { stroke: var(--series-ok); }
.arc.negative { stroke: url(#hatch); }
.hatch-base { fill: var(--series-bad); }
.arc:hover,.arc:focus-visible { stroke-width: 16; }
.donut-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut-centre strong { font-size: 34px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.donut-centre span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.donut-labels { display: grid; gap: 14px; }
.donut-label { display: grid; gap: 1px; }
.donut-label .split-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.donut-label b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.donut-label small { color: var(--muted); font-size: 13px; }
.insights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.insight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), var(--card) 70%);
  color: var(--muted);
  font-size: 14px;
}
.insight strong { color: var(--ink); }
.insight-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--card); color: var(--accent); font-size: 16px; }
.latest { display: grid; gap: 6px; margin-top: 14px; }
.latest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--well);
  color: inherit;
  text-align: left;
  text-decoration: none;
}
.latest-row:hover { border-color: var(--accent); }
.latest-row > .ico { flex: none; color: var(--muted); }
.dash-filters { grid-template-columns: repeat(4,minmax(0,1fr)) auto auto; }
#export-open { height: 46px; gap: 8px; white-space: nowrap; }
#export-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
#export select { width: 100%; max-width: none; text-transform: capitalize; }
.alert-new { margin-top: 12px; font-size: 14px; }
.pro-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
#menu nav strong .pro-tag { display: inline-block; }
.ask-layout { display: grid; gap: 20px; max-width: 1100px; margin-bottom: 64px; }
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}
.ask-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.ask-actions .primary { width: auto; min-height: 44px; margin: 0; padding: 0 26px; }
.ask-try { margin-top: 20px; }
.ask-examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask-chip {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}
.ask-chip:hover { border-color: var(--accent); color: var(--accent); }
#ask-thread { display: grid; gap: 16px; }
.answer p { margin-top: 10px; line-height: 1.6; }
.answer .answer-question { margin-top: 0; color: var(--accent); font-weight: 700; font-size: 17px; }
.answer .overline { margin-top: 18px; }
.answer.failed { border-color: var(--bad); }
@media(prefers-reduced-motion:no-preference) {
  .rank-bar span { animation: grow .5s ease-out both; transform-origin: left; }
  .arc { animation: sweep .7s ease-out both; }
  .arc,.latest-row { transition: stroke-width .15s ease, border-color .15s ease; }
  @keyframes grow { from { transform: scaleX(0); } }
  @keyframes sweep { from { stroke-dasharray: 0 264; } }
}
@media(max-width:1020px) {
  .insights { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dash-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
  .insights,.dash-filters { grid-template-columns: 1fr; }
  .ask-actions { flex-direction: column-reverse; align-items: stretch; }
  .ask-actions .primary { width: 100%; }
}

.official-card { display: grid; grid-template-columns: minmax(110px,max-content) 1fr; gap: 8px 18px; margin-top: 12px; font-size: 14px; }
.official-card dt { color: var(--muted); font-weight: 600; }
.official-card dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media(max-width:560px) { .official-card { grid-template-columns: 1fr; gap: 2px; } .official-card dd { margin-bottom: 10px; } }

/* Who must supply it: one chip per obligated body, beside the decision in the rulings list. */
.badge.payer { color: var(--ink); background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; }

/* Who must supply it, as a donut. Fixed colour per body; validated on both card surfaces. */
:root { --payer-1: #3987e5; --payer-2: #d95926; --payer-3: #9085e9; --payer-4: #c98500; }
html[data-theme="light"] { --payer-1: #2a78d6; --payer-2: #eb6834; --payer-3: #6250d6; --payer-4: #eda100; }
.arc.payer-1 { stroke: var(--payer-1); } .key.payer-1 { background-color: var(--payer-1); }
.arc.payer-2 { stroke: var(--payer-2); } .key.payer-2 { background-color: var(--payer-2); }
.arc.payer-3 { stroke: var(--payer-3); } .key.payer-3 { background-color: var(--payer-3); }
.arc.payer-4 { stroke: var(--payer-4); } .key.payer-4 { background-color: var(--payer-4); }
.arc.payer-other { stroke: var(--line-strong); } .key.payer-other { background-color: var(--line-strong); }
#chart-payers.bars { display: block; }
/* A donut sits in the middle of its card, whatever height the row gives it. */
.card.chart:has(> div > .donut) { display: flex; flex-direction: column; }
.card.chart:has(> div > .donut) > div:has(> .donut) { flex: 1; display: grid; align-content: center; }
.card.chart:has(> div > .donut) .donut { margin-block: 14px; }
/* Product stage, beside the logo. */
.beta-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.version { color: var(--muted); font-variant-numeric: tabular-nums; }
.copyright { margin-right: 18px; color: var(--muted); }
/* A name is never split mid-word: when it does not fit beside the counts, the counts go below. */
.rank-head { flex-wrap: wrap; }
.rank-name { overflow-wrap: break-word; }
#condition { max-width: 250px; }
