:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #f9fbfd;
  --text: #173042;
  --muted: #5a6f80;
  --line: #d7e1ea;
  --line-strong: #afbfcd;
  --accent: #325a79;
  --accent-soft: #e8eff5;
  --accent-deep: #223d52;
  --caution-bg: #fbf7f2;
  --caution-line: #dcc6aa;
  --shadow: 0 24px 60px rgba(20, 42, 59, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(121, 153, 180, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 35%, #f3f6f9 100%);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  padding: 3rem 0 1.5rem;
}

.hero {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(215, 225, 234, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 3rem;
}

.eyebrow,
.section-kicker,
.roadmap-step,
.resource-type {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

h1,
h2,
h3,
summary {
  color: var(--accent-deep);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-note {
  color: var(--muted);
}

.subtitle {
  margin: 0.8rem 0 1.2rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-summary {
  max-width: 72ch;
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
}

.boundary-card {
  max-width: 74ch;
  margin: 1rem 0;
  border: 1px solid #d9b86c;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  background: #fffdf4;
}

.hero-note {
  margin: 0;
  font-size: 0.98rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.anchor-nav a,
.view-toggle {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  font-weight: 600;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible,
.view-toggle:hover,
.view-toggle:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.anchor-nav a.private-nav-link {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.page-shell {
  padding-bottom: 5rem;
}

.section {
  padding: 1.25rem 0 0.5rem;
}

.section + .section {
  border-top: 1px solid rgba(175, 191, 205, 0.45);
  margin-top: 1rem;
  padding-top: 2.4rem;
}

.section-accent {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(232, 239, 245, 0.65), rgba(255, 255, 255, 0.8));
}

.section-heading {
  margin-bottom: 1rem;
}

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

h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.glance-grid,
.callout-grid,
.check-grid,
.roadmap-grid {
  display: grid;
  gap: 1rem;
}

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

.summary-card,
.panel,
.check-card,
.roadmap-card,
.resource-item,
.resource-group {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(28, 48, 66, 0.04);
}

.summary-card,
.panel,
.roadmap-card,
.resource-item {
  padding: 1.25rem 1.35rem;
}

.summary-card {
  display: flex;
  flex-direction: column;
}

.summary-card > p {
  flex: 1 0 auto;
}

.summary-card details {
  margin-top: auto;
}

.stack {
  display: grid;
  gap: 1rem;
}

details {
  margin-top: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

summary {
  cursor: pointer;
  font-size: 1.04rem;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--muted);
}

details[open] summary::after {
  content: "−";
}

.details-body > :first-child {
  margin-top: 0;
}

.clean-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.clean-list li + li {
  margin-top: 0.35rem;
}

.diagram {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.diagram div {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.55rem 0.9rem;
  font-weight: 600;
}

.diagram span {
  color: var(--muted);
}

.callout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.note-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}

.note-card.caution {
  background: var(--caution-bg);
  border-color: var(--caution-line);
}

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

.check-card {
  padding: 1rem 1.1rem;
  position: relative;
}

.check-card::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
  margin-right: 0.7rem;
  vertical-align: middle;
}

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

.roadmap-card {
  min-height: 150px;
}

.pathway {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: pathway;
}

.pathway li {
  counter-increment: pathway;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 108px;
}

.pathway li::before {
  content: "0" counter(pathway);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.84rem;
}

.notes-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.notes-button:hover,
.notes-button:focus-visible {
  background: #ddeaf4;
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}

.notes-intro {
  margin-top: 0;
  max-width: 68ch;
}

.concept-panel {
  display: grid;
  gap: 0.85rem;
}

.concept-panel p {
  max-width: 72ch;
  margin: 0;
}

.concept-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-panel {
  max-width: 620px;
  overflow: hidden;
}

.auth-intro {
  margin-top: 0;
  color: var(--muted);
}

.source-viewer-details {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f8fbfc;
}

.source-viewer-details p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.source-viewer-details strong {
  color: var(--text-strong);
}

.source-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0;
}

.source-viewer-note {
  margin-top: 1rem;
}

.source-viewer-preview {
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #ffffff;
  overflow: auto;
  box-shadow: 0 14px 32px rgba(28, 48, 66, 0.08);
}

.source-viewer-preview canvas {
  display: block;
  max-width: 100%;
  margin: 0.85rem auto 0;
  border: 1px solid var(--line);
  background: white;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.auth-form input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.auth-form input:focus {
  outline: 3px solid rgba(50, 90, 121, 0.18);
  border-color: var(--accent);
}

.auth-message {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-top: 0.85rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-message[data-tone="error"] {
  color: #8a3d32;
}

.auth-message[data-tone="success"] {
  color: #3f6e55;
}

.workspace-sections {
  display: grid;
  gap: 1rem;
}

.workspace-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  padding: 1.25rem;
  box-shadow: 0 14px 32px rgba(28, 48, 66, 0.05);
}

.workspace-card h3 {
  margin-top: 0.25rem;
}

.workspace-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, var(--accent-soft) 100%);
}

.workspace-card-featured h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.pilot-workspace-card {
  border-color: #8aa0ad;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.pilot-workspace-card p {
  max-width: 58rem;
}

.pilot-status-pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: var(--accent-deep);
  background: #eef6f8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.pilot-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0 0.75rem;
}

.pilot-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pilot-link-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.pilot-readiness-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.5rem 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.pilot-readiness-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.12rem 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.45;
}

.pilot-readiness-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--accent-deep);
  border-radius: 999px;
  background: rgba(238, 246, 248, 0.9);
  margin-top: 0.45rem;
}

