@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  font-family: Manrope, sans-serif;
  color: #202723;
  background: #eef0ed;
  font-synthesis: none;
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #202723;
  --muted: #626c65;
  --line: #e1e5de;
  --blue: #2855db;
  --blue-soft: #edf1ff;
  --sage: #edf3eb;
  --green: #426749;
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a {
  -webkit-touch-callout: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
button:active:not(:disabled) {
  transform: scale(0.98);
}
button {
  transition:
    background-color 300ms var(--curve),
    color 300ms var(--curve),
    transform 500ms var(--curve);
}
a {
  color: inherit;
  text-decoration: none;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
svg.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}
button svg {
  pointer-events: none;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 12px;
  background: var(--surface);
  z-index: 10;
}
.skip-link:focus {
  top: 16px;
}
.studio-header {
  max-width: 1280px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.studio-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  width: 40px;
  height: 40px;
  border-radius: 16px;
}
.studio-subtitle {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--muted);
}
.prototype-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.studio-layout {
  max-width: 1200px;
  margin: 24px auto 48px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 402px minmax(180px, 240px);
  justify-content: center;
  gap: 48px;
  padding: 0 24px;
}
.studio-intro,
.studio-notes {
  padding-top: 48px;
}
.eyebrow {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  font-weight: 600;
}
.studio-intro h1 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.04em;
  margin-top: 16px;
}
.studio-description {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 24px;
}
.studio-screens {
  display: grid;
  gap: 8px;
  margin-top: 40px;
}
.studio-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}
.studio-link span {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.studio-link:hover {
  background: #e5e8e2;
}
.studio-link.is-current {
  background: #fff;
  font-weight: 600;
}
.studio-footnote {
  margin-top: 48px;
}
.studio-footnote p {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 8px;
}
.small-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.studio-notes h2 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.03em;
  margin-top: 16px;
}
.studio-notes > p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 16px;
}
.palette {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.swatch {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d5dad1;
}
.swatch.paper {
  background: var(--paper);
}
.swatch.blue {
  background: var(--blue);
  border-color: var(--blue);
}
.swatch.ink {
  background: var(--ink);
  border-color: var(--ink);
}
.swatch.sage {
  background: var(--sage);
}
.studio-notes .type-sample {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 32px;
}
.interaction-note {
  margin-top: 40px;
}
.interaction-note p {
  font-size: 14px;
  line-height: 20px;
  margin-top: 8px;
  color: var(--muted);
}
.state-picker {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}
.state-picker select {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  width: 100%;
  min-height: 48px;
}
.device-preview {
  min-width: 0;
}
.app {
  background: var(--paper);
  min-height: 820px;
  border: 1px solid #d7dcd3;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px #2635250a;
  position: relative;
}
.preview-caption {
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 16px;
}
.app-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  min-height: 48px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.app-brand .brand-symbol {
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 32px;
  border-radius: 8px;
}
.date-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  text-align: right;
}
.section-kicker {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  font-weight: 600;
}
.app-title {
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-top: 8px;
}
.intro-copy {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 280px;
}
.daily-panel {
  margin-top: 24px;
  background: var(--blue-soft);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.daily-panel h2 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 200px;
  position: relative;
  z-index: 1;
}
.daily-panel p {
  font-size: 14px;
  line-height: 20px;
  color: #4f608d;
  margin-top: 8px;
  max-width: 200px;
}
.daily-panel .primary {
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.panel-mark {
  position: absolute;
  right: 16px;
  top: 8px;
  transform: rotate(-12deg);
  font-size: 128px;
  line-height: 1;
  font-weight: 400;
  color: #cbd6ff;
  user-select: none;
  z-index: 0;
}
.primary,
.secondary,
.quiet-button {
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 16px;
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.primary {
  background: var(--blue);
  color: #fff;
  width: 100%;
}
.primary:hover {
  background: #2046b8;
}
.secondary {
  background: var(--surface);
  border: 1px solid var(--line);
}
.secondary:hover {
  background: #f0f2ec;
}
.quiet-button {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.quiet-button:hover {
  background: #f0f2ec;
}
.new-word-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.new-word-note svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}
.new-word-note strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.section-heading h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.text-link {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  line-height: 16px;
  min-height: 48px;
}
.deck-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 100%;
  text-align: left;
}
.deck-row:hover {
  background: #f4f5f0;
}
.deck-symbol {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--sage);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.deck-copy {
  flex: 1;
}
.deck-copy strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  display: block;
}
.deck-copy span {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.deck-row > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.bottom-nav {
  margin: 16px 16px max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px;
  background: #ffffffed;
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  gap: 8px;
}
.nav-item {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-height: 48px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  border-radius: 16px;
}
.nav-item .icon {
  width: 20px;
  height: 20px;
}
.nav-item[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 600;
}
.nav-item:hover {
  background: #f0f2ec;
}
.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #f0f2ec;
}
.study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
}
.study-count {
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.study-count small {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: var(--muted);
  display: block;
}
.study-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  width: 48px;
  text-align: right;
}
.study-track {
  height: 4px;
  border-radius: 999px;
  background: #e4e7df;
  margin-top: 24px;
  overflow: hidden;
}
.study-track span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 999px;
}
.question-space {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 48px 0 64px;
  text-align: center;
  min-height: 360px;
}
.question-space .question-symbol {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 24px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 32px;
}
.question-space h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 16px 0;
}
.question-space p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  max-width: 240px;
}
.study-actions {
  margin-top: auto;
  padding-top: 24px;
}
.study-actions > .quiet-button {
  width: 100%;
  margin-top: 8px;
}
.study-footer-note {
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 8px;
}
.answer-content {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.answer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.answer-heading h1 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.answer-heading p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 4px;
}
.word-picture {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: #eaf0ee;
  display: block;
}
.pronunciation {
  align-self: flex-start;
  min-height: 48px;
  border: 0;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
  padding: 8px 12px;
  gap: 8px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pronunciation .icon {
  width: 20px;
  height: 20px;
}
.example {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
}
.example p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.example p + p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.example-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.rating-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rating-buttons button {
  font-size: 14px;
  line-height: 20px;
  min-height: 48px;
  padding: 8px 12px;
}
.rating-buttons .primary {
  background: var(--green);
}
.rating-buttons .primary:hover {
  background: #35573b;
}
.rating-buttons .icon {
  width: 16px;
  height: 16px;
}
.audio-error {
  font-size: 12px;
  line-height: 16px;
  color: #914a2b;
}
.result-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px 0;
}
.result-mark {
  width: 80px;
  height: 80px;
  background: var(--sage);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.result-mark .icon {
  width: 40px;
  height: 40px;
}
.result-screen h1 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.result-screen > p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 280px;
}
.result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 16px;
  margin-top: 32px;
}
.result-stat {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.result-stat strong {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  display: block;
}
.result-stat span {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  min-height: 48px;
}
.page-header h1 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  min-height: 48px;
}
.search-field .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.search-field input {
  background: transparent;
  border: 0;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  outline-offset: 8px;
}
.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  min-height: 48px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 16px;
}
.filter[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.filter:hover {
  background: #e8ece3;
}
.filter[aria-pressed="true"]:hover {
  background: #343e37;
}
.bank-section-label {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-bottom: 12px;
}
.word-list {
  display: grid;
  gap: 8px;
}
.word-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.word-open {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  flex: 1;
  text-align: left;
  min-height: 48px;
}
.word-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f2f3ed;
  color: var(--green);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}
