:root {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-soft: rgba(250, 246, 239, 0.94);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --paper: rgba(255, 253, 249, 0.92);
  --paper-edge: rgba(125, 116, 102, 0.16);
  --text: #2f2a25;
  --text-muted: #696158;
  --line: rgba(126, 155, 186, 0.22);
  --border: rgba(193, 183, 170, 0.42);
  --shadow: 0 18px 38px rgba(59, 45, 32, 0.1);
  --shadow-soft: 0 8px 18px rgba(59, 45, 32, 0.08);
  --accent: #4e7594;
  --accent-strong: #35546f;
  --accent-soft: #e3edf5;
  --accent-warm: #a76d3c;
  --success: #2f775e;
  --warning: #a56c34;
  --danger: #b44c5f;
  --header-h: 74px;
  --dock-h: 76px;
  --content-w: 1180px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background:
    linear-gradient(to bottom, transparent 23px, var(--line) 24px),
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #fbf8f3 0%, #f6f1e9 50%, #f0eadf 100%);
  background-size: 100% 24px, 42px 100%, auto;
  padding-bottom: calc(var(--dock-h) + 3rem + env(safe-area-inset-bottom));
}

body.theme-dark {
  color-scheme: dark;
  --bg: #0f151c;
  --bg-soft: rgba(22, 29, 38, 0.94);
  --surface: rgba(20, 27, 35, 0.92);
  --surface-strong: rgba(28, 35, 44, 0.98);
  --paper: rgba(21, 29, 37, 0.96);
  --paper-edge: rgba(158, 174, 191, 0.14);
  --text: #eef3f8;
  --text-muted: #c0cad4;
  --line: rgba(144, 166, 190, 0.09);
  --border: rgba(160, 176, 192, 0.18);
  --shadow: 0 22px 52px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
  --accent: #7ba3c6;
  --accent-strong: #96bcdb;
  --accent-soft: rgba(123, 163, 198, 0.18);
  background:
    linear-gradient(to bottom, transparent 23px, var(--line) 24px),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #121923 0%, #0f151c 52%, #0b1116 100%);
  background-size: 100% 24px, 42px 100%, auto;
}

body.is-modal-open {
  overflow: hidden;
}

body.is-large-text {
  font-size: 1.05rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
}

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

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

.page-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
}

.page-ambient-svg {
  width: 100%;
  height: 100%;
}

