/* BusinessAtNight — AtNightX V19.3 / precise STYLE-ONLY planner treatment.
   Architects at Night is a palette / typography reference, not planner content.
   Deliberately does not change globe geometry, canvas, event handlers, selectors,
   nav, scroll behavior, budget, routing or projection mechanics. */

/* Neutral headline copy; keep the spectral gradient on the *single* selected word. */
html body main :is(h1,h2,h3) .accent {
  color: #176e91;
  --aatn-c1: #0a90a8;
  --aatn-c2: #7668b3;
  --aatn-c3: #ac4ca6;
}
html body #mission-globe :is(h1,h2,h3) .accent,
html body .panel-dark :is(h1,h2,h3) .accent {
  --aatn-c1: #8ef1f7;
  --aatn-c2: #c4b9f4;
  --aatn-c3: #efade4;
  color: #8ef1f7;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  html body main :is(h1,h2,h3) .accent {
    background-image: linear-gradient(103deg,var(--aatn-c1) 3%,var(--aatn-c2) 59%,var(--aatn-c3) 98%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
  }
}

/* Restore photographic-glass *material* without inserting event imagery into the planner. */
html body #mission-globe .globe-panel {
  background:
    radial-gradient(ellipse at 0% 1%, rgba(40,178,207,.17), transparent 56%),
    radial-gradient(ellipse at 99% 99%,rgba(168,104,213,.115),transparent 52%),
    linear-gradient(155deg,rgba(13,35,64,.79),rgba(5,16,36,.67)) !important;
  border: 1px solid rgba(139,222,241,.36) !important;
  border-radius: 17px;
  -webkit-backdrop-filter: blur(14px) saturate(122%);
  backdrop-filter: blur(14px) saturate(122%);
  box-shadow:
    inset 0 1px 0 rgba(225,252,255,.23),
    inset 1px 0 0 rgba(129,219,241,.07),
    inset -1px 0 0 rgba(207,158,243,.08),
    0 20px 48px rgba(1,8,23,.29) !important;
}
html body #mission-globe .globe-panel-right {
  border-color: rgba(195,159,239,.39) !important;
}
/* Fine edge lighting is decorative and never covers or captures the controls. */
html body #mission-globe .globe-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg,transparent 5%,rgba(195,245,255,.30) 33%,rgba(216,184,250,.18) 72%,transparent 96%) left top / 100% 1px no-repeat,
    linear-gradient(180deg,rgba(132,224,250,.14),transparent 27%) left top / 1px 100% no-repeat;
}
html body #mission-globe :is(.globe-metric,.globe-experience-summary) {
  background: linear-gradient(148deg,rgba(65,118,149,.21),rgba(13,26,52,.39)) !important;
  border: 1px solid rgba(157,211,235,.24) !important;
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(216,245,255,.13),0 7px 18px rgba(0,4,15,.14);
}
html body #mission-globe .globe-metric.highlight {
  background:linear-gradient(141deg,rgba(38,126,146,.22),rgba(123,70,159,.23)) !important;
  border-color:rgba(206,164,240,.37) !important;
}
/* Unify UI typography within the current Lato-based brand system. */
html body #mission-globe .globe-panel :is(h1,h2,.globe-kicker,p,label,select,input,button,small),
html body #mission-globe .globe-panel-title {
  font-family: Lato,Arial,sans-serif;
}
html body #mission-globe .globe-panel :is(h1,.globe-panel-title) {
  font-weight: 300;
  letter-spacing: -.018em;
  color:#f5f8ff;
}
html body #mission-globe .globe-panel :is(input:not([type=checkbox]),select) {
  background:rgba(7,22,43,.58);
  border-color:rgba(145,201,229,.39);
}
html body #mission-globe :is(input,select,button):focus-visible {
  outline: 2px solid #9beaf7;
  outline-offset: 2px;
}
/* Outside the globe: budget card takes on a matching LIGHT glass material. */
html body .ban-budget-feature .budget-card.glass {
  background:
    radial-gradient(ellipse at 3% 1%,rgba(136,226,239,.20),transparent 57%),
    radial-gradient(ellipse at 99% 97%,rgba(218,176,248,.13),transparent 55%),
    linear-gradient(146deg,rgba(255,255,255,.81),rgba(239,247,253,.78)) !important;
  border:1px solid rgba(99,162,194,.33) !important;
  border-radius:18px;
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  backdrop-filter: blur(12px) saturate(110%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 17px 39px rgba(12,34,64,.11) !important;
}
@media(max-width:660px) {
  html body #mission-globe .globe-panel {border-radius:15px; -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);}
  html body .ban-budget-feature .budget-card.glass{border-radius:15px;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);}
  html body #mission-globe .globe-panel :is(input:not([type=checkbox]),select,button){min-height:42px;}
}
@media(prefers-reduced-transparency:reduce) {
  html body #mission-globe .globe-panel {background:#112138 !important; -webkit-backdrop-filter:none;backdrop-filter:none;}
  html body .ban-budget-feature .budget-card.glass {background:#f1f8fa !important;-webkit-backdrop-filter:none;backdrop-filter:none;}
}
@media(forced-colors:active) {
  html body #mission-globe .globe-panel{background:Canvas !important;box-shadow:none !important;border:1px solid CanvasText !important;}
  html body #mission-globe .globe-panel::after{display:none;}
  html body main :is(h1,h2,h3) .accent{background:none !important;color:CanvasText !important;-webkit-text-fill-color:CanvasText !important;}
}
