@font-face{font-family:Yekan;src:url('/fonts/YekanBakh-Regular.woff2') format('woff2');font-display:swap}@font-face{font-family:Yekan;src:url('/fonts/YekanBakh-ExtraBold.woff2') format('woff2');font-weight:800;font-display:swap}
:root{color-scheme:light;--bg:#f8f8f4;--surface:#fff;--ink:#192b32;--muted:#60706f;--line:#dae2dd;--accent:#08785b;--soft:#eaf5ee}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Yekan,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,textarea{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,textarea:focus-visible{outline:3px solid #57b49a;outline-offset:4px}button{cursor:pointer}.hub-header{max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 4vw;border-bottom:1px solid var(--line)}.hub-brand{display:flex;align-items:center;gap:10px;font-size:25px}.hub-brand img{width:35px;height:35px;object-fit:contain}.hub-brand span{font-size:16px;font-weight:400;color:var(--accent)}.hub-header nav{display:flex;align-items:center;gap:24px;font-size:14px;color:var(--muted)}.hub-header nav a{padding:12px 0}.hub-welcome{max-width:1100px;margin:64px auto 40px;padding:0 24px;text-align:center}.hub-eyebrow{font-size:13px;letter-spacing:.05em;color:var(--accent)}h1,h2,h3,p{margin:0}.hub-welcome h1{font-size:clamp(36px,4.5vw,62px);line-height:1.35;font-weight:800;margin:18px 0}.hub-lead{color:var(--muted);line-height:1.9;font-size:18px}.hub-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:44px 0 24px;text-align:right}.hub-choice{position:relative;overflow:hidden;padding:34px;border:1px solid #c9dfd2;border-radius:24px;background:linear-gradient(135deg,#fff,var(--soft));transition:transform .18s,border-color .18s}.life{--accent:#956014;--soft:#faf0dc}.hub-choice.life{border-color:#e8d7b8}.hub-choice:hover{transform:translateY(-4px);border-color:var(--accent)}.hub-symbol{float:left;display:grid;place-items:center;width:84px;height:84px;font-size:56px;border-radius:24px;background:var(--soft);color:var(--accent)}.hub-choice-kicker{font-size:11px;letter-spacing:.18em;color:var(--accent)}.hub-choice h2{font-size:30px;margin:9px 0 14px;font-weight:800}.hub-choice p{font-size:15px;line-height:1.9;color:var(--muted);clear:both}.hub-start{display:flex;justify-content:space-between;align-items:center;background:var(--accent);color:#fff;margin-top:28px;padding:14px 20px;border-radius:12px;font-size:15px;min-height:50px}.hub-note{font-size:13px;color:var(--muted);line-height:1.9}.hub-chat{display:grid;grid-template-columns:265px minmax(0,1fr);max-width:1360px;margin:28px auto;height:calc(100dvh - 160px);min-height:540px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--surface)}.hub-history{background:var(--bg);border-left:1px solid var(--line);padding:24px 18px;display:flex;flex-direction:column;min-height:0}.hub-switch{font-size:12px;color:var(--muted);padding:8px 0}.hub-history h1{font-size:21px;margin:20px 0}.hub-new{background:var(--accent);color:white;padding:12px 16px;border-radius:10px;text-align:center}.hub-history nav{overflow:auto;flex:1;margin:22px 0}.hub-history nav a{display:block;padding:12px 10px;border-radius:9px;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}.hub-history nav a:hover,.hub-history nav .selected{background:var(--soft);color:var(--accent)}.hub-quota strong{font-size:24px;color:var(--accent);margin-left:10px}.hub-quota span,.hub-quota small{font-size:12px;color:var(--muted)}progress{display:block;width:100%;height:7px;margin:10px 0;accent-color:var(--accent)}.hub-conversation{min-width:0;display:flex;flex-direction:column;min-height:0}.hub-conversation>header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid var(--line);font-size:14px}.hub-conversation>header>span{font-size:12px;color:var(--muted)}.hub-conversation header small{display:block;color:var(--muted);margin-top:5px}.hub-status{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-left:6px}.hub-messages{flex:1;overflow:auto;padding:28px;scroll-behavior:smooth}.hub-empty{text-align:center;padding:70px 10px}.hub-empty>span{font-size:52px;color:var(--accent)}.hub-empty h2{font-size:27px;margin:14px 0}.hub-empty p{font-size:15px;color:var(--muted)}.hub-message{max-width:84%;padding:18px 22px;margin-bottom:20px;border-radius:16px;background:var(--bg);width:fit-content}.hub-message.user{margin-left:0;margin-right:auto;background:var(--soft)}.hub-message small{color:var(--accent);font-size:11px}.hub-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;margin-top:6px;font-size:15px}.hub-composer{position:relative;display:flex;gap:12px;align-items:end;border:1px solid var(--line);border-radius:16px;padding:14px;margin:0 28px;background:var(--surface)}.hub-composer textarea{flex:1;resize:vertical;max-height:170px;min-height:56px;border:0;background:transparent;color:var(--ink);line-height:1.7;padding:6px}.hub-composer button{width:46px;height:46px;border:0;border-radius:12px;background:var(--accent);color:white;font-size:26px}.hub-composer button:disabled{opacity:.5}.hub-wait{position:absolute;bottom:100%;right:14px;font-size:12px;padding:7px;background:var(--surface);color:var(--accent)}.hub-conversation footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);padding:12px 28px}.hub-delete{background:none;border:0;color:var(--muted);font-size:11px;min-height:44px}.hub-error{padding:12px 28px;color:#ad3030;background:#fff3f0;font-size:14px}.hub-action{padding:18px;border:1px solid var(--accent);border-radius:12px;margin:15px 0;background:var(--soft)}.hub-action p{white-space:pre-wrap;line-height:1.8;margin:10px 0}.hub-action button{background:var(--accent);color:#fff;padding:10px 18px;border:0;border-radius:8px;min-height:44px;margin-left:10px}.hub-action button.secondary{color:var(--ink);background:var(--surface)}.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(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#111c20;--surface:#19272c;--ink:#eaf1ee;--muted:#a4b6b1;--line:#34484a;--accent:#54cfa5;--soft:#213d36}.life{--accent:#e8ba6a;--soft:#3b3427}.hub-choice{background:var(--surface);border-color:var(--line)}.hub-choice.life{border-color:var(--line)}.hub-start,.hub-new,.hub-composer button,.hub-action button{color:#10261e}.hub-error{background:#3f2425;color:#ffb1a4}}
@media(max-width:760px){.hub-header{padding:16px 20px}.hub-header nav{gap:16px}.hub-header nav span{display:none}.hub-welcome{margin-top:36px}.hub-choices{grid-template-columns:1fr;gap:16px;margin-top:28px}.hub-choice{padding:24px}.hub-chat{margin:0;border:0;border-radius:0;height:calc(100dvh - 80px);min-height:500px;grid-template-columns:1fr}.hub-history{padding:10px 18px;border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:8px}.hub-history h1{font-size:16px;margin:0;align-self:center}.hub-switch{grid-column:1}.hub-new{grid-column:2;grid-row:1/3;align-self:center;font-size:12px}.hub-history nav,.hub-quota{display:none}.hub-conversation{overflow:hidden}.hub-conversation>header{padding:14px 20px}.hub-messages{padding:20px}.hub-message{max-width:94%;padding:14px 18px}.hub-composer{margin:0 14px}.hub-conversation footer{padding:8px 16px}.hub-empty{padding:30px 0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.hub-workspace{display:flex;gap:10px;align-items:center;padding:10px 28px;font-size:12px;border-bottom:1px solid var(--line)}.hub-workspace select,.hub-workspace button{font:inherit;min-height:40px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:6px 10px}@media(max-width:760px){.hub-chat{grid-template-rows:auto minmax(0,1fr)}.hub-history nav{display:flex;grid-column:1/-1;gap:8px;margin:0;max-height:42px;overflow:auto}.hub-history nav a{flex-shrink:0;max-width:180px;margin:0}.hub-workspace{padding:8px 18px}.hub-quota{display:block;grid-column:1/-1}.hub-quota progress,.hub-quota small{display:none}.hub-quota strong{font-size:15px}}

.hub-message.user{margin-right:0;margin-left:auto}.hub-message.assistant{margin-right:auto;margin-left:0}
.hub-attach{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:24px}.hub-attach:focus-within{outline:3px solid var(--accent)}.hub-attachment-status{font-size:12px;color:var(--muted);padding:0 28px}
