:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #253746;
  background: #edf4f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --bg: #edf4f3;
  --surface: #fbfefd;
  --surface-soft: #e2eeeb;
  --heading: #13212d;
  --text: #253746;
  --muted: #5f7480;
  --border: #c2d5d2;
  --accent: #0c8fa6;
  --accent-hover: #08798e;
  --accent-soft: rgba(12, 143, 166, 0.09);
  --good: #08724e;
  --good-soft: #e8f5ef;
  --focus: #0c8fa6;
  --shadow: 0 2px 8px rgba(19, 33, 45, 0.045);
  --motion-fast: 140ms;
  --motion-standard: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0f14;
  --surface: #121a22;
  --surface-soft: #1a2732;
  --heading: #f0f7f7;
  --text: #d7e4e6;
  --muted: #94aab2;
  --border: #2a3b48;
  --accent: #22b8cf;
  --accent-hover: #5bcede;
  --accent-soft: rgba(34, 184, 207, 0.1);
  --good: #baf7dd;
  --good-soft: #14392c;
  --focus: #22b8cf;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  transition:
    background-color var(--motion-standard) var(--ease),
    color var(--motion-standard) var(--ease);
}
button,
input {
  font: inherit;
}
button,
a,
input,
.guidance-toggle {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
.guidance-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
button,
.section-progress a {
  transition:
    background-color var(--motion-fast) var(--ease),
    color var(--motion-fast) var(--ease),
    border-color var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease),
    opacity var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}
button:active:enabled {
  transform: translateY(1px);
}
button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--surface);
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  background: #08101a;
  border-bottom: 1px solid #20323c;
  color: #e8f2f4;
}
.topbar-inner {
  max-width: 1256px;
  padding: 12px 36px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #f0f7f7;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  display: grid;
  place-content: center;
  border-radius: 9px;
}
.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.brand > span {
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
}
.brand-divider {
  font-size: 26px;
  font-weight: 300;
  color: #526471;
}
.brand-companion {
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #b3d5db;
}
.header-actions {
  display: flex;
  align-items: center;
}
.theme-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #30404b;
  border-radius: 8px;
  background: transparent;
  color: #d7e4e6;
  font-size: 24px;
}
.theme-button:hover {
  background: #162733;
  border-color: #587783;
}
.theme-sun,
[data-theme="dark"] .theme-moon {
  display: none;
}
[data-theme="dark"] .theme-sun {
  display: block;
}
.page {
  max-width: 1256px;
  padding: 24px 36px;
  margin: auto;
}
.page-heading {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 0;
  color: var(--heading);
  font-weight: 750;
}
.reminder {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(110deg, #142a39, #101e2b);
  border: 1px solid #263c4b;
  border-left: 3px solid #22b8cf;
  border-radius: 10px;
  padding: 18px 20px;
  color: #edf7fa;
  min-height: 112px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(8, 16, 26, 0.08);
}
.reminder-content {
  max-width: 790px;
  min-width: 0;
  flex: 1;
}
#reminder-copy {
  display: grid;
}
.reminder-slide {
  grid-area: 1 / 1;
  min-width: 0;
  align-self: start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-standard) var(--ease),
    visibility 0s linear var(--motion-standard);
}
.reminder-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.reminder-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #76d4df;
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 650;
  margin-bottom: 6px;
}
.reminder h2 {
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}
.reminder p:not(.reminder-label) {
  font-size: 15px;
  color: #b5c9d4;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 710px;
}
.reminder-slide a {
  display: inline-block;
  color: #76d4df;
  font-size: 14px;
  margin-top: 10px;
}
.reminder-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
}
.reminder-position {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #9eb7c6;
  font-variant-numeric: tabular-nums;
}
.reminder-buttons {
  display: flex;
  gap: 6px;
}
.reminder-buttons button {
  display: grid;
  place-items: center;
  background: transparent;
  color: #d1e5ec;
  border: 1px solid #3a5061;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  font-size: 19px;
}
.reminder-buttons button:hover {
  background: #1b3445;
  border-color: #7096a8;
}
.reminder-buttons button:nth-child(2) {
  font-size: 14px;
}
#toggle-rotation .play-icon,
#toggle-rotation.is-paused .pause-icon {
  display: none;
}
#toggle-rotation.is-paused .play-icon {
  display: block;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}
