:root {
  --bg: #0b0b0f;
  --surface: #15151b;
  --surface-2: #1c1c24;
  --surface-3: #252530;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eeeef3;
  --text-2: #a3a3b2;
  --text-3: #74748a;
  --accent: #7c6cff;
  --accent-strong: #6655f0;
  --accent-soft: rgba(124, 108, 255, 0.14);
  --accent-glow: rgba(124, 108, 255, 0.35);
  --on-accent: #ffffff;
  --highlight: rgba(124, 108, 255, 0.14);
  --success: #3dd6a6;
  --warning: #f5b544;
  --danger: #ff6b7a;
  --danger-soft: rgba(255, 107, 122, 0.12);
  --backdrop: rgba(4, 4, 8, 0.62);
  --glass: rgba(11, 11, 15, 0.82);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.5);
  --cover-ring: rgba(255, 255, 255, 0.08);
  --skel-a: #17171e;
  --skel-b: #22222b;
  color-scheme: dark;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-read: "Literata", "Iowan Old Style", Georgia, serif;
  --read-size: 19px;
  --read-leading: 1.65;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 18px;
  --r-xl: 24px;
  --gutter: 16px;
  --tap: 48px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 180ms;
  --dur-slow: 220ms;
  --column: 760px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 62px;
  --mini-h: 64px;
  --dock-h: 232px;
}

