/*
 * The marine palette, copied from ui/src/commonMain/kotlin/yemoja/ui/gui/Palette.kt so the
 * website reads as the same application: navy where the app is navy, the same grey, the same
 * light-or-dark-as-the-system switch the window itself makes. See website/doc.md.
 */

:root {
  --primary: #2a5a87;
  --on-primary: #ffffff;
  --primary-container: #d3e4f7;
  --on-primary-container: #0b1e33;
  --secondary: #506a82;
  --tertiary: #2e6b6a;
  --background: #f8fafc;
  --on-background: #191c1f;
  --surface-container: #ecf0f4;
  --surface-container-high: #e6ebf0;
  --outline: #737b85;
  --outline-variant: #c2c8d0;
  --caution: #fcefc7;
  --on-caution: #4a3a00;
  --danger: #b3261e;
  --code-background: #e0e6eb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #a5c8f0;
    --on-primary: #0d2c4a;
    --primary-container: #1e4267;
    --on-primary-container: #d3e4f7;
    --secondary: #b8c9db;
    --tertiary: #a2d1cf;
    --background: #101417;
    --on-background: #e0e3e7;
    --surface-container: #1c2024;
    --surface-container-high: #262b2f;
    --outline: #959da6;
    --outline-variant: #414a54;
    --caution: #4a3a00;
    --on-caution: #fcefc7;
    --danger: #ffb4ab;
    --code-background: #31363a;
  }
}

* {
  box-sizing: border-box;
}

/* Hidden means hidden, whatever display a class gives the element otherwise. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--on-background);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

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

code {
  background: var(--code-background);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.92em;
}

pre {
  background: var(--code-background);
  border-radius: 8px;
  padding: 1em;
  overflow-x: auto;
}

pre code {
  background: none;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--outline-variant);
  margin: 2em 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

th, td {
  border: 1px solid var(--outline-variant);
  padding: 0.5em 0.75em;
  text-align: left;
}

th {
  background: var(--surface-container);
}

/* Header and footer, shared by every page. */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* A guaranteed gap between the brand and the links, and a second line on a phone. */
  gap: 0.5em 2em;
  flex-wrap: wrap;
  padding: 1em 1.5em;
  border-bottom: 1px solid var(--outline-variant);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  font-size: 1.2em;
  text-decoration: none;
  color: var(--on-background);
}

.brand img {
  border-radius: 6px;
}

.site-header nav {
  display: flex;
  gap: 1.5em;
}

.site-header nav a {
  text-decoration: none;
  color: var(--on-background);
}

.site-header nav a:hover {
  color: var(--primary);
}

/* On a phone the brand and the links share one line: everything a size smaller, so they fit. */
@media (max-width: 480px) {
  .site-header {
    padding: 0.6em 0.75em;
    gap: 0.5em 0.75em;
  }

  .brand {
    font-size: 1.05em;
    gap: 0.4em;
  }

  .brand img {
    width: 24px;
    height: 24px;
  }

  .site-header nav {
    gap: 0.75em;
  }

  .site-header nav a {
    font-size: 0.9em;
  }
}

.site-footer {
  border-top: 1px solid var(--outline-variant);
  padding: 1.5em;
  color: var(--outline);
  font-size: 0.9em;
  text-align: center;
}

.site-footer a {
  margin-left: 0.5em;
}

/* Home page. */

.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 3em 1.5em 2em;
  text-align: center;
}

.hero img {
  border-radius: 20px;
}

.hero h1 {
  font-size: 2.3em;
  margin: 0.5em 0 0.2em;
}

.hero .tagline {
  font-size: 1.2em;
  color: var(--secondary);
  margin-bottom: 1.5em;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  text-decoration: none;
  padding: 0.75em 1.75em;
  border-radius: 999px;
  font-weight: 600;
}

.button:hover {
  opacity: 0.9;
}

/* Pressed, so a click is seen to have landed even where nothing else on the page changes. */
.button:active {
  transform: translateY(1px);
  opacity: 0.7;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--outline-variant);
  cursor: pointer;
}

.button.secondary:hover {
  background: var(--surface-container-high);
  opacity: 1;
}

/* What a download or an upload just did, beside its buttons, gone again after a few seconds. */
.file-said {
  align-self: center;
  font-size: 0.85em;
  color: var(--outline);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  margin: 1.5em 0;
}

