:root {
  --bg: #FFFAEB;
  --ink: #58392B;
  --ink-soft: rgb(134.76, 111.04, 96.76);
  --ink-mute: rgb(171.5, 153.5, 139);
  --surface: #EEEDF8;
  --surface-2: #ffffff;
  --line: #DCDAF1;
  --hover: #DCDAF1;
  --field: #F4F3FB;
  --field-ink: #32304A;
  --check: #32304A;
  --row-hover: #FFFCF2;
  --row-alert: #F8E7E7;
  color-scheme: light;
}

:root[data-theme=dark] {
  --bg: #262C32;
  --ink: #F4F3FB;
  --ink-soft: rgb(190.44, 191.26, 198.74);
  --ink-mute: rgb(141, 143.5, 150.5);
  --surface: #313940;
  --surface-2: rgb(43.5, 50.5, 57);
  --line: #414C56;
  --hover: #414C56;
  --field: #414C56;
  --field-ink: #F4F3FB;
  --check: #F4F3FB;
  --row-hover: rgb(58.6, 68.4, 77.2);
  --row-alert: rgb(78.88, 35.04, 39.36);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #262C32;
    --ink: #F4F3FB;
    --ink-soft: rgb(190.44, 191.26, 198.74);
    --ink-mute: rgb(141, 143.5, 150.5);
    --surface: #313940;
    --surface-2: rgb(43.5, 50.5, 57);
    --line: #414C56;
    --hover: #414C56;
    --field: #414C56;
    --field-ink: #F4F3FB;
    --check: #F4F3FB;
    --row-hover: rgb(58.6, 68.4, 77.2);
    --row-alert: rgb(78.88, 35.04, 39.36);
    color-scheme: dark;
  }
}
.theme-light {
  --bg: #FFFAEB;
  --ink: #58392B;
  --ink-soft: rgb(134.76, 111.04, 96.76);
  --ink-mute: rgb(171.5, 153.5, 139);
  --surface: #EEEDF8;
  --surface-2: #ffffff;
  --line: #DCDAF1;
  --hover: #DCDAF1;
  --field: #F4F3FB;
  --field-ink: #32304A;
  --check: #32304A;
  --row-hover: #FFFCF2;
  --row-alert: #F8E7E7;
  color-scheme: light;
  color: var(--ink);
}

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

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

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

[x-cloak] {
  display: none !important;
}

strong, b {
  font-weight: 700;
}

.h1 {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 3.1770833333vw, 61px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: clamp(12px, 1.3020833333vw, 25px);
}

.h2 {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 2.5520833333vw, 49px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: clamp(10px, 1.0416666667vw, 20px);
}

.h1 a, .h2 a {
  color: inherit;
}

.text-viola {
  color: #8F88D3;
}

.text-acqua {
  color: #68BAB6;
}

.text-arancio {
  color: #FCA37A;
}

.prose {
  max-width: 70ch;
  font-size: clamp(17px, 1.3020833333vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.prose p + p {
  margin-top: 1em;
}
.prose strong {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
}

.prose--wide {
  max-width: 112ch;
}

.more-link {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  color: #8F88D3;
}
.more-link:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #32304A;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.btn:active {
  transform: scale(0.98);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn--pill, .btn--primary {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  background: #F4F3FB;
  color: #32304A;
  border: 3px solid #32304A;
}
.btn--pill:hover, .btn--primary:hover {
  background: #DCDAF1;
}

.btn--pill {
  font-size: clamp(17px, 1.6145833333vw, 31px);
  padding: clamp(10px, 1.0416666667vw, 20px) clamp(20px, 1.5625vw, 30px);
  border-width: clamp(2px, 0.15625vw, 3px);
}

.btn--pill.btn--m {
  font-size: clamp(13.6px, 1.2916666667vw, 24.8px);
  padding: clamp(8px, 0.8333333333vw, 16px) clamp(16px, 1.25vw, 24px);
  border-width: clamp(2px, 0.125vw, 2.4px);
}

.btn--pill.btn--sm {
  font-size: clamp(15px, 1.25vw, 24px);
  padding: clamp(8px, 0.78125vw, 15px) clamp(16px, 1.1979166667vw, 23px);
  border-width: clamp(2px, 0.125vw, 2.4px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}
.btn--outline:hover {
  background: #58392B;
  color: #FFFAEB;
}

.btn--danger {
  background: #B80C0C;
  color: #fff;
}
.btn--danger:hover {
  background: #A60B0B;
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6.09375vw, 117px);
}

.container--narrow {
  max-width: calc(1100px + 2 * clamp(20px, 6.09375vw, 117px));
}

.section {
  padding-top: clamp(64px, 8.3333333333vw, 160px);
}

.section--first {
  padding-top: clamp(28px, 4.1666666667vw, 80px);
}

.section__sub {
  font-size: clamp(17px, 1.3020833333vw, 25px);
  color: var(--ink);
  margin-bottom: clamp(24px, 2.5vw, 48px);
}

body.site > main {
  padding-bottom: clamp(64px, 8.3333333333vw, 160px);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--ink-soft);
}
.back-link:hover {
  color: var(--ink);
}

.site-nav {
  position: sticky;
  top: clamp(10px, 1.25vw, 24px);
  z-index: 50;
  display: flex;
  justify-content: center;
  margin-top: clamp(64px, 4.4791666667vw, 86px);
  padding-inline: 12px;
  pointer-events: none;
}

.site-nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3.6458333333vw, 70px);
  padding: clamp(8px, 1.0416666667vw, 20px) clamp(18px, 5.2083333333vw, 100px);
  background: #EEEDF8;
  border: clamp(3px, 0.2604166667vw, 5px) solid #262C32;
  border-radius: 20px;
  box-shadow: 2px 2px 10px 4px rgba(50, 48, 74, 0.1);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav__pill::-webkit-scrollbar {
  display: none;
}

.site-nav__link {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 2.03125vw, 39px);
  line-height: 1.5;
  color: #262C32;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-nav__link:hover {
  color: #726DA9;
}
.site-nav__link.is-active {
  color: #68BAB6;
}

.logo-up {
  display: block;
  width: 100%;
  height: auto;
  --logo-bg: #262C32;
  --logo-fg: #EEEDF8;
}
:root[data-theme=dark] .logo-up {
  --logo-bg: #EEEDF8;
  --logo-fg: #262C32;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .logo-up {
    --logo-bg: #EEEDF8;
    --logo-fg: #262C32;
  }
}

.site-logo {
  position: fixed;
  top: clamp(12px, 1.25vw, 24px);
  left: clamp(12px, 2.0833333333vw, 40px);
  z-index: 55;
  width: clamp(50px, 4.4791666667vw, 86px);
  filter: drop-shadow(2px 2px 6px rgba(50, 48, 74, 0.18));
  transition: transform 0.15s;
}
.site-logo:hover {
  transform: scale(1.05);
}

.site-tools {
  position: fixed;
  top: clamp(12px, 1.25vw, 24px);
  right: clamp(12px, 2.0833333333vw, 40px);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-login {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 0.78125vw, 15px);
  padding: clamp(7px, 0.46875vw, 9px) clamp(14px, 0.9375vw, 18px);
  border-radius: 999px;
  background: #262C32;
  color: #EEEDF8;
  border: 2px solid #262C32;
  transition: background 0.2s, color 0.2s;
}
.site-login:hover {
  background: #EEEDF8;
  color: #262C32;
}

.hero {
  position: relative;
  margin-top: calc(-1 * clamp(24px, 2.9166666667vw, 56px));
}

.hero__photo {
  height: clamp(320px, 44.27vw, 850px);
  background: url("../img/hero.jpg") center 38%/cover no-repeat, #bdb6a6;
  filter: grayscale(1);
  opacity: 0.7;
}

