/* AuAi / Orbita R5 - product maturation layer.
   Public profile names evolve without changing legacy runtime ids. */
:root{
  --aura-profile:var(--brand-sage);
  --aura-profile-2:#76A98A;
  --aura-profile-soft:color-mix(in srgb,var(--aura-profile) 11%,transparent);
  --aura-profile-halo:color-mix(in srgb,var(--aura-profile) 24%,transparent);
}
body[data-aura-level="direct"]{--aura-profile:var(--brand-sage);--aura-profile-2:#76A98A}
body[data-aura-level="balanced"]{--aura-profile:var(--brand-cyan);--aura-profile-2:#2A9AA5}
body[data-aura-level="deep"]{--aura-profile:var(--brand-violet);--aura-profile-2:#6B51D9}
body[data-aura-level="max"]{--aura-profile:var(--brand-gold);--aura-profile-2:#F4DE9E}

/* ---------- Landing / commercial voice ---------- */
.hero-floor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.depth-intro{max-width:650px}
.depth-intro .caption{display:block;font-size:16px;font-weight:620;color:var(--ui-text);margin-bottom:5px}
.depth-intro small{display:block;font-size:13px;line-height:1.5;color:var(--ui-muted)}
.depth-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.depth-btn{position:relative;overflow:hidden}
.depth-btn[data-level="balanced"][aria-pressed=true]{border-color:var(--brand-cyan);box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-cyan) 26%,transparent),0 0 24px color-mix(in srgb,var(--brand-cyan) 12%,transparent)}
.depth-btn[data-level="deep"][aria-pressed=true]{border-color:var(--brand-violet);box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-violet) 26%,transparent),0 0 24px color-mix(in srgb,var(--brand-violet) 12%,transparent)}
.depth-btn[data-level="max"][aria-pressed=true]{border-color:var(--brand-gold);box-shadow:0 0 0 1px color-mix(in srgb,var(--brand-gold) 28%,transparent),0 0 24px color-mix(in srgb,var(--brand-gold) 12%,transparent)}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.depth-cards .depth-card{min-height:205px;position:relative;overflow:hidden}
.depth-cards .depth-card:after{content:'';position:absolute;left:22px;right:22px;bottom:0;height:2px;background:var(--depth-accent,var(--brand-sage));opacity:.9;box-shadow:0 0 18px var(--depth-accent,var(--brand-sage))}
.depth-cards .depth-direct{--depth-accent:var(--brand-sage)}
.depth-cards .depth-balanced{--depth-accent:var(--brand-cyan)}
.depth-cards .depth-deep{--depth-accent:var(--brand-violet)}
.depth-cards .depth-max{--depth-accent:var(--brand-gold)}
.bolivia-band{background:linear-gradient(135deg,color-mix(in srgb,var(--brand-sage) 7%,var(--ui-bg)),var(--ui-bg) 56%)}
.bolivia-band p{max-width:700px;font-size:17px;line-height:1.65}

