:root{--sidebar:#182235;--sidebar-hover:#253451;--primary:#3b82f6;--page:#f5f7fb}*{box-sizing:border-box}body{background:var(--page);color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;background:var(--sidebar);color:#fff;display:flex;flex-direction:column;flex-shrink:0}.brand{height:72px;display:flex;align-items:center;gap:11px;padding:0 25px;color:#fff;text-decoration:none;font-size:19px;font-weight:600}.brand-mark,.login-logo{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,#60a5fa,#2563eb);border-radius:10px;color:#fff;font-size:22px;font-weight:700}.sidebar-label{color:#8290a7;font-size:11px;letter-spacing:1px;padding:22px 25px 9px}.nav-link{color:#b6c1d2;padding:12px 25px;font-size:14px;display:flex;align-items:center;gap:13px;border-left:3px solid transparent}.nav-link i{font-size:17px}.nav-link:hover{color:#fff;background:var(--sidebar-hover)}.nav-link.active{color:#fff;background:var(--sidebar-hover);border-left-color:#60a5fa}.sidebar-bottom{margin-top:auto;padding:22px 25px;border-top:1px solid #29364c}.main-content{flex:1;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e5eaf1;padding:0 30px;display:flex;align-items:center}.page-content{padding:30px;max-width:1500px}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-header h2{font-size:24px;font-weight:600;margin-bottom:5px}.card{border:1px solid #e7ebf2;border-radius:10px;box-shadow:0 2px 8px #1a31520a}.stat-card{background:#fff;border-radius:10px;padding:22px;display:flex;gap:17px;align-items:center;border:1px solid #e7ebf2}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:23px}.blue .stat-icon{color:#2563eb;background:#e8f0ff}.green .stat-icon{color:#059669;background:#e6f8f1}.orange .stat-icon{color:#d97706;background:#fff4df}.purple .stat-icon{color:#7c3aed;background:#f1eaff}.stat-label{font-size:13px;color:#6b7280;margin-bottom:5px}.stat-value{font-size:23px;font-weight:650}.table{--bs-table-bg:transparent}.table thead th{font-size:12px;color:#6b7280;font-weight:600;background:#fafbfc;border-bottom-width:1px;padding:14px 18px}.table tbody td{padding:14px 18px}.user-cell{display:flex;align-items:center;gap:10px}.avatar{display:inline-flex;width:36px;height:36px;border-radius:50%;background:#dbeafe;color:#2563eb;align-items:center;justify-content:center;font-weight:600}.form-card{max-width:900px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.permission-item{border:1px solid #e5eaf1;border-radius:7px;padding:12px;display:flex;align-items:center;gap:8px;cursor:pointer}.permission-item:hover{border-color:#93c5fd;background:#f8fbff}.permission-item small{color:#9ca3af;margin-left:auto;font-size:11px}.permission-group{border:1px solid #e5eaf1;border-radius:8px;padding:15px}.permission-group h6{font-size:14px;margin-bottom:12px;color:#374151}.permission-group .permission-item{border:0;border-radius:4px;padding:7px;background:#f8fafc;margin-bottom:5px}.role-card{transition:transform .15s}.role-card:hover{transform:translateY(-2px)}.role-icon{width:42px;height:42px;border-radius:10px;background:#e9f1ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:20px}.sort-number{display:inline-flex;width:28px;height:28px;background:#f0f5ff;color:#2563eb;border-radius:6px;align-items:center;justify-content:center}.login-page{min-height:100vh;background:linear-gradient(135deg,#eef5ff,#f8fafc);display:flex;align-items:center;justify-content:center}.login-card{width:420px;max-width:calc(100% - 32px);background:#fff;border-radius:14px;padding:42px;box-shadow:0 16px 50px #1e3a5f14}.login-logo{width:58px;height:58px;font-size:32px;margin:auto;border-radius:16px}.login-tip{font-size:12px;color:#64748b;background:#f8fafc;border-radius:6px;padding:10px}.btn-primary{--bs-btn-bg:#2563eb;--bs-btn-border-color:#2563eb;--bs-btn-hover-bg:#1d4ed8;--bs-btn-hover-border-color:#1d4ed8}.text-bg-light{color:#475569!important;background:#eef2f7!important}@media(max-width:991px){.sidebar{position:fixed;z-index:1040;left:-250px;height:100vh;transition:left .2s}.sidebar.open{left:0}.page-content{padding:20px}.topbar{padding:0 15px}}

/* Admin 2.0 */
:root{--page:#f4f6fa;--sidebar:#141e32;--primary:#3569e8}
body{font-size:14px}.sidebar{position:sticky;top:0;height:100vh;width:238px}.brand{height:86px;font-size:22px;letter-spacing:.2px}.brand-sub{display:block;font-size:9px;letter-spacing:2.8px;color:#8294b4;margin-top:2px}.sidebar-label{font-size:10px;letter-spacing:1px;padding-top:25px}.nav-link{margin:2px 12px;padding:12px 14px;border-radius:7px;border-left:0;color:#aab9d1}.nav-link.active{background:#2d4e87;color:#fff;box-shadow:inset 3px 0 #74a4ff}.nav-group{font-size:11px;color:#9baecb;margin:16px 0 6px}.sidebar-bottom{font-size:11px;display:flex;align-items:center;gap:7px;color:#9baecb}.version{margin-left:auto;color:#d1ddf2}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#2bb68b}.topbar{height:70px;padding:0 32px}.breadcrumb-label{color:#6b778b;font-size:12px}.breadcrumb-label span{margin:0 12px;color:#c0cadb}.account-link{display:flex;gap:9px;align-items:center;color:#39445a;text-decoration:none;font-size:13px}.account-link .avatar{width:29px;height:29px;font-size:12px}.page-content{max-width:1600px;margin:0 auto;padding:28px 32px}.page-header{gap:16px}.page-header h2{font-size:25px;letter-spacing:-.5px;font-weight:700}.page-header p{font-size:13px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7b8ca6;margin-bottom:9px}.environment-pill{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e0e7f0;border-radius:20px;padding:7px 12px;font-size:12px;white-space:nowrap}.stat-card{padding:20px;border-radius:12px}.stat-value{font-size:30px;line-height:1.2;letter-spacing:-1px}.stat-label{font-size:12px}.stat-icon{width:42px;height:42px;font-size:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 14px}.section-heading h3{font-size:16px;font-weight:650;margin:0 0 5px}.section-heading p{font-size:12px;color:#8792a5;margin:0}.metric-card{padding:22px;height:100%;overflow:hidden}.metric-heading{display:flex;justify-content:space-between;font-size:13px;color:#6c7a91}.metric-heading i{font-size:18px;color:#8c9ab0}.metric-number{font-size:33px;font-weight:650;letter-spacing:-1px;margin:8px 0 14px}.progress{height:6px;background:#edf1f7;border-radius:5px}.progress-bar{background:#3971ed;transition:width .4s}.metric-caption{font-size:11px;color:#8490a4;margin:12px 0 6px;min-height:16px}.metric-card canvas{height:88px;width:100%;display:block}.network-values{display:flex;justify-content:space-between;gap:12px;margin:16px 0 17px}.network-values span{display:block;font-size:11px;color:#7f8da4;margin-bottom:7px}.network-values strong{font-size:19px;font-weight:600}.card-section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:18px 23px;border-bottom:1px solid #edf0f6;font-size:14px;font-weight:600}.card-section-title span{color:#8792a5;font-size:11px;font-weight:400}.system-info{display:grid;grid-template-columns:145px 1fr;padding:20px 24px;margin:0;gap:14px 10px;font-size:12px}.system-info dt{color:#8290a5;font-weight:400}.system-info dd{margin:0;overflow-wrap:anywhere;color:#43516a}.disk-row{padding:8px 0 16px}.disk-row:last-child{padding-bottom:5px}.disk-row strong{font-size:13px;color:#354561}.disk-row span{font-size:13px}.filter-bar{padding:20px;margin:0;border-bottom:1px solid #e9edf4}.filter-bar .form-label{font-size:11px;color:#758298}.table thead th{font-size:11px;color:#8190a4;background:#f9fafc;font-weight:500}.table tbody td{font-size:13px;border-color:#eff2f7}.badge{font-weight:500;padding:5px 7px;font-size:11px}.text-bg-success{background:#e3f5ef!important;color:#168163!important}.text-bg-danger{background:#fce9eb!important;color:#be3f51!important}.text-bg-warning{background:#fff3d9!important;color:#a06a00!important}.text-bg-secondary{background:#edf0f5!important;color:#7b879a!important}.user-name{text-decoration:none;font-weight:600;color:#344963}.action-buttons{display:flex;gap:6px;align-items:center;justify-content:inherit}.text-end .action-buttons{justify-content:flex-end}.btn{font-size:13px;border-radius:7px;padding:8px 14px}.btn-sm{font-size:11px;padding:5px 9px}.btn-outline-primary{--bs-btn-color:#416cc7;--bs-btn-border-color:#c6d5f5}.btn-outline-secondary{--bs-btn-color:#718097;--bs-btn-border-color:#dce3ee}.form-control,.form-select{font-size:13px;border-color:#dfe5ef;border-radius:7px;min-height:39px}.form-control:focus,.form-select:focus{border-color:#81a5ef;box-shadow:0 0 0 3px #3971ed15}.form-label{font-size:13px;color:#4f5f76}.form-actions{background:#fbfcfe;padding:18px 24px;display:flex;gap:10px;border-top:1px solid #edf0f6}.form-section-title{font-size:14px;margin-bottom:18px}.validation-summary-valid{display:none}.validation-summary ul{padding-left:18px;margin-bottom:20px}.role-counts{display:flex;gap:24px;font-size:12px;color:#8995a7}.role-counts strong{font-size:19px;color:#43536b;display:block}.permission-item{font-size:12px}.permission-item input{accent-color:#3971ed}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-top:1px solid #edf0f6;font-size:12px;color:#8390a5}.page-link{font-size:12px}.empty-state{text-align:center!important;padding:50px 20px!important;color:#8796ad!important}.empty-state i{font-size:30px;display:block;margin-bottom:12px}.page-footer{display:flex;justify-content:space-between;gap:10px;color:#9ba7b9;font-size:10px;margin-top:28px;padding-top:16px;border-top:1px solid #e5eaf2}.login-card{width:440px;padding:42px;border:1px solid #e1e8f3}.login-logo{margin:0;width:48px;height:48px;font-size:26px}.login-card h2{font-size:28px;font-weight:650}.login-note{font-size:11px;color:#8c9ab0;line-height:1.8;margin:22px 0 0}.login-page{background:radial-gradient(ellipse at 20% 30%,#dfeaff 0,transparent 60%),#f4f7fc}.login-card .btn{font-size:15px;padding:12px}.login-card .form-control{min-height:46px}
@media(max-width:1199px){.page-content{padding:24px}.table tbody td{padding:12px}.system-info{grid-template-columns:125px 1fr}}
@media(max-width:991px){.sidebar{position:fixed;left:-238px;z-index:1040}.sidebar.open{left:0}.breadcrumb-label{display:none}.page-content{padding:20px}.topbar{padding:0 20px}.page-header{flex-wrap:wrap}.section-heading{flex-wrap:wrap}.metric-card{min-height:240px}.system-info{grid-template-columns:135px 1fr}}
@media(max-width:575px){.page-content{padding:16px}.stat-card{padding:15px;gap:6px}.stat-value{font-size:25px}.stat-icon{width:32px;height:32px;font-size:16px}.pagination-bar{flex-wrap:wrap}.environment-pill{font-size:11px}.page-footer span{display:none}.page-header h2{font-size:22px}.login-card{padding:28px}.breadcrumb-label{display:none}}

/* Only the current page uses the selected background and indicator. */
.sidebar .nav-link:not(.active),
.sidebar .nav-link:not(.active):visited {
    background: transparent;
    color: #aab9d1;
    box-shadow: none;
}
.sidebar .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}
.sidebar .nav-link:focus-visible {
    outline: 2px solid #74a4ff;
    outline-offset: 2px;
}
.studio-thumb{width:80px;height:100px;object-fit:cover;border-radius:10px}.studio-cover{width:100%;max-height:240px;object-fit:contain;border-radius:12px;background:#ececf4;margin-bottom:12px}.table td{overflow-wrap:anywhere}.page-heading p{max-width:750px}label{font-weight:500}h1{font-size:1.7rem}@media(max-width:600px){.page-content{padding:16px}.page-heading{flex-wrap:wrap}.studio-thumb{width:54px;height:70px}}
