:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#173f36;background:#f8f5ec;font-synthesis:none;--green: #075849;--green-dark: #043f35;--cream: #f8f5ec;--paper: #fffdf7;--gold: #c7922d;--ink: #173f36;--muted: #71817c;--line: #ddd8ca;--mint: #e8f3ee}*{box-sizing:border-box}html{width:100%;overflow-x:hidden;background:var(--cream);scrollbar-gutter:stable}body{width:100%;margin:0;overflow-x:hidden;min-height:100vh;min-height:100svh;background:radial-gradient(circle at 80% 0,rgba(213,174,95,.13),transparent 30rem),var(--cream)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;padding-bottom:0}.topbar{position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(7,88,73,.12);background:#f8f5eceb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar-inner{width:min(1120px,calc(100% - 40px));height:72px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;color:#f4d991;border-radius:13px;background:linear-gradient(145deg,var(--green),var(--green-dark));box-shadow:0 8px 24px #0758492e}.brand b{display:block;font-family:Songti SC,SimSun,serif;font-size:18px;letter-spacing:.05em}.brand small{display:block;margin-top:3px;color:var(--gold);font-size:8px;letter-spacing:.22em}.desktop-nav{display:flex;align-items:center;gap:7px}.desktop-nav a{padding:10px 16px;border-radius:999px;color:#64756f;font-size:14px;transition:.2s ease}.desktop-nav a:hover,.desktop-nav a.active{color:#fff;background:var(--green)}.page-container{width:min(1120px,calc(100% - 40px));min-width:0;margin:0 auto}.mobile-nav{display:none}.hero{max-width:880px;margin:0 auto;padding:86px 0 54px;text-align:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;color:#8c6420;border:1px solid rgba(199,146,45,.34);border-radius:999px;background:#fffdf7bf;font-size:13px;font-weight:700;letter-spacing:.08em}.hero h1{margin:27px 0 19px;font-family:Songti SC,SimSun,serif;color:var(--green-dark);font-size:clamp(48px,8vw,84px);font-weight:700;line-height:1.08;letter-spacing:-.04em}.hero h1 em{color:var(--gold);font-style:normal}.hero>p{max-width:670px;margin:0 auto 34px;color:var(--muted);font-size:17px;line-height:1.85}.agent-box{padding:18px;text-align:left;border:1px solid rgba(7,88,73,.2);border-radius:24px;background:#fffdf7eb;box-shadow:0 24px 70px #1e463c1a}.agent-label{display:flex;align-items:center;gap:8px;padding:2px 4px 12px;color:var(--green);font-weight:800}.agent-box textarea{width:100%;min-height:128px;resize:vertical;padding:18px;color:var(--ink);outline:none;border:0;border-radius:16px;background:#f4f0e5;font-size:17px;line-height:1.65}.agent-box textarea:focus{box-shadow:inset 0 0 0 2px #07584940}.agent-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 0}.agent-actions>span{color:#98a49f;font-size:12px}.primary-button{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 22px;color:#fff;border:0;border-radius:14px;background:linear-gradient(135deg,var(--green),var(--green-dark));box-shadow:0 10px 24px #0758492e;cursor:pointer;font-weight:800}.primary-button:disabled{cursor:wait;opacity:.65}.primary-button:hover:not(:disabled){transform:translateY(-1px)}.example-row{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:18px}.example-row button{padding:8px 13px;color:#6f7d78;border:1px solid var(--line);border-radius:999px;background:#fffdf7a6;cursor:pointer;font-size:12px}.example-row button:hover{color:var(--green);border-color:#07584959}.results-section{padding:28px 0 80px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;padding-bottom:22px;border-bottom:1px solid var(--line)}.section-heading span,.page-title span{color:var(--gold);font-size:11px;font-weight:800;letter-spacing:.22em}.section-heading h2,.page-title h1{margin:8px 0 0;font-family:Songti SC,SimSun,serif;color:var(--green-dark);font-size:clamp(32px,5vw,48px);font-weight:600}.section-heading p{max-width:440px;margin:0;color:var(--muted);line-height:1.7}.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.match-card,.resource-card,.profile-card{border:1px solid var(--line);background:#fffdf7eb;box-shadow:0 12px 38px #26433b0f}.match-card{padding:24px;border-radius:22px}.match-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px}.avatar{flex:0 0 auto;width:48px;height:48px;display:grid;place-items:center;color:#f4d991;border-radius:15px;background:var(--green);font-family:Songti SC,serif;font-size:23px;font-weight:700}.match-top h3,.resource-person h2{margin:0;color:var(--green-dark);font-size:19px}.match-top div span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.match-top strong{min-width:62px;color:var(--green);text-align:center;font-size:22px}.match-top strong small{display:block;color:var(--muted);font-size:9px;font-weight:600;letter-spacing:.1em}.tagline{color:var(--ink);font-size:15px;line-height:1.7}.match-card>.tagline{min-height:50px;margin:20px 0 12px}.match-card ul{min-height:48px;margin:0;padding:0;list-style:none}.match-card li{display:flex;gap:7px;margin:7px 0;color:#786336;font-size:13px;line-height:1.45}.match-card li svg{flex:0 0 auto;margin-top:2px}.contact-script{margin-top:18px;padding:15px;border-radius:14px;background:var(--mint)}.contact-script b{color:var(--green);font-size:12px}.contact-script p{margin:7px 0 0;color:#52645e;font-size:13px;line-height:1.65}.card-actions{display:flex;gap:10px;margin-top:16px}.card-actions button,.card-actions a{flex:1;min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;cursor:pointer;font-size:13px;font-weight:800}.card-actions button{color:var(--green);border:1px solid rgba(7,88,73,.23);background:transparent}.card-actions a{color:#fff;background:var(--green)}.privacy-note,.local-note{color:#89958f;font-size:12px;line-height:1.6;text-align:center}.privacy-note{margin:23px 0 0}.library-page,.profile-page{padding:62px 0 90px}.page-title{max-width:720px}.page-title p{color:var(--muted);line-height:1.75}.search-bar{margin:30px 0 24px;display:flex;align-items:center;gap:12px;padding:0 17px;height:58px;border:1px solid var(--line);border-radius:16px;background:#fffdf7e0}.search-bar svg{color:var(--green)}.search-bar input{flex:1;min-width:0;outline:0;border:0;background:transparent;color:var(--ink)}.search-bar b{color:var(--gold);font-size:12px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.resource-card{display:flex;flex-direction:column;min-height:310px;padding:22px;border-radius:20px}.resource-person{display:flex;align-items:center;gap:12px}.resource-person span{display:flex;align-items:center;gap:4px;margin-top:4px;color:var(--muted);font-size:12px}.resource-card>.tagline{margin:22px 0 10px;color:var(--green);font-weight:800}.resource-card .intro{margin:0;display:-webkit-box;overflow:hidden;color:#64746f;font-size:13px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:4}.resource-footer{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ece7db}.resource-footer span,.resource-footer a{display:flex;align-items:center;gap:5px;font-size:12px}.resource-footer span{color:var(--muted)}.resource-footer a{color:var(--green);font-weight:800}.profile-card{max-width:720px;margin-top:28px;padding:30px;border-radius:24px}.profile-import{padding:20px;border:1px solid rgba(7,88,73,.17);border-radius:18px;background:linear-gradient(135deg,#e8f3eeeb,#fffdf7f2)}.profile-import-title{display:flex;align-items:center;gap:12px}.profile-import-title>span{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;color:#f4d991;border-radius:13px;background:var(--green)}.profile-import-title b,.profile-import-title small{display:block}.profile-import-title b{color:var(--green-dark);font-size:16px}.profile-import-title small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}.profile-import textarea{width:100%;min-height:128px;margin-top:15px;padding:14px 15px;resize:vertical;color:var(--ink);outline:0;border:1px solid rgba(7,88,73,.18);border-radius:13px;background:#fffdf7e6;line-height:1.65}.profile-import textarea:focus{border-color:#07584980;box-shadow:0 0 0 3px #07584914}.import-button{width:100%;min-height:46px;margin-top:11px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--green);border:1px solid rgba(7,88,73,.22);border-radius:12px;background:var(--paper);cursor:pointer;font-weight:800}.import-button:hover{background:#fff;border-color:#0758496b}.import-message{margin:10px 0 0;display:flex;align-items:center;gap:6px;font-size:12px}.import-message.success{color:var(--green)}.import-message.error{color:#9d4936}.profile-divider{margin:25px 0 22px;display:flex;align-items:center;gap:12px;color:#89958f;font-size:11px;letter-spacing:.08em}.profile-divider:before,.profile-divider:after{height:1px;flex:1;content:"";background:var(--line)}.profile-icon{width:58px;height:58px;display:grid;place-items:center;margin-bottom:22px;color:#f4d991;border-radius:18px;background:var(--green)}.profile-card label{display:block;margin-top:18px;color:var(--ink);font-size:14px;font-weight:800}.profile-card input,.profile-card textarea{width:100%;margin-top:8px;padding:14px 15px;color:var(--ink);outline:none;border:1px solid var(--line);border-radius:13px;background:#faf8f1;font-weight:400}.profile-card textarea{min-height:150px;resize:vertical;line-height:1.65}.profile-card input:focus,.profile-card textarea:focus{border-color:#07584980;box-shadow:0 0 0 3px #07584914}.profile-save{width:100%;margin-top:24px}.obsidian-button{width:100%;min-height:48px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--green);border:1px solid rgba(7,88,73,.24);border-radius:14px;background:transparent;cursor:pointer;font-weight:800}.obsidian-button:hover{background:var(--mint)}.local-note{margin:15px 0 0}.loading-state,.empty-state{margin:28px 0;padding:38px 20px;color:var(--muted);border:1px dashed #d7d0c2;border-radius:18px;background:#fffdf799;text-align:center}.loading-state{display:flex;align-items:center;justify-content:center;gap:10px}.error-box{margin:18px 0;padding:14px 16px;color:#8a3f2f;border:1px solid #e7c0b4;border-radius:13px;background:#fff4ef}.error-box button{margin-left:12px;color:inherit;border:0;border-bottom:1px solid currentColor;background:none;cursor:pointer}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:820px){html{scrollbar-gutter:auto}body{overscroll-behavior-y:contain;-webkit-text-size-adjust:100%}button,input,textarea{font-size:16px}.topbar-inner,.page-container{width:min(100% - 28px,1120px)}.topbar{transform:translateZ(0)}.topbar-inner{height:64px}.desktop-nav{display:none}.brand{min-width:0}.brand>span:last-child{min-width:0}.brand b{font-size:16px}.brand small{white-space:nowrap}.app-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.mobile-nav{position:fixed;z-index:30;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));left:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px;transform:translateZ(0);border:1px solid rgba(7,88,73,.15);border-radius:20px;background:#fffdf7fa;box-shadow:0 14px 42px #1b3b332b}.mobile-nav a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#7a8984;border-radius:13px;font-size:10px}.mobile-nav a.active{color:#fff;background:var(--green)}.hero{width:100%;padding:46px 0 35px}.hero h1{margin-top:22px;font-size:clamp(42px,13vw,58px);line-height:1.12}.hero>p{font-size:15px}.agent-label,.match-top>div,.resource-person>div{min-width:0}.agent-box{padding:13px;border-radius:20px}.agent-box textarea{min-height:140px;resize:none;font-size:16px}.agent-actions{align-items:stretch;flex-direction:column}.agent-actions>span{display:none}.primary-button{width:100%}.section-heading{align-items:start;flex-direction:column}.match-grid,.resource-grid{grid-template-columns:1fr}.match-card,.resource-card{min-width:0;overflow:hidden}.tagline,.intro,.contact-script p,.page-title p,.local-note{overflow-wrap:anywhere}.match-card{padding:19px}.library-page,.profile-page{padding:42px 0 40px}.profile-card{width:100%;min-width:0;padding:20px}.profile-import{padding:16px}.profile-card textarea,.profile-import textarea{resize:none}.profile-divider{gap:8px;text-align:center}.profile-divider span{flex:0 1 auto}}@media(max-width:420px){.topbar-inner,.page-container{width:min(100% - 22px,1120px)}.brand-mark{width:38px;height:38px}.hero h1{font-size:47px}.eyebrow{font-size:11px}.example-row{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.example-row button{flex:0 0 auto}.card-actions{flex-direction:column}.profile-card{padding:16px;border-radius:20px}.profile-import{padding:14px;border-radius:15px}.profile-import-title{align-items:flex-start}.profile-import-title>span{width:38px;height:38px;border-radius:12px}.profile-import textarea{min-height:118px}.page-title h1{font-size:36px}}@media(hover:none){.primary-button:hover:not(:disabled){transform:none}.import-button:hover,.obsidian-button:hover{background:inherit}}@supports selector(body:has(input:focus)){@media(max-width:820px){body:has(input:focus,textarea:focus) .mobile-nav{display:none}body:has(input:focus,textarea:focus) .app-shell{padding-bottom:20px}}}