/* ---------- Header account control ---------- */
.account-control{min-height:46px;display:flex;align-items:center;gap:10px;border:1px solid var(--ui-border);border-radius:14px;background:color-mix(in srgb,var(--ui-panel) 90%,transparent);color:var(--ui-text);padding:6px 9px 6px 7px;text-align:left;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.account-control:hover{border-color:var(--ui-control);background:var(--ui-surface)}
.account-control:active{transform:translateY(1px)}
.account-control .avatar{flex:0 0 32px;width:32px;height:32px}
.account-copy{display:grid;line-height:1.05;min-width:0}
.account-copy strong{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:110px}
.account-copy small{font-size:10px;color:var(--ui-muted);margin-top:4px}
.account-control>.icon{width:15px;color:var(--ui-muted)}
.account-popover{display:grid;gap:8px;min-width:min(370px,calc(100vw - 38px))}
.account-popover-top{display:flex;align-items:center;gap:14px;padding:4px 2px 14px;border-bottom:1px solid var(--ui-border)}
.account-popover-top .avatar{width:46px;height:46px;font-size:14px}
.account-popover-top strong,.account-popover-top small{display:block}
.account-popover-top small{color:var(--ui-muted);margin-top:5px}
.account-popover-link{min-height:48px;border-radius:12px;padding:9px 11px;display:grid;grid-template-columns:24px 1fr 18px;gap:10px;align-items:center;color:var(--ui-text);text-decoration:none}
.account-popover-link:hover{background:var(--ui-surface)}
.account-popover-link .icon:last-child{width:15px;color:var(--ui-muted)}
.account-overview{display:grid;gap:18px}
.account-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:24px;border:1px solid var(--ui-border);border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--ui-action) 5%,var(--ui-panel)),var(--ui-panel))}
.account-identity{display:flex;gap:16px;align-items:center}.avatar.large{width:58px;height:58px;font-size:18px}.account-identity h2{margin:0 0 5px}.account-identity p{margin:0;color:var(--ui-muted)}
.account-plan{text-align:right}.account-plan strong,.account-plan span{display:block}.account-plan span{font-size:12px;color:var(--ui-muted);margin-top:4px}
.account-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.account-section{min-height:84px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;gap:12px;align-items:center;padding:15px 16px;border:1px solid var(--ui-border);border-radius:16px;text-decoration:none;color:var(--ui-text);background:var(--ui-panel)}.account-section:hover{background:var(--ui-surface);border-color:var(--ui-control)}.account-section>.icon:first-child{width:22px;color:var(--ui-action)}.account-section>.icon:last-child{width:15px;color:var(--ui-muted)}.account-section strong,.account-section small{display:block}.account-section small{color:var(--ui-muted);font-size:12px;margin-top:4px;line-height:1.35}

