/* Glass layout (Tassia 2026-11-01) — on top of cockpit.css, only under html[data-hub-glass].
   Approved prototype: FILES/HUB_GLASS_HOME_2026-11-01.html. Liquid glass over a soft
   moving background, the building photo behind the highlights (STILL — moving made her
   dizzy), hub blue accents, status colours unchanged (red / gold / green). */
html[data-hub-glass] {
  --gl-glass: rgba(255, 255, 255, .62);
  --gl-glass2: rgba(255, 255, 255, .44);
  --gl-rim: rgba(255, 255, 255, .9);
  --gl-rim2: rgba(255, 255, 255, .42);
  --gl-soft: rgba(26, 25, 22, .05);
  --gl-ink: #1A1916; --gl-ink2: #4A4843; --gl-ink3: #8C8A85;
  --gl-blue: #185FA5; --gl-blue-d: #0C447C; --gl-blue-l: #D6E8FB;
  --gl-red: #B4443F; --gl-gold: #A9834B; --gl-green: #2E7D4F;
  --gl-shadow: 0 24px 48px -30px rgba(40, 34, 24, .45);
  --gl-b1: #BFD7F2; --gl-b2: #F1DFC0; --gl-b3: #E6D9F4;
}
html[data-hub-glass][data-hub-dark] {
  --gl-glass: rgba(255, 255, 255, .09); --gl-glass2: rgba(255, 255, 255, .05);
  --gl-rim: rgba(255, 255, 255, .2); --gl-rim2: rgba(255, 255, 255, .08); --gl-soft: rgba(255, 255, 255, .07);
  --gl-ink: hsl(220 7% 90.0%); --gl-ink2: hsl(220 7% 81.4%); --gl-ink3: hsl(220 7% 59.8%);
  --gl-blue: hsl(220 7% 77.5%); --gl-blue-d: hsl(220 7% 87.5%); --gl-blue-l: hsl(220 7% 77.5% / .18);
  --gl-red: #F58B84; --gl-gold: #E7C27A; --gl-green: #7FD3A2;
  --gl-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --gl-b1: hsl(36 7% 24.6%); --gl-b2: #4A3A1C; --gl-b3: hsl(36 7% 20.9%);
}

/* ---------- soft moving background ---------- */
html[data-hub-glass] body { background: var(--stone); }
html[data-hub-glass] body::before {
  content: ""; position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 42% at 12% 8%, var(--gl-b1), transparent 70%),
              radial-gradient(34% 38% at 92% 22%, var(--gl-b2), transparent 70%),
              radial-gradient(36% 40% at 45% 92%, var(--gl-b3), transparent 70%);
  filter: blur(30px); opacity: .9; animation: gl-drift 30s ease-in-out infinite alternate;
}
@keyframes gl-drift { to { transform: translate(3%, 2%) scale(1.06); } }
html[data-hub-glass] .shell { position: relative; z-index: 1; }

/* ---------- the glass surface ---------- */
html[data-hub-glass] :is(.maintop-inner, .gl-card, #teamSales .team-sales, .ck-strip, .gl-band .gl-pill, .gl-btn) {
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
}
html[data-hub-glass] :is(.gl-card, #teamSales .team-sales, .ck-strip) {
  position: relative; background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important;
  border: 1px solid var(--gl-rim2) !important; border-radius: 24px !important;
  box-shadow: inset 0 1px 0 var(--gl-rim), var(--gl-shadow) !important; color: var(--gl-ink);
}
html[data-hub-glass] .gl-card { padding: 16px 18px; }
html[data-hub-glass] .gl-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
html[data-hub-glass] .gl-h h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--gl-ink); }
html[data-hub-glass] .gl-h small { color: var(--gl-ink3); font-size: 12px; font-weight: 600; }
html[data-hub-glass] .gl-h span { margin-left: auto; color: var(--gl-ink3); font-size: 12px; font-weight: 700; }

@media (min-width: 1000px) {
  /* ---------- top bar: full page width, like the website ---------- */
  html[data-hub-glass] .maintop { background: transparent; border: 0; padding-top: 14px; }
  html[data-hub-glass] .maintop-inner {
    max-width: calc(1440px - 56px); border-radius: 22px; padding: 8px 10px 8px 16px;
    background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)); border: 1px solid var(--gl-rim2);
    box-shadow: inset 0 1px 0 var(--gl-rim), var(--gl-shadow);
  }
  html[data-hub-glass] .maintop .search input { height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .62); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .06), inset 0 -1px 0 rgba(255, 255, 255, .9); }
  html[data-hub-glass][data-hub-dark] .maintop .search input { background: rgba(255, 255, 255, .07); }
  html[data-hub-glass] .ck-tb { display: none !important; }

  /* ---------- page grid: what sits side by side ---------- */
  html[data-hub-glass] #opsWrap { order: 2 !important; grid-column: 1 / -1 !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
  html[data-hub-glass] #teamSales { order: 3 !important; grid-column: 1 / -1 !important; }
  html[data-hub-glass] #ckStrip { order: 5 !important; grid-column: 1 !important; }
  html[data-hub-glass] #glRoom { order: 5; grid-column: 2; }
  html[data-hub-glass] #glApps { order: 6; grid-column: 1 / -1; }
  html[data-hub-glass] #ckDock { display: none !important; }

  /* calendar + notes strip in two rows (Next up | timeline, then the notes) */
  html[data-hub-glass] .ck-strip { grid-template-columns: 230px minmax(0, 1fr) !important; padding: 16px !important; }
  html[data-hub-glass] .ck-strip .ck-notes { grid-column: 1 / -1; }
}

/* ---------- photo band + highlight tiles ---------- */
html[data-hub-glass] #opsHead { display: none !important; }
html[data-hub-glass] .gl-band {
  position: relative; height: 250px; border-radius: 28px; padding: 18px 20px; margin: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 35%, rgba(20, 24, 32, .28) 100%), url(hub-building.jpg) center 38% / cover no-repeat, #cdd9e6;
  box-shadow: 0 30px 60px -36px rgba(40, 34, 24, .6), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
html[data-hub-glass][data-hub-dark] .gl-band { background: linear-gradient(180deg, hsl(36 7% 8.0% / .7), hsl(36 7% 8.0% / .45)), url(hub-building.jpg) center 38% / cover no-repeat, hsl(36 7% 13.8%); }
html[data-hub-glass][data-hub-theme="e"] .gl-band { background: linear-gradient(180deg, rgba(241, 230, 216, .25), rgba(120, 70, 30, .18)), url(hub-building.jpg) center 38% / cover no-repeat, #d9c7b0; }
html[data-hub-glass] .gl-pill {
  display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 #fff, 0 10px 24px -16px rgba(0, 0, 0, .45);
  font-size: 12.5px; font-weight: 700; color: #1A1916;
}
html[data-hub-glass][data-hub-dark] .gl-pill { background: hsl(36 7% 8.0% / .6); color: hsl(220 7% 90.0%); }
html[data-hub-glass] .gl-pill b { font-size: 11.5px; letter-spacing: .16em; color: inherit; opacity: .78; }
html[data-hub-glass] .gl-sep { width: 1px; height: 16px; background: currentColor; opacity: .18; }
html[data-hub-glass] .gl-pill span { display: inline-flex; align-items: center; gap: 7px; }
html[data-hub-glass] .gl-dot { width: 8px; height: 8px; border-radius: 50%; background: #C9534E; box-shadow: 0 0 0 3px rgba(201, 83, 78, .2); }
html[data-hub-glass] .gl-dot.ok { background: #2E7D4F; box-shadow: 0 0 0 3px rgba(46, 125, 79, .2); }

html[data-hub-glass] #opsMetrics {
  display: grid !important; grid-template-columns: repeat(60, minmax(0, 1fr)) !important; gap: 12px !important;
  margin: -118px 14px 0 !important; position: relative; z-index: 2; overflow: visible !important; height: auto !important;
}
html[data-hub-glass] #opsMetrics .ck-sep { display: none !important; }
html[data-hub-glass] #opsMetrics > .metric {
  position: relative; display: flex !important; flex-direction: column; gap: 6px; min-width: 0; margin: 0 !important;
  padding: 14px 15px 12px !important; border-radius: 20px !important; cursor: pointer;
  background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)) !important;
  border: 1px solid rgba(255, 255, 255, .9) !important; color: #1A1916;
  box-shadow: inset 0 1px 0 #fff, 0 24px 40px -24px rgba(30, 34, 44, .5) !important;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
html[data-hub-glass] #opsMetrics > .metric.gl-small {
  background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important; border-color: var(--gl-rim2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--gl-rim), 0 18px 34px -26px rgba(40, 34, 24, .45) !important; color: var(--gl-ink);
}
html[data-hub-glass] #opsMetrics > .metric.gl-small:first-of-type { margin-top: 0 !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric.gl-big { background: linear-gradient(160deg, hsl(36 7% 28.3% / .82), hsl(36 7% 17.1% / .76)) !important; border-color: rgba(255, 255, 255, .14) !important; color: hsl(220 7% 90.0%); }
html[data-hub-glass] #opsMetrics > .metric:hover { transform: translateY(-3px); }
html[data-hub-glass] #opsMetrics > .metric::before, html[data-hub-glass] #opsMetrics > .metric::after { display: none !important; }
/* status: a thin top edge + the badge on the icon (cockpit.js sets data-st from the tile's own colour) */
html[data-hub-glass] #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 var(--gl-red), 0 24px 40px -24px rgba(30, 34, 44, .5) !important; }
html[data-hub-glass] #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #C9A24F, 0 24px 40px -24px rgba(30, 34, 44, .5) !important; }
html[data-hub-glass] #opsMetrics .metric-label {
  display: flex !important; align-items: center; gap: 9px; margin: 0 !important; font-size: 10.5px !important; font-weight: 800 !important;
  letter-spacing: .1em !important; text-transform: uppercase; color: inherit; opacity: .75; line-height: 1.2;
}
html[data-hub-glass] #opsMetrics .metric-label .ti {
  position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 11px; display: inline-grid; place-items: center; font-size: 17px; color: #0C447C; opacity: 1;
  background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: inset 0 2px 0 #fff, 0 3px 0 rgba(167, 197, 234, .95), 0 10px 16px -10px rgba(12, 68, 124, .5);
}
html[data-hub-glass] #opsMetrics .metric[data-st] .metric-label .ti::after { content: ""; position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
html[data-hub-glass] #opsMetrics .metric[data-st="bad"] .metric-label .ti::after { background: var(--gl-red); }
html[data-hub-glass] #opsMetrics .metric[data-st="warn"] .metric-label .ti::after { background: #C9A24F; }
html[data-hub-glass] #opsMetrics .metric[data-st="ok"] .metric-label .ti::after { background: var(--gl-green); }
html[data-hub-glass] #opsMetrics .metric[data-st="info"] .metric-label .ti::after { display: none; }
html[data-hub-glass] #opsMetrics .metric-value { font-size: 28px !important; font-weight: 800 !important; letter-spacing: -.02em; line-height: 1.05; white-space: normal; margin: 2px 0 0 !important; text-align: left !important; }
html[data-hub-glass] #opsMetrics .metric.gl-small .metric-value { font-size: 21px !important; }
html[data-hub-glass] #opsMetrics .metric-sub { font-size: 12px !important; color: inherit; opacity: .62; line-height: 1.35; text-align: left !important; }
/* cockpit.css hides the stamp (it rides on nth-child(n+4)) and clamps the sub to 2 lines; Glass shows both in full, as Classic does */
html[data-hub-glass] #opsMetrics .metric > .metric-stamp { display: block !important; font-size: 11px !important; opacity: .7; margin-top: auto; border: 0 !important; padding: 2px 0 0 !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric > .metric-stamp:not(.is-stale) { opacity: .88; }
html[data-hub-glass] #opsMetrics .metric > .metric-sub { display: block !important; -webkit-line-clamp: unset; overflow: visible; white-space: normal; }
html[data-hub-glass] #opsMetrics .metric-stamp.is-stale { opacity: .9; }
/* multi-number tiles: chips */
html[data-hub-glass] #opsMetrics .metric-value:has(.metric-pair) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 5px; font-size: inherit !important; }
html[data-hub-glass] #opsMetrics .metric-value:has(.metric-pair) :is(.metric-sep, br) { display: none !important; }
html[data-hub-glass] #opsMetrics .metric-pair { display: flex !important; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 10px; background: rgba(26, 25, 22, .05); min-width: 0; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-pair { background: rgba(255, 255, 255, .07); }
html[data-hub-glass] #opsMetrics .metric-pair > :first-child { font-size: 16px; font-weight: 800; line-height: 1.05; }
html[data-hub-glass] #opsMetrics .metric-word { display: block !important; font-size: 10px; font-weight: 600; opacity: .65; line-height: 1.2; }

/* ---------- Team sales (glass card) ---------- */
html[data-hub-glass] #teamSales .team-sales { padding: 16px 18px !important; margin: 0 !important; height: 100%; }

