:root { --green:#075f3d; --green-dark:#073723; --gold:#c58b18; --gold-pale:#fff5d8; --plum:#4b1746; --ink:#17211c; --muted:#55665e; --paper:#fffdf8; --line:#d9d2c5; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#f1ede3; font:16px/1.55 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:var(--green); }
code { overflow-wrap:anywhere; font:700 .9em ui-monospace,SFMono-Regular,Menlo,monospace; }
.guide-header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; padding:22px clamp(20px,4vw,58px); color:white; background:linear-gradient(135deg,var(--green-dark),var(--green)); }
.guide-header img { width:82px; height:82px; object-fit:contain; }
.guide-title h1,.guide-title p { margin:2px 0; }
.guide-title h1 { font-size:clamp(1.8rem,4vw,2.8rem); line-height:1.05; }
.eyebrow { margin:0 0 7px; color:var(--gold); font-size:.72rem; font-weight:900; letter-spacing:.16em; text-transform:uppercase; }
.guide-header .eyebrow { color:#f0bd50; }
.header-actions { display:flex; max-width:420px; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.header-actions a { display:flex; min-height:42px; align-items:center; justify-content:center; padding:8px 13px; color:white; border:1px solid rgba(255,255,255,.6); border-radius:999px; font-size:.8rem; font-weight:850; line-height:1.2; text-align:center; text-decoration:none; }
.guide-main { display:grid; width:min(1120px,calc(100% - 28px)); gap:18px; margin:26px auto 50px; }
.intro-card,.guide-card,.guide-footer { padding:clamp(20px,3vw,34px); background:var(--paper); border:1px solid var(--line); border-radius:22px; box-shadow:0 12px 35px rgba(34,43,37,.07); }
.intro-card h2,.guide-card h2 { margin:0 0 12px; font-size:clamp(1.55rem,3vw,2.35rem); line-height:1.1; }
.mode-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:20px; }
.mode-grid article { padding:18px; border-radius:16px; background:#eef7f1; border-left:5px solid var(--green); }
.mode-grid article:last-child { background:#f7edf5; border-left-color:var(--plum); }
.mode-grid h3,.mode-grid p { margin:0; }
.mode-grid p { margin-top:5px; }
.section-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
.section-nav a { display:flex; min-height:48px; align-items:center; justify-content:center; padding:9px 12px; color:var(--green-dark); background:var(--paper); border:1px solid var(--line); border-radius:999px; font-size:.83rem; font-weight:850; line-height:1.2; text-align:center; text-decoration:none; }
.guide-card { scroll-margin-top:16px; }
.guide-card ol,.guide-card ul { margin:14px 0 0; padding-left:24px; }
.guide-card li + li { margin-top:9px; }
.callout { margin-top:20px; padding:15px 17px; background:var(--gold-pale); border-left:5px solid var(--gold); border-radius:10px; }
.callout.privacy { background:#eaf6ef; border-left-color:var(--green); }
dl { display:grid; grid-template-columns:minmax(180px,.42fr) minmax(0,1fr); gap:0; margin:12px 0 0; }
dt,dd { margin:0; padding:14px; border-top:1px solid var(--line); }
dt { color:var(--green-dark); font-weight:900; }
.guide-footer { display:flex; align-items:center; justify-content:center; gap:18px; color:var(--muted); text-align:left; }
.guide-footer img { width:92px; height:92px; object-fit:cover; object-position:center 35%; border:3px solid #d8b979; border-radius:50%; }
.guide-footer p { margin:0; }
@media (max-width:760px) { .guide-header { grid-template-columns:auto 1fr; align-items:start; } .guide-header img { width:62px; height:62px; } .header-actions { grid-column:1/-1; max-width:none; justify-content:stretch; } .header-actions a { flex:1 1 145px; } .mode-grid { grid-template-columns:1fr; } .section-nav { grid-template-columns:1fr 1fr; } dl { grid-template-columns:1fr; } dd { padding-top:0; border-top:0; } }
@media (max-width:430px) { .section-nav { grid-template-columns:1fr; } .guide-footer { flex-direction:column; text-align:center; } }
@page { size:A4 portrait; margin:9mm; }
@media print { body { background:white; font-size:9pt; line-height:1.38; } .guide-header { gap:5mm; padding:5mm 6mm; break-after:avoid; } .guide-header img { width:18mm; height:18mm; } .guide-title h1 { font-size:20pt; } .guide-title p { font-size:8.5pt; } .header-actions,.section-nav { display:none!important; } .guide-main { width:100%; gap:4mm; margin:5mm 0 0; } .intro-card,.guide-card,.guide-footer { padding:5mm; border-radius:3mm; box-shadow:none; break-inside:avoid-page; } .intro-card h2,.guide-card h2 { font-size:15pt; break-after:avoid; } .guide-card li + li { margin-top:1.5mm; } #troubleshooting { padding:4mm 5mm; } #troubleshooting dt,#troubleshooting dd { padding:2.4mm 3mm; } #troubleshooting dd ol { margin-top:1mm; } #troubleshooting dd p { margin-bottom:0; } .mode-grid,.callout,.guide-footer { break-inside:avoid; } .guide-footer { padding:3mm 5mm; } .guide-footer img { width:17mm; height:17mm; } a { color:var(--green-dark); text-decoration:none; } }