.cta-note {
  color: var(--outline);
  font-size: 0.9em;
}

.features {
  max-width: 900px;
  margin: 2em auto;
  padding: 0 1.5em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
}

.feature {
  background: var(--surface-container);
  border-radius: 12px;
  padding: 1.25em;
}

.feature h3 {
  margin-top: 0;
  color: var(--primary);
}

/* Download page. */

.download-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5em 1.5em;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.platform-card {
  background: var(--surface-container);
  border-radius: 12px;
  padding: 1.5em;
  text-align: center;
}

.platform-card.detected {
  outline: 2px solid var(--primary);
}

.platform-card h2 {
  margin-top: 0;
}

.platform-card .status {
  color: var(--outline);
  font-size: 0.9em;
  min-height: 1.4em;
}

/* What a platform's download needs saying beyond its button, smaller and left-aligned. */
.platform-card .platform-detail {
  text-align: left;
  font-size: 0.85em;
  line-height: 1.45;
  color: var(--outline);
}

.planned-note {
  background: var(--caution);
  color: var(--on-caution);
  border-radius: 8px;
  padding: 1em 1.25em;
}

/* Docs pages. */

.docs-layout {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.docs-nav {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 2em 1em;
  position: sticky;
  top: 0;
}

.docs-nav a {
  text-decoration: none;
  color: var(--on-background);
  padding: 0.4em 0.6em;
  border-radius: 6px;
}

.docs-nav a.current {
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-weight: 600;
}

.docs-nav a:hover {
  background: var(--surface-container);
}

.docs-content {
  flex: 1;
  min-width: 0;
  padding: 2em 1.5em 4em;
}

.docs-content article {
  max-width: 720px;
}

.docs-index {
  list-style: none;
  padding: 0;
}

.docs-index li {
  margin-bottom: 1.2em;
}

.docs-index a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1em;
}

.docs-index p {
  margin: 0.2em 0 0;
  color: var(--outline);
}

@media (max-width: 720px) {
  .docs-layout {
    flex-direction: column;
  }

  .docs-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1em;
  }
}

/* Planner page. */

.planner-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5em 1.5em 3em;
}

.planner-page h1 {
  margin: 0 0 0.3em;
}

.planner-page > p {
  margin: 0.5em 0;
  line-height: 1.4;
}

.warning-note {
  background: var(--caution);
  color: var(--on-caution);
  border-radius: 8px;
  padding: 0.7em 1em;
  line-height: 1.4;
}

.field-note {
  color: var(--outline);
  font-size: 0.85em;
  margin: -0.4em 0 0.6em;
  line-height: 1.35;
}

.plan-field {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin-bottom: 0.6em;
}

.plan-field label {
  font-size: 0.9em;
  color: var(--secondary);
}

.plan-field input, .plan-field select {
  padding: 0.5em 0.6em;
  border: 1px solid var(--outline-variant);
  border-radius: 6px;
  background: var(--background);
  color: var(--on-background);
}

.plan-field-checkbox {
  flex-direction: row;
  align-items: center;
}

.plan-field-checkbox label {
  color: var(--on-background);
  font-size: 1em;
}

.plan-table {
  border-collapse: collapse;
  width: 100%;
  margin: 0.3em 0 0.6em;
  line-height: 1.3;
  /* One size for what is typed and what is worked out, so the two read as one table. */
  font-size: 0.92em;
}

.plan-table th, .plan-table td {
  border: 1px solid var(--outline-variant);
  padding: 0.25em 0.4em;
}

.plan-table th {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--secondary);
}

.plan-table input, .plan-table select {
  width: 100%;
  padding: 0.15em 0.35em;
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  background: var(--background);
  color: var(--on-background);
  font: inherit;
}

.plan-table tr.added-line {
  color: var(--outline);
}

/* Worked out rather than typed: a derived duration or rate, and a gas followed from the line
   above, read in italics as the app shows them. */

.plan-table input::placeholder {
  font-style: italic;
  color: var(--outline);
  opacity: 1;
}

.line-gas.following {
  font-style: italic;
  color: var(--outline);
}

.plan-table .gas-number {
  text-align: center;
  color: var(--outline);
  width: 1.5em;
}

.button.small {
  padding: 0.2em 0.7em;
  font-size: 0.85em;
}

.planner-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1em;
  align-items: start;
}