.hero {
  margin-bottom: clamp(25px, 3.125vw, 60px);
}

.hero__brand {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translate(-50%, 50%);
  width: clamp(65px, 8.3333333333vw, 160px);
  color: #262C32;
}
:root[data-theme=dark] .hero__brand {
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .hero__brand {
    color: #fff;
  }
}
.hero__brand .logo-uparte {
  display: block;
  width: 100%;
  height: auto;
}

.words {
  margin-top: clamp(24px, 2.0833333333vw, 40px);
  overflow: hidden;
}

.words__row {
  overflow: hidden;
}

.words__track {
  display: flex;
  width: max-content;
  animation: words-scroll 60s linear infinite;
}

.words__row--rev .words__track {
  animation-direction: reverse;
  margin-left: -12vw;
}

.words__w {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 5.78125vw, 111px);
  line-height: 1.17;
  white-space: nowrap;
  margin-right: 0.35em;
}
.words__w--giallo {
  color: #FCE07A;
}
.words__w--arancio {
  color: #FCA37A;
}
.words__w--viola-scuro {
  color: #726DA9;
}
.words__w--acqua-chiaro {
  color: #D0EAE8;
}
.words__w--acqua-scuro {
  color: #3E706D;
}
.words__w--viola {
  color: #8F88D3;
}

@keyframes words-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / var(--giri, 4)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .words__track {
    animation: none;
  }
}
.card-box {
  background: var(--surface);
  border: clamp(2px, 0.15625vw, 3px) solid var(--ink);
  border-radius: 15px;
  box-shadow: 3px 3px 8px 0 rgba(88, 57, 43, 0.1);
  padding: clamp(22px, 3.125vw, 60px);
}

.room-c--rosso, [data-room-c=rosso] {
  --room: #8A0909;
  --room-ink: #FCA37A;
  --room-num: #FCA37A;
  --room-num-ink: #8A0909;
}

.room-c--giallo, [data-room-c=giallo] {
  --room: #FCE07A;
  --room-ink: #58392B;
  --room-num: #58392B;
  --room-num-ink: #FCE07A;
}

.room-c--arancio, [data-room-c=arancio] {
  --room: #FCA37A;
  --room-ink: #58392B;
  --room-num: #58392B;
  --room-num-ink: #FCA37A;
}

.room-c--viola, [data-room-c=viola] {
  --room: #8F88D3;
  --room-ink: #fff;
  --room-num: #32304A;
  --room-num-ink: #F4F3FB;
}

.room-c--acqua, [data-room-c=acqua] {
  --room: #68BAB6;
  --room-ink: #244140;
  --room-num: #244140;
  --room-num-ink: #F0F8F8;
}

.room-c--verde, [data-room-c=verde] {
  --room: #5EB852;
  --room-ink: #fff;
  --room-num: #21401D;
  --room-num-ink: #EFF8EE;
}

.room-c--grigio, [data-room-c=grigio] {
  --room: #6C7F8F;
  --room-ink: #fff;
  --room-num: #262C32;
  --room-num-ink: #F0F2F4;
}

.room-c--marrone, [data-room-c=marrone] {
  --room: #58392B;
  --room-ink: #FCA37A;
  --room-num: #FCA37A;
  --room-num-ink: #58392B;
}

.rooms {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 2.3958333333vw, 46px);
  padding-top: clamp(76px, 5.7291666667vw, 110px);
  border-color: var(--room, var(--ink));
  transition: border-color 0.2s;
}

.rooms__tabs {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.rooms__tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.78125vw, 15px);
  font: inherit;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.5625vw, 30px);
  line-height: 1.5;
  padding: clamp(5px, 0.4166666667vw, 8px) clamp(10px, 0.78125vw, 15px) clamp(5px, 0.4166666667vw, 8px) clamp(11px, 0.8854166667vw, 17px);
  border: 0;
  border-radius: 0 0 15px 0;
  cursor: pointer;
  color: var(--room-ink);
  background: var(--room);
  opacity: 0.4;
  box-shadow: 1px 1px 5px rgba(88, 57, 43, 0.12);
  transition: opacity 0.2s;
}
.rooms__tab:hover {
  opacity: 0.7;
}
.rooms__tab.is-active {
  opacity: 1;
}

.rooms__num {
  display: grid;
  place-items: center;
  width: clamp(26px, 2.1354166667vw, 41px);
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: clamp(14px, 1.3020833333vw, 25px);
  background: var(--room-num);
  color: var(--room-num-ink);
}

.rooms__equip {
  list-style: none;
  columns: 2;
  column-gap: clamp(24px, 4.1666666667vw, 80px);
  max-width: 900px;
  margin-bottom: clamp(20px, 1.5625vw, 30px);
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.5;
  color: #262C32;
}
.rooms__equip li {
  break-inside: avoid;
  margin-bottom: clamp(4px, 0.4166666667vw, 8px);
}
@media (max-width: 700px) {
  .rooms__equip {
    columns: 1;
  }
}

.post-track {
  display: flex;
  gap: clamp(16px, 2.5520833333vw, 49px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px clamp(20px, 6.09375vw, 117px) 20px calc(clamp(20px, 6.09375vw, 117px) + clamp(0px, 5.15625vw, 99px));
  scrollbar-width: thin;
  scrollbar-color: #8F88D3 transparent;
}
.post-track > * {
  scroll-snap-align: start;
}

.post-track {
  scroll-padding-inline-start: calc(clamp(20px, 6.09375vw, 117px) + clamp(0px, 5.15625vw, 99px));
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.0833333333vw, 40px);
  max-width: 1525px;
}

.post-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  color: #F4F3FB;
  transition: transform 0.15s, box-shadow 0.15s;
}

a.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 4px 8px 18px rgba(88, 57, 43, 0.18);
}

.post-card--viola, .post-card--wide.post-card--evento {
  background: #8F88D3;
}

.post-card--light {
  background: #DCDAF1;
  color: #8F88D3;
}

.post-card--slate {
  background: #313940;
  color: #FFFCF2;
}

.post-card--brown {
  background: #714937;
  color: #FFFCF2;
}

.post-card__media {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #726DA9;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__date, .post-card__past, .post-card__tag, .pill-tag {
  display: grid;
  place-items: center;
  min-height: clamp(34px, 3.1770833333vw, 61px);
  padding: 4px clamp(12px, 1.25vw, 24px);
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.6145833333vw, 31px);
  line-height: 1;
  text-align: center;
  border-radius: 10px;
}

.post-card__date {
  background: #6B669E;
  color: #FCE07A;
}

.post-card__past {
  background: #F8E7E7;
  color: #B80C0C;
  text-transform: uppercase;
}

.post-card__tag {
  background: #515F6B;
  color: #FFF6F2;
  text-transform: uppercase;
}

.post-card--brown .post-card__tag {
  background: #976249;
}

.post-card__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.post-card--news .post-card__title {
  font-weight: 800;
  font-size: clamp(30px, 4.1666666667vw, 80px);
  line-height: 1.15;
}

.post-card__sub {
  font-size: clamp(16px, 1.6145833333vw, 31px);
  line-height: 1.15;
}

.post-card--news .post-card__sub {
  font-size: 16px;
  line-height: 1.5;
}

.post-card--tall {
  flex: 0 0 clamp(270px, 23.90625vw, 459px);
  height: clamp(360px, 28.75vw, 552px);
  flex-direction: column;
}

.post-card--tall.post-card--evento {
  padding: clamp(8px, 0.6770833333vw, 13px);
  gap: clamp(8px, 0.625vw, 12px);
}

.post-card--light {
  border: 4px solid #DCDAF1;
}

