/* Regenjas — minimal, fresh, mobile first. */

:root {
  /* Every colour has one job, and only that one.
       ink, muted, faint   text and marks, from most to least important
       accent              what can be tapped, and nothing else
       yes                 rain: the answer that asks for something
       no                  dry: the answer that asks for nothing, kept calm
       warn                old data, errors, deleting
     Text clears 4.5:1 on every surface it sits on, marks and outlines 3:1.
     Soft fills stand apart from their card: 1.15:1 in light, 1.3:1 in dark. */
  --bg: #f4fafb;
  --card: #ffffff;
  --ink: #10262e;
  --muted: #52707a;
  --faint: #738b92;
  --line: #dcebef;
  --chip-ink: #466470;
  --chip-tint: 7.5%;         /* of ink, so a chip shows on any card */
  --accent: #0a7580;
  --accent-soft: #e1f1f3;
  --accent-strong: #0a7580;
  --on-strong: #ffffff;
  --yes: #1f5fae;
  --yes-soft: #eef4fc;
  --on-yes: #ffffff;
  --no: #2e7556;
  --no-soft: #d5e3dd;
  --no-on-soft: #245f45;     /* the pill's text: the fill is too strong for --no */
  --warn: #b4472f;
  --warn-soft: #fce6e0;
  --warn-line: #c87866;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 38, 46, .05), 0 8px 24px rgba(16, 38, 46, .05);
  --ring: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1719;
    --card: #142125;
    --ink: #e8f3f5;
    --muted: #94aeb6;
    --faint: #5f7a81;
    --line: #21343a;
    --chip-ink: #94aeb6;
    --chip-tint: 10%;
    --accent: #46c1cc;
    --accent-soft: #1c3a40;
    /* The light accent is the colour of the drops; a chosen button is a deep
       teal with a ring instead. */
    --accent-strong: #0c4f57;
    --on-strong: #ffffff;
    --yes: #82bcf5;
    --yes-soft: #16283b;
    --on-yes: #0d1719;
    --no: #7cc4a4;
    --no-soft: #2b4541;
    --no-on-soft: #7cc4a4;
    --warn: #f0917a;
    --warn-soft: #4d2c23;
    --warn-line: #a35c4b;
    --shadow: none;
    --ring: inset 0 0 0 2px var(--accent);
  }
}

* { box-sizing: border-box; }

/* The hidden attribute is only display:none in the UA sheet, so any author
   rule setting display on the same element beats it. Never let that happen. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  /* Installed on a phone the page runs under the notch and the home bar. */
  padding:
    calc(1.5rem + env(safe-area-inset-top, 0px))
    calc(1.1rem + env(safe-area-inset-right, 0px))
    calc(3rem + env(safe-area-inset-bottom, 0px))
    calc(1.1rem + env(safe-area-inset-left, 0px));
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main, header, footer { max-width: 44rem; margin: 0 auto; }

.hero { text-align: center; padding: 1rem 0 1.5rem; }
.hero .logo { display: block; margin: 0 auto .6rem; }
.hero.compact { padding: .5rem 0 1rem; }

h1 {
  margin: 0 0 .35rem;
  font-size: 1.9rem;
  letter-spacing: -.02em;
  font-weight: 650;
}

h2 {
  margin: 2.25rem 0 .6rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--accent);
}

h3 { margin: 0 0 .3rem; font-size: .95rem; font-weight: 650; }

p { margin: 0 0 .8rem; }

.tagline { color: var(--muted); margin: 0 auto; max-width: 30rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: var(--accent-soft);
  padding: .1em .35em;
  border-radius: 5px;
  word-break: break-word;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
}

.sample { text-align: center; padding: 1.6rem 1.2rem; }

.verdict {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -.01em;
}
.verdict.yes { color: var(--yes); font-weight: 700; }
.verdict.no { color: var(--no); }

.detail { margin: 0; color: var(--muted); }

