/* Shared finishing layer for the ACS workspace. It keeps the original navy
   dashboard identity while giving every panel a cleaner product feel. */
:root{--panel-navy:#062744;--panel-blue:#1776d2;--panel-cyan:#55c3ed;--panel-yellow:#f7c84b}
.dashboard-page{background:linear-gradient(135deg,#f7fafc 0%,#f1f6fa 100%)}
.sidebar{background:linear-gradient(180deg,#062744 0%,#092f51 58%,#06243e 100%);box-shadow:12px 0 35px rgba(3,27,49,.12);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(183,220,240,.3) transparent}.sidebar::-webkit-scrollbar{width:5px}.sidebar::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(183,220,240,.3)}
.sidebar:before{content:"";position:absolute;inset:0 0 auto;height:170px;pointer-events:none;background:radial-gradient(circle at 15% 0,rgba(85,195,237,.18),transparent 60%)}
.sidebar-brand{position:relative;padding-top:4px}.sidebar-brand .brand-mark{transition:transform .2s ease,box-shadow .2s ease}.sidebar-brand:hover .brand-mark{transform:rotate(-4deg) scale(1.04);box-shadow:0 13px 28px rgba(247,200,75,.38)}
.brand-logo{display:block;width:42px;height:42px;flex:0 0 42px;border:2px solid rgba(255,255,255,.82);border-radius:13px;object-fit:cover;background:#fff;box-shadow:0 8px 18px rgba(0,0,0,.16);transition:transform .2s ease,box-shadow .2s ease}.sidebar-brand:hover .brand-logo{transform:rotate(-4deg) scale(1.05);box-shadow:0 13px 28px rgba(0,0,0,.22)}.login-brand-logo{width:58px;height:58px;flex-basis:58px;border:0;border-radius:18px;margin-bottom:4px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.sidebar-nav{display:block;flex:0 0 auto;min-height:0;overflow:visible;padding-right:0}.nav-label{margin:20px 0 8px}.nav-item,.sidebar-home,.logout-button{text-decoration:none}.nav-item{position:relative;transition:background .18s ease,color .18s ease,transform .18s ease}.nav-item:hover{transform:translateX(3px);text-decoration:none}.nav-item span{display:inline-flex;align-items:center;justify-content:center;font-size:13px}.sidebar-home i,.logout-button i{width:17px;margin-right:8px;text-align:center}.nav-item.active:after{content:"";position:absolute;right:11px;width:6px;height:6px;border-radius:50%;background:var(--panel-yellow);box-shadow:0 0 0 4px rgba(247,200,75,.12)}
.sidebar-footer{position:relative;margin-top:auto;padding-top:15px;border-top:1px solid rgba(183,220,240,.12)}
.dashboard-header{position:relative;min-height:96px;padding-left:5.5%;padding-right:5.5%;box-shadow:0 1px 0 rgba(8,43,76,.02)}.dashboard-header:after{content:"";position:absolute;left:0;bottom:-1px;width:145px;height:2px;background:linear-gradient(90deg,var(--panel-blue),var(--panel-cyan),transparent)}
.dashboard-header h1{font-size:28px}.dashboard-header .eyebrow{color:var(--panel-blue)}.header-user{padding:7px 10px 7px 7px;border:1px solid #e4edf3;border-radius:13px;background:#fbfdff}.header-user .avatar{background:linear-gradient(145deg,#e7f4ff,#d4eaff);box-shadow:inset 0 0 0 1px rgba(23,118,210,.1)}
.account-host{position:relative;padding:0;background:transparent;border:0}.account-trigger{display:flex;align-items:center;gap:9px;padding:6px 8px;border:1px solid #e4edf3;border-radius:13px;background:#fbfdff;color:var(--ink);cursor:pointer}.account-trigger:hover{border-color:#b9d7ef;background:#f4faff}.account-trigger-avatar,.account-menu-avatar,.account-profile-avatar{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#e7f4ff,#d4eaff);color:var(--panel-blue);font-weight:800}.account-trigger-avatar{width:38px;height:38px}.account-trigger-avatar img,.account-menu-avatar img,.account-profile-avatar img{width:100%;height:100%;object-fit:cover}.account-trigger-copy{text-align:left}.account-trigger-copy strong,.account-trigger-copy small{display:block}.account-trigger-copy strong{font-size:13px}.account-trigger-copy small{margin-top:3px;color:var(--muted);font-size:11px}.account-chevron{margin-left:3px;color:#71889a;font-size:10px}.account-menu{position:absolute;z-index:20;top:calc(100% + 10px);right:0;width:245px;padding:8px;border:1px solid #dce8f0;border-radius:15px;background:#fff;box-shadow:0 18px 42px rgba(8,43,76,.16)}.account-menu-head{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #edf2f5;margin-bottom:5px}.account-menu-avatar{width:40px;height:40px;flex:0 0 40px}.account-menu-head strong,.account-menu-head small{display:block}.account-menu-head strong{font-size:13px}.account-menu-head small{margin-top:3px;color:var(--muted);font-size:11px}.account-menu>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;text-align:left;cursor:pointer}.account-menu>button:hover{background:#f1f7fb;color:var(--panel-blue)}.account-menu>button i{width:15px;color:#6a91ad;text-align:center}.account-menu .account-danger{color:#bd4a4a}.account-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:18px;background:rgba(4,25,43,.45);backdrop-filter:blur(3px)}.account-modal-panel{width:min(500px,100%);max-height:90vh;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 25px 65px rgba(0,0,0,.22)}.account-modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.account-modal-head h2{margin:0;font:800 20px Manrope,sans-serif}.account-modal-head button{border:0;background:transparent;color:#758897;font-size:26px;cursor:pointer}.account-modal-body{padding:22px}.account-modal-body label{display:block;margin:0 0 13px;color:var(--ink);font-size:12px;font-weight:700}.account-modal-body label input{display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #d7e2ea;border-radius:8px;outline:none}.account-modal-body label input:focus{border-color:var(--panel-blue);box-shadow:0 0 0 3px rgba(23,118,210,.1)}.account-modal-body label input[readonly]{background:#f4f7f9;color:#71818c}.account-modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:15px 22px;border-top:1px solid var(--line)}.account-primary,.account-secondary,.account-danger-button{padding:10px 14px;border:0;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer}.account-primary{background:var(--panel-blue);color:#fff}.account-secondary{background:#eef3f6;color:#486172}.account-danger-button{background:#fff0f0;color:#b74343}.account-profile-picture{text-align:center;margin-bottom:18px}.account-profile-avatar{width:76px;height:76px;margin:0 auto 8px;font-size:24px}.account-upload{display:inline-block!important;color:var(--panel-blue)!important;cursor:pointer}.account-upload input{display:none!important}.account-form-error{margin:4px 0 0;color:#b74343;font-size:12px}.account-sessions{display:grid;gap:10px}.account-session{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #e5edf2;border-radius:10px}.session-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#eaf4ff;color:var(--panel-blue)}.account-session strong,.account-session small{display:block}.account-session strong{font-size:12px}.account-session small{margin-top:4px;color:var(--muted);font-size:10px}.account-muted{margin:0;color:var(--muted);font-size:13px}
.module-profile-button{padding:0;border:0;background:none;border-radius:50%;cursor:pointer}.module-profile-thumb,.module-profile-placeholder{display:inline-grid;place-items:center;width:34px;height:34px;overflow:hidden;border-radius:50%;background:#eaf4ff;color:var(--panel-blue);object-fit:cover}.module-profile-placeholder.large{width:64px;height:64px;font-size:24px}.module-record-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:18px;background:rgba(4,25,43,.45);backdrop-filter:blur(3px)}.module-record-panel{width:min(560px,100%);max-height:90vh;overflow:auto;border-radius:18px;background:#fff;box-shadow:0 25px 65px rgba(0,0,0,.22)}.module-record-header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.module-record-header h3{margin:0;font:800 19px Manrope,sans-serif}.module-record-header button{border:0;background:transparent;color:#758897;font-size:26px;cursor:pointer}.module-record-profile{display:flex;align-items:center;gap:14px;padding:20px 22px;background:#f6fbff}.module-record-profile .module-profile-thumb,.module-record-profile .module-profile-placeholder{width:64px;height:64px}.module-record-profile strong,.module-record-profile small{display:block}.module-record-profile strong{font-size:16px}.module-record-profile small{margin-top:4px;color:var(--muted);font-size:12px}.module-record-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:22px}.module-record-fields div{padding-bottom:10px;border-bottom:1px solid var(--line)}.module-record-fields span,.module-record-fields strong{display:block}.module-record-fields span{margin-bottom:4px;color:var(--muted);font-size:11px;text-transform:capitalize}.module-record-fields strong{font-size:12px;word-break:break-word}
.account-session-section{margin-bottom:20px}.account-session-section:last-child{margin-bottom:0}.account-session-section h3{margin:0 0 9px;color:var(--ink);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.session-icon-muted{background:#f1f3f5;color:#84919a}
.module-profile-upload{display:flex;align-items:center;gap:12px}.module-profile-preview,.module-profile-upload .module-profile-thumb,.module-profile-upload .module-profile-placeholder{display:inline-grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:50%;background:#eaf4ff;color:var(--panel-blue);object-fit:cover}.module-profile-upload input{flex:1}
.dashboard-content{padding-top:48px;padding-bottom:56px}.welcome-row{margin-bottom:30px}.welcome-row h2{font-size:34px}.welcome-row h2:after{content:"";display:block;width:42px;height:4px;margin-top:13px;border-radius:8px;background:var(--panel-yellow)}
.ghost-button{display:inline-flex;align-items:center;gap:7px;transition:all .18s ease;box-shadow:0 5px 13px rgba(8,43,76,.04)}.ghost-button:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(8,43,76,.1)}
.metric-grid{gap:18px}.metric-card{min-height:144px;padding:23px 22px;border-radius:18px;transition:transform .2s ease,box-shadow .2s ease}.metric-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(8,43,76,.1)}.metric-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--panel-blue),var(--panel-cyan))}.metric-card:nth-child(2n):before{background:linear-gradient(90deg,var(--panel-yellow),#ffe9a5)}.metric-value{font-size:34px}
.content-card{border-radius:18px;box-shadow:0 10px 28px rgba(8,43,76,.055);transition:box-shadow .2s ease}.content-card:hover{box-shadow:0 14px 34px rgba(8,43,76,.08)}.card-heading h3{font-size:19px}.quick-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.quick-card:hover{box-shadow:0 9px 20px rgba(8,43,76,.08)}
.status-card{background:linear-gradient(145deg,#fff 0%,#f7fbfe 100%)}.status-line strong{font-size:14px}.status-card .status-dot{animation:acsPulse 2.2s infinite}@keyframes acsPulse{0%,100%{box-shadow:0 0 0 5px rgba(49,196,141,.12)}50%{box-shadow:0 0 0 8px rgba(49,196,141,.04)}}
.module-toolbar h2{margin:0 0 8px;font:800 31px Manrope,sans-serif;letter-spacing:-.04em}.module-toolbar p:last-child{margin:0;color:var(--muted)}.module-filter{box-shadow:0 10px 26px rgba(8,43,76,.05)}.module-card{box-shadow:0 10px 28px rgba(8,43,76,.055)}
@media(max-width:991.98px){.dashboard-page .sidebar{width:255px;transform:translateX(-105%);transition:transform .25s ease}.dashboard-page .sidebar.open{transform:translateX(0)}.dashboard-page .app-layout:has(.sidebar.open):after{content:"";position:fixed;z-index:4;inset:0;background:rgba(4,25,43,.38);backdrop-filter:blur(2px)}.dashboard-page .dashboard-main{width:100%;margin-left:0}.dashboard-page .mobile-menu{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #dce6ed;border-radius:11px;background:#fff;box-shadow:0 5px 12px rgba(8,43,76,.06)} }
@media(max-width:575.98px){.dashboard-header{min-height:82px}.dashboard-header .eyebrow{margin-bottom:4px}.dashboard-content{padding-top:32px}.welcome-row h2{font-size:28px}.module-toolbar h2{font-size:27px}.header-user{padding:5px}.header-user .avatar{width:34px;height:34px}}
