:root{--teal:#087f73;--cyan:#52c7b2;--cyan-soft:#e8f6f2}
/* Shared MANAGER master-page classes control geometry; FLOW supplies its identity. */
.flow-shell{background:#f4f7f8;color:#09384b}
.flow-sidebar{background:radial-gradient(ellipse at 0% 8%,#63dfbd24,transparent 58%),linear-gradient(165deg,#0a4b40 0%,#073e36 48%,#052f2c 100%)}
.flow-sidebar::before{background:linear-gradient(145deg,transparent 25%,#8cf5ce06 25.2%,transparent 55%),radial-gradient(ellipse at -140% 45%,transparent 66%,#7be2bf12 66.2%,transparent 66.5%)}
.flow-sidebar::after{background:url("brand/gam-nexus-5-flow.png") center 76% / 82% auto no-repeat}
.flow-sidebar .side-nav a{color:#d0e9e0}.flow-sidebar .side-nav a.active{color:#fff;background:linear-gradient(110deg,#b1f3d929,#b1f3d912);box-shadow:inset 3px 0 #7bdec0}
.flow-sidebar .side-nav a:focus-visible{outline:2px solid #f4c95d;outline-offset:3px}
.flow-sidebar>.nexus-connection-status{margin-top:auto;display:flex;align-items:center;gap:10px;padding:13px 12px;background:#ffffff0e;border:1px solid #ffffff14;border-radius:12px;color:#fff}
.nexus-connection-status>div{display:grid;gap:3px;min-width:0}.nexus-connection-status strong{font-size:.7rem}.nexus-connection-status small{font-size:.6rem;color:#bed8cf}
.nexus-connection-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#e6bc61;box-shadow:0 0 0 4px #e6bc611f}
.is-ready .nexus-connection-dot{background:#59d19d;box-shadow:0 0 0 4px #59d19d1f}.is-offline .nexus-connection-dot{background:#f18c86;box-shadow:0 0 0 4px #f18c861f}
.flow-filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;padding:1.2rem;margin-bottom:1.5rem}.flow-filters label{flex:1;min-width:140px}
.flow-ticket-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:1rem}.flow-ticket{padding:1.3rem}.flow-ticket-top{display:flex;gap:.5rem;justify-content:space-between;align-items:center}
.flow-ticket h2{font-size:1.1rem;margin:1rem 0 .5rem}.flow-ticket h2 a{color:#09384b;text-decoration:none}.flow-ticket p{color:#6f7d86}.flow-status{background:#e8f6f2;border-radius:20px;padding:.3rem .6rem;font-size:.8rem}
.flow-progress{display:flex;align-items:center;gap:.6rem;margin:1rem 0}.flow-progress progress{flex:1;accent-color:#087f73}.flow-empty,.flow-error{padding:2rem}
.flow-shell .button.primary,.login-shell .button.primary{background:linear-gradient(120deg,#09384b,#087f73);color:white}
.flow-profile{position:relative;min-width:0}.flow-profile .profile-chip{text-align:left;max-width:min(420px,40vw)}
.flow-profile .profile-chip>div{min-width:0;gap:2px}.flow-profile .profile-chip strong{font-weight:700;overflow-wrap:anywhere}.flow-profile .profile-chip .flow-profile-position{font-size:.72rem}
.flow-profile .profile-chip small{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flow-profile .profile-chip-avatar{flex-shrink:0;object-fit:cover}
.flow-profile .profile-popover{top:calc(100% + 12px);right:0;max-height:calc(100dvh - 130px);overflow-y:auto}.flow-profile .profile-popover-identity .flow-profile-position{font-size:.78rem}
@media(max-width:900px){
 .flow-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .flow-profile .profile-chip{max-width:100%;padding:0}.flow-profile .profile-chip>div{display:none}.flow-profile .profile-popover{position:fixed;top:calc(var(--topbar) + 8px);left:12px;right:12px;width:auto;max-height:calc(100dvh - var(--topbar) - 24px)}
 .flow-filters{gap:.7rem}.flow-ticket-grid{grid-template-columns:1fr}
 .flow-shell .topbar-actions{gap:6px}.flow-shell .topbar-actions>.icon-button,.flow-shell .notification-button{width:34px;height:34px}.flow-shell .profile-chip-avatar,.flow-shell .profile-chip>span{width:34px;height:34px}
}
@media(max-width:380px){.flow-shell .topbar-actions{gap:3px}.flow-shell .topbar-actions>.icon-button,.flow-shell .notification-button{width:30px;height:30px}.flow-shell .profile-chip-avatar,.flow-shell .profile-chip>span{width:30px;height:30px}}@media(max-width:900px){.flow-bottom-nav:not(:has(.bottom-create)){grid-template-columns:repeat(2,minmax(0,1fr))}}