.windows { display: grid; gap: .75rem; margin-top: 1rem; }
.window { border-left: 3px solid var(--line); }
.window.yes { border-left-color: var(--yes); }
.window.no { border-left-color: var(--no); }
.window p { margin: 0 0 .3rem; }

.note { color: var(--muted); font-size: .82rem; }

.examples, .sources { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.examples a { text-decoration: none; }
.examples code { display: block; padding: .55rem .7rem; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }
.examples a:hover code { border-color: var(--accent); }

.grammar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .7rem .8rem;
  overflow-x: auto;
  margin: 0 0 1rem;
}
.grammar code { background: none; padding: 0; white-space: pre; }
.grammar b { color: var(--accent); font-weight: 650; }

dl { margin: 0; }
dt { font-weight: 650; margin-top: .9rem; }
dd { margin: .15rem 0 0; color: var(--muted); }
dd code { color: var(--ink); }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
th { font-weight: 650; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
td:first-child { white-space: nowrap; }

.also { margin-top: 1.75rem; color: var(--muted); }

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
footer p { margin: 0 0 .35rem; }

@media (min-width: 40rem) {
  body {
    padding:
      calc(2.5rem + env(safe-area-inset-top, 0px))
      calc(1.5rem + env(safe-area-inset-right, 0px))
      calc(4rem + env(safe-area-inset-bottom, 0px))
      calc(1.5rem + env(safe-area-inset-left, 0px));
  }
  h1 { font-size: 2.3rem; }
  .verdict { font-size: 1.5rem; }
}

/* --- The builder ------------------------------------------------------- */

.builder { display: grid; gap: 1.15rem; padding: 1.3rem 1.2rem; }

.field { display: grid; gap: .4rem; }

.builder label, .builder .label {
  font-size: .82rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: .01em;
}

.builder input[type="text"],
.builder input[type="time"] {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .6rem .7rem;
  width: 100%;
  min-width: 0;
}

.builder input:focus-visible,
.builder button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Location, with its suggestion list */

.combo { position: relative; }

.suggestions {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: .25rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(16, 38, 46, .12);
  max-height: 15rem;
  overflow-y: auto;
}

.suggestions li {
  padding: .5rem .6rem;
  border-radius: 7px;
  cursor: pointer;
  font-size: .92rem;
}

.suggestions li.active,
.suggestions li:hover { background: var(--accent-soft); color: var(--accent); }

/* Windows */

.windows-input { display: grid; gap: .5rem; }

.window-row { display: flex; align-items: center; gap: .5rem; }
.window-row input[type="time"] { flex: 1 1 0; }
.window-row .dash { color: var(--muted); }

.window-row .remove {
  flex: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.window-row .remove:hover { border-color: var(--accent); color: var(--accent); }

.ghost {
  justify-self: start;
  font: inherit;
  font-size: .85rem;
  background: none;
  border: 1px dashed var(--line);
  color: var(--accent);
  border-radius: 8px;
  padding: .4rem .7rem;
  cursor: pointer;
}
.ghost:hover { border-color: var(--accent); border-style: solid; }

/* The live answer */

.answer { margin: 0; }
.answer.card { padding: 1rem 1.1rem; text-align: center; }
.answer.empty, .answer.loading, .answer.problem {
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
  padding: .6rem 0;
}
.answer.problem { color: var(--warn); }

.answer-windows {
  list-style: none;
  margin: .7rem 0 0;
  padding: .7rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .3rem;
  text-align: left;
  font-size: .88rem;
  color: var(--muted);
}
.answer-windows b { color: var(--ink); font-weight: 650; }

/* The three links */

.links { display: grid; gap: .55rem; }
.link-row { display: grid; gap: .25rem; }

.copy { display: flex; gap: .4rem; align-items: flex-start; }

.copy .url {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .55rem .7rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink);
  word-break: break-all;
}

.copy-btn {
  flex: none;
  font: inherit;
  font-size: .82rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid transparent;
  border-radius: 9px;
  padding: .4rem .75rem;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); }
.copy-btn.done { background: var(--accent-strong); color: var(--on-strong); }

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

