:root{--primary: #2a6f97;--primary-dark: #235c7e;--primary-soft: #e8f1f7;--accent: #2e9e83;--ink: #1f2d3a;--muted: #6b7a89;--line: #e3e9ef;--surface: #ffffff;--bg: #f7f9fb;--radius: 10px;--shadow: 0 1px 3px rgba(31, 45, 58, .08), 0 4px 12px rgba(31, 45, 58, .05)}@media (prefers-color-scheme: dark){:root{--primary: #6fb1d8;--primary-dark: #8cc2e3;--primary-soft: #1d3342;--ink: #e6edf3;--muted: #9aa8b5;--line: #2b3945;--surface: #16212b;--bg: #0f1820}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Source Sans Pro,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;font-size:16px}a{color:var(--primary)}h1,h2{line-height:1.2;margin:0 0 12px}h1{font-size:34px}h2{font-size:24px}.container{width:100%;max-width:1040px;margin:0 auto;padding:0 20px}.section{padding-top:40px;padding-bottom:40px}.section-soft{background:var(--primary-soft)}.lead{font-size:19px;color:var(--muted);max-width:680px}.muted{color:var(--muted);font-size:13px}.note{color:var(--muted)}.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.site-header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px}.site-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;color:var(--ink);text-decoration:none}.site-brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--primary);color:#fff;font-size:14px}.site-nav{display:flex;align-items:center;gap:4px}.site-nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:var(--ink)}.site-nav a:hover,.site-nav a.active{background:var(--primary-soft);color:var(--primary)}.site-nav a.site-login{background:var(--primary);color:#fff;margin-left:6px}.site-nav a.site-login:hover{background:var(--primary-dark)}.hero{background:linear-gradient(135deg,var(--primary-soft),var(--bg));padding:64px 0 56px}.hero h1{font-size:40px;max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-block;border:1px solid transparent;border-radius:8px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-primary:disabled{opacity:.5;cursor:default}.btn-ghost{border-color:var(--primary);color:var(--primary);background:transparent}.btn-ghost:hover{background:var(--primary-soft)}.grid{display:grid;gap:16px;margin-top:16px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.card{display:flex;flex-direction:column;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;color:var(--ink);text-decoration:none}a.card:hover{border-color:var(--primary)}.feature-icon{font-size:26px}.feature strong,.role strong,.wiki-item strong{color:var(--primary);font-size:17px}.feature-more{color:var(--primary);font-weight:600;margin-top:auto}.excerpt{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wiki-tools{display:flex;flex-direction:column;gap:12px;margin:18px 0 8px}.wiki-tools input,.chat-form input{width:100%;max-width:480px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font:inherit;background:var(--surface);color:var(--ink)}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chip{border:1px solid var(--primary);background:var(--surface);color:var(--primary);border-radius:16px;padding:4px 12px;font:inherit;font-size:13px;cursor:pointer;text-align:left}.chip:hover,.chip.active{background:var(--primary);color:#fff}.wiki-article{max-width:760px}.wiki-back{display:inline-block;margin-bottom:12px}.tag{display:inline-block;background:var(--primary-soft);color:var(--primary);border-radius:6px;padding:2px 8px;font-size:12px;font-weight:600;margin-bottom:8px}.wiki-steps{padding-left:22px}.wiki-steps li{margin-bottom:10px}.site-footer{border-top:1px solid var(--line);padding:20px 0 96px;color:var(--muted);font-size:14px}.site-footer .container{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-fab{position:fixed;right:20px;bottom:20px;z-index:30;border:0;border-radius:28px;padding:12px 20px;background:var(--primary);color:#fff;font:inherit;font-weight:600;box-shadow:0 6px 20px #1f2d3a40;cursor:pointer}.chat{position:fixed;right:20px;bottom:20px;z-index:30;width:370px;max-width:calc(100vw - 24px);height:500px;max-height:calc(100vh - 90px);display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 28px #1f2d3a47}.chat-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--primary);color:#fff;border-radius:var(--radius) var(--radius) 0 0}.chat-close{background:none;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer}.chat-body{flex:1;overflow-y:auto;padding:14px;background:var(--bg)}.chat-msg{display:flex;flex-direction:column;margin-bottom:12px}.chat-msg.me{align-items:flex-end}.chat-bubble{max-width:90%;padding:8px 12px;border-radius:12px;white-space:pre-wrap;font-size:14px;background:var(--surface);border:1px solid var(--line)}.chat-msg.me .chat-bubble{background:var(--primary);color:#fff;border-color:var(--primary)}.chat-link{font-size:13px;margin-top:4px}.chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}.chat-form input{max-width:none}@media (max-width: 760px){h1,.hero h1{font-size:28px}.grid-2,.grid-4{grid-template-columns:1fr}.site-nav a{padding:8px}.site-brand{font-size:17px}.chat{right:8px;bottom:8px;height:calc(100vh - 24px)}}@media print{.chat-fab,.chat,.site-header,.site-footer{display:none}}