.post-card--tall .post-card__media {
  flex: 1;
  opacity: 0.8;
}

.post-card__foot {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.8333333333vw, 16px);
  min-width: 0;
}

.post-card--tall .post-card__date {
  flex-shrink: 0;
  min-width: clamp(96px, 8.8541666667vw, 170px);
}

.post-card--light .post-card__date {
  background: #8F88D3;
}

.post-card__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.post-card__name, .post-card--tall .post-card__sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-card__name {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.0416666667vw, 20px);
  line-height: 1.5;
}

.post-card--tall .post-card__sub {
  font-size: 16px;
  line-height: 1.5;
}

.post-card--tall.post-card--news {
  padding: clamp(10px, 0.78125vw, 15px);
  gap: clamp(10px, 0.78125vw, 15px);
}

.post-card--tall.post-card--news .post-card__title {
  flex: 1;
  overflow: hidden;
}

.post-card__more {
  font-size: 16px;
}

.post-card--wide {
  flex-direction: row;
  min-height: clamp(220px, 28.75vw, 552px);
  padding: clamp(8px, 0.5208333333vw, 10px);
}

.post-card--wide .post-card__media {
  width: clamp(150px, 22.5520833333vw, 433px);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 0.8333333333vw, 16px);
  flex: 1;
  min-width: 0;
}

.post-card--wide .post-card__body {
  padding: clamp(4px, 0.2604166667vw, 5px) clamp(4px, 0.5208333333vw, 10px) clamp(4px, 0.5208333333vw, 10px) clamp(14px, 1.25vw, 24px);
}

.post-card--wide .post-card__title {
  margin-top: auto;
  font-weight: 900;
  font-size: clamp(24px, 3.1770833333vw, 61px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card--wide .post-card__cta {
  align-self: flex-start;
  margin-top: clamp(10px, 1.0416666667vw, 20px);
}

.post-card--wide.post-card--news {
  min-height: 0;
  padding: clamp(12px, 1.0416666667vw, 20px);
}

.post-card--wide.post-card--news .post-card__body {
  padding: 0;
  gap: clamp(10px, 0.78125vw, 15px);
}

.post-card--wide.post-card--news .post-card__title {
  margin-top: 0;
}

.post-card--wide.post-card--news .post-card__cta {
  margin-top: clamp(6px, 0.5208333333vw, 10px);
}

@media (max-width: 700px) {
  .post-card--wide {
    flex-direction: column;
  }
  .post-card--wide .post-card__media {
    width: auto;
    height: 200px;
  }
}
.privacy {
  max-width: 980px;
  font-size: clamp(16px, 0.9895833333vw, 19px);
  line-height: 1.6;
}
.privacy h2 {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(21px, 1.5625vw, 30px);
  line-height: 1.3;
  margin: clamp(30px, 2.2916666667vw, 44px) 0 12px;
  scroll-margin-top: 110px;
}
.privacy p, .privacy ul {
  margin-bottom: 12px;
}
.privacy ul {
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}
.privacy a {
  color: #726DA9;
  text-decoration: underline;
}
:root[data-theme=dark] .privacy a {
  color: #8F88D3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .privacy a {
    color: #8F88D3;
  }
}
.privacy code {
  font-size: 0.88em;
}

.privacy__date {
  display: block;
  margin-top: 6px;
  font-size: 0.8em;
  color: var(--ink-soft);
}

.privacy__toc {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.9;
}

.privacy__table-wrap {
  overflow-x: auto;
  margin: 14px 0 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
}

.privacy__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.privacy__table th, .privacy__table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.privacy__table th {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  background: var(--surface);
}
.privacy__table tr:last-child td {
  border-bottom: none;
}

.auth-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 12px;
}
.auth-note a {
  text-decoration: underline;
}

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.0416666667vw, 20px);
  max-width: 1100px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.25vw, 24px);
  padding: clamp(12px, 0.9375vw, 18px) clamp(14px, 1.25vw, 24px);
  background: var(--surface);
  color: var(--ink);
  border: clamp(2px, 0.15625vw, 3px) solid var(--ink);
  border-radius: 15px;
  box-shadow: 3px 3px 8px 0 rgba(88, 57, 43, 0.1);
  transition: transform 0.15s, box-shadow 0.15s;
}
.doc-item:hover {
  transform: translateY(-2px);
  box-shadow: 4px 8px 18px rgba(88, 57, 43, 0.18);
}
.doc-item:hover .doc-item__cta {
  background: #DCDAF1;
}

.doc-item__ext {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: clamp(56px, 4.5833333333vw, 88px);
  min-height: clamp(34px, 2.5vw, 48px);
  padding: 4px 10px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.1458333333vw, 22px);
  line-height: 1;
  text-transform: uppercase;
  border-radius: 10px;
  background: #58392B;
  color: #FFFAEB;
}

.doc-item__name {
  flex: 1;
  min-width: 0;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 1.4583333333vw, 28px);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.doc-item__cta {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .doc-item__cta {
    display: none;
  }
}
.article {
  background: var(--surface);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.pill-tag {
  background: #58392B;
  color: #FFFAEB;
  text-transform: uppercase;
}

.article__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 3.1770833333vw, 61px);
  line-height: 1.2;
}

.article__place {
  margin-top: 6px;
  font-size: clamp(17px, 1.3020833333vw, 25px);
  color: var(--ink-soft);
}

.article__img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
  margin: 24px 0;
}

.article__body {
  margin-top: 20px;
  max-width: none;
}

.tessera__intro {
  font-size: clamp(17px, 1.3020833333vw, 25px);
  max-width: 90ch;
  margin-bottom: clamp(20px, 1.875vw, 36px);
}
.tessera__intro p + p {
  margin-top: 0.6em;
}
.tessera__intro strong {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
}

.tessera__form {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.25vw, 24px);
}

.tessera__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.25vw, 24px) clamp(20px, 3.125vw, 60px);
}
@media (max-width: 760px) {
  .tessera__grid {
    grid-template-columns: 1fr;
  }
}

.tessera__checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.idea {
  margin-top: clamp(32px, 4.1666666667vw, 80px);
  scroll-margin-top: clamp(80px, 6.25vw, 120px);
}

.idea__wide {
  grid-column: 1/-1;
}

.idea textarea {
  min-height: 7em;
  resize: vertical;
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tessera__note {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 36px;
}

.tessera__form .btn {
  align-self: flex-start;
}

.tessera__season {
  max-width: 520px;
}

.tessera__season-info {
  font-size: clamp(15px, 1.0416666667vw, 20px);
}

.tessera__done, .tessera__prefill {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  background: #F0F8F8;
  border: 2px solid #D0EAE8;
  color: #244140;
}
.tessera__done a, .tessera__prefill a {
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
}

.tessera__prefill {
  background: #F4F3FB;
  border-color: #DCDAF1;
  color: #32304A;
}

.tessera-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}
@media (max-width: 700px) {
  .tessera-form__grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.3125vw, 6px);
}

.field__label, .form__label {
  display: block;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.3020833333vw, 25px);
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink);
}

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=url], input[type=search], input[type=date], input[type=time], input[type=datetime-local],
select, textarea {
  width: 100%;
  min-height: clamp(42px, 2.3958333333vw, 46px);
  padding: 8px 24px;
  font: inherit;
  font-size: 16px;
  color: var(--field-ink);
  background: var(--field);
  border: 2px solid transparent;
  border-radius: 100px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=tel]:focus, input[type=number]:focus,
