/* Stable ChatGPT-style shell: the page never scales; only the conversation scrolls. */
html{width:100%;height:100%;overflow:hidden;scroll-behavior:auto;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{width:100%;height:100%;min-height:0;overflow:hidden;background-attachment:initial;overscroll-behavior:none}button,a,summary,.message,.voice-button{transform:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease!important}input,textarea{font-size:16px!important}*{max-width:100%}
.app-shell{width:100%;max-width:1600px;height:100dvh;min-height:0;margin:0 auto;padding:10px 14px max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:10px 14px;overflow:hidden}.topbar{grid-column:1/-1;grid-row:1;position:relative;top:auto;margin:0}.workspace-layout{display:contents}.identity-rail{grid-column:1;grid-row:2;position:relative;top:auto;height:100%;min-height:0;overflow-y:auto;border-radius:18px;padding:16px}.conversation-panel{grid-column:2;grid-row:2;height:100%;min-height:0;margin:0;padding:18px 22px;border-radius:20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.conversation{min-height:0!important;height:auto;max-height:none!important;margin:0;padding:16px 2px;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}.chat-composer{position:relative;bottom:auto;flex:0 0 auto;margin:0;padding:10px;border-radius:22px}.workspace-details{grid-column:1;grid-row:2;z-index:3;align-self:end;max-height:calc(100% - 260px);margin:0 8px 8px;border-radius:16px;overflow-y:auto}.workspace-details>summary{position:sticky;top:0;z-index:2;background:#0a1119}.workspace-details:not([open]){max-height:54px}.workspace-details[open]{max-height:calc(100% - 24px)}
@media(max-width:899px){.app-shell{height:100dvh;min-height:0;padding:max(6px,env(safe-area-inset-top)) 8px max(6px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:6px}.topbar{grid-column:1;grid-row:1;border-radius:14px;padding:5px 4px}.topbar .brand span,.desktop-system-label,.identity-rail{display:none!important}.workspace-layout{display:contents}.conversation-panel{grid-column:1;grid-row:2;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.conversation-head{padding:4px 4px 2px}.conversation-head h2{font-size:16px}.conversation{min-height:0!important;height:auto!important;padding:8px 3px 10px!important;overflow-y:auto!important}.message{max-width:92%}.chat-composer{position:relative;bottom:auto;padding:8px;border-radius:20px;background:#0b1116;box-shadow:0 -8px 26px rgba(0,0,0,.3)}.chat-composer .voice-row,.chat-composer .privacy-note{display:none}.text-form{grid-template-columns:auto minmax(0,1fr) auto;gap:7px}.text-form input{height:48px;padding:12px 14px}.workspace-details{position:fixed;z-index:50;left:8px;top:max(62px,calc(env(safe-area-inset-top) + 56px));bottom:max(8px,env(safe-area-inset-bottom));width:min(340px,calc(100vw - 16px));max-height:none;margin:0;transform:translateX(calc(-100% - 16px))!important;transition:transform .18s ease!important;overflow-y:auto;background:#080d11;box-shadow:20px 0 60px rgba(0,0,0,.62)}.workspace-details[open],.workspace-details:target{transform:translateX(0)!important}.workspace-details:not([open]){max-height:none}.workspace-details>summary{min-height:52px}.topbar .menu-button{display:grid}.brand strong{font-size:20px!important}.topbar{grid-template-columns:44px 1fr 44px}.icon-button{width:42px;height:42px}.topbar-actions{width:42px;height:42px}}
@supports not (height:100dvh){.app-shell{height:100vh}}
