.guide-shell{--guide-ink:var(--ink,var(--nanai-ink));--guide-muted:var(--muted,var(--nanai-muted));--guide-paper:var(--paper,var(--nanai-white));--guide-line:var(--line,var(--nanai-line));--guide-primary:var(--teal,var(--nanai-green));--guide-soft:var(--mint-soft,var(--nanai-green-soft));width:min(100% - 2rem,72rem);color:var(--guide-ink);flex:1 0 auto;margin:0 auto;padding:2rem 0 4rem;display:block}.guide-shell *{box-sizing:border-box}.guide-shell h1{margin:.7rem 0;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15}.guide-shell h2{font-size:1.2rem;line-height:1.3}.guide-shell p{line-height:1.55}.guide-shell a{color:var(--guide-primary);text-underline-offset:.2em}.guide-shell a:focus-visible,.guide-shell button:focus-visible,.guide-shell input:focus-visible,.guide-shell select:focus-visible{outline:3px solid var(--guide-primary);outline-offset:4px}.guide-shell .guide-back{min-height:44px;padding:.6rem 0;display:inline-block}.guide-lead{color:var(--guide-muted);max-width:56ch;margin:.6rem 0 1.4rem}.guide-search{background:var(--guide-paper);border:1px solid var(--guide-line);border-radius:1rem;align-items:end;gap:.8rem;padding:1.2rem;display:flex}.guide-search label{flex:1;gap:.5rem;font-weight:650;display:grid}.guide-search input{border:1px solid var(--guide-line);width:100%;min-width:0;min-height:48px;font:inherit;color:var(--guide-ink);background:var(--guide-paper);border-radius:.65rem;padding:.75rem}.guide-shell button{font:inherit;cursor:pointer}.guide-button{border:1px solid var(--guide-line);background:var(--guide-paper);min-height:44px;color:var(--guide-primary);border-radius:.7rem;justify-content:center;align-items:center;padding:.6rem 1rem;font-weight:650;text-decoration:none;display:inline-flex}.guide-button--primary{background:var(--guide-primary);border-color:var(--guide-primary);color:#fff!important}.guide-filters{flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.6rem;display:flex}.guide-filters button[aria-pressed=true]{background:var(--guide-primary);color:#fff}.guide-layout{grid-template-columns:minmax(0,2fr) minmax(240px,1fr);align-items:start;gap:1.6rem;display:grid}.guide-list{gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.guide-item{border:1px solid var(--guide-line);background:var(--guide-paper);border-radius:1rem;padding:1.15rem 1.3rem;display:block;text-decoration:none!important}.guide-item strong{color:var(--guide-ink);font-size:1.04rem;line-height:1.4;display:block}.guide-item p{color:var(--guide-muted);margin:.45rem 0 0}.guide-item:hover{border-color:var(--guide-primary)}.guide-aside{background:var(--guide-soft);border-radius:1rem;padding:1.3rem}.guide-aside h2{margin-top:0}.guide-aside .guide-button{width:100%;margin-top:.5rem}.guide-result-count{color:var(--guide-muted);margin-top:0}.guide-empty{border:1px solid var(--guide-line);background:var(--guide-paper);border-radius:1rem;padding:1.4rem}.guide-empty h2{margin-top:0}.guide-article{background:var(--guide-paper);border:1px solid var(--guide-line);border-radius:1.25rem;max-width:52rem;padding:1.8rem}.guide-article ol{padding-left:1.5rem}.guide-article li{padding:.45rem 0 .45rem .25rem;line-height:1.6}.guide-article .guide-button{margin-top:1rem}.guide-related{margin-top:2rem}.guide-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.guide-meta{color:var(--guide-muted);font-size:.85rem}.guide-entry{background:var(--guide-paper);border:1px solid var(--guide-line);border-radius:1rem;margin:1rem 0;padding:1.4rem}.guide-entry h2{margin-top:0}.guide-entry p{max-width:55ch}.guide-footer-link{text-align:center;min-height:44px;color:inherit;text-underline-offset:.2em;padding:.65rem;display:block}.guide-shell h1{max-width:none}.guide-topic-select{display:none}.guide-more{margin-top:1rem}.guide-entry-area{width:100%;padding:0}@media (max-width:700px){.guide-shell{padding-top:1.2rem}.guide-layout{grid-template-columns:1fr}.guide-search{flex-direction:column;align-items:stretch}.guide-search .guide-button{width:100%}.guide-category-grid{grid-template-columns:1fr}.guide-filters{display:none}.guide-topic-select{gap:.5rem;margin:1rem 0 1.6rem;font-weight:650;display:grid}.guide-topic-select select{border:1px solid var(--guide-line);width:100%;min-height:48px;font:inherit;background:var(--guide-paper);color:var(--guide-ink);border-radius:.65rem;padding:.6rem}.guide-article{padding:1.2rem}.guide-item{padding:1rem}.guide-article .guide-button{width:100%}}
