*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f3f6fb;color:#172033}.hidden{display:none!important}.login-page,.loading{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:100%;max-width:440px;background:#fff;border:1px solid #e3e8f0;border-radius:18px;padding:32px;box-shadow:0 18px 50px rgba(23,32,51,.1)}.login-card h1{margin:0 0 6px}.login-card p{color:#667085}.login-card form{display:grid;gap:10px;margin-top:24px}.login-card label{font-weight:700;font-size:14px;margin-top:8px}.login-card input{padding:13px 14px;border:1px solid #cfd6e2;border-radius:10px;font-size:16px}.login-card button{margin-top:14px;padding:13px;border:0;border-radius:10px;background:#172033;color:#fff;font-weight:700}.message{min-height:22px;font-size:14px}.message.error{color:#d92d20}.message.success{color:#16794a}.shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.sidebar{background:#111827;color:#fff;padding:24px 16px}.sidebar h2{margin:0;font-size:20px}.sidebar p{color:#9ca3af;font-size:12px}.sidebar nav{display:grid;gap:8px;margin-top:28px}.sidebar a{padding:12px 14px;border-radius:10px;color:#d1d5db;text-decoration:none;display:flex;justify-content:space-between}.sidebar a.active{background:#fff;color:#111827;font-weight:700}.sidebar a.disabled{opacity:.5}.topbar{min-height:78px;background:#fff;border-bottom:1px solid #e3e8f0;padding:16px 28px;display:flex;align-items:center;justify-content:space-between}.topbar h1{margin:0}.topbar p{margin:5px 0 0;color:#667085;font-size:13px}.user-box{display:flex;align-items:center;gap:14px}.user-box span,.user-box strong{display:block}.user-box span{font-size:12px;color:#667085}.user-box button{border:0;border-radius:9px;padding:10px 14px;background:#d92d20;color:#fff;font-weight:700}.content{max-width:1320px;margin:auto;padding:28px}.hero,.panel,.cards article{background:#fff;border:1px solid #e3e8f0;box-shadow:0 10px 28px rgba(23,32,51,.06)}.hero{border-radius:18px;padding:28px;display:flex;justify-content:space-between;align-items:center}.hero h2{margin:8px 0}.hero p{margin:0;color:#667085}.eyebrow{font-size:12px;font-weight:800;color:#16794a}.status{padding:9px 12px;border-radius:999px;background:#ecfdf3;color:#16794a;font-weight:700}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:18px}.cards article{padding:20px;border-radius:14px}.cards span,.cards strong{display:block}.cards span{font-size:13px;color:#667085}.cards strong{margin-top:10px;overflow-wrap:anywhere}.panel{margin-top:18px;padding:24px;border-radius:16px}.modules{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.modules article{border:1px solid #e3e8f0;border-radius:13px;padding:18px}.modules h4{margin:0}.modules p{color:#667085}.modules span{display:inline-block;padding:6px 9px;border-radius:999px;background:#ecfdf3;color:#16794a;font-size:12px;font-weight:700}@media(max-width:900px){.shell{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.sidebar{min-height:auto}}@media(max-width:600px){.topbar,.hero{align-items:flex-start;flex-direction:column;gap:16px}.cards,.modules{grid-template-columns:1fr}.content{padding:18px}}

