@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f8f3ed;
  --paper: #fffdf9;
  --surface: #f9f3ec;
  --ink: #30261e;
  --muted: #6e6257;
  --line: #e7dcd0;
  --accent: #a3422c;
  --accent-hover: #883521;
  --clay: #f5e4d9;
  --green: #3f624b;
  --green-bg: #e9efe5;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 300px;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button, summary, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p, dl, dd { margin: 0; }
h2:focus { outline: none; }
p, dt, dd, small, strong { overflow-wrap: anywhere; }
strong { font-weight: 650; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.mobile-only { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon, .brand svg, .restart svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.masthead { border-bottom: 1px solid var(--line); }

.masthead-inner {
  max-width: 1136px;
  padding: 0 24px;
  height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font: 37px/.95 var(--serif);
  letter-spacing: -.055em;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff7ed;
  background: var(--accent);
}

.brand-symbol svg { width: 24px; height: 24px; stroke-width: 2.1; }
.brand-period { color: var(--accent); }

.restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.restart svg { width: 16px; height: 16px; }
.restart:hover { background: var(--paper); color: var(--ink); }

.workspace {
  max-width: 1088px;
  margin: auto;
  padding: 35px 24px 42px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.55fr);
  align-items: center;
  gap: clamp(35px, 6vw, 94px);
}

.guide { padding: 6px 0; }
.guide-label { color: var(--accent); margin-bottom: 11px; }

.guide h1 {
  font: 400 clamp(64px, 6.5vw, 100px)/.98 var(--serif);
  letter-spacing: -.045em;
  white-space: nowrap;
}

.guide h1 em { color: var(--accent); font-weight: 400; }

.guide-description {
  margin: 15px 0 23px;
  max-width: 300px;
  color: var(--muted);
  font-size: 16px;
}

.landscape {
  width: 100%;
  height: clamp(119px, 13vw, 177px);
  object-fit: cover;
  object-position: center 60%;
  border: 1px solid #e4d5c6;
  border-radius: 13px;
}

.journey {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.journey li {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
}

.journey li + li { margin-top: 3px; }
.journey li[aria-current] { background: #fffaf4; border-color: var(--line); color: var(--ink); }

.journey-icon {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #eee6dc;
  color: var(--muted);
  flex: 0 0 auto;
}

.journey li[aria-current] .journey-icon { color: var(--accent); background: var(--clay); }
.journey li.complete .journey-icon { color: var(--green); background: var(--green-bg); }
.journey-icon .icon { width: 17px; height: 17px; }
.journey strong, .journey small { display: block; }
.journey strong { font-size: 14px; }
.journey small, .guide-note { font-size: 12px; color: var(--muted); }
.guide-note { margin: 16px 9px 0; }

.phone-stage {
  min-width: 0;
  border: 1px solid #e9dbcb;
  border-radius: 30px;
  background: radial-gradient(ellipse at 50% 38%, #f4e9dc, #ebddce);
  padding: 25px;
  display: flex;
  justify-content: center;
}

.phone {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 410px);
  height: min(700px, max(610px, calc(100dvh - 170px)));
  min-width: 0;
  border: 1px solid #ddcdbd;
  border-radius: 27px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 22px 48px #51302120, 0 4px 12px #51302112;
}

.phone-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 57px;
  padding-inline: 13px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-weight: 650;
  font-size: 14px;
  text-align: center;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
}

.icon-button:hover { color: var(--ink); background: var(--surface); }

.phone-content {
  overflow: auto;
  overscroll-behavior-y: contain;
  padding: 27px 24px 25px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.phone-content h2 {
  font: 400 46px/.98 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.screen-description {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.date-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--accent);
}

.date-line .icon { width: 15px; height: 15px; }
.date-line.live { color: var(--green); }

.transcript {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
}

.transcript summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 10px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.transcript summary::-webkit-details-marker { display: none; }
.transcript summary span { display: flex; align-items: center; gap: 8px; }
.transcript .icon { width: 15px; height: 15px; color: var(--muted); }
.transcript[open] summary > .icon { transform: rotate(180deg); }
.transcript-lines { padding: 0 12px 12px; color: var(--muted); }
.transcript-lines p + p { margin-top: 7px; }
.transcript-lines strong { color: var(--ink); margin-right: 4px; }

.action-section, .reminder-section, .history { margin-top: 24px; }
.section-label { margin-bottom: 9px; }

.action-card, .entry-card {
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 13px 8px;
}

.card-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 0 11px;
}

.tile {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
}
.tile.clay { color: var(--accent); background: var(--clay); }
.tile .icon { width: 22px; height: 22px; }
.card-heading h3 { font-size: 16px; font-weight: 700; line-height: 1.2; }
.card-heading p { font-size: 12px; color: var(--muted); margin-top: 3px; }

.edit-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding-inline: 5px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.edit-button:hover { background: var(--clay); }
.edit-button .icon { width: 15px; height: 15px; }

.settings-list > div {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.35fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
  font-size: 13px;
}
.settings-list dt { color: var(--muted); }
.settings-list dd { text-align: right; font-weight: 650; }

.phone-footer {
  display: flex;
  gap: 9px;
  align-items: stretch;
  padding: 13px 24px 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: background-color .16s ease;
}
.button .icon { width: 17px; height: 17px; }
.button.primary { flex: 1; color: #fffdf8; background: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.secondary { color: var(--ink); border-color: var(--line); background: transparent; min-width: 81px; }
.button.secondary:hover { background: var(--surface); }

.form-stack { display: grid; gap: 15px; margin-top: 20px; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.field-note { color: var(--muted); font-weight: 400; }

input:not([type=range], [type=checkbox], [type=hidden]), textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 9px 11px;
  border: 1px solid #dacec0;
  border-radius: 9px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 400;
}

input[type=time], input[type=datetime-local] { -webkit-appearance: none; }
textarea { resize: vertical; display: block; }
textarea::placeholder, input::placeholder { color: #756b61; opacity: 1; }

.field-settings {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
  padding: 0 12px;
  margin: 3px 0 0;
  background: #fffaf5;
}

.field-settings legend { padding: 0 6px; font-size: 13px; font-weight: 700; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 7px 0;
  font-size: 14px;
}
.toggle-row + .toggle-row { border-top: 1px solid var(--line); }
.toggle-row small { display: block; color: var(--muted); font-size: 12px; }
.required { color: var(--muted); font-size: 12px; }
.other-name { margin: 0 0 11px; }

.switch {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 43px;
  height: 25px;
  margin: 0;
  border: 1px solid #cfc2b5;
  border-radius: 20px;
  background: #e8ded3;
  cursor: pointer;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #30261e28;
}
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::after { transform: translateX(18px); }

.active-schedule { margin-top: 12px; color: var(--muted); font-size: 14px; }
.active-schedule span { margin: 0 2px; }
.segmented {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 11px;
  background: var(--surface);
}
.segmented button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-height: 44px;
  padding: 5px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.segmented .icon { width: 16px; height: 16px; }
.segmented button[aria-pressed=true] { background: var(--paper); color: var(--ink); border-color: var(--line); }

.reminder-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf3e9;
}
.reminder-heading { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 13px; }
.reminder-heading .tile { width: 28px; height: 28px; border-radius: 7px; }
.reminder-heading .icon { width: 18px; height: 18px; }
.reminder-heading > span:last-child { margin-left: auto; color: var(--muted); font-size: 12px; }
.reminder-card p { font-size: 14px; }
.reminder-card p:not(.muted) { font-weight: 650; }
.chat-reminder { background: #eff2e9; border-color: #dce5d8; }
.chat-reminder .tile { color: var(--green); background: #e0e9db; }

.history ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.history-row {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 45px 1fr 18px;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  text-align: left;
}
.history-row:hover { background: var(--surface); }
.history-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 4px 2px;
  border-radius: 8px;
  color: var(--accent);
  background: var(--clay);
  font-size: 18px;
  font-weight: 700;
}
.history-score small { font-size: 10px; }
.history-info strong, .history-info small { display: block; font-size: 13px; }
.history-info small { font-size: 12px; color: var(--muted); }
.history-row .icon { width: 16px; height: 16px; color: var(--muted); }

.mood-screen { padding-top: 35px; }
.mood-heading { text-align: center; }
.mood-heading h2 { margin-top: 17px; font-size: clamp(44px, 9vw, 53px); }
.date-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-weight: 650;
}
.date-button:hover { color: var(--accent); }
.date-button .icon { width: 14px; height: 14px; }
.date-button .icon:last-child { margin-left: 3px; }

.mood-panel {
  background: #fbf1e8;
  border: 1px solid #eadbcc;
  border-radius: 20px;
  padding: 19px 12px 15px;
  margin-top: 25px;
}

.mood-number { display: flex; justify-content: center; align-items: baseline; gap: 8px; color: var(--accent); }
.mood-number output { font: 76px/.98 var(--serif); }
.mood-number span { color: var(--muted); font-size: 17px; }
.rating-label { display: flex; align-items: center; justify-content: space-between; gap: 9px; font-size: 14px; }
.rating-label output { min-width: 41px; text-align: right; font-weight: 700; color: var(--accent); }

.score-control {
  position: relative;
  border-radius: 8px;
  padding: 13px 0 3px;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
}
.score-control:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.range-input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; pointer-events: none; }

.score-track { height: 14px; position: relative; margin: 0 calc(100% / 22); pointer-events: none; }
.score-line {
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--accent) var(--score), #d9c1b2 var(--score));
}
.score-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; margin-inline: -2px; }
.score-ticks i { width: 4px; height: 4px; border-radius: 50%; background: #957865; }
.score-thumb {
  position: absolute;
  top: 50%;
  left: var(--score);
  transform: translate(-50%, -50%);
  width: 19px;
  height: 19px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.score-track[data-has-value=false] .score-thumb { display: none; }
.score-numbers { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); margin-top: 4px; }
.score-numbers span { min-height: 24px; display: grid; place-items: center; font-size: 11px; color: var(--muted); font-weight: 650; }
.score-numbers span.selected { color: var(--accent); font-weight: 700; }
.rating-anchors { display: flex; justify-content: space-between; padding: 0 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.rating-hero .score-control { margin: 4px 0 2px; }
.rating-hero .score-numbers span { min-height: 28px; font-size: 12px; }
.rating-hero .score-thumb { width: 22px; height: 22px; }

.score-hint, .keyboard-hint { text-align: center; color: var(--muted); margin-top: 17px; font-size: 12px; }
.score-hint { display: flex; align-items: center; justify-content: center; gap: 5px; }
.score-hint .icon { width: 15px; height: 15px; }
.keyboard-hint { margin-top: 7px; visibility: hidden; }
.mood-screen:has(.range-input:focus-visible) .keyboard-hint { visibility: visible; }

.saved-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 4px 9px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.saved-pill .icon { width: 14px; height: 14px; }
.follow-up h2 { margin-top: 14px; }
.follow-up > form { margin-top: 20px; }

.sheet-screen {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #f1e4d8;
}
.sheet-background { display: grid; align-content: center; justify-items: center; gap: 9px; min-height: 121px; padding: 16px 20px; flex: 1; }
.sheet-background p { color: var(--muted); font-size: 13px; }
.sheet-background p strong { margin-left: 4px; color: var(--ink); font-size: 20px; }
.sheet-background p small { font-size: 12px; font-weight: 400; }
.metric-sheet {
  padding: 12px 24px 17px;
  border-radius: 23px 23px 0 0;
  background: var(--paper);
  box-shadow: 0 -5px 20px #5130210b;
}
.sheet-handle { display: block; width: 34px; height: 4px; background: var(--line); border-radius: 5px; margin: 0 auto 18px; }
.metric-sheet h2 { font-size: 40px; }
.metric-sheet .screen-description { margin-top: 8px; }
.metric-ratings { display: grid; gap: 9px; margin-top: 15px; }
.metric-ratings .rating { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px 2px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
}
.tag:hover, .tag[aria-pressed=true] { background: var(--clay); border-color: #cb9f88; color: var(--accent); }
#tag-suggestion:empty { display: none; }
.tag-feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; }
.tag-feedback > span { color: var(--muted); }
.tag-feedback .tag { color: var(--accent); }
.text-button { background: transparent; border: none; min-height: 44px; padding: 5px 7px; text-decoration: underline; text-underline-offset: 3px; color: var(--accent); font-weight: 650; }

.named-feeling { display: table; padding: 5px 11px; margin-top: 13px; border-radius: 15px; background: var(--clay); color: var(--accent); font-size: 13px; font-weight: 700; }
.intensity-panel { padding: 13px 11px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); }

.entry-card { margin-top: 18px; padding: 12px 13px; }
.entry-mood, .entry-mood > div { display: flex; align-items: center; gap: 9px; }
.entry-mood { justify-content: space-between; }
.entry-mood strong { font-size: 14px; }
.entry-mood p { color: var(--accent); white-space: nowrap; font: 40px/1 var(--serif); }
.entry-mood p small { font: 12px/1 var(--sans); color: var(--muted); }
.entry-timestamp { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.entry-timestamp .icon { width: 17px; height: 17px; }
.entry-timestamp strong, .entry-timestamp small { display: block; font-size: 13px; }
.entry-timestamp small { font-size: 12px; }
.result-rows { margin-top: 9px; }
.result-rows > div { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 1.55fr); gap: 9px; border-top: 1px solid var(--line); padding: 8px 0; font-size: 13px; }
.result-rows > div:last-child { padding-bottom: 2px; }
.result-rows dt { color: var(--muted); }
.result-rows dd { font-weight: 650; white-space: pre-wrap; }
.result-rows dd span { color: var(--muted); font-weight: 400; }
.score-field { display: grid; grid-template-columns: 1fr 75px; align-items: center; }
.score-field small { color: var(--muted); font-weight: 400; }
.checkbox-label { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox-label input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }

dialog {
  width: min(calc(100% - 32px), 375px);
  padding: 17px 19px 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 48px #30261e37;
}
dialog::backdrop { background: #30261e58; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.dialog-heading h2 { font: 36px/1 var(--serif); letter-spacing: -.02em; }
dialog p { color: var(--muted); font-size: 14px; }
.dialog-actions { display: flex; gap: 8px; margin-top: 17px; }
#time-form .button { width: 100%; margin-top: 8px; }

@media (max-width: 795px) {
  body { background: var(--paper); }
  .masthead { background: var(--canvas); padding-top: env(safe-area-inset-top, 0px); }
  .masthead-inner { height: 57px; padding: 0 18px; max-width: 500px; }
  .brand { font-size: 31px; }
  .brand-symbol { width: 28px; height: 28px; border-radius: 9px; }
  .brand-symbol svg { width: 19px; height: 19px; }
  .restart { padding-inline: 8px; min-height: 44px; border-color: transparent; }
  .workspace { display: block; padding: 0; }
  .guide { display: none; }
  .phone-stage { display: block; max-width: 500px; margin: 0 auto; background: transparent; padding: 0; border: 0; border-radius: 0; }
  .phone { width: 100%; height: calc(100dvh - 58px - env(safe-area-inset-top, 0px)); min-height: 400px; border: 0; border-radius: 0; box-shadow: none; }
  .phone-header { min-height: 53px; }
  .phone-footer { padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
  .mobile-only { display: block; }
  .session-screen { padding-top: 22px; }
  .session-screen .action-section { margin-top: 17px; }
  .session-screen .transcript { margin-top: 14px; }
  .sheet-screen:has(.rating:nth-child(3)) .sheet-background { min-height: 82px; padding-block: 9px; gap: 4px; }
  .sheet-screen:has(.rating:nth-child(3)) .metric-sheet { padding-bottom: 10px; }
  .sheet-screen:has(.rating:nth-child(3)) .sheet-handle { margin-bottom: 11px; }
  .sheet-screen:has(.rating:nth-child(3)) .metric-ratings { gap: 7px; }
}

@media (max-width: 350px) {
  .phone-content, .phone-footer { padding-inline: 17px; }
  .sheet-screen { padding-inline: 0; }
  .metric-sheet { padding-inline: 17px; }
  .phone-content h2 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
