@font-face{font-family:GuideTitle;src:url('../assets/fonts/Jacquard24-Regular.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;--paper:#e6dcc2;--muted:#bcb59e;--gold:#d6bc81;--line:#565647;--bg:#111a1c;--panel:#1a2828}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#283735,var(--bg) 75%);color:var(--paper);font:17px/1.65 Georgia,'Times New Roman',serif}a{color:#d9c18c;text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:#fff0bf}button,input{font:inherit}button{cursor:pointer;border:1px solid #85774e;background:#2d3933;color:var(--paper);padding:6px 10px}button:hover{background:#435042}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b6e1cb;outline-offset:3px}
.guide-header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 28px;border-bottom:2px solid #8c7c54;background:#172321f5;backdrop-filter:blur(8px)}.wordmark{font:34px/1.1 GuideTitle,Georgia,serif;color:#ead5a3;text-decoration:none;letter-spacing:.06em}.wordmark small{display:block;font:10px/1.5 system-ui,sans-serif;letter-spacing:.22em;color:#bcc4a8}.guide-header>div{display:flex;gap:16px;align-items:center;font:13px system-ui,sans-serif}.guide-layout{display:grid;grid-template-columns:275px minmax(0,1fr);gap:34px;max-width:1560px;padding:24px;margin:auto}
aside{position:sticky;top:101px;height:calc(100dvh - 125px);overflow:auto;padding:14px 16px 25px;background:#152120;border:1px solid var(--line);scrollbar-width:thin}aside label{font:10px system-ui,sans-serif;letter-spacing:.12em;color:var(--muted)}#guideSearch{width:100%;background:#0f191b;color:#eee4cd;border:1px solid #6d725b;padding:8px;margin:7px 0 12px;font:14px system-ui,sans-serif}nav a{display:block;padding:8px 0;border-bottom:1px solid #354640;text-decoration:none;font:13px/1.4 system-ui,sans-serif}nav a[aria-current]{color:#c9ebcd;font-weight:700}#searchResults:empty{display:none}#searchResults a{display:block;padding:9px 0;border-bottom:1px solid var(--line);text-decoration:none;font:14px/1.4 system-ui,sans-serif}#searchResults small{display:block;color:var(--muted);font-size:11px}#searchResults p{font:13px system-ui,sans-serif}.searching nav{display:none}
main{min-width:0;max-width:1150px;padding:5px 8px 60px}.revision{font:10px/1.5 system-ui,sans-serif;letter-spacing:.08em;color:#adb39b;border-bottom:1px solid var(--line);padding-bottom:12px;margin-top:0}h1,h2,h3,h4{color:#ead4a2;line-height:1.14;scroll-margin-top:120px}h1{font:48px/1.08 GuideTitle,Georgia,serif;margin:15px 0 25px}h2{font:32px/1.15 GuideTitle,Georgia,serif;margin:34px 0 12px;border-bottom:1px solid #5f6350;padding-bottom:6px}h3{font-size:21px}p{margin:14px 0}li{margin:7px 0}strong{color:#f2e6c5}blockquote{margin:18px 0;padding:10px 16px;border-left:3px solid #ad9663;background:#25352c;font:14px/1.55 system-ui,sans-serif;color:#c7d2b4}code{font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;background:#0c1518;border:1px solid #31423d;padding:1px 4px;overflow-wrap:anywhere}pre{overflow:auto;padding:16px;border:1px solid #536151;background:#0d181a;line-height:1.45}pre code{padding:0;border:0;background:none;white-space:pre-wrap;overflow-wrap:anywhere}
.table-wrap{max-width:100%;overflow:auto;margin:18px 0 26px;border:1px solid #56604b;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font:13px/1.5 system-ui,sans-serif}th{text-align:left;background:#354337;color:#f4e3b4;position:sticky;top:0}th,td{padding:9px 11px;border-bottom:1px solid #425345;border-right:1px solid #384a3e;vertical-align:top;min-width:58px}tr:nth-child(even) td{background:#20302b}td code{font-size:11px}.guide-image{display:block;max-width:180px;max-height:250px;width:auto;height:auto;object-fit:contain;margin:20px auto;border:1px solid #807248;box-shadow:4px 5px #060f12}img[src*='media/']{max-width:850px;max-height:none;width:100%;height:auto}.guide-footer{font:12px/1.5 system-ui,sans-serif;border-top:1px solid var(--line);margin-top:45px;padding-top:18px;color:var(--muted)}.book-cover{text-align:center;padding:70px 20px 110px;border:2px solid #8a7854;margin-bottom:45px;background:#22322c}.book-cover h1{font-size:82px}.print-book aside{display:none}.print-book .guide-layout{display:block;max-width:1220px}.print-book main{max-width:none}.print-chapter{margin-top:50px}.print-chapter>h1{padding-top:20px;border-top:3px solid #8e7a50}#chapterToggle{display:none}
@media(max-width:900px){body{font-size:16px}.guide-header{padding:12px 14px;gap:10px;flex-wrap:wrap}.wordmark{font-size:28px}.guide-header>div{gap:10px;font-size:12px}.guide-header button{font-size:12px;padding:4px 7px}.guide-layout{display:block;padding:14px}.guide-layout aside{position:static;height:auto;margin-bottom:22px;padding:10px 13px}aside nav{display:none}.nav-open aside nav{display:block}#chapterToggle{display:inline-block}main{padding:0 0 30px}h1{font-size:38px}h2{font-size:29px}.table-wrap{font-size:12px}th,td{padding:7px 8px}pre{padding:10px}.book-cover h1{font-size:56px}.book-cover{padding:40px 10px}.print-book .guide-layout{padding:12px}}
@media print{@page{size:A4;margin:16mm 14mm 17mm}*{box-shadow:none!important;text-shadow:none!important}body{background:white!important;color:#171812;font:10pt/1.4 Georgia,'Times New Roman',serif}.guide-header,aside,.revision,.guide-footer{display:none!important}.guide-layout,.print-book .guide-layout{display:block;padding:0;margin:0;max-width:none}main{max-width:none;padding:0}h1,h2,h3,strong{color:#232015}h1{font:27pt/1.1 Georgia,serif;margin:0 0 6mm}h2{font:17pt/1.2 Georgia,serif;margin:7mm 0 3mm;border-color:#888}h3{font-size:12pt}h1,h2,h3{break-after:avoid}p,li{orphans:3;widows:3}a{color:#263a2a;text-decoration:none}blockquote{color:#282c21;background:#f1f0e9;border-color:#777;font:9pt/1.4 Georgia,serif}code,pre code{color:#171812;background:#f4f3ed;font-size:7.5pt}pre{background:#f5f5f0;border-color:#999;white-space:pre-wrap;break-inside:auto}.table-wrap{overflow:visible;border-color:#888;break-inside:auto}table{font-size:7.2pt;table-layout:auto;line-height:1.3}thead{display:table-header-group}th,td{padding:1.5mm;border-color:#aaa;min-width:0;overflow-wrap:anywhere}th{position:static;background:#deded0;color:#111}tr:nth-child(even) td{background:#f1f1ea}tr{break-inside:avoid}.guide-image{max-height:45mm;max-width:45mm;margin:3mm auto}img[src*='media/']{max-height:95mm;max-width:100%;width:auto}.print-chapter{break-before:page;margin:0}.print-chapter>h1{border:0;padding:0}.book-cover{break-after:page;border:2pt solid #6f6545;background:white;padding:65mm 10mm 30mm;min-height:240mm}.book-cover h1{font:44pt GuideTitle,Georgia,serif;color:#302717}.book-cover p{font-size:14pt}}