.ambient-line {
  fill: none;
  stroke: rgba(84, 122, 151, 0.22);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.ambient-line--soft {
  stroke: rgba(84, 122, 151, 0.14);
}

.topbar,
.app-main,
.mobile-dock,
.modal {
  position: relative;
  z-index: 1;
}

.topbar {
  position: relative;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.topbar-inner,
.app-main {
  width: min(var(--content-w), calc(100% - 32px));
}

.topbar-inner {
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand-block {
  min-width: 0;
  flex: 1 1 auto;
}

.eyebrow,
.section-kicker,
.selector-label,
.summary-kicker,
.priority-kicker,
.settings-label {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.brand-block h1,
.section-heading h2,
.hero h2,
.note-title {
  margin: 0;
  line-height: 1.14;
}

.brand-block h1 {
  font-size: clamp(1.05rem, 2.15vw, 1.55rem);
}

.current-status {
  margin: 0.32rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.icon-btn,
.action-btn,
.segmented-btn,
.timeline-item--button,
.qa-card,
.board-item,
.settings-toggle,
.dock-item,
.modal-close {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.icon-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-strong) 92%, white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.button-icon,
.ui-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-panel {
  width: min(360px, calc(100% - 32px));
  margin: 0 auto 1rem;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 94%, white);
  box-shadow: var(--shadow);
}

.settings-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.settings-toggle {
  width: 100%;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 78%, white);
  border: 1px solid var(--border);
  text-align: left;
}

.settings-toggle-copy {
  display: grid;
  gap: 0.18rem;
}

.settings-toggle-copy strong {
  font-size: 0.98rem;
}

.settings-toggle-copy span:last-child {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.toggle-switch {
  width: 48px;
  height: 28px;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 76%, white);
  border: 1px solid var(--border);
}

.toggle-switch-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.24s ease;
}

.settings-toggle.is-active .toggle-switch {
  background: color-mix(in srgb, var(--accent) 36%, white);
}

.settings-toggle.is-active .toggle-switch-thumb {
  transform: translateX(19px);
}

.promo-bar {
  padding: 0 0 0.9rem;
}

.promo-bar-inner {
  width: min(var(--content-w), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.video-shelf,
.video-grid,
.video-card-stack {
  display: grid;
}

.video-shelf {
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(320px 200px at 100% 0%, rgba(255, 49, 72, 0.1), transparent 72%),
    linear-gradient(135deg, #0f1012, #17191d 58%, #101114);
  box-shadow: 0 20px 36px rgba(9, 10, 12, 0.26);
}

.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.video-card-stack {
  gap: 0.55rem;
}

.video-card,
.promo-link {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 10px 20px rgba(6, 7, 9, 0.2);
}

.video-card {
  padding: 0.88rem 0.95rem 0.92rem;
  display: grid;
  gap: 0.58rem;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255, 49, 72, 0.08), transparent 72%),
    linear-gradient(135deg, rgba(45, 48, 56, 0.98), rgba(29, 31, 37, 0.98));
}

.video-card--primary {
  min-height: 106px;
  padding: 0.8rem 1.25rem;
  border-color: rgba(255, 49, 72, 0.2);
  background:
    radial-gradient(300px 180px at 100% 0%, rgba(255, 49, 72, 0.18), transparent 72%),
    linear-gradient(135deg, rgba(57, 40, 45, 0.98), rgba(30, 31, 37, 0.99));
}

.video-card--important {
  min-height: 110px;
}

.video-card--group {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.video-card--normal {
  min-height: 58px;
  padding: 0.58rem 0.7rem 0.62rem;
  border-color: rgba(175, 195, 216, 0.12);
  background:
    radial-gradient(180px 110px at 100% 0%, rgba(107, 122, 148, 0.12), transparent 72%),
    linear-gradient(135deg, rgba(49, 53, 61, 0.98), rgba(33, 36, 42, 0.98));
}

.video-card-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
}

.video-card--primary .video-card-body {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.86rem;
}

.video-card--normal .video-card-body {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.55rem;
}

.youtube-play {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.video-card--primary .youtube-play {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.video-card--normal .youtube-play {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

.youtube-play-icon {
  width: 24px;
  height: 24px;
  fill: #ff3148;
  transform: translateX(1px);
}

.video-copy {
  display: grid;
  gap: 0.18rem;
}

.promo-link-label {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-copy strong,
.promo-link strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.video-card--primary .video-copy strong {
  font-size: 1rem;
}

.video-copy span:last-child {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.video-card--normal .video-copy {
  gap: 0.06rem;
}

.video-card--normal .video-copy strong {
  font-size: 0.8rem;
}

.video-card--normal .video-copy span:last-child {
  font-size: 0.64rem;
  line-height: 1.4;
}

.promo-link {
  min-height: 74px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.18rem;
  background:
    linear-gradient(135deg, #285d86, #2b7fa5 58%, #225b89);
  border-color: rgba(255, 255, 255, 0.18);
}

.promo-link-label {
  color: rgba(232, 245, 255, 0.74);
}

.promo-link::before,
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%);
}

.app-main {
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.hero,
.selector-section,
.summary-section,
.panel-section,
.note-board {
  margin-bottom: 1.2rem;
}

.timeline-preface {
  margin: 0 0 0.68rem;
  padding: 0.78rem 0.92rem;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  background: color-mix(in srgb, var(--surface) 74%, white);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.95fr);
  gap: 1rem;
}

.hero-copy,
.summary-card,
.important-card,
.resource-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 92%, white);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 1.5rem;
  background:
    radial-gradient(320px 200px at 100% 0%, rgba(84, 117, 148, 0.1), transparent 72%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.hero h2 {
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 0.9rem 0 0;
  line-height: 1.8;
  color: var(--text-muted);
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-chip,
.meta-chip,
.detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.36rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, white);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-chip {
  background: color-mix(in srgb, var(--accent-soft) 60%, white);
  color: color-mix(in srgb, var(--accent-strong) 72%, var(--text));
}

.hero-chip--soft {
  background: color-mix(in srgb, var(--bg) 78%, white);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.action-btn {
  min-height: 46px;
  padding: 0.78rem 1rem;
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface) 72%, white);
  border: 1px solid var(--border);
  font-weight: 700;
}

.action-btn--primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 76%, #8fb6d5));
  color: #fff;
  border-color: transparent;
}

.hero-side {
  display: flex;
}

.priority-card {
  width: 100%;
  align-self: stretch;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(167, 109, 60, 0.14), transparent 72%),
    color-mix(in srgb, var(--surface) 74%, white);
  border: 1px dashed color-mix(in srgb, var(--accent-warm) 28%, var(--border));
  box-shadow: var(--shadow);
}

.priority-card strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.04rem;
}

.priority-card p:last-child {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.section-heading h2 {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.selector-stack {
  display: grid;
  gap: 0.85rem;
}

.selector-group {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 92%, white);
  box-shadow: var(--shadow-soft);
}

.selector-group--compact {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.selector-group--plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.selector-section--compact {
  margin-bottom: 0.7rem;
}

.selector-label {
  margin: 0;
  font-size: 0.7rem;
  white-space: nowrap;
}

.selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  flex-wrap: wrap;
}

.selector-inline-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.selector-inline-group .segmented {
  gap: 0.38rem;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.segmented-btn {
  min-height: 44px;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 72%, white);
  border: 1px solid var(--border);
  font-weight: 700;
}

.segmented-btn--day {
  padding-inline: 0.92rem;
}

.segmented-btn--small {
  min-height: 32px;
  padding: 0.34rem 0.68rem;
  border-radius: 11px;
  font-size: 0.78rem;
}

.segmented-btn--compact {
  min-height: 40px;
  padding: 0.62rem 0.8rem;
  font-size: 0.88rem;
}

.segmented-btn.is-active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, white), color-mix(in srgb, var(--accent) 62%, white));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 18px rgba(78, 117, 148, 0.22);
}

.segmented-count {
  min-width: 1.8rem;
  padding: 0.12rem 0.36rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.segmented-btn.is-active .segmented-count {
  background: rgba(255, 255, 255, 0.16);
}

.summary-grid,
.content-grid,
.important-grid,
.resource-grid {
  display: grid;
  gap: 1rem;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card {
  padding: 1.15rem;
}

.summary-card--focus {
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(84, 117, 148, 0.12), transparent 72%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.summary-card--deadline {
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(180, 76, 95, 0.12), transparent 72%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.summary-card--materials {
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(167, 109, 60, 0.12), transparent 72%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.summary-title {
  display: block;
  margin-top: 0.32rem;
  font-size: 1.02rem;
}

.summary-copy,
.note-copy {
  margin: 0.62rem 0 0;
  line-height: 1.8;
  color: var(--text-muted);
}

.summary-list,
.important-list,
.detail-list {
  margin: 0.72rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.content-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: start;
}

.content-grid--lower {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paper-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--paper-edge);
  background:
    linear-gradient(to bottom, transparent 23px, color-mix(in srgb, var(--line) 78%, transparent) 24px),
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 97%, white), var(--paper));
  background-size: 100% 24px, auto;
  box-shadow: var(--shadow);
}

.paper-shell--tight {
  padding: 1rem;
}

.paper-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 8% 0%, rgba(255, 255, 255, 0.76), transparent 72%),
    radial-gradient(700px 320px at 100% 100%, rgba(0, 0, 0, 0.04), transparent 70%);
  pointer-events: none;
}

.paper-shell-photo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(34%, 220px);
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  opacity: 0.22;
  transform: rotate(6deg);
  box-shadow: 0 16px 32px rgba(49, 37, 23, 0.12);
  pointer-events: none;
}