/* ---------- Immersive AURA page ---------- */
.route-aura{background:var(--ui-bg)}
.route-aura .chat-experience{position:relative;min-height:calc(100vh - 72px);isolation:isolate;transition:background .32s ease,color .2s ease}
.route-aura .chat-experience:before{content:'';position:fixed;z-index:-1;left:0;right:0;top:64px;height:430px;pointer-events:none;background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--aura-profile) 12%,transparent),transparent 62%);opacity:.8;transition:background .35s ease}
.route-aura .chat-top{border-bottom-color:color-mix(in srgb,var(--aura-profile) 26%,var(--ui-border));background:color-mix(in srgb,var(--ui-bg) 93%,var(--aura-profile) 7%);backdrop-filter:blur(16px)}
.route-aura .active-depth,.route-aura .profile-trigger{border-color:color-mix(in srgb,var(--aura-profile) 55%,var(--ui-control));background:color-mix(in srgb,var(--aura-profile) 8%,var(--ui-panel));color:var(--ui-text)}
.route-aura .active-depth .depth-dot,.route-aura .profile-trigger .depth-dot{background:var(--aura-profile);box-shadow:0 0 0 4px color-mix(in srgb,var(--aura-profile) 10%,transparent),0 0 14px color-mix(in srgb,var(--aura-profile) 42%,transparent)}
.route-aura .composer{border-color:color-mix(in srgb,var(--aura-profile) 37%,var(--ui-control));box-shadow:0 14px 50px color-mix(in srgb,var(--aura-profile) 7%,transparent);background:color-mix(in srgb,var(--ui-panel) 95%,var(--aura-profile) 5%)}
.route-aura .composer:focus-within{border-color:var(--aura-profile);box-shadow:0 0 0 2px color-mix(in srgb,var(--aura-profile) 15%,transparent),0 18px 55px color-mix(in srgb,var(--aura-profile) 10%,transparent)}
.route-aura .send{background:var(--aura-profile);border-color:var(--aura-profile);color:#101614}.route-aura[data-aura-level="deep"] .send,.route-aura[data-aura-level="max"] .send{color:#101014}
.route-aura .quick-prompt:hover{border-color:color-mix(in srgb,var(--aura-profile) 55%,var(--ui-control));background:color-mix(in srgb,var(--aura-profile) 7%,var(--ui-panel))}
.route-aura .welcome-orb{background:radial-gradient(ellipse,color-mix(in srgb,var(--aura-profile) 10%,var(--ui-surface)) 0,color-mix(in srgb,var(--aura-profile) 3%,transparent) 52%,transparent 76%);box-shadow:0 0 80px color-mix(in srgb,var(--aura-profile) 8%,transparent)}
.route-aura .message.assistant{border-left-color:color-mix(in srgb,var(--aura-profile) 30%,transparent)}
.route-aura .message-profile{color:color-mix(in srgb,var(--aura-profile) 78%,var(--ui-text))}
[data-theme=light] .route-aura .chat-experience:before{background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--aura-profile) 14%,#fff),transparent 62%);opacity:.55}
[data-theme=light] .route-aura .chat-top{background:color-mix(in srgb,var(--ui-bg) 91%,var(--aura-profile) 9%)}
[data-theme=light] .route-aura .composer{background:color-mix(in srgb,#fff 94%,var(--aura-profile) 6%)}

/* ---------- Collapsible conversation sidebar ---------- */
.chat-experience{display:block}.chat-shell{min-width:0;transition:margin-left .24s ease}.chat-shell.with-sidebar{margin-left:318px}
.chat-sidebar{position:fixed;left:0;top:var(--aura-sidebar-top,88px);bottom:0;width:318px;z-index:23;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;background:color-mix(in srgb,var(--ui-panel) 97%,var(--aura-profile) 3%);border-right:1px solid color-mix(in srgb,var(--aura-profile) 22%,var(--ui-border));transform:translateX(-101%);opacity:0;pointer-events:none;visibility:hidden;transition:transform .24s ease,opacity .2s ease,background .3s ease;box-shadow:20px 0 60px transparent}
.chat-sidebar.is-open{transform:translateX(0);opacity:1;pointer-events:auto;visibility:visible;box-shadow:20px 0 60px rgba(0,0,0,.08)}
.chat-sidebar-head{height:60px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--ui-border)}.sidebar-wordmark .brand-svg{width:85px;height:auto}.chat-sidebar-head .icon-btn{width:42px;height:42px}
.sidebar-new{margin:11px 12px 8px;min-height:44px;justify-content:flex-start;background:color-mix(in srgb,var(--aura-profile) 9%,var(--ui-surface));border-color:color-mix(in srgb,var(--aura-profile) 35%,var(--ui-border));color:var(--ui-text)}.sidebar-new:hover{border-color:var(--aura-profile);background:color-mix(in srgb,var(--aura-profile) 13%,var(--ui-surface))}
.sidebar-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:5px 9px 10px;border-bottom:1px solid var(--ui-border)}.sidebar-tabs button{min-width:0;min-height:46px;border:0;background:transparent;color:var(--ui-muted);border-radius:11px;padding:6px 2px;display:grid;place-items:center;gap:3px;font-size:9px;line-height:1}.sidebar-tabs button:nth-child(-n+2){grid-column:span 3;grid-template-columns:18px auto;place-content:center;gap:7px;font-size:10px}.sidebar-tabs button:nth-child(n+3){grid-column:span 2}.sidebar-tabs button .icon{width:18px;height:18px}.sidebar-tabs button:hover{background:var(--ui-surface);color:var(--ui-text)}.sidebar-tabs button.active{background:color-mix(in srgb,var(--aura-profile) 10%,var(--ui-surface));color:var(--ui-text);box-shadow:inset 0 -2px var(--aura-profile)}
.chat-sidebar-content{overflow:auto;padding:8px 9px 18px;min-height:0}.sidebar-conversation-list,.sidebar-project-list{display:grid;gap:3px}.sidebar-conversation,.sidebar-project{width:100%;min-height:58px;border:0;border-radius:12px;background:transparent;color:var(--ui-text);display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;align-items:center;text-align:left;padding:8px 10px;text-decoration:none;position:relative;overflow:hidden}.sidebar-project{grid-template-columns:12px minmax(0,1fr)}.sidebar-conversation:hover,.sidebar-project:hover{background:var(--ui-surface)}.sidebar-conversation strong,.sidebar-conversation small,.sidebar-project strong,.sidebar-project small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-conversation strong,.sidebar-project strong{font-size:13px;font-weight:540}.sidebar-conversation small,.sidebar-project small{font-size:10px;color:var(--ui-muted);margin-top:4px}.sidebar-conversation:after{content:'';position:absolute;inset:0;border-radius:12px;pointer-events:none;border:1px solid transparent}
.sidebar-conversation.conversation-profile-direct:after{border-color:color-mix(in srgb,var(--brand-sage) 15%,transparent)}
.sidebar-conversation.conversation-profile-balanced:after{border-color:color-mix(in srgb,var(--brand-cyan) 22%,transparent);box-shadow:inset 0 0 20px color-mix(in srgb,var(--brand-cyan) 4%,transparent)}
.sidebar-conversation.conversation-profile-deep:after{border-color:color-mix(in srgb,var(--brand-violet) 28%,transparent);box-shadow:inset 0 0 26px color-mix(in srgb,var(--brand-violet) 6%,transparent)}
.sidebar-conversation.conversation-profile-max:after{border-color:color-mix(in srgb,var(--brand-gold) 34%,transparent);box-shadow:inset 0 0 30px color-mix(in srgb,var(--brand-gold) 7%,transparent),0 0 14px color-mix(in srgb,var(--brand-gold) 5%,transparent)}
.sidebar-conversation .conversation-aura{width:24px;height:24px}
.sidebar-empty{min-height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:28px 16px;color:var(--ui-muted)}.sidebar-empty strong{color:var(--ui-text);font-size:14px}.sidebar-empty p{font-size:12px;line-height:1.5;margin:7px 0 16px}.sidebar-empty-orb{width:38px;height:25px;border:1px solid color-mix(in srgb,var(--aura-profile) 55%,var(--ui-border));border-radius:50%;transform:rotate(-16deg);margin-bottom:14px;position:relative}.sidebar-empty-orb:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:var(--aura-profile);left:55%;top:44%;box-shadow:0 0 10px var(--aura-profile)}
.sidebar-primary{width:100%;justify-content:center}.sidebar-capability{display:grid;gap:16px;padding:18px 10px}.sidebar-capability-head{display:flex;gap:12px}.sidebar-capability-icon{width:38px;height:38px;border:1px solid var(--ui-border);border-radius:12px;display:grid;place-items:center;color:var(--aura-profile);background:var(--ui-surface);flex:0 0 38px}.sidebar-capability-head strong{font-size:15px}.sidebar-capability-head p{font-size:12px;line-height:1.5;color:var(--ui-muted);margin:6px 0 0}
.chat-sidebar-foot{padding:9px 10px 12px;border-top:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-panel) 97%,transparent)}.sidebar-account{width:100%;min-height:52px;border:0;border-radius:13px;background:transparent;color:var(--ui-text);display:grid;grid-template-columns:34px minmax(0,1fr) 17px;gap:9px;align-items:center;text-align:left;padding:6px}.sidebar-account:hover{background:var(--ui-surface)}.sidebar-account strong,.sidebar-account small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-account strong{font-size:13px}.sidebar-account small{font-size:10px;color:var(--ui-muted);margin-top:3px}.sidebar-account>.icon{width:15px;color:var(--ui-muted)}
.chat-sidebar-scrim{display:none;position:fixed;top:var(--aura-sidebar-top,88px);right:0;bottom:0;left:0;background:rgba(0,0,0,.28);border:0;z-index:22}