.checklist-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.checklist-heading h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--heading);
  margin-bottom: 0;
  font-weight: 650;
}
.text-button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checklist-heading > .text-button {
  flex-shrink: 0;
}
.checklist-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  margin-bottom: 17px;
  overflow: hidden;
  scroll-margin-top: 20px;
  box-shadow: var(--shadow);
  transition:
    background-color var(--motion-standard) var(--ease),
    border-color var(--motion-standard) var(--ease),
    box-shadow var(--motion-standard) var(--ease);
}
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-soft) 30%, var(--surface));
  transition:
    background-color var(--motion-standard) var(--ease),
    border-color var(--motion-standard) var(--ease);
}
.section-number {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  transition:
    background-color var(--motion-standard) var(--ease),
    color var(--motion-standard) var(--ease);
}
.section-header h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 0;
  color: var(--heading);
  letter-spacing: -0.15px;
}
.section-count {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
  padding-top: 6px;
  transition: color var(--motion-standard) var(--ease);
}
.section-complete .section-number {
  background: var(--good-soft);
  color: var(--good);
}
.section-complete .section-count {
  color: var(--good);
}
.checklist-item {
  position: relative;
  padding: 0 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  transition:
    background-color var(--motion-fast) var(--ease),
    border-color var(--motion-fast) var(--ease);
}
.checklist-item:focus-within {
  background: var(--accent-soft);
}
.checklist-item:last-child {
  border-bottom: 0;
}
.checklist-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  padding-right: 42px;
  min-height: 49px;
}
.checklist-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  background: var(--surface);
  transition:
    background-color var(--motion-fast) var(--ease),
    border-color var(--motion-fast) var(--ease),
    box-shadow var(--motion-fast) var(--ease);
}
.checklist-item label > span {
  transition: color var(--motion-fast) var(--ease);
}
.checklist-item input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checklist-item input::after {
  content: "";
  height: 8px;
  width: 4px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: translateY(-1px) rotate(45deg) scale(0.65);
  transition:
    opacity var(--motion-fast) var(--ease),
    transform var(--motion-fast) var(--ease);
}
.checklist-item input:checked::after {
  opacity: 1;
  transform: translateY(-1px) rotate(45deg) scale(1);
}
.checklist-item:has(input:checked) {
  background: var(--accent-soft);
}
.checklist-item input:checked + span {
  color: var(--muted);
}
.checklist-item .guidance-toggle {
  position: absolute;
  right: 12px;
  top: 9px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 4px;
  transition: color var(--motion-fast) var(--ease);
}
.checklist-item .guidance-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.checklist-item .guidance-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  color: var(--accent);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 220ms var(--ease);
}
.checklist-item .guidance-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(225deg);
}
.guidance-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 220ms var(--ease),
    opacity 180ms var(--ease);
}
.guidance-disclosure.is-expanded .guidance-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.guidance-content {
  min-height: 0;
  overflow: hidden;
}
.guidance {
  margin: 0 0 15px 30px;
  padding: 10px 13px;
  background: var(--surface-soft);
  border-radius: 5px;
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid var(--border);
}
.guidance p {
  margin: 0;
  white-space: pre-line;
}
.guidance a {
  display: inline-block;
  margin-top: 8px;
}
.review-sidebar {
  position: sticky;
  top: 24px;
}
.progress-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
  transition:
    background-color var(--motion-standard) var(--ease),
    border-color var(--motion-standard) var(--ease),
    box-shadow var(--motion-standard) var(--ease);
}
.progress-card h2 {
  font-size: 16px;
  font-weight: 650;
  color: var(--heading);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}