.planner-left, .planner-side {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.planner-box {
  background: var(--surface-container);
  border-radius: 12px;
  padding: 0.9em 1em;
}

.planner-box h2 {
  margin: 0 0 0.4em;
  color: var(--primary);
  font-size: 1.05em;
}

.planner-box summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05em;
  color: var(--primary);
}

details.planner-box[open] summary {
  margin-bottom: 0.5em;
}

/* The settings, in titled sections stacked in two columns, as the app's own planner has them. */

.settings-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25em;
}

.settings-column h3 {
  margin: 0.3em 0 0.3em;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary);
}

.settings-column .plan-field {
  margin-bottom: 0.4em;
}

.settings-column .plan-field label {
  font-size: 0.82em;
}

.settings-column input, .settings-column select {
  padding: 0.2em 0.4em;
  font-size: 0.92em;
}

.static-value {
  padding: 0.3em 0;
  font-size: 0.92em;
  color: var(--outline);
}

/* Contingency: the two settings across the top, then a row per scenario — its control first,
   the sentence it works out beside it, wrapping under the row where it runs long. */

.contingency-settings {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 0.6em;
}

.contingency-settings .plan-field {
  margin-bottom: 0.4em;
}

.contingency-settings .plan-field label {
  font-size: 0.82em;
}

.contingency-settings input {
  padding: 0.2em 0.4em;
  font-size: 0.92em;
  max-width: 9em;
}

/* Name, control, explanation: fixed first two columns, so the explanations line up. */
.scenario-line {
  display: grid;
  grid-template-columns: 8.5em 9em 1fr;
  align-items: baseline;
  gap: 0.25em 0.6em;
  margin-bottom: 0.4em;
  font-size: 0.92em;
  line-height: 1.35;
}

.scenario-line select {
  width: 100%;
}

.scenario-name {
  font-weight: 600;
  flex: 0 0 auto;
}

.scenario-line select {
  padding: 0.2em 0.35em;
  font-size: 0.92em;
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  background: var(--background);
  color: var(--on-background);
}

.scenario-said {
  margin: 0;
  font-size: 0.85em;
  line-height: 1.4;
  color: var(--outline);
}

.scenario-said:empty {
  display: none;
}

/* Below the columns: the clocks on one line, the warnings, and the graph, in the app's order. */

.clocks-line {
  font-weight: 600;
  margin: 1em 0 0.4em;
}

.clocks-line:empty {
  display: none;
}

.plan-said {
  color: var(--outline);
  font-style: italic;
}

.plan-said:empty {
  display: none;
}

.result-warnings {
  background: var(--caution);
  color: var(--on-caution);
  border-radius: 8px;
  padding: 0.6em 1em;
}

.result-warnings:empty {
  display: none;
}

.gas-reserve, .gas-used, .gas-end {
  white-space: nowrap;
  color: var(--outline);
}

.gas-reserve.short, .gas-used.short, .gas-end.short {
  color: var(--danger);
  font-weight: 600;
}

/* What only a phone shows: the role abbreviated beside the cylinder's number, the units under the
   headings, and one button adding a cylinder below the last. */
.role-pick,
.narrow-only {
  display: none;
}

/* A box the plan cannot do without, as the app marks one: red edge, red text. */
.plan-table input.wrong {
  border-color: var(--danger);
  outline: 1px solid var(--danger);
  color: var(--danger);
}

.row-actions {
  white-space: nowrap;
  width: 1%;
}

/* The runtime's columns in proportion, so no one of them takes what the others leave: the
   minute is two digits, depth, duration and rate a short number each, and the gas a cylinder
   and its mix, which wants a little more but not the rest of the line. */

#lines-table th:nth-child(1), #lines-table td:nth-child(1) { width: 7%; }
#lines-table th:nth-child(2), #lines-table td:nth-child(2) { width: 17%; }
#lines-table th:nth-child(3), #lines-table td:nth-child(3) { width: 18%; }
#lines-table th:nth-child(4), #lines-table td:nth-child(4) { width: 18%; }
#lines-table th:nth-child(5), #lines-table td:nth-child(5) { width: 28%; }

/*
 * The cylinders' columns, every one given its share. A fixed layout makes every browser honour
 * them: left to size the table itself, Safari gave the spare room to the role and the figures and
 * squeezed size, fill and SAC to two characters. A phone keeps its own narrower widths below.
 */
