:root {
  color-scheme: light;
  --bg: #f8f8f7;
  --surface: #ffffff;
  --surface-2: #f1f1ef;
  --surface-3: #e9e9e6;
  --sidebar: #f3f3f1;
  --text: #20201f;
  --muted: #73716d;
  --muted-2: #9b9994;
  --border: #e2e1dd;
  --border-strong: #d3d1cb;
  --accent: #2f89e9;
  --accent-2: #70b9ff;
  --accent-soft: #e8f3ff;
  --shadow: 0 18px 50px rgba(39, 38, 35, .12);
  --radius: 18px;
  --sidebar-w: 286px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #181817;
  --surface: #20201f;
  --surface-2: #292927;
  --surface-3: #333330;
  --sidebar: #1d1d1c;
  --text: #efeee9;
  --muted: #aaa8a1;
  --muted-2: #807e78;
  --border: #363633;
  --border-strong: #454541;
  --accent-soft: #18344f;
  --shadow: 0 22px 64px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, textarea, input, select { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.app-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; height: 100vh; }
.sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 12px 12px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.brand-row { display: flex; align-items: center; justify-content: space-between; padding: 1px 4px 12px; }
.brand { display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 0; cursor: pointer; }
.brand-mark {
  display: grid; place-items: center; width: 31px; height: 31px; color: white; font-weight: 800; font-style: italic;
  border-radius: 10px; background: linear-gradient(145deg, #1677d6, #75c2ff); box-shadow: inset 0 0 0 1px rgba(255,255,255,.32), 0 4px 12px rgba(47,137,233,.25);
}
.brand-name { font: 650 18px/1 Georgia, serif; letter-spacing: -.5px; }
.icon-btn, .mini-btn { border: 0; background: transparent; cursor: pointer; border-radius: 9px; color: var(--muted); }
.icon-btn { width: 34px; height: 34px; font-size: 19px; }
.mini-btn { width: 26px; height: 26px; font-size: 16px; }
.icon-btn:hover, .mini-btn:hover { background: var(--surface-3); color: var(--text); }
.sidebar-close { display: none; }

.new-chat {
  display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 12px;
  background: var(--surface); font-weight: 650; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.new-chat:hover { border-color: #b9cfe7; box-shadow: 0 5px 16px rgba(47,137,233,.09); }
.new-chat .plus { font-size: 18px; color: var(--accent); }
kbd { margin-left: auto; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted-2); border-radius: 5px; padding: 1px 5px; font-size: 10px; box-shadow: none; }
.search-trigger {
  display: flex; align-items: center; gap: 8px; width: 100%; margin: 10px 0 6px; padding: 9px 10px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); text-align: left; cursor: pointer;
}
.search-trigger:hover { background: var(--surface-3); color: var(--text); }
.search-trigger span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.primary-nav { display: grid; gap: 2px; }
.nav-item, .project-item, .chat-item {
  display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: transparent; border-radius: 9px; cursor: pointer; text-align: left;
}
.nav-item { padding: 9px 10px; color: var(--muted); }
.nav-item:hover, .nav-item.active { color: var(--text); background: var(--surface-3); }
.nav-item b { margin-left: auto; min-width: 19px; padding: 1px 5px; border-radius: 99px; background: var(--surface); color: var(--muted); font-size: 10px; text-align: center; }
.sidebar-section { margin-top: 13px; }
.section-title { display: flex; align-items: center; justify-content: space-between; min-height: 29px; padding: 0 6px; color: var(--muted-2); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.project-list, .chat-list { display: grid; gap: 2px; }
.project-item, .chat-item { position: relative; padding: 8px 9px; color: var(--muted); }
.project-item:hover, .chat-item:hover, .chat-item.active { background: var(--surface-3); color: var(--text); }
.project-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.project-item span:nth-child(2), .chat-item span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item small { margin-left: auto; color: var(--muted-2); font-size: 10px; }
.history-section { min-height: 0; flex: 1; overflow: auto; }
.empty-list { color: var(--muted-2); font-size: 12px; padding: 9px; }
.sidebar-footer { display: grid; gap: 5px; padding-top: 10px; border-top: 1px solid var(--border); }
.plan-card, .profile-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px; border: 0; background: transparent; border-radius: 10px; text-align: left; cursor: pointer; }
.plan-card:hover, .profile-row:hover { background: var(--surface-3); }
.plan-card > span:nth-child(2), .profile-row > span:nth-child(2) { display: grid; flex: 1; }
.plan-card small, .profile-row small { color: var(--muted); font-size: 11px; }
.plan-spark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg,#eaf4ff,#f2eaff); color: #7568df; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #222; color: #fff; font-weight: 700; }

.main-area { min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.topbar { height: 58px; flex: 0 0 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 90%, transparent); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; }
.model-picker, .top-action { border: 0; background: transparent; border-radius: 9px; cursor: pointer; }
.model-picker { display: flex; align-items: center; gap: 8px; padding: 7px 9px; font-weight: 650; }
.model-picker:hover, .top-action:hover { background: var(--surface-2); }
.model-dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg,var(--accent),#7ad0ff); box-shadow: 0 0 0 4px var(--accent-soft); }
.chevron { color: var(--muted); }
.project-context { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }
.top-action { padding: 7px 9px; color: var(--muted); }
.workspace { display: flex; min-height: 0; flex: 1; }
.conversation-pane { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; }
.conversation-scroll { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; }
.welcome { min-height: calc(100vh - 230px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 26px 22px; text-align: center; }
.muse-orb { position: relative; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 28px; color: white; font: italic 800 38px/1 Georgia,serif; background: radial-gradient(circle at 30% 24%,#aee1ff 0 8%,#58aef4 31%,#247ed8 66%,#6d66da 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.46),0 18px 40px rgba(53,133,213,.25); transform: rotate(-4deg); }
.muse-orb::after { content:""; position:absolute; inset:10px; border-radius:21px; border:1px solid rgba(255,255,255,.35); }
.welcome h1 { margin: 24px 0 8px; font: 650 clamp(28px,4vw,42px)/1.15 Georgia,serif; letter-spacing: -.025em; }
.welcome > p { max-width: 590px; margin: 0; color: var(--muted); font-size: 15px; }
.quick-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; width: min(760px,100%); margin-top: 34px; }
.quick-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-align: left; cursor: pointer; transition: transform .18s,border-color .18s,box-shadow .18s; }
.quick-card:hover { transform: translateY(-2px); border-color: #bfd2e5; box-shadow: 0 9px 24px rgba(38,55,74,.08); }
.quick-card > span:nth-child(2) { min-width: 0; display: grid; }
.quick-card small { margin-top: 2px; overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.quick-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 17px; }
.coral { background:#fff0eb;color:#df6e48}.blue{background:#e9f4ff;color:#2f89e9}.violet{background:#f1edff;color:#7568df}.amber{background:#fff6db;color:#bd8611}
.messages { width: min(820px,calc(100% - 36px)); margin: 0 auto; padding: 36px 0 170px; }
.message { display: grid; grid-template-columns: 34px minmax(0,1fr); column-gap: 13px; margin: 0 0 27px; }
.message-avatar { width: 32px; height: 32px; display: grid; place-items:center; border-radius: 10px; font-size: 12px; font-weight:800; }
.message.user .message-avatar { background:#232322;color:#fff; }
.message.assistant .message-avatar { color:#fff;background:linear-gradient(145deg,#237dd6,#73c3ff);font-style:italic; }
.message-content { padding-top: 4px; font-size: 15px; line-height: 1.72; }
.message.user .message-content { padding: 12px 14px; border-radius: 15px 15px 4px 15px; background: var(--surface-2); line-height:1.55; }
.message-content p { margin: 0 0 12px; }.message-content p:last-child{margin-bottom:0}
.message-content h3 { margin: 18px 0 7px; font-size: 16px; }
.message-content ul { margin: 8px 0 12px; padding-left: 21px; }
.message-content code { padding: 2px 5px; border-radius: 5px; background: var(--surface-2); font: 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
.code-block { position: relative; margin: 12px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background:#171716;color:#ecebe6; }
.code-head { display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid #353532;color:#a7a69f;font-size:11px; }
.code-head button { border:0;background:#2b2b29;color:#ddd;border-radius:6px;padding:4px 8px;cursor:pointer; }
.code-block pre { margin:0;padding:14px;overflow:auto;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; }
.message-actions { grid-column:2;display:flex;gap:3px;margin-top:6px;opacity:0;transition:opacity .15s; }
.message:hover .message-actions { opacity:1; }
.message-actions button { border:0;background:transparent;color:var(--muted);border-radius:7px;padding:4px 7px;cursor:pointer;font-size:11px; }
.message-actions button:hover { background:var(--surface-2);color:var(--text); }
body.compact .message { margin-bottom: 16px; }
body.compact .message-content { line-height: 1.5; }
body.compact .chat-item, body.compact .project-item { padding-top: 6px; padding-bottom: 6px; }
.thinking-row { display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px; }
.thinking-dots { display:flex;gap:4px }.thinking-dots i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:pulse 1s infinite}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}
.source-pill { display:inline-flex;align-items:center;gap:5px;margin:7px 5px 0 0;padding:4px 8px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:11px; }

.composer-zone { position:absolute; z-index:4; left:0; right:0; bottom:0; padding:12px 22px 11px; background:linear-gradient(transparent 0,var(--bg) 25%,var(--bg) 100%); }
.composer { width:min(820px,100%); margin:0 auto; padding:12px; border:1px solid var(--border-strong); border-radius:20px; background:var(--surface); box-shadow:0 9px 30px rgba(28,27,25,.10); }
.composer:focus-within { border-color:#a5c7ea;box-shadow:0 12px 34px rgba(47,137,233,.12),0 0 0 3px rgba(47,137,233,.06); }
#promptInput { display:block;width:100%;max-height:170px;resize:none;border:0;outline:0;background:transparent;color:var(--text);padding:3px 5px 10px;font-size:15px;line-height:1.5; }
#promptInput::placeholder { color:var(--muted-2); }
.composer-note a,.auth-legal a{color:inherit;text-underline-offset:2px}.settings-content a.secondary-btn{display:inline-flex;text-decoration:none;align-items:center;justify-content:center}
.composer-toolbar,.tool-group,.send-group { display:flex;align-items:center;gap:5px; }.composer-toolbar{justify-content:space-between}
.tool-btn,.round-btn { border:0;background:transparent;color:var(--muted);border-radius:9px;cursor:pointer; }
.tool-btn { display:flex;align-items:center;gap:5px;min-height:32px;padding:5px 8px;font-size:12px; }.tool-btn:hover,.round-btn:hover{background:var(--surface-2);color:var(--text)}.tool-btn.active{background:var(--accent-soft);color:var(--accent)}
.attach-btn input { display:none; }.round-btn{width:34px;height:34px;font-size:16px}.round-btn.listening{background:#fee8e8;color:#d34b4b;animation:ring 1.2s infinite}@keyframes ring{50%{box-shadow:0 0 0 6px rgba(211,75,75,.10)}}
.send-btn { width:34px;height:34px;border:0;border-radius:10px;background:#242423;color:#fff;font-size:19px;cursor:pointer; }.send-btn:hover{background:var(--accent)}.send-btn:disabled{opacity:.35;cursor:default}
.composer-note { margin:6px auto 0;text-align:center;color:var(--muted-2);font-size:10px; }
.attachment-tray { width:min(820px,100%);margin:0 auto 7px;display:flex;gap:7px;overflow:auto; }
.attachment-chip { display:flex;align-items:center;gap:7px;max-width:220px;padding:7px 9px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 4px 14px rgba(0,0,0,.06); }
.attachment-chip span { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px; }.attachment-chip button{border:0;background:transparent;color:var(--muted);cursor:pointer}

.artifact-panel { width:0; overflow:hidden; flex:0 0 auto; border-left:0 solid var(--border); background:var(--surface); transition:width .22s ease; }
.artifact-panel.open { width:min(46vw,620px);border-left-width:1px; }
.artifact-head { height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--border); }
.artifact-head h2 { margin:1px 0 0;font:650 19px/1.2 Georgia,serif }.eyebrow{color:var(--muted-2);font-size:9px;font-weight:750;letter-spacing:.13em}
.artifact-tabs { display:flex;gap:5px;padding:9px 12px;border-bottom:1px solid var(--border);overflow:auto; }.artifact-tab{border:0;background:var(--surface-2);color:var(--muted);padding:6px 9px;border-radius:8px;cursor:pointer;white-space:nowrap;font-size:11px}.artifact-tab.active{background:var(--accent-soft);color:var(--accent)}
.artifact-body { height:calc(100vh - 117px);overflow:auto;padding:16px; }.empty-artifact{height:70%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted)}.empty-artifact>span{font-size:32px}.empty-artifact p{max-width:260px;font-size:12px}.artifact-code{height:100%;display:flex;flex-direction:column}.artifact-code pre{flex:1;margin:0;overflow:auto;padding:16px;border-radius:12px;background:#171716;color:#ecebe6;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.artifact-actions{display:flex;justify-content:flex-end;gap:7px;margin-bottom:10px}.secondary-btn{border:1px solid var(--border);background:var(--surface);padding:7px 10px;border-radius:8px;cursor:pointer}.secondary-btn:hover{background:var(--surface-2)}.generated-visual{min-height:360px;display:grid;place-items:center;border-radius:18px;background:radial-gradient(circle at 30% 20%,#7fd5ff,#3f70d5 45%,#2a1c55 100%);color:#fff;overflow:hidden;position:relative}.generated-visual::before,.generated-visual::after{content:"";position:absolute;border-radius:50%;filter:blur(4px)}.generated-visual::before{width:210px;height:210px;background:rgba(255,255,255,.18);top:-55px;right:-25px}.generated-visual::after{width:290px;height:290px;border:1px solid rgba(255,255,255,.25);bottom:-150px;left:-80px}.generated-visual span{position:relative;z-index:1;max-width:300px;padding:30px;text-align:center;font:650 24px/1.25 Georgia,serif}

.modal-backdrop { position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:22px;background:rgba(20,20,19,.36);backdrop-filter:blur(5px); }
.modal { width:min(560px,100%);max-height:min(720px,88vh);overflow:auto;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:var(--shadow); }
.modal-head { display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--border); }.modal-head h2{margin:0;font:650 21px/1.2 Georgia,serif}.modal-body{padding:18px 20px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--border)}
.field{display:grid;gap:6px;margin-bottom:14px}.field label{font-weight:650;font-size:12px}.field input,.field textarea,.field select,.search-box{width:100%;border:1px solid var(--border-strong);border-radius:10px;background:var(--bg);color:var(--text);padding:10px 11px;outline:none}.field input:focus,.field textarea:focus,.field select:focus,.search-box:focus{border-color:#9bc4ec;box-shadow:0 0 0 3px rgba(47,137,233,.08)}
.primary-btn{border:0;background:#242423;color:white;padding:9px 14px;border-radius:9px;cursor:pointer;font-weight:650}.primary-btn:hover{background:var(--accent)}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--border)}.settings-row:last-child{border-bottom:0}.settings-row span{display:grid}.settings-row small{color:var(--muted)}
.switch{position:relative;width:42px;height:24px;border:0;border-radius:99px;background:var(--surface-3);cursor:pointer}.switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:left .18s}.switch.on{background:var(--accent)}.switch.on::after{left:21px}
.model-list,.search-results{display:grid;gap:6px}.model-option,.search-result{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface);text-align:left;cursor:pointer}.model-option:hover,.search-result:hover{background:var(--surface-2)}.model-option.active{border-color:#9bc4ec;background:var(--accent-soft)}.model-option span:nth-child(2){display:grid;flex:1}.model-option small,.search-result small{color:var(--muted)}
.modal.settings-wide{width:min(790px,100%)}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:430px}.settings-nav{padding:12px;border-right:1px solid var(--border);background:var(--bg)}.settings-nav button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 9px;border:0;border-radius:8px;background:transparent;color:var(--muted);text-align:left;cursor:pointer;font-size:12px}.settings-nav button:hover,.settings-nav button.active{background:var(--surface-2);color:var(--text)}.settings-content{padding:20px}.settings-content h3{margin:0 0 5px;font:650 19px/1.2 Georgia,serif}.settings-content>p{margin:0 0 18px;color:var(--muted);font-size:12px}.settings-divider{height:1px;margin:8px 0;background:var(--border)}.settings-danger{color:#c24f4f!important}.select-inline{min-width:150px;border:1px solid var(--border);border-radius:8px;background:var(--bg);padding:6px 8px;color:var(--text)}
.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.subscription-card{position:relative;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--bg)}.subscription-card.featured{border-color:#8cbdeb;box-shadow:0 8px 24px rgba(47,137,233,.10)}.subscription-badge{position:absolute;right:12px;top:12px;padding:3px 7px;border-radius:99px;background:#e8f3ff;color:#287bc8;font-size:10px;font-weight:750}.subscription-card h3{margin:0 0 5px;font:650 19px/1.2 Georgia,serif}.subscription-price{margin:12px 0 4px;font-size:24px;font-weight:750}.subscription-price small{font-size:11px;color:var(--muted);font-weight:500}.subscription-card ul{min-height:100px;margin:14px 0;padding-left:18px;color:var(--muted);font-size:12px}.subscription-card .primary-btn{width:100%}.code-steps{display:grid;gap:10px}.code-step{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}.code-step>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--accent-soft);color:var(--accent);font-weight:750}.terminal-line{margin-top:7px;padding:10px;border-radius:9px;background:#171716;color:#eae9e4;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}
.toast-stack{position:fixed;z-index:40;right:18px;bottom:18px;display:grid;gap:8px}.toast{padding:10px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);animation:toastin .2s ease}@keyframes toastin{from{opacity:0;transform:translateY(8px)}}
.auth-screen{position:fixed;z-index:60;inset:0;display:grid;grid-template-columns:minmax(380px,1.15fr) minmax(400px,.85fr);background:var(--surface)}.auth-visual{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;text-align:center;color:#fff;background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.24),transparent 26%),linear-gradient(145deg,#116bc3,#62baff 55%,#726be2);overflow:hidden}.auth-visual::before,.auth-visual::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%}.auth-visual::before{width:540px;height:540px;right:-250px;top:-220px}.auth-visual::after{width:430px;height:430px;left:-210px;bottom:-210px}.auth-visual .muse-orb{background:rgba(255,255,255,.20);box-shadow:inset 0 0 0 1px rgba(255,255,255,.34),0 18px 50px rgba(13,49,96,.2)}.auth-visual h1{position:relative;z-index:1;max-width:620px;margin:30px 0 10px;font:650 clamp(36px,5vw,62px)/1.05 Georgia,serif;letter-spacing:-.035em}.auth-visual>p{position:relative;z-index:1;max-width:560px;margin:0;color:rgba(255,255,255,.82);font-size:17px}.auth-points{position:relative;z-index:1;display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:30px}.auth-points span{padding:7px 10px;border:1px solid rgba(255,255,255,.24);border-radius:99px;background:rgba(255,255,255,.10);font-size:11px}.auth-card{align-self:center;width:min(410px,calc(100% - 44px));margin:auto}.auth-brand{display:flex;align-items:center;gap:9px;margin-bottom:34px;font:650 20px/1 Georgia,serif}.auth-card h2{margin:0 0 7px;font:650 30px/1.15 Georgia,serif}.auth-card>p{margin:0 0 24px;color:var(--muted)}.auth-submit,.guest-btn{width:100%;min-height:43px}.auth-switch,.guest-btn{border:0;background:transparent;cursor:pointer}.auth-switch{display:block;margin:13px auto;color:var(--accent);font-size:12px}.guest-btn{border:1px solid var(--border-strong);border-radius:10px;color:var(--text);font-weight:650}.guest-btn:hover{background:var(--surface-2)}.auth-separator{display:flex;align-items:center;gap:10px;margin:18px 0;color:var(--muted-2);font-size:11px}.auth-separator::before,.auth-separator::after{content:"";height:1px;flex:1;background:var(--border)}.auth-legal{margin:18px 0 0!important;text-align:center;font-size:10px!important;color:var(--muted-2)!important}.auth-error{padding:8px 10px;border-radius:8px;background:#fff0f0;color:#b84444!important;font-size:11px!important;margin:-3px 0 12px!important}

@media (max-width: 1080px) {
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}.artifact-panel.open{width:50vw}.top-action span{display:none}
}
@media (max-width: 760px) {
  .app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:12;inset:0 auto 0 0;width:min(86vw,310px);transform:translateX(-102%);transition:transform .2s;box-shadow:var(--shadow)}.app-shell.sidebar-open .sidebar{transform:translateX(0)}.app-shell.sidebar-open::after{content:"";position:fixed;z-index:11;inset:0;background:rgba(0,0,0,.3)}.sidebar-close,.menu-toggle{display:block}.welcome{padding-top:30px}.quick-grid{grid-template-columns:1fr 1fr}.tool-btn span:last-child{display:none}.artifact-panel{position:fixed;z-index:10;inset:58px 0 0 auto}.artifact-panel.open{width:100%;}.composer-zone{padding-inline:10px}.topbar{padding-inline:10px}.messages{width:calc(100% - 24px)}.settings-layout{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--border)}.settings-nav button{width:auto;white-space:nowrap}
}
@media (max-width: 860px){.auth-screen{grid-template-columns:1fr}.auth-visual{display:none}.auth-card{padding:32px 0}}
@media (max-width: 470px) {
  .quick-grid{grid-template-columns:1fr}.quick-card:nth-child(n+4){display:none}.welcome{justify-content:flex-start;padding-top:64px}.muse-orb{width:70px;height:70px;border-radius:23px}.welcome h1{font-size:29px}.project-context{display:none!important}.plan-grid{grid-template-columns:1fr}
}