input[type=url]:focus, input[type=search]:focus, input[type=date]:focus, input[type=time]:focus, input[type=datetime-local]:focus,
select:focus, textarea:focus {
  border-color: #8F88D3;
  box-shadow: 0 0 0 3px rgba(143, 136, 211, 0.2);
}
input[type=text]::placeholder, input[type=email]::placeholder, input[type=password]::placeholder, input[type=tel]::placeholder, input[type=number]::placeholder,
input[type=url]::placeholder, input[type=search]::placeholder, input[type=date]::placeholder, input[type=time]::placeholder, input[type=datetime-local]::placeholder,
select::placeholder, textarea::placeholder {
  color: var(--field-ink);
  opacity: 0.45;
}

textarea {
  border-radius: 18px;
  padding: 12px 20px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2332304A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 12px 8px;
}
:root[data-theme=dark] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F4F3FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F4F3FB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
select option, select optgroup {
  background-color: var(--field);
  color: var(--field-ink);
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(15px, 1.0416666667vw, 20px);
  line-height: 1.5;
  color: var(--check);
  cursor: pointer;
}
.check input {
  appearance: none;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  margin: 0;
  cursor: pointer;
  border: 1.5px solid var(--check);
  border-radius: 3px;
  background: transparent;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.check input::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #F4F3FB;
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.check input:checked {
  background: var(--check);
}
.check input:checked::after {
  opacity: 1;
}
.check input:focus-visible {
  outline: 3px solid rgba(143, 136, 211, 0.4);
  outline-offset: 2px;
}

label.form__field {
  display: block;
  margin-bottom: 16px;
}

.form__label {
  margin-bottom: 6px;
}

.form__error {
  margin-bottom: 18px;
  padding: 12px 14px;
  font-size: 15px;
  color: #B80C0C;
  background: #F8E7E7;
  border: 1px solid #E9B4B4;
  border-radius: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 32px;
  padding: clamp(24px, 2.0833333333vw, 40px) clamp(20px, 6.25vw, 120px);
  color: var(--ink);
  font-size: clamp(14px, 0.9375vw, 18px);
}
@media (max-width: 700px) {
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.site-footer__social {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.site-footer__social a {
  color: var(--ink);
}
.site-footer__social a:hover {
  color: #726DA9;
}
.site-footer__social svg {
  width: clamp(32px, 2.0833333333vw, 40px);
  height: auto;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(14px, 0.9375vw, 18px);
}
@media (max-width: 700px) {
  .site-footer__links {
    justify-content: center;
  }
}

.site-footer__email {
  justify-self: end;
}
@media (max-width: 700px) {
  .site-footer__email {
    justify-self: center;
  }
}

.site-footer__link {
  color: var(--ink);
}
.site-footer__link[href]:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 16px clamp(16px, 4vw, 48px);
  background: #32304A;
  color: #EEEDF8;
  border-top: 3px solid #262C32;
}
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.5;
  max-width: 760px;
}
.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 9px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: #EEEDF8;
  border-color: rgba(255, 255, 255, 0.35);
}
.cookie-banner__btn--ghost:hover {
  border-color: #fff;
}

.cookie-banner__btn--solid {
  background: #F4F3FB;
  color: #32304A;
}
.cookie-banner__btn--solid:hover {
  background: #DCDAF1;
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(88, 57, 43, 0.55);
}
.welcome[hidden] {
  display: none;
}

.welcome__box {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(24px, 2.0833333333vw, 40px) clamp(20px, 2.0833333333vw, 40px) clamp(20px, 1.6666666667vw, 32px);
  background: var(--surface);
  color: var(--ink);
  border: 3px solid #58392B;
  border-radius: 20px;
  box-shadow: 6px 6px 0 #58392B;
}
.welcome__box p {
  font-size: clamp(15px, 0.9375vw, 18px);
  line-height: 1.55;
  margin-bottom: 12px;
}

.welcome__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 1.6666666667vw, 32px);
  line-height: 1.2;
  margin: 0 28px 16px 0;
}

.welcome__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.welcome__close:hover {
  background: var(--hover);
}

.welcome__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 20px;
}

.welcome__link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.staging-banner {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  pointer-events: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: #58392B;
  color: #FFFAEB;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.25);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-stack {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(94vw, 480px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.flash-stack.is-hiding {
  opacity: 0;
  transform: translate(-50%, -10px);
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  pointer-events: auto;
  padding: 12px 12px 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  border: 2px solid;
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.12);
  background: #fff;
  animation: flash-in 0.25s ease-out;
}

.flash__text {
  flex: 1;
  min-width: 0;
}

.flash__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: -4px 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s, background 0.2s;
}
.flash__close:hover, .flash__close:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .flash {
    animation: none;
  }
  .flash-stack {
    transition: none;
  }
}
.flash--success {
  border-color: #CDE9C9;
  color: #2A5325;
  background: #EFF8EE;
}

.flash--error {
  border-color: #E9B4B4;
  color: #B80C0C;
  background: #F8E7E7;
}

.flash--info {
  border-color: var(--line);
  color: #32304A;
  background: #F4F3FB;
}

.app--auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  width: min(100%, 440px);
  padding: 34px 32px;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 15px;
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.1);
}

.auth-card__brand {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink);
}
.auth-card__brand a {
  color: inherit;
}

.auth-card__back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.auth-card__back:hover {
  color: var(--ink);
  text-decoration: underline;
}

.auth-card__lead {
  margin: 6px 0 24px;
  font-size: 16px;
  color: var(--ink-soft);
}