/* ---------- Profile aura indicators ---------- */
.conversation-aura{width:30px;height:30px;position:relative;display:grid;place-items:center;flex:0 0 30px}
.conversation-aura:before,.conversation-aura:after{content:'';position:absolute;border-radius:50%;border:1px solid var(--aura-c,var(--brand-sage));transform:rotate(-20deg)}
.conversation-aura:before{width:24px;height:15px;opacity:.75}.conversation-aura:after{width:15px;height:9px;opacity:.42;transform:rotate(28deg)}.conversation-aura i{display:block;width:4px;height:4px;border-radius:50%;background:var(--aura-c,var(--brand-sage));box-shadow:0 0 10px var(--aura-c,var(--brand-sage))}
.conversation-aura.aura-direct{--aura-c:var(--brand-sage)}.conversation-aura.aura-balanced{--aura-c:var(--brand-cyan)}.conversation-aura.aura-deep{--aura-c:var(--brand-violet)}.conversation-aura.aura-max{--aura-c:var(--brand-gold)}
.conversation-aura.aura-balanced{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--brand-cyan) 18%,transparent))}.conversation-aura.aura-balanced i{box-shadow:0 0 8px var(--brand-cyan),7px -5px 0 -1.5px color-mix(in srgb,var(--brand-cyan) 58%,transparent)}.conversation-aura.aura-deep{filter:drop-shadow(0 0 6px color-mix(in srgb,var(--brand-violet) 24%,transparent))}.conversation-aura.aura-deep i{box-shadow:0 0 10px var(--brand-violet),7px -5px 0 -1.5px color-mix(in srgb,var(--brand-gold) 70%,transparent),-7px 5px 0 -1.5px color-mix(in srgb,var(--brand-violet) 62%,transparent)}.conversation-aura.aura-max{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--brand-gold) 30%,transparent))}.conversation-aura.aura-max i{box-shadow:0 0 12px var(--brand-gold),8px -5px 0 -1.5px color-mix(in srgb,var(--brand-gold) 72%,transparent),-7px 5px 0 -1.5px color-mix(in srgb,var(--brand-cyan) 50%,transparent),1px 9px 0 -1.6px color-mix(in srgb,var(--brand-violet) 55%,transparent)}
.conversation-main{grid-template-columns:auto minmax(0,1fr)}