.paper-shell-photo-image {
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

.paper-meta,
.timeline,
.checklist-grid {
  position: relative;
  z-index: 1;
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.timeline-slot {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  column-gap: 0.55rem;
}

.timeline-rail {
  position: relative;
  min-height: 100%;
  display: flex;
  justify-content: center;
}

.timeline-rail-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 82%, white);
  border: 2px solid var(--surface-strong);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, var(--border));
  z-index: 1;
}

.timeline-rail-line {
  position: absolute;
  top: 0.92rem;
  bottom: -1rem;
  width: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 24%, var(--border));
}

.timeline-slot:last-child .timeline-rail-line {
  bottom: 0.3rem;
}

.timeline-slot-body {
  min-width: 0;
  display: grid;
  gap: 0.72rem;
}

.timeline-slot-meta {
  margin-left: -0.28rem;
}

.time-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-soft) 54%, white);
  color: color-mix(in srgb, var(--accent-strong) 72%, var(--text));
  font-size: 0.82rem;
  font-weight: 800;
}

.time-pill--slot {
  font-size: 0.95rem;
  background: transparent;
  color: var(--text);
}

.timeline-item {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  text-align: left;
  background: color-mix(in srgb, var(--surface-strong) 94%, white);
  border: 1px solid color-mix(in srgb, var(--border) 78%, white);
  box-shadow:
    0 10px 16px rgba(49, 37, 23, 0.14),
    0 2px 5px rgba(49, 37, 23, 0.08);
}

