html, body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
:root{
  --bg-main: #E8F2F4;
  --bg-panel: #0F1B2D;
  --bg-soft: #13233A;

  --text-main: #E5E7EB;
  --text-muted: #A8B5C7;

  --accent: #40E0D0;
  --accent-strong: #2DD4BF;

  --border: #21405F;
}

body{
  background: var(--bg-main);
  color: var(--text-main);
}

/* ===== Sandbox Header ===== */
.siteHeaderNew{
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}

.siteHeaderNew .headerNewInner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.siteHeaderNew .brandNew{
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.siteHeaderNew .navNew{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.siteHeaderNew .navNew a,
.siteHeaderNew .navLinkNew{
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.siteHeaderNew .navNew a:hover,
.siteHeaderNew .navLinkNew:hover{
  color: var(--accent-strong);
}


/* ===== Sandbox Footer ===== */
.siteFooterNew{
  background: #071A2F;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.siteFooterNew .footerNewInner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.siteFooterNew .footerNewGrid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.siteFooterNew .footerNewLogo{
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.siteFooterNew .footerNewHeading{
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.siteFooterNew .footerNewTag,
.siteFooterNew .footerNewMicro,
.siteFooterNew .footerNewList li,
.siteFooterNew .footerNewFineprint{
  color: rgba(230,240,250,0.78);
  font-size: 14px;
  line-height: 1.65;
}

.siteFooterNew .footerNewList a,
.siteFooterNew .footerNewLinks a{
  color: var(--accent);
  text-decoration: none;
}

.siteFooterNew .footerNewList a:hover,
.siteFooterNew .footerNewLinks a:hover{
  color: var(--accent-strong);
}

/* =========================
   Compass Chat — modern readable replies
   Scoped to #chatShell only
   ========================= */

#chatShell .row.a .bubble{
  padding: 16px 18px !important;
  border-radius: 20px !important;
  line-height: 1.6 !important;
}

#chatShell .row.a .bubble .cmpReplyBody{
  color: #1c2430 !important;
  font-size: 16px !important;
}

#chatShell .row.a .bubble .cmpReplyLead{
  margin: 0 0 14px 0 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #223041 !important;
  font-weight: 500 !important;
}

#chatShell .row.a .bubble .cmpReplyPara{
  margin: 10px 0 !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: rgba(28,36,48,0.92) !important;
}

#chatShell .row.a .bubble .cmpReplyHeading{
  margin: 16px 0 8px 0 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: #0f6f78 !important;
}

#chatShell .row.a .bubble .cmpReplyList{
  margin: 8px 0 4px 0 !important;
  padding-left: 24px !important;
}

#chatShell .row.a .bubble .cmpReplyListPlain{
  list-style: disc !important;
}

#chatShell .row.a .bubble .cmpReplyItem{
  margin: 0 0 12px 0 !important;
  padding-left: 2px !important;
}

#chatShell .row.a .bubble .cmpReplyItemBtn{
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-align: left !important;
  font: inherit !important;
}

#chatShell .row.a .bubble .cmpReplyItemTitle{
  font-weight: 800 !important;
  color: #123f49 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
}

#chatShell .row.a .bubble .cmpReplyItemBtn:hover .cmpReplyItemTitle{
  color: #0b7f88 !important;
}

#chatShell .row.a .bubble .cmpReplyItemDesc{
  color: rgba(28,36,48,0.84) !important;
}

#chatShell .row.a .bubble .cmpRecLine{
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  appearance: none !important;
  border: 1px solid rgba(64,224,208,0.22) !important;
  background: rgba(255,255,255,0.64) !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin: 10px 0 !important;
  cursor: pointer !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease !important;
}

#chatShell .row.a .bubble .cmpRecLine:hover{
  transform: translateY(-1px) !important;
  border-color: rgba(64,224,208,0.55) !important;
  box-shadow: 0 8px 24px rgba(15,27,45,0.08) !important;
}

#chatShell .row.a .bubble .cmpRecTitle{
  display: block !important;
  margin: 0 0 4px 0 !important;
  font-size: 15.5px !important;
  line-height: 1.4 !important;
  font-weight: 800 !important;
  color: #123f49 !important;
}

#chatShell .row.a .bubble .cmpRecDesc{
  display: block !important;
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: rgba(28,36,48,0.82) !important;
}

#chatShell .row.a .bubble .suggestion-chips{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

#chatShell .row.a .bubble .suggestion-chips .chip{
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-weight: 700 !important;
}

#chatShell .row.u .bubble{
  line-height: 1.5 !important;
}

#chatShell .row.a .bubble > div:not([class]),
#chatShell .row.a .bubble > p:not([class]){
  line-height: 1.65 !important;
}
/* ===== Compass Page Panels ===== */
.compassPanel {
  border: 2px solid #ff8a00;     /* Compass orange */
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255,138,0,0.15),
              0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* Optional glow for dark theme */
.compassPanel:hover {
  box-shadow: 0 0 0 1px rgba(255,138,0,0.25),
              0 0 14px rgba(255,138,0,0.25);
}
/* ===== Force orange frame on Compass page panels ===== */
#chatShell.compassPanel,
#magicWindow.compassPanel,
.heroGrid.compassPanel {
  border: 2px solid #ff8a00 !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(255,138,0,0.15),
              0 10px 30px rgba(0,0,0,0.35) !important;
  overflow: hidden;
}
/* ===== Compass panel inner spacing ===== */

.heroGrid.compassPanel{
  padding: 4px 4px;
}

#magicWindow.compassPanel{
  padding: 24px 26px;
}

#chatShell.compassPanel{
  padding: 18px;
}
.compassAvatar{
  width:44px !important;
  height:44px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
  flex:0 0 44px !important;
}
.chatTitle{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
/* Compass thinking animation */
@keyframes compassPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(64,224,208,0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(64,224,208,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(64,224,208,0);
  }
}

.compassThinking {
  animation: compassPulse 1.8s infinite;
}
/* Hide Compass page hero section */
.hero{
  display:none !important;
}
/* Compass Chat Header Buttons – Turquoise Theme */

#chatShell .chatHeaderBtns .ghost{
  background: rgba(64,224,208,0.15);
  border: 1px solid #40E0D0;
  color: #0a3b3f;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all .18s ease;
}

/* Hover effect */
#chatShell .chatHeaderBtns .ghost:hover{
  background: #40E0D0;
  color: #063236;
  border-color: #40E0D0;
}

.chatHeaderBtns{
  gap:10px;
}
.homeBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  white-space:nowrap;
}

.homeBtn:hover{
  text-decoration:none;
}