.auth-card__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
}
.auth-card__links a {
  color: var(--ink-soft);
  font-weight: 500;
}
.auth-card__links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.auth-card .btn--primary {
  margin-top: 6px;
  font-size: 17px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 22px;
  background: var(--surface);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar__brand {
  display: block;
  width: 58px;
}
.topbar__brand .logo-up {
  width: 100%;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__link {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.topbar__link:hover {
  color: #726DA9;
}

.topbar__user {
  font-size: 14px;
  color: var(--ink-soft);
}

.topbar__admin {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  background: #58392B;
  color: #FCA37A;
  border: 2px solid #58392B;
  transition: background 0.2s, color 0.2s;
}
.topbar__admin:hover {
  background: #714937;
  color: #FEE2D6;
}

.badge {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFAEB;
  background: #58392B;
  border-radius: 999px;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  color: #B80C0C;
}

.page {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
  padding-top: 40px;
  padding-bottom: 60px;
}

.page__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: clamp(30px, 2.5520833333vw, 49px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
}

.page__placeholder {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 680px;
}

.topbar__user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__user:hover {
  color: var(--ink);
  text-decoration: underline;
}

.topbar__user-icon {
  font-size: 15px;
}

@media (max-width: 700px) {
  .topbar {
    padding: 10px 14px;
    gap: 8px;
  }
  .topbar__brand {
    width: 48px;
  }
  .topbar__nav {
    gap: 10px;
  }
  .topbar__link {
    font-size: 15px;
  }
  .topbar__admin {
    padding: 5px 12px;
    font-size: 14px;
  }
  .topbar__user-name {
    display: none;
  }
  .topbar .theme-toggle {
    width: 34px;
    height: 34px;
  }
}
.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 15px;
  border: 2px solid;
  font-size: 15px;
  line-height: 1.45;
}
.notice strong {
  font-weight: 700;
}
.notice--warn {
  background: #FFF6F2;
  border-color: #FCA37A;
  color: #58392B;
}
.notice--info {
  background: #F0F8F8;
  border-color: #68BAB6;
  color: #244140;
}
.notice--ok {
  background: #EFF8EE;
  border-color: #CDE9C9;
  color: #2A5325;
}
.notice--card {
  margin-bottom: 4px;
}

.notice__icon {
  font-size: 22px;
  flex-shrink: 0;
}

.notice__text {
  flex: 1;
  min-width: 220px;
}

.notice__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notice__close {
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  text-decoration: underline;
}
.notice__close:hover {
  opacity: 1;
}

.notice--card {
  align-items: flex-start;
}
.notice--card .notice__actions {
  width: 100%;
}

.pill-mini {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: #DCDAF1;
  color: #32304A;
}
.pill-mini--ok {
  background: #CDE9C9;
  color: #2A5325;
}
.pill-mini--warn {
  background: #FEE2D6;
  color: #58392B;
}
.pill-mini--off {
  background: #F8E7E7;
  color: #B80C0C;
}

a.pill-mini:hover {
  text-decoration: underline;
}

.page.profile {
  width: min(100% - 40px, 1320px);
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
  align-items: start;
}
@media (max-width: 1100px) {
  .profile__grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile__grid .profile__box--tessera {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .profile__grid {
    grid-template-columns: 1fr;
  }
}

.profile__box .side-box__title {
  text-align: left;
}

.profile__sub {
  margin: 18px 0 8px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

p.profile__hint {
  margin-top: 8px;
}

.profile__hint {
  font-size: 13px;
  color: var(--ink-soft);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.profile__dl {
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.profile__dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.profile__dl dt {
  color: var(--ink-soft);
  font-size: 13px;
  padding-top: 2px;
}
.profile__dl dd {
  margin: 0;
}

.profile__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.profile__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.profile__row:last-child {
  border-bottom: none;
}
.profile__row.is-past {
  opacity: 0.7;
}

.profile__row-main {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex: 1;
}

.profile__row-meta {
  color: var(--ink-soft);
  font-size: 14px;
}

.profile__more {
  margin-top: 14px;
  font-size: 14px;
}
.profile__more a {
  font-weight: 700;
  color: #726DA9;
}
.profile__more a:hover {
  text-decoration: underline;
}

.profile .book__form input[disabled] {
  opacity: 0.65;
}

.cal2 {
  width: min(100% - 40px, 1680px);
  margin-inline: auto;
  padding-top: 22px;
  padding-bottom: 64px;
}

.cal2__top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.cal2__period {
  display: flex;
  gap: 8px;
}

.cal2__period select {
  width: auto;
  min-height: 0;
  border-radius: 999px;
  padding: 7px 40px 7px 16px;
  background-position: right 16px center;
  font-size: clamp(16px, 1.1458333333vw, 22px);
  background-color: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.cal2__rooms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cal2__room {
  padding: 7px 22px;
  border-radius: 999px;
  font-size: clamp(15px, 1.1458333333vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--room-ink);
  background: var(--room);
  border: 2px solid var(--room);
  opacity: 0.35;
  transition: opacity 0.2s;
}
.cal2__room:hover {
  opacity: 0.75;
}
.cal2__room.is-active {
  opacity: 1;
}

.cal2__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: clamp(22px, 3.125vw, 60px);
  align-items: start;
}
@media (max-width: 980px) {
  .cal2__layout {
    grid-template-columns: 1fr;
  }
}

.cal2-grid {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: clamp(6px, 0.6770833333vw, 13px);
  margin: calc(-1 * clamp(6px, 0.6770833333vw, 13px));
  width: calc(100% + 2 * clamp(6px, 0.6770833333vw, 13px));
}
.cal2-grid thead {
  display: none;
}
.cal2-grid th {
  padding-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cal2-cell {
  height: clamp(112px, 10.2083333333vw, 196px);
  vertical-align: top;
  background: var(--cell);
  color: var(--cell-ink);
  border-radius: 15px;
  padding: 10px 6px 6px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.12s, transform 0.08s;
}
.cal2-cell:hover {
  box-shadow: inset 0 0 0 2px #8F88D3;
}
.cal2-cell:active {
  transform: scale(0.99);
}
.cal2-cell.is-today {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.cal2-cell.is-selected {
  box-shadow: inset 0 0 0 3px #32304A, 0 0 0 3px rgba(143, 136, 211, 0.35);
}
.cal2-cell.is-past .cal2-cell__head, .cal2-cell.is-past .cal2-cell__events, .cal2-cell.is-past .cal2-cell__dots, .cal2-cell.is-closed .cal2-cell__head, .cal2-cell.is-closed .cal2-cell__events, .cal2-cell.is-closed .cal2-cell__dots {
  opacity: 0.45;
}
.cal2-cell--out {
  background: var(--cell-out);
  cursor: default;
}
.cal2-cell--out .cal2-cell__head {
  opacity: 0.3;
}
.cal2-cell--out:hover {
  box-shadow: none;
}
.cal2-cell--out:active {
  transform: none;
}

.cal2-cell__head {
  text-align: center;
  line-height: 1.2;
  margin-bottom: 8px;
  font-size: clamp(13px, 1.0416666667vw, 20px);
  font-weight: 400;
}

.cal2-cell__dow, .cal2-cell__num {
  display: block;
}

.cal2-cell__events {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal2-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 6px;
  background: #CDE9C9;
  border-radius: 3px;
  padding: 3px 6px;
  overflow: hidden;
}
.cal2-chip__who {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #21401D;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cal2-chip__time {
  font-size: 11px;
  color: #21401D;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.cal2-chip--mine {
  background: #DCDAF1;
  box-shadow: inset 0 0 0 2px #8F88D3;
}
.cal2-chip--mine .cal2-chip__who, .cal2-chip--mine .cal2-chip__time {
  color: #32304A;
}

.cal2-cell__dots {
  display: none;
  justify-content: center;
  gap: 3px;
  flex-wrap: wrap;
}

.cal2-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5EB852;
}
.cal2-dot--mine {
  background: #8F88D3;
  box-shadow: 0 0 0 2px rgba(143, 136, 211, 0.35);
}

.cal2__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 84px;
}

.side-box--book {
  scroll-margin-top: 80px;
}

.side-box {
  background: var(--surface);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 15px;
  padding: 18px 18px 20px;
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.1);
}

.side-box__title {
  text-align: center;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.side-box__muted {
  color: var(--ink-soft);
  font-size: 14px;
}

.cal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #8F88D3;
  border-radius: 8px;
  background: var(--card);
  color: var(--card-ink);
}

.cal-card__tab {
  background: #8F88D3;
  color: #fff;
  text-align: center;
  padding: 1px 8px 2px;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-card__body {
  padding: 12px 14px 14px;
}

.cal-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  background: var(--card-foot);
  border: none;
  border-top: 2px solid #8F88D3;
  color: var(--card-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cal-card__foot .icon {
  width: 18px;
  height: 18px;
}
.cal-card__foot:hover {
  background: var(--card);
}

.cal-card__foot--action {
  justify-content: center;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 15px;
  letter-spacing: 0.05em;
  background: #8F88D3;
  color: #fff;
  border-top-color: #8F88D3;
}
.cal-card__foot--action:hover {
  background: #817ABE;
}
.cal-card__foot--action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cal-card__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
}
.cal-card__user .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cal-card__menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: #6C7F8F;
  color: #fff;
}
.cal-card__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-size: 16px;
}
.cal-card__menu a:hover {
  text-decoration: underline;
}
.cal-card__menu .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cal-card__menu .cal-card__menu-all {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.85;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

.hours-row {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
  line-height: 1.25;
}
.hours-row__days {
  font-weight: 700;
  font-size: 17px;
}
.hours-row__time {
  font-size: 13px;
  opacity: 0.85;
}
.hours-row__time.is-closed {
  opacity: 0.6;
}

.book__day {
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: capitalize;
  opacity: 0.75;
}

.book__closed {
  margin-top: 12px;
  color: #B80C0C;
  font-weight: 700;
}

.book__none {
  margin-top: 12px;
}

.book__form {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 11px;
}

.book__times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.book__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book__field span {
  font-size: 14px;
  font-weight: 700;
  color: inherit;
}

.cal-card .book__field select {
  min-height: 0;
  padding: 7px 36px 7px 14px;
  background-position: right 14px center;
  font-size: 15px;
  background-color: var(--card-field);
  color: var(--card-ink);
}

.book__list-title {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}

.book__list {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book__list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 7px 10px;
}
.book__list-item form {
  margin-left: auto;
}
.book__list-item {
  border-radius: 6px;
  border: 1px solid rgba(143, 136, 211, 0.35);
  font-size: 15px;
}
.book__list-item.is-mine {
  font-weight: 700;
  background: var(--card-field);
  border-color: #8F88D3;
  box-shadow: inset 4px 0 0 #8F88D3;
}
.book__list-item.is-mine .book__list-who {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book__list-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.book__list-who {
  flex: 1 1 110px;
  min-width: 0;
  opacity: 0.85;
  overflow-wrap: anywhere;
}

.cal2__unpaid {
  margin-bottom: 0;
  font-size: 14px;
}
.cal2__unpaid .notice__text {
  min-width: 0;
}

.cal2__unpaid-list {
  margin: 6px 0 6px 18px;
  font-variant-numeric: tabular-nums;
}

.cal2__logout {
  align-self: flex-end;
}
.cal2__logout button {
  padding: 6px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  border: 2px solid currentColor;
  font: inherit;
  font-size: 17px;
  text-transform: uppercase;
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cal2__logout button:hover {
  opacity: 0.8;
}

:root {
  --cell: #F0F2F4;
  --cell-ink: #414C56;
  --cell-out: #FFFCF2;
  --card: #F4F3FB;
  --card-ink: #32304A;
  --card-foot: #FFFAEB;
  --card-field: #DCDAF1;
}

:root[data-theme=dark] .cal2 {
  --cell: #313940;
  --cell-ink: #DCDAF1;
  --cell-out: transparent;
  --card: #313940;
  --card-ink: #F4F3FB;
  --card-foot: #262C32;
  --card-field: #414C56;
}
:root[data-theme=dark] .cal2 .cal-card__menu {
  background: #515F6B;
}
:root[data-theme=dark] .cal2 .cal2-cell.is-selected {
  box-shadow: inset 0 0 0 3px #8F88D3, 0 0 0 3px rgba(143, 136, 211, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .cal2 {
    --cell: #313940;
    --cell-ink: #DCDAF1;
    --cell-out: transparent;
    --card: #313940;
    --card-ink: #F4F3FB;
    --card-foot: #262C32;
    --card-field: #414C56;
  }
  :root:not([data-theme=light]) .cal2 .cal-card__menu {
    background: #515F6B;
  }
  :root:not([data-theme=light]) .cal2 .cal2-cell.is-selected {
    box-shadow: inset 0 0 0 3px #8F88D3, 0 0 0 3px rgba(143, 136, 211, 0.3);
  }
}

@media (max-width: 980px) {
  .cal2__side {
    position: static;
  }
  .side-box--book {
    order: 1;
  }
  .cal2__unpaid {
    order: 2;
  }
  .side-box--hours {
    order: 3;
  }
  .side-box--user, .cal2__logout {
    display: none;
  }
}
@media (max-width: 700px) {
  .cal2 {
    width: min(100% - 16px, 1680px);
    padding-top: 14px;
  }
  .cal2__top {
    gap: 10px;
    margin-bottom: 12px;
  }
  .cal2__period select {
    padding: 6px 34px 6px 12px;
    font-size: 15px;
    background-position: right 12px center;
  }
  .cal2__room {
    padding: 5px 14px;
    font-size: 14px;
  }
  .cal2-grid {
    border-spacing: 3px;
    margin: -3px;
    width: calc(100% + 6px);
  }
  .cal2-grid thead {
    display: table-header-group;
  }
  .cal2-grid th {
    font-size: 11px;
    letter-spacing: 0;
  }
  .cal2-cell {
    height: 54px;
    padding: 5px 2px;
    border-radius: 9px;
    text-align: center;
  }
  .cal2-cell__head {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
  }
  .cal2-cell__dow {
    display: none;
  }
  .cal2-cell__month {
    display: none;
  }
  .cal2-cell__events {
    display: none;
  }
  .cal2-cell__dots {
    display: flex;
  }
  .side-box {
    padding: 14px 14px 16px;
  }
  .notice {
    padding: 12px 14px;
    gap: 10px;
    font-size: 14px;
  }
  .notice__icon {
    display: none;
  }
}
.page.rent {
  width: min(100% - 40px, 1320px);
}

.rent__step {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 1.6145833333vw, 31px);
  color: var(--ink);
  margin-top: clamp(4px, 0.5208333333vw, 10px);
}

.rent__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.rent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 15px;
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rent-item:hover {
  border-color: #8F88D3;
}
.rent-item.is-selected {
  border-color: var(--ink);
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.12);
}

.rent-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rent-item__name {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(17px, 1.25vw, 24px);
  color: var(--ink);
}

.rent-item__desc {
  font-size: 15px;
  color: var(--ink-soft);
}

.rent-item__meta {
  font-size: 14px;
  font-weight: 700;
  color: #726DA9;
}

.rent-item__qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.rent-item__qty-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.rent-item__qty input {
  width: 84px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  border-color: var(--line);
}

body.app--admin {
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.adm {
  display: flex;
  height: 100vh;
}

.adm__side {
  width: 240px;
  flex-shrink: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--surface);
  border-right: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
}

.adm__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--ink);
  margin: 4px 10px 20px;
}
.adm__brand span {
  color: #8F88D3;
}
.adm__brand .logo-up {
  width: 72px;
  flex: none;
}

.adm__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.adm__nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}
.adm__nav a:hover {
  background: var(--hover);
}
.adm__nav a.is-active {
  background: #58392B;
  color: #FCA37A;
}

.adm__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm__link {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
}
.adm__link:hover {
  color: var(--ink);
}

.adm__user {
  font-size: 14px;
  color: var(--ink-soft);
}

.adm__foot .btn--ghost {
  align-self: flex-start;
}

.adm__main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.adm__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 28px;
  border-bottom: 2px solid var(--line);
  flex-shrink: 0;
}

