:root {
  --brand: #3269b3;
  --brand-700: #245596;
  --brand-100: #eaf1fb;
  --mint: #3f9b89;
  --mint-100: #e8f5f1;
  --ink: #1e2b37;
  --muted: #6b7884;
  --line: #dfe7ec;
  --surface: #ffffff;
  --surface-soft: #f4f8fa;
  --warm: #e57d42;
  --warm-soft: #fff2e9;
  --danger: #d94b4b;
  --shadow: 0 14px 40px rgba(35, 66, 93, 0.09);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { background: #eef4f6; }
body { margin: 0; min-width: 320px; background: #eef4f6; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.site-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 0.82fr) minmax(390px, 560px); justify-content: center; gap: 52px; padding: 28px 36px; }
.brand-rail { min-height: calc(100vh - 56px); max-width: 620px; border-radius: 28px; padding: 38px 44px; position: sticky; top: 28px; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(150deg, #eff7fb 0%, #f7fbfa 58%, #e6f3f0 100%); border: 1px solid rgba(50,105,179,.08); }
.rail-brand { display: flex; align-items: center; gap: 12px; }
.rail-brand img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.rail-brand strong { display: block; font-size: 18px; letter-spacing: .02em; }
.rail-brand span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.rail-copy { margin: auto 0 0; max-width: 520px; }
.eyebrow { color: var(--brand); font-size: 12px; letter-spacing: .16em; font-weight: 700; }
.rail-copy h1 { margin: 16px 0 18px; font-size: clamp(40px, 5vw, 70px); line-height: 1.12; letter-spacing: -.04em; }
.rail-copy p { margin: 0; max-width: 430px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.rail-line { margin: 42px -44px 24px; color: var(--mint); opacity: .48; }
.rail-line svg { width: 100%; height: auto; overflow: visible; }
.rail-line path { fill: none; stroke: currentColor; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.rail-line circle { fill: #fff; stroke: currentColor; stroke-width: 2; }
.rail-note { color: var(--muted); font-size: 12px; letter-spacing: .05em; }

.app-frame { position: relative; width: 100%; max-width: 560px; min-height: calc(100vh - 56px); background: #f8fbfc; border: 1px solid #dbe5ea; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.app-page { min-height: calc(100vh - 58px); padding: 0 18px 98px; background: #f8fbfc; }
.app-page.no-nav { padding-bottom: 32px; }
.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.topbar.compact { height: 62px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lockup img { width: 37px; height: 37px; object-fit: contain; mix-blend-mode: multiply; }
.brand-lockup strong { display: block; font-size: 17px; letter-spacing: .01em; }
.brand-lockup span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.top-title { font-size: 18px; font-weight: 700; margin: 0; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 13px; background: #fff; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-btn:hover { border-color: #b8c9d5; background: #fbfdfe; }
.icon-btn svg, .back-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dot { position: absolute; width: 8px; height: 8px; right: 7px; top: 7px; background: var(--warm); border: 2px solid #fff; border-radius: 50%; }
.back-btn { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; margin-left: -10px; cursor: pointer; }

.search-box { height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #7a8792; display: flex; align-items: center; gap: 9px; padding: 0 14px; cursor: pointer; }
.search-box svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.home-intro { min-height: 170px; margin-top: 16px; padding: 22px 20px 18px; border-radius: 20px; background: #edf7f5; border: 1px solid #d9ece7; position: relative; overflow: hidden; display: flex; align-items: flex-start; }
.home-intro::after { content: ""; position: absolute; width: 190px; height: 190px; right: -94px; top: -102px; border: 1px solid rgba(63,155,137,.18); border-radius: 50%; box-shadow: 0 0 0 18px rgba(63,155,137,.025), 0 0 0 38px rgba(63,155,137,.02); }
.intro-copy { position: relative; z-index: 2; max-width: 64%; }
.home-intro h1 { margin: 0 0 8px; font-size: 23px; line-height: 1.35; letter-spacing: -.02em; position: relative; z-index: 1; }
.home-intro p { margin: 0; color: #60766f; font-size: 14px; line-height: 1.7; position: relative; z-index: 1; }
.nano-art { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hero-art { position: absolute; width: 47%; right: 1px; bottom: 5px; color: #4f9f90; opacity: .78; }
.nano-art .soft { opacity: .42; }
.nano-art .filled { fill: currentColor; stroke: none; }
.nano-art .soft-dot { opacity: .45; }
.hero-art .membrane-line { opacity: .7; }
.hero-art .signal-line { color: var(--brand); opacity: .72; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 20px; }
.quick-card { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 16px; text-align: left; cursor: pointer; min-height: 112px; transition: transform .18s ease, border-color .18s ease; position: relative; overflow: hidden; }
.quick-card::after { content: ""; position: absolute; width: 54px; height: 54px; right: -25px; top: -25px; border: 1px solid rgba(50,105,179,.12); border-radius: 50%; box-shadow: 0 0 0 9px rgba(50,105,179,.025); pointer-events: none; }
.quick-card:nth-child(3)::after { border-color: rgba(63,155,137,.2); box-shadow: 0 0 0 9px rgba(63,155,137,.03); }
.quick-card:hover { transform: translateY(-2px); border-color: #b8ccd9; }
.quick-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--brand); background: var(--brand-100); margin-bottom: 12px; }
.quick-icon.mint { color: var(--mint); background: var(--mint-100); }
.quick-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-card strong { display: block; font-size: 16px; }
.quick-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }

.section-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 2px 11px; }
.section-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.section-head h2::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--mint); box-shadow: 5px -4px 0 -0.5px rgba(63,155,137,.28), 9px 4px 0 -0.5px rgba(50,105,179,.22); }
.text-btn { border: 0; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; padding: 6px 0; }
.notice-card { display: flex; align-items: center; gap: 13px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.notice-mark { width: 39px; height: 39px; background: var(--brand-100); color: var(--brand); border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.notice-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.notice-card > div:nth-child(2) { min-width: 0; flex: 1; }
.notice-card strong { display: block; font-size: 14px; }
.notice-card small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-card em { color: var(--danger); font-style: normal; }

.task-list, .feed-list { display: grid; gap: 10px; }
.task-card, .question-card, .article-card, .progress-card { width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 17px; padding: 16px; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.task-card:hover, .question-card:hover, .article-card:hover { border-color: #b6cad7; transform: translateY(-1px); }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 3px 8px; border-radius: 7px; background: var(--brand-100); color: var(--brand); font-size: 12px; font-weight: 600; }
.tag.orange { background: var(--warm-soft); color: #cb682f; }
.tag.mint { background: var(--mint-100); color: #2f8172; }
.tag.gray { background: #edf1f3; color: #667581; }
.task-card h3, .question-card h3, .article-card h3 { font-size: 16px; line-height: 1.5; margin: 10px 0 7px; }
.task-card p, .question-card p, .article-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 18px; align-items: center; margin-top: 13px; color: #52616d; font-size: 13px; }
.card-meta span { display: flex; gap: 5px; align-items: center; }
.card-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card-cta { margin-left: auto; color: var(--brand); font-weight: 700; }

.bottom-nav { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; height: 78px; padding: 8px 5px max(8px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, 1fr); }
.nav-item { border: 0; background: transparent; color: #73808b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font-size: 11px; }
.nav-item.active { color: var(--brand); font-weight: 700; }
.nav-item[data-route="conversion"].active { color: var(--mint); }
.nav-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.home-highlight { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; gap: 11px; align-items: center; text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.home-highlight:hover { border-color: #b6cad7; transform: translateY(-1px); }
.home-highlight.conversion { background: #f7fcfa; border-color: #d7eae4; }
.highlight-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-100); color: var(--brand); display: grid; place-items: center; }
.highlight-icon.mint { background: var(--mint-100); color: var(--mint); }
.highlight-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlight-copy { min-width: 0; display: block; }
.highlight-copy strong { display: block; font-size: 15px; line-height: 1.5; margin: 7px 0 4px; }
.highlight-copy small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-highlight > svg { width: 17px; height: 17px; fill: none; stroke: #8b9aa4; stroke-width: 1.8; }

.segmented { display: flex; gap: 4px; padding: 4px; background: #edf2f5; border-radius: 13px; margin: 4px 0 16px; }
.segment { flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 10px; color: var(--muted); font-size: 13px; cursor: pointer; }
.segment.active { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 3px rgba(30,43,55,.08); }

.detail-hero { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 18px; }
.detail-hero h1 { font-size: 21px; line-height: 1.45; margin: 9px 0 15px; }
.budget { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: #1f3b66; }
.budget small { font-size: 12px; font-weight: 500; color: var(--muted); display: block; margin-top: 3px; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.fact { background: var(--surface-soft); border-radius: 11px; padding: 11px; font-size: 13px; color: #52616d; }
.detail-section { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; margin-top: 11px; }
.detail-section h2 { margin: 0 0 11px; font-size: 16px; }
.detail-section p, .detail-section li { color: #5f6d78; font-size: 14px; line-height: 1.75; }
.detail-section ul { margin: 0; padding-left: 19px; }
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 15px; }
.milestone { position: relative; text-align: center; padding-top: 27px; font-size: 12px; color: var(--muted); }
.milestone::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #c9d6dd; position: absolute; top: 3px; left: calc(50% - 6px); z-index: 2; }
.milestone::after { content: ""; height: 2px; background: #d9e2e7; position: absolute; top: 9px; left: -50%; right: 50%; }
.milestone:first-child::after { display: none; }
.milestone.done::before { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-100); }
.milestone.done::after { background: var(--mint); }
.milestone strong { display: block; color: var(--ink); font-size: 12px; margin-bottom: 3px; }
.ip-note { display: flex; gap: 11px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #edf4fb; color: #365b84; font-size: 13px; line-height: 1.55; }
.ip-note.mint { background: var(--mint-100); color: #2f7065; }
.sticky-action { position: sticky; bottom: 12px; padding-top: 14px; }
.primary-btn, .secondary-btn { min-height: 48px; border-radius: 13px; border: 0; padding: 0 17px; font-weight: 700; cursor: pointer; }
.primary-btn { color: #fff; background: var(--brand); box-shadow: 0 8px 20px rgba(50,105,179,.18); }
.primary-btn.mint { background: var(--mint); box-shadow: 0 8px 20px rgba(63,155,137,.18); }
.primary-btn.full, .secondary-btn.full { width: 100%; }
.secondary-btn { background: #fff; color: var(--brand); border: 1px solid #b9cce4; }
.button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.question-card .question-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.engagement { display: flex; gap: 15px; color: var(--muted); font-size: 12px; margin-top: 12px; }
.fab { position: sticky; bottom: 92px; margin: 18px 0 0 auto; width: 54px; height: 54px; border-radius: 50%; border: 0; color: #fff; background: var(--brand); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(50,105,179,.28); cursor: pointer; }
.fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

.conversion-hero { background: #eaf6f2; border: 1px solid #d3ebe4; border-radius: 20px; padding: 19px; position: relative; overflow: hidden; }
.conversion-hero .eyebrow { color: var(--mint); }
.conversion-hero h1 { margin: 9px 0 9px; font-size: 22px; line-height: 1.4; }
.conversion-hero p { margin: 0; color: #58736c; font-size: 14px; line-height: 1.7; }
.conversion-art { width: 100%; height: 72px; margin: 8px 0 2px; color: #4a9b8c; opacity: .72; }
.conversion-art .flow-line { stroke-width: 1.5; }
.conversion-art .arrow-line { stroke: var(--brand); opacity: .6; }
.ownership-strip { display: flex; gap: 9px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #cbe3dc; font-size: 13px; color: #2f7065; font-weight: 700; }
.ownership-strip svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.conversion-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9px; margin: 12px 0 20px; }
.conversion-actions button { min-height: 52px; }
.mode-list { display: grid; gap: 9px; }
.mode-card { border: 1px solid var(--line); border-radius: 15px; background: #fff; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; padding: 13px; text-align: left; cursor: pointer; }
.mode-no { width: 39px; height: 39px; border-radius: 11px; background: var(--mint-100); color: var(--mint); display: grid; place-items: center; font-weight: 800; }
.mode-card strong { font-size: 15px; display: block; }
.mode-card span { font-size: 12px; color: var(--muted); display: block; margin-top: 4px; }
.mode-card > svg { width: 18px; height: 18px; fill: none; stroke: #8b9aa4; stroke-width: 1.8; }
.process-line { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12px; overflow-x: auto; padding-bottom: 4px; }
.process-line b { color: var(--ink); white-space: nowrap; }
.process-line i { width: 18px; height: 1px; background: #bfccd4; flex: 0 0 18px; }

.article-visual { height: 112px; border-radius: 13px; background: #edf7f5; margin-bottom: 13px; position: relative; overflow: hidden; }
.article-visual::before, .article-visual::after { content: ""; position: absolute; left: -10%; right: -10%; height: 58px; border: 2px solid #75b2a5; border-radius: 50%; }
.article-visual::before { top: -32px; }
.article-visual::after { bottom: -35px; }
.wave { position: absolute; left: 8%; right: 8%; top: 51%; height: 1px; background: #9accc1; }
.wave::after { content: ""; position: absolute; width: 55%; height: 44px; left: 20%; top: -22px; background: linear-gradient(135deg, transparent 0 12%, #4c9d8d 12% 14%, transparent 14% 28%, #4c9d8d 28% 30%, transparent 30% 45%, #4c9d8d 45% 47%, transparent 47% 100%); opacity: .8; }
.source { color: var(--muted); font-size: 12px; margin-top: 11px; }

.profile-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; display: flex; align-items: center; gap: 13px; }
.profile-card-button { width: 100%; text-align: left; cursor: pointer; }
.profile-card-button > svg { width: 17px; height: 17px; fill: none; stroke: #8b9aa4; stroke-width: 1.8; flex: 0 0 auto; }
.avatar { width: 50px; height: 50px; border-radius: 15px; background: var(--brand-100); color: var(--brand); display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.avatar.large { width: 66px; height: 66px; border-radius: 20px; font-size: 23px; }
.profile-card strong { font-size: 17px; display: block; }
.profile-card > div > span { color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 11px 0 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 8px; text-align: center; }
.stat strong { display: block; font-size: 20px; color: var(--brand); }
.stat span { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.menu-list { background: #fff; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.menu-item { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.menu-item:last-child { border-bottom: 0; }
.menu-item span { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.menu-item small { margin-left: auto; color: var(--muted); font-size: 12px; }
.menu-item small.success-text, .success-text { color: var(--mint); }
.menu-item svg { width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 1.8; }
.menu-item > svg { stroke: #8b9aa4; width: 17px; }
.menu-item.danger-row span, .menu-item.danger-row span svg { color: var(--danger); stroke: var(--danger); }

.auth-page { min-height: calc(100vh - 58px); padding: 34px 24px; background: linear-gradient(160deg, #f8fbfc 0%, #edf7f5 100%); position: relative; overflow: hidden; }
.auth-art { position: absolute; width: 250px; height: 180px; right: -60px; top: 76px; opacity: .2; }
.auth-art .hero-art { width: 100%; right: 0; bottom: 0; }
.auth-brand { position: relative; z-index: 1; }
.auth-copy { position: relative; z-index: 1; margin: 72px 0 28px; max-width: 390px; }
.auth-copy h1 { margin: 11px 0 10px; font-size: 29px; line-height: 1.3; }
.auth-copy p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.auth-form { position: relative; z-index: 1; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 16px 45px rgba(35,66,93,.08); }
.code-field { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.code-btn { border: 1px solid #b9cce4; background: #f7fbff; color: var(--brand); border-radius: 11px; padding: 0 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.consent-row { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.55; margin: 3px 0 16px; }
.consent-row input { margin-top: 3px; accent-color: var(--brand); }
.auth-note { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.55; margin: 13px 0 0; }
.auth-back { display: block; margin: 18px auto 0; }
.profile-avatar-editor { display: flex; align-items: center; gap: 14px; padding: 8px 2px 18px; }

.verification-card { background: #fff; border: 1px solid #d7eae4; border-radius: 19px; padding: 18px; display: flex; gap: 15px; align-items: center; }
.verification-card h1 { font-size: 20px; margin: 8px 0 4px; }
.verification-card p { margin: 0; color: var(--muted); font-size: 13px; }
.success-icon.compact { width: 52px; height: 52px; margin: 0; flex: 0 0 auto; }
.success-icon.compact svg { width: 25px; height: 25px; }
.info-list { display: grid; gap: 0; }
.info-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-list > div:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list strong { text-align: right; }
.check-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 9px; align-items: center; }
.check-list svg { width: 18px; height: 18px; color: var(--mint); stroke: currentColor; fill: none; flex: 0 0 auto; }
.setting-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border-bottom: 0; padding-bottom: 0; }
.setting-row:first-of-type { padding-top: 0; }
.setting-tip, .agreement-copy p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; }
.security-summary { display: flex; align-items: center; gap: 13px; padding: 17px; margin-bottom: 12px; border-radius: 18px; background: var(--mint-100); color: #2f7065; }
.security-summary > svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.security-summary strong { display: block; font-size: 16px; }
.security-summary span { display: block; font-size: 12px; margin-top: 4px; opacity: .8; }
.danger-btn { min-height: 48px; border: 0; border-radius: 13px; background: var(--danger); color: #fff; padding: 0 17px; font-weight: 700; cursor: pointer; }
.danger-btn.full { width: 100%; }
.warning-note { background: #fff2f1; color: #93423e; border: 1px solid #f3d3d0; border-radius: 13px; padding: 13px; font-size: 13px; line-height: 1.65; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.form-card + .form-card { margin-top: 11px; }
.form-card h2 { font-size: 16px; margin: 0 0 15px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field:last-child { margin-bottom: 0; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d7e1e7; border-radius: 11px; background: #fbfdfe; padding: 12px 13px; color: var(--ink); outline: none; }
.field textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(63,155,137,.1); }
.radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label { display: block; min-height: 78px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; cursor: pointer; }
.radio-card label strong { display: block; font-size: 13px; }
.radio-card label span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 5px; }
.radio-card input:checked + label { border-color: var(--mint); background: var(--mint-100); color: #2f7065; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.switch-copy strong { display: block; font-size: 14px; }
.switch-copy span { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.5; }
.switch { width: 46px; height: 26px; border: 0; border-radius: 20px; background: var(--mint); padding: 3px; cursor: pointer; flex: 0 0 auto; }
.switch::after { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; margin-left: 20px; transition: margin .2s; }
.switch.off { background: #c8d2d8; }
.switch.off::after { margin-left: 0; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 11px; }

.success-panel { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 20px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mint-100); color: var(--mint); margin: 0 auto 16px; display: grid; place-items: center; }
.success-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2; }
.success-panel h1 { font-size: 21px; margin: 0 0 9px; }
.success-panel p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.receipt { margin-top: 15px; background: var(--surface-soft); border-radius: 13px; padding: 14px; text-align: left; font-size: 13px; }
.receipt div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; }
.receipt span { color: var(--muted); }

.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; min-height: 68px; }
.timeline-marker { position: relative; }
.timeline-marker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #c9d5dc; position: absolute; top: 3px; left: 6px; z-index: 2; }
.timeline-marker::after { content: ""; width: 1px; background: #d8e2e7; position: absolute; top: 16px; bottom: -3px; left: 12px; }
.timeline-item:last-child .timeline-marker::after { display: none; }
.timeline-item.done .timeline-marker::before { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-100); }
.timeline-copy strong { font-size: 14px; display: block; }
.timeline-copy span { color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(22,35,46,.38); display: grid; place-items: end center; padding: 18px; }
.modal { width: min(100%, 520px); max-height: 88vh; overflow: auto; background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 25px 80px rgba(18,35,49,.25); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-head h2 { margin: 0; font-size: 18px; }
.close-btn { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #243640; color: #fff; padding: 11px 15px; border-radius: 11px; font-size: 13px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.admin-shell { min-height: calc(100vh - 56px); background: #f5f8fa; }
.admin-top { height: 68px; padding: 0 20px; border-bottom: 1px solid var(--line); background: #fff; display: flex; justify-content: space-between; align-items: center; }
.admin-top .brand-lockup img { width: 34px; height: 34px; }
.admin-body { padding: 18px; }
.admin-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.admin-title h1 { margin: 0; font-size: 22px; }
.admin-title p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 14px; }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin-top: 8px; font-size: 23px; }
.review-list { display: grid; gap: 8px; }
.review-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.review-item strong { font-size: 14px; display: block; }
.review-item span { color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }
.review-item button { align-self: center; border: 0; color: var(--brand); background: var(--brand-100); border-radius: 9px; padding: 8px 10px; font-size: 12px; cursor: pointer; }

.empty { text-align: center; color: var(--muted); padding: 36px 10px; }
.empty strong { display: block; color: var(--ink); margin-bottom: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 940px) {
  .site-shell { display: block; padding: 0; }
  .brand-rail { display: none; }
  .app-frame { max-width: none; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .app-page, .admin-shell { min-height: 100vh; }
  .bottom-nav { position: fixed; }
}

@media (max-width: 380px) {
  .app-page { padding-left: 14px; padding-right: 14px; }
  .quick-grid, .radio-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 96px; }
  .milestones { grid-template-columns: repeat(2,1fr); row-gap: 16px; }
  .milestone:nth-child(3)::after { display: none; }
  .button-row { grid-template-columns: 1fr; }
  .home-intro { min-height: 158px; }
  .intro-copy { max-width: 70%; }
  .hero-art { width: 44%; opacity: .62; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