.timeline-head,
.board-item-head,
.detail-meta,
.detail-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.attr-badge,
.importance-badge,
.resource-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.attr-event,
.attr-guidance,
.attr-course,
.attr-career,
.attr-default {
  background: rgba(78, 117, 148, 0.12);
  color: #3f6481;
}

.attr-submit,
.attr-attention {
  background: rgba(180, 76, 95, 0.12);
  color: #9d4051;
}

.attr-break {
  background: rgba(167, 109, 60, 0.12);
  color: #8a5930;
}

.attr-scholarship {
  background: rgba(47, 119, 94, 0.12);
  color: #2b6e57;
}

.timeline-title,
.board-item-title {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.timeline-detail,
.board-item-copy,
.timeline-preview {
  margin: 0.48rem 0 0;
  line-height: 1.75;
}

.timeline-detail,
.board-item-copy {
  color: var(--text-muted);
}

.timeline-preview {
  color: color-mix(in srgb, var(--accent-strong) 64%, var(--text));
  font-size: 0.88rem;
  font-weight: 700;
}

.timeline-open,
.board-item-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  margin-top: 0.85rem;
  color: color-mix(in srgb, var(--accent-strong) 78%, var(--text));
  font-size: 0.84rem;
  font-weight: 800;
}

.timeline-open::after,
.board-item-open::after,
.detail-link::after,
.resource-card::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.attachment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.attachment-thumb {
  width: 76px;
  padding: 0.35rem;
  display: grid;
  gap: 0.3rem;
  justify-items: start;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--border));
  background: color-mix(in srgb, var(--surface) 72%, white);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.attachment-thumb img {
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--border) 72%, white);
}

.attachment-thumb-label {
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-muted);
}

.attachment-strip--detail .attachment-thumb {
  width: 88px;
}

.checklist-grid {
  display: grid;
  gap: 0.8rem;
}

.qa-card {
  width: 100%;
  padding: 0.2rem 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  text-align: left;
  background: transparent;
  border: 0;
}

.qa-card--static {
  cursor: default;
}

.qa-avatar {
  width: 44px;
  height: 44px;
  margin-top: 0.55rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 80%, white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: color-mix(in srgb, var(--accent-strong) 76%, var(--text));
}

.qa-avatar-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qa-bubble {
  position: relative;
  padding: 0.95rem 1rem 0.9rem;
  display: grid;
  gap: 0.28rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 96%, white);
  box-shadow: var(--shadow-soft);
}

.qa-bubble::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: inherit;
  transform: rotate(45deg);
}

.qa-bubble--static {
  gap: 0;
}

.qa-kicker {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.qa-question {
  font-size: 0.98rem;
  line-height: 1.55;
}

.qa-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--text-muted) 86%, white);
}

.qa-card--high .qa-bubble {
  border-color: rgba(167, 109, 60, 0.28);
}

.qa-card--critical .qa-bubble {
  border-color: rgba(180, 76, 95, 0.36);
  box-shadow:
    0 14px 26px rgba(180, 76, 95, 0.14),
    var(--shadow-soft);
}

