:root {
  --ink: #18332e;
  --muted: #68736f;
  --paper: #f6f3e9;
  --card: #fffdf6;
  --line: #dedbcf;
  --green: #174d40;
  --green-2: #dce9df;
  --orange: #ec7747;
  --yellow: #f4d66b;
  --shadow: 0 18px 45px rgba(31, 51, 45, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(244, 214, 107, 0.18), transparent 28%),
    var(--paper);
  font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 30px 22px;
  display: flex; flex-direction: column; color: #f9f7ee; background: var(--green);
}
.brand { display: flex; gap: 12px; align-items: center; margin: 0 6px 38px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.22); border-radius: 13px; color: var(--green);
  background: var(--yellow); font-weight: 900; letter-spacing: -.04em;
}
.brand strong { display: block; font-size: 16px; }
.eyebrow { display: block; margin-bottom: 5px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.brand .eyebrow { color: #b9d5ca; }
.primary-nav { display: grid; gap: 5px; }
.nav-button {
  width: 100%; padding: 11px 12px; display: flex; gap: 12px; align-items: center;
  border: 0; border-radius: 11px; color: #dfe9e4; background: transparent; text-align: left; cursor: pointer;
}
.nav-button:hover { background: rgba(255,255,255,.08); }
.nav-button.active { color: var(--ink); background: var(--card); font-weight: 750; }
.nav-icon { width: 24px; text-align: center; font-weight: 800; }
.sidebar-foot { margin-top: auto; padding: 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05); }
.sidebar-foot p { margin: 8px 0 0; color: #b9d5ca; font-size: 12px; }
.status-dot-row { display: flex; gap: 9px; align-items: center; font-size: 13px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #8cdda8; box-shadow: 0 0 0 4px rgba(140,221,168,.12); }

.main { min-width: 0; }
.topbar {
  min-height: 112px; padding: 28px 46px 24px; display: flex; align-items: center; gap: 18px;
  border-bottom: 1px solid var(--line); background: rgba(246,243,233,.82); backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 10;
}
.topbar h1 { margin: 0; font: 700 clamp(25px, 3vw, 34px)/1.05 Georgia, serif; }
.topbar-actions { margin-left: auto; display: flex; gap: 9px; }
.primary-button, .secondary-button, .small-button, .icon-button {
  border: 0; border-radius: 10px; cursor: pointer; text-decoration: none; font-weight: 750;
}
.primary-button, .secondary-button { padding: 11px 15px; }
.primary-button { color: white; background: var(--green); }
.primary-button:hover { background: #0d3e33; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.small-button { padding: 7px 10px; color: var(--green); background: var(--green-2); font-size: 12px; }
.small-button.active { color: white; background: var(--green); }
.icon-button { width: 40px; height: 40px; background: var(--card); }
.menu-button { display: none; }
.view { max-width: 1320px; margin: 0 auto; padding: 42px 46px 80px; }

.hero {
  position: relative; overflow: hidden; min-height: 260px; padding: clamp(26px, 5vw, 52px);
  border-radius: 26px; color: white; background: var(--green); box-shadow: var(--shadow);
}
.hero::after { content: ""; position: absolute; right: -55px; bottom: -95px; width: 310px; height: 310px; border: 58px solid rgba(244,214,107,.17); border-radius: 50%; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--yellow); }
.hero h2 { max-width: 730px; margin-bottom: 14px; font: 700 clamp(32px, 5vw, 57px)/1 Georgia, serif; }
.hero p { max-width: 690px; color: #d8e8e1; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero-actions .primary-button { color: var(--ink); background: var(--yellow); }
.hero-actions .secondary-button { color: white; background: transparent; border-color: rgba(255,255,255,.32); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section { margin-top: 34px; }
.section-heading { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.section-heading h2 { margin: 0; font: 700 26px/1.1 Georgia, serif; }
.section-heading p { margin: 5px 0 0; color: var(--muted); }
.card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 8px 24px rgba(31,51,45,.035); }
.card h3 { margin-bottom: 9px; font-size: 18px; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.stat { padding: 22px; }
.stat strong { display: block; margin: 3px 0; font: 700 34px/1 Georgia, serif; }
.stat span:last-child { color: var(--muted); font-size: 13px; }
.progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: #e5e5dc; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--orange); transition: width .3s ease; }
.callout { border-left: 4px solid var(--orange); }
.quote { color: var(--green); font: 700 23px/1.35 Georgia, serif; }

.note-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.note-section:last-child { border-bottom: 0; }
.note-section h3 { font: 700 21px/1.2 Georgia, serif; }
.check-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.check-list li, .plain-list li { position: relative; padding: 9px 0 9px 29px; border-bottom: 1px dashed var(--line); }
.check-list li:last-child, .plain-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.plain-list li::before { content: "→"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.tag, .status-pill { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tag { color: var(--green); background: var(--green-2); }
.status-pill { color: #765920; background: #f7e9b4; }
.status-pill.complete, .status-pill.read { color: #24613c; background: #dceedd; }
.status-pill.next, .status-pill.reading { color: #9b4727; background: #ffe0d2; }

.lecture-card { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 16px; align-items: start; }
.lecture-number { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; color: white; background: var(--green); font: 700 22px Georgia, serif; }
.lecture-card h3 { margin-bottom: 4px; }
.lecture-card p { margin-bottom: 10px; }
.paper-count { color: var(--muted); font-size: 12px; }

.toolbar { margin-bottom: 18px; padding: 12px; display: flex; flex-wrap: wrap; gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.search-input { min-width: 220px; flex: 1; }
.paper-card { display: flex; gap: 16px; align-items: flex-start; }
.paper-index { width: 34px; flex: 0 0 auto; color: var(--orange); font: 700 18px Georgia, serif; }
.paper-body { min-width: 0; flex: 1; }
.paper-card h3 { font-size: 16px; line-height: 1.35; }
.paper-meta { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.paper-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.paper-actions a { padding: 7px 10px; border-radius: 8px; color: var(--ink); background: #eeeade; text-decoration: none; font-size: 12px; font-weight: 750; }
.reading-protocol { margin-bottom: 38px; padding: 25px 0 31px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reading-protocol h2 { margin: 8px 0 7px; font-family: Georgia, serif; }
.protocol-list { margin: 24px 0 0; padding: 0; list-style: none; }
.protocol-list li { padding: 10px 0; display: grid; grid-template-columns: 170px 1fr; gap: 18px; border-bottom: 1px dotted rgba(62, 69, 65, .28); }
.protocol-list li:last-child { border-bottom: 0; }
.protocol-list strong { font: 700 14px Georgia, serif; }
.protocol-list span { color: var(--muted); font-size: 14px; }
.paper-notes { margin-top: 20px; padding-top: 18px; border-top: 1px dotted rgba(62, 69, 65, .35); }
.paper-notes > div { margin-bottom: 17px; }
.paper-notes strong { color: var(--green); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.paper-notes p { margin: 5px 0 0; color: var(--muted); font: 15px/1.65 Georgia, serif; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
input, textarea, select {
  width: 100%; border: 1px solid #d3d0c5; border-radius: 10px; color: var(--ink); background: #fffefa; outline: none;
}
input, select { min-height: 43px; padding: 9px 12px; }
textarea { min-height: 125px; padding: 12px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(236,119,71,.12); }
.autosave { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.autosave::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #69a47d; }
.assignment-card { position: relative; }
.assignment-head { display: flex; justify-content: space-between; gap: 12px; }
.assignment-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.assignment-notes { min-height: 95px; margin-top: 12px; }
.glossary-term { font: 700 20px Georgia, serif; }
.prose-field { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; }
.prose-field h3 { margin-bottom: 7px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.prose-field p { margin: 0; white-space: pre-wrap; }
.team-pitch { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fffefa; font: inherit; white-space: pre-wrap; }

.empty { padding: 46px 20px; text-align: center; color: var(--muted); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 11px 15px; border-radius: 10px; color: white; background: #102f28; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-scrim { display: none; }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .topbar { padding-inline: 28px; }
  .view { padding-inline: 28px; }
  .topbar-actions .secondary-button { display: none; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; left: 0; z-index: 30; width: 270px; transform: translateX(-105%); transition: transform .22s ease; box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: translateX(0); }
  .menu-button { display: block; }
  .topbar { min-height: 88px; padding: 18px; }
  .topbar .eyebrow { display: none; }
  .topbar-actions .primary-button { display: none; }
  .view { padding: 24px 18px 60px; }
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .lecture-card { grid-template-columns: 50px 1fr; }
  .lecture-number { width: 44px; height: 44px; }
  .lecture-card > .status-pill { grid-column: 2; justify-self: start; }
  .hero { min-height: auto; }
  .hero h2 { font-size: 36px; }
  .paper-card { gap: 9px; }
  .section-heading { align-items: start; flex-direction: column; }
}

/* Living notebook theme */
:root {
  --ink: #24322d;
  --muted: #69716d;
  --paper: #fffef7;
  --card: rgba(255, 254, 247, 0.82);
  --line: #d8d3c5;
  --green: #2f4c42;
  --green-2: #e4ebe5;
  --orange: #b65f48;
  --yellow: #e7cf78;
  --shadow: 0 22px 55px rgba(54, 45, 31, 0.16);
  --radius: 5px;
}

body {
  background-color: #d9d1c0;
  background-image:
    radial-gradient(rgba(65, 54, 36, 0.08) 0.7px, transparent 0.7px),
    linear-gradient(115deg, rgba(255,255,255,.2), transparent 38%);
  background-size: 6px 6px, 100% 100%;
  font-family: "Avenir Next", Avenir, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell { grid-template-columns: 246px minmax(0, 1fr); }
.sidebar {
  padding: 30px 18px 24px;
  color: #f6f1e4;
  background-color: #34483f;
  background-image: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 5px 100%;
  box-shadow: 8px 0 22px rgba(51, 42, 27, .12);
}
.brand { margin: 0 8px 39px; }
.brand-mark {
  width: 42px; height: 48px; border: 0; border-radius: 3px 8px 8px 3px;
  color: #34483f; background: #efe4b3; font: 800 13px Georgia, serif;
  box-shadow: inset 4px 0 rgba(182,95,72,.35);
}
.brand strong { font-family: Georgia, serif; font-size: 17px; }
.brand .eyebrow { color: #c9d4ce; }
.primary-nav { gap: 2px; }
.nav-button {
  position: relative; padding: 12px 13px; border-radius: 3px 0 0 3px;
  color: #dbe3dd; font-family: Georgia, serif;
}
.nav-button.active {
  width: calc(100% + 18px); color: var(--ink); background: #fffef7;
  box-shadow: -4px 5px 12px rgba(20,29,25,.13);
}
.nav-button.active::after {
  content: ""; position: absolute; right: 0; bottom: -7px;
  border-width: 7px 0 0 10px; border-style: solid; border-color: transparent transparent transparent #c8c1b1;
}
.sidebar-foot { border-radius: 3px; background: rgba(255,255,255,.035); }

.main { min-width: 0; }
.topbar {
  position: relative; max-width: 1120px; min-height: 98px; margin: 0 auto; padding: 24px 35px 15px;
  border: 0; background: transparent; backdrop-filter: none;
}
.topbar h1 { font-size: 27px; }
.topbar .eyebrow { color: #725f4a; }
.primary-button, .secondary-button, .small-button, .icon-button { border-radius: 3px; }
.secondary-button { background: rgba(255,254,247,.72); border-color: #bbb3a3; }
.view { max-width: 1120px; padding: 0 34px 70px; }

.notebook-page {
  position: relative; min-height: calc(100vh - 138px); overflow: hidden;
  padding: 62px 66px 36px 94px;
  background-color: #fffef7;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 30px,
    rgba(81, 139, 177, .13) 30px,
    rgba(81, 139, 177, .13) 31px
  );
  border: 1px solid #cac3b4; border-radius: 3px 10px 10px 3px;
  box-shadow: var(--shadow), inset 8px 0 15px rgba(86, 72, 49, .035);
}
.notebook-page::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 69px; width: 1px;
  background: rgba(190, 79, 75, .33); box-shadow: 4px 0 rgba(190, 79, 75, .12);
}
.notebook-page::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 0; height: 0; border-style: solid; border-width: 0 0 25px 25px;
  border-color: transparent transparent #e2dccd transparent;
  filter: drop-shadow(-2px -2px 2px rgba(50,40,25,.06));
}
.page-content { position: relative; z-index: 1; }
.binder-holes {
  position: absolute; z-index: 2; top: 50px; bottom: 50px; left: 19px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.binder-holes i {
  width: 15px; height: 15px; display: block; border: 1px solid #b9b09f; border-radius: 50%;
  background: #d8d0bf; box-shadow: inset 2px 2px 3px rgba(58,48,32,.18), 1px 1px white;
}

.notebook-page .hero {
  min-height: auto; padding: 0 0 34px; overflow: visible; border-bottom: 2px solid rgba(47,76,66,.5);
  border-radius: 0; color: var(--ink); background: transparent; box-shadow: none;
}
.notebook-page .hero::after { display: none; }
.notebook-page .hero h2 { max-width: 760px; margin-bottom: 13px; font-size: clamp(34px, 5vw, 55px); }
.notebook-page .hero p { color: var(--muted); }
.notebook-page .hero .eyebrow { color: var(--orange); }
.notebook-page .hero-actions .primary-button { color: white; background: var(--green); }
.notebook-page .hero-actions .secondary-button { color: var(--ink); border-color: #bcb5a5; background: transparent; }

.notebook-page .card {
  border: 1px solid rgba(185, 179, 164, .72); border-radius: 4px;
  background: rgba(255, 254, 247, .88); box-shadow: 3px 4px 0 rgba(93, 81, 60, .055);
}
.notebook-page .stat { box-shadow: none; border-top: 3px solid var(--green); }
.notebook-page .section { margin-top: 42px; }
.notebook-page .section-heading h2, .notebook-page .card > h2 { font-family: Georgia, serif; }
.notebook-page .tag, .notebook-page .status-pill { border-radius: 2px; }
.notebook-page .toolbar { padding: 0 0 15px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.notebook-page .small-button { border: 1px solid #c7c1b3; background: #f9f6e9; }
.notebook-page .small-button.active { color: white; border-color: var(--green); background: var(--green); }
.lecture-number { border-radius: 50%; font-family: Georgia, serif; }
.prose-field, .team-pitch { border-radius: 3px; background: rgba(255,254,247,.9); }

.page-footer {
  position: relative; z-index: 2; margin-top: 68px; padding-top: 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  border-top: 1px solid rgba(84,103,94,.35);
}
.page-footer > div:last-child { text-align: right; }
.page-number { color: #8a8172; font: italic 13px Georgia, serif; }
.page-turn {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 0;
  border: 0; color: var(--green); background: transparent; cursor: pointer;
  font: 700 14px Georgia, serif;
}
.page-turn:hover { color: var(--orange); }
.page-turn small { display: block; color: #918878; font: italic 11px Georgia, serif; font-weight: 400; }
.page-turn.previous { text-align: left; }
.page-turn.next { text-align: right; }
.page-turn-placeholder { display: block; width: 50px; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .notebook-page { padding-right: 40px; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .topbar { padding: 17px 18px 13px; }
  .view { padding: 0 10px 35px; }
  .notebook-page { min-height: calc(100vh - 95px); padding: 43px 20px 26px 49px; border-radius: 2px 7px 7px 2px; }
  .notebook-page::before { left: 35px; }
  .binder-holes { left: 9px; top: 35px; bottom: 35px; }
  .binder-holes i { width: 10px; height: 10px; }
  .notebook-page .hero h2 { font-size: 34px; }
  .notebook-page .card { padding: 18px; }
  .page-footer { margin-top: 46px; grid-template-columns: 1fr auto 1fr; }
  .page-turn small { display: none; }
  .page-turn { font-size: 12px; }
}

/* Book mode: no application chrome, only pages */
.app-shell { display: block; }
.main { width: 100%; }
.view { max-width: 920px; margin: 0 auto; padding: 42px 20px 70px; }
.notebook-page { min-height: calc(100vh - 84px); padding: 48px 76px 38px; }
.notebook-page::before { display: none; }
.running-head {
  margin-bottom: 55px; padding-bottom: 9px; display: flex; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid rgba(76, 83, 78, .25); color: #8a8174;
  font: italic 12px Georgia, serif; letter-spacing: .03em;
}
.running-head span:last-child { text-align: right; }
.running-brand { display: inline-flex; align-items: center; gap: 8px; }
.running-brand img { width: 20px; height: 20px; }

.notebook-page .grid-2, .notebook-page .grid-3 { grid-template-columns: 1fr; }
.notebook-page .card {
  padding: 19px 0; border: 0; border-bottom: 1px solid rgba(111, 116, 109, .25);
  border-radius: 0; background: transparent; box-shadow: none;
}
.notebook-page .stat { border-top: 0; }
.notebook-page .callout { padding-left: 22px; border-left: 3px solid var(--orange); }
.notebook-page .paper-card { padding: 18px 0; }
.notebook-page .paper-card h3 a { color: var(--ink); text-decoration-color: rgba(36,50,45,.28); text-underline-offset: 3px; }
.notebook-page .paper-card h3 a:hover { color: var(--orange); }
.lecture-card h3 a { color: var(--ink); text-decoration-color: rgba(36,50,45,.28); text-underline-offset: 4px; }
.lecture-card h3 a:hover { color: var(--orange); }
.lecture-topics { margin: 13px 0 0; padding-left: 19px; color: var(--muted); }
.lecture-topics li { margin: 4px 0; }
.assignment-card h3 a { color: var(--ink); text-decoration-color: rgba(36,50,45,.28); text-underline-offset: 4px; }
.assignment-card h3 a:hover { color: var(--orange); }
.assignment-parts { margin: 16px 0; padding-left: 21px; color: var(--muted); }
.assignment-parts li { margin: 5px 0; }
.archive-note { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.notebook-page .prose-field { padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.notebook-page .team-pitch { padding: 0; border: 0; background: transparent; }
.source-line { margin: 24px 0 0; color: var(--muted); font: italic 13px Georgia, serif; }
.source-line a { text-underline-offset: 3px; }

.cover-sheet { padding-top: 68px; }
.cover-sheet .running-head { visibility: hidden; margin-bottom: 35px; }
.cover-page { max-width: 620px; min-height: 620px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.cover-logo { width: 190px; height: auto; margin: 0 0 49px; }
.cover-course { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cover-page h2 { margin: 25px 0 22px; font: 700 clamp(58px, 10vw, 94px)/.9 Georgia, serif; letter-spacing: -.065em; }
.cover-subtitle { max-width: 520px; color: var(--muted); font: italic 21px/1.5 Georgia, serif; }
.cover-rule { width: 76px; height: 3px; margin: 31px 0; background: var(--orange); }
.cover-details { margin: 0; }
.cover-details div { display: grid; grid-template-columns: 110px 1fr; padding: 7px 0; }
.cover-details dt { color: #857c6d; font: italic 13px Georgia, serif; }
.cover-details dd { margin: 0; font-size: 13px; }
.cover-note { max-width: 490px; margin: 45px 0 0; color: #5e6862; font: italic 16px/1.7 Georgia, serif; }

.contents-page { max-width: 650px; min-height: 590px; margin: 0 auto; }
.contents-page h2 { margin: 14px 0 64px; font: 700 clamp(43px, 7vw, 68px)/1 Georgia, serif; letter-spacing: -.045em; }
.contents-list { margin: 0; padding: 0; list-style: none; counter-reset: contents; }
.contents-list li { margin: 0 0 13px; }
.contents-link { width: 100%; padding: 6px 0; display: flex; align-items: baseline; gap: 13px; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; font: 18px Georgia, serif; }
.contents-link i { flex: 1; min-width: 24px; border-bottom: 1px dotted rgba(62, 69, 65, .45); }
.contents-link strong { color: #756d60; font: 400 italic 15px Georgia, serif; }
.contents-link:hover span, .contents-link:focus-visible span { color: var(--orange); }
.contents-link:focus-visible { outline: 1px solid var(--orange); outline-offset: 5px; }

.author-page { max-width: 690px; margin: 0 auto; }
.author-page h2 { margin: 14px 0 8px; font: 700 clamp(43px, 7vw, 68px)/1 Georgia, serif; letter-spacing: -.045em; }
.author-role { margin-bottom: 48px; color: var(--muted); font: italic 17px Georgia, serif; }
.author-prose { font: 18px/1.85 Georgia, serif; }
.author-prose p { margin-bottom: 29px; }
.author-prose blockquote { margin: 45px 0 0; padding: 2px 0 2px 28px; border-left: 3px solid var(--orange); color: #48564f; font-style: italic; }
.author-links { display: flex; gap: 9px; align-items: center; }

.page-footer { margin-top: 82px; }
.page-turn { padding: 10px 0; }

@media (max-width: 760px) {
  .view { padding: 10px 5px 28px; }
  .notebook-page { min-height: calc(100vh - 38px); padding: 34px 28px 24px; }
  .running-head { margin-bottom: 40px; }
  .cover-sheet { padding-top: 38px; }
  .cover-page { min-height: 560px; }
  .cover-logo { width: 165px; margin-bottom: 38px; }
  .cover-page h2 { font-size: 60px; }
  .cover-details div { grid-template-columns: 92px 1fr; }
  .protocol-list li { grid-template-columns: 1fr; gap: 4px; }
}