.adm__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink);
}

.adm__head-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.adm__burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.adm__content {
  flex: 1;
  overflow: auto;
  padding: 24px 28px 40px;
}

@media (max-width: 820px) {
  .adm__side {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .adm__side.is-open {
    transform: none;
    box-shadow: 6px 0 30px rgba(88, 57, 43, 0.25);
  }
  .adm__burger {
    display: block;
  }
}
.app--admin .btn--primary, .app--admin .btn--ghost, .app--admin .btn--danger {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
}

.app--admin .btn--primary {
  border-width: 2px;
}

.app--admin .btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.app--admin .btn--ghost:hover {
  background: var(--hover);
}

.app--admin .form__label {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.app--admin .form__inline {
  color: var(--ink);
  font-size: 14px;
}

.app--admin input[type=text], .app--admin input[type=email], .app--admin input[type=tel],
.app--admin input[type=url], .app--admin input[type=password], .app--admin input[type=number],
.app--admin input[type=date], .app--admin input[type=time], .app--admin input[type=datetime-local],
.app--admin input[type=search], .app--admin select, .app--admin textarea {
  min-height: 0;
  padding: 9px 13px;
  font-size: 15px;
  border-radius: 10px;
  background-color: var(--surface-2);
  color: var(--ink);
  border: 2px solid var(--line);
}
.app--admin input[type=text]:focus, .app--admin input[type=email]:focus, .app--admin input[type=tel]:focus,
.app--admin input[type=url]:focus, .app--admin input[type=password]:focus, .app--admin input[type=number]:focus,
.app--admin input[type=date]:focus, .app--admin input[type=time]:focus, .app--admin input[type=datetime-local]:focus,
.app--admin input[type=search]:focus, .app--admin select:focus, .app--admin textarea:focus {
  border-color: #8F88D3;
}

.app--admin select {
  padding-right: 36px;
  background-position: right 13px center;
}

.app--admin input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.switch__track {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  border: 2px solid var(--ink-mute);
  transition: background 0.2s, border-color 0.2s;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: 0 1px 3px rgba(88, 57, 43, 0.3);
  transition: transform 0.2s;
}
.switch__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  min-width: 78px;
}
input:checked + .switch__track {
  background: #5EB852;
  border-color: #5EB852;
}
input:checked + .switch__track::after {
  transform: translateX(18px);
  background: #fff;
}
input:checked ~ .switch__label {
  color: #2A5325;
}
input:focus-visible + .switch__track {
  outline: 3px solid rgba(143, 136, 211, 0.45);
  outline-offset: 2px;
}
.switch:hover .switch__track {
  border-color: #8F88D3;
}

:root[data-theme=dark] .switch input:checked ~ .switch__label {
  color: #5EB852;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .switch input:checked ~ .switch__label {
    color: #5EB852;
  }
}