.board-item {
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  text-align: left;
  background: color-mix(in srgb, var(--surface-strong) 94%, white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.board-item-deadline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.timeline-deadline-card {
  margin-top: 1rem;
}

.board-item-list {
  margin: 0.72rem 0 0;
  padding-left: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.importance-badge--critical {
  background: rgba(180, 76, 95, 0.14);
  color: var(--danger);
}

.importance-badge--high {
  background: rgba(167, 109, 60, 0.14);
  color: var(--warning);
}

.importance-badge--normal {
  background: rgba(78, 117, 148, 0.12);
  color: color-mix(in srgb, var(--accent-strong) 82%, var(--text));
}

.board-item.importance-critical {
  border-color: rgba(180, 76, 95, 0.26);
}

.board-item.importance-high {
  border-color: rgba(167, 109, 60, 0.26);
}

.important-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.important-card {
  padding: 1.1rem;
}

.important-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.important-card--accent {
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(78, 117, 148, 0.12), transparent 70%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.important-card--plain {
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(167, 109, 60, 0.1), transparent 70%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
  min-height: 168px;
  padding: 1rem;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  position: relative;
}

.resource-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.resource-title {
  font-size: 1rem;
}

.resource-caption {
  line-height: 1.7;
  color: var(--text-muted);
}

.resource-badge {
  width: fit-content;
  background: color-mix(in srgb, var(--accent-soft) 58%, white);
  color: color-mix(in srgb, var(--accent-strong) 76%, var(--text));
}

.resource-spotlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #b44c5f, #d98362);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 18px rgba(180, 76, 95, 0.22);
}

.resource-note {
  margin: -0.1rem 0 0;
  padding: 0.48rem 0.6rem;
  border-radius: 14px;
  background: rgba(180, 76, 95, 0.08);
  color: color-mix(in srgb, var(--danger) 88%, var(--text));
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.resource-card--featured {
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(180, 76, 95, 0.12), transparent 70%),
    color-mix(in srgb, var(--surface-strong) 94%, white);
  border-color: color-mix(in srgb, var(--danger) 24%, var(--border));
  box-shadow:
    0 16px 28px rgba(180, 76, 95, 0.14),
    var(--shadow);
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.6rem 0 0.4rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(680px, calc(100% - 20px));
  padding: 0.55rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 32px rgba(27, 35, 44, 0.16);
}

.dock-item {
  min-height: 56px;
  padding: 0.5rem 0.3rem;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  border-radius: 18px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.dock-main,
.dock-item.is-active {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #8fb6d5));
  color: #fff;
  box-shadow: 0 12px 24px rgba(78, 117, 148, 0.28);
}

.dock-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 31, 0.5);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 96%, white);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.26);
}

.modal-close {
  position: sticky;
  top: 0;
  left: calc(100% - 48px);
  width: 44px;
  height: 44px;
  margin: 0.8rem 0.8rem 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 72%, white);
  border: 1px solid var(--border);
  z-index: 1;
}

.detail-modal {
  padding: 0 1.15rem 1.3rem;
}

.modal-title {
  font-size: 1.28rem;
}

.modal-copy {
  margin: 0.8rem 0 0;
  line-height: 1.82;
  color: var(--text-muted);
}

.detail-meta {
  margin-top: 0.75rem;
}

.detail-answer-heading {
  margin: 0.95rem 0 0;
  font-size: 0.92rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--accent-strong) 78%, var(--text));
}

.detail-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.detail-section h3 {
  margin: 0;
  font-size: 0.96rem;
}

.detail-links {
  margin-top: 0.7rem;
}

.video-group-links {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.65rem;
}

.video-group-link {
  display: grid;
  gap: 0.16rem;
  padding: 0.82rem 0.92rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255, 49, 72, 0.08), transparent 72%),
    linear-gradient(135deg, rgba(45, 48, 56, 0.98), rgba(29, 31, 37, 0.98));
  box-shadow: 0 10px 20px rgba(6, 7, 9, 0.18);
  color: #fff;
  text-decoration: none;
}

.video-group-link-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.38rem 0.48rem;
}

.video-group-link strong {
  flex: 1 1 220px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.video-group-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.18rem 0.54rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8c85a, #f29b4b);
  color: #37230f;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 16px rgba(242, 155, 75, 0.18);
}

.video-group-link span {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.detail-video-card {
  width: 100%;
  margin-top: 0.72rem;
  text-decoration: none;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  background: color-mix(in srgb, var(--surface) 72%, white);
  color: color-mix(in srgb, var(--accent-strong) 78%, var(--text));
  font-weight: 800;
}

.detail-callout {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-weight: 800;
  line-height: 1.65;
}

.detail-callout--high {
  border-color: rgba(167, 109, 60, 0.34);
  background: rgba(167, 109, 60, 0.08);
  color: color-mix(in srgb, var(--warning) 88%, var(--text));
}

.detail-callout--critical {
  border-color: rgba(180, 76, 95, 0.42);
  background: rgba(180, 76, 95, 0.09);
  color: color-mix(in srgb, var(--danger) 92%, var(--text));
}

.image-modal {
  padding: 0 1.15rem 1.3rem;
}

.image-viewer {
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 72%, white);
}

