/* AskMarcio reading system 1.0.0: preserves the Signal & Record palette. */
body .brand{min-width:0;max-width:100%}
body .brand .name{white-space:normal;overflow-wrap:anywhere;min-width:0}
body .page-content.am-reading-shell{width:100%;max-width:1180px;margin-inline:auto;padding:clamp(32px,5vw,72px) clamp(20px,4vw,40px) 80px;font-family:Sora,system-ui,-apple-system,sans-serif}
.am-reading-shell{--am-copy:clamp(1.125rem,1rem + .25vw,1.25rem);--am-measure:46rem}
.am-reading-shell[data-reading-size=large]{--am-copy:clamp(1.35rem,1.2rem + .4vw,1.55rem);--am-measure:52rem}
.am-reading-shell[data-reading-size=presentation]{--am-copy:clamp(1.5rem,1.2rem + 1vw,2.25rem);--am-measure:64rem}
body .am-reading-shell article,body .am-reading-shell .entry-comments{width:100%;max-width:var(--am-measure);margin-inline:auto;min-width:0}
body .am-reading-shell .entry-content{width:100%;max-width:none;font-size:var(--am-copy);line-height:1.75;color:#d3dfe5;overflow-wrap:anywhere}
body .am-reading-shell h1{font-family:inherit;font-size:clamp(1.875rem,1.25rem + 2vw,2.875rem);line-height:1.18;margin:16px 0 24px;max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
body .am-reading-shell[data-reading-size=presentation] h1{font-size:clamp(2rem,1.5rem + 2vw,3.5rem)}
body .am-reading-shell .entry-content p{font-size:inherit;line-height:1.75;margin:0 0 1.25em}
body .am-reading-shell .entry-content h2{font-family:inherit;font-size:1.35em;line-height:1.3;margin:2em 0 .7em;color:var(--mist)}
body .am-reading-shell .entry-content h3{font-family:inherit;font-size:1.12em;line-height:1.4;margin:1.5em 0 .65em;color:var(--mist)}
body .am-reading-shell .entry-content ul,body .am-reading-shell .entry-content ol{padding-inline-start:1.4em;margin:0 0 1.4em}
body .am-reading-shell .entry-content li{margin:.5em 0;padding-inline-start:.2em}
body .am-reading-shell .entry-content a{text-underline-offset:.2em}
body .am-reading-shell .entry-content table{width:100%;display:block;overflow-x:auto;margin:1.5em 0}
body .am-reading-shell .entry-content th,body .am-reading-shell .entry-content td{min-width:0;padding:.65em .6em;overflow-wrap:anywhere;line-height:1.5}
body .am-reading-shell .entry-content code{font-size:.9em;white-space:normal;overflow-wrap:anywhere;color:var(--green)}
body .am-reading-shell .entry-content pre{max-width:100%;overflow:auto;white-space:pre}
.am-reading-label{color:var(--orange);font-family:'JetBrains Mono',monospace;font-size:.8rem;letter-spacing:.06em}
.am-reading-shell .entry-meta{color:#aebdc8;font-size:.85rem}
.am-reader-controls,.am-step-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px;margin:24px 0;border:1px solid #395466;border-radius:12px;background:var(--panel)}
.am-reader-controls button,.am-step-controls button{font:inherit;font-size:1rem;line-height:1.4;min-height:44px;padding:10px 16px;border:1px solid #8493a0;border-radius:8px;background:var(--navy);color:var(--mist);cursor:pointer}
.am-reader-controls button[aria-pressed=true]{border-color:var(--green);box-shadow:inset 0 -3px var(--green)}
.am-reader-controls button:focus-visible,.am-step-controls button:focus-visible,.am-answer summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.am-step-controls button:disabled{opacity:.5;cursor:default}
.am-reader-controls>span{flex-basis:100%;font-size:.85rem;color:#aebdc8}
.am-step-status{font-size:.9rem;color:var(--green)}
.am-paired-link{display:block;padding:20px 24px;margin:24px 0 32px;border-left:3px solid var(--green);border-radius:0 12px 12px 0;background:var(--navy-deep);color:var(--mist);font-size:1rem;line-height:1.6}
.am-paired-link a{color:var(--green);text-underline-offset:.2em}
.am-lesson .am-lesson-step{padding-block:8px 24px;margin-block:24px;border-top:1px solid #395466;scroll-margin-top:120px}
body .am-lesson .am-lesson-step>h2{margin-top:1em}
.am-answer{padding:20px;margin:24px 0;border:1px solid #395466;border-left:3px solid var(--orange);border-radius:10px;background:var(--panel)}
.am-answer summary{cursor:pointer;color:var(--orange);font-weight:600;min-height:44px;padding-block:8px}
.am-answer[open] summary{margin-bottom:16px}
@media(max-width:540px){body .am-reading-shell .entry-content th,body .am-reading-shell .entry-content td{padding:.5em .35em}.am-reader-controls,.am-step-controls{padding:12px;gap:8px}.am-paired-link{padding:16px}.am-answer{padding:14px}}
@media print{.am-reader-controls,.am-step-controls{display:none!important}.am-lesson-step[hidden]{display:block!important}.am-reading-shell{--am-copy:12pt!important}}
