/* Navigation and settings share a clear hierarchy on phones and desktop. */
.workspace .workspace-entry,.workspace .model-picker-trigger{min-height:44px;padding:8px 9px;border:0;border-radius:9px;background:transparent;color:#505050;font-size:17px;font-weight:500;line-height:1.5;box-shadow:none}
.workspace .workspace-entry{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;white-space:nowrap}
.workspace .workspace-entry>svg{flex:none;color:#777}
.workspace .model-picker-trigger{flex-direction:column;align-items:flex-end;justify-content:center;gap:0;padding-top:3px;padding-bottom:3px;text-align:right}
.workspace .model-picker-label{font-size:12px;font-weight:400;line-height:16px;color:#858585}
.workspace .model-picker-name{max-width:100%;font-size:16px;line-height:22px;font-weight:500}
.workspace .workspace-entry:focus-visible,.workspace .model-picker-trigger:focus-visible{outline:2px solid #8397b4;outline-offset:2px}
@media(hover:hover){.workspace .workspace-entry:hover,.workspace .model-picker-trigger:hover{background:#f5f5f5}}
.workspace .workspace-entry:active,.workspace .model-picker-trigger:active{background:#f0f0f0}
.workspace .chat-header-left{flex:none;max-width:none}.workspace .model-control{min-width:0;max-width:calc(100% - 108px);margin-left:auto}.workspace .model-picker-trigger{max-width:100%}
.workspace .workspace-brand{margin-bottom:16px}.workspace .sidebar-balance{padding:0 13px 17px;margin-bottom:15px;border-bottom:1px solid #e6e8ed}
.sidebar-balance-label,.sidebar-balance-main,.sidebar-balance-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-balance-label{font-size:13px;color:#777;margin-bottom:5px}.sidebar-balance-main strong{font-size:25px;font-weight:650;letter-spacing:-.6px;overflow-wrap:anywhere;min-width:0}.balance-refresh{border:0;background:none;color:#777;font-size:13px;padding:7px 0 7px 10px}.sidebar-balance-actions{flex:none;gap:0}.workspace .sidebar-balance-actions .button{background:none;border:0;color:#4162a1;padding:7px;font-size:14px;min-height:38px}.workspace .new-task{box-shadow:none;margin-bottom:18px;min-height:46px;padding:10px 15px}.workspace .new-task:hover{box-shadow:none}
.sidebar-settings-label{flex:none;color:#4162a1;font-size:15px;font-weight:600}.workspace .user-trigger{min-height:56px}.workspace .sidebar-bottom-user{padding-bottom:env(safe-area-inset-bottom)}
.workspace .model-sheet{display:flex;flex-direction:column;overflow:hidden}.workspace .model-sheet:not([open]){display:none}.workspace .model-picker-list{min-height:0;overflow:auto;overscroll-behavior:contain}.model-sheet-heading{flex:none}.model-prices-entry{flex:none;width:100%;padding:15px 12px;margin-top:8px;border:0;border-top:1px solid #e9ebef;background:none;text-align:left;font-size:16px;font-weight:600;color:#315bc0}
.workspace .settings-screen{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fafbfc;color:#252b36;overflow:auto;box-sizing:border-box;overscroll-behavior:contain}
.settings-screen::backdrop{background:#fff}.settings-header{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:68px;padding:env(safe-area-inset-top) max(20px,env(safe-area-inset-right)) 0 max(20px,env(safe-area-inset-left));background:#fff;border-bottom:1px solid #e9ebef}.settings-header h2{font-size:19px;margin:0;font-weight:650}.settings-back{justify-self:start;min-height:44px;padding:8px 6px;border:0;background:none;color:#315bc0;font-size:17px}.settings-content{width:min(100% - 40px,620px);margin:28px auto;padding-bottom:calc(30px + env(safe-area-inset-bottom))}.settings-section{margin-bottom:26px}.settings-section h3{font-size:14px;color:#747d8b;font-weight:500;margin:0 0 10px;padding:0 3px}.settings-row{display:flex;align-items:center;gap:13px;width:100%;min-height:58px;padding:14px 16px;background:white;border:1px solid #eaedf2;border-bottom-width:0;color:#303847;font-size:16px;text-align:left}.settings-row:first-of-type{border-radius:14px 14px 0 0}.settings-row:last-of-type{border-bottom-width:1px;border-radius:0 0 14px 14px}.settings-row:only-of-type{border-radius:14px}.settings-row>svg{color:#70809b;flex:none}.settings-row>span:not(.settings-row-arrow){flex:1;min-width:0}.settings-row-arrow{font-size:22px;color:#a4acb8}.settings-row:hover{background:#f6f8ff}.settings-description{font-size:14px;line-height:1.7;color:#727b89;margin:0 3px 14px}.process-mode-options{display:flex;gap:5px;padding:5px;border:1px solid #e1e6ef;border-radius:13px;background:#edf0f5}.process-mode-options button{flex:1;min-height:44px;border:0;border-radius:9px;background:none;color:#747d8b;font-size:16px}.process-mode-options button[aria-pressed=true]{background:#fff;color:#315bc0;box-shadow:0 1px 5px #273b6312;font-weight:600}.settings-signout{width:100%;min-height:50px;border:0;border-radius:13px;background:#fff;color:#a35a57;font-size:16px}.workspace .profile-name-form{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid #e7e9ee}
@media(min-width:761px){.workspace .workspace-entry{display:none}.workspace .chat-header-left::after{content:'工作台';font-size:17px;font-weight:500;color:#505050}}
@media(max-width:760px){.workspace .chat-header{padding-left:12px;padding-right:12px;gap:12px}.workspace .workspace-entry{padding:8px 6px;font-size:16px}.workspace .model-picker-trigger{padding:3px 6px;font-size:16px}.workspace .model-control{max-width:calc(100% - 118px)}.workspace .task-sidebar{width:min(320px,88vw);padding-top:20px}.workspace .workspace-brand a{font-size:23px}.settings-content{width:calc(100% - 32px);margin-top:22px}.settings-header{min-height:62px}.workspace .sidebar-balance-main strong{font-size:26px}}
