*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans SC",system-ui,sans-serif;background:#fff;color:#1c1917;line-height:1.76;font-size:16px}
a{color:#b45309;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.site-header{background:#fff;border-bottom:2px solid #78350f;position:sticky;top:0;z-index:340}
.header-inner{max-width:1140px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative}
.brand{display:flex;align-items:center;gap:10px;color:#111;font-weight:600;font-size:.94rem}
.brand:hover{text-decoration:none}
.brand img{border-radius:6px}
.brand em{font-style:normal;color:#b45309;font-weight:700}
.site-nav ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
.site-nav a{color:#57534e;font-size:.9rem;padding:4px 0}
.site-nav a.active,.site-nav a:hover{color:#78350f;font-weight:600;border-bottom:2px solid #b45309;text-decoration:none}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:#333;transition:.2s}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.ads-top-bar{background:#fffbeb;border-bottom:1px solid #fde68a;padding:10px 0}
.applist-title{font-size:.78rem;color:#92400e;text-align:center;margin-bottom:6px}
#ads{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}

.flow-shell{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:36px;max-width:1140px;margin:0 auto;padding:28px 20px 40px}
.flow-body{min-width:0}

.flow-intro{background:linear-gradient(135deg,#78350f 0%,#b45309 55%,#fffbeb 100%);border-radius:18px;padding:34px 30px 30px;margin-bottom:36px;color:#fff;scroll-margin-top:88px}
.flow-intro .flow-badge{display:inline-block;font-size:.76rem;font-weight:600;color:#78350f;background:#fff;padding:5px 14px;border-radius:999px;margin-bottom:14px}
.flow-intro h1{font-size:clamp(1.36rem,3.4vw,1.78rem);line-height:1.36;margin-bottom:14px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.15)}
.flow-intro .flow-lede{color:#fef3c7;font-size:1.01rem;margin-bottom:10px;text-align:justify}
.flow-intro .flow-lede:last-of-type{margin-bottom:0}
.flow-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.flow-chips span{font-size:.78rem;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35)}

.flow-track{list-style:none;position:relative;padding:8px 0 12px 0}
.flow-track::before{content:"";position:absolute;left:22px;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#b45309,#fde68a 70%,#fffbeb);border-radius:4px}

.flow-node{position:relative;padding:0 0 36px 64px;scroll-margin-top:88px}
.flow-node::before{content:attr(data-step);position:absolute;left:0;top:4px;width:46px;height:46px;background:#78350f;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:700;line-height:46px;text-align:center;box-shadow:0 0 0 4px #fffbeb,0 4px 12px rgba(120,53,15,.25);z-index:2}
.flow-card{background:#fff;border:1px solid #fde68a;border-radius:14px;padding:24px 26px;box-shadow:0 6px 20px rgba(180,83,9,.07);transition:box-shadow .2s}
.flow-card:hover{box-shadow:0 10px 28px rgba(180,83,9,.12)}
.flow-card h2{font-size:1.16rem;margin-bottom:12px;color:#78350f;line-height:1.38}
.flow-card p{margin-bottom:11px;color:#333;text-align:justify;font-size:.97rem}
.flow-card figure{margin:18px 0 6px;border-radius:12px;overflow:hidden;border:1px solid #fde68a;background:#fffbeb}
.flow-card figcaption{font-size:.84rem;color:#78716c;padding:10px 14px;background:#fffbeb}
.flow-note{background:#fffbeb;border-left:5px solid #b45309;padding:14px 18px;margin:14px 0;border-radius:0 10px 10px 0;font-size:.93rem;color:#444}

.flow-faq{margin-top:12px;padding-top:28px;border-top:2px solid #78350f;scroll-margin-top:88px}
.flow-faq>h2{font-size:1.14rem;margin-bottom:16px;color:#78350f}
.faq-item{border:1px solid #fde68a;margin-bottom:10px;background:#fff;border-radius:10px;overflow:hidden}
.faq-item summary{padding:14px 18px;cursor:pointer;font-weight:500;list-style:none;color:#444}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item[open] summary{background:#fffbeb;border-bottom:1px solid #fde68a;color:#78350f}
.faq-item p{padding:14px 18px;color:#444;font-size:.94rem}

.flow-rail{position:sticky;top:88px;align-self:start;background:linear-gradient(180deg,#fffbeb 0%,#fff 100%);border:2px solid #78350f;border-radius:14px;padding:20px 16px;box-shadow:0 8px 24px rgba(120,53,15,.08)}
.flow-rail h2{font-size:.84rem;color:#78350f;margin-bottom:14px;letter-spacing:.02em}
.flow-rail ol{list-style:none;counter-reset:flownav}
.flow-rail li{counter-increment:flownav;margin-bottom:10px}
.flow-rail a{font-size:.84rem;color:#b45309;display:block;padding:4px 0;line-height:1.38;transition:color .15s}
.flow-rail a::before{content:counter(flownav);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:7px;font-size:.7rem;font-weight:700;color:#fff;background:#b45309;border-radius:50%;vertical-align:middle}
.flow-rail a.is-active{color:#78350f;font-weight:600;text-decoration:none}
.flow-rail a.is-active::before{background:#78350f}

.related-strip{max-width:1140px;margin:0 auto;padding:0 20px 44px}
.related-strip h2{font-size:1.04rem;margin-bottom:12px;color:#78350f}
.related-strip ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px 20px}
.related-strip a{font-size:.92rem}

.site-footer{background:#fffbeb;border-top:2px solid #78350f;padding:28px 20px;text-align:center;font-size:.88rem;color:#666}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-bottom:10px}
.footer-links a{color:#57534e}
.footer-sub{font-size:.82rem;color:#92400e;margin-top:6px}

.prose-page{max-width:780px;margin:0 auto;padding:32px 20px 48px}
.prose-page h1{font-size:1.4rem;margin-bottom:16px;color:#78350f}
.prose-page p{margin-bottom:12px;color:#444}

.error-page{max-width:560px;margin:80px auto;padding:20px;text-align:center}
.error-page h1{font-size:3rem;color:#78350f;margin-bottom:12px}

@media(max-width:880px){
.flow-shell{grid-template-columns:1fr}
.flow-rail{order:-1;position:static;margin-bottom:8px}
.nav-toggle{display:flex}
.site-nav{position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #fde68a;padding:12px 20px;display:none;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.site-nav.is-open{display:block}
.site-nav ul{flex-direction:column;gap:10px}
.flow-node{padding-left:56px}
.flow-node::before{width:40px;height:40px;line-height:40px;font-size:.75rem}
.flow-track::before{left:18px}
.flow-intro h1{font-size:1.3rem}
}
