:root {
    --bg: #F8F3E9;
    --bg-soft: #F0E8DA;
    --bg-paper: #FFFDF7;
    --bg-dark: #214C43;
    --bg-deep: #152E2B;

    --surface: #FFFFFF;
    --surface-cream: #FBF7EF;
    --surface-green: #E8F1EC;

    --green: #214C43;
    --green-deep: #17372F;
    --green-light: #A4C5B5;

    --orange: #CF8056;
    --orange-deep: #974C2B;
    --orange-soft: #F8E8DD;

    --teal: #7AB4B4;
    --teal-deep: #356F70;
    --teal-soft: #E7F3F1;

    --gold: #E5C981;
    --gold-deep: #806018;
    --gold-soft: #FAF2D9;

    --sage: #A8BDA4;
    --sage-soft: #EDF3E9;

    --purple: #AA9ABE;
    --purple-soft: #F2EDF7;

    --title: #243832;
    --text: #45564E;
    --muted: #627369;

    --white: #FFFFFF;
    --border: #E1D9CC;
    --border-dark: #5A786B;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.85 system-ui,sans-serif}a{color:var(--green-deep);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange-deep);outline-offset:3px}h1,h2,h3{color:var(--title);line-height:1.3;margin:.5em 0}h1{font-size:clamp(28px,4vw,46px)}h2{font-size:clamp(22px,3vw,30px)}h3{font-size:20px}p{margin:.6em 0 1em}small,.meta{color:var(--muted)}header{background:var(--bg-paper);border-bottom:2px solid var(--green)}.nav{max-width:1440px;margin:auto;display:flex;align-items:center;gap:18px;padding:12px 24px;flex-wrap:wrap}.brand{font-size:26px;font-weight:900}.brand span{font-size:14px}.brand img{width:160px;height:auto}.nav nav{display:flex;gap:16px;flex:1;justify-content:center}.nav a{padding:9px 0}#menu{display:none}main{max-width:1440px;margin:auto;padding:28px clamp(16px,4vw,56px) 65px}section{margin:30px 0}.hero{display:grid;grid-template-columns:44% 56%;gap:0;background:var(--bg-paper);border:1px solid var(--border);border-radius:18px;overflow:hidden;align-items:center}.hero>div:first-child{padding:38px}.hero img,.hero .placeholder{width:100%;min-height:240px;aspect-ratio:2.5;object-fit:contain}.btn,button{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:white;border:0;border-radius:8px;padding:10px 18px;min-height:44px;font:inherit;cursor:pointer}.alt{background:var(--orange-deep)}img{display:block;width:100%;height:auto;object-fit:contain}.placeholder{display:grid;place-items:center;text-align:center;padding:18px;min-height:100px;aspect-ratio:16/9;background:linear-gradient(135deg,var(--surface-green),var(--gold-soft));color:var(--green-deep);font-weight:650;border:1px solid var(--border)}.grid,.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.categories{grid-template-columns:repeat(4,minmax(0,1fr))}.tile{background:var(--bg-paper);border:1px solid var(--border);border-radius:12px;overflow:hidden;min-width:0}.tile img{aspect-ratio:4/3;object-fit:contain}.categories img{aspect-ratio:16/9}.pad{padding:18px}.sectionhead{border-bottom:1px solid var(--border);margin-bottom:18px}.sectionhead p{color:var(--muted)}.steps{display:flex;gap:12px;flex-wrap:wrap}.steps a{flex:1;min-width:155px;background:var(--gold-soft);padding:18px;border-left:4px solid var(--orange);border-radius:6px}.steps b{color:var(--orange-deep);margin-right:8px}.feature{display:grid;grid-template-columns:1fr 1.2fr;gap:25px;padding:24px;background:var(--surface-green);border-radius:12px}.featurelist article{border-bottom:1px solid var(--border);padding:10px 0}.layout-1,.layout-4{background:var(--orange-soft);grid-template-columns:1.4fr 1fr}.layout-1>div:first-child,.layout-4>div:first-child{order:2}.layout-2{display:block;background:var(--gold-soft)}.layout-2>div:first-child{display:grid;grid-template-columns:1fr 1fr;gap:20px}.layout-2 .featurelist,.layout-5 .featurelist{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.layout-3{background:var(--bg-dark);color:var(--white)}.layout-3 h2,.layout-3 a,.layout-3 small,.layout-3 .sectionhead p{color:var(--white)}.layout-5{display:block;background:var(--purple-soft)}.layout-5 img,.layout-5 .placeholder{max-width:520px}.layout-6{background:var(--teal-soft);grid-template-columns:1fr 2fr}.special>img,.special>.placeholder{max-height:330px;object-fit:contain}.panel,details{padding:24px;background:var(--bg-paper);border:1px solid var(--border);border-radius:12px;margin:15px 0}.filters{display:flex;flex-wrap:wrap;gap:10px;padding:20px;background:var(--bg-soft);align-items:center}input,select{font:inherit;min-height:44px;max-width:100%;padding:8px;border:1px solid var(--border-dark);border-radius:6px;background:white;color:var(--title)}.pages{display:flex;gap:12px;margin-top:22px}.pages a{padding:8px 16px;border:1px solid var(--border)}.pages [aria-current]{background:var(--green);color:white}.reading{max-width:830px;margin:auto;background:var(--bg-paper);padding:clamp(18px,4vw,48px);border:1px solid var(--border)}.reading img{max-height:450px;margin:24px 0}.reading section{border-top:1px solid var(--border);padding-top:15px;scroll-margin-top:20px}.toc{display:flex;gap:16px;flex-wrap:wrap;padding:12px;background:var(--gold-soft);margin:16px 0}.manual section{display:flex;gap:25px;border-bottom:1px solid var(--border);padding:18px 0}.number{font-size:32px;color:var(--orange-deep);font-weight:800}summary{cursor:pointer;min-height:44px}footer{background:var(--bg-dark);color:white;padding:36px max(24px,calc((100vw - 1320px)/2))}footer a{color:white}#saved a,#recent a{display:inline-block;padding:8px 12px} @media(max-width:900px){#menu{display:inline-flex}.nav nav{display:none;flex-basis:100%;order:5}.nav nav.open{display:flex;flex-wrap:wrap;justify-content:flex-start}.grid,.categories{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.feature,.layout-2>div:first-child{grid-template-columns:1fr}.hero>div:first-child{padding:24px}.layout-1>div:first-child,.layout-4>div:first-child{order:0}.layout-2 .featurelist,.layout-5 .featurelist{grid-template-columns:1fr}}@media(max-width:440px){.nav{gap:12px;padding:10px 14px}.brand{font-size:21px}.brand span{display:none}.pad{padding:12px}.grid{grid-template-columns:1fr}.categories h3{font-size:17px}.categories p{font-size:14px}.feature{padding:16px}.filters>*{max-width:100%;width:100%}.hero .placeholder{min-height:150px}.manual section{gap:12px}}