@font-face {
  font-family: Montserrat;
  src: url("/montserrat.woff2?v=4") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Montserrat, sans-serif;
  color: #312724;
  background: #faf7f3;
  color-scheme: light;
  --paper: #fffdfb;
  --white: #ffffff;
  --ink: #312724;
  --muted: #715f58;
  --line: #ebdfd8;
  --pink: #f4dedf;
  --pink-strong: #ebc4c8;
  --plum: #542f39;
  --beige: #f2e9dd;
  --shadow: 0 12px 38px #4a302608;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 290px; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .58; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #8f5264; outline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
svg { width: 22px; height: 22px; vertical-align: middle; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shell { max-width: 1088px; margin: auto; padding: 0 34px 124px; }
.topbar {
  display: flex; align-items: center; gap: 12px; min-height: 86px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  padding: 0; border: 0; background: none; display: flex; gap: 10px; align-items: center;
  font-size: 19px; font-weight: 750; letter-spacing: -.055em;
}
.mark { width: 39px; height: 39px; border-radius: 13px; background: var(--pink); color: var(--plum); }
.mark svg { width: 24px; height: 24px; }
.demo { font-size: 10px; font-weight: 650; color: var(--muted); padding: 5px 8px; border: 1px solid var(--line); border-radius: 30px; }
.desktop-add { margin-left: auto; }
.button {
  min-height: 44px; border-radius: 13px; padding: 9px 15px; display: inline-flex; align-items: center;
  justify-content: center; gap: 7px; border: 1px solid transparent; font-size: 12px; font-weight: 700;
  text-align: center; transition: background .15s, border-color .15s;
}
.button svg { width: 17px; height: 17px; }
.primary { color: var(--plum); background: var(--pink); }
.primary:hover { background: var(--pink-strong); }
.secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
.secondary:hover { background: var(--beige); }
.quiet { color: var(--muted); background: transparent; }
.quiet:hover { background: var(--beige); }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
h1 { font-size: clamp(32px, 5vw, 45px); font-weight: 700; letter-spacing: -.068em; line-height: 1.08; }
.subheading { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 550; line-height: 1.55; }
.dashboard { display: grid; grid-template-columns: 1.17fr 1fr; align-items: start; gap: 20px; }
.dashboard-column { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); min-width: 0; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 236px; display: flex;
  flex-direction: column; align-items: start; padding: 25px 28px; color: var(--plum);
  background: linear-gradient(110deg, #f7e6e3 0%, #f4dcdf 86%); border-color: #f1dadd;
}
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -85px; top: -45px;
  width: 258px; height: 285px; border-radius: 49% 51% 49% 51% / 57% 45% 55% 43%;
  border: 1px solid #b76b7d32; transform: rotate(-28deg);
}
.hero::after { right: -53px; top: -70px; transform: rotate(-45deg); }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.hero-main { padding-top: 14px; }
.hero h2 { font-size: clamp(25px, 4vw, 35px); font-weight: 700; letter-spacing: -.06em; line-height: 1.13; overflow-wrap: anywhere; }
.hero-sub { margin-top: 7px; font-size: 13px; font-weight: 550; }
.hero-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.hero-time { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 650; }
.hero-time svg { width: 17px; height: 17px; }
.hero-open { position: absolute; top: 15px; right: 15px; color: var(--plum); background: #fff8; }
.hero-click { text-align: left; width: 100%; }
.hero-click:hover .hero-open { background: var(--paper); }
.icon-button {
  border: 0; width: 42px; height: 42px; border-radius: 13px; display: inline-grid; place-items: center;
  background: #f8f1eb; flex-shrink: 0;
}
.icon-button:hover { background: var(--pink); }
.icon-button svg { width: 19px; height: 19px; }
.panel { padding: 22px 23px 16px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
h2 { font-size: 19px; font-weight: 720; letter-spacing: -.045em; line-height: 1.2; }
.panel-heading .button { padding-inline: 7px; min-height: 40px; }
.calendar { padding: 21px 23px 17px; }
.calendar-title { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 11px; }
.calendar-title h2:first-letter { text-transform: uppercase; }
.calendar-controls { display: flex; gap: 5px; }
.calendar-controls .icon-button { width: 37px; height: 37px; }
.calendar-controls .icon-button svg { width: 17px; height: 17px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 4px; }
.weekday { font-size: 11px; font-weight: 650; color: var(--muted); text-align: center; padding: 7px 0; }
.day {
  aspect-ratio: 1.16; min-height: 34px; border: 1px solid transparent; border-radius: 11px; background: none;
  position: relative; display: grid; place-items: center; font-size: 13px; font-weight: 650;
}
.day.outside { color: #83736b; }
.day:hover { background: #faf0ee; }
.day.today { border-color: #e4b9c0; color: var(--plum); }
.day.selected { background: var(--pink); border-color: var(--pink); color: var(--plum); font-weight: 800; }
.day.has-lesson::after {
  content: ""; position: absolute; bottom: 4px; left: calc(50% - 2px); border-radius: 50%;
  width: 4px; height: 4px; background: #a66a79;
}
.day-rows { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.day-rows h3 { font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.lesson-list, .student-list { display: grid; }
.row {
  min-width: 0; display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.row:last-child { border-bottom: 0; }
.row:hover .row-title { color: #874759; }
.row-copy { min-width: 0; flex: 1; display: grid; gap: 4px; }
.row-title { font-size: 13px; font-weight: 740; overflow-wrap: anywhere; }
.row-sub { color: var(--muted); font-size: 11px; font-weight: 540; line-height: 1.4; overflow-wrap: anywhere; }
.row-time { flex: 0 0 43px; font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
.chevron { color: #856e66; }
.chevron svg { width: 16px; height: 16px; }
.avatar {
  width: 40px; height: 40px; border-radius: 13px; display: inline-grid; place-items: center;
  font-weight: 750; font-size: 12px; flex-shrink: 0; color: #69434a; background: var(--pink);
}
.tone-1 { color: #694f41; background: #f0e1d2; }
.tone-2 { color: #6b475a; background: #f0e1e8; }
.tone-3 { color: #695442; background: #f3e9da; }
.badge {
  display: inline-flex; gap: 5px; align-items: center; justify-content: center; min-height: 26px;
  border-radius: 20px; padding: 4px 8px; font-size: 10px; font-weight: 720; line-height: 1.2;
  white-space: nowrap; color: #665347; background: #f6eee4;
}
.badge.last { color: #76384c; background: #f8e2e7; }
.badge.unpaid { color: #73493c; background: #f6e7df; }
.hero .badge { background: #fffc; }
.empty { padding: 14px 0; color: var(--muted); line-height: 1.6; font-size: 13px; }
.empty > .button { margin-top: 12px; }
.students-page { max-width: 760px; }
.students-page .row { padding-block: 15px; }
.navigation {
  display: flex; position: fixed; z-index: 2; bottom: max(17px, env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); background: #fffdfbf5; border: 1px solid var(--line);
  border-radius: 21px; box-shadow: 0 8px 34px #492d2020; padding: 5px; gap: 4px; backdrop-filter: blur(16px);
}
.navigation button {
  min-width: 105px; min-height: 53px; border-radius: 15px; border: none; background: none;
  color: var(--muted); display: grid; place-items: center; align-content: center; gap: 4px; padding: 4px 10px;
  font-size: 10px; font-weight: 650;
}
.navigation button[aria-current] { background: var(--pink); color: var(--plum); font-weight: 750; }
.navigation svg { width: 19px; height: 19px; }
dialog {
  border: 1px solid var(--line); color: var(--ink); background: var(--paper); border-radius: 24px; padding: 22px;
  box-shadow: 0 16px 60px #38221b29; width: min(440px, calc(100% - 26px)); max-height: calc(100dvh - 24px); overflow: auto;
}
dialog::backdrop { background: #31272452; }
.dialog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 14px; }
.dialog-top h2 { font-size: 22px; overflow-wrap: anywhere; }
.dialog-top .icon-button { width: 36px; height: 36px; }
form, .dialog-content { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
input, select {
  width: 100%; min-width: 0; height: 43px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  color: var(--ink); background: #fff; font-size: 16px;
}
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialog-content p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.dialog-content .buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.form-error { color: #8c3a4c; font-size: 12px; line-height: 1.5; }
.form-error:empty { display: none; }
.balance-card { background: var(--pink); color: var(--plum); padding: 13px; border-radius: 14px; font-size: 13px; font-weight: 750; }
.notice {
  position: fixed; z-index: 3; bottom: calc(max(17px, env(safe-area-inset-bottom)) + 73px); left: 50%;
  transform: translateX(-50%); width: max-content; max-width: calc(100vw - 26px); text-align: center;
  background: var(--plum); color: white; border-radius: 13px; padding: 11px 15px; font-size: 12px;
  font-weight: 650; box-shadow: var(--shadow);
}
.loading { padding: 24px 0; font-size: 14px; color: var(--muted); }
@media (max-width: 730px) {
  .shell { padding: 0 19px 108px; }
  .topbar { min-height: 64px; margin-bottom: 24px; }
  .dashboard { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-column { display: contents; }
  .dashboard .hero { order: 0; }
  .dashboard .today-panel { order: 1; }
  .dashboard .calendar { order: 2; }
  .dashboard .attention { order: 3; }
  .hero { padding: 22px; min-height: 178px; }
  .page-heading { margin-bottom: 18px; }
  .day { aspect-ratio: 1.35; }
  .panel, .calendar { padding-inline: 17px; }
  .navigation { bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .shell { padding-inline: 12px; }
  .topbar { gap: 7px; }
  .desktop-add { padding-inline: 7px; font-size: 10px; }
  .wordmark { font-size: 17px; gap: 6px; }
  .mark { width: 33px; height: 33px; }
  .navigation button { min-width: 88px; }
  .row { gap: 7px; }
  .badge { padding-inline: 6px; font-size: 9px; }
  .row-time { flex-basis: 36px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.hero-name { display: block; font-size: clamp(25px, 4vw, 35px); letter-spacing: -.06em; line-height: 1.13; overflow-wrap: anywhere; }
.hero-name strong { font-weight: 700; }
.hero-sub { display: block; }
.hero-click .eyebrow, .hero-click .hero-main { max-width: calc(100% - 42px); }
.capitalize::first-letter { text-transform: uppercase; }
.calendar-filter { margin: 0 0 12px; max-width: 280px; }
.archived { margin-top: 10px; font-size: 13px; color: var(--muted); }
.archived summary { padding: 8px 0; cursor: pointer; }
@media (max-width: 730px) {
  .dashboard .pending { order: 4; }
}

.rulfus {
  isolation: isolate; position: relative; overflow: hidden; margin: 0 0 20px;
  min-height: 118px; display: flex; align-items: center; gap: 14px;
  padding: 17px 136px 18px 23px; background: #fbefe9;
}
.rulfus::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 35%;
  background-image: radial-gradient(#c48d9c56 1px, transparent 1px);
  background-size: 11px 11px; mask-image: linear-gradient(to right, transparent, #000);
}
.rulfus-copy { position: relative; z-index: 1; max-width: 630px; }
.rulfus-label {
  display: flex; align-items: center; gap: 7px; color: #7f4856;
  font-size: 10px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase;
}
.rulfus-label svg { width: 15px; height: 15px; }
.rulfus p { margin-top: 7px; font-weight: 620; font-size: clamp(12px, 1.8vw, 15px); line-height: 1.5; }
.profile .back { padding-left: 2px; margin-bottom: 9px; }
.profile-intro, .timeline { padding: 21px; margin-bottom: 16px; }
.profile-title { display: flex; gap: 13px; align-items: center; }
.profile-title h1 { overflow-wrap: anywhere; }
.profile-title .avatar { width: 56px; height: 56px; font-size: 16px; }
.profile-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.profile-metrics > div { border-radius: 15px; background: #f7ebe3; padding: 12px; display: grid; gap: 5px; }
.profile-metrics > div:first-child { background: #f8e8eb; }
.profile-metrics strong { font-size: 27px; font-weight: 760; line-height: 1; }
.profile-metrics span { color: var(--muted); font-size: 11px; font-weight: 650; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.timeline-day + .timeline-day { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 13px; }
.timeline-day h3 { font-size: 13px; margin-bottom: 7px; }
.timeline-lesson { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 600; }
.timeline-lesson svg { width: 15px; height: 15px; color: #8b5060; }
.file-row { border-radius: 8px; }
.file-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--beige); border-radius: 9px; }
.file-icon svg { width: 18px; height: 18px; }
.button, .icon-button, .navigation button, .day { transition: background .18s, border-color .18s, transform .18s; }
.button:active, .icon-button:active, .navigation button:active, .day:active { transform: scale(.965); }
dialog[open] { animation: panel-in .22s cubic-bezier(.2,.65,.3,1) both; }
.notice:not([hidden]) { animation: notice-in .19s ease-out both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes notice-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes rulfus-enter { from { opacity: .55; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 730px) {
  .rulfus { min-height: 105px; padding: 13px 104px 13px 15px; margin-bottom: 14px; }
  .profile-intro, .timeline { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; display: block; object-fit: contain; }
.avatar-portrait img { object-fit: cover; object-position: 29% center; }
.dialog-top h2 { flex: 1; }
@media (max-width: 480px) {
  .topbar { gap: 5px; }
  .topbar > .icon-button { width: 33px; height: 35px; }
  .topbar .desktop-add { min-width: 36px; flex-shrink: 1; padding-inline: 6px; }
}

:root {
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--tg-content-safe-area-inset-left, 0px));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--tg-content-safe-area-inset-right, 0px));
  --safe-top: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));
}
html { scroll-padding-block: 72px 92px; }
body { overscroll-behavior-y: contain; }
button { touch-action: manipulation; }
.shell { padding-top: var(--safe-top); }
.file-row { min-height: 60px; padding-inline: 8px; }
.file-row .row-sub { font-size: 10px; }
.file-row:active { background: #f8f0eb; }
.file-icon.file-image { background: #f3e4e9; }
.file-icon.file-play, .file-icon.file-sound { background: #f2e5d8; }
.rulfus-glint {
  position: absolute; right: 120px; top: 18px; color: #a76b77;
  font-size: 14px; pointer-events: none; animation: glint-in 550ms ease-out both;
}
@keyframes glint-in {
  from { opacity: 0; transform: translateY(3px) scale(.8); }
  to { opacity: .8; transform: translateY(0) scale(1); }
}
body.preview-open { overflow: hidden; }
#material-viewer {
  width: min(760px, calc(100% - 24px)); height: min(900px, calc(100dvh - 24px));
  max-width: none; max-height: none; padding: 0; overflow: hidden; border-radius: 21px;
  background: var(--paper);
}
#material-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer-header, .viewer-footer {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper);
}
.viewer-header { border-bottom: 1px solid var(--line); }
.viewer-header h2 {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 15px; letter-spacing: -.015em;
}
.viewer-header .icon-button, .viewer-footer .icon-button { width: 44px; height: 44px; }
.viewer-body {
  min-height: 0; overflow: auto; overscroll-behavior: contain;
  background: #f2ece7; padding: 12px; touch-action: pan-y pinch-zoom;
}
.viewer-body.is-enlarged { touch-action: auto; }
.viewer-body > img {
  display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto;
  border-radius: 6px; background: #fff; box-shadow: 0 2px 10px #4a30261c;
}
.viewer-body.is-enlarged > img { width: 165%; max-width: none; margin-inline: 0; }
.viewer-body > video, .viewer-body > audio { display: block; width: min(100%, 640px); margin: 12px auto; }
.viewer-body > video { max-height: 100%; border-radius: 12px; }
.viewer-note, .viewer-text {
  max-width: 62ch; margin: 0 auto; padding: 18px; font-size: 14px;
  line-height: 1.65; overflow-wrap: anywhere;
}
.viewer-note { text-align: center; color: var(--muted); }
.viewer-text { white-space: pre-wrap; background: #fff; border-radius: 12px; }
.viewer-footer { justify-content: space-between; border-top: 1px solid var(--line); }
.viewer-paging { display: flex; align-items: center; gap: 6px; }
.viewer-paging .icon-button:disabled { cursor: default; }
.viewer-page {
  min-width: 48px; text-align: center; font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.viewer-download { margin-left: auto; flex-shrink: 0; }
@media (max-width: 730px) {
  .shell {
    padding-inline: max(15px, var(--safe-left)) max(15px, var(--safe-right));
    padding-bottom: calc(88px + var(--safe-bottom));
  }
  .topbar { min-height: 60px; margin-bottom: 17px; }
  .topbar > .icon-button { width: 40px; height: 44px; }
  .topbar .desktop-add { padding-inline: 10px; }
  .page-heading { margin-bottom: 14px; }
  .rulfus { min-height: 94px; }
  .rulfus-glint { right: 88px; top: 12px; }
  .hero { min-height: 151px; }
  .card { border-radius: 19px; }
  .navigation {
    width: min(368px, calc(100% - 24px - var(--safe-left) - var(--safe-right)));
    bottom: calc(7px + var(--safe-bottom));
    background: var(--paper); backdrop-filter: none;
  }
  .navigation button { flex: 1; min-width: 0; }
  .notice { bottom: calc(75px + var(--safe-bottom)); }
  #material-viewer {
    width: 100%; height: 100dvh; height: var(--tg-viewport-stable-height, 100dvh);
    margin: 0; inset: 0 auto auto 0; border: 0; border-radius: 0;
  }
  .viewer-header { padding: calc(7px + var(--safe-top)) max(9px, var(--safe-right)) 7px max(9px, var(--safe-left)); }
  .viewer-footer { padding: 7px max(9px, var(--safe-right)) calc(7px + var(--safe-bottom)) max(9px, var(--safe-left)); }
  .viewer-body { padding: 8px; }
}
@media (max-width: 355px) {
  .topbar .desktop-add { padding-inline: 8px; }
  .topbar .add-label { display: none; }
}
#material-viewer[open] { grid-template-columns: minmax(0, 1fr); }
.viewer-body { min-width: 0; }
.viewer-body > img { max-height: none; }
@media (max-width: 355px) {
  .viewer-footer { gap: 4px; }
  .viewer-paging { gap: 3px; }
  .viewer-page { min-width: 36px; }
  .viewer-download { padding-inline: 9px; }
}

.rulfus-art {
  position: absolute;
  right: 16px;
  bottom: -15px;
  width: 118px;
  aspect-ratio: 1238 / 1208;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: rulfus-enter .44s cubic-bezier(.22,.78,.38,1) both;
}
.rulfus .rulfus-art img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  mix-blend-mode: normal;
  animation: none;
}
.rulfus-blink {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: rulfus-blink 9s steps(1, end) infinite;
}
.rulfus-blink::before, .rulfus-blink::after {
  content: "";
  position: absolute;
  top: 35.4%;
  height: 12.2%;
  width: 8.1%;
  background: linear-gradient(#191a1d 0 52%, #79bbec 52% 61%, #191a1d 61%);
}
.rulfus-blink::before { left: 33%; }
.rulfus-blink::after { left: 48.5%; }
@keyframes rulfus-blink {
  0%, 34%, 36%, 100% { opacity: 0; }
  34.5% { opacity: 1; }
}
.rulfus-glint svg { width: 13px; height: 13px; }
.file-icon {
  width: 42px;
  height: 48px;
  flex: 0 0 42px;
  overflow: hidden;
}
.file-thumbnail { position: relative; border: 1px solid #ebded7; background: #f6ede9; }
.file-thumbnail img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
  animation: thumbnail-in .16s ease-out both;
}
@keyframes thumbnail-in { from { opacity: .5; } to { opacity: 1; } }
.day.selected { background: #f2dce3; box-shadow: 0 0 0 2px #f7e9ec, inset 0 0 0 1px #dbaeba; }
@media (max-width: 730px) {
  .rulfus-art { width: 91px; right: 8px; bottom: -7px; }
}

.rulfus-copy .rulfus-speech {
  position: absolute;
  z-index: 1;
  inset: 50% 0 auto;
  margin: 0;
  padding: 8px 10px;
  transform: translateY(-50%);
  border: 1px solid #e8c6d1;
  border-radius: 13px;
  background: #fff8fa;
  color: var(--plum);
  box-shadow: 0 3px 9px #542f3912;
  overflow-wrap: anywhere;
  animation: speech-in .2s ease-out both;
}
.rulfus-speech::after {
  content: "";
  position: absolute;
  inset: 50% -5px auto auto;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid #e8c6d1;
  border-right: 1px solid #e8c6d1;
  background: #fff8fa;
}
.rulfus-copy.is-speaking .rulfus-wish { visibility: hidden; }
@keyframes speech-in {
  from { opacity: 0; transform: translate(-3px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
