@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #202e26;
  background: #f7f8f3;
  font-synthesis: none;
  --paper: #f7f8f3;
  --white: #fff;
  --ink: #202e26;
  --muted: #616c63;
  --forest: #204f3c;
  --line: #dce1d8;
  --soft: #e8eedf;
  --lime: #dbef97;
  --mono: Consolas, "Courier New", monospace;
  --side: 228px;
}
* {
  box-sizing: border-box;
}
.update-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .75rem clamp(1rem, 3vw, 2.75rem);
  background: var(--soft);
}
.update-notice[hidden] {
  display: none;
}
body {
  margin: 0;
  line-height: 1.45;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
}
:focus-visible {
  outline: 3px solid #57964b;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.18;
}
svg {
  flex: none;
  vertical-align: middle;
}
.skip {
  position: fixed;
  z-index: 20;
  padding: 10px 16px;
  background: white;
  border-radius: 5px;
  top: 5px;
  left: 6px;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  background: #eff2e9;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  z-index: 3;
  overflow: auto;
}
.brand,
.mobile-brand {
  color: #263f30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -1.45px;
  font-size: 1.67rem;
  font-weight: 790;
}
.brand {
  height: 83px;
  padding-left: 10px;
  flex: none;
}
.brand-stop {
  color: #72984d;
}
.group-label,
.eyebrow,
.feature-label,
.card-track {
  font: 650 0.72rem/1.4 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.group-label {
  color: #65705d;
  margin: 0 0 12px 13px;
}
.sidebar-nav {
  margin-top: 29px;
}
.nav-item {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 13px;
  margin: 3px 0;
  font-size: 0.93rem;
  font-weight: 540;
  color: #465347;
  border-radius: 7px;
}
.nav-item:hover,
.track-link:hover {
  background: #e4ebdb;
}
.nav-item.selected {
  background: #dbe7ce;
  color: #244932;
  font-weight: 730;
}
.nav-item.selected svg {
  stroke-width: 2;
}
.side-tracks {
  border-top: 1px solid #d5dccf;
  margin: 26px 4px 0;
  padding-top: 26px;
}
.side-tracks .group-label {
  margin-left: 9px;
}
.track-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 510;
  color: #4a554a;
}
.track-link.chosen {
  font-weight: 740;
  color: #213f2a;
  background: #e3ebd8;
}
.track-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.t0 {
  background: #ba954d;
}
.t1 {
  background: #668aaa;
}
.t2 {
  background: #679470;
}
.t3 {
  background: #9982b9;
}
.t4 {
  background: #ba816a;
}
.t5 {
  background: #39837f;
}
.side-foot {
  margin-top: auto;
  padding: 28px 5px 20px;
}
#device-info {
  border-top: 1px solid #d5dccf;
  padding: 17px 5px 0;
}
.device-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.device-glyph,
.weekly-icon,
.task-icon,
.history-glyph,
.empty-icon {
  display: inline-grid;
  place-items: center;
  background: #e8efde;
  color: #45643e;
  border-radius: 9px;
}
.device-glyph {
  width: 34px;
  height: 34px;
  border: 1px solid #d3ddc9;
  background: #e4ecda;
}
.device-line b,
.device-line small {
  display: block;
}
.device-line b {
  font-size: 0.81rem;
  font-weight: 680;
}
.device-line small {
  font-size: 0.75rem;
  color: #5e695e;
  margin-top: 1px;
}
.install-button {
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 10px 0 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--forest);
}
.page-frame {
  margin-left: var(--side);
  min-height: 100vh;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfcf8;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(22px, 3.1vw, 52px);
}
.crumb,
.crumb-desk,
.top-actions,
.today-date,
.account-link,
.subtle-link,
.card-meta,
.card-meta span,
.feature-meta,
.feature-meta span,
.feature-label,
.week-heading,
.week-bottom,
.primary-btn,
.secondary-btn,
.filter-button,
.start-button,
.eyebrow,
.card-track {
  display: flex;
  align-items: center;
}
.crumb,
.crumb-desk {
  gap: 10px;
  font-size: 0.835rem;
}
.crumb-desk {
  color: #71796f;
}
.crumb-slash {
  color: #a7ada2;
}
#crumb-title {
  font-weight: 620;
}
.top-actions,
.today-date,
.account-link {
  gap: 8px;
}
.today-date {
  color: #60695f;
  font-size: 0.81rem;
}
.head-separator {
  width: 1px;
  height: 19px;
  background: var(--line);
  margin: 0 8px;
}
.account-link {
  padding: 6px 12px;
  border: 1px solid #ced7c8;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 650;
  max-width: 180px;
  background: white;
}
.account-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-link:hover,
.secondary-btn:hover,
.filter-button:hover,
.book-button:hover {
  background: #eff3e9;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
main {
  max-width: 1610px;
  margin: auto;
  padding: 32px clamp(22px, 3.1vw, 52px) 52px;
}
main:focus {
  outline: none;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.page-intro h1 {
  font-size: clamp(2.15rem, 3.1vw, 3.1rem);
  font-weight: 705;
  letter-spacing: -0.059em;
  color: #233128;
}
.page-intro p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 6px;
  line-height: 1.55;
}
.dashboard-top {
  display: grid;
  grid-template-columns: minmax(0, 2.28fr) minmax(230px, 1fr);
  gap: 18px;
}
.featured {
  border-radius: 14px;
  overflow: hidden;
  color: #f8fff0;
  min-height: 277px;
  display: flex;
  align-items: center;
  padding: clamp(23px, 2.4vw, 38px);
  background-color: #143d2f;
  background-image:
    linear-gradient(
      90deg,
      rgba(9, 47, 34, 0.88) 0%,
      rgba(9, 47, 34, 0.78) 34%,
      rgba(9, 47, 34, 0.36) 62%,
      rgba(9, 47, 34, 0) 90%
    ),
    url("/assets/terrain.webp");
  background-position:
    center,
    right center;
  background-size: cover, cover;
}
.feature-content {
  width: 100%;
}
.feature-label {
  gap: 7px;
  color: #e2f4a4;
  font-size: 0.69rem;
  letter-spacing: 0.095em;
}
.featured h2 {
  font-size: clamp(1.9rem, 2.75vw, 2.95rem);
  font-weight: 630;
  letter-spacing: -0.055em;
  margin: 12px 0 8px;
}
.featured p {
  font-size: 0.94rem;
  line-height: 1.48;
  color: #f0f5e9;
  max-width: min(395px, 82%);
}
.feature-meta {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
  color: #e2ebdc;
  font-size: 0.77rem;
  line-height: 1.4;
}
.feature-meta span {
  gap: 5px;
}
.meta-dot {
  width: 3px;
  height: 3px;
  background: #b6c8b1;
  border-radius: 50%;
}
.start-button {
  display: inline-flex;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 720;
  color: #243d25;
  background: #def199;
  padding: 10px 16px;
  border-radius: 7px;
  margin-top: 21px;
  transition: background 0.15s;
}
.start-button:hover {
  background: #ebffae;
}
.start-button svg {
  width: 12px;
}
.week-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 21px 21px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.week-heading {
  gap: 8px;
}
.week-heading h2 {
  font-size: 1rem;
  letter-spacing: -0.035em;
  font-weight: 720;
}
.weekly-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #edf2e2;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 5px;
  width: 33px;
  height: 33px;
  color: #687264;
}
.icon-btn:hover {
  background: #edf2e6;
}
.week-heading .icon-btn {
  margin-left: auto;
  margin-right: -5px;
}
.week-number {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 13px;
  line-height: 1.06;
}
.week-number strong {
  font-size: 2.8rem;
  font-weight: 650;
  letter-spacing: -0.07em;
}
.week-number span {
  font-size: 1.35rem;
  color: #788374;
}
.week-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 3px;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  justify-items: center;
  margin: 18px -4px 16px;
}
.day {
  display: grid;
  justify-items: center;
  gap: 7px;
}
.day span {
  font: 550 0.69rem var(--mono);
  color: #666f64;
}
.day i {
  height: 23px;
  width: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f2eb;
  color: #314b2b;
}
.day i em {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cdd4c6;
}
.day.today i {
  background: #e5edce;
  outline: 1px solid #7a9459;
  outline-offset: 2px;
}
.day.today i em {
  background: #5e7841;
}
.day.done i {
  background: #cce19b;
}
.week-bottom {
  margin: auto -21px 0;
  gap: 8px;
  border-top: 1px solid #e4e8df;
  background: #fbfcf8;
  color: #617457;
  padding: 11px 21px;
  font-size: 0.78rem;
}
.library-preview {
  margin-top: 31px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}
