/* Shared editorial guide layout: one body, independent PC/WAP composition. */
html:has(.guide-page){scroll-behavior:auto}
.guide-page{--guide-ink:var(--c-brand);--guide-muted:var(--c-muted);--guide-line:var(--c-line);--guide-accent:var(--c-accent);padding-top:4px}
.guide-series{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px;max-width:880px}
.guide-series>a{display:flex;align-items:center;gap:12px;min-height:62px;padding:12px 18px;border:1px solid var(--guide-line);border-radius:10px;background:#fff;color:var(--c-text);font-size:15px;font-weight:600}
.guide-series>a>.icon{margin-left:auto;width:20px;height:20px;color:var(--c-muted)}.guide-series-number{display:grid;place-items:center;flex:none;width:25px;height:25px;background:var(--c-brand-soft);border-radius:50%;font-size:12px;font-weight:500}
.guide-series>a[aria-current]{background:var(--c-brand-2);border-color:var(--c-brand-2);color:#fff}.guide-series>a[aria-current]>.icon{color:var(--c-line)}.guide-series>a[aria-current] .guide-series-number{background:var(--c-accent);color:var(--c-accent-strong)}
.guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:28px;align-items:start}
.guide-sheet{min-width:0;background:#fff;border:1px solid var(--guide-line);border-radius:16px;overflow:hidden}
.guide-header{padding:32px 36px 25px;background:linear-gradient(120deg,var(--c-brand-soft),#fff 85%);border-bottom:1px solid var(--guide-line)}
.guide-kicker{font-size:12px;line-height:1.8;color:var(--c-text);letter-spacing:.03em}.guide-header h1{color:var(--guide-ink);font-size:30px;line-height:1.5;margin:10px 0 13px;letter-spacing:-.02em}
.guide-header .article-meta{font-size:12px;color:var(--guide-muted);gap:10px 18px}
.guide-intro{display:flex;align-items:center;gap:24px;margin-top:20px}.guide-intro>p{flex:1;color:var(--c-text);font-size:15px;line-height:1.85;margin:0}
.guide-illustration{display:block;flex:none;width:190px;border:1px solid var(--c-line);border-radius:9px;overflow:hidden}.guide-illustration img{display:block;width:100%;height:auto}
.guide-mobile-toc{display:none}.guide-body{padding:0 36px}
.guide-body>.guide-section{padding:27px 0 28px;margin:0;border-bottom:1px solid var(--c-line);scroll-margin-top:28px}.guide-body>.guide-section:last-child{border-bottom:0}
.guide-section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:17px}.guide-section-heading>span{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:var(--c-brand-soft);color:var(--c-muted);font-size:12px;font-variant-numeric:tabular-nums;margin-top:2px}
.guide-body .guide-section-heading h2{border:0;padding:0;margin:0;font-size:22px;line-height:1.55;color:var(--guide-ink)}
.guide-body .guide-section-heading h2:before,.guide-body .guide-section-heading h2:after{display:none}
.guide-body p{font-size:16px;line-height:1.9;color:var(--c-text);margin:12px 0}
.guide-body .table-scroll[data-columns="2"]{max-height:none}
.guide-body .table-scroll[data-columns="2"] table{table-layout:fixed;width:100%}
.guide-body .table-scroll[data-columns="2"] th:first-child{width:26%}
.guide-body .table-scroll[data-columns="2"] th,.guide-body .table-scroll[data-columns="2"] td{overflow-wrap:anywhere;vertical-align:top}
@media(max-width:760px){.guide-body .table-scroll[data-columns="2"] th:first-child{width:30%}}
.guide-task{padding:15px 18px;background:var(--c-brand-tint);border-left:3px solid var(--c-faint);border-radius:0 9px 9px 0;margin-top:18px}.guide-task>b{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--c-text)}.guide-task .icon{width:16px;height:16px}.guide-task>p{font-size:14px;line-height:1.75;margin:6px 0 0;color:var(--c-text)}
.guide-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.guide-mode-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--c-line);border-radius:12px;padding:18px 16px;background:var(--c-brand-tint)}
.guide-mode-ck{background:var(--c-accent-soft);border-color:#fbdcc9}.guide-mode-gk{background:var(--c-brand-tint);border-color:var(--c-line)}
.guide-mode-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--c-line);color:var(--c-brand-2)}.guide-mode-icon .icon{width:19px;height:19px}
.guide-mode-ck .guide-mode-icon{background:#fbdcc9;color:var(--c-accent-strong)}.guide-mode-gk .guide-mode-icon{background:var(--c-line);color:var(--c-text)}
.guide-body .guide-mode-card h3{font-size:16px;line-height:1.65;margin:12px 0 16px;color:var(--guide-ink)}
.guide-mode-card>small{font-size:11px;color:var(--c-muted)}.guide-body .guide-mode-card>p{font-size:14px;line-height:1.8;margin:7px 0 18px}
.guide-mode-card>a{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;font-size:13px;font-weight:600;margin-top:auto;border-top:1px solid var(--c-line);padding-top:10px;color:var(--c-brand-2)}.guide-mode-card>a .icon{width:15px;height:15px}
.guide-unavailable{font-size:12px;color:var(--c-muted);margin-top:auto;min-height:44px;display:flex;align-items:center}
.guide-fee-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0}.guide-fee-checks>div{padding:17px 18px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-brand-tint)}.guide-fee-checks dt{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--c-brand)}.guide-fee-checks dt .icon{width:17px;height:17px;color:var(--c-text)}.guide-fee-checks dd{font-size:14px;line-height:1.7;color:var(--c-text);margin:9px 0 0}
.guide-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:20px}.guide-examples>a{display:flex;flex-direction:column;padding:18px;border:1px solid var(--c-line);border-radius:10px;background:var(--c-accent-soft);color:var(--guide-ink)}.guide-examples>a>span{font-size:11px;color:var(--c-accent-strong)}.guide-body .guide-examples h3{font-size:16px;line-height:1.7;margin:9px 0 16px}.guide-examples>a>b{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;font-size:12px;color:var(--c-text);min-height:32px}.guide-examples .icon{width:16px;height:16px;flex:none}
.guide-next{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 36px;background:var(--c-brand-tint);border-top:1px solid var(--guide-line)}.guide-next>div>span{font-size:11px;color:var(--c-muted);display:block;margin-bottom:7px}.guide-next-primary{display:flex;align-items:center;gap:15px;color:var(--guide-ink);font-size:18px;font-weight:600;min-height:44px}.guide-next-primary>.icon{width:20px;height:20px;color:var(--c-accent)}.guide-next-consult{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-size:12px;color:var(--c-text)}.guide-next-consult .icon{width:17px;height:17px}
.guide-sidebar{position:sticky;top:24px}.guide-desktop-toc,.guide-sidebar-note{padding:24px;background:#fff;border:1px solid var(--guide-line);border-radius:13px}.guide-desktop-toc h2{font-size:17px;color:var(--guide-ink);margin:9px 0 17px}.guide-desktop-toc a{display:flex;align-items:center;font-size:13px;line-height:1.7;min-height:48px;padding:11px 0;border-top:1px solid var(--c-line);color:var(--c-muted)}.guide-sidebar-note{margin-top:17px;background:var(--c-brand-soft);border-color:var(--c-line)}.guide-sidebar-note>.icon{color:var(--c-text);width:24px;height:24px}.guide-sidebar-note p{font-size:13px;line-height:1.85;color:var(--c-text);margin:12px 0}.guide-sidebar-note a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:var(--c-text)}
.guide-sheet>.source-material{padding:26px 36px;margin:0}.guide-page a:focus-visible,.guide-page summary:focus-visible{outline:3px solid var(--c-accent);outline-offset:3px}
@media(max-width:1080px){.guide-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.guide-header{padding:26px}.guide-body{padding:0 26px}.guide-mode-grid{grid-template-columns:1fr}.guide-mode-card{display:grid;grid-template-columns:34px minmax(0,1fr);gap:0 12px}.guide-mode-icon{grid-row:1/3}.guide-body .guide-mode-card h3{margin:0 0 7px}.guide-mode-card>small{display:none}.guide-body .guide-mode-card>p{grid-column:2;margin:0 0 8px}.guide-mode-card>a,.guide-mode-card>.guide-unavailable{grid-column:2}.guide-examples{grid-template-columns:1fr}.guide-next{padding:24px 26px;display:block}.guide-next-consult{justify-content:flex-start;margin-top:7px}}
@media(max-width:760px){.guide-page{padding-top:0}.guide-series{gap:6px;margin-bottom:14px}.guide-series>a{padding:10px 9px;min-height:48px;gap:6px;font-size:12px;border-radius:8px}.guide-series-number{width:21px;height:21px;font-size:11px}.guide-series>a>.icon{display:none}.guide-layout{grid-template-columns:minmax(0,1fr)}.guide-sheet{border-radius:12px}.guide-sidebar{display:none}.guide-header{padding:20px 19px 18px}.guide-kicker{font-size:11px}.guide-header h1{font-size:24px;line-height:1.48;margin:10px 0 12px}.guide-header .article-meta{font-size:11px;gap:8px 13px}.guide-intro{gap:12px;margin-top:17px}.guide-intro>p{font-size:13px;line-height:1.85}.guide-illustration{width:104px;border-radius:7px}.guide-body{padding:0 19px}.guide-mobile-toc{display:block;margin:15px 19px 0;border-bottom:1px solid var(--c-line)}.guide-mobile-toc>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:44px;font-size:12px;color:var(--c-text);list-style:none}.guide-mobile-toc>summary::-webkit-details-marker{display:none}.guide-mobile-toc>summary:after{content:'＋';margin-left:8px;font-size:15px}.guide-mobile-toc[open]>summary:after{content:'−'}.guide-mobile-toc>summary .icon{width:15px;height:15px;margin-left:auto}.guide-mobile-toc nav{padding:4px 0 12px}.guide-mobile-toc nav>a{display:flex;align-items:center;min-height:44px;padding:7px 0;font-size:13px;line-height:1.65;color:var(--c-text)}.guide-body>.guide-section{padding:23px 0}.guide-section-heading{gap:10px;margin-bottom:13px}.guide-section-heading>span{width:27px;height:27px;margin-top:1px;font-size:11px;border-radius:7px}.guide-body .guide-section-heading h2{font-size:19px;line-height:1.55}.guide-body p{font-size:15px;line-height:1.85;margin:11px 0}.guide-task{padding:12px 13px;margin-top:16px}.guide-task>p{font-size:13px;line-height:1.8;margin-bottom:0}.guide-body .check-list{margin-bottom:12px}.guide-mode-grid{gap:10px;margin-top:18px}.guide-mode-card{padding:15px 14px}.guide-body .guide-mode-card h3{font-size:16px}.guide-body .guide-mode-card>p{font-size:13px}.guide-mode-card>a{font-size:12px;min-height:44px;padding-top:7px}.guide-fee-checks{grid-template-columns:1fr;gap:8px;margin-top:16px}.guide-fee-checks>div{padding:13px 14px;display:grid;grid-template-columns:89px minmax(0,1fr);gap:9px;align-items:start}.guide-fee-checks dt{font-size:13px;line-height:1.8;gap:6px}.guide-fee-checks dt .icon{margin-top:4px;width:15px;height:15px;flex:none}.guide-fee-checks dd{font-size:13px;line-height:1.8;margin:0}.guide-examples{gap:10px;margin-top:16px}.guide-examples>a{padding:15px}.guide-body .guide-examples h3{font-size:15px;margin-bottom:11px}.guide-next{padding:20px 19px}.guide-next-primary{font-size:17px}.guide-next-consult{font-size:12px}.guide-sheet>.source-material{padding:20px 19px}}
@media(prefers-reduced-motion:reduce){.guide-page *{scroll-behavior:auto!important}}