/* ---------- Tooltips ---------- */
.tooltip-anchor{position:relative}.tooltip-anchor:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-3px);padding:6px 8px;border-radius:8px;background:#08110D;color:#F3EFE4;font-size:11px;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;z-index:60;box-shadow:0 8px 24px rgba(0,0,0,.18)}.tooltip-anchor:hover:after,.tooltip-anchor:focus-visible:after{opacity:1;transform:translate(-50%,0)}

/* ---------- Files: responsive master-detail ---------- */
.file-row-chevron{display:none;width:18px;color:var(--ui-muted)}.file-mobile-hint{display:none;margin:0 16px 12px;color:var(--ui-muted);font-size:12px;line-height:1.45}.mobile-file-sheet{display:grid;gap:18px}.mobile-file-sheet .file-detail{padding:0;background:transparent;overflow:visible}.mobile-file-sheet .file-detail-preview,.mobile-file-sheet .file-detail-empty{min-height:190px}.mobile-file-sheet .file-image-preview{min-height:180px}.mobile-file-sheet .file-metadata{margin:16px 0}.mobile-file-sheet .file-detail-actions{position:sticky;bottom:-1px;background:var(--ui-panel);padding:12px 0 2px}

/* ---------- Research: capability roadmap, no hidden AGI/ASI promises ---------- */
.research-r5 .research-hero{align-items:center}.research-r5 .research-hero h1{max-width:760px}.research-r5 .research-hero p{max-width:720px}.research-faculties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}.research-faculty{min-height:180px;padding:22px;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-panel);position:relative;overflow:hidden}.research-faculty:before{content:'';position:absolute;top:0;left:22px;width:44px;height:2px;background:var(--brand-sage);box-shadow:0 0 18px color-mix(in srgb,var(--brand-sage) 35%,transparent)}.research-faculty:nth-child(2):before,.research-faculty:nth-child(5):before{background:var(--brand-cyan);box-shadow:0 0 18px color-mix(in srgb,var(--brand-cyan) 35%,transparent)}.research-faculty:nth-child(3):before,.research-faculty:nth-child(6):before{background:var(--brand-violet);box-shadow:0 0 18px color-mix(in srgb,var(--brand-violet) 35%,transparent)}.research-faculty .icon{width:22px;color:var(--ui-action);margin-bottom:18px}.research-faculty h3{margin:0 0 8px;font-size:17px}.research-faculty p{font-size:13px;line-height:1.55;color:var(--ui-muted);margin:0}.research-principles{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}.research-principles>div{padding:20px;border-top:1px solid var(--ui-border)}.research-principles strong{display:block;margin-bottom:8px}.research-principles p{color:var(--ui-muted);font-size:13px;line-height:1.55}