/* Sidebar extensible navigation V5.2.0 */
.sidebar-nav{display:grid;gap:8px;margin-top:28px}.sidebar-nav>a,.sidebar-subnav a{padding:12px 14px;border-radius:10px;color:#d1d5db;text-decoration:none;display:flex;justify-content:space-between;align-items:center}.sidebar-nav>a.active{background:#fff;color:#111827;font-weight:700}.sidebar-nav-group{display:grid;gap:6px}.sidebar-nav-toggle{width:100%;border:0;background:transparent;color:#d1d5db;padding:12px 14px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-weight:700;cursor:pointer;text-align:left}.sidebar-nav-toggle:hover,.sidebar-nav-group.active>.sidebar-nav-toggle{background:rgba(255,255,255,.08);color:#fff}.sidebar-chevron{font-size:18px;line-height:1;transition:transform .2s ease}.sidebar-nav-group.expanded .sidebar-chevron{transform:rotate(180deg)}.sidebar-subnav{display:grid;gap:5px;padding-left:12px}.sidebar-subnav[hidden]{display:none}.sidebar-subnav a{position:relative;padding:10px 12px 10px 22px;font-size:13px;color:#9ca3af}.sidebar-subnav a::before{content:"";position:absolute;left:8px;top:50%;width:5px;height:5px;border-radius:999px;background:#64748b;transform:translateY(-50%)}.sidebar-subnav a:hover{color:#fff;background:rgba(255,255,255,.06)}.sidebar-subnav a.active{background:#fff;color:#111827;font-weight:800}.sidebar-subnav a.active::before{background:#2563eb}.sidebar nav.sidebar-nav{display:grid;gap:8px;margin-top:28px}.sidebar nav.sidebar-nav a{padding:12px 14px}.sidebar nav.sidebar-nav .sidebar-subnav a{padding:10px 12px 10px 22px}


/* Workspace nested navigation V5.3.3 */
.sidebar-workspace-group>.sidebar-nav-toggle{font-weight:700}
.sidebar-workspace-subnav{padding-left:10px;border-left:1px solid rgba(148,163,184,.22);margin-left:12px}
.sidebar-nav-nested{gap:4px}
.sidebar-nav-toggle-nested{padding:9px 12px 9px 20px;font-size:13px;color:#9ca3af;font-weight:700}
.sidebar-nav-toggle-nested:before{content:"";width:5px;height:5px;border-radius:999px;background:#64748b;flex:0 0 auto}
.sidebar-nav-toggle-nested>span:first-of-type{flex:1}
.sidebar-subnav-nested{padding-left:14px}
.sidebar-subnav-nested a{padding:9px 10px 9px 20px!important;font-size:12px!important}
.sidebar-nav-nested.active>.sidebar-nav-toggle-nested{color:#fff;background:rgba(255,255,255,.06)}

/* Multi-channel sidebar V5.6.0 */
.sidebar-section-label{margin:12px 2px 2px;padding:0 10px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.sidebar-platform-subnav{padding-left:12px}
.sidebar-platform-subnav a{font-size:13px}
.sidebar-footer{margin-top:auto;padding-top:24px;font-size:12px;opacity:.66}

.login-card button:disabled{opacity:.72;cursor:wait}
.login-card input:disabled{background:#f7f8fa;color:#667085;cursor:wait}
.login-progress{margin-top:14px;padding:14px;border:1px solid #d9e2f0;border-radius:12px;background:#f8fafc}
.login-progress-head{display:flex;align-items:center;gap:12px}
.login-progress-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.login-progress-head strong{font-size:14px}
.login-progress-head span:not(.login-spinner){font-size:12px;color:#667085;font-variant-numeric:tabular-nums}
.login-progress p{margin:10px 0 0;color:#475467;font-size:13px;line-height:1.45}
.login-progress .login-progress-note{font-size:12px;color:#667085}
.login-spinner{width:20px;height:20px;border:2px solid #d0d5dd;border-top-color:#172033;border-radius:50%;animation:login-spin .85s linear infinite;flex:0 0 auto}
@keyframes login-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.login-spinner{animation-duration:1.8s}}

/* V5.8.6 contextual help — portal / viewport-safe */
.info-tip{
  position:relative;
  display:inline-flex;
  align-items:center;
  vertical-align:middle;
  margin-left:6px;
}
.info-tip>button{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:50%;
  border:1px solid #cbd5e1;
  background:#fff;
  color:#475569;
  font-size:11px;
  font-weight:800;
  line-height:16px;
  padding:0;
  cursor:help;
  outline:none;
}
.info-tip>button:hover{
  border-color:#94a3b8;
  background:#f8fafc;
  color:#0f172a;
}
.info-tip>button:focus-visible{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.16);
}

/* The inline copy remains hidden. JS portals it to <body> before opening. */
.info-tip .info-pop{
  display:none;
}

/* Body-level portal prevents clipping by overflow:hidden, cards, tables,
   transformed parents, drawers, charts, and nested stacking contexts. */
.info-pop-portal{
  position:fixed!important;
  display:block!important;
  z-index:2147483000!important;
  box-sizing:border-box;
  max-width:calc(100vw - 24px);
  padding:10px 12px;
  border-radius:10px;
  background:#111827;
  color:#fff;
  font-size:12px;
  font-weight:500;
  line-height:1.5;
  text-align:left;
  box-shadow:0 14px 36px rgba(15,23,42,.24);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:none!important;
  transition:opacity .12s ease,visibility .12s ease;
}
.info-pop-portal.is-open{
  opacity:1;
  visibility:visible;
}
.info-pop-portal::after{
  content:"";
  position:absolute;
  left:var(--tooltip-arrow-left,50%);
  width:0;
  height:0;
  transform:translateX(-50%);
  border:6px solid transparent;
}
.info-pop-portal[data-placement="top"]::after{
  top:100%;
  border-top-color:#111827;
}
.info-pop-portal[data-placement="bottom"]::after{
  bottom:100%;
  border-bottom-color:#111827;
}
@media(max-width:520px){
  .info-pop-portal{
    font-size:12px;
    line-height:1.45;
  }
}
@media(prefers-reduced-motion:reduce){
  .info-pop-portal{
    transition:none;
  }
}

