/* Wishlist: product photos on white tiles, one marigold price tag per item. */

@font-face { font-family: "Fira Sans"; src: url("fonts/fira-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("fonts/cardo-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("fonts/cardo-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --mist: #e6ecf1;        /* page */
  --paper: #ffffff;       /* photo tiles: Skroutz photos are shot on white */
  --slate: #1c2b39;       /* text */
  --slate-soft: #4f6072;  /* secondary text */
  --rule: #c5d0da;
  --marigold: #f3b83a;    /* the price tag */
  --tag-ink: #1c2b39;     /* text on the tag, same in both themes */
  --tag-muted: #d3dbe2;
  --tile-ink: #c5d0da;    /* placeholder letter on a photo tile */
  --photo-dim: none;      /* filter on product photos */
  --field: #ffffff;       /* text inputs */
  --accent-soft: #fbe6b4; /* "you're getting this" */
  --card: #ffffff;        /* admin panels */
  --ok: #2f8f5b;
  --bad: #c8463d;

  --serif: "Cardo", "Iowan Old Style", Georgia, serif;
  --sans: "Fira Sans", "Segoe UI", system-ui, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mist: #141c24;
    /* Photos are shot on white. Dimming the photo and the tile by the same amount
       keeps them seamless without a glaring white square. */
    --paper: #e4e4e4;
    --photo-dim: brightness(0.894);
    --slate: #e3e9ef;
    --slate-soft: #9eafbf;
    --rule: #33424f;
    --tag-muted: #b9c4ce;
    --field: #1d2731;
    --accent-soft: #4a3a14;
    --card: #1b252f;
    --ok: #5cc28a;
    --bad: #ef6f64;
  }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--mist);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.1rem, 5vw, 4rem) 3rem;
  max-width: 82rem;
  margin-inline: auto;
  position: relative;
}

/* Top-right corner: EN/ΕΛ switch and the Admin (or "back") button. */
.topbar {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(1.1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
}

.langs {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  overflow: hidden;
}
.langs__opt {
  padding: 0.35rem 0.6rem;
  color: var(--slate-soft);
  text-decoration: none;
}
.langs__opt + .langs__opt { border-left: 1px solid var(--rule); }
.langs__opt:hover { color: var(--slate); }
/* .topbar prefix: beats the admin page's general link colour */
.topbar .langs__opt--on,
.topbar .langs__opt--on:hover { background: var(--slate); color: var(--mist); }
.langs__opt:focus-visible { outline: 2px solid var(--slate); outline-offset: -2px; }

.topbar__btn {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--slate-soft);
  text-decoration: none;
}
.topbar__btn:hover { color: var(--slate); border-color: var(--slate-soft); }
.topbar__btn:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

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

.masthead { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 46rem; }

.masthead__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.masthead__lede {
  margin: 0;
  max-width: 34rem;
  color: var(--slate-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- shelf */

.shelf {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
  gap: clamp(2.25rem, 4vw, 3.25rem) clamp(1.25rem, 2.5vw, 2rem);
}

.item { margin: 0; min-width: 0; }

.item__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
}

.item__link:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 6px;
}

.item__photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: 6px;
  margin-bottom: 0.9rem;
}

.item__photo img {
  /* Out of the flow, so a tall photo can't stretch the square tile. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 11%;
  border-radius: 6px;
  filter: var(--photo-dim);
}

.item__initial {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--tile-ink);
}

.item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-weight: 500;
  font-size: 0.975rem;
  line-height: 1.38;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.item__link:hover .item__title,
.item__link:focus-visible .item__title { text-decoration-line: underline; }

.item__note {
  margin: 0.4rem 0 0;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--slate-soft);
}

.item__status {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-soft);
}

.item--unavailable .item__photo img { opacity: 0.55; filter: grayscale(1); }

.item--taken .item__photo { opacity: 0.45; }
.item--taken .item__title { color: var(--slate-soft); }

/* ---------------------------------------------------------------- the tag */

.tag {
  position: absolute;
  top: 1rem;
  right: -0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  padding: 0.5rem 0.8rem 0.55rem 1.5rem;
  background: var(--marigold);
  color: var(--tag-ink);
  line-height: 1;
  clip-path: polygon(0.85rem 0, 100% 0, 100% 100%, 0.85rem 100%, 0 50%);
  transform: rotate(-3deg);
  transform-origin: 0 50%;
}

/* the punched hole */
.tag::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgb(28 43 57 / 0.35);
}