/* ---------- Profile chooser ---------- */
.profile-depth-scale{display:grid;gap:8px}.profile-option{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:68px;padding:11px 12px;border:1px solid var(--ui-border);border-radius:14px;background:var(--ui-panel);color:var(--ui-text);text-align:left}.profile-option:hover{background:var(--ui-surface);border-color:var(--ui-control)}.profile-option[aria-pressed=true]{border-color:var(--profile-c,var(--brand-sage));box-shadow:0 0 0 1px color-mix(in srgb,var(--profile-c,var(--brand-sage)) 20%,transparent),inset 0 0 30px color-mix(in srgb,var(--profile-c,var(--brand-sage)) 5%,transparent)}.profile-option.direct{--profile-c:var(--brand-sage)}.profile-option.balanced{--profile-c:var(--brand-cyan)}.profile-option.deep{--profile-c:var(--brand-violet)}.profile-option.max{--profile-c:var(--brand-gold)}.profile-option .glyph{width:38px;height:26px;position:relative}.profile-option .glyph:before,.profile-option .glyph:after{content:'';position:absolute;border:1px solid var(--profile-c);border-radius:50%;left:3px;top:5px;width:31px;height:16px;transform:rotate(-17deg)}.profile-option .glyph:after{width:18px;height:9px;left:10px;top:8px;transform:rotate(26deg);opacity:.5}.profile-option .glyph i{position:absolute;width:4px;height:4px;border-radius:50%;background:var(--profile-c);left:19px;top:11px;box-shadow:0 0 10px var(--profile-c)}.profile-option strong,.profile-option small{display:block}.profile-option small{font-size:11px;color:var(--ui-muted);margin-top:4px;line-height:1.35}.profile-index{font:11px var(--font-data);color:var(--ui-muted)}

/* ---------- Motion: setting only ---------- */
body:not(.route-config) .motion{display:none!important}

@media(max-width:1100px){
 .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.research-faculties{grid-template-columns:repeat(2,minmax(0,1fr))}
 .account-copy{display:none}
}
@media(max-width:900px){
 .chat-shell.with-sidebar{margin-left:0}.chat-sidebar{width:min(340px,92vw);z-index:43}.chat-sidebar-scrim{display:block;z-index:42}
 .file-hub{grid-template-columns:1fr;min-height:0}.file-browser{border-right:0}.file-detail{display:none}.file-rows{max-height:none}.file-mobile-hint{display:block}.file-row{grid-template-columns:40px minmax(0,1fr) 20px}.file-row-date{display:none}.file-row-chevron{display:block}.file-hub-toolbar{grid-template-columns:minmax(0,1fr) 120px}.file-hub-toolbar #file-project{grid-column:1/-1}.mobile-file-sheet .file-detail{display:block}
 .research-principles{grid-template-columns:1fr}
}
@media(max-width:700px){
 .hero-floor{grid-template-columns:1fr}.depth-controls{justify-content:flex-start}.grid-4{grid-template-columns:1fr}.depth-cards .service-card{min-height:170px}
 .research-faculties{grid-template-columns:1fr}.account-sections{grid-template-columns:1fr}.account-card{grid-template-columns:1fr}.account-plan{text-align:left}
 .chat-sidebar{width:min(320px,94vw)}
}
@media(max-width:520px){
 .depth-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.depth-btn{justify-content:center}
 .file-hub-toolbar{grid-template-columns:1fr}.file-hub-toolbar #file-project{grid-column:auto}.file-row{padding:12px 13px;min-height:66px}.file-row-chevron{display:block}.file-mobile-hint{margin-inline:13px}.mobile-file-sheet .file-metadata{grid-template-columns:1fr 1fr}.mobile-file-sheet .file-detail-actions .btn{flex:1}
 .account-control{padding-right:7px}.account-control>.icon{display:none}
 .sidebar-tabs button span{font-size:8.5px}
}
@media(prefers-reduced-motion:reduce){.chat-shell,.chat-sidebar,.tooltip-anchor:after,.account-control{transition:none}}
@media(forced-colors:active){.sidebar-conversation:after{border-color:CanvasText}.conversation-aura:before,.conversation-aura:after{border-color:CanvasText}.conversation-aura i{background:CanvasText}.route-aura .composer{box-shadow:none}}

