.codex-chat-main{gap:10px}.codex-chat-body{flex:auto;min-height:0;display:block}.codex-chat-shell .is-empty-chat .studio-chat-scroll-region{flex:0 auto;margin-top:auto}.codex-chat-shell .is-empty-chat .studio-chat-body{padding-top:0;padding-bottom:0}.codex-chat-shell .is-empty-chat .studio-chat-empty{gap:10px;min-height:0;padding:12px 12px 18px}.codex-chat-shell .is-empty-chat .studio-chat-empty h2{margin:0;font-size:clamp(24px,2.5vw,32px);font-weight:600;line-height:1.3}.codex-chat-shell .is-empty-chat .studio-chat-empty p{color:var(--studio-muted);margin:0;font-size:14px;line-height:1.5}.codex-chat-shell .is-empty-chat .codex-composer-area{margin-bottom:auto}.codex-message-list{gap:24px;min-width:0;display:grid}.codex-conversation-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:40vw;color:var(--studio-muted);font-size:12px;overflow:hidden}.codex-turn{gap:16px;min-width:0;display:grid}.codex-turn .studio-chat-message-user-bubble{white-space:pre-wrap;overflow-wrap:anywhere}.codex-answer-stack{flex-direction:column;gap:14px;display:flex}.codex-answer-content{order:10;gap:12px;min-width:0;display:grid}.codex-answer-content:empty{display:none}.codex-progress-segment,.codex-elapsed{order:0;min-width:0}.codex-elapsed{color:var(--studio-muted);border-bottom:1px solid var(--studio-line);margin:0;padding:5px 0 10px;font-size:12px}.codex-progress{min-width:0}.codex-progress>summary,.codex-tool-group>summary{cursor:pointer;color:var(--studio-muted);align-items:center;gap:7px;width:fit-content;max-width:100%;padding:5px 0;font-size:12px;list-style:none;display:flex}.codex-progress>summary{border-bottom:1px solid var(--studio-line);width:100%;padding-bottom:10px}.codex-progress>summary::-webkit-details-marker{display:none}.codex-tool-group>summary::-webkit-details-marker{display:none}.codex-sources>summary::-webkit-details-marker{display:none}.codex-detail-chevron{flex-shrink:0;transition:transform .15s}.codex-progress[open]>summary>.codex-detail-chevron,.codex-tool-group[open]>summary>.codex-detail-chevron{transform:rotate(90deg)}.codex-progress-content{border-left:1px solid var(--studio-line);gap:14px;min-width:0;margin:9px 0 0 7px;padding:2px 0 2px 15px;display:grid}.codex-progress ol{color:var(--studio-muted);padding-left:20px;font-size:12px}.codex-tool{color:var(--studio-muted);align-items:center;gap:6px;padding:3px 0;font-size:12px;display:flex}.codex-tool>svg,.codex-tool-group svg{flex-shrink:0}.codex-tool-group{min-width:0}.codex-tool-group>summary{align-items:flex-start}.codex-tool-group>summary>svg{margin-top:2px}.codex-tool-entries{gap:6px;padding:8px 0 0 23px;display:grid}.codex-tool-entries>div{color:var(--studio-muted);align-items:center;gap:7px;font-size:12px;display:flex}.codex-tool.is-failed,.codex-tool-entries .is-failed{color:var(--ds-danger)}.codex-progress-waiting{color:var(--studio-muted);margin:0;font-size:12px}.codex-public-summary>span{color:var(--studio-muted);font-size:11px}.codex-turn-footer{color:var(--studio-muted);flex-wrap:wrap;order:40;align-items:center;gap:12px;font-size:11px;display:flex}.codex-turn-footer button,.codex-queued-label button,.codex-file-drafts button{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:4px;display:inline-flex}.codex-turn-footer button:hover{color:var(--studio-text)}.codex-turn-feedback{color:var(--studio-muted);order:40;align-items:center;gap:5px;margin:0;font-size:12px;display:inline-flex}.codex-turn-details{gap:14px;margin:0;display:grid}.codex-turn-details>div{grid-template-columns:minmax(80px,auto) minmax(0,1fr);gap:20px;font-size:13px;display:grid}.codex-turn-details dt{color:var(--ds-text-muted)}.codex-turn-details dd{text-align:right;overflow-wrap:anywhere;margin:0}.codex-queued-label{color:#d6b575;justify-content:flex-end;align-items:center;gap:8px;font-size:12px;display:flex}.codex-supplement{border-left:2px solid var(--ds-brand);white-space:pre-wrap;overflow-wrap:anywhere;background:#14c8df0d;border-radius:8px;justify-self:end;max-width:85%;padding:9px 12px}.codex-supplement>span{color:var(--studio-muted);font-size:11px}.codex-supplement p{margin:3px 0 0;font-size:13px}.codex-terminal-reason{color:var(--studio-muted);flex-wrap:wrap;align-items:flex-start;gap:7px;margin:0;font-size:12px;display:flex}.codex-terminal-reason>svg{flex:none;margin-top:2px}.codex-terminal-reason>span{flex:160px}.codex-terminal-reason.is-error{color:var(--ds-danger)}.codex-terminal-reason.is-uncertain{color:var(--ds-text-muted)}.codex-context-notice{color:var(--studio-muted);margin:0;font-size:12px}.codex-interaction{background:#14c8df0b;border:1px solid #14c8df66;border-radius:16px;gap:10px;padding:18px;display:grid}.codex-interaction h3{margin:0;font-size:15px}.codex-interaction p{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.codex-interaction pre{background:#0000002e;border-radius:8px;max-width:100%;padding:10px;font-size:12px;overflow-x:auto}.codex-interaction form{gap:16px;display:grid}.codex-interaction fieldset{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.codex-interaction legend{margin-bottom:10px;font-size:14px;line-height:1.6}.codex-question-options{gap:8px;display:grid}.codex-question-options label{border:1px solid var(--studio-line);cursor:pointer;border-radius:9px;align-items:flex-start;gap:10px;padding:10px;display:flex}.codex-question-options label:has(input:checked){border-color:var(--ds-brand);background:#14c8df14}.codex-question-options small{color:var(--studio-muted);margin-top:3px;font-size:12px;display:block}.codex-free-answer{gap:6px;font-size:12px;display:grid}.codex-free-answer input{border:1px solid var(--studio-line);width:100%;min-height:38px;color:var(--studio-text);background:#0000001a;border-radius:8px;padding:8px}.codex-approval-actions{flex-wrap:wrap;gap:8px;display:flex}.codex-composer-area{padding:0 max(0px, calc((100% - var(--studio-chat-content-width)) / 2)) 12px;flex:none;max-height:50dvh;overflow-y:auto}.codex-chat-shell .codex-composer-area .studio-prompt-composer-chat{width:100%;margin:0;position:relative;inset:auto;transform:none}.codex-composer-help{color:var(--studio-muted);flex-wrap:wrap;justify-content:space-between;gap:6px;margin:7px 8px 0;font-size:11px;line-height:1.6;display:flex}.codex-mode-select{color:var(--studio-muted);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:inline-flex}.codex-mode-select input{accent-color:var(--ds-brand)}.codex-inline-action{border:1px solid var(--studio-line);color:var(--studio-text);cursor:pointer;white-space:nowrap;background:#ffffff09;border-radius:20px;padding:7px 10px;font-size:12px}.codex-chat-shell button:disabled{cursor:default;opacity:.5}.codex-frozen-note,.codex-queue-count{color:var(--studio-muted);margin:6px 8px;font-size:11px}.codex-queue-count{color:#d6b575}.codex-scroll-bottom{border:1px solid var(--studio-line);background:var(--studio-bg);color:var(--studio-text);cursor:pointer;border-radius:24px;align-items:center;gap:5px;padding:8px 12px;font-size:12px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0003}.codex-history{position:relative}.codex-history-panel{z-index:30;border:1px solid var(--studio-line);background:var(--studio-bg);width:min(420px,100vw - 48px);max-height:min(530px,55dvh);color:var(--studio-text);border-radius:14px;flex-direction:column;gap:10px;padding:14px;display:flex;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 12px 42px #00000059}.codex-history-panel header{justify-content:space-between;align-items:center;display:flex}.codex-history-panel header button{color:var(--studio-muted);cursor:pointer;background:0 0;border:0;padding:4px}.codex-history-panel>label{border:1px solid var(--studio-line);border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.codex-history-panel input{width:100%;min-width:0;color:inherit;background:0 0;border:0;outline:none}.codex-history-panel .studio-chat-history-list{gap:5px;min-height:0;display:grid;overflow-y:auto}.codex-history-panel .studio-chat-history-item-main{text-align:left;color:var(--studio-text);cursor:pointer;background:0 0;border:0;border-radius:8px;gap:4px;padding:10px;display:grid}.codex-history-panel .studio-chat-history-item-main:hover,.codex-history-panel .is-active{background:#14c8df14}.codex-history-panel strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.codex-history-panel small,.codex-history-panel p{color:var(--studio-muted);font-size:12px}.codex-legacy-notice{color:var(--studio-muted);text-align:center;padding:12px;font-size:12px}.codex-legacy-notice button{color:var(--ds-brand);cursor:pointer;background:0 0;border:0;text-decoration:underline}.codex-legacy-file{flex-direction:column;gap:6px;max-width:240px;font-size:12px;display:inline-flex}.codex-legacy-file img{object-fit:contain;border-radius:9px;width:100%;max-height:200px}.codex-file-drafts{flex-wrap:wrap;gap:6px;padding:6px;display:flex}.codex-file-drafts>span{overflow-wrap:anywhere;border:1px solid var(--studio-line);border-radius:8px;align-items:center;gap:6px;max-width:100%;padding:5px 8px;font-size:12px;display:inline-flex}.codex-file-drafts>small{color:var(--studio-muted);flex-basis:100%;font-size:11px}@media (max-width:640px){.codex-chat-main{padding:12px 10px 0}.codex-conversation-title{max-width:32vw}.codex-history-panel{width:auto;position:fixed;top:100px;left:12px;right:12px}.codex-composer-area{max-height:55dvh;padding-bottom:max(10px, env(safe-area-inset-bottom))}.codex-chat-shell .studio-composer-rail{gap:6px}.codex-chat-shell .studio-composer-rail-leading{flex-wrap:wrap;gap:6px}.codex-chat-shell .studio-composer-actions{gap:5px}.codex-inline-action{padding:6px 8px;font-size:11px}.codex-mode-select{font-size:10px}.codex-turn{gap:12px}.codex-interaction{padding:12px}}.codex-file-draft,.codex-saved-file{border:1px solid var(--studio-line);border-radius:10px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:8px 10px;font-size:12px;display:flex}.codex-file-draft{flex:240px}.codex-saved-file{background:var(--studio-surface);margin:7px 0}.codex-file-draft>div,.codex-saved-file>div{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.codex-file-draft small,.codex-saved-file small{color:var(--studio-muted);font-size:11px}.codex-file-draft img{object-fit:contain;border-radius:5px;width:36px;height:36px}.codex-file-draft button,.codex-saved-file button,.codex-saved-file>a{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:5px;display:inline-flex}.codex-file-error{overflow-wrap:anywhere;font-size:12px;color:var(--ds-danger,#b54848)!important}.codex-file-backdrop{z-index:100;background:#0008;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.codex-file-preview{background:var(--studio-surface,#fff);width:min(850px,100%);max-height:85dvh;color:var(--studio-text);border-radius:14px;padding:20px;overflow:auto}.codex-file-preview header,.codex-file-preview nav{justify-content:space-between;align-items:center;gap:12px;display:flex}.codex-file-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 monospace}.codex-context-status{color:var(--text-muted,#737373);margin:6px 0;font-size:12px;line-height:1.6}.codex-edit-action{color:var(--studio-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:5px;font-size:12px;display:inline-flex}.codex-branch-editor{box-sizing:border-box;border:1px solid var(--studio-line);width:min(680px,100vw - 24px);max-height:calc(100dvh - 40px);color:var(--studio-text);background:var(--studio-bg);border-radius:16px;margin:auto;padding:20px;overflow:auto}.codex-branch-editor::backdrop{background:#0006}.codex-branch-editor header,.codex-branch-editor footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.codex-branch-editor header button{color:inherit;background:0 0;border:0}.codex-branch-editor p{font-size:13px;line-height:1.6}.codex-branch-editor textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--studio-line);width:100%;color:inherit;background:0 0;border-radius:8px;margin-top:6px;padding:10px;display:block}.codex-branch-editor fieldset{border:1px solid var(--studio-line);border-radius:8px;margin:12px 0;padding:10px}.codex-branch-editor fieldset label{align-items:flex-start;gap:8px;margin:6px 0;font-size:13px;display:flex}.codex-branch-editor fieldset span{white-space:pre-wrap;max-height:90px;overflow:auto}.codex-branch-editor footer{flex-wrap:wrap;margin-top:14px}.codex-branch-editor footer button{border:1px solid var(--studio-line);color:inherit;background:0 0;border-radius:7px;align-items:center;gap:5px;padding:8px 12px;display:inline-flex}.codex-branch-editor button:disabled{opacity:.5;cursor:default}@media (max-width:640px){.codex-branch-editor{padding:14px}}.codex-preferences{position:relative}.codex-preferences-trigger,.codex-preferences-panel button{color:var(--studio-muted);border:1px solid var(--studio-line);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:inline-flex}.codex-preferences-panel{z-index:40;top:var(--codex-preferences-top,72px);left:var(--codex-preferences-left,50vw);border:1px solid var(--studio-line);background:var(--studio-bg);width:min(360px,100vw - 32px);max-height:70dvh;color:var(--studio-text);border-radius:12px;padding:14px;position:fixed;right:auto;overflow:auto;box-shadow:0 14px 40px #0006}.codex-preferences-panel header,.codex-preferences-panel footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.codex-preferences-panel p{color:var(--studio-muted);margin:10px 0;font-size:12px;line-height:1.6}.codex-preferences-panel label{align-items:flex-start;gap:8px;padding:7px 0;font-size:13px;display:flex}.codex-preferences-panel label small{color:var(--studio-muted);font-size:11px;display:block}.codex-preferences-panel input{margin-top:3px}.codex-preferences-panel button:disabled{opacity:.5;cursor:default}.codex-sources{order:20;min-width:0}.codex-sources>summary{cursor:pointer;color:var(--studio-muted);align-items:center;gap:7px;width:fit-content;padding:5px 0;font-size:12px;list-style:none;display:flex}.codex-source-list{gap:7px;min-width:0;margin-top:8px;display:grid}.codex-source-list a,.codex-source-unavailable{border:1px solid var(--studio-line);background:var(--ds-surface-strong);color:var(--studio-text);overflow-wrap:anywhere;border-radius:10px;align-items:center;gap:10px;min-width:0;padding:9px 11px;text-decoration:none;display:flex}.codex-source-list svg{color:var(--studio-muted);flex:none}.codex-source-list a:hover{border-color:var(--ds-border-strong)}.codex-source-list a>span,.codex-source-unavailable>span{flex:1;gap:2px;min-width:0;display:grid}.codex-source-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;overflow:hidden}.codex-source-list small{color:var(--studio-muted);font-size:11px}.codex-source-list [data-source-status=failed] small{color:var(--ds-danger)}@media (pointer:coarse){.codex-turn-footer button,.codex-progress>summary,.codex-sources>summary{min-height:44px}}@media (prefers-reduced-motion:reduce){.codex-detail-chevron{transition:none}}@media (max-width:640px){.codex-preferences-trigger>span{display:none}.codex-preferences-panel{width:auto;position:fixed;top:100px;left:12px;right:12px}.codex-chat-shell .codex-new-label{display:none}.codex-chat-shell .studio-chat-new-button{gap:0;min-width:44px;padding-inline:10px}.codex-preferences-trigger{justify-content:center;min-width:36px;min-height:36px}}.codex-hover-actions{opacity:0;pointer-events:none;min-height:30px;transition:opacity .14s}.codex-message-actions-scope:hover>.codex-hover-actions,.codex-message-actions-scope:focus-within>.codex-hover-actions,.codex-message-actions-scope.is-action-open>.codex-hover-actions{opacity:1;pointer-events:auto}.codex-user-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.codex-user-actions button,.codex-turn-footer button{border-radius:7px;justify-content:center;width:30px;height:30px;padding:0}.codex-user-actions button:hover,.codex-turn-footer button:hover{background:var(--ds-surface)}.codex-user-actions button:focus-visible,.codex-turn-footer button:focus-visible,.codex-progress>summary:focus-visible,.codex-tool-group>summary:focus-visible,.codex-command>summary:focus-visible,.codex-sources>summary:focus-visible{outline:2px solid var(--ds-brand);outline-offset:3px;border-radius:7px}.codex-turn-footer{gap:6px}.codex-saved-files{flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;display:flex}.studio-chat-message-user-column>.codex-saved-files{justify-content:flex-end}.codex-saved-files>.codex-saved-file{flex:240px}.codex-saved-image,.codex-image-draft{flex:0 0 64px;width:64px;margin:0}.codex-image-tile{background:var(--ds-surface-raised);border-radius:9px;width:64px;height:64px;position:relative}.codex-image-tile .codex-image-preview{color:var(--ds-text-muted);cursor:pointer;border-radius:inherit;background:0 0;border:0;justify-content:center;align-items:center;width:100%;height:100%;padding:0;display:flex;overflow:hidden}.codex-image-preview:disabled{cursor:default}.codex-image-preview img{object-fit:contain;border-radius:inherit;width:100%;height:100%;display:block}.codex-image-placeholder{justify-items:center;gap:3px;font-size:11px;display:grid}.codex-image-placeholder>span{overflow-wrap:anywhere;max-width:60px}.codex-image-tile .codex-image-remove,.codex-image-tile .codex-image-reload{cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;padding:0;display:inline-flex}.codex-image-tile .codex-image-remove{z-index:3;background:var(--ds-text);color:var(--ds-bg);opacity:0;pointer-events:none;position:absolute;top:-5px;right:-5px}.codex-image-tile:hover .codex-image-remove,.codex-image-tile:focus-within .codex-image-remove{opacity:1;pointer-events:auto}.codex-image-tile .codex-image-reload{background:var(--ds-surface-strong);color:var(--ds-text);position:absolute;bottom:0;right:0}.codex-image-upload{border-radius:inherit;background:var(--ds-overlay);color:var(--ds-text);pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:10px;display:flex;position:absolute;inset:0}.codex-image-upload button{pointer-events:auto;background:var(--ds-surface-strong);color:var(--ds-text);cursor:pointer;border:0;border-radius:5px;justify-content:center;align-items:center;gap:2px;padding:3px;font-size:10px;display:flex}.codex-image-upload.is-failed>span:first-child{color:var(--ds-danger)}.codex-image-status{background:var(--ds-surface-strong);color:var(--ds-danger);border-radius:50%;padding:2px;display:inline-flex;position:absolute;bottom:3px;right:3px}.codex-image-full{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:65dvh;margin:auto;display:block}.codex-image-download{color:var(--ds-text);align-items:center;gap:6px;font-size:13px;display:inline-flex}@media (hover:none),(pointer:coarse){.codex-hover-actions{opacity:1;pointer-events:auto;min-height:44px}.codex-user-actions button,.codex-turn-footer button{width:44px;height:44px}.codex-image-tile .codex-image-remove{opacity:1;pointer-events:auto}.codex-image-remove:before{content:"";position:absolute;inset:-7px}}@media (prefers-reduced-motion:reduce){.codex-hover-actions{transition:none}}@keyframes codex-spinner-rotate{to{transform:rotate(360deg)}}.codex-chat-shell .is-spinning{transform-origin:50%;animation:1s linear infinite codex-spinner-rotate}.codex-chat-shell .codex-thinking{align-items:center;gap:7px;display:flex}@media (prefers-reduced-motion:reduce){.codex-chat-shell .is-spinning{animation:none}}.codex-chat-shell{--studio-chat-content-width:800px;background:var(--studio-bg)}.codex-chat-shell .codex-chat-main{background:var(--studio-bg)}.codex-chat-shell .codex-message-list{gap:42px}.codex-chat-shell .codex-turn{gap:38px}.codex-chat-shell .studio-chat-body{padding-left:max(12px, calc((100% - var(--studio-chat-content-width)) / 2))}.codex-chat-shell .studio-chat-message-user-column{width:min(70%,680px)}.codex-chat-shell .studio-chat-message-user-bubble{background:var(--studio-user-bubble,var(--ds-surface-strong));border-radius:22px;padding:14px 19px;font-size:15px;line-height:1.65}.codex-chat-shell .studio-chat-message-user-bubble:has(.studio-chat-markdown){white-space:normal}.codex-chat-shell .studio-chat-markdown-user{font-size:inherit;line-height:inherit}.codex-chat-shell .studio-chat-markdown-user p{white-space:normal;font-size:inherit;line-height:inherit}.codex-chat-shell .studio-chat-markdown-user>:last-child{margin-bottom:0}.codex-chat-shell .studio-chat-markdown-user a{color:var(--studio-link,var(--ds-brand))}.codex-chat-shell .codex-progress-content{border-left:0;gap:16px;margin:12px 0 0;padding:0}.codex-chat-shell .codex-progress>summary,.codex-chat-shell .codex-elapsed,.codex-chat-shell .codex-thinking{font-size:14px;font-weight:400}.codex-chat-shell .codex-thinking{color:var(--studio-muted);margin:0}.codex-chat-shell .codex-clock{color:var(--studio-muted);margin:6px 0 0;font-size:12px;font-weight:400;line-height:1.6;display:block}.codex-live-status .codex-thinking>svg{flex-shrink:0}.codex-chat-shell .codex-tool,.codex-chat-shell .codex-tool-group>summary,.codex-chat-shell .codex-progress-waiting{font-size:14px}.codex-chat-shell .codex-interaction-answer{justify-content:flex-end;margin:12px 0 22px;display:flex}.codex-chat-shell .codex-interaction-answer .studio-chat-message-user-bubble{white-space:pre-wrap;max-width:75%}.codex-chat-shell .codex-interaction{border:1px solid var(--studio-line);background:var(--ds-surface-strong);color:var(--studio-text);border-radius:22px;gap:16px;margin-bottom:8px;padding:16px 18px}.codex-chat-shell .codex-interaction-head,.codex-chat-shell .codex-interaction-head>span{align-items:center;gap:9px;display:flex}.codex-chat-shell .codex-interaction-head{color:var(--studio-muted);justify-content:space-between;font-size:13px}.codex-chat-shell .codex-interaction button{font:inherit;cursor:pointer}.codex-chat-shell .codex-interaction-head button{color:inherit;background:0 0;border:0;place-items:center;padding:4px;display:grid}.codex-chat-shell .codex-interaction-questions{gap:20px;max-height:32dvh;display:grid;overflow-y:auto}.codex-chat-shell .codex-interaction legend{margin-bottom:12px;font-size:14px;font-weight:600}.codex-chat-shell .codex-question-options{gap:3px}.codex-chat-shell .codex-question-options>button{text-align:left;width:100%;color:inherit;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;padding:8px;display:flex}.codex-chat-shell .codex-question-options>button:hover{background:var(--ds-surface)}.codex-chat-shell .codex-question-options>button[aria-checked=true]{background:var(--ds-surface-raised);border-color:var(--ds-border-strong)}.codex-chat-shell .codex-question-options kbd{border:1px solid var(--studio-line);background:var(--ds-surface);min-width:23px;height:23px;color:var(--studio-muted);font:inherit;border-radius:5px;place-items:center;font-size:12px;display:grid}.codex-chat-shell .codex-free-answer-trigger{color:var(--studio-muted);background:0 0;border:0;align-items:center;gap:10px;padding:8px;font-size:14px;display:flex}.codex-chat-shell .codex-interaction-actions{justify-content:flex-end;gap:9px;display:flex}.codex-chat-shell .codex-interaction-actions button,.codex-chat-shell .codex-approval-actions button{border:1px solid var(--studio-line);background:var(--ds-surface);color:inherit;border-radius:999px;padding:6px 13px}.codex-chat-shell .codex-interaction-actions .codex-interaction-send{background:var(--ds-text);color:var(--ds-surface-strong)}.codex-chat-shell .codex-interaction-status{color:var(--studio-muted);align-items:center;gap:8px;display:flex}.codex-chat-shell .codex-interaction-error{color:var(--ds-danger);font-size:13px}.codex-chat-shell .codex-interaction-error button{color:inherit;background:0 0;border:0;margin-left:10px;text-decoration:underline}.codex-chat-shell .codex-interaction-reopen{border:1px solid var(--studio-line);background:var(--ds-surface-strong);color:var(--studio-text);cursor:pointer;border-radius:14px;align-items:center;gap:9px;margin-bottom:8px;padding:10px 14px;display:flex}.codex-chat-shell .is-awaiting-input .codex-composer-area{max-height:65dvh}.codex-chat-shell .is-awaiting-input .codex-chat-composer .studio-composer-body,.codex-chat-shell .is-awaiting-input .codex-chat-composer .studio-prompt-input{min-height:0}.codex-chat-shell .is-awaiting-input .codex-chat-composer .studio-prompt-input{max-height:80px;padding:0 4px}.codex-chat-shell .is-awaiting-input.is-interaction-empty .studio-composer-body{display:none}.codex-chat-shell .codex-command{min-width:0;color:var(--studio-muted)}.codex-chat-shell .codex-command>summary{cursor:pointer;align-items:center;gap:7px;padding:4px 0;font-size:14px;list-style:none;display:flex}.codex-chat-shell .codex-command>summary::-webkit-details-marker{display:none}.codex-chat-shell .codex-command[open]>summary>.codex-detail-chevron{transform:rotate(90deg)}.codex-chat-shell .codex-command.is-failed>summary{color:var(--ds-danger)}.codex-chat-shell .codex-command-detail{border:1px solid var(--studio-line);background:var(--ds-surface);border-radius:14px;margin-top:10px;padding:12px 15px;overflow:hidden}.codex-chat-shell .codex-command-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;color:var(--studio-text);font-size:12px;line-height:1.6;overflow-y:auto}.codex-chat-shell .codex-command-detail p,.codex-chat-shell .codex-command-detail footer{font-size:12px}.codex-chat-shell .codex-command-detail footer{flex-wrap:wrap;gap:12px;display:flex}.codex-chat-shell .studio-chat-markdown-response .studio-chat-code-block:not(.is-compact){background:var(--ds-surface)}.codex-chat-shell .codex-table{width:fit-content;min-width:0;max-width:100%;position:relative}.codex-chat-shell .codex-table-actions{background:var(--studio-bg);gap:4px;display:flex;position:absolute;top:0;right:4px}.codex-chat-shell .codex-table-actions button{width:28px;height:28px;color:var(--studio-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.codex-chat-shell .codex-table-actions button:hover{color:var(--studio-text);background:var(--ds-surface-raised)}.codex-chat-shell .codex-table th:last-child{padding-right:70px}.codex-table-overlay{z-index:120;background:var(--studio-theme-overlay,#000a);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.codex-table-dialog{border:1px solid var(--ds-border-strong);background:var(--ds-surface-strong);width:min(1100px,100%);max-height:85dvh;color:var(--ds-text);border-radius:20px;padding:20px;overflow:auto}.codex-table-dialog>header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.codex-table-dialog button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:8px;display:grid}.codex-table-dialog table{border-collapse:collapse;width:100%;font-size:14px}.codex-table-dialog th,.codex-table-dialog td{border-bottom:1px solid var(--studio-line);text-align:left;padding:12px}@media (max-width:640px){.codex-chat-shell .codex-message-list{gap:28px}.codex-chat-shell .codex-turn{gap:25px}.codex-chat-shell .studio-chat-message-user-column{width:min(88%,680px)}.codex-chat-shell .studio-chat-message-user-bubble{border-radius:18px;padding:12px 15px}.codex-chat-shell .codex-interaction{border-radius:18px;padding:12px}.codex-chat-shell .codex-interaction-questions{max-height:28dvh}}.codex-plan li[data-status=in_progress]{color:var(--ds-text);font-weight:500}.codex-plan li[data-status=completed]>span{color:var(--ds-text-muted)}@supports (interpolate-size:allow-keywords){.codex-progress,.codex-command,.codex-tool-group{interpolate-size:allow-keywords}.codex-progress::details-content{opacity:0;block-size:0;transition:block-size .16s ease, opacity .16s ease, content-visibility .16s allow-discrete;overflow:clip}.codex-command::details-content{opacity:0;block-size:0;transition:block-size .16s ease, opacity .16s ease, content-visibility .16s allow-discrete;overflow:clip}.codex-tool-group::details-content{opacity:0;block-size:0;transition:block-size .16s ease, opacity .16s ease, content-visibility .16s allow-discrete;overflow:clip}.codex-progress[open]::details-content{opacity:1;block-size:auto}.codex-command[open]::details-content{opacity:1;block-size:auto}.codex-tool-group[open]::details-content{opacity:1;block-size:auto}}@media (prefers-reduced-motion:reduce){.codex-progress::details-content{transition:none}.codex-command::details-content{transition:none}.codex-tool-group::details-content{transition:none}}
.codex-chat-shell .codex-chat-composer{background:var(--ds-surface-strong);border-radius:22px}.codex-chat-shell .codex-chat-composer:focus-within{border-color:var(--ds-border-strong)}.codex-chat-shell .codex-chat-composer .studio-composer-main.is-chat{border-radius:inherit;grid-template-columns:minmax(0,1fr);grid-template-areas:"reference""prompt""rail";gap:5px;padding:10px 12px}.codex-chat-composer .codex-file-drafts{grid-area:reference;padding:0}.codex-chat-shell .codex-chat-composer .studio-composer-body,.codex-chat-shell .codex-chat-composer .studio-prompt-input{min-height:32px}.codex-chat-shell .codex-chat-composer .studio-prompt-input{overscroll-behavior:contain;scrollbar-width:thin;max-height:152px;padding:4px;font-size:15px;line-height:24px;display:block}.codex-chat-shell .codex-chat-composer .studio-composer-rail{flex-wrap:wrap;align-items:center;gap:5px}.codex-chat-shell .codex-chat-composer .studio-composer-rail-leading{flex:auto;gap:5px}.codex-chat-shell .codex-chat-composer .studio-composer-actions{align-items:center;gap:5px;margin-left:auto}.codex-composer-plus,.codex-context-trigger{color:var(--ds-text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.codex-composer-plus:hover,.codex-composer-plus[aria-expanded=true],.codex-context-trigger:hover{background:var(--ds-surface-hover);color:var(--ds-text)}.codex-context-trigger{width:26px}.codex-composer-plus,.codex-composer-menu>button{transition:background-color .16s,color .16s,transform .16s}.codex-composer-plus>svg{transition:transform .18s}.codex-composer-plus[aria-expanded=true]>svg{transform:rotate(45deg)}.codex-composer-menu>button:active:not(:disabled){transform:scale(.98)}.codex-chat-shell .codex-chat-composer.is-file-drag-active{border-color:var(--ds-border-strong)}.codex-file-drop-overlay{z-index:2;border:1px dashed var(--ds-border-strong);background:var(--ds-surface-strong);color:var(--ds-text);pointer-events:none;border-radius:18px;justify-content:center;align-items:center;gap:8px;padding:12px;font-size:14px;display:flex;position:absolute;inset:4px}.codex-file-drop-overlay>svg{flex-shrink:0}@media (prefers-reduced-motion:reduce){.codex-composer-plus,.codex-composer-plus>svg,.codex-composer-menu>button{transition:none}}.codex-context-ring{background:radial-gradient(closest-side, var(--ds-surface-strong) 60%, transparent 65%), conic-gradient(from -90deg, var(--ds-text-muted) var(--context-used), var(--ds-border) 0);border-radius:50%;width:14px;height:14px}.codex-context-ring.is-unknown{--context-used:0%}.codex-context-popover{z-index:70;pointer-events:none;text-align:center;background:var(--ds-surface-strong);color:var(--ds-text);border:1px solid var(--ds-border);border-radius:17px;gap:3px;padding:12px 15px;font-size:13px;display:grid;position:fixed;box-shadow:0 8px 30px #0003}.codex-context-popover strong,.codex-context-popover small{color:var(--ds-text-muted)}.codex-model-limits{border-top:1px solid var(--ds-border);gap:7px;margin:8px 0 0;padding-top:10px;display:grid}.codex-model-limits>div{justify-content:space-between;gap:12px;display:flex}.codex-model-limits dt{color:var(--ds-text-muted)}.codex-model-limits dd{text-align:right;margin:0}.codex-context-popover small{font-size:11px}.codex-chat-shell .studio-chat-model-picker-trigger.is-native{color:var(--ds-text);background:0 0;border:0;border-radius:24px;gap:5px;min-width:0;max-width:250px;min-height:34px;padding:7px 9px;font-size:14px;font-weight:400}.studio-chat-model-picker-trigger.is-native .studio-chat-model-trigger-name{flex:0 auto}.codex-chat-shell .studio-chat-model-picker-trigger.is-native:hover,.codex-chat-shell .studio-chat-model-picker-trigger.is-native[aria-expanded=true]{background:var(--ds-surface-hover)}.studio-chat-model-picker-trigger.is-native .studio-chat-effort-label{color:var(--ds-text-muted);font-size:inherit;font-weight:400}.codex-reasoning-options{padding:0}.codex-reasoning-options>p{color:var(--ds-text-muted);margin:7px 8px;font-size:12px}.codex-model-option{width:100%;color:var(--ds-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;padding:9px 10px;font-size:13px;display:flex}.codex-model-option:hover{background:var(--ds-surface)}.codex-model-option>span{gap:3px;display:grid}.codex-model-option small{color:var(--ds-text-muted);font-size:11px}.codex-research-chip{background:var(--ds-brand-soft);color:var(--ds-brand);cursor:pointer;white-space:nowrap;border:0;border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:inline-flex}.codex-chat-shell .codex-chat-composer .studio-submit-button{border-radius:50%;width:36px;min-width:36px;height:36px;padding:0}.codex-preferences-panel.is-composer{color:var(--ds-text);background:var(--ds-surface-strong);border-color:var(--ds-border);z-index:65;border-radius:22px;padding:10px;overflow-y:auto}.codex-preferences-panel.is-composer p,.codex-preferences-panel.is-composer small{color:var(--ds-text-muted)}.codex-preferences-panel.is-composer header button,.codex-preferences-panel.is-composer footer button{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;display:inline-flex}.codex-composer-menu{gap:4px;padding:2px;display:grid}.codex-composer-menu>button{min-height:44px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:13px;align-items:center;gap:10px;padding:11px 10px;font-size:14px;display:flex}.codex-composer-menu>button:hover{background:var(--ds-surface)}.codex-composer-menu>button>svg{flex-shrink:0}.codex-composer-plus:focus-visible,.codex-context-trigger:focus-visible,.codex-composer-menu>button:focus-visible,.codex-effort-reset:focus-visible,.codex-capsule-model:focus-visible,.codex-capsule-slider input:focus-visible{outline:2px solid var(--ds-brand);outline-offset:3px}.codex-composer-menu>button>span{flex:1;gap:3px;display:grid}.codex-composer-menu small{font-size:11px}.codex-composer-menu hr{border:0;border-top:1px solid var(--ds-border);margin:3px 6px}.codex-composer-menu button[aria-pressed=true]{color:var(--ds-brand)}@media (max-width:720px){.codex-chat-shell .codex-chat-composer .studio-composer-main.is-chat{padding:8px 9px}.codex-chat-shell .studio-chat-model-picker-trigger.is-native{max-width:min(190px,46vw);padding-inline:5px}.codex-chat-shell .codex-chat-composer .studio-composer-actions{gap:3px}.codex-chat-shell .codex-chat-composer .studio-prompt-input{max-height:104px;font-size:16px}.codex-preferences-panel.is-composer{right:auto}}@media (max-width:980px) and (max-height:500px){.codex-chat-shell .codex-chat-composer .studio-prompt-input{max-height:104px}}@media (pointer:coarse){.codex-composer-plus,.codex-context-trigger,.codex-chat-shell .codex-chat-composer .studio-submit-button{width:44px;height:44px}.codex-chat-shell .studio-chat-model-picker-trigger.is-native,.codex-composer-menu>button,.codex-model-option{min-height:44px}}.studio-chat-model-picker.is-capsule{--codex-effort-color:#3984f9;border-radius:16px;padding:10px 12px}.codex-capsule-heading{text-align:center;grid-template-columns:28px minmax(0,1fr) 28px;align-items:start;gap:4px;margin-bottom:10px;display:grid}.codex-effort-reset,.codex-capsule-model{color:var(--ds-text-muted);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:flex}.codex-effort-reset{border-radius:8px;width:28px;height:30px;padding:0}.codex-effort-reset:hover{background:var(--ds-surface)}.codex-capsule-model{border-radius:7px;grid-column:2;gap:1px;min-width:0;max-width:100%;min-height:40px;padding:1px 6px;transition:background-color .14s;display:grid}.codex-capsule-model:hover{background:var(--ds-surface-hover)}.codex-capsule-model>strong{color:var(--codex-effort-color);font-size:15px;font-weight:500;line-height:20px}.codex-capsule-model>span{white-space:nowrap;justify-content:center;align-items:center;gap:2px;font-size:12px;line-height:17px;display:flex;overflow:hidden}.codex-capsule-model>span>svg{flex-shrink:0}.codex-capsule-model>span>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.codex-capsule-slider{height:28px;position:relative}.codex-capsule-track{background:var(--ds-border-strong);border-radius:99px;position:absolute;inset:2px 0;overflow:hidden}.codex-capsule-fill{height:100%;width:var(--codex-effort-position);border-radius:inherit;background:var(--codex-effort-color);transition:width .15s cubic-bezier(.22,1,.36,1);display:block}.codex-capsule-dot{background:#fff6;border-radius:50%;width:4px;height:4px;position:absolute;top:50%;transform:translate(-50%,-50%)}.codex-capsule-thumb{z-index:1;top:0;left:var(--codex-effort-position);pointer-events:none;background:#fff;border-radius:50%;width:28px;height:28px;transition:left .15s cubic-bezier(.22,1,.36,1);position:absolute;transform:translate(-50%);box-shadow:0 1px 4px #0002}.codex-capsule-slider.is-dragging .codex-capsule-fill,.codex-capsule-slider.is-dragging .codex-capsule-thumb{transition:none}.codex-capsule-loading{background:var(--ds-border-strong);border-radius:99px;height:28px}.codex-capsule-slider input{appearance:none;opacity:0;z-index:2;cursor:pointer;touch-action:pan-y;width:100%;height:28px;margin:0;padding:0;display:block;position:relative}.codex-capsule-slider:has(input:focus-visible) .codex-capsule-thumb{outline:2px solid var(--ds-brand);outline-offset:2px}.codex-capsule-slider input::-webkit-slider-runnable-track{background:0 0;height:28px}.codex-capsule-slider input::-webkit-slider-thumb{appearance:none;background:#fff;border:0;border-radius:50%;width:28px;height:28px;box-shadow:0 1px 4px #0002}.codex-capsule-slider input::-moz-range-track{background:0 0;height:28px}.codex-capsule-slider input::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:28px;height:28px;box-shadow:0 1px 4px #0002}@media (prefers-reduced-motion:reduce){.codex-capsule-fill,.codex-capsule-thumb,.codex-capsule-model{transition:none}}@media (pointer:coarse){.codex-capsule-slider input{height:44px;position:absolute;top:-8px}.codex-capsule-model,.codex-effort-reset{min-height:44px}}.codex-reasoning-options .codex-fixed-effort{background:var(--ds-surface);border-radius:99px;justify-content:center;align-items:center;gap:6px;margin:0;padding:8px;display:flex}.codex-single-effort{background:var(--ds-surface-strong);color:var(--codex-effort-color);cursor:pointer;border:0;border-radius:6px;flex-shrink:0;padding:3px 6px;font-size:12px}
