
/* Portal structure shared by internal pages, in both themes. */
main{max-width:1280px}main:has(.dashboard-grid){max-width:1280px}.internal-nav .nav-dropdown{min-width:270px;max-height:min(70vh,680px);overflow-y:auto;gap:10px}.nav-menu-section{display:grid;gap:5px;min-width:0}.nav-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#68717c;margin:10px 8px 3px}.internal-nav .nav-menu-section>a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:8px;color:#343b40;background:#fff;border:1px solid #e2e6eb;text-decoration:none;white-space:normal;font-size:14px}.internal-nav .nav-menu-section>a:hover,.internal-nav .nav-menu-section>a[aria-current=page]{background:#fff0f1;color:#a40016;border-color:#d5a6ae}.internal-nav .nav-group:last-of-type .nav-dropdown{left:auto;right:0}.internal-nav>a,.internal-nav .nav-group>summary{padding-left:12px;padding-right:12px}
.portal-quick{margin:22px 0 30px}.portal-quick h2{font-size:1.1rem;margin-bottom:12px}.portal-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portal-quick-link{display:flex;align-items:center;gap:12px;padding:18px;background:#fff;border:1px solid #dbe1e7;border-radius:12px;color:#34383b;text-decoration:none;box-shadow:0 3px 10px #18232e05;min-width:0}.portal-quick-link:hover{border-color:#e50914;background:#fff8f8}.portal-quick-link .dashboard-icon{margin:0;width:40px;height:40px}.portal-quick-link>span:last-child{min-width:0}.portal-quick-link strong{display:block;font-size:1rem}.portal-quick-link>span>span{display:block;color:#63707b;font-size:.8rem;line-height:1.4;margin-top:4px}.dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-grid>.dashboard-card{padding:18px}.dashboard-grid>.dashboard-card h3{font-size:1rem;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}.dashboard-grid>.dashboard-card p{font-size:.85rem;line-height:1.5;margin:0 0 16px}.dashboard-grid>.dashboard-card .button{min-height:44px;font-size:.85rem;display:flex;align-items:center;justify-content:center}.dashboard-section-title{font-size:1.2rem!important;margin:0 0 14px}.dashboard-section{margin:0 0 28px}.portal-fold{padding:18px;border:1px solid #dbe1e7;border-radius:12px;background:#fff}.portal-fold>summary{font-weight:700;cursor:pointer}.portal-fold[open]>summary{margin-bottom:18px}main>.filter-grid,main>form.filter-grid{padding:20px;border:1px solid #dbe1e7;border-radius:12px;background:#fff}.asset-ribbon{flex-wrap:wrap;gap:10px}.customer-table .button{white-space:normal;text-align:center}.customer-table td{vertical-align:top}
html[data-theme="dark"] .nav-section-title{color:#bdc8d5}html[data-theme="dark"] .internal-nav .nav-menu-section>a{background:#263241;color:#edf1f5;border-color:#536071}html[data-theme="dark"] .internal-nav .nav-menu-section>a:hover,html[data-theme="dark"] .internal-nav .nav-menu-section>a[aria-current=page]{background:#48272f;color:#ffd2d7;border-color:#94616a}html[data-theme="dark"] .portal-quick-link,html[data-theme="dark"] .portal-fold,html[data-theme="dark"] main>form.filter-grid{background:#202833;color:#edf1f5;border-color:#536071}html[data-theme="dark"] .portal-quick-link>span>span{color:#bdc8d5}html[data-theme="dark"] .portal-quick-link:hover{background:#2b303d;border-color:#ff8490}html[data-theme="dark"] .portal-quick-link{color:#edf1f5!important}
@media(max-width:1100px){.portal-quick-grid,.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.internal-nav .nav-dropdown{max-height:65vh}}
@media(max-width:700px){.internal-nav .nav-dropdown{grid-template-columns:1fr;max-height:60vh}.portal-quick-link{padding:14px}.portal-quick-grid{gap:10px}.portal-quick-link .dashboard-icon{display:none}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.dashboard-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:0 14px}.dashboard-grid>.dashboard-card .dashboard-icon{grid-row:1/3;margin:0}.dashboard-grid>.dashboard-card h3,.dashboard-grid>.dashboard-card p{grid-column:2}.dashboard-grid>.dashboard-card .button{grid-column:1/-1;margin-top:4px}.internal-nav .nav-group:last-of-type .nav-dropdown{right:auto}.portal-quick-link strong{font-size:.95rem}}

.dashboard-sections .dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-sections .dashboard-card{min-height:0}
@media(max-width:1100px){.dashboard-sections .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-sections .dashboard-grid{grid-template-columns:1fr}}

/* Closed menus must not contribute off-screen mobile width. */
.internal-nav .nav-group:not([open])>.nav-dropdown{display:none}

.portal-quick-grid .portal-monitor-link{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:116px}.portal-monitor-link>span{max-width:100%;overflow-wrap:anywhere}.portal-monitor-link .portal-monitor-logo{flex-shrink:0;max-width:calc(100% - 10px)}

.portal-monitor-badge{position:absolute;right:14px;top:14px;min-width:26px;height:26px;padding:0 6px;border-radius:999px;background:#e60012;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.portal-monitor-badge[hidden]{display:none}.portal-monitor-link>.note{font-size:12px;font-weight:400}
