/* Loaded after legacy styles, scoped to individual study pages. */
.ds-study-page .ds-study {max-width:1000px;margin:0 auto;display:grid;gap:var(--ds-gap);color:var(--ds-text)}
.ds-study-page .breadcrumb {max-width:1000px;margin:0 auto 20px}
.ds-study-page .ds-study-hero,.ds-study-page .ds-study-continue,.ds-study-page .ds-study-workspace {min-width:0}
.ds-study-page .ds-study-hero,.ds-study-page .ds-study-continue {background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius);padding:var(--ds-padding)}
.ds-study-page .ds-study-hero {border-left:4px solid var(--ds-accent)}
.ds-study-page .ds-study-meta {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:15px;color:var(--ds-primary);font-weight:600}
.ds-study-page .ds-study-meta span,.ds-study-page .ds-study-meta time,.ds-study-page .ds-neighbor small {display:flex;align-items:center;gap:8px}
.ds-study-page .ds-study-meta time {font-weight:400;color:var(--ds-muted)}
.ds-study-page .ds-study-hero h1 {font-size:clamp(30px,4vw,40px);line-height:1.2;letter-spacing:-.025em;margin:12px 0 8px}
.ds-study-page .br-byline {font-size:15px;color:var(--ds-muted);margin:0 0 20px}
.ds-study-page .ds-truth {background:var(--ds-secondary);padding:16px;border-radius:var(--ds-radius)}
.ds-study-page .ds-truth strong {color:var(--ds-primary)}
.ds-study-page .ds-truth p {margin:6px 0 0}
.ds-study-page .ds-study-workspace {display:grid;gap:var(--ds-gap);padding:0;border:0;background:transparent}
.ds-study-page .ds-study-workspace .ds-resource-toolbar,.ds-study-page .ds-study-workspace .ds-resource-panel {background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius);padding:var(--ds-padding);margin:0;max-width:none;width:100%;min-width:0}
.ds-study-page .ds-study-workspace .ds-resource-toolbar {padding:16px}
.ds-study-page .ds-panel-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--ds-border);padding-bottom:16px;margin-bottom:24px}
.ds-study-page .ds-panel-heading h2 {display:flex;align-items:center;gap:10px;font-size:26px;margin:0;letter-spacing:-.02em}
.ds-study-page .ds-document-actions {display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 0 auto}
.ds-study-page .ds-document-actions .ds-button {height:44px;min-height:44px;padding:0 14px}
.ds-study-page .guide-preview {width:100%;max-width:none;margin:0;padding:0;overflow-wrap:anywhere}
.ds-study-page .guide-preview .outline-point h3,.ds-study-page .guide-preview .outline-application h3 {font:650 19px/1.4 system-ui,sans-serif;letter-spacing:0;text-transform:none;color:var(--ds-text);margin:0 0 12px}
.ds-study-page .outline-points {padding-left:30px;margin:0 0 24px}
.ds-study-page .outline-point {padding:0 0 20px 8px;margin:0 0 20px;border-bottom:1px solid var(--ds-border)}
.ds-study-page .outline-point::marker {color:var(--ds-primary);font-weight:700}
.ds-study-page .outline-subpoints {padding-left:24px;margin:0}
.ds-study-page .outline-subpoints li {margin:0 0 10px;line-height:1.7;color:var(--ds-text)}
.ds-study-page .outline-application,.ds-study-page .outline-big-idea {background:var(--ds-secondary);border:1px solid var(--ds-border);border-radius:var(--ds-radius);padding:20px;margin:0 0 24px}
.ds-study-page .outline-application .outline-subpoints {list-style:none;padding:0}
.ds-study-page .outline-application .outline-subpoints li {padding:0;margin:0}
.ds-study-page .outline-section-label {color:var(--ds-primary);font-size:13px;letter-spacing:.04em}
.ds-study-page .ds-study-continue h2 {font-size:24px;margin:0 0 16px;letter-spacing:-.02em}
.ds-study-page .ds-study-neighbors {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ds-gap);margin:0 0 16px}
.ds-study-page .ds-neighbor {display:grid;gap:5px;border:1px solid var(--ds-border);border-radius:var(--ds-radius);padding:16px;color:var(--ds-primary);text-decoration:none;overflow-wrap:anywhere}
.ds-study-page .ds-neighbor span {color:var(--ds-text);font-weight:600}
.ds-study-page .ds-neighbor:hover {background:var(--ds-secondary)}
.ds-study-page .ds-study-return {display:flex;justify-content:center;border-top:1px solid var(--ds-border);padding-top:16px}
.ds-study-page .ds-study-return .ds-button {background:var(--ds-secondary)}
@media(max-width:760px){.ds-study-page .ds-study-hero,.ds-study-page .ds-study-continue,.ds-study-page .ds-study-workspace .ds-resource-panel {padding:var(--ds-mobile-padding)}.ds-study-page .ds-study-neighbors {grid-template-columns:1fr}.ds-study-page .ds-document-actions {margin-left:0}.ds-study-page .ds-panel-heading h2 {font-size:23px}.ds-study-page .outline-points {padding-left:24px}}
