/* PBTG-CJM-OMEGA-v3-CANONICAL-LIVE */
/* PBTG-CJM-OMEGA-v3-CANONICAL-LIVE */

body[data-ai2-cockpit-home="v1"]{height:100vh;overflow:hidden;background:#02050b}
body[data-ai2-cockpit-home="v1"] .page{height:100vh;max-width:none;margin:0;padding:0;overflow:hidden}
body[data-ai2-cockpit-home="v1"] main{height:calc(100vh - 58px);overflow:hidden}
body[data-ai2-cockpit-home="v1"] .masthead{height:58px;min-height:58px;margin:0;padding:0 24px;border-bottom:1px solid rgba(98,149,214,.12);background:rgba(2,6,12,.84);backdrop-filter:blur(18px);position:relative;z-index:90}
body[data-ai2-cockpit-home="v1"] .masthead>.lockup{display:none!important}
body[data-ai2-cockpit-home="v1"] .masthead .mainnav{margin:0 auto;gap:24px}
body[data-ai2-cockpit-home="v1"] .masthead .head-right{position:absolute;right:20px}
body[data-ai2-cockpit-home="v1"] .masthead .open-ai2{display:none!important}
body[data-ai2-cockpit-home="v1"] .hero,
body[data-ai2-cockpit-home="v1"] .ai2-first-contact,
body[data-ai2-cockpit-home="v1"] .institutional-band,
body[data-ai2-cockpit-home="v1"] .proof-callout,
body[data-ai2-cockpit-home="v1"] .foot{display:none!important}
body[data-ai2-cockpit-home="v1"] .sovereign-workspace{height:100%;min-height:0;max-width:none!important;margin:0!important;padding:0!important;display:grid!important;grid-template-columns:220px minmax(0,1fr) 250px!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important;overflow:hidden!important;background:transparent!important}
body[data-ai2-cockpit-home="v1"] .sovereign-commandbar{display:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-rail{position:relative!important;inset:auto!important;width:auto!important;height:100%!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding:18px 13px 150px!important;border:0!important;background:linear-gradient(180deg,rgba(3,8,16,.90),rgba(3,7,14,.78))!important;backdrop-filter:blur(16px)}
body[data-ai2-cockpit-home="v1"] .ai2-target-left{grid-column:1;border-right:1px solid rgba(91,142,207,.12)!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-right{grid-column:3;border-left:1px solid rgba(91,142,207,.12)!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-center{grid-column:2!important;min-width:0!important;min-height:0!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 28px 178px!important;display:block!important;position:relative}
body[data-ai2-cockpit-home="v1"] .ai2-target-center::before{content:"";position:fixed;left:220px;right:250px;top:58px;height:48%;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 12%,rgba(18,85,185,.14),transparent 56%),linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.38))}
/* Purely decorative center mark must never intercept the real service/project controls. */
body[data-ai2-cockpit-home="v1"] .ai2-target-brand{min-height:196px!important;padding:6px 0 5px!important;margin:0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important;background:transparent!important;border:0!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-wordmark{width:min(460px,calc(100vw - 76px))!important;height:185px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;position:relative!important}
/* The approved center logo is artwork, not a hit target. Its image previously intercepted the real Projects button after the browser scrolled it into view. Preserve the masthead account/navigation controls; only the non-interactive center artwork passes pointer events through. */
body[data-ai2-cockpit-home="v1"] .ai2-target-brand,
body[data-ai2-cockpit-home="v1"] .ai2-target-brand *{pointer-events:none!important}
body[data-ai2-cockpit-home="v1"] #ai2HomeQuickAccess{position:relative!important;z-index:20!important;pointer-events:auto!important}
body[data-ai2-cockpit-home="v1"] #ai2HomeQuickAccess .ai2-home-quick-link{pointer-events:auto!important}

body[data-ai2-cockpit-home="v1"] .ai2-target-wordmark>*:not(.ai2-home-approved-brand){display:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-home-approved-brand{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;filter:drop-shadow(0 0 16px rgba(43,140,255,.12));user-select:none;-webkit-user-drag:none}
body[data-ai2-cockpit-home="v1"] .ai2-project-shelf{display:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-shell{width:min(1060px,100%)!important;max-width:none!important;margin:0 auto!important;padding:0!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-brand{display:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-surface{width:100%!important;max-width:none!important;margin:0!important;background:transparent!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-shell .thread-head{padding:0 4px 8px!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-thread{height:clamp(240px,34vh,460px)!important;min-height:240px!important;max-height:none!important;padding:22px 30px 28px!important;overflow-y:auto!important;background:linear-gradient(180deg,rgba(5,10,18,.28),rgba(4,9,17,.10))!important;border-radius:20px!important;scrollbar-gutter:stable}
body[data-ai2-cockpit-home="v1"] .ai2-chat-thread:empty::before{padding:74px 8px 38px!important;color:#7389a4!important;font-size:15px!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer{position:sticky!important;bottom:12px!important;width:100%!important;max-width:none!important;margin:0!important;min-height:188px!important;padding:18px 18px 13px!important;border-radius:24px!important;overflow:hidden!important;background:linear-gradient(180deg,rgba(7,15,27,.93),rgba(5,12,23,.985))!important;border:1px solid rgba(85,159,255,.34)!important;box-shadow:0 22px 70px rgba(0,0,0,.46),0 0 0 1px rgba(255,255,255,.018) inset,0 0 46px rgba(32,108,220,.07)!important;isolation:isolate}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer::before{content:none!important;display:none!important;background:none!important;background-image:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(4,10,19,.96),rgba(4,11,22,.72) 36%,rgba(4,11,22,.58) 64%,rgba(4,10,19,.96)),linear-gradient(180deg,rgba(5,12,23,.20),rgba(5,12,23,.76));pointer-events:none}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer:focus-within{border-color:rgba(85,169,255,.70)!important;box-shadow:0 24px 76px rgba(0,0,0,.50),0 0 0 3px rgba(54,137,238,.08),0 0 56px rgba(45,133,255,.10)!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer textarea{min-height:132px!important;height:132px;max-height:330px!important;overflow-y:hidden;resize:none!important;padding:6px 10px 14px!important;font:400 17px/1.55 var(--sans)!important;letter-spacing:-.01em!important;color:#eef5fc!important;white-space:pre-wrap!important}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer textarea::placeholder{color:#8195ad!important;white-space:pre-line}
body[data-ai2-cockpit-home="v1"] .ai2-chat-bar{min-height:42px!important;padding:2px 3px 0!important}
/* Never conceal the existing capability, connection, attachment, focus or project controls. */
body[data-ai2-cockpit-home="v1"] #composerAttach,
body[data-ai2-cockpit-home="v1"] #composerFocus,
body[data-ai2-cockpit-home="v1"] #composerSaveProject,
body[data-ai2-cockpit-home="v1"] #composerSonar,
body[data-ai2-cockpit-home="v1"] .ai2-chat-bar>a.ai2-chat-btn,
body[data-ai2-cockpit-home="v1"] [data-target-capabilities]{
  display:inline-flex!important;
  flex:0 0 auto!important;
}
body[data-ai2-cockpit-home="v1"] .ai2-chat-bar{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  flex-wrap:nowrap!important;
  scrollbar-width:thin;
}
body[data-ai2-cockpit-home="v1"] .ai2-chat-composer .model-note{display:none!important}
body[data-ai2-cockpit-home="v1"] #composerAdd{width:38px!important;height:38px!important}
body[data-ai2-cockpit-home="v1"] #ai2Mic{width:38px!important;height:38px!important}
body[data-ai2-cockpit-home="v1"] #sendBtn{width:42px!important;height:42px!important}
body[data-ai2-cockpit-home="v1"] .ai2-scratch-trigger-row{display:none!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-scratchbar{width:min(1060px,100%)!important;margin:12px auto 0!important;min-height:48px!important;border-radius:15px!important;background:rgba(5,12,22,.76)!important;border:1px solid rgba(87,145,218,.16)!important;padding:0 16px!important}
body[data-ai2-cockpit-home="v1"] #ai2InlineScratch{width:min(1060px,100%)!important;margin:8px auto 0!important}
body[data-ai2-cockpit-home="v1"] #map{width:min(1060px,100%)!important;margin:14px auto 0!important;border-radius:18px!important;overflow:hidden!important;background:rgba(4,10,18,.60)!important;border:1px solid rgba(83,146,224,.17)!important}
body[data-ai2-cockpit-home="v1"] #map .mapframe{min-height:310px!important}
body[data-ai2-cockpit-home="v1"] .ai2-target-trust{display:none!important}
body[data-ai2-cockpit-home="v1"] #ai2WorldStatusbar{display:none!important}
.ai2-home-rail-head{padding:2px 9px 12px;color:#7187a2;font:700 9px/1 var(--mono);letter-spacing:.18em;text-transform:uppercase}
.ai2-home-rail-group{display:grid;gap:4px;margin-bottom:18px}
.ai2-home-rail-link,.ai2-home-rail-action{appearance:none;width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#9fb3c9;text-decoration:none;text-align:left;font:600 12px/1.2 var(--sans);cursor:pointer}
.ai2-home-rail-link:hover,.ai2-home-rail-action:hover,.ai2-home-rail-link.is-active,.ai2-home-rail-action.is-active{color:#eef6ff;background:rgba(47,126,231,.08);border-color:rgba(90,157,238,.17)}
.ai2-home-rail-icon{width:21px;flex:none;text-align:center;color:#62b5ff;font-size:15px}
.ai2-home-rail-sub{display:block;color:#5f748e;font:500 9px/1.3 var(--sans);margin-top:2px}
.ai2-home-context-card{margin:0 3px 12px;padding:12px;border:1px solid rgba(89,145,214,.13);border-radius:13px;background:rgba(6,13,24,.62)}
.ai2-home-context-card>small{display:block;color:#61758e;font:700 8px/1 var(--mono);letter-spacing:.15em;margin-bottom:6px}
.ai2-home-context-card>b{display:block;color:#cbd9e7;font:650 11px/1.35 var(--sans)}
.ai2-home-context-card span{display:block;color:#667c96;font:500 9.5px/1.4 var(--sans);margin-top:4px}
.ai2-home-system-dock{position:fixed;z-index:75;left:232px;right:262px;bottom:10px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 8px;pointer-events:none}
.ai2-home-system-card{pointer-events:auto;min-width:0;min-height:118px;padding:13px 13px 12px;border:1px solid rgba(83,146,224,.18);border-radius:14px;background:linear-gradient(180deg,rgba(7,16,28,.94),rgba(5,11,21,.97));backdrop-filter:blur(18px);text-decoration:none;box-shadow:0 14px 36px rgba(0,0,0,.28);transition:transform .16s ease,border-color .16s ease,background .16s ease}
.ai2-home-system-card:hover{transform:translateY(-3px);border-color:rgba(83,165,255,.42);background:linear-gradient(180deg,rgba(9,21,38,.98),rgba(5,13,24,.98))}
.ai2-home-system-card small{display:block;color:#4e9df7;font:750 8px/1 var(--mono);letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px}
.ai2-home-system-card b{display:block;color:#e2edf8;font:700 11px/1.25 var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ai2-home-system-card span{display:block;color:#6d829a;font:500 9.5px/1.38 var(--sans);margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ai2-home-system-card em{display:block;margin-top:8px;color:#88bfff;font:650 9px/1 var(--sans);font-style:normal}
body[data-ai2-cockpit-home="v1"] #genesisRain{opacity:.72!important}
body[data-ai2-cockpit-home="v1"] .rain-veil{background:linear-gradient(180deg,rgba(2,5,11,.08),rgba(2,5,11,.18) 48%,rgba(2,5,11,.60) 100%)!important}
@media(max-width:1180px){body[data-ai2-cockpit-home="v1"] .sovereign-workspace{grid-template-columns:190px minmax(0,1fr)!important}body[data-ai2-cockpit-home="v1"] .ai2-target-right{display:none!important}body[data-ai2-cockpit-home="v1"] .ai2-target-center::before{left:190px;right:0}.ai2-home-system-dock{left:202px;right:12px;grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto}}
@media(max-width:820px){body[data-ai2-cockpit-home="v1"] .masthead .mainnav{display:none!important}body[data-ai2-cockpit-home="v1"] .sovereign-workspace{grid-template-columns:1fr!important}body[data-ai2-cockpit-home="v1"] .ai2-target-left{display:none!important}body[data-ai2-cockpit-home="v1"] .ai2-target-center{grid-column:1!important;padding:8px 12px 142px!important}body[data-ai2-cockpit-home="v1"] .ai2-target-center::before{left:0;right:0}body[data-ai2-cockpit-home="v1"] .ai2-target-brand{min-height:152px!important;padding:5px 0 3px!important}body[data-ai2-cockpit-home="v1"] .ai2-target-wordmark{height:140px!important;width:min(350px,calc(100vw - 36px))!important}body[data-ai2-cockpit-home="v1"] .ai2-chat-thread{height:36vh!important;padding:18px 12px 22px!important}body[data-ai2-cockpit-home="v1"] .ai2-chat-composer{min-height:176px!important;padding:14px 12px 11px!important}body[data-ai2-cockpit-home="v1"] .ai2-chat-composer textarea{min-height:120px!important;height:120px;font-size:16px!important}.ai2-home-system-dock{left:8px;right:8px;bottom:8px;grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto;padding:0}}
@media(prefers-reduced-motion:reduce){.ai2-home-system-card{transition:none!important}.ai2-home-system-card:hover{transform:none!important}}

/* All service cards belong to the scrollable homepage, not a fixed layer over the composer. */
body[data-ai2-cockpit-home="v1"] .ai2-home-system-dock{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:min(1060px,100%)!important;
  margin:16px auto!important;
  padding:0!important;
  pointer-events:auto;
}

/* Universal existing-owner navigation; the mobile rail is hidden, so its entrances must not be. */
.ai2-home-quick-access{position:relative;z-index:7;width:min(1060px,100%);margin:0 auto 13px;padding:4px 0;display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.ai2-home-quick-link{appearance:none;display:inline-flex;justify-content:center;align-items:center;min-height:38px;padding:8px 12px;border:1px solid rgba(101,164,237,.22);border-radius:11px;background:rgba(6,16,30,.83);color:#c8e2fa;text-decoration:none;font:650 11px/1.15 var(--sans);white-space:nowrap;cursor:pointer}
.ai2-home-quick-link:hover,.ai2-home-quick-link:focus-visible{color:white;border-color:rgba(104,191,255,.67);outline-offset:2px}
@media(max-width:820px){
  body[data-ai2-cockpit-home="v1"] .ai2-target-center{padding-bottom:24px!important}
  body[data-ai2-cockpit-home="v1"] .ai2-home-quick-access{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 0 10px;margin-bottom:8px}
  body[data-ai2-cockpit-home="v1"] .ai2-home-system-dock{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;margin:18px auto!important;padding:0!important;pointer-events:auto}
  body[data-ai2-cockpit-home="v1"] .ai2-home-system-card{min-height:112px}
  body[data-ai2-cockpit-home="v1"] .ai2-chat-bar{gap:8px!important}
}
@media(max-width:390px){
  body[data-ai2-cockpit-home="v1"] .ai2-home-system-dock{grid-template-columns:1fr!important}
}

/* ── 2026-10-08 phone usability (presentation only; no new owner, no behaviour change) ─────────────────────── */
/* Workspace OS chrome: on narrow screens it was absolutely positioned 35px above the mission shell and sat on the
   previous card's last line. Give it its own row inside the shell instead; the icon-letter mode stays. */
@media(max-width:760px){
  body[data-ai2-cockpit-home="v1"][data-ai2-target-interface="v1"] #ai2WorkspaceOS{position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:100%!important;margin:4px 0 6px!important;display:flex!important;justify-content:flex-end!important}
  body[data-ai2-cockpit-home="v1"][data-ai2-target-interface="v1"] #ai2WorkspaceOS .ai2-os-topbar button{min-width:30px!important;height:30px!important}
}
/* Quick access: every entrance visible on a phone instead of a horizontal strip with hidden chips. */
@media(max-width:560px){
  body[data-ai2-cockpit-home="v1"] .ai2-home-quick-access{flex-wrap:wrap!important;overflow:visible!important;justify-content:center!important;gap:6px!important;padding-bottom:4px!important}
  body[data-ai2-cockpit-home="v1"] .ai2-home-quick-link{min-height:34px;padding:6px 10px}
}
/* Composer bar: Send and the microphone were the last items of a horizontally scrolling strip and sat past the
   right edge of a phone. Wrap instead and keep Send last and visible. */
@media(max-width:560px){
  body[data-ai2-cockpit-home="v1"][data-ai2-target-interface="v1"] .ai2-chat-bar{flex-wrap:wrap!important;overflow:visible!important;row-gap:6px!important;justify-content:flex-start!important}
  body[data-ai2-cockpit-home="v1"][data-ai2-target-interface="v1"] #sendBtn{order:99!important;margin-left:auto!important}
}
/* The attach/focus/save/sonar controls carry only a text label, and the composer shell hides that label, so they
   rendered as empty circles. A control with nothing on it is not a visible tool. Show the label. */
body[data-ai2-cockpit-home="v1"] #composerAttach .label,
body[data-ai2-cockpit-home="v1"] #composerFocus .label,
body[data-ai2-cockpit-home="v1"] #composerSaveProject .label,
body[data-ai2-cockpit-home="v1"] #composerSonar .label{display:inline!important;font-size:11px;font-weight:620;letter-spacing:.01em}