.tag__from {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.tag__price {
  font-weight: 600;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.tag__price--small { font-size: 0.8rem; font-weight: 500; }

/* Price when the item was added, if it has dropped since. */
.tag__was {
  font-size: 0.72rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}
.tag__was s { text-decoration-thickness: 1.5px; }

.tag--muted { background: var(--tag-muted); }

/* Items someone has already reserved, below the open ones. */
.taken { margin-top: clamp(3rem, 7vw, 4.5rem); }
.taken__heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--slate-soft);
}

/* ---------------------------------------------------------------- guest page: "I'll get this" */

.masthead__hint {
  margin: 1rem 0 0;
  max-width: 34rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--marigold);
  font-size: 0.95rem;
  line-height: 1.5;
}

.claim { margin: 0.75rem 0 0; font-size: 0.88rem; line-height: 1.4; }

.claim__open {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--slate-soft);
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.claim__open::-webkit-details-marker { display: none; }
.claim__open:hover { border-color: var(--slate); }
.claim__open:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.claim[open] .claim__open { background: var(--slate); border-color: var(--slate); color: var(--mist); }

.claim__form { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.7rem; }

.claim__label { color: var(--slate-soft); font-size: 0.8rem; }

.claim__input {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.6rem;
  color: var(--slate);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.claim__input:focus { outline: 2px solid var(--slate); outline-offset: 1px; }

.claim__confirm,
.claim__undo {
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
}

.claim__confirm {
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border: 0;
  background: var(--marigold);
  color: var(--tag-ink);
}
.claim__confirm:hover { filter: brightness(1.05); }
.claim__confirm:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

.claim--mine {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  padding: 0.45rem 0.7rem;
  background: var(--accent-soft);
  border-radius: 6px;
}
.claim__text { font-weight: 500; }

.claim__undo {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.claim__undo:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

.claim--taken { color: var(--slate-soft); font-weight: 500; }
.claim--taken::before { content: "✓ "; }

/* ---------------------------------------------------------------- empty + footer */

.empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--slate-soft);
  margin: 0;
}

.colophon {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--slate-soft);
  font-size: 0.85rem;
}

.colophon p { margin: 0; }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 34rem) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .tag { top: 0.6rem; right: -0.4rem; padding: 0.4rem 0.6rem 0.45rem 1.25rem; }
  .tag__price { font-size: 0.95rem; }
  .tag__from { font-size: 0.68rem; }
  .item__title { font-size: 0.9rem; }
}

/* ---------------------------------------------------------------- admin page */

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

.admin { font-size: 0.95rem; }
.admin a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.admin code { font-size: 0.88em; overflow-wrap: anywhere; }
.muted { color: var(--slate-soft); }