:root[data-theme=paper] {
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --surface-2: #efe9de;
  --surface-3: #e6dfd2;
  --line: rgba(28, 26, 22, 0.1);
  --line-strong: rgba(28, 26, 22, 0.18);
  --text: #1c1a16;
  --text-2: #5f5a51;
  --text-3: #8a8478;
  --accent: #5a48e0;
  --accent-strong: #5a48e0;
  --accent-soft: rgba(90, 72, 224, 0.11);
  --accent-glow: rgba(90, 72, 224, 0.28);
  --on-accent: #ffffff;
  --highlight: rgba(90, 72, 224, 0.13);
  --success: #138a69;
  --warning: #a86a00;
  --danger: #c2283b;
  --danger-soft: rgba(194, 40, 59, 0.09);
  --backdrop: rgba(28, 26, 22, 0.32);
  --glass: rgba(246, 242, 234, 0.86);
  --shadow-1: 0 1px 2px rgba(28, 26, 22, 0.08);
  --shadow-2: 0 14px 34px rgba(28, 26, 22, 0.16);
  --cover-ring: rgba(28, 26, 22, 0.06);
  --skel-a: #ece6da;
  --skel-b: #e2dbcd;
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root[data-theme=system] {
    --bg: #f6f2ea;
    --surface: #fffdf8;
    --surface-2: #efe9de;
    --surface-3: #e6dfd2;
    --line: rgba(28, 26, 22, 0.1);
    --line-strong: rgba(28, 26, 22, 0.18);
    --text: #1c1a16;
    --text-2: #5f5a51;
    --text-3: #8a8478;
    --accent: #5a48e0;
    --accent-strong: #5a48e0;
    --accent-soft: rgba(90, 72, 224, 0.11);
    --accent-glow: rgba(90, 72, 224, 0.28);
    --on-accent: #ffffff;
    --highlight: rgba(90, 72, 224, 0.13);
    --success: #138a69;
    --warning: #a86a00;
    --danger: #c2283b;
    --danger-soft: rgba(194, 40, 59, 0.09);
    --backdrop: rgba(28, 26, 22, 0.32);
    --glass: rgba(246, 242, 234, 0.86);
    --shadow-1: 0 1px 2px rgba(28, 26, 22, 0.08);
    --shadow-2: 0 14px 34px rgba(28, 26, 22, 0.16);
    --cover-ring: rgba(28, 26, 22, 0.06);
    --skel-a: #ece6da;
    --skel-b: #e2dbcd;
    color-scheme: light;
  }
}
@media (min-width: 400px) {
  :root {
    --gutter: 20px;
  }
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/literata-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/literata-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

h1,
h2,
h3,
p,
ol,
ul,
blockquote {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
}

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

::selection {
  background: var(--accent-soft);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.hint {
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.5;
}

.eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.section-label .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.section-hint {
  color: var(--text-2);
  font-size: 13.5px;
  margin: 4px 0 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes sheet-in {
  from {
    transform: translate(-50%, 100%);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes eq {
  0%, 100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
.app {
  max-width: var(--column);
  margin: 0 auto;
  min-height: 100dvh;
  padding-top: var(--safe-top);
}

.main {
  padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 24px);
}

.app:has(.mini) .main {
  padding-bottom: calc(var(--tabbar-h) + var(--mini-h) + var(--safe-bottom) + 32px);
}

.app--immersive .main {
  padding-bottom: 0;
}

.page {
  padding: 0 var(--gutter);
  animation: fade-in var(--dur) var(--ease);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
}

.page-title {
  font-family: var(--font-read);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 6px 0 20px;
}

.page-title--bar {
  font-size: 26px;
  margin: 0;
  flex: 1;
}

.page-lead {
  color: var(--text-2);
  margin: -2px 0 18px;
}

.section {
  margin: 28px 0;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--tap);
  margin-top: 18px;
}

.center-spinner {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--text-2);
}

.colophon {
  text-align: center;
  color: var(--text-3);
  font-family: var(--font-read);
  font-style: italic;
  font-size: 14px;
  margin: 32px 0 8px;
}

.chrome {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--column));
  z-index: 20;
  padding-bottom: var(--safe-bottom);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-top: 1px solid var(--line);
}

@media (min-width: 761px) {
  .chrome {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--filled {
  fill: currentColor;
  stroke-width: 1;
}

.spin {
  animation: spin 0.9s linear infinite;
}

.spin--large {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.flip {
  display: inline-flex;
  transform: rotate(180deg);
}

.logo {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  box-shadow: 0 6px 18px var(--accent-glow);
}

.logo--large {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__name {
  font-family: var(--font-read);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 20px;
  border-radius: var(--r-m);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn:active:not(:disabled) {
  transform: scale(0.98);
}
.btn:disabled {
  opacity: 0.45;
}
.btn .icon {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: var(--accent-strong);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 8px 22px -8px var(--accent-glow);
}

.btn--soft {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
  padding: 0 16px;
}

.btn--danger {
  background: var(--danger-soft);
  border-color: transparent;
  color: var(--danger);
}

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

.btn--record {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

.btn--stop {
  background: var(--danger);
  border-color: transparent;
  color: #fff;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  flex: none;
  border-radius: var(--r-m);
  color: var(--text-2);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.icon-btn:active {
  background: var(--surface-2);
  transform: scale(0.94);
}

.icon-btn--soft {
  background: var(--surface-2);
  color: var(--text);
}

.icon-btn-spacer {
  width: var(--tap);
  flex: none;
}

.icon-btn--seek .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.6;
}

.seek-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 1px;
  font-size: 9.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.play-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-strong);
  color: var(--on-accent);
  box-shadow: 0 10px 28px -6px var(--accent-glow);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.play-btn .icon {
  width: 28px;
  height: 28px;
}
.play-btn .play-btn__play {
  margin-left: 3px;
}
.play-btn:active {
  transform: scale(0.95);
}

.play-btn--small {
  width: var(--tap);
  height: var(--tap);
  box-shadow: none;
}
.play-btn--small .icon {
  width: 22px;
  height: 22px;
}

.play-btn__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.play-btn.is-waiting .play-btn__ring {
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

.disclosure {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--tap);
  padding: 0 4px;
  color: var(--text-2);
  font-weight: 600;
}

.disclosure__chev {
  display: inline-flex;
  transition: transform var(--dur) var(--ease);
}

.pill {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-h) + var(--safe-bottom) + 14px);
  transform: translateX(-50%);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--on-accent);
  font-weight: 600;
  box-shadow: var(--shadow-2);
  animation: rise-in var(--dur-slow) var(--ease);
}
.pill .icon {
  width: 18px;
  height: 18px;
}

.form {
  display: grid;
  gap: 12px;
}

.form__error {
  color: var(--danger);
  font-size: 14px;
}

.field {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field::placeholder {
  color: var(--text-3);
}
.field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field--area {
  min-height: 180px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}

.field--icon {
  padding: 0 52px 0 46px;
}

.field-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.field-wrap {
  position: relative;
  display: block;
}

.field-wrap__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-3);
  pointer-events: none;
}

.field-wrap__end {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border-radius: var(--r-m);
  background: var(--surface-2);
}

.segmented__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border-radius: var(--r-s);
  color: var(--text-2);
  font-weight: 600;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.segmented__btn .icon {
  width: 18px;
  height: 18px;
}
.segmented__btn.is-on {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

.segmented--wide {
  margin-bottom: 0;
}

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

.chip {
  min-height: var(--tap);
  min-width: 64px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip.is-on {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.range,
.scrubber__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: var(--tap);
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.range::-webkit-slider-runnable-track,
.scrubber__range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line-strong) var(--fill, 0%));
}
.range::-moz-range-track,
.scrubber__range::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--line-strong) var(--fill, 0%));
}
.range::-webkit-slider-thumb,
.scrubber__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.range::-moz-range-thumb,
.scrubber__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft), 0 2px 6px rgba(0, 0, 0, 0.35);
}
.range:focus-visible,
.scrubber__range:focus-visible {
  outline: none;
}
.range:focus-visible::-webkit-slider-thumb,
.scrubber__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px var(--accent-glow);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--backdrop);
  animation: fade-in var(--dur) var(--ease);
}

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 41;
  width: min(100%, var(--column));
  max-height: 88dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px var(--gutter) calc(20px + var(--safe-bottom));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  animation: sheet-in var(--dur-slow) var(--ease);
}

