:root {
  --bg: #f3f8f5;
  --surface: #ffffff;
  --surface-soft: #eaf4ee;
  --ink: #17362a;
  --muted: #6d7f76;
  --green: #13704a;
  --green-dark: #0a4e34;
  --blue: #2471d7;
  --blue-soft: #eaf2ff;
  --line: #d9e6de;
  --danger: #a1493f;
  --shadow: 0 18px 45px rgba(15, 74, 48, .08);
  --radius: 20px;
  --font: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #dfe9e3; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.65; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.h5-shell { width: min(100%, 620px); min-height: 100vh; margin: 0 auto; background: var(--bg); box-shadow: 0 0 55px rgba(15, 54, 36, .1); }
.app-top { position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 18px 12px; border-bottom: 1px solid rgba(217, 230, 222, .8); background: rgba(243, 248, 245, .94); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(145deg, var(--green), var(--blue)); color: #fff; font-size: 11px; font-weight: 800; }
.brand b, .brand small { display: block; }
.brand b { font-size: 17px; letter-spacing: .01em; }
.brand small { overflow: hidden; max-width: 210px; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.account-button, .text-action { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 750; }
.main { padding: 0 18px calc(94px + env(safe-area-inset-bottom)); overflow: hidden; }
.hero { padding: 38px 0 30px; }
.kicker { margin: 0 0 10px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; color: var(--green-dark); font-size: clamp(38px, 11vw, 58px); line-height: 1.08; letter-spacing: 0; }
h1 em { display: block; color: var(--blue); font-style: normal; }
h2 { margin-bottom: 8px; color: var(--green-dark); font-size: 27px; line-height: 1.22; letter-spacing: 0; }
h3 { color: var(--green-dark); font-size: 17px; }
.hero-lead { margin-bottom: 22px; color: #51675c; font-size: 15px; line-height: 1.85; }
.hero-search { padding: 14px; border: 1px solid rgba(19, 112, 74, .16); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.resource-search-box { display: grid; gap: 9px; }
.resource-search-box input, .search-input, .form-grid input, .form-grid textarea, .form-grid select, .select-field select, .modal-box input, .modal-box textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fff; color: var(--ink); font-size: 14px; }
.resource-search-box input:focus, .search-input:focus, .form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .modal-box input:focus, .modal-box textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(19, 112, 74, .09); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; }
.button-primary { background: var(--green); color: #fff; box-shadow: 0 9px 20px rgba(19, 112, 74, .18); }
.button-quiet { border-color: var(--line); background: #fff; color: var(--green); }
.search-prompts, .feed-filters, .filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 10px 0 1px; scrollbar-width: none; }
.search-prompts::-webkit-scrollbar, .feed-filters::-webkit-scrollbar, .filter-row::-webkit-scrollbar { display: none; }
.search-prompts button, .feed-filters button, .filter { flex: none; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; }
.feed-filters button.active, .filter.active { border-color: var(--green); background: var(--green); color: #fff; }
.resource-search-result { display: grid; gap: 9px; margin-top: 10px; }
.search-result-head { padding-top: 10px; border-top: 1px solid var(--line); }
.search-result-head b, .search-result-head span { display: block; }
.search-result-head b { color: var(--green); font-size: 13px; }
.search-result-head span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.search-result-card { padding: 13px; border-radius: 15px; background: var(--surface-soft); }
.search-result-card h3 { margin: 4px 0; font-size: 15px; }
.search-result-card p { margin: 0; color: #536b5e; font-size: 12px; }
.search-result-type { color: var(--blue); font-size: 10px; font-weight: 800; }
.search-result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.search-result-tags span, .tag { padding: 4px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 10px; }
.search-result-card .button { width: 100%; min-height: 38px; margin-top: 10px; font-size: 11px; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }
.snapshot { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -18px; padding: 18px; background: var(--green-dark); color: #fff; }
.snapshot div { padding: 0 10px; border-right: 1px solid rgba(255,255,255,.17); text-align: center; }
.snapshot div:last-child { border-right: 0; }
.snapshot strong, .snapshot span { display: block; }
.snapshot strong { font-size: 27px; line-height: 1.1; }
.snapshot span { margin-top: 5px; color: rgba(255,255,255,.7); font-size: 10px; }
.section { padding-top: 58px; scroll-margin-top: 72px; }
.section-title { margin-bottom: 20px; }
.section-title > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.value-flow { display: grid; gap: 12px; }
.value-flow article { position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); }
.value-flow span { position: absolute; left: 18px; top: 18px; color: var(--blue); font-size: 12px; font-weight: 800; }
.value-flow h3 { margin-bottom: 5px; }
.value-flow p { margin: 0; color: var(--muted); font-size: 13px; }
.listing-feed { display: grid; gap: 13px; }
.feed-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 28px rgba(18, 78, 52, .05); }
.feed-head { display: flex; align-items: center; gap: 10px; padding: 15px 15px 8px; }
.feed-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: linear-gradient(145deg, var(--surface-soft), var(--blue-soft)); color: var(--green); font-weight: 800; }
.feed-person { min-width: 0; }
.feed-person b, .feed-person span { display: block; }
.feed-person b { font-size: 13px; }
.feed-person span { color: var(--muted); font-size: 10px; }
.feed-type { margin-left: auto; padding: 4px 7px; border-radius: 999px; background: var(--surface-soft); color: var(--green); font-size: 10px; font-weight: 700; }
.feed-body { padding: 4px 15px 15px; }
.feed-body h3 { margin-bottom: 7px; }
.feed-body p { margin-bottom: 10px; color: #4f675a; font-size: 13px; white-space: pre-line; }
.feed-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.feed-facts span { padding: 5px 8px; border-radius: 8px; background: #f5f8f6; color: var(--muted); font-size: 10px; }
.feed-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.feed-actions .button { min-height: 34px; padding: 7px 11px; font-size: 10px; }
.membership-card { margin: 58px 0 0; padding: 24px; border-radius: 24px; background: linear-gradient(145deg, #0a5136, #13704a 58%, #2368b7); color: #fff; }
.membership-card h2 { color: #fff; }
.membership-card p { color: rgba(255,255,255,.78); font-size: 13px; }
.membership-card .button { width: 100%; margin-top: 8px; background: #fff; color: var(--green-dark); box-shadow: none; }
.directory-tools { display: grid; gap: 3px; margin-bottom: 14px; }
.directory-list { display: grid; gap: 10px; }
.member-card { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.member-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.member-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.member-name h3 { margin: 0; }
.member-region { color: var(--muted); font-size: 10px; }
.member-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.member-summary { display: -webkit-box; overflow: hidden; margin: 0; color: #4f675a; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.member-facts, .member-details { display: grid; gap: 9px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.member-facts span, .member-detail-label { display: block; color: var(--muted); font-size: 10px; }
.member-facts b, .member-detail-value { display: block; margin-top: 2px; color: #3f584b; font-size: 12px; white-space: pre-line; }
.member-network, .member-links { display: grid; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.network-list { display: flex; flex-wrap: wrap; gap: 6px; }
.network-item { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 9px; border-radius: 10px; background: var(--surface-soft); color: var(--green); }
.network-item b { font-size: 12px; }
.network-item small { color: var(--muted); font-size: 10px; }
.member-links a { display: grid; gap: 3px; padding: 9px 10px; border-radius: 10px; background: var(--surface-soft); color: var(--green); text-decoration: none; }
.member-links a b { font-size: 12px; line-height: 1.5; }
.member-links a small { color: var(--muted); font-size: 10px; }
.member-actions { margin-top: 13px; }
.member-actions .button { width: 100%; min-height: 38px; font-size: 11px; }
.locked-row { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.locked-row .button { width: 100%; margin-top: 8px; }
.metric-line { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.metric-line div { padding: 15px; background: var(--surface); }
.metric-line b, .metric-line span { display: block; }
.metric-line b { color: var(--green); font-size: 25px; }
.metric-line span { color: var(--muted); font-size: 10px; }
.map-panel, .node-card, .publish-box { margin-top: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.panel-heading h3 { margin: 0; }
.panel-heading span { color: var(--muted); font-size: 10px; }
.layer-item { border-top: 1px solid var(--line); }
.layer-button { display: grid; grid-template-columns: 28px 1fr auto 15px; align-items: center; gap: 7px; width: 100%; padding: 13px 0; border: 0; background: transparent; color: var(--ink); text-align: left; }
.layer-number { color: var(--blue); font-size: 10px; font-weight: 800; }
.layer-name { font-size: 13px; font-weight: 700; }
.layer-count { color: var(--muted); font-size: 10px; }
.layer-button::after { content: "+"; color: var(--muted); }
.layer-item.open .layer-button::after { content: "-"; }
.layer-detail { display: none; padding: 0 0 13px 35px; }
.layer-item.open .layer-detail { display: block; }
.layer-detail p { margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.layer-fields { display: flex; flex-wrap: wrap; gap: 5px; }
.layer-fields span { padding: 4px 7px; border-radius: 7px; background: var(--surface-soft); color: var(--green); font-size: 9px; }
.role-item { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: #4d6458; font-size: 12px; }
.role-item b { color: var(--green); }
.coverage-list, .company-list { display: grid; gap: 8px; }
.coverage-list span, .company-list span { color: #4d6458; font-size: 12px; }
.company-list small { display: block; color: var(--muted); font-size: 9px; }
.nodes-grid { display: grid; gap: 10px; }
.node-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.node-card h3 { margin: 10px 0 5px; }
.node-card p, .node-card small { color: var(--muted); font-size: 11px; }
.node-card strong, .node-card small { display: block; }
.node-card strong { margin-top: 8px; color: var(--green); font-size: 11px; }
.form-grid { display: grid; gap: 12px; }
.form-grid label, .select-field, .modal-box label { display: grid; gap: 6px; color: var(--green-dark); font-size: 11px; font-weight: 700; }
.form-grid textarea, .modal-box textarea { min-height: 108px; resize: vertical; }
.form-grid select[multiple] { min-height: 110px; }
.publish-actions, .form-submit { display: grid; gap: 10px; margin-top: 16px; }
.publish-actions > span:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-result { color: var(--muted); font-size: 11px; }
.form-result.success { color: var(--green); }
.form-result.error { color: var(--danger); }
.check-list { display: flex; flex-wrap: wrap; gap: 7px; }
.check-list span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 400; }
.check-list input { margin-right: 4px; accent-color: var(--green); }
.payment-box { display: grid; place-items: center; gap: 12px; margin-top: 15px; padding: 15px; border-radius: 16px; background: var(--surface-soft); text-align: center; }
.payment-box img { width: 190px; height: 190px; object-fit: contain; background: #fff; }
.after-contact { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.after-contact p { color: var(--muted); font-size: 12px; }
.after-contact img { display: block; width: 170px; height: 170px; margin: 12px auto; object-fit: contain; }
.privacy-note { display: grid; gap: 4px; margin: 54px 0 0; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.privacy-note b { color: var(--green); }
.bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); width: min(100%, 620px); margin: 0 auto; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); }
.bottom-nav a, .bottom-nav button { min-height: 43px; padding: 8px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); text-align: center; font-size: 11px; }
.bottom-nav a:active, .bottom-nav button:active { background: var(--surface-soft); color: var(--green); }
.modal { position: fixed; inset: 0; z-index: 40; display: flex; align-items: end; justify-content: center; padding: 12px; background: rgba(9, 42, 27, .42); }
.modal-box { position: relative; width: min(100%, 590px); max-height: calc(100vh - 24px); overflow: auto; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 18px 18px; background: var(--surface); box-shadow: 0 30px 90px rgba(10, 55, 36, .25); }
.small-modal { max-width: 500px; }
.modal-close { position: absolute; top: 18px; right: 20px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.modal-intro { color: var(--muted); font-size: 12px; }
.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.join-steps span { padding: 9px; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 9px; }
.join-steps b { display: block; color: var(--green); font-size: 13px; }
.profile-completeness { display: grid; gap: 5px; margin: 12px 0 18px; color: var(--muted); font-size: 12px; }
.profile-completeness strong { color: var(--green-dark); font-size: 14px; }
.profile-completeness i { display: block; height: 6px; overflow: hidden; border-radius: 99px; background: var(--surface-soft); }
.profile-completeness i em { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .2s ease; }
.code-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; margin-top: 12px; }
.code-row .button { min-height: 45px; }
.account-panel { padding: 16px; border-radius: 16px; background: var(--surface-soft); color: #486155; font-size: 12px; }
.account-panel b, .account-panel span { display: block; }
.account-panel span { margin-top: 3px; color: var(--muted); }
.logout { display: block; margin: 18px auto 0; color: var(--danger); }
.empty-state { padding: 22px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; font-size: 12px; }
.toast { position: fixed; right: 18px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 18px; z-index: 60; display: none; max-width: 560px; margin: auto; padding: 11px 14px; border-radius: 13px; background: var(--green-dark); color: #fff; text-align: center; font-size: 11px; }
.toast.show { display: block; }
.app-page { min-height: calc(100vh - 74px); padding-bottom: 24px; }
.compact-hero { padding-top: 30px; }
.compact-hero h1 { font-size: clamp(34px, 9.5vw, 50px); letter-spacing: 0; }
.compact-hero .hero-lead { max-width: 32em; margin-bottom: 18px; font-size: 14px; line-height: 1.75; }
.page-intro { padding: 30px 0 20px; }
.page-intro h2 { margin-bottom: 7px; }
.chat-page { height: calc(100dvh - 133px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); min-height: 0; margin: 0 -18px; padding: 0; overflow: hidden; }
.chat-workspace { display: flex; height: 100%; min-height: 0; flex-direction: column; background: var(--bg); }
.chat-scroll { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 16px 18px 14px; overscroll-behavior: contain; scrollbar-width: none; }
.chat-scroll::-webkit-scrollbar { display: none; }
.chat-welcome { display: grid; gap: 4px; padding-top: min(3vh, 22px); text-align: left; }
.chat-welcome h1 { margin-bottom: 2px; font-size: 30px; letter-spacing: 0; }
.chat-welcome h1 em { display: inline; }
.chat-welcome > p { max-width: 29em; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.chat-welcome .search-prompts { justify-content: flex-start; margin-top: 7px; padding-top: 3px; text-align: left; }
.chat-stream { display: grid; gap: 12px; align-content: start; }
.chat-stream:not(:empty) { padding-bottom: 4px; }
.chat-bubble { max-width: 88%; padding: 11px 13px; border-radius: 16px; font-size: 14px; line-height: 1.6; }
.chat-bubble p { margin: 3px 0 0; white-space: pre-line; }
.chat-bubble b { color: var(--green); font-size: 12px; }
.chat-bubble.assistant { justify-self: start; background: var(--surface-soft); color: #456256; border-bottom-left-radius: 5px; }
.chat-bubble.assistant.has-results { width: 100%; max-width: 100%; padding: 13px; background: #f0f7f3; }
.chat-bubble.user { justify-self: end; background: var(--green); color: #fff; border-bottom-right-radius: 5px; }
.chat-bubble.user b { display: none; }
.chat-bubble.user p { margin: 0; }
.chat-bubble.thinking { opacity: .72; }
.chat-input-row { position: relative; flex: none; display: block; margin: 0; padding: 10px 18px 12px; border-top: 1px solid rgba(216,231,222,.9); background: rgba(246,250,248,.97); backdrop-filter: blur(18px); }
.chat-input-row textarea { display: block; width: 100%; height: 54px; min-height: 54px; max-height: 132px; padding: 14px 76px 13px 14px; border: 1px solid var(--line); border-radius: 15px; outline: 0; resize: none; overflow-y: auto; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.55; transition: height .16s ease, border-color .18s ease, box-shadow .18s ease; }
.chat-input-row.is-expanded textarea { padding-bottom: 42px; }
.chat-input-row textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(19,112,74,.09); }
.chat-submit { position: absolute; right: 25px; bottom: 20px; min-height: 34px; padding: 6px 12px; border-radius: 10px; box-shadow: none; font-size: 13px; white-space: nowrap; }
.home-context { margin-top: 14px; }
.home-proof { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 -18px; padding: 11px 10px; background: var(--green-dark); color: #fff; }
.home-proof div { padding: 0 8px; border-right: 1px solid rgba(255,255,255,.17); text-align: center; }
.home-proof div:last-child { border-right: 0; }
.home-proof strong, .home-proof span { display: block; }
.home-proof strong { font-size: 26px; line-height: 1.1; }
.home-proof span { margin-top: 4px; color: rgba(255,255,255,.72); font-size: 10px; }
.home-note { display: grid; gap: 3px; margin-top: 18px; padding: 14px; border-radius: 16px; background: var(--surface-soft); }
.home-note b { color: var(--green); font-size: 12px; }
.home-note span { color: var(--muted); font-size: 11px; }
.member-count { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.full-button { width: 100%; margin-top: 14px; }
.chat-result-list { display: grid; gap: 7px; margin-top: 10px; }
.chat-result-card { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.chat-result-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.chat-result-title h3 { overflow: hidden; min-width: 0; margin: 0; color: var(--green-dark); font-size: 15px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.chat-result-title span { overflow: hidden; min-width: 0; margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.chat-result-title button { flex: none; padding: 3px 7px; border: 0; border-radius: 7px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 750; }
.chat-result-card p { overflow: hidden; margin: 4px 0 0; text-overflow: ellipsis; }
.chat-result-card .chat-result-main { color: #405a4c; font-size: 13px; white-space: nowrap; }
.chat-result-card .chat-result-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.search-unlock { display: grid; gap: 5px; margin-top: 4px; padding: 13px; border: 1px solid #cce3d5; border-radius: 12px; background: var(--surface); }
.search-unlock b { color: var(--green-dark); font-size: 14px; }
.search-unlock p { margin: 0; color: #567064; font-size: 11px; line-height: 1.7; }
.search-unlock .button { width: 100%; min-height: 38px; margin-top: 3px; font-size: 13px; }
.chat-bp { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.chat-bp-content { color: #29493a; font-size: 13px; line-height: 1.8; white-space: normal; }
.account-page-panel { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.join-teaser { margin-top: 12px; background: var(--surface-soft); }
.join-teaser b { color: var(--green); font-size: 15px; }
.join-teaser span { color: var(--muted); font-size: 12px; }
.my-tools { display: grid; gap: 1px; margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.list-action { display: grid; gap: 2px; padding: 15px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; }
.list-action:last-of-type { border-bottom: 0; }
.list-action b { font-size: 13px; }
.list-action span { color: var(--muted); font-size: 11px; }
.list-action:disabled { opacity: .5; }
.record-list { display: grid; gap: 10px; }
.record-row { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.record-row b, .record-row span, .record-row p { display: block; }
.record-row b { color: var(--green-dark); font-size: 13px; }
.record-row span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.record-row p { margin: 8px 0 0; color: #536b5e; font-size: 12px; white-space: pre-line; }
.guide-list { display: grid; gap: 9px; }
.guide-list > div { display: grid; gap: 4px; padding: 15px; border-radius: 16px; background: var(--surface-soft); }
.guide-list b { color: var(--green); font-size: 13px; }
.guide-list span { color: #536b5e; font-size: 12px; }
.bottom-nav a.active { background: var(--surface-soft); color: var(--green); font-weight: 750; }
@media (min-width: 560px) { .home-proof { margin-right: -28px; margin-left: -28px; } }
@media (min-width: 560px) {
  .main { padding-right: 28px; padding-left: 28px; }
  .snapshot { margin-right: -28px; margin-left: -28px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-grid .full { grid-column: 1 / -1; }
}

body:has(.chat-page.active-page) { overflow: hidden; }
.main:has(.chat-page.active-page) { padding-bottom: 0; }
@media (min-width: 560px) {
  .chat-page { margin-right: -28px; margin-left: -28px; }
  .chat-scroll, .chat-input-row { padding-right: 28px; padding-left: 28px; }
  .chat-submit { right: 35px; }
}

/* 统一手机端的阅读层级：信息少而清楚，强调绿色行动与蓝色状态。 */
:root {
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-soft: #edf7f1;
  --ink: #17352a;
  --muted: #65796f;
  --green: #15734d;
  --green-dark: #0f5139;
  --blue: #2c70c9;
  --blue-soft: #edf4ff;
  --line: #d8e7de;
  --shadow: 0 16px 38px rgba(18, 78, 52, .07);
}
body { font-size: 14px; }
.app-top { background: rgba(246, 250, 248, .96); }
.brand small { max-width: 240px; color: var(--green); font-size: 12px; font-weight: 650; }
.account-button, .text-action { font-size: 14px; }
.hero-lead, .compact-hero .hero-lead { font-size: 15px; }
.search-prompts button, .feed-filters button, .filter { padding: 8px 12px; font-size: 12px; }
.home-proof { margin-right: -18px; margin-left: -18px; padding: 18px 10px; background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-proof div { border-right-color: var(--line); }
.home-proof strong { color: var(--blue); font-size: 28px; }
.home-proof span { color: var(--muted); font-size: 13px; }
.home-note { background: var(--surface-soft); }
.home-note b { font-size: 14px; }
.home-note span { font-size: 13px; }
.feed-card, .member-card, .ai-result-card, .account-page-panel, .publish-box, .node-card, .map-panel { box-shadow: none; }
.feed-card { border-color: var(--line); }
.feed-body { padding: 17px; }
.feed-body h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.feed-type { display: inline-block; margin-bottom: 8px; padding: 5px 9px; font-size: 12px; }
.feed-body p { margin-bottom: 13px; font-size: 14px; line-height: 1.75; }
.feed-facts { display: grid; gap: 7px; }
.feed-facts span { padding: 7px 10px; border-radius: 10px; background: #f5f9f6; color: #50685b; font-size: 13px; line-height: 1.5; }
.feed-facts span b { margin-right: 5px; color: var(--green); }
.feed-case { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: #456156; font-size: 13px; line-height: 1.6; }
.feed-case b { color: var(--blue); font-size: 13px; }
.feed-actions { padding: 11px 17px 14px; font-size: 12px; }
.feed-actions .button { min-height: 38px; font-size: 12px; }
.page-intro { padding-top: 32px; }
.page-intro p, .section-title > p:last-child { font-size: 14px; }
.member-count { font-size: 13px; }
.member-summary { font-size: 14px; line-height: 1.7; }
.member-region, .member-facts span, .member-detail-label { font-size: 12px; }
.member-facts b, .member-detail-value { font-size: 13px; line-height: 1.6; }
.member-links a small, .network-item small { font-size: 12px; }
.locked-row { font-size: 13px; line-height: 1.6; }
.result-summary span, .result-match { font-size: 12px; }
.ai-result-group h3 { font-size: 16px; }
.ai-result-card p { font-size: 13px; line-height: 1.7; }
.result-facts span { font-size: 12px; }
.result-facts b { font-size: 13px; }
.search-unlock p { font-size: 13px; }
.form-grid label, .select-field, .modal-box label { font-size: 13px; }
.form-result, .modal-intro { font-size: 13px; }
.check-list span { font-size: 12px; }
.join-steps span { font-size: 12px; }
.join-steps b { font-size: 15px; }
.bottom-nav a, .bottom-nav button { font-size: 13px; }
.modal-close { font-size: 13px; }
.account-panel { font-size: 14px; }
.account-page-panel { background: rgba(255,255,255,.82); }
.membership-plans { display: grid; gap: 12px; margin-top: 18px; }
.membership-plan { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.membership-plan.featured { border-color: #bfd8f4; background: linear-gradient(180deg, #f5f9ff, #ffffff); }
.membership-plan > div { display: grid; gap: 3px; }
.membership-plan > div span { color: var(--blue); font-size: 13px; font-weight: 750; }
.membership-plan > div strong { color: var(--green-dark); font-size: 22px; line-height: 1.3; }
.membership-plan ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0 0 0 18px; color: #50685b; font-size: 13px; line-height: 1.55; }
.membership-plan li::marker { color: var(--green); }
.consultation-qr { display: grid; justify-items: center; gap: 8px; padding-top: 12px; text-align: center; }
.consultation-qr img { width: min(100%, 220px); height: auto; border-radius: 14px; }
.consultation-qr b { color: var(--green); font-size: 14px; }
.payment-box p { font-size: 13px; }
.after-contact p { font-size: 13px; }
.privacy-note { font-size: 12px; }
@media (max-width: 389px) {
  .app-top { padding-right: 14px; padding-left: 14px; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand b { font-size: 16px; }
  .brand small { max-width: 180px; font-size: 11px; }
  .main { padding-right: 14px; padding-left: 14px; }
  .hero-actions { grid-template-columns: 1fr; }
  .home-proof { margin-right: -14px; margin-left: -14px; }
  .home-proof strong { font-size: 25px; }
  .home-proof span { font-size: 12px; }
  .membership-plan > div strong { font-size: 20px; }
}

/* 所有用户可见辅助文字保持至少 12px，手机端不以小字换取所谓的精致感。 */
.kicker,
.search-result-head span,
.search-result-type,
.search-result-tags span,
.search-result-card .button,
.snapshot span,
.feed-person span,
.feed-type,
.feed-actions .button,
.layer-number,
.layer-count,
.layer-fields span,
.company-list small,
.node-top,
.node-card small,
.node-card strong,
.form-result,
.privacy-note,
.bottom-nav a,
.bottom-nav button,
.modal-close,
.join-steps span,
.toast,
.ai-result-group h3 span,
.result-match,
.result-summary span,
.result-facts span,
.result-facts b,
.ai-result-card .button,
.search-unlock p,
.member-count,
.record-row span { font-size: 12px; }
.brand-mark { font-size: 12px; }
.text-link { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 750; text-align: left; }
.feed-actions { font-size: 12px; }
.chat-bubble b,
.panel-heading span,
.list-action span,
.layer-detail p,
.node-card p { font-size: 12px; }

/* TokenLink 信息流：一张页面、一层底色、用留白和细线建立层级。 */
.brand-mark { border-radius: 9px; background: var(--green); }
.app-page:not(.chat-page) { padding-bottom: 28px; }
.feed-banner, .stream-header { margin: 0; padding: 20px 0 10px; background: transparent; }
.feed-banner h2, .stream-header h2 { margin: 0 0 10px; color: var(--ink); font-size: 26px; letter-spacing: 0; }
.feed-banner .feed-filters { margin: 0; }
.feed-filters, .filter-row { gap: 2px; padding: 3px; border-radius: 10px; background: #eaf2ed; }
.feed-filters button, .filter { padding: 7px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.feed-filters button.active, .filter.active { border: 0; background: var(--surface); color: var(--green); box-shadow: 0 1px 3px rgba(15, 81, 57, .09); font-weight: 750; }
.listing-feed, .directory-list { display: grid; gap: 0; }
.feed-card, .member-card { overflow: visible; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.feed-body { padding: 19px 0 13px; }
.feed-body h3 { margin: 0 0 13px; color: var(--ink); font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.feed-type, .feed-head, .feed-avatar, .feed-person { display: none; }
.feed-facts { display: grid; gap: 8px; }
.feed-facts > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: baseline; gap: 10px; }
.feed-facts > div > span { padding: 0; border-radius: 0; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.55; }
.feed-facts > div > b { min-width: 0; color: #2d493c; font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.feed-timing { margin: 13px 0 0 !important; padding-top: 12px; border-top: 1px solid rgba(216, 231, 222, .72); color: var(--muted) !important; font-size: 13px !important; line-height: 1.65 !important; }
.feed-actions { padding: 10px 0 16px; border: 0; color: var(--muted); font-size: 12px; }
.feed-actions time { font-variant-numeric: tabular-nums; }
.text-link { min-height: 34px; color: var(--blue); }
.full-button[data-publish] { margin-top: 22px; }

.directory-tools { gap: 8px; margin-bottom: 2px; }
.directory-tools .search-input { border-radius: 10px; background: var(--surface); }
.member-count { margin: 12px 0 2px; }
.member-card { padding: 19px 0 16px; }
.member-head { align-items: baseline; }
.member-name h3 { color: var(--ink); font-size: 18px; letter-spacing: 0; }
.member-region { max-width: 42%; font-size: 12px; text-align: right; }
.member-role { margin: 7px 0 9px; color: var(--blue); font-size: 13px; line-height: 1.55; }
.selection-mark { color: var(--green); font-size: 12px; font-weight: 750; }
.member-summary { display: block; overflow: visible; margin: 0; color: #405b4e; font-size: 14px; line-height: 1.75; }
.member-details, .member-business, .member-network, .member-links { display: grid; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.member-detail-label { color: var(--muted); font-size: 12px; font-weight: 500; }
.member-detail-value { margin-top: 3px; color: #365145; font-size: 14px; font-weight: 500; line-height: 1.7; }
.member-business button { display: grid; gap: 3px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(216, 231, 222, .72); background: transparent; color: var(--ink); text-align: left; }
.member-business button:last-child { border-bottom: 0; }
.member-business button b { font-size: 14px; }
.member-business button small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.network-list { gap: 10px 16px; }
.network-item { padding: 0; border-radius: 0; background: transparent; }
.network-item b { color: var(--green); font-size: 13px; }
.network-item small { font-size: 12px; }
.member-links a { padding: 9px 0; border-bottom: 1px solid rgba(216, 231, 222, .72); border-radius: 0; background: transparent; }
.member-links a:last-child { border-bottom: 0; }
.member-actions { margin-top: 15px; }
.member-actions .button { width: auto; min-height: 38px; padding-right: 0; padding-left: 0; border: 0; background: transparent; color: var(--blue); }
.member-date { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }
.locked-row { margin-top: 14px; }
.locked-row .button { width: auto; min-height: 36px; padding: 6px 0; border: 0; }

.chat-bubble.assistant.has-results { padding: 0; background: transparent; color: var(--ink); }
.chat-bubble.assistant.has-results > b, .chat-bubble.assistant.has-results > p { margin-left: 2px; }
.chat-result-list { gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.chat-result-card { padding: 12px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.chat-result-title h3 { color: var(--ink); font-size: 15px; }
.chat-result-title button { min-height: 32px; padding: 4px 0 4px 9px; border-radius: 0; background: transparent; }
.chat-result-card .chat-result-main { color: #405b4e; font-size: 13px; }
.chat-result-card .chat-result-meta { color: var(--muted); font-size: 12px; }
.search-unlock { margin-top: 8px; padding: 14px 2px 2px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.search-unlock .button { width: auto; justify-self: start; padding-right: 18px; padding-left: 18px; }

@media (max-width: 389px) {
  .feed-facts > div { grid-template-columns: 70px minmax(0, 1fr); }
}
