@font-face {
  font-family: Onest;
  src: url('/onest.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Unbounded;
  src: url('/unbounded.woff2') format('woff2');
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #080705;
  --board: #1d160d;
  --paper: #ffdb70;
  --ink: #36240b;
  --cream: #f6eee0;
  --muted: #c4b7a2;
  --gold: #efca63;
  --edge: #51402a;
  --ease: cubic-bezier(.2, .7, .26, 1);
  --text: Onest, system-ui, sans-serif;
  --display: Unbounded, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 62rem 34rem at 20% -9rem, #2a2012, var(--night) 75%);
  color: var(--cream);
  font: 400 1rem/1.55 var(--text);
}

a { color: var(--gold); text-underline-offset: .18em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }

.site-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5rem;
  gap: 1rem;
  border-bottom: 1px solid #3b2d1d;
}

.brand {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
  font: 750 1.05rem/1 var(--display);
}

.brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold), 0 0 1.5rem #efca632e;
}

.site-bar nav, .site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.site-bar nav a, .site-footer a { color: var(--muted); text-decoration: none; }
.site-bar nav a:hover, .site-footer a:hover { color: var(--gold); }
.site-footer { padding-block: 1.5rem 2rem; font-size: .875rem; }

.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(1.35rem, 3vw, 2.15rem);
}

h1, h2, p { margin: 0; }
h1 { font: 760 clamp(1.8rem, 5vw, 3.7rem)/1.17 var(--display); letter-spacing: -.05em; }
.board-heading p { color: var(--muted); margin-top: .65rem; }

.action, .subtle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  width: fit-content;
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}

