html,body{margin:0;height:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font-sans)}#root{height:100%}.lh-root{display:flex;flex-direction:column;height:100dvh}.lh-bar{display:flex;align-items:center;gap:20px;padding:12px max(16px,env(safe-area-inset-left));border-bottom:1px solid var(--hairline);background:var(--bg-1)}.lh-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:600;letter-spacing:.04em}.lh-cube{width:22px;height:22px;border-radius:6px;background:var(--accent);display:inline-grid;place-items:center;box-shadow:0 0 18px var(--accent-glow)}.lh-cube>span{width:10px;height:3px;border-radius:2px;background:var(--accent-ink)}.lh-cube-big{width:56px;height:56px;border-radius:14px}.lh-cube-big>span{width:22px;height:6px}.lh-nav{display:flex;gap:4px;flex:1;overflow-x:auto}.lh-nav a{color:var(--ink-2);text-decoration:none;padding:6px 12px;border-radius:var(--r-pill);font-size:var(--text-sm);white-space:nowrap}.lh-nav a:hover{color:var(--ink);background:var(--surface)}.lh-nav a[aria-current=page]{color:var(--ink);background:var(--surface-strong)}.lh-me{display:flex;align-items:center;gap:10px;min-width:0}.lh-email{color:var(--ink-2);font-size:var(--text-sm);max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lh-primary{display:block;text-align:center;text-decoration:none;padding:12px 18px;font-size:var(--text-sm);border-radius:var(--r-pill);background:var(--accent);color:var(--accent-ink);font-weight:600}.lh-main{flex:1;min-height:0;overflow:auto}.lh-main[data-page="/chat"]{overflow:hidden}.lh-page{max-width:760px;margin:0 auto;padding:32px 16px 64px;box-sizing:border-box}.lh-page h1{font-size:var(--text-2xl);margin:0 0 8px;letter-spacing:var(--tracking-tight)}.lh-lead{color:var(--ink-2);line-height:var(--leading-body);margin:0 0 24px}.lh-quiet{color:var(--ink-3);text-align:center;margin-top:30vh}.lh-card{border:1px solid var(--border);background:var(--surface);border-radius:var(--r-3);padding:18px 20px;margin:16px 0}.lh-card h2{font-size:var(--text-md);margin:0 0 8px}.lh-card p{color:var(--ink-2);line-height:var(--leading-body);margin:8px 0}.lh-code{font-family:var(--font-mono);font-size:calc(12.5px * var(--zoom, 1));background:var(--bg);border:1px solid var(--hairline);border-radius:var(--r-2);padding:12px 14px;overflow-x:auto;margin:10px 0;line-height:1.55}.lh-page code{font-family:var(--font-mono)}.lh-chat{display:flex;flex-direction:column;height:100%;max-width:820px;margin:0 auto}.lh-feed{flex:1;overflow-y:auto;padding:24px 16px 8px;display:flex;flex-direction:column;gap:14px}.lh-empty{margin:auto 0;text-align:center;color:var(--ink-2);padding:0 8px}.lh-empty h1{color:var(--ink);font-size:var(--text-xl);margin:0 0 8px}.lh-msg{max-width:86%;padding:10px 14px;border-radius:var(--r-3);line-height:var(--leading-body)}.lh-msg.you{align-self:flex-end;background:var(--surface-strong);border-bottom-right-radius:6px}.lh-msg.mic{align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:6px}.lh-meta{display:flex;gap:8px;font-size:var(--text-xs);color:var(--ink-3);margin-bottom:4px}.lh-msg.mic .lh-meta>span:first-child{color:var(--accent-text);font-weight:600}.lh-from{font-style:italic}.lh-body p{margin:0;white-space:pre-wrap;word-break:break-word}.lh-body .m-md p,.lh-body>div p{white-space:normal}.lh-typing{display:flex;gap:5px;padding:14px 16px}.lh-typing span{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:lh-dot 1.2s infinite ease-in-out}.lh-typing span:nth-child(2){animation-delay:.15s}.lh-typing span:nth-child(3){animation-delay:.3s}@keyframes lh-dot{0%,80%,to{opacity:.3}40%{opacity:1}}.lh-notice{color:var(--ink-2);font-size:var(--text-sm);text-align:center;margin:6px 16px}.lh-compose{display:flex;gap:10px;align-items:flex-end;padding:12px 16px max(16px,env(safe-area-inset-bottom))}.lh-compose textarea{flex:1;resize:none;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border-strong);border-radius:20px;padding:10px 16px;min-height:22px;max-height:40vh;field-sizing:content}.lh-compose textarea:focus{outline:none;border-color:var(--accent)}.lh-signin{max-width:420px;text-align:center;padding-top:12vh}.lh-signin .lh-cube-big{margin-bottom:18px}.lh-or{display:flex;align-items:center;gap:10px;color:var(--ink-3);font-size:var(--text-xs);margin:22px 0 14px}.lh-or:before,.lh-or:after{content:"";flex:1;height:1px;background:var(--hairline)}.lh-form{display:flex;gap:8px}.lh-form input{flex:1;min-width:0;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-pill);padding:9px 14px}@media(max-width:560px){.lh-bar{gap:10px;flex-wrap:wrap}.lh-name,.lh-email{display:none}.lh-msg{max-width:94%}}.lh-page.mylog-page{padding:32px 16px 64px;overflow:visible;flex:none;min-height:auto}.lh-page.mylog-page .mylog-card{max-width:none}.lh-page.mylog-page .mylog-profile textarea{width:100%}.lh-page.mylog-page .mylog-field label{display:grid;width:100%}