@media (min-width: 601px) {
  #gases-table {
    table-layout: fixed;
  }

  #gases-table th:nth-child(1) { width: 2.2em; }
  #gases-table th:nth-child(2) { width: 13%; }
  #gases-table th:nth-child(3) { width: 17%; }
  #gases-table th:nth-child(4),
  #gases-table th:nth-child(5),
  #gases-table th:nth-child(6) { width: 9%; }
  #gases-table th:nth-child(7),
  #gases-table th:nth-child(9) { width: 8%; }
  #gases-table th:nth-child(8) { width: 7%; }
  #gases-table th:nth-child(10) { width: 4.8em; }
}

/* No spinner arrows in the tables: a browser keeps room for them inside the box, which is room a
   three-figure fill needs, and nobody steps a depth up a metre at a time. */
.plan-table input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.plan-table input[type="number"]::-webkit-inner-spin-button,
.plan-table input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#gases-table .gas-used, #gases-table .gas-end, #gases-table .gas-reserve {
  text-align: right;
}

.button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Two columns only where the left one leaves the tables room: below this the gases' boxes were
   squeezed past reading, so the boxes stack instead. */
@media (max-width: 1100px) {
  .planner-columns {
    grid-template-columns: 1fr;
  }
}

/*
 * A phone's planner, after the phone app's (`PHONE-2` in the yemoja repository): the four boxes
 * in the order a plan is made, settings, gases, runtime, contingency; the tables smaller, their
 * units moved under the headings; the cylinder's role abbreviated by its number rather than a
 * column; and one Add gas button below the cylinders rather than a + on each.
 */
@media (max-width: 600px) {
  .planner-page {
    padding: 1em 0.5em 2em;
  }

  .planner-left, .planner-side {
    display: contents;
  }

  .planner-settings { order: 1; }
  .planner-gases { order: 2; }
  .planner-runtime { order: 3; }
  .planner-contingency { order: 4; }

  .planner-box {
    padding: 0.6em 0.5em;
    border-radius: 8px;
    /* A last resort: a table still too wide scrolls within its box, not the page. */
    overflow-x: auto;
  }

  .plan-table {
    font-size: 0.8em;
  }

  .plan-table th, .plan-table td {
    padding: 0.15em 0.12em;
  }

  .plan-table th {
    font-size: 0.9em;
    line-height: 1.15;
  }

  .plan-table th .unit {
    display: block;
    font-weight: 400;
  }


  .plan-table input, .plan-table select {
    padding: 0.1em 0.15em;
  }


  .row-actions .button.small {
    padding: 0.1em 0.4em;
  }

  #lines-table th:nth-child(1), #lines-table td:nth-child(1) { width: 8%; }
  #lines-table th:nth-child(2), #lines-table td:nth-child(2) { width: 16%; }
  #lines-table th:nth-child(3), #lines-table td:nth-child(3) { width: 18%; }
  #lines-table th:nth-child(4), #lines-table td:nth-child(4) { width: 16%; }
  #lines-table th:nth-child(5), #lines-table td:nth-child(5) { width: 26%; }

  /* The role column gives way to the abbreviation beside the number: Bt, Dc, Bl. */
  #gases-table th:nth-child(3), #gases-table td:nth-child(3) {
    display: none;
  }

  .plan-table .gas-number {
    width: auto;
    white-space: nowrap;
  }

  /* The abbreviation drawn as a closed choice, with the real one, invisible, over it to take the
     tap and open the full names. */
  .role-pick {
    display: inline-block;
    position: relative;
    margin-left: 0.15em;
    vertical-align: middle;
  }

  .role-shown {
    display: inline-block;
    padding: 0.1em 0.3em;
    border: 1px solid var(--outline-variant);
    border-radius: 4px;
    background: var(--background);
    color: var(--primary);
  }

  .role-shown::after {
    content: ' \25BE';
    color: var(--outline);
  }

  .plan-table .gas-role-letter {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .role-pick:focus-within .role-shown {
    outline: 2px solid var(--primary);
  }

  /* A box never makes its column wider than the screen. */
  .settings-column, .plan-field input, .plan-field select {
    min-width: 0;
  }

  .plan-field input, .plan-field select {
    width: 100%;
    padding: 0.35em 0.45em;
  }

  .settings-sections {
    gap: 0 0.75em;
  }

  #gases-table th:nth-child(2), #gases-table td:nth-child(2) { width: 4.4em; }

  #gases-table th:nth-child(4), #gases-table td:nth-child(4),
  #gases-table th:nth-child(5), #gases-table td:nth-child(5) {
    width: 2.5em;
  }

  /* Wide enough for its unit, l/min, on one line under the heading. */
  #gases-table th:nth-child(6), #gases-table td:nth-child(6) {
    width: 3.1em;
  }

  .plan-table th .unit {
    white-space: nowrap;
  }

  #gases-table .add-below {
    display: none;
  }

  button.narrow-only {
    display: inline-block;
  }

  /* The scenario's sentence under its control rather than beside it, as on the phone. */
  .scenario-line {
    grid-template-columns: 8.5em 1fr;
  }

  .scenario-said {
    grid-column: 1 / -1;
  }
}

