:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --surface: #fff;
  --soft: #edf1eb;
  --ink: #243b34;
  --muted: #53665e;
  --line: #d4ded6;
  --accent: #316358;
  --tint: #e9f1ec;
  --green: #376f69;
  --warn: #9a4d16;
  --shadow: none;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.workspace > * {
  min-width: 0;
}
.table-scroll {
  max-width: 100%;
}
.section-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.section-nav button[aria-pressed="true"] {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent);
}
.section-nav button {
  font-size: 12px;
}
.context-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 18px;
}
.context-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}
.context-head p {
  margin: 4px 0 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.refs {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}
.refs summary {
  cursor: pointer;
  font-weight: 600;
}
.refs .check {
  margin-top: 8px;
  font-size: 12px;
}
.refs .check span {
  overflow-wrap: anywhere;
}
.money-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.money-table th,
.money-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table-scroll {
  overflow: auto;
}
.evidence-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
}
.evidence-card img {
  width: 140px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--soft);
}
.file-symbol {
  width: 140px;
  height: 120px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 12px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
}
.file-meta {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.record {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
  background: var(--surface);
}
.record h3 {
  font-size: 15px;
  margin: 0;
}
.record .grid {
  margin-top: 16px;
}
.record .actions {
  margin-top: 16px;
}
.record-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.record-head .actions {
  margin: 0;
}
.record-head button {
  font-size: 11px;
  min-height: 32px;
  padding: 4px 8px;
}
.balance-note {
  font-size: 12px;
  color: var(--muted);
}
.viewer-image {
  max-width: 100%;
  max-height: 480px;
  display: block;
  object-fit: contain;
  margin: auto;
}
.source-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  max-height: 450px;
  overflow: auto;
  background: var(--soft);
  padding: 16px;
  border-radius: 12px;
}
.report-block {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  break-inside: avoid;
}
.report-block p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-block h3 {
  break-after: avoid;
}
.report-block a {
  overflow-wrap: anywhere;
}
.report-evidence img {
  max-width: 100%;
  max-height: 220px;
  display: block;
}
.report-evidence {
  break-inside: avoid;
}
.report-block h2 {
  margin: 20px 0 6px;
}
.report-block th,
.report-block td {
  white-space: normal;
}
.report-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.file-drop {
  padding: 20px;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  background: var(--tint);
  margin: 16px 0;
}
.file-drop p {
  font-size: 12px;
  margin: 0 0 10px;
}
.money-bad {
  color: var(--warn);
  font-size: 12px;
}
.required-label {
  font-size: 11px;
  color: var(--warn);
}
@media (max-width: 700px) {
  .context-head {
    display: block;
  }
  .context-head .actions {
    margin-top: 12px;
  }
  .context-head h2 {
    font-size: 22px;
  }
  .evidence-card {
    grid-template-columns: 1fr;
  }
  .evidence-card img,
  .file-symbol {
    width: 100%;
    height: 160px;
  }
  .record {
    padding: 16px;
  }
  .record-head {
    align-items: start;
  }
  .section-nav button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .money-table {
    font-size: 11px;
  }
}
@media print {
  .report-evidence img {
    max-height: 65mm;
  }
  #print-output table {
    font-size: 8pt;
  }
  #print-output .report-note {
    font-size: 9pt;
  }
  .report-block {
    break-inside: auto;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17221f;
  --surface: #202d29;
  --soft: #293a33;
  --ink: #edf3ef;
  --muted: #b8c8bf;
  --line: #496055;
  --accent: #a2d5c0;
  --tint: #2d453b;
  --green: #8fe1bf;
  --warn: #ffbf85;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #17221f;
    --surface: #202d29;
    --soft: #293a33;
    --ink: #edf3ef;
    --muted: #b8c8bf;
    --line: #496055;
    --accent: #a2d5c0;
    --tint: #2d453b;
    --green: #8fe1bf;
    --warn: #ffbf85;
    --shadow: none;
  }
}
body:has(noscript .no-script) .toolbar,
body:has(noscript .no-script) #workspace,
body:has(noscript .no-script) #theme,
body:has(noscript .no-script) > .skip,
body:has(noscript .no-script) a[href="#workspace"] {
  display: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  padding: 9px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  min-height: 40px;
}
button:hover,
.button:hover {
  background: var(--soft);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  background: #316358;
  color: white;
  border-color: #316358;
}
.primary:hover {
  background: #285c5e;
}
.danger {
  color: var(--warn);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.button:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 12px;
  background: var(--surface);
}
.skip:focus {
  top: 8px;
}
.top,
main,
footer {
  max-width: 1400px;
  margin: auto;
  padding: 0 48px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 17px;
  letter-spacing: -0.4px;
}
.brand strong {
  font-weight: 750;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding: 52px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--muted);
  font-weight: 750;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(38px, 4.4vw, 66px);
  letter-spacing: -3px;
  line-height: 1.05;
  font-weight: 720;
  margin: 0 0 22px;
}
h1 span {
  color: var(--accent);
}
.lead {
  font-size: 17px;
  max-width: 470px;
  color: var(--muted);
  margin: 0;
}
.privacy {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  align-self: center;
}
.pill {
  font-size: 10px;
  letter-spacing: 0.6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 10px;
  color: var(--green);
  display: inline-block;
}
.privacy h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.privacy p,
.privacy a {
  font-size: 13px;
}
.privacy p {
  color: var(--muted);
}
.toolbar,
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
#saved {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.alert {
  padding: 14px 18px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 0 0 16px;
  white-space: pre-line;
  font-size: 13px;
}
.alert p {
  margin: 0 0 10px;
}
.warning {
  color: var(--warn);
}
[hidden] {
  display: none !important;
}
.workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 600px;
}
.sidebar {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 20px;
  position: sticky;
  top: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-title h2 {
  font-size: 15px;
  margin: 0 0 16px;
}
.section-title span {
  font-size: 12px;
  color: var(--muted);
}
.claim-button {
  display: block;
  text-align: left;
  width: 100%;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.claim-button[aria-current="true"] {
  background: var(--tint);
  border-color: var(--accent);
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.panel h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
}
.panel h3 {
  font-size: 16px;
  margin: 0 0 14px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
.field.wide {
  grid-column: 1/-1;
}
input,
textarea,
select {
  padding: 10px 12px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
}
textarea {
  min-height: 82px;
  resize: vertical;
}
label {
  display: block;
}
input[type="file"] {
  max-width: 100%;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.metric {
  background: var(--soft);
  border-radius: 12px;
  padding: 13px;
}
.metric strong {
  display: block;
  font-size: 22px;
}
.metric span {
  font-size: 11px;
  color: var(--muted);
}
.observations-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 14px;
}
.observations-head h2 {
  margin: 0;
  font-size: 18px;
}
.observations-head select {
  width: auto;
}
.item {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 16px;
}
.item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.item-header h3 {
  margin: 0;
  font-size: 14px;
}
.item-header button {
  font-size: 11px;
  padding: 5px 8px;
  min-height: 32px;
}
.item .actions {
  margin-top: 16px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.evidence {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
}
.evidence svg {
  width: 100%;
  height: 150px;
  display: block;
  background: var(--bg);
}
.evidence figcaption {
  padding: 10px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.evidence .actions {
  margin: 8px 0 0;
  gap: 4px;
}
.evidence button {
  font-size: 11px;
  padding: 5px 8px;
  min-height: 32px;
}
.annotated {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  touch-action: none;
  user-select: none;
}
.annotated rect {
  fill: #ffcc320f;
  stroke: #ffcc32;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.annotated text {
  fill: #fff;
  stroke: #15213d;
  stroke-width: 2;
  paint-order: stroke;
  pointer-events: none;
}
.version {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.version:first-of-type {
  border: 0;
}
.version p {
  margin: 0 0 10px;
  font-size: 13px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 64px 0;
  color: var(--muted);
  font-size: 13px;
}
.details h2 {
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -1px;
}
.details + .details {
  border-top: 1px solid var(--line);
}
.guide-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.guide-copy {
  min-width: 0;
  max-width: 760px;
  font-size: 15px;
}
.guide-copy h3 {
  color: var(--ink);
  font-size: 17px;
  margin: 28px 0 10px;
}
.guide-copy h3:first-child {
  margin-top: 0;
}
.source-example,
.no-script {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
  color: var(--ink);
}
.source-example {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}
#details,
#privacy,
#preview-limits {
  scroll-margin-top: 20px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 120px #0005;
}
dialog::backdrop {
  background: #0b102380;
  backdrop-filter: blur(5px);
}
dialog h2 {
  margin-top: 0;
  letter-spacing: -0.6px;
}
dialog .actions {
  margin-top: 22px;
}
#viewer {
  max-width: 900px;
}
#viewer-content .grid {
  margin: 16px 0;
}
.marks {
  padding: 0;
  list-style: none;
}
.marks li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.report-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.report-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-item h3 {
  overflow-wrap: anywhere;
}
.report-photo {
  margin: 12px 0;
  break-inside: avoid;
}
.report-photo svg {
  width: 100%;
  max-height: 380px;
}
.report-photo figcaption {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.report-photo ol {
  font-size: 12px;
}
.report-meta {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.report-title {
  overflow-wrap: anywhere;
}
#print-output {
  display: none;
}
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .top,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    gap: 30px;
  }
  .workspace {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .details {
    gap: 30px;
  }
  .sidebar {
    padding: 14px;
  }
}
@media (max-width: 700px) {
  .top,
  main,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .top {
    height: 80px;
  }
  .brand {
    font-size: 13px;
    gap: 8px;
  }
  .top nav {
    gap: 8px;
  }
  .top nav a {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 24px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .privacy {
    padding: 22px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  #claims {
    display: flex;
    gap: 8px;
    overflow: auto;
  }
  .claim-button {
    min-width: 150px;
    max-width: 200px;
  }
  .sidebar .small {
    display: none;
  }
  .panel,
  .item {
    padding: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 10px;
  }
  .toolbar button,
  .toolbar .button {
    font-size: 12px;
  }
  #saved {
    width: 100%;
    margin-left: 0;
  }
  .details {
    grid-template-columns: 1fr;
    padding: 38px 0;
    gap: 4px;
  }
  .item-header {
    align-items: flex-start;
  }
  .item-header .actions {
    margin: 0;
  }
  .item-header button {
    min-width: 36px;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  dialog {
    padding: 20px;
  }
  .actions {
    gap: 6px;
  }
}
@page {
  margin: 17mm;
  size: A4;
}
@media print {
  :root {
    --ink: #15213d;
    --muted: #566078;
    --line: #d7dce5;
    color-scheme: light;
  }
  body {
    background: white;
    color: #15213d;
    font-size: 11pt;
  }
  body > * {
    display: none !important;
  }
  body > #print-output {
    display: block !important;
  }
  #print-output h1 {
    font-size: 28pt;
    letter-spacing: -1px;
  }
  #print-output h2 {
    font-size: 17pt;
  }
  #print-output .report-item {
    break-inside: auto;
  }
  #print-output h3 {
    break-after: avoid;
  }
  #print-output h2 {
    break-after: avoid;
  }
  #print-output .report-block {
    break-inside: avoid;
  }
  #print-output .report-photo {
    max-width: 100%;
    break-inside: avoid;
  }
  #print-output .report-photo svg {
    max-height: 105mm;
  }
  #print-output .report-meta {
    font-size: 10pt;
  }
  #print-output p {
    orphans: 3;
    widows: 3;
  }
  #print-output .report-photo figcaption {
    font-size: 8pt;
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.metric strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.7px;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.response-key {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.check-list {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.8;
}
.snapshot {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.file-input {
  max-width: 100%;
}
.field input,
.field select,
.field textarea {
  min-width: 0;
}
.record > h3 {
  overflow-wrap: anywhere;
}
.evidence-card > div {
  min-width: 0;
}
.timeline-dot {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.notice-link {
  font-size: 12px;
}
.report-note {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
@media (max-width: 600px) {
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 12px;
  }
  .metric strong {
    font-size: 20px;
  }
  .hero h1 {
    font-size: 42px;
  }
}

.claim-button small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.source-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 60vh;
  overflow: auto;
  font-size: 13px;
}
.hash { overflow-wrap: anywhere; word-break: break-word; }
.claim-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--tint);
}
.steps {
  display: grid;
  gap: 14px;
  font-size: 13px;
  margin: 22px 0;
  color: var(--muted);
}
.source-excerpt {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
blockquote {
  margin: 12px 0;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  font-size: 13px;
}
.generation-preview {
  max-height: 45vh;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.practice-card {
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.practice-prompt {
  font-size: 26px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.practice-answer {
  font-size: 23px;
  color: var(--accent);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.practice-card button {
  margin: 5px;
}
.practice-card .refs {
  text-align: left;
}
.answer-space {
  height: 80px;
  border-bottom: 1px solid var(--line);
}
#source-file,
#cards-file {
  max-width: 100%;
  font-size: 12px;
}
#print-output .answer-space {
  border-color: #aaa;
}
@media (max-width: 600px) {
  .practice-card {
    padding: 22px;
  }
  .practice-prompt {
    font-size: 21px;
  }
  .practice-answer {
    font-size: 20px;
  }
}

@media print {
  #print-output .answer-key {
    break-before: page;
  }
  :root, :root[data-theme="dark"] {
    color-scheme: light;
    --ink: #15213d;
    --muted: #566078;
    --line: #d7dce5;
    --accent: #454ba1;
    --surface: #fff;
    --soft: #fff;
  }
  #print-output h1, #print-output h2, #print-output h3 { overflow-wrap: anywhere; }
}

/* Direct study workspace entry; existing palette and review controls retained. */
.page-heading{padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.page-heading h1{font-size:clamp(28px,3vw,34px);letter-spacing:-.6px;margin:0 0 12px}
.panel,.details{box-shadow:none;border-radius:10px}h1,h2,h3,button,.course-button{overflow-wrap:anywhere}

/* Contain native option painting while retaining full values and keyboard focus. */
.native-choice{min-width:0;overflow:clip;overflow-clip-margin:6px}
@supports not (overflow-clip-margin:6px){.native-choice{padding:6px;margin-inline:-6px}}

/* Guide code tokens wrap without changing the retained source or examples. */
.details code{overflow-wrap:anywhere;white-space:inherit}
/* Study navigation and records use a compact notebook hierarchy. */
.panel,.sidebar,.record,.practice-card,dialog{border-radius:6px;box-shadow:none}
button,.button{border-radius:5px}
.section-nav{gap:4px;border-bottom:1px solid var(--line)}
.section-nav button{border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent;min-height:44px}
.section-nav button[aria-pressed="true"]{background:transparent;border-bottom-color:var(--accent)}
.details{padding-block:36px;gap:40px}
.details h2{font-size:24px;letter-spacing:-.5px}
.context-head h2{font-size:24px}
.generation-preview:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.practice-card{text-align:left;padding:24px}
.practice-card .eyebrow{letter-spacing:0;font-size:12px}
dialog h2{font-size:22px;line-height:1.3}
@media(max-width:600px){.practice-card{padding:18px}.details{gap:18px}}