.app--admin .form__error {
  margin-bottom: 16px;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.admin-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.12s, box-shadow 0.2s;
}
.admin-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.1);
}

.admin-card__n {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #726DA9;
}

.admin-card__l {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.admin-box {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 18px;
}

.admin-box--new {
  border-style: dashed;
  border-color: #8F88D3;
}

.admin-box__title {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--ink);
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.form__inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-hint {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.admin-sep {
  height: 2px;
  background: var(--line);
  margin: 18px 0;
}

.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-pill {
  padding: 7px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}
.admin-pill:hover {
  background: var(--hover);
}
.admin-pill.is-active {
  background: #58392B;
  color: #FCA37A;
}

.period-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.period-tab {
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
}
.period-tab:hover {
  background: var(--hover);
}
.period-tab.is-active {
  background: #58392B;
  border-color: #58392B;
  color: #FCA37A;
}

.period-range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.period-range label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.period-range input[type=date] {
  padding: 4px 8px;
  font-size: 14px;
}

.admin-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 24px;
}
.admin-inline-form .form__field {
  margin-bottom: 0;
}

.room-swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 4px 14px;
  border-radius: 999px;
  background: var(--room);
  color: var(--room-ink);
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
}
.room-swatch .rooms__num {
  width: 22px;
  font-size: 13px;
}

.about-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 1100px) {
  .about-edit {
    grid-template-columns: 1fr;
  }
}
.about-edit textarea {
  font-size: 15px;
  line-height: 1.5;
}

.about-help {
  list-style: none;
  margin: -6px 0 16px;
  font-size: 13px;
  color: var(--ink-soft);
  display: grid;
  gap: 3px;
}
.about-help code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--ink);
}

.about-help__viola {
  color: #8F88D3;
  font-weight: 700;
}

.mail-preview {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
}
.mail-preview .prose p + p {
  margin-top: 0.8em;
}

.mail-preview__subject {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

#mail-tessera, #mail-idea {
  scroll-margin-top: 20px;
  margin-bottom: 18px;
}

.admin-box > .check {
  margin-bottom: 14px;
}

.about-preview {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 20px;
}
.about-preview .h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.about-preview .prose {
  font-size: 16px;
}
.about-preview .prose p + p {
  margin-top: 0.8em;
}

.act-chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  background: #FFFAEB;
}
.act-chip .words__w {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.search-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  margin-bottom: 10px;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 15px;
}
.search-panel label {
  display: flex;
  flex-direction: column;
}
.search-panel .form__label {
  margin-bottom: 5px;
}

.search-panel__q {
  flex: 1 1 240px;
}

.search-panel__f {
  flex: 0 1 165px;
}
.search-panel__f select {
  width: 100%;
}

.search-panel__btns {
  display: flex;
  gap: 8px;
}

.search-panel__new {
  margin-left: auto;
}

.search-panel__count {
  margin: 0 0 12px 4px;
}

@media (max-width: 700px) {
  .search-panel__new {
    margin-left: 0;
    width: 100%;
  }
  .search-panel__new .btn {
    width: 100%;
    justify-content: center;
  }
}
.acc-link {
  font-weight: 700;
  color: var(--ink);
}
.acc-link[href]:hover {
  text-decoration: underline;
}

.acc-suggest {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.table--tessere .table__actions {
  white-space: normal;
  min-width: 200px;
}
.table--tessere .table__actions .btn, .table--tessere .table__actions form {
  margin: 2px 0;
}

.tl__search input[type=search] {
  max-width: 520px;
}

.tl__msg {
  margin: 10px 0 0;
}

.tl__group {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
}

.tl__label {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.tl__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding: 9px 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 10px;
}
.tl__item:hover, .tl__item:focus-visible {
  border-color: #8F88D3;
  outline: none;
}

.tl__name {
  font-weight: 700;
}

.tl__meta {
  font-size: 13px;
  color: var(--ink-soft);
}

.tl__picked {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #2A5325;
}

.tl__form, .tl__search {
  max-width: 860px;
}

.tl__account {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}

.tl__account-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.tl__account-box .tl__meta {
  margin-left: 8px;
}

.season-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 16px;
}
@media (max-width: 900px) {
  .season-form {
    grid-template-columns: 1fr 1fr;
  }
}

.app--admin .notice .btn--primary {
  flex-shrink: 0;
}

.adm__nav a.adm__nav-sub {
  padding-left: 30px;
  font-size: 14px;
}

a.adm__user:hover {
  color: var(--ink);
  text-decoration: underline;
}

.admin-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 18px;
  align-items: start;
}
@media (max-width: 560px) {
  .admin-rooms {
    grid-template-columns: 1fr;
  }
}

.admin-room textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-room .admin-actions {
  justify-content: flex-end;
}

.admin-hours {
  border-collapse: collapse;
  margin-bottom: 18px;
}
.admin-hours th {
  text-align: left;
  padding: 6px 16px 6px 0;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
}
.admin-hours td {
  padding: 5px 6px;
}
.admin-hours input[type=time] {
  width: 128px;
}
.admin-hours__sep {
  color: var(--ink-mute);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-2);
  border: 2px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.table th {
  position: sticky;
  top: -24px;
  z-index: 2;
  text-align: left;
  padding: 11px 14px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  background: var(--surface);
  border-bottom: 2px solid var(--line);
}
.table th:first-child {
  border-top-left-radius: 10px;
}
.table th:last-child {
  border-top-right-radius: 10px;
}
.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: none;
}
.table tbody tr:hover td {
  background: var(--row-hover);
}
.table select {
  width: auto;
  padding: 5px 30px 5px 10px;
  font-size: 14px;
  background-position: right 10px center;
}
.table__actions {
  text-align: right;
  white-space: nowrap;
}
.table__empty {
  color: var(--ink-mute);
  text-align: center;
}

.table tr.is-off td {
  color: var(--ink-mute);
}
.table tr.is-off td .tag, .table tr.is-off td .btn {
  opacity: 0.5;
}

.table tr.is-unpaid td {
  background: var(--row-alert);
}

.table__link {
  font-weight: 700;
}
.table__link:hover {
  text-decoration: underline;
}

.res-viewer {
  height: calc(100vh - 210px);
  min-height: 360px;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.res-viewer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
  align-items: start;
}

.dash-panel {
  display: flex;
  flex-direction: column;
  height: 50vh;
  min-height: 280px;
  max-height: 560px;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}