.plan-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 0.5em;
}

.plan-tabs {
  display: flex;
  align-items: stretch;
  gap: 0.25em;
  flex-wrap: wrap;
}

.plan-tab {
  display: flex;
  align-items: center;
  gap: 0.15em;
  padding: 0.25em 0.4em;
  border: 1px solid var(--outline-variant);
  border-radius: 8px 8px 0 0;
  background: var(--surface-container);
}

.plan-tab.active {
  background: var(--primary-container);
  border-color: var(--primary);
}

.plan-tab.refused .tab-label,
.plan-tab.refused .tab-name {
  color: var(--danger);
}

.tab-name {
  padding: 0.15em 0.3em;
  font-size: 0.92em;
  border: none;
  background: transparent;
  color: var(--on-background);
}

.tab-name:focus {
  outline: 1px solid var(--primary);
  border-radius: 4px;
}

.tab-label {
  padding: 0.15em 0.4em;
  font-size: 0.92em;
  border: none;
  background: transparent;
  color: var(--on-background);
  cursor: pointer;
}

.tab-close,
.tab-add {
  padding: 0 0.35em;
  font-size: 0.95em;
  line-height: 1.4;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--outline);
  cursor: pointer;
}

.tab-close:hover,
.tab-add:hover {
  color: var(--on-background);
  background: var(--surface-container-high);
}

.tab-add {
  align-self: center;
  border: 1px solid var(--outline-variant);
  padding: 0.15em 0.5em;
}

.plan-after-row {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  flex-wrap: wrap;
  margin-bottom: 1em;
  font-size: 0.92em;
}

.plan-after-row select,
.plan-after-row input {
  padding: 0.2em 0.35em;
  font-size: 0.92em;
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  background: var(--background);
  color: var(--on-background);
}

.plan-after-row input {
  width: 5em;
}

#interval-field {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
}

.plan-actions {
  display: flex;
  gap: 0.75em;
  flex-wrap: wrap;
}

.raw-json summary {
  cursor: pointer;
  color: var(--primary);
}

.overlay-row {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  margin: 1em 0 0.25em;
  font-size: 0.92em;
}

.overlay-row select {
  padding: 0.2em 0.35em;
  font-size: 0.92em;
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  background: var(--background);
  color: var(--on-background);
}

/* What each line on the graph is, under it, each with a short sample of how it is drawn. */
.plot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em 1.4em;
  margin: -1em 0 1.5em;
  font-size: 0.8em;
  color: var(--outline);
}

.legend-swatch {
  display: inline-block;
  width: 2em;
  margin-right: 0.45em;
  vertical-align: middle;
  border-top: 2px solid;
}

.legend-swatch.dotted {
  border-top-style: dotted;
}

.legend-swatch.dashed {
  border-top-style: dashed;
}

/* The box a click on the plot opens, beside the moment it marks. */
.plot-wrap {
  position: relative;
}

.graph-box {
  position: absolute;
  z-index: 1;
  padding: 0.35em 0.6em;
  font-size: 0.8em;
  line-height: 1.45;
  background: var(--background);
  border: 1px solid var(--outline-variant);
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  white-space: nowrap;
}

.graph-box div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}

.graph-box div span:first-child {
  color: var(--outline);
}

.graph-box .breathed {
  text-decoration: underline;
}

.profile-plot {
  cursor: crosshair;
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-container);
  border-radius: 12px;
  margin: 0.25em 0 1.5em;
}
