/* Pierics design pass (v115): tab pages open in place, one glass material for the bars, calmer chat. */

/* Decks, Styles and Profile open in place over the chat (which keeps its scroll), under the same top bar,
   with the tab bar still on screen: one way to open, like a real tab bar. */
.tab-layer{position:absolute;inset:0;z-index:6;background:var(--bg);overflow:hidden auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:calc(var(--safe-top,0px) + 64px) 0 calc(var(--dock-h,96px) + 28px);animation:tabIn .34s var(--ease-glass,cubic-bezier(.22,1,.36,1)) both}
.tab-layer::-webkit-scrollbar{display:none}
@keyframes tabIn{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:none}}
.tab-page{max-width:720px;margin:0 auto;padding:0 calc(var(--safe-right,0px) + 18px) 0 calc(var(--safe-left,0px) + 18px)}
.tp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:2px 2px 14px}
.tp-head h1{margin:0;font-size:32px;line-height:1.08;font-weight:760;letter-spacing:-.025em;color:var(--text)}
.tp-body{padding:0 0 8px;min-width:0}
/* On a tab page the dock keeps only the tab bar, and the top bar only the account controls. */
:root.tab-on .composer-dock>:not(.tabbar){display:none!important}
:root.tab-on .topbar .group.grow>*{visibility:hidden;pointer-events:none}
/* the account controls stay flush right: hidden icon buttons take no room */
:root.tab-on .topbar .group:not(.grow)>.icon-btn{display:none}

/* The tab bar is the navigation until the sidebar appears (1200px), so a tab page always has a way back. */
@media (min-width:900px) and (max-width:1199.98px){.tabbar{display:flex!important}html.cl-open .pill-dock .tabbar{display:none!important}}
/* The home screen under a tab page stops animating. */
:root.tab-on .home *{animation-play-state:paused!important}

/* Chat: the answer reads like Claude's: body size, calm line height, full text colour. */
.a-reply{font-size:16px!important;line-height:1.56!important;color:var(--text)}

/* Top bar: the sign-in pill is ink like the send button, without the heavy drop shadow of a floating card. */
.signin-pill{box-shadow:inset 0 1px #ffffff30,0 1px 2px #0d0e1229!important}

@media (prefers-reduced-motion:reduce){.tab-layer{animation:none}}