.dash-panel--alert {
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.1);
}

.dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--line);
  flex-shrink: 0;
}
.dash-panel__head h2 {
  margin: 0;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-panel__tools {
  flex-shrink: 0;
  padding: 10px 16px;
  border-bottom: 2px solid var(--line);
}
.dash-panel__tools .period-tabs {
  margin-bottom: 0;
}
.dash-panel__tools .period-tab {
  padding: 3px 11px;
  font-size: 13px;
}

.dash-empty {
  padding: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.dash-row--unpaid .dash-row__title {
  color: #B80C0C;
}

.dash-row.dash-row--bk {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.dash-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-kebab {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dash-kebab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.dash-kebab:hover, .dash-kebab[aria-expanded=true] {
  background: var(--hover);
  color: var(--ink);
}

.dash-menu {
  position: fixed;
  z-index: 60;
  min-width: 190px;
  padding: 4px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 8px rgba(88, 57, 43, 0.18);
}
.dash-menu button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.dash-menu button:hover {
  background: var(--hover);
}

.dash-panel__body {
  flex: 1;
  overflow-y: auto;
  background: var(--surface-2);
}

.dash-list {
  list-style: none;
}

.dash-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.dash-row:hover {
  background: var(--row-hover);
}

.dash-row__title {
  font-weight: 700;
}

.dash-row__meta {
  font-size: 12px;
  color: var(--ink-soft);
}

.dash-row--pay {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dash-group {
  padding: 9px 16px 5px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
}

.guide {
  max-width: 880px;
  color: var(--ink);
}

.guide__lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  line-height: 1.6;
}

.guide__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.guide__toc a {
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.guide__toc a:hover {
  background: var(--hover);
}

.guide__sec {
  margin-bottom: 32px;
  scroll-margin-top: 20px;
}

.guide__sec h2 {
  font-family: "Cringe Gothic", "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--ink);
}

.guide__sec p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.guide__sec ul {
  margin: 0 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide__sec li {
  line-height: 1.55;
}

.guide a {
  color: #726DA9;
  font-weight: 700;
}
.guide a:hover {
  text-decoration: underline;
}

.grid-wrap {
  display: flex;
  flex-direction: column;
}

.grid-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.grid-toolbar__spacer {
  flex: 1;
}

.grid-search {
  max-width: 320px;
}

.grid-count {
  font-size: 13px;
  color: var(--ink-soft);
}

.grid-table th.is-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.grid-table th.is-sortable:hover {
  color: var(--ink);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 26px;
  border-bottom: 2px solid var(--line);
}

.admin-nav a {
  padding: 10px 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}
.admin-nav a:hover {
  color: var(--ink);
}

::selection {
  background: #8F88D3;
  color: #fff;
}

@media (max-width: 1100px) {
  .site-tools {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  .site-logo {
    position: absolute;
  }
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  background: #EEEDF8;
  color: #262C32;
  border: 2px solid #262C32;
  transition: background 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  background: #DCDAF1;
  transform: rotate(-15deg);
}
.theme-toggle:focus-visible {
  outline: 3px solid rgba(143, 136, 211, 0.5);
  outline-offset: 2px;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .theme-toggle__sun {
  display: none;
}
:root[data-theme=dark] .theme-toggle .theme-toggle__sun {
  display: block;
}
:root[data-theme=dark] .theme-toggle .theme-toggle__moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .theme-toggle .theme-toggle__sun {
    display: block;
  }
  :root:not([data-theme=light]) .theme-toggle .theme-toggle__moon {
    display: none;
  }
}

.adm__foot .theme-toggle {
  align-self: flex-start;
}

.site-login--admin, .site-login--admin:hover {
  background: #58392B;
  color: #FCA37A;
  border-color: #58392B;
}

.site-login--admin:hover {
  background: #714937;
}

:root[data-theme=dark] .site-login:not(.site-login--admin) {
  background: #EEEDF8;
  color: #262C32;
  border-color: #EEEDF8;
}
:root[data-theme=dark] .site-login:not(.site-login--admin):hover {
  background: #DCDAF1;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .site-login:not(.site-login--admin) {
    background: #EEEDF8;
    color: #262C32;
    border-color: #EEEDF8;
  }
  :root:not([data-theme=light]) .site-login:not(.site-login--admin):hover {
    background: #DCDAF1;
  }
}

:root[data-theme=dark] .words__w--acqua-scuro {
  color: #68BAB6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .words__w--acqua-scuro {
    color: #68BAB6;
  }
}

:root[data-theme=dark] .rooms {
  background: #515F6B;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .rooms {
    background: #515F6B;
  }
}

:root[data-theme=dark] .card-box.rooms {
  border-color: var(--room);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .card-box.rooms {
    border-color: var(--room);
  }
}

:root[data-theme=dark] .rooms__equip {
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .rooms__equip {
    color: var(--ink);
  }
}

:root[data-theme=dark] .card-box, :root[data-theme=dark] .auth-card, :root[data-theme=dark] .side-box, :root[data-theme=dark] .doc-item {
  border-color: #6C7F8F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .card-box, :root:not([data-theme=light]) .auth-card, :root:not([data-theme=light]) .side-box, :root:not([data-theme=light]) .doc-item {
    border-color: #6C7F8F;
  }
}

:root[data-theme=dark] .card-box.theme-light {
  border-color: #58392B;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .card-box.theme-light {
    border-color: #58392B;
  }
}

:root[data-theme=dark] .topbar {
  border-bottom-color: #6C7F8F;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .topbar {
    border-bottom-color: #6C7F8F;
  }
}

:root[data-theme=dark] .adm__side {
  border-right-color: #414C56;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .adm__side {
    border-right-color: #414C56;
  }
}

:root[data-theme=dark] .guide a, :root[data-theme=dark] .admin-card__n, :root[data-theme=dark] .rent-item__meta {
  color: #8F88D3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .guide a, :root:not([data-theme=light]) .admin-card__n, :root:not([data-theme=light]) .rent-item__meta {
    color: #8F88D3;
  }
}

:root[data-theme=dark] .site-footer__social a:hover, :root[data-theme=dark] .topbar__link:hover {
  color: #8F88D3;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .site-footer__social a:hover, :root:not([data-theme=light]) .topbar__link:hover {
    color: #8F88D3;
  }
}

:root[data-theme=dark] .notice--warn {
  background: rgb(72.24, 63.04, 61.52);
  border-color: #CA8262;
  color: var(--ink);
}
:root[data-theme=dark] .notice--warn strong {
  color: #FCA37A;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .notice--warn {
    background: rgb(72.24, 63.04, 61.52);
    border-color: #CA8262;
    color: var(--ink);
  }
  :root:not([data-theme=light]) .notice--warn strong {
    color: #FCA37A;
  }
}

:root[data-theme=dark] .notice--info {
  background: rgb(48.56, 66.72, 71.12);
  border-color: #539592;
  color: var(--ink);
}
:root[data-theme=dark] .notice--info strong {
  color: #68BAB6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .notice--info {
    background: rgb(48.56, 66.72, 71.12);
    border-color: #539592;
    color: var(--ink);
  }
  :root:not([data-theme=light]) .notice--info strong {
    color: #68BAB6;
  }
}

:root[data-theme=dark] .notice--ok {
  background: rgb(46.96, 66.4, 55.12);
  border-color: #4B9342;
  color: var(--ink);
}
:root[data-theme=dark] .notice--ok strong {
  color: #5EB852;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .notice--ok {
    background: rgb(46.96, 66.4, 55.12);
    border-color: #4B9342;
    color: var(--ink);
  }
  :root:not([data-theme=light]) .notice--ok strong {
    color: #5EB852;
  }
}