.eyebrow {
  gap: 7px;
  color: #64725c;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  margin-bottom: 6px;
}
.rule {
  height: 2px;
  width: 17px;
  background: #7a9261;
}
.section-head h2,
.panel h2 {
  font-size: 1.65rem;
  font-weight: 690;
  letter-spacing: -0.05em;
}
.subtle-link {
  gap: 5px;
  color: #38563c;
  font-size: 0.84rem;
  font-weight: 670;
  padding: 5px 0;
}
.subtle-link:hover,
.card-body h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.drill-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid #d9dfd4;
  border-radius: 12px;
  overflow: hidden;
}
.card-art {
  display: block;
  aspect-ratio: 2.45;
  overflow: hidden;
  background: #dfe9d2;
}
.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}
.card-art:hover img {
  transform: scale(1.025);
}
.book-button {
  display: grid;
  place-items: center;
  position: absolute;
  top: 11px;
  right: 11px;
  width: 32px;
  height: 32px;
  border: 1px solid #ffffffa3;
  border-radius: 50%;
  background: #fffffff0;
  color: #3f5141;
  box-shadow: 0 1px 3px #20332310;
}
.book-button.is-saved {
  color: #325837;
  background: #f0f9df;
}
.book-button.is-saved svg {
  fill: #9fbf83;
}
.card-body {
  padding: 16px 17px 15px;
}
.card-track {
  gap: 7px;
  color: #596656;
  letter-spacing: 0.075em;
  font-size: 0.67rem;
}
.card-track .track-dot {
  width: 7px;
  height: 7px;
}
.card-body h3 {
  font-size: clamp(1.02rem, 1.45vw, 1.4rem);
  font-weight: 690;
  letter-spacing: -0.04em;
  margin: 7px 0 6px;
}
.card-body p {
  font-size: 0.875rem;
  color: #667064;
  line-height: 1.43;
  min-height: 2.5em;
}
.card-meta {
  gap: 10px;
  border-top: 1px solid #e6e9e2;
  padding-top: 12px;
  margin-top: 14px;
  color: #626c61;
  font-size: 0.75rem;
}
.card-meta span {
  gap: 5px;
}
.card-meta i {
  width: 3px;
  height: 3px;
  background: #adb6a9;
  border-radius: 50%;
}
.library-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.search-box,
.filter-button,
.select-wrap select,
.secondary-btn,
.primary-btn {
  border: 1px solid #d3dbce;
  border-radius: 7px;
  min-height: 41px;
  background: white;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  flex: 1;
  color: #5a6d5b;
  min-width: 190px;
}
.search-box input {
  width: 100%;
  border: none;
  background: none;
  padding: 9px 0;
  outline: none;
}
.search-box:focus-within {
  outline: 2px solid #6a8b53;
}
select {
  padding: 9px 30px 9px 10px;
  font-size: 0.9rem;
}
.filter-button,
.secondary-btn,
.primary-btn {
  gap: 7px;
  padding: 9px 15px;
  font-size: 0.88rem;
  font-weight: 650;
  justify-content: center;
}
.filter-button.on {
  background: #e6efdb;
  border-color: #8ea47a;
}
.primary-btn {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.primary-btn:hover {
  background: #123f2b;
}
.secondary-btn,
.primary-btn {
  display: inline-flex;
}
.result-count {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 18px 0 12px;
}
.guide-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: start;
  gap: 18px;
}
.guide-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.guide-list li + li {
  border-top: 1px solid var(--line);
}
.guide-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--forest);
}
.guide-list a:hover { background: var(--soft); }
.guide-list svg { flex-shrink: 0; }
.guide-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.5;
}
.guide-index .guide-list { margin: 0; border: 0; }
.guide-index .guide-list a { padding-inline: 0; }
.practice-guide {
  max-width: 760px;
  display: grid;
  gap: 18px;
}
.practice-guide .page-intro { margin: 0; }
.practice-guide > .subtle-link { justify-self: start; }
.practice-guide :is(p, li, label) { line-height: 1.6; }
.practice-guide :is(h3, label) { font-size: 1rem; font-weight: 700; }
.guide-steps ol, .guide-research ul { margin: 0; padding-left: 1.4rem; }
.guide-steps li::marker { color: var(--forest); font-weight: 700; }
.guide-steps li + li, .guide-field form, .guide-research h3, .guide-notes:not(:empty) { margin-top: 18px; }
.guide-steps blockquote {
  margin: 10px 0 0;
  padding: 11px 15px;
  border-left: 3px solid #739464;
  background: var(--soft);
}
.guide-recording {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.guide-recording p, .guide-date { color: var(--muted); font-size: .86rem; }
.guide-recording [data-guide-take] {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.guide-recording audio { max-width: 100%; }
.guide-recording [aria-disabled="true"] { opacity: .6; cursor: default; }
.guide-recording [role="status"]:not(:empty), .guide-notes > a { margin-top: 10px; }
.guide-notes .journal-entry { padding: 10px 14px; }
.journal-entry .subtle-link { margin-left: 8px; }
.guide-research summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; }
.guide-date, .guide-research li + li { margin-top: 10px; }
.guide-research li { margin-block: 6px; }
.guide-research a { color: var(--forest); text-decoration: underline; text-underline-offset: .15em; }
.empty-panel {
  padding: 38px 16px;
  text-align: center;
  border: 1px dashed #cbd5c5;
  border-radius: 12px;
  background: #fafbf7;
}
.empty-icon {
  width: 49px;
  height: 49px;
  margin-bottom: 10px;
}
.empty-panel h3 {
  font-size: 1.16rem;
  letter-spacing: -0.025em;
}
.empty-panel p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px auto 0;
  max-width: 440px;
}
.empty-panel .secondary-btn {
  margin-top: 17px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 0 0 22px;
}
.metric,
.panel,
.assignment,
.journal-entry {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.metric div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}
.metric strong {
  display: block;
  font-size: 2.3rem;
  margin-top: 6px;
  letter-spacing: -0.055em;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel h2 {
  font-size: 1.28rem;
  margin-bottom: 19px;
}
.panel .empty-panel {
  border: none;
  padding: 17px 10px;
}
.cap-list {
  display: grid;
  gap: 17px;
}
.cap-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.87rem;
}
.cap-label b {
  font-weight: 480;
  color: var(--muted);
}
.cap-label span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.bar {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 6px;
  background: #edf1e8;
  margin-top: 6px;
  overflow: hidden;
  appearance: none;
  accent-color: #809a66;
}
.bar::-webkit-progress-bar {
  background: #edf1e8;
}
.bar::-webkit-progress-value {
  background: #809a66;
}
.bar::-moz-progress-bar {
  background: #809a66;
}
.feature-actions {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.why-button {
  border: 0;
  padding: 6px 0;
  background: none;
  color: #f2f8df;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.8rem;
}
.account-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 20px;
}
.account-tools h2,
.account-tools p {
  width: 100%;
}
.account-tools h2 {
  font-size: 1.08rem;
}
.account-tools p {
  font-size: 0.9rem;
  color: var(--muted);
}
dialog blockquote {
  border-left: 3px solid #b5cb97;
  padding-left: 12px;
  margin: 13px 0;
  color: var(--forest);
}
.history-row,
.assignment {
  display: flex;
  align-items: center;
  gap: 12px;
}
.history-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.history-row small,
.history-row strong {
  display: block;
}
.history-row strong {
  font-size: 0.96rem;
}
.history-row small {
  font-size: 0.77rem;
  color: var(--muted);
}
.history-row > svg,
.assignment > svg {
  margin-left: auto;
}
.history-glyph,
.task-icon {
  width: 35px;
  height: 35px;
  flex: none;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 20px;
  overflow: auto;
}
.tabs button {
  font-size: 0.9rem;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  padding: 10px;
  background: transparent;
  color: var(--muted);
}
.tabs button.active {
  color: var(--forest);
  border-color: var(--forest);
  font-weight: 680;
}
.assignment-list {
  display: grid;
  gap: 10px;
}
.assignment h3 {
  font-size: 1.1rem;
  margin: 3px 0;
}
.assignment small,
.journal-entry span {
  font: 500 0.72rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #627956;
}
.assignment p,
.journal-entry p {
  color: var(--muted);
  font-size: 0.92rem;
}
.journal-entry {
  margin-top: 12px;
}
.journal-entry p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
#journal-form textarea {
  width: 100%;
  display: block;
  margin: 10px 0 12px;
  resize: vertical;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #b9c6b2;
  border-radius: 7px;
  background: #fdfefb;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 10px 17px;
  border-radius: 9px;
  background: #223d2d;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px #18281c22;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%);
}
dialog {
  padding: 25px;
  border: 1px solid #cbd7c4;
  border-radius: 14px;
  color: var(--ink);
  background: #fbfcf7;
  width: min(420px, calc(100vw - 32px));
}
dialog::backdrop {
  background: #1522156b;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}
dialog label {
  display: block;
  font-weight: 600;
  margin-top: 13px;
}
dialog select {
  width: 100%;
  background: white;
  border: 1px solid #bbc8b5;
  border-radius: 6px;
  display: block;
  margin-top: 4px;
}
dialog p {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 12px 0 18px;
}
@media (min-width: 1600px) {
  :root {
    --side: 250px;
  }
  .featured {
    min-height: 310px;
  }
  .week-card {
    padding-top: 26px;
  }
  .week-days {
    margin-top: 24px;
  }
  .week-number {
    margin-top: 24px;
  }
  .card-art {
    aspect-ratio: 2.7;
  }
}
@media (max-width: 1160px) {
  :root {
    --side: 192px;
  }
  .sidebar {
    padding-inline: 11px;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1.9fr) minmax(216px, 1fr);
    gap: 14px;
  }
  .week-card {
    padding: 17px 15px 0;
  }
  .week-bottom {
    margin-inline: -15px;
    padding-inline: 15px;
  }
  .card-grid {
    gap: 13px;
  }
  .card-body {
    padding: 14px;
  }
  .featured p {
    max-width: 87%;
  }
  .card-body h3 {
    font-size: 1.16rem;
  }
  .today-date {
    font-size: 0.78rem;
  }
}
@media (max-width: 960px) and (min-width: 761px) {
  :root {
    --side: 74px;
  }
  .brand {
    padding-left: 8px;
  }
  .brand > span,
  .sidebar .group-label,
  .sidebar .nav-item span,
  .side-tracks,
  .side-foot {
    display: none;
  }
  .nav-item {
    justify-content: center;
    padding: 0;
  }
  .sidebar-nav {
    margin-top: 14px;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1.9fr) minmax(215px, 1fr);
  }
}
@media (max-width: 760px) {
  #shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
  }
  .page-frame {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    scroll-padding-block: 8px;
  }
  :root {
    --side: 0px;
  }
  .sidebar,
  .crumb,
  .today-date,
  .head-separator {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 1.35rem;
    letter-spacing: -1.1px;
  }
  .mobile-brand svg {
    width: 30px;
    height: 30px;
  }
  .topbar {
    height: 56px;
    padding: 0 18px;
  }
  .account-link {
    min-height: 34px;
  }
  .mobile-nav {
    display: flex;
    position: static;
    flex: none;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #d3dbcc;
    background: #f6f8f1;
    padding: 4px 3px max(4px, env(safe-area-inset-bottom));
  }
  .mobile-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    font-size: 0.68rem;
    height: 48px;
    margin: 0 2px;
    padding: 2px;
    line-height: 1.2;
  }
  .mobile-nav .nav-item svg {
    width: 18px;
    height: 18px;
  }
  main {
    padding: 23px 18px 88px;
  }
  .page-intro {
    margin-bottom: 18px;
  }
  .page-intro h1 {
    font-size: 2.15rem;
  }
  .page-intro p {
    font-size: 0.9rem;
    margin-top: 5px;
  }
  .dashboard-top {
    grid-template-columns: minmax(0, 1.7fr) minmax(200px, 1fr);
  }
  .featured {
    padding: 23px;
    min-height: 258px;
  }
  .featured h2 {
    font-size: 2.1rem;
  }
  .featured p {
    max-width: 100%;
    font-size: 0.88rem;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toast {
    bottom: 72px;
    max-width: calc(100% - 30px);
    width: max-content;
  }
  .library-preview {
    margin-top: 25px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 570px) {
  .dashboard-top {
    grid-template-columns: 1fr;
  }
  .featured {
    min-height: 252px;
    background-position:
      center,
      62% center;
  }
  .featured p {
    max-width: 89%;
  }
  .featured h2 {
    font-size: 2.12rem;
  }
  .week-card {
    display: grid;
    grid-template-columns: 1fr minmax(128px, 0.95fr);
    align-items: center;
    padding: 13px 15px;
    gap: 2px 12px;
  }
  .week-heading {
    grid-column: 1 / -1;
  }
  .week-heading .weekly-icon {
    width: 26px;
    height: 26px;
  }
  .week-number {
    margin: 3px 0 0;
  }
  .week-number strong {
    font-size: 1.95rem;
  }
  .week-number span {
    font-size: 1.05rem;
  }
  .week-caption {
    grid-row: 3;
    margin: 0;
    font-size: 0.76rem;
  }
  .week-days {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
    margin: 0;
  }
  .week-bottom {
    display: none;
  }
  .day i {
    width: 19px;
    height: 19px;
  }
  .day {
    gap: 5px;
  }
  .week-heading .icon-btn {
    height: 26px;
  }
  .card-grid {
    gap: 13px;
    grid-template-columns: 1fr;
  }
  .card-art {
    aspect-ratio: 2.6;
  }
  .card-body {
    padding: 14px 16px;
  }
  .card-body h3 {
    font-size: 1.22rem;
  }
  .card-body p {
    min-height: 0;
  }
  .card-meta {
    margin-top: 11px;
    padding-top: 10px;
  }
  .section-head h2 {
    font-size: 1.55rem;
  }
  .library-tools {
    gap: 7px;
  }
  .search-box {
    flex-basis: 100%;
  }
  .select-wrap,
  .select-wrap select {
    flex: 1;
  }
  .metric-grid {
    gap: 8px;
  }
  .metric {
    padding: 10px;
  }
  .metric div {
    display: block;
    font-size: 0.75rem;
  }
  .metric div svg {
    display: block;
    margin-bottom: 5px;
  }
  .metric strong {
    font-size: 1.65rem;
  }
  .panel,
  .assignment {
    padding: 16px;
  }
  .tabs {
    gap: 0;
  }
  .tabs button {
    padding: 9px 6px;
    font-size: 0.8rem;
  }
  .assignment p {
    overflow-wrap: anywhere;
  }
}
.studio-link {
  display:flex; align-items:center; gap:14px;
  padding:17px 20px; margin-top:20px;
  border:1px solid #d3ded0; border-radius:12px; background:#edf2e9;
}
.studio-link:hover {background:#e6eddf}
.studio-link-icon,.studio-glyph {
  display:grid; place-items:center; flex:none; width:42px; height:42px;
  border-radius:10px; color:#355736; background:#d9e7d2;
}
.studio-link strong,.studio-link small,.studio-row-copy strong,.studio-row-copy span,
.studio-history-row strong,.studio-history-row small {display:block}
.studio-link strong {font-size:1.04rem;letter-spacing:-.02em}
.studio-link small,.studio-row-copy span,.studio-muted,.studio-history-row small,.studio-reflection dt,.studio-take small {color:var(--muted);font-size:.875rem}
.studio-link>svg {margin-left:auto}
.studio-feature {
  display:flex; align-items:center; overflow:hidden; min-height:236px;
  padding:clamp(22px,3vw,38px); border-radius:14px; border:1px solid #c7d8bf;
  background:#e1edd8 url("/assets/speech-studio.webp") center right/cover no-repeat;
}
.studio-feature>div {max-width:65%}
.studio-kicker {display:flex;align-items:center;gap:6px;color:#365638;font:650 .72rem/1.45 var(--mono);letter-spacing:.08em;text-transform:uppercase}
.studio-feature h2 {font-size:clamp(1.8rem,2.6vw,2.75rem);letter-spacing:-.052em;margin:8px 0}
.studio-feature p:not(.studio-kicker) {max-width:420px;color:#314a34;font-size:1rem}
.studio-feature small {display:block;margin-top:7px;font-size:.83rem;color:#435a42}
.studio-feature .primary-btn {margin-top:16px}
.studio-layout {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(244px,1fr);gap:18px;align-items:start;margin-top:22px}
.studio-menu,.studio-log {padding:21px 21px 12px}
.studio-menu h2,.studio-log h2 {margin-bottom:14px}
.studio-drill,.studio-history-row {display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:13px 0}
.studio-drill:hover strong,.studio-history-row:hover strong {color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.studio-row-copy {flex:1;min-width:0}
.studio-row-copy strong {font-size:1.02rem;letter-spacing:-.025em}
.studio-row-copy span {font-size:.84rem;line-height:1.4;margin-top:3px}
.studio-pauses {background:#e6dfef;color:#615078}.studio-emphasis {background:#f2eacb;color:#7b6634}
.studio-clarity {background:#dce9ec;color:#395f6a}.studio-impromptu {background:#f2e2d6;color:#845e41}
.studio-duration {display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.75rem;color:var(--muted)}
.studio-totals {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 21px;padding:14px 0;border-block:1px solid var(--line)}
.studio-totals dt {font-size:.81rem;color:var(--muted)}
.studio-totals dd {margin:2px 0 0;font-size:1.9rem;font-weight:650;letter-spacing:-.055em}
.studio-totals dd span {font-size:1.08rem;letter-spacing:-.02em;color:var(--muted)}
.studio-log h3,.studio-review h3 {font-size:1rem;margin:0 0 6px}
.studio-muted {margin:5px 0 11px}
.studio-history-row strong {font-size:.94rem;letter-spacing:-.015em}
.studio-history-row small {font-size:.78rem}
.studio-history-row>svg {margin-left:auto}
.studio-review {max-width:820px;margin:0 auto}
.studio-review>.subtle-link {display:inline-flex;margin:0 0 19px}
.studio-review .studio-kicker {margin:0 0 8px;font-size:.73rem}
.studio-takes {display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:12px 0}
.studio-take {background:#f4f7ef;border:1px solid var(--line);padding:14px;border-radius:8px}
.studio-take p {display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:6px 0;font-size:.86rem}
.studio-reflection {margin-block:22px}
.studio-reflection dt {font-weight:620;color:var(--forest)}
.studio-reflection dd {margin:3px 0 13px}
.studio-note {white-space:pre-wrap;overflow-wrap:anywhere}
.studio-next {padding-top:18px;border-top:1px solid var(--line)}
.studio-next p {font-size:.9rem;color:var(--muted);margin-bottom:12px}
.studio-next .subtle-link {display:inline-flex;margin-inline-start:12px}
@media(max-width:820px){.studio-layout{grid-template-columns:1fr}.studio-feature>div{max-width:70%}}
@media(max-width:570px){
  .studio-feature {min-height:207px;padding:20px;background-position:69% center}
  .studio-feature>div {max-width:77%}
  .studio-feature {background-image:linear-gradient(90deg,#e4efdfe8,#e4efdfce 45%,#e4efdf00 84%),url("/assets/speech-studio.webp")}
  .studio-menu,.studio-log {padding:16px 14px}
  .studio-drill {gap:9px}
  .studio-glyph {height:35px;width:35px}
  .studio-duration svg {display:none}
  .studio-row-copy span {font-size:.81rem}
  .studio-next .subtle-link {margin:8px 0 0;display:flex}
  .studio-layout {margin-top:15px;gap:13px}
}

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