/* TurbAine Glass for the app frame (25 Nov 2026, Cameron: "didi you redesign all the other pages inside turbaine?").
   The sidebar, title bar and the rooms that live in app.html (Finance, Office, Jobs, Brain, System, Doctor) in the
   same glass look as the Motherboard pages (public/css/turbaine-glass.css): dark room lit from above by the room's
   colour (--acc), frosted glass cards with soft round corners instead of the cut-corner steel frame, pills,
   darker raised glass for the drawer. Loaded last in app.html so it wins. Undo = remove the <link> to this file. */
:root{--tg-room:#060607;--tg-glass:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));--tg-raised:linear-gradient(180deg,rgba(40,40,44,.9),rgba(16,16,19,.96));--tg-edge:rgba(255,255,255,.09);--tg-hair:rgba(255,255,255,.06);--tg-top:inset 0 1px 0 rgba(255,255,255,.12);--tg-drop:0 24px 48px -28px rgba(0,0,0,.9);--tg-ink:#F5F6F8;--tg-ink-2:#A3A9B2;--tg-ink-3:#8C939C;--tg-blur:blur(18px) saturate(160%)}

/* the room */
html body:not(#g):not(#g):not(#g){background:radial-gradient(1000px 520px at 62% -14%,color-mix(in srgb,var(--acc) 18%,transparent),transparent 62%),radial-gradient(800px 600px at -8% 100%,color-mix(in srgb,var(--acc) 9%,transparent),transparent 62%),var(--tg-room)!important}
html body .bgfx:not(#g):not(#g):not(#g){display:none!important}

/* sidebar: one floating glass panel */
html body .side:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important;border:1px solid var(--tg-edge)!important;border-radius:26px!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
html body .side .grp:not(#g):not(#g):not(#g){letter-spacing:0!important;text-transform:none!important;font-size:12px!important;color:var(--tg-ink-3)!important;font-weight:600!important;margin:16px 12px 6px!important}
html body .side .nav:not(#g):not(#g):not(#g){border-radius:12px!important;padding:6px 10px!important;min-height:40px;gap:10px;color:var(--tg-ink-2)!important;transition:background 160ms ease,color 160ms ease}
html body .side .nav:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.05)!important;color:var(--tg-ink)!important}
html body .side .nav[aria-current="true"]:not(#g):not(#g):not(#g){background:linear-gradient(180deg,color-mix(in srgb,var(--c) 22%,rgba(255,255,255,.06)),color-mix(in srgb,var(--c) 8%,transparent))!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px color-mix(in srgb,var(--c) 34%,transparent),0 10px 24px -14px color-mix(in srgb,var(--c) 80%,transparent)!important}
html body .side .foot:not(#g):not(#g):not(#g){border-top:1px solid var(--tg-hair)!important}

/* title bar on the app's own rooms */
html body:not(.mbroom) .main>.top:not(#g):not(#g):not(#g){background:radial-gradient(90% 160% at 0% 0%,color-mix(in srgb,var(--acc) 20%,transparent),transparent 60%),var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid color-mix(in srgb,var(--acc) 26%,rgba(255,255,255,.08))!important;border-radius:24px!important;box-shadow:var(--tg-top),var(--tg-drop)!important;min-height:64px;padding:12px 22px!important}
html body .top h1:not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;font-size:26px!important;letter-spacing:-.03em!important;text-transform:none!important}

/* cards: frosted glass with round corners instead of the cut-corner frame */
html body .room .fr:not(#g):not(#g):not(#g),html body .room .panel:not(#g):not(#g):not(#g){clip-path:none!important;border-radius:22px!important;background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);border:1px solid var(--tg-edge)!important;box-shadow:var(--tg-top),var(--tg-drop)!important}
html body .room .fr.glow:not(#g):not(#g):not(#g){background:radial-gradient(300px 160px at 0% 0%,color-mix(in srgb,var(--v7a,var(--acc)) 16%,transparent),transparent 70%),var(--tg-glass)!important}
html body .room .fr.tint:not(#g):not(#g):not(#g){background:linear-gradient(180deg,color-mix(in srgb,var(--v7a,var(--acc)) 9%,transparent),transparent 80px),var(--tg-glass)!important}
html body .v7fr:not(#g):not(#g):not(#g){display:none!important}
/* a card inside a card goes flat */
html body .room :is(.fr,.panel) :is(.fr,.panel):not(#g):not(#g):not(#g){background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* small tiles inside cards */
html body .room :is(.vit,.gp-tile,.dp,.jb,.wp,.mtr,.hov):not(#g):not(#g):not(#g){border-radius:16px!important}

/* pills */
html body .room .btn:not(#g):not(#g):not(#g),html body .side .foot button:not(#g):not(#g):not(#g){border-radius:999px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;color:var(--tg-ink)!important;padding:8px 16px!important;white-space:nowrap}
html body .room .btn:hover:not(#g):not(#g):not(#g){background:rgba(255,255,255,.1)!important}
html body :is(.tabs,.seg) button:not(#g):not(#g):not(#g){border-radius:999px!important}
html body .chip:not(#g):not(#g):not(#g){border-radius:999px!important}

/* raised glass: the agent drawer */
html body .scrim:not(#g):not(#g):not(#g){background:rgba(3,3,4,.5)!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
html body .drawer:not(#g):not(#g):not(#g){top:12px!important;right:12px!important;bottom:12px!important;border-radius:26px!important;background:var(--tg-raised)!important;-webkit-backdrop-filter:blur(40px) saturate(180%);backdrop-filter:blur(40px) saturate(180%);border:1px solid rgba(255,255,255,.13)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 30px 80px -20px rgba(0,0,0,.9)!important;overflow:hidden}
html body .drawer .dh:not(#g):not(#g):not(#g),html body .drawer .tabs:not(#g):not(#g):not(#g){border-bottom-color:var(--tg-hair)!important}

/* labels in sentence case, like the Motherboard */
html body .room :is(.kpi .label,.db h3,.team .th b):not(#g):not(#g):not(#g){letter-spacing:0!important;text-transform:none!important;font-size:12.5px!important}

@media (prefers-reduced-transparency:reduce){html body :is(.side,.room .fr,.room .panel,.drawer):not(#g):not(#g):not(#g){background:#141417!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}

/* words in calm Inter Tight, Bebas kept for numbers (same as the Motherboard) */
html body .room :is(.h1sec h2,.phead h2,.mtop>b):not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:700!important;font-size:26px!important;letter-spacing:-.03em!important;text-transform:none!important}
html body :is(.room .dpt b,.room .netbar b,.drawer .dh b):not(#g):not(#g):not(#g){font-family:"Inter Tight",system-ui,sans-serif!important;font-weight:650!important;font-size:17px!important;letter-spacing:-.01em!important;text-transform:none!important}
/* small labels in sentence case, no wide letter-spacing */
html body .rooms :is(.mtop,.fft,.gp-lab,.fl-row,.dph,.tkgrp,.ylh,.x,.th,small,.label,h3,header>b,.vl):not(#g):not(#g):not(#g),html body .rooms :is(.mtop,.fft,.gp-lab,.fl-row,.dph,.tkgrp,.ylh,.x,.th) *:not(#g):not(#g):not(#g){text-transform:none!important;letter-spacing:0!important}

/* brighter room (25 Nov 2026, Cameron: "the black background is a bit dull"): the phone's colour glow, scaled up for desktop */
html body:not(#g):not(#g):not(#g){background:radial-gradient(80% 70% at 62% -12%,color-mix(in srgb,var(--acc) 42%,transparent),transparent 64%),radial-gradient(60% 70% at -6% 108%,color-mix(in srgb,var(--acc) 18%,transparent),transparent 62%),radial-gradient(50% 60% at 106% 58%,rgba(255,255,255,.035),transparent 60%),linear-gradient(180deg,#0d0d10 0%,#08080a 55%,#060607 100%)!important;background-attachment:fixed!important}
html body .fbook:not(#g):not(#g):not(#g){background:var(--tg-glass)!important;-webkit-backdrop-filter:var(--tg-blur);backdrop-filter:var(--tg-blur);box-shadow:var(--tg-top)!important}

/* shows the app once this file has loaded (app.html hides it until then so the old design never flashes) */
html body:not(#g):not(#g):not(#g){opacity:1!important;animation:none!important}
/* Finance's Business/Personal bar: tinted glass like the title bar above it, not black (Cameron 25 Nov) */
html body #room-finance .fbook:not(#g):not(#g):not(#g){background:radial-gradient(70% 200% at 0% 0%,color-mix(in srgb,var(--acc) 12%,transparent),transparent 65%),var(--tg-glass)!important;border:1px solid var(--tg-edge)!important;box-shadow:var(--tg-top)!important;-webkit-backdrop-filter:var(--tg-blur)!important;backdrop-filter:var(--tg-blur)!important}
/* page titles in Bebas, the same as OVERVIEW / SALES on the Motherboard pages (Cameron 25 Nov: "all titles in the same font") */
html body .top h1:not(#g):not(#g):not(#g){font-family:"Bebas Neue","Arial Narrow",Impact,sans-serif!important;font-weight:400!important;font-size:30px!important;letter-spacing:.03em!important;text-transform:uppercase!important;line-height:1!important}
/* Rooms scroll like the Sales/Overview pages (Cameron 25 Nov: "theres a box on scroll makes it look cheap", "change the other pages scroll to match"):
   the page runs right up to the top of the window and slides under a floating glass title bar, instead of being cut off in a hard line under it.
   Bars that stick (System's menu, Finance's Business/Personal) stick just under the title bar, with no dark band behind them. */
@media (min-width:901px){
  html body:not(.mbroom) .main:not(#g):not(#g):not(#g){position:relative}
  html body:not(.mbroom) .main>.top:not(#g):not(#g):not(#g){position:absolute!important;top:0;left:210px;right:24px;width:auto!important;margin:14px auto 0!important;z-index:40} /* width:auto (25 Nov): under ~1800px wide the bar ran past the right edge */
  html body:not(.mbroom) .rooms>.room:not(#g):not(#g):not(#g){padding-top:104px!important}
  html body .syhead:not(#g):not(#g):not(#g){top:-18px!important;margin-top:0!important;padding-top:0!important;background:none!important}
  html body #room-finance .fbook:not(.fview):not(#g):not(#g):not(#g){top:-18px!important;margin-top:0!important}
}