.document-upload-form {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.document-upload-form label,
.meeting-note-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.document-upload-form input,
.meeting-note-form input,
.meeting-note-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.form-status {
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status[data-tone="success"] {
  color: #315f46;
}

.form-status[data-tone="error"] {
  color: #9a3412;
}

.notes-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.document-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.document-list-item {
  list-style: none;
}

.document-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.document-info {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.document-info a {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
  line-height: 1.25;
}

.document-title-button {
  min-width: 0;
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  background: transparent;
  font: inherit;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.document-title-button:hover,
.document-title-button:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.document-upload-date {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.65rem;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.document-actions,
.form-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

.document-actions {
  flex: 0 0 auto;
}

.document-action-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  color: var(--accent);
  background: #f8fafc;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.document-action-button:hover,
.document-action-button:focus-visible {
  border-color: var(--accent);
}

.document-delete-button {
  color: #8a2f19;
  background: #fff7ed;
}

.document-delete-button:hover,
.document-delete-button:focus-visible {
  border-color: #c2410c;
}

.document-action-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.compact-button {
  padding: 0.58rem 0.9rem;
  font-size: 0.9rem;
}

.source-upload-card {
  max-width: none;
}

.demo-video-card {
  max-width: none;
}

.demo-video-type {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.workflow-document-card {
  border-color: var(--accent);
}

.workflow-document-card p {
  max-width: 58rem;
}

.workflow-document-link {
  display: inline-flex;
  margin-top: 0.7rem;
  text-decoration: none;
}

.source-upload-intro {
  max-width: 58rem;
  color: var(--muted);
}

.source-upload-list {
  padding: 0;
}

.resource-count-pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

.empty-source-list {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.empty-source-list p {
  margin: 0.2rem 0 0;
}

.evidence-library {
  display: grid;
  gap: 1rem;
}

.resource-library-hero p {
  max-width: 68rem;
}

.resource-notice-card {
  border-color: #8aa0ad;
  background: #f8fbfc;
}

.resource-notice-card p,
.resource-boundary-card p,
.resource-protected-warning p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.resource-start-section,
.resource-section {
  display: grid;
  gap: 0.85rem;
}

.resource-section-heading {
  display: grid;
  gap: 0.2rem;
}

.resource-section-heading h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.resource-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.resource-start-card,
.resource-source-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(28, 48, 66, 0.05);
}

.resource-start-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 13rem;
  padding: 1.15rem;
  border-color: var(--accent);
  background: linear-gradient(180deg, #ffffff 0%, #f2f8fa 100%);
}

.resource-start-card h4,
.resource-source-card h4 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.2;
}

.resource-start-card p,
.resource-source-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.resource-source-card .resource-use-label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.resource-tag,
.resource-protection-tag,
.resource-priority-badge,
.resource-missing {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
}

.resource-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
  gap: 1rem;
}

.resource-protected-warning {
  grid-column: 2;
  border-color: #d9b86c;
  background: #fffdf4;
}

.resource-boundary-card {
  border-color: #9db4bf;
}

.protocol-map {
  display: grid;
  gap: 0.7rem;
}

.protocol-map div {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.protocol-map div:first-child {
  border-top: 0;
  padding-top: 0;
}

.protocol-map dt {
  color: var(--text-strong);
  font-weight: 850;
}

.protocol-map dd {
  margin: 0;
  color: var(--text);
}

.resource-upload-panel summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.resource-upload-title {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-strong);
  font-weight: 850;
}

.resource-filters {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(12rem, 0.7fr) minmax(10rem, 0.55fr) auto;
  align-items: end;
  gap: 0.85rem;
}

.resource-filters label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-weight: 800;
}

.resource-filters input,
.resource-filters select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.72rem;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.resource-sections {
  display: grid;
  gap: 1.2rem;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.resource-source-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem;
}

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

.resource-authors {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-weight: 750;
}

.resource-priority-badge {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  padding: 0.22rem 0.52rem;
  color: var(--accent-deep);
  background: #eef6f8;
}

.resource-priority-badge[data-priority="Core"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.resource-priority-badge[data-priority="Future Validation"] {
  border-color: #9bb6a3;
  color: #315f46;
  background: #edf7ef;
}

.resource-priority-badge[data-priority="Historical"],
.resource-priority-badge[data-priority="Background"] {
  border-color: #d5c5a1;
  color: #725a26;
  background: #fff8df;
}

.resource-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.resource-tag {
  border: 1px solid var(--line-strong);
  padding: 0.2rem 0.5rem;
  color: var(--accent-deep);
  background: #f8fafc;
}

.resource-protection-tag {
  border: 1px solid #d5c5a1;
  padding: 0.2rem 0.5rem;
  color: #725a26;
  background: #fffdf4;
}

.resource-card-actions {
  align-self: end;
  justify-content: flex-start;
  margin-top: auto;
}

.resource-missing {
  border: 1px dashed var(--line-strong);
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  background: #f8fafc;
}

.evidence-report-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.6rem;
  color: var(--muted);
}

.evidence-upload-form {
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1.2fr) auto;
  align-items: end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.evidence-upload-form .form-actions {
  align-self: end;
}

.evidence-upload-form .form-status {
  grid-column: 1 / -1;
}

.evidence-filters {
  display: grid;
  grid-template-columns: minmax(12rem, 1.4fr) repeat(3, minmax(10rem, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.evidence-filters label {
  display: grid;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.evidence-filters input,
.evidence-filters select {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
  color: var(--text);
  background: var(--surface);
  font: inherit;
}

.evidence-controls,
.evidence-panel {
  border-left: 3px solid var(--accent);
  margin-top: 0;
}

.evidence-controls > summary,
.evidence-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 0;
}

.evidence-panel-empty {
  opacity: 0.72;
}

.evidence-list {
  display: grid;
  gap: 0.85rem;
}

.evidence-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--surface);
}

.evidence-item-header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  padding: 0;
}

.evidence-item-header::after {
  content: "+";
  color: var(--muted);
}

.evidence-item[open] > .evidence-item-header::after {
  content: "−";
}

.evidence-item h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.05rem;
}

.evidence-item p {
  margin: 0.55rem 0 0;
}

.evidence-item-body {
  margin-top: 0.85rem;
}

.evidence-status {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.evidence-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
}

.evidence-meta div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
}

.evidence-meta dt {
  color: var(--muted);
  font-weight: 800;
}

.evidence-meta dd {
  margin: 0;
}

.evidence-citation {
  color: var(--muted);
  font-size: 0.92rem;
}

.evidence-citation-button {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.evidence-link {
  margin-top: 0.75rem;
  border: 0;
  padding: 0;
  color: var(--accent-deep);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.evidence-search-results mark {
  border-radius: 0.2rem;
  padding: 0 0.12rem;
  background: #fef3c7;
  color: inherit;
}

.evidence-search-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.evidence-search-list li {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.evidence-search-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.evidence-search-result-title {
  color: var(--text-strong);
  font-weight: 800;
}

.evidence-full-research {
  border-left: 3px solid var(--accent);
  margin-top: 0;
}

.evidence-full-research > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 0;
}

.evidence-full-document {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.evidence-full-document h4 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.05rem;
}

.evidence-full-text {
  max-height: 55rem;
  overflow: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: #fff;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.evidence-full-text mark {
  border-radius: 0.2rem;
  padding: 0 0.12rem;
  background: #fef3c7;
  color: inherit;
}

.meeting-note-form {
  display: grid;
  gap: 0.9rem;
}

.meeting-note-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.form-actions,
.workspace-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.workspace-card-title-row h3 {
  margin: 0;
}

.small-action {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.meeting-note-body {
  color: var(--text);
  line-height: 1.7;
}

.meeting-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.35rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
}

.workspace-tab {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.62rem 0.95rem;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.workspace-tab:hover,
.workspace-tab:focus-visible,
.workspace-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.workspace-tab-link {
  text-decoration: none;
}

.workspace-tab-panel {
  display: grid;
  gap: 1rem;
}

.workspace-tab-panel[hidden] {
  display: none;
}

.ledger-framing-card {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(236, 244, 246, 0.85), rgba(255, 255, 255, 0.94));
}

.ledger-framing-card p:last-child {
  margin-bottom: 0;
}

.ledger-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.25rem;
}

.ledger-summary-card {
  display: flex;
  min-height: 7.25rem;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.ledger-summary-card span {
  display: flex;
  min-height: 3.1rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ledger-summary-card strong {
  display: block;
  color: var(--accent-deep);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin-top: auto;
}

.ledger-tabs {
  margin-top: 1.2rem;
}

.ledger-panels,
.ledger-panel {
  display: grid;
  gap: 1rem;
}

#msca-content .workspace-card,
#msca-content .ledger-item-card {
  box-shadow: none;
}

.msca-panel-intro,
.msca-form-intro {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
  margin: 0.25rem 0 0.85rem;
  max-width: 62rem;
}

.msca-edit-card {
  margin-top: 0;
  padding: 0;
}

.msca-edit-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 850;
  gap: 0.75rem;
  justify-content: flex-start;
  list-style: none;
  padding: 1rem 1.25rem;
}

.msca-edit-card summary::-webkit-details-marker {
  display: none;
}

.msca-edit-card summary::before {
  color: var(--accent);
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
}

.msca-edit-card summary::after {
  content: "";
  display: none;
}

.msca-edit-card summary span:first-of-type {
  margin-right: auto;
}

.msca-edit-card[open] summary::before {
  content: "-";
}

.msca-edit-card .ledger-form,
.msca-edit-card .msca-form-intro {
  margin: 0 1.25rem 1.25rem;
}

.msca-summary-hint {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
}

.ledger-filter-row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.8rem 0 1rem;
}

.ledger-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.ledger-link-form {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.ledger-form label,
.ledger-filter-row label {
  color: var(--text);
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.ledger-form input,
.ledger-form select,
.ledger-form textarea,
.ledger-filter-row input,
.ledger-filter-row select {
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.ledger-filter-row label {
  min-width: min(100%, 26rem);
}

.ledger-filter-row input {
  border-radius: 999px;
}

.ledger-form textarea {
  line-height: 1.45;
  resize: vertical;
}

.ledger-form .form-actions,
.ledger-filter-row .form-actions {
  align-self: end;
}

.ledger-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.ledger-item-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.ledger-item-card h4 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0.15rem 0 0;
}

.ledger-item-card p {
  margin: 0;
}

.msca-field-group {
  gap: 0;
  padding: 0;
}

.msca-field-group summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  list-style: none;
  padding: 1rem;
}

.msca-field-group summary::-webkit-details-marker {
  display: none;
}

.msca-field-group summary::after {
  color: var(--muted);
  content: "+";
  font-weight: 900;
}

.msca-field-group[open] summary::after {
  content: "-";
}

.msca-field-group summary span:first-child {
  color: var(--accent-deep);
  font-weight: 900;
}

.msca-field-count {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  white-space: nowrap;
}

.msca-field-body {
  border-top: 1px solid var(--line);
  padding: 0 1rem 1rem;
}

.msca-field-body .msca-rule-list {
  margin-bottom: 0;
}

.ledger-warning {
  border: 1px solid #d79a55;
  border-radius: var(--radius-small);
  background: #fff7ec;
  color: #6a3a12;
  padding: 0.75rem;
}

.ledger-warning code {
  background: rgba(215, 154, 85, 0.18);
  border-radius: 0.35rem;
  padding: 0.08rem 0.28rem;
}

.ledger-meta-row,
.ledger-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ledger-meta-row span,
.ledger-tag-row span,
.resource-priority {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.26rem 0.55rem;
}

.resource-priority.supported,
.resource-priority.verified,
.resource-priority.active,
.resource-priority.safe {
  border-color: #9cc4b0;
  color: #256044;
  background: #eef8f2;
}

.resource-priority.plausible_exploratory,
.resource-priority.partially_supported,
.resource-priority.needs_verification,
.resource-priority.warning {
  border-color: #d8bd7a;
  color: #725719;
  background: #fff8e5;
}

.resource-priority.do_not_use_publicly,
.resource-priority.rejected,
.resource-priority.hard_block {
  border-color: #cf9b8a;
  color: #82331e;
  background: #fff0eb;
}

.ledger-detail-list {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  margin: 0;
}

.ledger-detail-list div {
  border-left: 3px solid var(--line);
  padding-left: 0.65rem;
}

.ledger-detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ledger-detail-list dd {
  margin: 0.12rem 0 0;
  font-weight: 800;
}

.ledger-linked-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  padding-top: 0.75rem;
}

.ledger-linked-list p {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--accent-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
}

.ledger-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  overflow-x: auto;
}

