.families{margin-bottom:18px}
.guide-invitation{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;background:#fff8f2;border:1px solid #f4deca;border-radius:8px;margin:0 0 56px}
.guide-invitation strong{font-size:17px;display:block}
.guide-invitation p{margin:4px 0 0;color:var(--muted);font-size:13px}
.guide-open{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--accent);border-radius:5px;padding:13px 18px;color:var(--ink);background:white;font-weight:700;flex-shrink:0}
.guide-open:hover{background:#fff0e3}
.guide-question{color:var(--accent);border:1.5px solid currentColor;border-radius:50%;width:23px;height:23px;display:inline-grid;place-items:center;font-size:15px;line-height:1}
.guide-dialog{max-width:920px;padding:0;border-radius:12px}
.guide-header{position:sticky;top:0;z-index:1;background:white;padding:25px 30px 21px;border-bottom:1px solid var(--line)}
.guide-header h2{font-size:29px;margin:7px 36px 0 0}
.guide-header .close{top:18px;right:21px;width:38px;height:38px;border-radius:5px}
.guide-header .close:hover{background:var(--paper)}
.guide-body{padding:24px 30px 30px}
.guide-intro{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.7}
.guide-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}
.guide-overview button{border:1px solid var(--line);border-radius:7px;padding:15px 12px;background:white;text-align:left;display:flex;flex-direction:column;gap:9px;min-width:0}
.guide-overview button:hover{border-color:var(--accent);background:#fffaf6}
.guide-overview strong{font-size:13px;line-height:1.4}
.guide-overview small{font-size:11px;line-height:1.5;color:var(--muted)}
.guide-symbol{color:var(--accent);font-size:24px;line-height:1;font-weight:700}
.guide-detail{border:1px solid var(--line);border-radius:8px;margin-top:12px;scroll-margin-top:116px;overflow:hidden}
.guide-detail summary{cursor:pointer;display:flex;gap:14px;align-items:center;padding:19px 20px;list-style:none}
.guide-detail summary::-webkit-details-marker{display:none}
.guide-detail summary::after{content:'+';margin-left:auto;color:var(--accent);font-size:26px;font-weight:400;line-height:1}
.guide-detail[open] summary::after{content:'−'}
.guide-detail[open] summary{background:#fffaf5;border-bottom:1px solid var(--line)}
.guide-detail summary strong{display:block;font-size:16px;line-height:1.4}
.guide-detail summary small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.guide-detail-body{padding:20px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}
.guide-scheme{margin:0;align-self:start;background:var(--paper);padding:12px;border-radius:7px}
.guide-scheme svg{display:block;width:100%;height:auto}
.guide-scheme figcaption{font-size:10px;line-height:1.5;color:var(--muted);text-align:center;margin-top:6px}
.guide-text h3{font-size:12px;letter-spacing:.2px;margin:0 0 5px}
.guide-text p{font-size:13px;line-height:1.65;margin:0 0 15px}
.guide-example{background:var(--paper);border-radius:5px;padding:11px 13px;font-size:12px;line-height:1.6;margin:0 0 15px}
.guide-condition{border-left:3px solid var(--accent);padding-left:12px;color:#5f5f5b}
.guide-select{gap:18px;padding:12px 18px;font-size:13px}
.guide-reminder{margin:24px 0 0;padding:15px 17px;border-radius:6px;background:var(--paper);font-size:12px;line-height:1.7;color:var(--muted)}
.guide-reminder strong{color:var(--ink)}
.guide-detail summary:focus-visible{outline-offset:-4px}
@media(max-width:700px){.guide-invitation{flex-direction:column;align-items:stretch;gap:16px;padding:18px;margin-bottom:38px}.guide-invitation strong{font-size:16px}.guide-invitation p{font-size:12px}.guide-open{width:100%;font-size:13px}.guide-dialog{width:calc(100% - 16px);max-height:94dvh;border-radius:10px}.guide-header{padding:20px 18px 17px}.guide-header h2{font-size:24px;margin-right:28px}.guide-header .close{right:10px;top:14px}.guide-body{padding:18px}.guide-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guide-detail{scroll-margin-top:125px}.guide-detail summary{padding:16px 14px;gap:10px}.guide-detail summary strong{font-size:14px}.guide-detail-body{grid-template-columns:1fr;padding:16px;gap:17px}.guide-scheme{width:min(100%,240px);justify-self:center}.guide-select{width:100%}.guide-reminder{padding:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