.sheet--tall {
  height: 86dvh;
}

.sheet__grip {
  width: 38px;
  height: 4px;
  margin: 4px auto 2px;
  border-radius: 4px;
  background: var(--line-strong);
}

.sheet__head {
  position: sticky;
  top: -6px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -4px 8px 0;
  background: var(--surface);
}

.sheet__title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.sheet-lead {
  font-family: var(--font-read);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.sheet-section + .sheet-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.options {
  display: grid;
  gap: 2px;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border-radius: var(--r-m);
  font-size: 16px;
  font-weight: 550;
  text-align: left;
  transition: background-color var(--dur) var(--ease);
}
.option:active {
  background: var(--surface-2);
}
.option.is-on {
  background: var(--accent-soft);
  color: var(--accent);
}

.option--danger {
  justify-content: flex-start;
  color: var(--danger);
}

.chapters {
  display: grid;
  gap: 2px;
}

.chapter {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: var(--r-m);
  text-align: left;
}
.chapter.is-on {
  background: var(--accent-soft);
}
.chapter.is-on .chapter__title {
  color: var(--accent);
}

.chapter__num {
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.chapter__title {
  font-family: var(--font-read);
  font-size: 16px;
  line-height: 1.35;
}

.speed {
  display: grid;
  gap: 14px;
  padding-bottom: 6px;
}

.speed__value {
  text-align: center;
  font-family: var(--font-read);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.speed__row {
  display: grid;
  grid-template-columns: var(--tap) 1fr var(--tap);
  align-items: center;
  gap: 6px;
}

.speed__sign {
  font-size: 26px;
  line-height: 1;
}

.speed .chips {
  justify-content: center;
}

.speed .hint {
  text-align: center;
}

.sleep__left {
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.busy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 120px;
  justify-content: center;
  color: var(--text-2);
  font-weight: 550;
}

.busy--card {
  min-height: 64px;
  margin-bottom: 16px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
}

.drop {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 34px 16px;
  border-radius: var(--r-l);
  border: 1.5px dashed var(--line-strong);
  background: var(--surface-2);
  text-align: center;
  cursor: pointer;
}
.drop .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 6px;
}

.drop__title {
  font-weight: 650;
  font-size: 16px;
}

.drop__hint {
  color: var(--text-2);
  font-size: 13.5px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 14px;
  border-radius: var(--r-m);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.cta-row span {
  flex: 1;
}

.toasts {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 14px);
  z-index: 60;
  display: grid;
  gap: 8px;
  width: min(100% - 2 * var(--gutter), 520px);
  pointer-events: none;
}

.app:has(.mini) .toasts {
  bottom: calc(var(--tabbar-h) + var(--mini-h) + var(--safe-bottom) + 18px);
}

.app--immersive .toasts {
  bottom: calc(var(--dock-h) + var(--safe-bottom) + 14px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 6px 14px;
  min-height: 52px;
  border-radius: var(--r-m);
  background: var(--surface-3);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  pointer-events: auto;
  animation: rise-in var(--dur-slow) var(--ease);
}

.toast__icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.toast--success .toast__icon {
  color: var(--success);
}

.toast--error .toast__icon {
  color: var(--danger);
}

.toast__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.toast__action {
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--r-s);
  color: var(--accent);
  font-weight: 650;
}

.toast__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text-3);
}
.toast__close .icon {
  width: 18px;
  height: 18px;
}