.ledger-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.ledger-table th,
.ledger-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.ledger-table th {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ledger-table tr:last-child td {
  border-bottom: 0;
}

.ledger-rule-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.ledger-rule-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(248, 251, 252, 0.92);
  padding: 1rem;
}

.ledger-rule-grid h4 {
  margin: 0 0 0.4rem;
}

.resource-priority.not_started {
  border-color: var(--line-strong);
  color: var(--muted);
  background: rgba(248, 251, 252, 0.92);
}

.resource-priority.drafting {
  border-color: #9cbccf;
  color: #28566f;
  background: #eef7fb;
}

.resource-priority.needs_review {
  border-color: #d8bd7a;
  color: #725719;
  background: #fff8e5;
}

.resource-priority.done,
.resource-priority.checked,
.resource-priority.not_applicable {
  border-color: #9cc4b0;
  color: #256044;
  background: #eef8f2;
}

.resource-priority.not_checked {
  border-color: #cf9b8a;
  color: #82331e;
  background: #fff0eb;
}

.msca-wide-form {
  grid-template-columns: 1fr;
}

.msca-evidence-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.msca-evidence-column {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(248, 251, 252, 0.92);
  padding: 1rem;
}

.msca-evidence-column h4 {
  margin: 0 0 0.75rem;
}

