:root { --green: #1F3A2E; --deep: #14271E; --gold: #A88B5A; --gold-d: #7A6038; --sand: #F7F3EC; --sand-2: #E9E1D3; --ink: #2B2823; --line: #CFC4B1; --muted: #6F6657; }
* { box-sizing: border-box; }
body { margin: 0; background: #EFE9DD; color: var(--ink); font: 11pt/1.68 Lora, Georgia, serif; }
.doc-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .7rem 1.2rem; background: var(--deep); color: #CFC4B1; font: 500 .85rem Inter, sans-serif; }
.doc-bar a { color: #F7F3EC; }
.doc-bar button { background: var(--gold); color: var(--deep); border: 0; padding: .55rem 1rem; border-radius: 4px; font: 600 .85rem Inter, sans-serif; cursor: pointer; }
.doc-bar button:focus-visible, .doc-bar a:focus-visible { outline: 3px solid #F7F3EC; outline-offset: 2px; }
.doc { max-width: 820px; margin: 1.5rem auto 3rem; background: var(--sand); padding: clamp(1.2rem, 5vw, 3.2rem); box-shadow: 0 2px 22px rgba(20, 39, 30, .12); }
.doc-note { background: #fff6dc; border-left: 4px solid var(--gold); padding: .7rem 1rem; font: 500 .9rem Inter, sans-serif; margin: 0 0 1.5rem; }
.doc-cover { background: var(--deep); color: #F7F3EC; margin: calc(-1 * clamp(1.2rem, 5vw, 3.2rem)) calc(-1 * clamp(1.2rem, 5vw, 3.2rem)) 2.5rem; padding: clamp(1.5rem, 6vw, 3.4rem); }
.doc-brand { display: flex; align-items: center; gap: .8rem; font: 600 .7rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.doc-brand .mark { width: 38px; height: auto; }
.doc-kind { margin: 3rem 0 .4rem; font: 600 .72rem Inter, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.doc-cover h1 { margin: 0; font: 500 clamp(2rem, 6vw, 3rem)/1.08 Lora, serif; }
.doc-sub { margin: 1rem 0 2rem; font: italic 1.15rem/1.5 Lora, serif; color: #CFC4B1; }
.doc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem 1.5rem; margin: 0; border-top: 2px solid var(--gold); padding-top: 1rem; }
.doc-meta dt { font: 600 .65rem Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.doc-meta dd { margin: .15rem 0 0; font-size: .95rem; }
.doc-meta .tbc, .doc-cover .tbc { color: #E0C88F; }
section { margin-top: 2.6rem; }
.num { break-after: avoid; font: 600 .75rem Inter, sans-serif; letter-spacing: .24em; color: var(--gold-d); }
h2 { font: 500 1.65rem/1.2 Lora, serif; color: var(--green); margin: .3rem 0 0; padding-bottom: .8rem; position: relative; break-after: avoid; }
h2::after { content: ""; display: block; width: 3.2rem; margin-top: .8rem; border-top: 3px solid var(--gold); }
h3 { font: 500 1.15rem/1.3 Lora, serif; color: var(--green); margin: 1.6rem 0 .5rem; break-after: avoid; }
p { margin: 0 0 .9rem; orphans: 3; widows: 3; }
.lead { font-size: 1.12rem; line-height: 1.6; }
b, strong { color: var(--green); }
.quote { margin: 1.6rem 0; padding-left: 1.2rem; border-left: 3px solid var(--gold); font: italic 1.3rem/1.45 Lora, serif; color: var(--green); }
.tbc { color: var(--gold-d); font-style: italic; }
.status { border: 1px dashed #3E5A4A; padding: .9rem 1.1rem; margin-top: 1.6rem; font-size: .9rem; color: #3E5A4A; break-inside: avoid; }
ul.dots { list-style: none; padding: 0; margin: 1rem 0; }
ul.dots li { padding-left: 1.4rem; position: relative; margin-bottom: .55rem; }
ul.dots li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #7C9082; }
ol.steps { list-style: none; padding: 0; margin: 1.4rem 0 0; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 3.4rem 1fr; padding: 1.1rem 0; border-top: 1px solid var(--line); break-inside: avoid; }
ol.steps li::before { content: counter(s); font: 500 2rem/1 Lora, serif; color: var(--gold-d); }
ol.steps b { display: block; margin-bottom: .2rem; }
table.t { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; line-height: 1.45; }
table.t th { text-align: left; font: 600 .65rem Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); padding: 0 .8rem .5rem 0; border-bottom: 2px solid var(--gold); }
table.t td { padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td:first-child { font-weight: 600; color: var(--green); }
table.t tr { break-inside: avoid; }
.doc-end { margin-top: 3rem; background: var(--deep); color: #F7F3EC; text-align: center; padding: 2.4rem 1.4rem; break-inside: avoid; }
.doc-end h2 { color: #F7F3EC; padding: 0; }
.doc-end h2::after { margin: .9rem auto 0; }
.doc-end p { color: #CFC4B1; }
.doc-end a { color: #F7F3EC; }
.doc-end .fine { font-size: .8rem; margin-top: 1.4rem; }
@media (max-width: 560px) { table.t td:first-child { white-space: normal; } }
@media print {
  @page { size: A4; margin: 18mm 16mm; }
  body { background: none; font-size: 10pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-bar { display: none; }
  .doc { max-width: none; margin: 0; padding: 0; box-shadow: none; background: none; }
  .doc-cover { margin: 0 0 8mm; break-after: page; min-height: 255mm; display: flex; flex-direction: column; justify-content: center; }
  .doc-note { display: none; }
  section { margin-top: 9mm; }
  a { color: inherit; text-decoration: none; }
}