.cover {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  aspect-ratio: 3/4;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px var(--cover-ring), 0 6px 16px -6px rgba(0, 0, 0, 0.45);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%);
  pointer-events: none;
}

.cover__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7%;
  width: 1.5px;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 1.5px 0 0 rgba(255, 255, 255, 0.08);
}

.cover__initials {
  position: relative;
  font-family: var(--font-read);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.cover--s {
  width: 48px;
  border-radius: 7px;
}
.cover--s .cover__initials {
  font-size: 17px;
}

.cover--l {
  width: 96px;
  border-radius: 12px;
}
.cover--l .cover__initials {
  font-size: 32px;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: var(--tabbar-h);
}

.tabbar__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--tap);
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--dur) var(--ease);
}
.tabbar__tab[aria-current=page] {
  color: var(--text);
}
.tabbar__tab[aria-current=page] .icon {
  color: var(--accent);
}

.mini {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: calc(var(--mini-h) - 8px);
  margin: 8px 10px 0;
  padding: 0 6px 0 0;
  border-radius: var(--r-l);
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  animation: rise-in var(--dur-slow) var(--ease);
}

.mini__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: width 400ms linear;
}

.mini__body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding-left: 8px;
  text-align: left;
}
.mini__body .cover--s {
  width: 34px;
  border-radius: 5px;
}
.mini__body .cover--s .cover__initials {
  font-size: 12px;
}

.mini__text {
  display: grid;
  min-width: 0;
}