.admin__head { margin-bottom: 2rem; }
.admin__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1;
  margin: 0 0 0.5rem;
}
.admin__sub { margin: 0; color: var(--slate-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  background: var(--card);
  border-radius: 8px;
  border-top: 3px solid var(--marigold);
}
.stat--warn { border-top-color: var(--bad); }
.stat__num { font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat__label { color: var(--slate-soft); font-size: 0.85rem; }

.panel { margin-bottom: 2.75rem; }
.panel__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 0 0 0.9rem;
}

.table-wrap {
  position: relative; /* keeps the hidden .sr-only labels inside the scroll box */
  overflow-x: auto;
  background: var(--card);
  border-radius: 8px;
}
.table { width: 100%; border-collapse: collapse; min-width: 40rem; }
.table th, .table td { padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; }
.table th {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--slate-soft);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.table tbody tr + tr td { border-top: 1px solid var(--rule); }
.table td { white-space: nowrap; }
.table .table__item { white-space: normal; min-width: 12rem; max-width: 30rem; }
.table .table__status { white-space: normal; min-width: 10rem; max-width: 16rem; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table__act { text-align: right; width: 1%; }
.table__act form { margin: 0; }
.row--muted td { color: var(--slate-soft); }

.btn {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.btn--quiet { background: none; color: inherit; border: 1px solid var(--rule); }
.btn--quiet:hover { border-color: var(--slate-soft); }
.btn:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

.pill {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--tag-muted);
  color: var(--tag-ink);
  white-space: nowrap;
}
.pill--gold { background: var(--marigold); }

.status { font-weight: 500; }
.status::before { content: "● "; color: var(--slate-soft); }
.status--ok::before { color: var(--ok); }
.status--warn::before { color: var(--marigold); }
.status--bad::before { color: var(--bad); }
.error {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  margin-top: 0.2rem;
  white-space: normal;
  overflow-wrap: break-word;
  font-size: 0.8rem;
  color: var(--slate-soft);
}

.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.45rem 1.5rem;
  margin: 0 0 1rem;
}
.facts dt { color: var(--slate-soft); }
.facts dd { margin: 0; min-width: 0; }

.plain { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.plain li + li { margin-top: 0.35rem; }

@media (max-width: 34rem) {
  .facts { grid-template-columns: 1fr; gap: 0.1rem; }
  .facts dd { margin-bottom: 0.6rem; }
}

/* ---------------------------------------------------------------- admin: messages, forms, editor, charts */

.admin__head { padding-right: 9rem; } /* room for the top bar */

.notice {
  margin: 0 0 2rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--card);
  border-left: 4px solid var(--ok);
}
.notice--bad { border-left-color: var(--bad); }

.panel__hint { margin: -0.4rem 0 1rem; font-size: 0.88rem; }

.field {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.6rem;
  color: var(--slate);
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.field:focus { outline: 2px solid var(--slate); outline-offset: 1px; }
.field--small { padding: 0.3rem 0.5rem; font-size: 0.85rem; }
.field::placeholder { color: var(--slate-soft); opacity: 0.8; }

.btn--primary { border: 0; background: var(--marigold); color: var(--tag-ink); padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn--primary:hover { filter: brightness(1.05); }
.btn--icon { min-width: 2rem; padding-inline: 0.45rem; }
.btn--danger:hover { border-color: var(--bad); color: var(--bad); }
.btn:disabled { opacity: 0.35; cursor: default; }

.addform {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--card);
  border-radius: 8px;
}
.addform__field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1 1 12rem; }
.addform__field--url { flex: 3 1 18rem; }
.addform__label { font-size: 0.8rem; color: var(--slate-soft); }

.editor { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: 8px; }
.editor__row {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.4rem 0.75rem;
  align-items: start;
  padding: 0.7rem 0.9rem;
}
.editor__row + .editor__row { border-top: 1px solid var(--rule); }
.editor__row:target { background: var(--accent-soft); }
.editor__num { color: var(--slate-soft); font-variant-numeric: tabular-nums; padding-top: 0.1rem; }
.editor__main { min-width: 0; }
.editor__title { font-weight: 500; }
.editor__note { display: flex; gap: 0.4rem; margin-top: 0.45rem; max-width: 30rem; }
.editor__acts { display: flex; gap: 0.35rem; }
.editor__acts form { margin: 0; }

.table .table__hist { white-space: normal; min-width: 9rem; max-width: 13rem; }
.spark { display: block; overflow: visible; }
.spark path { fill: none; stroke: var(--slate-soft); stroke-width: 1.5; stroke-linejoin: round; }
.spark circle { fill: var(--marigold); }
.spark--down path { stroke: var(--ok); }
.hist { display: block; margin-top: 0.2rem; font-size: 0.75rem; color: var(--slate-soft); line-height: 1.35; }
.hist__drop { color: var(--ok); font-weight: 600; }

.plain__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; }
.plain__row form { margin: 0; }

