:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-2: #0f1012;
  --sidebar: #0c0d0f;
  --panel: #141518;
  --panel-hover: #1b1c20;
  --panel-2: #191a1d;
  --stroke: #282a2f;
  --stroke-soft: #212226;
  --text: #f4f4f1;
  --text-2: #bbbbba;
  --muted: #797b80;
  --muted-2: #595a60;
  --white: #f6f6f3;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; }
button, textarea, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 2px solid #dcdcdc; outline-offset: 3px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app { width: 100%; height: 100vh; height: 100dvh; min-height: 380px; display: flex; overflow: hidden; }
.sidebar { width: 276px; flex: 0 0 276px; background: var(--sidebar); border-right: 1px solid var(--stroke-soft); display: flex; flex-direction: column; position: relative; z-index: 15; }
.side-top { padding: 30px 19px 13px; }
.brand { display: flex; gap: 11px; align-items: center; padding: 0 7px; }
.brand-mark { width: 36px; height: 36px; background: var(--white); color: #0b0c0e; border-radius: 10px; display: grid; place-items: center; position: relative; font-size: 21px; font-weight: 850; letter-spacing: -2px; flex-shrink: 0; }
.brand-mark i { background: #0b0c0e; width: 4px; height: 4px; border-radius: 50%; position: absolute; top: 8px; right: 8px; }
.brand-name { display: flex; flex-direction: column; gap: 4px; }
.brand-name strong { font-size: 18px; font-weight: 800; letter-spacing: 1.4px; line-height: 1; }
.brand-dot { color: #8c8e94; }
.brand-name small { color: #65676e; font: 8.5px var(--mono); letter-spacing: 1.05px; white-space: nowrap; }
.new-chat-btn { margin-top: 39px; width: 100%; border: 1px solid #4a4b4f; background: #f6f6f4; color: #121315; border-radius: 9px; height: 44px; padding: 0 11px; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 720; transition: background .2s, transform .2s; }
.new-chat-btn:hover { background: #dbdbd8; transform: translateY(-1px); }
.new-chat-btn svg { width: 17px; height: 17px; stroke-width: 2.1px; }
.key-hint { margin-left: auto; height: 20px; min-width: 20px; border: 1px solid #c5c5c2; border-radius: 4px; color: #666; font: 11px var(--mono); display: grid; place-items: center; }
.side-nav { flex: 1; overflow-x: hidden; overflow-y: auto; padding: 17px 14px 20px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.nav-caption { color: #5e6066; font: 10px var(--mono); letter-spacing: .95px; display: flex; align-items: center; gap: 9px; margin: 8px 11px 15px; white-space: nowrap; }
.nav-caption-line { height: 1px; width: 100%; flex: 1; background: #232428; }
.nav-link { width: 100%; height: 43px; padding: 0 11px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: #a1a2a6; display: flex; gap: 11px; align-items: center; text-align: left; font-size: 12.5px; font-weight: 550; }
.nav-link.active, .nav-link:hover { background: #1a1b1e; border-color: #282a2e; color: #e8e8e8; }
.nav-link svg { width: 16px; height: 16px; }
.chat-count { font-size: 10px; margin-left: auto; background: #292a2d; color: #b4b4b5; border-radius: 4px; padding: 3px 6px; }
.history-title { margin-top: 28px; }
.history-list { display: flex; flex-direction: column; gap: 2px; }
.history-empty { color: #53555b; font-size: 12px; padding: 12px 13px; }
.history-item { height: 39px; display: flex; align-items: center; border: 1px solid transparent; border-radius: 7px; padding: 0 6px 0 10px; transition: background .15s; }
.history-item:hover, .history-item.current { background: #1a1b1e; }
.history-item.current { border-color: #2b2c31; }
.history-item-main { display: flex; gap: 10px; align-items: center; min-width: 0; background: transparent; border: 0; text-align: left; padding: 0; flex: 1; height: 100%; }
.history-item-main svg { width: 14px; height: 14px; flex-shrink: 0; color: #76787e; }
.history-item-main span { font-size: 12px; font-weight: 500; color: #a9aaac; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item.current .history-item-main span { color: #f0f0f0; }
.history-delete { width: 27px; height: 27px; border: 0; background: transparent; color: #74757b; display: grid; place-items: center; border-radius: 5px; opacity: 0; }
.history-item:hover .history-delete, .history-delete:focus-visible { opacity: 1; }
.history-delete:hover { background: #333438; color: #f3f3f3; }
.history-delete svg { width: 14px; height: 14px; }
.side-footer { margin-top: auto; padding: 15px 17px 18px; border-top: 1px solid #1e1f22; }
.engine-card { background: #151619; border: 1px solid #292a2e; border-radius: 11px; padding: 15px 14px 13px; }
.engine-card-header { display: flex; align-items: center; gap: 7px; font: 10px var(--mono); letter-spacing: 1px; color: #a0a0a4; }
.engine-card-header svg { width: 14px; height: 14px; color: #c2c2c2; }
.engine-live { margin-left: auto; font-size: 9px; letter-spacing: .5px; color: #bdbec0; display: flex; gap: 5px; align-items: center; }
.engine-live i { background: #dcdedd; width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 8px #fff6; }
.engine-card strong { display: block; margin-top: 14px; font-size: 13px; font-weight: 650; }
.engine-card small { display: block; color: #77787e; font-size: 10px; margin-top: 4px; }
.engine-bar { display: flex; align-items: end; gap: 4px; height: 17px; margin-top: 13px; }
.engine-bar span { flex: 1; background: #7c7e82; border-radius: 1px; height: 5px; }
.engine-bar span:nth-child(3n+1) { height: 9px; background: #ababab; }
.engine-bar span:nth-child(4n+2) { height: 13px; background: #c1c1c1; }
.engine-bar span:nth-child(6n+2) { height: 16px; }
.footer-settings { margin: 14px 0 0; width: 100%; border: 0; background: transparent; padding: 9px 4px; display: flex; align-items: center; gap: 11px; color: #929399; font-size: 12px; text-align: left; }
.footer-settings:hover { color: #fff; }
.footer-settings svg { width: 16px; height: 16px; }
.footer-end { margin-left: auto; }
.side-copyright { display: flex; align-items: center; gap: 7px; font: 8px var(--mono); color: #4c4e55; letter-spacing: .35px; margin: 13px 4px 0; }
.main-column { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #0d0e10; }
.topbar { height: 72px; flex: 0 0 72px; border-bottom: 1px solid #25262a; background: rgba(14,15,17,.95); display: flex; align-items: center; justify-content: space-between; padding: 0 36px; }
.topbar-start, .topbar-end { display: flex; gap: 12px; align-items: center; }
.breadcrumb-root { font: 10px var(--mono); letter-spacing: 1.2px; color: #77797d; }
.breadcrumb-arrow { width: 14px; height: 14px; color: #55575b; }
.breadcrumb-current { font-size: 12px; font-weight: 600; color: #e8e8e8; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 300px; }
.top-status { display: flex; align-items: center; gap: 7px; font: 9px var(--mono); letter-spacing: .9px; color: #aaaeb1; white-space: nowrap; }
.status-orb { width: 6px; height: 6px; background: #bfc1c3; border-radius: 50%; box-shadow: 0 0 0 3px #c6c8c812; }
.status-orb.offline { background: #666; box-shadow: none; }
.top-sep { height: 21px; width: 1px; background: #2b2b2e; margin: 0 5px; }
.version-chip { color: #8a8b91; font: 10px var(--mono); letter-spacing: .7px; border: 1px solid #33353a; border-radius: 5px; padding: 7px 9px; white-space: nowrap; }
.top-avatar { width: 32px; height: 32px; color: #111214; background: #f0f0ec; border: 1px solid #eaeaea; border-radius: 9px; font-weight: 850; font-size: 15px; margin-left: 4px; }
.top-avatar:hover { background: #c7c7c4; }
.main-area { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.main-area::before { content: ""; pointer-events: none; position: absolute; inset: 0; background-image: linear-gradient(to right, #ffffff04 1px, transparent 1px), linear-gradient(to bottom, #ffffff04 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to bottom, #0005, transparent 85%); opacity: .5; }
.conversation-scroller { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #35363b transparent; position: relative; z-index: 1; }
.welcome-screen { width: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 31px 30px 32px; }
.welcome-inner { width: 100%; max-width: 780px; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 15px; font: 9.5px var(--mono); letter-spacing: 2.2px; color: #898b90; white-space: nowrap; }
.eyebrow-line { height: 1px; width: 38px; background: #4c4e51; }
.hero-art { width: 244px; height: 216px; position: relative; margin: 11px auto 4px; display: flex; align-items: center; justify-content: center; }
.hero-orbit { border: 1px solid #303238; border-radius: 50%; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.orbit-a { width: 140px; height: 140px; border-color: #34363b; }
.orbit-b { width: 192px; height: 192px; border-color: #27292d; }
.orbit-c { width: 235px; height: 235px; border-color: #1e2025; }
.hero-art::before { content: ""; position: absolute; width: 260px; height: 210px; border-radius: 50%; background: radial-gradient(ellipse, #eee1 0%, transparent 70%); }
.hero-art::after { content: ""; width: 8px; height: 8px; position: absolute; left: 52px; top: 39px; border: 2px solid #babec0; background: #0e0f10; border-radius: 50%; }
.hero-core { z-index: 2; width: 90px; height: 90px; border: 1px solid #68696c; border-radius: 25px; background: linear-gradient(145deg,#f6f6f2,#b8b8b8); display: grid; place-items: center; box-shadow: 0 0 0 8px #ffffff04, 0 18px 85px #ffffff13; transform: rotate(-8deg); position: relative; }
.hero-core-j { font-size: 66px; font-weight: 850; color: #111215; line-height: 1; letter-spacing: -7px; margin-left: -4px; transform: rotate(8deg); }
.hero-core-dot { position: absolute; top: 16px; right: 17px; width: 7px; height: 7px; border-radius: 50%; background: #252525; }
.hero-star { position: absolute; color: #e4e4e1; }
.star-one { top: 34px; right: 23px; font-size: 18px; }
.star-two { bottom: 24px; left: 29px; font-size: 27px; opacity: .55; }
.hero-coordinate { position: absolute; font: 8px var(--mono); letter-spacing: .6px; color: #66686c; }
.co-one { top: 5px; left: -54px; }
.co-two { bottom: 10px; right: -50px; }
.hero-label { font: 10px var(--mono); letter-spacing: 2.45px; color: #aaa9ad; margin: 13px 0 11px; }
.welcome-inner h1 { margin: 0; color: #f5f5f2; font-size: clamp(38px, 4.7vw, 66px); font-weight: 690; letter-spacing: -3.1px; line-height: 1.16; }
.welcome-inner h1 em { font-style: normal; color: #78797d; }
.hero-description { color: #97989c; font-size: 13.5px; line-height: 1.75; margin: 18px auto 0; }
.prompt-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 40px; }
.prompt-card { min-height: 108px; display: flex; align-items: flex-start; gap: 10px; text-align: left; border: 1px solid #313238; border-radius: 11px; padding: 18px 13px 15px; background: linear-gradient(155deg, #191a1e, #111215); transition: transform .18s, border-color .18s, background .18s; }
.prompt-card:hover { transform: translateY(-3px); border-color: #64656a; background: #1b1d20; }
.prompt-icon { width: 29px; height: 29px; background: #2a2b2e; border: 1px solid #3b3d41; border-radius: 8px; display: grid; place-items: center; flex: 0 0 29px; }
.prompt-icon svg { width: 15px; height: 15px; color: #ededed; }
.prompt-details { min-width: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; padding-top: 2px; }
.prompt-details strong { font-size: 11.5px; font-weight: 650; color: #e2e3e3; }
.prompt-details small { font-size: 10px; line-height: 1.4; color: #77797e; }
.prompt-arrow { width: 13px; height: 13px; color: #696b70; align-self: end; }
.composer-zone { padding: 13px 30px max(20px, env(safe-area-inset-bottom)); flex: 0 0 auto; position: relative; z-index: 3; background: linear-gradient(0deg, #0d0e10 55%, #0d0e10f0 82%, #0d0e1000); }
.composer { max-width: 802px; margin: 0 auto; border: 1px solid #4a4a50; border-radius: 13px; background: #191a1d; padding: 15px 15px 11px; box-shadow: 0 10px 50px #0002; transition: border-color .2s; }
.composer:focus-within { border-color: #8d8e93; }
.composer textarea { background: transparent; border: 0; outline: 0; width: 100%; resize: none; min-height: 33px; max-height: 160px; overflow-y: auto; line-height: 1.6; color: #f2f2f2; font-size: 13px; padding: 2px 1px 7px; display: block; }
.composer textarea:focus-visible { outline: none; }
.composer textarea::placeholder { color: #7e8085; }
.composer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 1px; }
.composer-mode { display: flex; gap: 7px; align-items: center; font: 9px var(--mono); letter-spacing: .8px; color: #c3c3c4; }
.composer-mode-dot { width: 6px; height: 6px; background: #d1d1cf; border-radius: 50%; }
.composer-mode-divider, .composer-model { color: #77797e; }
.composer-actions { display: flex; align-items: center; gap: 13px; }
.send-hint { font-size: 10px; color: #74767a; }
.send-btn { border: 0; width: 32px; height: 32px; border-radius: 8px; background: #f0f0ed; color: #111215; display: grid; place-items: center; }
.send-btn:not(:disabled):hover { background: #c8c8c4; }
.send-btn:disabled { background: #3a3c40; color: #88898b; }
.send-btn svg { width: 16px; height: 16px; stroke-width: 2.1px; }
.bottom-caption { color: #55575b; font: 8.5px var(--mono); letter-spacing: 1px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; align-items: center; margin-top: 14px; text-align: center; }
.caption-dot { color: #8b8c8f; }
.mobile-only { display: none; }
.icon-btn { width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; display: grid; place-items: center; color: #bfc0c4; }
.icon-btn:hover { background: #292a2e; color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.global-notice { max-width: 802px; margin: 0 auto 9px; border: 1px solid #565252; border-radius: 8px; padding: 11px; background: #2a2424; display: flex; gap: 8px; align-items: center; font-size: 11px; color: #ded8d8; }
.global-notice svg { width: 15px; height: 15px; }
.global-notice span { flex: 1; }
.global-notice button { font-size: 10px; background: #eee; border-radius: 4px; border: 0; color: #222; padding: 5px 9px; white-space: nowrap; }
.messages-view { width: 100%; max-width: 824px; margin: 0 auto; padding: 35px 22px 44px; min-height: 100%; }
.conversation-heading { border-bottom: 1px solid #27282b; padding-bottom: 24px; margin-bottom: 30px; }
.conversation-tag { font: 9px var(--mono); letter-spacing: 1.5px; color: #7f8084; }
.conversation-heading h2 { font-size: 24px; letter-spacing: -.65px; font-weight: 650; margin: 9px 0; overflow-wrap: anywhere; }
.conversation-heading p { color: #77797e; font-size: 12px; margin: 0; }
.messages { display: flex; flex-direction: column; gap: 24px; }
.message { display: flex; gap: 15px; align-items: flex-start; }
.message.user { justify-content: flex-end; }
.assistant-avatar { border: 1px solid #dfdfdc; background: #f4f4f0; color: #121315; border-radius: 8px; width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; font-size: 15px; font-weight: 850; }
.message.user .message-core { max-width: min(660px,85%); width: auto; }
.message.assistant .message-core { flex: 1; min-width: 0; max-width: 690px; }
.message-label { display: flex; align-items: center; gap: 9px; height: 23px; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .7px; }
.message-time { color: #606166; font: 9px var(--mono); font-weight: 400; }
.message-bubble { border-radius: 4px 12px 12px 12px; padding: 2px 0; color: #ced0d1; font-size: 13px; line-height: 1.78; overflow-wrap: anywhere; }
.message.user .message-bubble { color: #f2f2f2; border: 1px solid #36373c; background: #222327; border-radius: 12px 12px 4px 12px; padding: 12px 16px; white-space: pre-wrap; }
.message-bubble p { margin: 0 0 12px; }
.message-bubble p:last-child { margin-bottom: 0; }
.message-bubble strong { font-weight: 720; color: #f2f2f2; }
.message-bubble ul, .message-bubble ol { margin: 6px 0 14px; padding-left: 22px; }
.message-bubble li { margin: 5px 0; }
.message-bubble code.inline-code { background: #28292d; border: 1px solid #414247; color: #f1f1f1; font: 12px var(--mono); border-radius: 4px; padding: 2px 4px; }
.message-bubble .code-block { margin: 12px 0; background: #141518; border: 1px solid #35363a; border-radius: 10px; overflow: hidden; }
.code-toolbar { padding: 9px 11px; border-bottom: 1px solid #2d2e33; display: flex; align-items: center; justify-content: space-between; font: 10px var(--mono); color: #a1a2a5; }
.code-toolbar button { display: flex; align-items: center; gap: 5px; background: transparent; border: 0; font: 10px var(--mono); color: #9e9fa3; }
.code-toolbar button:hover { color: #fff; }
.code-toolbar svg { width: 13px; height: 13px; }
.code-block pre { margin: 0; padding: 12px; overflow-x: auto; tab-size: 2; }
.code-block pre code { color: #e0e1e2; font: 11.5px/1.65 var(--mono); white-space: pre; }
.message-actions { display: flex; align-items: center; gap: 3px; margin-top: 8px; }
.message-actions button { border: 1px solid transparent; color: #6f7075; background: transparent; padding: 4px 7px; font-size: 10px; display: flex; align-items: center; gap: 6px; border-radius: 6px; }
.message-actions button:hover { color: #ddd; background: #25262a; }
.message-actions button svg { width: 13px; height: 13px; }
.typing-row { display: flex; align-items: flex-start; gap: 15px; padding-top: 22px; }
.typing-content { display: flex; flex-direction: column; gap: 12px; padding-top: 3px; font: 10px var(--mono); letter-spacing: 1.2px; color: #b6b6b8; }
.typing-dots { display: flex; gap: 5px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: #a2a4a5; animation: blink 1s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,60%,100% {opacity: .25; transform: translateY(0)} 30% {opacity: 1; transform: translateY(-3px)} }
.modal-backdrop { position: fixed; inset: 0; background: #000b; z-index: 60; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(8px); }
.dialog { width: min(100%,520px); max-height: min(95vh,720px); overflow-y: auto; background: #17181b; border: 1px solid #44454a; border-radius: 14px; padding: 26px; box-shadow: 0 25px 90px #000a; }
.dialog-small { max-width: 440px; }
.dialog-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.dialog-eyebrow { font: 10px var(--mono); color: #777980; letter-spacing: 1.25px; }
.dialog h2 { font-size: 22px; margin: 8px 0 0; letter-spacing: -.55px; }
.setting-row { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid #303135; }
.setting-icon { width: 34px; height: 34px; background: #2b2c30; display: grid; place-items: center; border-radius: 9px; flex-shrink: 0; }
.setting-icon svg { width: 16px; height: 16px; }
.setting-row > span:nth-child(2) { flex: 1; min-width: 0; }
.setting-row strong { display: block; font-size: 12px; font-weight: 650; }
.setting-row small { display: block; font-size: 10.5px; line-height: 1.65; color: #8a8b90; margin-top: 5px; }
.setting-status { color: #b6b7b8; white-space: nowrap; font: 9px var(--mono); }
.setting-action { font-size: 11px; border: 1px solid #54565a; background: #2a2b2f; padding: 8px 9px; border-radius: 6px; }
.setting-action:hover { background: #3a3b40; }
.danger-button { display: flex; align-items: center; gap: 8px; border: 1px solid #4e3535; padding: 11px 13px; margin-top: 23px; color: #e5c0c0; background: #301e1e; border-radius: 8px; width: 100%; font-size: 11px; justify-content: center; }
.danger-button:hover { background: #432727; }
.danger-button svg { width: 15px; height: 15px; }
.dialog-note { color: #73747a; font-size: 11px; line-height: 1.6; margin: 17px 0 0; }
.access-desc { font-size: 12px; color: #aaaab0; line-height: 1.7; }
.access-label { display: block; font: 10px var(--mono); letter-spacing: 1px; color: #a5a5a9; margin: 21px 0 9px; }
#accessCode { border: 1px solid #4b4c50; background: #0e0f11; color: #fff; border-radius: 7px; padding: 12px 13px; width: 100%; outline: none; }
#accessCode:focus { border-color: #bfc0c3; }
.access-submit { display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; color: #151617; background: #f0f0ed; width: 100%; border-radius: 7px; padding: 12px; font-size: 12px; font-weight: 650; margin-top: 15px; }
.access-submit:hover { background: #cfcfc9; }
.access-submit svg { width: 15px; height: 15px; }
.access-error { color: #f0bebe; margin-top: 9px; font-size: 11px; }
.toast { position: fixed; z-index: 90; bottom: 28px; left: 50%; transform: translateX(-50%); background: #efefea; color: #111; border-radius: 9px; padding: 12px 16px; display: flex; align-items: center; gap: 8px; font-size: 12px; box-shadow: 0 12px 35px #0005; }
.toast svg { width: 16px; height: 16px; }
@media (max-width: 1050px) { .sidebar { width: 245px; flex-basis: 245px; } .topbar { padding: 0 25px; } .prompt-card { padding-left: 11px; padding-right: 9px; } .prompt-details small { font-size: 9.5px; } }
@media (max-height: 890px) and (min-width: 861px) { .hero-art { width: 184px; height: 162px; margin-top: 4px; margin-bottom: 1px; transform: scale(.78); } .hero-label { margin-top: 7px; } .welcome-inner h1 { font-size: clamp(37px,3.8vw,56px); } .prompt-grid { margin-top: 26px; } .prompt-card { min-height: 90px; } .welcome-screen { padding-top: 13px; padding-bottom: 10px; } }
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(310px,86vw); z-index: 40; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 12px 0 36px #0005; }
  .sidebar.open { transform: translateX(0); }
  .mobile-scrim { position: fixed; inset: 0; background: #000b; z-index: 35; }
  .mobile-only { display: grid; }
  .brand .mobile-only { margin-left: auto; }
  .topbar { height: 61px; flex-basis: 61px; padding: 0 17px; }
  .breadcrumb-root { display: none; }
  .breadcrumb-arrow { display: none; }
  .topbar-start { gap: 11px; min-width: 0; }
  .topbar-end { gap: 7px; }
  .version-chip { display: none; }
  .top-sep { display: none; }
  .composer-zone { padding-left: 18px; padding-right: 18px; }
  .prompt-grid { gap: 9px; }
}
@media (max-width: 580px) {
  .topbar { padding: 0 14px; }
  .top-status { font-size: 8px; }
  .top-avatar { width: 30px; height: 30px; }
  .breadcrumb-current { max-width: 150px; }
  .welcome-screen { padding: 25px 18px 22px; min-height: 100%; }
  .eyebrow { font-size: 8px; gap: 7px; letter-spacing: 1px; }
  .eyebrow-line { width: 19px; }
  .hero-art { width: 170px; height: 145px; margin: 10px auto 14px; transform: scale(.75); }
  .hero-label { font-size: 8.5px; margin: 6px 0 11px; }
  .welcome-inner h1 { font-size: clamp(35px,10vw,53px); line-height: 1.16; letter-spacing: -2.1px; }
  .hero-description { font-size: 11.5px; max-width: 335px; line-height: 1.7; margin-top: 16px; }
  .desktop-break { display: none; }
  .prompt-grid { margin-top: 27px; grid-template-columns: 1fr; gap: 8px; }
  .prompt-card { min-height: 61px; padding: 11px 14px; align-items: center; }
  .prompt-details { gap: 4px; }
  .prompt-details strong { font-size: 11px; }
  .prompt-details small { font-size: 9.5px; }
  .prompt-arrow { align-self: center; }
  .composer-zone { padding: 8px 11px max(12px, env(safe-area-inset-bottom)); }
  .composer { padding: 11px 11px 9px; }
  .composer textarea { font-size: 12.5px; min-height: 28px; }
  .send-hint { display: none; }
  .bottom-caption { font-size: 7.1px; line-height: 1.4; margin-top: 9px; letter-spacing: .25px; gap: 5px; }
  .messages-view { padding: 24px 17px 27px; }
  .message { gap: 9px; }
  .message.user .message-core { max-width: 92%; }
  .message-bubble { font-size: 12.5px; }
  .conversation-heading h2 { font-size: 20px; }
  .dialog { padding: 19px; }
  .setting-status { display: none; }
}
@media (max-height: 680px) and (max-width: 580px) { .hero-art { margin: -10px auto 0; transform: scale(.57); height: 102px; } .hero-label { margin-top: 2px; } .welcome-screen { padding-top: 10px; } .welcome-inner h1 { font-size: 33px; } .prompt-grid { margin-top: 15px; } .prompt-card { min-height: 55px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
