/* Preserve the original layout, with color accents on existing shortcuts. */
body.workspace-mode .mode-pill[data-mode="life"]:not(.active){color:#147d76;background:#e8f6f3}
body.workspace-mode .mode-pill[data-mode="life"].active{background:#147d76;color:#fff}
body.workspace-mode .life-shortcuts [data-decision-type="travel"]{color:#096f82;border-color:#aed4db;background:#eef8fa;font-weight:600}
body.workspace-mode .life-shortcuts [data-decision-type="shopping"]{color:#a13c53;border-color:#ecc1cb;background:#fff1f4;font-weight:600}
body.workspace-mode .life-shortcuts [data-decision-type="travel"]:hover{background:#deeff3;border-color:#70aebc}
body.workspace-mode .life-shortcuts [data-decision-type="shopping"]:hover{background:#fbe0e7;border-color:#d68ca0}
body.workspace-mode a.workspace-nav-item[href="/decisions.html"]{color:#147d76}
.balance-notice{position:relative;padding-right:48px}
.balance-notice .balance-notice-close{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#8a6028;font-size:22px;line-height:1;cursor:pointer}
.balance-notice .balance-notice-close:hover{background:#f7ecd8}
.balance-notice .balance-notice-close:focus-visible{outline:2px solid #aa7939;outline-offset:2px}
.workspace-panel-toggle{position:fixed;top:14px;right:18px;z-index:45;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ddd8e9;border-radius:6px;background:#fff;color:#777087;cursor:pointer}
.workspace-panel-toggle:hover,.workspace-panel-toggle[aria-expanded="true"]{background:#eeebf7;color:#5a4a87;border-color:#c9bfdc}
.panel-expand-icon{position:relative;display:block;width:18px;height:15px;border:1.5px solid currentColor;border-radius:2px}
.panel-expand-icon::before{content:"";position:absolute;top:0;bottom:0;right:5px;border-left:1.5px solid currentColor}
.panel-expand-icon::after{content:"";position:absolute;left:3px;top:4px;width:4px;height:4px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.workspace-panel-toggle[aria-expanded="true"] .panel-expand-icon::after{transform:rotate(225deg);left:4px}
.workspace-right-panel{position:fixed;top:58px;right:14px;bottom:14px;z-index:40;display:flex;flex-direction:column;width:var(--workspace-content-width,460px);max-width:calc(100vw - 28px);overflow:hidden;overscroll-behavior:contain;padding:0 18px 18px;border:1px solid #dfe4e3;border-radius:8px;background:#fff;box-shadow:0 12px 40px #2d22351a;color:#414b49;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.workspace-right-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#fff;z-index:1;padding:15px 0 12px;border-bottom:1px solid #ece9f1}
.workspace-right-panel h2{margin:0;font-size:15px;font-weight:600;letter-spacing:0}
.workspace-right-panel>header>div{min-width:0}
.workspace-right-panel #panelTaskTitle{margin:3px 0 0;color:#8a9290;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}
.workspace-content-tabs{display:flex;flex:0 0 auto;gap:20px;border-bottom:1px solid #e8ecea;margin-bottom:14px}
.workspace-content-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:12px 0 9px;color:#7b8481;font:inherit;cursor:pointer}
.workspace-content-tabs button[aria-selected="true"]{border-bottom-color:#147d76;color:#147d76;font-weight:600}
#panelContentArea{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
.workspace-content-picker{display:flex;flex-direction:column;flex:0 0 auto;gap:5px;color:#7b8481;font-size:11px;margin:0 0 12px}
.workspace-content-picker select{width:100%;min-width:0;border:1px solid #e0e5e3;border-radius:5px;background:#f9faf9;padding:8px;color:#414b49;font:inherit;font-size:12px;overflow:hidden;text-overflow:ellipsis}
.workspace-content-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.workspace-content-toolbar strong{flex:1 0 100%;min-width:0;font-size:13px;font-weight:600}
.workspace-content-toolbar button,.workspace-content-toolbar a,.workspace-content-toolbar select{display:inline-flex;align-items:center;justify-content:center;min-height:30px;max-width:100%;border:1px solid #dde5e2;border-radius:5px;background:#fff;color:#48635b;padding:4px 8px;font:inherit;font-size:11px;text-decoration:none;cursor:pointer}
.workspace-content-toolbar button:hover,.workspace-content-toolbar a:hover{background:#eff6f3}
#panelContentNotice{flex:0 0 auto;margin:10px 0;color:#858e8a;font-size:11px;white-space:pre-wrap}
.workspace-content-empty{margin:40px 0;text-align:center;color:#909995;font-size:13px}
#panelContentText{min-height:0;flex:1;overflow:auto;padding:4px 2px 16px;font-size:13px;line-height:1.8;overscroll-behavior:contain}
#panelContentText pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Consolas,"Microsoft YaHei",monospace}
#panelContentText table{display:block;max-width:100%;overflow:auto}
#panelContentFrame{width:100%;min-height:160px;flex:1;border:1px solid #e4e8e6;border-radius:4px;background:#fff}
#workspacePanelClose{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:#777087;font-size:23px;cursor:pointer}
#workspacePanelClose:hover{background:#f1eef7}
.workspace-panel-backdrop{position:fixed;inset:0;z-index:38;border:0;background:#25203030;cursor:default}
.workspace-panel-toggle:focus-visible,.workspace-right-panel button:focus-visible,.workspace-right-panel a:focus-visible{outline:2px solid #a395bd;outline-offset:3px}
.workspace-panel-toggle[hidden],.workspace-right-panel[hidden],.workspace-panel-backdrop[hidden],.workspace-right-panel [hidden]{display:none!important}
@media(min-width:1100px){body.workspace-content-open{--workspace-content-width:min(42vw,620px)}body.workspace-mode.workspace-content-open #assistant{margin-right:calc(var(--workspace-content-width) + 28px)}.workspace-content-open .assistant-panel{padding-left:24px;padding-right:24px}.workspace-panel-backdrop{display:none}.workspace-right-panel{box-shadow:none}.workspace-content-open .code-grid,.workspace-content-open .code-task-panel form,.workspace-content-open .code-results-grid{grid-template-columns:minmax(0,1fr)}.workspace-content-open .code-task-panel{grid-column:auto}.workspace-content-open .code-project-actions{flex-wrap:wrap}.workspace-content-open .code-heading{flex-wrap:wrap}.workspace-content-open .balance-notice{margin-right:calc(var(--workspace-content-width) + 28px)}}
@media(min-width:1100px){body.workspace-mode.workspace-content-open .assistant-panel{padding-left:24px;padding-right:24px}.workspace-content-open .assistant-composer .composer-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}.workspace-content-open .composer-tools{flex:0 0 auto;flex-wrap:wrap;gap:0 8px}.workspace-content-open .composer-submit-actions{flex:0 0 auto;flex-wrap:wrap;max-width:100%}.workspace-content-open .composer-tools .chat-feature-button{flex-shrink:0}.workspace-content-open .code-heading h1{font-size:24px;line-height:1.4;letter-spacing:0}}
@media(max-width:760px){.workspace-panel-toggle{top:11px;right:14px}.workspace-right-panel{top:56px;right:8px;bottom:8px;width:460px;max-width:calc(100vw - 16px);padding:0 12px 12px}}