@media (prefers-color-scheme: dark) {
  .suggestions { box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
}

.toggle { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.toggle input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.toggle span { font-size: .95rem; font-weight: 650; color: var(--ink); }

/* --- The app ------------------------------------------------------------ */

main.app { display: grid; gap: 1rem; }
/* Grid items grow to fit what cannot wrap, like the one-line verdict; they
   must not, or the fitting has nothing to fit into. */
main.app > * { min-width: 0; }

.app-head { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.app-head .logo { margin: 0; }
.app-head h1 { margin: 0; font-size: 1.5rem; }

.button, .primary {
  display: inline-block;
  font: inherit;
  font-size: .95rem;
  font-weight: 650;
  background: var(--accent-strong);
  color: var(--on-strong);
  box-shadow: var(--ring);
  border: 0;
  border-radius: 10px;
  padding: .65rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .primary:hover { filter: brightness(1.08); }
.open-app { margin: 1.1rem 0 0; }


/* The answer for the current setting */

.current { padding: 1.1rem 1.2rem 1rem; text-align: center; }

.current-setting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  min-height: 2.75rem;
  margin: -.35rem 0 .6rem;
  padding: .35rem .6rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  color: var(--ink);
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .15s;
}
/* Context, not news: plain until a finger or pointer finds it. */
.current-setting:hover, .current-setting:focus-visible { background: var(--accent-soft); }
.current-setting:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.current-setting #a-setting { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A setting's place and times. A range never breaks in the middle, and on a
   narrow screen the times always get a line of their own. */
.combo-range { white-space: nowrap; }
@media (max-width: 39.99rem) {
  .combo-sep { display: none; }
  .combo-place, .combo-times { display: block; }
  .combo-times { font-size: .85em; font-weight: 400; color: var(--muted); }
  .current-setting #a-setting { white-space: normal; line-height: 1.3; }
  .current-setting #a-setting > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.current-setting .pencil { flex: none; color: var(--faint); transition: color .15s; }
.current-setting:hover .pencil, .current-setting:focus-visible .pencil { color: var(--accent); }

.day {
  display: inline-block;
  margin: .2rem 0 .45rem;
  padding: .1rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--chip-ink);
  background: color-mix(in srgb, var(--ink) var(--chip-tint), transparent);
}
/* Today is the normal case. An answer about another day is worth noticing. */
.day.tomorrow { color: var(--card); background: var(--ink); }


/* A card of one size, whatever the answer: every part keeps its room, and
   one that has nothing to say is only made invisible. The per-window details
   are folded away, so only opening them makes the card taller. */
.current .blank { visibility: hidden; }
/* A yes is the answer that asks for something: it tints the whole card. The
   edge is a shadow, not a border, so the card keeps its size. */
.current { transition: background-color .2s, box-shadow .2s; }
.current.is-yes {
  background: var(--yes-soft);
  border-color: color-mix(in srgb, var(--yes) 25%, var(--line));
  box-shadow: inset 0 3px 0 var(--yes), var(--shadow);
}
.current .day { height: 1.45rem; line-height: 1.25rem; vertical-align: top; }
.current .day:empty::before { content: "\a0"; }
/* The general loading and problem styles pad and shrink; not in here. */
.current .answer { padding: 0; font-size: 1rem; }
.current .verdict {
  /* Always one line: app.js shrinks the text until it fits. The box keeps
     the height of the largest size, so shrinking never moves anything. */
  overflow: hidden;
  white-space: nowrap;
  height: 2.4rem;
  line-height: 2.4rem;
  margin: 0 0 .5rem;
  font-size: 1.6rem;
}
.current .detail {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  height: 4.5rem;            /* three lines of 1rem at 1.5 */
  line-height: 1.5;
}
/* A short title where the verdict goes, in the same box. */
.current .answer.loading .verdict { font-size: 1.1rem; font-weight: 400; color: var(--muted); }
.current .answer.problem .verdict { font-size: 1.3rem; color: var(--warn); }
.current.refreshing .answer,
.current.refreshing .more,
.current.refreshing .day { opacity: .5; transition: opacity .2s; }

.more { margin: .5rem 0 0; text-align: left; font-size: .88rem; }
.more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2rem;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "▸"; color: var(--faint); transition: transform .15s, color .15s; }
.more summary:hover, .more[open] summary { color: var(--ink); }
.more summary:hover::before, .more[open] summary::before { color: var(--accent); }
.more[open] summary::before { transform: rotate(90deg); }
.more .passed { margin: .3rem 0 0; text-align: center; }
.more .answer-windows { margin-top: .5rem; }

.updated { margin: .5rem 0 0; }
.updated.stale {
  width: fit-content;
  margin-inline: auto;
  padding: 0 .6rem;
  border-radius: 999px;
  color: var(--warn);
  background: var(--warn-soft);
  box-shadow: inset 0 0 0 1px var(--warn-line);
}

/* The last few settings */

/* The app's section headings: Jouw plaatsen, Instellingen, Delen. */
main.app .section-h {
  margin: 0;
  font-size: .8rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: .5rem 0 .5rem;
}
/* Over the answers, starting where the pills start: a column as wide as a
   pill (4rem), as far from the edge as a pill is: the list's border, the ×
   (2.75rem) and the row's padding (.6rem). The word is wider than the
   column and runs on to the right, over the crosses.
   Written with main.app, or the heading rule above would zero the margin. */
main.app .recent-col {
  flex: none;
  display: flex;
  justify-content: flex-start;
  width: 4rem;
  margin-right: calc(3.35rem + 1px);
  white-space: nowrap;
}
.share-block { display: grid; gap: .5rem; margin-top: .6rem; }

.recent {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.recent li { display: flex; align-items: stretch; }
.recent li + li { border-top: 1px solid var(--line); }

.recent li { position: relative; background: var(--card); }

/* The grip on the left. It takes the pointer for itself, so dragging it moves
   the row instead of scrolling the page. */
.recent-drag {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  min-height: 2.75rem;
  padding: 0;
  color: var(--faint);
  background: none;
  border: 0;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.recent-drag:hover, .recent-drag:focus-visible { color: var(--accent); }
.recent-drag:focus-visible, .recent-pick:focus-visible, .recent-remove:focus-visible,
.segments input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.recent li.dragging {
  z-index: 2;
  box-shadow: 0 6px 20px rgba(16, 38, 46, .18);
  border-radius: 10px;
}
.recent li.dragging .recent-drag { cursor: grabbing; color: var(--accent); }
.recent.sorting li + li { border-top-color: transparent; }
.recent.sorting li { transition: none; }


.recent-status { margin: .5rem 0 0; }

/* Amount and chance: two rows of buttons that hold for every setting. */
.criteria { display: grid; gap: .6rem; margin: 1.6rem 0 0; }
.recent-block .criteria .section-h { margin: 0 0 -.1rem; }
/* Too narrow for "Elke hoeveelheid": both rows say just "Elke". */
.criteria.short .seg-rest { display: none; }
.segmented { margin: 0; padding: 0; border: 0; min-width: 0; }
.segmented legend { padding: 0; margin: 0 0 .3rem; font-size: .82rem; font-weight: 650; color: var(--muted); }
.segments {
  display: grid;
  /* Four equal buttons, whatever their labels say. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.segments label { position: relative; display: flex; min-width: 0; cursor: pointer; }
.segments input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.segments label > span {
  flex: 1 1 auto;
  min-width: 0;             /* so a word too long shows as overflow, for app.js */
  display: grid;
  place-items: center;
  min-height: 2.5rem;
  padding: .3rem .35rem;
  border-radius: 9px;
  font-size: .82rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
  color: var(--ink);
  transition: background-color .15s, color .15s;
}
.segments label + label > span { white-space: nowrap; }
.segments label:hover > span { background: var(--accent-soft); }
.segments input:checked + span {
  color: var(--on-strong);
  background: var(--accent-strong);
  box-shadow: var(--ring);
}

.recent-pick, .recent-new {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 2.9rem;
  padding: .55rem .6rem .55rem 0;
  font: inherit;
  font-size: .92rem;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
}
.recent-pick { flex: 1 1 auto; min-width: 0; }
.recent-pick:hover { background: var(--accent-soft); }
.recent-pick::before {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  border: 2px solid var(--faint);
}
/* The chosen place looks bold without being bold: real bold is wider, and
   would push a long name onto another line the moment it is picked. A thin
   outline thickens the letters without moving them. */
.recent-pick[aria-current="true"] .combo-place {
  color: var(--ink);
  -webkit-text-stroke: .03em currentColor;
  paint-order: stroke fill;
}
.recent-pick[aria-current="true"]::before { background: var(--accent); border-color: var(--accent); }

.recent-remove {
  flex: none;
  width: 2.75rem;
  min-height: 2.75rem;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--faint);
  background: none;
  border: 0;
  cursor: pointer;
}
.recent-remove:hover, .recent-remove:focus-visible { color: var(--warn); background: var(--warn-soft); }

/* Starts where the grips above it start: the list's border, then the 14px
   grip centred in its 2.5rem button. */
.recent-new { color: var(--accent); padding: .35rem 0 0 calc(1px + (2.5rem - 14px) / 2); min-height: 2.75rem; }
.recent-new:hover { text-decoration: underline; }

.recent-text { flex: 1 1 auto; min-width: 0; }
/* One line for the name and one for the times, in the list; whatever does
   not fit ends in "…", and the whole of it is in the title. On a wide screen
   they share a line: the name gets at most half of it, the times the rest. */
.recent-text .combo-place,
.recent-text .combo-times { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 40rem) {
  .recent-text { display: flex; align-items: baseline; }
  .recent-text .combo-place { flex: 0 0 auto; max-width: 50%; }
  .recent-text .combo-sep { flex: none; white-space: pre; }
  .recent-text .combo-times { flex: 0 1 auto; min-width: 0; }
}

.pill {
  flex: none;
  min-width: 4rem;
  padding: .1rem .5rem;
  white-space: nowrap;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-align: center;
  text-transform: lowercase;
}
/* Filled for a yes, so a list of settings is scanned for rain at a glance. */
.pill.yes { color: var(--on-yes); background: var(--yes); font-weight: 700; }
.pill.no { color: var(--no-on-soft); background: var(--no-soft); }
.pill.pending { color: var(--faint); }

/* What is left for a moment where a setting was deleted. */
.recent .undo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2.9rem;
  padding: 0 .4rem 0 1rem;
  font-size: .88rem;
  color: var(--muted);
  background: var(--accent-soft);
}
.undo-row button {
  font: inherit;
  font-weight: 650;
  color: var(--accent);
  background: none;
  border: 0;
  min-height: 2.5rem;
  padding: 0 .6rem;
  cursor: pointer;
}

/* The form, when it edits a setting */

.form-error { margin: 0; color: var(--warn); font-size: .9rem; }
.primary:disabled { opacity: .6; cursor: default; filter: none; }

.actions { display: flex; justify-content: flex-end; gap: .6rem; }
.actions .ghost { justify-self: auto; padding: .6rem 1rem; font-size: .95rem; }

/* The links, folded away */

.share { padding: 0; }
.share summary {
  padding: .85rem 1.2rem;
  min-height: 2.75rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  cursor: pointer;
  list-style-position: inside;
}
.share summary::marker { color: var(--faint); }
.share summary:hover, .share[open] summary { color: var(--ink); }
.share summary:hover::marker, .share[open] summary::marker { color: var(--accent); }
.share[open] summary { border-bottom: 1px solid var(--line); }
.share .links { padding: .9rem 1.2rem 1.1rem; gap: .8rem; }
.share .links > .note { margin: 0; }
.share .label { font-size: .82rem; font-weight: 650; color: var(--muted); }
.share input[type="time"] {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: .5rem .7rem;
  justify-self: start;
}
