/* The same navigation and page frame on every route. */ :root { --shell-header-height:76px; } html { scrollbar-gutter:stable; } body.site-page { width:100%; max-width:none; margin:0; padding:0; background:var(--canvas); } .shell-header { position:sticky; top:0; z-index:60; flex-shrink:0; height:var(--shell-header-height); display:grid; grid-template-columns:220px minmax(0,1fr) auto; align-items:center; gap:24px; padding:0 32px; border-bottom:1px solid var(--border); background:var(--surface); } .shell-header a { text-decoration:none; } .shell-brand { display:flex; align-items:center; gap:10px; color:var(--text); font:700 25px var(--font-heading); letter-spacing:-1px; width:fit-content; } .shell-brand .logo { width:28px; height:34px; flex-shrink:0; } .shell-nav { display:flex; align-items:center; gap:4px; height:100%; min-width:0; } .shell-nav a { position:relative; display:flex; align-items:center; padding:0 14px; height:100%; color:var(--text-soft); font-size:.9rem; white-space:nowrap; } .shell-nav a:hover { color:var(--text); background:var(--surface-soft); } .shell-nav a[aria-current="page"] { color:var(--brand-strong); } .shell-nav a[aria-current="page"]::after { content:""; position:absolute; left:14px; right:14px; bottom:0; height:3px; background:var(--brand); } .shell-account { display:flex; align-items:center; justify-content:flex-end; gap:16px; min-width:0; font-size:.85rem; } .shell-account > a:not(.primary-action) { color:var(--text-soft); } .shell-account > a[aria-current] { text-decoration:underline; text-underline-offset:5px; } .shell-account .primary-action { min-height:38px; padding:9px 14px; font-size:.8rem; } .shell-username { max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-soft); } .shell-header .shell-sign-out { min-height:36px; padding:6px 10px; border:1px solid var(--border); border-radius:9px; background:transparent; font-size:.8rem; white-space:nowrap; } .shell-notice { position:fixed; top:var(--shell-header-height); right:16px; padding:12px 18px; background:var(--danger-soft); color:var(--danger); border:1px solid var(--danger); border-radius:8px; z-index:100; } .site-page .page-content { width:min(1320px,100%); margin:0 auto; padding:40px 32px; min-width:0; min-height:0; } .site-page .page-content > h1,.site-page .market-header h1 { font-size:clamp(1.8rem,3vw,2.5rem); } .site-page .settings-shell,.site-page .market-shell { border:0; border-radius:0; box-shadow:none; background:transparent; } .site-page .settings-layout { grid-template-columns:180px minmax(0,1fr); } .site-page .settings-nav { top:calc(var(--shell-header-height) + 18px); } .site-page .settings-nav[hidden] { display:none; } .site-page .market-header { padding:0 0 16px; border-bottom:1px solid var(--border); } .site-page .market-header .eyebrow { margin-bottom:8px; } .skip-link { position:absolute; left:-9999px; }.skip-link:focus { left:20px; top:10px; padding:8px; background:var(--surface); z-index:200; } /* Chat history is a contextual panel beneath the global navigation. */ .chat-page { height:100dvh; overflow:hidden; } .chat-page .app-shell { width:100%; margin:0; } .chat-page .chat-card { height:calc(100dvh - var(--shell-header-height)); min-height:0; border:0; border-radius:0; box-shadow:none; } .chat-page .chat-layout { grid-template-columns:260px minmax(0,1fr); } .chat-page .chat-sidebar { position:static; inset:auto; width:auto; transform:none; box-shadow:none; grid-template-rows:auto minmax(0,1fr); padding:24px 18px; gap:20px; } .chat-page .chat-sidebar-backdrop { display:none; } .chat-page .sidebar-workspace-card { gap:16px; border:0; padding:0; } .chat-page .sidebar-workspace-card h2 { margin:0; font-size:.85rem; letter-spacing:0; font-family:var(--font-body); color:var(--text-soft); } .chat-page .chat-main { grid-template-rows:auto minmax(0,1fr) auto; } .chat-heading { min-width:0; } .chat-heading #workspaceNotice { margin:0; padding:10px 24px; border-width:0 0 1px; border-radius:0; font-size:.85rem; } .chat-page .chat-header { min-height:76px; } @media(max-width:1100px) { .shell-header { grid-template-columns:170px minmax(0,1fr) auto; gap:12px; padding:0 24px; }.shell-nav a { padding:0 10px; }.shell-username { max-width:90px; } } @media(max-width:980px) { .chat-page .chat-layout { grid-template-columns:1fr; } .chat-page .chat-sidebar { position:fixed; inset:var(--shell-header-height) auto 0 0; width:min(320px,88vw); z-index:80; transform:translateX(-104%); box-shadow:var(--shadow-lg); } .chat-page.sidebar-open .chat-sidebar { transform:translateX(0); } .chat-page .chat-sidebar-backdrop:not([hidden]) { display:block; position:fixed; inset:var(--shell-header-height) 0 0; z-index:79; width:100%; height:auto; padding:0; border:0; border-radius:0; background:rgba(0,0,0,.45); } .chat-page .sidebar-toggle { display:inline-flex; width:auto; min-width:0; padding:8px 12px; font-size:.8rem; border-radius:10px; } .site-page .settings-layout { grid-template-columns:1fr; } .site-page .settings-nav { display:flex; flex-wrap:wrap; } } @media(max-width:850px) { :root { --shell-header-height:112px; } .shell-header { grid-template-columns:1fr auto; grid-template-rows:64px 48px; gap:0 16px; padding:0 16px; } .shell-brand { font-size:23px; }.shell-nav { grid-column:1/-1; grid-row:2; overflow-x:auto; scrollbar-width:none; }.shell-nav::-webkit-scrollbar { display:none; }.shell-nav a { padding:0 8px; flex-shrink:0; font-size:.8rem; }.shell-nav a:first-child { padding-left:0; }.shell-nav a:first-child::after { left:0; } .shell-account { grid-column:2; grid-row:1; gap:12px; }.shell-username { max-width:90px; font-size:.8rem; } .site-page .page-content { padding:28px 20px; } } @media(max-width:600px) { .shell-username { display:none; }.shell-brand { font-size:21px; }.shell-brand .logo { width:25px; height:30px; }.shell-account { gap:10px; } .site-page .page-content { padding:24px 16px; }.site-page .settings-layout { grid-template-columns:1fr; } .site-page .settings-nav { display:flex; gap:8px; flex-wrap:wrap; }.site-page .settings-nav[hidden] { display:none; } .site-page .market-header { align-items:center; } } .site-page.legal-page { display:block; min-height:100dvh; } .site-page .legal-content { margin:32px auto; box-shadow:none; } @media(max-width:360px) { .shell-brand { font-size:18px; gap:6px; }.shell-brand .logo { width:20px; height:26px; } .shell-account { gap:8px; font-size:.75rem; }.shell-account .primary-action { padding:8px 10px; font-size:.7rem; } }