.resource-section {padding:48px 0 60px;border-top:1px solid var(--line)}
.resource-section h2,.reading-copy h2 {font-size:clamp(24px,3vw,34px);letter-spacing:-.7px;line-height:1.18}
.resource-groups {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.resource-groups h3 {font-size:17px;color:var(--pink)}
.resource-groups a,.related a {display:block;padding:6px 0;line-height:1.35}
.library-page .site-header {max-width:1200px}
.library-page main {max-width:1160px}
.library-page nav a:not(.button) {display:inline}
.page-lead {max-width:850px;margin:38px auto 23px}
.back-link {display:inline-block;color:var(--muted);font-size:14px;margin-bottom:18px}
.page-lead .intro {margin:14px 0 0;max-width:70ch}
.reader-input,.tool-panel {max-width:850px;margin:0 auto 24px}
.work-form {padding:24px 28px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:var(--shadow);display:grid;gap:12px}
.work-form + .work-form {margin-top:14px}
.work-form label,.srt-editor label,.output-card label {font-weight:700;display:block}
.work-form p {color:var(--muted);font-size:14px;margin:0}
.work-form h2,.related h2 {font-size:20px;margin:0}
.work-form input[type=file] {padding:13px 8px;border-block:1px solid var(--line);width:100%}
.work-form select,.work-form button {justify-self:start}
.work-form fieldset {padding:0;border:0;margin:0;min-width:0;display:grid;gap:12px}
.tool-actions,.library-page .actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.library-page .toolbar {flex-wrap:wrap;gap:10px}
.format-choice {display:flex;align-items:center;gap:5px;font-size:13px}
.srt-editor,#print-transcript {margin:16px 20px}
.srt-editor textarea,.library-page textarea,.cost-grid input {width:100%;padding:12px;border:1px solid #d8cfe3;border-radius:10px;font:inherit;line-height:1.5;color:var(--ink);background:#fdfbff}
.srt-editor textarea,.library-page textarea {resize:vertical}
.cost-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cost-grid input {display:block;margin-top:5px}
#tool-status:empty,#feed-output:empty {display:none}
#tool-output label {display:block}
.output-card {margin-top:14px;padding:20px;background:white;border:1px solid var(--line);border-radius:16px;overflow-wrap:anywhere}
.output-card h3 {margin:0 0 10px}
#feed-output a {display:block;margin:8px 0}
.reading-layout {display:grid;grid-template-columns:minmax(0,2.4fr) minmax(180px,1fr);gap:clamp(25px,5vw,75px);margin:40px auto 65px;max-width:990px;align-items:start}
.reading-copy section {padding:18px 0;border-top:1px solid var(--line)}
.reading-copy section h2 {margin:5px 0 14px}
.reading-copy p {font-size:17px;line-height:1.7;margin:10px 0;overflow-wrap:anywhere}
.reading-copy pre {padding:16px;background:#f1eaf5;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.reading-copy table {width:100%;border-collapse:collapse;line-height:1.45;margin:16px 0}
.reading-copy th,.reading-copy td {text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.reading-copy th {background:#f4edf4}
.related {background:#f4f3eb;border-radius:18px;padding:22px}
.related h2 {margin-bottom:12px}
#print-sheet {display:none}
@media(max-width:800px){.resource-groups{grid-template-columns:1fr 1fr}.reading-layout{grid-template-columns:1fr}.page-lead{margin-top:22px}}
@media(max-width:540px){.resource-groups,.cost-grid{grid-template-columns:1fr}.work-form{padding:18px}.library-page main{padding:0 16px}.reading-copy th,.reading-copy td{padding:7px 4px;font-size:14px}.library-page .site-header{padding-inline:12px;gap:8px}.library-page .site-header nav{display:flex}.library-page .site-header nav a{font-size:12px}.page-lead h1{font-size:37px}.output-card{padding:14px}}
@media print {body:has(#print-sheet) > :not(#print-sheet){display:none!important}#print-sheet{display:block;color:black;background:white;font:12pt/1.55 system-ui,sans-serif}#print-sheet h1{font-size:18pt}#print-sheet div{white-space:pre-wrap;overflow-wrap:anywhere}}
.reading-copy th {word-break:normal;overflow-wrap:normal}
.guide-shot {display:block;max-width:100%;height:auto;border:1px solid var(--line);border-radius:14px}