.action { background: var(--gold); border-color: #ffe198; color: #291b0b; }
.action:hover:not(:disabled) { background: #ffe093; }
.action span { font-size: 1.45em; line-height: 1; }
.subtle { border-color: var(--edge); background: transparent; color: var(--cream); }
.subtle:hover:not(:disabled) { border-color: var(--gold); }

.board {
  position: relative;
  isolation: isolate;
  min-height: clamp(23rem, 58vh, 40rem);
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid #d4af3729;
  border-radius: .9rem;
  /* Owner 2026-11-27: no cork, a black board with a light gold glow. */
  background:
    radial-gradient(ellipse 70% 55% at 18% 0, #d4af3724, transparent 70%),
    radial-gradient(ellipse 55% 50% at 95% 100%, #d4af3717, transparent 72%),
    linear-gradient(160deg, #0d0b07, #050404 60%, #0a0805);
  box-shadow: inset 0 1px #f7dd8a14, 0 1rem 2.5rem #0008;
}

.state, .sign-in {
  width: min(100%, 30rem);
  margin: clamp(1rem, 8vh, 5rem) auto;
  text-align: center;
}

.state { color: var(--cream); }
.sign-in {
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border: 1px solid #877049;
  border-radius: .55rem;
  background: #19130c;
  box-shadow: 0 .85rem 2rem #0006;
}

.sign-in h2 { font-size: 1.4rem; line-height: 1.25; }
.sign-in p { margin: .55rem 0 1rem; color: var(--muted); }
.sign-in .login-status { margin-bottom: 0; }
.telegram-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.telegram-actions input { flex-basis: 100%; }

.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 2.25rem);
  row-gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.note {
  --turn: -4deg;
  --drop: 0px;
  --sheet: #ffdc6d;
  --tape: #ffeab4c7;
  --ruling: transparent;
  --ruling-size: auto;
  --tape-left: 25%;
  --tape-turn: -7deg;
  position: relative;
  min-width: 0;
  z-index: 0;
  height: clamp(13.25rem, 21vw, 16rem);
}

.note[data-look="1"] {
  --turn: 4deg;
  --drop: 8px;
  --sheet: #f8cb58;
  --tape-left: 49%;
  --tape-turn: 9deg;
  --ruling: linear-gradient(#7b4b001e 1px, transparent 1px);
  --ruling-size: 100% 1.45rem;
}

.note[data-look="2"] { --turn: -2deg; --drop: -4px; --sheet: #ffe487; --tape-left: 32%; --tape-turn: 2deg; }
.note[data-look="3"] {
  --turn: 5deg;
  --drop: 3px;
  --sheet: #ffda65;
  --tape-left: 13%;
  --tape-turn: -14deg;
  --ruling: radial-gradient(#82530b2e 1px, transparent 1.5px);
  --ruling-size: .68rem .68rem;
}

.note[data-look="4"] { --turn: -5deg; --drop: 9px; --sheet: #ffd470; --tape-left: 42%; --tape-turn: 6deg; }
.note[data-look="5"] { --turn: 2deg; --drop: -3px; --sheet: #ffdf82; --tape-left: 19%; --tape-turn: -9deg; }

.paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: .35rem;
  height: 100%;
  padding: 1rem 1rem .85rem;
  color: var(--ink);
  background-color: var(--sheet);
  background-image: linear-gradient(140deg, #fff2b66e, transparent 70%), var(--ruling);
  background-size: auto, var(--ruling-size);
  border-radius: 2px 3px 8px 2px;
  box-shadow: .25rem .75rem 1rem #0804026b, inset 0 -3px #87540c23;
  transform: translateY(var(--drop)) rotate(var(--turn));
  transform-origin: center 2rem;
  transition: transform .28s var(--ease), top .28s var(--ease), left .28s var(--ease), width .28s var(--ease),
    height .28s var(--ease), box-shadow .28s;
}

.paper::before {
  content: '';
  position: absolute;
  top: -.55rem;
  left: var(--tape-left);
  width: 39%;
  height: 1.15rem;
  transform: rotate(var(--tape-turn));
  background: repeating-linear-gradient(98deg, transparent 0 4px, #fff4 4px 6px), var(--tape);
  clip-path: polygon(0 6%, 98% 0, 96% 26%, 100% 45%, 96% 65%, 100% 94%, 1% 100%, 4% 79%, 0 60%, 3% 38%);
  pointer-events: none;
}

.note-top { display: flex; align-items: center; min-height: 2.25rem; justify-content: space-between; gap: .25rem; }
.note-kind { color: #644810; font-size: .77rem; font-weight: 750; }
.note-actions { display: flex; flex-shrink: 0; align-items: center; gap: .1rem; }

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: .2rem;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.48rem;
  line-height: 1;
}

.note-actions .icon-button { min-width: 2.1rem; min-height: 2.1rem; }
.note-actions .icon-button:hover { background: #7b4b0018; }
.note-actions .complete { color: #195f31; font-weight: 800; }
.note-actions .delete { color: #773521; }
.paper :focus-visible, .reader :focus-visible { outline-color: #764208; }

.note h2 { min-width: 0; font: 700 clamp(1.02rem, 1.55vw, 1.22rem)/1.22 var(--display); letter-spacing: -.01em; }
.note-open {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: .08em 0 .12em;
  text-align: start;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
}

.note-text, .reader-text { overflow-wrap: anywhere; white-space: pre-wrap; }
.note-text { min-height: 0; overflow: hidden; font-size: .89rem; line-height: 1.44; }
.note-status { justify-self: start; color: #694d17; font-size: .76rem; font-weight: 700; }
/* Owner 2026-11-28: what was done, under a done note (written by the administrator with ✓). */
.note-resolution { overflow-wrap: anywhere; white-space: pre-wrap; margin: 0; padding: .45rem .6rem; border-left: .2rem solid #b8892b; background: rgba(212, 175, 55, .12); color: #3b2808; font-size: .84rem; line-height: 1.4; }
.note-resolution strong { font-weight: 800; }
/* «Отклонено» (owner 2026-11-28): the same ribbon, in a muted red. */
.reader .note-resolution { margin-block: 0 1rem; font-size: .95rem; }
.note-status.done {
  border: 1px solid #a97719;
  border-radius: .25rem;
  padding: .15rem .45rem;
  background: #ffedb5;
  color: #82510a;
  box-shadow: 1px 2px #7f5b1629;
}

/* Owner 2026-11-27: under the pointer (after a short pause) or with the keyboard the note opens where it is, growing
   from its own centre to the size of the reader, never only downward; board.js sets --ox/--oy/--ow/--oh so it stays on
   screen. Touch screens open the reader by a tap instead. */
.note.open, .note.settling { z-index: 5; }
.note.open .paper {
  top: var(--oy);
  left: var(--ox);
  width: var(--ow);
  height: var(--oh);
  padding: 1.35rem 1.4rem 1.1rem;
  transform: none;
  box-shadow: 0 1.6rem 3.2rem #000c, 0 0 2.6rem #efca6338;
}
.note.open .note-open { display: block; -webkit-line-clamp: unset; }
.note.open h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.note.open .note-text { overflow: auto; overscroll-behavior: contain; font-size: 1rem; }
@media (hover: hover) {
  .note:hover:not(.open) .paper { transform: translateY(calc(var(--drop) - .35rem)) rotate(calc(var(--turn) / 2)); }
}

.more { display: flex; margin: 1.75rem auto 0; }
.notice {
  position: fixed;
  z-index: 6;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: .7rem 1rem;
  border: 1px solid var(--edge);
  border-radius: .5rem;
  background: #21180f;
  color: var(--cream);
  box-shadow: 0 .3rem 1.5rem #0007;
}

.dialog {
  width: min(100% - 2rem, 34rem);
  max-height: min(90vh, 50rem);
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: .75rem;
  background: #18110b;
  color: var(--cream);
  box-shadow: 0 1rem 5rem #000c;
  overflow-y: auto;
}
.dialog::backdrop { background: #090603ba; backdrop-filter: blur(3px); }
.dialog-body { padding: clamp(1rem, 4vw, 1.75rem); }
.dialog-heading, .label-row, .dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dialog-heading h2, .confirm h2 { font-size: 1.4rem; line-height: 1.25; }
.dialog .close-dialog:hover { background: #a9884c2e; }
.dialog label, .dialog legend { font-weight: 650; }
.kinds {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: 0;
  margin: .75rem 0 1rem;
  border: 0;
}
.kinds legend { margin-bottom: .3rem; }
.kinds label { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; font-weight: 400; }
.kinds input { accent-color: var(--gold); }
input[type='text'], input[type='url'], textarea {
  display: block;
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #6a5437;
  border-radius: .4rem;
  background: #100b06;
  color: var(--cream);
}
#note-title { margin: .25rem 0 .8rem; }
textarea { min-height: 6rem; max-height: 38vh; margin: .25rem 0 .9rem; resize: vertical; }
#character-count { color: var(--muted); font-size: .85rem; }
.form-error { color: #ffb597; margin-bottom: .75rem; }
.reader { border-radius: .25rem .25rem .75rem .25rem; border-color: #ca9e34; background: #ffe289; color: var(--ink); }
.reader-paper { position: relative; padding: clamp(1.25rem, 5vw, 2.5rem); }
.reader .close-dialog { position: absolute; top: .55rem; right: .55rem; }
.reader h2 { padding-right: 1.4rem; margin-top: .6rem; font: 700 clamp(1.35rem, 4vw, 1.9rem)/1.18 var(--display); letter-spacing: -.015em; overflow-wrap: anywhere; }
.reader-text { margin-block: 1.15rem 1.45rem; }
.reader .note-status { display: inline-block; }
.confirm-note { margin: .75rem 0 1.25rem; color: var(--muted); overflow-wrap: anywhere; }
.dialog-actions { justify-content: flex-end; }

@media (max-width: 60rem) {
  .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  .shell { width: calc(100% - 1.5rem); }
  .site-bar { min-height: 4.2rem; gap: .5rem; }
  .site-bar nav { justify-content: flex-end; gap: .35rem .6rem; font-size: .89rem; }
  .site-bar .subtle { padding-inline: .65rem; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem .9rem; }
  .note { height: clamp(11.5rem, 48vw, 14.5rem); }
  .paper { padding: .65rem .65rem .6rem; }
  .note-top { min-height: 2.4rem; }
  .note-text { font-size: .82rem; }
  .note-actions .icon-button { min-width: 2rem; min-height: 2.5rem; }
}

@media (max-width: 21rem) {
  .notes { grid-template-columns: minmax(0, 1fr); }
  .note { height: 13rem; }
}

@media (prefers-reduced-motion: reduce) {
  .paper { transition: none; }
}

/* ---------- Owner 2026-11-27: the title like the other pages' (gold with a passing light), gold notes ---------- */
.board-heading h1 {
  width: fit-content;
  max-width: 100%;
  color: #f7dd8a;
  font: 800 clamp(2.5rem, 7vw, 5.4rem)/1.02 var(--display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .board-heading h1 {
    background:
      linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) 100% 0 / 250% 100% no-repeat,
      linear-gradient(180deg, #fff3c4 0%, #f7dd8a 38%, #d4af37 72%, #a8841f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: board-sheen 1.9s .5s cubic-bezier(.3, .6, .3, 1) both, board-gleam 9s 4s ease-in-out infinite;
  }
}
@keyframes board-sheen { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
@keyframes board-gleam { 0% { background-position: 100% 0, 0 0; } 18%, 100% { background-position: 0 0, 0 0; } }
.board-heading p { font-size: 1.05rem; letter-spacing: .01em; }

/* Gold notes: a foil sheet with a soft shine, each turned its own way; the one under the pointer straightens a little,
   comes forward and grows. */
.note { --sheet: #e8c15a; }
.note[data-look="1"] { --sheet: #f0cd68; }
.note[data-look="2"] { --sheet: #e3b84c; }
.note[data-look="3"] { --sheet: #f3d473; }
.note[data-look="4"] { --sheet: #dcae43; }
.note[data-look="5"] { --sheet: #eccb62; }
.paper {
  color: #2b1c05;
  background-image:
    linear-gradient(115deg, rgba(255, 248, 214, .55) 0%, rgba(255, 248, 214, 0) 34%, rgba(255, 255, 255, 0) 58%, rgba(255, 236, 170, .38) 78%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #fff1b8 0%, var(--sheet) 42%, #b98a26 100%),
    var(--ruling);
  background-size: auto, auto, var(--ruling-size);
  border: 1px solid #fff0b366;
  border-radius: 4px 6px 10px 4px;
  box-shadow: .3rem .8rem 1.2rem #0805029e, inset 0 1px #fff7d6aa, inset 0 -3px #6b4a0f33;
}
.note h2 { color: #2a1903; text-shadow: 0 1px 0 #fff3c466; }
.note-kind {
  justify-self: start;
  padding: .12rem .5rem;
  border-radius: 999px;
  background: #2a1903d9;
  color: #f7dd8a;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.note-text { color: #33220a; font-size: .95rem; line-height: 1.5; }
.note-status { color: #4a3208; }
@media (prefers-reduced-motion: reduce) {
  .board-heading h1 { animation: none; }
  .paper { transition: none; }
}

/* «Что нового»: the releases, newest first. */
.releases { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.releases h2 {
  font: 760 clamp(1.5rem, 3.6vw, 2.4rem)/1.15 var(--display);
  color: #f7dd8a;
  scroll-margin-block-start: 1rem;
}
.releases-lead { color: var(--muted); margin-top: .45rem; }
.release-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; }
.release {
  padding: 1rem 1.2rem;
  border: 1px solid #51402a;
  border-left: 3px solid #d4af37;
  border-radius: .7rem;
  background: linear-gradient(180deg, #1f170d, #140f09);
}
.release-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.release-head time { font-weight: 750; color: var(--cream); }
.release-versions { color: #d9bf78; font-size: .88rem; }
.release-points { margin: .6rem 0 0; padding-left: 1.15rem; color: #e8dcc6; line-height: 1.55; }
.release-points li + li { margin-top: .25rem; }
.release-points li::marker { color: #d4af37; }
.release-details { margin-top: .7rem; }
.release-details summary {
  width: fit-content;
  padding-block: .45rem;
  cursor: pointer;
  color: var(--gold);
  font-weight: 650;
}
.release-details summary:hover { text-decoration: underline; text-underline-offset: .18em; }
.release-details .release-points { margin-top: .3rem; }
.release-pages { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.release-pages button { min-width: 2.75rem; padding-inline: .7rem; }
.release-pages button[aria-current='page'] {
  border-color: var(--gold);
  background: #392c17;
  color: var(--gold);
}

/* Done (owner 2026-11-27): the status turns into a black ribbon across the foot of the note, its ends folded behind the
   sheet, with gold letters pressed into it. */
.note-status.done {
  position: relative;
  justify-self: stretch;
  margin: .15rem -1.45rem -.2rem;
  padding: .42rem .5rem .38rem;
  border: 0;
  border-block: 1px solid #d4af3766;
  border-radius: 0;
  background: linear-gradient(180deg, #2a2216 0%, #0b0906 46%, #000 54%, #15110b 100%);
  box-shadow: 0 .35rem .6rem #0007, inset 0 1px #f7dd8a26, inset 0 -1px #0009;
  text-align: center;
  font: 800 .8rem/1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.note-status.done::before, .note-status.done::after {
  content: '';
  position: absolute;
  bottom: -.45rem;
  width: .45rem;
  height: .45rem;
  background: #3a2c12;
}
.note-status.done::before { left: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.note-status.done::after { right: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.note-status.done .ribbon-text {
  color: #f0cf6a;
  background: linear-gradient(180deg, #fff3c4 0%, #f7dd8a 35%, #d4af37 65%, #8f6c18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 -1px 0 #000) drop-shadow(0 1px 0 #f7dd8a40);
}
.reader .note-status.done { display: block; margin: 0 calc(-1 * clamp(1.25rem, 5vw, 2.5rem) - .45rem); }
.paper .note-status.done { margin-inline: -1.45rem; }
.note.is-done .paper { filter: saturate(.82) brightness(.94); }
.note-status.just-done { animation: ribbon-in .55s var(--ease) both; }
@keyframes ribbon-in { from { clip-path: inset(-1rem 50%); } to { clip-path: inset(-1rem -1rem); } }
@media (max-width: 42rem) {
  .paper .note-status.done { margin-inline: -1.1rem; letter-spacing: .16em; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .note-status.just-done { animation: none; }
}

/* The ribbon keeps its folded ends past the wider padding of an open note. */
.note.open .paper .note-status.done { margin-inline: -1.85rem; }

/* Kind colours (owner 2026-11-27): an idea keeps the dark-gold pill, a problem gets a deep red one. */
.note[data-kind="issue"] .note-kind, .reader[data-kind="issue"] .note-kind { background: #5c1712e6; color: #ffd9c2; }

/* The filter tabs with counts; open notes come first, done ones after (server order). */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: .4rem .95rem;
  border: 1px solid #d4af3740;
  border-radius: 999px;
  background: #0c0a07;
  color: var(--muted);
  font-weight: 650;
  transition: border-color .2s, color .2s, background .2s;
}
.tab:hover { border-color: #d4af37a6; color: var(--cream); }
.tab[aria-selected="true"] {
  border-color: #f7dd8a;
  background: linear-gradient(180deg, #f7dd8a, #d4af37);
  color: #241703;
}
.tab .count {
  min-width: 1.6rem;
  padding: .05rem .4rem;
  border-radius: 999px;
  background: #ffffff14;
  font-size: .8rem;
  text-align: center;
}
.tab[aria-selected="true"] .count { background: #2a190326; }

/* Notes arrive one after another with a light drop. */
.note.enter { animation: note-drop .5s var(--ease) calc(var(--i, 0) * 45ms) backwards; }
@keyframes note-drop { from { opacity: 0; transform: translateY(-1.1rem) scale(.96); } }

/* An empty board (or tab): the goose. */
.empty { display: grid; justify-items: center; gap: .9rem; margin: clamp(1rem, 6vh, 4rem) auto; text-align: center; color: var(--muted); }
.empty img { width: 7.5rem; height: 7.5rem; border-radius: 50%; box-shadow: 0 0 0 1px #d4af3780, 0 0 2.4rem #d4af3730; }
.empty p { max-width: 26rem; }

@media (prefers-reduced-motion: reduce) {
  .note.enter { animation: none; }
  .tab { transition: none; }
}

/* «Отклонено» (owner 2026-11-28): the same embossed ribbon, its letters in a muted red. */
.note-status.done.declined .ribbon-text {
  color: #e08a7a;
  background: linear-gradient(180deg, #ffd9d0 0%, #f0a090 35%, #c0503c 65%, #6e2216 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