.mini__title {
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini__meta {
  color: var(--text-2);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini .play-btn--small {
  background: transparent;
  color: var(--text);
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 30;
  width: min(100%, var(--column));
  padding: 4px var(--gutter) calc(8px + var(--safe-bottom));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 32px -18px rgba(0, 0, 0, 0.5);
}

.dock__error {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: var(--r-s);
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13px;
}

.scrubber {
  display: grid;
  margin-top: 2px;
}

.scrubber__labels {
  display: flex;
  justify-content: space-between;
  margin-top: -10px;
  color: var(--text-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.dock__transport {
  display: grid;
  grid-template-columns: repeat(2, 1fr) auto repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  margin: 6px 0 4px;
}
.dock__transport .icon-btn {
  color: var(--text);
}

.dock__tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  min-width: 0;
  padding: 0 4px;
  border-radius: var(--r-m);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tool .icon {
  width: 20px;
  height: 20px;
}
.tool:active:not(:disabled) {
  background: var(--surface-2);
}
.tool:disabled {
  opacity: 0.4;
}
.tool span {
  max-width: 100%;
}

.tool--on {
  color: var(--accent);
}

.tool__ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar {
  position: relative;
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  overflow: hidden;
}

.bar--thin {
  height: 3px;
  margin-top: 8px;
}

.bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.bar__fill--warm {
  background: linear-gradient(90deg, var(--accent), var(--warning));
}

.rows {
  display: grid;
}

.row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  animation: fade-in var(--dur) var(--ease);
}
.row:last-child {
  border-bottom: 0;
}

.row__main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  min-height: 84px;
  padding: 10px 0;
  text-align: left;
}
.row__main:active .row__title {
  color: var(--accent);
}

.row__body {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.row__title {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.row__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row.is-finished .row__title {
  color: var(--text-2);
}

.row__pending {
  width: 18px;
  height: 18px;
  color: var(--text-3);
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eq i {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: bottom;
  animation: eq 0.9s ease-in-out infinite;
}
.eq i:nth-child(2) {
  animation-delay: 0.2s;
}
.eq i:nth-child(3) {
  animation-delay: 0.4s;
}

.card {
  padding: 16px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.card--list {
  padding: 4px 0;
  gap: 0;
}

.list-item {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 14px 0 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.list-item:last-child {
  border-bottom: 0;
}
.list-item > .icon {
  width: 20px;
  height: 20px;
  color: var(--text-2);
}

button.list-item:active {
  background: var(--surface-2);
}

.list-item__text {
  font-weight: 550;
}

.list-item__value {
  color: var(--text-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.list-item--danger {
  color: var(--danger);
}
.list-item--danger > .icon {
  color: var(--danger);
}

.list-item--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 14px 14px 16px;
}

.list-item__row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
}
.list-item__row > .icon {
  width: 20px;
  height: 20px;
  color: var(--text-2);
}

.kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
}

.kv__val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.kv--muted {
  font-size: 13px;
  color: var(--text-3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}

.status-dot--ok {
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent);
}

.status-dot--warn {
  background: var(--warning);
}

.status-dot--bad {
  background: var(--danger);
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-read);
  font-weight: 600;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.voice-row {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: var(--r-l);
  transition: background-color var(--dur) var(--ease);
}
.voice-row.is-selected {
  background: var(--accent-soft);
}

.voice-row__main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  min-height: 68px;
  padding: 10px 8px 10px 10px;
  text-align: left;
}
.voice-row__main:disabled {
  opacity: 0.55;
}

.voice-row__text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.voice-row__name {
  font-weight: 650;
  font-size: 15.5px;
}

.voice-row__meta {
  color: var(--text-2);
  font-size: 12.5px;
  text-transform: capitalize;
}

.voice-row__desc {
  color: var(--text-3);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-row__check {
  display: inline-grid;
  width: 24px;
  color: var(--accent);
}

.voice-row__extra {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-right: 6px;
}

.skel {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--skel-a) 0%, var(--skel-b) 50%, var(--skel-a) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skel--cover {
  width: 48px;
  height: 64px;
  flex: none;
}

.skel--line {
  height: 14px;
  width: 80%;
}

.skel--short {
  width: 46%;
}

.skel--hero {
  height: 176px;
  border-radius: var(--r-xl);
}

.skel--title {
  height: 30px;
  width: 70%;
  margin: 24px 0 26px;
}

.skel--text {
  height: 16px;
  margin-bottom: 14px;
}

.skeleton-list .row {
  min-height: 84px;
  gap: 14px;
}

.row--skeleton .row__body {
  gap: 10px;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 12px 24px;
  text-align: center;
  animation: rise-in var(--dur-slow) var(--ease);
}
.empty .btn {
  margin-top: 14px;
}

.empty__mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.empty__mark .icon {
  width: 30px;
  height: 30px;
}

.empty__title {
  font-family: var(--font-read);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.empty__line {
  max-width: 30ch;
  color: var(--text-2);
}

.progress-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 32px 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}
.progress-card h2 {
  font-family: var(--font-read);
  font-size: 22px;
  font-weight: 600;
}
.progress-card .btn {
  margin-top: 8px;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 16%, transparent);
  color: var(--success);
}
.done-mark .icon {
  width: 30px;
  height: 30px;
}

.done-mark--warn {
  background: color-mix(in srgb, var(--warning) 16%, transparent);
  color: var(--warning);
}

.hero {
  position: relative;
  padding: 16px;
  border-radius: var(--r-xl);
  background: radial-gradient(140% 120% at 100% 0%, var(--accent-soft), transparent 55%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  animation: rise-in var(--dur-slow) var(--ease);
}

.hero--skeleton {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.hero__open {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
}

.hero__text {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.hero__title {
  font-family: var(--font-read);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__author {
  color: var(--text-2);
  font-size: 14px;
}

.hero__meta {
  color: var(--text-2);
  font-size: 13px;
  margin-top: 4px;
}

.hero__foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.hero__foot .bar {
  flex: 1;
}
.hero__foot .play-btn {
  width: 56px;
  height: 56px;
}

.reader {
  min-height: 100dvh;
}

.reader__bar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 56px;
  padding: var(--safe-top) 6px 0;
  margin-top: calc(-1 * var(--safe-top));
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.reader__bar-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reading {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 22px calc(var(--dock-h) + var(--safe-bottom) + 72px);
  font-family: var(--font-read);
  font-size: var(--read-size);
  line-height: var(--read-leading);
  font-optical-sizing: auto;
  color: var(--text);
  hyphens: auto;
  overflow-wrap: break-word;
  overflow-anchor: auto;
}

.reading__head {
  padding: 28px 0 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.reading__title {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.reading__author {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-2);
}

.reading__end {
  text-align: center;
  color: var(--text-3);
  letter-spacing: 0.4em;
  margin: 40px 0 8px;
}

.reading--skeleton {
  font-family: var(--font-ui);
}

.r-p {
  margin: 0 0 1.05em;
}

.r-h {
  margin: 1.8em 0 0.7em;
  font-size: 1.28em;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.r-q {
  margin: 0 0 1.05em;
  padding-left: 1em;
  border-left: 2px solid var(--line-strong);
  color: var(--text-2);
  font-style: italic;
}

.r-li {
  position: relative;
  margin: 0 0 0.6em;
  padding-left: 1.2em;
}
.r-li::before {
  content: "";
  position: absolute;
  left: 0.25em;
  top: 0.72em;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--text-3);
}

.seg {
  border-radius: 6px;
  cursor: pointer;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.seg.is-current {
  background: var(--highlight);
  box-shadow: 0 0 0 3px var(--highlight);
}

.word {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.24em;
  text-decoration-skip-ink: none;
}

.sentinel {
  height: 1px;
}

.record-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  margin: 10px 0 8px;
  padding: 12px 14px;
  border-radius: var(--r-l);
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
.record-card > .icon {
  color: var(--text-3);
}

.record-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-strong);
  color: var(--on-accent);
}

.record-card__text {
  display: grid;
  flex: 1;
  gap: 2px;
}

.record-card__title {
  font-weight: 650;
}

.record-card__line {
  color: var(--text-2);
  font-size: 13px;
}

.budget {
  display: grid;
  gap: 8px;
  margin: 10px 0 6px;
  padding: 12px 14px;
  border-radius: var(--r-m);
  background: var(--surface);
  border: 1px solid var(--line);
}

.budget__row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-2);
}

.budget__num {
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}

.tips {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--text-2);
}

.lines {
  display: grid;
  gap: 12px;
  counter-reset: line;
}

.line {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.line.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.line .btn {
  width: 100%;
}

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

.line__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.line.is-done .line__num {
  background: color-mix(in srgb, var(--success) 18%, transparent);
  color: var(--success);
}

.line__mood {
  flex: 1;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.line__len {
  color: var(--text-2);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.line__text {
  font-family: var(--font-read);
  font-size: 19px;
  line-height: 1.5;
}

.line__issue {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--danger);
  font-size: 13.5px;
}
.line__issue .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.line__issue.is-warn {
  color: var(--warning);
}

.meter {
  height: 6px;
  border-radius: 6px;
  background: var(--surface-2);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--success), var(--accent) 70%, var(--warning) 92%, var(--danger));
  transform-origin: left;
  transition: transform 60ms linear;
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 8px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 24px var(--gutter) calc(14px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
  text-align: center;
}

.login {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px var(--gutter) calc(24px + var(--safe-bottom));
  background: radial-gradient(80% 50% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg);
}

.login__card {
  display: grid;
  justify-items: center;
  width: min(100%, 360px);
  animation: rise-in var(--dur-slow) var(--ease);
}
.login__card .form {
  width: 100%;
  margin-top: 28px;
}

.login__name {
  margin-top: 18px;
  font-family: var(--font-read);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.login__tag {
  margin-top: 4px;
  color: var(--text-2);
  font-family: var(--font-read);
  font-style: italic;
  font-size: 16px;
}

.welcome {
  padding-bottom: calc(24px + var(--safe-bottom));
}

.welcome__hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 40px 0 26px;
  text-align: center;
}

.welcome__title {
  margin-top: 8px;
  font-family: var(--font-read);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.welcome__lead {
  max-width: 32ch;
  color: var(--text-2);
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin-bottom: 14px;
  padding: 18px 16px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.step__body {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.step__title {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding-top: 5px;
}

.step__line {
  color: var(--text-2);
}

.step__done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 600;
}

.step__list {
  display: grid;
  gap: 10px;
}
.step__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}
.step__list .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent);
}

.welcome__go {
  margin-top: 10px;
}