@media(max-width:900px){#modal:has(.mobile-file-sheet){width:min(100%,620px);max-width:100%;margin:auto auto 0;border-radius:22px 22px 0 0;max-height:min(88vh,760px);padding-bottom:max(16px,env(safe-area-inset-bottom));}#modal:has(.mobile-file-sheet)::backdrop{background:rgba(0,0,0,.38)}}
/* Tooltips in the compact chat header stay inside narrow viewports. */
.chat-top .chat-location .tooltip-anchor:after{left:0;right:auto;transform:translateY(-3px)}
.chat-top .chat-location .tooltip-anchor:hover:after,.chat-top .chat-location .tooltip-anchor:focus-visible:after{transform:translateY(0)}
.chat-top>.actions .tooltip-anchor:after{left:auto;right:0;transform:translateY(-3px)}
.chat-top>.actions .tooltip-anchor:hover:after,.chat-top>.actions .tooltip-anchor:focus-visible:after{transform:translateY(0)}
/* Narrow settings should reflow instead of preserving desktop intrinsic widths. */
.settings-layout,.settings-layout>.panel,.setting-row,.setting-row>div{min-width:0;max-width:100%}
@media(max-width:800px){.settings-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0}.settings-nav a{min-width:0;overflow-wrap:anywhere}.settings-layout>.panel{width:100%}.setting-row select{max-width:100%;width:min(100%,300px)}}
@media(max-width:420px){.settings-nav{grid-template-columns:1fr 1fr}.settings-nav a{padding:9px 8px;font-size:12px}.setting-row{align-items:flex-start}.setting-row select{width:100%}}
/* The sidebar also hosts the dual-theme AURA lockup; show only the active master. */
.sidebar-wordmark .light-logo{display:none}
[data-theme=light] .sidebar-wordmark .dark-logo{display:none}
[data-theme=light] .sidebar-wordmark .light-logo{display:block}

/* R5.1 / immersive AURA orb hotfix
   The welcome toroid must read as part of the room, never as a framed canvas. */
.route-aura .welcome-orb{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible;
  isolation:isolate;
}
.route-aura .welcome-orb:before{
  content:'';
  position:absolute;
  z-index:-1;
  pointer-events:none;
  inset:-42% -62%;
  background:radial-gradient(ellipse at center,
    color-mix(in srgb,var(--aura-profile) 13%,transparent) 0%,
    color-mix(in srgb,var(--aura-profile) 7%,transparent) 24%,
    color-mix(in srgb,var(--aura-profile) 2.5%,transparent) 48%,
    transparent 70%);
  filter:blur(18px);
  opacity:.82;
}
.route-aura .welcome-orb canvas{
  position:relative;
  z-index:1;
  background:transparent!important;
}
[data-theme=light] .route-aura .welcome-orb{
  background:transparent!important;
  box-shadow:none!important;
}
[data-theme=light] .route-aura .welcome-orb:before{
  background:radial-gradient(ellipse at center,
    color-mix(in srgb,var(--aura-profile) 10%,transparent) 0%,
    color-mix(in srgb,var(--aura-profile) 5%,transparent) 28%,
    transparent 68%);
  filter:blur(21px);
  opacity:.68;
}