.word-copy {
  flex: 1;
  min-width: 0;
}
.word-copy strong {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.word-copy span {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.word-row > .icon-button {
  width: 48px;
  height: 48px;
  border: 0;
  color: var(--muted);
  border-radius: 8px;
}
.word-row.is-paused {
  opacity: 0.65;
}
.status-label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: var(--blue);
  margin-top: 4px;
}
.bank-footer {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 16px;
}
.empty-state {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 0;
}
.empty-state .deck-symbol {
  width: 64px;
  height: 64px;
  border-radius: 24px;
  margin-bottom: 24px;
}
.empty-state h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.empty-state p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 280px;
}
.empty-state .primary {
  margin-top: 32px;
}
.empty-search {
  padding: 40px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.data-panel {
  padding: 24px;
  background: var(--blue-soft);
  border-radius: 24px;
}
.data-panel h2 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.data-panel p {
  font-size: 14px;
  line-height: 20px;
  color: #4f608d;
  margin-top: 12px;
}
.data-panel .primary {
  margin-top: 24px;
}
.data-section {
  margin-top: 32px;
}
.data-section h2 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.data-section > p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-bottom: 16px;
}
.data-buttons {
  display: grid;
  gap: 8px;
}
.data-buttons button {
  justify-content: flex-start;
  font-size: 14px;
  line-height: 20px;
  padding: 12px 16px;
}
.data-buttons button .icon {
  width: 20px;
  height: 20px;
}
.local-note {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.local-note .icon {
  width: 16px;
  height: 16px;
}
.import-preview {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.import-preview h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin-top: 16px;
  letter-spacing: -0.03em;
}
.import-preview p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 8px;
}
.import-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 20px;
}
.import-stat strong {
  font-weight: 600;
}
.import-stats {
  margin-top: 24px;
}
.inline-error {
  background: #fbefe7;
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  line-height: 20px;
  color: #813c20;
  margin-top: 24px;
}
.inline-error strong {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.inline-error .quiet-button {
  padding: 8px 0;
  color: #813c20;
  margin-top: 8px;
}
.toast {
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--green);
  display: flex;
  gap: 8px;
  align-items: center;
}
.toast .icon {
  width: 20px;
  height: 20px;
}
.skeleton {
  background: #e4e7df;
  border-radius: 8px;
  min-height: 24px;
  margin-top: 16px;
}
.skeleton.long {
  width: 100%;
}
.skeleton.medium {
  width: 66%;
}
.skeleton.picture {
  height: 180px;
  margin-top: 24px;
}
.loading-label {
  margin-top: 32px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.detail-back {
  margin-bottom: 24px;
}
.detail-state {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-top: 16px;
}
@media (max-width: 1100px) {
  .studio-layout {
    grid-template-columns: minmax(180px, 240px) 402px;
    gap: 40px;
  }
  .studio-notes {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    max-width: 682px;
    padding-top: 8px;
  }
  .studio-notes > .eyebrow {
    grid-column: 1/-1;
  }
  .studio-notes > h2 {
    margin-top: 0;
  }
  .studio-notes > p {
    margin-top: 0;
  }
  .studio-notes .palette,
  .studio-notes .type-sample {
    margin-top: 8px;
  }
  .studio-notes .small-label {
    align-self: start;
  }
  .interaction-note,
  .state-picker {
    margin-top: 8px;
  }
  .studio-notes > .small-label {
    grid-column: 2;
  }
  .studio-notes .type-sample {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 700px) {
  .studio-header {
    padding: 16px;
    gap: 8px;
  }
  .studio-subtitle {
    display: none;
  }
  .prototype-label {
    font-size: 12px;
    line-height: 16px;
  }
  .studio-layout {
    display: block;
    margin: 8px auto 32px;
    padding: 0 12px;
    max-width: 426px;
  }
  .studio-intro {
    padding: 0;
    margin-bottom: 16px;
  }
  .studio-intro > .eyebrow,
  .studio-intro > h1,
  .studio-description,
  .studio-footnote {
    display: none;
  }
  .studio-screens {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
  }
  .studio-link {
    flex: 1;
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    padding: 8px;
    min-height: 40px;
    justify-content: center;
  }
  .studio-link span {
    display: none;
  }
  .app {
    min-height: 760px;
  }
  .studio-notes {
    display: block;
    padding: 32px 12px 0;
  }
  .studio-notes > .eyebrow,
  .studio-notes > h2,
  .studio-notes > p,
  .studio-notes > .palette,
  .studio-notes > .type-sample,
  .studio-notes > .small-label,
  .interaction-note {
    display: none;
  }
  .state-picker {
    margin: 0;
  }
  .state-picker:after {
    content: "Демонстрационные данные. Состояние сбрасывается при перезагрузке.";
    font-size: 12px;
    line-height: 16px;
    color: var(--muted);
    margin-top: 8px;
  }
  .app-content {
    padding: 24px;
  }
  .preview-caption {
    display: none;
  }
  .app-header {
    margin-bottom: 24px;
  }
}
@media (max-width: 360px) {
  .app-content {
    padding: 16px;
  }
  .app-title {
    font-size: 30px;
    line-height: 36px;
  }
  .daily-panel {
    padding: 16px;
  }
  .rating-buttons {
    gap: 8px;
  }
  .rating-buttons button {
    padding: 8px;
    font-size: 14px;
    line-height: 20px;
  }
  .studio-header .prototype-label {
    font-size: 12px;
    line-height: 16px;
  }
  .studio-header {
    padding: 12px;
  }
  .app {
    min-height: 740px;
  }
  .question-space {
    padding: 40px 0;
    min-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  button:active:not(:disabled) {
    transform: none;
  }
}