html[data-hub-glass] .gl-ico {
  position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: #0C447C;
  background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: inset 0 2px 0 #fff, 0 3px 0 rgba(167, 197, 234, .95);
}
html[data-hub-glass] .gl-ico em { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
html[data-hub-glass] .gl-ico em.bad { background: var(--gl-red); }
html[data-hub-glass] .gl-ico em.warn { background: #C9A24F; }
html[data-hub-glass] .gl-chev { color: var(--gl-ink3); font-size: 17px; }

/* ---------- Team room ---------- */
html[data-hub-glass] .gl-room { display: flex; flex-direction: column; }
html[data-hub-glass] .gl-plan {
  position: relative; flex: 1; min-height: 170px; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: linear-gradient(160deg, #1d222c, #2a3242);
}
html[data-hub-glass] .gl-plan::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 14px 14px; }
html[data-hub-glass] .gl-r {
  position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 5px 6px; border-radius: 9px;
  border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); color: #fff; font-size: 9.5px; font-weight: 800; transition: transform .3s, background .3s;
}
html[data-hub-glass] .gl-r:hover { transform: scale(1.04); background: color-mix(in srgb, var(--c) 34%, transparent); }
html[data-hub-glass] .gl-r u { text-decoration: none; font-weight: 600; opacity: .75; }
html[data-hub-glass] .gl-desk { display: flex; flex-wrap: wrap; gap: 2px; margin-top: auto; }
html[data-hub-glass] .gl-desk i { width: 5px; height: 5px; border-radius: 1.5px; background: var(--c); }
html[data-hub-glass] .gl-srv { border-style: dashed; }
html[data-hub-glass] .gl-up { position: absolute; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; color: #7FD3A2; }
html[data-hub-glass] .gl-up i { width: 7px; height: 7px; border-radius: 50%; background: #7FD3A2; box-shadow: 0 0 8px #7FD3A2; animation: gl-breathe 3.6s ease-in-out infinite; }

/* ---------- glass pill buttons (hub language) ---------- */
html[data-hub-glass] .gl-wide, html[data-hub-glass] .gl-appf button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 12.5px inherit; color: var(--gl-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55));
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(0, 0, 0, .05), 0 6px 14px -8px rgba(0, 0, 0, .3);
}
html[data-hub-glass][data-hub-dark] :is(.gl-wide, .gl-appf button) { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
html[data-hub-glass] .gl-wide { width: 100%; margin-top: 10px; }
html[data-hub-glass] .gl-appf button .ti, html[data-hub-glass] .gl-wide .ti { font-size: 17px; color: var(--gl-blue); }
html[data-hub-glass] .gl-appf button small { font-size: 11px; font-weight: 800; color: var(--gl-ink3); }
html[data-hub-glass] .gl-appf button.on { color: #fff; background: linear-gradient(180deg, #5aa0ea, #185FA5 55%, #0f4f8f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 18px -8px rgba(24, 95, 165, .7); }
html[data-hub-glass] .gl-appf button.on :is(.ti, small) { color: #fff; }

/* ---------- apps: filter pills + one even grid ---------- */
html[data-hub-glass] .gl-appf { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
html[data-hub-glass] .gl-appf .gl-allp { margin-left: auto; }
html[data-hub-glass] .gl-ag { display: flex; flex-wrap: wrap; gap: 16px 6px; }
html[data-hub-glass] .gl-app {
  flex: 1 0 calc((100% - (var(--per, 12) - 1) * 6px) / var(--per, 12)); max-width: calc((100% - (var(--per, 12) - 1) * 6px) / var(--per, 12) * 1.25);
  display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 0;
  font: 700 11px/1.2 inherit; color: var(--gl-ink); text-align: center; text-wrap: balance; animation: gl-pop .45s cubic-bezier(.3, 1.4, .5, 1) both;
}
html[data-hub-glass] .gl-ai {
  position: relative; width: 58px; height: 58px; border-radius: 19px; display: grid; place-items: center; font-size: 27px; color: #0C447C;
  background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: inset 0 2px 0 #fff, inset 0 -6px 10px rgba(12, 68, 124, .1), 0 4px 0 rgba(167, 197, 234, .95), 0 12px 18px -10px rgba(12, 68, 124, .5);
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
html[data-hub-glass] .gl-ai::after { content: ""; position: absolute; left: 14%; right: 14%; top: 3px; height: 36%; border-radius: 14px; background: linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); pointer-events: none; }
html[data-hub-glass] .gl-ai > * { position: relative; z-index: 1; }
html[data-hub-glass] .gl-ai .ti { font-size: 27px; color: #0C447C; }
html[data-hub-glass] .gl-ai svg { width: 28px; height: 28px; }
html[data-hub-glass] .gl-app:hover .gl-ai { transform: translateY(-6px) rotate(-3deg); }
@keyframes gl-pop { from { opacity: 0; transform: translateY(8px) scale(.92); } }

/* ---------- top bar: Team room + System health pills ---------- */
html[data-hub-glass] .gl-pills { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
html[data-hub-glass] .gl-btn {
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; color: var(--gl-ink); background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(236, 248, 241, .8));
  box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(46, 125, 79, .55); transition: transform .3s;
}
html[data-hub-glass] .gl-btn:hover { transform: translateY(-2px); }
@property --gl-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
html[data-hub-glass] .gl-btn::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit; opacity: .55; background: conic-gradient(from var(--gl-a), transparent 0 62%, #7FD3A2 74%, #2E7D4F 82%, transparent 92%); animation: gl-spin 9s linear infinite; }
html[data-hub-glass] .gl-btn::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: inherit; }
@keyframes gl-spin { to { --gl-a: 360deg; } }
html[data-hub-glass] .gl-bi { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px;
  background: radial-gradient(circle at 35% 30%, #8fe0b0, #2E7D4F 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 12px -6px rgba(46, 125, 79, .8); }
html[data-hub-glass] .gl-bi .ti { position: relative; z-index: 1; }
html[data-hub-glass] .gl-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(46, 125, 79, .28); animation: gl-radar 4.5s cubic-bezier(.2, .6, .3, 1) infinite; }
html[data-hub-glass] .gl-ring.r2 { animation-delay: 2.25s; }
@keyframes gl-radar { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
html[data-hub-glass] .gl-bt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
html[data-hub-glass] .gl-bt b { font-size: 12.5px; }
html[data-hub-glass] .gl-bt small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--gl-green); }
html[data-hub-glass] .gl-live { width: 6px; height: 6px; border-radius: 50%; background: var(--gl-green); box-shadow: 0 0 6px rgba(46, 125, 79, .5); animation: gl-breathe 3.6s ease-in-out infinite; }
@keyframes gl-breathe { 50% { opacity: .45; transform: scale(.85); } }
html[data-hub-glass] .gl-beat { width: 46px; height: 20px; fill: none; stroke: var(--gl-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; opacity: .8; animation: gl-beat 4.2s ease-in-out infinite; }
@keyframes gl-beat { 40% { stroke-dashoffset: 0; } 80%, 100% { stroke-dashoffset: -90; } }
/* Team room = the same button in hub blue */
html[data-hub-glass] .gl-team { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(234, 243, 253, .85)); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(24, 95, 165, .5); }
html[data-hub-glass] .gl-team::before { background: conic-gradient(from var(--gl-a), transparent 0 62%, #9cc7f5 74%, #185FA5 82%, transparent 92%); animation-duration: 11s; }
html[data-hub-glass] .gl-team .gl-bi { background: radial-gradient(circle at 35% 30%, #9cc7f5, #185FA5 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 12px -6px rgba(24, 95, 165, .8); }
html[data-hub-glass] .gl-team .gl-ring { border-color: rgba(24, 95, 165, .28); }
html[data-hub-glass] .gl-team .gl-bt small { color: var(--gl-blue); }
html[data-hub-glass] .gl-team .gl-live { background: var(--gl-blue); }
/* System health pill: the real answer (2026-11-09) - amber = something needs a look, red = a key refused / a server down / no answer */
html[data-hub-glass] .gl-health.gl-h-warn .gl-live { background: #D4A23C !important; box-shadow: 0 0 6px rgba(212, 162, 60, .6); }
html[data-hub-glass] .gl-health.gl-h-bad .gl-live { background: #E0524A !important; box-shadow: 0 0 6px rgba(224, 82, 74, .6); }
html[data-hub-glass][data-hub-dark] .gl-btn { background: linear-gradient(180deg, rgba(30, 52, 42, .9), rgba(18, 34, 28, .85)); }
html[data-hub-glass][data-hub-dark] .gl-team { background: linear-gradient(180deg, hsl(36 7% 16.4% / .9), hsl(36 7% 10.8% / .85)); }
html[data-hub-glass] .gl-desks { display: flex; gap: 4px; padding: 0 4px; }
html[data-hub-glass] .gl-desks i { width: 7px; height: 7px; border-radius: 2px; background: #9cc7f5; animation: gl-desk 3.6s ease-in-out infinite; }
html[data-hub-glass] .gl-desks i:nth-child(2) { background: #D4B47C; animation-delay: .6s; }
html[data-hub-glass] .gl-desks i:nth-child(3) { background: #7FD3A2; animation-delay: 1.2s; }
@keyframes gl-desk { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-3px); opacity: 1; } }
/* the signed-in pill: blue glass, not gold */
html[data-hub-glass] .maintop-inner > .whoami-pill { border-radius: 999px; color: #0C447C; background: linear-gradient(180deg, #fff, #e4effb); box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(24, 95, 165, .3), 0 8px 16px -8px rgba(24, 95, 165, .5); border: 0; }

/* ---------- ME Assistant forklift: hub-blue mirror instead of gold, still the one that stands out ---------- */

/* ---------- sign-in page ---------- */

@media (prefers-reduced-motion: reduce) {
  html[data-hub-glass] body::before, html[data-hub-glass] .gl-btn::before, html[data-hub-glass] :is(.gl-ring, .gl-live, .gl-beat, .gl-desks i, .gl-up i, .gl-app) { animation: none !important; }
}

/* ---------- phone / narrow window ---------- */
@media (max-width: 999px) {
  html[data-hub-glass] .gl-pills { display: none; }
  html[data-hub-glass] #glRoom { display: none; }
  html[data-hub-glass] #glApps { order: 6; }
  html[data-hub-glass] #ckDock { display: none !important; }
  html[data-hub-glass] .gl-band { height: 170px; border-radius: 22px; padding: 12px; }
  html[data-hub-glass] .gl-pill { height: 34px; padding: 0 12px; gap: 8px; font-size: 11.5px; }
  html[data-hub-glass] .gl-pill b { letter-spacing: .1em; font-size: 10.5px; }
  html[data-hub-glass] #opsMetrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin: -64px 8px 0 !important; gap: 10px !important; }
  html[data-hub-glass] #opsMetrics > .metric { grid-column: auto !important; }
  html[data-hub-glass] #opsMetrics > .metric:has(.metric-pair) { grid-column: 1 / -1 !important; }
  html[data-hub-glass] #opsMetrics .metric-value { font-size: 22px !important; }
  html[data-hub-glass] .gl-app { flex-basis: calc((100% - 3 * 6px) / 4) !important; max-width: none !important; }
}
@media (max-width: 420px) {
  html[data-hub-glass] #opsMetrics { grid-template-columns: minmax(0, 1fr) !important; }
}
/* Sales PIN: big centred digits, hint-style placeholder (CLAUDE.md rule 3a) */

/* ---------- fixes after the first live look (2026-11-01) ---------- */
html[data-hub-glass] #opsMetrics { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: stretch !important; column-gap: 12px !important; row-gap: 0 !important; grid-template-columns: none !important; }
html[data-hub-glass] #opsMetrics > .gl-br { flex-basis: 100%; height: 12px; }
html[data-hub-glass] #opsMetrics > .metric { align-items: stretch !important; text-align: left !important; min-width: 0 !important; width: auto !important; max-width: none !important; }
html[data-hub-glass] #opsMetrics > .metric > * { text-align: left !important; align-self: stretch !important; justify-content: flex-start !important; margin-left: 0 !important; margin-right: 0 !important; }
html[data-hub-glass] #opsMetrics .metric-label { justify-content: flex-start !important; }
html[data-hub-glass] #opsMetrics .metric-value:has(.metric-pair) { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)) !important; }
html[data-hub-glass] #opsMetrics .metric-pair { align-items: flex-start !important; text-align: left !important; }
html[data-hub-glass] #opsMetrics .metric-pair > :first-child { white-space: nowrap; }
html[data-hub-glass] #opsMetrics .msplit { justify-content: flex-start !important; }
/* the round buttons beside the name pill (Admin Assistant mic, style picker): glass + hub blue */
html[data-hub-glass] .maintop-inner > .aa-mic, html[data-hub-glass] .maintop-inner > .theme-pick > .theme-dot {
  width: 42px !important; height: 42px !important; border-radius: 50% !important; border: 0 !important; color: #0C447C !important;
  background: linear-gradient(180deg, #fff, #e4effb) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(12, 68, 124, .08), 0 0 0 1.5px rgba(24, 95, 165, .3), 0 8px 16px -8px rgba(24, 95, 165, .5) !important;
}
html[data-hub-glass] .maintop-inner > .aa-mic .ti, html[data-hub-glass] .maintop-inner > .theme-pick > .theme-dot .ti { color: #0C447C !important; font-size: 19px !important; }
html[data-hub-glass] .maintop-inner > .theme-pick > .theme-dot .theme-swatch { display: none !important; }
html[data-hub-glass][data-hub-dark] .maintop-inner > :is(.aa-mic, .theme-pick > .theme-dot) { background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)) !important; }
html[data-hub-glass][data-hub-dark] .maintop-inner > :is(.aa-mic, .theme-pick > .theme-dot) .ti { color: hsl(220 7% 87.5%) !important; }
/* app names: sentence-style, lighter, two lines at most */
html[data-hub-glass] .gl-an { font-size: 11.5px; font-weight: 600; color: var(--gl-ink2); text-transform: none; letter-spacing: 0; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 999px) {
  html[data-hub-glass] #opsMetrics > .gl-br { display: none; }
  html[data-hub-glass] #opsMetrics { row-gap: 10px !important; }
  html[data-hub-glass] #opsMetrics > .metric { flex: 1 1 calc(50% - 6px) !important; }
  html[data-hub-glass] #opsMetrics > .metric:has(.metric-pair) { flex-basis: 100% !important; }
}
@media (max-width: 420px) { html[data-hub-glass] #opsMetrics > .metric { flex-basis: 100% !important; } }
/* chips only in the VALUE (a sub-line can hold pairs too — Delivery requests), laid out as wrapping pills */
html[data-hub-glass] #opsMetrics .metric-value:has(.metric-pair) { display: flex !important; flex-wrap: wrap; gap: 5px; grid-template-columns: none !important; }
html[data-hub-glass] #opsMetrics .metric-value .metric-pair { flex: 1 1 78px; }
html[data-hub-glass] #opsMetrics .metric-sub .metric-pair { display: inline !important; padding: 0 !important; background: none !important; border-radius: 0; }
html[data-hub-glass] #opsMetrics .metric-sub .metric-pair > :first-child { font-size: inherit; font-weight: 800; }
html[data-hub-glass] #opsMetrics .metric-sub .metric-word { display: inline !important; font-size: inherit; opacity: 1; }
html[data-hub-glass] #opsMetrics .metric-sub .metric-sep { display: inline !important; }
/* a team view's Admin Notes: under the highlights row, not above the photo */
@media (min-width: 1000px) { html[data-hub-glass] #boardTop { order: 4 !important; grid-column: 1 / -1 !important; } }
/* ---------- Night and Fall as in the prototype: their own page colour under the glass ---------- */
html[data-hub-glass][data-hub-dark] body, html[data-hub-glass][data-hub-dark] .shell, html[data-hub-glass][data-hub-dark] .main { background: hsl(36 7% 8.2%) !important; }
html[data-hub-glass][data-hub-theme="e"]:not([data-hub-dark]) {
  --gl-b1: #F0C9A0; --gl-b2: #E8B98A; --gl-b3: #E9D2B5; --gl-blue: #8A4B1F; --gl-blue-d: #5E3214; --gl-blue-l: #F3DCC4;
}
html[data-hub-glass][data-hub-theme="e"]:not([data-hub-dark]) body, html[data-hub-glass][data-hub-theme="e"]:not([data-hub-dark]) :is(.shell, .main) { background: #F1E6D8 !important; }
html[data-hub-glass][data-hub-theme="e"]:not([data-hub-dark]) :is(.gl-appf button.on, .ts-month-tab.is-on) { background: linear-gradient(180deg, #c98b55, #8A4B1F 55%, #5e3214) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 18px -8px rgba(138, 75, 31, .7) !important; color: #fff !important; }
/* dark: the compact tiles and every glass card read light on dark */
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric.gl-small { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)) !important; border-color: rgba(255, 255, 255, .12) !important; color: hsl(220 7% 90.0%) !important; }
html[data-hub-glass][data-hub-dark] :is(.gl-card, #teamSales .team-sales, .ck-strip) { color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] #teamSales .team-sales :is(th, h3, .ts-title) { color: hsl(220 7% 81.4%); }
html[data-hub-glass][data-hub-dark] .maintop-inner { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)); }
html[data-hub-glass][data-hub-dark] .ck-clock b { color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] .gl-an { color: hsl(220 7% 81.4%); }
/* app search in the pill row */
html[data-hub-glass] .gl-asearch { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 240px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .06), inset 0 -1px 0 #fff, 0 0 0 1px rgba(0, 0, 0, .04); cursor: text; }
html[data-hub-glass][data-hub-dark] .gl-asearch { background: rgba(255, 255, 255, .08); }
html[data-hub-glass] .gl-asearch .ti { color: var(--gl-ink3); font-size: 17px; }
html[data-hub-glass] .gl-asearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 13px inherit; color: var(--gl-ink); height: 100%; }
html[data-hub-glass] .gl-asearch:focus-within { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .06), 0 0 0 3px rgba(24, 95, 165, .3); }
html[data-hub-glass] .gl-apps.is-searching .gl-appf button.on { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55)); color: var(--gl-ink); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(0, 0, 0, .3); }
html[data-hub-glass] .gl-apps.is-searching .gl-appf button.on :is(.ti, small) { color: var(--gl-ink3); }
html[data-hub-glass] .gl-none { width: 100%; padding: 18px; text-align: center; color: var(--gl-ink3); font-size: 13px; font-weight: 600; }
@media (max-width: 999px) { html[data-hub-glass] .gl-asearch { min-width: 0; width: 100%; margin-left: 0; } }
html[data-hub-glass][data-hub-dark] .gl-apps.is-searching .gl-appf button.on { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); color: hsl(220 7% 81.4%); }
/* logo with more contrast (Tassia 2026-11-01: "muito apagada"): bright silver on dark, deeper graphite on light */
html[data-hub-glass][data-hub-dark] :is(.ck-logo .logo-chrome) {
  background: linear-gradient(115deg, hsl(220 7% 62.9%) 0%, #ffffff 14%, hsl(220 7% 86.9%) 24%, hsl(220 7% 51.6%) 36%, #ffffff 50%, hsl(220 7% 73.9%) 62%, #ffffff 74%, hsl(220 7% 57.8%) 86%, hsl(220 7% 90.0%) 100%) !important;
  background-size: 300% 100% !important;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 6px rgba(255, 255, 255, .18)) contrast(1.15) brightness(1.08);
}
html[data-hub-glass]:not([data-hub-dark]) :is(.ck-logo .logo-chrome) {
  background: linear-gradient(115deg, #050505 0%, #1d1f22 14%, #5d6268 24%, #8a8f95 28%, #26282b 36%, #050505 50%, #1d1f22 62%, #565b61 74%, #7d8288 78%, #1a1b1d 88%, #050505 100%) !important;
  background-size: 300% 100% !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)) contrast(1.1);
}

/* ---------- Light / Dark switch: a glass lens sliding between the sun and the moon ---------- */
html[data-hub-glass] .gl-mode {
  position: relative; flex: 0 0 auto; width: 112px; height: 38px; margin: 0 6px 0 4px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #e9ebee, #d7dbe0); color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .14), inset 0 -1px 0 rgba(255, 255, 255, .9), 0 10px 22px -14px rgba(0, 0, 0, .45);
  transition: background .5s ease, box-shadow .5s ease;
}
html[data-hub-glass] .gl-mode.is-dark { background: linear-gradient(180deg, #23252b, #34373f); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .55), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 10px 22px -14px rgba(0, 0, 0, .7); }
html[data-hub-glass] .gl-mode-lbl { position: absolute; top: 50%; transform: translateY(-50%); font: 700 14px/1 inherit; letter-spacing: -.01em; transition: opacity .35s ease, transform .5s ease; }
html[data-hub-glass] .gl-mode .gl-l { right: 16px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
html[data-hub-glass] .gl-mode .gl-d { left: 16px; color: #b9bdc6; opacity: 0; transform: translate(-6px, -50%); }
html[data-hub-glass] .gl-mode.is-dark .gl-l { opacity: 0; transform: translate(6px, -50%); }
html[data-hub-glass] .gl-mode.is-dark .gl-d { opacity: 1; transform: translateY(-50%); }
/* the lens: taller than the track, clear glass with a bright rim */
html[data-hub-glass] .gl-lens {
  position: absolute; top: -7px; left: -6px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, .28) 72%, rgba(255, 255, 255, .55) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .9), inset 0 -3px 6px rgba(0, 0, 0, .12), inset 3px 0 6px rgba(160, 200, 255, .25), inset -3px 0 6px rgba(255, 220, 190, .25), 0 10px 18px -8px rgba(0, 0, 0, .35);
  transition: left .6s cubic-bezier(.3, 1.45, .45, 1), transform .6s cubic-bezier(.3, 1.45, .45, 1);
}
html[data-hub-glass] .gl-mode.is-dark .gl-lens { left: calc(100% - 46px); }
html[data-hub-glass] .gl-mode:active .gl-lens { transform: scaleX(1.12) scaleY(.94); }
html[data-hub-glass] .gl-core {
  position: relative; width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(180deg, #c9cdd3, #aeb3ba); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 1px 0 rgba(255, 255, 255, .7);
  transition: background .5s ease;
}
html[data-hub-glass] .gl-mode.is-dark .gl-core { background: linear-gradient(180deg, #1d1f24, #2c2f36); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .08); }
html[data-hub-glass] .gl-core .ti { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; color: #fff; transition: opacity .4s ease, transform .6s cubic-bezier(.3, 1.4, .5, 1); }
html[data-hub-glass] .gl-core .ti-sun { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .95)); }
html[data-hub-glass] .gl-core .ti-moon { opacity: 0; transform: rotate(-90deg) scale(.6); filter: drop-shadow(0 0 5px rgba(255, 255, 255, .9)); }
html[data-hub-glass] .gl-mode.is-dark .gl-core .ti-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
html[data-hub-glass] .gl-mode.is-dark .gl-core .ti-moon { opacity: 1; transform: none; }
html[data-hub-glass] .gl-mode:focus-visible { outline: 3px solid rgba(24, 95, 165, .45); outline-offset: 3px; }
@media (max-width: 999px) { html[data-hub-glass] .gl-mode { order: 3; width: 96px; } }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] :is(.gl-lens, .gl-core .ti, .gl-mode-lbl) { transition: none !important; } }
/* top bar room: the name pill never shrinks to "T…"; the search gives way */
@media (min-width: 1000px) {
  html[data-hub-glass] .maintop-inner > .whoami-pill { flex: 0 0 auto !important; max-width: 200px !important; }
  html[data-hub-glass] .maintop .search { flex: 1 1 120px !important; min-width: 110px !important; }
}
html[data-hub-glass][data-hub-dark] .maintop-inner > .whoami-pill { color: hsl(220 7% 87.5%) !important; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1.5px hsl(220 7% 77.5% / .3) !important; }

/* ---------- live sky over the building: only the sky part of the photo changes with the hour ---------- */
html[data-hub-glass] .gl-band { overflow: hidden; container-type: size; background: #cdd9e6 !important; }
html[data-hub-glass] .gl-photo {
  position: absolute; left: 0; width: 100%; aspect-ratio: 1800 / 885; top: calc((100cqh - 100cqw / 2.0339) * .38);
  background: url(hub-building.jpg) center / 100% 100% no-repeat; z-index: 0; pointer-events: none;
}
html[data-hub-glass] .gl-pill { position: relative; z-index: 2; }
/* the sky = the part of the photo above the roofline (polygon in photo %, from the façade crop) */
html[data-hub-glass] .gl-sky {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 7.6%, 95.75% 6.7%, 28.75% 35.4%, 19% 35.4%, 19% 40.9%, 10.6% 41.3%, 10.6% 52.6%, 6% 51.6%, 0 52.6%);
}
html[data-hub-glass] .gl-sky::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-top, #5b8fd6), var(--sky-bot, #cfe3f7) 55%); opacity: var(--sky-a, 0); transition: opacity 2s, background 2s; }
html[data-hub-glass] .gl-stars { position: absolute; inset: 0; opacity: var(--stars, 0); transition: opacity 2s;
  background-image: radial-gradient(1.2px 1.2px at 8% 12%, #fff, transparent), radial-gradient(1px 1px at 18% 30%, #fff, transparent), radial-gradient(1.4px 1.4px at 27% 9%, #fff, transparent),
    radial-gradient(1px 1px at 38% 22%, #fff, transparent), radial-gradient(1.3px 1.3px at 49% 6%, #fff, transparent), radial-gradient(1px 1px at 57% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 66% 4%, #fff, transparent), radial-gradient(1px 1px at 74% 13%, #fff, transparent), radial-gradient(1.2px 1.2px at 85% 7%, #fff, transparent),
    radial-gradient(1px 1px at 93% 3%, #fff, transparent), radial-gradient(1px 1px at 12% 44%, #fff, transparent), radial-gradient(1.2px 1.2px at 4% 34%, #fff, transparent);
  animation: gl-twinkle 6s ease-in-out infinite alternate; }
@keyframes gl-twinkle { to { filter: brightness(.6); } }
html[data-hub-glass] .gl-cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); filter: blur(4px);
  opacity: calc(.75 - var(--stars, 0) * .5); animation: gl-cloud 160s linear infinite; }
html[data-hub-glass] .gl-cloud.c1 { width: 22%; height: 10%; top: 6%; left: -25%; }
html[data-hub-glass] .gl-cloud.c2 { width: 16%; height: 7%; top: 16%; left: -25%; animation-duration: 210s; animation-delay: -90s; }
html[data-hub-glass] .gl-cloud.c3 { width: 26%; height: 9%; top: 2%; left: -25%; animation-duration: 260s; animation-delay: -170s; }
@keyframes gl-cloud { to { transform: translateX(560%); } }
/* the building itself only darkens at night / warms at golden hour — it never moves */
html[data-hub-glass] .gl-shade { position: absolute; inset: 0; pointer-events: none; transition: background 2s;
  background: linear-gradient(180deg, rgba(255, 150, 70, calc(var(--warm, 0) * .18)), rgba(255, 150, 70, 0)), rgba(8, 14, 34, var(--shade, 0)); }
html[data-hub-glass][data-hub-dark] .gl-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(36 7% 8.0% / .45), hsl(36 7% 8.0% / .25)); pointer-events: none; z-index: 1; }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] :is(.gl-cloud, .gl-stars) { animation: none !important; } }

/* Arrange: just the icon, round glass, beside the style button */
html[data-hub-glass] .maintop-inner > #arrangeBtn { width: 42px; height: 42px; padding: 0; border-radius: 50% !important; justify-content: center; border: 0 !important; color: #0C447C;
  background: linear-gradient(180deg, #fff, #e4effb) !important; box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .3), 0 8px 16px -8px rgba(24, 95, 165, .5) !important; }
html[data-hub-glass] .maintop-inner > #arrangeBtn span { display: none; }
html[data-hub-glass] .maintop-inner > #arrangeBtn .ti { font-size: 19px; margin: 0; }
html[data-hub-glass] .maintop-inner > #arrangeBtn[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #5aa0ea, #185FA5) !important; }
html[data-hub-glass][data-hub-dark] .maintop-inner > #arrangeBtn:not([aria-pressed="true"]) { color: hsl(220 7% 87.5%); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)) !important; }
/* signed in: initials only (full name on hover) */
html[data-hub-glass] .maintop-inner > .whoami-pill { width: 42px; height: 42px !important; padding: 0 !important; justify-content: center; border-radius: 50% !important; flex: 0 0 42px !important; }
html[data-hub-glass] .gl-ini { font-weight: 800; font-size: 13.5px; letter-spacing: .02em; }

/* ---------- top bar: thicker 3D glass, every control the same family (Tassia 2026-11-01) ---------- */
@media (min-width: 1000px) {
  html[data-hub-glass] .maintop-inner {
    min-height: 66px; gap: 10px !important; padding: 10px 12px 10px 18px !important; border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .5)) !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -3px 8px rgba(12, 68, 124, .06), 0 1px 0 rgba(0, 0, 0, .04), 0 18px 34px -18px rgba(30, 40, 60, .45), 0 4px 10px -6px rgba(30, 40, 60, .2) !important;
  }
  html[data-hub-glass][data-hub-dark] .maintop-inner {
    background: linear-gradient(180deg, hsl(36 7% 25.3% / .78), hsl(36 7% 11.9% / .72)) !important; border-color: rgba(255, 255, 255, .14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -3px 8px rgba(0, 0, 0, .35), 0 18px 34px -18px rgba(0, 0, 0, .8) !important;
  }
}
/* one button family: white glass in light, smoked glass in dark, blue icons, 42 px */
html[data-hub-glass] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button) {
  height: 42px !important; border: 0 !important; color: #0C447C !important;
  background: linear-gradient(180deg, #ffffff, #e9f1fb) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(12, 68, 124, .1), 0 0 0 1px rgba(24, 95, 165, .18), 0 6px 12px -6px rgba(24, 95, 165, .45) !important;
  transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), box-shadow .25s !important;
}
html[data-hub-glass] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button):hover { transform: translateY(-2px); }
html[data-hub-glass] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button) .ti { color: #0C447C !important; }
html[data-hub-glass] .maintop-inner .ck-viewas > button { border-radius: 999px !important; padding: 0 14px !important; font-weight: 700; }
html[data-hub-glass][data-hub-dark] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button) {
  color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -3px 5px rgba(0, 0, 0, .35), 0 0 0 1px hsl(220 7% 77.5% / .22), 0 6px 12px -6px rgba(0, 0, 0, .7) !important;
}
html[data-hub-glass][data-hub-dark] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button) .ti { color: hsl(220 7% 90.0%) !important; }
html[data-hub-glass] .maintop-inner > #arrangeBtn[aria-pressed="true"] { color: #fff !important; background: linear-gradient(180deg, #5aa0ea, #185FA5) !important; }
/* the search: an inset well of the same height */
html[data-hub-glass] .maintop .search input { height: 42px !important; }
html[data-hub-glass][data-hub-dark] .maintop .search input { background: rgba(0, 0, 0, .28) !important; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45), inset 0 -1px 0 rgba(255, 255, 255, .08) !important; color: hsl(220 7% 90.0%); }
/* the two animated pills and the switch line up at 42 px too */
html[data-hub-glass] .gl-btn { height: 44px; }
html[data-hub-glass] .gl-mode { height: 36px; }
/* the sky mask is cut from the photo itself (hub-building-sky.png: everything not connected to the
   ground), so the tint never spills onto the building — replaces the hand-drawn polygon */
html[data-hub-glass] .gl-sky { clip-path: none !important;
  -webkit-mask: url(hub-building-sky.png) center / 100% 100% no-repeat; mask: url(hub-building-sky.png) center / 100% 100% no-repeat; }
/* clouds drift across at different heights and speeds, like the sky turning — slow and soft */
html[data-hub-glass] .gl-cloud { filter: blur(6px); }
html[data-hub-glass] .gl-cloud.c1 { width: 24%; height: 9%;  top: 4%;  animation-duration: 140s; animation-delay: -10s; }
html[data-hub-glass] .gl-cloud.c2 { width: 15%; height: 6%;  top: 14%; animation-duration: 190s; animation-delay: -80s; }
html[data-hub-glass] .gl-cloud.c3 { width: 30%; height: 11%; top: 0;   animation-duration: 230s; animation-delay: -150s; }
html[data-hub-glass] .gl-cloud.c4 { width: 12%; height: 5%;  top: 24%; animation-duration: 170s; animation-delay: -40s; }
html[data-hub-glass] .gl-cloud.c5 { width: 20%; height: 7%;  top: 9%;  animation-duration: 260s; animation-delay: -200s; }
html[data-hub-glass] .gl-cloud.c6 { width: 18%; height: 6%;  top: 30%; animation-duration: 210s; animation-delay: -120s; }

/* ---------- Full calendar (#board: Admin Notes · Birthdays & Events · Payroll & Holidays) in glass ---------- */
html[data-hub-glass] #board .bpanel {
  border-radius: 24px !important; border: 1px solid var(--gl-rim2) !important; color: var(--gl-ink);
  background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--gl-rim), var(--gl-shadow) !important;
}
html[data-hub-glass] #board .bpanel-head { border-bottom: 1px solid var(--gl-soft) !important; }
html[data-hub-glass] #board .bpanel-head h3 { color: var(--gl-ink) !important; font-weight: 800; letter-spacing: .08em; }
html[data-hub-glass] #board .bpanel-head > .ti {
  width: 36px; height: 36px; border-radius: 12px; display: inline-grid; place-items: center; font-size: 18px; color: #0C447C !important;
  background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: inset 0 2px 0 #fff, 0 3px 0 rgba(167, 197, 234, .95), 0 10px 16px -10px rgba(12, 68, 124, .5);
}
html[data-hub-glass] #board .bpanel-head button, html[data-hub-glass] #board .bpanel-foot button, html[data-hub-glass] #board .bpanel-foot a {
  border-radius: 999px !important; border: 0 !important; color: #0C447C !important; font-weight: 700;
  background: linear-gradient(180deg, #fff, #e9f1fb) !important; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .18), 0 4px 10px -6px rgba(24, 95, 165, .45) !important;
}
html[data-hub-glass] #board .bpanel-foot a { padding: 6px 12px; text-decoration: none; display: inline-block; }
/* notes: a warm card instead of the old purple tint */
html[data-hub-glass] #board .bnote { border-radius: 16px; border: 0 !important; margin-bottom: 8px; padding: 12px 14px !important; background: var(--gl-soft) !important; box-shadow: inset 3px 0 0 var(--gl-blue); }
html[data-hub-glass] #board .bnote.auto, html[data-hub-glass] #board .bnote.featured { background: linear-gradient(135deg, rgba(251, 246, 236, .92), rgba(245, 236, 218, .85)) !important; box-shadow: inset 3px 0 0 #C9A24F; }
html[data-hub-glass] #board .bnote-label { color: #A9834B !important; letter-spacing: .14em; }
html[data-hub-glass] #board .bnote-title { color: var(--gl-ink) !important; }
html[data-hub-glass] #board .bnote-body { color: var(--gl-ink2) !important; }
/* events: date blocks as small 3D tiles */
html[data-hub-glass] #board .bev-date {
  border-radius: 12px !important; color: #0C447C !important; border: 0 !important;
  background: linear-gradient(180deg, #fff, #D6E8FB) !important; box-shadow: inset 0 2px 0 #fff, 0 3px 0 rgba(167, 197, 234, .95) !important;
}
html[data-hub-glass] #board :is(.bev-name, .bev-title, b) { color: var(--gl-ink); }
/* payroll: the next paycheck as a glass hero, holidays as soft pills */
html[data-hub-glass] #board .bpay-hero { border-radius: 18px !important; border: 0 !important; background: linear-gradient(135deg, rgba(234, 243, 253, .95), rgba(214, 232, 251, .8)) !important; box-shadow: inset 0 1px 0 #fff, 0 10px 20px -16px rgba(24, 95, 165, .6); }
html[data-hub-glass] #board .bpay-date { color: #0C447C !important; }
html[data-hub-glass] #board .bpay-next li { border-color: var(--gl-soft) !important; color: var(--gl-ink2); }
html[data-hub-glass] #board .bpay-hol { border-radius: 12px !important; border: 0 !important; background: var(--gl-soft) !important; }
html[data-hub-glass] #board .bpay-hol > .ti { color: var(--gl-blue) !important; }
/* Night */
html[data-hub-glass][data-hub-dark] #board .bnote.auto, html[data-hub-glass][data-hub-dark] #board .bnote.featured { background: linear-gradient(135deg, rgba(212, 180, 124, .16), rgba(212, 180, 124, .06)) !important; }
html[data-hub-glass][data-hub-dark] #board .bpay-hero { background: linear-gradient(135deg, hsl(220 7% 77.5% / .16), hsl(220 7% 77.5% / .06)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
html[data-hub-glass][data-hub-dark] #board :is(.bpay-date, .bev-date) { color: hsl(220 7% 87.5%) !important; }
html[data-hub-glass][data-hub-dark] #board .bev-date { background: linear-gradient(180deg, rgba(255, 255, 255, .16), hsl(220 7% 77.5% / .1)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 0 rgba(0, 0, 0, .35) !important; }
html[data-hub-glass][data-hub-dark] #board .bpanel-head > .ti { background: linear-gradient(180deg, rgba(255, 255, 255, .22), hsl(220 7% 77.5% / .12)); color: hsl(220 7% 87.5%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 0 rgba(0, 0, 0, .35); }
html[data-hub-glass][data-hub-dark] #board :is(.bpanel-head button, .bpanel-foot button, .bpanel-foot a) { color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
/* side-by-side pairs always end on the same line, in every team view (AP had no Post field → shorter strip) */
@media (min-width: 1000px) {
  html[data-hub-glass] :is(#ckStrip, #glRoom, #teamSales) { align-self: stretch !important; }
  html[data-hub-glass] #ckStrip { display: grid !important; align-content: space-between; }
  html[data-hub-glass] #teamSales > .team-sales { height: 100%; }
}
/* the admin's All Tools tab is the icons page: no needs list / calendar / team room there either */
html[data-hub-glass] body.admin-all-tab :is(#ckStrip, #glRoom) { display: none !important; }
/* chips: an even grid (columns set per tile by glass.js), every box the same size */
html[data-hub-glass] #opsMetrics .metric-value:has(.metric-pair) { display: grid !important; gap: 6px !important; grid-auto-rows: 1fr; }
html[data-hub-glass] #opsMetrics .metric-value .metric-pair { flex: none !important; min-width: 0; height: 100%; box-sizing: border-box; }
html[data-hub-glass] #opsMetrics .metric-value .metric-word { white-space: normal; }
/* Team sales: the "pulled …" stamp sits under the title, never under the month switch */
html[data-hub-glass] #teamSales .ts-head { display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 330px; }
html[data-hub-glass] #teamSales .ts-head .metric-stamp { position: static !important; margin: 0 !important; font-size: 11px; opacity: .75; }
@media (max-width: 999px) { html[data-hub-glass] #teamSales .ts-head { padding-right: 0; } }
/* apps: bigger and tidier — an even grid of same-size cells (Tassia 2026-11-01) */
html[data-hub-glass] .gl-ag { display: grid !important; grid-template-columns: repeat(var(--per, 10), minmax(0, 1fr)); gap: 10px; }
html[data-hub-glass] .gl-app {
  max-width: none !important; flex: none !important; justify-content: flex-start; gap: 10px; padding: 14px 6px 12px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: background .25s, box-shadow .25s, transform .3s cubic-bezier(.3, 1.4, .5, 1);
}
html[data-hub-glass][data-hub-dark] .gl-app { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
html[data-hub-glass] .gl-app:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(234, 243, 253, .6)); box-shadow: inset 0 1px 0 #fff, 0 12px 22px -14px rgba(24, 95, 165, .5); transform: translateY(-2px); }
html[data-hub-glass][data-hub-dark] .gl-app:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .14), hsl(220 7% 77.5% / .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 22px -14px rgba(0, 0, 0, .7); }
html[data-hub-glass] .gl-app:hover .gl-ai { transform: translateY(-3px); }
html[data-hub-glass] .gl-ai { width: 64px; height: 64px; border-radius: 21px; font-size: 30px; }
html[data-hub-glass] .gl-ai .ti { font-size: 30px; }
html[data-hub-glass] .gl-ai svg { width: 31px; height: 31px; }
html[data-hub-glass] .gl-an { font-size: 12.5px; font-weight: 650; line-height: 1.3; min-height: calc(1.3em * 3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; align-content: start; }
@media (max-width: 999px) { html[data-hub-glass] .gl-ag { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } html[data-hub-glass] .gl-app { flex-basis: auto !important; } }
/* Arrange on the Glass home: the icons wiggle softly and can be dragged */
html[data-hub-glass] body.arranging .gl-app { cursor: grab; animation: gl-wiggle 1.4s ease-in-out infinite; }
html[data-hub-glass] body.arranging .gl-app:nth-child(2n) { animation-delay: -.7s; }
@keyframes gl-wiggle { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
html[data-hub-glass] .gl-ghost { opacity: .35; }
html[data-hub-glass] .gl-chosen { animation: none !important; box-shadow: 0 18px 30px -12px rgba(24, 95, 165, .6) !important; }

/* ---------- E · Holiday in Glass: the season's colours, still the Glass layout (Tassia 2026-11-01) ---------- */
html[data-hub-glass][data-hub-theme="e"] { --gl-acc1: #e9a25c; --gl-acc2: #b8622a; --gl-acc3: #7a3a14; }
html[data-hub-glass][data-hub-theme="e"][data-hub-season="thanksgiving"] { --gl-b1: #7a3a14; --gl-b2: #9a6a1c; --gl-b3: #5a1e1a; --gl-page: #1b120c; --gl-blue: #F2B27A; --gl-blue-d: #FFD9B3; --gl-glass: rgba(255, 214, 170, .10); --gl-glass2: rgba(255, 190, 140, .05); --gl-rim2: rgba(255, 210, 160, .14); }
html[data-hub-glass][data-hub-theme="e"][data-hub-season="halloween"] { --gl-b1: #4a2266; --gl-b2: #8a4a10; --gl-b3: #2a1440; --gl-page: #130e1b; --gl-blue: #F0A04B; --gl-blue-d: #FFD2A0; --gl-acc1: #f0a04b; --gl-acc2: #c4621a; --gl-acc3: #6b2f8a; --gl-glass: rgba(220, 180, 255, .09); --gl-glass2: rgba(255, 170, 90, .04); --gl-rim2: rgba(230, 190, 255, .14); }
html[data-hub-glass][data-hub-theme="e"][data-hub-season="christmas"] { --gl-b1: #1d5a3a; --gl-b2: #6a1a1a; --gl-b3: #8a6a1c; --gl-page: #0d1712; --gl-blue: #F2D58A; --gl-blue-d: #FFE9B8; --gl-acc1: #e0b54d; --gl-acc2: #b3262d; --gl-acc3: #1d5a3a; --gl-glass: rgba(200, 255, 220, .08); --gl-glass2: rgba(255, 210, 140, .04); --gl-rim2: rgba(220, 255, 230, .13); }
/* page colour + warm glass in every card */
html[data-hub-glass][data-hub-theme="e"] body, html[data-hub-glass][data-hub-theme="e"] :is(.shell, .main) { background: var(--gl-page, #1b120c) !important; }
html[data-hub-glass][data-hub-theme="e"] :is(.maintop-inner, .gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #opsMetrics > .metric.gl-small) {
  background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important; border-color: var(--gl-rim2) !important;
}
html[data-hub-glass][data-hub-theme="e"] #opsMetrics > .metric.gl-big { background: linear-gradient(160deg, color-mix(in srgb, var(--gl-acc3) 45%, rgba(40, 30, 24, .8)), rgba(30, 22, 18, .78)) !important; border-color: var(--gl-rim2) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-band::after { background: linear-gradient(180deg, color-mix(in srgb, var(--gl-acc3) 40%, transparent), rgba(10, 8, 6, .35)) !important; }
/* the hub-blue accents take the season's colour */
html[data-hub-glass][data-hub-theme="e"] :is(.gl-appf button.on, .ts-month-tab.is-on, .ck-compose button, #arrangeBtn[aria-pressed="true"]) {
  color: #1a120c !important; background: linear-gradient(180deg, var(--gl-acc1), var(--gl-acc2) 60%, var(--gl-acc3)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 18px -8px color-mix(in srgb, var(--gl-acc2) 70%, transparent) !important;
}
html[data-hub-glass][data-hub-theme="e"] .gl-appf button.on :is(.ti, small) { color: #1a120c !important; }
html[data-hub-glass][data-hub-theme="e"] :is(.gl-ai, .gl-ico, #opsMetrics .metric-label .ti, #board .bev-date, #board .bpanel-head > .ti) {
  color: var(--gl-blue-d) !important; background: linear-gradient(180deg, color-mix(in srgb, var(--gl-acc1) 32%, rgba(255, 255, 255, .12)), color-mix(in srgb, var(--gl-acc3) 30%, rgba(255, 255, 255, .04))) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 3px 0 rgba(0, 0, 0, .4), 0 10px 16px -10px rgba(0, 0, 0, .7) !important;
}
html[data-hub-glass][data-hub-theme="e"] :is(.gl-ai .ti, .gl-ai svg) { color: var(--gl-blue-d) !important; }
html[data-hub-glass][data-hub-theme="e"] .maintop-inner :is(> #arrangeBtn, > .aa-mic, > .theme-pick > .theme-dot, > .whoami-pill, .ck-viewas > button) .ti,
html[data-hub-glass][data-hub-theme="e"] .maintop-inner :is(> .whoami-pill) { color: var(--gl-blue-d) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-team { background: linear-gradient(180deg, color-mix(in srgb, var(--gl-acc3) 55%, rgba(20, 14, 10, .9)), rgba(20, 14, 10, .85)) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-team .gl-bi { background: radial-gradient(circle at 35% 30%, var(--gl-acc1), var(--gl-acc2) 70%) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-team::before { background: conic-gradient(from var(--gl-a), transparent 0 62%, var(--gl-acc1) 74%, var(--gl-acc2) 82%, transparent 92%) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-team :is(.gl-bt small) { color: var(--gl-acc1) !important; }
html[data-hub-glass][data-hub-theme="e"] .gl-team .gl-live { background: var(--gl-acc1) !important; }

/* ---------- phone: a tidy three-row top bar + stacked highlights (Tassia 2026-11-01) ---------- */
@media (max-width: 999px) {
  html[data-hub-glass] .maintop { padding: 8px 10px 4px !important; }
  html[data-hub-glass] .maintop-inner {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px !important; padding: 10px !important; border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .55)) !important; border: 1px solid rgba(255, 255, 255, .9) !important;
    box-shadow: inset 0 2px 0 #fff, 0 14px 26px -16px rgba(30, 40, 60, .45) !important;
  }
  html[data-hub-glass][data-hub-dark] .maintop-inner { background: linear-gradient(180deg, hsl(36 7% 25.3% / .82), hsl(36 7% 11.9% / .76)) !important; border-color: rgba(255, 255, 255, .14) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 26px -16px rgba(0, 0, 0, .8) !important; }
  /* row 1: logo · light/dark · initials */
  html[data-hub-glass] .maintop-inner > .ck-logo { order: 1; flex: 1 1 auto; height: 40px; padding: 0 2px !important; justify-content: flex-start; }
  html[data-hub-glass] .maintop-inner > .ck-logo .logo-chrome { width: 84px !important; }
  html[data-hub-glass] .maintop-inner > .gl-mode { order: 2; width: 100px !important; height: 34px !important; margin: 0 4px !important; }
  html[data-hub-glass] .maintop-inner > .gl-mode .gl-lens { width: 46px; height: 46px; top: -6px; }
  html[data-hub-glass] .maintop-inner > .gl-mode.is-dark .gl-lens { left: calc(100% - 41px); }
  html[data-hub-glass] .maintop-inner > .gl-mode .gl-core { width: 28px; height: 28px; }
  html[data-hub-glass] .maintop-inner > .whoami-pill { order: 3; flex: 0 0 40px !important; width: 40px !important; height: 40px !important; max-width: none !important; }
  /* row 2: the search, full width */
  html[data-hub-glass] .maintop-inner > .search { order: 4; flex: 1 1 100% !important; max-width: none !important; min-width: 0 !important; }
  html[data-hub-glass] .maintop .search input { height: 42px !important; border-radius: 999px !important; font-size: 15px; }
  /* row 3: one even row of buttons */
  html[data-hub-glass] .maintop-inner > :is(.ck-viewas, #arrangeBtn, .aa-mic, .theme-pick, .ck-tb) { order: 5; flex: 1 1 0 !important; min-width: 0; display: flex !important; justify-content: center; margin: 0 !important; }
  html[data-hub-glass] .maintop-inner > :is(#arrangeBtn, .aa-mic) { width: auto !important; border-radius: 999px !important; height: 40px !important; }
  html[data-hub-glass] .maintop-inner > .theme-pick > .theme-dot, html[data-hub-glass] .maintop-inner .ck-viewas > button { width: 100% !important; border-radius: 999px !important; height: 40px !important; justify-content: center; padding: 0 !important; }
  html[data-hub-glass] .maintop-inner .ck-viewas > button span, html[data-hub-glass] .maintop-inner .ck-viewas > button small { display: none !important; }
  /* System health and the Agents room: two buttons of their own, each as wide as the others in the row */
  html[data-hub-glass] .maintop-inner > :is(#arrangeBtn, .ck-tb).ck-tb { display: flex !important; flex: 2 1 8px !important; height: 40px; padding: 0 !important; gap: 8px !important; background: none !important; box-shadow: none !important; }
  html[data-hub-glass] .maintop-inner > .ck-tb button { flex: 1 1 0; min-width: 0; width: auto; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 999px !important; display: grid; place-items: center; background: linear-gradient(180deg, #fff, #e9f1fb) !important; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .18), 0 6px 12px -6px rgba(24, 95, 165, .45) !important; }
  html[data-hub-glass][data-hub-dark] .maintop-inner > .ck-tb button { background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22) !important; }
  html[data-hub-glass] .maintop-inner > .ck-tb .ck-pulse { display: none; }
  html[data-hub-glass] .maintop-inner > :is(.counter, .ck-clock, .gl-pills) { display: none !important; }
  /* highlights: two per row, chip tiles full width */
  html[data-hub-glass] #opsMetrics { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 10px !important; margin: -70px 8px 0 !important; }
  html[data-hub-glass] #opsMetrics > .metric { flex: 1 1 calc(50% - 5px) !important; max-width: calc(50% - 5px) !important; padding: 12px !important; }
  html[data-hub-glass] #opsMetrics > .metric:has(.metric-value .metric-pair), html[data-hub-glass] #opsMetrics > .metric:has(.msplit) { flex-basis: 100% !important; max-width: 100% !important; }
  html[data-hub-glass] #opsMetrics .metric-label { font-size: 10px !important; letter-spacing: .06em !important; }
  html[data-hub-glass] #opsMetrics .metric-value { font-size: 22px !important; }
  html[data-hub-glass] #opsMetrics .metric-sub { font-size: 11.5px !important; }
  html[data-hub-glass] .gl-band { height: 190px !important; }
}
/* phone: the ME Assistant forklift sits in a liquid-glass bubble, not a white disc */
@media (max-width: 999px) { html[data-hub-glass] #opsMetrics > .metric.gl-full { flex-basis: 100% !important; max-width: 100% !important; } }
/* phone: search first, then the sections as an even 4-column grid of compact pills */
@media (max-width: 999px) {
  html[data-hub-glass] .gl-appf { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px !important; }
  html[data-hub-glass] .gl-appf .gl-asearch { order: -1; grid-column: 1 / -1; margin: 0 0 4px !important; height: 42px; }
  html[data-hub-glass] .gl-appf button[data-i] { flex-direction: column; gap: 1px !important; height: 48px !important; padding: 0 4px !important; border-radius: 14px !important; font-size: 11.5px !important; line-height: 1.1; text-align: center; min-width: 0; }
  html[data-hub-glass] .gl-appf button[data-i] .ti { display: none; }
  html[data-hub-glass] .gl-appf button[data-i] small { font-size: 10.5px !important; }
}
html[data-hub-glass][data-hub-dark] .maintop-inner > .theme-pick > button.theme-dot,
html[data-hub-glass][data-hub-dark] .maintop-inner > .theme-pick > button.theme-dot[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)) !important; color: hsl(220 7% 90.0%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px hsl(220 7% 77.5% / .22), 0 6px 12px -6px rgba(0, 0, 0, .7) !important;
}

/* ---------- Admin Assistant panel frame in glass ---------- */
html[data-hub-glass] .aa-panel { border-radius: 24px !important; overflow: hidden; border: 1px solid rgba(255, 255, 255, .7) !important; box-shadow: 0 30px 60px -30px rgba(20, 30, 50, .6) !important; }
html[data-hub-glass] .aa-panel-head { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .7)) !important; color: #0C447C !important;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(24, 95, 165, .12) !important; }
html[data-hub-glass] .aa-panel-head b, html[data-hub-glass] .aa-panel-head > .ti { color: #0C447C !important; background: none !important; -webkit-text-fill-color: currentColor; }
html[data-hub-glass] .aa-panel-btn { border-radius: 999px !important; border: 0 !important; color: #0C447C !important; background: linear-gradient(180deg, #fff, #e9f1fb) !important; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .18) !important; }
html[data-hub-glass][data-hub-dark] .aa-panel { border-color: rgba(255, 255, 255, .14) !important; }
html[data-hub-glass][data-hub-dark] .aa-panel-head { background: linear-gradient(180deg, hsl(36 7% 25.3% / .92), hsl(36 7% 13.8% / .9)) !important; border-bottom-color: rgba(255, 255, 255, .1) !important; }
html[data-hub-glass][data-hub-dark] :is(.aa-panel-head b, .aa-panel-head > .ti) { color: hsl(220 7% 90.0%) !important; }
html[data-hub-glass][data-hub-dark] .aa-panel-btn { color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2) !important; }

/* ---------- phone: the style menu opens on screen; the team map has its close button and a usable size ---------- */
@media (max-width: 999px) {
  html[data-hub-glass] .theme-menu { position: fixed !important; left: 10px !important; right: 10px !important; top: 150px !important; width: auto !important; max-width: none !important; transform: none !important; z-index: 120; }
  html[data-hub-glass] .ck-map-top { left: 10px !important; right: 64px !important; top: calc(10px + env(safe-area-inset-top)) !important; }
  html[data-hub-glass] .ck-map-top h3 { display: none; }
  html[data-hub-glass] .ck-map .ck-x, html[data-hub-glass] .ck-map-top .ck-x {
    position: fixed !important; top: calc(10px + env(safe-area-inset-top)) !important; right: 10px !important; z-index: 130;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px;
    background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .25);
  }
  html[data-hub-glass] .ck-mhint { font-size: 11px !important; letter-spacing: .04em !important; left: 12px !important; right: 12px !important; text-align: center; }
}

/* ---------- the clock in the sky: liquid glass under "At a glance" ---------- */
html[data-hub-glass] .gl-clock {
  position: relative; z-index: 2; display: inline-flex; flex-direction: column; margin-top: 10px; padding: 10px 18px 11px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .14));
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -6px 12px rgba(255, 255, 255, .12), 0 14px 26px -16px rgba(0, 0, 0, .45);
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
html[data-hub-glass] .gl-clock b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
html[data-hub-glass] .gl-clock small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; margin-top: 4px; opacity: .92; }
html[data-hub-glass] .gl-band { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1000px) { html[data-hub-glass] .maintop-inner > .ck-clock { display: none !important; } }
@media (max-width: 999px) { html[data-hub-glass] .gl-clock { padding: 6px 12px 7px; margin-top: 8px; } html[data-hub-glass] .gl-clock b { font-size: 22px; } html[data-hub-glass] .gl-clock small { font-size: 10px; } }

/* ---------- light styles: a GREIGE page (Tassia: "fundo branco predominando, acho que mais greige") ---------- */
html[data-hub-glass]:not([data-hub-dark]) { --gl-b1: #D3CABB; --gl-b2: #E2D8C6; --gl-b3: #C9C3BA; }
html[data-hub-glass]:not([data-hub-dark]) body, html[data-hub-glass]:not([data-hub-dark]) :is(.shell, .main) { background: #E2DCD2 !important; }
html[data-hub-glass]:not([data-hub-dark]) body::before { opacity: .75; }

/* the photo band a bit taller so the clock never touches the big tiles */
@media (min-width: 1000px) { html[data-hub-glass] .gl-band { height: 285px !important; } }

/* ---------- Light/Dark switch in the same family as the round buttons (readable label) ---------- */
html[data-hub-glass] .gl-mode {
  background: linear-gradient(180deg, #ffffff, #e9f1fb) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 5px rgba(12, 68, 124, .1), 0 0 0 1px rgba(24, 95, 165, .18), 0 6px 12px -6px rgba(24, 95, 165, .45) !important;
}
html[data-hub-glass] .gl-mode .gl-l { color: #0C447C !important; text-shadow: none !important; font-weight: 800; }
html[data-hub-glass] .gl-mode .gl-d { color: #CFE3FF !important; font-weight: 800; }
html[data-hub-glass] .gl-mode .gl-lens {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .1) 55%, rgba(214, 232, 251, .5) 74%, rgba(255, 255, 255, .9) 100%) !important;
  box-shadow: inset 0 2px 1px #fff, inset 0 -3px 6px rgba(12, 68, 124, .12), 0 0 0 1px rgba(24, 95, 165, .2), 0 10px 18px -8px rgba(24, 95, 165, .45) !important;
}
html[data-hub-glass] .gl-mode .gl-core { background: linear-gradient(180deg, #ffffff, #D6E8FB) !important; box-shadow: inset 0 1px 0 #fff, 0 2px 0 rgba(167, 197, 234, .95) !important; }
html[data-hub-glass] .gl-mode .gl-core .ti-sun { color: #185FA5 !important; filter: none !important; }
/* dark: smoked glass like the other buttons, a glowing moon */
html[data-hub-glass] .gl-mode.is-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -3px 5px rgba(0, 0, 0, .35), 0 0 0 1px rgba(140, 192, 255, .22), 0 6px 12px -6px rgba(0, 0, 0, .7) !important;
}
html[data-hub-glass] .gl-mode.is-dark .gl-lens { background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .04) 55%, rgba(140, 192, 255, .25) 74%, rgba(255, 255, 255, .45) 100%) !important; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5), inset 0 -3px 6px rgba(0, 0, 0, .4), 0 0 0 1px rgba(140, 192, 255, .25), 0 10px 18px -8px rgba(0, 0, 0, .7) !important; }
html[data-hub-glass] .gl-mode.is-dark .gl-core { background: linear-gradient(180deg, #2b3a55, #18233a) !important; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .1) !important; }
html[data-hub-glass] .gl-mode.is-dark .gl-core .ti-moon { color: #EAF3FF !important; }

/* the sky clock without a box: the digits and letters themselves are liquid glass */
html[data-hub-glass] .gl-clock { padding: 0 4px !important; margin-top: 8px !important; background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-shadow: none !important; }
html[data-hub-glass] .gl-clock :is(b, small) {
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .85);
  background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 45%, rgba(220, 235, 255, .35) 60%, rgba(255, 255, 255, .7) 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .28)) drop-shadow(0 0 10px rgba(255, 255, 255, .25));
}
html[data-hub-glass] .gl-clock b { font-size: 48px !important; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
html[data-hub-glass] .gl-clock small { font-size: 13px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; -webkit-text-stroke: .5px rgba(255, 255, 255, .9); }
@media (max-width: 999px) { html[data-hub-glass] .gl-clock b { font-size: 32px !important; } html[data-hub-glass] .gl-clock small { font-size: 10px !important; } }
/* the sky clock in a cooler face (Outfit), a little smaller */
html[data-hub-glass] .gl-clock b { font-family: "Outfit", "Helvetica Neue", Arial, sans-serif !important; font-weight: 500 !important; font-size: 40px !important; letter-spacing: -.01em !important; }
html[data-hub-glass] .gl-clock small { font-family: "Outfit", "Helvetica Neue", Arial, sans-serif !important; font-weight: 600 !important; font-size: 11.5px !important; letter-spacing: .2em !important; }
@media (max-width: 999px) { html[data-hub-glass] .gl-clock b { font-size: 28px !important; } }

/* clouds you can actually see drift (Tassia: "mal consigo perceber"): puffier, brighter, 1-2 minutes across */
html[data-hub-glass] .gl-cloud {
  border-radius: 0 !important; filter: blur(2.5px) !important;
  opacity: calc(.92 - var(--stars, 0) * .45) !important;
  background:
    radial-gradient(closest-side at 30% 60%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)),
    radial-gradient(closest-side at 55% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)),
    radial-gradient(closest-side at 75% 62%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)) !important;
  mix-blend-mode: screen;
}
/* golden hour / dusk: the clouds catch the colour */
html[data-hub-glass] .gl-cloud::after { content: ""; position: absolute; inset: 0; background: inherit; filter: hue-rotate(0deg); opacity: var(--warm, 0); mix-blend-mode: multiply; }
html[data-hub-glass] .gl-band .gl-sky { --cloud-tint: color-mix(in srgb, var(--sky-bot, #fff) 45%, #fff); }
html[data-hub-glass] .gl-cloud.c1 { width: 26% !important; height: 14% !important; top: 3% !important;  animation-duration: 70s !important;  animation-delay: -10s !important; }
html[data-hub-glass] .gl-cloud.c2 { width: 18% !important; height: 10% !important; top: 15% !important; animation-duration: 95s !important;  animation-delay: -60s !important; }
html[data-hub-glass] .gl-cloud.c3 { width: 32% !important; height: 15% !important; top: 0 !important;    animation-duration: 120s !important; animation-delay: -95s !important; }
html[data-hub-glass] .gl-cloud.c4 { width: 15% !important; height: 8% !important;  top: 25% !important; animation-duration: 85s !important;  animation-delay: -30s !important; }
html[data-hub-glass] .gl-cloud.c5 { width: 22% !important; height: 11% !important; top: 9% !important;  animation-duration: 110s !important; animation-delay: -45s !important; }
html[data-hub-glass] .gl-cloud.c6 { width: 20% !important; height: 9% !important;  top: 30% !important; animation-duration: 100s !important; animation-delay: -80s !important; }
/* Dark: the style button's icon reads like the mic's (an :is() with a leading ">" is invalid CSS, so spell it out) */
html[data-hub-glass][data-hub-dark] .maintop-inner > .theme-pick > .theme-dot .ti,
html[data-hub-glass][data-hub-dark] .maintop-inner > .theme-pick > button.theme-dot .ti,
html[data-hub-glass][data-hub-dark] .maintop-inner > .aa-mic .ti,
html[data-hub-glass][data-hub-dark] .maintop-inner > #arrangeBtn:not([aria-pressed="true"]) .ti,
html[data-hub-glass][data-hub-dark] .maintop-inner .ck-viewas > button .ti { color: hsl(220 7% 90.0%) !important; }
html[data-hub-glass][data-hub-dark] .maintop-inner > .whoami-pill { color: hsl(220 7% 90.0%) !important; }
/* every tile title is the same height (two lines at most), so the numbers sit on one line across a row */
html[data-hub-glass] #opsMetrics .metric-label { height: 34px; align-items: center !important; overflow: hidden; }
html[data-hub-glass] #opsMetrics .metric-label .gl-lt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: .06em; line-height: 1.22; }
/* every number in a little box, like the chips (Tassia: "gosto dos números numa caixinha") */
html[data-hub-glass] #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) {
  display: inline-flex !important; align-items: baseline; gap: 4px; align-self: flex-start !important; width: auto !important; max-width: 100%;
  padding: 7px 12px 8px; border-radius: 11px; background: rgba(26, 25, 22, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) { background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
html[data-hub-glass] #opsMetrics .msplit { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; }
html[data-hub-glass] #opsMetrics .msplit::before, html[data-hub-glass] #opsMetrics .msplit::after { display: none !important; }
html[data-hub-glass] #opsMetrics .mhalf { padding: 6px 10px 7px; border-radius: 11px; background: rgba(26, 25, 22, .05); border: 0 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
html[data-hub-glass][data-hub-dark] #opsMetrics .mhalf { background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
/* "STRESSED 50/100": the word never breaks; the small part drops under it when the box is narrow */
html[data-hub-glass] #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) { flex-wrap: wrap; white-space: nowrap; row-gap: 2px; }
html[data-hub-glass] #opsMetrics .metric-value small, html[data-hub-glass] #opsMetrics .metric-value .metric-of { white-space: nowrap; }
@media (max-width: 999px) { html[data-hub-glass] #opsMetrics .metric-value:not(:has(.metric-pair)) { font-size: 20px !important; } }
/* the icons can be dragged any time: a grab hint on hover */
html[data-hub-glass] .gl-app { cursor: pointer; }
html[data-hub-glass] .gl-app:active { cursor: grabbing; }
/* value boxes: real inner padding (an old rule zeroed it) and one minimum width */
html[data-hub-glass] #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) { padding: 7px 12px 8px !important; margin: 2px 0 0 !important; min-width: 64px; justify-content: flex-start; box-sizing: border-box; }
/* the status dot on the icon must not be clipped: only the title TEXT is clamped */
html[data-hub-glass] #opsMetrics .metric-label { overflow: visible !important; }
/* status dots: nothing on the way may clip them (icon tile, label, tile) — phone included */
html[data-hub-glass] #opsMetrics > .metric, html[data-hub-glass] #opsMetrics .metric-label, html[data-hub-glass] #opsMetrics .metric-label .ti { overflow: visible !important; }
html[data-hub-glass] #opsMetrics .metric[data-st] .metric-label .ti::after { z-index: 3; }
/* a word value (STRESSED) shrinks to fit its tile instead of breaking: the tile is a size container */
html[data-hub-glass] #opsMetrics > .metric { container-type: inline-size; }
html[data-hub-glass] #opsMetrics .metric-value, html[data-hub-glass] #opsMetrics .metric-value * { overflow-wrap: normal !important; word-break: keep-all !important; }
html[data-hub-glass] #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) { font-size: min(28px, 14.5cqi) !important; }
html[data-hub-glass] #opsMetrics .metric.gl-small .metric-value:not(:has(.metric-pair)):not(:has(.msplit)) { font-size: min(21px, 13cqi) !important; }
/* team map: a "Back to hub" pill always on screen; on a phone the filter row gives it room and the X goes */
html[data-hub-glass] .gl-back { display: none; }
@media (max-width: 999px) {
  html[data-hub-glass] .gl-back {
    display: inline-flex; align-items: center; gap: 6px; position: absolute; z-index: 20; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom));
    height: 46px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff; font: 700 15px inherit;
    background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .7);
  }
  html[data-hub-glass] .ck-map .ck-map-top { right: 10px !important; }
  html[data-hub-glass] .ck-map .ck-map-top .ck-x { display: none !important; }
  html[data-hub-glass] .ck-map .ck-mhint { display: none !important; }
  html[data-hub-glass] .ck-map .ck-stage { inset: 64px 0 0 0 !important; }
}

/* ---------- ME Assistant forklift: the SAME drawing, dressed in the Glass style ---------- */
/* mast, roof frame and forks: graphite-blue instead of flat black */
/* the pallet: light-blue glass instead of brown wood (the slabs stay stone) */
/* tyres a touch softer, the robot's face glows */
/* a soft glass glow under it, like the other glass pieces */

/* ---------- number & text palette: vivid, like the "All systems up" mint (Tassia 2026-11-01) ---------- */
html[data-hub-glass] { --v-red: #D23C35; --v-gold: #B7791F; --v-green: #1E9E5A; --v-blue: #1767C4; --v-ink: #1A2233; --v-title: #3A4456; --v-sub: #5E6878; --v-glow: none; }
html[data-hub-glass][data-hub-dark] { --v-red: #FF7B72; --v-gold: #FFC65C; --v-green: #5BE3A0; --v-blue: hsl(220 7% 72%); --v-ink: hsl(220 7% 90.0%); --v-title: hsl(220 7% 90.0%); --v-sub: hsl(220 7% 72%);
  --v-glow: 0 0 14px color-mix(in srgb, currentColor 45%, transparent); }
html[data-hub-glass][data-hub-theme="e"] { --v-blue: #FFB27A; }
/* titles and lines */
html[data-hub-glass] #opsMetrics .metric-label { color: var(--v-title) !important; opacity: 1 !important; }
html[data-hub-glass] #opsMetrics .metric-sub { color: var(--v-sub) !important; opacity: 1 !important; }
html[data-hub-glass] #opsMetrics .metric-word { color: var(--v-sub) !important; opacity: 1 !important; }
/* numbers: a plain number is blue; the tile's own tone picks red / gold / green */
html[data-hub-glass] #opsMetrics .metric-value, html[data-hub-glass] #opsMetrics .metric-pair > :first-child, html[data-hub-glass] #opsMetrics .mhalf-num { color: var(--v-blue) !important; text-shadow: var(--v-glow); }
html[data-hub-glass] #opsMetrics :is(.metric-value.red, .metric-value.bad, .c-red, .mhalf-num.red, .metric-value .red) { color: var(--v-red) !important; }
html[data-hub-glass] #opsMetrics :is(.metric-value.amber, .metric-value.warn, .c-amber, .metric-value .amber) { color: var(--v-gold) !important; }
html[data-hub-glass] #opsMetrics :is(.metric-value.green, .metric-value.ok, .c-green, .mhalf-num.green, .metric-value .green) { color: var(--v-green) !important; }
html[data-hub-glass] #opsMetrics .metric-value :is(small, .metric-of) { color: var(--v-sub) !important; text-shadow: none; }
html[data-hub-glass] #opsMetrics .mhalf-lbl { color: var(--v-sub) !important; }
/* the needs list and Team sales use the same palette */
html[data-hub-glass] #teamSales .team-sales :is(.ts-owe, .owe, .c-red, .red) { color: var(--v-red) !important; }
html[data-hub-glass] #teamSales .team-sales :is(.c-green, .green, .ok) { color: var(--v-green) !important; }

/* ---------- Team sales in the same palette and type as the highlights ---------- */
html[data-hub-glass] #teamSales .team-sales :is(h2, h3, .ts-title) { color: var(--v-title) !important; }
html[data-hub-glass][data-hub-dark] #teamSales .team-sales .ts-num { color: var(--v-blue) !important; font-weight: 800; text-shadow: var(--v-glow); }
html[data-hub-glass][data-hub-dark] #teamSales .team-sales td.owe-bad { color: var(--v-red) !important; font-weight: 800; text-shadow: var(--v-glow); }
html[data-hub-glass][data-hub-dark] #teamSales .team-sales td:not(.owe-bad):has(+ td:last-child), html[data-hub-glass] #teamSales .team-sales td.owe-ok { color: var(--v-green) !important; font-weight: 700; }
/* the KPIs above the table: gold total stays, margin in blue, customers owe in coral */
html[data-hub-glass] #teamSales .ck-kpis .k b { color: var(--v-blue) !important; text-shadow: var(--v-glow); }
html[data-hub-glass] #teamSales .ck-kpis .k.bad b { color: var(--v-red) !important; }
html[data-hub-glass] #teamSales .ck-kpis small, html[data-hub-glass] #teamSales .ck-total small { color: var(--v-sub) !important; }
/* the two notes as quiet glass strips */
html[data-hub-glass] #teamSales .team-sales :is(.ts-stale, .ts-note, .ts-prelim) { color: var(--v-sub) !important; background: rgba(127, 140, 160, .08) !important; border-color: rgba(127, 140, 160, .18) !important; border-radius: 12px !important; }
html[data-hub-glass] #teamSales .team-sales :is(.ts-stale, .ts-note, .ts-prelim) b { color: var(--v-title) !important; }

/* ---------- every "selected / primary" button in the Team room button's style (Tassia 2026-11-01) ---------- */
html[data-hub-glass] :is(.ts-month-tab.is-on, .ck-compose button, .gl-appf button.on, .seg button.on, #arrangeBar .arrange-done, .gl-wide) {
  position: relative; border: 0 !important; color: #0C447C !important; font-weight: 800 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(214, 232, 251, .9)) !important;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .45), 0 0 14px -2px rgba(90, 160, 234, .55), 0 10px 20px -12px rgba(24, 95, 165, .6) !important;
}
html[data-hub-glass] :is(.gl-appf button.on) :is(.ti, small) { color: #185FA5 !important; }
html[data-hub-glass][data-hub-dark] :is(.ts-month-tab.is-on, .ck-compose button, .gl-appf button.on, .seg button.on, #arrangeBar .arrange-done, .gl-wide) {
  color: hsl(220 7% 90.0%) !important;
  background: linear-gradient(180deg, hsl(36 7% 24.6% / .95), hsl(36 7% 12.7% / .92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1.5px hsl(220 7% 70.0% / .55), 0 0 16px -2px hsl(220 7% 70.0% / .5), 0 10px 20px -12px rgba(0, 0, 0, .8) !important;
}
html[data-hub-glass][data-hub-dark] .gl-appf button.on :is(.ti, small) { color: hsl(220 7% 77.5%) !important; }
/* the unselected options beside them: quiet glass */
html[data-hub-glass] .ts-month-tab:not(.is-on) { background: transparent !important; color: var(--v-sub) !important; }
html[data-hub-glass] #teamSales .ts-months { background: rgba(127, 140, 160, .1) !important; border: 1px solid rgba(127, 140, 160, .18); }
/* holiday: the same button in the season colour */
html[data-hub-glass][data-hub-theme="e"] :is(.ts-month-tab.is-on, .ck-compose button, .gl-appf button.on, .seg button.on, #arrangeBar .arrange-done, .gl-wide) {
  color: #FFD9B3 !important; background: linear-gradient(180deg, color-mix(in srgb, var(--gl-acc3) 70%, #1a120c), #1a120c) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1.5px color-mix(in srgb, var(--gl-acc1) 70%, transparent), 0 0 16px -2px color-mix(in srgb, var(--gl-acc1) 55%, transparent) !important;
}
/* status dots lit like the System health orb: radial highlight + soft glow */
html[data-hub-glass] #opsMetrics .metric[data-st] .metric-label .ti::after,
html[data-hub-glass] .gl-ico em {
  width: 11px !important; height: 11px !important; border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 8px 1px var(--dot-glow, transparent) !important;
}
html[data-hub-glass][data-hub-dark] #opsMetrics .metric[data-st] .metric-label .ti::after,
html[data-hub-glass][data-hub-dark] .gl-ico em { box-shadow: 0 0 0 1.5px hsl(36 7% 9.7% / .9), 0 0 9px 1px var(--dot-glow, transparent) !important; }
html[data-hub-glass] #opsMetrics .metric[data-st="bad"] .metric-label .ti::after, html[data-hub-glass] .gl-ico em.bad { background: radial-gradient(circle at 35% 30%, #ffc2bd, #F0574D 60%, #B4332B) !important; --dot-glow: rgba(255, 110, 100, .75); }
html[data-hub-glass] #opsMetrics .metric[data-st="warn"] .metric-label .ti::after, html[data-hub-glass] .gl-ico em.warn { background: radial-gradient(circle at 35% 30%, #fff0c4, #F2B544 60%, #B07B18) !important; --dot-glow: rgba(255, 196, 80, .7); }
html[data-hub-glass] #opsMetrics .metric[data-st="ok"] .metric-label .ti::after { background: radial-gradient(circle at 35% 30%, #c9f7de, #3FCB82 60%, #1E8A52) !important; --dot-glow: rgba(90, 227, 160, .7); }
/* Team sales total: the vivid warm gold of the numbers (like "61 new from SPS"), not the metallic gradient */
html[data-hub-glass] #teamSales .ck-total b {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: var(--v-gold) !important; color: var(--v-gold) !important; text-shadow: var(--v-glow);
}
html[data-hub-glass] #teamSales .metric-stamp { color: var(--v-gold) !important; opacity: .9 !important; }
/* Team sales bars in the text palette: the leader in the warm gold, the rest in the sky blue, with the same glow */
/* rank badges: the leader's in gold glass, the rest quiet */
/* light styles: a saturated honey gold instead of the mustard (#B7791F); the "pulled" stamp in its own orange */
html[data-hub-glass]:not([data-hub-dark]) { --v-gold: #D98E04; }
html[data-hub-glass] { --v-stamp: #E8673C; }
html[data-hub-glass][data-hub-dark] { --v-stamp: #FF9466; }
html[data-hub-glass] #teamSales .metric-stamp { color: var(--v-stamp) !important; opacity: 1 !important; font-weight: 700; }
html[data-hub-glass]:not([data-hub-dark]) #teamSales .ck-total b { text-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(217, 142, 4, .25); }

/* ---------- ME Assistant panel in Glass (light + dark) ---------- */
/* dark */
/* apps on the computer: six per row, bigger icons and names (Tassia 2026-11-01) */
@media (min-width: 1000px) {
  html[data-hub-glass] .gl-ag { gap: 14px; }
  html[data-hub-glass] .gl-app { flex-direction: row !important; justify-content: flex-start !important; text-align: left !important; gap: 14px !important; padding: 16px 16px !important; border-radius: 22px !important; }
  html[data-hub-glass] .gl-ai { width: 72px !important; height: 72px !important; border-radius: 23px !important; flex: 0 0 72px; }
  html[data-hub-glass] .gl-ai .ti { font-size: 34px !important; }
  html[data-hub-glass] .gl-ai svg { width: 35px !important; height: 35px !important; }
  html[data-hub-glass] .gl-an { font-size: 14.5px !important; font-weight: 700 !important; min-height: 0 !important; text-align: left; color: var(--v-ink, #1A2233) !important; }
}
/* notes (Full calendar + team views): no stray icon over the label, a clean straight accent bar */
html[data-hub-glass] :is(#board, #boardTop) .bnote .bnote-pin { display: none !important; }
html[data-hub-glass] :is(#board, #boardTop) .bnote { position: relative; padding: 14px 16px 12px 20px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7) !important; border-radius: 16px !important; }
html[data-hub-glass] :is(#board, #boardTop) .bnote::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--v-blue, #1767C4); }
html[data-hub-glass] :is(#board, #boardTop) .bnote:is(.auto, .featured)::before { background: var(--v-gold, #D98E04); }
html[data-hub-glass] :is(#board, #boardTop) .bnote-label { display: flex; align-items: center; gap: 6px; color: var(--v-gold, #D98E04) !important; }
html[data-hub-glass] :is(#board, #boardTop) .bnote.auto .bnote-label::before { content: "\eda5"; font-family: "tabler-icons"; font-size: 13px; }
html[data-hub-glass] :is(#board, #boardTop) .bnote-title { color: var(--v-ink, #1A2233) !important; }
html[data-hub-glass] :is(#board, #boardTop) :is(.bnote-body, .bnote-foot) { color: var(--v-sub, #5E6878) !important; }
html[data-hub-glass][data-hub-dark] :is(#board, #boardTop) .bnote { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important; }
/* the calendar row mirrors the sales row (Tassia: "mais orgânico"): narrow Team room left, wide calendar right */
@media (min-width: 1000px) {
  html[data-hub-glass] #glRow5 { order: 5; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: inherit; align-items: stretch; column-gap: 16px; }
  html[data-hub-glass] #glRow5 > #glRoom, html[data-hub-glass] #glRow5 > #ckStrip { grid-column: auto !important; order: 0 !important; }
}
@media (max-width: 999px) { html[data-hub-glass] #glRow5 { order: 5; display: flex; flex-direction: column; gap: 12px; } }
/* apps on the computer, as the hub had them: five per row, icon on top, name centred under it — in glass */
@media (min-width: 1000px) {
  html[data-hub-glass] .gl-ag { gap: 16px !important; }
  html[data-hub-glass] .gl-app { flex-direction: column !important; justify-content: flex-start !important; align-items: center !important; text-align: center !important;
    gap: 14px !important; padding: 26px 14px 22px !important; min-height: 196px; border-radius: 22px !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5)) !important; border: 1px solid rgba(255, 255, 255, .9) !important;
    box-shadow: inset 0 1px 0 #fff, 0 12px 24px -18px rgba(30, 40, 60, .45) !important; }
  html[data-hub-glass][data-hub-dark] .gl-app { background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)) !important; border-color: rgba(255, 255, 255, .1) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1) !important; }
  html[data-hub-glass] .gl-ai { width: 84px !important; height: 84px !important; border-radius: 26px !important; flex: 0 0 auto !important; }
  html[data-hub-glass] .gl-ai .ti { font-size: 38px !important; }
  html[data-hub-glass] .gl-ai svg { width: 40px !important; height: 40px !important; }
  html[data-hub-glass] .gl-an { text-align: center !important; font-size: 14px !important; font-weight: 800 !important; letter-spacing: .02em; }
}

/* ---------- View as menu in liquid glass (readable active row) ---------- */
html[data-hub-glass] .ck-menu {
  border-radius: 22px !important; padding: 8px !important; border: 1px solid rgba(255, 255, 255, .85) !important;
  background: linear-gradient(160deg, rgba(250, 248, 244, .88), rgba(236, 231, 223, .8)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, 0 26px 50px -24px rgba(20, 30, 50, .5) !important;
}
html[data-hub-glass] .ck-menu .nav-item { border-radius: 14px !important; color: var(--v-ink, #1A2233) !important; background: transparent !important; font-weight: 700; }
html[data-hub-glass] .ck-menu .nav-item .ti { color: #185FA5 !important; }
html[data-hub-glass] .ck-menu .nav-item .nav-count { color: var(--v-sub, #5E6878) !important; background: transparent !important; font-weight: 800; }
html[data-hub-glass] .ck-menu .nav-item:hover { background: rgba(24, 95, 165, .08) !important; }
html[data-hub-glass] .ck-menu .nav-item.active {
  color: #0C447C !important; background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(214, 232, 251, .9)) !important;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .45), 0 0 14px -2px rgba(90, 160, 234, .55) !important;
}
html[data-hub-glass] .ck-menu .nav-item.active :is(.ti, .nav-count) { color: #185FA5 !important; }
/* dark */
html[data-hub-glass][data-hub-dark] .ck-menu { background: linear-gradient(160deg, hsl(36 7% 20.1% / .92), hsl(36 7% 10.4% / .9)) !important; border-color: rgba(255, 255, 255, .12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 26px 50px -24px rgba(0, 0, 0, .85) !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item { color: hsl(220 7% 90.0%) !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item .ti { color: hsl(220 7% 77.5%) !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item .nav-count { color: hsl(220 7% 72%) !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item:hover { background: rgba(255, 255, 255, .06) !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item.active {
  color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, hsl(36 7% 24.6% / .95), hsl(36 7% 12.7% / .92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1.5px hsl(220 7% 70.0% / .55), 0 0 16px -2px hsl(220 7% 70.0% / .5) !important;
}
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item.active :is(.ti, .nav-count) { color: hsl(220 7% 77.5%) !important; }
/* status dots only in "Needs you first" (Tassia: "too much" on the highlights); the coloured top edge stays */
html[data-hub-glass] #opsMetrics .metric[data-st] .metric-label .ti::after { display: none !important; }
/* View as menu: frosted enough that the page behind never shows through the words */
html[data-hub-glass] .ck-menu { background: linear-gradient(160deg, rgba(252, 250, 247, .97), rgba(240, 236, 229, .95)) !important; -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); z-index: 200 !important; }
html[data-hub-glass][data-hub-dark] .ck-menu { background: linear-gradient(160deg, hsl(36 7% 18.3% / .98), hsl(36 7% 10.4% / .97)) !important; }
@media (min-width: 1000px) { html[data-hub-glass] #glRow5:has(> #glRoom[hidden]) { grid-template-columns: minmax(0, 1fr); } }
html[data-hub-glass] #glRoom[hidden] { display: none !important; }
/* inputs and buttons inside highlight tiles (PO # · Go …) in the glass style */
html[data-hub-glass] #opsMetrics .metric :is(input[type="text"], input[type="search"], input:not([type])) {
  height: 36px; border-radius: 999px !important; border: 0 !important; padding: 0 14px !important; font: 600 13px inherit; color: var(--v-ink, #1A2233);
  background: rgba(255, 255, 255, .78) !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .07), 0 0 0 1px rgba(0, 0, 0, .05) !important;
}
html[data-hub-glass][data-hub-dark] #opsMetrics .metric :is(input[type="text"], input[type="search"], input:not([type])) { background: rgba(0, 0, 0, .28) !important; color: hsl(220 7% 90.0%); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45) !important; }
html[data-hub-glass] #opsMetrics .metric button:not(.metric):not([class*="gl-"]) {
  height: 36px; padding: 0 16px; border-radius: 999px !important; border: 0 !important; font-weight: 800 !important; color: #0C447C !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(214, 232, 251, .9)) !important;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .45), 0 0 14px -2px rgba(90, 160, 234, .55) !important;
}
html[data-hub-glass][data-hub-dark] #opsMetrics .metric button:not(.metric):not([class*="gl-"]) {
  color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, hsl(36 7% 24.6% / .95), hsl(36 7% 12.7% / .92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1.5px hsl(220 7% 70.0% / .55), 0 0 16px -2px hsl(220 7% 70.0% / .5) !important;
}

/* ---------- cards a little more 3D: a defined edge, light from the top, depth at the bottom ---------- */
html[data-hub-glass] :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #opsMetrics > .metric, .gl-app) {
  border: 1px solid rgba(255, 255, 255, .95) !important;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgba(120, 105, 85, .10),
    0 0 0 1px rgba(120, 105, 85, .14),
    0 2px 3px -1px rgba(60, 50, 35, .12),
    0 18px 30px -20px rgba(40, 34, 24, .5) !important;
}
html[data-hub-glass] #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 var(--v-red, #D23C35), inset 0 -2px 0 rgba(120, 105, 85, .10), 0 0 0 1px rgba(120, 105, 85, .14), 0 2px 3px -1px rgba(60, 50, 35, .12), 0 18px 30px -20px rgba(40, 34, 24, .5) !important; }
html[data-hub-glass] #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #D9A24A, inset 0 -2px 0 rgba(120, 105, 85, .10), 0 0 0 1px rgba(120, 105, 85, .14), 0 2px 3px -1px rgba(60, 50, 35, .12), 0 18px 30px -20px rgba(40, 34, 24, .5) !important; }
html[data-hub-glass] .gl-app:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .35), 0 20px 30px -18px rgba(24, 95, 165, .45) !important; }
/* dark: a lit top edge and a deep shadow */
html[data-hub-glass][data-hub-dark] :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #opsMetrics > .metric, .gl-app) {
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .45), 0 18px 32px -18px rgba(0, 0, 0, .85) !important;
}
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 #FF7B72, inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .45), 0 18px 32px -18px rgba(0, 0, 0, .85) !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #FFC65C, inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .45), 0 18px 32px -18px rgba(0, 0, 0, .85) !important; }
/* the calendar row holds: Team room (admin) OR the team's Admin Notes, beside the calendar */
@media (min-width: 1000px) {
  html[data-hub-glass] #glRow5:has(> #glRoom[hidden]):has(> #boardTop:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  html[data-hub-glass] #glRow5 > #boardTop { grid-column: auto !important; order: 0 !important; margin: 0 !important; }
  html[data-hub-glass] #glRow5 > #boardTop .bpanel { height: 100%; }
  html[data-hub-glass] #glRow5 > #boardTop .bpanel-body { flex-direction: column !important; overflow: auto; max-height: 230px; }
  html[data-hub-glass] #glRow5 > #boardTop .bnote { max-width: none !important; min-width: 0 !important; flex: none !important; }
}
/* the team view's Admin Notes card in the same glass as every card */
html[data-hub-glass] #boardTop .bpanel {
  border-radius: 24px !important; border: 1px solid rgba(255, 255, 255, .95) !important; padding: 16px 18px !important;
  background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(120, 105, 85, .10), 0 0 0 1px rgba(120, 105, 85, .14), 0 2px 3px -1px rgba(60, 50, 35, .12), 0 18px 30px -20px rgba(40, 34, 24, .5) !important;
}
html[data-hub-glass][data-hub-dark] #boardTop .bpanel { border-color: rgba(255, 255, 255, .12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .45), 0 18px 32px -18px rgba(0, 0, 0, .85) !important; }
html[data-hub-glass] #boardTop .bpanel-head h3 { font-size: 15px !important; font-weight: 800 !important; color: var(--v-ink, #1A2233) !important; }
/* the photo band ~12% taller */
@media (min-width: 1000px) { html[data-hub-glass] .gl-band { height: 320px !important; } }
/* ME Assistant: the top bar in a mirrored 3D hub blue; the greeting easier to read */

/* ---------- notes ribbon at the top of the hub ---------- */
html[data-hub-glass] #glTicker { order: 1 !important; grid-column: 1 / -1 !important; }
html[data-hub-glass] .gl-ticker[hidden] { display: none !important; }
html[data-hub-glass] .gl-ticker {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 6px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .55)); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 105, 85, .12), 0 10px 22px -16px rgba(40, 34, 24, .45);
}
html[data-hub-glass] .gl-tk-lab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 50%), linear-gradient(115deg, #0C447C, #185FA5 40%, #5AA0EA 52%, #185FA5 64%, #0C447C);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 12px -6px rgba(24, 95, 165, .7);
}
html[data-hub-glass] .gl-tk-run { flex: 1; min-width: 0; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
html[data-hub-glass] .gl-tk-in { display: inline-flex; white-space: nowrap; gap: 48px; padding-right: 48px; animation: gl-tick var(--d, 24s) linear infinite; font-size: 14px; color: var(--v-ink, #1A2233); }
html[data-hub-glass] .gl-ticker:hover .gl-tk-in { animation-play-state: paused; }
html[data-hub-glass] .gl-tk-in span::before { content: "•"; color: var(--v-gold, #D98E04); margin-right: 10px; }
html[data-hub-glass] .gl-tk-in b { font-weight: 800; }
html[data-hub-glass] .gl-tk-in .ti { color: var(--v-blue, #1767C4); margin-right: 4px; }
@keyframes gl-tick { to { transform: translateX(-50%); } }
html[data-hub-glass][data-hub-dark] .gl-ticker { background: linear-gradient(180deg, hsl(36 7% 25.3% / .82), hsl(36 7% 13.8% / .78)); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -16px rgba(0, 0, 0, .8); }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] .gl-tk-in { animation: none; } }
@media (max-width: 999px) { html[data-hub-glass] #glTicker { order: 1 !important; } html[data-hub-glass] .gl-tk-lab { padding: 0 10px; } }
/* ME Assistant header: a deeper mirrored blue, bigger title */
/* the initials' menu: name, Switch profile (admin), Sign out */
html[data-hub-glass] .whoami-pill { cursor: pointer; }
html[data-hub-glass] .gl-umenu[hidden] { display: none; }
html[data-hub-glass] .gl-umenu {
  position: fixed; z-index: 300; min-width: 220px; padding: 8px; border-radius: 20px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(160deg, rgba(252, 250, 247, .97), rgba(240, 236, 229, .95)); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: inset 0 1px 0 #fff, 0 24px 44px -22px rgba(20, 30, 50, .5);
}
html[data-hub-glass] .gl-um-who { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; border-bottom: 1px solid rgba(120, 105, 85, .14); color: var(--v-ink, #1A2233); font-size: 13.5px; }
html[data-hub-glass] .gl-um-who .ti { font-size: 20px; color: #185FA5; }
html[data-hub-glass] .gl-umenu button { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: none; font: 700 13.5px inherit; color: var(--v-ink, #1A2233); cursor: pointer; text-align: left; }
html[data-hub-glass] .gl-umenu button:hover { background: rgba(24, 95, 165, .08); }
html[data-hub-glass] .gl-umenu button .ti { font-size: 18px; color: #185FA5; }
html[data-hub-glass] .gl-umenu .gl-um-out { color: var(--v-red, #D23C35); }
html[data-hub-glass] .gl-umenu .gl-um-out .ti { color: var(--v-red, #D23C35); }
html[data-hub-glass][data-hub-dark] .gl-umenu { background: linear-gradient(160deg, hsl(36 7% 18.3% / .98), hsl(36 7% 10.4% / .97)); border-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 44px -22px rgba(0, 0, 0, .85); }
html[data-hub-glass][data-hub-dark] :is(.gl-um-who, .gl-umenu button:not(.gl-um-out)) { color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] .gl-umenu button:not(.gl-um-out) .ti, html[data-hub-glass][data-hub-dark] .gl-um-who .ti { color: hsl(220 7% 77.5%); }
/* the Notes label in the glowing-button style (the mirrored blue did not match) */
html[data-hub-glass] .gl-tk-lab { color: #0C447C !important; text-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(214, 232, 251, .9)) !important;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(24, 95, 165, .45), 0 0 14px -2px rgba(90, 160, 234, .55) !important; }
html[data-hub-glass][data-hub-dark] .gl-tk-lab { color: hsl(220 7% 90.0%) !important; background: linear-gradient(180deg, hsl(36 7% 24.6% / .95), hsl(36 7% 12.7% / .92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1.5px hsl(220 7% 70.0% / .55), 0 0 16px -2px hsl(220 7% 70.0% / .5) !important; }

/* ---------- Dark: stronger liquid glass (a light sheen across the top, a bright rim, deeper drop) ---------- */
html[data-hub-glass][data-hub-dark] :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #boardTop .bpanel, #opsMetrics > .metric.gl-small, .gl-app) {
  background:
    radial-gradient(120% 60% at 20% 0%, hsl(220 7% 77.5% / .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .04) 38%, rgba(255, 255, 255, .02) 100%),
    hsl(36 7% 13.4% / .72) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 1px 0 0 rgba(255, 255, 255, .06),
    inset 0 -10px 18px -10px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 0, 0, .5),
    0 22px 38px -20px rgba(0, 0, 0, .95),
    0 4px 10px -4px rgba(0, 0, 0, .6) !important;
}
html[data-hub-glass][data-hub-dark] .gl-app { position: relative; overflow: hidden; }
html[data-hub-glass][data-hub-dark] .gl-app::after {
  content: ""; position: absolute; left: -30%; top: -60%; width: 160%; height: 70%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0)); border-radius: 50%; transform: rotate(-6deg);
}
html[data-hub-glass][data-hub-dark] .gl-app:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1.5px hsl(220 7% 70.0% / .55), 0 0 22px -4px hsl(220 7% 70.0% / .55), 0 24px 40px -20px rgba(0, 0, 0, .95) !important;
}
/* the icon tiles pop a bit more in dark */
html[data-hub-glass][data-hub-dark] .gl-ai { box-shadow: inset 0 2px 0 #fff, inset 0 -6px 10px hsl(36 7% 25.3% / .18), 0 4px 0 hsl(220 7% 64.7% / .95), 0 14px 22px -10px rgba(0, 0, 0, .8), 0 0 18px -6px hsl(220 7% 77.5% / .5) !important; }
/* the notes now run at the top of the hub: no second ticker under the calendar (Post + Manage stay) */
html[data-hub-glass] .ck-strip .ck-ticker { display: none !important; }
html[data-hub-glass] .ck-strip .ck-notes:not(:has(.ck-compose)) .ck-nh { margin-bottom: 0; }
/* app icon tiles: a defined glass rim + top gloss so they stand out on light backgrounds */
html[data-hub-glass] .gl-ai {
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow:
    inset 0 2px 0 #fff, inset 0 -8px 12px rgba(12, 68, 124, .14),
    0 0 0 1.5px rgba(24, 95, 165, .28),
    0 4px 0 rgba(140, 180, 225, .95),
    0 16px 22px -12px rgba(12, 68, 124, .55) !important;
}
html[data-hub-glass] .gl-ai::after { left: 10% !important; right: 10% !important; top: 3px !important; height: 44% !important; border-radius: 18px 18px 40% 40% / 18px 18px 60% 60% !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15)) !important; }
/* app icon tiles: the blue rim must win over the light-style card rules */
html[data-hub-glass] .gl-app .gl-ai {
  box-shadow: inset 0 2px 0 #fff, inset 0 -8px 12px rgba(12, 68, 124, .16), 0 0 0 1.5px rgba(24, 95, 165, .38), 0 4px 0 rgba(120, 165, 215, .95), 0 16px 22px -12px rgba(12, 68, 124, .6) !important;
}
/* Team sales: each rep's sales figure in the ink colour (black in light, white in dark), not blue */
html[data-hub-glass] #teamSales .team-sales .ts-num { color: var(--v-ink, #1A2233) !important; text-shadow: none !important; }
/* ME Assistant header — Dark: graphite with a blue + mint aurora (her pick B) */
/* Light: the same aurora, soft, on pearl glass, dark title */
/* the same glass rim on EVERY small icon tile in the hub (highlights, needs list, board heads, assistant tools, sign-in) */
html[data-hub-glass] :is(#opsMetrics .metric-label .ti, .gl-ico, #board .bpanel-head > .ti, #boardTop .bpanel-head > .ti, .nx .ico, .ck-next .ck-ico) {
  border: 1px solid rgba(255, 255, 255, .95) !important;
  box-shadow: inset 0 2px 0 #fff, inset 0 -5px 8px rgba(12, 68, 124, .14), 0 0 0 1.5px rgba(24, 95, 165, .36), 0 3px 0 rgba(120, 165, 215, .95), 0 10px 16px -10px rgba(12, 68, 124, .55) !important;
}
html[data-hub-glass][data-hub-dark] :is(#opsMetrics .metric-label .ti, .gl-ico, #board .bpanel-head > .ti, #boardTop .bpanel-head > .ti) {
  border-color: rgba(255, 255, 255, .25) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 1.5px hsl(220 7% 70.0% / .4), 0 3px 0 rgba(0, 0, 0, .4), 0 0 14px -6px hsl(220 7% 77.5% / .5) !important;
}
/* light ME Assistant header: the same graphite aurora as Dark (her pick B), on the light panel */
/* team views: no admin-only pieces */
html[data-hub-glass].gl-team .grid-wrap #teamSales { grid-column: 1 / -1 !important; }
html[data-hub-glass].gl-team .ck-strip .ck-nh > span { display: none !important; }
html[data-hub-glass].gl-team .ck-strip .ck-notes:not(:has(.ck-compose)) { display: none !important; }
/* the signed-in initials are always the LAST button (after the style button) */
@media (min-width: 1000px) { html[data-hub-glass] .maintop-inner > .whoami-pill { order: 99 !important; } }
/* team views: the notes already run at the top, so no Admin Notes card below */
html[data-hub-glass].gl-team #boardTop { display: none !important; }
@media (min-width: 1000px) { html[data-hub-glass].gl-team #glRow5 { grid-template-columns: minmax(0, 1fr) !important; } }
html[data-hub-glass].gl-nostaff :is(.gl-pills, .ck-tb) { display: none !important; }
/* the top bar wears the same aurora as the ME Assistant header (soft in light, stronger in dark) */
@media (min-width: 1000px) {
  html[data-hub-glass]:not([data-hub-dark]) .maintop-inner {
    background: radial-gradient(60% 220% at 4% 0%, rgba(108, 172, 240, .30), transparent 60%), radial-gradient(50% 220% at 98% 100%, rgba(72, 150, 230, .22), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(250, 248, 244, .66)) !important;
  }
  html[data-hub-glass][data-hub-dark] .maintop-inner {
    background: radial-gradient(60% 220% at 4% 0%, hsl(220 7% 70.0% / .42), transparent 60%), radial-gradient(50% 220% at 98% 100%, hsl(220 7% 59.2% / .28), transparent 60%), linear-gradient(180deg, hsl(36 7% 17.9%), hsl(36 7% 10.6%)) !important;
  }
}
@media (max-width: 999px) {
  html[data-hub-glass]:not([data-hub-dark]) .maintop-inner { background: radial-gradient(70% 120% at 0% 0%, rgba(108, 172, 240, .3), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(72, 150, 230, .22), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(250, 248, 244, .66)) !important; }
  html[data-hub-glass][data-hub-dark] .maintop-inner { background: radial-gradient(70% 120% at 0% 0%, hsl(220 7% 70.0% / .42), transparent 60%), radial-gradient(60% 120% at 100% 100%, hsl(220 7% 59.2% / .28), transparent 60%), linear-gradient(180deg, hsl(36 7% 17.9%), hsl(36 7% 10.6%)) !important; }
}
html[data-hub-glass].gl-notadmin .ck-viewas { display: none !important; }
/* top bar = the ME Assistant's graphite aurora, in light too (Tassia: "fundo mais escuro como a barra do assistant") */
html[data-hub-glass] .maintop-inner {
  background: radial-gradient(60% 220% at 4% 0%, rgba(108, 182, 255, .5), transparent 60%), radial-gradient(50% 220% at 98% 100%, rgba(72, 150, 230, .34), transparent 60%), linear-gradient(180deg, #2A3142, #171B25) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -3px 8px rgba(0, 0, 0, .3), 0 18px 34px -18px rgba(20, 24, 34, .6) !important;
}
/* on the dark bar: silver logo, smoked search well */
html[data-hub-glass] .ck-logo .logo-chrome {
  background: linear-gradient(115deg, #9aa0a7 0%, #ffffff 14%, #d9dde2 24%, #7c838b 36%, #ffffff 50%, #b7bcc2 62%, #ffffff 74%, #8d939a 86%, #f2f4f6 100%) !important;
  background-size: 300% 100% !important; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) !important;
}
html[data-hub-glass] .maintop .search input { background: rgba(0, 0, 0, .28) !important; color: #F1F6FF !important; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45), inset 0 -1px 0 rgba(255, 255, 255, .08) !important; }
html[data-hub-glass] .maintop .search input::placeholder { color: #9AA6B8; }
html[data-hub-glass] .maintop .search .ti, html[data-hub-glass] .maintop .search svg { color: #9AA6B8 !important; }
/* sign-in: Management's icon in the same blue glass as the teams (Admin keeps its gold) */

/* ---------- sign-in: deeper liquid glass + aurora, Enter in the glowing-button style ---------- */
/* the head band: the graphite aurora of the top bar, silver logo */
/* team tiles: glass cards with depth; the picked one glows */
/* Enter: the glowing glass button */
/* top bar dark in EVERY style (beats the older light rule's specificity) */
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner, html[data-hub-glass][data-hub-dark] .maintop-inner, html[data-hub-glass] .maintop .maintop-inner {
  background: radial-gradient(60% 220% at 4% 0%, hsl(220 7% 70.0% / .5), transparent 60%), radial-gradient(50% 220% at 98% 100%, hsl(220 7% 59.2% / .34), transparent 60%), linear-gradient(180deg, hsl(36 7% 20.1%), hsl(36 7% 11.2%)) !important;
  border-color: rgba(255, 255, 255, .14) !important;
}
/* calendar row: more room for the timeline */
@media (min-width: 1000px) {
  html[data-hub-glass] #glRow5 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) !important; }
  html[data-hub-glass] .ck-strip { grid-template-columns: 200px minmax(0, 1fr) !important; }
  html[data-hub-glass] .ck-strip .ck-axis { min-height: 120px; }
}
/* Dark: the apps search well dark like the notes input */
html[data-hub-glass][data-hub-dark] .gl-asearch { background: rgba(0, 0, 0, .3) !important; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45), inset 0 -1px 0 rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .06) !important; }
html[data-hub-glass][data-hub-dark] .gl-asearch input { color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] .gl-asearch input::placeholder { color: hsl(220 7% 72%); }
/* top bar: liquid glass over the aurora (translucent graphite, top gloss, lit rim) */
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner, html[data-hub-glass][data-hub-dark] .maintop-inner, html[data-hub-glass] .maintop .maintop-inner {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(60% 220% at 4% 0%, hsl(220 7% 70.0% / .55), transparent 60%),
    radial-gradient(50% 220% at 98% 100%, hsl(220 7% 59.2% / .38), transparent 60%),
    linear-gradient(180deg, hsl(36 7% 20.1% / .86), hsl(36 7% 11.2% / .9)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important; backdrop-filter: blur(22px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -4px 10px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .25), 0 20px 36px -18px hsl(36 7% 10.1% / .65) !important;
}
/* the logo on the dark bar: bright silver (beats the light-style graphite rule) */
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .ck-logo .logo-chrome, html[data-hub-glass][data-hub-dark] .maintop-inner .ck-logo .logo-chrome {
  background: linear-gradient(115deg, hsl(220 7% 62.9%) 0%, #ffffff 14%, hsl(220 7% 86.9%) 24%, hsl(220 7% 51.6%) 36%, #ffffff 50%, hsl(220 7% 73.9%) 62%, #ffffff 74%, hsl(220 7% 57.8%) 86%, hsl(220 7% 90.0%) 100%) !important;
  background-size: 300% 100% !important; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 6px rgba(255, 255, 255, .2)) !important;
}
/* the forklift in the aurora: graphite body with blue and mint lights */
/* card edges like the app icons: white rim + blue-grey outline + a lower ledge (light); lit outline (dark) */
html[data-hub-glass]:not([data-hub-dark]) :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #boardTop .bpanel, #opsMetrics > .metric, .gl-app) {
  border: 1px solid rgba(255, 255, 255, .98) !important;
  box-shadow:
    inset 0 2px 0 #fff,
    inset 0 -3px 6px rgba(12, 68, 124, .06),
    0 0 0 1.5px rgba(70, 100, 140, .22),
    0 3px 0 rgba(150, 170, 200, .45),
    0 18px 28px -18px rgba(30, 40, 60, .45) !important;
}
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 var(--v-red, #D23C35), inset 0 -3px 6px rgba(12, 68, 124, .06), 0 0 0 1.5px rgba(70, 100, 140, .22), 0 3px 0 rgba(150, 170, 200, .45), 0 18px 28px -18px rgba(30, 40, 60, .45) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #D9A24A, inset 0 -3px 6px rgba(12, 68, 124, .06), 0 0 0 1.5px rgba(70, 100, 140, .22), 0 3px 0 rgba(150, 170, 200, .45), 0 18px 28px -18px rgba(30, 40, 60, .45) !important; }
html[data-hub-glass][data-hub-dark] :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #boardTop .bpanel, #opsMetrics > .metric, .gl-app) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -10px 18px -10px rgba(0, 0, 0, .55), 0 0 0 1.5px hsl(220 7% 70.0% / .22), 0 3px 0 rgba(0, 0, 0, .55), 0 22px 38px -20px rgba(0, 0, 0, .95) !important;
}
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 #FF7B72, inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1.5px hsl(220 7% 70.0% / .22), 0 3px 0 rgba(0, 0, 0, .55), 0 22px 38px -20px rgba(0, 0, 0, .95) !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #FFC65C, inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1.5px hsl(220 7% 70.0% / .22), 0 3px 0 rgba(0, 0, 0, .55), 0 22px 38px -20px rgba(0, 0, 0, .95) !important; }
/* light: the highlight cards in the app-button effect (white-to-ice-blue glass, blue rim, blue ledge) */
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric {
  background: linear-gradient(180deg, #ffffff 0%, #F4F8FD 55%, #E6F0FB 100%) !important;
  border: 1px solid rgba(255, 255, 255, .98) !important;
  box-shadow: inset 0 2px 0 #fff, inset 0 -8px 14px rgba(12, 68, 124, .07), 0 0 0 1.5px rgba(24, 95, 165, .3), 0 4px 0 rgba(140, 180, 225, .8), 0 18px 26px -16px rgba(12, 68, 124, .45) !important;
}
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 var(--v-red, #D23C35), inset 0 -8px 14px rgba(12, 68, 124, .07), 0 0 0 1.5px rgba(24, 95, 165, .3), 0 4px 0 rgba(140, 180, 225, .8), 0 18px 26px -16px rgba(12, 68, 124, .45) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #D9A24A, inset 0 -8px 14px rgba(12, 68, 124, .07), 0 0 0 1.5px rgba(24, 95, 165, .3), 0 4px 0 rgba(140, 180, 225, .8), 0 18px 26px -16px rgba(12, 68, 124, .45) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)), html[data-hub-glass]:not([data-hub-dark]) #opsMetrics :is(.metric-pair, .mhalf) { background: rgba(255, 255, 255, .75) !important; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .1) !important; }
/* sign-in logo: mirrored silver on the dark head band (beats the light-style graphite rule) */
/* the server room's status sits inside it */
html[data-hub-glass] .gl-srv .gl-up { position: static !important; margin-top: auto; font-size: 9.5px; }
/* highlight cards: back to the earlier glass colour — only the 3D edge stays */
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric.gl-small { background: linear-gradient(160deg, var(--gl-glass), var(--gl-glass2)) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric.gl-big { background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics .metric-value:not(:has(.metric-pair)):not(:has(.msplit)), html[data-hub-glass]:not([data-hub-dark]) #opsMetrics :is(.metric-pair, .mhalf) { background: rgba(26, 25, 22, .05) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6) !important; }
/* Team sales total in ink (black in light, white in dark) */
html[data-hub-glass] #teamSales .ck-total b { -webkit-text-fill-color: var(--v-ink, #1A2233) !important; color: var(--v-ink, #1A2233) !important; text-shadow: none !important; }
/* not a competition: the first rep's bar and number look like everyone else's */
/* light: card outlines in dark grey (not blue), same 3D ledge */
html[data-hub-glass]:not([data-hub-dark]) :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #boardTop .bpanel, .gl-app, #opsMetrics > .metric) {
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 6px rgba(40, 36, 30, .05), 0 0 0 1.5px rgba(55, 55, 55, .26), 0 3px 0 rgba(110, 104, 95, .32), 0 18px 28px -18px rgba(30, 28, 24, .45) !important;
}
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="bad"] { box-shadow: inset 0 3px 0 var(--v-red, #D23C35), inset 0 -3px 6px rgba(40, 36, 30, .05), 0 0 0 1.5px rgba(55, 55, 55, .26), 0 3px 0 rgba(110, 104, 95, .32), 0 18px 28px -18px rgba(30, 28, 24, .45) !important; }
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric[data-st="warn"] { box-shadow: inset 0 3px 0 #D9A24A, inset 0 -3px 6px rgba(40, 36, 30, .05), 0 0 0 1.5px rgba(55, 55, 55, .26), 0 3px 0 rgba(110, 104, 95, .32), 0 18px 28px -18px rgba(30, 28, 24, .45) !important; }
html[data-hub-glass]:not([data-hub-dark]) .gl-app:hover { box-shadow: inset 0 2px 0 #fff, 0 0 0 1.5px rgba(55, 55, 55, .4), 0 3px 0 rgba(110, 104, 95, .4), 0 20px 30px -18px rgba(30, 28, 24, .5) !important; }
html[data-hub-glass] #teamSales .ck-kpis .k.good b { color: var(--v-green) !important; }
/* forklift: a softer mirror — graphite-blue tones, gentle highlights, no bright white bands */
/* the top-bar logo stands out: a crisp dark outline + depth (on the wrapper — a mask clips its own filter) */
html[data-hub-glass] .maintop-inner .ck-logo {
  filter: drop-shadow(0 0 .6px rgba(0, 0, 0, .95)) drop-shadow(0 1px 0 rgba(0, 0, 0, .9)) drop-shadow(0 3px 5px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(160, 200, 255, .35));
}
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .ck-logo .logo-chrome, html[data-hub-glass][data-hub-dark] .maintop-inner .ck-logo .logo-chrome {
  background: linear-gradient(115deg, hsl(220 7% 74.9%) 0%, #ffffff 12%, hsl(220 7% 90.0%) 22%, hsl(220 7% 57.6%) 34%, #ffffff 48%, hsl(220 7% 81.0%) 60%, #ffffff 72%, hsl(220 7% 63.5%) 86%, #ffffff 100%) !important;
  background-size: 300% 100% !important; filter: none !important;
}
/* ME Assistant header: the same liquid glass as the top bar (translucent graphite, gloss, lit rim) */
/* the photo band 15% taller (320 → 368 px) */
@media (min-width: 1000px) { html[data-hub-glass] .gl-band { height: 368px !important; } }
/* light: every highlight card in the lighter white glass of the big ones (Tassia prefers the lighter one) */
html[data-hub-glass]:not([data-hub-dark]) #opsMetrics > .metric.gl-small { background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)) !important; }
/* no pop-in animation on the app icons: the grid re-renders on hub updates and the replay left rows blank for a moment */
html[data-hub-glass] .gl-app { animation: none !important; opacity: 1 !important; }
/* light: every glass card in the same lighter white as the highlights (no beige) */
html[data-hub-glass]:not([data-hub-dark]) :is(.gl-card, #teamSales .team-sales, .ck-strip, #board .bpanel, #boardTop .bpanel, .gl-app, .gl-ticker) {
  background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .8)) !important;
}
html[data-hub-glass]:not([data-hub-dark]) :is(.ck-next, .ck-notes, .nx) { background: rgba(26, 25, 22, .035) !important; }
/* the forklift's pallet back to wood */
/* Holiday · Fall: drifting leaves + pumpkins (behind the content, never in the way of a click) */
#glFall { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#glFall .gl-leaf { position: absolute; top: -40px; opacity: .85; font-style: normal; animation: gl-leaf linear infinite; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
@keyframes gl-leaf {
  0% { transform: translate(0, -5vh) rotate(0deg); }
  25% { transform: translate(40px, 25vh) rotate(90deg); }
  50% { transform: translate(-30px, 55vh) rotate(200deg); }
  75% { transform: translate(35px, 82vh) rotate(290deg); }
  100% { transform: translate(-10px, 108vh) rotate(380deg); }
}
#glFall .gl-pump { position: absolute; bottom: 6px; font-style: normal; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45)); animation: gl-pump 5s ease-in-out infinite; }
#glFall .gl-pump:nth-of-type(odd) { animation-delay: -2.5s; }
@keyframes gl-pump { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { #glFall .gl-leaf, #glFall .gl-pump { animation: none; } #glFall .gl-leaf { display: none; } }
/* leaves and pumpkins float above the page (they never catch a click) */
#glFall { z-index: 60 !important; }
#glFall .gl-leaf { opacity: .7; }
#glFall .gl-pump { bottom: 2px; opacity: .95; }
/* fall touches: still, soft, in the margins, behind everything */
#glFall { z-index: 0 !important; }
#glFall .gl-leaf, #glFall .gl-pump { position: absolute; animation: none !important; opacity: .55; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); bottom: auto !important; }
#glFall .gl-pump svg { width: 100%; height: auto; display: block; }
html[data-hub-glass][data-hub-theme="e"] .shell { background: transparent !important; }
/* fall touches sit above the page colour but under the cards: the shell layers are made transparent in Holiday */
html[data-hub-glass][data-hub-theme="e"] :is(.shell, .main, .grid-wrap) { background: transparent !important; }
#glFall { z-index: 0 !important; }
html[data-hub-glass][data-hub-theme="e"] .shell { position: relative; z-index: 1; }
/* Team sales: earlier months dropdown, styled like the month tabs */
html[data-hub-glass] .ts-month-pick { height: 34px; border: 0; border-radius: 999px; padding: 0 30px 0 14px; font: 700 12.5px inherit; color: var(--v-sub, #5E6878);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C8A85' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
html[data-hub-glass][data-hub-dark] .ts-month-pick { color: hsl(220 7% 72%); }
html[data-hub-glass] .ts-month-pick option { color: #1A1916; }
/* fall touches: brighter, a little bigger, drawn above the page in the side margins only (hidden when there are no margins) */
#glFall { z-index: 2 !important; }
#glFall .gl-leaf, #glFall .gl-pump { opacity: .9 !important; }
#glFall .gl-pump { transform: scale(1.25); }
@media (max-width: 1500px) { #glFall { display: none !important; } }
#glFall .gl-leaf { font-style: normal; line-height: 1; }
#glFall .gl-pump { transform: none !important; }
/* Team sales "Earlier months" glass menu */
.ts-more { position: relative; display: inline-flex; }
.ts-more-btn .ti { font-size: 14px; margin-left: 2px; }
.ts-more-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 50; min-width: 170px; padding: 6px; border-radius: 16px; display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(160deg, rgba(252, 250, 247, .97), rgba(240, 236, 229, .95)); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -18px rgba(20, 30, 50, .5); }
.ts-more-menu[hidden] { display: none; }
.ts-more-menu button { height: 36px; border: 0; border-radius: 11px; background: none; text-align: left; padding: 0 12px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: -.005em; color: var(--v-ink, #1A2233); cursor: pointer; transition: background .15s, color .15s; }
.ts-more-menu button:hover { background: rgba(24, 95, 165, .08); }
.ts-more-menu button.on { color: #0C447C; background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(214, 232, 251, .9)); box-shadow: 0 0 0 1.5px rgba(24, 95, 165, .4); }
html[data-hub-dark] .ts-more-menu { background: linear-gradient(160deg, hsl(36 7% 18.3% / .98), hsl(36 7% 10.4% / .97)); border-color: rgba(255, 255, 255, .12); }
html[data-hub-dark] .ts-more-menu button { color: hsl(220 7% 90.0%); }
html[data-hub-dark] .ts-more-menu button.on { color: hsl(220 7% 90.0%); background: linear-gradient(180deg, hsl(36 7% 24.6% / .95), hsl(36 7% 12.7% / .92)); box-shadow: 0 0 0 1.5px hsl(220 7% 70.0% / .55); }
#glFall .gl-leaf svg { width: 100%; height: auto; display: block; }
#glFall .gl-leaf, #glFall .gl-pump { opacity: 1 !important; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)) drop-shadow(0 0 10px rgba(255, 170, 90, .35)) !important; }
/* light: no apps panel at all: the app cards sit straight on the page (her call after greige / grey / aurora) so the white app cards stand out */
html[data-hub-glass] #glApps#glApps { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding-left: 0 !important; padding-right: 0 !important; }
html[data-hub-glass] #glApps#glApps::before, html[data-hub-glass] #glApps#glApps::after { display: none !important; }
/* ME Assistant title in the logo's mirrored silver, with the same outline and depth */
/* Holiday · Fall: a real pumpkins photo behind the page (Unsplash, free licence: photo-1475502085205 — a real pumpkin patch, pumpkins scattered in the grass (organic)),
   darkened so the glass cards stay readable */
html[data-hub-glass][data-hub-theme="e"][data-hub-season="thanksgiving"] body {
  background: linear-gradient(180deg, rgba(30, 14, 4, .22), rgba(30, 14, 4, .42)), url(hub-fall-bg.jpg) center bottom / cover fixed no-repeat !important;
}
html[data-hub-glass][data-hub-theme="e"][data-hub-season="thanksgiving"] body::before { display: none; }

/* the rep panel's history table sits inside #teamSales but on the dark stage: not the card's ink */
html[data-hub-glass] #teamSales .team-sales .sr-h tbody td, html[data-hub-glass] #teamSales .team-sales .sr-h tbody td:last-child { color: #F2F2F4 !important; font-weight: 600; }

/* Team sales view buttons: the Team room pill in hub blue, with squared corners; the open view wears the turning ring */
html[data-hub-glass] .gl-sl { background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(234, 243, 253, .85)); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(24, 95, 165, .55); }
html[data-hub-glass] .gl-sl::before { background: conic-gradient(from var(--gl-a), transparent 0 62%, #9cc7f5 74%, #185FA5 82%, transparent 92%); opacity: 0; }
html[data-hub-glass] .gl-sl.on::before { opacity: .9; }
html[data-hub-glass] .gl-sl.on { background: linear-gradient(180deg, #fff, #D6E8FB); }
html[data-hub-glass] .gl-sl .gl-bi { background: radial-gradient(circle at 35% 30%, #9cc7f5, #185FA5 72%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 12px -6px rgba(24, 95, 165, .8); }
html[data-hub-glass] .gl-sl .gl-ring { display: none; border-color: rgba(24, 95, 165, .3); }
html[data-hub-glass] .gl-sl.on .gl-ring { display: block; }
html[data-hub-glass] .gl-sl .gl-bt small { color: #185FA5; }
html[data-hub-glass] .gl-sl .gl-live { background: #185FA5; }
html[data-hub-glass] .gl-sl:not(.on) .gl-live { animation: none; opacity: .4; }
html[data-hub-glass][data-hub-dark] .gl-sl { background: linear-gradient(180deg, hsl(36 7% 19.7% / .9), hsl(36 7% 12.7% / .85)); color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] .gl-sl.on { background: linear-gradient(180deg, hsl(220 7% 40.0% / .95), hsl(36 7% 20.9% / .9)); }
html[data-hub-glass][data-hub-dark] .gl-sl .gl-bt small { color: hsl(220 7% 78.6%); }
html[data-hub-glass][data-hub-dark] .gl-sl .gl-live { background: hsl(220 7% 78.6%); }
@media (max-width: 640px) {
  html[data-hub-glass] .gl-sl { height: 38px; padding: 0 10px 0 4px; gap: 6px; }
  html[data-hub-glass] .gl-sl .gl-bi { width: 28px; height: 28px; font-size: 15px; }
  html[data-hub-glass] .gl-sl .gl-bt small { display: none; }
}
html[data-hub-glass] .gl-sl { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .16), 0 10px 22px -12px rgba(24, 95, 165, .55); }
/* Earlier months menu: the hub's liquid glass, blue like the view buttons */
html[data-hub-glass] .ts-more-menu { min-width: 186px; padding: 7px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .8); background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(234, 243, 253, .84)); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(24, 95, 165, .14), 0 22px 40px -18px rgba(12, 40, 78, .55); }
html[data-hub-glass] .ts-more-menu button { height: 38px; border-radius: 12px; }
html[data-hub-glass] .ts-more-menu button:hover { background: rgba(91, 143, 232, .16); color: #0C447C; }
html[data-hub-glass] .ts-more-menu button.on { color: #0C447C; background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: 0 0 0 1.5px rgba(24, 95, 165, .35); }
html[data-hub-glass][data-hub-dark] .ts-more-menu { border-color: rgba(255, 255, 255, .14); background: linear-gradient(160deg, hsl(36 7% 19.7% / .94), hsl(36 7% 10.4% / .92)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 40px -18px rgba(0, 0, 0, .8); }
html[data-hub-glass][data-hub-dark] .ts-more-menu button { color: hsl(220 7% 90.0%); }
html[data-hub-glass][data-hub-dark] .ts-more-menu button:hover { background: hsl(220 7% 63.3% / .2); color: #fff; }
html[data-hub-glass][data-hub-dark] .ts-more-menu button.on { color: #fff; background: linear-gradient(180deg, hsl(220 7% 40.0% / .95), hsl(36 7% 20.9% / .9)); box-shadow: 0 0 0 1.5px hsl(220 7% 78.6% / .45); }
html[data-hub-glass] .gl-sl { border-radius: 12px; }
html[data-hub-glass] .gl-sl .gl-bi, html[data-hub-glass] .gl-sl .gl-ring { border-radius: 9px; }

/* Team sales table: each rep on a raised glass plate, to match the carousel's buttons. The rows are grids,
   not table rows: iOS Safari will not let a real <tr> hold a shadow or the bar inside it. */

/* "shifted month" stays one whole pill: on a narrow row it drops under the name, it never splits in two */
html[data-hub-glass] #teamSales :is(.ts-offset, .ts-badge) { display: inline-block; white-space: nowrap; line-height: 1.5; vertical-align: 1px; }
html[data-hub-glass][data-hub-dark] #teamSales .ts-offset { background: rgba(240, 190, 100, .16); color: #F4D08F; }

/* the "pulled" stamp in hub blue; the amber note under it is what warns when it is behind */
html[data-hub-glass] #teamSales .metric-stamp, html[data-hub-glass] #teamSales .metric-stamp.is-stale, html[data-hub-glass] #teamSales .metric-stamp .ti { color: #185FA5 !important; }
html[data-hub-glass][data-hub-dark] #teamSales .metric-stamp, html[data-hub-glass][data-hub-dark] #teamSales .metric-stamp.is-stale, html[data-hub-glass][data-hub-dark] #teamSales .metric-stamp .ti { color: hsl(220 7% 78.6%) !important; }

/* Light: the top bar and the ME Assistant header are black graphite glass, no blue aurora
   (Tassia 2026-11-02). Dark keeps its own. */
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner.maintop-inner.maintop-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, 0) 55%), radial-gradient(60% 220% at 4% 0%, rgba(255, 255, 255, .26), transparent 60%), radial-gradient(50% 220% at 98% 100%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(180deg, #3D3D40, #1B1B1D) !important;
}
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .ck-logo .logo-chrome {
  background: linear-gradient(115deg, #d9dbe0 0%, #fff 14%, #f2f3f5 24%, #c9ccd2 36%, #fff 50%, #e6e8ec 62%, #fff 74%, #d4d6db 86%, #fff 100%) !important;
  background-size: 300% 100% !important;
}
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .ck-logo { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .9)) drop-shadow(0 0 7px rgba(255, 255, 255, .28)) !important; }
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .search input { color: #fff !important; font-weight: 500; }
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .search input::placeholder { color: #E4E4E8 !important; opacity: 1; }
html[data-hub-glass]:not([data-hub-dark]) .maintop-inner .search .ti { color: #E4E4E8 !important; }

/* the Team sales table is the original one (Tassia 2026-11-02); Dark only needs its text light */
html[data-hub-glass][data-hub-dark] #teamSales .team-sales table td { color: var(--v-ink); }

/* the top buttons rest in silver over the side bar's black; pointing at one turns it the side bar's gold liquid (Tassia 2026-11-02) */
html[data-hub-glass] .maintop-inner.maintop-inner :is(#arrangeBtn, .aa-mic, .theme-dot, .whoami-pill, .ck-viewas > button, .ck-tb button), html[data-hub-glass] .maintop-inner.maintop-inner > .gl-mode {
  color: #E1E4E9 !important; background: linear-gradient(180deg, rgba(225, 228, 233, .24), rgba(150, 155, 163, .08)), #1A1916 !important; border: 1px solid rgba(225, 228, 233, .5) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 14px rgba(0, 0, 0, .25) !important; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
html[data-hub-glass] .maintop-inner.maintop-inner :is(#arrangeBtn, .aa-mic, .theme-dot, .whoami-pill, .ck-viewas > button, .ck-tb button) :is(.ti, span, small) { color: #E1E4E9 !important; -webkit-text-fill-color: #E1E4E9 !important; transition: color .18s ease, -webkit-text-fill-color .18s ease; }
html[data-hub-glass] .maintop-inner.maintop-inner > .gl-mode .gl-mode-lbl { color: #E1E4E9 !important; text-shadow: none !important; transition: color .18s ease; }
html[data-hub-glass] .maintop-inner.maintop-inner :is(#arrangeBtn, .aa-mic, .theme-dot, .whoami-pill, .ck-viewas > button, .ck-tb button):is(:hover, :focus-visible, [aria-expanded="true"]), html[data-hub-glass] .maintop-inner.maintop-inner > .gl-mode:is(:hover, :focus-visible) {
  color: #E8D29C !important; background: linear-gradient(180deg, rgba(232, 210, 156, .28), rgba(201, 164, 92, .1)), #1A1916 !important; border-color: rgba(232, 210, 156, .55) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(232, 210, 156, .4), 0 8px 18px -4px rgba(201, 164, 92, .55) !important;
}
html[data-hub-glass] .maintop-inner.maintop-inner :is(#arrangeBtn, .aa-mic, .theme-dot, .whoami-pill, .ck-viewas > button, .ck-tb button):is(:hover, :focus-visible, [aria-expanded="true"]) :is(.ti, span, small) { color: #E8D29C !important; -webkit-text-fill-color: #E8D29C !important; }
html[data-hub-glass] .maintop-inner.maintop-inner > .gl-mode:is(:hover, :focus-visible) .gl-mode-lbl { color: #E8D29C !important; }

/* the Light / Dark knob: the same black and silver, the sun and moon too; gold with the pill */
html[data-hub-glass] .maintop-inner .gl-mode .gl-lens.gl-lens, html[data-hub-glass] .maintop-inner .gl-mode.is-dark .gl-lens.gl-lens {
  background: linear-gradient(180deg, rgba(225, 228, 233, .2), rgba(150, 155, 163, .06)) !important; border: 1px solid rgba(225, 228, 233, .5) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 10px rgba(0, 0, 0, .35) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html[data-hub-glass] .maintop-inner .gl-mode .gl-lens::before, html[data-hub-glass] .maintop-inner .gl-mode .gl-lens::after { display: none !important; }
html[data-hub-glass] .maintop-inner .gl-mode .gl-core.gl-core, html[data-hub-glass] .maintop-inner .gl-mode.is-dark .gl-core.gl-core {
  background: linear-gradient(180deg, rgba(225, 228, 233, .24), rgba(150, 155, 163, .08)), #1A1916 !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .5) !important;
}
html[data-hub-glass] .maintop-inner .gl-mode .gl-core .ti { color: #E1E4E9 !important; -webkit-text-fill-color: #E1E4E9 !important; }
html[data-hub-glass] .maintop-inner .gl-mode:is(:hover, :focus-visible) .gl-lens.gl-lens { background: linear-gradient(180deg, rgba(232, 210, 156, .22), rgba(201, 164, 92, .06)) !important; border-color: rgba(232, 210, 156, .55) !important; }
html[data-hub-glass] .maintop-inner .gl-mode:is(:hover, :focus-visible) .gl-core.gl-core { background: linear-gradient(180deg, rgba(232, 210, 156, .28), rgba(201, 164, 92, .1)), #1A1916 !important; }
html[data-hub-glass] .maintop-inner .gl-mode:is(:hover, :focus-visible) .gl-core .ti { color: #E8D29C !important; -webkit-text-fill-color: #E8D29C !important; }

/* blue letters become gold: the side bar's champagne on dark, a deeper gold where the background is light (readable on white) */
html[data-hub-glass] { --gold-ink: #8A6A2A; }
html[data-hub-glass][data-hub-dark] { --gold-ink: #D5D8DD; }
html[data-hub-glass] :is(.gl-bt small, .gl-wide, .gl-appf button, .gl-appf button small, .ck-compose button, .ts-month-tab.is-on, .ts-badge, .sr-total b, #teamSales .metric-stamp, #teamSales .metric-stamp .ti) { color: var(--gold-ink) !important; -webkit-text-fill-color: var(--gold-ink) !important; }
html[data-hub-glass] .sr-total b { --gold-ink: #D5D8DD; }
html[data-hub-glass] .ts-badge { background: rgba(201, 164, 92, .16) !important; }

/* Dark without the blue (Tassia 2026-11-02): the side bar's warm black as the page, neutral glass cards */
html[data-hub-glass][data-hub-dark] body, html[data-hub-glass][data-hub-dark] :is(.shell, .main, .maintop) { background: #1A1916 !important; }
html[data-hub-glass][data-hub-dark] body::before { display: none; }

/* Dark: the app icons are hollow like the Light / Dark knob: dark glass, a gold outline and a soft ring of light (Tassia 2026-11-02) */
html[data-hub-glass][data-hub-dark] .gl-ai.gl-ai {
  background: linear-gradient(180deg, rgba(232, 210, 156, .16), rgba(201, 164, 92, .04)), rgba(26, 25, 22, .55) !important; border: 1.5px solid rgba(232, 210, 156, .75) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 12px rgba(232, 210, 156, .14), 0 0 14px -2px rgba(232, 210, 156, .45), 0 6px 14px -6px rgba(0, 0, 0, .7) !important;
}
html[data-hub-glass][data-hub-dark] .gl-ai::after { background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)) !important; }
html[data-hub-glass][data-hub-dark] .gl-ai :is(.ti, svg) { color: #E8D29C !important; -webkit-text-fill-color: #E8D29C !important; filter: drop-shadow(0 0 4px rgba(232, 210, 156, .45)); }

/* Phone and tablet: the top menu is the side bar: its black, silver logo and gold name under it (Tassia 2026-11-02) */
@media (max-width: 1199px) {
  html[data-hub-glass] .maintop-inner.maintop-inner.maintop-inner.maintop-inner {
    background: #1A1916 !important; border: 0 !important; border-bottom: 1px solid rgba(201, 164, 92, .35) !important;
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .7) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  html[data-hub-glass] .maintop-inner > .ck-logo { flex-direction: column; align-items: flex-start; height: auto !important; gap: 3px; filter: none !important; }
  html[data-hub-glass] .maintop-inner > .ck-logo::after { content: "AUTOMATIONS HUB"; font-size: 8.5px; font-weight: 600; letter-spacing: .22em; white-space: nowrap; color: #E8D29C; }
  html[data-hub-glass] .maintop-inner > .search { background: none !important; border: 0 !important; box-shadow: none !important; }
  html[data-hub-glass] .maintop-inner.maintop-inner > .search input { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: none !important; color: #fff !important; }
}

/* Dark on a phone: the forklift's white disc is silver liquid glass */
@media (max-width: 999px) {
  html[data-hub-glass][data-hub-dark] .mr-fab-bot.mr-fab-bot {
    background: radial-gradient(70% 45% at 50% 8%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, rgba(225, 228, 233, .3), rgba(120, 124, 132, .14)) !important;
    border: 1px solid rgba(225, 228, 233, .6) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -8px 14px rgba(0, 0, 0, .28), 0 10px 22px -8px rgba(0, 0, 0, .75) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  }
}

/* Dark: the carousel buttons are silver, with no blue glow */
html[data-hub-glass][data-hub-dark] .gl-sl.gl-sl { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(225, 228, 233, .22), 0 10px 20px -12px rgba(0, 0, 0, .8) !important; }
html[data-hub-glass][data-hub-dark] .gl-sl::before { background: conic-gradient(from var(--gl-a), transparent 0 62%, #E9EBEE 74%, #9EA3AB 82%, transparent 92%) !important; }
html[data-hub-glass][data-hub-dark] .gl-sl .gl-bi.gl-bi { background: radial-gradient(circle at 35% 30%, #F2F3F5, #A6AAB2 72%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 4px rgba(0, 0, 0, .25), 0 6px 12px -6px rgba(0, 0, 0, .8) !important; }
html[data-hub-glass][data-hub-dark] .gl-sl .gl-bi :is(.ti, svg) { color: #1B1B1D !important; -webkit-text-fill-color: #1B1B1D !important; }
html[data-hub-glass][data-hub-dark] .gl-sl .gl-ring { border-color: rgba(225, 228, 233, .3) !important; }
html[data-hub-glass][data-hub-dark] .ts-pager .ts-ctl { background: rgba(255, 255, 255, .07); border-color: rgba(225, 228, 233, .3); }

/* Dark: the last blue goes silver (Next up tile, Agents room button, month pill, dots, menus). The team colours of the Agents room stay. */
html[data-hub-glass][data-hub-dark] .ck-ic2.ck-ic2, html[data-hub-glass][data-hub-dark] .gl-team .gl-bi.gl-bi { background: radial-gradient(circle at 35% 30%, #F2F3F5, #A6AAB2 72%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -2px 4px rgba(0, 0, 0, .25), 0 6px 12px -6px rgba(0, 0, 0, .8) !important; color: #1B1B1D !important; }
html[data-hub-glass][data-hub-dark] :is(.ck-ic2, .gl-team .gl-bi) :is(.ti, svg) { color: #1B1B1D !important; -webkit-text-fill-color: #1B1B1D !important; }
html[data-hub-glass][data-hub-dark] .gl-team.gl-team { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(225, 228, 233, .22), 0 10px 20px -12px rgba(0, 0, 0, .8) !important; }
html[data-hub-glass][data-hub-dark] .gl-team .gl-ring { border-color: rgba(225, 228, 233, .3) !important; }
html[data-hub-glass][data-hub-dark] #teamSales .ts-months.ts-months { background: rgba(255, 255, 255, .06) !important; border-color: rgba(225, 228, 233, .16) !important; }
html[data-hub-glass][data-hub-dark] .ck-next .ck-dots i.on.on { background: #D5D8DD !important; }
html[data-hub-glass][data-hub-dark] .ts-link { box-shadow: none !important; }
html[data-hub-glass][data-hub-dark] .gl-r { border-color: rgba(225, 228, 233, .18) !important; }
html[data-hub-glass][data-hub-dark] .gl-ai.gl-ai { color: #E8D29C !important; }
html[data-hub-glass][data-hub-dark] .gl-umenu button .ti, html[data-hub-glass][data-hub-dark] .gl-um-who .ti { color: #D5D8DD !important; }
html[data-hub-glass][data-hub-dark] .ck-menu .nav-item.active { color: #fff !important; background: rgba(255, 255, 255, .1) !important; box-shadow: inset 0 0 0 1px rgba(225, 228, 233, .3) !important; }

/* Dark: the hub's accent tokens are blue. Neutral inside the dark areas only: the ME Assistant stays a light panel and keeps them */
html[data-hub-glass][data-hub-dark] :is(#teamSales, #board, #boardTop, #opsMetrics, .ck-strip, .gl-card, .sr-card) {
  --green: #D5D8DD; --green-mid: #B3B6BD; --green-light: rgba(255, 255, 255, .08); --green-text: #D5D8DD; --blue: #D5D8DD; --blue-light: rgba(255, 255, 255, .08);
  --hl-bg: rgba(255, 255, 255, .08); --hl-line: rgba(225, 228, 233, .25); --hl-ink: #E6E8EC;
}
html[data-hub-glass][data-hub-dark] #teamSales .ts-frozen { background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(225, 228, 233, .16) !important; color: #D5D8DD !important; }
html[data-hub-glass][data-hub-dark] #teamSales .ts-frozen :is(b, .ti) { color: #F2F3F5 !important; }
html[data-hub-glass][data-hub-dark] #teamSales .ts-inv-link { color: #E6E8EC !important; }
html[data-hub-glass][data-hub-dark] #teamSales .ts-shared { color: #E6E8EC !important; background: rgba(255, 255, 255, .1) !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-value.blue { color: #E6E8EC !important; }
html[data-hub-glass][data-hub-dark] .ts-pager .ts-ctl { color: #D5D8DD; }
html[data-hub-glass][data-hub-dark] .hl-blue { --hl-bg: rgba(255, 255, 255, .08); --hl-line: rgba(225, 228, 233, .25); --hl-ink: #E6E8EC; }
html[data-hub-glass][data-hub-dark] .bteam.on { background: rgba(255, 255, 255, .12); color: #F2F3F5; border-color: rgba(225, 228, 233, .4); }
/* the apps search shrinks to stay on the pills' line instead of dropping to its own row */
@media (min-width: 1000px) { html[data-hub-glass] .gl-appf .gl-asearch { flex: 1 1 140px; min-width: 140px; max-width: 240px; } }

/* Light: the Sales floor stands on ivory */
html[data-hub-glass]:not([data-hub-dark]) .ts-stage { background: radial-gradient(60% 60% at 50% 30%, #FFFFFF, #E9E3D9); color: #1B1B1D; }
html[data-hub-glass]:not([data-hub-dark]) .ts-stage .sr-total.sr-total b { --gold-ink: #1B1B1D; }
html[data-hub-glass]:not([data-hub-dark]) .ts-stage .sr-total small { color: #55524C !important; }
html[data-hub-glass]:not([data-hub-dark]) .ts-stage .sr-hint { color: #6B675F; }
/* Dark: the Sales floor stands on espresso (her pick) */
html[data-hub-glass][data-hub-dark] .ts-stage { background: radial-gradient(60% 60% at 50% 30%, #4A3E30, #1A1510); color: #F2EBDD; }
html[data-hub-glass][data-hub-dark] .ts-stage .sr-total.sr-total b { --gold-ink: #F2EBDD; }
html[data-hub-glass][data-hub-dark] .ts-stage .sr-total small { color: #D9CBB2 !important; }

/* Light: buttons on a light surface read in dark letters, not mustard (Tassia 2026-11-02) */
html[data-hub-glass]:not([data-hub-dark]) #app :is(.gl-bt small, .gl-wide, .gl-appf button, .gl-appf button small, .gl-appf button .ti, .gl-wide .ti, .ck-compose button, .ts-month-tab.is-on) { color: #1B1B1D !important; -webkit-text-fill-color: #1B1B1D !important; }

/* The calendar: floating glass cards on a ring, no panel behind it, Next up as tall as the cards (Tassia 2026-11-02) */
html[data-hub-glass] #ckStrip#ckStrip { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; align-items: stretch; }
html[data-hub-glass] #ckStrip .ck-next.ck-next { align-self: stretch; min-height: 150px; box-sizing: border-box; }
html[data-hub-glass] .ck-axis.ck-axis { min-height: 150px; perspective: 704px; }
html[data-hub-glass] .ck-ring { position: absolute; left: 50%; top: -10px; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(-220px) rotateX(-3deg); }
html[data-hub-glass] .ck-gc {
  position: absolute; left: -69px; top: 0; width: 138px; height: 150px; box-sizing: border-box; padding: 18px 8px 10px; border-radius: 22px; overflow: hidden; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; backface-visibility: hidden; transition: transform 1.4s cubic-bezier(.3, .8, .3, 1), opacity .9s;
  background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .26) 55%, rgba(255, 255, 255, .46)); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -8px 14px rgba(120, 108, 90, .1), 0 0 0 1px rgba(120, 108, 90, .14), 0 16px 24px -14px rgba(70, 60, 45, .5);
}
html[data-hub-glass] .ck-gc::before { content: ""; position: absolute; left: 8%; right: 8%; top: 4px; height: 38%; border-radius: 16px 16px 40px 40px; background: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; }
html[data-hub-glass] .ck-gc > * { position: relative; }
html[data-hub-glass] .ck-gi { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; font-size: 21px; color: #0C447C; background: linear-gradient(180deg, #fff, #D6E8FB); box-shadow: inset 0 2px 0 #fff, 0 3px 0 rgba(167, 197, 234, .95); }
html[data-hub-glass] .ck-gc.pay .ck-gi { color: #fff; background: linear-gradient(180deg, #4E8FD6, #185FA5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 3px 0 #0C447C; }
html[data-hub-glass] .ck-gc.hol .ck-gi { color: #A9834B; background: linear-gradient(180deg, #fff, #F3E7CF); box-shadow: inset 0 2px 0 #fff, 0 3px 0 #D4B47C; }
html[data-hub-glass] .ck-gc b { font-size: 13px; line-height: 1.15; color: #1B1B1D; }
html[data-hub-glass] .ck-gc small { font-size: 11px; line-height: 1.15; color: #55524C; }
html[data-hub-glass] .ck-gc:focus-visible { outline: 2px solid #A9834B; outline-offset: 2px; }
html[data-hub-glass][data-hub-dark] .ck-gc { background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .09)); border-color: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4), 0 16px 24px -14px rgba(0, 0, 0, .9); }
html[data-hub-glass][data-hub-dark] .ck-gc::before { background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); }
html[data-hub-glass][data-hub-dark] .ck-gc b { color: #F2F3F5; }
html[data-hub-glass][data-hub-dark] .ck-gc small { color: #C5C7CC; }
html[data-hub-glass][data-hub-dark] .ck-gc .ck-gi { color: #E8D29C; background: rgba(26, 25, 22, .6); box-shadow: inset 0 0 0 1px rgba(232, 210, 156, .65); }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] .ck-gc { transition: none; } }
html[data-hub-glass] .ck-still .ck-gc { transition: none !important; }

/* Dark: stronger text (Tassia 2026-11-02: hard to read). Numbers near white, secondary text a light silver, nothing faded */
html[data-hub-glass][data-hub-dark] { --v-blue: #FFFFFF; --v-ink: #FFFFFF; --v-title: #FFFFFF; --v-sub: #E6E8EC; --gl-ink: #FFFFFF; --gl-ink2: #EEF0F3; --gl-ink3: #E0E2E6; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-sub { opacity: 1 !important; color: #E6E8EC !important; font-size: 13px !important; font-weight: 500; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-label { color: #FFFFFF !important; opacity: 1 !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-pair > :not(:first-child), html[data-hub-glass][data-hub-dark] #opsMetrics .metric-word { color: #E6E8EC !important; opacity: 1 !important; }
html[data-hub-glass][data-hub-dark] .sidebar .nav-item:not(.active) { color: rgba(255, 255, 255, .88); }
html[data-hub-glass][data-hub-dark] .sidebar .nav-item .nav-count, html[data-hub-glass][data-hub-dark] .sidebar-section, html[data-hub-glass][data-hub-dark] .sidebar-foot, html[data-hub-glass][data-hub-dark] .sidebar-links a { color: rgba(255, 255, 255, .72); }
html[data-hub-glass][data-hub-dark] :is(.gl-an, .gl-tk-in, .ck-nh, .ck-lab, .gl-appf button, .ts-foot, .ck-card2 small, .ck-cd small) { color: #E2E4E8 !important; opacity: 1 !important; }
html[data-hub-glass][data-hub-dark] :is(.gl-an) { color: #F4F5F7 !important; }
html[data-hub-glass][data-hub-dark] .ck-gc small { color: #DDE0E4; }
html[data-hub-glass][data-hub-dark] .ts-stage .sr-hint { color: #D9CBB2; }
html[data-hub-glass][data-hub-dark] :is(.search input, .gl-asearch input, .ck-compose input)::placeholder { color: #C5C8CE !important; opacity: 1; }

/* Phone and tablet: the ring sits above Next up, which goes back to its compact size */
@media (max-width: 999px) {
  html[data-hub-glass] #ckStrip .ck-axis.ck-axis { display: block; order: -1; min-height: 190px; overflow: hidden; overflow: clip; }
  html[data-hub-glass] .ck-ring { top: 6px; }
  html[data-hub-glass] #ckStrip .ck-next.ck-next { min-height: 0; }
}

/* Dark, easier on the eye (Tassia 2026-11-02): a deeper page and near black cards, so the light text stands out */
html[data-hub-glass][data-hub-dark] body, html[data-hub-glass][data-hub-dark] :is(.shell, .main, .maintop) { background: #0B0B0C !important; }
html[data-hub-glass][data-hub-dark] .sidebar { background: #101011 !important; }
html[data-hub-glass][data-hub-dark] :is(.gl-card, #teamSales .team-sales, #board .bpanel, #boardTop .bpanel, #opsMetrics > .metric, .gl-app, .ck-next, .ck-notes) { background: linear-gradient(170deg, #1B1B1E, #121214) !important; }
html[data-hub-glass][data-hub-dark] #opsMetrics .metric-value .metric-pair { background: rgba(255, 255, 255, .07) !important; }
html[data-hub-glass][data-hub-dark] .ck-gc { background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 55%, rgba(255, 255, 255, .07)); }

/* Team logins: the calendar comes before Team sales; the admin keeps Team sales first */
html[data-hub-glass].gl-team #glRow5 { order: 3 !important; }
html[data-hub-glass].gl-team #teamSales { order: 4 !important; }

/* Desktop view on a phone: the forklift is the phone's round button, not the big computer one */
.hub-desk-phone .mr-fab-lift { display: none; }
.hub-desk-phone .mr-fab-bot { box-sizing: content-box; width: 52px; height: 48px; padding: 10px 8px; border-radius: 50%; background: #fff; filter: none; box-shadow: 0 6px 18px rgba(26, 25, 22, .22); }
html[data-hub-dark].hub-desk-phone .mr-fab-bot.mr-fab-bot {
  background: radial-gradient(70% 45% at 50% 8%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, rgba(225, 228, 233, .3), rgba(120, 124, 132, .14)) !important;
  border: 1px solid rgba(225, 228, 233, .6) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -8px 14px rgba(0, 0, 0, .28), 0 10px 22px -8px rgba(0, 0, 0, .75) !important;
}

/* Style menu samples, each one different (Tassia 2026-11-02): each shows what it picks */
.theme-opt .theme-swatch.theme-swatch-classic { background: linear-gradient(135deg, #FFFFFF 0 45%, #E2DCD2 45% 100%) !important; box-shadow: inset 0 0 0 1px rgba(120, 108, 90, .3) !important; }
.theme-opt .theme-swatch.theme-swatch-c { background: linear-gradient(135deg, #2A2A2E 0 45%, #0B0B0C 45% 100%) !important; box-shadow: inset 0 0 0 1px rgba(232, 210, 156, .55) !important; }
.theme-opt .theme-swatch.theme-swatch-l-glass { background: radial-gradient(70% 40% at 50% 14%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)), linear-gradient(160deg, #BFE0FF, #4E8FD6) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(24, 95, 165, .3) !important; }
.theme-opt .theme-swatch.theme-swatch-l-classic { background: linear-gradient(90deg, #1A1916 0 34%, #F7F4EF 34% 100%) !important; box-shadow: inset 0 0 0 1px rgba(120, 108, 90, .35) !important; }

/* the sign-in is the original screen: it only has to sit above the page's soft background */
html[data-hub-glass] .gate { position: relative; z-index: 1; }

/* The black side bar of the classic layout, around today's Glass home (Tassia 2026-11-02): it holds the logo and the categories;
   the search, View as and the other buttons stay on top with no bar behind them. A phone or tablet keeps the top bar. */
@media (min-width: 1200px) {
  html[data-hub-glass] .sidebar { display: flex; position: sticky; z-index: 60; }
  html[data-hub-glass] .maintop-inner.maintop-inner.maintop-inner.maintop-inner {
    background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important;
  }
  html[data-hub-glass] .maintop-inner > .ck-logo { display: none !important; }
  html[data-hub-glass] .maintop-inner > .search { flex: 1 1 200px !important; min-width: 150px; height: 42px; box-sizing: border-box; border-radius: 999px !important; overflow: hidden; background: #fff !important; border: 1px solid rgba(120, 108, 90, .25) !important; box-shadow: inset 0 2px 4px rgba(90, 80, 65, .16), 0 8px 16px -10px rgba(70, 60, 45, .4) !important; }
  html[data-hub-glass] .maintop-inner.maintop-inner > .search input { height: 100%; background: transparent !important; border: 0 !important; box-shadow: none !important; color: #1B1B1D !important; font-size: 13px; }
  html[data-hub-glass] .maintop-inner.maintop-inner > .search input::placeholder { color: #55524C !important; opacity: 1; }
  html[data-hub-glass] .maintop-inner.maintop-inner > .search .ti { color: #55524C !important; }
  html[data-hub-glass][data-hub-dark] .maintop-inner > .search { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .14) !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45) !important; }
  html[data-hub-glass][data-hub-dark] .maintop-inner.maintop-inner > .search input { color: #fff !important; }
  html[data-hub-glass][data-hub-dark] .maintop-inner.maintop-inner > .search input::placeholder, html[data-hub-glass][data-hub-dark] .maintop-inner.maintop-inner > .search .ti { color: hsl(220 7% 85.5%) !important; }
}
/* the dates line up with the sections above and below: no side padding now the strip has no card of its own */
html[data-hub-glass] #ckStrip#ckStrip { padding-left: 0 !important; padding-right: 0 !important; }
/* Dark: rep names, tile titles, the Team sales title and the Next up titles in her champagne (Tassia 2026-11-02) */
html[data-hub-glass][data-hub-dark] #teamSales .ts-title h2 { color: #D9BC7E !important; }
html[data-hub-glass][data-hub-dark] #app #opsMetrics .metric .metric-label { color: #D9BC7E !important; }
html[data-hub-glass][data-hub-dark] #ckStrip :is(.ck-lab, .ck-card2 > div:not(.ck-cd) > b) { color: #D9BC7E !important; }
html[data-hub-glass][data-hub-dark] #teamSales tbody tr:not(.ts-totals) > td:first-child { color: #D9BC7E !important; }
/* Light: tile titles near black, easier to read (Tassia 2026-11-02); icons unchanged */
html[data-hub-glass]:not([data-hub-dark]) #app #opsMetrics .metric .metric-label { color: #1B1B1D !important; }

/* ---------- the real Las Vegas weather on the photo's sky (Tassia 2026-11-02); values come from sky() in glass.js ---------- */
html[data-hub-glass] .gl-cloud { --d: 180s; background: radial-gradient(closest-side, rgb(var(--c, 255 255 255) / .85), rgb(var(--c, 255 255 255) / 0)); opacity: var(--cl, .75); transition: opacity 2s; animation-duration: calc(var(--d) / var(--wind, 1)) !important; }
html[data-hub-glass] .gl-cloud.c1 { --d: 140s; } html[data-hub-glass] .gl-cloud.c2 { --d: 190s; } html[data-hub-glass] .gl-cloud.c3 { --d: 230s; }
html[data-hub-glass] .gl-cloud.c4 { --d: 170s; } html[data-hub-glass] .gl-cloud.c5 { --d: 260s; } html[data-hub-glass] .gl-cloud.c6 { --d: 210s; }
html[data-hub-glass] .gl-cloud.gl-more { opacity: var(--more, 0); }
html[data-hub-glass] .gl-cloud.c7 { --d: 120s; width: 34%; height: 14%; top: 2%; animation-delay: -30s; }
html[data-hub-glass] .gl-cloud.c8 { --d: 150s; width: 28%; height: 12%; top: 16%; animation-delay: -100s; }
html[data-hub-glass] .gl-cloud.c9 { --d: 175s; width: 36%; height: 13%; top: 8%; animation-delay: -60s; }
html[data-hub-glass] .gl-cloud.c10 { --d: 135s; width: 26%; height: 11%; top: 26%; animation-delay: -115s; }
html[data-hub-glass] .gl-deck { position: absolute; left: 0; top: -6%; width: 300%; height: 60%; opacity: var(--deck, 0); transition: opacity 2s; filter: blur(12px); animation: gl-deck calc(120s / var(--wind, 1)) linear infinite;
  background: radial-gradient(14% 44% at 8% 40%, rgb(var(--c, 255 255 255) / .95), transparent), radial-gradient(16% 50% at 24% 30%, rgb(var(--c, 255 255 255) / .9), transparent), radial-gradient(12% 40% at 41% 48%, rgb(var(--c, 255 255 255) / .95), transparent), radial-gradient(16% 50% at 58% 30%, rgb(var(--c, 255 255 255) / .9), transparent), radial-gradient(14% 44% at 74% 42%, rgb(var(--c, 255 255 255) / .95), transparent), radial-gradient(14% 46% at 91% 34%, rgb(var(--c, 255 255 255) / .9), transparent); }
@keyframes gl-deck { to { transform: translateX(-33.33%); } }
html[data-hub-glass] .gl-bolt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .35s; }
html[data-hub-glass] .gl-skyflash { position: absolute; inset: 0; background: #dfe6f5; opacity: 0; transition: opacity .4s; }
html[data-hub-glass] .gl-haze { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(var(--hz, 190 196 206)); opacity: var(--haze, 0); transition: opacity 2s; }
html[data-hub-glass] .gl-flash { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #dfe6f5; opacity: 0; transition: opacity .45s; }
html[data-hub-glass] .gl-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
html[data-hub-glass] .gl-bolt.on { opacity: 1; transition: none; }
html[data-hub-glass] .gl-skyflash.on { opacity: .55; transition: none; }
html[data-hub-glass] .gl-flash.on { opacity: .16; transition: none; }
html[data-hub-glass] .gl-clock em { font-style: normal; font-size: 12.5px; font-weight: 700; margin-top: 4px; }
@media (max-width: 999px) { html[data-hub-glass] .gl-clock em { font-size: 11px; margin-top: 3px; } }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] .gl-deck { animation: none !important; } }

/* The calendar by hand (Tassia 2026-11-02): arrows on each side; a manual turn is quicker than the idle one */
html[data-hub-glass] .ck-axis { position: relative; }
html[data-hub-glass] .ck-arr { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; margin-top: -20px; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer; font-size: 22px; color: #1B1B1D;
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 1px #fff, 0 0 0 1px rgba(120, 108, 90, .18), 0 8px 14px -8px rgba(70, 60, 45, .55); transition: transform .15s; }
html[data-hub-glass] .ck-arr.prev { left: 0; } html[data-hub-glass] .ck-arr.next { right: 0; }
html[data-hub-glass] .ck-arr:hover { transform: scale(1.1); }
html[data-hub-glass] .ck-arr:active { transform: scale(.94); }
html[data-hub-glass] .ck-arr:focus-visible { outline: 2px solid #A9834B; outline-offset: 2px; }
html[data-hub-glass][data-hub-dark] .ck-arr { color: #D9BC7E; background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)); border-color: rgba(232, 210, 156, .6); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .3), 0 8px 14px -8px rgba(0, 0, 0, .9); }
html[data-hub-glass] .ck-fast .ck-gc { transition-duration: .55s, .4s; }
/* phone: low in the corners, clear of the side cards' text */
@media (max-width: 999px) { html[data-hub-glass] .ck-arr { width: 44px; height: 44px; top: auto; bottom: 0; margin-top: 0; } }

/* the desk calendar beside the ring: today's date, a page turns now and then, a click opens the Full calendar below it (Tassia 2026-11-02) */
html[data-hub-glass] #ckStrip .ck-next.ck-next { padding: 12px !important; align-items: center; }
.ck-calbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; width: 100%; height: 100%; padding: 6px 0 0; border: 0; background: none; font: inherit; color: var(--gold-ink, #8A6A2A); cursor: pointer; }
.ck-calbtn:focus-visible { outline: 2px solid var(--gold-ink, #8A6A2A); outline-offset: 2px; border-radius: 14px; }
.ck-cal { position: relative; display: block; width: 96px; height: 94px; border-radius: 17px; perspective: 520px; background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .36)); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 2px 1px rgba(255, 255, 255, .95), inset 0 -8px 14px rgba(255, 255, 255, .4), 0 0 0 .5px rgba(26, 25, 22, .14), 0 18px 26px -14px rgba(26, 25, 22, .5); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.ck-calbtn:hover .ck-cal { transform: translateY(-3px) rotate(-2deg); }
.ck-calbtn:active .ck-cal { transform: translateY(0) scale(.97); }
.ck-cal-head { position: absolute; inset: 0 0 auto; height: 30px; display: grid; place-items: center; padding-top: 3px; box-sizing: border-box; border-radius: 17px 17px 0 0; background: linear-gradient(180deg, #34332E, #1A1916); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 0 rgba(255, 255, 255, .5); color: #E8D29C; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; }
.ck-cal-ring { position: absolute; top: -6px; left: 23px; z-index: 3; width: 7px; height: 15px; border-radius: 4px; background: linear-gradient(90deg, #A6AAB2, #F2F3F5 45%, #A6AAB2); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.ck-cal-ring.r { left: auto; right: 23px; }
.ck-cal-page { position: absolute; inset: 30px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 0 0 17px 17px; color: #1A1916; }
.ck-cal-page b { font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.ck-cal-page small { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #77736A; }
/* the light on the glass lives on the top page, behind the date, so the date stays black */
.ck-cal-sheet { transform-origin: 50% 0; background: radial-gradient(70% 45% at 28% 8%, rgba(255, 255, 255, .6), transparent 70%), linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .4) 46%, transparent 55%), rgba(255, 255, 255, .6); animation: ckCalTurn 9s ease-in-out 1.5s infinite; }
@keyframes ckCalTurn {
  0%, 88% { transform: rotateX(0); opacity: 1; }
  96% { transform: rotateX(100deg); opacity: 1; }
  97% { transform: rotateX(100deg); opacity: 0; }
  98% { transform: rotateX(0); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}
.ck-cal-lbl { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; }
.ck-cal-lbl .ti { font-size: 14px; transition: transform .3s; }
.ck-calbtn[aria-expanded="true"] .ck-cal-lbl .ti { transform: rotate(180deg); }
html[data-hub-glass][data-hub-dark] .ck-cal { background: linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1.5px 1px rgba(255, 255, 255, .4), inset 0 -8px 14px rgba(255, 255, 255, .05), 0 0 0 .5px rgba(232, 210, 156, .45), 0 18px 26px -14px rgba(0, 0, 0, .9); }
html[data-hub-glass][data-hub-dark] .ck-cal-head { background: linear-gradient(180deg, #1E1E20, #0D0D0E); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 0 rgba(255, 255, 255, .1); }
html[data-hub-glass][data-hub-dark] .ck-cal-page { color: #F2F3F5; }
html[data-hub-glass][data-hub-dark] .ck-cal-sheet { background: radial-gradient(70% 45% at 28% 8%, rgba(255, 255, 255, .2), transparent 70%), linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .12) 46%, transparent 55%), rgba(52, 52, 56, .62); }
html[data-hub-glass][data-hub-dark] .ck-cal-page small { color: #C9CCD2; }
html[data-hub-glass] #board { scroll-margin: 84px 0 16px; }
html[data-hub-glass].ck-board-open #board { order: 5 !important; }
html[data-hub-glass].gl-team.ck-board-open #board { order: 3 !important; }
html[data-hub-glass].ck-board-open #board { transform-origin: 50% 0; animation: ckBoardIn .38s cubic-bezier(.2, .9, .3, 1); }
@keyframes ckBoardIn { from { opacity: 0; transform: translateY(-14px) scaleY(.96); } }
@media (prefers-reduced-motion: reduce) {
  .ck-cal-sheet, html[data-hub-glass].ck-board-open #board { animation: none; }
}
/* NEW tag (app.js newTag) — `.gl-ai > *` makes children position:relative; put the tag back on the corner */
html[data-hub-glass] .gl-ai > .new-tag { position: absolute; top: -7px; right: -12px; z-index: 2; }
html[data-hub-glass] .gl-ai > .new-tag.pd-new { top: auto; bottom: -7px; z-index: 3; }

/* SPOTLIGHT on the Glass icon grid (catalog `spotlight: true` — Purchasing Handoff, Tassia 2026-11-08/09 "não vi piscar";
   11/9 "azul mesmo, talvez outro tom": the hub blue, but SOLID — a filled deep-blue square with a white icon, so it stands
   apart from the pale blue-on-white tiles around it; ring + glow breathing 1.4 s, a gentle bob, a "START HERE" tag). */
html[data-hub-glass] .gl-app.is-spotlight .gl-ai {
  background: linear-gradient(180deg, #2E7BC9, #0C447C);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -6px 10px rgba(0, 0, 0, .18), 0 4px 0 #0A3763, 0 12px 18px -10px rgba(12, 68, 124, .7), 0 0 0 0 rgba(24, 95, 165, .75);
  animation: gl-spot 1.4s ease-in-out infinite;
}
html[data-hub-glass] .gl-app.is-spotlight .gl-ai::after { background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); }
html[data-hub-glass] .gl-app.is-spotlight .gl-ai .ti, html[data-hub-glass] .gl-app.is-spotlight .gl-ai svg { color: #fff; }
html[data-hub-glass] .gl-app.is-spotlight .gl-an { color: #0C447C; }
html[data-hub-glass] .gl-spot {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%); z-index: 3;
  padding: 2px 7px; border-radius: 999px; border: 2px solid #fff;
  background: #D6E8FB; color: #0C447C; font: 800 8px/1.2 system-ui, -apple-system, sans-serif; letter-spacing: .08em;  /* light blue tag (Tassia 11/9) */
  white-space: nowrap; pointer-events: none; box-shadow: 0 2px 6px rgba(12, 68, 124, .45);
}
@keyframes gl-spot {
  0%, 100% { box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -6px 10px rgba(0, 0, 0, .18), 0 4px 0 #0A3763, 0 12px 18px -10px rgba(12, 68, 124, .7), 0 0 0 0 rgba(24, 95, 165, .75); transform: translateY(0); }
  50%      { box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -6px 10px rgba(0, 0, 0, .18), 0 4px 0 #0A3763, 0 12px 18px -10px rgba(12, 68, 124, .7), 0 0 0 10px rgba(24, 95, 165, 0); transform: translateY(-3px); }
}
html[data-hub-glass][data-hub-dark] .gl-app.is-spotlight .gl-ai { background: linear-gradient(180deg, #185FA5, #0A3763); }
html[data-hub-glass][data-hub-dark] .gl-app.is-spotlight .gl-an { color: #8EC1F2; }
@media (prefers-reduced-motion: reduce) { html[data-hub-glass] .gl-app.is-spotlight .gl-ai { animation: none !important; box-shadow: 0 0 0 3px rgba(24, 95, 165, .5), 0 4px 0 #0A3763; } }

/* DARK = MIRRORED SILVER instead of gold (Tassia 2026-11-09: "essa parte amarela ta feio bote prata espelhado"):
   the warn tile's top rim, the Team sales bar's highlight + icons, the NEW tag. The tile TITLES stay champagne
   (Tassia 2026-11-09: "esses titulos eram dourados antes n pedi pra mudar isso").
   The amber status DOT on a warn tile's icon stays - it is a status colour (rule 2), not decoration. */
html[data-hub-glass][data-hub-dark] { --me-silver: linear-gradient(180deg, #FBFCFD 0%, #D9DCE1 38%, #9DA2AA 52%, #C9CDD3 70%, #EEF0F3 100%); }
html[data-hub-glass][data-hub-dark] #opsMetrics > .metric[data-st="warn"] {
  box-shadow: inset 0 1.5px 0 #F4F5F7, inset 0 3px 0 #9DA2AA, 0 -1px 10px -4px rgba(230, 233, 238, .35), 0 24px 40px -24px rgba(0, 0, 0, .6) !important;
}
html[data-hub-glass][data-hub-dark] #teamSales .ts-pager { --th-bg: var(--me-silver); --th-ink: #1B1B1D; --th-sh: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 8px 16px -8px rgba(0, 0, 0, .9); }
html[data-hub-glass][data-hub-dark] .ts-pager .ts-tab .ti { color: #C9CDD3; }
html[data-hub-glass][data-hub-dark] .ts-pager .ts-tab.on .ti { color: #1B1B1D; }
html[data-hub-glass][data-hub-dark] .new-tag {
  background: var(--me-silver); color: #1B1B1D; border-color: rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(0, 0, 0, .55);
}

/* `waitingLive` app for this login (WEBSITE BOARDS, 2026-11-12): greyed out, its phrase under the name, does not open */
html[data-hub-glass] .gl-app.is-locked { cursor: not-allowed; }
html[data-hub-glass] .gl-app.is-locked:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .18)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); transform: none; }
html[data-hub-glass] .gl-app.is-locked:hover .gl-ai { transform: none; }
html[data-hub-glass] .gl-app.is-locked .gl-ai { background: linear-gradient(180deg, #F4F2EE, #E4E0D9); box-shadow: inset 0 2px 0 #fff, 0 4px 0 #D6D1C8; filter: grayscale(1); opacity: .7; }
html[data-hub-glass] .gl-app.is-locked .gl-ai .ti { color: #A39C90; }
html[data-hub-glass] .gl-app.is-locked .gl-an { color: #A39C90; }
html[data-hub-glass] .gl-wait { margin-top: -4px; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A8377; background: #ECE9E3; border-radius: 999px; padding: 2px 8px; }
html[data-hub-glass][data-hub-dark] .gl-app.is-locked .gl-an, html[data-hub-glass][data-hub-dark] .gl-wait { color: rgba(255, 255, 255, .45); }
html[data-hub-glass][data-hub-dark] .gl-wait { background: rgba(255, 255, 255, .08); }