tr:target td { background: var(--accent-soft); }

@media (max-width: 34rem) {
  .admin__head { padding-right: 0; padding-top: 1.5rem; }
  .editor__row { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .editor__acts { grid-column: 2; }
}

/* Phones: room above the title for the top bar. */
@media (max-width: 34rem) {
  body { padding-top: 3.5rem; }
}

/* ---------------------------------------------------------------- most wanted, bought, target, login */

.star {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--slate);
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .star { background: var(--marigold); color: var(--tag-ink); }
}

.claim__acts { display: inline-flex; flex-wrap: wrap; gap: 0.2rem 0.75rem; align-items: baseline; }
.claim__acts form { margin: 0; }
.claim__done {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.6rem;
  border: 0;
  border-radius: 6px;
  background: var(--slate);
  color: var(--mist);
}
.claim__done:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.claim--bought { background: var(--card); border: 1px solid var(--ok); }
.claim--bought .claim__text::before { content: "✓ "; color: var(--ok); }

.pill--ok { background: var(--ok); color: #fff; }

.editor__starform { display: inline; margin: 0; }
.star-toggle {
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0 0.15rem;
  margin-right: 0.15rem;
  border: 0;
  background: none;
  color: var(--slate-soft);
  cursor: pointer;
  vertical-align: -0.05em;
}
.star-toggle--on { color: var(--marigold); }
.star-toggle:hover { color: var(--marigold); }
.star-toggle:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; border-radius: 4px; }

.editor__note { max-width: 36rem; }
.field--target { flex: 0 0 6.5rem; width: 6.5rem; }
.field--hit { border-color: var(--ok); }

.target { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: var(--slate-soft); white-space: nowrap; }
.target--hit { color: var(--ok); font-weight: 600; }

.inline-form { display: inline-block; margin: 0 0 0 0.5rem; vertical-align: middle; }

.topbar__form { margin: 0; }
button.topbar__btn { font: inherit; background: none; cursor: pointer; }

.login { max-width: 24rem; margin-top: 1rem; }
.login .admin__sub { margin-bottom: 1.75rem; }
.login__form { display: flex; flex-direction: column; gap: 0.9rem; }
.login__field { display: flex; flex-direction: column; gap: 0.3rem; }
.login__form .btn--primary { align-self: flex-start; }

@media (max-width: 34rem) {
  .star { top: 0.45rem; left: 0.45rem; padding: 0.15rem 0.45rem; }
  .star__text {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}

/* ---------------------------------------------------------------- admin: notification settings */

.notif__state { display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; margin: -0.3rem 0 1.25rem; }
.notif { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.notif__group {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--card);
  min-width: 0;
}
.notif__group legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.notif__group legend + * { clear: both; }
.notif__channel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem 0.9rem;
  padding: 0.6rem 0;
}
.notif__channel + .notif__channel { border-top: 1px solid var(--rule); }
.notif__channel > strong { flex: 0 0 5.5rem; align-self: center; }
.notif__field { display: flex; flex-direction: column; gap: 0.25rem; flex: 1 1 12rem; min-width: 0; }
.notif__field--wide { flex: 2 1 18rem; }
.notif__hint { margin: 0.6rem 0 0; font-size: 0.82rem; }
.notif__inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; margin: 0; }
.notif__inline label { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1rem; }
.notif__sub { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 0.75rem; }
.notif > .btn--primary { align-self: flex-start; }

.check { display: inline-flex; align-items: baseline; gap: 0.45rem; font-size: 0.88rem; cursor: pointer; }
.check--block { display: flex; padding: 0.3rem 0; }
.check input { accent-color: var(--marigold); width: 1rem; height: 1rem; flex: none; transform: translateY(0.15rem); }

.field--num { width: 5rem; }
.field--time { width: 7.5rem; }
.field--select { width: auto; }

.mute-toggle { font-size: 0.95rem; filter: grayscale(1); opacity: 0.55; }
.mute-toggle:hover { opacity: 1; }
.mute-toggle--on { filter: none; opacity: 1; }

.nowrap { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.35rem; }
