:root {
  color-scheme:light; --pine:#103c30; --dark:#132e26; --muted:#52645a; --line:#dce3d9; --paper:#f8f9f4; --soft:#edf0e5; --lime:#d8ee9b;
  font-family:"DM Sans","Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--dark);background:var(--paper)
}
* {box-sizing:border-box}
body{margin:0;min-width:280px;font-size:1rem} [hidden]{display:none!important} a{color:inherit}
button,input,select,textarea{font:inherit}button,select{cursor:pointer}button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b8800d;outline-offset:3px}
img{max-width:100%}
.ico{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.65}
.skip-link{position:fixed;left:10px;top:-80px;z-index:99;background:white;padding:12px 20px}
.skip-link:focus{top:8px}
.app-shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}
.rail{background:var(--pine);color:#fcfff8;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:30px 18px 24px;z-index:3}
.brand,.mobile-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.22rem;font-weight:720;letter-spacing:-.04em;line-height:1.12}
.brand img,.mobile-brand img{background:transparent;object-fit:contain}
.brand span,.mobile-brand span{display:flex;flex-direction:column;gap:6px}
.brand small,.mobile-brand small{font-size:.68rem;text-transform:uppercase;letter-spacing:.16em;font-weight:630;color:#c9d5ba}
.rail-divider{height:1px;opacity:.65;background:#527266;margin:26px 4px 18px}
#side-nav{display:grid;gap:5px}
.nav-item{display:flex;align-items:center;gap:13px;border-radius:9px;min-height:47px;padding:9px 14px;text-decoration:none;font-size:.96rem;font-weight:510;color:#e5ece2}
.nav-item:hover,.rail-footer button:hover,.website-link:hover{background:#214f40}
.nav-item[aria-current="page"]{background:#d8eea1;color:#133d2e;font-weight:680}
.rail-footer{margin-top:auto;border-top:1px solid #436757;padding-top:15px;display:grid;gap:4px}
.rail-footer button,.website-link{min-height:40px;background:none;border:0;color:#e8ede4;font-size:.87rem;text-align:left;border-radius:8px;text-decoration:none;padding:9px 12px;display:flex;align-items:center;gap:9px}
.rail-footer .ico,.header-actions .ico{width:19px;height:19px}
.workspace{min-width:0;max-width:1660px;width:100%;margin:0 auto;padding:0 clamp(22px,3.7vw,64px) 64px}
.app-header{height:77px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);margin-bottom:30px}
.context-title{display:flex;align-items:center;gap:10px;color:#4b5b50;font-size:.87rem;font-weight:560}
.context-rule{height:13px;width:1px;background:#abb8a6;margin:0 3px}
.location-dot{display:block;width:8px;height:8px;border-radius:50%;background:#709750}
.header-actions{display:flex;gap:10px;align-items:center;margin-left:auto}
.bag-button,#install-top,.quiet-btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:41px;background:#fff;color:var(--dark);border:1px solid #cfdbd0;padding:7px 14px;border-radius:100px;font-size:.87rem;font-weight:650;text-decoration:none}
.bag-button span:first-child{display:grid;place-items:center}
#bag-quantity{border-radius:25px;padding:1px 6px;color:white;background:var(--pine);font-size:.73rem}
#install-top,.mobile-brand,#bottom-nav{display:none}
#content{outline:0}
#content>div{min-width:0}
.home-title{margin:0 0 21px;font-size:clamp(2rem,3.1vw,3.35rem);line-height:1.06;letter-spacing:-.055em;font-weight:650}
.hero{border-radius:19px;background:#174b38;position:relative;isolation:isolate;overflow:hidden;min-height:298px;display:flex;align-items:center;color:#fff;box-shadow:0 1px 1px #122d2014}
.hero-photo,.hero-wash{position:absolute;inset:0;width:100%;height:100%;z-index:-1;object-fit:cover;object-position:65% 54%}
.hero-wash{background:linear-gradient(90deg,rgba(4,40,28,.95) 0%,rgba(7,43,30,.88) 24%,rgba(8,40,25,.49) 51%,rgba(11,36,25,.04) 82%),linear-gradient(0deg,rgba(14,35,25,.2),transparent 53%)}
.hero-body{padding:34px clamp(20px,3.2vw,47px);max-width:635px}
.hero-kicker{display:flex;gap:8px;align-items:center;font-size:.76rem;text-transform:uppercase;letter-spacing:.14em;color:#e0efbc;font-weight:740}
.hero-kicker .ico{width:17px;height:17px}
.hero h2{font-size:clamp(2.15rem,3.75vw,4.1rem);letter-spacing:-.054em;font-weight:620;line-height:1.01;margin:14px 0 12px;text-wrap:balance}
.hero p{font-size:1rem;color:#edf2e2;line-height:1.48;max-width:365px;margin:0 0 21px}
.hero-action,.solid-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;font-weight:680;font-size:.94rem;border:0;border-radius:100px;text-decoration:none;background:var(--lime);color:#163729;min-height:44px}
.hero-action:hover{background:#ebffc1}.solid-btn{background:var(--pine);color:white}
.home-section{margin-top:31px}
.section-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}
.section-bar h2{font-size:clamp(1.4rem,2vw,2rem);letter-spacing:-.045em;line-height:1.14;margin:0;font-weight:650}
.text-link{color:#315e46;display:inline-flex;align-items:center;gap:6px;font-weight:650;font-size:.88rem;text-decoration:none;border-bottom:1px solid #a8bfaa}
.text-link:hover{text-decoration:underline}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
@media(min-width:1025px){.home-section .guide-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:521px) and (max-width:1024px){.home-section .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.guide-art.moon-calendar img{max-width:100%;max-height:100%;object-fit:cover;object-position:center 28%;mix-blend-mode:normal}
.reading-moon-calendar{overflow:hidden}
.reading-moon-calendar :is(.rail,.app-header,#bottom-nav,#offline-notice,.skip-link){display:none!important}
#moon-calendar-frame{position:fixed;inset:0;width:100%;height:100%;height:100dvh;border:0;background:var(--paper);z-index:5}
.guide-card,.tool-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;text-decoration:none;transition:border-color .15s,transform .15s}
.guide-card:hover,.tool-card:hover{border-color:#93ac92;transform:translateY(-2px)}
.guide-art{height:clamp(122px,12.7vw,178px);display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f4f0df}
.guide-art img{max-width:93%;max-height:91%;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;display:block}
.guide-art.lfa{background:#f2eddb}.guide-art.lfa img{max-height:86%}.guide-art.farming{background:#ecebd7}.guide-art.farming img{max-height:115%;height:115%}
.guide-card-body{padding:16px 17px 18px}.guide-card-body h3,.tool-card h3{font-size:clamp(1.03rem,1.35vw,1.25rem);font-weight:660;line-height:1.22;letter-spacing:-.032em;color:#203e30;margin:0}
.guide-card p,.tool-card p{margin:5px 0 0;font-size:.89rem;color:var(--muted);line-height:1.45}
.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.tool-card{display:flex;gap:14px;align-items:center;padding:17px 18px}
.tool-symbol{display:grid;place-items:center;border-radius:10px;width:45px;height:45px;flex:0 0 45px;background:#e5eddb;color:#365b40}
.tool-symbol.chemical{background:#f4e9d5;color:#79592f}
#offline-notice{padding:12px 15px;margin:0 0 18px;border:1px solid #d7ca98;background:#fff5d6;border-radius:8px;color:#4f472d;font-size:.91rem}
#install-dialog{padding:0;border:1px solid var(--line);border-radius:18px;max-width:min(400px,90vw);color:var(--dark)}
#install-dialog::backdrop{background:#052c2280}.install-dialog-inner{padding:30px;position:relative}.install-dialog-inner img{border-radius:14px}.install-dialog-inner h2{font-size:1.65rem;letter-spacing:-.04em;margin:18px 0 10px}.install-dialog-inner p{line-height:1.6;margin-bottom:20px}
.icon-button{border:0;min-height:42px;min-width:42px;border-radius:50%;background:#eef1e8;font-size:1.5rem;color:#1b4232}
#install-close{position:absolute;top:14px;right:14px}
.view-message{padding:24px 0}.view-message h1{margin:0 0 10px;letter-spacing:-.04em}
@media(min-width:1570px){.app-shell{grid-template-columns:255px minmax(0,1fr)}.hero{min-height:350px}}
@media(max-width:1080px) and (min-width:761px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.rail{padding-left:12px;padding-right:12px}.brand img{width:44px;height:44px}.brand{font-size:1.08rem}.nav-item{gap:10px}.workspace{padding:0 24px 48px}.guide-grid,.tools-grid{gap:10px}.guide-card-body{padding:13px 12px}.guide-art{height:120px}}
@media(max-width:760px){
 .app-shell{display:block}.rail{display:none}.workspace{padding:0 16px calc(96px + env(safe-area-inset-bottom))}
 .app-header{min-height:64px;height:auto;padding:10px 0;position:relative;margin-bottom:22px}
 .mobile-brand{display:flex;font-size:1rem;gap:8px}.mobile-brand small{font-size:.59rem;color:#576b54;letter-spacing:.13em}.mobile-brand span{gap:3px}
 .context-title{display:none}#install-top{display:inline-flex;font-size:.81rem;padding:7px 11px;min-height:36px}
 .bag-button{width:38px;min-height:38px;padding:6px;position:relative}.bag-label{display:none}#bag-quantity{position:absolute;right:-3px;top:-4px}
 #bottom-nav{display:flex;position:fixed;z-index:8;bottom:0;left:0;right:0;padding:5px 4px calc(5px + env(safe-area-inset-bottom));background:#f8faf5;border-top:1px solid #c9d5cb;box-shadow:0 -3px 15px #1835230a;justify-content:space-around}
 .bottom-link{flex:1;max-width:100px;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;color:#526458;text-decoration:none;font-size:.68rem;font-weight:650;padding:6px 1px;min-width:0}
 .bottom-link .ico{width:20px;height:20px}.bottom-link[aria-current="page"]{color:#164a34}.bottom-link[aria-current="page"] .nav-icon{background:#ddecc9}
 .nav-icon{padding:4px 11px;display:grid;place-items:center;border-radius:30px}
 .home-title{font-size:2.15rem;margin:0 0 14px}
 .hero{min-height:270px;border-radius:15px}.hero-body{padding:25px 22px}.hero h2{font-size:clamp(2.05rem,7.3vw,2.9rem);margin:11px 0}.hero p{font-size:.94rem;max-width:290px}
 .hero-wash{background:linear-gradient(90deg,#082e21e8 0%,#0a3728cf 42%,#142c1c36 100%)}.hero-kicker{font-size:.68rem}
 .home-section{margin-top:25px}.section-bar{margin-bottom:11px}.guide-grid{gap:9px}.guide-art{height:104px}.guide-card-body{padding:11px}.guide-card-body h3{font-size:.98rem}.guide-card p{font-size:.82rem}
 .tools-grid{gap:9px}.tool-card{padding:13px;gap:10px}.tool-symbol{width:36px;height:36px;flex-basis:36px}.tool-card p{font-size:.84rem}
}
@media(max-width:520px){.guide-grid{grid-template-columns:1fr}.guide-card{display:grid;grid-template-columns:106px 1fr;align-items:stretch}.guide-art{height:91px}.guide-card-body{align-self:center;padding:10px 14px}.guide-card-body h3{font-size:1.04rem}.guide-card-body p{margin-top:4px}.tools-grid{grid-template-columns:1fr}.section-bar h2{font-size:1.4rem}.text-link{font-size:.83rem}.header-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
@media print{.rail,#bottom-nav,.app-header,.skip-link,#install-dialog{display:none!important}.app-shell{display:block}.workspace{padding:0}.hero{color:black}.hero-wash,.hero-photo{display:none}}
