.public-profile{--profile-ink:#202523;--profile-cream:#f7f4eb;--profile-brass:#b39a64;--profile-coral:#f56f59;--profile-muted:#626760;--profile-rule:#dcd6c8;--profile-sidebar-quiet:#ccd0c9;--profile-chat:var(--background);--profile-text:var(--foreground);--profile-chat-muted:var(--muted-foreground);--profile-chat-rule:var(--border);--profile-sidebar:var(--profile-ink);--profile-user:color-mix(in srgb, var(--primary) 18%, var(--background));--profile-user-text:var(--foreground);--profile-accent:var(--primary);--profile-shadow:0 12px 40px color-mix(in srgb, var(--profile-ink) 8%, transparent);background:var(--profile-chat);color:var(--profile-text);letter-spacing:0;min-height:100svh}.public-profile[data-profile-theme=ink-brass]{--profile-chat:var(--profile-cream);--profile-text:var(--profile-ink);--profile-chat-muted:var(--profile-muted);--profile-chat-rule:var(--profile-rule);--profile-user:color-mix(in srgb, var(--profile-brass) 22%, var(--profile-cream));--profile-user-text:var(--profile-ink);--profile-accent:var(--profile-brass)}.public-profile[data-profile-theme=deep-petrol],.public-profile[data-profile-theme=slate-amber]{--profile-sidebar:var(--background)}.public-profile :is(button,a,textarea):focus-visible{outline:2px solid var(--profile-accent);outline-offset:4px}.public-profile :is(p,h1,h2,a,button){overflow-wrap:anywhere}.public-profile .profile-topbar{border-bottom:1px solid var(--profile-chat-rule)}.public-profile .profile-topbar-inner{align-items:center;max-width:1160px;height:64px;margin:auto;padding:0 24px;display:flex}.public-profile .profile-main{max-width:1160px;margin:auto;padding:32px 24px 20px}.public-profile .profile-shell{border:1px solid var(--profile-chat-rule);height:min(760px,100dvh - 150px);min-height:510px;box-shadow:var(--profile-shadow);border-radius:8px;grid-template-columns:minmax(0,28%) minmax(0,72%);display:grid;overflow:hidden}.public-profile .profile-identity{background:var(--profile-sidebar);color:var(--profile-cream);min-width:0;padding:44px 28px 28px;overflow-y:auto}.public-profile .profile-avatar{object-fit:cover;border-radius:50%;width:112px;height:112px;margin:0 auto 24px}.public-profile .profile-initials{background:var(--profile-brass);color:var(--profile-ink);justify-content:center;align-items:center;font-size:36px;font-weight:500;display:flex}.public-profile .profile-name{font-family:var(--font-brand);text-align:center;font-size:26px;font-weight:600;line-height:1.2}.public-profile .profile-subtitle{color:var(--profile-sidebar-quiet);text-align:center;margin-top:8px;font-size:14px;line-height:1.6}.public-profile .profile-bio{border-top:1px solid color-mix(in srgb,var(--profile-cream) 23%,transparent);margin-top:26px;padding-top:23px;font-size:15px;line-height:1.7}.public-profile .profile-bio p+p{color:var(--profile-sidebar-quiet);margin-top:12px;font-size:13px}.public-profile .profile-more{border-top:1px solid color-mix(in srgb,var(--profile-cream) 23%,transparent);width:100%;height:auto;min-height:48px;color:var(--profile-sidebar-quiet);white-space:normal;background:0 0;border-radius:0;justify-content:space-between;gap:12px;margin-top:26px;padding:16px 0;font-size:13px;display:flex}.public-profile .profile-more:hover{color:var(--profile-cream);background:0 0}.public-profile .profile-conversation{background:var(--profile-chat);flex-direction:column;min-width:0;min-height:0;display:flex}.public-profile .profile-conversation[hidden],.public-profile .profile-details[hidden]{display:none}.public-profile .profile-chat-header{border-bottom:1px solid var(--profile-chat-rule);flex-shrink:0;padding:22px 30px 19px}.public-profile .profile-chat-header h2{font-family:var(--font-brand);font-size:18px;font-weight:600;line-height:1.4}.public-profile .profile-chat-header p{color:var(--profile-chat-muted);margin-top:3px;font-size:12px}.public-profile .profile-transcript{flex:1;min-height:0}.public-profile .profile-messages{gap:22px;padding:28px 34px}.public-profile .profile-message{max-width:100%}.public-profile .profile-assistant{color:var(--profile-text);overflow-wrap:anywhere;background:0 0;font-size:15px;line-height:1.75}.public-profile .profile-greeting{font-size:18px;line-height:1.65}.public-profile .profile-user{background:var(--profile-user);color:var(--profile-user-text);overflow-wrap:anywhere;border-radius:8px;max-width:88%;padding:12px 16px;font-size:15px;line-height:1.65}.public-profile .profile-prompts{flex-direction:column;gap:12px;margin-top:4px;display:flex}.public-profile .profile-prompt{border:1px solid var(--profile-chat-rule);white-space:normal;text-align:left;width:100%;height:auto;min-height:54px;color:var(--profile-text);box-shadow:none;background:0 0;border-radius:7px;justify-content:space-between;gap:16px;padding:14px 18px;font-size:14px;font-weight:400;display:flex}.public-profile .profile-prompt svg{color:var(--profile-accent);flex-shrink:0;width:20px;height:20px}.public-profile .profile-prompt:hover{border-color:var(--profile-accent);background:var(--profile-user)}.public-profile .profile-thinking{color:var(--profile-chat-muted);font-size:13px}.public-profile .profile-compose{flex-shrink:0;padding:16px 28px 18px}.public-profile .profile-input [data-slot=input-group]{border:1px solid var(--profile-chat-rule);box-shadow:none;background:0 0;border-radius:24px;position:relative}.public-profile .profile-input [data-slot=input-group]:focus-within{border-color:var(--profile-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-accent) 20%,transparent)}.public-profile .profile-input textarea{color:var(--profile-text);field-sizing:content;background:0 0;min-height:52px;max-height:120px;padding:14px 66px 14px 18px;font-size:16px;line-height:1.5}.public-profile .profile-input textarea::placeholder{color:var(--profile-chat-muted);opacity:1}.public-profile .profile-input-footer{width:44px;padding:0;position:absolute;bottom:5px;right:5px}.public-profile .profile-send{background:var(--profile-coral);width:44px;height:44px;color:var(--profile-ink);border-radius:50%;padding:0}.public-profile .profile-send:hover{background:color-mix(in srgb,var(--profile-coral) 85%,var(--profile-cream))}.public-profile .profile-send:disabled{opacity:.65}.public-profile .profile-disclosure{text-align:center;color:var(--profile-chat-muted);margin:9px 12px 0;font-size:11px;line-height:1.5}.public-profile .profile-latest{background:var(--profile-chat);color:var(--profile-text);border-color:var(--profile-chat-rule);width:44px;height:44px}.public-profile .profile-footer{color:var(--profile-chat-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:16px 0 0;font-size:11px;display:flex}.public-profile .profile-create{color:var(--profile-text);-webkit-text-decoration-color:var(--profile-accent);text-decoration-color:var(--profile-accent);text-underline-offset:4px;padding:8px 0}.public-profile .profile-create:hover{text-decoration:underline}.public-profile .profile-details{background:var(--profile-chat);min-width:0;min-height:0;color:var(--profile-text);padding:22px 30px;overflow-y:auto}.public-profile .profile-back{color:var(--profile-text);white-space:normal;min-height:44px;margin-bottom:18px;padding-left:0}.public-profile .profile-snapshot{color:var(--profile-text);box-shadow:none;--foreground:var(--profile-text);--muted-foreground:var(--profile-chat-muted);--border:var(--profile-chat-rule);background:0 0;border:0;border-radius:0}.public-profile .profile-snapshot>div{padding:0}.public-profile .profile-snapshot a{min-height:44px}@media(max-width:767px){.public-profile .profile-topbar-inner{height:52px;padding:0 18px}.public-profile .profile-main{padding:0}.public-profile .profile-shell{height:calc(100dvh - 88px - env(safe-area-inset-bottom));min-height:520px;box-shadow:none;border:0;border-radius:0;flex-direction:column;display:flex}.public-profile .profile-identity{flex-shrink:0;grid-template-columns:64px minmax(0,1fr);column-gap:16px;max-height:210px;padding:18px 20px 0;display:grid}.public-profile .profile-avatar{grid-row:1/3;width:64px;height:64px;margin:0;font-size:24px}.public-profile .profile-name{text-align:left;align-self:end;font-size:19px}.public-profile .profile-subtitle{text-align:left;margin-top:4px;font-size:12px;line-height:1.5}.public-profile .profile-bio{display:none}.public-profile .profile-bio p+p{font-size:12px}.public-profile .profile-more{grid-column:1/-1;min-height:44px;margin-top:10px;padding:10px 0;font-size:12px}.public-profile .profile-conversation{flex:1}.public-profile .profile-chat-header{padding:15px 20px 12px}.public-profile .profile-chat-header h2{font-size:16px}.public-profile .profile-messages{gap:18px;padding:20px}.public-profile .profile-greeting{font-size:17px;line-height:1.6}.public-profile .profile-prompt{min-height:48px;padding:12px 14px;font-size:13px}.public-profile .profile-prompts{gap:9px}.public-profile .profile-compose{padding:10px 16px 12px}.public-profile .profile-disclosure{margin-top:7px;font-size:10px}.public-profile .profile-footer{padding:0 12px env(safe-area-inset-bottom);min-height:36px;font-size:10px}.public-profile .profile-details{flex:1;padding:18px 20px}.public-profile:has(#mez-input:focus){inset:var(--profile-viewport-offset,0px) 0 auto;height:var(--profile-viewport-height,100dvh);flex-direction:column;min-height:0;display:flex;position:fixed}:is(.public-profile:has(#mez-input:focus) .profile-topbar,.public-profile:has(#mez-input:focus) .profile-identity,.public-profile:has(#mez-input:focus) .profile-footer){display:none}.public-profile:has(#mez-input:focus) .profile-main{flex:1;width:100%;min-height:0}.public-profile:has(#mez-input:focus) .profile-shell{height:100%;min-height:0}.public-profile:has(#mez-input:focus) .profile-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.public-profile *{scroll-behavior:auto;transition:none}}.public-profile .profile-tabs{border:1px solid var(--profile-chat-rule);background:color-mix(in srgb,var(--profile-chat-rule) 35%,var(--profile-chat));border-radius:8px;grid-template-columns:1fr 1fr;gap:4px;max-width:520px;margin:0 auto 16px;padding:4px;display:grid}.public-profile .profile-tab{min-height:40px;color:var(--profile-chat-muted);background:0 0;border-radius:6px;padding:8px 12px;font-size:14px;font-weight:600;transition:background-color .15s,color .15s}.public-profile .profile-tab:hover{color:var(--profile-text)}.public-profile .profile-tab[aria-selected=true]{background:var(--profile-accent);color:var(--profile-ink);box-shadow:0 1px 3px color-mix(in srgb,var(--profile-ink) 20%,transparent)}.public-profile .profile-shell{height:min(760px,100dvh - 206px)}@media(max-width:767px){.public-profile .profile-tabs{border-width:0 0 1px;border-radius:0;flex-shrink:0;max-width:none;margin:0;padding:6px 12px}.public-profile .profile-tab{min-height:40px;font-size:13px}.public-profile .profile-shell{height:calc(100dvh - 141px - env(safe-area-inset-bottom));min-height:460px}.public-profile:has(#mez-input:focus) .profile-main{flex-direction:column;display:flex}.public-profile:has(#mez-input:focus) .profile-shell{flex:1;height:auto}}.auth-page{--auth-ink:#15232a;--auth-cream:#f7f3eb;--auth-paper:#fffdf8;--auth-gold:#d1ae6c;--auth-placeholder:#8c9799;--background:#fff;--foreground:var(--auth-ink);--card:var(--auth-paper);--card-foreground:var(--auth-ink);--primary:#91713c;--primary-foreground:var(--auth-ink);--muted-foreground:#65706f;--border:#dedbd2;--input:var(--border);--ring:var(--auth-gold);--surface-muted:var(--auth-cream);--secondary:var(--auth-cream);--secondary-foreground:var(--auth-ink);--auth-shadow:color-mix(in srgb, var(--auth-ink) 18%, transparent);background:var(--auth-ink);color:var(--foreground)}.auth-page .auth-card{box-shadow:0 12px 32px var(--auth-shadow);border-radius:10px}.auth-page input{color:var(--foreground)}.auth-page input::placeholder{color:var(--auth-placeholder);opacity:1}.auth-page input:focus{border-color:var(--auth-gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-gold) 25%,transparent)}.auth-page .auth-google{background:var(--auth-paper);color:var(--foreground);border-color:var(--border)}.auth-page .auth-google:hover{background:var(--auth-cream)}.auth-page .auth-submit{background:var(--auth-gold);color:var(--auth-ink);border-color:var(--auth-gold);border-radius:5px;font-weight:700}.auth-page .auth-submit:hover{background:color-mix(in srgb,var(--auth-gold) 85%,var(--auth-paper));opacity:1}.auth-page.auth-loading,.auth-page.auth-loading>div{color:var(--auth-cream)}.auth-page.auth-feedback{box-shadow:0 12px 32px var(--auth-shadow);border-radius:10px;background:var(--auth-paper)!important;color:var(--auth-ink)!important;border:1px solid var(--border)!important}
