/* OfficialOS 7.0 RC10.19 — professional application shell for every non-Home workspace */
:root{
  --r18-nav:210px;--r18-top:64px;--r18-bg:#020a12;--r18-panel:#071724;--r18-panel2:#091d2c;
  --r18-line:#173d57;--r18-line2:#20516e;--r18-text:#eef7fb;--r18-muted:#8eabbc;
  --r18-blue:#1687ff;--r18-cyan:#11d8ff;--r18-green:#74ed9a;--r18-gold:#f3c653;
}
/* Critical global image containment. RC10.17 only constrained the GamerAI nav mark on Home. */
.tabs .nav-icon img{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important;object-position:center!important}
.r16-side-brand img{display:block!important;width:128px!important;height:44px!important;max-width:128px!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important}
body.r19-shell:not([data-oos-screen="home"]) img[src*="gamerai-mark-approved"]{max-width:30px!important;max-height:30px!important;object-fit:contain!important}
body.r19-shell:not([data-oos-screen="home"]) img[src*="gamerai-lockup-approved"]{max-width:145px!important;max-height:48px!important;object-fit:contain!important}

@media(min-width:901px){
  body.r19-shell:not([data-oos-screen="home"]){margin:0!important;min-height:100vh!important;overflow-x:hidden!important;background:radial-gradient(circle at 86% -8%,rgba(0,136,210,.10),transparent 28%),linear-gradient(180deg,#020a12 0%,#04101a 100%)!important;color:var(--r18-text)!important}
  body.r19-shell:not([data-oos-screen="home"]) #serverGate{z-index:1200}
  body.r19-shell:not([data-oos-screen="home"]) header{position:fixed!important;left:var(--r18-nav)!important;right:0!important;top:0!important;width:auto!important;height:var(--r18-top)!important;min-height:var(--r18-top)!important;margin:0!important;padding:0 24px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:nowrap!important;z-index:80!important;background:rgba(3,13,22,.94)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid #123852!important;box-shadow:0 10px 32px rgba(0,0,0,.22)!important}
  body.r19-shell:not([data-oos-screen="home"]) header>div:first-child{min-width:0!important;display:flex!important;align-items:center!important;gap:14px!important}
  body.r19-shell:not([data-oos-screen="home"]) header h1,body.r19-shell:not([data-oos-screen="home"]) header .tag{display:none!important}
  .r18-context{display:flex;align-items:center;gap:12px;min-width:0}.r18-context-mark{width:3px;height:30px;border-radius:999px;background:linear-gradient(var(--r18-cyan),var(--r18-blue))}.r18-context-copy{min-width:0}.r18-context-copy small{display:block;color:#56d9ff;font-size:8px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}.r18-context-copy b{display:block;margin-top:2px;color:#f5fbff;font-size:18px;line-height:1.1;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r18-context-copy span{display:block;margin-top:2px;color:#7898ac;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:620px}
  body.r19-shell:not([data-oos-screen="home"]) header>.row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:max-content!important}.r18-header-search{width:min(330px,28vw);height:36px;padding:0 12px;border:1px solid #174866;border-radius:10px;background:#071b2a;color:#cde6f2;font-size:11px;outline:none}.r18-header-search:focus{border-color:var(--r18-cyan);box-shadow:0 0 0 3px rgba(17,216,255,.10)}
  body.r19-shell:not([data-oos-screen="home"]) #sharedHeaderStatus{font-size:10px!important;color:#819daf!important;white-space:nowrap!important}body.r19-shell:not([data-oos-screen="home"]) #sharedHeaderBtn{height:36px!important;padding:0 13px!important;border-radius:10px!important;background:#0b2031!important;border:1px solid #174866!important;color:#e8f7ff!important}

  body.r19-shell:not([data-oos-screen="home"]) main{display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:calc(var(--r18-top) + 22px) 26px 44px calc(var(--r18-nav) + 26px)!important;overflow:visible!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--r18-nav)!important;height:100vh!important;margin:0!important;padding:14px 12px 12px!important;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:4px!important;overflow:hidden!important;z-index:100!important;border:0!important;border-right:1px solid #123852!important;border-radius:0!important;background:linear-gradient(180deg,#04121e 0%,#03101a 100%)!important;box-shadow:10px 0 32px rgba(0,0,0,.22)!important;backdrop-filter:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button{width:100%!important;min-height:42px!important;margin:0!important;padding:0 10px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#a9bfcc!important;font-size:12px!important;font-weight:720!important;text-align:left!important;box-shadow:none!important;transform:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button:hover{background:#082235!important;color:#fff!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button.active{outline:0!important;background:linear-gradient(90deg,rgba(13,126,210,.28),rgba(5,54,88,.42))!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--r18-cyan)!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs .nav-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;border-radius:8px!important;border:1px solid #155270!important;background:#082437!important;color:#61dcff!important;font-size:14px!important;overflow:hidden!important;transform:none!important;filter:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .r16-side-brand{height:61px!important;min-height:61px!important;margin:0 0 7px!important;padding:0 4px 10px!important;display:flex!important;align-items:center!important;gap:5px!important;border-bottom:1px solid #103a55!important;overflow:hidden!important}.r16-version{font-size:7px!important;padding:3px 5px!important}.r16-side-divider{margin:9px 8px 5px!important}.r16-side-tool{min-height:37px!important;color:#8faebe!important}.r16-side-tool i{width:28px!important;height:28px!important;font-size:13px!important}.r16-side-copy{margin-top:auto!important;padding:12px 10px 2px!important;font-size:7px!important;line-height:1.55!important;letter-spacing:.20em!important;border-top:1px solid #103a55!important}.r16-side-copy strong{font-size:6.5px!important;letter-spacing:.15em!important}

  body.r19-shell:not([data-oos-screen="home"]) #rc1017Dashboard{display:none!important}
  body.r19-shell:not([data-oos-screen="home"]) main>section{display:none!important;position:relative!important;inset:auto!important;float:none!important;transform:none!important;max-width:1280px!important;width:100%!important;min-width:0!important;margin:0 auto!important;padding:0!important;overflow:visible!important;background:transparent!important}
  body.r19-shell:not([data-oos-screen="home"]) main>section.active{display:block!important}

  body.r19-shell:not([data-oos-screen="home"]) .screen-hero{position:relative!important;min-height:112px!important;margin:0 0 16px!important;padding:20px 22px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;overflow:hidden!important;border:1px solid #174866!important;border-radius:18px!important;background:linear-gradient(112deg,#0a2235 0%,#0a1c2b 58%,#071522 100%)!important;box-shadow:0 16px 36px rgba(0,0,0,.22)!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero::before{content:""!important;position:absolute!important;left:0!important;top:18px!important;bottom:18px!important;width:3px!important;border-radius:0 999px 999px 0!important;background:linear-gradient(var(--r18-cyan),var(--r18-blue))!important;box-shadow:0 0 18px rgba(17,216,255,.25)!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero::after{content:"";position:absolute;right:-36px;top:-58px;width:280px;height:210px;border-radius:50%;border:1px solid rgba(17,216,255,.09);box-shadow:0 0 0 38px rgba(17,216,255,.025),0 0 0 78px rgba(17,216,255,.018);pointer-events:none}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero>div:first-child{position:relative;z-index:2;min-width:0}.screen-hero .eyebrow{color:#55dcff!important;font-size:9px!important;font-weight:900!important;letter-spacing:.2em!important}.screen-hero h2{margin:4px 0 5px!important;color:#f8fcff!important;font-size:27px!important;line-height:1.05!important;letter-spacing:-.035em!important}.screen-hero p{margin:0!important;max-width:760px!important;color:#91afc0!important;font-size:12px!important;line-height:1.45!important}.screen-hero .hero-mark{position:relative!important;z-index:2!important;display:grid!important;place-items:center!important;width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;padding:0!important;border-radius:16px!important;background:#0b2b40!important;border:1px solid #1a5b79!important;color:#63ddff!important;font-size:26px!important;line-height:1!important;opacity:1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.18)!important}

  body.r19-shell:not([data-oos-screen="home"]) .card{position:relative!important;max-width:100%!important;margin:0 0 14px!important;padding:16px 17px!important;border:1px solid #173a53!important;border-radius:15px!important;background:linear-gradient(180deg,#081a28 0%,#071621 100%)!important;box-shadow:0 9px 26px rgba(0,0,0,.15)!important;overflow:visible!important;transform:none!important}.card h3{color:#f3f9fc!important;letter-spacing:-.015em!important}.card .muted{color:#89a2b3!important}.grid{gap:13px!important}.split{gap:12px!important}.grid>.card:has(.stat){min-height:96px!important}.stat{font-size:28px!important}.badge{font-size:10px!important}
  body.r19-shell:not([data-oos-screen="home"]) input,body.r19-shell:not([data-oos-screen="home"]) select,body.r19-shell:not([data-oos-screen="home"]) textarea{background:#061522!important;border-color:#1c4159!important;color:#eef7fb!important;border-radius:9px!important}body.r19-shell:not([data-oos-screen="home"]) input:focus,body.r19-shell:not([data-oos-screen="home"]) select:focus,body.r19-shell:not([data-oos-screen="home"]) textarea:focus{border-color:#18b8df!important;box-shadow:0 0 0 3px rgba(17,216,255,.09)!important}
  body.r19-shell:not([data-oos-screen="home"]) button.primary{background:linear-gradient(135deg,#117df4,#0ca9d4)!important;color:#fff!important;border:1px solid #1f8fdd!important;box-shadow:0 7px 18px rgba(11,112,205,.18)!important}body.r19-shell:not([data-oos-screen="home"]) button.secondary{background:#0b2030!important;border-color:#1b4864!important;color:#dcebf4!important}

  /* Section-specific cleanup: professional density instead of oversized internal cards. */
  body.r19-shell[data-oos-screen="setup"] #setup .setup-readiness{grid-template-columns:repeat(2,minmax(0,1fr))!important}.manage-group{border-color:#173a53!important;background:#071722!important;border-radius:14px!important}.manage-group>summary{padding:13px 15px!important;background:rgba(10,36,53,.38)!important}.manage-group>.manage-body{padding:0 12px 5px!important}
  body.r19-shell[data-oos-screen="schedule"] #schedule .mini-cal{gap:5px!important}.agenda-day{border-color:#173d56!important;background:#061722!important}.agenda-day-head{background:linear-gradient(90deg,rgba(0,205,230,.09),rgba(0,205,230,.01))!important}.agenda-item{padding:11px 12px!important}
  body.r19-shell[data-oos-screen="opps"] #opps textarea#oppText{min-height:160px!important}
  body.r19-shell[data-oos-screen="reports"] #reports .rc9-money-strip{gap:10px!important}.rc9-money-kpi{background:#081a28!important;border-color:#173a53!important}
}

@media(max-width:1100px) and (min-width:901px){:root{--r18-nav:190px}body.r19-shell:not([data-oos-screen="home"]) main{padding-left:212px!important;padding-right:18px!important}.r18-header-search{width:230px}.r16-side-brand img{width:118px!important;max-width:118px!important}}

/* ===== OfficialOS 7.0 RC10.19 — LOCKED CUSTOMER-FACING PRODUCT SHELL ===== */
:root{
  --r19-top:clamp(184px,15.3vw,219px);
  --r19-nav:210px;
  --r19-bg:#020a12;
  --r19-panel:#061724;
  --r19-panel2:#081d2b;
  --r19-line:#15425f;
  --r19-cyan:#12d8ff;
  --r19-blue:#1478ff;
  --r19-green:#8dff43;
  --r19-white:#f5f9fc;
  --r19-muted:#89a8ba;
}

/* MASTER BRAND BANNER — exact customer-approved creative, full width on every tab. */
#r19BrandBar{
  position:fixed;z-index:500;left:0;right:0;top:0;height:var(--r19-top);
  display:block;overflow:hidden;background:#020b13;border-bottom:1px solid #144a68;
  box-shadow:0 12px 34px rgba(0,0,0,.42);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.r19-master-banner{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;user-select:none;pointer-events:none}
.r19-build{position:absolute;z-index:2;left:33.1%;top:11px;padding:4px 7px;border:1px solid rgba(19,208,255,.55);border-radius:999px;background:rgba(2,18,30,.68);backdrop-filter:blur(8px);color:#62e8ff;font-size:7px;font-weight:950;letter-spacing:.04em;white-space:nowrap}
/* The banner is the brand. No second logo/header layer. */
.r19-context,.r19-tools,.r19-brand{display:none!important}
body.r19-shell>header{display:none!important}
body.r19-shell{background:var(--r19-bg)!important}

@media(min-width:901px){
  body.r19-shell .r16-side-brand{display:none!important}

  /* HOME — banner is the hero, dashboard begins immediately with useful information. */
  body.r19-shell.r17-home-ready[data-oos-screen="home"]{overflow:hidden!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] main{
    position:relative!important;display:grid!important;grid-template-columns:var(--r19-nav) minmax(0,1fr)!important;
    width:100vw!important;max-width:none!important;height:calc(100vh - var(--r19-top))!important;
    margin:var(--r19-top) 0 0!important;padding:0!important;overflow:hidden!important
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .tabs{
    position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:var(--r19-nav)!important;
    height:calc(100vh - var(--r19-top))!important;margin:0!important;padding:12px 12px 14px!important;
    border-right:1px solid #123f5c!important
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-dashboard{
    width:100%!important;height:calc(100vh - var(--r19-top))!important;padding:9px 11px!important;
    grid-template-rows:76px minmax(270px,1fr) 148px!important;gap:8px!important
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-hero{display:none!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-search,
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-account{display:none!important}

  /* ALL OTHER WORKSPACES — sidebar and content start below the same banner. */
  body.r19-shell:not([data-oos-screen="home"]){margin:0!important;min-height:100vh!important;overflow-x:hidden!important;background:radial-gradient(circle at 86% -8%,rgba(0,136,210,.10),transparent 28%),linear-gradient(180deg,#020a12 0%,#04101a 100%)!important;color:var(--r19-white)!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs{
    position:fixed!important;left:0!important;top:var(--r19-top)!important;bottom:0!important;width:var(--r19-nav)!important;
    height:calc(100vh - var(--r19-top))!important;margin:0!important;padding:13px 12px 12px!important;
    display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:4px!important;overflow:hidden!important;z-index:100!important;
    border:0!important;border-right:1px solid #123852!important;border-radius:0!important;
    background:linear-gradient(180deg,#04121e 0%,#03101a 100%)!important;box-shadow:10px 0 32px rgba(0,0,0,.22)!important
  }
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button{width:100%!important;min-height:42px!important;margin:0!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#a9bfcc!important;font-size:12px!important;font-weight:720!important;text-align:left!important;box-shadow:none!important;transform:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button:hover{background:#082235!important;color:#fff!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs>button.active{outline:0!important;background:linear-gradient(90deg,rgba(13,126,210,.28),rgba(5,54,88,.42))!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--r19-cyan)!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs .nav-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;border-radius:8px!important;border:1px solid #155270!important;background:#082437!important;color:#61dcff!important;font-size:14px!important;overflow:hidden!important;transform:none!important;filter:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .tabs .nav-icon img{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important}
  body.r19-shell:not([data-oos-screen="home"]) .r16-side-divider{margin:9px 8px 5px!important}.r16-side-tool{min-height:37px!important;color:#8faebe!important}.r16-side-tool i{width:28px!important;height:28px!important;font-size:13px!important}.r16-side-copy{margin-top:auto!important;padding:12px 10px 2px!important;font-size:7px!important;line-height:1.55!important;letter-spacing:.20em!important;border-top:1px solid #103a55!important}.r16-side-copy strong{font-size:6.5px!important;letter-spacing:.15em!important}
  body.r19-shell:not([data-oos-screen="home"]) main{display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:calc(var(--r19-top) + 14px) 25px 38px calc(var(--r19-nav) + 25px)!important;overflow:visible!important}
  body.r19-shell:not([data-oos-screen="home"]) #rc1017Dashboard{display:none!important}
  body.r19-shell:not([data-oos-screen="home"]) main>section{display:none!important;position:relative!important;inset:auto!important;float:none!important;transform:none!important;max-width:1280px!important;width:100%!important;min-width:0!important;margin:0 auto!important;padding:0!important;overflow:visible!important;background:transparent!important}
  body.r19-shell:not([data-oos-screen="home"]) main>section.active{display:block!important}

  /* Module title is a compact workspace identifier, not a competing brand banner. */
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero{position:relative!important;min-height:76px!important;margin:0 0 14px!important;padding:14px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;overflow:hidden!important;border:1px solid #174866!important;border-radius:15px!important;background:linear-gradient(112deg,#082235 0%,#081a29 66%,#06131f 100%)!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero::before{content:""!important;position:absolute!important;left:0!important;top:12px!important;bottom:12px!important;width:3px!important;border-radius:0 999px 999px 0!important;background:linear-gradient(var(--r19-cyan),var(--r19-blue))!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero::after{content:none!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero .eyebrow{color:#55dcff!important;font-size:8px!important;font-weight:900!important;letter-spacing:.20em!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero h2{margin:3px 0 3px!important;color:#f8fcff!important;font-size:23px!important;line-height:1.05!important;letter-spacing:-.03em!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero p{margin:0!important;max-width:760px!important;color:#91afc0!important;font-size:10.5px!important;line-height:1.35!important}
  body.r19-shell:not([data-oos-screen="home"]) .screen-hero .hero-mark{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;padding:0!important;border-radius:13px!important;background:#0b2b40!important;border:1px solid #1a5b79!important;color:#63ddff!important;font-size:22px!important;line-height:1!important;opacity:1!important}

  /* Shared customer-facing card and form language. */
  body.r19-shell:not([data-oos-screen="home"]) .card,
  body.r19-shell:not([data-oos-screen="home"]) details,
  body.r19-shell:not([data-oos-screen="home"]) .workday-status-card,
  body.r19-shell:not([data-oos-screen="home"]) .management-card{border-color:#173f59!important;background:linear-gradient(180deg,#071a28,#061521)!important;box-shadow:0 9px 24px rgba(0,0,0,.14)!important}
  body.r19-shell:not([data-oos-screen="home"]) input,
  body.r19-shell:not([data-oos-screen="home"]) select,
  body.r19-shell:not([data-oos-screen="home"]) textarea{border-color:#1b435b!important;background:#061522!important;color:#eaf7fe!important}
  body.r19-shell:not([data-oos-screen="home"]) input:focus,
  body.r19-shell:not([data-oos-screen="home"]) select:focus,
  body.r19-shell:not([data-oos-screen="home"]) textarea:focus{border-color:var(--r19-cyan)!important;box-shadow:0 0 0 3px rgba(18,216,255,.08)!important}
}

@media(max-width:1180px) and (min-width:901px){:root{--r19-nav:190px}.r19-build{left:34.5%}}
@media(max-width:900px){
  :root{--r19-top:112px}
  #r19BrandBar{position:sticky;height:var(--r19-top)}
  .r19-master-banner{object-position:left top}
  .r19-build{left:auto;right:8px;top:8px;font-size:6px}
  body.r19-shell>header{display:none!important}
}

@media(min-width:901px) and (max-height:820px){
  :root{--r19-top:170px}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-dashboard{grid-template-rows:64px minmax(240px,1fr) 112px!important;gap:7px!important;padding:7px 9px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi{height:64px!important;grid-template-columns:38px minmax(0,1fr) 23px!important;padding:7px 9px!important;gap:8px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi-icon{width:36px!important;height:36px!important;font-size:17px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi strong{font-size:19px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi small{margin-top:2px!important;font-size:7px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-next{grid-template-rows:29px minmax(0,1fr)!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-panel-head{padding:0 10px!important;font-size:7px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-agenda{padding:7px 10px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-bottom-card{min-height:0!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-bottom{gap:7px!important}
}

/* ===== RC10.19 FINAL REISSUE — exact banner geometry + unified shell =====
   One full-width master banner. Sidebar and every workspace begin below it.
   This block intentionally overrides earlier height-based compromises. */
@media (min-width:901px){
  :root{
    /* Preserve the approved 1432×219 banner aspect ratio at every desktop width. */
    --r19-top:calc(100vw * 219 / 1432);
    --r19-nav:210px;
  }
  #r19BrandBar{
    position:fixed!important;left:0!important;right:0!important;top:0!important;
    width:100vw!important;height:var(--r19-top)!important;overflow:hidden!important;
    background:#020b13!important;border-bottom:1px solid #144a68!important;
  }
  #r19BrandBar .r19-master-banner{
    display:block!important;width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center center!important;background:#020b13!important;
  }
  #r19BrandBar .r19-build{
    left:auto!important;right:12px!important;top:10px!important;
    font-size:7px!important;padding:3px 6px!important;
  }

  /* The banner is the brand. Never duplicate a lockup inside the navigation rail. */
  body.r19-shell .tabs>.r16-side-brand,
  body.r19-shell .r16-side-brand{display:none!important}

  /* One navigation geometry on every tab, including Home. */
  body.r19-shell .tabs{
    position:fixed!important;left:0!important;top:var(--r19-top)!important;bottom:0!important;
    width:var(--r19-nav)!important;height:auto!important;margin:0!important;
    padding:12px 12px 12px!important;z-index:100!important;overflow:hidden!important;
    border:0!important;border-right:1px solid #123852!important;border-radius:0!important;
    background:linear-gradient(180deg,#04121e 0%,#03101a 100%)!important;
  }
  body.r19-shell .tabs>button{
    width:100%!important;min-height:40px!important;margin:0!important;padding:0 10px!important;
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  }
  body.r19-shell .tabs .nav-icon{
    width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;
    display:grid!important;place-items:center!important;overflow:hidden!important;
  }
  body.r19-shell .tabs .nav-icon img{
    width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important;
  }
  body.r19-shell .r16-side-divider{margin:7px 8px 4px!important}
  body.r19-shell .r16-side-tool{min-height:34px!important}
  body.r19-shell .r16-side-copy{padding:9px 10px 2px!important;font-size:6.5px!important;line-height:1.45!important}

  /* Home: mount dashboard directly below banner; never let it slide underneath. */
  body.r19-shell.r17-home-ready[data-oos-screen="home"] main{
    display:block!important;position:static!important;width:100vw!important;height:100vh!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] #rc1017Dashboard{
    position:fixed!important;left:var(--r19-nav)!important;right:0!important;
    top:var(--r19-top)!important;bottom:0!important;width:auto!important;
    height:calc(100vh - var(--r19-top))!important;margin:0!important;
    display:grid!important;overflow:hidden!important;
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-dashboard{
    padding:8px 10px!important;gap:7px!important;
  }

  /* Other workspaces use the same origin: below banner, to the right of sidebar. */
  body.r19-shell:not([data-oos-screen="home"]) main{
    width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;
    padding:calc(var(--r19-top) + 14px) 24px 38px calc(var(--r19-nav) + 24px)!important;
  }
}

/* Short desktop screens: compact the dashboard content, never the approved banner. */
@media (min-width:901px) and (max-height:820px){
  :root{--r19-top:calc(100vw * 219 / 1432)}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-dashboard{
    grid-template-rows:62px minmax(226px,1fr) 108px!important;gap:6px!important;padding:6px 8px!important;
  }
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi{height:62px!important;padding:6px 8px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi-icon{width:34px!important;height:34px!important;font-size:16px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-kpi strong{font-size:18px!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-next{grid-template-rows:27px minmax(0,1fr)!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .r16-bottom-card{padding:6px 7px!important}
  body.r19-shell .tabs>button{min-height:36px!important}
  body.r19-shell .r16-side-tool{min-height:31px!important}
  body.r19-shell .r16-side-copy{font-size:6px!important;padding-top:7px!important}
}

/* Home has higher-specificity legacy rules; pin it explicitly below the banner. */
@media (min-width:901px){
  body.r19-shell.r17-home-ready[data-oos-screen="home"] .tabs{
    position:fixed!important;left:0!important;top:var(--r19-top)!important;bottom:0!important;
    width:var(--r19-nav)!important;height:auto!important;box-sizing:border-box!important;
    margin:0!important;padding:12px 12px 12px!important;z-index:100!important;overflow:hidden!important;
  }
  body.r19-shell:not([data-oos-screen="home"]) .tabs{box-sizing:border-box!important}
  body.r19-shell.r17-home-ready[data-oos-screen="home"] #rc1017Dashboard{
    box-sizing:border-box!important;
  }
}

/* OfficialOS non-home scrolling fix */
body.r19-shell:not([data-oos-screen="home"]){
  height:auto!important;
  min-height:100vh!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

body.r19-shell:not([data-oos-screen="home"]) main{
  height:auto!important;
  min-height:100vh!important;
  overflow:visible!important;
}

body.r19-shell:not([data-oos-screen="home"]) main>section.active{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