.msca-evidence-column p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0.7rem 0 0;
}

.msca-evidence-column p + p {
  margin-top: 0.7rem;
}

.msca-rule-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(248, 251, 252, 0.92);
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 1rem 1rem 1rem 2rem;
}

.sticky-note-grid {
  display: block;
  padding-bottom: 1.5rem;
  padding-right: 7rem;
}

.sticky-note-card {
  background: #fffdf4;
  border: 1px solid #e5d49b;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(85, 68, 36, 0.12);
  margin-top: -3.1rem;
  overflow: hidden;
  padding-top: 0;
  position: relative;
  transform: translateX(var(--note-indent, 0));
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
  width: 100%;
}

.sticky-note-card:first-child {
  margin-top: 0;
}

.sticky-note-card:hover,
.sticky-note-card:focus-within {
  box-shadow: 0 18px 34px rgba(85, 68, 36, 0.16);
  transform: translateX(var(--note-indent, 0)) translateY(-2px);
}

.sticky-note-card[open] {
  z-index: 120 !important;
}

.sticky-note-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 6.2rem;
  padding: 1.2rem 1.35rem;
}

.sticky-note-summary::-webkit-details-marker {
  display: none;
}

.sticky-note-summary::after {
  color: var(--muted);
  content: "+";
  flex: 0 0 auto;
  float: none;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.sticky-note-card[open] .sticky-note-summary::after {
  content: "-";
}

.sticky-note-summary-text {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.sticky-note-title {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-note-date {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.sticky-note-details {
  border-top: 1px solid rgba(132, 105, 48, 0.24);
  display: grid;
  gap: 1rem;
  padding: 1rem 1.1rem 1.1rem;
}

.sticky-note-card .meeting-note-body {
  font-size: 0.98rem;
}

.sticky-note-actions {
  justify-content: flex-end;
}

.sticky-note-editor textarea {
  min-height: 8rem;
}

.qa-list {
  display: grid;
  gap: 1rem;
}

.tdl-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tdl-accordion {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 1.2rem;
}

.tdl-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 0;
}

.tdl-accordion summary::after {
  content: "";
}

.tdl-accordion-title {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
}

.tdl-count {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.tdl-accordion summary:hover .tdl-accordion-title,
.tdl-accordion summary:focus-visible .tdl-accordion-title {
  color: var(--accent-deep);
}

.tdl-item {
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

.tdl-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.tdl-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--text);
  font-weight: 600;
}

.tdl-check input {
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.tdl-date {
  margin: 0.35rem 0 0 1.6rem;
  color: #3f6e55;
  font-size: 0.9rem;
  font-weight: 700;
}

.tdl-note {
  box-sizing: border-box;
  width: calc(100% - 1.6rem);
  max-width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.75rem;
  margin: 0.65rem 0 0 1.6rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.tdl-note:focus {
  outline: 3px solid rgba(50, 90, 121, 0.18);
  border-color: var(--accent);
}

.resources-intro {
  max-width: 68ch;
  margin-top: 0;
}

.resource-groups {
  display: grid;
  gap: 0.9rem;
}

.resource-group {
  overflow: hidden;
}

.resource-group details {
  margin: 0;
  padding: 0;
  border: 0;
}

.resource-group summary {
  padding: 1.1rem 1.3rem;
  background: rgba(249, 251, 253, 0.85);
}

.resource-list {
  display: grid;
  gap: 0.8rem;
  padding: 0 1rem 1rem;
}

.resource-item {
  scroll-margin-top: 1.4rem;
}

.resource-item.active {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(50, 90, 121, 0.12),
    0 14px 32px rgba(28, 48, 66, 0.08);
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.resource-type {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.resource-local {
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.resource-link {
  font-weight: 600;
}

.resource-jump {
  color: var(--muted);
}

.footnote-list {
  display: inline-flex;
  gap: 0.16rem;
  margin-left: 0.18rem;
  vertical-align: super;
  font-size: 0.75em;
  line-height: 1;
}

.footnote-list a {
  text-decoration: none;
}

.footnote-list a:hover,
.footnote-list a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero {
    padding: 2rem;
  }

  .glance-grid,
  .check-grid,
  .roadmap-grid,
  .callout-grid,
  .pathway,
  .resource-start-grid,
  .resource-support-grid,
  .resource-card-grid {
    grid-template-columns: 1fr;
  }

  .resource-protected-warning {
    grid-column: auto;
  }

  .section-heading-split {
    align-items: start;
    flex-direction: column;
  }

  .evidence-filters,
  .resource-filters {
    grid-template-columns: 1fr 1fr;
  }

  .evidence-upload-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    padding-top: 1rem;
  }

  .hero {
    border-radius: 22px;
    padding: 1.35rem;
  }

  .anchor-nav {
    gap: 0.55rem;
  }

  .anchor-nav a,
  .view-toggle {
    width: fit-content;
  }

  .panel,
  .summary-card,
  .roadmap-card,
  .resource-item {
    padding: 1rem;
  }

  .evidence-filters,
  .resource-filters,
  .evidence-meta div {
    grid-template-columns: 1fr;
  }

  .protocol-map div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .document-list-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .document-info {
    align-items: flex-start;
  }

  .sticky-note-summary {
    align-items: flex-start;
    gap: 0.7rem;
  }

  .sticky-note-grid {
    padding-right: 1.25rem;
  }

  .sticky-note-date {
    margin-left: 0;
  }

  .section-accent {
    padding: 1rem;
  }
}

@media print {
  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .skip-link,
  .view-toggle {
    display: none !important;
  }

  .site-header,
  .page-shell,
  .section,
  .section-accent,
  .hero,
  .summary-card,
  .panel,
  .check-card,
  .roadmap-card,
  .resource-group,
  .resource-item,
  .pathway li {
    background: #fff !important;
    box-shadow: none !important;
  }

  .hero,
  .section-accent,
  .summary-card,
  .panel,
  .check-card,
  .roadmap-card,
  .resource-item,
  .pathway li {
    border-color: #cfcfcf !important;
  }

  .anchor-nav {
    margin-top: 1rem;
  }

  .anchor-nav a {
    border-color: #cfcfcf;
    color: #000;
  }

  details {
    break-inside: avoid;
  }

  details:not([open]) > *:not(summary) {
    display: block;
  }

  summary::after {
    display: none;
  }

  .glance-grid,
  .check-grid,
  .roadmap-grid,
  .callout-grid,
  .pathway {
    grid-template-columns: 1fr 1fr;
  }

  .resource-group,
  .resource-item,
  .panel,
  .summary-card,
  .roadmap-card,
  .check-card,
  .pathway li {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .resource-actions a[href]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    word-break: break-all;
  }
}
