html.earth-home[data-chat-tone] body {
  --reading-bg:#151719;
  --chat-field:#222527;
  --chat-bubble:#2c2f32;
  --chat-edge:#ffffff28;
  --chat-action:#d8dcdf;
}
html.earth-home[data-chat-tone=plum] body {
  --reading-bg:#201923;
  --chat-field:#302535;
  --chat-bubble:#433248;
  --chat-edge:#e2cce33d;
  --chat-action:#e2c6e6;
}
html.earth-home[data-chat-tone][data-theme][data-chat-layout] body.has-messages {
  --reading-bg:#151719;
}
html.earth-home[data-chat-tone=plum][data-theme][data-chat-layout] body.has-messages {
  --reading-bg:#201923;
}
html.earth-home[data-chat-tone] .composer {
  background:var(--chat-field);border-color:var(--chat-edge);color:#f5f3f5;
}
html.earth-home[data-chat-tone] .composer:focus-within {border-color:var(--chat-action)}
html.earth-home[data-chat-tone] .message.user .message-text {
  background:var(--chat-bubble);border-color:var(--chat-edge);
}
html.earth-home[data-chat-tone] #send-button {background:var(--chat-action);color:#201e22}
html.earth-home[data-chat-tone] body.has-messages .composer-area {background:var(--reading-bg)}
html.earth-home[data-chat-tone] body.has-messages .workspace-layout>.chat-stage {background:var(--reading-bg)}
html.earth-home .saturn-mark {position:relative;background:#352d36;color:#e2c8a1}
.saturn-mark::before,.saturn-mark::after {content:"";position:absolute;left:50%;top:50%;border-radius:50%}
.saturn-mark::before {width:13px;height:13px;transform:translate(-50%,-50%);background:currentColor}
.saturn-mark::after {width:23px;height:6px;border:1px solid currentColor;transform:translate(-50%,-50%) rotate(-24deg)}
#saturn-file {
  background:var(--chat-field);color:#f5f1f6;border:1px solid var(--chat-edge);cursor:pointer;
  font:500 13px/1.3 'Segoe UI',sans-serif;border-radius:1.5rem;padding:8px 12px;
}
#world-controls {
  display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:3px 2px;
  border:0;border-radius:5px;background:transparent;color:#f5f3f7;cursor:pointer;
  text-align:left;white-space:nowrap;transition:color .2s ease;
}
#world-controls[hidden] {display:none}
#world-controls:hover {color:#fff}
#world-controls:focus-visible {outline:2px solid #d8bbef;outline-offset:5px}
.world-control-mark {
  position:relative;flex:none;width:24px;height:24px;border-radius:50%;
  background:radial-gradient(circle at 30% 26%,#d7f3ff 0,#69add3 16%,#1e698b 40%,#173647 72%,#08141e 100%);
  box-shadow:0 0 0 1px #dcefff65,0 0 15px #65c9ff55,inset -5px -3px 7px #020b16a8;
}
#world-controls[data-world=saturn] .world-control-mark {
  background:radial-gradient(circle at 28% 25%,#f6e1c0 0,#c7a57e 36%,#6d5261 70%,#2f2936 100%);
  box-shadow:0 0 0 1px #f3dbc189,0 0 15px #c3a1c15c,inset -5px -3px 7px #1811228c;
}
#world-controls[data-world=saturn] .world-control-mark::after {
  content:'';position:absolute;left:-5px;right:-5px;top:9px;height:7px;
  border:1px solid #d4b8a5c9;border-radius:50%;transform:rotate(-22deg);
}
.world-control-copy {display:grid;gap:2px}
.world-control-name {font:500 18px/1 Georgia,serif;letter-spacing:-.02em}
.world-control-caption {font:600 9px/1.1 'Segoe UI',sans-serif;letter-spacing:.2em;color:#cad5e0b8}
.world-control-caret {width:7px;height:7px;margin:0 2px 3px 4px;border-right:1px solid #eeeaf4a8;border-bottom:1px solid #eeeaf4a8;transform:rotate(45deg);transition:transform .2s}
#world-controls:hover .world-control-caret {transform:translateY(2px) rotate(45deg)}
#saturn-file {flex:none;font-size:22px;line-height:1;width:34px;height:34px;padding:0}
#world-settings[open] {position:fixed;inset:0;z-index:1001;margin:auto;width:min(340px,calc(100vw - 32px));color:#f2eef5;background:#211d25;border:1px solid #675d6c;border-radius:20px;padding:22px;box-shadow:0 0 0 100vmax #04050bba,0 18px 62px #0008}
.world-settings-heading {display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.world-settings-heading h2 {font:400 25px Georgia,serif;margin:0}
#world-settings label {display:grid;gap:7px;margin-top:16px}
#world-settings select {width:100%;padding:9px;color:inherit;background:#322c37;border:1px solid #736876;border-radius:9px}
#world-settings .world-tint {display:flex;align-items:center;gap:10px}
#world-settings input {accent-color:#b08dc3}
html:has(#world-controls:not([hidden])) .mode-badge {display:none}
html[data-world=saturn] .cosmic-backdrop .saturn-scene {
  --saturn-art-width:min(73cqw,158cqh);--saturn-art-x:73%;--saturn-art-y:49%;
}
@media(min-width:850px) {
  html.earth-home[data-world=saturn][data-chat-layout=scenic] body.has-messages .cosmic-backdrop {inset:0}
  html[data-world=saturn][data-chat-layout=scenic] body.has-messages .cosmic-backdrop .saturn-scene {
    --saturn-art-width:min(49cqw,145cqh);--saturn-art-x:78.7%;--saturn-art-y:49%;
  }
  html[data-world=saturn][data-chat-layout=scenic] body.has-messages .cosmic-backdrop .saturn-scene::after {
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(90deg,#090a12de,#0b0a13ba 35%,#0b0a1340 57%,transparent 68%);
  }
}
@media(max-width:1050px) and (orientation:portrait) {
  html.earth-home[data-world=saturn] body:not(.has-messages) .cosmic-backdrop .saturn-scene {
    --saturn-art-width:min(118cqw,190cqh);--saturn-art-x:51%;--saturn-art-y:49%;
  }
}
@media(max-width:849px) {
  html[data-world=saturn][data-chat-layout=scenic] body.has-messages .cosmic-backdrop .saturn-scene {
    --saturn-art-width:min(114cqw,158cqh);--saturn-art-x:50%;--saturn-art-y:60%;
  }
}
html[data-world=saturn] body.has-messages :is(#goal-card,#chat-layout,.mic-button) {
  background:var(--chat-field);border-color:var(--chat-edge);color:var(--reading-text);
}
@media(max-width:410px) {
  html:has(#world-controls:not([hidden])) .topbar {padding-inline:10px}
  html:has(#world-controls:not([hidden])) :is(.header-start,.header-right) {gap:5px}
  html:has(#world-controls:not([hidden])) #beyond-header {padding-inline:9px}
  html:has(#world-controls:not([hidden])) #beyond-header span {display:none}
}
@media(max-width:620px) {
  html:has(#world-controls:not([hidden])) .compact-brand {display:none}
  #world-controls {gap:7px}
  .world-control-mark {width:20px;height:20px}
  .world-control-name {font-size:15px}
  .world-control-caption {font-size:8px}
}
.saturn-tour[open] {
  position:fixed;inset:0;z-index:1010;display:grid;align-content:safe center;
  box-sizing:border-box;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;
  padding:clamp(32px,6vh,80px) clamp(34px,6.5vw,120px);overflow:auto;
  border:0;border-radius:0;background:#070611;color:#f6f0e8;direction:ltr;text-align:left;
}
.saturn-tour .saturn-preview-sky {
  --saturn-art-width:min(72cqw,165cqh);--saturn-art-x:72.5%;--saturn-art-y:49%;
}
@media(min-width:761px) {
  .saturn-tour .saturn-preview-sky::after {
    content:"";position:absolute;inset:0;
    background:linear-gradient(90deg,#080910e8 0%,#090911bd 26%,#09091169 40%,transparent 60%);
  }
}
.saturn-tour-caption {
  position:relative;width:min(38vw,520px);box-sizing:border-box;
  font:400 15px/1.45 'Segoe UI',sans-serif;
}
.saturn-tour .saturn-tour-brand {
  margin:0 0 16px;color:#dbbcde;text-transform:uppercase;letter-spacing:.23em;
  font-size:11px;line-height:1.3;font-weight:650;
}
.saturn-tour-caption h2 {
  margin:0 0 14px;color:#fff5e8;font:400 clamp(52px,6.7vw,104px)/.98 Georgia,serif;
  letter-spacing:-.06em;
}
.saturn-tour .saturn-tour-reason {
  margin:0;max-width:27ch;color:#e5dbe4;font-size:clamp(18px,1.55vw,25px);line-height:1.35;
}
.saturn-tour-allowance {
  margin:clamp(18px,3.8vh,40px) 0 18px;display:flex;align-items:center;gap:16px;
  color:#ede2ed;font-weight:500;font-size:15px;line-height:1.25;
}
.saturn-tour-allowance strong {
  color:#e5c8ff;font:400 clamp(44px,4.8vw,69px)/.9 Georgia,serif;letter-spacing:-.06em;
}
.saturn-tour .saturn-tour-features {list-style:none;margin:0;padding:0}
.saturn-tour-features li {
  display:grid;grid-template-columns:minmax(116px,.88fr) 1.4fr;align-items:baseline;gap:10px;
  border-top:1px solid #bda8c531;padding:11px 0;margin:0;
}
.saturn-tour-features b {color:#f0e8ee;font-size:14px;font-weight:550}
.saturn-tour-features li span {color:#c7bcca;font-size:13px;line-height:1.4}
.saturn-tour-caption footer {
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:18px;
}
.saturn-tour-caption button {
  display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 17px;
  border:1px solid #ccb0e6;border-radius:24px;background:#d7b9ed;color:#241b2c;
  font:600 14px/1.2 'Segoe UI',sans-serif;cursor:pointer;
}
.saturn-tour-caption button:hover {background:#e6d1f5}
.saturn-tour-caption button:focus-visible {outline:2px solid #f8ebff;outline-offset:4px}
.saturn-tour-price {color:#cfc1d2;font-size:13px}
.saturn-tour-price b {font-size:17px;color:#fff2ed;font-weight:600}
@media(max-width:760px) {
  .saturn-tour[open] {display:block;padding:0}
  .saturn-tour .saturn-preview-sky {
    position:relative;inset:auto;width:100%;height:clamp(200px,36dvh,365px);
    --saturn-art-width:min(128cqw,207cqh);--saturn-art-x:50%;--saturn-art-y:52%;
  }
  .saturn-tour .saturn-preview-sky::after {
    content:"";position:absolute;inset:0;background:linear-gradient(0deg,#070611,transparent 19%);
  }
  .saturn-tour-caption {width:100%;max-width:570px;margin:auto;padding:0 24px max(26px,env(safe-area-inset-bottom))}
  .saturn-tour .saturn-tour-brand {margin-bottom:9px}
  .saturn-tour-caption h2 {font-size:clamp(48px,10vw,66px);margin-bottom:10px}
  .saturn-tour .saturn-tour-reason {font-size:18px;max-width:32ch}
  .saturn-tour-allowance {margin:18px 0 14px;gap:12px;font-size:14px}
  .saturn-tour-allowance strong {font-size:43px}
  .saturn-tour-features li {padding:8px 0}
  .saturn-tour-caption footer {margin-top:14px}
}

/* World selection is a visual choice, with the assistant chosen separately. */
#world-settings[open] {
  box-sizing:border-box;width:min(620px,calc(100vw - 28px));max-height:calc(100dvh - 28px);
  padding:clamp(20px,3vw,30px);overflow:auto;border-radius:22px;
  background:linear-gradient(145deg,#171a27,#11141e 74%);border:1px solid #9ca9ca58;
  box-shadow:0 22px 80px #000a;color:#f5f6fb;scrollbar-width:thin;
}
#world-settings::backdrop {background:#030713d2;backdrop-filter:blur(7px)}
.world-settings-heading {align-items:start;gap:16px;margin:0 0 24px}
.world-settings-eyebrow {color:#aec6ea;font:650 10px/1.2 'Segoe UI',sans-serif;letter-spacing:.22em}
.world-settings-heading h2 {margin:8px 0 7px;font:400 clamp(30px,4vw,42px)/1.05 Georgia,serif;letter-spacing:-.045em}
.world-settings-heading p {margin:0;max-width:42ch;color:#bac6dc;font:400 13px/1.5 'Segoe UI',sans-serif}
.world-settings-heading .icon-button {flex:none;width:38px;height:38px;border:1px solid #aab8d34a;border-radius:50%;background:#ffffff0a;color:#f3f6ff;font-size:23px;cursor:pointer}
.world-settings-heading .icon-button:hover {background:#ffffff17}
.world-settings-section {min-width:0;margin:0 0 21px;padding:0;border:0}
.world-settings-section legend {margin:0 0 10px;padding:0;color:#dae4f6;font:600 12px/1.2 'Segoe UI',sans-serif;letter-spacing:.02em}
.world-choice-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.world-choice {display:grid;overflow:hidden;min-width:0;padding:0;border:1px solid #9aacc947;border-radius:15px;background:#202838;color:#f5f7ff;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}
.world-choice:hover {border-color:#bfd6f4a8;transform:translateY(-2px)}
.world-choice[aria-pressed=true] {border-color:#b5dfff;box-shadow:0 0 0 2px #88caff38,0 12px 30px #0004}
.world-choice:focus-visible,.world-assistant-choice:focus-visible,.starter-prompts button:focus-visible {outline:2px solid #a9ddff;outline-offset:3px}
.world-choice-art {display:block;height:clamp(95px,16vh,135px);background:#060c18 center/cover no-repeat}
.world-choice-art.earth {background-image:linear-gradient(0deg,#07121e44,transparent 65%),url('/assets/earth-orbit.webp');background-position:72% 45%}
.world-choice-art.saturn {
  background-color:#080817;
  background-image:url('/assets/saturn-system.webp'),linear-gradient(100deg,#0404143d,#08061427 60%,#08061433),url('/assets/saturn-sky.webp');
  background-size:98% auto,cover,cover;
  background-position:center 52%,center,52% 48%;
}
.world-choice-label {display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-width:0;padding:11px 13px 13px}
.world-choice-label b {font:500 21px/1 Georgia,serif}
.world-choice-label small {color:#b9c7dc;font:400 11px/1.25 'Segoe UI',sans-serif;text-align:right}
.world-assistant-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.world-assistant-choice {display:flex;align-items:center;gap:10px;min-width:0;min-height:64px;padding:11px;border:1px solid #96a9c548;border-radius:12px;background:#202838;color:#f5f7ff;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.world-assistant-choice:hover:not(:disabled) {border-color:#b8cdeb;background:#29354a}
.world-assistant-choice[aria-pressed=true] {border-color:#b5dfff;background:#263b55}
.world-assistant-choice:disabled {opacity:.57;cursor:not-allowed}
.world-assistant-symbol {display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #9cc9ee78;border-radius:50%;background:#213d5b;color:#d7edff;font:italic 19px/1 Georgia,serif}
.world-assistant-symbol.saturn {background:#423345;color:#e7d2f5;font:400 17px/1 Georgia,serif}
.world-assistant-choice>span:nth-child(2) {display:grid;gap:3px;min-width:0}
.world-assistant-choice b {font:600 12px/1.2 'Segoe UI',sans-serif}
.world-assistant-choice small {color:#b9c7dc;font:400 11px/1.3 'Segoe UI',sans-serif}
.world-selected-mark {margin-left:auto;color:#b7e3ff;font-size:15px;opacity:0}
.world-assistant-choice[aria-pressed=true] .world-selected-mark {opacity:1}
.world-model-note {margin:9px 2px 0;color:#c9d3e5;font:400 11px/1.5 'Segoe UI',sans-serif}
#world-settings .world-tint {display:flex;align-items:center;gap:10px;margin:0;padding:15px 2px 0;border-top:1px solid #adc1dc30;color:#dce5f2;font-size:12px}
#world-settings .world-tint[hidden] {display:none}
#world-settings .world-tint input {width:17px;height:17px;margin:0;accent-color:#bb9bd1}

/* A few useful starts stay quiet beneath the composer and never send by themselves. */
.starter-prompts {display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 0}
.starter-prompts button {display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:6px 10px;border:1px solid #aebed35c;border-radius:9px;background:#0b1424c5;color:#e4ebf8;font:500 11px/1.25 'Segoe UI',sans-serif;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.starter-prompts button:hover {background:#243650;border-color:#b8d8fc;transform:translateY(-1px)}
.starter-prompts button span {color:#b2d7fa}
body.has-messages .starter-prompts {display:none}
body:not(.has-messages) .composer-caption {margin-top:7px}
@media(max-width:1050px) {
  body:not(.has-messages) .composer-caption #context-note {display:none}
  .starter-prompts button {padding-inline:8px;font-size:10px}
}

/* The conversation grows into view while the sky remains anchored. */
@keyframes kurus-chat-open {from{opacity:.55;transform:translateY(18px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes kurus-chat-content {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
body.has-messages .chat-stage {transform-origin:35% 75%;animation:kurus-chat-open .48s cubic-bezier(.2,.75,.2,1) both}
body.has-messages .conversation-bar,body.has-messages .messages {animation:kurus-chat-content .42s ease-out both}
body.has-messages .messages {animation-delay:.08s}
.typing {display:flex;align-items:center;gap:8px;min-height:35px;padding-left:50px;color:#c1d2e8}
.typing::before {content:'';flex:none;width:8px;height:8px;border-radius:50%;background:#9fd7ff;box-shadow:0 0 0 4px #8fd0ff19,0 0 14px #8fd0ff88;animation:kurus-thinking 1.6s ease-in-out infinite}
@keyframes kurus-thinking {50%{opacity:.4;box-shadow:0 0 0 7px #8fd0ff0a,0 0 8px #8fd0ff44}}
.saturn-sample-reasoning {margin:11px 0 2px;padding:11px 13px;border-left:2px solid #d3b2ec;background:#2f263877;border-radius:0 9px 9px 0}
.saturn-sample-reasoning[hidden] {display:none}
.saturn-sample-reasoning b {color:#efdcfb;font-size:12px}
.saturn-sample-reasoning p {margin:6px 0 0;color:#e4dce8;font-size:12px;line-height:1.5}
.saturn-offer-copy .saturn-model-status {max-width:40ch;margin:10px 0 0;color:#d2c5da;font-size:11px;line-height:1.45}
@media(max-width:560px) {
  #world-settings[open] {padding:20px;max-height:calc(100dvh - 16px)}
  .world-settings-heading {margin-bottom:18px}
  .world-settings-heading h2 {font-size:31px}
  .world-choice-grid {gap:8px}
  .world-choice-art {height:95px}
  .world-choice-label {display:grid;gap:3px;padding:9px 10px 11px}
  .world-choice-label b {font-size:19px}
  .world-choice-label small {text-align:left;font-size:10px}
  .world-assistant-choices {grid-template-columns:1fr;gap:7px}
  .world-assistant-choice {min-height:52px;padding:8px 10px}
  .world-settings-section {margin-bottom:16px}
  .starter-prompts {gap:6px;margin-top:9px}
  .starter-prompts button {font-size:10px;min-height:38px}
}
@media(max-height:620px) and (max-width:760px) {.starter-prompts button:last-child{display:none}}
.chat-layout-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #ffffff30;border-radius:999px;background:#091427b8;box-shadow:0 5px 20px #0003;flex:none}
.chat-layout-switch button{min-height:34px;padding:5px 13px;border:0;border-radius:999px;background:transparent;color:#c4d3e8;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.chat-layout-switch button[aria-pressed=true]{background:#edf5ff;color:#122239;box-shadow:0 2px 8px #0004}
.chat-layout-switch button:focus-visible{outline:2px solid #8fd7ff;outline-offset:2px}
.space-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:8px 12px 13px;padding:3px;border:1px solid #ffffff20;border-radius:13px;background:#08142580}
.space-nav button{min-height:40px;border:0;border-radius:10px;background:transparent;color:#cbd8e9;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.space-nav button[aria-current=page]{background:#dcecff;color:#15243d}
.space-nav button:hover:not([aria-current=page]){background:#ffffff13}
.sidebar-more{margin:0 12px 12px;border:1px solid #ffffff20;border-radius:12px;background:#0d1a2f70}
.sidebar-more summary{display:flex;justify-content:space-between;align-items:center;min-height:41px;padding:0 12px;color:#d6e4f4;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.sidebar-more summary::-webkit-details-marker{display:none}
.sidebar-more[open] summary{border-bottom:1px solid #ffffff1d}
.sidebar-more .experience-sidebar,.sidebar-more .workspace-launchers,.sidebar-more .studio-launchers{margin:5px 9px;padding:0}
.sidebar-more #workspace-open{display:none}
.sidebar-more #experience-open{min-height:54px}
.home-resume{display:flex;align-items:center;gap:10px;justify-content:flex-start;flex-wrap:wrap;width:min(570px,100%);margin:18px 0 0;color:#d9e5f6;font-size:13px}
.home-resume button{max-width:min(420px,85vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #b7d8ff55;border-radius:999px;background:#071629bb;color:#f6faff;padding:10px 16px;font:inherit;cursor:pointer}
.home-resume button:hover{background:#1b3454}
.thinking-open{border:0;background:transparent;color:#b7d3f5;font:inherit;font-size:12px;font-weight:650;padding:7px 8px;cursor:pointer}
.thinking-open:hover{text-decoration:underline;color:#f4f8ff}
.thinking-dialog{width:min(660px,calc(100vw - 24px));max-height:min(790px,90dvh);overflow:auto;border:1px solid #a3caff55;border-radius:20px;background:#0b1425;color:#f5f8ff;padding:24px;box-shadow:0 30px 80px #0009}
.thinking-dialog::backdrop{background:#020713bb;backdrop-filter:blur(5px)}
.thinking-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}
.thinking-heading h2{margin:0;font-size:25px}
.thinking-dialog>p{color:#bbcae0;font-size:14px}
.thinking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}
.thinking-grid button{min-height:44px;border:1px solid #8fb5e83c;border-radius:11px;background:#14233b;color:#eaf3ff;text-align:left;padding:9px 12px;font:inherit;font-size:13px;cursor:pointer}
.thinking-grid button[aria-pressed=true]{border-color:#b7ddff;background:#274768}
.thinking-dialog textarea{box-sizing:border-box;width:100%;min-height:120px;border:1px solid #8fb5e856;border-radius:11px;background:#081425;color:#f5f8ff;padding:12px;font:inherit;line-height:1.5;resize:vertical}
.thinking-dialog>.primary-button{margin-top:13px}
.thinking-dialog[open]{display:flex;flex-direction:column;max-height:88dvh;overflow:hidden}
.thinking-dialog .thinking-grid{flex:1;min-height:100px;overflow:auto;align-content:start;margin:9px 0}
.thinking-dialog textarea{height:110px;min-height:88px;flex:none}
.thinking-dialog>.primary-button{align-self:flex-start;flex:none;margin-top:8px}
.offline-import{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 13px;margin-bottom:8px;border:1px solid #a6ccff55;border-radius:12px;background:#122842;color:#edf6ff;font-size:12px}
.offline-import button{border:0;background:#e3f2ff;color:#10253d;border-radius:999px;padding:6px 11px;font:inherit;font-weight:700;cursor:pointer}
.offline-import button:last-child{background:transparent;color:#c2d9f1}
.offline-import[hidden],.home-resume[hidden]{display:none}
.attached-file{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:9px 12px;border:1px solid #b4d6ff5c;border-radius:11px;background:#0e2944;color:#eaf4ff;font-size:12px}
.attached-file[hidden]{display:none}
.attached-file span{overflow:hidden;text-overflow:ellipsis}
.attached-file button{flex:none;border:0;border-radius:999px;background:#dbeeff;color:#122438;padding:5px 9px;font:inherit;font-weight:700;cursor:pointer}
.receipt-dialog{width:min(520px,calc(100vw - 24px));max-height:86dvh;overflow:auto;border:1px solid #9ac4f056;border-radius:20px;background:#0d192d;color:#f4f8ff;padding:22px;box-shadow:0 25px 70px #0008}
.receipt-dialog::backdrop{background:#020713bc;backdrop-filter:blur(4px)}
.receipt-dialog h2{margin:0;font-size:22px}
.receipt-dialog>p{color:#bed0e5;font-size:13px;line-height:1.5}
.receipt-dialog dl{display:grid;grid-template-columns:minmax(120px,40%) 1fr;gap:0;margin:15px 0 0}
.receipt-dialog dt,.receipt-dialog dd{margin:0;padding:10px 0;border-top:1px solid #ffffff19;font-size:13px}
.receipt-dialog dt{color:#bdcee3}.receipt-dialog dd{font-weight:650}
@media(max-width:600px){.thinking-dialog{padding:18px}.thinking-grid button{min-height:48px}}
html[data-sky-brightness=dim] .cosmic-backdrop{filter:brightness(.68) saturate(.88)}
html[data-sky-brightness=vivid] .cosmic-backdrop{filter:brightness(1.12) saturate(1.12)}
html[data-motion=cinematic] .saturn-meteor-flight{animation-duration:15s}
html[data-motion=cinematic] .saturn-ring-light{animation-duration:16s}
html[data-motion=cinematic] .cosmic-backdrop{animation-duration:24s}
@media(max-width:600px){.chat-layout-switch button{min-height:42px;padding-inline:12px;font-size:13px}.conversation-bar .thread-tools{gap:5px}}
@media(prefers-reduced-motion:reduce) {
  body.has-messages .chat-stage,body.has-messages .conversation-bar,body.has-messages .messages,.typing::before {animation:none}
  .world-choice,.world-assistant-choice,.starter-prompts button {transition:none}
}
