/* TERA Coding Space v7.0.0 · canonical premium shell.
   Applies to every Research workspace page and the Administration control plane (loaded by
   assets/studio-core.js) and to the sign-in pages (linked by pages/login and pages/admin-login).
   Desktop widths only (from 921px); the canonical phone layout below 921px is unchanged.

   Design rules for this project:
     1. All text is at least 18px.
     2. No em-dashes in product text.
     3. The TERA foundation stays visible on every page:
          Trustworthiness · Efficiency · Reliability · Accountability
          Capable Without AI, Stronger With It.
     4. The footer is a status bar carrying © 2024–2026 TeraSystemsAI LLC. All Rights Reserved.
        and the live version; the ⓘ button opens the complete institutional footer. */

:root{
  --ide-bar-h:52px;          /* TERA foundation bar */
  --ide-tool-h:58px;         /* ecosystem toolbar */
  --ide-status-h:44px;       /* footer status bar */
  --ide-ctl-h:40px;          /* standard control height */
  --ide-radius:12px;
  --ide-gap:10px;
  --ide-ui:18px;             /* minimum text size, everywhere */
  --ide-code:18px;           /* editor text */
  --ide-mono:"Cascadia Code","JetBrains Mono","Fira Code",Consolas,"SFMono-Regular",Menlo,monospace;
  --ide-navy:#0e2542;
  --ide-navy2:#14365d;
  --ide-gold:#e2bf6a;
  --ide-on-navy:#eef4fb;
  --ide-link-on-navy:#bcd6f2;
}