.image-viewer-image {
  width: 100%;
  max-height: calc(100dvh - 220px);
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.image-viewer figcaption {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.empty-state,
.noscript-banner {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-strong) 94%, white);
  color: var(--text-muted);
  line-height: 1.7;
}

.noscript-banner {
  margin: 1rem auto 0;
  width: min(var(--content-w), calc(100% - 32px));
  background: #8e2838;
  color: #fff;
}

.icon-btn:hover,
.action-btn:hover,
.segmented-btn:hover,
.timeline-item--button:hover,
.qa-card:hover,
.board-item:hover,
.settings-toggle:hover,
.dock-item:hover,
.modal-close:hover,
.video-card:hover,
.video-group-link:hover,
.promo-link:hover,
.resource-card:hover,
.detail-link:hover,
.attachment-thumb:hover {
  transform: translateY(-1px);
}

.qa-card--static:hover {
  transform: none;
}

.icon-btn,
.action-btn,
.segmented-btn,
.timeline-item--button,
.qa-card,
.board-item,
.settings-toggle,
.dock-item,
.modal-close,
.video-card,
.video-group-link,
.promo-link,
.resource-card,
.detail-link,
.attachment-thumb {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.icon-btn:focus-visible,
.action-btn:focus-visible,
.segmented-btn:focus-visible,
.timeline-item--button:focus-visible,
.qa-card:focus-visible,
.board-item:focus-visible,
.settings-toggle:focus-visible,
.dock-item:focus-visible,
.modal-close:focus-visible,
.video-card:focus-visible,
.video-group-link:focus-visible,
.promo-link:focus-visible,
.resource-card:focus-visible,
.detail-link:focus-visible,
.attachment-thumb:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 32%, white);
  outline-offset: 2px;
}

body.is-large-text .hero-lead,
body.is-large-text .summary-copy,
body.is-large-text .timeline-detail,
body.is-large-text .board-item-copy,
body.is-large-text .qa-question,
body.is-large-text .note-copy,
body.is-large-text .modal-copy,
body.is-large-text .detail-list,
body.is-large-text .board-item-list,
body.is-large-text .summary-list,
body.is-large-text .important-list {
  font-size: 1.02rem;
  line-height: 1.9;
}

body.is-large-text .video-copy strong,
body.is-large-text .promo-link strong {
  font-size: 1rem;
}

body.is-large-text .video-copy span:last-child {
  font-size: 0.82rem;
  line-height: 1.55;
}

body.is-large-text .video-card--primary .video-copy strong {
  font-size: 1.08rem;
}

body.is-large-text .promo-link-label {
  font-size: 0.7rem;
}

body.is-large-text .video-card--normal .video-copy strong {
  font-size: 0.88rem;
}

body.is-large-text .video-card--normal .video-copy span:last-child {
  font-size: 0.7rem;
  line-height: 1.4;
}

body.theme-dark .ambient-line {
  stroke: rgba(143, 171, 198, 0.18);
}

body.theme-dark .ambient-line--soft {
  stroke: rgba(143, 171, 198, 0.1);
}

body.theme-dark .icon-btn,
body.theme-dark .settings-panel,
body.theme-dark .selector-group,
body.theme-dark .hero-copy,
body.theme-dark .summary-card,
body.theme-dark .resource-card,
body.theme-dark .important-card,
body.theme-dark .qa-bubble,
body.theme-dark .timeline-item,
body.theme-dark .board-item,
body.theme-dark .modal-dialog {
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
}

body.theme-dark .priority-card {
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(167, 109, 60, 0.16), transparent 72%),
    color-mix(in srgb, var(--surface) 76%, transparent);
}

body.theme-dark .paper-shell {
  background:
    linear-gradient(to bottom, transparent 23px, color-mix(in srgb, var(--line) 88%, transparent) 24px),
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 98%, #17202a), var(--paper));
}

body.theme-dark .paper-shell::before {
  background:
    radial-gradient(600px 240px at 8% 0%, rgba(255, 255, 255, 0.05), transparent 72%),
    radial-gradient(700px 320px at 100% 100%, rgba(0, 0, 0, 0.18), transparent 70%);
}

