:root {
  --side-w: 256px;
  --measure: 800px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --r-xs: 7px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;
}
html[data-theme="solar"] {
  color-scheme: light;
  --bg: #faf9f6;
  --bg-2: #f3f2ed;
  --surface: #ffffff;
  --surface-2: #f4f2ed;
  --surface-3: #eae7df;
  --ink: #30332c;
  --ink-2: #686a61;
  --muted: #797b71;
  --line: #e9e7df;
  --line-2: #dad8ce;
  --accent: #ce683e;
  --accent-2: #b45733;
  --accent-ink: #ffffff;
  --accent-soft: #f8e9df;
  --glow: 206,104,62;
  --hero-deep: 206,104,62;
  --bubble-user: #efeee7;
  --bubble-user-ink: #30332c;
  --focus: #b45733;
  --meter-on: #ce683e;
  --meter-off: #e3dfd5;
  --shadow-sm: 0 1px 2px #25291605;
  --shadow: 0 5px 18px -8px #30332c18;
  --shadow-lg: 0 16px 60px -18px #30332c28;
}
html[data-theme="lunar"] {
  color-scheme: dark;
  --bg: #171c25;
  --bg-2: #131821;
  --surface: #202733;
  --surface-2: #242c39;
  --surface-3: #2c3644;
  --ink: #e9edf2;
  --ink-2: #b8c2d0;
  --muted: #96a3b7;
  --line: #2c3441;
  --line-2: #3b4656;
  --accent: #b3bcec;
  --accent-2: #c2c9f3;
  --accent-ink: #1b2030;
  --accent-soft: #30394f;
  --glow: 179,188,236;
  --focus: #b3bcec;
  --bubble-user: #2b3549;
  --bubble-user-ink: #e9edf2;
}
body { font-size: 14px; letter-spacing: -.012em; }
html[data-theme] body { background-image: none; }
button,input,textarea { font-family: var(--font-body); }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
svg.ui-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; pointer-events: none; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow,.section-label { font: 500 10px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.btn { border-radius: 9px; padding: 10px 17px; font-size: 13px; box-shadow: none; }
.btn:hover { box-shadow: none; transform: none; }
.btn-primary { background: var(--accent); border-color: transparent; color: var(--accent-ink); box-shadow: none; }
.btn-primary:hover { background: var(--accent-2); box-shadow: none; filter: none; }
.icobtn { width: 34px; height: 34px; border-radius: 8px; color: var(--muted); }
.icobtn:hover { background: var(--surface-2); color: var(--ink); transform: none; }
.icobtn svg { width: 18px; height: 18px; }
input,textarea,select { border-radius: 9px; }
input:focus,textarea:focus { box-shadow: 0 0 0 3px rgba(var(--glow),.09); }
textarea { line-height: 1.7; }
.tab { font-size: 13px; font-weight: 500; border-radius: 7px; }
.tabs { border-radius: 10px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); }
.chip { border-radius: 7px; font-size: 12px; padding: 7px 11px; }
.chip.active { background: var(--accent-soft); border-color: color-mix(in srgb,var(--accent) 35%,var(--line)); color: var(--accent-2); }
.toggle-track { height: 18px; width: 30px; }
.toggle-track::after { width: 12px; height: 12px; top: 2px; left: 2px; }
.toggle input:checked + .toggle-track::after { transform: translateX(12px); }
.toggle-label { font-size: 12px; font-weight: 500; }
.toggle input:focus-visible + .toggle-track { outline: 2px solid var(--focus); outline-offset: 3px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
.card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.fine { font-size: 12px; line-height: 1.7; }
.pill { border-radius: 6px; }
.bg-layer { opacity: .45; }
.boot { background: var(--bg); }
.boot img { width: 52px; height: 52px; }
.boot-bar { height: 3px; }
.auth { max-width: none; margin: 0; width: 100%; height: 100dvh; overflow-y: auto; padding: 20px; gap: 7vw; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; }
.auth-hero { align-self: stretch; display: flex; flex-direction: column; position: relative; min-height: 680px; padding: 30px 40px 24px; background: #edeee5; border: 1px solid #e2e4d7; border-radius: 18px; overflow: hidden; animation: none; }
.auth-brand { display: flex; gap: 12px; align-items: center; text-decoration: none; z-index: 1; color: #30332c; }
.auth-brand img { width: 36px; height: 36px; }
.auth-brand > span:first-of-type { font: 700 25px var(--font-display); letter-spacing: -.05em; }
.brand-period { color: #b45733; }
.auth-brand .small-label { margin-left: auto; font-size: 11px; color: #6d7462; }
.auth-story { margin: auto 0; position: relative; padding-top: 38px; }
.auth-story .eyebrow { display: flex; align-items: center; gap: 9px; color: #69715f; font-size: 9px; }
.tiny-sun { width: 7px; height: 7px; background: #bc693f; border-radius: 50%; box-shadow: 0 0 0 3px #bc693f15; }
.auth h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(50px,5.45vw,84px); line-height: 1.03; letter-spacing: -.065em; color: #303b2b; margin: 23px 0; }
.auth h1 em { font-family: var(--font-serif); font-weight: 400; color: #bd613e; letter-spacing: -.035em; }
.auth-story > p { color: #6b715f; font-size: 14px; line-height: 1.8; margin: 0; max-width: 420px; }
.auth-art { width: 100%; height: 216px; position: relative; margin-top: 10px; }
.art-sun { width: 116px; height: 116px; position: absolute; left: 41%; top: 37px; border-radius: 50%; background: repeating-linear-gradient(0deg,transparent 0 5px,#edeee522 5px 6px),linear-gradient(140deg,#eeb45d,#ce7e43); box-shadow: inset -12px -12px 25px #af532319; }
.orbit { position: absolute; border: 1px solid #a3ad8b65; border-radius: 50%; width: 290px; height: 115px; left: 50%; top: 35px; transform: translateX(-50%) rotate(-28deg); }
.orbit-two { width: 350px; height: 136px; top: 26px; transform: translateX(-50%) rotate(24deg); border-style: dashed; border-color: #a3ad8b55; }
.orbit-label { position: absolute; font-family: var(--font-serif); font-style: italic; font-size: 17px; color: #737961; right: 0; bottom: 30px; }
.art-star { position: absolute; font-size: 29px; font-weight: 400; color: #bc7144; }
.star-one { right: 16%; top: 0; }.star-two { left: 9%; top: 88px; font-size: 22px; color: #8b967d; }
.art-coordinate { position: absolute; bottom: 15px; left: 0; color: #889079; font: 8px var(--font-mono); letter-spacing: .08em; }
.auth-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: #7b826e; }
.auth-bottom a { text-decoration: none; }
.auth-card { padding: 30px 0; max-width: 370px; width: 100%; justify-self: start; border: 0; background: transparent; border-radius: 0; box-shadow: none; margin-right: 20px; animation: none; }
.auth-card-intro { margin-bottom: 28px; }
.auth-card-intro h2 { font-family: var(--font-display); font-size: 34px; font-weight: 500; letter-spacing: -.05em; margin: 12px 0 7px; }
.auth-card-intro p { font-size: 13px; color: var(--muted); margin: 0; }
.auth-card .tabs { margin-bottom: 27px; }
.auth-card .field { margin: 19px 0; }
.auth-card .field > span { color: var(--ink-2); font-weight: 500; font-size: 12px; }
.auth-card input { background: var(--surface); padding: 13px 14px; font-size: 13px; border: 1px solid var(--line-2); }
.auth-card .btn-wide { padding: 13px; margin-top: 6px; }
.auth-card .fine { font-size: 11px; text-align: center; max-width: 315px; margin: 14px auto 0; color: var(--muted); }
.auth-card .fine a { text-underline-offset: 3px; }
.auth-card .msg { font-size: 12px; }
.auth-card .msg:empty { display: none; }
.auth-card .msg:not(:empty) { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); }
.auth-divider { display: flex; align-items: center; gap: 13px; margin: 27px 0 15px; color: var(--muted); font-size: 11px; }
.auth-divider::before,.auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.preview-link { width: 100%; display: flex; justify-content: center; align-items: center; gap: 40px; border: 1px solid var(--line-2); border-radius: 9px; padding: 12px; text-decoration: none; font-size: 12px; color: var(--ink-2); transition: background .2s; }
.preview-link:hover { background: var(--surface-2); }
.preview-hint { font-size: 10px; text-align: center; color: var(--muted); margin: 10px 0 0; }
.consent { background: none; padding: 20px; pointer-events: none; align-items: end; justify-content: end; z-index: 200; }
.consent-card { pointer-events: auto; max-width: 510px; width: auto; display: flex; align-items: center; padding: 18px; gap: 13px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-lg); }
.consent-card strong { font-size: 12px; font-weight: 600; }.consent-card p { font-size: 11px; line-height: 1.6; margin: 5px 0 0; color: var(--muted); }
.consent-icon { color: var(--accent); flex: none; align-self: flex-start; padding-top: 4px; }
.consent-card .btn { flex: none; font-size: 11px; padding: 9px 12px; }
.side { background: var(--bg-2); border-color: var(--line); padding: 25px 14px 14px; gap: 15px; }
.side-top { padding: 0 7px 9px; gap: 11px; }
.brand { gap: 5px; }
.brand-name { font-size: 26px; font-weight: 600; letter-spacing: -.065em; }
.brand-name::after { content: "."; color: var(--accent); }
.brand-sub { font-size: 9px; letter-spacing: 0; max-width: 171px; }
.modeswitch { width: 35px; height: 35px; }
.modeswitch::after { box-shadow: none; }
.side-close { margin-left: auto; flex: none; width: 25px; }
.side-actions { display: grid; gap: 9px; }
.newchat { border-radius: 9px; background: var(--surface); border: 1px solid var(--line-2); padding: 11px 12px; font-size: 12px; color: var(--ink); box-shadow: 0 2px 3px #30332c03; gap: 10px; }
.newchat svg { width: 17px; height: 17px; }
.newchat:hover { background: var(--surface); transform: none; box-shadow: none; }
.newchat > span { color: inherit; }.newchat .shortcut { font: 10px var(--font-mono); color: var(--muted); margin-left: auto; opacity: .65; }
.search-trigger { border: 0; display: flex; align-items: center; width: 100%; gap: 10px; background: transparent; color: var(--muted); font: 12px var(--font-body); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.search-trigger:hover { background: var(--surface-3); }.search-trigger svg { width: 16px; height: 16px; }
kbd { font: 9px var(--font-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 4px; margin-left: auto; }
.section-label { padding: 9px 12px 10px; font-size: 9px; letter-spacing: .1em; }
.nav { gap: 3px; }
.nav-btn { border-radius: 8px; min-height: 39px; font-size: 12px; padding: 9px 12px; gap: 12px; }
.nav-btn .ico { width: 17px; color: var(--muted); display: inline-flex; }
.nav-btn .ico svg { width: 18px; height: 18px; }
.nav-btn.active { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; box-shadow: none; }
.nav-btn.active::before { display: none; }
.nav-btn.active .ico { color: var(--accent-2); }
.nav-caption { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 400; opacity: .8; }
.nav-tag { font: 8px var(--font-mono); letter-spacing: .04em; margin-left: auto; border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 4px; color: var(--muted); }
.side-label { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px 0; font: 9px var(--font-mono); letter-spacing: .1em; margin: 0; }
.side-label svg { width: 12px; height: 12px; opacity: .7; }
.chatlist { min-height: 55px; margin-top: -5px; }
.chatlist .none { font-size: 11px; line-height: 1.8; padding: 9px 12px; max-width: 198px; color: var(--muted); }
.ci { font-size: 11.5px; border-radius: 7px; min-height: 35px; padding: 8px 10px; }
.ci::before { opacity: .55; }
.ci.active { box-shadow: none; }
.ci-menu { min-width: 24px; min-height: 24px; border-radius: 5px; }
.ci:focus-visible .ci-menu,.ci:focus-within .ci-menu { opacity: 1; }
.usage-disclosure { flex: none; font-size: 11px; color: var(--muted); }
.usage-disclosure summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 9px 12px; cursor: pointer; border-radius: 8px; }
.usage-disclosure summary::-webkit-details-marker { display: none; }
.usage-disclosure summary:hover { background: var(--surface-3); }
.usage-disclosure summary > [data-icon]:last-child { margin-left: auto; }
.usage-disclosure summary svg { width: 15px; height: 15px; }
.usage-disclosure[open] summary > [data-icon]:last-child { transform: rotate(180deg); }
.side-uses { border: 0; border-radius: 8px; background: transparent; box-shadow: none; margin: 0 5px; padding: 7px 9px 10px; max-height: 185px; overflow: auto; }
.su { font-size: 10px; }.su b { font-size: 10px; }
.side-foot { border: 0; padding: 0; gap: 8px; }
.side-foot .nav-plus { display: flex; border: 1px solid color-mix(in srgb,var(--accent) 16%,var(--line)); border-radius: 10px; padding: 13px 10px; background: color-mix(in srgb,var(--accent-soft) 46%,var(--bg-2)); gap: 9px; }
.upgrade-icon { color: var(--accent); }.upgrade-icon svg { width: 21px; height: 21px; }
.upgrade-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }.upgrade-copy b { font-size: 11px; font-weight: 500; color: var(--ink); }.upgrade-copy small { font-size: 9px; color: var(--muted); }
.upgrade-arrow { margin-left: auto; color: var(--muted); }.upgrade-arrow svg { width: 15px; height: 15px; }
.side-secondary { display: flex; align-items: center; }
.side-secondary .nav-btn { flex: 1; min-width: 0; font-size: 11px; min-height: 33px; padding-top: 7px; padding-bottom: 7px; }
.wn-dot { width: 5px; height: 5px; margin-left: auto; }
.about-link { color: var(--muted); padding: 9px 10px; display: flex; border-radius: 6px; }.about-link svg { width: 15px; height: 15px; }.about-link:hover { background: var(--surface-3); }
.userchip { border-top: 1px solid var(--line-2); border-radius: 0; padding: 14px 7px 0; margin-top: 0; gap: 9px; }
.userchip:hover { background: transparent; }.userchip .avatar { width: 31px; height: 31px; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); font: 500 12px var(--font-body); }
.uc-text { gap: 4px; }.uc-text b { font-weight: 500; font-size: 11px; }.uc-text small { font-size: 9px; text-transform: capitalize; }.uc-cog svg { width: 16px; height: 16px; }
.main-head { background: transparent; border: 0; min-height: 83px; padding: 23px 32px; gap: 17px; backdrop-filter: none; z-index: 30; }
.side-open { display: flex; width: 27px; height: 30px; }
.head-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.head-title h1 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.head-sub { font-size: 11px; line-height: 1.4; padding-left: 14px; border-left: 1px solid var(--line-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.head-right { gap: 17px; }
.meter { display: none; }.head-new { width: 28px; }
.preview-badge { font-size: 9px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; border-radius: 5px; white-space: nowrap; }
.effort-control { position: relative; display: none; }
.main[data-view="chat"] .effort-control,.main[data-view="ray"] .effort-control,.main[data-view="humanizer"] .effort-control { display: block; }
.effort-trigger { border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--muted); font: 11px var(--font-body); display: flex; align-items: center; gap: 7px; padding: 7px 9px; cursor: pointer; }
.effort-trigger b { font-weight: 500; color: var(--ink-2); }.effort-trigger svg { width: 13px; height: 13px; }
.effort-trigger:hover { border-color: var(--line-2); background: var(--surface); }
.effort-popover { position: absolute; top: calc(100% + 12px); right: 0; width: 352px; padding: 21px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); z-index: 100; }
.popover-heading b { font-size: 13px; font-weight: 600; }.popover-heading p { font-size: 11px; color: var(--muted); margin: 5px 0 20px; }
.effort-popover #effort { display: flex; width: 100%; min-width: 0; padding: 0; position: static; transform: none; border: 0; box-shadow: none; background: transparent; border-radius: 0; gap: 8px; }
.effort-popover #effort .effort-lab { display: none; }
.effort-popover #effort-rail { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr 1fr; gap: 6px; padding: 0; width: 100%; height: auto; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.effort-popover #effort-rail::before,.effort-popover #effort-rail::after,#effort-fill { display: none; }
.effort-popover .es { position: relative; width: auto; height: 36px; padding: 8px 3px; min-height: 0; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); transform: none; box-shadow: none; color: var(--ink-2); display: flex; justify-content: center; align-items: center; }
.effort-popover .es::before,.effort-popover .es::after { display: none; }.effort-popover .es span { font: 11px var(--font-body); }
.effort-popover .es.active,.effort-popover .es.on { background: var(--accent-soft); border-color: color-mix(in srgb,var(--accent) 38%,var(--line)); color: var(--accent-2); box-shadow: none; }
.effort-popover .effort-name { font: 11px var(--font-body); color: var(--muted); min-height: 0; margin: 5px 0 0; }
.effort-popover .effort-left { font-size: 10px; }
#view-chat:has(#chat-empty) { justify-content: center; overflow-y: auto; padding-bottom: 38px; }
#view-chat:has(#chat-empty) .chatlog { padding: 0 28px; flex: 0 0 auto; overflow: visible; }
#view-chat:has(#chat-empty) #chat-empty { margin: 0 auto; max-width: 800px; padding: 0 0 32px; width: 100%; text-align: center; animation: none; }
#chat-empty .welcome-art { width: 69px; height: 69px; margin: 0 auto 26px; position: relative; display: grid; place-items: center; }
.welcome-art .welcome-sun { display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent); }
.welcome-art svg { width: 53px; height: 53px; stroke-width: 1.2; }
.welcome-art::before { content: ""; position: absolute; inset: -9px; border: 1px solid color-mix(in srgb,var(--accent) 10%,transparent); border-radius: 50%; }
.welcome-art::after { content: "+"; font: 15px var(--font-mono); color: color-mix(in srgb,var(--accent) 60%,transparent); position: absolute; right: -14px; top: 1px; }
#chat-empty .welcome-eyebrow { display: block; font: 10px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; }
#view-chat:has(#chat-empty) #chat-empty h2 { display: block; font: 500 clamp(32px,3.1vw,48px)/1.14 var(--font-display); letter-spacing: -.055em; color: var(--ink); margin: 0 0 13px; }
#chat-empty h2 em { font: italic 400 1.1em/1 var(--font-serif); color: var(--accent-2); letter-spacing: -.035em; }
#view-chat:has(#chat-empty) #chat-empty p { display: block; color: var(--muted); font-size: 13px; margin: 0; }
#view-chat .dock::before { display: none; }
#view-chat:has(#chat-empty) .dock { padding: 0 32px; background: transparent; position: relative; z-index: 1; }
.main[data-view="chat"] .dock > *,#view-chat:has(#chat-empty) .dock > *, .main[data-view="ray"] .dock > * { width: 100%; max-width: min(800px,100%); margin-left: auto; margin-right: auto; }
.dock-main { border: 1px solid var(--line-2); border-radius: 17px; background: var(--surface); box-shadow: 0 5px 20px -10px #30332c12; padding: 15px 13px 12px; gap: 5px; }
.dock-main:focus-within { border-color: color-mix(in srgb,var(--accent) 45%,var(--line-2)); box-shadow: 0 4px 20px -8px #30332c18,0 0 0 3px rgba(var(--glow),.035); }
.dock-main #chat-input { min-height: 59px; padding: 3px 5px 12px; font-size: 14px; color: var(--ink); font-family: var(--font-body); border: 0; box-shadow: none; line-height: 1.7; }
#chat-input::placeholder { color: #98998e; opacity: 1; }
.ctlbar { gap: 13px; flex-wrap: wrap; }
.pick-btn { font-size: 11px; border: 0; background: var(--surface-2); border-radius: 6px; min-height: 30px; padding: 5px 9px; gap: 6px; box-shadow: none; }
.pick-btn b { font-weight: 500; }.pick-btn:hover { box-shadow: none; background: var(--surface-3); }.pick-dot { width: 6px; height: 6px; box-shadow: none; background: var(--accent); }
.pick-caret { font-size: 9px; color: var(--muted); }
.send { border-radius: 9px; width: 34px; height: 34px; background: var(--ink); color: var(--surface); border: 0; box-shadow: none; }
.send:hover { transform: translateY(-1px); background: var(--accent); box-shadow: none; }.send svg { width: 17px; height: 17px; }
.dock-foot { justify-content: center; min-height: 18px; margin-top: 11px; gap: 10px; }
.disclaimer { font-size: 10px; color: var(--muted); text-align: center; opacity: .87; }
.status:empty { display: none; }
.starter-zone { display: none; padding: 24px 0 0; }
#view-chat:has(#chat-empty) .starter-zone { display: block; }
.starter-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; color: var(--muted); font-size: 10px; }.starter-line { height: 1px; background: var(--line); flex: 1; }
.starter-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.starter-card { padding: 16px 13px 17px; position: relative; text-align: left; border: 1px solid var(--line); border-radius: 11px; background: transparent; cursor: pointer; color: var(--ink); transition: background .18s,border-color .18s,transform .18s; min-width: 0; }
.starter-card:hover { background: var(--surface); border-color: var(--line-2); transform: translateY(-3px); }
.starter-icon { display: flex; border-radius: 7px; width: 30px; height: 30px; margin-bottom: 16px; }.starter-icon svg { width: 17px; height: 17px; }
.starter-icon.peach { background: #f5e8db; color: #b07a45; }.starter-icon.sage { background: #e6ebe0; color: #698251; }.starter-icon.lavender { background: #ece8f0; color: #8c73a6; }.starter-icon.blue { background: #e6ecee; color: #688a95; }
.starter-card b { display: block; font-size: 11px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 4px; }.starter-card small { display: block; font-size: 9px; color: var(--muted); line-height: 1.4; }
.starter-arrow { position: absolute; right: 13px; top: 18px; opacity: .3; }.starter-arrow svg { width: 14px; height: 14px; }
.dock { background: linear-gradient(transparent,var(--bg) 25%); padding: 18px 32px 22px; flex: none; }
.main[data-view="chat"] .chatlog,#ray-log { padding: 28px max(32px,calc((100% - var(--measure)) / 2)); }
.chatlog { gap: 24px; scroll-behavior: smooth; }
.bubble { font-family: var(--font-body); font-size: 14px; line-height: 1.8; max-width: 100%; border-radius: 13px; }
.bubble.user { padding: 13px 19px; max-width: 86%; background: var(--bubble-user); border: 1px solid var(--line); }
.bubble.ai { padding: 4px 0 10px 44px; min-width: 0; min-height: 42px; border: 0; box-shadow: none; }
.bubble.ai > .chain, .bubble.ai > .thought, .bubble.ai > .ans { min-width: 0; max-width: 100%; }
.bubble pre { border: 1px solid var(--line); border-radius: 10px; padding: 18px; font-size: 12px; background: var(--surface-2); }
.bubble-meta { margin-top: 12px; font-size: 10px; opacity: .75; }
.menu { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-lg); }
.pick-menu { min-width: 276px; padding: 7px; }
.pick-menu .tier { padding: 10px; margin: 2px 0; border-radius: 7px; display: grid; grid-template-columns: 1fr auto; gap: 3px 9px; text-align: left; }
.tier b { font-size: 12px; }.tier small { font-size: 10px; }.tier-description { font-size: 10px; color: var(--muted); grid-column: 1 / -1; }
.tier.active { background: var(--accent-soft); }.pick-note { font-size: 11px; line-height: 1.6; }
.filechip,.fchip { border-radius: 7px; font-size: 11px; }.attach-strip { padding-bottom: 8px; }.attach-strip img { border-radius: 9px; }
.scroller { padding: 22px 36px 50px; }
.main[data-view="humanizer"] .scroller { padding-right: 36px; }
.page-intro { max-width: 1000px; width: 100%; margin: 18px auto 32px; }
.page-intro h2 { font: 500 clamp(27px,3vw,37px)/1.2 var(--font-display); letter-spacing: -.05em; margin: 12px 0 9px; }
.page-intro p { color: var(--muted); font-size: 13px; margin: 0; }
.hum-grid { max-width: 1000px; gap: 17px; }
.hum-step { border-radius: 13px; border: 1px solid var(--line); box-shadow: none; padding: 24px; }
.step-tag { font: 500 11px var(--font-body); letter-spacing: .005em; text-transform: none; margin-bottom: 20px; color: var(--ink); }
.hum-step-wide textarea { background: var(--bg); border: 1px solid var(--line); padding: 17px; min-height: 205px; font-size: 13px; }
.slider-labels { font-size: 9px; }.slider-value { font-size: 11px; padding-top: 9px; color: var(--muted); }
.hum-output { font-size: 14px; background: var(--bg); padding: 20px; border-radius: 9px; }
.acct-top,.acct-grid,.acct-actions { max-width: 1000px; margin-left: auto; margin-right: auto; }
.acct-top { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; padding: 23px; }
.acct-id .display { font-size: 23px; font-weight: 500; }.acct-id .sub { font: 11px var(--font-body); }
.acct-ring { box-shadow: none; background: var(--accent-soft); }.acct-ring span { background: var(--accent-soft); color: var(--accent-2); }.acct-grid { gap: 16px; }
.acct-actions { padding-top: 18px; }.acct-quick .q b { font-size: 23px; }.acct-quick .q span { font-size: 10px; }
.strip { background: transparent; border-bottom: 1px solid var(--line); padding: 13px 30px; }
.brainbar { max-width: 500px; gap: 24px; }.brain-name { font-size: 11px; }.xp-text { font-size: 9px; }.xp-track { height: 3px; }
.lunar-side { border-left: 1px solid var(--line); background: var(--bg-2); padding: 20px; width: 300px; }
.lunar-main .empty h2 { font: 500 36px var(--font-display); letter-spacing: -.04em; }
.lunar-main .empty p { font-size: 13px; }.lunar-main .empty .moon-blob { font-size: 65px; margin-bottom: 23px; }
.lunar-main .composer,.ray-body .composer { border-radius: 14px; padding: 13px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: none; }
.lunar-main .composer textarea,.ray-body .composer textarea { font-size: 13px; }
.lunar-stats { font-size: 10px; padding: 18px 0; }.lunar-tabs { background: var(--surface-2); }
.ws { padding: 0 26px 26px; gap: 18px; grid-template-columns: 235px minmax(0,1fr); }
.ws-list { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.ws-top { gap: 8px; }.ws-top .btn { flex: 1; }.ws-scope { gap: 5px; }.ws-scope .chip { font-size: 10px; padding: 6px 8px; }
.ws-editor { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-height: 0; }
.ws-empty { max-width: 380px; margin: auto; color: var(--muted); }.ws-empty h2 { font-size: 27px; font-weight: 500; }.ws-empty p { font-size: 12px; line-height: 1.8; }
.ws-empty .ray-blob { font-size: 46px; }.ws-name { font-family: var(--font-mono); font-size: 13px; }.ws-text { border: 1px solid var(--line); background: var(--bg); min-height: 100px; font-size: 12px; }
.ws-doc-foot .btn { padding: 8px 12px; font-size: 11px; }.ws-meter { padding: 13px 0 0; font-size: 10px; }.ws-meter .fine { font-size: 10px; }.wsf { font-size: 11px; border-radius: 7px; }.wsf .ft { font-size: 9px; }.wsf small { font-size: 9px; }.wsf-x { min-width: 26px; min-height: 26px; }
.ray-lock { backdrop-filter: blur(8px); background: color-mix(in srgb,var(--bg) 70%,transparent); }
.ray-lock-in { padding: 38px; border: 1px solid var(--line-2); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }.ray-lock h3 { font-size: 30px; font-weight: 500; }.ray-lock p { font-size: 13px; line-height: 1.8; }
.plus-wrap { max-width: 1000px; }
.plus-hero { border: 1px solid var(--line-2); border-radius: 18px; background: #eeeee4; box-shadow: none; color: #303b2b; }
.plus-rays { opacity: .05; animation: none; }.plus-hero-in { padding: 37px; }.plus-title { font-size: 55px; font-weight: 500; letter-spacing: -.055em; }.plus-lede { font-size: 13px; max-width: 580px; line-height: 1.8; color: #69715f; }.plus-eyebrow { font-size: 10px; }.plus-amount { font-size: 62px; font-weight: 500; }.plus-per { font-size: 12px; }.plus-per small { font-size: 10px; }.plus-price { margin: 22px 0; }
.plan-card { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; padding: 26px; }.plan-card.is-plus { border-color: #d2a991; background: var(--surface); box-shadow: none; }.plan-amt { font-size: 40px; font-weight: 500; }.plan-card li { font-size: 12px; line-height: 1.8; }
.plus-table { border-radius: 12px; border: 1px solid var(--line); box-shadow: none; }.pt-row { font-size: 12px; }.pt-row i { font-size: 10px; }.pt-plus { background: color-mix(in srgb,var(--accent-soft) 30%,transparent); }
.wn-wrap { max-width: 880px; }.wn-hero h2 { font-size: 35px; font-weight: 500; }.wn-card { border-radius: 13px; box-shadow: none; }.wn-card h3 { font-size: 17px; font-weight: 500; }.wn-card p { font-size: 13px; }
body.omnis-mode { --omnis-a: #d0c8bc; --omnis-b: #d2a281; --omnis-c: #b87150; }
body.omnis-mode .main { background: radial-gradient(ellipse at 50% 20%,#f1e8db50,transparent 65%); }
body.omnis-mode .dock-main { border-color: #d5c1ac; box-shadow: 0 4px 18px -10px #70513822; background: var(--surface); }
body.omnis-mode .dock-main:focus-within { box-shadow: 0 0 0 3px #d5c1ac15; }
body.omnis-mode #chat-empty .welcome-art { color: #a37651; }
body.omnis-mode #chat-empty .welcome-eyebrow { color: #9b7256; }
body.omnis-mode #chat-empty h2 em { color: #a37651; background: none; -webkit-text-fill-color: currentColor; }
body.omnis-mode .starter-zone { opacity: .9; }
.omnis-allowance { display: inline-flex; padding: 5px 10px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; font-size: 10px; color: var(--muted); margin-top: 17px; }
.novaflash { display: none; }
.toast { background: var(--ink); color: var(--surface); padding: 13px 18px; border: 0; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 12px; max-width: min(90vw,500px); text-align: center; z-index: 250; }
.command-palette { width: min(570px,calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 15px; background: var(--surface); color: var(--ink); box-shadow: 0 30px 120px #0003; margin: min(18vh,150px) auto auto; }
.command-palette::backdrop { background: #262b2544; backdrop-filter: blur(5px); }
.command-top { display: flex; align-items: center; padding: 15px 17px; gap: 13px; border-bottom: 1px solid var(--line); color: var(--muted); }
.command-top input { border: 0; padding: 8px 0; box-shadow: none; outline: none; min-width: 0; width: 100%; font-size: 14px; background: transparent; color: var(--ink); }
.command-results { padding: 10px; max-height: min(55vh,420px); overflow: auto; }
.command-label { padding: 10px 10px 6px; font: 9px var(--font-mono); letter-spacing: .1em; color: var(--muted); }
.command-item { width: 100%; display: flex; align-items: center; gap: 12px; background: transparent; border: 0; border-radius: 8px; padding: 12px 10px; color: var(--ink); font: 12px var(--font-body); text-align: left; cursor: pointer; }
.command-item svg { color: var(--muted); width: 17px; height: 17px; }.command-item span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.command-item small { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }
.command-item:hover,.command-item.selected { background: var(--surface-2); }.command-empty { padding: 35px; text-align: center; color: var(--muted); font-size: 12px; }
.command-foot { display: flex; justify-content: space-between; font-size: 9px; padding: 12px 18px; color: var(--muted); background: var(--bg); border-top: 1px solid var(--line); }
@media (min-width: 901px) and (max-height: 760px) { .side { padding-top: 17px; gap: 9px; }.side-top { padding-bottom: 4px; }.nav-btn { min-height: 35px; padding-top: 8px; padding-bottom: 8px; }.section-label { padding-top: 3px; padding-bottom: 7px; }.main-head { min-height: 67px; padding-top: 17px; padding-bottom: 17px; }#chat-empty .welcome-art { margin-bottom: 17px; }#view-chat:has(#chat-empty) #chat-empty { padding-bottom: 24px; }.starter-zone { padding-top: 16px; }.starter-card { padding-bottom: 14px; }.starter-icon { margin-bottom: 10px; } }
@media (min-width: 901px) and (max-height: 620px) { .side { gap: 6px; }.side-secondary { display: none; }.brand-sub { display: none; }.side-top { padding-bottom: 0; }.search-trigger { padding-top: 5px; padding-bottom: 5px; }.nav-btn { min-height: 31px; padding-top: 6px; padding-bottom: 6px; }.side-label { padding-top: 4px; }.chatlist { min-height: 36px; }#view-chat:has(#chat-empty) { justify-content: flex-start; padding-top: 20px; }#chat-empty .welcome-art { display: none; } }
@media (max-width: 1150px) { .head-sub { max-width: 195px; }.head-right { gap: 10px; }.preview-badge { display: none; }.main-head { padding-left: 25px; padding-right: 25px; }.starter-card { padding-left: 11px; padding-right: 11px; }.starter-card small { font-size: 8.5px; }.auth { gap: 6vw; }.auth-hero { padding-left: 27px; padding-right: 27px; }.auth-brand .small-label { display: none; }.auth-card { max-width: 330px; }.lunar-side { width: 250px; } }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; top: 0; bottom: 0; left: 0; height: 100dvh; width: min(290px,85vw); z-index: 60; padding-top: max(23px,env(safe-area-inset-top)); box-shadow: var(--shadow-lg); }
  .side-close { display: flex; }.side-top { padding-right: 0; }.brand-sub { max-width: 160px; }
  body.side-open .side-scrim { z-index: 50; backdrop-filter: blur(2px); }
  .head-sub { max-width: none; }
  .main-head { min-height: 72px; padding: 18px 22px; }
  #view-chat:has(#chat-empty) { padding-bottom: 25px; }
  #view-chat:has(#chat-empty) .dock { padding-left: 28px; padding-right: 28px; }
  #view-chat:has(#chat-empty) #chat-empty h2 { font-size: 41px; }
  .main[data-view="chat"] .dock > *,#view-chat:has(#chat-empty) .dock > *, .main[data-view="ray"] .dock > * { max-width: 800px; margin-left: auto; margin-right: auto; }
  .main[data-view="chat"] .chatlog,#ray-log { padding-left: 28px; padding-right: 28px; }
  .starter-card small { font-size: 9px; }
  .ws { grid-template-columns: 190px minmax(0,1fr); grid-template-rows: 1fr; padding: 0 18px 18px; gap: 12px; }.ws-list { max-height: none; padding: 11px; }.ws-editor { padding: 16px; }.ws-scope { flex-direction: column; }
  .auth { gap: 5vw; }.auth-hero { min-height: 630px; padding: 24px; }.auth h1 { font-size: 54px; }.auth-card { max-width: 300px; }.auth-art { height: 195px; }.orbit { width: 230px; }.orbit-two { width: 260px; }.art-sun { left: 32%; }.orbit-label { font-size: 13px; }.auth-story > p { font-size: 12px; }.auth-bottom { font-size: 9px; }
}
@media (max-width: 650px) {
  .auth { padding: 0; display: block; height: 100dvh; overflow: auto; }.auth-hero { display: block; min-height: 0; height: auto; padding: 22px 24px 28px; border: 0; border-radius: 0 0 20px 20px; }.auth-brand img { width: 30px; height: 30px; }.auth-brand > span:first-of-type { font-size: 24px; }.auth-brand .small-label { display: block; }.auth-story { padding-top: 20px; }.auth-story .eyebrow { display: none; }.auth h1 { font-size: 38px; line-height: 1.03; margin: 0 0 12px; letter-spacing: -.055em; }.auth h1 br { display: none; }.auth h1 br::after { content:" "; }.auth-story > p { font-size: 12px; max-width: 320px; }.auth-art,.auth-bottom { display: none; }.desktop-break { display: none; }.auth-card { max-width: 420px; margin: 0 auto; padding: 30px 24px 45px; }.auth-card-intro { margin-bottom: 22px; }.auth-card-intro h2 { font-size: 28px; }.auth-card-intro .eyebrow { font-size: 9px; }.auth-card .tabs { margin-bottom: 21px; }
  .main-head { padding: 14px 17px; min-height: 66px; gap: 12px; }.head-title { gap: 0; }.head-title h1 { font-size: 13px; }.head-sub { display: none; }.head-right { gap: 9px; }.head-new { display: none; }.effort-trigger { padding: 7px 9px; font-size: 10px; }.effort-popover { width: min(335px,calc(100vw - 34px)); right: 0; padding: 18px; }
  #view-chat:has(#chat-empty) { padding-bottom: 25px; justify-content: center; }
  #view-chat:has(#chat-empty) .chatlog { padding-left: 18px; padding-right: 18px; }
  #view-chat:has(#chat-empty) #chat-empty { padding-bottom: 25px; }
  #chat-empty .welcome-art { width: 51px; height: 51px; margin-bottom: 21px; }.welcome-art svg { width: 44px; height: 44px; }.welcome-art::before { inset: -7px; }
  #chat-empty .welcome-eyebrow { font-size: 8px; letter-spacing: .1em; margin-bottom: 11px; }
  #view-chat:has(#chat-empty) #chat-empty h2 { font-size: 32px; line-height: 1.13; max-width: 325px; margin: 0 auto 11px; }
  #view-chat:has(#chat-empty) #chat-empty p { font-size: 11px; max-width: 300px; margin: auto; line-height: 1.7; }
  #view-chat:has(#chat-empty) .dock { padding: 0 17px; }.dock { padding: 13px 17px max(16px,env(safe-area-inset-bottom)); }
  .dock-main { border-radius: 13px; padding: 13px 9px 9px; gap: 6px 3px; }.dock-main #chat-input { font-size: 16px; min-height: 64px; padding-bottom: 11px; }.dock-main #chat-input::placeholder { font-size: 12px; }
  .dock-main .icobtn { width: 32px; height: 34px; }.send { width: 34px; height: 34px; }.ctlbar { gap: 9px; }.toggle-label { font-size: 10px; }.pick-btn { font-size: 10px; padding: 5px 7px; }.toggle-track { width: 28px; }.toggle input:checked + .toggle-track::after { transform: translateX(10px); }
  .disclaimer { font-size: 8px; line-height: 1.7; }.dock-foot { gap: 7px; margin-top: 10px; }.starter-zone { padding-top: 20px; }.starter-heading { font-size: 9px; margin-bottom: 11px; }.starter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.starter-card { padding: 12px 11px; display: grid; grid-template-columns: 29px minmax(0,1fr); column-gap: 9px; align-items: center; }.starter-icon { grid-row: 1 / 3; margin-bottom: 0; width: 28px; height: 28px; }.starter-card b { font-size: 10px; margin-bottom: 3px; letter-spacing: -.025em; }.starter-card small { font-size: 8px; }.starter-arrow { display: none; }
  .main[data-view="chat"] .chatlog,#ray-log { padding: 22px 18px; }.bubble { font-size: 13px; }.bubble.user { max-width: 91%; padding: 11px 15px; }.bubble.ai { padding-left: 40px; }
  .scroller,.main[data-view="humanizer"] .scroller { padding: 13px 17px 35px; }.page-intro { margin: 13px auto 23px; }.page-intro h2 { font-size: 28px; }.page-intro p { font-size: 12px; }.page-intro .eyebrow { font-size: 9px; }.hum-grid { gap: 12px; }.hum-step,.card { padding: 19px; }.hum-step-wide textarea { min-height: 170px; }.step-tag { margin-bottom: 17px; }
  .acct-top { padding: 18px; }.acct-quick { flex-wrap: wrap; }.acct-id .display { font-size: 22px; }.acct-grid { gap: 12px; }
  .strip { padding: 12px 17px; flex-wrap: wrap; gap: 10px; }.brainbar { gap: 13px; flex: 1; }.brain-name { font-size: 9px; }.xp-text { font-size: 8px; }.brain-menu .btn { padding: 7px 9px; font-size: 11px; }.lunar-main .empty h2 { font-size: 30px; }.lunar-main .empty p { font-size: 12px; }.lunar-side { position: absolute; right: 0; top: 0; bottom: 0; width: min(300px,85vw); z-index: 15; box-shadow: var(--shadow-lg); }.lunar-wrap { position: relative; }.lunar-main .dock-foot .disclaimer { display: none; }.lunar-main .composer textarea,.ray-body .composer textarea { font-size: 16px; }.lunar-main .composer textarea::placeholder,.ray-body .composer textarea::placeholder { font-size: 12px; }
  .ws { display: flex; flex-direction: column; padding: 0 13px 13px; gap: 11px; overflow: auto; }.ws-list { flex: none; min-height: 0; max-height: 225px; padding: 12px; }.ws-top { padding-bottom: 8px; }.ws-scope { flex-direction: row; }.ws-files { min-height: 40px; }.ws-meter { padding-top: 8px; }.ws-meter .fine { display: none; }.ws-editor { flex: 1; min-height: 300px; padding: 14px; }.ws-doc { min-height: 350px; }.ws-doc-foot { gap: 6px; }.ws-doc-foot .btn { font-size: 10px; padding: 8px 9px; }.ws-doc-top { flex-wrap: wrap; }.ws-text { font-size: 12px; }.ws-empty p { font-size: 11px; }
  .plus-hero-in { padding: 24px; }.plus-title { font-size: 43px; }.plus-amount { font-size: 52px; }.plus-lede { font-size: 12px; }.plan-card { padding: 21px; }.pt-row { font-size: 10px; grid-template-columns: 1.15fr 1fr 1fr; }.pt-row > span { padding: 10px 8px; }.pt-row i { display: none; }.plus-cards { gap: 12px; }.ray-lock-in { padding: 28px 23px; margin: 17px; }.ray-lock h3 { font-size: 29px; }.ray-lock p { font-size: 12px; }
  .consent { padding: 12px; }.consent-card { padding: 14px; gap: 10px; }.consent-icon { display: none; }.consent-card strong { font-size: 11px; }.consent-card p { font-size: 10px; }.consent-card .btn { font-size: 10px; padding: 9px 11px; }
  .command-top { padding: 12px; }.command-top input { font-size: 16px; }.command-top input::placeholder { font-size: 12px; }.command-item { font-size: 11px; }.command-item small { font-size: 9px; }.command-foot { font-size: 8px; padding: 11px 13px; }
}
@media (max-width: 370px) { .starter-card { grid-template-columns: 24px minmax(0,1fr); gap: 6px; padding: 11px 8px; }.starter-icon { width: 23px; height: 26px; }.starter-card small { font-size: 7px; }.starter-card b { font-size: 9px; }.toggle-label { font-size: 9px; }.ctlbar { gap: 6px; }#view-chat:has(#chat-empty) #chat-empty h2 { font-size: 29px; } }
@media (max-width: 650px) and (max-height: 720px) { #view-chat:has(#chat-empty) { justify-content: flex-start; padding-top: 18px; }.welcome-art { display: none !important; }#view-chat:has(#chat-empty) #chat-empty { padding-bottom: 21px; }.starter-zone { padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }.chatlog { scroll-behavior: auto; }.starter-card:hover { transform: none; } }
.preview-notice { flex: none; display: flex; justify-content: center; align-items: center; gap: 15px; padding: 8px 15px; color: var(--muted); font-size: 9px; border-top: 1px solid var(--line); background: var(--bg); }
.preview-notice a { text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 650px) { .preview-notice { flex-wrap: wrap; font-size: 8px; gap: 4px 12px; padding: 7px 12px; } }
.effort-popover .es.on { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.effort-popover .es.at { background: var(--accent-soft); border-color: color-mix(in srgb,var(--accent) 38%,var(--line)); color: var(--accent-2); }
.main-head #side-open { display: flex; }
.dock-foot .disclaimer { margin-left: 0; flex: none; }
.nav-btn { font-size: 13px; }
.ci { font-size: 12px; }
.starter-card b { font-size: 12px; }
.starter-card small { font-size: 10px; }
@media (max-width: 650px) { .starter-card b { font-size: 10px; }.starter-card small { font-size: 8px; }.dock-foot .disclaimer { max-width: 100%; }.nav-btn { font-size: 13px; } }
.side { overflow-y: auto; overscroll-behavior: contain; }
HTML:not([data-theme="lunar"]) .auth { color-scheme: light; }
