/* Loaded before the original stylesheet; scoped selectors keep these refinements authoritative. */
html body { background: #e9e8e3; color: #253144; font-family: "Segoe UI", Arial, sans-serif; }
body .page { background: #fffefa; box-shadow: 0 16px 56px #172c4020; border-radius: 3px; }
body .topbar { height: 15mm; padding: 0 14mm; background: #10293d; border-bottom: 1mm solid #c5a465; }
body .brand { font-size: 21px; letter-spacing: -.7px; }
body .brand span { color: #e4c68d; }
body .tag { font-size: 14px; letter-spacing: .3px; }
body .content { height: calc(100% - 15mm); padding: 10mm 10mm 14mm; gap: 8mm; grid-template-columns: 62mm minmax(0, 1fr); }
body .content.narrow-img { grid-template-columns: 52mm minmax(0, 1fr); }
body .content.wide-img { grid-template-columns: 70mm minmax(0, 1fr); }
body h1, body h2 { color: #10293d; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.7px; }
body h1 { font-size: 36px; line-height: 1.12; }
body h2 { font-size: 30px; line-height: 1.13; }
body h3 { color: #18364a; font-size: 18px; line-height: 1.25; }
body p { font-size: 14px; line-height: 1.45; color: #536071; margin-bottom: 3mm; }
body .lead { font-size: 16px; line-height: 1.5; }
body .eyebrow { color: #92723e; font-size: 14px; letter-spacing: 1.5px; }
body .gold-rule { height: .7mm; width: 20mm; margin: 4mm 0 5mm; background: #c5a465; }
body .card { border-radius: 3mm; border-color: #e2e5e2; padding: 3.5mm; margin-bottom: 3mm; box-shadow: 0 3px 12px #19344704; }
body .card.gold { background: #f6f0e3; border-color: #e7d9bb; }
body .card.dark { background: #10293d; }
body .metric { border-radius: 2.5mm; background: #f2f5f3; border-color: #dce5e0; padding: 3.5mm; }
body .metric b { color: #163e45; font-size: 19px; }
body .metric span { display: block; font-size: 14px; line-height: 1.4; }
body .pill { background: #f7f0e1; border-color: #e6d8b9; border-radius: 1.5mm; font-size: 14px; padding: 1.7mm 2.5mm; }
body .pill-row { gap: 2mm; }
body .highlight { background: #f7f5ed; border-left-color: #c5a465; padding: 3mm 4mm; border-radius: 0 2mm 2mm 0; }
body .highlight p { margin: 0; font-size: 14px; }
body table { font-size: 14px; line-height: 1.3; overflow: hidden; border-radius: 2mm; border-collapse: separate; border-spacing: 0; }
body th { background: #18364a; font-size: 14px; font-weight: 600; padding: 2.4mm 2mm; }
body td { font-size: 14px; border: 0; border-bottom: 1px solid #e4e8e3; padding: 1.8mm 2mm; }
body tr:nth-child(even) td { background: #eff4f1; }
body tr:nth-child(odd) td { background: #f9faf7; }
body .note { font-size: 14px; line-height: 1.4; }
body .checklist li { font-size: 14px; line-height: 1.4; margin-bottom: 2mm; }
body .big-number { color: #b08c4e; font-family: Georgia, serif; font-weight: 500; }
body .page-no { color: #294657; font-size: 14px; font-weight: 700; bottom: 7mm; }
body .page-no::before { content: "STABLEWAVE  /  "; color: #8b969a; font-size: 14px; font-weight: 400; letter-spacing: 1px; }
body .image-box { padding: 0; border: none; border-radius: 4mm; background: #18364a; align-self: start; box-shadow: 0 8px 24px #18364a18; }
body .image-box::before, body .image-box::after { display: none; }
body .image-box .visual-art { width: 100%; height: 100%; display: block; object-fit: cover; }
body .image-box .art-caption { position: absolute; bottom: 0; left: 0; right: 0; text-align: left; padding: 14mm 5mm 6mm; background: linear-gradient(transparent, #10293de8); color: #fff; }
body .art-caption span { display: block; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: #e4c68d; margin-bottom: 2mm; }
body .art-caption b { font-family: Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.25; display: block; }
body .page:nth-of-type(1) .image-box { width: 70mm; height: 205mm !important; margin-top: 0 !important; }
body .page:nth-of-type(2) .image-box { width: 52mm; height: 150mm !important; margin-top: 23mm !important; }
body .page:nth-of-type(3) .image-box { width: 62mm; height: 122mm !important; margin-top: 43mm !important; }
body .page:nth-of-type(4) .image-box { width: 50mm; height: 105mm !important; margin-top: 52mm !important; }
body .page:nth-of-type(5) .image-box { width: 70mm; height: 175mm !important; margin-top: 18mm !important; }
body .page:nth-of-type(6) .image-box { width: 62mm; height: 135mm !important; margin-top: 38mm !important; }
body .page:nth-of-type(7) .image-box { width: 50mm; height: 92mm !important; margin-top: 54mm !important; }
body .page:nth-of-type(7) .card { padding: 3mm; margin-bottom: 2.5mm; }
body .page:nth-of-type(7) .checklist li { margin-bottom: 1.5mm; line-height: 1.35; }
.image-studio { max-width: 210mm; margin: 24px auto; padding: 20px 24px; border: 1px solid #d2d9d4; border-radius: 12px; background: #fffefa; }
.image-studio summary { cursor: pointer; color: #18364a; font-weight: 600; }
.image-studio .studio-intro { margin-top: 14px; font-size: 14px; }
.prompt-item { border-top: 1px solid #e1e5df; padding: 18px 0 4px; }
.prompt-item h3 { margin-bottom: 8px; }
.prompt-meta { font-size: 14px; color: #92723e; margin-bottom: 8px; }
.prompt-item textarea { width: 100%; min-height: 130px; resize: vertical; border: 1px solid #d5ddd7; border-radius: 8px; padding: 12px; background: #f7f8f4; color: #334557; font: 14px/1.6 "Segoe UI", sans-serif; }
.studio-button { display: inline-block; border: 0; border-radius: 6px; background: #18364a; color: white; padding: 9px 14px; margin: 8px 8px 8px 0; cursor: pointer; font: 14px "Segoe UI", sans-serif; text-decoration: none; }
.studio-status { font-size: 14px; color: #486d59; }
@page { size: A4; margin: 0; }
@media print { html body { background: white; -webkit-print-color-adjust: exact; print-color-adjust: exact; } body .page { margin: 0; border-radius: 0; box-shadow: none; break-after: page; } body .page:last-of-type { break-after: auto; } .image-studio { display: none; } }
@media screen and (max-width: 820px) { body .page { margin: 16px 0; } .image-studio { margin: 16px; } }