@media (min-width:921px){

/* ─────────────────────────────── Shell grid ─────────────────────────────── */
html body.research-shell-body{
  display:grid!important;height:100dvh!important;overflow:hidden!important;
  grid-template-rows:auto minmax(0,1fr) 0 var(--ide-status-h)!important;
}
html body.research-shell-body>.footer-splitter{display:none!important}
/* The status bar already carries the identity and philosophy; the sidebar gives that room to navigation. */
html body.research-shell-body .studio-sidebar .sidebar-footer{display:none!important}
html body.research-shell-body .studio-sidebar{grid-template-rows:auto minmax(0,1fr)!important}

/* ─────────────────────── Header: TERA foundation bar ─────────────────────── */
html body.research-shell-body .app-header.tera-canonical .brand-strip{
  display:flex!important;align-items:center!important;gap:28px!important;max-width:none!important;
  min-height:var(--ide-bar-h)!important;height:var(--ide-bar-h)!important;margin:0!important;padding:0 20px!important;
  background:linear-gradient(90deg,var(--ide-navy),var(--ide-navy2) 55%,#1c3252)!important;
  border-bottom:2px solid var(--ide-gold)!important;color:var(--ide-on-navy)!important;overflow:hidden!important;
}
html body.research-shell-body .brand-strip>*{min-height:0!important;height:auto!important;padding:0!important;border:0!important;background:none!important}
html body.research-shell-body .brand-strip .brand-block{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;flex:0 0 auto!important;color:#fff!important;text-decoration:none!important}
html body.research-shell-body .brand-strip .tera-mark{width:32px!important;height:32px!important;min-width:32px!important;font-size:18px!important;line-height:1!important;border-width:1.5px!important;display:grid!important;place-items:center!important}
html body.research-shell-body .brand-strip .brand-block>span:last-child{display:flex!important;align-items:baseline!important;gap:10px!important;white-space:nowrap!important}
html body.research-shell-body .brand-strip .brand-block strong{font-size:19px!important;line-height:1!important;color:#fff!important;letter-spacing:.01em!important}
html body.research-shell-body .brand-strip .brand-block :is(small,em){display:none!important}
html body.research-shell-body .brand-strip .principles{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;flex:1 1 0!important;justify-content:center!important;min-width:0!important;white-space:nowrap!important}
html body.research-shell-body .brand-strip .principles .tera-wordmark{font-size:19px!important;letter-spacing:.16em!important;line-height:1!important;color:var(--ide-gold)!important}
html body.research-shell-body .brand-strip .principles strong{font-size:18px!important;line-height:1!important;font-weight:650!important;color:var(--ide-on-navy)!important}
html body.research-shell-body .brand-strip .principles span{display:none!important}
html body.research-shell-body .brand-strip .proof-line{display:flex!important;flex-direction:row!important;align-items:center!important;flex:0 0 auto!important;justify-content:flex-end!important;white-space:nowrap!important;height:auto!important}
html body.research-shell-body .brand-strip .proof-line strong{display:block!important;white-space:nowrap!important;font-size:18px!important;line-height:1!important;font-style:italic!important;color:var(--ide-gold)!important;font-weight:600!important}
html body.research-shell-body .brand-strip .proof-line strong br{display:none!important}
html body.research-shell-body .brand-strip .proof-line strong::after{content:none!important}
html body.research-shell-body .brand-strip .proof-line>span{display:none!important}

/* ─────────────────────────── Ecosystem toolbar: one row ─────────────────────────── */
html body.research-shell-body .ecosystem-toolbar{min-height:var(--ide-tool-h)!important;height:var(--ide-tool-h)!important;padding:0 16px!important;gap:10px!important;flex-wrap:nowrap!important;row-gap:0!important;font-size:18px!important}
html body.research-shell-body .ecosystem-toolbar>*,
html body.research-shell-body .ecosystem-toolbar .user-controls>*{min-height:0!important;padding-block:0!important;margin-block:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html body.research-shell-body .ecosystem-toolbar .user-controls{margin-left:auto!important;gap:8px!important;flex-wrap:nowrap!important;align-items:center!important;padding:0!important;min-height:0!important}
html body.research-shell-body .ecosystem-toolbar :is(button,summary,select,.iconbtn,.seg-btn,.system-chip){min-height:var(--ide-ctl-h)!important;height:var(--ide-ctl-h)!important;padding-block:0!important;line-height:1!important}
html body.research-shell-body .ecosystem-toolbar :is(.iconbtn:not(.compact-search):not(.history-btn),summary:not(.system-chip),select){padding-inline:14px!important}
html body.research-shell-body .ecosystem-toolbar .segmented{padding:3px!important;height:46px!important;align-items:center!important;border-radius:12px!important}
html body.research-shell-body .ecosystem-toolbar .seg-btn{height:38px!important;min-height:38px!important;padding-inline:14px!important;border-radius:9px!important}
html body.research-shell-body .ecosystem-toolbar .workbench-id strong{white-space:nowrap!important}
html body.research-shell-body .ecosystem-toolbar .history-btn{width:40px!important;padding:0!important}
html body.research-shell-body .ecosystem-toolbar>details,
html body.research-shell-body .ecosystem-toolbar .user-controls>details{display:flex!important;align-items:center!important;height:46px!important}
html body.research-shell-body .ecosystem-toolbar details>summary{display:inline-flex!important;align-items:center!important;margin:0!important}
html body.research-shell-body .identity-summary{min-height:46px!important;height:46px!important;padding:2px 12px!important}
html body.research-shell-body .identity-summary .identity-summary-text{line-height:1.15!important}
html body.research-shell-body .identity-summary .identity-summary-text :is(strong,small){font-size:18px!important}
html body.research-shell-body .identity-summary .identity-summary-text small{display:none!important}
html body.research-shell-body .system-time-summary{padding-inline:10px!important}
html body.research-shell-body .ecosystem-toolbar :is(button,summary,select,.iconbtn,.seg-btn,.system-chip,span,strong,label,a){font-size:18px!important}

/* ─────────── Institutional footer as a status bar (all surfaces) ─────────── */
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *){
  height:var(--ide-status-h)!important;min-height:var(--ide-status-h)!important;max-height:var(--ide-status-h)!important;
  overflow:hidden!important;padding:0!important;margin:0!important;border:0!important;z-index:80!important;position:relative!important;
  background:linear-gradient(90deg,var(--ide-navy),var(--ide-navy2))!important;color:var(--ide-on-navy)!important;
  border-top:2px solid color-mix(in srgb,var(--ide-gold) 70%,transparent)!important;
}
html body.research-shell-body>.tera-institutional-footer{grid-row:4!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-main{
  display:flex!important;align-items:center!important;gap:24px!important;height:calc(var(--ide-status-h) - 2px)!important;min-height:0!important;
  padding:0 20px!important;margin:0!important;max-width:none!important;grid-template-columns:none!important;
  background:none!important;border:0!important;overflow:hidden!important;white-space:nowrap!important;
}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-main>*{padding:0!important;margin:0!important;border:0!important;background:none!important;min-height:0!important;height:100%!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity{display:flex!important;align-items:center!important;gap:12px!important;flex:0 0 auto!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-mark{flex:0 0 26px!important;width:26px!important;height:26px!important;min-width:26px!important;font:700 18px/1 Georgia,serif!important;display:grid!important;place-items:center!important;border-width:1px!important;box-shadow:none!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity>div{display:flex!important;align-items:baseline!important;gap:14px!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity strong{font:700 18px/1 Inter,"Segoe UI",sans-serif!important;color:#fff!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity div>span{display:inline!important;font-size:18px!important;font-style:italic!important;color:var(--ide-gold)!important;line-height:1!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity div>span span{display:inline!important;font:inherit!important;color:inherit!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity small{display:none!important}
/* Principles already lead the foundation bar at the top of every page. */
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-principles{display:none!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-main>.tera-footer-legal{margin-left:auto!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal{display:flex!important;flex-direction:row!important;align-items:center!important;gap:20px!important;flex:0 1 auto!important;min-width:0!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal nav{display:flex!important;align-items:center!important;gap:20px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important;height:100%!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal nav a{display:inline-flex!important;align-items:center!important;height:auto!important;font-size:18px!important;color:var(--ide-link-on-navy)!important;min-height:0!important;padding:0!important;line-height:1!important;text-decoration:none!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal nav a:hover{color:#fff!important;text-decoration:underline!important;text-underline-offset:4px!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal>small{
  display:inline-flex!important;align-items:center!important;height:100%!important;padding-left:20px!important;order:2!important;
  border-left:1px solid rgba(226,191,106,.4)!important;font-size:18px!important;line-height:1!important;color:var(--ide-on-navy)!important;
}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal>span{font-size:18px!important;color:var(--ide-gold)!important;font-variant-numeric:tabular-nums!important;order:3!important;font-weight:600!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal>.ide-footer-toggle{order:4!important}
html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) :is(.tera-footer-lower,.save-state){display:none!important}

html[data-theme="dark"] body.research-shell-body .brand-strip{background:linear-gradient(90deg,#0a1627,#10233c 55%,#172b44)!important}
html[data-theme="dark"] body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *){background:linear-gradient(90deg,#0a1627,#10233c)!important}

/* ───────────────────────── Sign-in pages: one screen ───────────────────────── */
html body.auth-entry-page{height:100dvh!important;overflow:hidden!important;margin:0!important}
html body.auth-entry-page>.auth-entry{display:grid!important;grid-template-rows:auto minmax(0,1fr) var(--ide-status-h)!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
html body.auth-entry-page .auth-topbar{min-height:66px!important;height:66px!important;padding:0 32px!important;align-items:center!important}
html body.auth-entry-page .auth-topbar .auth-corporate-wordmark{font-size:28px!important;line-height:1!important}
html body.auth-entry-page .auth-topbar .auth-corporate-meta span{font-size:18px!important}
html body.auth-entry-page .auth-topbar .auth-trustline{gap:2px!important;align-content:center!important}
html body.auth-entry-page .auth-topbar .auth-trustline :is(strong,span){font-size:18px!important;line-height:1.2!important}
html body.auth-entry-page .auth-topbar .auth-trustline span{display:none!important}
html body.auth-entry-page .auth-topbar .auth-segment{height:46px!important;padding:3px!important;align-items:center!important}
html body.auth-entry-page .auth-topbar .auth-seg-btn{height:38px!important;min-height:38px!important;padding:0 14px!important;font-size:18px!important}
html body.auth-entry-page .auth-topbar .auth-proof :is(span,strong){font-size:18px!important;line-height:1.2!important}
html body.auth-entry-page .auth-stage{min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:center!important;padding:20px 0!important}
html body.auth-entry-page .auth-shell{height:auto!important;min-height:0!important;max-height:none!important;align-self:center!important;margin-block:0!important;width:min(1120px,calc(100vw - 80px))!important}
html body.auth-entry-page .auth-brand-panel{padding:30px 34px!important;justify-content:space-between!important;gap:24px!important;min-height:0!important}
html body.auth-entry-page .auth-brand-main{min-height:0!important}
html body.auth-entry-page .auth-brand-symbols{margin-bottom:14px!important}
html body.auth-entry-page .auth-brand-symbols .auth-brand-t{width:48px!important;height:48px!important;font-size:24px!important}
html body.auth-entry-page .auth-brand-panel h1{font-size:42px!important;line-height:1.05!important;margin:0 0 8px!important}
html body.auth-entry-page .auth-brand-subtitle{font-size:18px!important;margin:0 0 16px!important}
html body.auth-entry-page .auth-capabilities{gap:6px!important;margin:0!important}
html body.auth-entry-page .auth-capabilities li{min-height:0!important;font-size:18px!important;line-height:1.35!important;padding-block:3px!important}
html body.auth-entry-page .auth-brand-foot{margin:0!important;padding-top:0!important}
html body.auth-entry-page .auth-brand-motto{font-size:22px!important;line-height:1.3!important;margin:0 0 10px!important}
html body.auth-entry-page .auth-brand-principles{font-size:18px!important;line-height:1.45!important;padding-top:12px!important;margin:0 0 6px!important}
html body.auth-entry-page .auth-brand-company{font-size:18px!important}
html body.auth-entry-page .auth-card{padding:28px 40px!important;justify-content:center!important;min-height:0!important;gap:0!important}
html body.auth-entry-page .auth-card .eyebrow{font-size:18px!important;padding:5px 14px!important;min-height:0!important;align-self:flex-start!important}
html body.auth-entry-page .auth-card h2{font-size:34px!important;line-height:1.12!important;margin:14px 0 8px!important}
html body.auth-entry-page .auth-card .auth-lead{font-size:18px!important;line-height:1.5!important;margin:0 0 18px!important}
html body.auth-entry-page .auth-card .auth-bootstrap-label{margin-bottom:8px!important}
html body.auth-entry-page .auth-card .auth-bootstrap-label span{font-size:18px!important;line-height:1.3!important}
html body.auth-entry-page .auth-card .auth-access-field{gap:6px!important;margin:0 0 14px!important}
html body.auth-entry-page .auth-card .auth-access-field label{font-size:18px!important}
html body.auth-entry-page .auth-card .auth-access-field input{height:50px!important;min-height:50px!important;font-size:18px!important}
html body.auth-entry-page .auth-card .auth-access-field small{font-size:18px!important;line-height:1.35!important}
html body.auth-entry-page .auth-card #signInBtn,
html body.auth-entry-page .auth-card button[type="submit"]{height:52px!important;min-height:52px!important;margin-top:4px!important;font-size:18px!important}
html body.auth-entry-page .auth-card .auth-security-note{margin:16px 0 0!important;padding:12px 16px!important}
html body.auth-entry-page .auth-card .auth-security-note :is(span,div,strong){font-size:18px!important;line-height:1.45!important}
html body.auth-entry-page .auth-card .auth-production-note{margin:16px 0 0!important;padding-top:14px!important}
html body.auth-entry-page .auth-card .auth-production-note :is(span,strong){font-size:18px!important;line-height:1.45!important}
html body.auth-entry-page .auth-institutional-footer:not(.ide-footer-panel *){grid-row:3!important}
html body.auth-entry-page .auth-stage{padding:28px 0!important}
html body.auth-entry-page .auth-hero-wing img{width:100%!important;height:100%!important;object-fit:contain!important}
html body.auth-entry-page .auth-hero-wing-left img{object-position:0% 50%!important}
html body.auth-entry-page .auth-hero-wing-right img{object-position:100% 50%!important}

/* ─────────────── Administration control plane: one screen ─────────────── */
html body.control-plane-body{display:grid!important;grid-template-rows:auto minmax(0,1fr) var(--ide-status-h)!important;height:100dvh!important;overflow:hidden!important}
html body.control-plane-body>.control-header{position:relative!important;top:auto!important;min-height:66px!important;height:66px!important;padding:0 20px!important;gap:20px!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;overflow:visible!important}
html body.control-plane-body .control-brand{gap:12px!important;align-items:center!important;min-width:0!important}
html body.control-plane-body .control-brand>span:first-child{width:40px!important;height:40px!important;min-width:40px!important;font-size:20px!important}
html body.control-plane-body .control-brand>div{display:flex!important;align-items:baseline!important;gap:12px!important;line-height:1.1!important;white-space:nowrap!important}
html body.control-plane-body .control-brand>div>*{font-size:18px!important;line-height:1.1!important}
html body.control-plane-body .control-brand strong{font-size:21px!important}
html body.control-plane-body .control-brand>div>:is(small){display:none!important}
html body.control-plane-body .control-brand>div>:not(small):not(strong){opacity:.85!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body.control-plane-body .control-wordmark{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:12px!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}
html body.control-plane-body .control-wordmark>*{font-size:18px!important;line-height:1.1!important;margin:0!important}
html body.control-plane-body .control-wordmark>:first-child{font-size:21px!important;letter-spacing:.14em!important;color:var(--ide-gold)!important}
html body.control-plane-body .control-header .top-actions{flex-wrap:nowrap!important;gap:10px!important;align-items:center!important;height:66px!important}
html body.control-plane-body .control-header .top-actions>*{margin:0!important}
html body.control-plane-body .control-header :is(button,summary,.btn,.system-chip){min-height:var(--ide-ctl-h)!important;height:var(--ide-ctl-h)!important;padding-block:0!important;font-size:18px!important;line-height:1!important}
html body.control-plane-body .control-header :is(span,strong,small,b,a){font-size:18px!important}
html body.control-plane-body .control-header .segmented{height:46px!important;padding:3px!important;align-items:center!important}
html body.control-plane-body .control-header .seg-btn{height:38px!important;min-height:38px!important}
html body.control-plane-body .control-header details{display:flex!important;align-items:center!important;height:46px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
html body.control-plane-body .control-header :is(.system-time-summary,.identity-summary){
  display:inline-flex!important;align-items:center!important;gap:10px!important;height:44px!important;min-height:44px!important;padding:0 14px!important;
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:11px!important;color:#f7fbff!important;box-shadow:none!important;
}
html body.control-plane-body .control-header :is(.system-time-summary,.identity-summary) :is(span,strong,small,b){color:#f7fbff!important}
html body.control-plane-body .control-header .identity-summary small{display:none!important}
html body.control-plane-body .control-header .identity-summary-text{line-height:1.1!important}
html body.control-plane-body .control-header .btn.gold{height:44px!important;padding:0 18px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important}
html body.control-plane-body>.control-layout{min-height:0!important;height:auto!important;overflow:hidden!important}
html body.control-plane-body>.control-layout>*{min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important}
html body.control-plane-body .control-sidebar .control-side-foot{position:static!important}
html body.control-plane-body>.tera-institutional-footer{grid-row:3!important}

/* ───────────────────────────────── Responsive ───────────────────────────────── */
@media (max-width:1860px){
  html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal nav a:nth-child(n+4){display:none!important}
}
@media (max-width:1640px){
  html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-legal nav{display:none!important}
  html body.control-plane-body .control-wordmark>:not(:first-child){display:none!important}
}
/* The "Research Workbench" caption yields first, so the header actions (Share, account) never clip. */
@media (max-width:1960px){
  html body.research-shell-body .ecosystem-toolbar .workbench-id{display:none!important}
}
@media (max-width:1440px){
  html body.research-shell-body .brand-strip .principles .tera-wordmark{display:none!important}
  html body.control-plane-body .control-brand>div>:not(strong){display:none!important}
}
@media (max-width:1300px){
  html body:is(.research-shell-body,.auth-entry-page,.control-plane-body) .tera-institutional-footer:not(.ide-footer-panel *) .tera-footer-identity div>span{display:none!important}
  html body.control-plane-body .control-header .btn.gold{display:none!important}
  html body.auth-entry-page .auth-topbar .auth-trustline{display:none!important}
}
@media (max-width:1160px){
  html body.research-shell-body .brand-strip .proof-line{display:none!important}
}
@media (max-height:900px){
  html body.auth-entry-page .auth-card .auth-production-note{display:none!important}
  html body.auth-entry-page .auth-card .auth-access-field small{display:none!important}
  html body.auth-entry-page .auth-card .auth-lead{margin-bottom:14px!important}
  html body.auth-entry-page .auth-brand-principles{display:none!important}
}
@media (max-height:760px){
  html body.auth-entry-page .auth-card .auth-security-note{display:none!important}
  html body.auth-entry-page .auth-brand-panel h1{font-size:36px!important}
}

} /* end min-width:921px */

/* Status-bar ⓘ toggle and the full-footer panel. */
.ide-footer-toggle{
  flex:0 0 auto;display:inline-grid;place-items:center;width:32px!important;height:32px!important;min-height:0!important;min-width:0!important;margin-left:2px;padding:0;border-radius:8px;align-self:center;
  border:1px solid rgba(226,191,106,.55);background:transparent;color:var(--ide-gold);font:700 18px/1 system-ui,sans-serif;cursor:pointer;
}
.ide-footer-toggle:hover,.ide-footer-toggle:focus-visible{background:rgba(226,191,106,.16);outline:2px solid var(--ide-gold);outline-offset:1px}
.ide-footer-panel{
  position:fixed;left:0;right:0;bottom:var(--ide-status-h);z-index:120;max-height:min(72vh,520px);overflow:auto;
  border-top:2px solid var(--ide-gold);box-shadow:0 -18px 40px rgba(0,0,0,.28);background:var(--surface);color:var(--ink);
}
.ide-footer-panel[hidden]{display:none}
.ide-footer-panel .tera-institutional-footer{position:relative!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important}
.ide-footer-panel .tera-institutional-footer :is(small,span,a,strong,button,i){font-size:18px!important}
.ide-footer-panel .save-state{display:none!important}
@media (max-width:920px){.ide-footer-toggle{display:none}}

/* v7.0.0: icon-only toolbar controls at laptop widths. The 18px text rule above must not re-expand
   their hidden labels into the neighbouring controls. */
@media (min-width:921px) and (max-width:1540px){
  html body.research-shell-body .ecosystem-toolbar :is(.compact-search,.system-status-menu>summary,.tera-palette-launch){font-size:0!important;overflow:hidden!important;gap:0!important}
  html body.research-shell-body .ecosystem-toolbar :is(.compact-search,.system-status-menu>summary)>*{display:none!important}
  html body.research-shell-body .ecosystem-toolbar :is(.compact-search,.system-status-menu>summary)::before{font-size:18px!important}
  html body.research-shell-body .ecosystem-toolbar .tera-palette-launch>span{font-size:18px!important}
}
@media (min-width:921px){
  /* v7.0.0: the Manuscript toolbar aligns with the page instead of running 24px past its right edge. */
  html body.research-shell-body[data-page="manuscript"] .workspace-toolbar{margin-left:0!important;margin-right:0!important;width:auto!important}
}
@media (min-width:921px){
  /* v7.0.0 canonical page gutter: every Research page uses the IDE pages' 10px side padding, so pane
     edges line up the same way on every page. */
  html body.research-shell-body #pageRoot{padding-left:10px!important;padding-right:10px!important}
}
/* v7.0.0 · the research sign-in card stays on one screen: the page adds fit-1..4 only while the card would
   otherwise need scrolling (the lead first, then secondary labels, then tighter spacing and heading). */
html body.auth-entry-page .auth-card.fit-1 .auth-lead:not(.auth-view-center .auth-lead):not([data-view="finish"] .auth-lead){display:none!important}
html body.auth-entry-page .auth-card.fit-1 h2{margin:10px 0 16px!important}
html body.auth-entry-page .auth-card.fit-2 .auth-providers-label{display:none!important}
html body.auth-entry-page .auth-card.fit-2 :is(.auth-or){margin:12px 0 10px!important}
html body.auth-entry-page .auth-card.fit-2 .auth-sso{margin-top:12px!important;gap:8px!important}
html body.auth-entry-page .auth-card.fit-2 .auth-switch{margin-top:12px!important}
html body.auth-entry-page .auth-card.fit-3 .auth-access-field{margin-bottom:10px!important}
html body.auth-entry-page .auth-card.fit-3 :is(.auth-provider,.auth-sso-btn){min-height:46px!important}
html body.auth-entry-page .auth-card.fit-3 .auth-captcha{margin-top:10px!important}
html body.auth-entry-page .auth-card.fit-4 .eyebrow{display:none!important}
html body.auth-entry-page .auth-card.fit-4 .auth-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html body.auth-entry-page .auth-card.fit-4 h2{font-size:28px!important;margin:0 0 12px!important}
html body.auth-entry-page .auth-card.fit-4{padding-top:16px!important;padding-bottom:16px!important}
html body.auth-entry-page .auth-card.fit-4 .auth-access-field input{height:46px!important;min-height:46px!important}
html body.auth-entry-page .auth-card.fit-4 #signInBtn,html body.auth-entry-page .auth-card.fit-4 .auth-form button[type="submit"]{height:48px!important;min-height:48px!important}
@media (min-width:921px){
  html body.auth-entry-page .auth-card :is(.auth-providers-label,.auth-provider,.auth-or,.auth-text-link,.auth-hint,.auth-check,.auth-sso-label,.auth-sso-btn,.auth-switch,.auth-plain,.auth-captcha,.auth-error){font-size:18px!important}
  html body.auth-entry-page .auth-card .auth-label-row{margin-bottom:6px!important}
  html body.auth-entry-page .auth-card .auth-or{margin:16px 0 12px!important}
  html body.auth-entry-page .auth-card .auth-form button[type="submit"]{height:52px!important;min-height:52px!important;margin-top:4px!important;font-size:18px!important}
}
@media (min-width:921px) and (max-height:820px){
  html body.auth-entry-page .auth-stage{padding:16px 0!important}
  html body.auth-entry-page .auth-brand-panel{padding:24px 32px!important;gap:16px!important}
  html body.auth-entry-page .auth-brand-symbols{margin-bottom:8px!important}
  html body.auth-entry-page .auth-brand-symbols .auth-brand-t{width:42px!important;height:42px!important}
  html body.auth-entry-page .auth-capabilities{gap:2px!important}
  html body.auth-entry-page .auth-brand-motto{margin-bottom:6px!important}
}