.guide-preparation{margin:0 36px 28px;padding:23px;border:1px solid var(--c-line-strong);border-radius:12px;background:var(--c-brand-tint);scroll-margin-top:90px}
.guide-preparation [hidden]{display:none!important}.guide-preparation-heading{display:flex;align-items:center;gap:12px}.guide-preparation-heading>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--c-line-strong);border-radius:11px;background:#fff;color:var(--c-text)}.guide-preparation-heading .icon{width:23px;height:23px}.guide-preparation-heading small{font-size:11px;color:var(--c-muted)}.guide-preparation-heading h2{font-size:20px;line-height:1.5;color:var(--c-brand);margin:4px 0 0}
.guide-preparation>p{font-size:13px;color:var(--c-text);line-height:1.9;margin:15px 0}.guide-preparation-editor{border-top:1px solid var(--c-line-strong)}.guide-preparation-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;list-style:none;cursor:pointer;font-size:14px;font-weight:600;color:var(--c-ink)}.guide-preparation-editor>summary::-webkit-details-marker{display:none}.guide-preparation-editor>summary>b{font-size:21px;transition:transform .15s}.guide-preparation-editor[open]>summary>b{transform:rotate(45deg)}
.guide-preparation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.guide-preparation-fields>label{min-width:0;display:block}.guide-preparation-fields>label>span{display:block;font-size:13px;font-weight:600;color:var(--c-ink);margin:0 0 8px}.guide-preparation textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;resize:vertical;border:1px solid var(--c-line-strong);border-radius:8px;background:#fff;padding:12px;font:inherit;font-size:14px;line-height:1.8;color:var(--c-brand)}.guide-preparation textarea::placeholder{color:var(--c-muted);font-size:12px;line-height:1.8;opacity:1}.guide-preparation textarea:focus-visible,.guide-preparation button:focus-visible{outline:2px solid var(--c-text);outline-offset:3px}.guide-preparation-note{color:var(--c-text);font-size:12px;line-height:1.8;margin:15px 0}
.guide-preparation-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.guide-preparation-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 15px;border:1px solid var(--c-faint);border-radius:7px;background:#fff;color:var(--c-text);font:inherit;font-size:13px;cursor:pointer}.guide-preparation-actions>button:first-child{background:var(--c-ink);color:#fff;border-color:var(--c-ink)}.guide-preparation-actions .icon{width:16px;height:16px}.guide-preparation-actions>span{font-size:11px;color:var(--c-text);margin-left:auto}.guide-preparation-status{font-size:12px;line-height:1.8;color:var(--c-text);margin:12px 0}.guide-preparation-status:empty{margin:0}.guide-preparation-output{margin:12px 0}.guide-preparation-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--c-line-strong);margin-top:12px}.guide-preparation-footer>a{display:inline-flex;align-items:center;gap:8px;font-size:12px;min-height:44px;color:var(--c-ink)}.guide-preparation-footer .icon{width:15px;height:15px}.guide-preparation-footer>span{font-size:11px;line-height:1.8;color:var(--c-muted)}
@media(max-width:1080px){.guide-preparation{margin:0 26px 24px;padding:20px}.guide-preparation-fields{grid-template-columns:1fr}}
@media(max-width:760px){.guide-preparation{margin:0 19px 20px;padding:17px 15px}.guide-preparation-heading{gap:9px}.guide-preparation-heading>span{width:34px;height:34px;flex:none}.guide-preparation-heading h2{font-size:18px}.guide-preparation-heading small{font-size:10px}.guide-preparation-editor>summary{font-size:13px}.guide-preparation textarea{font-size:16px}.guide-preparation-actions{gap:8px}.guide-preparation-actions>button{padding:10px 12px;font-size:12px}.guide-preparation-actions>span{width:100%;margin:2px 0 0}.guide-preparation-footer{display:block}.guide-preparation-footer>span{display:block;margin-top:1px}}

.guide-preparation-jump{display:inline-flex;align-items:center;gap:6px;margin-top:14px;min-height:44px;font-size:12px;color:var(--c-text)}.guide-preparation-jump .icon{width:15px;height:15px;flex:none}
