@page { size: A4; margin: 0; }
* { box-sizing: border-box; }
:root { --paper: #f5f3eb; --ink: #19231d; --lime: #dfff64; --muted: #56634f; }
body { margin: 0; background: #dfe3d6; color: var(--ink); font: 10.5pt/1.55 Arial, Helvetica, sans-serif; }
a { color: #365520; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #637e2e; outline-offset: 4px; }
.page { position: relative; width: 210mm; height: 297mm; margin: 28px auto; padding: 17mm 18mm 22mm; background: var(--paper); box-shadow: 0 5px 30px #19231d18; }
.masthead { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #c5cdb7; padding-bottom: 12px; margin-bottom: 26px; font: 8pt/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.mini-brand { font: 25pt Georgia, serif; letter-spacing: -.08em; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 19px; font-size: 31pt; line-height: 1.07; letter-spacing: -.055em; }
h2 em { font-family: Georgia, serif; color: #557238; font-weight: 400; }
h3 { margin: 20px 0 9px; font-size: 13pt; line-height: 1.3; letter-spacing: -.025em; }
p { margin-bottom: 13px; }
.intro { font-size: 12pt; line-height: 1.6; color: #43513e; margin-bottom: 23px; }
.note { font-size: 9pt; color: var(--muted); line-height: 1.6; }
.callout { background: #e4ebd5; padding: 17px 20px; margin: 20px 0; border-radius: 9px; }
.callout > strong { font-size: 11pt; }
.callout p { margin: 8px 0 0; }
.dark { background: var(--ink); color: #f9faed; }
.dark > strong { color: var(--lime); }
.dark p, .dark li { color: #e0e8d6; }
.callout ol { padding-left: 18px; margin-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 12px 0 20px; }
.checklist li { display: flex; gap: 12px; margin-bottom: 9px; }
.checklist li::before { content: ''; flex: 0 0 12px; height: 12px; border: 1px solid #7b8a68; margin-top: 5px; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; margin: 18px 0; font-size: 9.5pt; line-height: 1.55; }
th { text-align: left; background: var(--ink); color: #fffef4; font-size: 9pt; font-weight: 500; }
td, th { padding: 11px 13px; border: 1px solid #c6cfb7; vertical-align: top; overflow-wrap: anywhere; }
tbody tr:nth-child(even) { background: #eaf0df; }
.write-box { border: 1px solid #a9b697; border-radius: 8px; padding: 17px; font-size: 10pt; line-height: 2.2; margin-bottom: 15px; }
.example-steps article { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid #c6cfb7; }
.example-steps article > span { color: #557238; font: 10pt ui-monospace, monospace; padding-top: 3px; }
.example-steps h3 { margin: 0 0 8px; }
.example-steps p { margin: 0; }
.formula { border-block: 1px solid #c6cfb7; padding: 15px 10px; margin-bottom: 15px; font-weight: 600; text-align: center; font-size: 10pt; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.two-columns p { font-size: 9.5pt; }
.worksheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.worksheet-grid > div { border: 1px solid #b6c2a3; border-radius: 8px; padding: 13px 15px; }
.worksheet-grid h3 { font-size: 11pt; margin: 0 0 5px; }
.worksheet-grid p { font-size: 8pt; color: var(--muted); margin: 0 0 8px; }
.lines { height: 65px; background: repeating-linear-gradient(transparent 0, transparent 21px, #c3cdb5 21px, #c3cdb5 22px); }
.signoff { margin-top: 18px; padding: 14px 17px; background: #e4ebd5; border-radius: 8px; font-size: 10pt; }
.lines.short { height: 44px; }
.prompt { white-space: pre-wrap; overflow-wrap: anywhere; margin: 18px 0; padding: 20px; border-left: 4px solid #91a75d; border-radius: 8px; background: #e4ebd5; font: 9pt/1.55 Consolas, 'Courier New', monospace; }
.next-options article { padding: 13px 0; border-bottom: 1px solid #c6cfb7; }
.next-options p { margin: 6px 0 0; font-size: 10pt; }
.studio-link { display: inline-block; background: var(--lime); color: var(--ink); padding: 12px 17px; border-radius: 7px; margin-top: 20px; font-weight: 600; }
footer { position: absolute; left: 18mm; right: 18mm; bottom: 12mm; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #bfcbb0; padding-top: 10px; color: #56634f; font: 7pt/1.5 ui-monospace, monospace; letter-spacing: .04em; }
.cover { background: var(--ink); color: #fffef5; }
.cover .masthead { border-color: #5b684d; margin-bottom: 48px; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 11px; background: var(--lime); color: var(--ink); font: 38px Georgia, serif; }
.eyebrow { font: 8pt/1.5 ui-monospace, monospace; letter-spacing: .1em; color: var(--lime); }
.cover h1 { font-size: 70pt; line-height: .96; letter-spacing: -.06em; margin: 30px 0 35px; }
.cover h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--lime); }
.subtitle { font-size: 22pt; line-height: 1.3; color: #d6dfca; letter-spacing: -.025em; }
.cover-map { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 25px 0; margin-top: 36px; border-block: 1px solid #5b684d; }
.cover-map span { font-size: 13pt; }.cover-map small { display: block; font: 8pt monospace; color: var(--lime); margin-bottom: 9px; }.cover-map b { color: #b8c6a4; font-weight: 400; }
.cover-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; }
.cover-bottom strong { font: 8pt ui-monospace, monospace; letter-spacing: .05em; }
.cover-bottom p { margin-top: 12px; font-size: 10pt; color: #c4d0b7; }
.big-arrow { color: var(--lime); font-size: 62pt; line-height: 1; }
.cover footer { border-color: #5b684d; color: #c4d0b7; }
.screen-nav { display: flex; justify-content: center; gap: 25px; padding: 18px; font-size: 13px; flex-wrap: wrap; }
#stack td, #stack th { padding: 8px 12px; }
#stack .intro { margin-bottom: 16px; }
#stack h3 { margin-top: 15px; }
#stack .formula { padding: 11px 8px; }
#agent .prompt { padding: 16px 20px; line-height: 1.45; }
@media print { body { background: var(--paper); print-color-adjust: exact; -webkit-print-color-adjust: exact; }.page { margin: 0; box-shadow: none; break-after: page; }.page:last-child { break-after: auto; }.screen-nav { display: none; } }
@media screen and (max-width: 820px) { .page { width: calc(100% - 24px); height: auto; min-height: 0; padding: 28px 24px; margin-block: 16px; }footer { position: static; margin-top: 30px; font-size: 8px; }h2 { font-size: 30px; }.cover h1 { font-size: clamp(48px, 12vw, 80px); }.cover .masthead { margin-bottom: 30px; }.cover-bottom { margin-top: 25px; }.cover-bottom p br { display: none; }.cover-map span { font-size: 12px; }.prompt { font-size: 11px; }table { font-size: 12px; }td,th { padding: 9px; }.worksheet-grid,.two-columns { grid-template-columns: 1fr; }.write-box { overflow-wrap: anywhere; }.big-arrow { font-size: 40px; } }
