:root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111113;
  font-synthesis: none;
  --muted: #858589;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --composer-height: 60px;
  --composer-bottom: clamp(24px, 8dvh, 76px);
  --island-gap: 22px;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f2f2f4; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button, input { outline: none; }
button:focus-visible, input:focus-visible { outline: 2px solid #78787f; outline-offset: 5px; }
button { border: 0; background: none; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.solid { fill: currentColor; stroke: none; }
.orbit-app { position: relative; width: 100%; height: 100dvh; overflow: hidden; isolation: isolate; }
.ambient-light {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 48% 46% at 49.5% 43%, #fff 0%, rgba(255,255,255,.82) 28%, transparent 82%),
    radial-gradient(ellipse 37% 29% at 71% 4%, rgba(255,255,255,.52), transparent 83%),
    radial-gradient(ellipse 40% 38% at 98% 99%, rgba(255,255,255,.38), transparent 80%),
    radial-gradient(ellipse 39% 32% at 17% 9%, rgba(215,215,220,.12), transparent 82%),
    radial-gradient(ellipse 49% 48% at 20% 86%, rgba(210,210,216,.24), transparent 78%),
    radial-gradient(ellipse 38% 27% at 54% 89%, rgba(199,201,208,.15), transparent 80%),
    radial-gradient(ellipse 38% 45% at 89% 63%, rgba(216,216,222,.19), transparent 81%),
    #f1f1f3;
}
#singularity { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.grain { position: absolute; inset: 0; opacity: .035; pointer-events: none; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23808080' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.glass { background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.82); box-shadow: 0 14px 40px rgba(24,24,45,.035), inset 0 0 25px rgba(255,255,255,.22); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.navigation { position: absolute; top: 20.95%; left: 1.86%; width: 56px; height: 232px; padding: 10px 8px; border-radius: 30px; display: flex; flex-direction: column; justify-content: space-between; z-index: 8; }
.nav-button { position: relative; height: 38px; width: 38px; border-radius: 13px; display: grid; place-items: center; transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.nav-button .icon { width: 21px; height: 21px; }
.nav-button.active { background: #09090a; color: white; box-shadow: 0 0 0 8px rgba(255,255,255,.74), inset 0 0 9px rgba(255,255,255,.12); }
.nav-button:hover { transform: translateY(-2px); background: rgba(220,220,225,.45); }
.nav-button.active:hover { background: #222225; }
.nav-button::after { content: attr(data-tooltip); position: absolute; left: 52px; white-space: nowrap; font-size: 12px; color: #323238; border: 1px solid #fff; background: rgba(255,255,255,.93); padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(-5px); pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 5px 15px #11111105; }
.nav-button:hover::after { opacity: 1; transform: translateX(0); }
.request-island { position: absolute; top: 8.4%; left: 49.5%; transform: translateX(-50%); width: clamp(360px, 32vw, 480px); min-height: 76px; padding: 13px 19px; border-radius: 24px; display: flex; align-items: center; gap: 14px; z-index: 2; }
.request-method { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 30px; border-radius: 50%; background: radial-gradient(circle, #fff, transparent 75%); }
.request-method .icon { width: 23px; height: 23px; stroke-width: 1.65; }
.request-content { min-width: 0; }
.request-content p { margin: 0 0 7px; font-size: 16px; line-height: 1.35; letter-spacing: -.25px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.request-status { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #818185; line-height: 18px; }
.status-ring { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; border: 1.4px solid #36363a; border-top-color: #b8b8bd; border-radius: 50%; animation: turn 3s linear infinite; }
.status-ring.ready { animation: none; border-color: #b1b1b6; }
.orbit-wordmark { position: absolute; left: 49.5%; top: 46%; transform: translate(-50%, -50%); width: 35.1%; max-width: 590px; min-width: 460px; display: flex; justify-content: space-between; align-items: center; font-size: clamp(43px, 3.4vw, 57px); font-weight: 200; line-height: 1; letter-spacing: -2px; user-select: none; pointer-events: none; z-index: 1; }
.orbit-wordmark span { display: block; width: 45px; text-align: center; }
.orbit-wordmark .core-letter { color: #fff; font-weight: 200; text-shadow: 0 0 15px #ffffff1a; }
.orbit-wordmark span:nth-child(2) { transform: translateX(-4px); }
.orbit-wordmark span:nth-child(3) { transform: translateX(6px); }
.orbit-wordmark span:nth-child(4) { transform: translateX(11px); }
.response-island { position: absolute; left: 49.65%; bottom: calc(var(--composer-bottom) + var(--composer-height) + var(--island-gap)); transform: translateX(-50%); width: clamp(440px, 36vw, 580px); min-height: 76px; border-radius: 24px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; z-index: 3; box-shadow: 0 22px 58px rgba(40,42,55,.055), 0 5px 20px rgba(40,42,55,.018), inset 0 1px 0 rgba(255,255,255,.76); }
.response-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #ffffffb3; box-shadow: 0 0 20px 5px #ffffff85; }
.orbit-ring { width: 25px; height: 25px; border-radius: 50%; border: 2.5px solid #101013; border-top-color: #b1b1b4; transform: rotate(-35deg); }
.response-island.is-thinking .orbit-ring { animation: turn 1.3s linear infinite; }
.response-island p { margin: 0; padding-right: 24px; font-size: 17px; line-height: 1.4; letter-spacing: -.25px; }
.more-button { position: absolute; right: 12px; top: 14px; display: flex; align-items: center; gap: 4px; padding: 6px; transition: opacity .2s; }
.more-button span { width: 4px; height: 4px; border-radius: 50%; background: #9c9ca0; }
.more-button:hover { opacity: .6; }
.composer { position: absolute; bottom: var(--composer-bottom); left: 49.8%; transform: translateX(-50%); width: clamp(460px, 37vw, 600px); height: var(--composer-height); border-radius: 34px; padding: 9px 10px; display: flex; align-items: center; gap: 8px; z-index: 5; box-shadow: 0 23px 62px rgba(40,42,55,.065), 0 6px 24px rgba(40,42,55,.025), inset 0 1px 0 rgba(255,255,255,.84); }
.round-button { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: linear-gradient(135deg, rgba(230,230,232,.85), rgba(239,239,241,.8)); box-shadow: inset 0 1px 2px #ffffffbf; transition: transform .3s var(--ease), background .2s, box-shadow .2s; }
.round-button:hover { transform: scale(1.08); background: #e0e0e4; }
.round-button:active { transform: scale(.94); }
.round-button .icon { width: 21px; height: 21px; stroke-width: 1.7; }
.attach-button .icon { width: 23px; height: 23px; }
.composer input[type=text] { min-width: 0; flex: 1; border: 0; background: none; font-size: 16px; padding: 8px 10px; color: #222226; }
.composer input::placeholder { color: #96969b; opacity: 1; }
.composer input:focus-visible { outline: 0; }
.composer:focus-within { box-shadow: 0 23px 62px rgba(40,42,55,.065), 0 6px 24px rgba(40,42,55,.025), 0 0 0 2px #9b9ba04d, inset 0 1px 0 rgba(255,255,255,.84); }
.mic-button { position: relative; }
.mic-button::before { content: ''; position: absolute; width: 1px; height: 23px; background: #e5e5e960; left: -7px; }
.mic-button[aria-pressed=true] { background: #171719; color: white; box-shadow: 0 0 0 5px #17171909; animation: listen-pulse 1.8s ease-in-out infinite; }
.task-panel { position: absolute; top: 5.85%; right: 2.08%; width: clamp(270px, 18.1vw, 304px); max-height: calc(94.15dvh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 20px 18px; border-radius: 25px; background: rgba(255,255,255,.39); border-color: rgba(224,224,230,.65); box-shadow: 0 16px 50px #35355002; z-index: 6; transition: opacity .35s, transform .45s var(--ease); }
.task-panel.is-closed { transform: translateX(calc(100% + 40px)); opacity: 0; pointer-events: none; visibility: hidden; }
.task-header { display: flex; align-items: center; justify-content: space-between; height: 44px; padding-bottom: 15px; border-bottom: 1px solid #e5e5e9a6; }
.task-header h1 { margin: 0; font-size: 23px; font-weight: 400; letter-spacing: -.8px; }
.plain-button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background .2s, transform .2s; }
.plain-button:hover { background: #dddde14d; transform: rotate(90deg); }
.plain-button .icon { width: 22px; height: 22px; }
.task-section { padding-top: 16px; }
.task-section h2 { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: -.25px; }
.task-list { display: flex; flex-direction: column; }
.task-row { position: relative; display: flex; align-items: flex-start; text-align: left; gap: 17px; min-height: 60px; padding: 11px 4px 8px; width: 100%; border-radius: 10px; transition: background .25s, opacity .25s; }
.task-row:hover { background: #e6e6eb4d; }
.task-row.running { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; gap: 14px; }
.task-check { display: block; position: relative; width: 20px; height: 20px; flex: 0 0 20px; border: 1.6px solid #b6b6bb; border-radius: 50%; margin-top: 1px; transition: border-color .25s, background .25s; }
.task-check.progress { width: 23px; height: 23px; flex-basis: 23px; border: none; background: conic-gradient(#121215 var(--progress), #d0d0d3 0); transform: rotate(4deg); margin-left: -2px; margin-top: -1px; }
.task-check.progress span { position: absolute; inset: 2.5px; border-radius: 50%; background: #f7f7f8; }
.task-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.task-title { font-size: 14px; font-weight: 400; letter-spacing: -.5px; line-height: 1.3; }
.task-description { color: #818185; font-size: 12px; letter-spacing: -.1px; line-height: 1.25; }
.task-percent { color: #858589; font-size: 12px; margin-top: 2px; line-height: 1.3; }
.running .task-title { letter-spacing: -.35px; overflow-wrap: anywhere; }
.task-section:not(.upcoming) .task-row { padding-top: 11px; }

.upcoming { border-top: 1px solid #e5e5e9a6; margin-top: 10px; padding-top: 17px; }
.upcoming h2 { margin-bottom: 6px; }
.upcoming .task-row { min-height: 58px; }
.task-row.is-complete .task-check { border-color: #18181b; background: #18181b; }
.task-row.is-complete .task-check::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 9px; border-right: 1.5px solid white; border-bottom: 1.5px solid white; transform: rotate(45deg); }
.task-row.is-complete .task-title { text-decoration: line-through; color: #929298; }
.task-row.is-complete .task-description { color: #929298; }
.restore-tasks { position: absolute; right: 2.08%; top: 5.85%; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 20px; font-size: 13px; z-index: 4; opacity: 0; pointer-events: none; transition: opacity .35s; }
.restore-tasks.visible { opacity: 1; pointer-events: auto; }
.restore-tasks .icon { width: 18px; height: 18px; }
.side-panel { position: absolute; left: calc(1.86% + 72px); top: 20.95%; width: 274px; max-height: calc(79.05dvh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 19px; border-radius: 24px; z-index: 7; animation: panel-enter .35s var(--ease) both; background: rgba(255,255,255,.88); }
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.panel-header h2 { font-size: 19px; font-weight: 400; letter-spacing: -.5px; margin: 0; }
.panel-caption { margin: 0 0 17px; font-size: 13px; color: #828288; line-height: 1.55; }
.conversation-item { display: flex; align-items: center; width: 100%; padding: 14px 8px; border-bottom: 1px solid #e5e5e8; text-align: left; gap: 12px; border-radius: 8px; }
.conversation-item:last-child { border-bottom: 0; }
.conversation-item:hover { background: #ebebef80; }
.conversation-item .icon { width: 18px; height: 18px; color: #68686e; }
.conversation-item strong { font-weight: 400; font-size: 14px; display: block; margin-bottom: 5px; }
.conversation-item small { font-size: 12px; color: #929297; }
.workspace-file { display: flex; gap: 11px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e5e5e8; font-size: 13px; overflow-wrap: anywhere; }
.workspace-file .icon { width: 20px; height: 20px; color: #808086; }
.panel-action { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #151518; color: #fff; border-radius: 14px; padding: 12px; font-size: 13px; margin-top: 20px; }
.panel-action .icon { width: 16px; height: 16px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 14px; border-bottom: 1px solid #e5e5e8; gap: 10px; }
.setting-row small { display: block; margin-top: 5px; color: #909095; font-size: 12px; }
.switch { position: relative; width: 36px; height: 22px; background: #d4d4d9; border-radius: 14px; flex: 0 0 auto; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .25s var(--ease); }
.switch[aria-checked=true] { background: #18181b; }
.switch[aria-checked=true]::after { transform: translateX(14px); }
.keyboard-hint { margin: 18px 0 0; font-size: 12px; color: #8d8d93; }
kbd { font: inherit; background: #eaeaec; border-radius: 4px; padding: 3px 6px; color: #626268; }
.popover { position: absolute; max-height: min(320px, 50dvh); overflow-y: auto; min-width: 206px; padding: 8px; border-radius: 17px; background: #ffffffed; animation: panel-enter .2s var(--ease) both; box-shadow: 0 10px 35px #2020340d; }
.popover button { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 10px; font-size: 13px; }
.popover button:hover { background: #eeeef280; }
.popover button .icon { width: 17px; height: 17px; }
.popover button span { color: #a0a0a5; margin-left: auto; font-size: 11px; }
.popover p { font-size: 11px; color: #939398; margin: 6px 12px 9px; line-height: 1.4; }
.response-menu { right: 12px; bottom: calc(100% + 10px); }
.response-menu button { justify-content: space-between; }
.attach-menu { left: 4px; bottom: calc(100% + 14px); }
.attachment-chip { position: absolute; left: 17px; bottom: calc(100% + 12px); padding: 8px 9px 8px 12px; display: flex; gap: 8px; align-items: center; border-radius: 13px; font-size: 12px; max-width: calc(100% - 34px); }
.attachment-chip .icon { width: 15px; height: 15px; }
.attachment-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attachment-chip button { padding: 2px; display: flex; }
.toast { position: absolute; bottom: 3.5%; left: 49.5%; transform: translate(-50%, 10px); padding: 11px 19px; border-radius: 17px; font-size: 12px; color: #68686e; opacity: 0; pointer-events: none; z-index: 9; transition: opacity .3s, transform .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.screen-reader-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.scene-flash .orbit-wordmark { animation: wordmark-pulse 1.2s var(--ease); }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes listen-pulse { 50% { box-shadow: 0 0 0 8px #17171909; } }
@keyframes panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wordmark-pulse { 50% { opacity: .5; filter: blur(1px); } }
@media (max-width: 1250px) and (min-width: 901px) {
  .task-panel { right: 20px; width: 264px; padding: 18px 16px; }
  .task-row, .task-row.running { gap: 12px; }
  .task-title { font-size: 13px; }
  .task-description { font-size: 12px; }
  .request-content p, .response-island p { font-size: 15px; }
  .orbit-wordmark { min-width: 400px; }
}
@media (max-width: 900px) {
  :root { --composer-height: 58px; --island-gap: 22px; }
  .navigation { top: 22px; left: 18px; width: 46px; height: 196px; padding: 8px 5px; }
  .nav-button { width: 34px; height: 34px; border-radius: 12px; }
  .nav-button.active { box-shadow: 0 0 0 6px #ffffffb3; }
  .nav-button .icon { width: 19px; height: 19px; }
  .request-island { left: 50%; width: 52%; min-height: 74px; padding: 12px 15px; gap: 12px; }
  .request-content p { font-size: 14px; }
  .request-status { font-size: 12px; gap: 8px; }
  .status-ring { width: 14px; height: 14px; }
  .orbit-wordmark { left: 50%; top: 42%; width: 68%; min-width: 0; font-size: 44px; }
  .response-island { left: 50%; width: 72%; min-height: 72px; padding: 12px 16px; gap: 12px; }
  .response-island p { font-size: 15px; padding-right: 21px; }
  .composer { left: 50%; width: 76%; padding: 8px 9px; gap: 6px; }
  .composer input[type=text] { padding: 8px; }
  .task-panel { top: 76px; right: 18px; width: 300px; max-height: calc(100dvh - 94px); background: #fffffff2; transform: translateX(calc(100% + 40px)); opacity: 0; pointer-events: none; visibility: hidden; }
  .task-panel.mobile-open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .restore-tasks { top: 24px; right: 18px; opacity: 1; pointer-events: auto; }
  .side-panel { top: 22px; left: 77px; width: min(274px, calc(100% - 95px)); max-height: calc(100dvh - 44px); }
  .toast { bottom: 12px; left: 50%; }
}
@media (max-width: 550px) {
  :root { --composer-bottom: max(24px, env(safe-area-inset-bottom)); --island-gap: 18px; }
  .navigation { top: 16px; left: 12px; width: 44px; height: 180px; padding: 7px 4px; }
  .nav-button { width: 34px; height: 34px; }
  .nav-button::after { display: none; }
  .restore-tasks { right: 12px; top: 17px; padding: 9px 12px; font-size: 12px; }
  .request-island { top: 76px; width: calc(100% - 90px); left: calc(50% + 15px); padding: 12px; gap: 9px; min-height: 78px; border-radius: 21px; }
  .request-method { flex-basis: 23px; width: 23px; }
  .request-method .icon { width: 21px; height: 21px; }
  .request-content p { font-size: 13px; margin-bottom: 6px; letter-spacing: -.15px; }
  .request-status { font-size: 11px; gap: 7px; }
  .orbit-wordmark { width: 80%; font-size: 38px; }
  .orbit-wordmark span { width: 30px; }
  .response-island { width: calc(100% - 32px); padding: 12px 14px; min-height: 76px; border-radius: 22px; gap: 10px; }
  .response-island p { font-size: 13px; line-height: 1.45; padding-right: 22px; }
  .response-avatar { width: 27px; height: 27px; flex-basis: 27px; }
  .orbit-ring { width: 23px; height: 23px; border-width: 2.5px; }
  .more-button { right: 9px; top: 11px; }
  .composer { width: calc(100% - 26px); gap: 4px; padding: 8px; }
  .round-button { width: 36px; height: 36px; flex-basis: 36px; }
  .round-button .icon { width: 20px; height: 20px; }
  .composer input[type=text] { padding: 8px 4px; }
  .composer input::placeholder { letter-spacing: -.3px; }
  .side-panel { top: 65px; left: 66px; width: calc(100% - 80px); max-width: 274px; max-height: calc(100dvh - 81px); }
  .task-panel { top: 65px; right: 12px; width: calc(100% - 24px); max-width: 304px; max-height: calc(100dvh - 81px); }
  .toast { font-size: 11px; bottom: 4px; padding: 6px 10px; }
}
@media (max-height: 600px) {
  :root { --composer-bottom: max(18px, env(safe-area-inset-bottom)); --composer-height: 54px; --island-gap: 14px; }
  .request-island { top: 22px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .request-content p { margin-bottom: 4px; }
  .response-island { min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
  .response-island p { font-size: 14px; }
  .navigation { top: 18px; }
  .side-panel { top: 18px; max-height: calc(100dvh - 36px); }
  .task-panel { top: 18px; max-height: calc(100dvh - 36px); }
  .restore-tasks { top: 18px; }
  .toast { bottom: 2px; padding: 4px 10px; }
}
@media (max-height: 600px) and (max-width: 900px) {
  .request-island { top: 22px; }
  .task-panel { top: 65px; max-height: calc(100dvh - 81px); }
  .side-panel { top: 65px; max-height: calc(100dvh - 81px); }
}
@media (max-height: 600px) and (max-width: 550px) {
  .request-island { top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Quick views keep their small footprint; expansion opens a complete workspace. */
.panel-heading { min-width: 0; }
.panel-heading h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-eyebrow { display: block; color: #727278; font-size: 11px; line-height: 1.4; margin-bottom: 4px; }
.panel-header-actions { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.expand-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 32px; height: 32px; padding: 0 7px; border-radius: 10px; color: #5c5c64; white-space: nowrap; transition: background .2s, color .2s; }
.expand-button .icon { width: 17px; height: 17px; flex: 0 0 17px; }
.expand-button span { display: none; }
.expand-button:hover { color: #111113; background: #e8e8ed80; }
.panel-header-actions button:hover { transform: none; }
.panel-close { flex: 0 0 auto; }
.panel-close > span { display: none; }
.panel-body { min-width: 0; }
#singularity { transition: opacity .45s var(--ease); }
.orbit-app.is-page-open #singularity { opacity: .13; }
.orbit-app.is-page-open .toast { z-index: 12; }
.orbit-app.is-page-open > :is(.request-island, .response-island, .composer, .orbit-wordmark, .task-panel, .restore-tasks) { visibility: hidden; opacity: 0; pointer-events: none; }
.side-panel.is-expanded {
  inset: 24px 24px 24px 104px; width: auto; max-width: none; max-height: none;
  min-width: 0; min-height: 0; padding: 0; border-radius: 28px;
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(250,250,252,.93);
  border-color: rgba(255,255,255,.96);
  box-shadow: 0 24px 80px rgba(36,38,50,.055), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}
.side-panel.is-expanded .panel-header { flex: 0 0 auto; gap: 20px; margin: 0; min-height: 84px; padding: 20px 36px; border-bottom: 1px solid #dfdfe680; }
.side-panel.is-expanded .panel-header h2 { font-size: 22px; letter-spacing: -.65px; }
.side-panel.is-expanded .panel-header-actions { gap: 8px; }
.side-panel.is-expanded .expand-button { min-height: 44px; padding: 0 13px; font-size: 13px; border: 1px solid #e0e0e6; background: rgba(255,255,255,.58); border-radius: 12px; }
.side-panel.is-expanded .expand-button span { display: inline; }
.side-panel.is-expanded .expand-button:hover { background: #eeeef2; }
.side-panel.is-expanded .panel-close { width: 44px; height: 44px; border-radius: 12px; }
.side-panel.is-expanded .panel-body { flex: 1 1 auto; min-height: 0; padding: 34px 36px 42px; overflow: auto; overscroll-behavior: contain; scroll-padding-block: 24px; scrollbar-width: thin; scrollbar-color: #c8c8d0 transparent; }
.side-panel.is-expanded .panel-body > * { width: 100%; max-width: 1056px; margin-left: auto; margin-right: auto; }
.side-panel.is-expanded .panel-body::-webkit-scrollbar { width: 6px; height: 6px; }
.side-panel.is-expanded .panel-body::-webkit-scrollbar-thumb { background: #c8c8d0; border-radius: 8px; }
.side-panel.is-expanded ::selection { color: #111113; background: #dddde6; }
.side-panel.is-expanded :is(input, textarea, select) { font: inherit; font-size: 16px; min-width: 0; max-width: 100%; caret-color: #111113; }
.page-intro { margin-bottom: 28px; }
.page-intro > small, .page-intro .eyebrow { display: block; margin-bottom: 10px; font-size: 12px; color: #696971; }
.page-intro h3 { margin: 0 0 12px; font-size: clamp(28px, 2.7vw, 36px); font-weight: 400; letter-spacing: -.9px; line-height: 1.18; }
.page-intro p { margin: 0; max-width: 60ch; color: #6d6d75; font-size: 16px; line-height: 1.65; }
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-search { display: flex; align-items: center; gap: 11px; width: 100%; max-width: 380px; min-width: 0; min-height: 46px; padding: 0 14px; background: rgba(255,255,255,.78); border: 1px solid #dfdfe6; border-radius: 13px; }
.page-search .icon { width: 19px; height: 19px; color: #73737c; }
.page-search input { width: 100%; flex: 1; padding: 12px 0; color: #222226; border: 0; background: none; }
.page-search input::placeholder { color: #727278; opacity: 1; }
.page-search input:focus-visible { outline: none; }
.page-search:focus-within { outline: 2px solid #90909c; outline-offset: 3px; }
.page-primary, .page-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; min-height: 44px; padding: 11px 17px; border-radius: 13px; font-size: 14px; line-height: 1.35; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.page-primary { color: #fff; background: #151518; border: 1px solid #151518; }
.page-primary:hover { background: #333339; border-color: #333339; transform: translateY(-1px); }
.page-secondary { color: #222226; background: rgba(255,255,255,.78); border: 1px solid #dcdce4; }
.page-secondary:hover { background: #eeeef3; border-color: #c9c9d3; }
.page-primary .icon, .page-secondary .icon { width: 18px; height: 18px; }
.conversation-layout { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(0, 1.4fr); align-items: start; gap: 28px; }
.conversation-index, .conversation-detail, .conversation-copy, .workspace-detail, .file-info, .settings-card { min-width: 0; }
.conversation-list { display: grid; gap: 12px; }
.conversation-card { display: grid; grid-template-columns: 38px minmax(0,1fr) 16px; align-items: start; gap: 12px; width: 100%; min-height: 104px; padding: 18px 16px; text-align: left; border: 1px solid #dfdfe680; border-radius: 17px; background: rgba(255,255,255,.62); transition: background .2s, border-color .2s; }
.conversation-card:hover { background: #f0f0f5; border-color: #cfcfd9; }
.conversation-card.active, .conversation-card.is-active { background: #ebecf1; border-color: #bfc0cc; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.conversation-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.9); color: #494950; }
.conversation-icon .icon { width: 20px; height: 20px; }
.conversation-copy strong { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -.2px; overflow-wrap: anywhere; }
.conversation-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; font-size: 13px; line-height: 1.5; color: #6d6d75; }
.conversation-copy small { display: block; margin-top: 8px; color: #73737c; font-size: 11px; line-height: 1.4; }
.conversation-arrow { width: 16px; height: 16px; color: #787883; margin-top: 2px; }
.conversation-card.active .conversation-arrow { color: #222226; }
.conversation-detail { padding: 28px; border: 1px solid #dddde580; border-radius: 22px; background: rgba(255,255,255,.72); }
.detail-header { padding-bottom: 23px; margin-bottom: 23px; border-bottom: 1px solid #e2e2e8; }
.detail-header small, .file-preview > small { display: block; color: #6f6f78; font-size: 12px; line-height: 1.5; }
.detail-header h3 { margin: 8px 0 0; font-size: 25px; font-weight: 400; line-height: 1.3; letter-spacing: -.65px; overflow-wrap: anywhere; }
.detail-thread { display: flex; flex-direction: column; gap: 20px; }
.thread-message { min-width: 0; padding: 18px; border-radius: 16px; }
.thread-message.is-user { align-self: flex-end; width: 90%; background: #edeef3; }
.thread-message.is-assistant { align-self: flex-start; padding: 2px 0; }
.message-label { display: block; color: #6f6f78; font-size: 11px; line-height: 1.5; }
.thread-message p { margin: 8px 0 0; color: #303037; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.detail-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 23px; margin-top: 28px; border-top: 1px solid #e2e2e8; }
.workspace-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.9fr); align-items: start; gap: 28px; }
.file-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.file-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 17px; min-width: 0; min-height: 174px; padding: 20px; text-align: left; border: 1px solid #dfdfe680; border-radius: 18px; background: rgba(255,255,255,.7); transition: background .2s, border-color .2s; }
.file-card:hover { background: #f0f0f5; border-color: #cfcfd9; }
.file-card.active, .file-card.is-active { background: #ebecf1; border-color: #bfc0cc; }
.file-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #45454c; background: linear-gradient(145deg,#fff,#e9eaf0); }
.file-icon .icon { width: 24px; height: 24px; }
.file-info { flex: 1; }
.file-info strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.2px; line-height: 1.45; overflow-wrap: anywhere; }
.file-info small { display: block; margin-top: 8px; color: #6f6f78; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.file-badge { position: absolute; top: 20px; right: 18px; max-width: calc(100% - 85px); padding: 4px 7px; border-radius: 7px; background: #e4e5ec; color: #62626d; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.workspace-detail { padding: 28px; border: 1px solid #dddde580; border-radius: 22px; background: rgba(255,255,255,.72); }
.file-preview h3 { margin: 12px 0 18px; font-size: 25px; font-weight: 400; line-height: 1.3; letter-spacing: -.65px; overflow-wrap: anywhere; }
.file-preview p, .file-preview li { color: #55555e; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.file-preview p { margin: 0 0 18px; }
.file-preview :is(ul,ol) { margin: 0; padding-left: 20px; }
.file-preview li + li { margin-top: 8px; }
.file-preview h4 { margin: 24px 0 12px; font-size: 14px; font-weight: 500; color: #36363e; }
.file-preview-text { margin: 18px 0 0; padding: 16px; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; line-height: 1.75; color: #55555f; background: #f1f2f680; border: 1px solid #e1e2e9; border-radius: 12px; }
.workspace-detail .detail-footer { justify-content: space-between; }
.file-remove { min-height: 44px; padding: 10px 2px; color: #6a6a74; font-size: 13px; text-underline-offset: 4px; }
.file-remove:hover { color: #222226; text-decoration: underline; }
.workspace-note { margin: 20px 0 0; color: #6f6f78; font-size: 12px; line-height: 1.6; }
.page-empty { display: grid; place-items: center; min-height: 180px; padding: 30px; border: 1px dashed #cccdd7; border-radius: 18px; text-align: center; color: #6b6b75; font-size: 14px; line-height: 1.6; }
.file-grid > .page-empty, .conversation-list > .page-empty { grid-column: 1 / -1; }
.settings-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); align-items: start; gap: 28px; }
.settings-controls { display: grid; gap: 22px; min-width: 0; }
.settings-card { padding: 26px; border: 1px solid #dddde580; border-radius: 20px; background: rgba(255,255,255,.72); }
.settings-card header { margin-bottom: 12px; }
.settings-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 400; letter-spacing: -.45px; line-height: 1.35; }
.settings-card header p { margin: 0; color: #6d6d76; font-size: 13px; line-height: 1.65; }
.settings-card > p { margin: 0; color: #6d6d76; font-size: 13px; line-height: 1.65; }
.settings-card .setting-row { padding: 20px 0; font-size: 15px; }
.settings-card .setting-row:last-child { border-bottom: 0; padding-bottom: 0; }
.settings-card .setting-row small { max-width: 34ch; margin-top: 7px; font-size: 12px; line-height: 1.6; color: #6f6f78; }
.settings-card .switch { width: 44px; height: 44px; flex-basis: 44px; background: transparent; border-radius: 12px; }
.settings-card .switch::before { content: ''; position: absolute; width: 40px; height: 24px; left: 2px; top: 10px; border-radius: 20px; background: #d4d4dd; transition: background .25s; }
.settings-card .switch::after { width: 18px; height: 18px; left: 5px; top: 13px; }
.settings-card .switch[aria-checked=true] { background: transparent; }
.settings-card .switch[aria-checked=true]::before { background: #18181b; }
.settings-card .switch[aria-checked=true]::after { transform: translateX(16px); }
.settings-preview { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: 250px; padding: 28px; border: 1px solid #dddde580; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%,#fff,rgba(240,241,246,.8)); }
.settings-preview h3 { margin: 0; max-width: 20ch; font-size: 22px; font-weight: 400; letter-spacing: -.55px; line-height: 1.35; text-align: center; }
.preview-orbit { position: relative; width: 104px; height: 104px; flex: 0 0 104px; margin: 25px 0; border-radius: 50%; background: #030303; box-shadow: 0 0 0 8px rgba(255,255,255,.7), 0 0 35px #fff, 0 8px 20px rgba(30,32,44,.07); animation: preferences-orbit 28s linear infinite; }
.settings-preview[data-motion='false'] .preview-orbit { animation-play-state: paused; }
.preview-orbit::before, .preview-orbit::after { content: ''; position: absolute; inset: -20px; border: 1px solid rgba(100,105,119,.17); border-radius: 50%; transform: rotate(-28deg) scaleY(.57); }
.preview-orbit::after { inset: -36px; transform: rotate(37deg) scaleY(.72); border-color: rgba(100,105,119,.1); }
.preview-orbit span { position: absolute; width: 10px; height: 10px; left: -22px; top: 18px; border-radius: 50%; background: radial-gradient(circle at 72% 23%,#878991,#050507 65%); box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.preview-orbit span:nth-child(2) { left: auto; right: -23px; top: auto; bottom: 6px; }
.preview-orbit span:nth-child(3) { left: 70px; top: -26px; }
.settings-preview p { margin: 0; max-width: 30ch; color: #6d6d76; font-size: 13px; line-height: 1.65; text-align: center; }
.settings-preview .preview-interaction-status { margin-top: -16px; }
.settings-shortcuts { margin: 25px 0 0; padding: 0; list-style: none; }
.settings-card.settings-shortcuts { margin: 0; padding: 26px; }
.settings-shortcuts .shortcut-row, .settings-shortcuts li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #e4e4ec; color: #595963; font-size: 13px; line-height: 1.4; }
.settings-shortcuts :is(.shortcut-row,li):last-child { border-bottom: 0; }
.settings-shortcuts kbd { flex: 0 0 auto; padding: 5px 8px; background: #eeeef3; color: #45454f; border: 1px solid #dcdce5; }
@keyframes preferences-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .side-panel.is-expanded { inset: 18px 18px 18px 88px; }
  .side-panel.is-expanded .panel-header { padding: 18px 28px; }
  .side-panel.is-expanded .panel-body { padding: 28px 28px 36px; }
  .conversation-layout, .workspace-layout, .settings-layout { gap: 20px; }
  .conversation-detail, .workspace-detail { padding: 23px; }
  .file-card { padding: 17px; }
}
@media (max-width: 900px) {
  .side-panel.is-expanded { inset: 18px 18px 18px 78px; }
  .side-panel.is-expanded .panel-header { min-height: 80px; padding: 17px 24px; }
  .side-panel.is-expanded .panel-body { padding: 26px 24px 34px; }
  .conversation-layout, .workspace-layout, .settings-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .conversation-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .settings-preview { min-height: 220px; }
}
@media (max-width: 550px) {
  .orbit-wordmark span:nth-child(2) { transform: translateX(-12px); }
  .orbit-app.is-page-open .navigation { visibility: hidden; opacity: 0; pointer-events: none; }
  .side-panel.is-expanded { inset: 0; border: 0; border-radius: 0; background: rgba(249,249,252,.98); box-shadow: none; }
  .side-panel.is-expanded .panel-header { min-height: 80px; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 18px 14px; }
  .side-panel.is-expanded .panel-header h2 { font-size: 20px; }
  .side-panel.is-expanded .panel-header-actions { gap: 5px; }
  .side-panel.is-expanded .expand-button { padding: 0 10px; gap: 6px; font-size: 12px; }
  .side-panel.is-expanded .panel-body { padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }
  .page-intro { margin-bottom: 22px; }
  .page-intro h3 { font-size: 28px; letter-spacing: -.65px; }
  .page-intro p { font-size: 15px; }
  .page-toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 22px; }
  .page-search { max-width: none; }
  .page-toolbar .page-primary { width: 100%; }
  .conversation-list { grid-template-columns: minmax(0,1fr); }
  .conversation-card { padding: 16px; min-height: 100px; }
  .conversation-detail, .workspace-detail, .settings-card { padding: 21px; border-radius: 18px; }
  .settings-card.settings-shortcuts { padding: 21px; }
  .detail-header h3, .file-preview h3 { font-size: 23px; }
  .thread-message { padding: 16px; }
  .thread-message.is-user { width: 96%; }
  .thread-message.is-assistant { padding: 2px 0; }
  .detail-footer .page-secondary { width: 100%; }
  .file-grid { gap: 12px; }
  .file-card { padding: 16px; min-height: 166px; }
  .file-badge { top: 18px; right: 13px; }
  .file-info strong { font-size: 14px; }
  .file-info small { font-size: 11px; }
  .settings-preview { min-height: 230px; }
}
