/* ATHRTY CAPITAL X-NAV-110
   Unified institutional navigation and intelligence.
   One real mobile dialog + one existing source-guided agent. No floating mobile collisions.
   Overrides the historical CSS accumulated through Capital v10. */

:root{
 --cap11-base:#090f14;
 --cap11-raised:#101e27;
 --cap11-raised-blue:#182c39;
 --cap11-edge:rgba(173,203,222,.24);
 --cap11-edge-active:rgba(195,226,243,.56);
 --cap11-ink:#f2f6f7;
 --cap11-muted:var(--ath-dg-muted,#a5b6c0);
 --cap11-steel:var(--ath-dg-editorial,#bbccd5);
 --cap11-ease:cubic-bezier(.22,1,.36,1)
}

/* Native sheet: not another imitation dropdown within the sticky header. */
body.capital-nav-open{overflow:hidden}
.capital-nav-sheet{
 position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;box-sizing:border-box;
 width:min(450px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;
 padding:0;overflow:hidden;border:0;border-left:1px solid var(--cap11-edge);
 border-radius:0;color:var(--cap11-ink);background:linear-gradient(155deg,#111e28 0%,#0a1119 63%,#0a1014 100%);
 box-shadow:-30px 0 90px rgba(0,0,0,.58);font-family:var(--font,Inter,Arial,sans-serif);
}
.capital-nav-sheet:not([open]){display:none!important}
.capital-nav-sheet[open]{display:block;animation:cap11-sheet-enter .34s var(--cap11-ease) both}
.capital-nav-sheet::backdrop{background:rgba(2,7,11,.78);backdrop-filter:blur(11px)}
.capital-nav-frame{display:flex;flex-direction:column;height:100%;min-height:0}
.capital-nav-top{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 min-height:80px;padding:max(18px,env(safe-area-inset-top)) 25px 17px;
 border-bottom:1px solid var(--cap11-edge)
}
.capital-nav-lockup{display:flex;flex-direction:column;gap:5px}
.capital-nav-lockup strong{font:790 22px/1 var(--head,Inter,Arial,sans-serif);letter-spacing:-.085em}
.capital-nav-lockup strong span{color:#a3c4d5}
.capital-nav-lockup small{color:var(--cap11-muted);font-size:8px;letter-spacing:.13em;font-weight:680}
.capital-nav-close{
 display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;
 padding:0 13px;background:rgba(180,211,226,.06);border:1px solid var(--cap11-edge);
 border-radius:999px;color:var(--cap11-ink);font:650 11px/1 var(--font,Arial,sans-serif);cursor:pointer
}
.capital-nav-close:hover,.capital-nav-close:focus-visible{background:rgba(153,193,214,.16);border-color:var(--cap11-edge-active)}
.capital-nav-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:clamp(24px,5svh,42px) clamp(22px,6vw,34px) 25px;scrollbar-width:thin}
.capital-nav-intro>span,.capital-nav-section-label{
 font-size:9px;letter-spacing:.16em;font-weight:700;color:var(--cap11-muted)
}
.capital-nav-intro h2{
 color:var(--cap11-ink);font:690 clamp(43px,10vw,62px)/1.02 var(--head,Inter,Arial,sans-serif);
 letter-spacing:-.078em;margin:16px 0 38px;text-wrap:balance
}
.capital-nav-intro h2 em{font-style:normal;font-weight:410;color:var(--cap11-steel)}
.capital-nav-main{display:flex;flex-direction:column;border-top:1px solid var(--cap11-edge)}
.capital-nav-link{
 position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) 16px;align-items:center;
 gap:12px;text-decoration:none!important;color:#dce7ed!important;
 padding:18px 0;min-height:75px;border-bottom:1px solid var(--cap11-edge);
 transition:padding .26s var(--cap11-ease),color .18s,background-color .18s
}
.capital-nav-link .capital-nav-item-name{
 font:640 clamp(25px,6vw,35px)/1.05 var(--head,Inter,Arial,sans-serif);letter-spacing:-.05em
}
.capital-nav-item-index{font:740 10px/1 var(--font,Arial,sans-serif);letter-spacing:.08em;color:#7e9ba9}
.capital-nav-link .capital-nav-item-rule{
 width:16px;height:1px;border:0;border-radius:0;justify-self:end;
 background:rgba(179,207,221,.38);opacity:.65;transition:width .24s var(--cap11-ease),background-color .2s
}
.capital-nav-link.is-active{color:white!important}
.capital-nav-link.is-active .capital-nav-item-rule{
 width:22px;background:#d1e4ef;opacity:1
}
.capital-nav-link:hover,.capital-nav-link:focus-visible{padding-left:7px;color:#fff!important}
.capital-nav-connected{margin-top:35px}
.capital-nav-connected nav{display:flex;flex-direction:column;margin-top:15px}
.capital-nav-link-secondary{
 display:flex;align-items:center;gap:17px;min-height:52px;padding:11px 0;
 font:640 14px/1.25 var(--font,Arial,sans-serif);color:#d2e0e6!important;
 text-decoration:none!important;border-bottom:1px solid rgba(155,188,203,.13)
}
.capital-nav-link-secondary .capital-nav-item-name{font-size:13px}
.capital-nav-link-secondary:hover,.capital-nav-link-secondary:focus-visible{color:#fff!important;background:rgba(158,202,224,.055)}
.capital-nav-ask{
 width:100%;min-height:66px;margin-top:34px;
 display:grid;grid-template-columns:1fr 1fr 15px;gap:5px;align-items:center;
 padding:14px 17px;border:1px solid var(--cap11-edge-active);border-radius:13px;
 background:linear-gradient(135deg,rgba(100,150,178,.27),rgba(30,64,84,.6));
 color:var(--cap11-ink);text-align:left;cursor:pointer;
 box-shadow:inset 0 1px 0 rgba(224,242,252,.13)
}
.capital-nav-ask span:first-child{font-size:11px;font-weight:760;letter-spacing:.08em}
.capital-nav-ask span:nth-child(2){font-size:10px;color:#b9cbd5}
.capital-nav-ask span:last-child{font-size:25px;justify-self:end;font-weight:300;color:#dbeaf0}
.capital-nav-ask:hover,.capital-nav-ask:focus-visible{background:linear-gradient(135deg,rgba(130,182,207,.37),rgba(39,75,95,.75))}
.capital-nav-foot{
 flex:0 0 auto;display:flex;flex-direction:column;gap:7px;
 padding:17px 25px max(21px,env(safe-area-inset-bottom));
 border-top:1px solid var(--cap11-edge);background:rgba(8,15,20,.74)
}
.capital-nav-foot>span{font-size:9px;letter-spacing:.13em;font-weight:700;color:#b4c9d3}
.capital-nav-foot small{font-size:10px;line-height:1.45;color:#8fa4b0}
.capital-nav-sheet :is(button,a):focus-visible{
 outline:2px solid #d9ecf6!important;outline-offset:3px
}

/* Agent identity: source-led intelligence, not a decorative "A" floating over CTAs. */
.ca-launcher,.three-page .ca-launcher{
 display:inline-flex!important;position:fixed;right:20px;bottom:20px;
 inset:auto 20px 20px auto;z-index:170;
 justify-content:center;align-items:center;gap:9px;
 width:auto!important;max-width:none!important;min-width:0!important;
 height:auto!important;min-height:49px!important;max-height:none!important;
 padding:7px 15px 7px 8px!important;
 border:1px solid rgba(177,211,231,.47);border-radius:999px!important;
 background:linear-gradient(135deg,rgba(36,65,84,.97),rgba(13,28,39,.99));
 color:#f3f8fa;box-shadow:0 12px 35px rgba(0,4,9,.32),inset 0 1px 0 rgba(218,241,252,.13);
 font:700 11px/1 var(--font,Arial,sans-serif)
}
.ca-launcher .ca-launch-symbol{
 display:grid;place-items:center;width:31px;height:31px;min-width:31px;flex:0 0 31px;
 border:1px solid rgba(182,215,234,.28);border-radius:50%;
 background:rgba(171,207,228,.12);color:#d8eaf5
}
.ca-launcher .ca-launch-meta{
 display:flex!important;flex-direction:column;gap:2px;text-align:left;white-space:nowrap
}
.ca-launcher .ca-launch-meta strong{
 color:#f2f7f9;font-size:11px;letter-spacing:.02em;font-weight:710;text-transform:none
}
.ca-launcher .ca-launch-meta small{
 color:#9eb8c7;font-size:8px;font-weight:640;letter-spacing:.08em
}
.ca-launcher:hover,.three-page .ca-launcher:hover{
 transform:translateY(-2px);background:linear-gradient(135deg,#2c5065,#162b39);border-color:#b9daee
}
.ca-launcher:focus-visible{outline:2px solid #d8effc!important;outline-offset:3px}

/* Desktop Intelligence stays compact so it cannot obstruct evidence actions. */
@media(min-width:941px){
 body.three-page>.ca-launcher{
  width:54px!important;min-width:54px!important;max-width:54px!important;
  height:54px!important;min-height:54px!important;max-height:54px!important;
  padding:6px!important;gap:0!important;border-radius:999px!important;
 }
 body.three-page>.ca-launcher .ca-launch-meta{display:none!important}
 body.three-page>.ca-launcher .ca-launch-symbol{
  width:40px;height:40px;min-width:40px;flex:0 0 40px;
 }
 body.three-page>.ca-launcher::after{
  content:"ASK ATHRTY";position:absolute;right:calc(100% + 12px);top:50%;
  transform:translate(7px,-50%);padding:9px 13px;
  white-space:nowrap;border-radius:999px;
  background:rgba(13,28,39,.96);border:1px solid rgba(173,203,222,.36);
  color:#e8f2f7;font:700 10px/1 var(--font,Arial,sans-serif);
  letter-spacing:.055em;opacity:0;pointer-events:none;
  transition:opacity .18s,transform .18s;
  box-shadow:0 12px 26px rgba(0,5,12,.3);
 }
 body.three-page>.ca-launcher:is(:hover,:focus-visible)::after{
  opacity:1;transform:translate(0,-50%);
 }
}
/* Mobile: one slim header; navigation and intelligence are peer actions. */
@media(max-width:940px){
 body.three-page .notice{display:none!important}
 body.three-page{--capital-header-height:70px}
 body.three-page .topbar{
  height:70px;min-height:70px;display:flex;align-items:center;
  padding-inline:clamp(14px,4vw,24px);gap:8px;
  background:rgba(8,16,23,.97)!important;border-bottom:1px solid rgba(167,198,215,.21)
 }
 body.three-page .topbar .brand{min-width:0;flex-shrink:1}
 body.three-page .topbar #site-nav{display:none!important}
 body.three-page .topbar .header-actions{
  display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;
  margin-left:auto;flex-shrink:0
 }
 body.three-page .topbar .header-actions>.pill{display:none!important}
 body.three-page .topbar .mobile-menu{
  display:inline-flex!important;position:relative;align-items:center;justify-content:center;gap:9px;
  min-height:45px;height:45px;min-width:45px;width:auto;padding:0 13px;
  border:1px solid rgba(180,208,226,.35);border-radius:999px!important;
  background:rgba(172,207,225,.04);color:#e8f0f5;
  font:690 11px/1 var(--font,Arial,sans-serif);box-shadow:none;
  cursor:pointer;transition:background .2s,border-color .2s
 }
 body.three-page .topbar .mobile-menu:hover,
 body.three-page .topbar .mobile-menu[aria-expanded=true]{
  border-color:rgba(196,221,239,.62);background:rgba(133,176,198,.17)
 }
 .capital-nav-trigger-icon{display:flex;flex-direction:column;gap:5px;width:18px;flex:0 0 18px;align-items:flex-end}
 .capital-nav-trigger-icon i{height:1.5px;width:18px;border-radius:2px;background:#eef7fb;display:block;transition:width .2s}
 .capital-nav-trigger-icon i:last-child{width:12px}
 .capital-nav-trigger-label{font-size:11px;font-weight:700;letter-spacing:.02em}
 body.three-page .topbar .header-actions>.ca-launcher{
  position:static!important;inset:auto!important;right:auto!important;bottom:auto!important;
  z-index:auto;min-height:45px!important;height:45px!important;
  gap:8px!important;padding:5px 13px 5px 6px!important;
  width:auto!important;max-width:none!important;min-width:0!important;
  background:linear-gradient(135deg,rgba(72,118,143,.32),rgba(24,46,61,.85));
  border-color:rgba(164,199,222,.4);box-shadow:inset 0 1px 0 rgba(227,244,252,.12);
  transform:none!important
 }
 body.three-page .header-actions .ca-launch-symbol{
  width:31px;min-width:31px;flex-basis:31px;height:31px
 }
 body.three-page .header-actions .ca-launch-meta{display:flex!important}
 body.three-page .header-actions .ca-launch-meta small{display:none}
 body.three-page .header-actions .ca-launch-meta strong{font-size:11px}
 body.three-page .scroll-progress{
  top:70px;height:3px;min-height:3px;padding:0;display:block;
  background:rgba(131,165,184,.13);border:0;line-height:0;overflow:hidden;z-index:147
 }
 body.three-page .scroll-progress>.scroll-progress-count,
 body.three-page .scroll-progress>.scroll-progress-name{display:none!important}
 body.three-page .scroll-progress>.scroll-progress-track{
  width:100%;height:3px;background:transparent;border-radius:0
 }
 body.three-page .scroll-progress>.scroll-progress-track>span{
  background:linear-gradient(90deg,#7ba6bc,#d4e6ee);border-radius:0
 }
 body.three-page .cx-hero-layout{min-height:0;padding-block:clamp(48px,10svh,90px)}
 body.three-page .cx-hero-actions{margin-top:32px}
 body.three-page .cx-action{min-height:49px}
}

/* The mobile intelligence desk is a real full-screen workspace, never a card. */
@media(max-width:940px){
 dialog.ca-agent{
  box-sizing:border-box;width:100vw!important;max-width:100vw!important;
  height:var(--cap11-visual-height,100dvh)!important;max-height:var(--cap11-visual-height,100dvh)!important;
  inset:var(--cap11-visual-top,0px) 0 auto 0;margin:0;padding:0;border:0!important;border-radius:0!important
 }
 dialog.ca-agent[data-expanded=true]{width:100vw!important;height:var(--cap11-visual-height,100dvh)!important}
 .ca-agent .ca-agent-head{
  min-height:75px;padding:max(12px,env(safe-area-inset-top)) 16px 12px;
  background:#101d26;border-bottom:1px solid var(--cap11-edge)
 }
 .ca-agent .ca-agent-mark{display:none}
 .ca-agent .ca-agent-identity{gap:0}
 .ca-agent .ca-agent-identity h2{font-size:20px;letter-spacing:-.045em;margin:3px 0 0}
 .ca-agent .ca-agent-head-controls [data-agent-expand],
 .ca-agent .ca-agent-head-controls [data-agent-clear]{display:none}
 .ca-agent .ca-agent-head-controls [data-agent-close]{
  border-radius:999px;min-height:44px;padding:8px 13px;
  border:1px solid var(--cap11-edge-active);background:rgba(153,193,214,.08)
 }
 .ca-agent .ca-agent-conversation-head{
  padding-inline:16px;background:#0d1720;color:#bdced8
 }
 .ca-agent .ca-agent-conversation-head small{display:none}
 .ca-agent .ca-agent-messages{padding:clamp(15px,4vw,24px)}
 .ca-agent .ca-agent-welcome h3{font-size:clamp(31px,7.5vw,45px);line-height:1.09}
 .ca-agent .ca-agent-composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .ca-agent .ca-agent-submit{min-height:49px}
 .ca-agent .ca-agent-footer{padding-bottom:max(9px,env(safe-area-inset-bottom))}
}

/* Tablet inspector uses the same single-plane research hierarchy as mobile.
   Prevent 851–940px from rendering a cramped desktop split panel in a mobile dialog. */
@media(min-width:851px) and (max-width:940px){
 .ca-agent-grid,.ca-agent[data-evidence=true] .ca-agent-grid{
  grid-template-columns:minmax(0,1fr)!important;position:relative
 }
 .ca-agent-topics{display:none}
 .ca-agent-evidence{
  position:absolute!important;z-index:4;inset:75px 0 0 0;
  overflow:auto;overscroll-behavior:contain;min-width:0;
  border-left:0;border-top:1px solid var(--cap11-edge);
  box-shadow:0 0 55px rgba(0,0,0,.5)
 }
}
/* The tightest phones: keep both controls useful without crushing ATHRTY. */
@media(max-width:405px){
 body.three-page .topbar .brand{font-size:25px!important}
 body.three-page .topbar .brand small{font-size:8px!important}
 body.three-page .topbar .header-actions{gap:6px}
 body.three-page .topbar .header-actions>.ca-launcher{padding:5px 8px 5px 6px!important;min-width:44px!important}
 body.three-page .topbar .header-actions>.ca-launcher .ca-launch-meta strong{font-size:10px}
 body.three-page .topbar .mobile-menu{padding:0 10px}
 .capital-nav-trigger-label{display:none}
}
@media(max-width:345px){
 body.three-page .topbar .header-actions>.ca-launcher{width:44px!important;max-width:44px!important;padding:5px!important}
 body.three-page .topbar .header-actions>.ca-launcher .ca-launch-meta{display:none!important}
 body.three-page .topbar .mobile-menu{width:44px;min-width:44px;padding:0}
 .capital-nav-intro h2{font-size:43px}
}
/* Ultra-narrow screens: retain editorial two-line hero headings. */
@media(max-width:300px){
 body.three-page .cx-hero h1{font-size:calc(10vw - 2px)!important}
}
@media(prefers-reduced-motion:reduce){
 body.three-page>.ca-launcher::after{transition:none!important}
 .capital-nav-sheet[open]{animation:none!important}
 .capital-nav-link,.capital-nav-trigger-icon i,.ca-launcher,
 .capital-nav-sheet :is(button,a){transition:none!important;animation:none!important}
}
/* X-CONVERGENCE-14000: progressive intelligence depth; native disclosure is keyboard accessible. */
.ca-agent .ca-answer-collapsible{border-top:1px solid var(--cap11-edge);padding-top:12px}
.ca-agent .ca-answer-detail-toggle{cursor:pointer;list-style-position:inside;min-height:44px;display:flex;align-items:center;gap:9px;color:#d6e9ef;font-size:12px;font-weight:700}
.ca-agent .ca-answer-detail-toggle::marker{color:#a6cddc}
.ca-agent .ca-answer-collapsible[open] .ca-agent-turn-text{padding-top:9px}
.ca-agent .ca-answer-detail-toggle:focus-visible{outline:2px solid var(--ath-dg-focus,#adddeb);outline-offset:3px;border-radius:6px}
@media(max-width:560px){.ca-agent .ca-answer-detail-toggle{font-size:13px}.ca-agent .ca-agent-turn-assistant{max-width:100%;min-width:0}}
@keyframes cap11-sheet-enter{
 from{opacity:.35;transform:translateX(24px)}
 to{opacity:1;transform:translateX(0)}
}