body.theme-dark .hero-chip,
body.theme-dark .meta-chip,
body.theme-dark .detail-chip,
body.theme-dark .time-pill,
body.theme-dark .segmented-btn,
body.theme-dark .settings-toggle,
body.theme-dark .icon-btn,
body.theme-dark .qa-avatar,
body.theme-dark .detail-link,
body.theme-dark .attachment-thumb,
body.theme-dark .image-viewer {
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

body.theme-dark .dock-item {
  color: var(--text-muted);
}

body.theme-dark .dock-item.is-active {
  color: #fff;
}

@media (max-width: 980px) {
  .hero,
  .content-grid,
  .content-grid--lower,
  .summary-grid,
  .important-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 981px) {
  body {
    padding-bottom: 3rem;
  }

  .topbar-inner,
  .promo-bar-inner,
  .app-main {
    width: min(var(--content-w), calc(100% - 220px));
  }

  .mobile-dock {
    left: 18px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 88px;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 18px;
  }

  .dock-item {
    min-height: 66px;
    padding: 0.55rem 0.35rem;
    font-size: 0.68rem;
    border-radius: 14px;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .promo-bar-inner,
  .app-main {
    width: min(var(--content-w), calc(100% - 22px));
  }

  .topbar-inner {
    gap: 0.7rem;
    padding: 0.65rem 0;
  }

  .hero-copy,
  .summary-card,
  .paper-shell,
  .important-card,
  .resource-card {
    border-radius: 22px;
  }

  .hero-copy,
  .summary-card,
  .resource-card,
  .important-card,
  .paper-shell {
    padding: 1rem;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .resource-card {
    min-height: 0;
    gap: 0.55rem;
  }

  .resource-title {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .resource-note,
  .resource-caption {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .resource-spotlight {
    font-size: 0.67rem;
    padding-inline: 0.52rem;
  }

  .selector-bar {
    align-items: flex-start;
    gap: 0.45rem 0.8rem;
  }

  .selector-inline-group {
    gap: 0.38rem;
  }

  .selector-inline-group .segmented {
    gap: 0.32rem;
  }

  .segmented-btn--small {
    min-height: 30px;
    padding: 0.3rem 0.56rem;
    font-size: 0.74rem;
  }

  .promo-bar {
    padding-bottom: 0.75rem;
  }

  .video-shelf {
    padding: 0.72rem;
    border-radius: 18px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .video-card-stack {
    gap: 0.42rem;
  }

  .video-card {
    min-height: 98px;
    padding: 0.78rem 0.8rem 0.82rem;
    border-radius: 14px;
  }

  .video-card--primary {
    min-height: 88px;
    padding: 0.72rem 0.9rem;
  }

  .video-card--normal {
    min-height: 54px;
    padding: 0.5rem 0.6rem 0.54rem;
  }

  .youtube-play {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .video-card-body,
  .video-card--primary .video-card-body {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.62rem;
  }

  .video-card--primary .video-card-body {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.52rem;
  }

  .video-card--primary .youtube-play {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .video-card--normal .video-card-body {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.46rem;
  }

  .video-grid .youtube-play {
    display: none;
  }

  .video-grid .video-card-body,
  .video-grid .video-card--normal .video-card-body {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }

  .video-copy strong,
  .promo-link strong {
    font-size: 0.9rem;
  }

  .video-copy span:last-child,
  .promo-link-label {
    font-size: 0.7rem;
  }

  .video-card--normal .youtube-play {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .promo-link {
    min-height: 68px;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
  }

  body.is-large-text .video-copy strong,
  body.is-large-text .promo-link strong {
    font-size: 0.96rem;
  }

  body.is-large-text .promo-link-label,
  body.is-large-text .video-copy span:last-child {
    font-size: 0.76rem;
  }

  body.is-large-text .video-card--primary .video-copy strong {
    font-size: 1rem;
  }

  body.is-large-text .video-card--normal .video-copy strong {
    font-size: 0.84rem;
  }

  body.is-large-text .video-card--normal .video-copy span:last-child {
    font-size: 0.68rem;
  }

  .qa-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .qa-avatar {
    width: 36px;
    height: 36px;
    margin-top: 0.62rem;
  }

  .qa-bubble {
    padding: 0.82rem 0.85rem 0.78rem;
  }

  .qa-question {
    font-size: 0.92rem;
  }

  .hero h2 {
    font-size: 1.55rem;
  }

  .mobile-dock {
    width: calc(100% - 14px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.4rem;
    border-radius: 20px;
  }

  .dock-item {
    min-height: 52px;
    font-size: 0.68rem;
  }

  .modal {
    padding: 12px 10px;
  }

  .modal-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }

  .paper-shell-photo {
    display: none;
  }
}