.progress-number {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.progress-number > span:first-child {
  font-size: 34px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -2px;
  color: var(--heading);
}
.progress-number > span:nth-child(2) {
  font-size: 18px;
  font-weight: 450;
  color: var(--muted);
}
.progress-meter {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface-soft);
  margin: 17px 0 9px;
}
.progress-meter progress {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  opacity: 0;
}
#progress-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 9px;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  transition:
    transform 280ms var(--ease),
    background-color var(--motion-standard) var(--ease);
}
.progress-summary {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 21px;
}
.section-progress {
  list-style: none;
  padding: 14px 0;
  margin: 0 0 20px;
  border-block: 1px solid var(--border);
}
.section-progress a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  margin-inline: -8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
  gap: 8px;
}
.section-progress a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.section-progress a > span:last-child {
  font-variant-numeric: tabular-nums;
  min-width: 26px;
  text-align: right;
  font-size: 10px;
}
.section-progress .is-complete {
  color: var(--good);
  font-size: 14px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 650;
  min-height: 42px;
}
.primary-button {
  background: var(--accent);
  color: #fff;
}
.primary-button:hover:enabled {
  background: var(--accent-hover);
  box-shadow: 0 2px 6px rgba(8, 16, 26, 0.12);
}
[data-theme="dark"] .primary-button {
  color: #08101a;
}
#reset-button {
  width: 100%;
  font-size: 12px;
}
.completion-message {
  font-size: 12px;
  color: var(--good);
  border: 1px solid var(--good);
  background: var(--good-soft);
  border-radius: 6px;
  padding: 12px;
  margin: 0 0 18px;
}
.guide-link {
  display: block;
  font-size: 14px;
  margin: 20px 0;
}
.storage-notice {
  padding: 14px 18px;
  border: 1px solid #d29220;
  border-radius: 6px;
  background: var(--surface);
  font-size: 14px;
  margin: 0 0 22px;
  color: var(--text);
}
@media (min-width: 1500px) {
  .page {
    padding-top: 32px;
  }
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .page,
  .topbar-inner {
    padding-inline: 24px;
  }
  .progress-card {
    padding: 20px 18px;
  }
  .checklist-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .review-sidebar {
    top: 18px;
  }
}
@media (max-width: 760px) {
  .page {
    padding: 25px 18px 18px;
  }
  .topbar-inner {
    padding: 10px 18px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .checklist-column {
    width: 100%;
    order: 2;
  }
  .review-sidebar {
    position: static;
    width: 100%;
    order: 1;
  }
  .progress-card {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;
  }
  .progress-card h2 {
    grid-column: 1;
    margin-bottom: 10px;
  }
  .progress-number {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .progress-number > span:first-child {
    font-size: 34px;
  }
  .progress-meter,
  .progress-summary,
  .section-progress,
  #completion-message {
    grid-column: 1/-1;
  }
  .progress-card .progress-meter {
    margin-top: 3px;
  }
  .progress-summary {
    margin-bottom: 0;
  }
  .section-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 14px;
    margin: 12px 0;
    border-bottom: 0;
    padding: 8px 0 0;
  }
  .section-progress li {
    flex: 1 1 40%;
  }
  .section-progress a {
    font-size: 10px;
    gap: 5px;
  }
  #reset-button {
    grid-column: 1/-1;
    margin-top: 7px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .reminder {
    padding: 16px;
    gap: 14px;
    flex-direction: column;
    margin-bottom: 22px;
    min-height: 0;
  }
  .reminder-controls {
    flex-direction: row;
    align-items: center;
  }
  .reminder-label {
    font-size: 13px;
    letter-spacing: 0;
    gap: 7px;
  }
  .reminder h2 {
    font-size: 18px;
  }
  .reminder p:not(.reminder-label) {
    font-size: 15px;
  }
  .reminder-buttons button {
    width: 32px;
    height: 32px;
  }
  .checklist-heading {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .checklist-heading h2 {
    font-size: 19px;
  }
  .section-header {
    padding: 16px;
    gap: 10px;
  }
  .section-header h3 {
    font-size: 15px;
  }
  .checklist-item {
    padding-inline: 16px;
  }
  .checklist-item label {
    font-size: 15px;
    padding-right: 42px;
    gap: 10px;
  }
  .checklist-item .guidance-toggle {
    right: 8px;
  }
  .guidance {
    margin-left: 28px;
  }
  .brand > span {
    gap: 10px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand-companion {
    font-size: 15px;
  }
  .brand-divider {
    font-size: 21px;
  }
  .brand {
    gap: 7px;
  }
  .theme-button {
    width: 30px;
    height: 30px;
    font-size: 21px;
  }
}
@media (hover: hover) {
  .checklist-item:hover:not(:has(input:checked)) {
    background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
  }
  .checklist-item input:hover {
    border-color: var(--accent);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 400px) {
  .brand {
    gap: 4px;
  }
  .brand > span {
    gap: 6px;
  }
  .page {
    padding-inline: 14px;
  }
  .topbar-inner {
    padding-inline: 14px;
  }
  .brand-companion {
    font-size: 14px;
  }
  .reminder-label {
    flex-wrap: wrap;
  }
  .section-number {
    width: 26px;
    height: 28px;
  }
  .section-header {
    gap: 9px;
  }
  .section-header h3 {
    font-size: 14px;
  }
  .checklist-heading {
    align-items: flex-start;
  }
  .checklist-heading > .text-button {
    font-size: 12px;
    max-width: 65px;
  }
  h1 {
    font-size: 28px;
  }
}
