
  :root{color-scheme:dark;--glee-bg:#000000;--glee-bg-2:#05080B;--glee-panel:#090F14;--glee-raise:#121A21;--glee-line:#1C252C;--glee-line-soft:#141C22;--glee-text:#E9E7E2;--glee-dim:#BAC1C9;--glee-faint:#859099;--glee-accent:#C9A96B;--glee-accent-2:#4A8CFF;--glee-green:#3ECFB6;--glee-red:#E15A5A;--glee-cyan:#4A8CFF;--glee-gold:#C9A96B;--glee-purple:#A86CFF;--glee-amber:#F5B74E;--glee-radius:10px;--glee-gap:14px;--glee-pad:16px;--glee-font:ui-monospace,'Cascadia Code','SF Mono',Menlo,Consolas,monospace;--glee-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--glee-glow:0 0 22px;--glee-shadow:0 18px 60px rgba(0,0,0,.5);--glee-grid:rgba(233,231,226,.028);--glee-card:var(--glee-panel);--line:#1C252C;--blue:#4A8CFF;--green:#3ECFB6;--gold:#C9A96B;--red:#E15A5A}[data-style-pack="daylight"]{--glee-bg:#f7f5ef;--glee-bg-2:#eeeae0;--glee-panel:#ffffff;--glee-raise:#e8e3d8;--glee-line:#6b665c;--glee-line-soft:#928c80;--glee-text:#171b1f;--glee-dim:#343b42;--glee-faint:#4a525a;--glee-accent:#755100;--glee-accent-2:#20569b;--glee-green:#175c44;--glee-red:#9d242c;--glee-cyan:#15598f;--glee-gold:#755100;--glee-purple:#62409a;--glee-amber:#805000;--glee-grid:rgba(23,27,31,.045);--glee-shadow:0 12px 38px rgba(23,27,31,.12)}[data-style-pack="contrast"]{--glee-bg:#000000;--glee-bg-2:#000000;--glee-panel:#000000;--glee-raise:#171717;--glee-line:#ffffff;--glee-line-soft:#d6d6d6;--glee-text:#ffffff;--glee-dim:#ffffff;--glee-faint:#e0e0e0;--glee-accent:#ffdf54;--glee-accent-2:#8bd6ff;--glee-green:#7dffbf;--glee-red:#ff8f93;--glee-cyan:#8bd6ff;--glee-gold:#ffdf54;--glee-purple:#d0a8ff;--glee-amber:#ffdf54;--glee-grid:transparent;--glee-glow:0 0 0}[data-style-pack="warm"]{--glee-bg:#15110b;--glee-bg-2:#1b150d;--glee-panel:#211a10;--glee-raise:#2a2113;--glee-line:#3a2f1c;--glee-line-soft:#2b2213;--glee-text:#f0e4cf;--glee-dim:#b99e76;--glee-faint:#7c6843;--glee-accent:#e9a23b;--glee-accent-2:#c97d3a;--glee-green:#9bbf5a;--glee-radius:7px;--glee-card:linear-gradient(180deg,var(--glee-panel),var(--glee-bg-2));--glee-grid:rgba(233,162,59,.06)}[data-style-pack="starlit"]{--glee-bg:#0a0c18;--glee-bg-2:#0e1226;--glee-panel:#141a32;--glee-raise:#1a2240;--glee-line:#283358;--glee-line-soft:#1d2647;--glee-text:#eef0fb;--glee-dim:#9aa6d4;--glee-faint:#5a648f;--glee-accent:#f0d08a;--glee-accent-2:#8fb4ff;--glee-cyan:#86c7ff;--glee-radius:12px;--glee-font:'Iowan Old Style',Georgia,serif;--glee-grid:rgba(143,180,255,.06)}[data-style-pack="signal"]{--glee-bg:#05070a;--glee-bg-2:#080c12;--glee-panel:#0c1219;--glee-raise:#101822;--glee-line:#1a2632;--glee-line-soft:#131c26;--glee-text:#eafaff;--glee-dim:#86a0b0;--glee-faint:#4d6573;--glee-accent:#3be8ff;--glee-accent-2:#5ba8ff;--glee-green:#39e6a0;--glee-radius:6px;--glee-glow:0 0 26px;--glee-grid:rgba(59,232,255,.07)}[data-style-pack="field"]{--glee-bg:#14140f;--glee-bg-2:#191a12;--glee-panel:#1f2017;--glee-raise:#26281c;--glee-line:#3a3c2b;--glee-line-soft:#2c2e20;--glee-text:#ece7d3;--glee-dim:#aaa888;--glee-faint:#6f6e52;--glee-accent:#c2a23f;--glee-accent-2:#8a9b5a;--glee-green:#8bb35a;--glee-radius:8px;--glee-glow:0 0 0;--glee-font:'Iowan Old Style',Georgia,serif;--glee-grid:rgba(194,162,63,.06)}:root[data-style-pack="daylight"]{color-scheme:light}@media (prefers-color-scheme:light){[data-style-pack="system"]{--glee-bg:#f7f5ef;--glee-bg-2:#eeeae0;--glee-panel:#ffffff;--glee-raise:#e8e3d8;--glee-line:#6b665c;--glee-line-soft:#928c80;--glee-text:#171b1f;--glee-dim:#343b42;--glee-faint:#4a525a;--glee-accent:#755100;--glee-accent-2:#20569b;--glee-green:#175c44;--glee-red:#9d242c;--glee-cyan:#15598f;--glee-gold:#755100;--glee-purple:#62409a;--glee-amber:#805000;--glee-grid:rgba(23,27,31,.045);--glee-shadow:0 12px 38px rgba(23,27,31,.12)}:root[data-style-pack="system"]{color-scheme:light}}body[data-mood="trust"]{--glee-font:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;--glee-text:#e9e6de;--glee-grid:transparent;--glee-glow:0 0 0;--glee-gold:#b8b09a;--glee-accent:#b8b09a;--glee-radius:12px;--glee-pad:20px}body[data-mood="trust"] .os-main{max-width:1080px;margin:0 auto;width:100%;padding:28px 20px}body[data-mood="trust"][data-style-pack="daylight"]{--glee-text:#171b1f;--glee-gold:#755100;--glee-accent:#755100}@media (prefers-color-scheme:light){body[data-mood="trust"][data-style-pack="system"]{--glee-text:#171b1f;--glee-gold:#755100;--glee-accent:#755100}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
  :root{--chat-bg:#000000;--chat-panel:#0a0a0a;--chat-text:#f2f0ea;--chat-dim:#999999;--chat-border:#303030;--chat-accent:#C9A96B;--chat-link:#4A8CFF;--chat-green:#92d9a9;--chat-coral:#e8a87c}
  .chat-surface *{box-sizing:border-box;margin:0;padding:0}
  .chat-surface{background:#000000;color:#f2f0ea;font:15px/1.55 "SF Mono",SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;min-height:min(70vh,640px);display:flex;flex-direction:column}
  .chat-surface a{color:#4A8CFF;text-decoration:none}
  .chat-surface .chat-head{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #303030;position:sticky;top:0;background:#000000f2;backdrop-filter:blur(4px);z-index:5}
  .chat-surface .chat-head .mark{color:#f2f0ea;font-weight:700;letter-spacing:.12em}
  .chat-surface .chat-head .mark b{color:#C9A96B}
  .chat-surface .chat-head .title{color:#999999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px}
  .chat-surface .pill{border:1px solid #303030;border-radius:999px;padding:2px 10px;font-size:12px;color:#999999;white-space:nowrap}
  .chat-surface .pill.fuel{color:#92d9a9;border-color:#92d9a933}
  .chat-surface #log{flex:1;width:100%;max-width:780px;margin:0 auto;padding:18px 16px 140px}
  .chat-surface .msg{display:flex;gap:12px;margin:0 0 18px}
  .chat-surface .msg .who{width:42px;flex:none;font-size:12px;letter-spacing:.08em;padding-top:2px;text-align:right}
  .chat-surface .msg .body{flex:1;min-width:0;overflow-wrap:break-word}
  .chat-surface .attachment-note{margin:0 0 8px 54px;color:#999999;font-size:11.5px;overflow-wrap:anywhere}
  .chat-surface .msg.user .body{color:#f2f0ea}
  .chat-surface .msg .body p{margin:0 0 6px}
  .chat-surface .msg .body ul,.chat-surface .msg .body ol{margin:2px 0 8px 20px}
  .chat-surface .msg .body li{margin:2px 0}
  .chat-surface .msg .body code{background:#0a0a0a;border:1px solid #303030;border-radius:4px;padding:1px 5px;font-size:13px}
  .chat-surface .msg .body pre{background:#0a0a0a;border:1px solid #303030;border-radius:8px;padding:10px 12px;overflow-x:auto;margin:6px 0}
  .chat-surface .msg .body pre code{background:none;border:0;padding:0}
  .chat-surface .work-handoff{margin:-4px 0 18px 54px;padding:9px 12px;border-left:2px solid #C9A96B;background:#0a0a0a;font-size:12px}
  .chat-surface .work-handoff a{color:#C9A96B;font-weight:700}
  .chat-surface .mdh{margin:8px 0 4px;color:#C9A96B;font-size:15px}
  .chat-surface .meta{color:#999999;font-size:11.5px;margin-top:6px;letter-spacing:.03em}
  .chat-surface .pending .body{color:#999999}
  .chat-surface .pending .dots::after{content:"…";animation:think 1.2s steps(4,end) infinite}
  @keyframes think{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}
  .chat-surface .ocard{display:flex;align-items:flex-start;gap:10px;background:#0a0a0a;border:1px solid #303030;border-radius:10px;padding:10px 12px;margin:8px 0 8px 54px}
  .chat-surface .ocard .okind{flex:none;border:1px solid;border-radius:999px;padding:1px 9px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-top:2px}
  .chat-surface .ocard .obody{flex:1;min-width:0;overflow-wrap:anywhere}.chat-surface .ocard :is(.meta,.osum){overflow-wrap:anywhere}.chat-surface .receipt-reference{font-size:11px;color:#999999;margin-top:8px}.chat-surface .receipt-reference summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.chat-surface .receipt-reference code{display:block;white-space:normal;overflow-wrap:anywhere}.chat-surface .receipt-reference summary::after{content:"+";margin-left:auto}.chat-surface .receipt-reference[open]>summary::after{content:"−"}
  .chat-surface .ocard .otitle{font-size:13.5px;font-weight:600}
  .chat-surface .ocard .osum{color:#999999;font-size:12.5px;margin-top:2px}
  .chat-surface .ocard .save{flex:none;background:#92d9a922;color:#92d9a9;border:1px solid #92d9a955;border-radius:8px;padding:4px 12px;font:inherit;font-size:12.5px;cursor:pointer}
  .chat-surface .ocard .save:hover{background:#92d9a933}
  .chat-surface .ocard .save[disabled]{opacity:.7;cursor:default}
  .chat-surface .ocard .saved{flex:none;color:#999999;font-size:11.5px;margin-top:4px}
  .chat-surface .objhead{color:#999999;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;margin:16px 0 2px 54px}
  .chat-surface form.composer{position:sticky;bottom:0;background:linear-gradient(transparent,#000000 24%);padding:24px 16px 72px;z-index:6}
  .chat-surface .handoff-notice{max-width:780px;margin:0 auto 8px;padding:8px 12px;border-left:2px solid #92d9a9;background:#0a0a0a;color:#f2f0ea;font-size:12px;line-height:1.5}
  .chat-surface .cwrap{max-width:780px;margin:0 auto}
  .chat-surface .crow{display:flex;gap:10px;align-items:flex-end;background:#0a0a0a;border:1px solid #303030;border-radius:14px;padding:10px}
  .chat-surface .crow:focus-within{border-color:#C9A96B66}
  .chat-surface textarea{flex:1;background:none;border:0;outline:none;color:#f2f0ea;font:inherit;resize:none;max-height:150px;min-height:24px}
  .chat-surface textarea::placeholder{color:#999999}
  .chat-surface .send{background:#C9A96B;color:#1a1204;border:0;border-radius:10px;padding:8px 18px;font:inherit;font-weight:700;cursor:pointer}
  .chat-surface .send[disabled]{opacity:.55;cursor:default}
  .chat-surface .hints{display:flex;gap:14px;justify-content:space-between;color:#999999;font-size:11.5px;padding:7px 4px 0;flex-wrap:wrap}
  .chat-surface .input-status{overflow-wrap:anywhere}
  .chat-surface .input-status.over-limit{color:#e8a87c}
  .chat-surface .hints kbd{border:1px solid #303030;border-bottom-width:2px;border-radius:4px;padding:0 5px;font:inherit}
  .chat-surface .hints a{color:#999999}
  .chat-surface details.opts{margin-top:6px;color:#999999;font-size:12px;max-width:100%}
  .chat-surface details.opts[open]{flex:1 1 100%}
  .chat-surface details.opts label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;min-width:0}
  .chat-surface details.opts select{min-width:0;max-width:80%}
  .chat-surface .ocard:has(.save-error){flex-wrap:wrap}
  .chat-surface .save-error{color:#e8a87c;font-size:12px;flex-basis:100%}
  .chat-surface details.opts summary{cursor:pointer;list-style:none;display:inline}
  .chat-surface .new-btn{background:#C9A96B22;color:#C9A96B;border:1px solid #C9A96B55;border-radius:6px;padding:3px 8px;font-size:12px;text-decoration:none;display:inline-block;white-space:nowrap}
  .chat-surface .new-btn:hover{background:#C9A96B33}
  .chat-surface .session-select{background:#0a0a0a;color:#f2f0ea;border:1px solid #303030;border-radius:6px;padding:3px 6px;font:inherit;font-size:12px;max-width:200px;text-overflow:ellipsis}
  .chat-surface .retry-btn{background:#e8a87c22;color:#e8a87c;border:1px solid #e8a87c55;border-radius:6px;padding:4px 10px;font:inherit;font-size:12px;cursor:pointer;margin-top:8px;display:inline-block}
  .chat-surface .retry-btn:hover{background:#e8a87c33}
  .chat-surface .obj-link{color:#4A8CFF;font-size:12px;text-decoration:underline;margin-top:4px;display:inline-block}
  .chat-surface .attach-btn{display:flex;align-items:center;justify-content:center;padding:4px 8px;cursor:pointer;color:#999999;border-radius:8px;border:1px solid transparent;transition:all 0.15s ease}
  .chat-surface .attach-btn:hover{color:#C9A96B;border-color:#303030;background:#000000}
  .chat-surface .clip-icon{font-size:16px;line-height:1}
  .chat-surface .attachment-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
  .chat-surface .attachment-chip{display:flex;align-items:center;gap:6px;background:#000000;border:1px solid #303030;border-radius:6px;padding:3px 8px;font-size:11.5px;color:#C9A96B}
  .chat-surface .remove-chip{background:none;border:none;color:#999999;font-size:14px;cursor:pointer;padding:0 2px;line-height:1}
  .chat-surface .remove-chip:hover{color:#e8a87c}
  @media(max-width:640px){
    .chat-surface .msg .who{width:34px}
    .chat-surface .ocard{flex-wrap:wrap;margin-left:0}
    .chat-surface .ocard .okind{order:1}
    .chat-surface .ocard .save,.chat-surface .ocard .saved{order:2;margin-left:auto;margin-top:0}
    .chat-surface .ocard .obody{flex:1 1 100%;order:3;margin-top:6px}
    .chat-surface .objhead{margin-left:0}
    .chat-surface #log{padding-bottom:170px}
  }

.open-workspace{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;margin:8px 0 4px;padding:10px 14px;background:transparent;border:1px solid transparent;border-radius:8px;color:var(--chat-text,#f2f0ea);cursor:pointer;font-size:14px;text-align:left}.open-workspace:hover{background:var(--chat-panel,#171717);border-color:var(--chat-line,#303030)}.open-workspace span{color:var(--chat-accent,#C9A96B)}
.chat-workspace{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:28px;border:1px solid var(--chat-line,#303030);border-radius:16px;background:var(--chat-bg,#0a0a0a);color:var(--chat-text,#f2f0ea);overflow:auto;font:14px/1.6 Inter,system-ui,sans-serif;box-shadow:0 28px 90px #0008}.chat-workspace::backdrop{background:#000a}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.workspace-head h2{margin:4px 0 0;font:400 32px/1.2 Georgia,serif}.workspace-eyebrow{margin:0;color:var(--chat-accent,#C9A96B);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.workspace-head button{flex:none;width:44px;height:44px;border:1px solid var(--chat-line,#303030);border-radius:50%;background:transparent;color:inherit;font-size:24px;cursor:pointer}.workspace-intro{margin:14px 0 22px;color:var(--chat-dim,#999)}.workspace-tabs{display:flex;gap:8px;border-bottom:1px solid var(--chat-line,#303030)}.workspace-tabs button{min-height:44px;padding:10px 16px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--chat-dim,#999);cursor:pointer}.workspace-tabs button[aria-selected=true]{border-bottom-color:var(--chat-accent,#C9A96B);color:var(--chat-text,#f2f0ea)}.workspace-status{margin:10px 0;color:var(--chat-dim,#999);font-size:12px}.workspace-panels{min-height:170px}.workspace-record{padding:18px 0;border-bottom:1px solid var(--chat-line,#303030);overflow-wrap:anywhere}.workspace-record h3{margin:4px 0;font-size:17px;font-weight:500}.workspace-record p{margin:6px 0;color:var(--chat-dim,#999)}.workspace-record small{color:var(--chat-dim,#999);font-size:12px}.workspace-record nav{display:flex;flex-wrap:wrap;gap:20px;margin-top:12px}.workspace-record a{display:inline-flex;align-items:center;min-height:44px;color:var(--chat-accent,#C9A96B);text-decoration:underline;text-underline-offset:4px}.workspace-empty{padding:24px 0}.workspace-empty h3{margin:0 0 8px;font-size:20px}.workspace-empty p,.workspace-guest p{color:var(--chat-dim,#999)}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px}.workspace-footer p{margin:0;font-size:12px;color:var(--chat-dim,#999)}.workspace-footer button,.workspace-guest button,.workspace-login{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--chat-line,#303030);border-radius:8px;background:transparent;color:inherit;cursor:pointer;flex:none}.workspace-guest h3{font:400 28px Georgia,serif}.workspace-guest button{margin:16px 0 0 8px}.workspace-login{margin-top:16px;border-color:var(--chat-accent,#C9A96B)}
@media(max-width:520px){.chat-workspace{padding:20px;width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.workspace-head h2{font-size:28px}.workspace-footer{align-items:flex-start}.workspace-guest button{margin-left:0}.workspace-tabs button{padding-inline:12px}}

html,body{margin:0;min-height:100%;background:#000;color:#f2f0ea;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #C9A96B;outline-offset:3px}
[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.phoenix-app{display:grid;grid-template-columns:260px minmax(0,1fr);height:100dvh;overflow:hidden}
.conversation-rail{background:#0a0a0a;border-right:1px solid #303030;padding:22px 16px 12px;display:flex;flex-direction:column;min-height:0}
.phoenix-brand{display:flex;align-items:center;gap:10px;padding:0 12px 22px;font-weight:650;font-size:20px;letter-spacing:.04em}
.rail-heading{display:flex;align-items:flex-start;justify-content:space-between}.close-navigation{display:none;background:transparent;color:#bdbdbd;border:0;font-size:24px;min-width:40px;min-height:40px;cursor:pointer}
.phoenix-mark{color:#C9A96B;width:28px;height:30px;display:block}.phoenix-mark svg,.welcome-mark svg{width:100%;height:100%}
.start-conversation{display:flex;align-items:center;gap:12px;border:1px solid #303030;border-radius:10px;padding:11px 14px;font-size:14px;min-height:44px}
.start-conversation:hover{background:#171717;border-color:#C9A96B}.start-conversation>span{font-size:22px;line-height:20px;color:#C9A96B}
.history-search{display:block;margin:14px 0}.history-search input{background:transparent;border:1px solid #303030;width:100%;padding:11px 12px;color:#f2f0ea;border-radius:8px;font-size:14px;min-height:44px}.history-search input::placeholder{color:#999}
.workspace-explore{margin:0 0 10px;color:#bdbdbd;font-size:14px}.workspace-explore>summary{cursor:pointer;min-height:40px;padding:10px 12px;border-radius:8px;list-style:none;display:flex;justify-content:space-between}.workspace-explore>summary:after{content:"＋"}.workspace-explore[open]>summary:after{content:"−"}.workspace-explore>summary:hover{background:#171717}
.workspace-links{display:grid;padding:2px 0 10px}.workspace-links a{display:flex;justify-content:space-between;padding:10px 12px;color:#bdbdbd;font-size:14px;border-radius:8px;min-height:40px}.workspace-links a:hover,.workspace-links a[aria-current]{background:#171717;color:#f2f0ea}.workspace-links a>span{color:#999}
.history-heading{font-size:13px;color:#999;padding:16px 12px 8px}.conversation-history{flex:1;overflow:auto;min-height:40px;overscroll-behavior:contain}
.conversation-history>a{display:block;overflow-wrap:anywhere;white-space:normal;padding:11px 12px;font-size:14px;color:#bdbdbd;border-radius:8px;margin:2px 0;min-height:42px}.conversation-history>a[aria-current],.conversation-history>a:hover{background:#171717;color:#f2f0ea}.conversation-history>a[aria-current]{box-shadow:inset 2px 0 #C9A96B}
.history-empty,#history-no-results{font-size:14px;color:#999;padding:0 12px;line-height:1.7}.history-empty a{text-decoration:underline;color:#f2f0ea}
.rail-bottom{padding-top:16px}.fuel-card{padding:14px 10px;border-top:1px solid #303030}.fuel-card>div{display:flex;justify-content:space-between;align-items:center;gap:8px}.fuel-card>div>span{font-size:12px;color:#999}.fuel-card strong{font-size:14px;font-weight:500;color:#C9A96B}.fuel-card p{font-size:12px;color:#999;line-height:1.6;margin:8px 0}.fuel-card>a{display:flex;justify-content:space-between;color:#C9A96B;font-size:14px;padding:6px 0;min-height:32px}
.account-link{display:flex;align-items:center;gap:10px;font-size:14px;color:#f2f0ea;padding:12px 8px;min-height:48px;border-radius:8px}.account-link:hover{background:#171717}.account-link>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-avatar{width:30px;height:30px;display:grid;place-items:center;background:#171717;border:1px solid #303030;border-radius:50%;color:#C9A96B;font-size:12px}
.phoenix-app .chat-surface{background:#000;font:16px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.phoenix-app .chat-head{background:transparent;position:relative;min-height:68px;padding:12px 24px;border-bottom:0;display:flex;align-items:center;gap:16px;flex:none}
.model-control{display:flex;align-items:center;gap:8px;min-width:0}.model-control select{background:transparent;color:#f2f0ea;border:1px solid transparent;border-radius:8px;padding:10px 8px;font-size:14px;max-width:250px;min-height:44px;cursor:pointer}.model-control select:hover{background:#171717}.model-control select option{background:#0a0a0a;color:#f2f0ea}
.phoenix-app .chat-head .title{font-size:14px;font-weight:400;color:#999;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.privacy-label{font-size:12px;color:#999;white-space:nowrap}
.phoenix-app .mobile-menu{display:grid;place-items:center;background:transparent;color:#bdbdbd;border:1px solid transparent;border-radius:8px;width:44px;height:44px;flex:none;cursor:pointer;font-size:20px}.mobile-menu:hover{background:#171717}
.phoenix-app.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.phoenix-app.sidebar-collapsed .conversation-rail{display:none}
.phoenix-app #log{overflow-y:auto;width:100%;max-width:none;min-height:0;margin:0;flex:1;padding:28px max(24px,calc((100% - 760px)/2)) 32px;overscroll-behavior:contain;scrollbar-gutter:stable}
.phoenix-app #log:has(.chat-welcome){display:flex;flex-direction:column;justify-content:center;padding-top:24px;padding-bottom:24px}
.chat-welcome{text-align:center;max-width:720px;margin:auto;width:100%;padding:16px 0}.welcome-mark{width:40px;height:42px;color:#C9A96B;display:block;margin:0 auto 20px}
.chat-welcome h1{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(28px,2.6vw,34px);font-weight:500;line-height:1.25;letter-spacing:-.04em;color:#f2f0ea;margin:0 0 14px!important}.welcome-copy{font-size:15px;line-height:1.7;color:#999}
.starter-prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:640px;margin:28px auto 0}.starter-prompts button{text-align:left;background:transparent;color:#f2f0ea;border:1px solid #303030;border-radius:12px;padding:16px;cursor:pointer;min-height:72px;transition:background .15s,border-color .15s}.starter-prompts button:hover{background:#0a0a0a;border-color:#C9A96B}.starter-prompts span{display:block;font-size:15px;font-weight:500}.starter-prompts small{display:block;color:#999;font-size:13px;margin-top:5px}
.phoenix-app .msg{margin-bottom:32px;gap:14px}.phoenix-app .msg .who{font-size:12px;width:36px;padding-top:4px;text-align:left;letter-spacing:0}.phoenix-app .msg.user{margin-left:50px}.phoenix-app .msg.user .who{display:none}.phoenix-app .msg.user .body{background:#171717;border:0;border-radius:20px;padding:14px 18px;flex:0 1 auto;margin-left:auto;max-width:100%}
.phoenix-app .msg .body{font-size:16px;line-height:1.75}.phoenix-app .msg .body pre{background:#0a0a0a;border:1px solid #303030;padding:16px;max-width:100%;font-size:14px}.phoenix-app .meta{color:#999;font-size:12px;margin-top:12px;letter-spacing:0}.phoenix-app .mdh{font-size:18px;color:#f2f0ea}
.markdown-table{max-width:100%;overflow-x:auto;margin:16px 0;border:1px solid var(--chat-border);border-radius:10px}.markdown-table table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6}.markdown-table th,.markdown-table td{padding:10px 12px;border-bottom:1px solid var(--chat-border);text-align:left;vertical-align:top}.markdown-table th{font-weight:600;background:var(--chat-panel)}.markdown-table tr:last-child td{border-bottom:0}
.turn-unconfirmed{font-size:13px;color:var(--chat-dim);margin:8px 0 18px;line-height:1.6}.check-turn{display:inline-flex;align-items:center;min-height:36px;padding:4px 10px;border:1px solid var(--chat-border);border-radius:8px;color:var(--chat-text);margin-left:6px;text-decoration:none}.check-turn:hover{background:var(--chat-panel)}
.phoenix-app .work-handoff,.phoenix-app .ocard,.phoenix-app .objhead{margin-left:50px}.phoenix-app .work-handoff{background:transparent;border-color:#303030;font-size:14px}.phoenix-app .ocard{background:#0a0a0a;border-color:#303030}.phoenix-app .objhead{font-size:12px}
.phoenix-app form.composer{position:relative;bottom:auto;padding:12px 24px max(20px,env(safe-area-inset-bottom));background:#000;flex:none;z-index:2}.phoenix-app .cwrap{max-width:760px}.phoenix-app .crow{background:#0a0a0a;border:1px solid #303030;border-radius:22px;padding:9px 14px;box-shadow:none;gap:12px;align-items:flex-end}.phoenix-app .crow:focus-within{border-color:#C9A96B}
.phoenix-app textarea{font:16px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-width:0;min-height:44px;max-height:160px;align-self:center;color:#f2f0ea;padding:9px 0;background:none;border:0;resize:none;flex:1}.phoenix-app textarea::placeholder{color:#999}
.phoenix-app textarea:focus-visible{outline:none}.phoenix-app .display-link{color:#bdbdbd;text-decoration:none!important;font-weight:400!important;min-height:40px;display:flex;align-items:center;padding:8px;border-radius:8px}.phoenix-app .display-link:hover{background:#171717;color:#f2f0ea}
.phoenix-app .send{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#C9A96B;color:#000;display:grid;place-items:center;font-size:24px;flex:none;cursor:pointer}.phoenix-app .send:disabled{opacity:.4;cursor:default}.phoenix-app .attach-btn{width:40px;min-height:44px;flex:none;padding:0;font-size:24px}
.phoenix-app .hints{padding:8px 4px 0;font-size:12px;align-items:center;gap:8px;display:flex;flex-wrap:wrap;justify-content:space-between}.phoenix-app .hints>span{color:#999}.phoenix-app details.opts{margin:0;font-size:12px}.phoenix-app details.opts summary{display:block;padding:8px 4px;min-height:34px}.phoenix-app details.opts label{min-height:40px}.phoenix-app details.opts select{background:#0a0a0a;color:#f2f0ea;padding:9px;border:1px solid #303030;border-radius:8px}
.composer-note{text-align:center;color:#999;font-size:12px;margin-top:8px!important;line-height:1.6}.model-notice{color:#999;font-size:12px;min-height:18px;line-height:1.6}.model-notice a{color:#C9A96B;text-decoration:underline}.copy-answer{background:none;color:#999;border:1px solid #303030;border-radius:7px;font-size:12px;margin-top:12px!important;padding:8px 12px!important;min-height:36px;cursor:pointer}.copy-answer:hover{color:#f2f0ea;background:#171717}.drawer-backdrop{display:none}.chat-title-mobile{display:none}
.guest-model{font-size:16px;font-weight:500;color:#f2f0ea}.guest-model span{font-size:12px;font-weight:400;color:#999;margin-left:8px}.chat-signin{font-size:14px;background:#C9A96B;color:#000!important;padding:10px 16px;border-radius:9px;min-height:40px;display:flex;align-items:center;margin-left:auto}
.guest-history{padding:12px;color:#999;font-size:14px;line-height:1.7}.guest-history p{margin:0 0 14px}.guest-history a{color:#f2f0ea;text-decoration:underline}.guest-rail-note{font-size:13px;color:#999;line-height:1.7;padding:12px;border-top:1px solid #303030}
.guest-pending{max-width:760px;margin:0 auto 24px;background:#0a0a0a;border:1px solid #303030;border-radius:14px;padding:18px}.guest-pending p{font-size:14px;line-height:1.7}.guest-pending blockquote{background:#171717;border-radius:12px;padding:14px;margin:12px 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:16px}.guest-pending a{display:inline-flex;color:#000;background:#C9A96B;border-radius:9px;padding:10px 14px;min-height:44px;margin-top:12px;font-size:14px}
.guest-composer .crow{align-items:center}.draft-clear{border:0;background:transparent;color:#999;padding:8px;font-size:12px;cursor:pointer;min-height:36px}.chat-entry-status{font-size:12px;color:#999;line-height:1.7;flex:1}.guest-composer .send{font-size:22px}
@media(max-width:1000px){.phoenix-app{grid-template-columns:236px minmax(0,1fr)}.phoenix-app .chat-head .title{display:none}.model-control{flex:1}.privacy-label{margin-left:auto}.phoenix-app .chat-head{padding:10px 18px}.phoenix-app #log{padding-left:24px;padding-right:24px}}
@media(max-width:760px){
 .phoenix-app{display:block}.close-navigation{display:block}.conversation-rail{position:fixed;left:0;top:0;bottom:0;width:min(300px,85vw);z-index:20;transform:translateX(-100%);visibility:hidden;transition:transform .18s ease,visibility .18s}.phoenix-app.sidebar-open .conversation-rail{transform:none;visibility:visible}.phoenix-app.sidebar-open .drawer-backdrop{display:block;position:fixed;inset:0;z-index:19;background:#000b;border:0}
 .phoenix-app .chat-head{min-height:64px;padding:8px 12px;gap:6px}.guest-model{flex:1}.model-control select{max-width:190px;width:100%;font-size:14px}.privacy-label{font-size:12px}.phoenix-app #log{padding:24px 16px}.phoenix-app #log:has(.chat-welcome){padding:16px 20px}.chat-welcome{padding:8px 0}.chat-welcome h1{font-size:28px}.welcome-copy{font-size:14px}.welcome-mark{width:32px;height:34px;margin-bottom:18px}.starter-prompts{margin-top:22px;gap:8px}.starter-prompts button{padding:12px;min-height:70px}.starter-prompts span{font-size:14px}.starter-prompts small{font-size:11px}
 .phoenix-app .msg .who{width:32px;font-size:11px}.phoenix-app .msg{gap:8px}.phoenix-app .msg.user{margin-left:32px}.phoenix-app .msg .body{font-size:16px}.phoenix-app .work-handoff,.phoenix-app .ocard,.phoenix-app .objhead{margin-left:0}.phoenix-app form.composer{padding:8px 12px max(12px,env(safe-area-inset-bottom))}.phoenix-app .crow{padding:10px 12px;gap:8px;border-radius:20px}.phoenix-app textarea{min-height:42px}.phoenix-app .attach-btn{width:28px}.phoenix-app .hints{gap:4px}.composer-note{font-size:11px}.phoenix-app .display-link{font-size:12px!important}.guest-model{font-size:14px}.guest-model span{display:none}.chat-signin{padding:10px 12px}.guest-pending{padding:14px}
}
@media(max-height:650px){.welcome-mark{display:none}.chat-welcome{padding:0}.starter-prompts{margin-top:16px}.starter-prompts small{display:none}.starter-prompts button{min-height:44px;padding:10px}.conversation-rail{overflow:auto}.rail-bottom{padding-top:8px}.composer-note{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


[data-chat-tools-menu]{position:relative;font-size:12px}[data-chat-tools-menu] summary{cursor:pointer;min-height:36px;padding:8px 12px;border:1px solid var(--chat-edge,#303030);border-radius:3px;color:var(--chat-dim,#999999)}[data-chat-tools-menu] .ct-menu{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}[data-chat-tools-menu] button,.chat-tool button{min-height:40px;border:1px solid var(--chat-edge,#303030);border-radius:3px;background:var(--chat-panel,#0a0a0a);color:var(--chat-text,#f2f0ea);font:inherit;padding:8px 12px;cursor:pointer}.chat-tool{--ct-text:var(--chat-text,#f2f0ea);--ct-line:var(--chat-edge,#303030);--ct-accent:var(--chat-accent,#c9a96b);--c-paper:var(--ct-text);--c-surface-2:var(--chat-panel,#0a0a0a);--c-surface-3:var(--ct-line);--c-muted:var(--chat-dim,#999999);--c-muted-2:var(--chat-dim,#999999);--c-gold:var(--ct-accent);--c-teal:#3ecfb6;--c-violet-soft:#a86cff;width:100%;min-width:0;border:1px solid var(--ct-line);border-radius:4px;padding:16px;margin:12px 0;font:13px/1.4 system-ui,sans-serif;color:var(--ct-text)}.ct-tool-mount{padding:0!important;background:transparent!important;overflow:visible!important;white-space:normal!important}.chat-tool>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-tool>header strong{font-size:17px;font-weight:500}.chat-tool>header button{font-size:11px;padding:6px 10px}.ct-summary{font-size:11px;color:var(--chat-dim,#999999);margin:8px 0 14px}.chat-tool [data-tool-body][hidden]{display:none}.chat-tool [data-tool-status]{font-size:12px;margin:10px 0 0;min-height:0;color:var(--chat-dim,#999999)}.chat-tool button:disabled{opacity:.45;cursor:default}.chat-tool button:focus-visible,.chat-tool input:focus-visible,.chat-tool select:focus-visible,.chat-tool textarea:focus-visible,.chat-tool [tabindex]:focus-visible{outline:2px solid var(--ct-accent);outline-offset:3px}.chat-tool footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.chat-tool footer [data-tool-action=share]{margin-left:auto;border-color:var(--ct-accent);color:var(--ct-accent)}.ct-preview{padding:18px;border:1px solid var(--ct-line);background:var(--chat-panel,#0a0a0a);margin:12px 0;min-height:180px;display:flex;align-items:center;justify-content:center;overflow:hidden}.ct-drawing{padding:0;min-height:0}.ct-drawing svg{display:block;width:100%;max-height:340px;aspect-ratio:3/2}.ct-selected-shape .s2-shape{stroke:var(--ct-text);stroke-width:3px;stroke-dasharray:10 6}.ct-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ct-fields label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px}.ct-fields textarea,.ct-fields input[type=text],.ct-fields select{box-sizing:border-box;width:100%;border:1px solid var(--ct-line);border-radius:3px;background:var(--chat-panel,#0a0a0a);color:var(--ct-text);font:inherit;min-height:40px;padding:8px}.ct-fields textarea{resize:vertical;line-height:1.5}.ct-fields input[type=range]{width:100%;min-height:26px;accent-color:var(--ct-accent)}.ct-fields input[type=color]{width:100%;min-height:40px;background:transparent;border:1px solid var(--ct-line)}.ct-fields output{font-size:11px;color:var(--chat-dim,#999999)}.ct-fields label:has(textarea){grid-column:1/-1}.ct-code{grid-template-columns:1fr}.ct-code textarea{font:12px/1.5 ui-monospace,monospace;tab-size:2}.ct-audio-score{width:100%;margin:12px 0;border:1px solid var(--ct-line);background:var(--chat-panel,#0a0a0a);cursor:crosshair}.ct-audio-score svg{width:100%;display:block;min-height:108px}.ct-audio-transport{display:flex;gap:8px;margin-bottom:12px}.ct-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ct-directions button{padding:10px;text-align:left;min-width:0}.ct-directions button[aria-pressed=true]{border-color:var(--ct-accent);box-shadow:inset 0 -2px var(--ct-accent)}.ct-directions button>span{display:flex;height:100px;overflow:hidden;margin-bottom:8px;pointer-events:none}.ct-directions strong{display:block;font-size:13px;font-weight:500}.ct-directions small{display:block;font-size:11px;line-height:1.4;margin-top:6px;color:var(--chat-dim,#999999)}.ct-action-result,.ct-action-error{margin:8px 0;font-size:12px;border-left:2px solid var(--ct-accent);padding:8px 12px}.ct-action-error{border-color:var(--chat-dim,#999999)}
@media(max-width:760px){.chat-tool{padding:12px}.ct-fields{grid-template-columns:1fr}.ct-directions button{padding:7px}.ct-directions button>span{height:68px}.ct-directions strong{font-size:12px}.ct-directions small{font-size:10px}.ct-preview{padding:12px}.chat-tool footer button{padding:8px 10px;font-size:12px}.chat-tool>header strong{font-size:16px}}

.mock{--accent:var(--c-gold);display:flex;width:100%;height:100%;min-height:104px;border:1px solid var(--c-surface-3);color:var(--c-paper);font-size:10px;pointer-events:none;overflow:hidden}.mock svg{width:100%;height:100%;max-height:280px}.mock.accent-teal{--accent:var(--c-teal)}.mock.accent-violet{--accent:var(--c-violet-soft)}.mock.illustration{border:0;min-height:220px}.option-image .mock.illustration{min-height:104px}.mock-sidebar{width:16%;padding:10px 6px;border-right:1px solid var(--c-surface-3);display:flex;flex-direction:column;gap:8px}.mock-sidebar i{display:block;height:4px;background:var(--c-surface-3)}.mock-sidebar i:first-child{background:var(--accent)}.mock-content{padding:14px;flex:1;min-width:0}.mock-title{color:var(--accent);font-weight:600;letter-spacing:.05em;margin-bottom:12px;font-size:12px}.mock-line{height:4px;background:var(--c-surface-3);margin:8px 0;width:65%}.mock-items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mock-item{border:1px solid var(--c-surface-3);height:42px;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:22px}.mock-item:first-child{border-color:var(--accent)}.mock-feature{font-size:58px;line-height:1.4;color:var(--accent);text-align:center;background:var(--c-surface-2);margin-bottom:12px}.mock.columns .mock-content{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}.mock.columns .mock-title{grid-column:1/-1}.mock.dense .mock-items{gap:4px;grid-template-columns:repeat(4,1fr)}.mock.spacious .mock-items{gap:12px;grid-template-columns:repeat(2,1fr)}.mock-bar{height:5px;background:var(--accent);margin:8px 0}.mock-heading{font-size:11px;color:var(--c-paper);margin:10px 0 4px}
.mock-item{flex-direction:column;height:52px;line-height:1.1}.mock-item small{font-size:10px;max-width:100%;padding:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.option-image .mock-item small{display:none}
.mock.dense .mock-content{padding:6px}.mock.spacious .mock-content{padding:18px}.mock.dense .mock-feature{font-size:36px}.mock.spacious .mock-feature{font-size:64px}
.ct-score-caption,.ct-tool-preparing{font:11px/1.5 system-ui,sans-serif;color:var(--chat-dim,#999999);margin:8px 0}.ct-closed-tool{border:1px solid var(--chat-edge,#303030);padding:12px;margin:12px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font:12px/1.5 system-ui,sans-serif}.ct-closed-tool span{color:var(--chat-dim,#999999);flex:1}.ct-closed-tool button{min-height:40px;background:transparent;border:1px solid var(--chat-edge,#303030);color:var(--chat-text,#f2f0ea);padding:6px 12px}
.chat-illustration{margin:16px 0;max-width:512px;border:1px solid var(--chat-border);border-radius:14px;overflow:hidden;background:var(--chat-panel)}
.chat-illustration img{display:block;width:100%;height:auto;max-height:512px;object-fit:contain;background:#f5f5f5}
.chat-illustration figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;font-size:12px;color:var(--chat-dim)}
.chat-illustration a,.chat-illustration summary,.chat-illustration button{display:inline-flex;align-items:center;min-height:44px;color:var(--chat-link);cursor:pointer}
.chat-illustration button{font:inherit;background:transparent;border:1px solid var(--chat-border);border-radius:8px;padding:0 12px}
.chat-illustration .illustration-status{padding:8px 14px;font-size:12px}
.chat-illustration details{padding:0 14px;border-top:1px solid var(--chat-border)}
.chat-illustration pre{max-height:240px;overflow:auto}
/* Chat predates the OS token system. Keep its structure, then recolor the
   operated surface from the viewer's effective pack (including System). */
body[data-style-effective="daylight"]{
  --chat-bg:#f7f5ef;--chat-panel:#fff;--chat-raise:#eeeae0;
  --chat-text:#171b1f;--chat-dim:#343b42;--chat-border:#6b665c;
  --chat-accent:#755100;--chat-link:#20569b;--chat-green:#175c44;
  --chat-coral:#9d242c;--chat-action-ink:#fff;
}
body[data-style-effective="contrast"]{
  --chat-bg:#000;--chat-panel:#000;--chat-raise:#171717;
  --chat-text:#fff;--chat-dim:#fff;--chat-border:#fff;
  --chat-accent:#ffdf54;--chat-link:#8bd6ff;--chat-green:#7dffbf;
  --chat-coral:#ff8f93;--chat-action-ink:#000;
}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]){background:var(--chat-bg);color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .chat-surface,
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .conversation-rail,
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app form.composer{
  background:var(--chat-bg);color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .chat-head{
  background:var(--chat-panel);border-color:var(--chat-border)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.chat-head .title,.privacy-label,.welcome-copy,.welcome-eyebrow,.starter-prompts small,.meta,.objhead,.hints,.hints>span,.composer-note,.model-notice,.history-heading,.history-empty,.conversation-history>a,.workspace-links a,.fuel-card p,.fuel-card>div>span,.account-link,.saved-work){color:var(--chat-dim)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .chat-welcome h1,
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.msg .body,.msg.user .body,.ocard .otitle,.phoenix-brand){color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.starter-prompts button,.msg.user .body,.msg .body pre,.msg .body code,.ocard,.crow,.fuel-card,.history-search input,.session-select,.model-control select option,.opts select,.account-avatar,.mobile-menu){
  background:var(--chat-panel);color:var(--chat-text);border-color:var(--chat-border)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.starter-prompts button:hover,.workspace-links a:hover,.workspace-links a[aria-current],.conversation-history>a:hover,.conversation-history>a[aria-current]){background:var(--chat-raise);color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.start-conversation,.conversation-rail,.workspace-links,.fuel-card,.work-handoff,.copy-answer,.hints kbd){border-color:var(--chat-border)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.model-control select,.textarea,.chat-surface textarea,.history-search input,.opts select){color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app textarea::placeholder,
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .history-search input::placeholder{color:var(--chat-dim)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.welcome-mark,.phoenix-mark,.fuel-card strong,.account-avatar,.mdh,.work-handoff a){color:var(--chat-accent)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.chat-surface a,.fuel-card>a,.model-notice a,.obj-link){color:var(--chat-link)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .msg.user .who{color:var(--chat-accent)!important}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .msg:not(.user) .who{color:var(--chat-link)!important}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .send{background:var(--chat-accent);color:var(--chat-action-ink)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .crow{box-shadow:0 8px 32px rgba(0,0,0,.09)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .guest-model{color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.guest-model span,.guest-history,.guest-rail-note,.workspace-explore,.chat-entry-status,.draft-clear,.close-navigation){color:var(--chat-dim)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .guest-history a{color:var(--chat-text)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .guest-pending{color:var(--chat-text);background:var(--chat-panel);border-color:var(--chat-border)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .guest-pending blockquote{background:var(--chat-raise)}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app :is(.chat-signin,.guest-pending a){background:var(--chat-accent);color:var(--chat-action-ink)!important}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .guest-rail-note{border-color:var(--chat-border)}
.phoenix-app .display-link{font-size:.75rem;font-weight:700;text-decoration:underline;white-space:nowrap}
body:is([data-style-effective="daylight"],[data-style-effective="contrast"]) .phoenix-app .display-link{color:var(--chat-link)}
@media(max-width:680px){.phoenix-app .display-link{font-size:.6875rem}}

.activity-toggle{display:flex;align-items:center;gap:7px;background:transparent;border:1px solid var(--chat-border);color:var(--chat-text);border-radius:9px;padding:8px 10px;min-height:40px;font-size:13px;cursor:pointer;white-space:nowrap}.model-control select{min-width:0}
.activity-toggle>span{color:var(--chat-dim);font-variant-numeric:tabular-nums}
.phoenix-app .chat-surface.activity-visible{display:grid;grid-template-columns:minmax(0,1fr) 308px;grid-template-rows:auto minmax(0,1fr) auto}
.activity-visible .chat-head{grid-column:1/-1;grid-row:1}.activity-visible #log{grid-column:1;grid-row:2;padding-left:max(24px,calc((100% - 760px)/2));padding-right:max(24px,calc((100% - 760px)/2))}.activity-visible .composer{grid-column:1;grid-row:3;min-width:0}.activity-visible>.sr-only{position:absolute}
.chat-activity{grid-column:2;grid-row:2/4;min-height:0;background:var(--chat-panel);color:var(--chat-text);border-left:1px solid var(--chat-border);display:flex;flex-direction:column;font-size:14px;line-height:1.6;overflow:hidden}
.activity-head{padding:20px 16px 12px;display:flex;gap:8px;justify-content:space-between}.activity-head h2{font-size:17px;font-weight:600;margin:0}.activity-head p{margin:4px 0 0;color:var(--chat-dim);font-size:13px}.activity-head button{background:transparent;color:inherit;border:0;min-width:40px;min-height:40px;font-size:24px;cursor:pointer}
.activity-tabs{display:flex;gap:4px;flex-wrap:wrap;padding:0 16px 12px}.activity-tabs button{border:1px solid transparent;border-radius:7px;background:transparent;color:var(--chat-dim);padding:8px;min-height:36px;cursor:pointer;font-size:13px}.activity-tabs button[aria-pressed=true]{background:var(--chat-bg);border-color:var(--chat-border);color:var(--chat-text)}
.activity-summary{padding:0 16px;margin:0 0 14px;font-size:13px;color:var(--chat-dim)}.activity-body{overflow:auto;min-height:0;flex:1;padding:0 16px 16px}.activity-empty{color:var(--chat-dim);margin:12px 0;line-height:1.8}.activity-timeline{list-style:none;padding:0;margin:0}.activity-step{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;position:relative;padding:0 0 22px}.activity-step:not(:last-child):before{content:'';position:absolute;left:10px;top:24px;bottom:2px;border-left:1px solid var(--chat-border)}
.activity-marker{width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--chat-border);border-radius:50%;font-size:13px;color:var(--chat-dim)}.activity-step[data-state=completed] .activity-marker{color:var(--chat-accent)}.activity-step[data-state=failed] .activity-marker{color:var(--chat-coral)}.activity-step-top{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--chat-dim);margin-bottom:4px}.activity-step-title{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere;line-height:1.6}.activity-step a.activity-step-title{text-decoration:underline;min-height:32px;padding-top:2px}.activity-step p{font-size:13px;margin:5px 0;color:var(--chat-dim);overflow-wrap:anywhere}.activity-step details{font-size:12px;color:var(--chat-dim)}.activity-step summary{min-height:32px;cursor:pointer;display:flex;align-items:center;gap:6px}.activity-step summary:before{content:'＋'}.activity-step details[open] summary:before{content:'−'}.activity-footer{padding:14px 16px;border-top:1px solid var(--chat-border);color:var(--chat-dim);font-size:12px;flex:none}.activity-backdrop{position:fixed;inset:0;right:min(360px,100vw);background:#0009;border:0;z-index:24}
.phoenix-app.activity-modal :is(#log,.composer,.chat-head,.conversation-rail){visibility:hidden}
@media(max-width:1100px){.chat-activity{position:fixed;right:0;top:0;bottom:0;width:min(360px,100vw);z-index:25;box-shadow:-16px 0 48px #0004}.phoenix-app .chat-head{gap:8px}.activity-toggle{padding:8px;font-size:13px}}
@media(max-width:760px){.activity-toggle{font-size:12px;min-width:42px}.activity-toggle>span{display:none}.phoenix-app .chat-head .privacy-label{display:none}.model-control select{max-width:152px!important}.activity-head{padding-top:16px}}

