:root{--apa-red:#c8102e;--apa-red-dark:#9d0d25;--apa-dark:#17212b;--apa-text:#202832;--apa-muted:#68727d;--apa-line:#e5e9ed;--apa-bg:#f5f7f9;--apa-radius:14px}.apa-wrap{margin:22px 22px 0 0;max-width:1580px;color:var(--apa-text)}.apa-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.apa-title-block h1{font-size:30px;line-height:1.2;margin:0 0 6px;font-weight:750;color:var(--apa-dark)}.apa-title-block p{margin:0;color:var(--apa-muted);font-size:14px}.apa-brand{display:flex;align-items:center;gap:9px}.apa-version,.apa-readonly{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700}.apa-version{background:var(--apa-dark);color:#fff}.apa-readonly{background:#edf7f0;color:#147333}.apa-readonly .dashicons{font-size:15px;width:15px;height:15px}.apa-back{display:inline-flex;align-items:center;gap:3px;text-decoration:none;color:var(--apa-muted);font-weight:600;margin-bottom:9px}.apa-back:hover{color:var(--apa-red)}.apa-hero{background:linear-gradient(125deg,#171f28,#253240);color:#fff;border-radius:18px;padding:30px 32px;display:flex;justify-content:space-between;align-items:center;gap:30px;box-shadow:0 12px 35px rgba(23,33,43,.13)}.apa-hero h2{font-size:26px;margin:5px 0 7px;color:#fff}.apa-hero p{margin:0;color:#d6dde3}.apa-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:#ff8c9d}.apa-primary-action,.apa-outline-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:700;border-radius:10px;transition:.18s ease}.apa-primary-action{background:var(--apa-red);color:#fff;padding:13px 18px;white-space:nowrap}.apa-primary-action:hover{background:#e01539;color:#fff;transform:translateY(-1px)}.apa-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.apa-card{background:#fff;border:1px solid var(--apa-line);border-radius:var(--apa-radius);padding:20px;display:flex;align-items:center;gap:15px;box-shadow:0 4px 16px rgba(24,32,40,.045)}.apa-card-icon{width:48px;height:48px;font-size:25px;display:grid;place-items:center;border-radius:13px;background:#fcebed;color:var(--apa-red)}.apa-card.tone-blue .apa-card-icon{background:#eaf3fb;color:#2271b1}.apa-card.tone-gold .apa-card-icon{background:#fff4dd;color:#a66900}.apa-card.tone-dark .apa-card-icon{background:#e9edf0;color:#283642}.apa-card.tone-green .apa-card-icon{background:#e9f7ee;color:#168342}.apa-card strong{font-size:28px;line-height:1;display:block;color:var(--apa-dark)}.apa-card small{display:block;color:var(--apa-muted);margin-top:7px;font-size:13px}.apa-cards-compact .apa-card{padding:16px 18px}.apa-cards-compact .apa-card-icon{width:42px;height:42px;font-size:22px}.apa-cards-compact .apa-card strong{font-size:24px}.apa-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.apa-panel{background:#fff;border:1px solid var(--apa-line);border-radius:var(--apa-radius);padding:22px;margin-top:16px;box-shadow:0 4px 16px rgba(24,32,40,.04)}.apa-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.apa-panel h2{margin:0 0 5px;font-size:18px;color:var(--apa-dark)}.apa-panel p{margin:0;color:var(--apa-muted)}.apa-health-list{display:grid;gap:10px}.apa-health-row{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid #edf0f2;border-radius:10px}.apa-health-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8f7ed;color:#168342}.apa-health-icon.is-off{background:#fdeced;color:#c92c3e}.apa-health-icon .dashicons{font-size:19px;width:19px;height:19px}.apa-health-row strong,.apa-health-row small{display:block}.apa-health-row small{color:var(--apa-muted);margin-top:3px}.apa-summary-list{display:grid;gap:17px}.apa-summary-row>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px}.apa-summary-row span{color:var(--apa-muted)}.apa-progress{height:8px;background:#edf0f2;border-radius:99px;overflow:hidden}.apa-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--apa-red),#ed5068);border-radius:99px}.apa-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px}.apa-search{position:relative;flex:1;min-width:280px}.apa-search .dashicons{position:absolute;left:11px;top:10px;color:#8a939c}.apa-search input{width:100%;padding-left:36px!important}.apa-filters input,.apa-filters select{min-height:38px;border-color:#cfd5da;border-radius:7px}.apa-filters select{max-width:285px}.apa-filters .button{min-height:38px;display:inline-flex;align-items:center}.apa-table-wrap{overflow-x:auto;border:1px solid var(--apa-line);border-radius:11px}.apa-table{border:0!important;box-shadow:none!important}.apa-table thead th{font-weight:700;background:#f8f9fa;border-bottom:1px solid var(--apa-line);padding:12px;color:#4a5560}.apa-table td{vertical-align:middle;padding:12px;border-bottom:1px solid #eef1f3}.apa-table tbody tr:last-child td{border-bottom:0}.apa-table tbody tr:hover{background:#fcfdfe}.apa-table .col-course{min-width:320px}.apa-table .col-num{width:70px;text-align:center}.apa-table .col-action{width:42px;text-align:center}.apa-course-cell{display:flex;align-items:center;gap:12px}.apa-course-cell img,.apa-thumb-placeholder{width:58px;height:44px;border-radius:8px;object-fit:cover;flex:0 0 auto}.apa-thumb-placeholder{display:grid;place-items:center;background:#f0f2f4;color:#89939c}.apa-course-cell strong,.apa-course-cell small{display:block}.apa-course-cell strong a{text-decoration:none;color:var(--apa-dark);font-size:14px}.apa-course-cell strong a:hover{color:var(--apa-red)}.apa-course-cell small{color:#8a939c;margin-top:4px}.apa-badge,.apa-term{display:inline-block;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.apa-badge{background:#eef0f2;color:#46515c}.apa-badge.status-publish{background:#e8f7ed;color:#126b34}.apa-badge.status-draft{background:#fff3d8;color:#8b5d00}.apa-badge.status-pending{background:#e9f2fb;color:#155e91}.apa-badge.status-private{background:#f3eaff;color:#6f35a5}.apa-term{background:#f0f2f4;color:#49545f;margin:2px 4px 2px 0;white-space:normal}.apa-view{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;text-decoration:none;color:#66717c}.apa-view:hover{background:#fcebed;color:var(--apa-red)}.apa-muted{color:#929aa2}.apa-empty{text-align:center;padding:38px;color:var(--apa-muted)}.apa-empty .dashicons{font-size:35px;width:35px;height:35px;color:#aab1b8}.apa-empty strong{display:block;color:var(--apa-dark);font-size:16px;margin:8px 0 5px}.apa-pagination{display:flex;justify-content:flex-end;margin-top:18px}.apa-pagination .page-numbers{display:inline-block;min-width:30px;padding:6px 8px;margin-left:4px;text-align:center;border:1px solid #d7dce0;border-radius:7px;text-decoration:none;background:#fff}.apa-pagination .current{background:var(--apa-red);color:#fff;border-color:var(--apa-red)}.apa-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.apa-detail-grid aside{min-width:0}.apa-course-hero{padding:0;overflow:hidden}.apa-course-cover{display:block;width:100%;height:285px;object-fit:cover}.apa-cover-empty{display:grid;place-items:center;background:linear-gradient(135deg,#eef1f3,#dfe5e9);color:#89939c}.apa-cover-empty .dashicons{font-size:70px;width:70px;height:70px}.apa-course-hero-content{padding:25px}.apa-course-hero-content h2{font-size:25px;margin:10px 0}.apa-course-hero-content p{font-size:14px;line-height:1.65}.apa-meta-line{display:flex;flex-wrap:wrap;gap:18px;margin-top:17px;color:#64707a}.apa-meta-line>span{display:inline-flex;align-items:center;gap:6px}.apa-meta-line .dashicons{font-size:17px;width:17px;height:17px}.apa-mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.apa-mini-stats div{background:#f7f8f9;border-radius:10px;padding:15px;text-align:center}.apa-mini-stats strong,.apa-mini-stats span{display:block}.apa-mini-stats strong{font-size:23px;color:var(--apa-dark)}.apa-mini-stats span{font-size:12px;color:var(--apa-muted);margin-top:4px}.apa-info-list{margin:10px 0 0}.apa-info-list>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #eef0f2}.apa-info-list>div:last-child{border-bottom:0}.apa-info-list dt{color:var(--apa-muted)}.apa-info-list dd{margin:0;text-align:right;font-weight:600}.apa-outline-action{width:100%;box-sizing:border-box;border:1px solid #cfd5da;color:var(--apa-dark);padding:12px;margin-top:14px;background:#fff}.apa-outline-action:hover{border-color:var(--apa-red);color:var(--apa-red)}.apa-curriculum{display:grid;gap:12px}.apa-topic{border:1px solid var(--apa-line);border-radius:11px;overflow:hidden}.apa-topic-head{display:flex;align-items:center;gap:12px;background:#f8f9fa;padding:14px}.apa-topic-head>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--apa-dark);color:#fff;font-weight:800;font-size:12px}.apa-topic-head strong,.apa-topic-head small{display:block}.apa-topic-head small{color:var(--apa-muted);margin-top:3px}.apa-topic-items{padding:3px 14px}.apa-curriculum-item{display:flex;align-items:center;gap:11px;padding:12px 2px;border-bottom:1px solid #eef1f3}.apa-curriculum-item:last-child{border-bottom:0}.apa-curriculum-item>.dashicons{color:#85909a}.apa-curriculum-item>div{flex:1}.apa-curriculum-item strong,.apa-curriculum-item small{display:block}.apa-curriculum-item small{color:var(--apa-muted);margin-top:3px}.apa-topic-empty{padding:14px;color:var(--apa-muted)}.apa-placeholder{text-align:center;padding:60px 25px}.apa-placeholder>.dashicons{font-size:50px;width:50px;height:50px;color:var(--apa-red)}.apa-placeholder h2{font-size:23px;margin-top:12px}.apa-coming{display:inline-block;margin-top:18px;padding:7px 12px;border-radius:999px;background:#f0f2f4;color:#65717c;font-weight:700;font-size:12px}@media(max-width:1100px){.apa-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-detail-grid{grid-template-columns:1fr}.apa-detail-grid aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}.apa-detail-grid aside .apa-panel{margin-top:16px}.apa-outline-action{align-self:end}}@media(max-width:800px){.apa-grid-2{grid-template-columns:1fr}.apa-hero{align-items:flex-start;flex-direction:column}.apa-primary-action{width:100%;box-sizing:border-box}.apa-detail-grid aside{grid-template-columns:1fr}}@media(max-width:650px){.apa-wrap{margin-right:10px}.apa-topbar{flex-direction:column}.apa-cards{grid-template-columns:1fr}.apa-filters>*{width:100%;max-width:none!important}.apa-search{min-width:100%}.apa-course-cover{height:210px}}
.apa-results-bar{display:flex;align-items:center;gap:10px;margin:-2px 0 14px;color:var(--apa-muted);font-size:13px}.apa-results-bar strong{color:var(--apa-dark);font-size:14px}.apa-results-bar span{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#fcebed;color:var(--apa-red);font-weight:700;font-size:11px}.apa-filters select[name="orderby"],.apa-filters select[name="order"],.apa-filters select[name="per_page"]{max-width:180px}@media(max-width:1250px){.apa-filters .apa-search{flex-basis:100%}.apa-filters select{flex:1 1 190px}}

/* v0.5 — selecție simplă și dashboard detaliat */
.apa-simple-courses .col-open{width:190px;text-align:right}.apa-open-course{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:9px;background:var(--apa-dark);color:#fff;text-decoration:none;font-weight:700;white-space:nowrap}.apa-open-course:hover{background:var(--apa-red);color:#fff}.apa-open-course .dashicons{font-size:17px;width:17px;height:17px}.apa-course-overview{display:flex;align-items:center;gap:20px;padding:18px}.apa-course-overview-image{width:190px;height:120px;object-fit:cover;border-radius:11px;flex:0 0 auto}.apa-course-overview-content{flex:1;min-width:0}.apa-course-overview-content h2{font-size:24px;margin:8px 0}.apa-course-overview-content p{line-height:1.55}.apa-course-public{width:auto;margin:0;white-space:nowrap}.apa-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:16px 0}.apa-kpi-card{background:#fff;border:1px solid var(--apa-line);border-radius:13px;padding:17px;display:flex;gap:12px;min-width:0}.apa-kpi-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eef1f3;color:#4a5661;flex:0 0 auto}.apa-kpi-card small,.apa-kpi-card strong,.apa-kpi-card p{display:block}.apa-kpi-card small{color:var(--apa-muted);font-weight:700}.apa-kpi-card strong{font-size:25px;line-height:1.1;margin:5px 0;color:var(--apa-dark)}.apa-kpi-card p{font-size:11px;line-height:1.35}.apa-kpi-card.tone-success .apa-kpi-icon{background:#e8f7ed;color:#168342}.apa-kpi-card.tone-warning .apa-kpi-icon{background:#fff3d8;color:#a66900}.apa-kpi-card.tone-muted .apa-kpi-icon{background:#f0f2f4;color:#77818a}.apa-kpi-card.tone-primary .apa-kpi-icon{background:#fcebed;color:var(--apa-red)}.apa-monitor-count{display:inline-flex;align-items:center;background:#f1f3f5;border-radius:999px;padding:6px 10px;color:#5f6973;font-size:12px;font-weight:700}.apa-monitor-table th:nth-child(1){min-width:240px}.apa-monitor-table th:nth-child(3){min-width:190px}.apa-user-cell{display:flex;align-items:center;gap:10px}.apa-user-cell img{border-radius:50%}.apa-user-cell strong,.apa-user-cell small{display:block}.apa-user-cell small{color:var(--apa-muted);margin-top:3px}.apa-learning-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.apa-learning-status.status-completed{background:#e8f7ed;color:#126b34}.apa-learning-status.status-progress{background:#fff3d8;color:#8b5d00}.apa-learning-status.status-not_started{background:#eef0f2;color:#626d77}.apa-progress-cell{display:flex;align-items:center;gap:10px}.apa-progress-cell .apa-progress{flex:1;min-width:100px}.apa-progress-cell strong{min-width:38px;text-align:right}.apa-course-lower{align-items:start}.apa-course-info{position:sticky;top:45px}.apa-course-lower>.apa-panel{margin-top:0}
@media(max-width:1250px){.apa-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.apa-course-overview{align-items:flex-start;flex-wrap:wrap}.apa-course-public{margin-left:210px}}
@media(max-width:900px){.apa-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-course-public{margin-left:0}.apa-course-info{position:static}}
@media(max-width:650px){.apa-course-overview-image{width:100%;height:180px}.apa-kpi-grid{grid-template-columns:1fr}.apa-simple-courses .col-open{width:auto}.apa-open-course{padding:8px}.apa-open-course{font-size:0}.apa-open-course .dashicons{font-size:18px}.apa-course-lower{grid-template-columns:1fr}}

/* v0.6 — înrolare directă în curs */
.apa-enrollment-panel{scroll-margin-top:55px}.apa-user-search{display:flex;align-items:center;gap:9px;padding:0 0 16px;border-bottom:1px solid var(--apa-line)}.apa-user-search input[type=search]{flex:1;min-width:260px;max-width:520px;height:38px;border-radius:9px}.apa-user-search .button{display:inline-flex;align-items:center;gap:5px;height:38px}.apa-user-search .dashicons{font-size:17px;width:17px;height:17px}.apa-enrollment-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 0}.apa-enrollment-user{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--apa-line);border-radius:11px;background:#fff;cursor:pointer;transition:.15s ease}.apa-enrollment-user:hover{border-color:#b8c0c7;background:#fafbfc}.apa-enrollment-user:has(input:checked){border-color:var(--apa-red);background:#fff7f7;box-shadow:0 0 0 1px rgba(196,31,45,.08)}.apa-enrollment-user input{margin:0 2px 0 0}.apa-enrollment-user img{border-radius:50%;flex:0 0 auto}.apa-enrollment-user span{min-width:0}.apa-enrollment-user strong,.apa-enrollment-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apa-enrollment-user small{color:var(--apa-muted);margin-top:3px}.apa-enrollment-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:14px;border-top:1px solid var(--apa-line)}.apa-enrollment-actions p{margin:0;color:var(--apa-muted)}.apa-enroll-submit{display:inline-flex!important;align-items:center;gap:6px;min-height:40px!important;padding:0 16px!important;background:var(--apa-red)!important;border-color:var(--apa-red)!important}.apa-enroll-submit:hover{filter:brightness(.92)}.apa-enroll-submit .dashicons{font-size:17px;width:17px;height:17px}.apa-enrollment-empty{padding:28px}.apa-wrap>.notice{margin:0 0 16px}
@media(max-width:1100px){.apa-enrollment-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.apa-user-search,.apa-enrollment-actions{align-items:stretch;flex-direction:column}.apa-user-search input[type=search]{max-width:none;width:100%}.apa-enrollment-list{grid-template-columns:1fr}.apa-enroll-submit{justify-content:center;width:100%}}

/* v0.7 - Director cursanți și profil individual */
.apa-student-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:14px;margin-top:18px}.apa-student-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto 24px;gap:14px;align-items:center;padding:16px;border:1px solid #e2e5e9;border-radius:14px;background:#fff;text-decoration:none;color:#1d2327;transition:.18s ease}.apa-student-card:hover{border-color:#c72b2b;box-shadow:0 8px 24px rgba(31,35,40,.08);transform:translateY(-1px)}.apa-student-card img{border-radius:50%}.apa-student-card-main{min-width:0}.apa-student-card-main strong,.apa-student-card-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-student-card-main strong{font-size:15px}.apa-student-card-main small{color:#69727d;margin:3px 0 10px}.apa-student-card-stats{display:flex;gap:16px;align-items:center}.apa-student-card-stats span{display:flex;flex-direction:column;color:#69727d;font-size:11px}.apa-student-card-stats b{font-size:15px;color:#1d2327}.apa-student-hero{display:flex;align-items:center;gap:18px}.apa-student-hero img{border-radius:50%}.apa-student-hero h2{margin:0 0 4px;font-size:22px}.apa-student-hero p{margin:0 0 9px;color:#69727d}@media(max-width:900px){.apa-student-card{grid-template-columns:52px minmax(0,1fr) 20px}.apa-student-card-stats{grid-column:2/4;justify-content:space-between}.apa-student-grid{grid-template-columns:1fr}}

/* v0.8 — Cabinet personal al cursantului */
.apa-cabinet{--apa-red:#c41f2d;--apa-dark:#1d2327;--apa-muted:#69727d;--apa-line:#e2e5e9;max-width:1280px;margin:38px auto;padding:0 22px;color:var(--apa-dark);font-family:inherit}.apa-cabinet *{box-sizing:border-box}.apa-cabinet-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;border-radius:18px;background:#1f2429;color:#fff;box-shadow:0 14px 35px rgba(20,24,28,.12)}.apa-cabinet-user{display:flex;align-items:center;gap:18px}.apa-cabinet-user img{border-radius:50%;border:3px solid rgba(255,255,255,.18)}.apa-cabinet-eyebrow{display:block;color:#ffb7bd;font-size:11px;font-weight:800;letter-spacing:.14em}.apa-cabinet-hero h1{margin:5px 0 7px;color:#fff;font-size:28px;line-height:1.2}.apa-cabinet-hero p{margin:0;color:#dce1e5}.apa-cabinet-logout{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.24);border-radius:10px;padding:10px 14px;font-weight:700}.apa-cabinet-logout:hover{color:#fff;background:rgba(255,255,255,.08)}.apa-cabinet-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:18px 0}.apa-cabinet-stat{display:flex;align-items:center;gap:12px;padding:17px;background:#fff;border:1px solid var(--apa-line);border-radius:14px}.apa-cabinet-stat>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#fcebed;color:var(--apa-red)}.apa-cabinet-stat strong,.apa-cabinet-stat small{display:block}.apa-cabinet-stat strong{font-size:23px;line-height:1.1}.apa-cabinet-stat small{margin-top:4px;color:var(--apa-muted);font-size:11px;font-weight:700}.apa-cabinet-section{padding:22px;background:#fff;border:1px solid var(--apa-line);border-radius:16px}.apa-cabinet-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.apa-cabinet-section-head h2{margin:0 0 4px;font-size:22px}.apa-cabinet-section-head p{margin:0;color:var(--apa-muted)}.apa-cabinet-section-head>span{padding:6px 10px;border-radius:999px;background:#f1f3f5;color:#5f6973;font-size:12px;font-weight:800}.apa-cabinet-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.apa-cabinet-course{overflow:hidden;border:1px solid var(--apa-line);border-radius:15px;background:#fff;transition:.18s ease}.apa-cabinet-course:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(31,35,40,.09)}.apa-cabinet-course-image{display:block;height:190px;background:#eef1f3}.apa-cabinet-course-image img{display:block;width:100%;height:100%;object-fit:cover}.apa-cabinet-course-placeholder{display:grid;place-items:center}.apa-cabinet-course-placeholder .dashicons{font-size:52px;width:52px;height:52px;color:#9aa3ab}.apa-cabinet-course-body{padding:17px}.apa-cabinet-course-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.apa-cabinet-course-top small{color:var(--apa-muted)}.apa-cabinet-course h3{margin:13px 0;font-size:19px;line-height:1.35}.apa-cabinet-course h3 a{color:var(--apa-dark);text-decoration:none}.apa-cabinet-progress-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.apa-cabinet-progress-label span{color:var(--apa-muted)}.apa-cabinet-progress{height:8px;background:#edf0f2;border-radius:999px;overflow:hidden}.apa-cabinet-progress i{display:block;height:100%;background:var(--apa-red);border-radius:inherit}.apa-cabinet-course-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px}.apa-cabinet-course-footer small{display:flex;align-items:center;gap:5px;color:var(--apa-muted);font-size:11px}.apa-cabinet-course-footer small .dashicons{font-size:15px;width:15px;height:15px}.apa-cabinet-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border-radius:10px;background:var(--apa-red);color:#fff!important;text-decoration:none;font-weight:800;white-space:nowrap}.apa-cabinet-primary:hover{filter:brightness(.93);color:#fff}.apa-cabinet-primary .dashicons{font-size:17px;width:17px;height:17px}.apa-cabinet-empty{text-align:center;padding:50px 20px}.apa-cabinet-empty>.dashicons{font-size:48px;width:48px;height:48px;color:var(--apa-red)}.apa-cabinet-empty h3{margin:12px 0 5px}.apa-cabinet-empty p{margin:0;color:var(--apa-muted)}.apa-cabinet-login{min-height:55vh;display:grid;place-items:center}.apa-cabinet-login-card{max-width:480px;padding:38px;text-align:center;background:#fff;border:1px solid var(--apa-line);border-radius:18px;box-shadow:0 18px 45px rgba(31,35,40,.1)}.apa-cabinet-login-card>.dashicons{font-size:48px;width:48px;height:48px;color:var(--apa-red)}.apa-cabinet-login-card h2{margin:12px 0 8px}.apa-cabinet-login-card p{margin:0 0 20px;color:var(--apa-muted)}
@media(max-width:1050px){.apa-cabinet-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.apa-cabinet-course-grid{grid-template-columns:1fr}.apa-cabinet-hero,.apa-cabinet-course-footer{align-items:flex-start;flex-direction:column}.apa-cabinet-logout{align-self:flex-end}.apa-cabinet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.apa-cabinet{padding:0 12px;margin:20px auto}.apa-cabinet-user{align-items:flex-start;flex-direction:column}.apa-cabinet-hero h1{font-size:23px}.apa-cabinet-stats{grid-template-columns:1fr}.apa-cabinet-section{padding:15px}.apa-cabinet-section-head{align-items:flex-start;flex-direction:column}.apa-cabinet-course-image{height:160px}.apa-cabinet-course-footer .apa-cabinet-primary{width:100%}}

/* v0.8.1 — adăugare cursant */
.apa-students-head-actions{display:flex;align-items:center;gap:10px}.apa-add-student-panel{max-width:820px}.apa-add-student-form{margin-top:8px}.apa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.apa-form-grid label{display:flex;flex-direction:column;gap:7px}.apa-form-grid label>span{font-weight:700;color:var(--apa-dark)}.apa-form-grid label>span b{color:var(--apa-red)}.apa-form-grid input{width:100%;min-height:44px;border-radius:9px;border:1px solid #c9d0d6;padding:8px 12px}.apa-form-grid input:focus{border-color:var(--apa-red);box-shadow:0 0 0 1px var(--apa-red)}.apa-form-grid small{color:var(--apa-muted)}.apa-form-full{grid-column:1/-1}.apa-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--apa-line)}
@media(max-width:700px){.apa-students-head{align-items:flex-start;flex-direction:column}.apa-students-head-actions{width:100%;justify-content:space-between;flex-wrap:wrap}.apa-form-grid{grid-template-columns:1fr}.apa-form-full{grid-column:auto}.apa-form-actions{align-items:stretch;flex-direction:column-reverse}.apa-form-actions .button{justify-content:center;width:100%}}

/* v0.8.3 — raport individual detaliat */
.apa-report-identity{display:flex;align-items:center;justify-content:space-between;gap:24px}.apa-report-identity>div:last-child{text-align:right}.apa-report-identity small{display:block;color:#667085;margin-top:4px}.apa-report-note{margin:18px 0 0;padding:14px 16px;background:#fff8e6;border:1px solid #f2d18a;border-radius:10px;color:#684f12}.apa-data-pending{display:inline-block;padding:4px 8px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:12px;font-weight:700}.apa-timeline{padding:4px 0}.apa-timeline-item{display:grid;grid-template-columns:150px 14px 1fr;gap:14px;align-items:start;padding:10px 0}.apa-timeline-item time{font-size:13px;color:#667085;text-align:right;padding-top:1px}.apa-timeline-item>span{width:10px;height:10px;border-radius:50%;background:#d71920;margin-top:4px;box-shadow:0 0 0 4px #fde8e9}.apa-timeline-item p{margin:0;color:#1d2939}.apa-timeline-item:not(:last-child) p{padding-bottom:12px;border-bottom:1px solid #eaecf0}.apa-open-course{white-space:nowrap}
@media(max-width:782px){.apa-report-identity{align-items:flex-start;flex-direction:column}.apa-report-identity>div:last-child{text-align:left}.apa-timeline-item{grid-template-columns:1fr}.apa-timeline-item time{text-align:left}.apa-timeline-item>span{display:none}}

/* v0.9.2 — Dashboard HR */
.apa-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.apa-hero-actions .button{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px}.apa-hr-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.apa-card.tone-purple .apa-card-icon{background:#f1e9ff;color:#7a3fc2}.apa-quick-search{margin-bottom:18px}.apa-quick-search .apa-user-search{margin:0}.apa-dashboard-grid{margin-top:18px}.apa-activity-feed{display:flex;flex-direction:column}.apa-activity-item{display:grid;grid-template-columns:12px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--apa-line)}.apa-activity-item:last-child{border-bottom:0}.apa-activity-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:var(--apa-red);box-shadow:0 0 0 4px #fde8e9}.apa-activity-item strong,.apa-activity-item small{display:block}.apa-activity-item strong{font-size:13px;line-height:1.4}.apa-activity-item small{margin-top:3px;color:var(--apa-muted);font-size:11px}.apa-month-bars{display:flex;flex-direction:column;gap:15px;padding-top:4px}.apa-month-row{display:grid;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:10px}.apa-month-row>span{color:var(--apa-muted);font-size:12px;font-weight:700;text-transform:capitalize}.apa-month-row>div{height:9px;overflow:hidden;border-radius:999px;background:#edf0f2}.apa-month-row i{display:block;height:100%;border-radius:inherit;background:var(--apa-red)}.apa-month-row strong{text-align:right;font-size:12px}.apa-ranked-list,.apa-attention-list{display:flex;flex-direction:column}.apa-ranked-item,.apa-attention-item{display:grid;grid-template-columns:36px minmax(0,1fr) 20px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--apa-line);text-decoration:none;color:var(--apa-dark)}.apa-ranked-item:last-child,.apa-attention-item:last-child{border-bottom:0}.apa-ranked-item>span:first-child{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f2f4f7;color:#344054;font-weight:800}.apa-ranked-item strong,.apa-ranked-item small,.apa-attention-item strong,.apa-attention-item small{display:block}.apa-ranked-item small,.apa-attention-item small{margin-top:3px;color:var(--apa-muted);font-size:11px}.apa-ranked-item:hover strong,.apa-attention-item:hover strong{color:var(--apa-red)}.apa-attention-item>.dashicons:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff3d6;color:#a66b00}.apa-empty-compact{padding:24px 10px}.apa-empty-compact>.dashicons{font-size:32px;width:32px;height:32px}
@media(max-width:1350px){.apa-hr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.apa-hr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-hr-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.apa-hr-kpis{grid-template-columns:1fr}.apa-hero-actions{width:100%}.apa-hero-actions .button,.apa-hero-actions .apa-primary-action{justify-content:center;width:100%}}


/* v0.9.3 — fișa completă a cursantului */
.apa-student-profile-hero{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(520px,1.2fr);gap:28px;align-items:center}.apa-student-profile-main{display:flex;align-items:center;gap:18px}.apa-student-profile-main img{border-radius:50%;box-shadow:0 0 0 5px #f2f4f7}.apa-student-profile-main h2{margin:0 0 5px;font-size:25px}.apa-student-subtitle{font-weight:650;color:#667085!important}.apa-student-contact-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.apa-student-contact-actions a{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;text-decoration:none;font-weight:700}.apa-student-contact-actions a:hover{border-color:var(--apa-red);color:var(--apa-red)}.apa-student-contact-actions .dashicons{font-size:17px;width:17px;height:17px}.apa-student-profile-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--apa-line);border-radius:12px;overflow:hidden}.apa-student-profile-meta>div{padding:13px 15px;border-right:1px solid var(--apa-line);border-bottom:1px solid var(--apa-line);min-width:0}.apa-student-profile-meta>div:nth-child(3n){border-right:0}.apa-student-profile-meta>div:nth-last-child(-n+3){border-bottom:0}.apa-student-profile-meta span,.apa-student-profile-meta strong{display:block}.apa-student-profile-meta span{font-size:11px;color:var(--apa-muted);font-weight:700;margin-bottom:5px}.apa-student-profile-meta strong{font-size:13px;color:var(--apa-dark);overflow-wrap:anywhere}.apa-student-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1200px){.apa-student-profile-hero{grid-template-columns:1fr}.apa-student-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.apa-student-profile-main{align-items:flex-start;flex-direction:column}.apa-student-profile-meta{grid-template-columns:1fr}.apa-student-profile-meta>div{border-right:0!important;border-bottom:1px solid var(--apa-line)!important}.apa-student-profile-meta>div:last-child{border-bottom:0!important}.apa-student-kpis{grid-template-columns:1fr}}

/* v0.9.4 — Dashboard Manager */
.apa-manager-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px;margin-top:18px}.apa-manager-card{border:1px solid #e3e7ec;border-radius:14px;padding:18px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04)}.apa-manager-card-head{display:flex;align-items:center;gap:14px}.apa-manager-card-head img{border-radius:50%}.apa-manager-card-head h3,.apa-manager-card-head h2{margin:0 0 4px}.apa-manager-card-head p{margin:0;color:#657184}.apa-manager-placeholder{display:flex!important;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#eef2f5;color:#536172;font-size:30px}.apa-manager-card-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.apa-manager-card-stats div{padding:10px 6px;background:#f7f8fa;border-radius:10px;text-align:center}.apa-manager-card-stats strong{display:block;font-size:20px;color:#111827}.apa-manager-card-stats span{display:block;font-size:11px;color:#6b7280;margin-top:2px}.apa-manager-hero{display:flex;align-items:center;justify-content:space-between}.apa-manager-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 0 18px}.apa-manager-filters select{min-width:210px}.apa-table-user{display:flex;align-items:center;gap:10px}.apa-table-user img{border-radius:50%}.apa-table-user small,.apa-cell-subline{display:block;color:#687386;margin-top:3px}.apa-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;color:#687386}@media(max-width:900px){.apa-manager-card-stats{grid-template-columns:repeat(2,1fr)}.apa-manager-filters select{width:100%;min-width:0}}

/* v0.9.6 — editare profil HR și fotografie */
.apa-user-cell-link{color:inherit;text-decoration:none;position:relative;padding-right:26px;border-radius:8px}.apa-user-cell-link:hover strong{color:#c51f26}.apa-user-cell-link>.dashicons{position:absolute;right:0;top:50%;transform:translateY(-50%);color:#8c8f94}.apa-custom-avatar,.apa-student-profile-main .avatar,.apa-user-cell .avatar,.apa-student-card .avatar{object-fit:cover;border-radius:50%}.apa-student-profile-hero{position:relative}.apa-edit-profile-button{position:absolute!important;right:24px;top:24px;display:inline-flex!important;align-items:center;gap:6px}.apa-edit-profile-button .dashicons{margin-top:2px}.apa-modal{position:fixed;inset:0;z-index:100100;display:none;align-items:center;justify-content:center;padding:24px}.apa-modal.is-open{display:flex}.apa-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(2px)}.apa-modal-dialog{position:relative;width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.28)}.apa-modal-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f3f5;cursor:pointer;display:flex;align-items:center;justify-content:center}.apa-modal-close:hover{background:#e6e9ec}.apa-modal-head{padding:28px 32px 20px;border-bottom:1px solid #e7e9ec}.apa-modal-head h2{margin:4px 0 6px;font-size:24px}.apa-modal-head p{margin:0;color:#646970}.apa-profile-form{padding:24px 32px 30px}.apa-profile-photo-editor{display:flex;gap:18px;align-items:center;padding:18px;border:1px solid #e1e4e8;border-radius:12px;background:#fafbfc;margin-bottom:24px}.apa-profile-photo-preview{width:96px;height:96px;flex:0 0 96px;border-radius:50%;overflow:hidden;background:#eef0f2;display:flex;align-items:center;justify-content:center}.apa-profile-photo-preview img{width:96px;height:96px;object-fit:cover}.apa-profile-photo-editor p{margin:4px 0 12px;color:#646970}.apa-profile-photo-editor .button{display:inline-flex;align-items:center;gap:5px}.apa-photo-placeholder{font-size:44px;width:44px;height:44px;color:#9aa0a6}.apa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.apa-form-grid label{display:flex;flex-direction:column;gap:7px}.apa-form-grid label>span{font-weight:600;color:#1d2327}.apa-form-grid input,.apa-form-grid select{width:100%;min-height:42px;border-radius:8px}.apa-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid #e7e9ec}.apa-modal-actions .button{min-height:40px;display:inline-flex;align-items:center;gap:6px}.apa-modal-open{overflow:hidden}@media(max-width:782px){.apa-edit-profile-button{position:static!important;margin:0 0 18px}.apa-form-grid{grid-template-columns:1fr}.apa-modal{padding:10px}.apa-modal-dialog{max-height:calc(100vh - 20px)}.apa-modal-head,.apa-profile-form{padding-left:20px;padding-right:20px}.apa-profile-photo-editor{align-items:flex-start}.apa-student-profile-hero{padding-top:20px}}


/* Performance v0.9.7 */
.apa-performance-hero{background:linear-gradient(135deg,#fff 0%,#f7f8fb 100%);border-left:4px solid #d71920}
.apa-performance-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.apa-campaign-form[hidden]{display:none!important}
.apa-performance-form{padding-top:4px}
.apa-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.apa-field{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#23282d}
.apa-field-wide{grid-column:1/-1}
.apa-field input,.apa-field select,.apa-field textarea{width:100%;max-width:none;border:1px solid #dcdcde;border-radius:8px;padding:10px 12px;font-weight:400;background:#fff}
.apa-field textarea{resize:vertical}
.apa-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.apa-form-actions .button{display:inline-flex;align-items:center;gap:5px}
.apa-performance-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#f0f0f1;color:#3c434a}
.apa-performance-status.status-active{background:#e7f7ed;color:#15733e}
.apa-performance-status.status-scheduled{background:#fff5d6;color:#7a5800}
.apa-performance-status.status-closed{background:#eee9ff;color:#5c3fbf}
.apa-performance-status.status-draft{background:#f0f0f1;color:#50575e}
.apa-row-note{display:block;margin-top:5px;color:#646970;font-weight:400;line-height:1.4}
@media(max-width:960px){.apa-performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-form-grid{grid-template-columns:1fr}.apa-field-wide{grid-column:auto}}

/* v0.9.8 Performance library */
.apa-performance-tabs{display:flex;gap:8px;margin:18px 0 22px;padding:6px;background:#fff;border:1px solid #e3e8ee;border-radius:14px;width:max-content;max-width:100%;box-shadow:0 4px 16px rgba(17,24,39,.04)}
.apa-performance-tabs a{display:inline-flex;align-items:center;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700;color:#4b5563;white-space:nowrap}
.apa-performance-tabs a:hover{background:#f6f7f9;color:#111827}
.apa-performance-tabs a.is-active{background:#1f2937;color:#fff}
.apa-danger-link{color:#b42318;text-decoration:none;font-weight:600}
.apa-danger-link:hover{color:#7a271a;text-decoration:underline}
@media(max-width:782px){.apa-performance-tabs{width:100%;overflow:auto}.apa-performance-tabs a{flex:0 0 auto}}

/* Cabinet personal 2.0 */
.apa-cabinet-hero{position:relative}.apa-cabinet-hero-tools{display:flex;align-items:center;gap:10px}.apa-cabinet-hero-action{margin-top:16px}.apa-notification-toggle{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:transparent;color:#fff;cursor:pointer}.apa-notification-toggle .dashicons{font-size:20px;width:20px;height:20px}.apa-notification-count{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ed1c24;color:#fff;font-size:11px;font-weight:800;border:2px solid #1f2429}.apa-notification-panel{position:absolute;z-index:50;top:78px;right:24px;width:min(360px,calc(100vw - 40px));padding:10px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 24px 60px rgba(16,24,40,.22);color:#101828}.apa-notification-head{display:flex;align-items:center;justify-content:space-between;padding:7px 8px 12px}.apa-notification-close{border:0;background:transparent;font-size:24px;line-height:1;color:#667085;cursor:pointer}.apa-notification-item{display:grid;grid-template-columns:38px 1fr;gap:10px;width:100%;padding:11px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer;color:#101828}.apa-notification-item:hover{background:#f7f8fa}.apa-notification-item>.dashicons{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f2f4f7}.apa-notification-item strong,.apa-notification-item small{display:block}.apa-notification-item small{margin-top:3px;color:#667085}.apa-notification-item.is-important>.dashicons{background:#fff4e5;color:#b54708}.apa-notification-item.is-success>.dashicons{background:#ecfdf3;color:#027a48}.apa-notification-item.is-info>.dashicons{background:#eff8ff;color:#175cd3}.apa-notification-empty{padding:18px;color:#667085;text-align:center}.apa-cabinet-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.apa-cabinet-tab{display:flex;align-items:center;gap:10px;min-height:64px;padding:14px 16px;border:1px solid var(--apa-line);border-radius:14px;background:#fff;color:#344054;font-weight:800;cursor:pointer;text-align:left}.apa-cabinet-tab>.dashicons{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fcebed;color:var(--apa-red)}.apa-cabinet-tab b{margin-left:auto;padding:3px 8px;border-radius:999px;background:#f2f4f7;font-size:11px}.apa-cabinet-tab.is-active{border-color:#ed1c24;box-shadow:0 0 0 3px rgba(237,28,36,.08)}.apa-cabinet-tab.is-active>.dashicons{background:#ed1c24;color:#fff}.apa-cabinet-panel{display:none}.apa-cabinet-panel.is-active{display:block}.apa-next-steps{padding:22px;background:#fff;border:1px solid var(--apa-line);border-radius:16px}.apa-next-list{display:grid;gap:10px}.apa-next-list button{display:grid;grid-template-columns:42px 1fr 20px;align-items:center;gap:12px;width:100%;padding:14px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;text-align:left;cursor:pointer;color:#101828}.apa-next-list button:hover{background:#f8f9fb;border-color:#d0d5dd}.apa-next-list button>.dashicons:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#fcebed;color:var(--apa-red)}.apa-next-list strong,.apa-next-list small{display:block}.apa-next-list small{margin-top:3px;color:#667085}.apa-next-empty{display:flex;align-items:center;gap:10px;padding:16px;border-radius:12px;background:#ecfdf3;color:#027a48}.apa-certificate-list{display:grid;gap:12px}.apa-certificate-card{display:grid;grid-template-columns:56px 1fr auto;align-items:center;gap:16px;padding:16px;border:1px solid var(--apa-line);border-radius:14px}.apa-certificate-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:#fcebed;color:var(--apa-red);font-size:26px}.apa-certificate-card h3{margin:4px 0 3px;font-size:17px}.apa-certificate-card p{margin:0;color:#667085}.apa-certificate-status{color:#027a48;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.apa-cabinet-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #d0d5dd;border-radius:10px;color:#344054!important;text-decoration:none;font-weight:800}.apa-profile-card{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:start}.apa-profile-avatar img{border-radius:50%}.apa-profile-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.apa-profile-data>div{padding:14px;border:1px solid #e4e7ec;border-radius:12px}.apa-profile-data small,.apa-profile-data strong{display:block}.apa-profile-data small{margin-bottom:5px;color:#667085}.apa-cabinet-mobile-nav{display:none}
@media(max-width:900px){.apa-cabinet-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-profile-card{grid-template-columns:1fr}.apa-profile-data{grid-template-columns:1fr}.apa-notification-panel{top:72px;right:12px}}
@media(max-width:640px){body{padding-bottom:76px}.apa-cabinet{padding:0 10px;margin:14px auto}.apa-cabinet-hero{padding:18px 16px}.apa-cabinet-user{flex-direction:row;align-items:center}.apa-cabinet-user img{width:64px!important;height:64px!important}.apa-cabinet-user p{font-size:13px}.apa-cabinet-hero h1{font-size:21px}.apa-cabinet-hero-tools{position:absolute;top:12px;right:12px}.apa-cabinet-logout{padding:8px 10px;font-size:12px}.apa-cabinet-tabs{display:none}.apa-cabinet-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.apa-cabinet-stat{padding:12px}.apa-cabinet-stat strong{font-size:20px}.apa-cabinet-section,.apa-next-steps{padding:14px}.apa-certificate-card{grid-template-columns:48px 1fr}.apa-certificate-card .apa-cabinet-secondary{grid-column:1/-1;width:100%}.apa-cabinet-mobile-nav{position:fixed;z-index:9999;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e4e7ec;box-shadow:0 -8px 24px rgba(16,24,40,.08)}.apa-mobile-tab{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;border:0;background:transparent;color:#667085}.apa-mobile-tab .dashicons{font-size:21px;width:21px;height:21px}.apa-mobile-tab small{font-size:10px;font-weight:700}.apa-mobile-tab.is-active{color:#ed1c24}.apa-notification-panel{position:fixed;top:auto;right:10px;left:10px;bottom:78px;width:auto;max-height:60vh;overflow:auto}.apa-next-list button{grid-template-columns:38px 1fr 18px;padding:12px}.apa-cabinet-course-footer{align-items:stretch}.apa-cabinet-hero-action{width:100%;margin-top:12px}}

/* v1.1.1 — Messenger intern */
.apa-messenger-admin{max-width:none;margin-right:20px}.apa-messenger-title{display:flex;justify-content:space-between;align-items:flex-end;margin:18px 0}.apa-messenger-title h1{margin:0 0 4px}.apa-messenger-title p{margin:0;color:#646970}.apa-messenger-unread{background:#fff1f2;color:#c81e2a;border:1px solid #fecdd3;border-radius:999px;padding:7px 12px;font-weight:700}.apa-messenger-shell{display:grid;grid-template-columns:330px minmax(420px,1fr) 280px;height:calc(100vh - 190px);min-height:620px;background:#fff;border:1px solid #dcdcde;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px rgba(15,23,42,.06)}.apa-messenger-sidebar,.apa-messenger-thread,.apa-messenger-profile{min-width:0}.apa-messenger-sidebar{border-right:1px solid #e5e7eb;display:flex;flex-direction:column}.apa-messenger-sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:18px 16px 10px;font-size:17px}.apa-new-message-btn{border-radius:50%!important;width:34px;height:34px;padding:0!important}.apa-messenger-search{margin:0 12px 12px;display:flex;align-items:center;gap:8px;background:#f3f4f6;border:1px solid transparent;border-radius:12px;padding:0 11px}.apa-messenger-search:focus-within{background:#fff;border-color:#e5232f;box-shadow:0 0 0 1px #e5232f}.apa-messenger-search input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important}.apa-messenger-contacts{overflow:auto;padding:0 8px 12px}.apa-messenger-contact{position:relative;display:flex;gap:10px;align-items:center;padding:11px 10px;border-radius:13px;text-decoration:none;color:#111827}.apa-messenger-contact:hover,.apa-messenger-contact.is-active{background:#fff1f2;color:#111827}.apa-messenger-contact img,.apa-messenger-contact .avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:0 0 48px}.apa-messenger-contact-copy{min-width:0;flex:1}.apa-messenger-contact-line{display:flex;justify-content:space-between;gap:8px}.apa-messenger-contact-line strong,.apa-messenger-contact-preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-messenger-contact-line small,.apa-messenger-contact-preview{color:#6b7280;font-size:12px}.apa-messenger-badge{background:#e5232f;color:#fff;border-radius:999px;min-width:21px;height:21px;display:grid;place-items:center;font-size:11px}.apa-messenger-thread{display:flex;flex-direction:column;background:#fafafa}.apa-messenger-thread-head{display:flex;align-items:center;gap:11px;padding:14px 18px;background:#fff;border-bottom:1px solid #e5e7eb}.apa-messenger-thread-head img,.apa-messenger-thread-head .avatar{width:46px;height:46px;border-radius:50%;object-fit:cover}.apa-messenger-thread-head h2{margin:0;font-size:17px}.apa-messenger-thread-head p{margin:3px 0 0;color:#6b7280}.apa-messenger-scroll{max-height:none!important;overflow:auto;flex:1;padding:22px}.apa-message-bubble{box-shadow:0 1px 2px rgba(0,0,0,.04)}.apa-message-compose{background:#fff}.apa-message-compose textarea{max-height:130px;resize:none}.apa-message-compose .apa-cabinet-primary{white-space:nowrap;align-self:flex-end}.apa-messenger-profile{border-left:1px solid #e5e7eb;padding:22px 18px;background:#fff;overflow:auto}.apa-messenger-profile-card{text-align:center;padding-bottom:18px;border-bottom:1px solid #e5e7eb}.apa-messenger-profile-card img,.apa-messenger-profile-card .avatar{width:82px;height:82px;border-radius:50%;object-fit:cover}.apa-messenger-profile-card h3{margin:10px 0 3px;font-size:18px}.apa-messenger-profile-card p{margin:0;color:#6b7280}.apa-messenger-profile dl{margin:10px 0 18px}.apa-messenger-profile dl div{padding:11px 0;border-bottom:1px solid #f1f5f9}.apa-messenger-profile dt{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280}.apa-messenger-profile dd{margin:3px 0 0;font-weight:600;overflow-wrap:anywhere}.apa-messenger-profile-link{width:100%;text-align:center}.apa-message-empty-large{margin:auto}.apa-message-empty .dashicons{font-size:38px;width:38px;height:38px;color:#e5232f}.apa-message-empty strong{display:block;margin-top:8px;font-size:16px}
@media(max-width:1200px){.apa-messenger-shell{grid-template-columns:300px minmax(380px,1fr)}.apa-messenger-profile{display:none}}
@media(max-width:782px){.apa-messenger-admin{margin-right:10px}.apa-messenger-shell{display:block;height:auto;min-height:0}.apa-messenger-sidebar{border-right:0;border-bottom:1px solid #e5e7eb;max-height:330px}.apa-messenger-thread{min-height:540px}.apa-messenger-title{align-items:flex-start;gap:10px}.apa-messenger-unread{font-size:12px}.apa-message-compose{flex-direction:column}.apa-message-compose button{width:100%}}

/* v1.1.2 — Messenger avansat */
.apa-message-compose-sticky{position:sticky;bottom:0;z-index:4;display:flex;gap:10px;padding:14px 16px;border-top:1px solid #e5e7eb;background:#fff;box-shadow:0 -8px 20px rgba(15,23,42,.04)}
.apa-message-compose-sticky textarea{min-height:48px;flex:1}
.apa-messenger-actions{display:flex;gap:6px}.apa-group-avatar{width:48px;height:48px;border-radius:50%;background:#fee2e2;color:#e5232f;display:grid;place-items:center;flex:0 0 48px}.apa-group-avatar .dashicons{font-size:24px;width:24px;height:24px}.apa-group-avatar-large{width:82px;height:82px;margin:0 auto}.apa-group-avatar-large .dashicons{font-size:36px;width:36px;height:36px}.apa-messenger-section-label{padding:10px 12px 5px;color:#6b7280;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.apa-message-author{display:block;font-size:12px;margin-bottom:4px;opacity:.8}.apa-group-create{padding:28px;overflow:auto}.apa-group-create-head{display:flex;align-items:center;gap:14px;margin-bottom:22px}.apa-group-create h2{margin:0}.apa-group-create p{margin:4px 0 0;color:#6b7280}.apa-group-create form>label{display:block}.apa-group-create input[type=text]{width:100%;margin-top:8px;padding:12px;border-radius:10px}.apa-group-members{margin:22px 0}.apa-group-member-list{max-height:330px;overflow:auto;border:1px solid #e5e7eb;border-radius:14px;padding:8px}.apa-group-member-list>label{display:flex;align-items:center;gap:10px;padding:9px;border-radius:10px}.apa-group-member-list>label:hover{background:#f8fafc}.apa-group-member-list img,.apa-group-member-list .avatar{width:36px;height:36px;border-radius:50%}.apa-group-member-list>label>span{display:flex;flex-direction:column;flex:1}.apa-group-member-list small{color:#6b7280}.apa-group-profile-members h4{margin:18px 0 10px}.apa-group-profile-members>div{display:flex;align-items:center;gap:9px;padding:7px 0}.apa-group-profile-members img,.apa-group-profile-members .avatar{width:32px;height:32px;border-radius:50%}

/* v1.2.1 — formular complet pentru adăugarea cursantului */
.apa-add-student-panel{max-width:980px}.apa-add-student-photo{margin-top:4px}.apa-add-student-form .apa-form-full{grid-column:1/-1}.apa-add-student-form small{color:#646970;font-weight:400;line-height:1.45}.apa-add-student-form select{background-color:#fff}@media(max-width:782px){.apa-add-student-form .apa-form-full{grid-column:auto}.apa-add-student-photo{flex-direction:column}.apa-add-student-photo .apa-profile-photo-preview{align-self:center}}

/* v1.2.2 - Student deletion and temporary credentials */
.apa-profile-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.apa-profile-actions form{margin:0}
.apa-delete-student-button{border-color:#b42318!important;color:#b42318!important;background:#fff!important}
.apa-delete-student-button:hover{background:#fff4f2!important;border-color:#912018!important;color:#912018!important}
.apa-temporary-credentials{margin-top:18px;padding:18px 20px;border:1px solid #b7e4c7;background:#f0fff4;border-radius:14px}
.apa-temporary-credentials>strong{display:block;font-size:16px;margin-bottom:5px}
.apa-temporary-credentials p{margin:0 0 14px;color:#52606d}
.apa-temporary-credentials div{display:grid;grid-template-columns:160px 1fr;gap:12px;align-items:center;margin-top:8px}
.apa-temporary-credentials code{font-size:15px;padding:7px 10px;background:#fff;border:1px solid #d6e9dc;border-radius:8px;overflow-wrap:anywhere}
.apa-password-security-note{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 16px;background:#fff8e6;border:1px solid #f0d58c;border-radius:12px}
.apa-password-security-note p{margin:0;color:#5f4b18}
.apa-password-security-note .dashicons{color:#9a6700;margin-top:2px}
@media(max-width:782px){.apa-profile-actions{justify-content:stretch}.apa-profile-actions>*{width:100%}.apa-profile-actions button{width:100%;justify-content:center}.apa-temporary-credentials div{grid-template-columns:1fr;gap:4px}}

/* v1.2.3 — profil cursant și date de acces */
.apa-student-profile-hero{grid-template-columns:260px minmax(0,1fr)!important;align-items:start!important;padding:30px!important;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)}
.apa-student-profile-main{grid-column:1;grid-row:1 / span 2;display:flex!important;flex-direction:column;align-items:center!important;text-align:center;padding:22px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.apa-student-profile-main .avatar{width:150px!important;height:150px!important;border-radius:22px!important;box-shadow:0 0 0 7px #f2f4f7!important}
.apa-student-profile-main h2{margin-top:18px!important;font-size:27px!important}.apa-student-subtitle{line-height:1.45}.apa-student-contact-actions{justify-content:center}
.apa-student-profile-meta{grid-column:2;grid-row:1;align-self:start}.apa-temporary-credentials{grid-column:2;grid-row:2}
.apa-profile-actions{position:absolute;right:24px;top:24px;z-index:2}
.apa-credentials-editor{margin:0 0 24px;padding:18px;border:1px solid #cfd8e3;border-radius:14px;background:#f8fafc}.apa-credentials-editor>div:first-child p{margin:5px 0 16px;color:#667085}.apa-credentials-grid{margin:0}.apa-password-field{display:grid;grid-template-columns:1fr auto;gap:8px}.apa-password-field .button{min-height:42px}.apa-credentials-editor small{margin-top:6px;color:#667085;line-height:1.4}
@media(max-width:1200px){.apa-student-profile-hero{grid-template-columns:1fr!important}.apa-student-profile-main,.apa-student-profile-meta,.apa-temporary-credentials{grid-column:1;grid-row:auto}.apa-profile-actions{position:static;margin-bottom:8px;grid-column:1}.apa-student-profile-main{max-width:none}}
@media(max-width:700px){.apa-student-profile-main .avatar{width:124px!important;height:124px!important}.apa-password-field{grid-template-columns:1fr}.apa-student-profile-hero{padding:18px!important}}


/* v1.2.4 — acțiuni profil fără suprapunere; butonul Sună rămâne disponibil */
.apa-student-profile-hero{grid-template-rows:auto auto auto!important}
.apa-profile-actions{position:static!important;grid-column:2;grid-row:1;justify-self:end;align-self:start;display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin:0 0 14px!important;z-index:auto!important}
.apa-profile-actions .apa-edit-profile-button{position:static!important;right:auto!important;top:auto!important;margin:0!important}
.apa-profile-actions form{margin:0!important}
.apa-profile-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px;white-space:nowrap}
.apa-student-profile-meta{grid-column:2!important;grid-row:2!important}
.apa-temporary-credentials{grid-column:2!important;grid-row:3!important}
@media(max-width:1200px){.apa-profile-actions{grid-column:1!important;grid-row:auto!important;justify-self:stretch!important;justify-content:flex-end!important}.apa-student-profile-meta,.apa-temporary-credentials{grid-column:1!important;grid-row:auto!important}}
@media(max-width:700px){.apa-profile-actions{flex-direction:column!important;align-items:stretch!important}.apa-profile-actions form,.apa-profile-actions .button{width:100%!important}}


/* v1.2.5 — identitate vizuală PROFMET și interfață premium */
body[class*="academia-profmet-analytics"] #wpcontent{
    background:
        radial-gradient(circle at 92% 5%,rgba(200,16,46,.09),transparent 28%),
        radial-gradient(circle at 8% 92%,rgba(23,33,43,.07),transparent 24%),
        linear-gradient(135deg,#f7f8fa 0%,#fff 46%,#f3f5f8 100%);
    min-height:100vh;
}
body[class*="academia-profmet-analytics"] #wpbody-content{padding-bottom:70px}
.apa-wrap{--apa-red:#d71920;--apa-red-dark:#ad1118;--apa-dark:#111c29;--apa-text:#17212b;--apa-muted:#667085;--apa-line:#e4e8ee;--apa-bg:#f4f6f9;--apa-radius:18px;position:relative}
.apa-wrap:before{content:"";position:fixed;right:28px;top:95px;width:220px;height:220px;pointer-events:none;opacity:.42;background-image:radial-gradient(circle,rgba(215,25,32,.18) 1.5px,transparent 1.5px);background-size:15px 15px;mask-image:linear-gradient(135deg,#000,transparent 72%)}
.apa-title-block h1{font-weight:800;letter-spacing:-.025em;color:#111c29}.apa-title-block p{font-size:14px;color:#667085}
.apa-topbar{padding:4px 2px 0}.apa-version{background:linear-gradient(135deg,#111c29,#26384d);box-shadow:0 7px 18px rgba(17,28,41,.18)}.apa-readonly{background:#eefaf1;border:1px solid #d8f2df}
.apa-panel,.apa-card{border-color:rgba(221,226,233,.9);box-shadow:0 12px 34px rgba(17,28,41,.065)}
.apa-panel{background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
.apa-card{position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.apa-card:after{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--apa-red),transparent);opacity:.85}
.apa-card:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(17,28,41,.11);border-color:#d7dde5}
.apa-card-icon{box-shadow:inset 0 0 0 1px rgba(215,25,32,.08)}
.apa-primary-action,.button.button-primary,.apa-cabinet-primary{background:linear-gradient(135deg,#e42028,#be1018)!important;border-color:#be1018!important;color:#fff!important;box-shadow:0 8px 18px rgba(215,25,32,.22)!important;text-shadow:none!important}
.apa-primary-action:hover,.button.button-primary:hover,.apa-cabinet-primary:hover{background:linear-gradient(135deg,#ef2d35,#d0131b)!important;transform:translateY(-1px);box-shadow:0 11px 24px rgba(215,25,32,.28)!important}
.apa-outline-action,.apa-wrap .button:not(.button-primary):not(.apa-delete-student-button){border-radius:10px;border-color:#cfd6df;background:#fff;color:#17212b;transition:.18s ease}
.apa-outline-action:hover,.apa-wrap .button:not(.button-primary):not(.apa-delete-student-button):hover{border-color:#d71920;color:#d71920;box-shadow:0 7px 16px rgba(17,28,41,.07)}
.apa-delete-student-button{border-radius:10px!important;border-color:#e12a31!important;color:#c8161d!important;background:#fff!important}.apa-delete-student-button:hover{background:#fff1f2!important;box-shadow:0 7px 18px rgba(215,25,32,.12)!important}
.apa-table-wrap{background:#fff;box-shadow:0 8px 24px rgba(17,28,41,.04)}.apa-table thead th{background:linear-gradient(180deg,#fbfcfd,#f4f6f8);color:#344054}.apa-table tbody tr{transition:background .16s ease}.apa-table tbody tr:hover{background:#fff8f8}
.apa-search input,.apa-filters input,.apa-filters select,.apa-add-student-form input,.apa-add-student-form select,.apa-credentials-editor input{border-radius:11px!important;border-color:#d0d7e1!important;box-shadow:0 1px 2px rgba(16,24,40,.03)!important}.apa-search input:focus,.apa-filters input:focus,.apa-filters select:focus,.apa-add-student-form input:focus,.apa-add-student-form select:focus,.apa-credentials-editor input:focus{border-color:#d71920!important;box-shadow:0 0 0 3px rgba(215,25,32,.1)!important}

/* Profil cursant */
.apa-student-profile-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(250,251,253,.96))!important;border:1px solid rgba(221,226,233,.95)!important;box-shadow:0 20px 55px rgba(17,28,41,.09)!important}
.apa-student-profile-hero:before{content:"";position:absolute;right:-90px;top:-120px;width:430px;height:300px;background:radial-gradient(circle at center,rgba(215,25,32,.13),rgba(215,25,32,0) 68%);pointer-events:none}
.apa-student-profile-hero:after{content:"";position:absolute;right:28px;bottom:22px;width:150px;height:105px;opacity:.32;background-image:radial-gradient(circle,rgba(215,25,32,.3) 1.3px,transparent 1.3px);background-size:13px 13px;pointer-events:none}
.apa-student-profile-main{position:relative;z-index:1;border:0!important;background:linear-gradient(160deg,#fff 0%,#fff8f8 100%)!important;box-shadow:0 16px 40px rgba(17,28,41,.09)!important}
.apa-student-profile-main:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:18px 0 0 18px;background:linear-gradient(#ef2d35,#ad1118)}
.apa-student-profile-main .avatar{border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 7px #fff,0 0 0 10px rgba(215,25,32,.72),0 16px 32px rgba(17,28,41,.18)!important}
.apa-student-profile-main h2{color:#111c29!important;font-weight:800!important;letter-spacing:-.03em}.apa-student-subtitle{color:#5d6877!important}.apa-student-subtitle strong,.apa-student-profile-main .apa-department{color:#d71920!important}
.apa-student-profile-meta{position:relative;z-index:1;border:1px solid #e3e7ed;border-radius:15px;overflow:hidden;background:rgba(255,255,255,.88)}
.apa-student-profile-meta>div{transition:background .16s ease}.apa-student-profile-meta>div:hover{background:#fff7f7}.apa-student-profile-meta dt{color:#667085!important;font-weight:650}.apa-student-profile-meta dd{color:#17212b!important;font-weight:750}
.apa-profile-actions{position:relative;z-index:2}.apa-profile-actions .apa-edit-profile-button{background:linear-gradient(135deg,#192638,#0f1925)!important;border-color:#0f1925!important;color:#fff!important;box-shadow:0 8px 20px rgba(17,28,41,.18)!important}.apa-profile-actions .apa-edit-profile-button:hover{background:linear-gradient(135deg,#26384e,#17212b)!important;color:#fff!important}
.apa-student-contact-actions .button:first-child{background:#fff!important}.apa-student-contact-actions .button:last-child{background:linear-gradient(135deg,#e42028,#be1018)!important;border-color:#be1018!important;color:#fff!important;box-shadow:0 8px 18px rgba(215,25,32,.2)!important}
.apa-password-security-note{background:linear-gradient(90deg,#fff9e9,#fffdf6);border-color:#f0cf75;box-shadow:0 8px 20px rgba(164,111,0,.06)}
.apa-temporary-credentials{background:linear-gradient(135deg,#effcf3,#f8fffa);border-color:#a9dfba;box-shadow:0 10px 24px rgba(22,131,66,.08)}

/* Carduri KPI colorate în stil aplicație */
.apa-cards-compact .apa-card{min-height:92px;color:#fff;border:0;box-shadow:0 14px 28px rgba(17,28,41,.14)}
.apa-cards-compact .apa-card strong,.apa-cards-compact .apa-card small{color:#fff}.apa-cards-compact .apa-card small{opacity:.82}.apa-cards-compact .apa-card .apa-card-icon{background:rgba(255,255,255,.13)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.apa-cards-compact .apa-card:nth-child(1){background:linear-gradient(135deg,#1f3045,#111c29)}
.apa-cards-compact .apa-card:nth-child(2){background:linear-gradient(135deg,#176e45,#0c4b2e)}
.apa-cards-compact .apa-card:nth-child(3){background:linear-gradient(135deg,#9b6a00,#5e4300)}
.apa-cards-compact .apa-card:nth-child(4){background:linear-gradient(135deg,#273747,#121c27)}
.apa-cards-compact .apa-card:nth-child(5){background:linear-gradient(135deg,#a7222a,#5d1117)}
.apa-cards-compact .apa-card:nth-child(6){background:linear-gradient(135deg,#273c78,#17254c)}
.apa-cards-compact .apa-card:nth-child(7){background:linear-gradient(135deg,#147d78,#0a4c49)}
.apa-cards-compact .apa-card:nth-child(8){background:linear-gradient(135deg,#b86408,#6b3400)}
.apa-cards-compact .apa-card:after{background:linear-gradient(90deg,rgba(255,255,255,.7),transparent);opacity:.55}
.apa-empty{border-radius:14px;background:linear-gradient(180deg,#fff,#fbfcfd)}.apa-empty .dashicons{color:#c0c7d0}.apa-empty strong{color:#17212b}

@media(max-width:782px){body[class*="academia-profmet-analytics"] #wpcontent{background:#f5f7fa}.apa-wrap:before{display:none}.apa-student-profile-hero:after{display:none}.apa-cards-compact .apa-card{min-height:80px}}


/* v1.2.6 — Messenger PROFMET: design minimalist, branding și scroll conversații */
.apa-messenger-admin{
    --apa-msg-red:#d71920;
    --apa-msg-dark:#111c29;
    --apa-msg-text:#17212b;
    --apa-msg-muted:#7a8491;
    --apa-msg-line:#e8ebef;
    --apa-msg-soft:#f6f7f9;
    max-width:none;
}
.apa-messenger-title{align-items:center;margin:20px 0 16px}
.apa-messenger-brand{display:flex;align-items:center;gap:14px}
.apa-messenger-brand-mark{position:relative;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:linear-gradient(145deg,#ef2e35,#b70f16);box-shadow:0 10px 24px rgba(215,25,32,.23);display:grid;place-items:center;overflow:hidden}
.apa-messenger-brand-mark:before,.apa-messenger-brand-mark:after,.apa-messenger-brand-mark i{content:"";display:block;position:absolute;width:17px;height:9px;border:4px solid #fff;border-radius:8px;transform:rotate(-42deg)}
.apa-messenger-brand-mark:before{left:8px;top:11px;border-right-color:transparent}
.apa-messenger-brand-mark:after{right:8px;bottom:11px;border-left-color:transparent}
.apa-messenger-brand-mark i{width:8px;height:8px;border:0;background:#fff;border-radius:50%}
.apa-messenger-brand-copy>span{display:block;color:var(--apa-msg-red);font-size:10px;font-weight:800;letter-spacing:.16em;line-height:1;margin-bottom:3px}
.apa-messenger-brand-copy h1{font-size:27px;line-height:1.05;font-weight:800;letter-spacing:-.035em;color:var(--apa-msg-dark);margin:0 0 5px}
.apa-messenger-brand-copy p{font-size:13px;color:var(--apa-msg-muted)}
.apa-messenger-unread{background:#fff;border:1px solid #ffd7da;color:var(--apa-msg-red);box-shadow:0 6px 16px rgba(17,28,41,.05)}
.apa-messenger-shell{grid-template-columns:315px minmax(430px,1fr) 270px;height:calc(100vh - 185px);min-height:610px;border-color:var(--apa-msg-line);border-radius:22px;box-shadow:0 18px 55px rgba(17,28,41,.10);background:#fff}
.apa-messenger-sidebar{min-height:0;background:#fff;border-right-color:var(--apa-msg-line)}
.apa-messenger-sidebar-head{padding:17px 16px 12px;font-size:16px;color:var(--apa-msg-dark)}
.apa-new-message-btn{display:grid!important;place-items:center;border:0!important;background:#fff0f1!important;color:var(--apa-msg-red)!important;box-shadow:none!important}
.apa-new-message-btn:hover{background:var(--apa-msg-red)!important;color:#fff!important}
.apa-messenger-search{margin:0 12px 10px;background:#f3f5f7;border-radius:13px;padding:0 12px;transition:.18s ease}
.apa-messenger-search:focus-within{background:#fff;border-color:rgba(215,25,32,.5);box-shadow:0 0 0 3px rgba(215,25,32,.08)}
.apa-messenger-contacts{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:2px 8px 14px;scrollbar-width:thin;scrollbar-color:#c7ccd3 transparent;scroll-behavior:smooth}
.apa-messenger-contacts::-webkit-scrollbar{width:7px}
.apa-messenger-contacts::-webkit-scrollbar-track{background:transparent}
.apa-messenger-contacts::-webkit-scrollbar-thumb{background:#c7ccd3;border-radius:999px;border:2px solid #fff}
.apa-messenger-contacts::-webkit-scrollbar-thumb:hover{background:#9da5af}
.apa-messenger-section-label{padding:12px 11px 6px;color:#929aa4;font-size:10px;letter-spacing:.12em}
.apa-messenger-contact{gap:11px;margin:2px 0;padding:10px 9px;border-radius:14px;border:1px solid transparent;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.apa-messenger-contact:hover{background:#f8f9fb;border-color:#eef0f3;transform:translateX(2px)}
.apa-messenger-contact.is-active{background:linear-gradient(90deg,#fff0f1,#fff8f8);border-color:#ffdadd;box-shadow:inset 3px 0 0 var(--apa-msg-red)}
.apa-messenger-contact img,.apa-messenger-contact .avatar{width:46px;height:46px;flex-basis:46px;box-shadow:0 0 0 2px #fff,0 0 0 3px #edf0f3}
.apa-messenger-contact-line strong{font-size:13px;color:var(--apa-msg-text)}
.apa-messenger-contact-preview{font-size:11.5px;color:#858e99;margin-top:3px}
.apa-messenger-contact-line small{font-size:10.5px;color:#9aa1aa}
.apa-messenger-thread{background:linear-gradient(180deg,#fbfbfc,#f6f7f9)}
.apa-messenger-thread-head{min-height:70px;padding:12px 18px;border-bottom-color:var(--apa-msg-line);box-shadow:0 3px 14px rgba(17,28,41,.035);z-index:2}
.apa-messenger-thread-head h2{font-size:16px;color:var(--apa-msg-dark)}
.apa-messenger-thread-head p{font-size:12px}
.apa-messenger-scroll{padding:24px 26px;scrollbar-width:thin;scrollbar-color:#c7ccd3 transparent}
.apa-messenger-scroll::-webkit-scrollbar{width:7px}
.apa-messenger-scroll::-webkit-scrollbar-thumb{background:#c7ccd3;border-radius:999px}
.apa-message-bubble{max-width:min(70%,620px);padding:11px 14px;border-radius:17px!important;border:1px solid #edf0f3;box-shadow:0 4px 14px rgba(17,28,41,.045)}
.apa-message-bubble.is-theirs{background:#fff!important;border-bottom-left-radius:5px!important}
.apa-message-bubble.is-mine{background:linear-gradient(145deg,#e3222a,#c61219)!important;color:#fff!important;border-color:transparent!important;border-bottom-right-radius:5px!important;box-shadow:0 7px 18px rgba(215,25,32,.18)}
.apa-message-bubble.is-mine small,.apa-message-bubble.is-mine .apa-message-author{color:rgba(255,255,255,.78)!important}
.apa-message-bubble p{margin:0 0 5px;line-height:1.5}
.apa-message-compose-sticky{padding:12px 15px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top-color:var(--apa-msg-line);box-shadow:0 -8px 24px rgba(17,28,41,.045)}
.apa-message-compose-sticky textarea{min-height:46px;border-radius:14px!important;border:1px solid #dfe3e8!important;background:#f8f9fa!important;padding:12px 14px!important;box-shadow:none!important}
.apa-message-compose-sticky textarea:focus{background:#fff!important;border-color:rgba(215,25,32,.45)!important;box-shadow:0 0 0 3px rgba(215,25,32,.08)!important}
.apa-message-compose-sticky .button,.apa-message-compose-sticky button{min-height:46px;border-radius:13px!important;padding:0 18px!important}
.apa-messenger-profile{border-left-color:var(--apa-msg-line);padding:24px 18px;background:#fff}
.apa-messenger-profile-card img,.apa-messenger-profile-card .avatar{box-shadow:0 0 0 5px #fff,0 0 0 7px #f1f2f4,0 12px 24px rgba(17,28,41,.12)}
.apa-messenger-profile-card h3{color:var(--apa-msg-dark);font-weight:800}
.apa-messenger-profile dt{color:#9aa1aa}
.apa-messenger-profile dd{color:var(--apa-msg-text)}
.apa-messenger-profile-link{border-radius:12px!important}
.apa-group-avatar{background:#fff0f1;color:var(--apa-msg-red)}
.apa-message-empty-large{padding:30px;text-align:center}
.apa-message-empty-large .dashicons{background:#fff0f1;border-radius:18px;padding:14px;width:42px;height:42px;box-sizing:content-box}
@media(max-width:1200px){.apa-messenger-shell{grid-template-columns:300px minmax(380px,1fr)}}
@media(max-width:782px){.apa-messenger-title{align-items:center}.apa-messenger-brand-mark{width:40px;height:40px;flex-basis:40px}.apa-messenger-brand-copy h1{font-size:22px}.apa-messenger-brand-copy p{display:none}.apa-messenger-shell{border-radius:16px}.apa-messenger-sidebar{max-height:360px}.apa-messenger-contacts{max-height:270px}.apa-message-bubble{max-width:88%}}

/* v2.1.3 — listă de înrolare extensibilă */
.apa-enrollment-head{align-items:center;gap:18px}.apa-enrollment-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}.apa-enrollment-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px!important;padding:0 13px!important;border-radius:10px!important;font-weight:600}.apa-enrollment-toggle .dashicons{font-size:17px;width:17px;height:17px;transition:transform .18s ease}.apa-enrollment-collapsible{display:block;max-height:5000px;opacity:1;overflow:visible;transition:opacity .16s ease}.apa-enrollment-panel.is-collapsed .apa-enrollment-collapsible{display:none}.apa-enrollment-panel.is-collapsed .apa-enrollment-head{margin-bottom:0}.apa-enrollment-panel.is-collapsed{padding-bottom:18px}.apa-enrollment-panel.is-collapsed .apa-enrollment-toggle .dashicons{transform:rotate(180deg)}
@media(max-width:700px){.apa-enrollment-head{align-items:flex-start}.apa-enrollment-head-actions{flex-direction:column;align-items:flex-end}.apa-enrollment-toggle{white-space:nowrap}}

/* v2.1.4 — Messenger pe tot ecranul, cu scroll separat pentru contacte și conversație */
@media (min-width:783px){
  body.apa-messenger-fullscreen{overflow:hidden}
  body.apa-messenger-fullscreen #wpbody-content{padding-bottom:0;overflow:hidden}
  body.apa-messenger-fullscreen #wpfooter{display:none!important}
  body.apa-messenger-fullscreen .apa-messenger-admin{
    box-sizing:border-box;
    height:calc(100vh - 32px);
    min-height:0;
    margin:0 18px 0 0;
    padding:12px 0 14px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  body.apa-messenger-fullscreen .apa-messenger-title{
    flex:0 0 auto;
    margin:0 0 10px;
  }
  body.apa-messenger-fullscreen .apa-messenger-brand-mark{
    width:40px;height:40px;flex-basis:40px;border-radius:13px;
  }
  body.apa-messenger-fullscreen .apa-messenger-brand-copy h1{font-size:24px}
  body.apa-messenger-fullscreen .apa-messenger-brand-copy p{margin:3px 0 0}
  body.apa-messenger-fullscreen .apa-messenger-shell{
    flex:1 1 auto;
    width:100%;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden;
    border-radius:18px;
  }
  body.apa-messenger-fullscreen .apa-messenger-sidebar,
  body.apa-messenger-fullscreen .apa-messenger-thread,
  body.apa-messenger-fullscreen .apa-messenger-profile{
    height:100%;
    min-height:0;
    overflow:hidden;
  }
  body.apa-messenger-fullscreen .apa-messenger-sidebar{
    display:flex;
    flex-direction:column;
  }
  body.apa-messenger-fullscreen .apa-messenger-sidebar-head,
  body.apa-messenger-fullscreen .apa-messenger-search{
    flex:0 0 auto;
  }
  body.apa-messenger-fullscreen .apa-messenger-contacts{
    flex:1 1 auto;
    min-height:0;
    max-height:none!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  body.apa-messenger-fullscreen .apa-messenger-thread{
    display:flex;
    flex-direction:column;
  }
  body.apa-messenger-fullscreen .apa-messenger-thread-head{
    flex:0 0 auto;
  }
  body.apa-messenger-fullscreen .apa-messenger-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scroll-behavior:smooth;
  }
  body.apa-messenger-fullscreen .apa-message-compose-sticky{
    position:relative!important;
    inset:auto!important;
    flex:0 0 auto;
    z-index:5;
  }
  body.apa-messenger-fullscreen .apa-messenger-profile{
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
}

/* v2.3.0 — Learning & Development admin */
.apa-ld-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px}.apa-ld-admin-card{padding:20px;border:1px solid #e4e7ec;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(17,24,39,.05)}.apa-ld-admin-card-head{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px}.apa-ld-admin-card-head small{display:block;color:#6b7280}.apa-ld-admin-card h3{font-size:19px;margin:18px 0 10px}.apa-ld-admin-card p{color:#4b5563;line-height:1.55}.apa-ld-admin-actions{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #eceff3}.apa-ld-admin-actions select,.apa-ld-admin-actions textarea{width:100%}.apa-request-status{display:inline-flex;padding:5px 10px;border-radius:999px;background:#f3f4f6;font-size:11px;font-weight:800}.apa-request-status.status-approved,.apa-request-status.status-completed{background:#dcfce7;color:#166534}.apa-request-status.status-rejected{background:#fee2e2;color:#991b1b}.apa-request-status.status-review{background:#fef3c7;color:#92400e}


/* v2.3.2.1 — visual-only premium refresh for Course Requests */
/* v2.3.3 — Premium visual redesign for Course Requests */
body[class*="academia-profmet-analytics-course-requests"] #wpcontent,
body.toplevel_page_academia-profmet-analytics-course-requests #wpcontent{
  background:
    radial-gradient(circle at 92% 5%,rgba(232,31,47,.11),transparent 24%),
    linear-gradient(135deg,#f8fafc 0%,#fff 48%,#fff6f7 100%);
}
.apa-course-requests-premium{max-width:1600px!important;margin:0 auto!important;padding:0 10px 30px!important}
.apa-ld-intro{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;margin:18px 0 20px!important;padding:24px 28px!important;border:1px solid rgba(226,29,46,.12)!important;border-radius:24px!important;background:linear-gradient(135deg,#151b22 0%,#202832 68%,#b51220 145%)!important;color:#fff!important;box-shadow:0 24px 60px rgba(20,27,34,.16)!important;overflow:hidden!important;position:relative!important}
.apa-ld-intro:after{content:"";position:absolute;right:-70px;top:-90px;width:280px;height:280px;border:46px solid rgba(255,255,255,.055);transform:rotate(45deg);border-radius:42px}
.apa-ld-intro>div:first-child{position:relative;z-index:1;max-width:780px}
.apa-ld-eyebrow{display:inline-flex!important;align-items:center!important;gap:8px!important;color:#ff9ca5!important;font-size:12px!important;font-weight:800!important;letter-spacing:1.8px!important;text-transform:uppercase!important}
.apa-ld-intro h2{margin:8px 0 8px!important;color:#fff!important;font-size:28px!important;line-height:1.15!important}
.apa-ld-intro p{margin:0!important;color:#dce3ea!important;font-size:15px!important;line-height:1.55!important}
.apa-ld-total-pill{position:relative;z-index:1;min-width:150px;text-align:center;padding:16px 22px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}
.apa-ld-total-pill span{display:block;font-size:34px;font-weight:900;color:#fff}.apa-ld-total-pill small{color:#ffccd0;font-weight:700}
.apa-course-requests-premium .apa-ld-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(150px,1fr))!important;gap:14px!important;margin:0 0 18px!important}
.apa-course-requests-premium .apa-kpi{display:flex!important;align-items:center!important;gap:14px!important;min-height:106px!important;padding:18px!important;border-radius:20px!important;border:1px solid #e7ebf0!important;background:#fff!important;box-shadow:0 12px 34px rgba(16,24,40,.07)!important;position:relative!important;overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease!important}
.apa-course-requests-premium .apa-kpi:hover{transform:translateY(-3px)!important;box-shadow:0 18px 42px rgba(16,24,40,.12)!important}
.apa-course-requests-premium .apa-kpi:after{content:"";position:absolute;inset:auto -24px -30px auto;width:92px;height:92px;border-radius:50%;background:currentColor;opacity:.06}
.apa-kpi-icon{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:15px!important;font-size:23px!important;line-height:48px!important;flex:0 0 48px!important}
.apa-kpi strong{display:block!important;font-size:28px!important;line-height:1!important;color:#111827!important}.apa-kpi span:not(.apa-kpi-icon){display:block!important;margin-top:5px!important;color:#1f2937!important;font-weight:800!important}.apa-kpi small{display:block!important;margin-top:3px!important;color:#7b8491!important;font-size:11px!important}
.apa-kpi-total{color:#334155!important}.apa-kpi-total .apa-kpi-icon{background:#eef2f7!important;color:#334155!important}
.apa-kpi-new{color:#2563eb!important}.apa-kpi-new .apa-kpi-icon{background:#e9f1ff!important;color:#2563eb!important}
.apa-kpi-review{color:#d97706!important}.apa-kpi-review .apa-kpi-icon{background:#fff3d6!important;color:#d97706!important}
.apa-kpi-approved{color:#7c3aed!important}.apa-kpi-approved .apa-kpi-icon{background:#f1eafd!important;color:#7c3aed!important}
.apa-kpi-enrolled{color:#138a4b!important}.apa-kpi-enrolled .apa-kpi-icon{background:#dcf8e8!important;color:#138a4b!important}
.apa-course-requests-premium .apa-ld-toolbar{display:grid!important;grid-template-columns:minmax(280px,1fr) 270px!important;gap:12px!important;margin:0 0 22px!important;padding:13px!important;border:1px solid #e5e9ef!important;border-radius:18px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 10px 30px rgba(15,23,42,.06)!important}
.apa-toolbar-search,.apa-toolbar-filter{display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;padding:0 14px!important;border:1px solid #dbe1e8!important;border-radius:14px!important;background:#f8fafc!important}
.apa-toolbar-search:focus-within,.apa-toolbar-filter:focus-within{border-color:#e21d2e!important;box-shadow:0 0 0 3px rgba(226,29,46,.1)!important;background:#fff!important}
.apa-toolbar-search .dashicons,.apa-toolbar-filter .dashicons{color:#e21d2e!important}
.apa-toolbar-search input,.apa-toolbar-filter select{width:100%!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
.apa-course-requests-premium .apa-ld-admin-grid-premium{display:grid!important;grid-template-columns:repeat(3,minmax(330px,1fr))!important;gap:20px!important}
.apa-course-requests-premium .apa-request-card-premium{padding:0!important;border:1px solid #e3e7ed!important;border-radius:24px!important;background:#fff!important;box-shadow:0 16px 42px rgba(15,23,42,.08)!important;overflow:hidden!important;transition:transform .18s ease,box-shadow .18s ease!important}
.apa-course-requests-premium .apa-request-card-premium:hover{transform:translateY(-3px)!important;box-shadow:0 24px 56px rgba(15,23,42,.13)!important}
.apa-request-card-premium:before{content:"";display:block;height:6px;background:linear-gradient(90deg,#e21d2e,#ff5c68)}
.apa-request-card-premium[data-status="pending"]:before{background:linear-gradient(90deg,#2563eb,#60a5fa)}
.apa-request-card-premium[data-status="review"]:before{background:linear-gradient(90deg,#d97706,#fbbf24)}
.apa-request-card-premium[data-status="approved"]:before{background:linear-gradient(90deg,#7c3aed,#a78bfa)}
.apa-request-card-premium[data-status="completed"]:before{background:linear-gradient(90deg,#138a4b,#34d399)}
.apa-request-card-premium[data-status="rejected"]:before{background:linear-gradient(90deg,#b91c1c,#ef4444)}
.apa-course-requests-premium .apa-ld-admin-card-head{display:grid!important;grid-template-columns:56px minmax(0,1fr) auto!important;align-items:center!important;gap:13px!important;padding:19px 20px 16px!important;background:linear-gradient(180deg,#fff,#fbfcfd)!important;border-bottom:1px solid #edf0f3!important}
.apa-course-requests-premium .apa-ld-admin-card-head img{width:56px!important;height:56px!important;border-radius:16px!important;object-fit:cover!important;border:3px solid #fff!important;box-shadow:0 5px 14px rgba(15,23,42,.12)!important}
.apa-request-person{min-width:0}.apa-request-person strong{display:block!important;font-size:15px!important;color:#17202a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.apa-request-person small{display:block!important;color:#6b7280!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.apa-request-person em{display:inline-block!important;margin-top:5px!important;padding:3px 7px!important;border-radius:999px!important;background:#f0f3f6!important;color:#7b8491!important;font-size:10px!important;font-style:normal!important;font-weight:700!important}
.apa-course-requests-premium .apa-request-status{padding:7px 11px!important;border-radius:999px!important;font-size:10px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)!important}
.apa-request-status.status-pending{background:#e8f1ff!important;color:#1d4ed8!important}.apa-request-status.status-review{background:#fff1c9!important;color:#9a5b00!important}.apa-request-status.status-approved{background:#eee8ff!important;color:#6d28d9!important}.apa-request-status.status-enrolled,.apa-request-status.status-completed{background:#daf8e6!important;color:#08763b!important}.apa-request-status.status-rejected{background:#fee2e2!important;color:#991b1b!important}
.apa-course-requests-premium .apa-request-course{margin:0!important;padding:20px 20px 14px!important}
.apa-course-requests-premium .apa-request-course>small{display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border-radius:8px!important;background:#fff0f1!important;color:#c81525!important;font-size:10px!important;font-weight:900!important;letter-spacing:1.2px!important}
.apa-course-requests-premium .apa-request-course h3{margin:12px 0 13px!important;font-size:24px!important;line-height:1.15!important;color:#151b22!important}
.apa-course-requests-premium .apa-request-meta{gap:7px!important}.apa-course-requests-premium .apa-request-meta span{display:inline-flex!important;align-items:center!important;padding:6px 10px!important;border:1px solid #e6eaf0!important;border-radius:999px!important;background:#f8fafc!important;color:#4b5563!important;font-size:11px!important;font-weight:700!important}
.apa-course-requests-premium .apa-request-link{margin:0 20px 14px!important;padding:9px 11px!important;border-radius:10px!important;background:#fff3f4!important;color:#c91525!important;text-decoration:none!important;font-weight:800!important}
.apa-course-requests-premium .apa-request-reasons{grid-template-columns:1fr!important;gap:9px!important;margin:0!important;padding:0 20px 18px!important}.apa-course-requests-premium .apa-request-reasons>div{padding:13px 14px!important;border:1px solid #edf0f3!important;border-radius:14px!important;background:#fafbfc!important}.apa-course-requests-premium .apa-request-reasons small{color:#87909c!important;font-size:10px!important;letter-spacing:1px!important}.apa-course-requests-premium .apa-request-reasons p{margin:6px 0 0!important;color:#3f4a56!important;line-height:1.45!important}
.apa-course-requests-premium .apa-request-admin-form{gap:12px!important;margin-top:auto!important;padding:18px 20px 20px!important;border-top:1px solid #edf0f3!important;background:linear-gradient(180deg,#fbfcfd,#f6f8fa)!important}
.apa-request-control-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.apa-request-control-grid label{display:grid!important;gap:6px!important}.apa-request-control-grid label>span{color:#3f4a56!important;font-size:11px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.7px!important}
.apa-course-requests-premium .apa-request-admin-form select,.apa-course-requests-premium .apa-request-admin-form textarea{width:100%!important;min-height:44px!important;padding:10px 12px!important;border:1px solid #d5dce4!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}.apa-course-requests-premium .apa-request-admin-form textarea{min-height:74px!important;resize:vertical!important}
.apa-course-requests-premium .apa-enrollment-details{min-height:44px!important;border:1px solid #cdd5df!important;border-radius:12px!important;background:#fff!important;color:#27313c!important;font-weight:800!important}
.apa-course-requests-premium .apa-save-request{min-height:46px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#e21d2e,#c90d1d)!important;color:#fff!important;font-weight:900!important;text-shadow:none!important;box-shadow:0 10px 22px rgba(226,29,46,.22)!important}
.apa-course-requests-premium .apa-save-request:hover{background:linear-gradient(135deg,#f02c3d,#b90718)!important;transform:translateY(-1px)!important}
.apa-course-requests-premium .apa-enrolled-check{margin:0!important;padding:11px 20px!important;background:linear-gradient(90deg,#0d7d40,#1fa75a)!important;color:#fff!important}
@media(max-width:1250px){.apa-course-requests-premium .apa-ld-admin-grid-premium{grid-template-columns:repeat(2,minmax(320px,1fr))!important}.apa-course-requests-premium .apa-ld-kpis{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:850px){.apa-ld-intro{align-items:flex-start!important;flex-direction:column!important}.apa-ld-total-pill{width:100%;box-sizing:border-box}.apa-course-requests-premium .apa-ld-kpis{grid-template-columns:repeat(2,1fr)!important}.apa-course-requests-premium .apa-ld-toolbar{grid-template-columns:1fr!important}.apa-course-requests-premium .apa-ld-admin-grid-premium{grid-template-columns:1fr!important}}
@media(max-width:520px){.apa-course-requests-premium .apa-ld-kpis{grid-template-columns:1fr!important}.apa-course-requests-premium .apa-ld-admin-card-head{grid-template-columns:50px 1fr!important}.apa-course-requests-premium .apa-request-status{grid-column:1/-1!important;justify-self:start!important}.apa-ld-intro{padding:20px!important}}


/* v2.4.0 — Dedicated course enrollment page */
.apa-enrollment-open{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;margin-right:10px;padding:10px 15px!important;border:1px solid #d71920!important;border-radius:10px!important;background:#fff!important;color:#d71920!important;font-weight:800!important;text-decoration:none!important}
.apa-enrollment-open:hover{background:#fff1f2!important;color:#b51219!important}
.apa-enrollment-page{max-width:1180px;margin:18px auto 40px}
.apa-enrollment-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 30px;border-radius:20px;background:linear-gradient(135deg,#151515 0%,#2b2b2b 70%,#d71920 170%);color:#fff;box-shadow:0 18px 48px rgba(17,24,39,.18)}
.apa-enrollment-hero span{display:block;margin-bottom:7px;color:#ff9ea2;font-size:12px;font-weight:900;letter-spacing:.14em}
.apa-enrollment-hero h2{margin:0 0 7px;color:#fff;font-size:30px;line-height:1.15}
.apa-enrollment-hero p{margin:0;color:#d1d5db}
.apa-enrollment-hero .button{border-color:rgba(255,255,255,.34)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:10px!important}
.apa-enrollment-form{display:grid;gap:18px;margin-top:20px}
.apa-enrollment-section{overflow:hidden;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(17,24,39,.06)}
.apa-enrollment-section-title{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid #eceff3;background:linear-gradient(90deg,#fff 0%,#fff7f7 100%)}
.apa-enrollment-section-title .dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#d71920;color:#fff}
.apa-enrollment-section-title h3{margin:0;font-size:17px;color:#111827}
.apa-enrollment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px}
.apa-enrollment-grid label{display:flex;flex-direction:column;gap:7px}
.apa-enrollment-grid label.wide{grid-column:1/-1}
.apa-enrollment-grid label>span{font-size:12px;font-weight:850;color:#475467;text-transform:uppercase;letter-spacing:.04em}
.apa-enrollment-grid input,.apa-enrollment-grid select,.apa-enrollment-grid textarea{width:100%;min-height:43px;border:1px solid #d0d5dd!important;border-radius:10px!important;background:#fff!important;padding:10px 12px!important;box-shadow:none!important}
.apa-enrollment-grid input:focus,.apa-enrollment-grid select:focus,.apa-enrollment-grid textarea:focus{border-color:#d71920!important;box-shadow:0 0 0 3px rgba(215,25,32,.1)!important}
.apa-enrollment-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid #fecdd3;border-radius:18px;background:#fff7f7}
.apa-enrollment-actions .button-hero{min-height:48px;padding:0 22px!important;border-radius:12px!important;background:#d71920!important;border-color:#d71920!important;font-size:14px!important;font-weight:900!important}
.apa-enrollment-actions p{margin:0;color:#667085}
.apa-enrollment-history{margin-top:22px;padding:22px;border:1px solid #e5e7eb;border-radius:18px;background:#fff}
.apa-enrollment-history h3{margin:0 0 14px}
.apa-enrollment-history article{position:relative;margin-left:8px;padding:0 0 18px 24px;border-left:2px solid #f1b5b8}
.apa-enrollment-history article:before{content:"";position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:#d71920}
.apa-enrollment-history strong,.apa-enrollment-history small{display:block}
.apa-enrollment-history small{margin:3px 0 8px;color:#667085}
.apa-enrollment-history ul{margin:8px 0 0 18px}
@media(max-width:760px){.apa-enrollment-hero{align-items:flex-start;flex-direction:column;padding:22px}.apa-enrollment-hero h2{font-size:24px}.apa-enrollment-grid{grid-template-columns:1fr;padding:16px}.apa-enrollment-grid label.wide{grid-column:auto}.apa-enrollment-actions{align-items:stretch;flex-direction:column}.apa-enrollment-actions .button-hero{width:100%}.apa-enrollment-open{width:100%;margin:0 0 8px}}


/* v2.4.1 — Course request action area polish */
.apa-course-requests-premium .apa-request-admin-form{display:flex!important;flex-direction:column!important}
.apa-course-requests-premium .apa-request-form-actions{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(150px,.85fr)!important;gap:10px!important;align-items:stretch!important;margin-top:2px!important}
.apa-course-requests-premium .apa-request-form-actions .button{box-sizing:border-box!important;margin:0!important;width:100%!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important}
.apa-course-requests-premium .apa-enrollment-open{padding:10px 13px!important;border:1px solid #ef3340!important;border-radius:13px!important;background:linear-gradient(180deg,#fff,#fff7f8)!important;color:#d71920!important;font-weight:850!important;box-shadow:0 7px 18px rgba(215,25,32,.08)!important}
.apa-course-requests-premium .apa-enrollment-open:hover{background:#fff0f1!important;border-color:#d71920!important;color:#b80f19!important;transform:translateY(-1px)!important;box-shadow:0 10px 22px rgba(215,25,32,.14)!important}
.apa-course-requests-premium .apa-enrollment-open .dashicons,.apa-course-requests-premium .apa-save-request .dashicons{width:18px!important;height:18px!important;font-size:18px!important;flex:0 0 18px!important}
.apa-course-requests-premium .apa-enrollment-open .apa-action-arrow{font-size:17px!important;line-height:1!important;flex:0 0 auto!important}
.apa-course-requests-premium .apa-save-request{padding:10px 14px!important;border-radius:13px!important;box-shadow:0 10px 24px rgba(226,29,46,.22)!important}
.apa-course-requests-premium .apa-request-control-grid{margin-bottom:2px!important}
.apa-course-requests-premium .apa-request-admin-form textarea{min-height:78px!important}
@media(max-width:1500px){.apa-course-requests-premium .apa-request-form-actions{grid-template-columns:1fr!important}}
@media(max-width:850px){.apa-course-requests-premium .apa-request-form-actions{grid-template-columns:1fr!important}.apa-course-requests-premium .apa-request-form-actions .button{min-height:50px!important}}

/* v2.6.0 — Evaluare 360° */
.apa-360-hero{background:linear-gradient(120deg,#131b28 0%,#1d2635 54%,#6f1d2a 100%)}
.apa-360-wizard{padding:0;overflow:hidden}.apa-360-steps{display:flex;gap:8px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid #e8edf3;background:#fbfcfe}.apa-360-steps span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border-radius:999px;background:#eef2f6;color:#5d6877;font-weight:700}.apa-360-steps .is-active{background:#eb1c2a;color:#fff}
.apa-360-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.75fr);gap:24px;padding:24px}.apa-360-main{display:grid;gap:18px}.apa-360-section{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:20px;border:1px solid #e4e9ef;border-radius:18px;background:#fff}.apa-360-section h3{margin:0 0 4px;font-size:18px;color:#172033}.apa-360-section p{margin:0 0 14px;color:#758092}.apa-360-number{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#ffe9eb;color:#d71927;font-weight:800}
.apa-360-type-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.apa-360-type-cards label{cursor:pointer}.apa-360-type-cards input{position:absolute;opacity:0}.apa-360-type-cards span{display:block;padding:16px;border:1px solid #dce3eb;border-radius:14px;background:#fafbfd;transition:.2s}.apa-360-type-cards b,.apa-360-type-cards small{display:block}.apa-360-type-cards small{margin-top:4px;color:#7b8694}.apa-360-type-cards input:checked+span{border-color:#eb1c2a;background:#fff1f2;box-shadow:0 0 0 2px rgba(235,28,42,.08)}
#apa-360-subject,.apa-360-reviewer-box select{width:100%;min-height:44px;border:1px solid #d6dee8;border-radius:12px;padding:8px 12px;background:#fff}.apa-360-source-list{display:grid;gap:10px}.apa-360-source-list>label{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e3e8ef;border-radius:14px;background:#fafbfd}.apa-360-source-list>label input{margin-top:3px}.apa-360-source-list b,.apa-360-source-list small{display:block}.apa-360-source-list small{color:#7a8493;margin-top:3px}.apa-360-reviewer-box{padding:12px 14px 14px 38px}.apa-360-reviewer-box small{display:block;margin-top:6px;color:#85909d}
.apa-360-check{display:flex;align-items:center;gap:9px;padding:12px 14px;border:1px solid #e1e6ed;border-radius:12px;background:#fafbfd}.apa-360-preview{position:sticky;top:42px;align-self:start;padding:22px;border-radius:20px;background:#151d2a;color:#fff;box-shadow:0 18px 48px rgba(18,27,40,.16)}.apa-360-preview h3{color:#fff;font-size:22px;margin:5px 0 14px}.apa-360-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:16px}.apa-360-scale span{padding:10px 5px;border-radius:10px;background:rgba(255,255,255,.08);text-align:center}.apa-360-scale b,.apa-360-scale small{display:block}.apa-360-scale b{font-size:18px;color:#fff}.apa-360-scale small{font-size:9px;color:#c8d0db;line-height:1.2}.apa-360-preview ol{margin:0;padding-left:20px;max-height:420px;overflow:auto}.apa-360-preview li{padding:8px 0;color:#e4e8ee}.apa-360-preview li em{display:block;color:#ff9aa2;font-style:normal;font-weight:700;letter-spacing:5px;margin-top:3px}.apa-360-launch{width:100%;margin-top:18px;justify-content:center}
.apa-360-campaign-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.apa-360-card{padding:18px;border:1px solid #e2e8ef;border-radius:17px;background:#fff}.apa-360-kind{display:inline-flex;padding:5px 9px;border-radius:999px;background:#ffe9eb;color:#c91d29;font-size:10px;font-weight:800;letter-spacing:.08em}.apa-360-card h3{margin:8px 0 3px}.apa-360-card p{margin:0;color:#748091}.apa-360-progress{margin-top:16px}.apa-360-progress>span,.apa-360-progress>strong{display:inline-block}.apa-360-progress>strong{float:right}.apa-360-progress i{display:block;height:7px;margin-top:8px;border-radius:999px;background:#edf1f5;overflow:hidden}.apa-360-progress i b{display:block;height:100%;background:linear-gradient(90deg,#eb1c2a,#ff6671);border-radius:999px}
@media(max-width:1000px){.apa-360-grid{grid-template-columns:1fr}.apa-360-preview{position:static}.apa-360-type-cards{grid-template-columns:1fr}.apa-360-scale{grid-template-columns:repeat(5,minmax(52px,1fr));overflow:auto}}

/* v2.6.3 — Smart searchable evaluator selectors */
.apa-360-reviewer-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.apa-360-total-counter{min-width:150px;padding:10px 14px;border:1px solid #f1d2d6;border-radius:14px;background:#fff4f5;text-align:center}.apa-360-total-counter b{display:block;font-size:24px;line-height:1;color:#d71927}.apa-360-total-counter span{display:block;margin-top:4px;font-size:11px;color:#7b5660;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.apa-360-reviewer-box{padding:10px 0 4px 38px}.apa-360-smart-select{position:relative;border:1px solid #dfe5ec;border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(20,31,45,.04);overflow:visible}.apa-360-smart-search{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 11px;border-bottom:1px solid #edf0f4}.apa-360-smart-search .dashicons{color:#8a95a3}.apa-360-smart-search input[type=search]{width:100%;min-height:38px;border:0!important;box-shadow:none!important;outline:0;background:transparent;padding:0 4px}.apa-360-clear-all{border:0;background:#f4f6f8;color:#657080;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}.apa-360-clear-all:hover{background:#ffe9eb;color:#c91d29}
.apa-360-selected-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:52px;padding:12px}.apa-360-person-chip{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;align-items:center;gap:8px;max-width:100%;padding:6px 7px;border:1px solid #e2e7ed;border-radius:11px;background:#fafbfd}.apa-360-person-chip>span:nth-child(2){min-width:0}.apa-360-person-chip b,.apa-360-person-chip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apa-360-person-chip b{font-size:12px;color:#1e2735}.apa-360-person-chip small{margin-top:1px;font-size:10px;color:#84909e}.apa-360-person-chip button{width:24px;height:24px;border:0;border-radius:7px;background:#eef1f4;color:#697482;font-size:18px;line-height:20px;cursor:pointer}.apa-360-person-chip button:hover{background:#ffe8ea;color:#c91927}.apa-360-chip-avatar,.apa-360-result-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#1f2937,#e30613);color:#fff;font-weight:800}.apa-360-chip-avatar{width:28px;height:28px;font-size:11px}.apa-360-no-selection{display:flex;align-items:center;min-height:34px;color:#9aa4b0;font-size:12px;font-style:italic}
.apa-360-smart-results{position:absolute;z-index:50;left:10px;right:10px;top:57px;max-height:330px;overflow:auto;border:1px solid #dfe5ec;border-radius:13px;background:#fff;box-shadow:0 18px 45px rgba(18,27,40,.18);padding:6px}.apa-360-smart-results button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.apa-360-smart-results button:hover{background:#fff1f2}.apa-360-smart-results button>span:nth-child(2){min-width:0}.apa-360-smart-results b,.apa-360-smart-results small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apa-360-smart-results b{font-size:13px;color:#202937}.apa-360-smart-results small{font-size:10px;color:#7f8997;margin-top:2px}.apa-360-smart-results i{font-style:normal;font-size:11px;font-weight:800;color:#d71927}.apa-360-result-avatar{width:34px;height:34px;font-size:12px}.apa-360-smart-empty{padding:14px;color:#8b95a1;text-align:center;font-size:12px}
.apa-360-smart-footer{display:flex;justify-content:space-between;gap:12px;padding:9px 12px;border-top:1px solid #edf0f4;background:#fbfcfd;border-radius:0 0 15px 15px}.apa-360-smart-footer span{font-size:11px;color:#5f6a78}.apa-360-smart-footer small{font-size:10px;color:#9aa4af}.apa-360-smart-footer b{color:#d71927}
@media(max-width:782px){.apa-360-reviewer-title-row{display:block}.apa-360-total-counter{margin-top:10px;min-width:0;width:100%}.apa-360-reviewer-box{padding-left:0}.apa-360-smart-search{grid-template-columns:22px minmax(0,1fr)}.apa-360-clear-all{grid-column:1/-1;width:100%}.apa-360-smart-footer{display:block}.apa-360-smart-footer small{display:block;margin-top:3px}.apa-360-smart-results{left:6px;right:6px}}

/* v2.6.4 — Professional 360 Report */
.apa-360-report-wrap{max-width:1480px;margin:0 0 40px}.apa-360-report-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:28px 30px;background:linear-gradient(135deg,#111 0%,#242424 68%,#3a0b0f 100%);color:#fff;border-radius:24px;margin-bottom:20px;box-shadow:0 18px 48px rgba(0,0,0,.12)}.apa-360-report-top h2{font-size:30px;margin:8px 0 6px;color:#fff}.apa-360-report-top p{margin:0;color:#d7d7d7}.apa-360-back{display:inline-block;color:#fff;text-decoration:none;font-weight:700;margin-bottom:12px;opacity:.86}.apa-360-report-actions{display:flex;gap:10px;flex-wrap:wrap}.apa-360-report-actions .button{min-height:42px;display:inline-flex;align-items:center;padding:0 16px;border-radius:10px}.apa-360-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.apa-360-kpis article{background:#fff;border:1px solid #e8e8ec;border-radius:18px;padding:20px 22px;box-shadow:0 8px 24px rgba(0,0,0,.045)}.apa-360-kpis small{display:block;color:#777;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.apa-360-kpis strong{display:block;font-size:30px;line-height:1.1;margin:9px 0 4px;color:#151515}.apa-360-kpis strong em{font-style:normal;font-size:15px;color:#777;margin-left:3px}.apa-360-kpis span{color:#777;font-size:13px}.apa-360-report-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:18px;margin-bottom:18px}.apa-360-report-chart,.apa-360-insights{margin:0!important}.apa-360-radar-svg{display:block;width:min(100%,540px);margin:0 auto}.apa-360-radar-svg text{font-size:12px;font-weight:800;fill:#777}.apa-360-radar-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 0 16px}.apa-360-radar-legend span{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:12px}.apa-360-radar-legend i{width:11px;height:11px;border-radius:50%;background:#999}.apa-360-radar-legend .is-self i{background:#111}.apa-360-radar-legend .is-manager i{background:#e30613}.apa-360-radar-legend .is-peer i{background:#5b6cff}.apa-360-radar-legend .is-subordinate i{background:#16a36a}.apa-360-radar-legend .is-other i{background:#9a5be8}.apa-360-radar-key{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;background:#fafafa;border:1px solid #eee;border-radius:14px;padding:14px}.apa-360-radar-key span{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#555}.apa-360-radar-key b{flex:0 0 24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff}.apa-360-insight-block{border-radius:15px;padding:14px 16px;margin-top:12px}.apa-360-insight-block h3{margin:0 0 10px}.apa-360-insight-block div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid rgba(0,0,0,.07)}.apa-360-insight-block div:first-of-type{border-top:0}.apa-360-insight-block span{font-size:13px;line-height:1.35}.apa-360-insight-block b{font-size:18px}.apa-360-insight-block.is-strong{background:#eefaf4}.apa-360-insight-block.is-growth{background:#fff3f3}.apa-360-compare{margin-bottom:18px!important}.apa-360-compare td:not(:nth-child(2)),.apa-360-compare th:not(:nth-child(2)){text-align:center}.apa-360-comment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.apa-360-comment-grid article{background:#fafafa;border:1px solid #ececef;border-radius:15px;padding:16px}.apa-360-comment-grid article>span{font-size:11px;font-weight:800;letter-spacing:.3px;color:#e30613;text-transform:uppercase}.apa-360-comment-grid p{font-size:14px;line-height:1.55;margin:10px 0}.apa-360-comment-grid small{color:#777}.apa-360-report-link{margin-top:12px;display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-weight:800;color:#e30613}.apa-360-report-link:hover{color:#111}.apa-360-report-link .dashicons{font-size:17px;width:17px;height:17px}
@media(max-width:1100px){.apa-360-kpis{grid-template-columns:repeat(2,1fr)}.apa-360-report-grid{grid-template-columns:1fr}.apa-360-radar-key{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.apa-360-report-top{flex-direction:column;padding:22px}.apa-360-kpis{grid-template-columns:1fr}.apa-360-comment-grid,.apa-360-radar-key{grid-template-columns:1fr}.apa-360-report-actions{width:100%}.apa-360-report-actions .button{flex:1;justify-content:center}}
@media print{#adminmenumain,#wpadminbar,#screen-meta-links,.notice,.update-nag,.apa-360-report-actions,.apa-360-back{display:none!important}#wpcontent,#wpfooter{margin-left:0!important}.apa-360-report-wrap{max-width:none}.apa-360-report-top{box-shadow:none}.apa-panel,.apa-360-kpis article{box-shadow:none!important;break-inside:avoid}.apa-360-comment-grid article{break-inside:avoid}}

/* v2.7.0 Individual Development Plan */
.apa-dev-suggestions{display:grid;gap:16px;margin:20px 0}.apa-dev-suggestions>h3{margin:0 0 2px}.apa-dev-suggestions article{display:grid;grid-template-columns:36px 1fr;gap:16px;padding:18px;border:1px solid #e8e8ec;border-radius:16px;background:#fff}.apa-dev-check input{width:20px;height:20px}.apa-dev-suggestions h4{margin:0 0 4px;font-size:16px}.apa-dev-suggestions small{display:block;color:#777;margin-bottom:12px}.apa-dev-suggestions textarea{width:100%;margin-top:6px}.apa-dev-inline{display:grid;grid-template-columns:180px 220px;gap:12px;margin-top:12px}.apa-dev-inline input{width:100%;margin-top:6px}.apa-dev-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.apa-dev-admin-grid article{border:1px solid #e8e8ec;border-radius:16px;padding:18px;background:linear-gradient(180deg,#fff,#fafafa)}.apa-dev-admin-grid h3{margin:12px 0 4px}.apa-dev-admin-grid p{margin:0;color:#666}.apa-dev-admin-grid article>div{display:flex;gap:8px;align-items:center;margin:16px 0;font-size:18px}.apa-dev-admin-grid small,.apa-dev-admin-grid em{display:block;color:#666;margin-top:8px;font-style:normal}.apa-performance-status.status-planned{background:#f1f3f5;color:#495057}.apa-performance-status.status-in_progress{background:#fff3bf;color:#7a5b00}.apa-performance-status.status-completed{background:#d3f9d8;color:#176b2d}

/* v2.7.1 — Development Actions & Course Integration */
.apa-dev-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;padding:14px;border:1px solid #ececf0;border-radius:14px;background:#fafafa}.apa-dev-action-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#4b5563}.apa-dev-action-grid select,.apa-dev-action-grid input{width:100%;min-height:42px;border:1px solid #d8dde5!important;border-radius:10px!important;background:#fff!important}.apa-dev-admin-grid article em{padding:8px 10px;border-radius:9px;background:#f6f7f9}.apa-dev-admin-grid article em:first-of-type{margin-top:12px}@media(max-width:760px){.apa-dev-action-grid,.apa-dev-inline{grid-template-columns:1fr!important}}

/* v2.7.3 Development progress sync */
.apa-dev-admin-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.apa-dev-action-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:11px;font-weight:800}.apa-dev-live-progress{display:flex;align-items:center;gap:10px;margin:12px 0}.apa-dev-live-progress i{display:block;flex:1;height:8px;border-radius:999px;background:#eef1f5;overflow:hidden}.apa-dev-live-progress i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#eb1c2d,#ff5b68)}.apa-dev-live-progress strong{font-size:12px;color:#101828;min-width:36px;text-align:right}.apa-dev-overdue{color:#b42318!important;font-weight:800}.apa-dev-admin-grid article.is-overdue,.apa-dev-cabinet-grid article.is-overdue{border-color:#fda29b!important;box-shadow:0 0 0 3px rgba(217,45,32,.05)}

/* v2.8.0 — Performance architecture: Review / Grading / 360 */
.apa-performance-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 10px}.apa-performance-primary a{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:16px 18px;border:1px solid #e1e6ed;border-radius:16px;background:#fff;color:#172033;text-decoration:none;box-shadow:0 6px 20px rgba(18,27,40,.04)}.apa-performance-primary a>.dashicons{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2f4f7;color:#536174;font-size:20px}.apa-performance-primary b,.apa-performance-primary small{display:block}.apa-performance-primary b{font-size:15px}.apa-performance-primary small{margin-top:3px;color:#7c8794;font-size:11px}.apa-performance-primary a.is-active{border-color:#172033;background:linear-gradient(135deg,#172033,#2c2330);color:#fff;box-shadow:0 12px 28px rgba(18,27,40,.15)}.apa-performance-primary a.is-active>.dashicons{background:#e51f2e;color:#fff}.apa-performance-primary a.is-active small{color:#d5dbe4}.apa-performance-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:9px 12px;border:1px solid #e7ebf0;border-radius:12px;background:#fafbfd}.apa-performance-tools>span{font-size:11px;font-weight:800;color:#8792a0;text-transform:uppercase;letter-spacing:.06em}.apa-performance-tools a{padding:6px 10px;border-radius:9px;color:#536174;text-decoration:none;font-size:12px;font-weight:700}.apa-performance-tools a.is-active{background:#fff1f2;color:#cf1826}
.apa-procedure-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 30px;margin-bottom:16px;border-radius:22px;color:#fff;background:linear-gradient(120deg,#151d2a,#63202b);box-shadow:0 16px 40px rgba(19,28,41,.12)}.apa-procedure-hero h2{margin:5px 0;color:#fff;font-size:28px}.apa-procedure-hero p{max-width:920px;margin:0;color:#dce2ea;line-height:1.55}.apa-procedure-grading{background:linear-gradient(120deg,#111827,#3c2830 70%,#8b1f2b)}
.apa-process-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center;margin:0 0 18px}.apa-process-flow article,.apa-grading-principles article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e4e8ee;border-radius:15px;background:#fff}.apa-process-flow article>b,.apa-grading-principles article>b{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#172033;color:#fff}.apa-process-flow strong,.apa-process-flow small,.apa-grading-principles strong,.apa-grading-principles small{display:block}.apa-process-flow small,.apa-grading-principles small{margin-top:2px;color:#7b8694}.apa-process-flow>i{font-style:normal;color:#9aa4b0;font-size:20px}.apa-grading-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.apa-grading-principles article>b{background:#e51f2e}
.apa-review-stage-editor,.apa-grading-editor{display:grid;gap:14px;margin-top:18px}.apa-review-stage-editor>article,.apa-grading-editor>article{padding:18px;border:1px solid #e4e9ef;border-radius:16px;background:#fbfcfd}.apa-stage-title,.apa-grading-step-title{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:start}.apa-stage-title>b,.apa-grading-step-title>b{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#172033;color:#fff}.apa-stage-title h3,.apa-grading-step-title h3{margin:0;font-size:17px}.apa-stage-title p,.apa-grading-step-title p{margin:3px 0 0;color:#7b8694}.apa-stage-check,.apa-grading-step-title>label{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e1e6ed;font-weight:700}.apa-stage-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0 52px}.apa-stage-links label,.apa-grading-editor article>label,.apa-grading-kpi label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:#536174}.apa-stage-links input,.apa-grading-editor select,.apa-grading-editor input{width:100%;min-height:42px;border:1px solid #d8dfe7!important;border-radius:10px!important;background:#fff!important}.apa-grading-kpi{display:grid;grid-template-columns:160px 1fr;gap:10px;margin-top:14px}
.apa-review-cycle-grid,.apa-grading-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}.apa-review-cycle-grid>article,.apa-grading-grid>article{padding:18px;border:1px solid #e3e8ee;border-radius:16px;background:#fff}.apa-review-card-head,.apa-grading-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.apa-review-year,.apa-grade-path{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#536174;font-size:10px;font-weight:800}.apa-review-card-head h3,.apa-grading-card-head h3{margin:7px 0 2px}.apa-review-card-head small,.apa-grading-card-head small{color:#7b8694}.apa-review-card-head>strong{font-size:26px;color:#e51f2e}.apa-review-stage-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.apa-review-stage-row span{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;border-radius:10px;background:#f5f7f9;color:#7b8694;font-size:11px;font-weight:800}.apa-review-stage-row span.is-done{background:#eaf8ef;color:#137a39}.apa-review-stage-row i{font-style:normal}.apa-review-card-actions{display:flex;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #edf0f3}.apa-review-card-actions a,.apa-card-edit-link{color:#d71927;text-decoration:none;font-weight:800}.apa-review-card-actions span{color:#9aa4b0}.apa-grading-final{padding:7px 10px;border-radius:999px;background:#f2f4f7;color:#536174;font-size:11px;font-weight:900}.apa-grading-grid>article.status-promoted{border-color:#a9e3bd;background:linear-gradient(180deg,#fff,#f3fff7)}.apa-grading-grid>article.status-promoted .apa-grading-final{background:#dcfce7;color:#166534}.apa-grading-grid>article.status-not_promoted{border-color:#fecaca;background:linear-gradient(180deg,#fff,#fff5f5)}.apa-grading-grid>article.status-not_promoted .apa-grading-final{background:#fee2e2;color:#991b1b}.apa-grading-progress{display:flex;align-items:center;gap:10px;margin:16px 0}.apa-grading-progress i{display:block;flex:1;height:8px;border-radius:999px;background:#eef1f5;overflow:hidden}.apa-grading-progress i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#e51f2e,#ff6671)}.apa-grading-progress strong{font-size:11px}.apa-grading-stage-pills{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.apa-grading-stage-pills span{display:flex;flex-direction:column;gap:2px;padding:9px;border-radius:10px;background:#f5f7f9;color:#7b8694;font-size:11px;font-weight:800}.apa-grading-stage-pills span.is-done{background:#edf9f1;color:#16743b}.apa-grading-stage-pills b{font-size:12px}
@media(max-width:1100px){.apa-performance-primary{grid-template-columns:1fr}.apa-process-flow{grid-template-columns:1fr}.apa-process-flow>i{display:none}.apa-grading-principles{grid-template-columns:1fr}.apa-stage-links{grid-template-columns:1fr;margin-left:0}.apa-stage-title,.apa-grading-step-title{grid-template-columns:40px 1fr}.apa-stage-check,.apa-grading-step-title>label{grid-column:1/-1}.apa-grading-kpi{grid-template-columns:1fr}.apa-procedure-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.apa-review-stage-row,.apa-grading-stage-pills{grid-template-columns:1fr}.apa-review-card-actions{flex-direction:column}.apa-procedure-hero{padding:20px}.apa-procedure-hero h2{font-size:23px}}

/* v2.8.1 Grading UX */
.apa-grading-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:14px;border:1px solid #e5e9ef;border-radius:14px;background:#f8fafc}
.apa-grading-filters label{flex:1 1 260px}.apa-grading-filters input,.apa-grading-filters select{width:100%;min-height:42px;border-radius:10px!important;border:1px solid #d8dfe7!important;background:#fff!important}
.apa-form-actions-spread{display:flex;justify-content:space-between;align-items:center;gap:12px}.apa-form-actions .button .dashicons{margin-top:4px}
.apa-inline-action{margin-top:12px!important;text-decoration:none!important}
.apa-grading-card-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #edf0f3}.apa-grading-card-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border-radius:9px}
.apa-danger-button{color:#b42318!important;border-color:#f3b4ae!important;background:#fff7f6!important}.apa-danger-button:hover{color:#8a1c13!important;border-color:#ea8d84!important;background:#fff1ef!important}
.apa-grading-editor article:focus-within{border-color:#cdd6e1;box-shadow:0 0 0 3px rgba(23,32,51,.06)}
.apa-grading-principles article{min-height:74px}.apa-grading-principles article div{min-width:0}.apa-grading-principles article strong{font-size:14px}.apa-grading-principles article small{font-size:11px}
.apa-grading-stage-pills span{min-height:54px;justify-content:center}
.apa-performance-form input:focus,.apa-performance-form select:focus,.apa-performance-form textarea:focus,.apa-grading-filters input:focus,.apa-grading-filters select:focus{outline:2px solid #2271b1!important;outline-offset:1px;box-shadow:none!important}
@media(max-width:700px){.apa-grading-filters{align-items:stretch}.apa-grading-filters .button{width:100%}.apa-grading-card-actions{display:grid;grid-template-columns:1fr}.apa-form-actions-spread{flex-direction:column-reverse;align-items:stretch}.apa-form-actions-spread .button{width:100%;justify-content:center}}


/* v2.8.2 — Grading automatic data sources */
.apa-grading-auto-note{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px;padding:14px 16px;border:1px solid #cfe1ff;background:#f5f9ff;border-radius:14px}.apa-grading-auto-note .dashicons{color:#2271b1;margin-top:2px}.apa-grading-auto-note strong{display:block;color:#122033}.apa-grading-auto-note p{margin:3px 0 0;color:#5f6f82}.apa-auto-source-card{position:relative}.apa-auto-source-card.is-synced{border-color:#bfe7ce;background:linear-gradient(180deg,#fff,#f8fffa)}.apa-auto-source-card.is-waiting{border-color:#eadfb7;background:linear-gradient(180deg,#fff,#fffdf7)}.apa-auto-state{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 11px;border-radius:999px;font-weight:700;font-size:12px;background:#eef2f6;color:#435267;white-space:nowrap}.apa-auto-source-card.is-synced .apa-auto-state{background:#dff7e7;color:#17733a}.apa-auto-source-card.is-waiting .apa-auto-state{background:#fff3c9;color:#8a6200}.apa-auto-source-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,.7fr);gap:12px;margin-top:14px}.apa-auto-source-grid>div{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid #e1e7ef;border-radius:12px;background:#fff}.apa-auto-source-grid small{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#7b8797;font-weight:700}.apa-auto-source-grid strong{font-size:15px;color:#152237}.apa-auto-source-grid span{color:#6a7788;font-size:12px}@media(max-width:782px){.apa-auto-source-grid{grid-template-columns:1fr}.apa-grading-auto-note{padding:12px}.apa-auto-state{white-space:normal;text-align:center}}


/* v2.8.5 — acces rapid cursuri din profilul cursantului */
.apa-profile-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.apa-course-access-button{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#fff!important;border-color:#d71920!important;color:#c8171e!important;box-shadow:none!important}
.apa-course-access-button:hover,.apa-course-access-button:focus{background:#fff5f5!important;border-color:#b41117!important;color:#a70f15!important}
.apa-course-access-toolbar{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:16px}.apa-course-access-toolbar label{flex:1}.apa-course-access-toolbar input[type=search]{width:100%;min-height:46px;border:1px solid #d8dee8;border-radius:11px;padding:0 14px;font-size:14px}.apa-course-access-toolbar>[data-apa-course-access-count]{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#fff1f2;color:#b3131a;font-weight:800;font-size:12px}
.apa-course-access-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:430px;overflow:auto;padding:2px}.apa-course-access-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #e1e6ed;border-radius:13px;background:#fff;cursor:pointer;transition:.16s ease}.apa-course-access-item:hover{border-color:#ef9da1;background:#fffafa}.apa-course-access-item input{width:18px;height:18px;flex:0 0 18px}.apa-course-access-check{width:36px;height:36px;border-radius:10px;background:#fff1f2;color:#d71920;display:flex;align-items:center;justify-content:center;flex:0 0 36px}.apa-course-access-copy{min-width:0}.apa-course-access-copy strong,.apa-course-access-copy small{display:block}.apa-course-access-copy strong{color:#17212b;font-size:14px;line-height:1.35}.apa-course-access-copy small{margin-top:4px;color:#77808e;font-size:11px}.apa-course-access-item.is-enrolled{cursor:default;background:#f7f8fa;border-color:#e6e9ee;opacity:.72}.apa-course-access-item.is-enrolled .apa-course-access-check{background:#e9f8ef;color:#168447}.apa-course-access-form .apa-modal-actions{position:sticky;bottom:0;background:#fff;margin-left:-32px;margin-right:-32px;padding-left:32px;padding-right:32px;padding-bottom:4px}.apa-course-access-form [data-apa-course-access-submit]:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:782px){.apa-course-access-list{grid-template-columns:1fr;max-height:52vh}.apa-course-access-toolbar{align-items:stretch;flex-direction:column}.apa-course-access-toolbar>[data-apa-course-access-count]{align-self:flex-start}.apa-profile-actions{justify-content:flex-start!important}.apa-course-access-form .apa-modal-actions{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}}

/* v2.8.6 — Course Access: departamente + reînrolare */
.apa-course-access-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,.45fr) minmax(160px,.38fr) auto;align-items:center;gap:10px;margin-bottom:12px}
.apa-course-search-field,.apa-course-filter-field{margin:0}.apa-course-filter-field select{width:100%;min-height:46px;border:1px solid #d8dee8;border-radius:11px;background:#fff;padding:0 34px 0 12px;font-size:13px;color:#243042}
.apa-course-access-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 14px;color:#687386;font-size:11px;font-weight:700}.apa-course-access-legend span{display:inline-flex;align-items:center;gap:7px}.apa-legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.apa-legend-dot.is-new{background:#d71920}.apa-legend-dot.is-enrolled{background:#20a05a}
.apa-course-access-item{position:relative;overflow:hidden}.apa-course-access-item.is-selected{border-color:#d71920;background:#fff8f8;box-shadow:0 0 0 2px rgba(215,25,32,.07)}
.apa-course-access-item.is-enrolled{cursor:pointer;background:#fbfdfc;border-color:#d9ebe1;opacity:1}.apa-course-access-item.is-enrolled:hover{border-color:#79c99c;background:#f7fcf9}.apa-course-access-item.is-enrolled.is-selected{border-color:#1d9b57;background:#f2fbf6;box-shadow:0 0 0 2px rgba(29,155,87,.08)}
.apa-course-access-item.is-enrolled .apa-course-access-check{background:#e9f8ef;color:#168447}.apa-course-access-item.is-enrolled.is-selected .apa-course-access-check{background:#168447;color:#fff}
.apa-course-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.apa-course-title-row strong{flex:0 1 auto}.apa-enrolled-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#e9f8ef;color:#137842;font-size:9px;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.apa-enrolled-badge .dashicons{font-size:13px;width:13px;height:13px}
.apa-reenroll-hint{display:block;margin-top:5px;color:#168447;font-size:10px;font-weight:800}.apa-course-access-empty-filter{margin:14px 0 4px;padding:28px 20px;border:1px dashed #d9dee7;border-radius:14px;text-align:center;background:#fafbfc;color:#687386}.apa-course-access-empty-filter .dashicons{display:block;margin:0 auto 8px;font-size:28px;width:28px;height:28px;color:#a0a8b5}.apa-course-access-empty-filter strong,.apa-course-access-empty-filter small{display:block}.apa-course-access-empty-filter strong{color:#202a36;margin-bottom:4px}
@media(max-width:1100px){.apa-course-access-toolbar{grid-template-columns:1fr 1fr}.apa-course-access-toolbar>[data-apa-course-access-count]{justify-self:start}}
@media(max-width:782px){.apa-course-access-toolbar{display:flex;flex-direction:column;align-items:stretch}.apa-course-access-toolbar>[data-apa-course-access-count]{align-self:flex-start}.apa-course-access-legend{font-size:10px}.apa-course-title-row{align-items:flex-start}.apa-enrolled-badge{margin-top:1px}}

/* v2.8.7 — Profil cursant: informații reorganizate ergonomic */
.apa-student-profile-meta-v287{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;border:0!important;border-radius:0!important;overflow:visible!important;background:transparent!important;align-items:start}
.apa-student-profile-meta-v287>.apa-profile-info-group{padding:0!important;border:1px solid #e2e7ee!important;border-radius:16px!important;background:rgba(255,255,255,.96)!important;overflow:hidden;box-shadow:0 8px 24px rgba(17,28,41,.045);min-width:0}
.apa-student-profile-meta-v287>.apa-profile-info-group:hover{background:#fff!important;border-color:#d4dbe5!important;box-shadow:0 12px 30px rgba(17,28,41,.07)}
.apa-profile-info-head{display:flex;align-items:center;gap:10px;padding:14px 15px 12px;border-bottom:1px solid #edf0f4;background:linear-gradient(180deg,#fff,#fafbfc)}
.apa-profile-info-icon{display:grid!important;place-items:center;width:34px!important;height:34px!important;border-radius:10px;background:#fff0f1;color:#d71920;font-size:18px!important;line-height:34px!important}
.apa-profile-info-head strong{font-size:13px!important;color:#17212b!important;letter-spacing:-.01em}
.apa-profile-info-body{display:grid;padding:4px 14px 8px}
.apa-profile-info-row{display:grid!important;grid-template-columns:minmax(100px,.72fr) minmax(0,1.28fr);gap:12px;align-items:start;padding:10px 0!important;border:0!important;border-bottom:1px solid #f0f2f5!important;background:transparent!important}
.apa-profile-info-row:last-child{border-bottom:0!important}.apa-profile-info-row:hover{background:transparent!important}
.apa-profile-info-row span{margin:0!important;color:#7a8594!important;font-size:10.5px!important;font-weight:700!important;line-height:1.35}
.apa-profile-info-row strong{font-size:12.5px!important;line-height:1.4;color:#17212b!important;font-weight:750!important;overflow-wrap:anywhere}
.apa-profile-info-row.is-empty strong{color:#b0b7c1!important;font-weight:600!important}
.apa-profile-group-work .apa-profile-info-icon{background:#fff0f1;color:#d71920}.apa-profile-group-contact .apa-profile-info-icon{background:#eef6ff;color:#2271b1}.apa-profile-group-account .apa-profile-info-icon{background:#eef8f2;color:#168447}
.apa-profile-quickfacts{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin-top:0}
.apa-profile-quickfacts>div{display:grid;grid-template-columns:30px auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;min-width:190px;padding:10px 13px;border:1px solid #e5e9ef;border-radius:12px;background:#fff}
.apa-profile-quickfacts .dashicons{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f3f5f7;color:#697586}.apa-profile-quickfacts small{font-size:9.5px;color:#8a94a2;font-weight:700}.apa-profile-quickfacts strong{font-size:12px;color:#243042}
@media(max-width:1450px){.apa-student-profile-meta-v287{grid-template-columns:repeat(2,minmax(0,1fr))!important}.apa-profile-group-account{grid-column:1/-1}.apa-profile-group-account .apa-profile-info-body{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.apa-profile-group-account .apa-profile-info-row:nth-child(odd){border-right:1px solid #f0f2f5!important;padding-right:20px!important}}
@media(max-width:1000px){.apa-student-profile-meta-v287{grid-template-columns:1fr!important}.apa-profile-group-account{grid-column:auto}.apa-profile-group-account .apa-profile-info-body{grid-template-columns:1fr}.apa-profile-group-account .apa-profile-info-row:nth-child(odd){border-right:0!important;padding-right:0!important}}
@media(max-width:600px){.apa-profile-info-row{grid-template-columns:1fr;gap:3px}.apa-profile-info-head{padding:12px}.apa-profile-info-body{padding-left:12px;padding-right:12px}.apa-profile-quickfacts>div{flex:1 1 100%}}


/* v2.8.8 — profil cursant compact + date de acces */
.apa-student-profile-meta-v288{grid-column:2!important;grid-row:2!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr)!important;gap:18px!important;align-items:start!important;margin:0!important}
.apa-profile-summary-card,.apa-profile-access-card{background:#fff;border:1px solid #e3e8ef;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(16,24,40,.05)}
.apa-profile-summary-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;border-bottom:1px solid #edf0f4;background:linear-gradient(180deg,#fff,#fbfcfd)}
.apa-profile-summary-head>div{display:flex;align-items:center;gap:11px;min-width:0}.apa-profile-summary-head .dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0f1;color:#e21b23;font-size:19px;line-height:38px}
.apa-profile-summary-head small{display:block;color:#8a94a2;font-size:9px;font-weight:850;letter-spacing:.12em}.apa-profile-summary-head h3{margin:2px 0 0;font-size:14px;color:#17212b}
.apa-account-status{padding:6px 10px;border-radius:999px;font-size:10px;font-weight:850}.apa-account-status.is-active{background:#eaf9ef;color:#138a46}
.apa-profile-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:6px 16px 12px}.apa-profile-data-tile{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:13px 8px;border-bottom:1px solid #f0f2f5}.apa-profile-data-tile:nth-last-child(-n+2){border-bottom:0}.apa-profile-data-tile>.dashicons{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f5f7fa;color:#6b7788;font-size:16px}.apa-profile-data-tile small,.apa-profile-data-tile strong{display:block}.apa-profile-data-tile small{margin-bottom:3px;color:#8a94a2;font-size:9.5px;font-weight:750}.apa-profile-data-tile strong{font-size:12.5px;color:#17212b;line-height:1.35;overflow-wrap:anywhere}
.apa-profile-access-card{min-width:0}.apa-profile-access-list{display:grid;padding:5px 16px 8px}.apa-profile-access-row{display:grid;grid-template-columns:28px 105px minmax(0,1fr);gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #f0f2f5}.apa-profile-access-row>.dashicons{color:#7c8797;font-size:15px}.apa-profile-access-row small{color:#8993a1;font-size:9.5px;font-weight:750}.apa-profile-access-row strong{font-size:12px;color:#17212b;overflow-wrap:anywhere}
.apa-profile-password-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;margin:8px 16px 12px;padding:12px;border:1px solid #ffd9dc;border-radius:13px;background:#fff7f7}.apa-profile-password-row>.dashicons{color:#d71920}.apa-profile-password-row small{display:block;margin-bottom:4px;color:#9a6b6e;font-size:9.5px;font-weight:800}.apa-password-display{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.apa-password-display code{display:inline-block;padding:5px 8px;border-radius:8px;background:#fff;border:1px solid #f0cdd0;color:#a80f16;font-size:14px;font-weight:850;letter-spacing:.05em}.apa-password-unavailable{font-size:11px;color:#8d6265}.apa-password-reset-button{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important}
.apa-profile-account-foot{display:flex;gap:12px;flex-wrap:wrap;padding:10px 16px 14px;border-top:1px solid #edf0f4;color:#8a94a2;font-size:9.5px}.apa-profile-account-foot strong{color:#4a5565}
@media(max-width:1200px){.apa-student-profile-meta-v288{grid-column:1!important;grid-row:auto!important;grid-template-columns:1fr!important}}
@media(max-width:700px){.apa-profile-summary-grid{grid-template-columns:1fr}.apa-profile-data-tile:nth-last-child(-n+2){border-bottom:1px solid #f0f2f5}.apa-profile-data-tile:last-child{border-bottom:0}.apa-profile-access-row{grid-template-columns:26px 1fr}.apa-profile-access-row strong{grid-column:2}.apa-profile-password-row{grid-template-columns:26px 1fr}.apa-profile-password-row form{grid-column:2}.apa-profile-password-row form .button{width:100%}}

/* ===== v2.8.9 — Student profile visual refinement ===== */
.apa-student-profile-hero{padding:28px!important;display:block!important;position:relative!important;background:linear-gradient(135deg,#fff 0%,#fff 72%,#fff7f7 100%)!important;border:1px solid #e6eaf0!important;border-radius:20px!important;box-shadow:0 16px 42px rgba(16,24,40,.06)!important}
.apa-profile-actions{position:absolute!important;top:28px!important;right:28px!important;z-index:5!important;display:flex!important;align-items:center!important;gap:10px!important}
.apa-profile-actions form{margin:0!important}.apa-course-access-button,.apa-edit-profile-button,.apa-delete-student-button{min-height:40px!important;border-radius:10px!important;padding:0 15px!important;font-weight:750!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
.apa-course-access-button{background:#e21b23!important;border-color:#e21b23!important;box-shadow:0 8px 20px rgba(226,27,35,.18)!important}.apa-delete-student-button{background:#fff!important;color:#d71920!important;border:1px solid #f0a3a7!important}

.apa-profile-v289-layout{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(520px,1.55fr) minmax(330px,.95fr);gap:18px;align-items:stretch;padding-top:62px}
.apa-profile-v289-identity,.apa-profile-v289-card{border:1px solid #e3e8ef;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 10px 30px rgba(16,24,40,.05)}
.apa-profile-v289-identity{padding:24px 20px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0;position:relative;overflow:hidden}
.apa-profile-v289-identity:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#e21b23}
.apa-profile-v289-avatar-wrap{position:relative;margin-top:2px}.apa-profile-v289-avatar-wrap img,.apa-profile-v289-avatar-wrap .avatar{width:150px!important;height:150px!important;border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 4px #fff,0 0 0 7px #ee575d,0 14px 28px rgba(16,24,40,.12)!important}
.apa-profile-online-dot{position:absolute;right:3px;bottom:14px;width:18px;height:18px;border-radius:50%;background:#16a34a;border:4px solid #fff;box-shadow:0 4px 10px rgba(22,163,74,.25)}
.apa-profile-v289-identity h2{margin:22px 0 7px!important;color:#111c29!important;font-size:26px!important;line-height:1.02!important;font-weight:850!important;letter-spacing:-.035em!important}
.apa-profile-v289-position{margin:0!important;color:#596579!important;font-size:13px!important;font-weight:750!important;line-height:1.4!important}.apa-profile-v289-department{margin:3px 0 0!important;color:#596579!important;font-size:12px!important;font-weight:650!important;line-height:1.4!important}
.apa-profile-v289-contact-actions{justify-content:center!important;margin-top:18px!important}.apa-profile-v289-contact-actions a{min-height:38px!important;border-radius:10px!important;padding:8px 12px!important;background:#fff!important;box-shadow:0 3px 10px rgba(16,24,40,.03)}
.apa-profile-v289-status{width:100%;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;text-align:left;margin-top:auto;padding:13px;border:1px solid #ccebd7;border-radius:12px;background:linear-gradient(135deg,#eefbf3,#f9fffb)}.apa-profile-v289-status>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#dff5e7;color:#149447}.apa-profile-v289-status strong,.apa-profile-v289-status small{display:block}.apa-profile-v289-status strong{font-size:12px;color:#11783b}.apa-profile-v289-status small{margin-top:2px;color:#6b7a70;font-size:9.5px}

.apa-profile-v289-card{overflow:hidden;min-width:0}.apa-profile-v289-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #edf0f4;background:linear-gradient(180deg,#fff,#fbfcfd)}.apa-profile-v289-card-head>div{display:flex;align-items:center;gap:11px;min-width:0}.apa-profile-v289-card-head>div>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0f1;color:#e21b23;font-size:18px;line-height:38px}.apa-profile-v289-card-head small{display:block;color:#8b95a4;font-size:9px;font-weight:850;letter-spacing:.12em}.apa-profile-v289-card-head h3{margin:2px 0 0!important;font-size:15px!important;color:#17212b!important;line-height:1.2!important}
.apa-profile-v289-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 16px 14px;column-gap:16px}.apa-profile-v289-info-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:12px 4px;border-bottom:1px solid #f0f2f5;min-width:0}.apa-profile-v289-info-item>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f5f7fa;color:#637286;font-size:16px}.apa-profile-v289-info-item small,.apa-profile-v289-info-item strong{display:block}.apa-profile-v289-info-item small{margin-bottom:3px;color:#8a94a2;font-size:9.5px;font-weight:750}.apa-profile-v289-info-item strong{font-size:12.5px;line-height:1.35;color:#17212b;font-weight:750;overflow-wrap:anywhere}

.apa-profile-v289-access-list{display:grid;padding:7px 16px 4px}.apa-profile-v289-access-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:11px 2px;border-bottom:1px solid #f0f2f5}.apa-profile-v289-access-row>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef6ff;color:#2271b1;font-size:16px}.apa-profile-v289-access-row small,.apa-profile-v289-access-row strong{display:block}.apa-profile-v289-access-row small{margin-bottom:3px;color:#8a94a2;font-size:9.5px;font-weight:750}.apa-profile-v289-access-row strong{font-size:12.5px;color:#17212b;overflow-wrap:anywhere}
.apa-profile-v289-password-box{margin:9px 16px 13px;padding:12px;border:1px solid #cfe1f9;border-radius:14px;background:linear-gradient(135deg,#f6faff,#fbfdff)}.apa-profile-v289-password-main{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center}.apa-profile-v289-password-main>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e9f4ff;color:#1772c3}.apa-profile-v289-password-main small{display:block;margin-bottom:4px;color:#6f7e91;font-size:9.5px;font-weight:800}.apa-profile-v289-password-note{display:block;margin-top:5px;color:#2b70b2;font-size:9.5px}.apa-profile-v289-password-box form{margin-top:11px}.apa-profile-v289-password-button{width:100%!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:10px!important;background:#fff!important;border:1px solid #c4d2e4!important;color:#17212b!important;font-weight:800!important}.apa-profile-v289-password-button small{display:block;margin-left:2px;color:#7d8898;font-size:9px;font-weight:600}.apa-profile-v289-password-button:hover{border-color:#e21b23!important;color:#d71920!important}
.apa-profile-v289-system-meta{display:grid;grid-template-columns:1fr;gap:0;padding:0 16px 12px}.apa-profile-v289-system-meta>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #f0f2f5}.apa-profile-v289-system-meta .dashicons{color:#4877a8}.apa-profile-v289-system-meta small{color:#8a94a2;font-size:9.5px;font-weight:750}.apa-profile-v289-system-meta strong{font-size:11.5px;color:#17212b;text-align:right}

.apa-student-kpis{margin-top:18px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}.apa-student-kpis .apa-kpi-card{border-radius:15px!important;box-shadow:0 8px 22px rgba(16,24,40,.045)!important}

@media(max-width:1450px){.apa-profile-v289-layout{grid-template-columns:260px minmax(0,1fr)}.apa-profile-v289-access{grid-column:2}.apa-profile-v289-identity{grid-row:1/3}.apa-student-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1100px){.apa-profile-actions{position:static!important;justify-content:flex-end!important;margin-bottom:16px}.apa-profile-v289-layout{padding-top:0;grid-template-columns:1fr}.apa-profile-v289-identity,.apa-profile-v289-access{grid-column:auto;grid-row:auto}.apa-profile-v289-identity{padding-bottom:20px}.apa-profile-v289-status{max-width:360px;margin-top:18px}.apa-profile-v289-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.apa-student-profile-hero{padding:18px!important}.apa-profile-actions{justify-content:flex-start!important}.apa-profile-actions .button{flex:1 1 auto!important}.apa-profile-v289-info-grid{grid-template-columns:1fr}.apa-profile-v289-identity h2{font-size:23px!important}.apa-profile-v289-system-meta>div{grid-template-columns:28px 1fr}.apa-profile-v289-system-meta strong{grid-column:2;text-align:left}.apa-profile-v289-password-button{flex-direction:column!important;gap:2px!important}.apa-student-kpis{grid-template-columns:1fr!important}}

/* v2.9.0 — Calendar PROFMET */
.apa-calendar-hero{position:relative;overflow:hidden;background:linear-gradient(128deg,#111c29 0%,#202c3e 54%,#721c28 100%);color:#fff;border-radius:22px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 45px rgba(17,28,41,.14);margin-bottom:16px}
.apa-calendar-hero:after{content:"";position:absolute;right:-20px;top:-80px;width:300px;height:260px;background:radial-gradient(circle,rgba(255,75,83,.27),transparent 65%)}.apa-calendar-hero>div,.apa-calendar-hero>button{position:relative;z-index:1}.apa-calendar-hero h2{color:#fff;margin:5px 0 6px;font-size:26px;letter-spacing:-.025em}.apa-calendar-hero p{margin:0;color:#dce3eb;max-width:900px;line-height:1.55}
.apa-calendar-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}.apa-calendar-kpis>div{background:#fff;border:1px solid #e3e8ee;border-radius:15px;padding:15px 17px;box-shadow:0 7px 20px rgba(17,28,41,.045);display:flex;align-items:baseline;gap:10px}.apa-calendar-kpis b{font-size:25px;color:#111c29}.apa-calendar-kpis span{font-size:12px;color:#748091;font-weight:650}
.apa-calendar-new-form{border-top:4px solid #d71920}.apa-calendar-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.apa-calendar-form-grid label{display:flex;flex-direction:column;gap:6px}.apa-calendar-form-grid label>span{font-size:12px;font-weight:750;color:#475467}.apa-calendar-form-grid input,.apa-calendar-form-grid select,.apa-calendar-form-grid textarea{width:100%;border:1px solid #d2d8e0;border-radius:10px;padding:9px 11px;min-height:40px}.apa-calendar-form-grid input:focus,.apa-calendar-form-grid select:focus,.apa-calendar-form-grid textarea:focus{border-color:#d71920;box-shadow:0 0 0 3px rgba(215,25,32,.09);outline:0}.apa-calendar-form-grid .span-2{grid-column:span 2}.apa-calendar-form-grid .span-4{grid-column:span 4}.apa-calendar-form-actions{display:flex;justify-content:flex-end}.apa-calendar-form-actions .button{min-height:42px;display:inline-flex;align-items:center;gap:7px}
.apa-calendar-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.apa-calendar-main,.apa-calendar-agenda{background:#fff;border:1px solid #e1e6ec;border-radius:18px;box-shadow:0 12px 34px rgba(17,28,41,.06);overflow:hidden}.apa-calendar-toolbar{padding:16px 18px;border-bottom:1px solid #e8ecf0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:linear-gradient(180deg,#fff,#fbfcfd)}.apa-calendar-nav{display:flex;align-items:center;gap:7px}.apa-calendar-nav .button{width:38px;min-height:38px;display:grid;place-items:center;border-radius:10px}.apa-calendar-nav .button:nth-child(2){width:auto;padding:0 13px}.apa-calendar-nav h2{margin:0 0 0 9px;font-size:20px;color:#111c29;min-width:170px}.apa-calendar-filters{display:flex;gap:7px;align-items:center;flex:1;justify-content:flex-end}.apa-calendar-filters .apa-search{max-width:320px;min-width:220px}.apa-calendar-filters select{max-width:190px;min-height:38px;border-radius:9px;border-color:#d2d8e0}.apa-calendar-filters .button{min-height:38px}
.apa-calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f7f8fa;border-bottom:1px solid #e8ecf0}.apa-calendar-weekdays span{text-align:center;padding:10px 4px;font-size:11px;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.04em}.apa-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.apa-calendar-day{min-height:132px;border-right:1px solid #edf0f3;border-bottom:1px solid #edf0f3;padding:8px;background:#fff;transition:.15s ease}.apa-calendar-day:nth-child(7n){border-right:0}.apa-calendar-day:hover{background:#fffafa}.apa-calendar-day.is-other{background:#fafbfc;color:#a0a8b2}.apa-calendar-day.is-today{background:linear-gradient(180deg,#fff5f5,#fff)}.apa-calendar-day-head{display:flex;align-items:center;justify-content:space-between;height:25px}.apa-calendar-day-head b{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:12px}.apa-calendar-day.is-today .apa-calendar-day-head b{background:#d71920;color:#fff;box-shadow:0 5px 12px rgba(215,25,32,.24)}.apa-calendar-day-head span{font-size:8px;letter-spacing:.08em;color:#d71920;font-weight:900}.apa-calendar-day-events{display:grid;gap:4px;margin-top:4px}.apa-cal-event{width:100%;border:0;border-radius:7px;padding:5px 6px;text-align:left;display:flex;align-items:flex-start;gap:5px;background:#f3f5f7;color:#283341;font-size:10.5px;line-height:1.25;cursor:pointer;transition:.15s ease;overflow:hidden}.apa-cal-event:hover{transform:translateX(2px);box-shadow:0 4px 10px rgba(17,28,41,.07)}.apa-cal-event i{width:6px;height:6px;border-radius:50%;background:#7b8794;flex:0 0 6px;margin-top:3px}.apa-cal-event span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apa-cal-event.type-training{background:#eef8f2;color:#126b34}.apa-cal-event.type-training i{background:#20a45a}.apa-cal-event.type-performance{background:#eef3fb;color:#234f91}.apa-cal-event.type-performance i{background:#3f74c8}.apa-cal-event.type-feedback360{background:#f1edfb;color:#6544a3}.apa-cal-event.type-feedback360 i{background:#7956bf}.apa-cal-event.type-grading{background:#fff3df;color:#875900}.apa-cal-event.type-grading i{background:#d39415}.apa-cal-event.type-development{background:#edf9f8;color:#176b68}.apa-cal-event.type-development i{background:#2a9c96}.apa-cal-event.type-certificate{background:#fff8df;color:#8d6500}.apa-cal-event.type-certificate i{background:#dca90c}.apa-cal-event.type-company,.apa-cal-event.type-general{background:#fff0f1;color:#9c1d27}.apa-cal-event.type-company i,.apa-cal-event.type-general i{background:#d71920}.apa-cal-event.type-birthday{background:#fff0f7;color:#a52c67}.apa-cal-event.type-birthday i{background:#d74a8d}.apa-cal-event.type-anniversary{background:#f0f5ff;color:#3d5e9c}.apa-cal-event.type-anniversary i{background:#587bc3}.apa-cal-more{font-size:10px;font-weight:800;color:#657180;padding:3px 5px}
.apa-calendar-agenda{position:sticky;top:42px;max-height:760px;overflow-y:auto}.apa-calendar-agenda-head{position:sticky;top:0;z-index:2;background:#fff;padding:17px;border-bottom:1px solid #e8ecf0;display:flex;align-items:center;gap:11px}.apa-calendar-agenda-head>.dashicons{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff0f1;color:#d71920}.apa-calendar-agenda-head h3{margin:0;font-size:17px;color:#111c29}.apa-calendar-agenda-head p{margin:2px 0 0;font-size:11px;color:#7b8794}.apa-agenda-item{border:0;border-bottom:1px solid #eef1f4;background:#fff;width:100%;padding:12px 14px;display:flex;gap:11px;text-align:left;cursor:pointer;transition:.15s ease}.apa-agenda-item:hover{background:#fff8f8}.apa-agenda-date{width:43px;height:48px;border:1px solid #e0e5eb;border-radius:11px;display:grid;place-items:center;align-content:center;background:#fafbfc;flex:0 0 43px}.apa-agenda-date b{font-size:17px;line-height:1}.apa-agenda-date small{font-size:8px;color:#788391;margin-top:3px}.apa-agenda-copy{min-width:0;display:block}.apa-agenda-copy em{display:inline-block;font-style:normal;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:#d71920}.apa-agenda-copy strong,.apa-agenda-copy small{display:block}.apa-agenda-copy strong{font-size:12px;color:#1d2939;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:225px}.apa-agenda-copy small{font-size:10px;color:#7b8794;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:225px}.apa-calendar-empty{padding:28px;text-align:center;color:#7b8794}
.apa-calendar-modal[hidden]{display:none!important}.apa-calendar-modal{position:fixed;inset:0;background:rgba(10,17,25,.48);backdrop-filter:blur(5px);z-index:100000;display:grid;place-items:center;padding:20px}.apa-calendar-modal-card{position:relative;background:#fff;border-radius:20px;width:min(560px,96vw);padding:27px;box-shadow:0 28px 80px rgba(0,0,0,.24)}.apa-calendar-modal-x{position:absolute;right:15px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f2f4f6;font-size:22px;cursor:pointer}.apa-calendar-modal-type{font-size:10px;font-weight:850;letter-spacing:.08em;color:#d71920;text-transform:uppercase;margin-bottom:7px}.apa-calendar-modal-card h2{font-size:23px;color:#111c29;margin:0 45px 14px 0}.apa-calendar-modal-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:13px}.apa-calendar-modal-meta span{background:#f5f7f9;border:1px solid #e6eaee;border-radius:999px;padding:6px 9px;font-size:11px;color:#495565}.apa-calendar-modal-card>p{color:#667085;line-height:1.6;white-space:pre-line}.apa-calendar-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.apa-cal-delete{color:#c8151c!important;border-color:#f1b5b8!important}
@media(max-width:1200px){.apa-calendar-shell{grid-template-columns:1fr}.apa-calendar-agenda{position:static;max-height:none}.apa-calendar-kpis{grid-template-columns:repeat(2,1fr)}.apa-calendar-toolbar{align-items:flex-start}.apa-calendar-filters{justify-content:flex-start;width:100%}}
@media(max-width:782px){.apa-calendar-hero{padding:22px;align-items:flex-start;flex-direction:column}.apa-calendar-kpis{grid-template-columns:1fr 1fr}.apa-calendar-form-grid{grid-template-columns:1fr}.apa-calendar-form-grid .span-2,.apa-calendar-form-grid .span-4{grid-column:span 1}.apa-calendar-main{overflow-x:auto}.apa-calendar-weekdays,.apa-calendar-grid{min-width:850px}.apa-calendar-filters{flex-direction:column;align-items:stretch}.apa-calendar-filters .apa-search{max-width:none;min-width:0}.apa-calendar-filters select{max-width:none}.apa-calendar-nav h2{font-size:17px;min-width:130px}.apa-calendar-day{min-height:120px}}


/* v2.9.2 — Performance & Assessment Hub */
.apa-performance-primary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px}.apa-performance-primary>a{min-width:0;padding:15px 14px}.apa-performance-primary>a>span:last-child{min-width:0}.apa-performance-primary b{font-size:13px}.apa-performance-primary small{font-size:10px;white-space:normal;line-height:1.3}.apa-hub-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:28px 30px;border-radius:22px;background:linear-gradient(120deg,#111827,#3b2630 72%,#7b1e2a);color:#fff;box-shadow:0 16px 40px rgba(19,28,41,.12)}.apa-hub-hero h2{margin:5px 0;color:#fff;font-size:28px}.apa-hub-hero p{margin:0;max-width:900px;color:#dce2ea}.apa-hub-hero .apa-primary-action[disabled]{opacity:.72;cursor:default}.apa-hub-contest{background:linear-gradient(120deg,#111827,#412a18 72%,#8a4d10)}.apa-hub-assessment{background:linear-gradient(120deg,#111827,#30213d 70%,#6a214f)}.apa-hub-coming{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid #e1e6ed;border-radius:18px;background:#fff}.apa-coming-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#fff0f2;color:#e51f2e}.apa-coming-icon .dashicons{font-size:28px;width:28px;height:28px}.apa-hub-coming h2{margin:0 0 5px}.apa-hub-coming p{margin:0;color:#6b7788}.apa-status-chip{margin-left:auto;padding:7px 10px;border-radius:999px;background:#f2f4f7;color:#657184;font-size:10px;font-weight:900;letter-spacing:.08em}.apa-feature-grid,.apa-assessment-types{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}.apa-feature-grid article,.apa-assessment-types article{padding:18px;border:1px solid #e2e7ed;border-radius:16px;background:#fff}.apa-feature-grid .dashicons{display:grid;place-items:center;width:38px;height:38px;margin-bottom:12px;border-radius:11px;background:#fff0f2;color:#e51f2e}.apa-feature-grid b,.apa-feature-grid small,.apa-assessment-types b,.apa-assessment-types small{display:block}.apa-feature-grid small,.apa-assessment-types small{margin-top:4px;color:#788496}.apa-assessment-types{grid-template-columns:repeat(5,1fr)}.apa-assessment-types article{position:relative;padding-top:44px}.apa-assessment-types article:before{content:'+';position:absolute;top:14px;left:18px;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e51f2e;color:#fff;font-weight:900}.apa-assessment-monitor .apa-empty .dashicons{font-size:34px;width:34px;height:34px;color:#e51f2e}
@media(max-width:1400px){.apa-performance-primary{grid-template-columns:repeat(3,1fr)!important}.apa-assessment-types{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.apa-performance-primary{grid-template-columns:repeat(2,1fr)!important}.apa-feature-grid,.apa-assessment-types{grid-template-columns:repeat(2,1fr)}.apa-hub-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.apa-performance-primary,.apa-feature-grid,.apa-assessment-types{grid-template-columns:1fr!important}.apa-hub-coming{align-items:flex-start}.apa-status-chip{margin-left:0}}

/* =========================================================
   Academia PROFMET Dashboard 2.9.2.2 — Executive Analytics
   Visual-only dashboard layer. Does not alter plugin logic.
   ========================================================= */
.apa-pro-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:34px;margin:18px 0 16px;padding:32px 36px;border-radius:24px;background:radial-gradient(circle at 92% 20%,rgba(238,31,46,.28),transparent 32%),linear-gradient(125deg,#111821 0%,#1d2935 58%,#202b35 100%);box-shadow:0 18px 45px rgba(15,23,42,.16);overflow:hidden;position:relative}.apa-pro-dashboard-hero:after{content:"";position:absolute;right:-80px;bottom:-120px;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%}.apa-pro-hero-copy{position:relative;z-index:1}.apa-pro-live{display:inline-flex;align-items:center;gap:8px;color:#dce4ec;font-size:10px;font-weight:900;letter-spacing:.15em}.apa-pro-live i{width:8px;height:8px;border-radius:50%;background:#24c875;box-shadow:0 0 0 5px rgba(36,200,117,.12)}.apa-pro-dashboard-hero h2{max-width:850px;margin:10px 0 8px;color:#fff;font-size:30px;line-height:1.15;letter-spacing:-.03em}.apa-pro-dashboard-hero p{max-width:780px;margin:0;color:#b9c5d0;font-size:14px;line-height:1.65}.apa-pro-hero-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.apa-pro-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 16px;border:1px solid rgba(255,255,255,.16);border-radius:11px;color:#fff;text-decoration:none;font-weight:800;background:rgba(255,255,255,.06);transition:.18s ease}.apa-pro-btn:hover{color:#fff;border-color:rgba(255,255,255,.34);transform:translateY(-1px)}.apa-pro-btn.is-primary{border-color:#ee1f2e;background:#ee1f2e;box-shadow:0 9px 24px rgba(238,31,46,.24)}.apa-pro-hero-score{position:relative;z-index:1;display:grid;justify-items:center;gap:8px}.apa-pro-ring{--score:0;width:150px;height:150px;border-radius:50%;padding:11px;background:conic-gradient(#ee1f2e calc(var(--score)*1%),rgba(255,255,255,.12) 0);box-shadow:0 14px 36px rgba(0,0,0,.18)}.apa-pro-ring>div{display:grid;place-content:center;width:100%;height:100%;box-sizing:border-box;border-radius:50%;background:#18222c;text-align:center}.apa-pro-ring strong{display:block;color:#fff;font-size:31px;line-height:1}.apa-pro-ring span{display:block;margin-top:6px;color:#9caebb;font-size:10px}.apa-pro-hero-score>small{color:#91a1ae;font-size:10px}
.apa-pro-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 16px}.apa-pro-kpi{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;min-width:0;padding:17px 16px;border:1px solid #e0e5ea;border-radius:16px;background:#fff;color:#101828;text-decoration:none;box-shadow:0 7px 22px rgba(15,23,42,.045);transition:.18s ease}.apa-pro-kpi:hover{border-color:#cbd3dc;color:#101828;transform:translateY(-2px);box-shadow:0 12px 28px rgba(15,23,42,.08)}.apa-pro-kpi-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-size:21px}.apa-pro-kpi>div{min-width:0}.apa-pro-kpi>div>span,.apa-pro-kpi>div>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-pro-kpi>div>span{color:#687588;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.apa-pro-kpi strong{display:block;margin:3px 0 2px;font-size:23px;line-height:1.1;letter-spacing:-.03em}.apa-pro-kpi small{color:#98a2b3;font-size:9px}.apa-pro-kpi-arrow{color:#c1c8d0;font-size:14px!important}.apa-pro-kpi.tone-blue .apa-pro-kpi-icon{background:#eaf2ff;color:#2766d7}.apa-pro-kpi.tone-green .apa-pro-kpi-icon{background:#e7f8ef;color:#1f9d61}.apa-pro-kpi.tone-amber .apa-pro-kpi-icon{background:#fff4dd;color:#c07a00}.apa-pro-kpi.tone-slate .apa-pro-kpi-icon{background:#edf0f3;color:#52606f}.apa-pro-kpi.tone-red .apa-pro-kpi-icon{background:#fff0f2;color:#e51f2e}.apa-pro-kpi.tone-purple .apa-pro-kpi-icon{background:#f3ebff;color:#7b42c8}
.apa-pro-analytics-grid{display:grid;grid-template-columns:1.05fr 1.55fr .9fr;gap:14px;margin-bottom:14px}.apa-pro-panel{min-width:0;border:1px solid #e0e5ea;border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(15,23,42,.04);padding:20px}.apa-pro-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.apa-pro-panel-head h2{margin:3px 0 3px;color:#182230;font-size:17px;line-height:1.25}.apa-pro-panel-head p{margin:0;color:#7d8998;font-size:11px;line-height:1.45}.apa-pro-panel-head>a{flex:0 0 auto;color:#e51f2e;font-size:11px;font-weight:800;text-decoration:none}.apa-pro-label{color:#98a2b3;font-size:9px;font-weight:900;letter-spacing:.14em}.apa-pro-badge,.apa-pro-alert-count{display:inline-grid;place-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#f3f5f7;color:#667085;font-size:10px;font-weight:800}.apa-pro-alert-count{background:#fff1da;color:#a86c00}
.apa-pro-donut-wrap{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:20px}.apa-pro-donut{--completed:0;--progress:0;width:140px;height:140px;padding:14px;border-radius:50%;box-sizing:border-box;background:conic-gradient(#22a96b 0 calc(var(--completed)*1%),#f2aa30 calc(var(--completed)*1%) calc((var(--completed) + var(--progress))*1%),#dfe4e9 calc((var(--completed) + var(--progress))*1%) 100%)}.apa-pro-donut>div{display:grid;place-content:center;width:100%;height:100%;border-radius:50%;background:#fff;text-align:center;box-shadow:inset 0 0 0 1px #eef1f4}.apa-pro-donut strong{font-size:27px;line-height:1;color:#17212c}.apa-pro-donut span{margin-top:5px;color:#8a96a5;font-size:9px}.apa-pro-legend{display:grid;gap:10px}.apa-pro-legend>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:8px}.apa-pro-legend i{width:8px;height:8px;border-radius:50%}.apa-pro-legend i.is-completed{background:#22a96b}.apa-pro-legend i.is-progress{background:#f2aa30}.apa-pro-legend i.is-notstarted{background:#dfe4e9}.apa-pro-legend span{color:#566273;font-size:10px}.apa-pro-legend strong{color:#1f2937;font-size:13px}.apa-pro-legend small{grid-column:2 / 4;margin-top:-6px;color:#9ba5b1;font-size:9px}
.apa-pro-histogram{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;height:188px;padding:8px 4px 0}.apa-pro-hist-col{display:grid;grid-template-rows:22px 1fr 18px;align-items:end;height:100%;text-align:center}.apa-pro-hist-value{color:#536071;font-size:9px;font-weight:800;opacity:0;transition:.2s}.apa-pro-hist-col:hover .apa-pro-hist-value{opacity:1}.apa-pro-hist-track{position:relative;display:flex;align-items:flex-end;height:142px;border-radius:8px;background:linear-gradient(to top,rgba(232,236,240,.85),rgba(248,249,250,.5));overflow:hidden}.apa-pro-hist-track:before,.apa-pro-hist-track:after{content:"";position:absolute;left:0;right:0;border-top:1px dashed rgba(148,163,184,.22)}.apa-pro-hist-track:before{top:33%}.apa-pro-hist-track:after{top:66%}.apa-pro-hist-track i{position:relative;z-index:1;width:100%;min-height:5px;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#ff4350,#e51f2e);box-shadow:0 -5px 16px rgba(229,31,46,.12);transition:.2s}.apa-pro-hist-col:hover i{filter:brightness(.96)}.apa-pro-hist-col>span{margin-top:6px;color:#7f8b98;font-size:9px;font-weight:800;text-transform:capitalize}
.apa-pro-health-metrics{display:grid;gap:15px}.apa-pro-health-metrics>div>span{display:block;color:#707c8b;font-size:10px}.apa-pro-health-metrics strong{display:block;margin:3px 0 7px;color:#17212c;font-size:19px}.apa-pro-health-metrics strong small{color:#8b97a5;font-size:10px;font-weight:600}.apa-pro-meter{height:6px;border-radius:999px;background:#edf0f3;overflow:hidden}.apa-pro-meter i{display:block;height:100%;border-radius:inherit;background:#e51f2e}.apa-pro-meter.is-green i{background:#20aa6a}.apa-pro-meter.is-amber i{background:#f0aa2e}.apa-pro-meter.is-purple i{background:#7a48c3}
.apa-pro-search{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0;padding:15px 18px;border:1px solid #e0e5ea;border-radius:16px;background:linear-gradient(90deg,#fff,#fbfcfd);box-shadow:0 6px 20px rgba(15,23,42,.035)}.apa-pro-search>div{display:flex;align-items:center;gap:12px;min-width:0}.apa-pro-search>div>.dashicons{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0f2;color:#e51f2e}.apa-pro-search strong,.apa-pro-search small{display:block}.apa-pro-search strong{color:#1f2937;font-size:13px}.apa-pro-search small{margin-top:2px;color:#8a95a3;font-size:10px}.apa-pro-search form{display:flex;gap:8px;width:min(520px,48%)}.apa-pro-search input{flex:1;min-width:0;height:38px;border:1px solid #d6dde4!important;border-radius:9px!important;box-shadow:none!important}.apa-pro-search button{min-width:80px;border:0;border-radius:9px;background:#e51f2e;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(229,31,46,.18)}
.apa-pro-content-grid{display:grid;grid-template-columns:1.15fr .9fr .95fr;gap:14px;margin-bottom:14px}.apa-pro-course-bars{display:grid}.apa-pro-course-row{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f3;color:#1f2937;text-decoration:none}.apa-pro-course-row:last-child{border-bottom:0}.apa-pro-course-row:hover strong{color:#e51f2e}.apa-pro-rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f3f5f7;color:#596675;font-size:10px;font-weight:900}.apa-pro-course-copy{min-width:0}.apa-pro-course-copy>div:first-child{display:flex;justify-content:space-between;gap:12px;min-width:0}.apa-pro-course-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.apa-pro-course-copy>div:first-child span{flex:0 0 auto;color:#8b97a5;font-size:9px}.apa-pro-course-track{height:6px;margin:7px 0 4px;border-radius:999px;background:#eef1f4;overflow:hidden}.apa-pro-course-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e51f2e,#ff5c67)}.apa-pro-course-copy small{color:#7d8996;font-size:9px}.apa-pro-risk-list{display:grid}.apa-pro-risk-row{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f3;color:#1f2937;text-decoration:none}.apa-pro-risk-row:last-child{border-bottom:0}.apa-pro-risk-icon{display:grid!important;place-items:center;width:32px!important;height:32px!important;border-radius:10px;background:#fff4de;color:#b97400}.apa-pro-risk-row strong,.apa-pro-risk-row small{display:block}.apa-pro-risk-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.apa-pro-risk-row small{margin-top:4px;color:#8b96a3;font-size:9px}.apa-pro-risk-row:hover strong{color:#e51f2e}.apa-pro-allgood{display:grid;justify-items:center;padding:30px 10px;text-align:center}.apa-pro-allgood>.dashicons{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e7f8ef;color:#1f9d61;font-size:22px}.apa-pro-allgood strong{margin-top:10px}.apa-pro-allgood p{margin:4px 0 0;color:#7d8996;font-size:10px}.apa-pro-timeline{display:grid}.apa-pro-timeline-row{position:relative;display:grid;grid-template-columns:14px minmax(0,1fr);gap:10px;padding:7px 0}.apa-pro-timeline-row:before{content:"";position:absolute;left:4px;top:20px;bottom:-8px;width:1px;background:#e7ebef}.apa-pro-timeline-row:last-child:before{display:none}.apa-pro-timeline-row>span{position:relative;z-index:1;width:9px;height:9px;margin-top:3px;border-radius:50%;background:#e51f2e;box-shadow:0 0 0 4px #fff0f2}.apa-pro-timeline-row strong,.apa-pro-timeline-row small{display:block}.apa-pro-timeline-row strong{font-size:10px;line-height:1.4}.apa-pro-timeline-row small{margin-top:3px;color:#919ba8;font-size:9px}
.apa-pro-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.apa-pro-bottom-grid .apa-health-row{border:1px solid #edf0f3;border-radius:12px;padding:11px 12px;margin-bottom:8px}.apa-pro-bottom-grid .apa-health-row:last-child{margin-bottom:0}.apa-pro-bottom-grid .apa-summary-row{padding:9px 0}
@media(max-width:1450px){.apa-pro-kpis{grid-template-columns:repeat(3,1fr)}.apa-pro-analytics-grid{grid-template-columns:1fr 1.4fr}.apa-pro-health-panel{grid-column:1/-1}.apa-pro-health-metrics{grid-template-columns:repeat(4,1fr)}.apa-pro-content-grid{grid-template-columns:1fr 1fr}.apa-pro-recent{grid-column:1/-1}.apa-pro-timeline{grid-template-columns:1fr 1fr;column-gap:24px}}@media(max-width:1050px){.apa-pro-dashboard-hero{grid-template-columns:1fr}.apa-pro-hero-score{display:none}.apa-pro-analytics-grid,.apa-pro-content-grid{grid-template-columns:1fr}.apa-pro-health-panel,.apa-pro-recent{grid-column:auto}.apa-pro-health-metrics{grid-template-columns:1fr 1fr}.apa-pro-bottom-grid{grid-template-columns:1fr}.apa-pro-search{align-items:flex-start;flex-direction:column}.apa-pro-search form{width:100%}}@media(max-width:700px){.apa-pro-dashboard-hero{padding:24px}.apa-pro-dashboard-hero h2{font-size:24px}.apa-pro-kpis{grid-template-columns:1fr}.apa-pro-analytics-grid{display:block}.apa-pro-panel{margin-bottom:12px}.apa-pro-donut-wrap{grid-template-columns:1fr;justify-items:center}.apa-pro-legend{width:100%}.apa-pro-health-metrics{grid-template-columns:1fr}.apa-pro-search form{flex-direction:column}.apa-pro-search button{height:38px}.apa-pro-timeline{grid-template-columns:1fr}.apa-pro-bottom-grid{display:block}}

/* v2.9.2.3 — ceas live Chișinău în dashboard */
.apa-pro-live-row{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:900px}
.apa-pro-clock{display:inline-grid;grid-template-columns:auto auto;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:8px 12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055);backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.apa-pro-clock>.dashicons{grid-row:1/3;align-self:center;width:18px;height:18px;font-size:18px;color:#ff3b49}
.apa-pro-clock strong{color:#fff;font-size:15px;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.apa-pro-clock small{margin-top:3px;color:#9eacb9;font-size:9px;line-height:1.1;letter-spacing:.04em}
@media(max-width:800px){.apa-pro-live-row{align-items:flex-start;flex-direction:column}.apa-pro-clock{margin-top:2px}}

/* v2.9.2.4 — ceas Chișinău mare + meniu intern Dashboard */
.apa-pro-clock-large{display:flex;align-items:center;gap:14px;width:max-content;max-width:100%;margin:14px 0 18px;padding:15px 18px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:0 14px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(10px)}
.apa-pro-clock-large>.dashicons{flex:0 0 auto;width:30px;height:30px;font-size:30px;color:#ff3443;filter:drop-shadow(0 5px 12px rgba(238,31,46,.28))}
.apa-pro-clock-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.apa-pro-clock-large strong{display:block;color:#fff;font-size:32px;line-height:1;font-weight:900;letter-spacing:.025em;font-variant-numeric:tabular-nums}
.apa-pro-clock-large small{display:block;margin:0;color:#c5d0da;font-size:12px;line-height:1.25;font-weight:700;letter-spacing:.02em}
.apa-pro-dashboard-menu{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:22px 0 4px;max-width:980px}
.apa-pro-dashboard-menu-item{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.055);color:#eef4f8;text-decoration:none;font-size:12px;font-weight:800;line-height:1.15;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.apa-pro-dashboard-menu-item .dashicons{flex:0 0 auto;width:19px;height:19px;font-size:19px;color:#aebdca}
.apa-pro-dashboard-menu-item:hover,.apa-pro-dashboard-menu-item:focus{color:#fff;border-color:rgba(238,31,46,.55);background:rgba(238,31,46,.12);transform:translateY(-1px);box-shadow:0 9px 24px rgba(0,0,0,.14);outline:none}
.apa-pro-dashboard-menu-item:hover .dashicons,.apa-pro-dashboard-menu-item:focus .dashicons{color:#ff4050}
.apa-pro-dashboard-menu-item.is-active{border-color:#ee1f2e;background:linear-gradient(135deg,#ee1f2e,#c91728);color:#fff;box-shadow:0 9px 24px rgba(238,31,46,.22)}
.apa-pro-dashboard-menu-item.is-active .dashicons{color:#fff}
@media(max-width:1500px){.apa-pro-dashboard-menu{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.apa-pro-dashboard-menu{grid-template-columns:repeat(3,minmax(0,1fr))}.apa-pro-clock-large strong{font-size:28px}}
@media(max-width:760px){.apa-pro-clock-large{width:100%;box-sizing:border-box}.apa-pro-clock-large strong{font-size:25px}.apa-pro-dashboard-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-pro-dashboard-menu-item{min-height:44px}}
\n\n/* v2.9.2.6 — executive polish: ceas premium + navigare rapidă */\n.apa-pro-clock-large{position:relative;min-width:340px;padding:18px 22px 18px 24px;border-radius:20px;border:1px solid rgba(255,255,255,.16);background:linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.035));box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.065);overflow:hidden}\n.apa-pro-clock-large:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,#ff4553,#d81728);box-shadow:0 0 22px rgba(238,31,46,.35)}\n.apa-pro-clock-large>.dashicons{width:36px;height:36px;font-size:36px;color:#ff4350}\n.apa-pro-clock-large strong{font-size:38px;letter-spacing:.035em;text-shadow:0 5px 20px rgba(0,0,0,.16)}\n.apa-pro-clock-large small{font-size:12px;color:#d2dbe3;font-weight:700}\n.apa-pro-dashboard-menu-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:24px 0 10px;max-width:1100px}\n.apa-pro-dashboard-menu-head>div{display:grid;gap:3px}\n.apa-pro-dashboard-menu-head span{color:#ff5b67;font-size:9px;font-weight:900;letter-spacing:.16em}\n.apa-pro-dashboard-menu-head strong{color:#fff;font-size:13px;line-height:1.25}\n.apa-pro-dashboard-menu-head>small{color:#91a1ae;font-size:10px;line-height:1.3}\n.apa-pro-dashboard-menu{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:1100px;margin:0 0 6px}\n.apa-pro-dashboard-menu-item{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;align-items:center;gap:10px;min-height:58px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.05)}\n.apa-pro-dashboard-menu-icon{display:grid!important;place-items:center;width:34px!important;height:34px!important;border-radius:10px;background:rgba(255,255,255,.075);color:#c2ced8!important;font-size:18px!important;line-height:34px!important}\n.apa-pro-dashboard-menu-copy{display:grid;gap:2px;min-width:0}\n.apa-pro-dashboard-menu-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f5f8fa;font-size:11px;line-height:1.2}\n.apa-pro-dashboard-menu-copy small{color:#8798a7;font-size:9px;font-weight:600}\n.apa-pro-dashboard-menu-arrow{width:16px!important;height:16px!important;color:#748492!important;font-size:16px!important;opacity:.7;transition:transform .16s ease,color .16s ease}\n.apa-pro-dashboard-menu-item:hover .apa-pro-dashboard-menu-arrow{color:#ff4a57!important;transform:translateX(2px)}\n.apa-pro-dashboard-menu-item:hover .apa-pro-dashboard-menu-icon{background:rgba(238,31,46,.16);color:#ff5864!important}\n.apa-pro-dashboard-menu-item.is-active{background:linear-gradient(135deg,#ee1f2e,#bd1324);border-color:#ff4250;box-shadow:0 12px 28px rgba(238,31,46,.22)}\n.apa-pro-dashboard-menu-item.is-active .apa-pro-dashboard-menu-icon{background:rgba(255,255,255,.16);color:#fff!important}\n.apa-pro-dashboard-menu-item.is-active .apa-pro-dashboard-menu-copy strong,.apa-pro-dashboard-menu-item.is-active .apa-pro-dashboard-menu-copy small,.apa-pro-dashboard-menu-item.is-active .apa-pro-dashboard-menu-arrow{color:#fff!important}\n@media(max-width:1500px){.apa-pro-dashboard-menu{grid-template-columns:repeat(3,minmax(0,1fr))}}\n@media(max-width:1100px){.apa-pro-clock-large{min-width:0;width:100%}.apa-pro-dashboard-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.apa-pro-dashboard-menu-head{align-items:flex-start;flex-direction:column;gap:5px}}\n@media(max-width:700px){.apa-pro-clock-large strong{font-size:30px}.apa-pro-dashboard-menu{grid-template-columns:1fr}.apa-pro-dashboard-menu-item{min-height:54px}}\n
/* v2.9.2.7 — executive UX refinement */
.apa-pro-clock-zone{display:inline-flex;align-items:center;gap:6px;margin-bottom:6px;color:#ff6974;font-size:9px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.apa-pro-clock-zone:before{content:"";width:7px;height:7px;border-radius:50%;background:#21c77a;box-shadow:0 0 0 4px rgba(33,199,122,.12)}
.apa-pro-clock-large{min-width:380px;padding:20px 24px 20px 26px}
.apa-pro-clock-large strong{font-size:44px;line-height:.98}
.apa-pro-clock-large small{margin-top:6px;font-size:13px;color:#dbe3ea}
.apa-pro-executive-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:760px;margin:4px 0 18px}
.apa-pro-executive-strip>div{display:grid;gap:2px;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.035)}
.apa-pro-executive-strip span{color:#91a1ae;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.apa-pro-executive-strip strong{color:#fff;font-size:18px;line-height:1.1;font-weight:900}
.apa-pro-executive-strip small{color:#748694;font-size:9px;font-weight:600}
.apa-pro-dashboard-menu-item{transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.apa-pro-dashboard-menu-item:hover{transform:translateY(-2px);border-color:rgba(255,72,85,.38);box-shadow:0 12px 24px rgba(0,0,0,.12)}
.apa-pro-dashboard-menu-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.apa-pro-dashboard-menu-item.is-active{transform:none}
@media(max-width:1100px){.apa-pro-executive-strip{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.apa-pro-clock-large{min-width:0}}
@media(max-width:700px){.apa-pro-clock-large strong{font-size:36px}.apa-pro-executive-strip{grid-template-columns:1fr 1fr}.apa-pro-executive-strip>div{padding:9px 10px}}

/* v2.9.2.8 — ergonomic executive hero + larger Chisinau clock */
.apa-pro-dashboard-hero{
  grid-template-columns:minmax(0,1fr) 220px;
  align-items:start;
  gap:34px;
  padding:30px 32px 28px;
}
.apa-pro-hero-copy{min-width:0}
.apa-pro-live-row{margin-bottom:8px}
.apa-pro-clock-large{
  width:min(560px,100%);
  min-width:0;
  box-sizing:border-box;
  gap:20px;
  margin:10px 0 16px;
  padding:24px 28px 24px 30px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(255,255,255,.045));
  box-shadow:0 20px 46px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.07);
}
.apa-pro-clock-large:before{top:16px;bottom:16px;width:5px}
.apa-pro-clock-large>.dashicons{
  width:46px;height:46px;font-size:46px;
}
.apa-pro-clock-zone{font-size:10px;letter-spacing:.19em;margin-bottom:8px}
.apa-pro-clock-large strong{
  font-size:58px;
  line-height:.92;
  letter-spacing:.035em;
  font-weight:900;
}
.apa-pro-clock-large small{
  margin-top:8px;
  font-size:14px;
  color:#dce5ec;
  font-weight:750;
}
.apa-pro-executive-strip{
  max-width:760px;
  grid-template-columns:repeat(4,minmax(110px,1fr));
  gap:8px;
  margin:0 0 18px;
}
.apa-pro-executive-strip>div{min-height:58px;padding:11px 13px;border-radius:13px}
.apa-pro-dashboard-hero h2{margin:6px 0 7px;font-size:28px;max-width:900px}
.apa-pro-dashboard-hero p{max-width:860px}
.apa-pro-dashboard-menu-head{
  max-width:none;
  margin:20px 0 10px;
  align-items:center;
}
.apa-pro-dashboard-menu{
  max-width:none;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  margin:0 0 8px;
}
.apa-pro-dashboard-menu-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:9px 12px;
  border-radius:13px;
  background:rgba(255,255,255,.055);
  overflow:hidden;
}
.apa-pro-dashboard-menu-icon{
  flex:0 0 auto;
  display:grid!important;
  place-items:center;
  width:30px!important;height:30px!important;
  border-radius:9px;
  font-size:16px!important;
  line-height:30px!important;
}
.apa-pro-dashboard-menu-copy{display:block;min-width:0;overflow:hidden}
.apa-pro-dashboard-menu-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  line-height:1.2;
}
.apa-pro-dashboard-menu-copy small,.apa-pro-dashboard-menu-arrow{display:none!important}
.apa-pro-hero-links{margin-top:14px}
.apa-pro-hero-score{align-self:center;padding-top:40px}
.apa-pro-ring{width:142px;height:142px}
@media(max-width:1500px){
  .apa-pro-dashboard-menu{grid-template-columns:repeat(4,minmax(0,1fr))}
  .apa-pro-clock-large strong{font-size:52px}
}
@media(max-width:1180px){
  .apa-pro-dashboard-hero{grid-template-columns:1fr}
  .apa-pro-hero-score{display:none}
  .apa-pro-dashboard-menu{grid-template-columns:repeat(3,minmax(0,1fr))}
  .apa-pro-clock-large{width:min(620px,100%)}
}
@media(max-width:820px){
  .apa-pro-executive-strip{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
  .apa-pro-dashboard-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apa-pro-dashboard-menu-head{align-items:flex-start;flex-direction:column;gap:4px}
  .apa-pro-clock-large strong{font-size:44px}
}
@media(max-width:560px){
  .apa-pro-dashboard-hero{padding:22px}
  .apa-pro-clock-large{padding:20px 20px 20px 24px;gap:14px}
  .apa-pro-clock-large>.dashicons{width:38px;height:38px;font-size:38px}
  .apa-pro-clock-large strong{font-size:36px}
  .apa-pro-clock-large small{font-size:12px}
  .apa-pro-dashboard-menu{grid-template-columns:1fr}
}

/* v2.9.2.9 — balanced hero: no zone label, full-width navigation */
.apa-pro-dashboard-hero-v2929{
  display:block;
  padding:30px 32px 28px;
}
.apa-pro-dashboard-hero-v2929 .apa-pro-hero-copy{width:100%;max-width:none}
.apa-pro-hero-topline{
  display:grid;
  grid-template-columns:minmax(420px,560px) 190px;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  width:100%;
  margin:10px 0 16px;
}
.apa-pro-dashboard-hero-v2929 .apa-pro-clock-large{
  width:100%;
  margin:0;
  min-height:146px;
  padding:26px 30px 26px 32px;
}
.apa-pro-dashboard-hero-v2929 .apa-pro-clock-copy{justify-content:center}
.apa-pro-dashboard-hero-v2929 .apa-pro-clock-large strong{
  font-size:62px;
  line-height:.92;
}
.apa-pro-dashboard-hero-v2929 .apa-pro-clock-large small{
  margin-top:10px;
  font-size:14px;
}
.apa-pro-hero-score-inline{
  display:grid!important;
  align-self:center;
  justify-self:end;
  justify-items:center;
  padding:0!important;
  gap:8px;
}
.apa-pro-hero-score-inline .apa-pro-ring{width:132px;height:132px}
.apa-pro-hero-score-inline>small{max-width:170px;text-align:center}
.apa-pro-dashboard-hero-v2929 .apa-pro-executive-strip{
  max-width:none;
  width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 20px;
}
.apa-pro-dashboard-hero-v2929 .apa-pro-executive-strip>div{
  min-height:64px;
  padding:12px 14px;
}
.apa-pro-dashboard-hero-v2929 h2{max-width:1000px}
.apa-pro-dashboard-hero-v2929 p{max-width:980px}
.apa-pro-dashboard-hero-v2929 .apa-pro-dashboard-menu-head{margin-top:22px}
.apa-pro-dashboard-menu-v2929{
  width:100%;
  max-width:none!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px;
}
.apa-pro-dashboard-menu-v2929 .apa-pro-dashboard-menu-item{
  min-height:54px;
  padding:10px 14px;
  border-radius:14px;
}
.apa-pro-dashboard-menu-v2929 .apa-pro-dashboard-menu-icon{
  width:32px!important;
  height:32px!important;
  line-height:32px!important;
  font-size:17px!important;
}
.apa-pro-dashboard-menu-v2929 .apa-pro-dashboard-menu-copy strong{font-size:12px}
.apa-pro-dashboard-hero-v2929 .apa-pro-hero-links{margin-top:16px}
@media(max-width:1180px){
  .apa-pro-hero-topline{grid-template-columns:minmax(0,1fr) 160px;gap:24px}
  .apa-pro-dashboard-hero-v2929 .apa-pro-clock-large strong{font-size:54px}
  .apa-pro-hero-score-inline{display:grid!important}
  .apa-pro-dashboard-menu-v2929{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .apa-pro-hero-topline{grid-template-columns:1fr;gap:14px}
  .apa-pro-hero-score-inline{justify-self:start;grid-template-columns:auto auto;align-items:center;justify-items:start}
  .apa-pro-hero-score-inline .apa-pro-ring{width:108px;height:108px}
  .apa-pro-hero-score-inline>small{text-align:left}
  .apa-pro-dashboard-hero-v2929 .apa-pro-executive-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .apa-pro-dashboard-menu-v2929{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .apa-pro-dashboard-hero-v2929{padding:22px}
  .apa-pro-dashboard-hero-v2929 .apa-pro-clock-large{min-height:126px;padding:22px 22px 22px 26px}
  .apa-pro-dashboard-hero-v2929 .apa-pro-clock-large strong{font-size:42px}
  .apa-pro-dashboard-menu-v2929{grid-template-columns:1fr!important}
}

/* v2.9.3.0 — premium AP executive command center */
.apa-pro-dashboard-hero-v2930{
  display:block!important;position:relative;overflow:hidden;margin:18px 0 16px;padding:28px 30px 30px;border-radius:28px;color:#fff;
  background:
    radial-gradient(circle at 84% 18%,rgba(238,31,46,.28),transparent 28%),
    radial-gradient(circle at 18% 0%,rgba(28,72,105,.22),transparent 32%),
    linear-gradient(128deg,#0b121a 0%,#111d28 45%,#1b2430 70%,#351d27 100%);
  border:1px solid rgba(255,255,255,.08);box-shadow:0 20px 54px rgba(10,17,24,.22)
}
.apa-pro-dashboard-hero-v2930:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,transparent 0 48%,rgba(255,255,255,.025) 48.2% 48.7%,transparent 49% 100%)}
.apa-pro-dashboard-hero-v2930:after{content:"";position:absolute;right:-90px;bottom:-130px;width:330px;height:330px;border:1px solid rgba(238,31,46,.12);border-radius:50%;box-shadow:0 0 90px rgba(238,31,46,.08)}
.apa-pro-dashboard-hero-v2930>*{position:relative;z-index:1}
.apa-pro-dashboard-hero-v2930 .apa-pro-live-row{margin:0 0 16px 4px}
.apa-pro-dashboard-hero-v2930 .apa-pro-live{font-size:10px;letter-spacing:.18em;color:#eef4f8}
.apa-pro-command-grid{display:grid;grid-template-columns:minmax(330px,1fr) minmax(300px,.92fr) 230px;gap:24px;align-items:stretch}
.apa-pro-clock-premium{margin:0!important;min-height:188px!important;padding:28px 32px!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 42px rgba(0,0,0,.18)!important;display:flex!important;align-items:center!important;gap:24px!important}
.apa-pro-clock-premium>.dashicons{width:54px!important;height:54px!important;font-size:54px!important;line-height:54px!important;color:#ff3046!important;filter:drop-shadow(0 0 13px rgba(255,48,70,.25))}
.apa-pro-clock-premium .apa-pro-clock-copy{align-items:flex-start!important;justify-content:center!important}
.apa-pro-clock-premium strong{font-size:68px!important;line-height:.92!important;letter-spacing:-.055em!important;color:#fff!important;text-shadow:0 3px 20px rgba(0,0,0,.28)}
.apa-pro-clock-premium small{margin-top:12px!important;color:#d7e0e8!important;font-size:14px!important;font-weight:750!important}
.apa-pro-ap-brand{min-height:188px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px 18px}
.apa-pro-ap-monogram{position:relative;display:flex;align-items:center;justify-content:center;height:100px;min-width:210px;font-weight:950;font-style:italic;letter-spacing:-.14em;filter:drop-shadow(0 12px 20px rgba(0,0,0,.25))}
.apa-pro-ap-monogram span{font-size:92px;line-height:1}
.apa-pro-ap-a{color:#f7f9fb;text-shadow:0 1px 0 #fff,0 4px 0 #9aa3ad}
.apa-pro-ap-p{color:#ef2034;text-shadow:0 2px 0 #8d0f1d}
.apa-pro-ap-monogram i{position:absolute;width:205px;height:13px;background:linear-gradient(90deg,#a70e21,#ff243c 50%,#bf1126);transform:rotate(-20deg) skewX(-22deg);border-radius:2px;box-shadow:0 0 18px rgba(238,31,46,.35);z-index:3}
.apa-pro-ap-name{margin-top:2px}.apa-pro-ap-name small{display:block;color:#e8edf2;font-size:11px;font-weight:900;letter-spacing:.42em;margin-left:.42em}.apa-pro-ap-name strong{display:block;color:#fff;font-size:33px;line-height:1.05;font-style:italic;letter-spacing:-.035em}.apa-pro-ap-name strong span{color:#ef2034}
.apa-pro-hero-score-premium{display:grid!important;place-items:center!important;align-content:center!important;gap:8px!important;padding:18px!important;border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid rgba(255,64,82,.34);box-shadow:inset 0 0 45px rgba(238,31,46,.06)}
.apa-pro-hero-score-premium .apa-pro-ring{width:142px;height:142px}.apa-pro-hero-score-premium .apa-pro-ring>div{background:#101c27}.apa-pro-hero-score-premium .apa-pro-ring strong{font-size:34px}.apa-pro-hero-score-premium .apa-pro-ring span{font-size:10px;color:#d7e0e8}.apa-pro-hero-score-premium>small{font-size:10px;color:#9eb0bf}
.apa-pro-executive-strip-v2930{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:none!important;margin:22px 0 22px!important}
.apa-pro-executive-strip-v2930>div{min-height:92px!important;padding:16px!important;display:flex!important;align-items:center!important;gap:13px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:15px!important;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;box-sizing:border-box}
.apa-pro-executive-strip-v2930>div>.dashicons{width:40px;height:40px;font-size:21px;line-height:40px;text-align:center;border-radius:12px;background:rgba(238,31,46,.15);color:#ff4355;flex:0 0 auto}.apa-pro-executive-strip-v2930>div:nth-child(2)>.dashicons{background:rgba(43,121,255,.16);color:#6ca4ff}.apa-pro-executive-strip-v2930>div:nth-child(3)>.dashicons{background:rgba(28,190,111,.14);color:#38d887}.apa-pro-executive-strip-v2930>div:nth-child(4)>.dashicons{background:rgba(245,166,35,.15);color:#ffbc50}.apa-pro-executive-strip-v2930>div:nth-child(5)>.dashicons{background:rgba(142,84,233,.16);color:#b996ff}
.apa-pro-executive-strip-v2930>div>div{min-width:0}.apa-pro-executive-strip-v2930 strong{display:block;color:#fff;font-size:24px;line-height:1}.apa-pro-executive-strip-v2930 b{display:block;margin-top:4px;color:#fff;font-size:12px}.apa-pro-executive-strip-v2930 small{display:block;margin-top:3px;color:#9fb0bf;font-size:10px}
.apa-pro-command-copy{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:2px 2px 22px}.apa-pro-command-copy h2{margin:0 0 6px!important;color:#fff!important;font-size:27px!important;letter-spacing:-.025em}.apa-pro-command-copy p{margin:0!important;color:#aebdca!important}.apa-pro-command-motto{flex:0 0 auto;padding-bottom:4px;color:#c7d1da;font-size:9px;font-weight:900;letter-spacing:.19em;white-space:nowrap}.apa-pro-command-motto i{display:inline-block;width:4px;height:4px;margin:0 10px 2px;border-radius:50%;background:#ef2034;box-shadow:0 0 10px rgba(238,31,46,.6)}
.apa-pro-dashboard-menu-v2930{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;width:100%;max-width:none!important}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item{min-height:66px!important;padding:10px 14px!important;display:flex!important;align-items:center!important;gap:11px!important;border-radius:14px!important;border:1px solid rgba(255,255,255,.13)!important;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;color:#eef4f8!important;box-sizing:border-box;transition:.18s ease!important}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.28)!important;background:rgba(255,255,255,.075)!important;box-shadow:0 12px 24px rgba(0,0,0,.12)}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item.is-active{background:linear-gradient(135deg,#f22337,#d9102b)!important;border-color:#ff4052!important;box-shadow:0 10px 26px rgba(238,31,46,.28)!important}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-icon{width:30px!important;height:30px!important;font-size:17px!important;line-height:30px!important;text-align:center!important;border-radius:9px!important;background:rgba(255,255,255,.08)!important;color:#e9eff5!important;flex:0 0 auto}.apa-pro-dashboard-menu-v2930 .is-active .apa-pro-dashboard-menu-icon{background:rgba(255,255,255,.16)!important;color:#fff!important}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-copy{min-width:0;flex:1}.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-copy strong{color:inherit!important;font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-pro-menu-arrow{width:16px!important;height:16px!important;font-size:16px!important;color:#9babb8!important;flex:0 0 auto}.apa-pro-dashboard-menu-v2930 .is-active .apa-pro-menu-arrow{color:#fff!important}
@media(max-width:1380px){.apa-pro-command-grid{grid-template-columns:minmax(300px,1.15fr) minmax(240px,.85fr) 190px}.apa-pro-clock-premium strong{font-size:58px!important}.apa-pro-ap-monogram span{font-size:78px}.apa-pro-ap-monogram i{width:175px}.apa-pro-executive-strip-v2930{grid-template-columns:repeat(3,minmax(0,1fr))!important}.apa-pro-dashboard-menu-v2930{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1050px){.apa-pro-command-grid{grid-template-columns:1fr 1fr}.apa-pro-ap-brand{grid-column:1/-1;grid-row:1}.apa-pro-clock-premium,.apa-pro-hero-score-premium{grid-row:2}.apa-pro-executive-strip-v2930{grid-template-columns:repeat(2,minmax(0,1fr))!important}.apa-pro-dashboard-menu-v2930{grid-template-columns:repeat(3,minmax(0,1fr))!important}.apa-pro-command-copy{align-items:flex-start;flex-direction:column}.apa-pro-command-motto{white-space:normal}}
@media(max-width:700px){.apa-pro-dashboard-hero-v2930{padding:22px}.apa-pro-command-grid{grid-template-columns:1fr}.apa-pro-ap-brand,.apa-pro-clock-premium,.apa-pro-hero-score-premium{grid-column:auto;grid-row:auto}.apa-pro-clock-premium strong{font-size:46px!important}.apa-pro-clock-premium{min-height:150px!important;padding:22px!important}.apa-pro-ap-brand{min-height:150px}.apa-pro-executive-strip-v2930{grid-template-columns:1fr!important}.apa-pro-dashboard-menu-v2930{grid-template-columns:1fr 1fr!important}.apa-pro-command-copy h2{font-size:23px!important}}
@media(max-width:480px){.apa-pro-dashboard-menu-v2930{grid-template-columns:1fr!important}.apa-pro-ap-monogram span{font-size:68px}.apa-pro-ap-monogram i{width:155px}.apa-pro-ap-name strong{font-size:28px}}

/* v2.9.3.1 — DARK LUX / high contrast / 3D glass controls
   Strictly scoped to Academia PROFMET admin wrapper. */
.apa-wrap{
  --apa-bg:#080d13;
  --apa-surface:#0f1720;
  --apa-surface-2:#141f2a;
  --apa-surface-3:#192633;
  --apa-text:#f5f8fb;
  --apa-muted:#aebbc7;
  --apa-line:rgba(255,255,255,.12);
  --apa-dark:#f7f9fb;
  --apa-red:#ef2338;
  --apa-red-dark:#b90f24;
  color:var(--apa-text)!important;
  background:linear-gradient(145deg,#080d13 0%,#0a1118 56%,#10141b 100%);
  border-radius:24px;
  padding:22px;
  box-sizing:border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 24px 70px rgba(0,0,0,.12);
}
.apa-wrap,.apa-wrap *{box-sizing:border-box}
.apa-wrap .apa-title-block h1,.apa-wrap h1,.apa-wrap h2,.apa-wrap h3,.apa-wrap h4,.apa-wrap h5,.apa-wrap h6,
.apa-wrap strong,.apa-wrap b,.apa-wrap th,.apa-wrap legend{color:#f7f9fb!important}
.apa-wrap p,.apa-wrap small,.apa-wrap label,.apa-wrap .description,.apa-wrap .apa-muted,.apa-wrap dt{color:#aebbc7!important}
.apa-wrap a:not(.button):not(.apa-primary-action):not(.apa-pro-dashboard-menu-item):not(.apa-pro-kpi){color:#8fc7ff}
.apa-wrap a:not(.button):hover{color:#fff}
.apa-wrap .apa-topbar{padding:2px 4px 4px}
.apa-wrap .apa-title-block p{color:#9dadba!important}
.apa-wrap .apa-version{background:linear-gradient(180deg,#17293a,#0d1620);border:1px solid rgba(123,186,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.23);color:#fff!important}
.apa-wrap .apa-readonly{background:linear-gradient(180deg,#183126,#0f2119);border:1px solid rgba(54,221,132,.22);color:#7de3a9!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}

/* panels, cards and tables */
.apa-wrap .apa-panel,.apa-wrap .apa-card,.apa-wrap .apa-pro-panel,.apa-wrap .apa-table-wrap,
.apa-wrap .apa-topic,.apa-wrap .apa-health-row,.apa-wrap .apa-calendar-shell,
.apa-wrap .apa-calendar-new-form,.apa-wrap .apa-calendar-kpis>div,
.apa-wrap .apa-mini-stats div,.apa-wrap .apa-summary-row,.apa-wrap .apa-detail-grid aside>.apa-panel{
  background:linear-gradient(145deg,rgba(22,34,46,.96),rgba(12,20,28,.98))!important;
  border:1px solid rgba(255,255,255,.11)!important;
  color:#f5f8fb!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 30px rgba(0,0,0,.20)!important;
}
.apa-wrap .apa-card strong,.apa-wrap .apa-mini-stats strong,.apa-wrap .apa-empty strong{color:#fff!important}
.apa-wrap .apa-card small,.apa-wrap .apa-panel p,.apa-wrap .apa-course-cell small,.apa-wrap .apa-topic-head small,.apa-wrap .apa-curriculum-item small{color:#aab8c4!important}
.apa-wrap .apa-table,.apa-wrap table.widefat{background:#0e1720!important;color:#eaf0f5!important;border-color:rgba(255,255,255,.10)!important}
.apa-wrap .apa-table thead th,.apa-wrap table.widefat thead th{background:#15212c!important;color:#f7f9fb!important;border-color:rgba(255,255,255,.10)!important}
.apa-wrap .apa-table td,.apa-wrap table.widefat td{color:#dbe4eb!important;border-color:rgba(255,255,255,.075)!important}
.apa-wrap .apa-table tbody tr:hover,.apa-wrap table.widefat tbody tr:hover{background:#172532!important}
.apa-wrap .apa-topic-head{background:#17232e!important}
.apa-wrap .apa-topic-items,.apa-wrap .apa-curriculum-item{border-color:rgba(255,255,255,.08)!important}
.apa-wrap .apa-progress,.apa-wrap .apa-pro-meter{background:rgba(255,255,255,.09)!important}

/* inputs: dark, readable, stable */
.apa-wrap input[type=text],.apa-wrap input[type=email],.apa-wrap input[type=search],.apa-wrap input[type=url],
.apa-wrap input[type=number],.apa-wrap input[type=date],.apa-wrap input[type=time],.apa-wrap input[type=password],
.apa-wrap select,.apa-wrap textarea{
  background:linear-gradient(180deg,#111d27,#0b141d)!important;
  color:#f7f9fb!important;
  border:1px solid rgba(167,194,216,.25)!important;
  border-radius:10px!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.025)!important;
}
.apa-wrap input::placeholder,.apa-wrap textarea::placeholder{color:#7f909f!important;opacity:1}
.apa-wrap input:focus,.apa-wrap select:focus,.apa-wrap textarea:focus{
  border-color:#ff4053!important;box-shadow:0 0 0 1px #ff4053,0 0 20px rgba(239,35,56,.18)!important;outline:none!important
}
.apa-wrap select option{background:#111b25;color:#fff}

/* 3D / glass buttons and navigational controls */
.apa-wrap .button,.apa-wrap button.button,.apa-wrap .apa-outline-action,.apa-wrap .apa-primary-action,
.apa-wrap .apa-pro-dashboard-menu-item,.apa-wrap .apa-pro-kpi,.apa-wrap a.button{
  position:relative;overflow:hidden;
  border:1px solid rgba(190,211,230,.24)!important;
  background:linear-gradient(180deg,#243442 0%,#15232f 52%,#0d1821 100%)!important;
  color:#f7f9fb!important;
  text-shadow:0 1px 1px rgba(0,0,0,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),inset 0 -1px 0 rgba(0,0,0,.45),0 6px 0 #071018,0 10px 22px rgba(0,0,0,.30)!important;
  transform:translateY(0);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,filter .16s ease!important;
}
.apa-wrap .button:before,.apa-wrap .apa-outline-action:before,.apa-wrap .apa-primary-action:before,.apa-wrap .apa-pro-dashboard-menu-item:before{
  content:"";position:absolute;left:8%;right:8%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);opacity:.72;pointer-events:none
}
.apa-wrap .button:hover,.apa-wrap .apa-outline-action:hover,.apa-wrap .apa-pro-dashboard-menu-item:hover,.apa-wrap .apa-pro-kpi:hover{
  color:#fff!important;border-color:rgba(108,193,255,.60)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 0 #071018,0 0 22px rgba(79,172,254,.16),0 13px 25px rgba(0,0,0,.35)!important;transform:translateY(-1px);filter:brightness(1.08)
}
.apa-wrap .button:active,.apa-wrap .apa-outline-action:active,.apa-wrap .apa-pro-dashboard-menu-item:active{transform:translateY(4px);box-shadow:inset 0 1px 4px rgba(0,0,0,.45),0 1px 0 #071018,0 4px 10px rgba(0,0,0,.25)!important}
.apa-wrap .button-primary,.apa-wrap .apa-primary-action,.apa-wrap .apa-pro-dashboard-menu-item.is-active{
  background:linear-gradient(180deg,#ff3a4d 0%,#ea1830 48%,#b90c22 100%)!important;
  border-color:#ff6876!important;
  color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.30),inset 0 -1px 0 rgba(100,0,15,.55),0 6px 0 #7d0919,0 0 22px rgba(239,35,56,.25),0 12px 25px rgba(0,0,0,.30)!important;
}
.apa-wrap .button-primary:hover,.apa-wrap .apa-primary-action:hover,.apa-wrap .apa-pro-dashboard-menu-item.is-active:hover{
  border-color:#ff9ba4!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 5px 0 #770817,0 0 30px rgba(255,42,62,.42),0 14px 27px rgba(0,0,0,.32)!important
}

/* Dashboard lower area becomes as dark as the command center */
.apa-wrap .apa-pro-kpis{gap:14px!important}
.apa-wrap .apa-pro-kpi{
  background:linear-gradient(145deg,#17232f,#0c151e)!important;border-color:rgba(255,255,255,.12)!important;border-radius:16px!important
}
.apa-wrap .apa-pro-kpi span,.apa-wrap .apa-pro-kpi small{color:#aebbc7!important}.apa-wrap .apa-pro-kpi strong{color:#fff!important}
.apa-wrap .apa-pro-kpi-icon{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 18px rgba(255,255,255,.06)}
.apa-wrap .apa-pro-panel{border-radius:18px!important}
.apa-wrap .apa-pro-panel-head h2,.apa-wrap .apa-pro-panel h2{color:#fff!important}
.apa-wrap .apa-pro-panel-head p,.apa-wrap .apa-pro-panel p{color:#9fb0bd!important}
.apa-wrap .apa-pro-label{color:#ff6b78!important}
.apa-wrap .apa-pro-legend span,.apa-wrap .apa-pro-legend small{color:#aebbc7!important}.apa-wrap .apa-pro-legend strong{color:#fff!important}
.apa-wrap .apa-pro-donut>div{background:#101a23!important}.apa-wrap .apa-pro-donut strong{color:#fff!important}.apa-wrap .apa-pro-donut span{color:#9dafbc!important}

/* Refined A&P identity — readable, metallic, dimensional */
.apa-pro-ap-monogram-v2931{gap:8px!important;letter-spacing:-.08em!important;min-width:260px!important}
.apa-pro-ap-monogram-v2931 .apa-pro-ap-a,.apa-pro-ap-monogram-v2931 .apa-pro-ap-p{
  font-size:92px!important;font-style:italic;font-weight:950;position:relative;z-index:2
}
.apa-pro-ap-monogram-v2931 .apa-pro-ap-a{
  color:#f9fbfd!important;background:linear-gradient(180deg,#fff 0%,#e7ebef 42%,#8f9aa5 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 5px 0 rgba(0,0,0,.28))
}
.apa-pro-ap-monogram-v2931 .apa-pro-ap-p{
  color:#ef2338!important;background:linear-gradient(180deg,#ff4a5c,#ef2037 48%,#9c091c 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none!important;filter:drop-shadow(0 5px 0 rgba(78,0,11,.42))
}
.apa-pro-ap-monogram-v2931 em{
  position:relative;z-index:4;margin:7px -5px 0 -2px;font-size:32px;line-height:1;font-style:normal;font-weight:950;color:#fff!important;text-shadow:0 0 14px rgba(255,255,255,.24)
}
.apa-pro-ap-monogram-v2931 i{height:9px!important;width:205px!important;transform:rotate(-17deg) skewX(-22deg)!important;opacity:.96;box-shadow:0 1px 0 rgba(255,255,255,.25),0 0 22px rgba(239,35,56,.48)!important}
.apa-pro-ap-name small{color:#dbe4eb!important}.apa-pro-ap-name strong{filter:drop-shadow(0 5px 8px rgba(0,0,0,.30))}

/* command-center buttons: deeper 3D and luminous perimeter */
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item{
  border:1px solid rgba(180,210,232,.24)!important;
  background:linear-gradient(180deg,rgba(42,59,73,.92),rgba(20,33,44,.96) 54%,rgba(12,22,31,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 5px 0 rgba(4,11,17,.95),0 10px 22px rgba(0,0,0,.32)!important
}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item:hover{
  border-color:rgba(110,200,255,.70)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 0 rgba(4,11,17,.95),0 0 25px rgba(66,175,255,.18),0 14px 27px rgba(0,0,0,.34)!important
}
.apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item.is-active{
  background:linear-gradient(180deg,#ff4053,#ec1931 48%,#b30b21)!important;border-color:#ff7682!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 5px 0 #760716,0 0 27px rgba(239,35,56,.38),0 13px 27px rgba(0,0,0,.34)!important
}

/* calendar and other special white areas */
.apa-wrap .apa-calendar-toolbar,.apa-wrap .apa-calendar-main,.apa-wrap .apa-calendar-sidebar,
.apa-wrap .apa-calendar-day,.apa-wrap .apa-calendar-weekdays,.apa-wrap .apa-calendar-event,
.apa-wrap .apa-360-report-wrap,.apa-wrap .apa-360-report-top,.apa-wrap .apa-feature-grid article{
  color:#eef4f8!important
}
.apa-wrap .apa-calendar-day{background:#101923!important;border-color:rgba(255,255,255,.08)!important}
.apa-wrap .apa-calendar-day.is-outside{background:#0a1118!important;opacity:.64}
.apa-wrap .apa-calendar-weekdays{color:#9fb0bd!important}

@media(max-width:782px){.apa-wrap{padding:14px;border-radius:18px;margin-right:10px}.apa-pro-ap-monogram-v2931 .apa-pro-ap-a,.apa-pro-ap-monogram-v2931 .apa-pro-ap-p{font-size:72px!important}.apa-pro-ap-monogram-v2931 em{font-size:25px}.apa-pro-ap-monogram-v2931 i{width:165px!important}}

/* v2.9.3.2 — Full-width executive shell + unique AP identity */
body[class*="academia-profmet-analytics"] #wpbody-content{padding-bottom:48px}
body[class*="academia-profmet-analytics"] .apa-wrap{
  max-width:none!important;
  width:calc(100% - 22px)!important;
  margin:18px 22px 0 0!important;
  padding:22px 24px 30px!important;
}
body[class*="academia-profmet-analytics"] .apa-pro-dashboard-hero-v2930,
body[class*="academia-profmet-analytics"] .apa-pro-kpis,
body[class*="academia-profmet-analytics"] .apa-pro-analytics-grid,
body[class*="academia-profmet-analytics"] .apa-pro-content-grid,
body[class*="academia-profmet-analytics"] .apa-pro-bottom-grid{width:100%!important;max-width:none!important}

.apa-pro-command-grid{grid-template-columns:minmax(390px,1.05fr) minmax(360px,.95fr) 235px!important;gap:30px!important}
.apa-pro-ap-brand-v2932{position:relative;min-height:188px;padding:12px 18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important}
.apa-pro-ap-emblem{position:relative;width:174px;height:104px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 18px 24px rgba(0,0,0,.3))}
.apa-pro-ap-emblem:before{content:"";position:absolute;inset:3px 7px 7px;border-radius:28px 8px 28px 8px;transform:skewX(-12deg);background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -22px 30px rgba(0,0,0,.22),0 0 0 1px rgba(238,31,46,.08),0 12px 30px rgba(0,0,0,.22)}
.apa-pro-ap-emblem:after{content:"";position:absolute;left:15px;right:18px;bottom:5px;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,#ef2338 18%,#ff5361 55%,transparent);box-shadow:0 0 18px rgba(239,35,56,.6)}
.apa-pro-ap-emblem-a,.apa-pro-ap-emblem-p,.apa-pro-ap-emblem-amp{position:relative;z-index:2;font-family:Inter,Arial,sans-serif;font-weight:950;line-height:1;font-style:italic}
.apa-pro-ap-emblem-a{font-size:82px;letter-spacing:-.12em;color:#f6f8fb;text-shadow:0 1px 0 #fff,0 4px 0 #828d98,0 9px 18px rgba(0,0,0,.26);transform:translateX(5px)}
.apa-pro-ap-emblem-p{font-size:82px;letter-spacing:-.14em;color:#ef2338;text-shadow:0 2px 0 #9d1022,0 8px 18px rgba(239,35,56,.2);transform:translateX(-3px)}
.apa-pro-ap-emblem-amp{font-size:23px;letter-spacing:0;color:#fff;margin:0 2px;transform:translateY(7px);text-shadow:0 2px 8px rgba(0,0,0,.5)}
.apa-pro-ap-emblem-cut{position:absolute;z-index:3;left:8px;right:4px;top:47px;height:10px;border-radius:2px;transform:rotate(-13deg) skewX(-18deg);background:linear-gradient(90deg,#8f0b1b 0%,#f01d34 28%,#ff5361 52%,#c50f26 100%);box-shadow:0 0 18px rgba(239,35,56,.4),0 5px 12px rgba(0,0,0,.24)}
.apa-pro-ap-wordmark{text-align:center;display:grid;justify-items:center;gap:1px}
.apa-pro-ap-wordmark small{color:#dfe7ee!important;font-size:10px!important;font-weight:900!important;letter-spacing:.46em!important;margin-left:.46em;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.apa-pro-ap-wordmark strong{color:#fff!important;font-size:32px!important;line-height:1!important;font-style:italic!important;letter-spacing:-.045em!important;text-shadow:0 5px 16px rgba(0,0,0,.28)}
.apa-pro-ap-wordmark strong span{color:#ef2338!important}
.apa-pro-ap-wordmark em{margin-top:7px;color:#7f92a4!important;font-size:7px!important;font-style:normal!important;font-weight:800!important;letter-spacing:.19em!important}

.apa-wrap .apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item,
.apa-wrap .apa-pro-btn,.apa-wrap .button,.apa-wrap button:not(.wp-color-result){box-shadow:inset 0 1px 0 rgba(255,255,255,.13),inset 0 -10px 18px rgba(0,0,0,.12),0 10px 24px rgba(0,0,0,.22)!important}
.apa-wrap .apa-pro-dashboard-menu-v2930 .apa-pro-dashboard-menu-item:hover,
.apa-wrap .apa-pro-btn:hover,.apa-wrap .button:hover,.apa-wrap button:not(.wp-color-result):hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.19),inset 0 -10px 18px rgba(0,0,0,.1),0 0 0 1px rgba(255,255,255,.16),0 13px 30px rgba(0,0,0,.25),0 0 18px rgba(238,31,46,.11)!important}

@media(max-width:1380px){.apa-pro-command-grid{grid-template-columns:minmax(330px,1fr) minmax(300px,.9fr) 210px!important}.apa-pro-ap-emblem{transform:scale(.9)}}
@media(max-width:1050px){body[class*="academia-profmet-analytics"] .apa-wrap{width:calc(100% - 16px)!important;margin-right:16px!important;padding:18px!important}.apa-pro-command-grid{grid-template-columns:1fr 1fr!important}.apa-pro-ap-brand-v2932{grid-column:1/-1!important;grid-row:1!important}}
@media(max-width:700px){.apa-pro-command-grid{grid-template-columns:1fr!important}.apa-pro-ap-brand-v2932{grid-column:auto!important;grid-row:auto!important}.apa-pro-ap-emblem{transform:scale(.82)}.apa-pro-ap-wordmark strong{font-size:28px!important}}

/* ==============================================================
   v2.9.3.3 — UNIFIED ACADEMIA SUITE
   Același limbaj vizual dark / glass / 3D pe TOATE paginile interne.
   ============================================================== */
body.apa-academy-admin{
  --apa-suite-bg:#071019;--apa-suite-surface:#0f1923;--apa-suite-surface-2:#14212d;
  --apa-suite-line:rgba(183,211,232,.14);--apa-suite-text:#f4f7fa;--apa-suite-muted:#9fb0bd;
  --apa-suite-red:#ef2338;--apa-suite-red-2:#b90b22;
}
body.apa-academy-admin #wpcontent,
body.apa-academy-admin #wpbody,
body.apa-academy-admin #wpbody-content{
  background:
    radial-gradient(circle at 92% 4%,rgba(239,35,56,.085),transparent 28%),
    radial-gradient(circle at 35% 18%,rgba(54,124,170,.05),transparent 30%),
    linear-gradient(145deg,#071019 0%,#09131c 55%,#0a1017 100%)!important;
}
body.apa-academy-admin #wpbody-content{min-height:calc(100vh - 32px);padding:1px 0 54px!important}
body.apa-academy-admin #wpfooter{color:#738391}
body.apa-academy-admin .apa-wrap{
  max-width:none!important;width:calc(100% - 20px)!important;margin:16px 20px 0 0!important;padding:0 0 28px!important;
  color:var(--apa-suite-text)!important;background:transparent!important;
}
body.apa-academy-admin .apa-topbar{
  position:relative;overflow:hidden;margin:0 0 14px!important;padding:20px 22px!important;border-radius:20px!important;
  background:linear-gradient(135deg,rgba(20,33,45,.98) 0%,rgba(10,18,27,.99) 62%,rgba(45,18,29,.92) 100%)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 18px 38px rgba(0,0,0,.26)!important;
}
body.apa-academy-admin .apa-topbar:after{content:"";position:absolute;right:-90px;top:-130px;width:320px;height:320px;border:1px solid rgba(239,35,56,.12);border-radius:50%;pointer-events:none}
body.apa-academy-admin .apa-title-block h1{color:#fff!important;font-size:30px!important;text-shadow:0 4px 16px rgba(0,0,0,.28)}
body.apa-academy-admin .apa-title-block p,body.apa-academy-admin .apa-back{color:#a9b9c6!important}
body.apa-academy-admin .apa-brand{position:relative;z-index:2}
body.apa-academy-admin .apa-version{background:linear-gradient(180deg,#253645,#111d27)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 7px 18px rgba(0,0,0,.24)!important}
body.apa-academy-admin .apa-readonly{background:linear-gradient(180deg,#183d2c,#10261d)!important;color:#73e5a0!important;border:1px solid rgba(104,223,148,.24)!important}

/* Brand + navigation common to Calendar/Cursuri/Cursanți/etc. */
.apa-suitebar{display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:12px 14px;border-radius:18px;background:linear-gradient(135deg,#101b25,#0b141d 68%,#23121a);border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 30px rgba(0,0,0,.22)}
.apa-suitebar-brand{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:5px 12px 5px 6px;border-right:1px solid rgba(255,255,255,.10)}
.apa-suitebar-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#ff4053,#b30b21);color:#fff;font-size:19px;font-weight:950;font-style:italic;letter-spacing:-.09em;box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 6px 0 #650714,0 10px 22px rgba(0,0,0,.28),0 0 18px rgba(239,35,56,.16)}
.apa-suitebar-mark span{font-size:9px;margin:0 1px;opacity:.9}
.apa-suitebar-brand strong{color:#fff;font-size:12px;letter-spacing:.14em;white-space:nowrap}.apa-suitebar-brand em{color:#ff4053;font-style:normal}
.apa-suitebar-links{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:3px 2px 7px;scrollbar-width:thin;scrollbar-color:#384b5b transparent}
.apa-suitebar-link{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border-radius:11px;text-decoration:none!important;color:#dbe5ec!important;background:linear-gradient(180deg,#21313e,#13212c 55%,#0d1821)!important;border:1px solid rgba(184,211,231,.17)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 4px 0 #060e14,0 8px 16px rgba(0,0,0,.22)!important;transition:.16s ease!important}
.apa-suitebar-link .dashicons{color:#a9bac8;font-size:16px;width:16px;height:16px}
.apa-suitebar-link:hover{transform:translateY(-1px);color:#fff!important;border-color:rgba(104,194,255,.54)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 0 #060e14,0 0 18px rgba(82,176,243,.14),0 10px 20px rgba(0,0,0,.25)!important}
.apa-suitebar-link.is-active{background:linear-gradient(180deg,#ff4053,#ea1730 50%,#b20a20)!important;border-color:#ff7a86!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 4px 0 #710716,0 0 23px rgba(239,35,56,.28),0 9px 20px rgba(0,0,0,.25)!important}
.apa-suitebar-link.is-active .dashicons{color:#fff}

/* Surfaces / cards / sections */
body.apa-academy-admin .apa-panel,
body.apa-academy-admin .apa-card,
body.apa-academy-admin .apa-table-wrap,
body.apa-academy-admin .apa-topic,
body.apa-academy-admin .apa-detail-grid>*,
body.apa-academy-admin .apa-health-row,
body.apa-academy-admin .apa-mini-stats div,
body.apa-academy-admin .apa-student-profile-card,
body.apa-academy-admin .apa-feature-grid article,
body.apa-academy-admin .apa-calendar-toolbar,
body.apa-academy-admin .apa-calendar-main,
body.apa-academy-admin .apa-calendar-sidebar,
body.apa-academy-admin .apa-360-report-wrap,
body.apa-academy-admin .apa-360-report-top{
  background:linear-gradient(145deg,rgba(19,31,42,.98),rgba(10,19,27,.99))!important;
  border-color:var(--apa-suite-line)!important;color:var(--apa-suite-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 28px rgba(0,0,0,.18)!important;
}
body.apa-academy-admin .apa-panel h1,body.apa-academy-admin .apa-panel h2,body.apa-academy-admin .apa-panel h3,
body.apa-academy-admin .apa-card strong,body.apa-academy-admin .apa-course-cell strong a,
body.apa-academy-admin .apa-empty strong,body.apa-academy-admin .apa-topic-head strong,
body.apa-academy-admin .apa-curriculum-item strong,body.apa-academy-admin dt,body.apa-academy-admin dd{color:#f6f9fb!important}
body.apa-academy-admin .apa-panel p,body.apa-academy-admin .apa-card small,body.apa-academy-admin .apa-course-cell small,
body.apa-academy-admin .apa-topic-head small,body.apa-academy-admin .apa-curriculum-item small,body.apa-academy-admin .apa-muted,
body.apa-academy-admin .description{color:#9fb0bd!important}

/* Tables */
body.apa-academy-admin .apa-table,body.apa-academy-admin table.widefat{background:#0c151e!important;color:#e7eef4!important;border-color:rgba(255,255,255,.10)!important}
body.apa-academy-admin .apa-table thead th,body.apa-academy-admin table.widefat thead th{background:#172530!important;color:#f8fafc!important;border-color:rgba(255,255,255,.10)!important}
body.apa-academy-admin .apa-table td,body.apa-academy-admin table.widefat td{color:#d8e3eb!important;border-color:rgba(255,255,255,.075)!important;background:transparent!important}
body.apa-academy-admin .apa-table tbody tr:hover,body.apa-academy-admin table.widefat tbody tr:hover{background:#172631!important}
body.apa-academy-admin .apa-table a,body.apa-academy-admin table.widefat a{color:#74c8ff!important}body.apa-academy-admin .apa-table a:hover,body.apa-academy-admin table.widefat a:hover{color:#ff6675!important}

/* Forms */
body.apa-academy-admin .apa-wrap input[type=text],body.apa-academy-admin .apa-wrap input[type=email],body.apa-academy-admin .apa-wrap input[type=search],body.apa-academy-admin .apa-wrap input[type=url],body.apa-academy-admin .apa-wrap input[type=number],body.apa-academy-admin .apa-wrap input[type=date],body.apa-academy-admin .apa-wrap input[type=time],body.apa-academy-admin .apa-wrap input[type=password],body.apa-academy-admin .apa-wrap select,body.apa-academy-admin .apa-wrap textarea{
  background:linear-gradient(180deg,#111e29,#0a141d)!important;color:#fff!important;border:1px solid rgba(180,210,232,.24)!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.32),0 1px 0 rgba(255,255,255,.035)!important
}
body.apa-academy-admin .apa-wrap input::placeholder,body.apa-academy-admin .apa-wrap textarea::placeholder{color:#8092a1!important}
body.apa-academy-admin .apa-wrap label{color:#dce6ed!important}

/* 3D controls throughout the suite */
body.apa-academy-admin .apa-wrap .button,body.apa-academy-admin .apa-wrap button.button,body.apa-academy-admin .apa-wrap .apa-outline-action,body.apa-academy-admin .apa-wrap .apa-primary-action,body.apa-academy-admin .apa-wrap a.button{
  border:1px solid rgba(180,211,233,.25)!important;background:linear-gradient(180deg,#263946,#172732 52%,#0d1821)!important;color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -10px 18px rgba(0,0,0,.16),0 5px 0 #050d13,0 11px 22px rgba(0,0,0,.28)!important;
}
body.apa-academy-admin .apa-wrap .button:hover,body.apa-academy-admin .apa-wrap .apa-outline-action:hover{border-color:rgba(105,198,255,.62)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 0 #050d13,0 0 22px rgba(70,177,249,.16),0 13px 25px rgba(0,0,0,.30)!important;color:#fff!important}
body.apa-academy-admin .apa-wrap .button-primary,body.apa-academy-admin .apa-wrap .apa-primary-action{background:linear-gradient(180deg,#ff4053,#e91830 50%,#ad091f)!important;border-color:#ff7f8a!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 5px 0 #700616,0 0 24px rgba(239,35,56,.28),0 12px 24px rgba(0,0,0,.3)!important}

/* Special components that previously remained white */
body.apa-academy-admin .apa-topic-head{background:#172631!important;color:#fff!important}
body.apa-academy-admin .apa-course-cover+.apa-course-hero-content{background:#0f1923!important}
body.apa-academy-admin .apa-pagination .page-numbers{background:#13212c!important;color:#dce6ed!important;border-color:rgba(255,255,255,.12)!important}
body.apa-academy-admin .apa-pagination .current{background:#ef2338!important;color:#fff!important;border-color:#ff6675!important}
body.apa-academy-admin .apa-badge,body.apa-academy-admin .apa-term{background:#1a2935!important;color:#dce6ed!important;border:1px solid rgba(255,255,255,.08)}
body.apa-academy-admin .notice.inline{background:#121f29!important;color:#e9f0f5!important;border-top-color:rgba(255,255,255,.10)!important;border-right-color:rgba(255,255,255,.10)!important;border-bottom-color:rgba(255,255,255,.10)!important}

/* Messenger receives the same dark suite language without changing message logic */
body.apa-academy-admin .apa-messenger-shell,body.apa-academy-admin .apa-messenger-sidebar,body.apa-academy-admin .apa-messenger-profile{background:#0e1821!important;border-color:rgba(255,255,255,.10)!important;color:#eaf1f6!important}
body.apa-academy-admin .apa-messenger-thread{background:linear-gradient(180deg,#0b151e,#0d1821)!important}
body.apa-academy-admin .apa-messenger-sidebar-head,body.apa-academy-admin .apa-messenger-thread-head h2,body.apa-academy-admin .apa-messenger-profile-card h3,body.apa-academy-admin .apa-messenger-contact-line strong{color:#f5f8fa!important}
body.apa-academy-admin .apa-messenger-contact-preview,body.apa-academy-admin .apa-messenger-contact-line small,body.apa-academy-admin .apa-messenger-profile dt{color:#91a3b1!important}
body.apa-academy-admin .apa-messenger-contact:hover{background:#15232e!important;border-color:rgba(255,255,255,.08)!important}
body.apa-academy-admin .apa-messenger-contact.is-active{background:linear-gradient(90deg,rgba(239,35,56,.18),rgba(239,35,56,.035))!important;border-color:rgba(239,35,56,.28)!important}
body.apa-academy-admin .apa-message-bubble.is-theirs{background:#172630!important;color:#eaf1f6!important;border-color:rgba(255,255,255,.08)!important}
body.apa-academy-admin .apa-message-compose-sticky{background:rgba(10,18,26,.96)!important;border-color:rgba(255,255,255,.09)!important}
body.apa-academy-admin .apa-message-compose-sticky textarea{background:#101c26!important;color:#fff!important;border-color:rgba(255,255,255,.13)!important}

@media(max-width:1200px){.apa-suitebar{align-items:flex-start;flex-direction:column}.apa-suitebar-brand{border-right:0;border-bottom:1px solid rgba(255,255,255,.09);width:100%;box-sizing:border-box}.apa-suitebar-links{width:100%}}
@media(max-width:782px){body.apa-academy-admin .apa-wrap{width:calc(100% - 10px)!important;margin:10px 10px 0 0!important}.apa-suitebar-link{min-height:36px;padding:0 10px}.apa-suitebar-brand strong{font-size:11px}}

/* v2.9.3.4 — Internal pages visual refinement. CSS only; no functional hooks changed. */
body.apa-academy-admin{--apa-page:#071018;--apa-surface:#0d1822;--apa-surface-2:#12212d;--apa-surface-3:#182936;--apa-text-hi:#f7fafc;--apa-text:#d7e1e8;--apa-text-soft:#9fb0bd;--apa-line:rgba(197,220,238,.13);--apa-red:#ef2338;--apa-red-2:#ff4053}
body.apa-academy-admin #wpcontent{background:radial-gradient(circle at 90% 5%,rgba(239,35,56,.08),transparent 30%),linear-gradient(180deg,#071018 0%,#08131c 52%,#071018 100%)!important}
body.apa-academy-admin .apa-wrap{color:var(--apa-text)!important}
body.apa-academy-admin .apa-title-block h1,body.apa-academy-admin .apa-title-block h2,body.apa-academy-admin .apa-title-block h3{color:var(--apa-text-hi)!important;text-shadow:0 1px 0 rgba(255,255,255,.03)}
body.apa-academy-admin .apa-title-block p,body.apa-academy-admin .apa-back{color:var(--apa-text-soft)!important}

/* Student directory cards — remove white islands and restore contrast */
body.apa-academy-admin .apa-student-grid{gap:14px!important}
body.apa-academy-admin .apa-student-card{
  min-height:82px!important;background:linear-gradient(145deg,#142430,#0d1923)!important;
  border:1px solid rgba(183,211,231,.14)!important;border-radius:16px!important;color:var(--apa-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(0,0,0,.20)!important;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important
}
body.apa-academy-admin .apa-student-card:hover{transform:translateY(-2px)!important;border-color:rgba(255,64,83,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(239,35,56,.08),0 14px 30px rgba(0,0,0,.28),0 0 22px rgba(239,35,56,.08)!important}
body.apa-academy-admin .apa-student-card-main strong{color:#f8fbfd!important;font-size:13px!important}
body.apa-academy-admin .apa-student-card-main small{color:#95a8b7!important}
body.apa-academy-admin .apa-student-card-stats span{color:#a9b9c5!important}
body.apa-academy-admin .apa-student-card-stats b{color:#fff!important}
body.apa-academy-admin .apa-student-card .dashicons{color:#7bc9ff!important}
body.apa-academy-admin .apa-student-card .apa-progress{background:rgba(255,255,255,.08)!important}

/* Student profile — unify old white profile components with the dark suite */
body.apa-academy-admin .apa-student-profile-hero{background:linear-gradient(145deg,#0f1c27,#0a151e)!important;border-color:var(--apa-line)!important;box-shadow:0 18px 40px rgba(0,0,0,.24)!important}
body.apa-academy-admin .apa-profile-v289-identity,body.apa-academy-admin .apa-profile-v289-card{
  background:linear-gradient(145deg,#142430,#0e1a24)!important;border-color:rgba(190,216,235,.13)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 28px rgba(0,0,0,.20)!important
}
body.apa-academy-admin .apa-profile-v289-card-head{background:linear-gradient(180deg,#192a36,#12212c)!important;border-bottom-color:rgba(255,255,255,.08)!important}
body.apa-academy-admin .apa-profile-v289-card-head h3,body.apa-academy-admin .apa-profile-v289-identity h2{color:#fff!important}
body.apa-academy-admin .apa-profile-v289-position,body.apa-academy-admin .apa-profile-v289-department,body.apa-academy-admin .apa-profile-v289-card-head small{color:#9fb0bd!important}
body.apa-academy-admin .apa-profile-v289-info-item,body.apa-academy-admin .apa-profile-v289-access-row,body.apa-academy-admin .apa-profile-v289-system-meta>div{border-color:rgba(255,255,255,.07)!important}
body.apa-academy-admin .apa-profile-v289-info-item>.dashicons,body.apa-academy-admin .apa-profile-v289-access-row>.dashicons{background:#172a38!important;color:#8fd0ff!important}
body.apa-academy-admin .apa-profile-v289-info-item small,body.apa-academy-admin .apa-profile-v289-access-row small,body.apa-academy-admin .apa-profile-v289-system-meta small{color:#8599a8!important}
body.apa-academy-admin .apa-profile-v289-info-item strong,body.apa-academy-admin .apa-profile-v289-access-row strong,body.apa-academy-admin .apa-profile-v289-system-meta strong{color:#edf4f8!important}
body.apa-academy-admin .apa-profile-v289-contact-actions a{background:linear-gradient(180deg,#263946,#15242f)!important;border-color:rgba(180,211,233,.22)!important;color:#fff!important}
body.apa-academy-admin .apa-profile-v289-password-box{background:linear-gradient(145deg,#101f2a,#0b1821)!important;border-color:rgba(100,180,239,.22)!important}
body.apa-academy-admin .apa-profile-v289-password-main small,body.apa-academy-admin .apa-profile-v289-password-note{color:#8dbfe4!important}
body.apa-academy-admin .apa-profile-v289-password-button{background:linear-gradient(180deg,#243744,#13232e)!important;color:#fff!important;border-color:rgba(180,211,233,.24)!important}
body.apa-academy-admin .apa-profile-v289-status{background:linear-gradient(145deg,rgba(17,102,59,.20),rgba(13,48,34,.28))!important;border-color:rgba(74,207,132,.25)!important}
body.apa-academy-admin .apa-profile-v289-status strong{color:#73dfa4!important}body.apa-academy-admin .apa-profile-v289-status small{color:#9fc4ae!important}

/* Student KPI cards and manager KPI cards */
body.apa-academy-admin .apa-kpi-grid>*,body.apa-academy-admin .apa-student-kpis>*{
  background:linear-gradient(145deg,#142430,#0d1923)!important;border:1px solid rgba(183,211,231,.13)!important;
  color:var(--apa-text)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 23px rgba(0,0,0,.20)!important
}
body.apa-academy-admin .apa-kpi-grid strong,body.apa-academy-admin .apa-student-kpis strong{color:#fff!important}
body.apa-academy-admin .apa-kpi-grid span,body.apa-academy-admin .apa-kpi-grid small,body.apa-academy-admin .apa-student-kpis span,body.apa-academy-admin .apa-student-kpis small{color:#9fb0bd!important}

/* Manager cards — remove washed-out white look */
body.apa-academy-admin .apa-manager-grid{gap:16px!important}
body.apa-academy-admin .apa-manager-card{
  background:linear-gradient(145deg,#142430,#0d1923)!important;border:1px solid rgba(183,211,231,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 13px 28px rgba(0,0,0,.22)!important;color:#eaf1f6!important
}
body.apa-academy-admin .apa-manager-card h3{color:#fff!important}body.apa-academy-admin .apa-manager-card p{color:#91a5b4!important}
body.apa-academy-admin .apa-manager-card-stats>div{background:linear-gradient(180deg,#182a37,#11212c)!important;border:1px solid rgba(255,255,255,.06)!important}
body.apa-academy-admin .apa-manager-card-stats strong{color:#fff!important}body.apa-academy-admin .apa-manager-card-stats span{color:#91a5b4!important}
body.apa-academy-admin .apa-manager-card .button,body.apa-academy-admin .apa-manager-card a.button{color:#fff!important}

/* Generic nested light boxes from legacy layouts */
body.apa-academy-admin .apa-panel [style*="background:#fff"],body.apa-academy-admin .apa-panel [style*="background: #fff"]{color:#e9f0f5!important}
body.apa-academy-admin .apa-panel .apa-info-list>div{border-color:rgba(255,255,255,.07)!important}
body.apa-academy-admin .apa-panel .apa-mini-stats div{background:#12222d!important;border:1px solid rgba(255,255,255,.06)!important}
body.apa-academy-admin .apa-panel .apa-mini-stats span{color:#94a7b5!important}body.apa-academy-admin .apa-panel .apa-mini-stats strong{color:#fff!important}

/* Course table/report actions */
body.apa-academy-admin .apa-open-course,body.apa-academy-admin .apa-table .button{
  background:linear-gradient(180deg,#233744,#14242f)!important;color:#fff!important;border:1px solid rgba(178,211,234,.22)!important;
  border-radius:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 3px 0 #050d13!important
}
body.apa-academy-admin .apa-open-course:hover{border-color:rgba(255,64,83,.50)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 0 #050d13,0 0 18px rgba(239,35,56,.12)!important}

/* Messenger — same premium shell, less flat and less visually disconnected */
body.apa-academy-admin .apa-messenger-shell{background:linear-gradient(145deg,#0b151e,#0d1923)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 18px 40px rgba(0,0,0,.22)!important}
body.apa-academy-admin .apa-messenger-sidebar,body.apa-academy-admin .apa-messenger-profile{background:linear-gradient(180deg,#101e29,#0b161f)!important}
body.apa-academy-admin .apa-messenger-thread-head{background:linear-gradient(180deg,#172934,#10202b)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important}
body.apa-academy-admin .apa-messenger-thread-head *{color:#eaf2f7!important}
body.apa-academy-admin .apa-messenger-contact{border:1px solid transparent!important;border-radius:13px!important;padding:10px!important}
body.apa-academy-admin .apa-messenger-contact.is-active{background:linear-gradient(135deg,rgba(239,35,56,.20),rgba(239,35,56,.05))!important;border-color:rgba(255,64,83,.34)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 18px rgba(0,0,0,.18)!important}
body.apa-academy-admin .apa-message-bubble{border-radius:16px!important;box-shadow:0 7px 18px rgba(0,0,0,.16)!important}
body.apa-academy-admin .apa-message-bubble.is-mine{background:linear-gradient(145deg,#ef2338,#c90e27)!important;color:#fff!important;border:1px solid rgba(255,128,140,.28)!important}
body.apa-academy-admin .apa-message-compose-sticky{box-shadow:0 -12px 30px rgba(0,0,0,.18)!important}
body.apa-academy-admin .apa-messenger-profile-card{color:#eaf1f6!important}
body.apa-academy-admin .apa-messenger-profile-card dd,body.apa-academy-admin .apa-messenger-profile-card strong{color:#fff!important}

/* Better visual hierarchy in suitebar */
body.apa-academy-admin .apa-suitebar{padding:13px 16px!important;gap:18px!important;background:linear-gradient(135deg,#101c27,#0b151e 66%,#24121a)!important}
body.apa-academy-admin .apa-suitebar-brand{min-width:185px!important}
body.apa-academy-admin .apa-suitebar-mark{width:46px!important;height:46px!important;border-radius:14px!important}
body.apa-academy-admin .apa-suitebar-link{min-height:40px!important;padding:0 13px!important}

@media(max-width:1100px){body.apa-academy-admin .apa-student-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){body.apa-academy-admin .apa-student-grid{grid-template-columns:1fr!important}}

/* ======================================================================
   v2.9.3.5 — FULL SUITE VISUAL CONSISTENCY
   CSS-only stabilization: every legacy light surface inside Academia gets
   the same dark/glass language and readable contrast. Functional hooks,
   names, forms and JavaScript behavior remain untouched.
   ====================================================================== */
body.apa-academy-admin{
  --apa-935-bg:#071018;
  --apa-935-panel:#0d1923;
  --apa-935-panel2:#12232f;
  --apa-935-panel3:#172b39;
  --apa-935-line:rgba(188,218,239,.15);
  --apa-935-hi:#f8fbfd;
  --apa-935-text:#d9e4eb;
  --apa-935-muted:#9eb1bf;
  --apa-935-red:#ef2338;
  --apa-935-green:#38c477;
}

/* Legacy white cards / panels that still appeared on internal pages */
body.apa-academy-admin .apa-card,
body.apa-academy-admin .apa-health-row,
body.apa-academy-admin .apa-enrollment-user,
body.apa-academy-admin .apa-enrollment-section,
body.apa-academy-admin .apa-enrollment-history,
body.apa-academy-admin .apa-dev-suggestions article,
body.apa-academy-admin .apa-dev-admin-grid article,
body.apa-academy-admin .apa-hub-coming,
body.apa-academy-admin .apa-feature-grid article,
body.apa-academy-admin .apa-assessment-types article,
body.apa-academy-admin .apa-performance-primary>a,
body.apa-academy-admin .apa-ld-admin-card,
body.apa-academy-admin .apa-request-card-premium{
  background:linear-gradient(145deg,var(--apa-935-panel2),var(--apa-935-panel))!important;
  border-color:var(--apa-935-line)!important;
  color:var(--apa-935-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 28px rgba(0,0,0,.22)!important;
}
body.apa-academy-admin .apa-card strong,
body.apa-academy-admin .apa-health-row strong,
body.apa-academy-admin .apa-enrollment-user strong,
body.apa-academy-admin .apa-dev-suggestions h4,
body.apa-academy-admin .apa-dev-admin-grid h3,
body.apa-academy-admin .apa-hub-coming h2,
body.apa-academy-admin .apa-feature-grid b,
body.apa-academy-admin .apa-assessment-types b,
body.apa-academy-admin .apa-performance-primary b,
body.apa-academy-admin .apa-ld-admin-card h3,
body.apa-academy-admin .apa-request-card-premium h3{color:var(--apa-935-hi)!important}
body.apa-academy-admin .apa-card small,
body.apa-academy-admin .apa-health-row small,
body.apa-academy-admin .apa-enrollment-user small,
body.apa-academy-admin .apa-dev-suggestions small,
body.apa-academy-admin .apa-dev-admin-grid p,
body.apa-academy-admin .apa-dev-admin-grid small,
body.apa-academy-admin .apa-dev-admin-grid em,
body.apa-academy-admin .apa-hub-coming p,
body.apa-academy-admin .apa-feature-grid small,
body.apa-academy-admin .apa-assessment-types small,
body.apa-academy-admin .apa-performance-primary small,
body.apa-academy-admin .apa-request-person small,
body.apa-academy-admin .apa-request-reasons p{color:var(--apa-935-muted)!important}

/* Generic empty states: eliminate white rectangles with invisible text */
body.apa-academy-admin .apa-empty,
body.apa-academy-admin .apa-placeholder{
  background:linear-gradient(145deg,#10202b,#0b1720)!important;
  color:var(--apa-935-muted)!important;
  border:1px dashed rgba(191,219,239,.14)!important;
  border-radius:16px!important;
}
body.apa-academy-admin .apa-empty strong,
body.apa-academy-admin .apa-placeholder h2,
body.apa-academy-admin .apa-placeholder h3{color:var(--apa-935-hi)!important}

/* Student edit + course access modals — fully dark, readable, premium */
body.apa-academy-admin .apa-modal-backdrop{background:rgba(2,8,14,.78)!important;backdrop-filter:blur(5px)!important}
body.apa-academy-admin .apa-modal-dialog{
  background:linear-gradient(155deg,#101e29 0%,#0a151e 72%,#17131a 100%)!important;
  color:var(--apa-935-text)!important;
  border:1px solid rgba(199,224,241,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 30px 90px rgba(0,0,0,.55),0 0 0 1px rgba(239,35,56,.045)!important;
}
body.apa-academy-admin .apa-modal-head{border-bottom-color:rgba(255,255,255,.09)!important;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent)!important}
body.apa-academy-admin .apa-modal-head h2{color:#fff!important;text-shadow:0 4px 16px rgba(0,0,0,.3)!important}
body.apa-academy-admin .apa-modal-head p{color:#9fb2c0!important}
body.apa-academy-admin .apa-modal-close{
  background:linear-gradient(180deg,#263947,#13242f)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 5px 0 #050c12,0 10px 22px rgba(0,0,0,.35)!important
}
body.apa-academy-admin .apa-modal-close:hover{background:linear-gradient(180deg,#ff4053,#bd0d25)!important;border-color:#ff7683!important;transform:translateY(-1px)}
body.apa-academy-admin .apa-profile-form{color:var(--apa-935-text)!important}
body.apa-academy-admin .apa-profile-photo-editor{
  background:linear-gradient(145deg,#132530,#0d1b25)!important;border-color:var(--apa-935-line)!important
}
body.apa-academy-admin .apa-profile-photo-editor p{color:var(--apa-935-muted)!important}
body.apa-academy-admin .apa-profile-photo-preview{background:#0a151e!important;border:1px solid rgba(255,255,255,.10)!important}
body.apa-academy-admin .apa-form-grid label>span,
body.apa-academy-admin .apa-field>span,
body.apa-academy-admin .apa-enrollment-grid label>span{color:#dce6ed!important}
body.apa-academy-admin .apa-modal-actions{
  border-top-color:rgba(255,255,255,.09)!important;
  background:linear-gradient(180deg,rgba(9,19,27,.18),rgba(7,15,22,.97))!important
}

/* Course access modal/list */
body.apa-academy-admin .apa-course-access-toolbar input[type=search],
body.apa-academy-admin .apa-course-access-toolbar select{
  background:#09151e!important;color:#f5f8fa!important;border-color:rgba(185,215,236,.20)!important;
  box-shadow:inset 0 1px 8px rgba(0,0,0,.22)!important
}
body.apa-academy-admin .apa-course-access-toolbar>[data-apa-course-access-count]{background:rgba(239,35,56,.14)!important;color:#ff7b87!important;border:1px solid rgba(239,35,56,.20)!important}
body.apa-academy-admin .apa-course-access-legend{color:#a9bbc8!important}
body.apa-academy-admin .apa-course-access-item{
  background:linear-gradient(145deg,#13242f,#0c1922)!important;border-color:rgba(190,219,239,.14)!important;color:var(--apa-935-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 8px 18px rgba(0,0,0,.18)!important
}
body.apa-academy-admin .apa-course-access-item:hover{background:linear-gradient(145deg,#172b38,#10202b)!important;border-color:rgba(255,64,83,.38)!important}
body.apa-academy-admin .apa-course-access-copy strong{color:#f7fafc!important}
body.apa-academy-admin .apa-course-access-copy small{color:#91a6b5!important}
body.apa-academy-admin .apa-course-access-check{background:rgba(239,35,56,.14)!important;color:#ff5363!important}
body.apa-academy-admin .apa-course-access-item.is-selected{background:linear-gradient(145deg,rgba(239,35,56,.16),#0e1c26)!important;border-color:#ef4053!important;box-shadow:0 0 0 1px rgba(239,35,56,.22),0 0 24px rgba(239,35,56,.09)!important}
body.apa-academy-admin .apa-course-access-item.is-enrolled{background:linear-gradient(145deg,rgba(25,110,68,.18),#0d1c24)!important;border-color:rgba(65,194,122,.26)!important}
body.apa-academy-admin .apa-course-access-item.is-enrolled:hover{background:linear-gradient(145deg,rgba(31,137,83,.22),#0f2028)!important;border-color:rgba(77,214,140,.42)!important}
body.apa-academy-admin .apa-course-access-item.is-enrolled.is-selected{background:linear-gradient(145deg,rgba(36,151,91,.29),#0d1d24)!important;border-color:#39c778!important}
body.apa-academy-admin .apa-course-access-item.is-enrolled .apa-course-access-check{background:rgba(42,174,104,.18)!important;color:#68e4a0!important}
body.apa-academy-admin .apa-enrolled-badge{background:rgba(47,180,105,.16)!important;color:#72e5a4!important;border:1px solid rgba(76,214,136,.18)!important}
body.apa-academy-admin .apa-reenroll-hint{color:#72d99c!important}
body.apa-academy-admin .apa-course-access-empty-filter{background:#0d1b24!important;color:#9cafbd!important;border-color:rgba(255,255,255,.12)!important}
body.apa-academy-admin .apa-course-access-empty-filter strong{color:#fff!important}
body.apa-academy-admin .apa-course-access-form .apa-modal-actions{background:linear-gradient(180deg,rgba(10,21,29,.95),#08131b)!important}

/* Enrollment user cards and course enrollment detail form */
body.apa-academy-admin .apa-enrollment-user:hover{background:linear-gradient(145deg,#172a37,#10202b)!important;border-color:rgba(113,196,250,.32)!important}
body.apa-academy-admin .apa-enrollment-user:has(input:checked){background:linear-gradient(145deg,rgba(239,35,56,.16),#0e1c26)!important;border-color:#ef4053!important;box-shadow:0 0 0 1px rgba(239,35,56,.18)!important}
body.apa-academy-admin .apa-enrollment-section-title{
  background:linear-gradient(90deg,#172a36,#121f29 72%,rgba(239,35,56,.10))!important;border-bottom-color:rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-enrollment-section-title h3{color:#fff!important}
body.apa-academy-admin .apa-enrollment-grid input,
body.apa-academy-admin .apa-enrollment-grid select,
body.apa-academy-admin .apa-enrollment-grid textarea{
  background:#08151e!important;color:#f7fafc!important;border-color:rgba(186,217,238,.18)!important
}
body.apa-academy-admin .apa-enrollment-actions{background:linear-gradient(145deg,#141f28,#111b24)!important;border-color:rgba(239,35,56,.18)!important}
body.apa-academy-admin .apa-enrollment-actions p{color:#9fb1bf!important}
body.apa-academy-admin .apa-enrollment-history h3,body.apa-academy-admin .apa-enrollment-history strong{color:#fff!important}
body.apa-academy-admin .apa-enrollment-history small,body.apa-academy-admin .apa-enrollment-history li{color:#a5b6c2!important}

/* Performance hub: remove remaining bright tiles */
body.apa-academy-admin .apa-performance-tools{
  background:linear-gradient(145deg,#11212c,#0c1922)!important;border-color:var(--apa-935-line)!important
}
body.apa-academy-admin .apa-performance-tools>span{color:#92a7b6!important}
body.apa-academy-admin .apa-performance-tools a{color:#cbd9e2!important}
body.apa-academy-admin .apa-performance-tools a:hover{background:#172b38!important;color:#fff!important}
body.apa-academy-admin .apa-performance-tools a.is-active{background:rgba(239,35,56,.14)!important;color:#ff6573!important}
body.apa-academy-admin .apa-performance-primary>a:hover,
body.apa-academy-admin .apa-feature-grid article:hover,
body.apa-academy-admin .apa-assessment-types article:hover{border-color:rgba(255,64,83,.30)!important;transform:translateY(-1px)!important}
body.apa-academy-admin .apa-performance-primary>a>.dashicons,
body.apa-academy-admin .apa-feature-grid .dashicons{background:#182b38!important;color:#91d1ff!important}
body.apa-academy-admin .apa-performance-primary>a.is-active{background:linear-gradient(145deg,#38202b,#151f29)!important;border-color:rgba(255,64,83,.45)!important}
body.apa-academy-admin .apa-performance-primary>a.is-active>.dashicons{background:linear-gradient(145deg,#ff4053,#bd0e25)!important;color:#fff!important}

/* Course request cards / enrollment details */
body.apa-academy-admin .apa-course-requests-premium .apa-enrollment-details,
body.apa-academy-admin .apa-course-requests-premium .apa-enrollment-open{
  background:linear-gradient(180deg,#263946,#13232e)!important;color:#fff!important;border-color:rgba(190,219,239,.22)!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-enrollment-open:hover{background:linear-gradient(180deg,#ff4053,#b80e24)!important;border-color:#ff7683!important;color:#fff!important}
body.apa-academy-admin .apa-request-card-premium .apa-request-course,
body.apa-academy-admin .apa-request-card-premium .apa-request-reasons>div{background:#0c1821!important;border-color:rgba(255,255,255,.07)!important}
body.apa-academy-admin .apa-request-card-premium .apa-request-course small,
body.apa-academy-admin .apa-request-card-premium .apa-request-reasons small{color:#ff7180!important}
body.apa-academy-admin .apa-request-control-grid label>span{color:#cbd8e1!important}

/* Certifications and all forms: explicit label/text contrast */
body.apa-academy-admin .apa-performance-form,
body.apa-academy-admin .apa-form-grid,
body.apa-academy-admin .apa-form-grid label,
body.apa-academy-admin .apa-field{color:var(--apa-935-text)!important}
body.apa-academy-admin .apa-field input[type=file]{padding:7px!important;color:#dbe6ed!important}
body.apa-academy-admin .apa-field input[type=file]::file-selector-button{
  margin-right:12px;padding:8px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.15);
  background:linear-gradient(180deg,#273b49,#152630);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 0 #050d13;cursor:pointer
}
body.apa-academy-admin .apa-field input[type=file]::file-selector-button:hover{border-color:rgba(255,64,83,.45);background:linear-gradient(180deg,#354a59,#1a2c37)}

/* Tables and nested report areas */
body.apa-academy-admin .apa-table-wrap{background:#0b1720!important;border-color:var(--apa-935-line)!important}
body.apa-academy-admin .apa-table tbody tr:hover{background:#13232e!important}
body.apa-academy-admin .apa-table .col-course strong a{color:#f5f9fb!important}
body.apa-academy-admin .apa-table .col-course small{color:#94a8b7!important}
body.apa-academy-admin .apa-info-list dd{color:#edf4f8!important}
body.apa-academy-admin .apa-info-list dt{color:#98aab8!important}

/* Ensure text never disappears on dark surfaces */
body.apa-academy-admin .apa-panel h1,
body.apa-academy-admin .apa-panel h2,
body.apa-academy-admin .apa-panel h3,
body.apa-academy-admin .apa-panel h4,
body.apa-academy-admin .apa-modal h1,
body.apa-academy-admin .apa-modal h2,
body.apa-academy-admin .apa-modal h3,
body.apa-academy-admin .apa-modal h4{color:var(--apa-935-hi)!important}
body.apa-academy-admin .apa-panel p,
body.apa-academy-admin .apa-panel small,
body.apa-academy-admin .apa-modal p,
body.apa-academy-admin .apa-modal small{color:var(--apa-935-muted)!important}

/* Consistent 3D action treatment on every Academy screen */
body.apa-academy-admin .apa-wrap .button:not(.button-link),
body.apa-academy-admin .apa-modal .button:not(.button-link),
body.apa-academy-admin .apa-primary-action,
body.apa-academy-admin .apa-outline-action{
  border-radius:11px!important;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,filter .15s ease!important;
}
body.apa-academy-admin .apa-wrap .button:not(.button-link):active,
body.apa-academy-admin .apa-modal .button:not(.button-link):active,
body.apa-academy-admin .apa-primary-action:active,
body.apa-academy-admin .apa-outline-action:active{transform:translateY(2px)!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.35),0 1px 0 #050d13!important}

@media(max-width:782px){
  body.apa-academy-admin .apa-modal-head,body.apa-academy-admin .apa-profile-form{padding-left:18px!important;padding-right:18px!important}
  body.apa-academy-admin .apa-course-access-list{grid-template-columns:1fr!important}
}

/* ======================================================================
   v2.9.3.6 — DEEP CONSISTENCY / CONTRAST PASS
   Visual-only corrections for legacy light islands still visible in
   modals, Performance, course requests, calendar agenda and enrollment.
   No functional selectors, hooks or JavaScript behavior are changed.
   ====================================================================== */

/* Edit student modal: credentials block must match the dark shell */
body.apa-academy-admin .apa-credentials-editor{
  margin:0 0 24px!important;padding:18px!important;border-radius:16px!important;
  background:linear-gradient(145deg,#13232e,#0b1821)!important;
  border:1px solid rgba(185,215,236,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.18)!important;
  color:#eef4f8!important
}
body.apa-academy-admin .apa-credentials-editor>div:first-child strong,
body.apa-academy-admin .apa-credentials-editor label>span{color:#f7fafc!important}
body.apa-academy-admin .apa-credentials-editor p,
body.apa-academy-admin .apa-credentials-editor small{color:#9eb1bf!important}
body.apa-academy-admin .apa-credentials-editor input{
  background:#08151e!important;color:#fff!important;border-color:rgba(187,218,239,.20)!important;
  box-shadow:inset 0 2px 8px rgba(0,0,0,.28)!important
}
body.apa-academy-admin .apa-credentials-editor input::placeholder{color:#8195a4!important}

/* Access-to-course modal: force the whole content surface dark, not only controls */
body.apa-academy-admin .apa-course-access-form,
body.apa-academy-admin .apa-course-access-list,
body.apa-academy-admin .apa-course-access-list-wrap{
  background:transparent!important;color:#edf4f8!important
}
body.apa-academy-admin .apa-course-access-item{
  background:linear-gradient(145deg,#132630,#0b1821)!important;
  border:1px solid rgba(186,217,238,.16)!important
}
body.apa-academy-admin .apa-course-access-item strong{color:#f7fafc!important}
body.apa-academy-admin .apa-course-access-item small{color:#93a8b7!important}
body.apa-academy-admin .apa-course-access-item.is-enrolled{
  background:linear-gradient(145deg,rgba(28,118,73,.24),#0b1a21)!important;
  border-color:rgba(69,205,129,.30)!important
}
body.apa-academy-admin .apa-course-access-item.is-enrolled strong{color:#effff6!important}
body.apa-academy-admin .apa-course-access-toolbar,
body.apa-academy-admin .apa-course-access-legend{
  background:transparent!important
}

/* Course enrollment user tiles — no white user cards */
body.apa-academy-admin .apa-enrollment-user{
  background:linear-gradient(145deg,#13242f,#0b1821)!important;
  border-color:rgba(187,217,237,.14)!important;color:#edf4f8!important
}
body.apa-academy-admin .apa-enrollment-user strong{color:#f8fbfd!important}
body.apa-academy-admin .apa-enrollment-user small{color:#91a7b6!important}
body.apa-academy-admin .apa-enrollment-user:hover{background:linear-gradient(145deg,#172c38,#10202a)!important}

/* Performance: review / grading editors and process cards */
body.apa-academy-admin .apa-review-stage-editor>article,
body.apa-academy-admin .apa-grading-editor>article,
body.apa-academy-admin .apa-review-cycle-grid>article,
body.apa-academy-admin .apa-grading-grid>article,
body.apa-academy-admin .apa-feature-grid article,
body.apa-academy-admin .apa-assessment-types article,
body.apa-academy-admin .apa-hub-coming{
  background:linear-gradient(145deg,#13242f,#0b1821)!important;
  border-color:rgba(187,217,237,.14)!important;color:#edf4f8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 24px rgba(0,0,0,.17)!important
}
body.apa-academy-admin .apa-stage-title h3,
body.apa-academy-admin .apa-grading-step-title h3,
body.apa-academy-admin .apa-review-card-head h3,
body.apa-academy-admin .apa-grading-card-head h3,
body.apa-academy-admin .apa-feature-grid b,
body.apa-academy-admin .apa-assessment-types b,
body.apa-academy-admin .apa-hub-coming h2{color:#fff!important}
body.apa-academy-admin .apa-stage-title p,
body.apa-academy-admin .apa-grading-step-title p,
body.apa-academy-admin .apa-review-card-head small,
body.apa-academy-admin .apa-grading-card-head small,
body.apa-academy-admin .apa-feature-grid small,
body.apa-academy-admin .apa-assessment-types small,
body.apa-academy-admin .apa-hub-coming p{color:#93a8b7!important}
body.apa-academy-admin .apa-stage-check,
body.apa-academy-admin .apa-grading-step-title>label{
  background:#0a1720!important;border-color:rgba(255,255,255,.10)!important;color:#dce7ee!important
}
body.apa-academy-admin .apa-stage-links label,
body.apa-academy-admin .apa-grading-editor article>label,
body.apa-academy-admin .apa-grading-kpi label{color:#c6d4de!important}
body.apa-academy-admin .apa-stage-links input,
body.apa-academy-admin .apa-grading-editor select,
body.apa-academy-admin .apa-grading-editor input{
  background:#08151e!important;color:#fff!important;border-color:rgba(187,217,237,.18)!important
}
body.apa-academy-admin .apa-review-stage-row span,
body.apa-academy-admin .apa-grading-stage-pills span{
  background:#0f202a!important;color:#9db0bd!important;border:1px solid rgba(255,255,255,.06)!important
}
body.apa-academy-admin .apa-review-stage-row span.is-done,
body.apa-academy-admin .apa-grading-stage-pills span.is-done{
  background:rgba(28,120,72,.22)!important;color:#74dfa6!important;border-color:rgba(73,207,133,.18)!important
}
body.apa-academy-admin .apa-review-year,
body.apa-academy-admin .apa-grade-path,
body.apa-academy-admin .apa-grading-final{
  background:#172833!important;color:#c9d7e0!important;border:1px solid rgba(255,255,255,.07)!important
}
body.apa-academy-admin .apa-grading-grid>article.status-promoted{
  background:linear-gradient(145deg,rgba(25,112,66,.24),#0c1a21)!important;border-color:rgba(76,210,135,.28)!important
}
body.apa-academy-admin .apa-grading-grid>article.status-not_promoted{
  background:linear-gradient(145deg,rgba(145,29,42,.24),#18141a)!important;border-color:rgba(242,91,105,.26)!important
}

/* Course requests: KPI strip, toolbar, cards, admin controls all dark */
body.apa-academy-admin .apa-course-requests-premium .apa-kpi{
  background:linear-gradient(145deg,#13242f,#0c1922)!important;
  border-color:rgba(188,218,238,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 28px rgba(0,0,0,.20)!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-kpi strong{color:#fff!important}
body.apa-academy-admin .apa-course-requests-premium .apa-kpi span:not(.apa-kpi-icon){color:#dce7ee!important}
body.apa-academy-admin .apa-course-requests-premium .apa-kpi small{color:#8fa4b3!important}
body.apa-academy-admin .apa-course-requests-premium .apa-ld-toolbar{
  background:linear-gradient(145deg,#13242f,#0b1821)!important;border-color:rgba(188,218,238,.14)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.18)!important
}
body.apa-academy-admin .apa-toolbar-search,
body.apa-academy-admin .apa-toolbar-filter{
  background:#08151e!important;border-color:rgba(187,217,237,.18)!important
}
body.apa-academy-admin .apa-toolbar-search input,
body.apa-academy-admin .apa-toolbar-filter select{color:#f7fafc!important}
body.apa-academy-admin .apa-request-card-premium{
  background:linear-gradient(180deg,#13242f,#0b1821)!important;border-color:rgba(188,218,238,.14)!important;
  box-shadow:0 15px 34px rgba(0,0,0,.22)!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-ld-admin-card-head{
  background:linear-gradient(180deg,#172a36,#10202a)!important;border-bottom-color:rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-request-person strong{color:#fff!important}
body.apa-academy-admin .apa-request-person small{color:#9aafbd!important}
body.apa-academy-admin .apa-request-person em{background:#0c1922!important;color:#a8bac6!important}
body.apa-academy-admin .apa-course-requests-premium .apa-request-course h3{color:#fff!important}
body.apa-academy-admin .apa-course-requests-premium .apa-request-meta span{
  background:#11222c!important;color:#c5d3dc!important;border-color:rgba(255,255,255,.07)!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-request-link{
  background:rgba(239,35,56,.12)!important;color:#ff7885!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-request-reasons>div{
  background:#0c1922!important;border-color:rgba(255,255,255,.07)!important
}
body.apa-academy-admin .apa-course-requests-premium .apa-request-reasons p{color:#c9d6df!important}
body.apa-academy-admin .apa-course-requests-premium .apa-request-admin-form{
  background:linear-gradient(180deg,#0d1a23,#09151d)!important;border-top-color:rgba(255,255,255,.08)!important
}

/* Calendar: agenda column is part of the dark experience, not a white island */
body.apa-academy-admin .apa-calendar-agenda{
  background:linear-gradient(180deg,#12232e,#0b1821)!important;border-color:rgba(188,218,238,.14)!important
}
body.apa-academy-admin .apa-calendar-agenda-head{
  background:#12232e!important;border-bottom-color:rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-calendar-agenda-head h3{color:#fff!important}
body.apa-academy-admin .apa-calendar-agenda-head p{color:#8fa4b3!important}
body.apa-academy-admin .apa-agenda-item{
  background:#0d1b24!important;border-bottom-color:rgba(255,255,255,.07)!important;color:#eaf1f6!important
}
body.apa-academy-admin .apa-agenda-item:hover{background:#132630!important}
body.apa-academy-admin .apa-agenda-date{background:#142630!important;border-color:rgba(255,255,255,.10)!important;color:#fff!important}
body.apa-academy-admin .apa-agenda-date small{color:#8fa4b3!important}
body.apa-academy-admin .apa-agenda-copy strong{color:#edf4f8!important}
body.apa-academy-admin .apa-agenda-copy small{color:#8fa4b3!important}

/* Generic empty states inside dark panels */
body.apa-academy-admin .apa-empty,
body.apa-academy-admin .apa-assessment-monitor .apa-empty{
  background:linear-gradient(145deg,#10202a,#0a171f)!important;
  border:1px dashed rgba(187,217,237,.16)!important;color:#d9e5ec!important
}
body.apa-academy-admin .apa-empty h3{color:#fff!important}
body.apa-academy-admin .apa-empty p{color:#8fa4b3!important}

/* Prevent bright text on bright surfaces if a legacy component still stays light. */
body.apa-academy-admin .apa-wrap .apa-light-surface,
body.apa-academy-admin .apa-wrap [class*="apa-white-"]{color:#17212b!important}

/* Slightly richer 3D treatment on actionable buttons without changing behavior */
body.apa-academy-admin .apa-wrap .button:not(.button-link):not(.button-link-delete),
body.apa-academy-admin .apa-primary-action,
body.apa-academy-admin .apa-outline-action{
  border-width:1px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -1px 0 rgba(0,0,0,.30),0 4px 0 #040b11,0 9px 18px rgba(0,0,0,.23)!important
}
body.apa-academy-admin .apa-wrap .button:not(.button-link):not(.button-link-delete):hover,
body.apa-academy-admin .apa-primary-action:hover,
body.apa-academy-admin .apa-outline-action:hover{
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.17),inset 0 -1px 0 rgba(0,0,0,.30),0 5px 0 #040b11,0 11px 22px rgba(0,0,0,.26),0 0 18px rgba(239,35,56,.08)!important
}


/* ======================================================================
   v2.9.3.7 — EXECUTIVE VISUAL REFINEMENT
   Final consistency pass for Performance, Messenger and Calendar.
   CSS-only. No hooks, forms, LMS logic or JavaScript behavior changed.
   ====================================================================== */

body.apa-academy-admin{
  --apa-937-bg:#07111a;
  --apa-937-panel:#0d1a24;
  --apa-937-panel-2:#122430;
  --apa-937-line:rgba(174,210,232,.14);
  --apa-937-line-strong:rgba(174,210,232,.24);
  --apa-937-text:#f4f8fb;
  --apa-937-muted:#91a7b6;
  --apa-937-red:#ef2438;
  --apa-937-red2:#b90f25;
}

/* Premium panel depth across internal academy pages */
body.apa-academy-admin .apa-panel,
body.apa-academy-admin .apa-calendar-shell,
body.apa-academy-admin .apa-messenger-shell,
body.apa-academy-admin .apa-course-requests-premium,
body.apa-academy-admin .apa-performance-tools{
  border-color:var(--apa-937-line)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 42px rgba(0,0,0,.20)!important;
}

/* PERFORMANCE — remove the last flat/white islands */
body.apa-academy-admin .apa-performance-primary>a{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#11232f,#0b1821)!important;
  border:1px solid var(--apa-937-line)!important;
  color:var(--apa-937-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 8px 18px rgba(0,0,0,.18)!important;
}
body.apa-academy-admin .apa-performance-primary>a:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.04),transparent 30%,transparent 70%,rgba(239,36,56,.03));
}
body.apa-academy-admin .apa-performance-primary>a:hover{
  transform:translateY(-2px);border-color:rgba(239,36,56,.30)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 26px rgba(0,0,0,.25),0 0 18px rgba(239,36,56,.06)!important
}
body.apa-academy-admin .apa-performance-primary>a.is-active{
  background:linear-gradient(145deg,#2a1d28,#141b24)!important;
  border-color:rgba(239,36,56,.55)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.25),0 0 22px rgba(239,36,56,.10)!important
}
body.apa-academy-admin .apa-performance-primary b{color:#fff!important}
body.apa-academy-admin .apa-performance-primary small{color:#94a9b8!important}
body.apa-academy-admin .apa-performance-primary>a>.dashicons{
  background:linear-gradient(145deg,#183141,#102530)!important;color:#72c7f5!important;
  border:1px solid rgba(130,196,230,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
body.apa-academy-admin .apa-performance-primary>a.is-active>.dashicons{
  background:linear-gradient(145deg,#ff3549,#c41329)!important;color:#fff!important;
  box-shadow:0 6px 16px rgba(239,36,56,.24)
}
body.apa-academy-admin .apa-performance-tools{
  background:linear-gradient(145deg,#10212c,#0a171f)!important;padding:11px 14px!important
}
body.apa-academy-admin .apa-procedure-hero{
  border:1px solid rgba(239,36,56,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 38px rgba(0,0,0,.22)!important
}
body.apa-academy-admin .apa-process-flow article,
body.apa-academy-admin .apa-grading-principles article{
  background:linear-gradient(145deg,#132630,#0b1821)!important;
  border:1px solid var(--apa-937-line)!important;color:var(--apa-937-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 9px 20px rgba(0,0,0,.16)!important
}
body.apa-academy-admin .apa-process-flow article strong,
body.apa-academy-admin .apa-grading-principles article strong{color:#f7fafc!important}
body.apa-academy-admin .apa-process-flow article small,
body.apa-academy-admin .apa-grading-principles article small{color:#93a8b7!important}
body.apa-academy-admin .apa-process-flow article>b,
body.apa-academy-admin .apa-grading-principles article>b{
  background:linear-gradient(145deg,#203343,#101d29)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 4px 10px rgba(0,0,0,.24)!important
}
body.apa-academy-admin .apa-process-flow>i{color:#668092!important}

/* Performance forms/editor sections */
body.apa-academy-admin .apa-review-stage-editor>article,
body.apa-academy-admin .apa-grading-editor>article{
  border-radius:18px!important;padding:20px!important;
  background:linear-gradient(145deg,#11232f,#0a1720)!important;
  border:1px solid var(--apa-937-line)!important;
}
body.apa-academy-admin .apa-stage-title>b,
body.apa-academy-admin .apa-grading-step-title>b{
  background:linear-gradient(145deg,#26384b,#101c28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 12px rgba(0,0,0,.20)!important
}

/* MESSENGER — make it feel like a premium workspace, not a raw chat screen */
body.apa-academy-admin .apa-messenger-admin{margin-right:14px!important}
body.apa-academy-admin .apa-messenger-shell{
  border-radius:24px!important;
  background:linear-gradient(145deg,#0c1821,#09141d)!important;
  border:1px solid rgba(177,211,232,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 22px 54px rgba(0,0,0,.28)!important;
}
body.apa-academy-admin .apa-messenger-sidebar{
  background:linear-gradient(180deg,#10212c,#0b1821)!important;
  border-right-color:rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-messenger-thread{
  background:
    radial-gradient(circle at 70% 18%,rgba(239,36,56,.035),transparent 28%),
    linear-gradient(180deg,#09141d,#0b1821)!important
}
body.apa-academy-admin .apa-messenger-thread-head{
  background:rgba(18,38,49,.94)!important;border-bottom-color:rgba(255,255,255,.08)!important;
  backdrop-filter:blur(10px)
}
body.apa-academy-admin .apa-messenger-profile{
  background:linear-gradient(180deg,#10212c,#0a1720)!important;
  border-left-color:rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-messenger-search{
  background:#091720!important;border:1px solid rgba(170,207,230,.16)!important;
  box-shadow:inset 0 2px 8px rgba(0,0,0,.22)!important
}
body.apa-academy-admin .apa-messenger-search:focus-within{
  border-color:rgba(239,36,56,.48)!important;box-shadow:0 0 0 3px rgba(239,36,56,.08),inset 0 2px 8px rgba(0,0,0,.22)!important
}
body.apa-academy-admin .apa-messenger-contact{
  border:1px solid transparent!important;transition:.18s ease!important
}
body.apa-academy-admin .apa-messenger-contact:hover{
  transform:translateX(2px);background:#152833!important;border-color:rgba(255,255,255,.07)!important
}
body.apa-academy-admin .apa-messenger-contact.is-active{
  background:linear-gradient(90deg,rgba(239,36,56,.18),rgba(78,31,45,.17))!important;
  border-color:rgba(239,36,56,.34)!important;
  box-shadow:inset 3px 0 0 var(--apa-937-red),0 8px 18px rgba(0,0,0,.13)!important
}
body.apa-academy-admin .apa-message-bubbles{padding:26px!important}
body.apa-academy-admin .apa-message-bubble{
  max-width:min(660px,78%)!important;border-radius:17px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(0,0,0,.16)!important
}
body.apa-academy-admin .apa-message-bubble.is-mine,
body.apa-academy-admin .apa-message-bubble.apa-message-own{
  background:linear-gradient(145deg,#f22f43,#c61129)!important
}
body.apa-academy-admin .apa-message-compose,
body.apa-academy-admin .apa-message-compose-sticky{
  background:linear-gradient(180deg,#0d1b24,#09151e)!important;
  border-top:1px solid rgba(255,255,255,.08)!important;padding:12px 14px!important
}
body.apa-academy-admin .apa-message-compose textarea,
body.apa-academy-admin .apa-message-compose-sticky textarea{
  background:#091720!important;color:#fff!important;border:1px solid rgba(174,210,232,.17)!important;
  border-radius:14px!important;box-shadow:inset 0 2px 8px rgba(0,0,0,.25)!important
}
body.apa-academy-admin .apa-messenger-profile-card{
  border-bottom-color:rgba(255,255,255,.10)!important;padding-top:8px!important
}
body.apa-academy-admin .apa-messenger-profile-card img,
body.apa-academy-admin .apa-messenger-profile-card .avatar{
  box-shadow:0 0 0 4px rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.25)!important
}
body.apa-academy-admin .apa-messenger-profile dl div{border-bottom-color:rgba(255,255,255,.08)!important}

/* CALENDAR — stronger dark consistency and less spreadsheet-like */
body.apa-academy-admin .apa-calendar-shell{
  overflow:hidden;border-radius:20px!important;background:#0a1720!important
}
body.apa-academy-admin .apa-calendar-toolbar{
  background:linear-gradient(145deg,#122430,#0b1922)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;padding:13px 14px!important
}
body.apa-academy-admin .apa-calendar-weekdays{
  background:#0d1d27!important;border-bottom:1px solid rgba(255,255,255,.08)!important;color:#9fb1be!important
}
body.apa-academy-admin .apa-calendar-weekdays>div{
  color:#9fb1be!important;border-right-color:rgba(255,255,255,.05)!important
}
body.apa-academy-admin .apa-calendar-day{
  background:linear-gradient(180deg,#0c1922,#0b1720)!important;
  border-color:rgba(255,255,255,.07)!important;transition:.18s ease
}
body.apa-academy-admin .apa-calendar-day:hover{
  background:linear-gradient(180deg,#112530,#0d1b24)!important;box-shadow:inset 0 0 0 1px rgba(91,170,214,.12)
}
body.apa-academy-admin .apa-calendar-day.is-outside{background:#08131b!important;opacity:.72!important}
body.apa-academy-admin .apa-calendar-day-head strong{color:#f5f8fa!important}
body.apa-academy-admin .apa-calendar-agenda{
  background:linear-gradient(180deg,#10232e,#0a1720)!important;
  border-left:1px solid rgba(255,255,255,.08)!important
}
body.apa-academy-admin .apa-agenda-item{
  background:transparent!important;border-bottom-color:rgba(255,255,255,.07)!important
}
body.apa-academy-admin .apa-agenda-item:hover{background:#142a36!important}
body.apa-academy-admin .apa-cal-event{
  border-radius:8px!important;border:1px solid rgba(255,255,255,.15)!important;
  box-shadow:0 3px 8px rgba(0,0,0,.18)!important
}
body.apa-academy-admin .apa-calendar-kpis>div{
  background:linear-gradient(145deg,#11232f,#0b1821)!important;border-color:var(--apa-937-line)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 18px rgba(0,0,0,.15)!important
}
body.apa-academy-admin .apa-calendar-kpis strong{color:#fff!important}
body.apa-academy-admin .apa-calendar-kpis span{color:#8fa6b6!important}

/* Modal consistency for Calendar / Academy dialogs */
body.apa-academy-admin .apa-calendar-modal-card{
  background:linear-gradient(145deg,#12242f,#0b1821)!important;border:1px solid var(--apa-937-line)!important;
  color:#f4f8fb!important;box-shadow:0 30px 90px rgba(0,0,0,.48)!important
}
body.apa-academy-admin .apa-calendar-modal-card h2{color:#fff!important}
body.apa-academy-admin .apa-calendar-modal-card>p{color:#a1b2bf!important}
body.apa-academy-admin .apa-calendar-modal-meta span{background:#0a1720!important;border-color:rgba(255,255,255,.09)!important;color:#cbd8e1!important}
body.apa-academy-admin .apa-calendar-modal-x{background:#172b38!important;color:#fff!important}

/* Final typography/contrast tune */
body.apa-academy-admin .apa-wrap h1,
body.apa-academy-admin .apa-wrap h2,
body.apa-academy-admin .apa-wrap h3{letter-spacing:-.025em}
body.apa-academy-admin .apa-wrap p,
body.apa-academy-admin .apa-wrap small{line-height:1.45}

@media(max-width:1200px){
  body.apa-academy-admin .apa-message-bubble{max-width:86%!important}
}

/* ======================================================================
   v2.9.3.8 — PERFORMANCE + MESSENGER SIGNATURE POLISH
   Visual-only refinement for the remaining light legacy surfaces visible
   in Grading, Evaluare 360 and Messenger. No functional selectors changed.
   ====================================================================== */
body.apa-academy-admin{
  --apa-938-surface:#0b1821;
  --apa-938-surface-2:#10232d;
  --apa-938-surface-3:#152a36;
  --apa-938-border:rgba(173,211,235,.15);
  --apa-938-border-hi:rgba(173,211,235,.26);
  --apa-938-text:#f7fafc;
  --apa-938-muted:#9aafbd;
  --apa-938-red:#ef2338;
}

/* PERFORMANCE — filter bars, grading editor and auto-source cards */
body.apa-academy-admin .apa-grading-filters{
  background:linear-gradient(145deg,#10232d,#0a1720)!important;
  border:1px solid var(--apa-938-border)!important;
  border-radius:16px!important;
  padding:12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.17)!important;
}
body.apa-academy-admin .apa-grading-filters input,
body.apa-academy-admin .apa-grading-filters select{background:#08151e!important;color:#fff!important;border-color:rgba(185,216,237,.19)!important}
body.apa-academy-admin .apa-grading-auto-note{
  background:linear-gradient(145deg,#102a38,#0a1922)!important;
  border:1px solid rgba(94,179,230,.20)!important;
  color:#dce8ef!important;
  box-shadow:inset 3px 0 0 #3ba8e8,inset 0 1px 0 rgba(255,255,255,.04)!important
}
body.apa-academy-admin .apa-grading-auto-note .dashicons{color:#63c4fb!important}
body.apa-academy-admin .apa-grading-auto-note strong{color:#f8fbfd!important}
body.apa-academy-admin .apa-grading-auto-note p{color:#9eb2bf!important}
body.apa-academy-admin .apa-auto-source-card,
body.apa-academy-admin .apa-auto-source-card.is-synced,
body.apa-academy-admin .apa-auto-source-card.is-waiting{
  background:linear-gradient(145deg,#11242f,#0a1821)!important;
  border:1px solid var(--apa-938-border)!important;
  color:var(--apa-938-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.18)!important
}
body.apa-academy-admin .apa-auto-source-card.is-synced{border-color:rgba(62,201,126,.24)!important;box-shadow:inset 3px 0 0 #27b36b,0 10px 24px rgba(0,0,0,.18)!important}
body.apa-academy-admin .apa-auto-source-card.is-waiting{border-color:rgba(245,193,77,.24)!important;box-shadow:inset 3px 0 0 #d9a72c,0 10px 24px rgba(0,0,0,.18)!important}
body.apa-academy-admin .apa-auto-source-grid>div{
  background:#0a1720!important;border:1px solid rgba(181,214,236,.12)!important;color:#eef5f9!important
}
body.apa-academy-admin .apa-auto-source-grid small{color:#82a0b2!important}
body.apa-academy-admin .apa-auto-source-grid strong{color:#f7fafc!important}
body.apa-academy-admin .apa-auto-source-grid span{color:#a5b7c3!important}
body.apa-academy-admin .apa-auto-state{background:#172a35!important;color:#dfeaf0!important;border:1px solid rgba(255,255,255,.07)!important}
body.apa-academy-admin .apa-auto-source-card.is-synced .apa-auto-state{background:rgba(38,168,94,.16)!important;color:#78e4a8!important;border-color:rgba(69,210,130,.18)!important}
body.apa-academy-admin .apa-auto-source-card.is-waiting .apa-auto-state{background:rgba(210,157,41,.15)!important;color:#f0cc73!important;border-color:rgba(235,191,79,.18)!important}

/* EVALUARE 360 — report header, KPIs, campaign cards, chart and insights */
body.apa-academy-admin .apa-360-report-wrap{max-width:none!important;width:100%!important}
body.apa-academy-admin .apa-360-report-top{
  background:linear-gradient(135deg,#0d1b25 0%,#15212b 58%,#39121c 100%)!important;
  border:1px solid rgba(239,35,56,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 20px 45px rgba(0,0,0,.28)!important
}
body.apa-academy-admin .apa-360-kpis article,
body.apa-academy-admin .apa-360-card,
body.apa-academy-admin .apa-360-section,
body.apa-academy-admin .apa-360-comment-grid article,
body.apa-academy-admin .apa-360-radar-key{
  background:linear-gradient(145deg,#11242f,#0a1821)!important;
  border:1px solid var(--apa-938-border)!important;
  color:var(--apa-938-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 10px 24px rgba(0,0,0,.17)!important
}
body.apa-academy-admin .apa-360-kpis small,
body.apa-academy-admin .apa-360-kpis span,
body.apa-academy-admin .apa-360-card p,
body.apa-academy-admin .apa-360-section p,
body.apa-academy-admin .apa-360-comment-grid small,
body.apa-academy-admin .apa-360-radar-key span{color:#96aab8!important}
body.apa-academy-admin .apa-360-kpis strong,
body.apa-academy-admin .apa-360-card h3,
body.apa-academy-admin .apa-360-section h3,
body.apa-academy-admin .apa-360-comment-grid p{color:#f8fbfd!important}
body.apa-academy-admin .apa-360-kpis strong em{color:#8fa4b3!important}
body.apa-academy-admin .apa-360-progress i{background:#21333f!important}
body.apa-academy-admin .apa-360-radar-svg text{fill:#a9bac5!important}
body.apa-academy-admin .apa-360-radar-key b{background:#1d3140!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)!important}
body.apa-academy-admin .apa-360-insight-block{border:1px solid rgba(255,255,255,.07)!important;color:#eef5f8!important}
body.apa-academy-admin .apa-360-insight-block.is-strong{background:linear-gradient(145deg,rgba(23,105,67,.24),#0b1b20)!important}
body.apa-academy-admin .apa-360-insight-block.is-growth{background:linear-gradient(145deg,rgba(145,31,48,.24),#19151b)!important}
body.apa-academy-admin .apa-360-insight-block div{border-top-color:rgba(255,255,255,.07)!important}
body.apa-academy-admin .apa-360-report-link{color:#ff6675!important}
body.apa-academy-admin .apa-360-report-link:hover{color:#fff!important}

/* Performance report cards/summary panels that previously remained bright */
body.apa-academy-admin .apa-performance-status,
body.apa-academy-admin .apa-performance-summary article,
body.apa-academy-admin .apa-performance-report article,
body.apa-academy-admin .apa-assessment-monitor article,
body.apa-academy-admin .apa-360-campaign-grid>article{
  background:linear-gradient(145deg,#11242f,#0a1821)!important;
  border-color:var(--apa-938-border)!important;
  color:#eef5f8!important
}

/* MESSENGER — cleaner conversation hierarchy and premium message bubbles */
body.apa-academy-admin .apa-messenger-admin{
  background:radial-gradient(circle at 84% 8%,rgba(239,35,56,.055),transparent 25%),#07111a!important;
}
body.apa-academy-admin .apa-messenger-shell{min-height:650px!important}
body.apa-academy-admin .apa-messenger-sidebar{box-shadow:inset -1px 0 0 rgba(255,255,255,.05)!important}
body.apa-academy-admin .apa-message-bubbles{
  background:radial-gradient(circle at 50% 0%,rgba(49,111,149,.045),transparent 34%)!important;
}
body.apa-academy-admin .apa-message-bubble{
  border:1px solid rgba(255,255,255,.07)!important;
  padding:14px 16px!important;
}
body.apa-academy-admin .apa-message-bubble.is-mine,
body.apa-academy-admin .apa-message-bubble.apa-message-own{
  background:linear-gradient(145deg,#f12d42,#bd0d24)!important;
  border-color:rgba(255,119,131,.35)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 22px rgba(137,5,25,.22)!important
}
body.apa-academy-admin .apa-message-bubble.is-theirs{
  background:linear-gradient(145deg,#18303c,#10212b)!important;
  border-color:rgba(173,211,235,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 18px rgba(0,0,0,.15)!important
}
body.apa-academy-admin .apa-message-bubble,
body.apa-academy-admin .apa-message-bubble *{color:#f8fbfd!important}
body.apa-academy-admin .apa-message-bubble small{color:rgba(255,255,255,.72)!important}
body.apa-academy-admin .apa-message-compose-sticky textarea{min-height:54px!important}
body.apa-academy-admin .apa-message-compose-sticky button,
body.apa-academy-admin .apa-message-compose button{
  background:linear-gradient(180deg,#ff4053,#e91830 50%,#ad091f)!important;
  color:#fff!important;border:1px solid #ff7f8a!important;border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 4px 0 #710716,0 10px 20px rgba(0,0,0,.28),0 0 18px rgba(239,35,56,.14)!important
}
body.apa-academy-admin .apa-messenger-profile .button,
body.apa-academy-admin .apa-messenger-profile a.button{width:100%;justify-content:center!important}
body.apa-academy-admin .apa-messenger-contact-line strong{color:#fff!important}
body.apa-academy-admin .apa-messenger-contact-preview{color:#9eb1bf!important}

/* Any remaining legacy white cards inside Performance are converted to dark only on Academy pages. */
body.apa-academy-admin .apa-wrap .apa-performance-primary ~ section article[style*="background"],
body.apa-academy-admin .apa-wrap .apa-performance-tools ~ section article[style*="background"]{
  border-color:var(--apa-938-border)!important;
}

@media(max-width:1100px){
  body.apa-academy-admin .apa-message-bubbles{padding:18px!important}
  body.apa-academy-admin .apa-message-bubble{max-width:88%!important}
}


/* ======================================================================
   v2.9.3.9 — EVALUARE 360° TABLE + REPORT CONSISTENCY
   Visual-only override. Prevents WordPress .striped / .widefat defaults
   from reintroducing white rows and light surfaces inside Academy reports.
   ====================================================================== */
body.apa-academy-admin .apa-360-compare .apa-table-wrap,
body.apa-academy-admin .apa-360-compare table.widefat,
body.apa-academy-admin .apa-360-compare table.apa-table{
  background:linear-gradient(180deg,#0c1922,#09151d)!important;
  border-color:rgba(173,211,235,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 30px rgba(0,0,0,.18)!important;
}
body.apa-academy-admin .apa-360-compare table.widefat thead th,
body.apa-academy-admin .apa-360-compare table.apa-table thead th{
  background:linear-gradient(180deg,#172b37,#13232e)!important;
  color:#f8fbfd!important;
  border-color:rgba(255,255,255,.08)!important;
}
body.apa-academy-admin .apa-360-compare table.widefat tbody tr,
body.apa-academy-admin .apa-360-compare table.widefat.striped tbody tr,
body.apa-academy-admin .apa-360-compare table.apa-table tbody tr{
  background:#0b1821!important;
  color:#e7eef4!important;
}
body.apa-academy-admin .apa-360-compare table.widefat.striped>tbody>:nth-child(odd),
body.apa-academy-admin .apa-360-compare table.widefat.striped>tbody>:nth-child(even),
body.apa-academy-admin .apa-360-compare table.widefat.striped>tbody>:nth-child(odd) td,
body.apa-academy-admin .apa-360-compare table.widefat.striped>tbody>:nth-child(even) td,
body.apa-academy-admin .apa-360-compare table.apa-table tbody tr:nth-child(odd) td,
body.apa-academy-admin .apa-360-compare table.apa-table tbody tr:nth-child(even) td{
  background:#0b1821!important;
  color:#e7eef4!important;
  border-color:rgba(255,255,255,.07)!important;
}
body.apa-academy-admin .apa-360-compare table.widefat tbody tr:nth-child(even) td,
body.apa-academy-admin .apa-360-compare table.apa-table tbody tr:nth-child(even) td{
  background:#10212b!important;
}
body.apa-academy-admin .apa-360-compare table.widefat tbody tr:hover td,
body.apa-academy-admin .apa-360-compare table.apa-table tbody tr:hover td{
  background:#17303d!important;
  color:#fff!important;
}
body.apa-academy-admin .apa-360-compare table.widefat td,
body.apa-academy-admin .apa-360-compare table.apa-table td{
  color:#dce7ee!important;
  text-shadow:none!important;
}
body.apa-academy-admin .apa-360-compare table.widefat td:first-child,
body.apa-academy-admin .apa-360-compare table.apa-table td:first-child{
  color:#9eb3c0!important;font-weight:800!important;
}
body.apa-academy-admin .apa-360-compare table.widefat td:nth-child(2),
body.apa-academy-admin .apa-360-compare table.apa-table td:nth-child(2){
  color:#f5f9fb!important;font-weight:650!important;
}
body.apa-academy-admin .apa-360-compare table.widefat td:last-child,
body.apa-academy-admin .apa-360-compare table.apa-table td:last-child{
  color:#fff!important;font-weight:800!important;
}

/* Report key / chart readability on the dark canvas */
body.apa-academy-admin .apa-360-radar-legend .is-self i{background:#ff4053!important;box-shadow:0 0 0 3px rgba(255,64,83,.13)!important}
body.apa-academy-admin .apa-360-radar-legend .is-manager i{background:#ff7a46!important}
body.apa-academy-admin .apa-360-radar-legend .is-peer i{background:#6e7cff!important}
body.apa-academy-admin .apa-360-radar-legend .is-subordinate i{background:#31c982!important}
body.apa-academy-admin .apa-360-radar-legend .is-other i{background:#a96cff!important}
body.apa-academy-admin .apa-360-radar-legend span{color:#dbe7ee!important}
body.apa-academy-admin .apa-360-radar-svg polygon[fill="none"],
body.apa-academy-admin .apa-360-radar-svg line{stroke:#8194a2!important;stroke-opacity:.72!important}

/* Remaining 360 report surfaces: keep one premium dark language */
body.apa-academy-admin .apa-360-compare,
body.apa-academy-admin .apa-360-comments,
body.apa-academy-admin .apa-360-report-chart,
body.apa-academy-admin .apa-360-insights{
  background:linear-gradient(145deg,#101f29,#0a1720)!important;
  border-color:rgba(173,211,235,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 34px rgba(0,0,0,.18)!important;
}
body.apa-academy-admin .apa-360-compare h2,
body.apa-academy-admin .apa-360-comments h2,
body.apa-academy-admin .apa-360-report-chart h2,
body.apa-academy-admin .apa-360-insights h2{color:#fff!important}
body.apa-academy-admin .apa-360-compare .apa-panel-head p,
body.apa-academy-admin .apa-360-comments .apa-panel-head p{color:#9fb1be!important}

/* ==============================================================
   v2.9.4.0 — SIGNATURE AP BRAND
   Dashboard logo rebuilt in pure HTML/CSS. No image assets.
   ============================================================== */
.apa-pro-dashboard-hero-v2930{padding-top:28px!important}
.apa-pro-dashboard-hero-v2930>.apa-pro-live-row{display:none!important}
.apa-pro-command-grid{align-items:center!important}
.apa-pro-ap-brand-v2940{
  position:relative;min-height:188px;padding:10px 18px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:12px!important;text-align:center;
}
.apa-pro-signature{
  position:relative;width:156px;height:112px;display:grid;place-items:center;
  filter:drop-shadow(0 20px 28px rgba(0,0,0,.34));
}
.apa-pro-signature-frame{
  position:absolute;inset:7px 16px 11px;border-radius:28px 10px 28px 10px;
  transform:rotate(45deg) scale(.77);
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -18px 28px rgba(0,0,0,.28),0 0 0 1px rgba(239,35,56,.08),0 14px 34px rgba(0,0,0,.24);
}
.apa-pro-signature-frame:before{
  content:"";position:absolute;inset:8px;border:1px solid rgba(239,35,56,.24);border-radius:22px 7px 22px 7px;
}
.apa-pro-signature-a,.apa-pro-signature-p{
  position:absolute;z-index:3;top:24px;font-family:Inter,Arial,sans-serif;font-style:italic;font-weight:950;line-height:1;
  letter-spacing:-.13em;
}
.apa-pro-signature-a{
  left:34px;font-size:72px;color:#f7f9fb;
  text-shadow:0 1px 0 #fff,0 3px 0 #8d98a3,0 9px 22px rgba(0,0,0,.32);
}
.apa-pro-signature-p{
  right:32px;font-size:72px;color:#ef2338;
  text-shadow:0 2px 0 #9f1022,0 9px 22px rgba(239,35,56,.22);
}
.apa-pro-signature-slash{
  position:absolute;z-index:4;left:21px;right:18px;top:54px;height:8px;border-radius:999px;
  transform:rotate(-16deg) skewX(-20deg);
  background:linear-gradient(90deg,#7f0918 0%,#e4142b 24%,#ff5361 52%,#b80d23 100%);
  box-shadow:0 0 16px rgba(239,35,56,.42),0 5px 12px rgba(0,0,0,.26);
}
.apa-pro-signature-dot{
  position:absolute;z-index:5;right:18px;bottom:18px;width:7px;height:7px;border-radius:50%;
  background:#ef2338;box-shadow:0 0 13px rgba(239,35,56,.8);
}
.apa-pro-signature-wordmark{display:grid;justify-items:center;gap:2px;text-align:center}
.apa-pro-signature-wordmark small{
  color:#dfe7ee!important;font-size:10px!important;font-weight:900!important;letter-spacing:.48em!important;margin-left:.48em;
}
.apa-pro-signature-wordmark strong{
  color:#fff!important;font-size:31px!important;line-height:1!important;font-style:italic!important;font-weight:900!important;
  letter-spacing:-.045em!important;text-shadow:0 5px 16px rgba(0,0,0,.28);
}
.apa-pro-signature-wordmark strong span{color:#ef2338!important}
@media(max-width:1050px){.apa-pro-ap-brand-v2940{grid-column:1/-1!important;grid-row:1!important}}
@media(max-width:700px){.apa-pro-ap-brand-v2940{grid-column:auto!important;grid-row:auto!important;min-height:150px!important}.apa-pro-signature{transform:scale(.86)}.apa-pro-signature-wordmark strong{font-size:28px!important}}


/* ==============================================================
   v2.9.4.1 — CONNECTED AP MONOGRAM
   Removes the diagonal slash and red dot. The A and P are fused
   into one compact signature mark, keeping the dashboard unchanged.
   ============================================================== */
.apa-pro-ap-brand-v2941{
  position:relative;min-height:188px;padding:10px 18px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;gap:10px!important;text-align:center;
}
.apa-pro-signature-v2941{
  position:relative;width:150px;height:104px;display:block;
  filter:drop-shadow(0 20px 28px rgba(0,0,0,.34));
}
.apa-pro-signature-v2941:before{
  content:"";position:absolute;left:21px;right:21px;top:10px;bottom:12px;border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -18px 28px rgba(0,0,0,.20),0 16px 34px rgba(0,0,0,.20);
}
.apa-pro-signature-v2941 .apa-pro-signature-a,
.apa-pro-signature-v2941 .apa-pro-signature-p{
  position:absolute;z-index:3;top:18px;font-family:Inter,Arial,sans-serif;font-style:italic;
  font-weight:950;line-height:1;letter-spacing:-.16em;
}
.apa-pro-signature-v2941 .apa-pro-signature-a{
  left:34px;font-size:76px;color:#f7f9fb;
  transform:skewX(-4deg);
  text-shadow:0 1px 0 #fff,0 3px 0 #8f99a4,0 9px 22px rgba(0,0,0,.34);
}
.apa-pro-signature-v2941 .apa-pro-signature-p{
  left:73px;font-size:76px;color:#ef2338;
  transform:skewX(-4deg);
  text-shadow:0 2px 0 #991021,0 9px 22px rgba(239,35,56,.22);
}
.apa-pro-signature-v2941 .apa-pro-signature-p:before{
  content:"";position:absolute;left:-8px;top:11px;width:14px;height:48px;border-radius:8px;
  background:linear-gradient(180deg,rgba(239,35,56,.92),rgba(183,16,36,.92));
  z-index:-1;
}
.apa-pro-ap-brand-v2941 .apa-pro-signature-wordmark{gap:2px}
.apa-pro-ap-brand-v2941 .apa-pro-signature-wordmark small{letter-spacing:.44em!important;margin-left:.44em}
@media(max-width:1050px){.apa-pro-ap-brand-v2941{grid-column:1/-1!important;grid-row:1!important}}
@media(max-width:700px){.apa-pro-ap-brand-v2941{grid-column:auto!important;grid-row:auto!important;min-height:150px!important}.apa-pro-signature-v2941{transform:scale(.86)}}

/* ==============================================================
   v2.9.4.2 — FLUID AP MONOGRAM
   Custom geometric letterforms: younger, more fluid, no bar/dot.
   ============================================================== */
.apa-pro-signature-v2941{width:158px!important;height:104px!important}
.apa-pro-signature-v2941 .apa-pro-signature-a,
.apa-pro-signature-v2941 .apa-pro-signature-p{
  top:17px!important;text-indent:-9999px!important;font-size:0!important;letter-spacing:0!important;
  text-shadow:none!important;transform:none!important;background:none!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-a{
  left:27px!important;width:72px!important;height:70px!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-p{
  left:76px!important;width:63px!important;height:70px!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-a:before{
  content:""!important;position:absolute!important;inset:0!important;
  background:linear-gradient(155deg,#ffffff 5%,#f3f6f9 48%,#b8c2cc 100%)!important;
  clip-path:polygon(42% 2%,65% 2%,100% 100%,76% 100%,66% 72%,31% 72%,18% 100%,0 100%)!important;
  filter:drop-shadow(0 5px 4px rgba(0,0,0,.24));
}
.apa-pro-signature-v2941 .apa-pro-signature-a:after{
  content:""!important;position:absolute!important;left:29px!important;top:38px!important;width:25px!important;height:10px!important;
  background:#111a23!important;clip-path:polygon(10% 0,86% 0,100% 100%,0 100%)!important;z-index:2!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-p:before{
  content:""!important;position:absolute!important;left:0!important;top:0!important;width:63px!important;height:70px!important;border-radius:0!important;
  background:linear-gradient(145deg,#ff3548 0%,#ef2338 46%,#bd1026 100%)!important;
  clip-path:polygon(8% 2%,65% 2%,82% 7%,94% 18%,100% 33%,98% 48%,90% 61%,77% 69%,58% 73%,33% 73%,27% 100%,0 100%)!important;
  filter:drop-shadow(0 7px 5px rgba(0,0,0,.22));z-index:1!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-p:after{
  content:""!important;position:absolute!important;left:24px!important;top:16px!important;width:27px!important;height:20px!important;
  background:#17212b!important;clip-path:polygon(8% 0,72% 0,100% 24%,91% 70%,68% 100%,0 100%)!important;z-index:2!important;
}

/* ==============================================================
   v2.9.4.3 — CLEAN CONNECTED AP
   Minimal premium AP monogram: no geometry, no line, no dot.
   ============================================================== */
.apa-pro-signature-v2941{
  width:150px!important;
  height:94px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  filter:drop-shadow(0 16px 26px rgba(0,0,0,.30))!important;
}
.apa-pro-signature-v2941:before{display:none!important;content:none!important}
.apa-pro-signature-v2941 .apa-pro-signature-a,
.apa-pro-signature-v2941 .apa-pro-signature-p{
  position:relative!important;
  inset:auto!important;
  width:auto!important;
  height:auto!important;
  font-size:78px!important;
  line-height:.9!important;
  text-indent:0!important;
  overflow:visible!important;
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",Arial,sans-serif!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:-.08em!important;
  background:none!important;
  clip-path:none!important;
  transform:skewX(-7deg)!important;
  filter:none!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-a{
  color:#f7f9fb!important;
  margin-right:-13px!important;
  z-index:2!important;
  text-shadow:0 1px 0 rgba(255,255,255,.55),0 7px 18px rgba(0,0,0,.30)!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-p{
  color:#ef2338!important;
  z-index:3!important;
  text-shadow:0 2px 0 #a70f22,0 7px 18px rgba(239,35,56,.20)!important;
}
.apa-pro-signature-v2941 .apa-pro-signature-a:before,
.apa-pro-signature-v2941 .apa-pro-signature-a:after,
.apa-pro-signature-v2941 .apa-pro-signature-p:before,
.apa-pro-signature-v2941 .apa-pro-signature-p:after{
  display:none!important;
  content:none!important;
}
.apa-pro-ap-brand-v2941 .apa-pro-signature-wordmark small{
  color:#aeb9c4!important;
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.42em!important;
  margin-left:.42em!important;
}
.apa-pro-ap-brand-v2941 .apa-pro-signature-wordmark strong{
  font-family:"Segoe UI Variable Display","Aptos Display","Segoe UI",Arial,sans-serif!important;
  font-style:normal!important;
  font-weight:800!important;
  letter-spacing:-.055em!important;
  font-size:29px!important;
}
@media(max-width:700px){
  .apa-pro-signature-v2941{transform:scale(.88)!important}
}


/* =========================================================
   v2.9.4.5 — PROFMET premium WordPress admin sidebar
   Visual-only. Applies while Academia PROFMET admin pages are open.
   ========================================================= */
body[class*="academia-profmet-analytics"] #adminmenuwrap,
body[class*="academia-profmet-analytics"] #adminmenuback{
    background:radial-gradient(circle at 0 18%, rgba(239,35,60,.09), transparent 32%),linear-gradient(180deg,#0b1219 0%,#0a1117 46%,#0c151d 100%) !important;
}
body[class*="academia-profmet-analytics"] #adminmenu{
    background:transparent !important;margin-top:10px !important;padding:0 8px 18px !important;box-sizing:border-box !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li.menu-top{margin:3px 0 !important;border-radius:10px !important;overflow:visible !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.menu-top > a{
    min-height:38px !important;display:flex !important;align-items:center !important;border-radius:10px !important;color:#d5dde6 !important;background:transparent !important;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li.menu-top > a:hover,
body[class*="academia-profmet-analytics"] #adminmenu li.opensub > a.menu-top{
    color:#fff !important;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025)) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 6px 18px rgba(0,0,0,.16) !important;transform:translateX(2px) !important;
}
body[class*="academia-profmet-analytics"] #adminmenu div.wp-menu-image:before{color:#9eb0c1 !important;transition:color .18s ease,filter .18s ease,transform .18s ease !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.menu-top > a:hover div.wp-menu-image:before,
body[class*="academia-profmet-analytics"] #adminmenu li.opensub > a.menu-top div.wp-menu-image:before{color:#fff !important;filter:drop-shadow(0 0 7px rgba(255,255,255,.18)) !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu,
body[class*="academia-profmet-analytics"] #adminmenu li.current{border-radius:12px !important;background:transparent !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > a.wp-has-current-submenu,
body[class*="academia-profmet-analytics"] #adminmenu li.current > a.menu-top{
    position:relative !important;color:#fff !important;background:linear-gradient(135deg,#ef233c 0%,#d91833 62%,#b90f2a 100%) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.26),inset 0 -1px 0 rgba(0,0,0,.18),0 8px 24px rgba(239,35,60,.24),0 0 0 1px rgba(255,83,104,.22) !important;border-radius:11px !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > a.wp-has-current-submenu:after{display:none !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > a.wp-has-current-submenu div.wp-menu-image:before,
body[class*="academia-profmet-analytics"] #adminmenu li.current > a.menu-top div.wp-menu-image:before{color:#fff !important;filter:drop-shadow(0 0 9px rgba(255,255,255,.28)) !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > a[href*="academia-profmet-analytics"],
body[class*="academia-profmet-analytics"] #adminmenu li > a[href*="academia-profmet-analytics"]{font-weight:700 !important;letter-spacing:.005em !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu ul.wp-submenu{
    position:relative !important;margin:8px 0 8px 0 !important;padding:7px 7px 8px 12px !important;background:linear-gradient(180deg,rgba(18,29,39,.96),rgba(12,22,30,.98)) !important;border:1px solid rgba(137,162,184,.12) !important;border-radius:12px !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 28px rgba(0,0,0,.15) !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu ul.wp-submenu:before{content:"" !important;position:absolute !important;left:7px !important;top:11px !important;bottom:11px !important;width:2px !important;border-radius:999px !important;background:linear-gradient(180deg,rgba(239,35,60,.75),rgba(239,35,60,.04)) !important;}
body[class*="academia-profmet-analytics"] #adminmenu .wp-submenu a{color:#aebdca !important;padding:7px 10px 7px 13px !important;margin:1px 0 !important;border-radius:8px !important;font-size:12px !important;line-height:1.25 !important;transition:background .16s ease,color .16s ease,transform .16s ease !important;}
body[class*="academia-profmet-analytics"] #adminmenu .wp-submenu a:hover,
body[class*="academia-profmet-analytics"] #adminmenu .wp-submenu a:focus{color:#fff !important;background:rgba(255,255,255,.055) !important;transform:translateX(2px) !important;}
body[class*="academia-profmet-analytics"] #adminmenu .wp-submenu li.current a,
body[class*="academia-profmet-analytics"] #adminmenu .wp-submenu li.current a:hover{color:#fff !important;font-weight:700 !important;background:linear-gradient(90deg,rgba(239,35,60,.18),rgba(239,35,60,.035)) !important;box-shadow:inset 3px 0 0 #ef233c !important;}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-menu-separator{margin:8px 7px !important;height:1px !important;background:linear-gradient(90deg,transparent,rgba(152,174,193,.12),transparent) !important;}
body[class*="academia-profmet-analytics"] #collapse-menu{margin-top:8px !important;}
body[class*="academia-profmet-analytics"] #collapse-button{color:#9fb0c0 !important;}
body[class*="academia-profmet-analytics"] #collapse-button:hover{color:#fff !important;}
body[class*="academia-profmet-analytics"] #adminmenu .wp-has-current-submenu .wp-submenu,
body[class*="academia-profmet-analytics"] #adminmenu .wp-has-current-submenu.opensub .wp-submenu{background-color:transparent !important;}


/* =========================================================
   v2.9.4.6 — Sidebar overlap fix
   Keep the Academia submenu inside the WP sidebar column.
   Visual-only; no navigation or application logic changed.
   ========================================================= */

/* Current/open Academia submenu must NOT behave like a fly-out panel. */
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > .wp-submenu,
body[class*="academia-profmet-analytics"] #adminmenu li.current > .wp-submenu{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:7px 0 9px 0 !important;
    box-sizing:border-box !important;
    float:none !important;
    transform:none !important;
    z-index:auto !important;
}

/* Never let the active submenu extend outside the sidebar. */
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu{
    overflow:visible !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > .wp-submenu{
    overflow:hidden !important;
}

/* Preserve WordPress content offset. Do not allow custom sidebar styling
   to change the native 160px desktop layout relationship. */
@media screen and (min-width: 783px){
    body[class*="academia-profmet-analytics"]:not(.folded) #adminmenuback,
    body[class*="academia-profmet-analytics"]:not(.folded) #adminmenuwrap{
        width:160px !important;
    }

    body[class*="academia-profmet-analytics"]:not(.folded) #adminmenu{
        width:160px !important;
        padding-left:6px !important;
        padding-right:6px !important;
    }

    body[class*="academia-profmet-analytics"]:not(.folded) #wpcontent,
    body[class*="academia-profmet-analytics"]:not(.folded) #wpfooter{
        margin-left:160px !important;
    }

    body[class*="academia-profmet-analytics"].folded #wpcontent,
    body[class*="academia-profmet-analytics"].folded #wpfooter{
        margin-left:36px !important;
    }
}

/* On small screens return layout ownership entirely to WordPress. */
@media screen and (max-width: 782px){
    body[class*="academia-profmet-analytics"] #adminmenu li.wp-has-current-submenu > .wp-submenu{
        position:relative !important;
        width:auto !important;
        max-width:100% !important;
    }
}


/* =========================================================
   v2.9.4.7 — Academia parent icon/text alignment
   Brings the graduation-cap icon closer to “Academia PROFMET”.
   Visual-only; native WP menu behavior remains unchanged.
   ========================================================= */
body[class*="academia-profmet-analytics"] #adminmenu li > a[href*="academia-profmet-analytics"]{
    justify-content:flex-start !important;
    gap:4px !important;
    padding-left:7px !important;
    padding-right:8px !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li > a[href*="academia-profmet-analytics"] .wp-menu-image{
    flex:0 0 24px !important;
    width:24px !important;
    min-width:24px !important;
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li > a[href*="academia-profmet-analytics"] .wp-menu-name{
    margin:0 !important;
    padding:0 !important;
    flex:1 1 auto !important;
    min-width:0 !important;
    line-height:1.15 !important;
}
body[class*="academia-profmet-analytics"] #adminmenu li > a[href*="academia-profmet-analytics"] .wp-menu-image:before{
    margin:0 !important;
    width:auto !important;
    height:auto !important;
    line-height:1 !important;
}


/* =========================================================
   v2.9.5.0 — Correct placement: logo INSIDE LEFT CLOCK CARD
   The completion/progress ring remains in its own right card.
   ========================================================= */

.apa-pro-hero-top,
.apa-pro-dashboard-hero-top,
.apa-pro-executive-top{
    position:relative !important;
}

/* Left clock rectangle: reserve its right side for Academia PROFMET branding. */
.apa-pro-clock-card,
.apa-pro-live-clock,
.apa-pro-time-card{
    position:relative !important;
    z-index:2 !important;
    overflow:visible !important;
    padding-right:245px !important;
}

/*
 * Existing logo is retained (no duplicated markup / no functionality change).
 * It is overlaid over the RIGHT SIDE OF THE LEFT CLOCK RECTANGLE.
 * The coordinates are anchored to the hero's left edge, not to the completion card.
 */
.apa-pro-ap-brand{
    position:absolute !important;
    z-index:8 !important;
    top:50% !important;
    left:34% !important;
    right:auto !important;
    transform:translate(-50%,-50%) scale(.72) !important;
    transform-origin:center !important;
    width:190px !important;
    max-width:190px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    pointer-events:none !important;
}

/* Explicitly keep the percentage/ring card independent. */
.apa-pro-completion-card,
.apa-pro-rate-card,
.apa-pro-progress-ring-card{
    position:relative !important;
    z-index:3 !important;
}

/* On the common wide desktop layout, clock card is the left ~43% of hero.
   Place logo near its right inner edge, beside the time/date. */
@media (min-width:1281px){
    .apa-pro-ap-brand{
        left:36.5% !important;
    }
}

/* Medium screens: keep logo within the clock rectangle without collision. */
@media (min-width:821px) and (max-width:1280px){
    .apa-pro-clock-card,
    .apa-pro-live-clock,
    .apa-pro-time-card{
        padding-right:175px !important;
    }
    .apa-pro-ap-brand{
        left:35% !important;
        width:145px !important;
        max-width:145px !important;
        transform:translate(-50%,-50%) scale(.62) !important;
    }
}

/* Mobile/tablet stacked layout: logo sits under the clock text inside the same card. */
@media (max-width:820px){
    .apa-pro-clock-card,
    .apa-pro-live-clock,
    .apa-pro-time-card{
        padding-right:24px !important;
        padding-bottom:118px !important;
        overflow:hidden !important;
    }
    .apa-pro-ap-brand{
        top:auto !important;
        bottom:12px !important;
        left:50% !important;
        transform:translateX(-50%) scale(.65) !important;
        width:180px !important;
        max-width:180px !important;
    }
}


/* v2.9.5.1 — Clock-card logo: larger + safer inner spacing */
@media (min-width:1281px){
    .apa-pro-ap-brand{
        left:34.5% !important;
        width:225px !important;
        max-width:225px !important;
        transform:translate(-50%,-50%) scale(.82) !important;
    }
}

@media (min-width:821px) and (max-width:1280px){
    .apa-pro-ap-brand{
        left:33.5% !important;
        width:175px !important;
        max-width:175px !important;
        transform:translate(-50%,-50%) scale(.70) !important;
    }
}

@media (max-width:820px){
    .apa-pro-ap-brand{
        width:195px !important;
        max-width:195px !important;
        bottom:18px !important;
        transform:translateX(-50%) scale(.72) !important;
    }
}


/* =========================================================
   v2.9.5.2 — Completion card compact + pushed right
   Visual-only. Keeps the center of the hero intentionally empty.
   ========================================================= */

/* Compact the completion / 9% card. */
.apa-pro-completion-card,
.apa-pro-rate-card,
.apa-pro-progress-ring-card{
    width:230px !important;
    max-width:230px !important;
    min-width:230px !important;
    min-height:185px !important;
    padding:18px 16px !important;
    margin-left:auto !important;
    justify-self:end !important;
    align-self:start !important;
}

/* Keep the ring itself proportionate inside the smaller card. */
.apa-pro-completion-card .apa-pro-ring,
.apa-pro-rate-card .apa-pro-ring,
.apa-pro-progress-ring-card .apa-pro-ring,
.apa-pro-completion-card .apa-pro-donut,
.apa-pro-rate-card .apa-pro-donut,
.apa-pro-progress-ring-card .apa-pro-donut{
    transform:scale(.88) !important;
    transform-origin:center !important;
}

/* Push the card farther right on wide layouts and preserve open center space. */
@media (min-width:1281px){
    .apa-pro-hero-top,
    .apa-pro-dashboard-hero-top,
    .apa-pro-executive-top{
        grid-template-columns:minmax(560px, .92fr) minmax(260px, 1.15fr) 230px !important;
        column-gap:28px !important;
        align-items:start !important;
    }

    .apa-pro-completion-card,
    .apa-pro-rate-card,
    .apa-pro-progress-ring-card{
        grid-column:3 !important;
        margin-right:0 !important;
        transform:translateX(8px) !important;
    }

    /* The middle column is deliberately left visually empty. */
    .apa-pro-ap-brand{
        grid-column:1 !important;
    }
}

/* Medium desktop/tablet: still smaller, but don't force overflow. */
@media (min-width:821px) and (max-width:1280px){
    .apa-pro-completion-card,
    .apa-pro-rate-card,
    .apa-pro-progress-ring-card{
        width:205px !important;
        max-width:205px !important;
        min-width:205px !important;
        min-height:170px !important;
        padding:15px 13px !important;
        margin-left:auto !important;
    }
}

/* Mobile keeps natural stacking. */
@media (max-width:820px){
    .apa-pro-completion-card,
    .apa-pro-rate-card,
    .apa-pro-progress-ring-card{
        width:100% !important;
        max-width:none !important;
        min-width:0 !important;
        min-height:155px !important;
        transform:none !important;
    }
}


/* =========================================================
   v2.9.5.3 — REAL score-card selector fix
   Actual dashboard classes:
   .apa-pro-command-grid + .apa-pro-hero-score-premium
   ========================================================= */

@media (min-width:1281px){

    /* Three explicit zones:
       1 = clock/logo card
       2 = intentional empty breathing space
       3 = compact completion card */
    .apa-pro-command-grid{
        grid-template-columns:minmax(620px, 700px) minmax(180px, 1fr) 210px !important;
        gap:28px !important;
        align-items:start !important;
    }

    /* Keep clock card in the first column. */
    .apa-pro-clock-premium{
        grid-column:1 !important;
        width:100% !important;
        max-width:none !important;
        box-sizing:border-box !important;
    }

    /* Actual 9% card: force it into column 3 and compact it. */
    .apa-pro-hero-score-premium{
        grid-column:3 !important;
        justify-self:end !important;
        align-self:start !important;
        width:210px !important;
        min-width:210px !important;
        max-width:210px !important;
        min-height:170px !important;
        height:auto !important;
        padding:14px 12px !important;
        box-sizing:border-box !important;
        margin:0 !important;
        transform:none !important;
    }

    .apa-pro-hero-score-premium .apa-pro-ring{
        width:124px !important;
        height:124px !important;
        padding:9px !important;
    }

    .apa-pro-hero-score-premium .apa-pro-ring strong{
        font-size:30px !important;
    }

    .apa-pro-hero-score-premium > small{
        margin-top:0 !important;
    }

    /* Existing brand stays visually inside the left clock card. */
    .apa-pro-ap-brand{
        grid-column:1 !important;
    }
}

@media (min-width:1051px) and (max-width:1280px){
    .apa-pro-command-grid{
        grid-template-columns:minmax(520px, 1fr) minmax(120px, .55fr) 190px !important;
        gap:20px !important;
    }

    .apa-pro-clock-premium{
        grid-column:1 !important;
    }

    .apa-pro-hero-score-premium{
        grid-column:3 !important;
        justify-self:end !important;
        width:190px !important;
        min-width:190px !important;
        max-width:190px !important;
        min-height:160px !important;
        padding:12px 10px !important;
    }

    .apa-pro-hero-score-premium .apa-pro-ring{
        width:114px !important;
        height:114px !important;
        padding:8px !important;
    }
}


/* =========================================================
   v2.9.5.4 — Quick menu moved into empty hero center
   Uses the SAME functional dashboard links; layout only.
   ========================================================= */

@media (min-width:1281px){
    .apa-pro-command-grid{
        grid-template-columns:minmax(620px,700px) minmax(470px,1fr) 210px !important;
        gap:26px !important;
        align-items:stretch !important;
    }

    .apa-pro-clock-premium{
        grid-column:1 !important;
    }

    .apa-pro-hero-quickmenu{
        grid-column:2 !important;
        align-self:stretch !important;
        min-width:0 !important;
        min-height:170px !important;
        padding:14px 15px !important;
        border:1px solid rgba(111,132,151,.22) !important;
        border-radius:18px !important;
        background:
          linear-gradient(145deg,rgba(17,31,42,.92),rgba(26,25,36,.88)) !important;
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,.035),
          0 14px 30px rgba(0,0,0,.12) !important;
        box-sizing:border-box !important;
        overflow:hidden !important;
    }

    .apa-pro-hero-quickmenu-head{
        display:flex !important;
        align-items:center !important;
        gap:9px !important;
        margin-bottom:10px !important;
        color:#fff !important;
    }

    .apa-pro-hero-quickmenu-head > .dashicons{
        width:30px !important;
        height:30px !important;
        display:grid !important;
        place-items:center !important;
        border-radius:9px !important;
        color:#ff4258 !important;
        background:rgba(239,35,60,.12) !important;
        border:1px solid rgba(239,35,60,.2) !important;
        font-size:17px !important;
    }

    .apa-pro-hero-quickmenu-head strong{
        display:block !important;
        color:#fff !important;
        font-size:14px !important;
        line-height:1.1 !important;
        font-weight:800 !important;
    }

    .apa-pro-hero-quickmenu-head small{
        display:block !important;
        margin-top:2px !important;
        color:#8fa2b3 !important;
        font-size:9px !important;
        line-height:1.1 !important;
    }

    /* Reuse existing links but make them compact for the center menu. */
    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu{
        display:grid !important;
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:7px !important;
        margin:0 !important;
        padding:0 !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-item{
        min-width:0 !important;
        min-height:34px !important;
        height:34px !important;
        padding:5px 7px !important;
        border-radius:10px !important;
        gap:6px !important;
        box-shadow:
          inset 0 1px 0 rgba(255,255,255,.045),
          0 4px 10px rgba(0,0,0,.12) !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-icon{
        width:23px !important;
        height:23px !important;
        min-width:23px !important;
        border-radius:7px !important;
        font-size:13px !important;
        display:grid !important;
        place-items:center !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-copy{
        min-width:0 !important;
        overflow:hidden !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-copy strong{
        display:block !important;
        overflow:hidden !important;
        white-space:nowrap !important;
        text-overflow:ellipsis !important;
        font-size:9.5px !important;
        line-height:1 !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-menu-arrow{
        display:none !important;
    }

    .apa-pro-hero-score-premium{
        grid-column:3 !important;
        align-self:stretch !important;
        min-height:170px !important;
    }

    /* Old lower menu no longer exists, so copy area gets comfortable spacing. */
    .apa-pro-command-copy{
        margin-bottom:0 !important;
    }
}

@media (min-width:1051px) and (max-width:1280px){
    .apa-pro-command-grid{
        grid-template-columns:minmax(500px,1fr) minmax(330px,.9fr) 190px !important;
        gap:18px !important;
    }

    .apa-pro-hero-quickmenu{
        grid-column:2 !important;
        padding:12px !important;
        border:1px solid rgba(111,132,151,.2) !important;
        border-radius:16px !important;
        background:linear-gradient(145deg,rgba(17,31,42,.92),rgba(26,25,36,.88)) !important;
    }

    .apa-pro-hero-quickmenu-head{
        display:flex !important;
        gap:7px !important;
        margin-bottom:8px !important;
    }

    .apa-pro-hero-quickmenu-head strong{
        color:#fff !important;
        font-size:12px !important;
    }

    .apa-pro-hero-quickmenu-head small{
        color:#8fa2b3 !important;
        font-size:8px !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:6px !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-item{
        min-height:31px !important;
        height:31px !important;
        padding:4px 6px !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu-copy strong{
        font-size:8.8px !important;
    }

    .apa-pro-hero-quickmenu .apa-pro-menu-arrow{
        display:none !important;
    }
}

/* On narrower screens the menu becomes a normal full-width panel, preserving usability. */
@media (max-width:1050px){
    .apa-pro-hero-quickmenu{
        grid-column:1/-1 !important;
        order:3 !important;
        width:100% !important;
        padding:14px !important;
        border:1px solid rgba(111,132,151,.2) !important;
        border-radius:16px !important;
        background:linear-gradient(145deg,rgba(17,31,42,.94),rgba(26,25,36,.9)) !important;
    }

    .apa-pro-hero-quickmenu-head{
        display:flex !important;
        align-items:center !important;
        gap:8px !important;
        margin-bottom:10px !important;
    }

    .apa-pro-hero-quickmenu-head strong{color:#fff !important}
    .apa-pro-hero-quickmenu-head small{color:#8fa2b3 !important}

    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
    }
}

@media (max-width:600px){
    .apa-pro-hero-quickmenu .apa-pro-dashboard-menu{
        grid-template-columns:1fr !important;
    }
}


/* =========================================================
   v2.9.5.6 — Dashboard lower section: uniform dark theme
   Visual-only. No data, chart or search logic changed.
   ========================================================= */

/* Main lower dashboard cards */
.apa-pro-dashboard .apa-pro-card,
.apa-pro-dashboard .apa-pro-panel,
.apa-pro-dashboard .apa-pro-section,
.apa-pro-dashboard .apa-pro-chart-card,
.apa-pro-dashboard .apa-pro-health-card,
.apa-pro-dashboard .apa-pro-feed-card,
.apa-pro-dashboard .apa-pro-list-card{
    background:
      linear-gradient(145deg, rgba(14,28,39,.98), rgba(15,24,34,.96)) !important;
    border:1px solid rgba(113,137,157,.20) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.025),
      0 12px 28px rgba(0,0,0,.10) !important;
    color:#f4f7fb !important;
}

/* Generic text contrast inside dashboard */
.apa-pro-dashboard .apa-pro-card h2,
.apa-pro-dashboard .apa-pro-card h3,
.apa-pro-dashboard .apa-pro-card strong,
.apa-pro-dashboard .apa-pro-panel h2,
.apa-pro-dashboard .apa-pro-panel h3,
.apa-pro-dashboard .apa-pro-panel strong{
    color:#f7f9fc !important;
}

.apa-pro-dashboard .apa-pro-card p,
.apa-pro-dashboard .apa-pro-card small,
.apa-pro-dashboard .apa-pro-panel p,
.apa-pro-dashboard .apa-pro-panel small,
.apa-pro-dashboard .apa-pro-muted{
    color:#95a6b5 !important;
}

/* Search / quick lookup strip — remove strong white surface */
.apa-pro-dashboard .apa-pro-student-search,
.apa-pro-dashboard .apa-pro-search-card,
.apa-pro-dashboard .apa-pro-search-strip,
.apa-pro-dashboard .apa-pro-quick-search{
    background:
      linear-gradient(145deg, rgba(16,29,40,.98), rgba(18,27,37,.96)) !important;
    border:1px solid rgba(111,132,151,.20) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.03),
      0 10px 22px rgba(0,0,0,.10) !important;
}

/* Any white horizontal dashboard form wrappers */
.apa-pro-dashboard form[class*="search"],
.apa-pro-dashboard div[class*="search"][class*="bar"],
.apa-pro-dashboard div[class*="search"][class*="wrap"]{
    background:
      linear-gradient(145deg, rgba(16,29,40,.98), rgba(18,27,37,.96)) !important;
    color:#eef3f8 !important;
    border-color:rgba(111,132,151,.20) !important;
}

/* Inputs/selects in lower dashboard */
.apa-pro-dashboard input[type="text"],
.apa-pro-dashboard input[type="search"],
.apa-pro-dashboard input[type="email"],
.apa-pro-dashboard select{
    background:#0d1b25 !important;
    color:#eef3f8 !important;
    border:1px solid #304556 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.02),
      0 2px 0 rgba(0,0,0,.22) !important;
}

.apa-pro-dashboard input::placeholder{
    color:#7f93a5 !important;
    opacity:1 !important;
}

.apa-pro-dashboard input:focus,
.apa-pro-dashboard select:focus{
    border-color:#526f84 !important;
    box-shadow:
      0 0 0 2px rgba(74,130,168,.13),
      inset 0 1px 0 rgba(255,255,255,.025) !important;
    outline:none !important;
}

/* Search icon square */
.apa-pro-dashboard .dashicons-search,
.apa-pro-dashboard [class*="search"] .dashicons{
    color:#ff3047 !important;
}

/* Keep CTA button PROFMET red */
.apa-pro-dashboard .button-primary,
.apa-pro-dashboard button[type="submit"],
.apa-pro-dashboard .apa-pro-btn-primary{
    background:linear-gradient(180deg,#f3263e,#dd1731) !important;
    color:#fff !important;
    border-color:#ff4459 !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.22),
      0 6px 14px rgba(239,35,60,.18) !important;
}

/* Histogram track/background: darker neutral instead of bright gray */
.apa-pro-dashboard .apa-pro-month-bar,
.apa-pro-dashboard [class*="activity"] [class*="bar"]{
    background:linear-gradient(180deg,#33404b,#2b3741) !important;
    border-color:rgba(255,255,255,.035) !important;
}

/* Preserve red actual-value fills */
.apa-pro-dashboard .apa-pro-month-bar::after,
.apa-pro-dashboard [class*="activity"] [class*="bar"] > span{
    background:linear-gradient(180deg,#ff3b50,#ef233c) !important;
}

/* Small KPI cards stay dark but slightly separated */
.apa-pro-dashboard .apa-pro-kpi{
    background:
      linear-gradient(145deg,rgba(14,27,38,.98),rgba(16,25,35,.96)) !important;
    border-color:rgba(111,132,151,.18) !important;
}

/* Links: cooler light blue for legibility */
.apa-pro-dashboard a:not(.button):not(.apa-pro-btn-primary):not(.apa-pro-dashboard-menu-item){
    color:#7ec7ff !important;
}
.apa-pro-dashboard a:not(.button):not(.apa-pro-btn-primary):not(.apa-pro-dashboard-menu-item):hover{
    color:#b6e2ff !important;
}


/* =========================================================
   v2.9.5.7 — Messenger conversation alignment
   Own messages = right, received messages = left.
   Visual-only; message storage/sending/read logic unchanged.
   ========================================================= */

body.apa-academy-admin .apa-message-bubbles{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
}

body.apa-academy-admin .apa-message-bubble{
    width:fit-content !important;
    min-width:140px !important;
    max-width:min(660px,72%) !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
}

/* Messages written by the logged-in user */
body.apa-academy-admin .apa-message-bubble.is-mine,
body.apa-academy-admin .apa-message-bubble.apa-message-own{
    align-self:flex-end !important;
    margin-left:auto !important;
    margin-right:0 !important;
    text-align:left !important;
    border-bottom-right-radius:5px !important;
    border-bottom-left-radius:17px !important;
}

/* Messages received from other users */
body.apa-academy-admin .apa-message-bubble.is-theirs,
body.apa-academy-admin .apa-message-bubble:not(.is-mine):not(.apa-message-own){
    align-self:flex-start !important;
    margin-left:0 !important;
    margin-right:auto !important;
    text-align:left !important;
    border-bottom-left-radius:5px !important;
    border-bottom-right-radius:17px !important;
}

/* Keep dates/read status aligned naturally within each bubble. */
body.apa-academy-admin .apa-message-bubble small{
    display:block !important;
    margin-top:3px !important;
}

@media (max-width:782px){
    body.apa-academy-admin .apa-message-bubble{
        max-width:86% !important;
    }
}


/* =========================================================
   v2.9.5.8 — Dashboard quick-search strip dark theme fix
   Targets the actual bright search strip visible under charts.
   Visual-only; search functionality unchanged.
   ========================================================= */

/* Common actual/legacy quick-search wrappers */
.apa-pro-dashboard-search,
.apa-pro-quick-learner-search,
.apa-pro-search-student,
.apa-pro-search-row,
.apa-pro-search-panel,
.apa-pro-dashboard .apa-pro-search-box,
.apa-pro-dashboard .apa-pro-lookup-card,
.apa-pro-dashboard .apa-pro-lookup-row,
.apa-pro-dashboard .apa-pro-learner-search{
    background:
        linear-gradient(145deg,#101d28 0%,#0d1822 100%) !important;
    color:#edf3f8 !important;
    border:1px solid rgba(118,145,166,.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 10px 24px rgba(0,0,0,.12) !important;
}

/* Catch the full-width white form/card used on Dashboard. */
.apa-pro-dashboard form{
    color:#edf3f8;
}
.apa-pro-dashboard form[method="get"]:has(input[type="search"]),
.apa-pro-dashboard form[method="get"]:has(input[type="text"]),
.apa-pro-dashboard .apa-pro-dashboard-content > form:has(input){
    background:
        linear-gradient(145deg,#101d28 0%,#0d1822 100%) !important;
    border:1px solid rgba(118,145,166,.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 10px 24px rgba(0,0,0,.12) !important;
}

/* Text inside the strip */
.apa-pro-dashboard-search h3,
.apa-pro-dashboard-search strong,
.apa-pro-dashboard-search label,
.apa-pro-quick-learner-search h3,
.apa-pro-quick-learner-search strong,
.apa-pro-quick-learner-search label,
.apa-pro-search-student h3,
.apa-pro-search-student strong,
.apa-pro-search-student label,
.apa-pro-search-row h3,
.apa-pro-search-row strong,
.apa-pro-search-row label{
    color:#f4f7fb !important;
}

.apa-pro-dashboard-search p,
.apa-pro-dashboard-search small,
.apa-pro-quick-learner-search p,
.apa-pro-quick-learner-search small,
.apa-pro-search-student p,
.apa-pro-search-student small,
.apa-pro-search-row p,
.apa-pro-search-row small{
    color:#90a3b4 !important;
}

/* Search input */
.apa-pro-dashboard-search input,
.apa-pro-quick-learner-search input,
.apa-pro-search-student input,
.apa-pro-search-row input,
.apa-pro-search-panel input,
.apa-pro-dashboard .apa-pro-search-box input,
.apa-pro-dashboard .apa-pro-lookup-card input,
.apa-pro-dashboard .apa-pro-lookup-row input,
.apa-pro-dashboard .apa-pro-learner-search input{
    background:#0b1720 !important;
    color:#f5f8fb !important;
    border:1px solid #314757 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.02),
        0 2px 0 rgba(0,0,0,.20) !important;
}

.apa-pro-dashboard-search input::placeholder,
.apa-pro-quick-learner-search input::placeholder,
.apa-pro-search-student input::placeholder,
.apa-pro-search-row input::placeholder,
.apa-pro-search-panel input::placeholder,
.apa-pro-dashboard .apa-pro-search-box input::placeholder,
.apa-pro-dashboard .apa-pro-lookup-card input::placeholder,
.apa-pro-dashboard .apa-pro-lookup-row input::placeholder,
.apa-pro-dashboard .apa-pro-learner-search input::placeholder{
    color:#8296a8 !important;
    opacity:1 !important;
}

/* Icon panel on the left */
.apa-pro-dashboard-search .dashicons-search,
.apa-pro-quick-learner-search .dashicons-search,
.apa-pro-search-student .dashicons-search,
.apa-pro-search-row .dashicons-search{
    color:#ff3148 !important;
}

/* Search button */
.apa-pro-dashboard-search button,
.apa-pro-quick-learner-search button,
.apa-pro-search-student button,
.apa-pro-search-row button,
.apa-pro-search-panel button,
.apa-pro-dashboard .apa-pro-search-box button,
.apa-pro-dashboard .apa-pro-lookup-card button,
.apa-pro-dashboard .apa-pro-lookup-row button,
.apa-pro-dashboard .apa-pro-learner-search button{
    background:linear-gradient(180deg,#f62d45,#df1731) !important;
    color:#fff !important;
    border:1px solid #ff485d !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        0 5px 12px rgba(239,35,60,.18) !important;
}

/* Hard fallback for the exact white horizontal card seen in Dashboard.
   Limited to direct children between chart section and lower cards. */
.apa-pro-dashboard .apa-pro-search-wrap,
.apa-pro-dashboard .apa-pro-find-student,
.apa-pro-dashboard .apa-pro-find-learner{
    background:#0f1c27 !important;
    border-color:#263b4b !important;
}


/* =========================================================
   v2.9.5.9 — EXACT Dashboard learner finder dark correction
   ========================================================= */
.apa-pro-student-search,
.apa-pro-student-search-wrap,
.apa-pro-dashboard-student-search,
.apa-pro-learner-finder,
.apa-pro-quick-search,
.apa-pro-search-learner,
.apa-pro-search-strip,
.apa-pro-dashboard-searchbar,
.apa-pro-dashboard .apa-pro-student-finder,
.apa-pro-dashboard .apa-pro-find-user,
.apa-pro-dashboard .apa-pro-find-course-user {
    background:linear-gradient(145deg,#101d28 0%,#0c1721 100%) !important;
    border:1px solid rgba(112,142,164,.24) !important;
    color:#eef4f8 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.14) !important;
}

.apa-pro-dashboard .apa-pro-search {
 background:linear-gradient(145deg,#101d28 0%,#0c1721 100%) !important;
 border-color:rgba(112,142,164,.24) !important;
 color:#eef4f8 !important;
}
.apa-pro-dashboard .apa-pro-search input {
 background:#091722 !important; color:#f4f7fa !important;
 border-color:#304858 !important;
}
.apa-pro-dashboard .apa-pro-search input::placeholder {color:#8ea1b2 !important;opacity:1 !important;}

.apa-pro-dashboard .dashicons-search {
 background:linear-gradient(145deg,#101d28 0%,#0c1721 100%) !important;
 border-color:rgba(112,142,164,.24) !important;
 color:#eef4f8 !important;
}
.apa-pro-dashboard .dashicons-search input {
 background:#091722 !important; color:#f4f7fa !important;
 border-color:#304858 !important;
}
.apa-pro-dashboard .dashicons-search input::placeholder {color:#8ea1b2 !important;opacity:1 !important;}


/* =========================================================
   v2.9.6.0 — HARD FIX: exact .apa-pro-search strip
   Appended last to override all previous bright/white rules.
   ========================================================= */

body.apa-academy-admin .apa-pro-search,
body[class*="apa"] .apa-pro-search,
#wpbody-content .apa-pro-search,
.wrap .apa-pro-search,
.apa-pro-dashboard .apa-pro-search {
    background:#0f1c27 !important;
    background-image:linear-gradient(135deg,#111f2b 0%,#0c1721 100%) !important;
    border:1px solid #2a4050 !important;
    color:#eef4f8 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035),
        0 10px 24px rgba(0,0,0,.14) !important;
}

/* Force all internal columns/wrappers transparent so white cannot bleed through. */
body.apa-academy-admin .apa-pro-search > *,
#wpbody-content .apa-pro-search > *,
.apa-pro-dashboard .apa-pro-search > * {
    background-color:transparent !important;
}

/* Left icon panel */
body.apa-academy-admin .apa-pro-search .apa-pro-search-icon,
body.apa-academy-admin .apa-pro-search .dashicons-search,
#wpbody-content .apa-pro-search .apa-pro-search-icon,
#wpbody-content .apa-pro-search .dashicons-search {
    color:#ff3047 !important;
}

/* Headline + helper text in left side */
body.apa-academy-admin .apa-pro-search strong,
body.apa-academy-admin .apa-pro-search h3,
body.apa-academy-admin .apa-pro-search label,
#wpbody-content .apa-pro-search strong,
#wpbody-content .apa-pro-search h3,
#wpbody-content .apa-pro-search label {
    color:#f4f7fb !important;
}

body.apa-academy-admin .apa-pro-search small,
body.apa-academy-admin .apa-pro-search p,
#wpbody-content .apa-pro-search small,
#wpbody-content .apa-pro-search p {
    color:#91a4b5 !important;
}

/* Input */
body.apa-academy-admin .apa-pro-search input,
#wpbody-content .apa-pro-search input,
.apa-pro-dashboard .apa-pro-search input {
    background:#091722 !important;
    background-image:none !important;
    color:#f4f8fb !important;
    border:1px solid #314a5b !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.02),
        0 2px 0 rgba(0,0,0,.22) !important;
}

body.apa-academy-admin .apa-pro-search input::placeholder,
#wpbody-content .apa-pro-search input::placeholder {
    color:#8499aa !important;
    opacity:1 !important;
}

/* Button */
body.apa-academy-admin .apa-pro-search button,
body.apa-academy-admin .apa-pro-search .button,
#wpbody-content .apa-pro-search button,
#wpbody-content .apa-pro-search .button {
    background:linear-gradient(180deg,#f62d45,#df1731) !important;
    background-color:#e51d37 !important;
    color:#fff !important;
    border:1px solid #ff485d !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        0 5px 12px rgba(239,35,60,.18) !important;
}

/* Remove any pseudo-element that may paint a light card over the strip. */
body.apa-academy-admin .apa-pro-search::before,
body.apa-academy-admin .apa-pro-search::after,
#wpbody-content .apa-pro-search::before,
#wpbody-content .apa-pro-search::after {
    background:transparent !important;
    box-shadow:none !important;
}


/* =========================================================
   v2.9.6.1 — AI Center Foundation
   ========================================================= */
.apa-ai-center{
    --ai-bg:#07131c;
    --ai-card:#0d1c27;
    --ai-card-2:#101f2b;
    --ai-line:#263b4a;
    --ai-text:#f4f7fb;
    --ai-muted:#91a4b5;
    --ai-red:#ef233c;
    --ai-red-2:#ff4056;
    --ai-green:#20c77a;
    --ai-blue:#54b9ff;
    --ai-amber:#f6ad2f;
    display:grid;
    gap:16px;
    padding:0 0 28px;
    color:var(--ai-text);
}

.apa-ai-center *{box-sizing:border-box}

.apa-ai-hero,
.apa-ai-live-context,
.apa-ai-tools,
.apa-ai-preview,
.apa-ai-roadmap{
    border:1px solid rgba(111,140,161,.22);
    background:
        radial-gradient(circle at 92% 10%,rgba(239,35,60,.12),transparent 25%),
        linear-gradient(145deg,#0c1a25,#0b1721 58%,#17151d);
    border-radius:20px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 15px 32px rgba(0,0,0,.10);
}

.apa-ai-hero{
    min-height:235px;
    padding:30px 34px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 240px;
    align-items:center;
    gap:30px;
    overflow:hidden;
    position:relative;
}
.apa-ai-hero:after{
    content:"";
    position:absolute;
    width:380px;height:380px;border:1px solid rgba(239,35,60,.11);
    border-radius:50%;right:-170px;bottom:-250px;
}
.apa-ai-eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:11px;font-weight:900;letter-spacing:.16em;
    color:#ff5a6d;margin-bottom:10px;
}
.apa-ai-hero h2{
    margin:0 0 10px;color:#fff;font-size:31px;line-height:1.08;
    max-width:900px;
}
.apa-ai-hero p{
    margin:0;color:#9db0bf;font-size:14px;line-height:1.6;max-width:900px;
}
.apa-ai-status-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.apa-ai-status{
    display:inline-flex;align-items:center;gap:6px;
    padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;
    border:1px solid #304755;background:#10212d;color:#c8d4dc;
}
.apa-ai-status.is-safe{border-color:rgba(32,199,122,.28);color:#8ce9b8;background:rgba(32,199,122,.08)}
.apa-ai-status.is-ready{border-color:rgba(84,185,255,.25);color:#a8ddff;background:rgba(84,185,255,.07)}
.apa-ai-status.is-off{border-color:rgba(246,173,47,.24);color:#ffd48a;background:rgba(246,173,47,.07)}

.apa-ai-orb{
    width:174px;height:174px;border-radius:42px;justify-self:center;
    display:grid;place-content:center;text-align:center;position:relative;
    border:1px solid rgba(255,74,94,.35);
    background:
        linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.01)),
        radial-gradient(circle at 60% 30%,rgba(239,35,60,.30),transparent 45%),
        #0b1924;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 22px 45px rgba(0,0,0,.25),0 0 35px rgba(239,35,60,.07);
}
.apa-ai-orb:before{
    content:"";position:absolute;inset:12px;border-radius:34px;border:1px solid rgba(255,255,255,.06)
}
.apa-ai-orb span{
    font-size:66px;line-height:.9;font-weight:950;font-style:italic;letter-spacing:-.08em;
    color:#fff;text-shadow:8px 8px 0 rgba(239,35,60,.85);
}
.apa-ai-orb small{margin-top:12px;font-size:9px;font-weight:900;letter-spacing:.32em;color:#a6b6c4}

.apa-ai-live-context,.apa-ai-tools,.apa-ai-roadmap{padding:22px}
.apa-ai-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.apa-ai-section-head span:not(.apa-ai-pill){display:block;color:#ff4258;font-size:10px;font-weight:900;letter-spacing:.15em}
.apa-ai-section-head h3{color:#fff;margin:4px 0 3px;font-size:21px}
.apa-ai-section-head p{color:#8fa3b3;margin:0;font-size:12px}
.apa-ai-pill{padding:6px 9px;border-radius:999px;color:#91a6b6;background:#12232f;border:1px solid #2a414f;font-size:9px;font-weight:800}

.apa-ai-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.apa-ai-kpi{
    min-height:92px;padding:12px;border-radius:14px;display:flex;align-items:center;gap:10px;
    background:linear-gradient(145deg,#10212d,#0d1a24);border:1px solid #293e4d;
}
.apa-ai-kpi>.dashicons{
    width:38px;height:38px;min-width:38px;border-radius:11px;display:grid;place-items:center;
    background:rgba(239,35,60,.10);color:#ff4c61;font-size:18px
}
.apa-ai-kpi small{display:block;color:#8da1b1;font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.apa-ai-kpi strong{display:block;color:#fff;font-size:21px;line-height:1.1;margin:2px 0}
.apa-ai-kpi em{display:block;color:#7890a2;font-style:normal;font-size:8px}

.apa-ai-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.apa-ai-tool{
    min-height:230px;padding:17px;display:flex;flex-direction:column;
    border-radius:17px;background:linear-gradient(150deg,#10212d,#0b1822);
    border:1px solid #2a4050;position:relative;overflow:hidden;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.apa-ai-tool:after{
    content:"";position:absolute;width:110px;height:110px;border:1px solid rgba(239,35,60,.09);
    border-radius:50%;right:-60px;bottom:-70px
}
.apa-ai-tool-icon{
    width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
    background:linear-gradient(145deg,#ef233c,#be1630);color:white;
    box-shadow:0 8px 20px rgba(239,35,60,.20);margin-bottom:12px
}
.apa-ai-tool-copy small{color:#ff5164;font-size:8px;letter-spacing:.12em;font-weight:900;text-transform:uppercase}
.apa-ai-tool-copy h4{color:#fff;margin:3px 0 7px;font-size:17px}
.apa-ai-tool-copy p{color:#8fa2b2;margin:0;font-size:11px;line-height:1.55}
.apa-ai-tool-footer{margin-top:auto;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.apa-ai-badge{
    color:#9eb0bd;background:#132630;border:1px solid #2c4452;border-radius:999px;
    padding:5px 7px;font-size:7.5px;font-weight:800;white-space:nowrap
}
.apa-ai-button{
    border:1px solid #334958!important;background:#0b1720!important;color:#728797!important;
    box-shadow:none!important;border-radius:8px!important;font-size:8px!important;min-height:29px!important;
    cursor:not-allowed!important;opacity:.75
}

.apa-ai-preview-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}
.apa-ai-preview{padding:22px;background:linear-gradient(145deg,#0d1b26,#0b1720)!important}
.apa-ai-preview-title{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.apa-ai-preview-title>.dashicons{
    width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
    background:rgba(239,35,60,.11);color:#ff4057;border:1px solid rgba(239,35,60,.17)
}
.apa-ai-preview-title small{color:#ff4b60;font-size:8px;font-weight:900;letter-spacing:.12em}
.apa-ai-preview-title h3{color:#fff;margin:2px 0 0;font-size:18px}
.apa-ai-insight-list{display:grid;gap:8px}
.apa-ai-insight-list>div{
    display:flex;gap:10px;padding:11px 12px;border-radius:12px;background:#10212c;border:1px solid #263d4b
}
.apa-ai-insight-list p{margin:0;color:#dfe8ee;font-size:11px;line-height:1.4}
.apa-ai-insight-list small{color:#8398a9}
.apa-ai-dot{width:9px;height:9px;min-width:9px;border-radius:50%;margin-top:3px}
.apa-ai-dot.is-red{background:#ef233c;box-shadow:0 0 0 4px rgba(239,35,60,.08)}
.apa-ai-dot.is-amber{background:#f6ad2f;box-shadow:0 0 0 4px rgba(246,173,47,.08)}
.apa-ai-dot.is-green{background:#20c77a;box-shadow:0 0 0 4px rgba(32,199,122,.08)}
.apa-ai-preview-note{
    display:flex;gap:6px;align-items:flex-start;margin:12px 0 0!important;
    color:#70899a!important;font-size:8px!important
}

.apa-ai-chat-demo label{display:block;color:#a5b5c0;font-size:9px;font-weight:800;margin-bottom:6px}
.apa-ai-chat-demo textarea{
    width:100%;resize:none;background:#091722!important;color:#dfe8ee!important;border:1px solid #2e4555!important;
    border-radius:12px!important;padding:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important
}
.apa-ai-chat-demo textarea::placeholder{color:#6f8495!important}
.apa-ai-chat-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
.apa-ai-chat-actions span{display:flex;align-items:center;gap:5px;color:#718899;font-size:8px}
.apa-ai-chat-actions button{
    min-width:90px;border-radius:9px!important;background:#172833!important;color:#607889!important;
    border:1px solid #304755!important;cursor:not-allowed!important
}

.apa-ai-roadmap-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.apa-ai-step{
    position:relative;min-height:125px;padding:13px;border-radius:14px;
    background:#0e1e29;border:1px solid #283e4d
}
.apa-ai-step>span{
    width:27px;height:27px;border-radius:8px;display:grid;place-items:center;
    background:#ef233c;color:#fff;font-weight:900;font-size:10px;margin-bottom:10px
}
.apa-ai-step strong{color:#fff;font-size:11px}
.apa-ai-step p{color:#8398a8;margin:4px 0 12px;font-size:9px;line-height:1.45}
.apa-ai-step em{
    position:absolute;bottom:12px;left:13px;color:#ff5b6e;font-style:normal;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.08em
}

@media(max-width:1400px){
    .apa-ai-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
    .apa-ai-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
    .apa-ai-hero{grid-template-columns:1fr}
    .apa-ai-orb{display:none}
    .apa-ai-preview-grid{grid-template-columns:1fr}
    .apa-ai-roadmap-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
    .apa-ai-kpis,.apa-ai-tools-grid,.apa-ai-roadmap-steps{grid-template-columns:1fr}
    .apa-ai-hero{padding:22px}
    .apa-ai-hero h2{font-size:25px}
}


/* =========================================================
   v2.9.6.2 — AI Center Safe Config + Knowledge Base
   Isolated selectors: apa-ai-* only.
   ========================================================= */
.apa-ai-safe-config,
.apa-ai-kb-section{
    padding:22px;
    border:1px solid rgba(111,140,161,.22);
    background:linear-gradient(145deg,#0d1b26,#0a1720);
    border-radius:20px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 15px 32px rgba(0,0,0,.10);
}
.apa-ai-safe-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:14px;
}
.apa-ai-config-card{
    background:linear-gradient(145deg,#10212d,#0d1a24);
    border:1px solid #293f4e;
    border-radius:16px;
    padding:17px;
}
.apa-ai-config-title{
    display:flex;align-items:center;gap:10px;margin-bottom:14px;
}
.apa-ai-config-title>.dashicons{
    width:40px;height:40px;border-radius:11px;display:grid;place-items:center;
    background:rgba(239,35,60,.10);color:#ff4057;border:1px solid rgba(239,35,60,.15);
}
.apa-ai-config-title small{
    display:block;color:#ff5164;font-size:8px;font-weight:900;letter-spacing:.13em;
}
.apa-ai-config-title h4{
    margin:2px 0 0;color:#fff;font-size:16px;
}
.apa-ai-config-form{
    display:grid;gap:8px;
}
.apa-ai-config-form>label:not(.apa-ai-check){
    color:#b6c4ce;font-size:9px;font-weight:800;margin-top:4px;
}
.apa-ai-config-form input[type="text"],
.apa-ai-config-form select,
.apa-ai-config-form textarea{
    width:100%;
    background:#091721!important;
    color:#f2f6f9!important;
    border:1px solid #304756!important;
    border-radius:10px!important;
    min-height:40px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.apa-ai-config-form textarea{
    padding:10px!important;resize:vertical;
}
.apa-ai-check{
    display:flex;align-items:flex-start;gap:8px;padding:10px 11px;margin:6px 0 2px;
    border-radius:11px;background:#0b1a24;border:1px solid #29404e;color:#dfe7ec;
}
.apa-ai-check input[type="checkbox"]{margin-top:2px}
.apa-ai-check strong{display:block;font-size:10px}
.apa-ai-check small{display:block;color:#7f95a5;font-size:8px;margin-top:2px}
.apa-ai-config-actions{
    display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;
}
.apa-ai-config-actions .button-primary{
    background:linear-gradient(180deg,#f62d45,#df1731)!important;
    border:1px solid #ff485d!important;color:#fff!important;border-radius:9px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 6px 14px rgba(239,35,60,.16)!important;
}
.apa-ai-config-actions>span{
    display:flex;align-items:center;gap:5px;color:#718899;font-size:8px;
}
.apa-ai-guardrails{display:grid;gap:7px}
.apa-ai-guardrail{
    display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:11px;
    background:#0b1a24;border:1px solid #263e4c;
}
.apa-ai-guardrail>.dashicons{
    width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:15px;
}
.apa-ai-guardrail.is-ok>.dashicons{
    background:rgba(32,199,122,.10);color:#49db91;
}
.apa-ai-guardrail.is-warning>.dashicons{
    background:rgba(246,173,47,.10);color:#f6ad2f;
}
.apa-ai-guardrail strong{display:block;color:#e8eef2;font-size:9px}
.apa-ai-guardrail small{display:block;color:#7c92a3;font-size:8px;margin-top:1px}
.apa-ai-kb-grid{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;
}
.apa-ai-kb-source{
    min-height:135px;padding:14px;border-radius:14px;
    background:linear-gradient(145deg,#10212d,#0d1a24);
    border:1px solid #293f4e;display:flex;gap:10px;
}
.apa-ai-kb-source>.dashicons{
    width:36px;height:36px;min-width:36px;border-radius:10px;display:grid;place-items:center;
    background:rgba(84,185,255,.08);color:#6bc5ff;border:1px solid rgba(84,185,255,.12);
}
.apa-ai-kb-source h4{margin:1px 0 5px;color:#fff;font-size:11px}
.apa-ai-kb-source p{margin:0;color:#8ea2b2;font-size:9px;line-height:1.45}
.apa-ai-kb-source small{
    display:block;margin-top:9px;color:#ff586b;font-size:7px;font-weight:800;
}
.apa-ai-kb-policy{
    margin-top:12px;padding:12px 14px;border-radius:13px;
    display:flex;gap:10px;align-items:flex-start;
    background:rgba(32,199,122,.055);border:1px solid rgba(32,199,122,.19);
}
.apa-ai-kb-policy>.dashicons{color:#4bd993;margin-top:1px}
.apa-ai-kb-policy strong{display:block;color:#e8f8f0;font-size:10px}
.apa-ai-kb-policy p{
    margin:3px 0 0;color:#86a698;font-size:9px;line-height:1.45;
}
@media(max-width:1200px){
    .apa-ai-safe-grid{grid-template-columns:1fr}
    .apa-ai-kb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
    .apa-ai-kb-grid{grid-template-columns:1fr}
    .apa-ai-config-actions{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   v2.9.6.3 — Functional Local Knowledge Base
   All selectors isolated under apa-ai-kb-*.
   ========================================================= */
.apa-ai-kb-functional-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.apa-ai-kb-picker{
    min-width:0;
    background:linear-gradient(145deg,#10212d,#0c1923);
    border:1px solid #293f4e;
    border-radius:16px;
    overflow:hidden;
}
.apa-ai-kb-picker-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:15px 15px 12px;
    border-bottom:1px solid #253b49;
}
.apa-ai-kb-picker-head>div{
    display:flex;gap:10px;min-width:0;
}
.apa-ai-kb-picker-head .dashicons{
    width:39px;height:39px;min-width:39px;border-radius:11px;
    display:grid;place-items:center;
    background:rgba(239,35,60,.10);
    color:#ff4057;
    border:1px solid rgba(239,35,60,.14);
}
.apa-ai-kb-picker-head small{
    display:block;
    color:#ff5366;
    font-size:7.5px;
    font-weight:900;
    letter-spacing:.12em;
}
.apa-ai-kb-picker-head h4{
    margin:2px 0 3px;
    color:#fff;
    font-size:14px;
}
.apa-ai-kb-picker-head p{
    margin:0;
    color:#8198a9;
    font-size:8.5px;
    line-height:1.45;
}
.apa-ai-kb-count{
    flex:0 0 auto;
    padding:6px 8px;
    border-radius:999px;
    background:#0b1922;
    border:1px solid #2b4351;
    color:#9fb1bd;
    font-size:8px;
    font-weight:800;
}
.apa-ai-kb-toolbar{
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 12px;
    background:#0b1821;
    border-bottom:1px solid #253a48;
}
.apa-ai-kb-toolbar>div{
    display:flex;
    gap:5px;
}
.apa-ai-kb-search{
    flex:1;
    min-width:0;
    height:35px!important;
    min-height:35px!important;
    background:#07141d!important;
    color:#eef4f8!important;
    border:1px solid #304856!important;
    border-radius:9px!important;
    box-shadow:none!important;
}
.apa-ai-kb-search::placeholder{
    color:#718898!important;
}
.apa-ai-kb-mini{
    height:34px;
    border:1px solid #304856!important;
    border-radius:8px!important;
    background:#10222e!important;
    color:#a9bac5!important;
    font-size:7.5px!important;
    font-weight:800!important;
    padding:0 8px!important;
    cursor:pointer;
}
.apa-ai-kb-mini:hover{
    border-color:#496273!important;
    color:#fff!important;
}
.apa-ai-kb-list{
    max-height:420px;
    overflow:auto;
    padding:8px;
    scrollbar-width:thin;
    scrollbar-color:#3b5160 #0a1720;
}
.apa-ai-kb-row{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:58px;
    padding:9px 10px;
    margin-bottom:6px;
    border-radius:11px;
    background:#0c1a24;
    border:1px solid #263c4a;
    cursor:pointer;
    transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
.apa-ai-kb-row:last-child{margin-bottom:0}
.apa-ai-kb-row:hover{
    border-color:#40596a;
    background:#10212d;
}
.apa-ai-kb-row.is-selected{
    border-color:rgba(32,199,122,.34);
    background:linear-gradient(145deg,rgba(32,199,122,.07),#0d1c26);
}
.apa-ai-kb-row input[type="checkbox"]{
    accent-color:#ef233c;
    margin:0!important;
}
.apa-ai-kb-row-icon{
    width:31px!important;height:31px!important;min-width:31px;
    display:grid!important;place-items:center;
    border-radius:8px;
    background:rgba(84,185,255,.07);
    color:#66c3ff;
    font-size:15px!important;
}
.apa-ai-kb-row-copy{
    min-width:0;
    flex:1;
}
.apa-ai-kb-row-copy strong{
    display:block;
    color:#f2f6f9;
    font-size:9px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.apa-ai-kb-row-copy small{
    display:block;
    margin-top:2px;
    color:#748b9c;
    font-size:7.5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.apa-ai-kb-row-state{
    flex:0 0 auto;
    padding:4px 6px;
    border-radius:999px;
    background:#142631;
    color:#728999;
    border:1px solid #2a414e;
    font-size:7px;
    font-weight:900;
}
.apa-ai-kb-row.is-selected .apa-ai-kb-row-state{
    background:rgba(32,199,122,.10);
    color:#6fe0a5;
    border-color:rgba(32,199,122,.24);
}
.apa-ai-kb-empty{
    padding:28px 15px;
    color:#748b9c;
    text-align:center;
    font-size:9px;
}
.apa-ai-kb-savebar{
    margin-top:12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:12px 14px;
    border-radius:13px;
    background:#0b1922;
    border:1px solid #29404e;
}
.apa-ai-kb-savebar>div{
    display:flex;
    align-items:flex-start;
    gap:8px;
}
.apa-ai-kb-savebar .dashicons{
    color:#4bd993;
}
.apa-ai-kb-savebar p{margin:0}
.apa-ai-kb-savebar strong{
    display:block;
    color:#e8f3ee;
    font-size:9px;
}
.apa-ai-kb-savebar small{
    display:block;
    color:#7e9487;
    margin-top:2px;
    font-size:7.5px;
}
.apa-ai-kb-savebar .button-primary{
    background:linear-gradient(180deg,#f62d45,#df1731)!important;
    border:1px solid #ff485d!important;
    color:#fff!important;
    border-radius:9px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 6px 14px rgba(239,35,60,.16)!important;
}
@media(max-width:1200px){
    .apa-ai-kb-functional-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
    .apa-ai-kb-toolbar{align-items:stretch;flex-direction:column}
    .apa-ai-kb-toolbar>div{width:100%}
    .apa-ai-kb-mini{flex:1}
    .apa-ai-kb-savebar{align-items:stretch;flex-direction:column}
}


/* =========================================================
   v2.9.6.4 — AI Assistant Local Read-only Retrieval
   ========================================================= */
.apa-ai-local-assistant{
    min-height:360px;
}
.apa-ai-local-form{
    display:grid;
    gap:6px;
}
.apa-ai-local-form label{
    color:#a8b8c3;
    font-size:8.5px;
    font-weight:800;
}
.apa-ai-local-query-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
}
.apa-ai-local-query-row input{
    min-width:0;
    height:42px!important;
    background:#081721!important;
    color:#f3f7fa!important;
    border:1px solid #304958!important;
    border-radius:10px!important;
    padding:0 12px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.apa-ai-local-query-row input::placeholder{
    color:#718999!important;
}
.apa-ai-local-query-row button{
    min-height:42px!important;
    border-radius:10px!important;
    border:1px solid #ff485d!important;
    background:linear-gradient(180deg,#f62d45,#df1731)!important;
    color:#fff!important;
    font-size:9px!important;
    font-weight:800!important;
    padding:0 13px!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 6px 14px rgba(239,35,60,.15)!important;
}
.apa-ai-local-mode{
    margin-top:10px;
    display:flex;
    gap:8px;
    align-items:flex-start;
    padding:10px 11px;
    border-radius:11px;
    background:rgba(84,185,255,.055);
    border:1px solid rgba(84,185,255,.16);
}
.apa-ai-local-mode>.dashicons{
    color:#6bc5ff;
    margin-top:1px;
}
.apa-ai-local-mode strong{
    display:block;
    color:#dcecf7;
    font-size:9px;
}
.apa-ai-local-mode small{
    display:block;
    color:#7f99aa;
    font-size:7.5px;
    line-height:1.4;
    margin-top:2px;
}
.apa-ai-local-results-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
    margin:14px 0 7px;
}
.apa-ai-local-results-head small{
    display:block;
    color:#ff5366;
    font-size:7px;
    font-weight:900;
    letter-spacing:.12em;
}
.apa-ai-local-results-head strong{
    display:block;
    margin-top:2px;
    color:#fff;
    font-size:11px;
}
.apa-ai-local-results-head>span{
    max-width:50%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#708899;
    font-size:7px;
}
.apa-ai-local-results{
    display:grid;
    gap:7px;
    max-height:470px;
    overflow:auto;
    padding-right:2px;
    scrollbar-width:thin;
    scrollbar-color:#3d5362 #091721;
}
.apa-ai-local-result{
    display:flex;
    gap:9px;
    padding:10px;
    border-radius:12px;
    background:#0b1a24;
    border:1px solid #263e4c;
}
.apa-ai-local-result-icon{
    width:34px!important;
    height:34px!important;
    min-width:34px;
    display:grid!important;
    place-items:center;
    border-radius:9px;
    background:rgba(239,35,60,.09);
    color:#ff4e62;
}
.apa-ai-local-result-copy{
    min-width:0;
    flex:1;
}
.apa-ai-local-result-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}
.apa-ai-local-result-title strong{
    color:#f3f7fa;
    font-size:9.5px;
}
.apa-ai-local-result-title span{
    flex:0 0 auto;
    padding:3px 5px;
    border-radius:999px;
    background:#132631;
    border:1px solid #2b4250;
    color:#8096a6;
    font-size:6.5px;
}
.apa-ai-local-result-copy>small{
    display:block;
    margin-top:2px;
    color:#71899a;
    font-size:7px;
}
.apa-ai-local-result-copy p{
    margin:6px 0!important;
    color:#a5b5c0!important;
    font-size:8px!important;
    line-height:1.5!important;
}
.apa-ai-local-result-copy a{
    display:inline-flex;
    align-items:center;
    gap:3px;
    color:#78c8ff!important;
    font-size:7.5px;
    font-weight:800;
    text-decoration:none;
}
.apa-ai-local-result-copy a .dashicons{
    width:12px;height:12px;font-size:12px;
}
.apa-ai-local-empty{
    margin-top:14px;
    display:flex;
    gap:10px;
    align-items:center;
    padding:18px;
    border-radius:12px;
    background:#0b1a24;
    border:1px dashed #304756;
}
.apa-ai-local-empty>.dashicons{
    color:#718a9b;
}
.apa-ai-local-empty strong{
    color:#dce5eb;
    font-size:9px;
}
.apa-ai-local-empty p{
    margin:2px 0 0!important;
    color:#718a9b!important;
    font-size:8px!important;
}
.apa-ai-local-suggestions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:13px;
}
.apa-ai-local-suggestions>small{
    color:#708899;
    font-size:7px;
    font-weight:900;
    letter-spacing:.10em;
    margin-right:2px;
}
.apa-ai-local-suggestions a{
    padding:5px 8px;
    border-radius:999px;
    color:#9fb2bf!important;
    background:#10212c;
    border:1px solid #2a414f;
    text-decoration:none;
    font-size:7px;
    font-weight:800;
}
.apa-ai-local-suggestions a:hover{
    color:#fff!important;
    border-color:#456071;
}
@media(max-width:700px){
    .apa-ai-local-query-row{grid-template-columns:1fr}
}


/* =========================================================
   v2.9.6.5 — Local Office/PDF extraction status
   ========================================================= */
.apa-ai-kb-row-copy em{
    display:block;
    margin-top:3px;
    color:#6fa9cb;
    font-size:6.8px;
    line-height:1.25;
    font-style:normal;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.apa-ai-kb-row.is-selected .apa-ai-kb-row-copy em{
    color:#77caa0;
}
.apa-ai-kb-format-note{
    margin-top:12px;
    padding:12px 14px;
    border-radius:13px;
    display:flex;
    gap:10px;
    align-items:flex-start;
    background:rgba(84,185,255,.055);
    border:1px solid rgba(84,185,255,.18);
}
.apa-ai-kb-format-note>.dashicons{
    color:#68c3ff;
    margin-top:1px;
}
.apa-ai-kb-format-note strong{
    display:block;
    color:#e6f3fc;
    font-size:9px;
}
.apa-ai-kb-format-note p{
    margin:3px 0 0;
    color:#829cac;
    font-size:8px;
    line-height:1.5;
}


/* =========================================================
   v2.9.6.6 — OpenAI connection foundation
   ========================================================= */
.apa-ai-provider-connection{
    padding:22px;
    border:1px solid rgba(111,140,161,.22);
    background:
        radial-gradient(circle at 90% 0,rgba(84,185,255,.07),transparent 28%),
        linear-gradient(145deg,#0d1b26,#0a1720);
    border-radius:20px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 15px 32px rgba(0,0,0,.10);
}
.apa-ai-provider-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:14px;
}
.apa-ai-provider-card{
    padding:17px;
    border-radius:16px;
    background:linear-gradient(145deg,#10212d,#0d1a24);
    border:1px solid #293f4e;
}
.apa-ai-provider-status{
    display:flex;
    align-items:flex-start;
    gap:11px;
}
.apa-ai-provider-status>.dashicons{
    width:42px;height:42px;min-width:42px;border-radius:12px;
    display:grid;place-items:center;
}
.apa-ai-provider-status.is-ready>.dashicons{
    background:rgba(32,199,122,.10);
    color:#4bd993;
    border:1px solid rgba(32,199,122,.18);
}
.apa-ai-provider-status.is-off>.dashicons{
    background:rgba(246,173,47,.08);
    color:#f6ad2f;
    border:1px solid rgba(246,173,47,.16);
}
.apa-ai-provider-status small{
    display:block;color:#ff5366;font-size:7px;font-weight:900;letter-spacing:.12em;
}
.apa-ai-provider-status strong{
    display:block;color:#fff;font-size:14px;margin-top:2px;
}
.apa-ai-provider-status p{
    margin:3px 0 0;color:#8198a9;font-size:8.5px;line-height:1.45;
}
.apa-ai-provider-meta{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:14px;
}
.apa-ai-provider-meta>div{
    padding:9px 10px;border-radius:10px;background:#0b1922;border:1px solid #263d4b;
}
.apa-ai-provider-meta small{
    display:block;color:#718899;font-size:6.5px;text-transform:uppercase;letter-spacing:.08em;
}
.apa-ai-provider-meta strong{
    display:block;margin-top:2px;color:#dfe8ee;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.apa-ai-provider-test{
    margin-top:12px;display:flex;align-items:center;gap:10px;
}
.apa-ai-provider-test button{
    min-height:36px!important;
    border-radius:9px!important;
    border:1px solid #ff485d!important;
    background:linear-gradient(180deg,#f62d45,#df1731)!important;
    color:#fff!important;
    font-size:8px!important;
    font-weight:800!important;
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    padding:0 11px!important;
}
.apa-ai-provider-test button:disabled{
    background:#172731!important;
    border-color:#304654!important;
    color:#657d8d!important;
    cursor:not-allowed!important;
}
.apa-ai-provider-test>span{
    color:#718899;font-size:7.5px;line-height:1.4;
}
.apa-ai-provider-result{
    margin-top:10px;padding:10px 11px;border-radius:11px;
    display:flex;gap:8px;align-items:flex-start;
}
.apa-ai-provider-result.is-success{
    background:rgba(32,199,122,.07);border:1px solid rgba(32,199,122,.18);
}
.apa-ai-provider-result.is-error{
    background:rgba(239,35,60,.07);border:1px solid rgba(239,35,60,.18);
}
.apa-ai-provider-result.is-success>.dashicons{color:#4bd993}
.apa-ai-provider-result.is-error>.dashicons{color:#ff5366}
.apa-ai-provider-result strong{
    color:#e8eff3;font-size:8.5px;
}
.apa-ai-provider-result p{
    margin:2px 0 0;color:#8298a7;font-size:7.5px;
}
.apa-ai-provider-instructions p{
    color:#8fa3b2;font-size:8.5px;line-height:1.5;
}
.apa-ai-provider-instructions code{
    color:#bcd4e4;background:#08151e;padding:1px 4px;border-radius:4px;
}
.apa-ai-provider-instructions pre{
    margin:8px 0;padding:11px 12px;overflow:auto;border-radius:10px;
    background:#07141d;color:#dceaf4;border:1px solid #29404e;font-size:8px;
}
.apa-ai-provider-note{
    display:flex;gap:6px;align-items:flex-start!important;
    padding:9px 10px;border-radius:10px;background:rgba(32,199,122,.055);border:1px solid rgba(32,199,122,.16);
}
.apa-ai-provider-note>.dashicons{color:#49d890;margin-top:1px}
@media(max-width:1000px){
    .apa-ai-provider-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
    .apa-ai-provider-meta{grid-template-columns:1fr}
    .apa-ai-provider-test{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   v2.9.6.7 — AI Provider Manager (provider-agnostic)
   ========================================================= */
.apa-ai-provider-switcher{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:13px 0 14px}
.apa-ai-provider-choice{min-width:0;display:flex;align-items:center;gap:8px;text-align:left;padding:10px!important;border-radius:12px!important;background:#0b1923!important;border:1px solid #2a414f!important;color:#dce7ee!important;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}
.apa-ai-provider-choice:hover,.apa-ai-provider-choice.is-active{border-color:#ef334a!important;background:linear-gradient(145deg,rgba(239,35,60,.09),#0d1b25)!important}
.apa-ai-provider-choice-icon{width:31px;height:31px;min-width:31px;border-radius:9px;display:grid;place-items:center;background:#142936;color:#69c6ff;font-weight:900;font-size:12px}
.apa-ai-provider-choice.is-active .apa-ai-provider-choice-icon{background:linear-gradient(180deg,#f52f46,#d91b34);color:#fff}
.apa-ai-provider-choice>span:nth-child(2){min-width:0;flex:1}.apa-ai-provider-choice strong{display:block;color:#fff;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-ai-provider-choice small{display:block;margin-top:2px;color:#728a9a;font-size:6.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apa-ai-provider-choice em{font-style:normal;color:#6f8797;font-size:6px;white-space:nowrap}.apa-ai-provider-choice.is-active em{color:#ff7988}
.apa-ai-provider-form{display:grid;gap:8px;margin-top:13px}.apa-ai-provider-form label{color:#a9bbc7;font-size:8px;font-weight:800}.apa-ai-provider-form label span{font-weight:500;color:#647d8d}
.apa-ai-provider-form select,.apa-ai-provider-form input{width:100%;height:39px!important;min-height:39px!important;background:#07151f!important;color:#eef5f8!important;border:1px solid #304957!important;border-radius:9px!important;box-shadow:none!important}
.apa-ai-provider-form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.apa-ai-provider-form-row>div{display:grid;gap:5px}
.apa-ai-provider-key-wrap{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:6px}.apa-ai-key-toggle{height:39px!important;border-radius:9px!important;border:1px solid #304957!important;background:#10222d!important;color:#9fb5c3!important;cursor:pointer}
.apa-ai-provider-security{display:flex;align-items:flex-start;gap:6px;margin:0!important;padding:8px 9px;border-radius:9px;background:rgba(32,199,122,.05);border:1px solid rgba(32,199,122,.14);color:#7fa394!important;font-size:7px!important}.apa-ai-provider-security .dashicons{color:#4ad58f;font-size:14px;width:14px;height:14px}
.apa-ai-provider-existing{display:inline-flex;align-items:center;gap:4px;color:#6ddc9f;font-size:7.5px}.apa-ai-provider-delete{margin-top:9px;padding-top:9px;border-top:1px solid #243947}.apa-ai-provider-delete button{border:0;background:transparent;color:#c46a75;font-size:7px;cursor:pointer;padding:2px 0}.apa-ai-provider-delete button:hover{color:#ff6173}
.apa-ai-provider-status-card{display:flex;flex-direction:column}.apa-ai-provider-coming,.apa-ai-provider-architecture{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:11px;background:rgba(84,185,255,.055);border:1px solid rgba(84,185,255,.15);margin-top:12px}.apa-ai-provider-coming>.dashicons,.apa-ai-provider-architecture>.dashicons{color:#68c3ff}.apa-ai-provider-coming strong,.apa-ai-provider-architecture strong{display:block;color:#e6f2f8;font-size:8.5px}.apa-ai-provider-coming p,.apa-ai-provider-architecture p{margin:2px 0 0;color:#7892a2;font-size:7.5px;line-height:1.45}.apa-ai-provider-architecture{margin-top:14px;background:linear-gradient(90deg,rgba(239,35,60,.055),rgba(84,185,255,.04));border-color:#2d4250}
@media(max-width:1350px){.apa-ai-provider-switcher{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.apa-ai-provider-switcher{grid-template-columns:1fr 1fr}.apa-ai-provider-form-row{grid-template-columns:1fr}}
@media(max-width:560px){.apa-ai-provider-switcher{grid-template-columns:1fr}}

/* AI Assistant grounded read-only — v2.9.6.9 */
.apa-ai-local-mode.is-ai-ready{
    border-color:rgba(41,196,126,.34);
    background:linear-gradient(135deg,rgba(14,66,53,.42),rgba(8,32,43,.72));
}
.apa-ai-local-mode.is-ai-ready>.dashicons{color:#35d98d}
.apa-ai-assistant-answer{
    margin-top:16px;
    border:1px solid rgba(104,130,149,.28);
    border-radius:16px;
    background:rgba(8,25,36,.72);
    overflow:hidden;
}
.apa-ai-assistant-answer.is-success{border-color:rgba(41,196,126,.34)}
.apa-ai-assistant-answer.is-error{border-color:rgba(239,42,65,.38)}
.apa-ai-assistant-answer-head{
    display:flex;
    gap:12px;
    align-items:flex-start;
    padding:15px 16px;
    border-bottom:1px solid rgba(104,130,149,.18);
}
.apa-ai-assistant-answer-head>.dashicons{
    width:34px;height:34px;display:grid;place-items:center;
    border-radius:10px;background:rgba(239,42,65,.13);color:#ff354f;
}
.apa-ai-assistant-answer.is-success .apa-ai-assistant-answer-head>.dashicons{
    background:rgba(41,196,126,.12);color:#35d98d;
}
.apa-ai-assistant-answer-head small{
    display:block;color:#7e9bb0;font-size:10px;font-weight:800;letter-spacing:.11em;margin-bottom:4px;
}
.apa-ai-assistant-answer-head strong{display:block;color:#f4f7fa;font-size:14px;line-height:1.35}
.apa-ai-assistant-answer-text{
    padding:17px 18px;color:#dbe7ef;font-size:14px;line-height:1.7;
}
.apa-ai-assistant-sources{
    padding:0 18px 18px;
}
.apa-ai-assistant-sources>small{
    display:block;color:#7893a7;font-size:9px;font-weight:800;letter-spacing:.12em;margin-bottom:9px;
}
.apa-ai-assistant-sources>div{display:flex;flex-wrap:wrap;gap:8px}
.apa-ai-assistant-sources a,.apa-ai-assistant-sources>div>span{
    display:inline-flex;align-items:center;gap:6px;
    padding:7px 10px;border:1px solid rgba(78,119,145,.3);border-radius:999px;
    background:#0c2230;color:#bcd2df;text-decoration:none;font-size:11px;font-weight:700;
}
.apa-ai-assistant-sources .dashicons{font-size:14px;width:14px;height:14px;color:#35d98d}
.apa-ai-local-suggestions>span{
    display:inline-flex;align-items:center;padding:6px 9px;border:1px solid rgba(68,105,129,.28);
    border-radius:999px;color:#8fa9ba;background:#0b1e2a;font-size:10px;
}
.apa-ai-local-query-row button[disabled],.apa-ai-local-query-row input[disabled]{opacity:.48;cursor:not-allowed}

/* v2.9.7.3 · AI Center course-source inventory (read-only) */
.apa-ai-course-sources{
    margin:16px 0 0;
    padding:16px;
    border:1px solid #243b49;
    border-radius:18px;
    background:linear-gradient(135deg,#0c1c27 0%,#10222e 65%,#1b1720 100%);
}
.apa-ai-course-sources-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.apa-ai-course-sources-head small{display:block;color:#ff3c55;font-size:9px;font-weight:800;letter-spacing:.12em}
.apa-ai-course-sources-head h4{margin:4px 0 4px;color:#fff;font-size:17px}
.apa-ai-course-sources-head p{margin:0;color:#9eb0bd;font-size:11px;line-height:1.5}
.apa-ai-course-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.apa-ai-course-source-card{border:1px solid #294453;border-radius:14px;background:#0b1a24;padding:14px;min-width:0}
.apa-ai-course-source-title{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.apa-ai-course-source-title>.dashicons{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#122f3e;color:#4db9ff}
.apa-ai-course-source-title strong{display:block;color:#fff;font-size:12px;line-height:1.3}
.apa-ai-course-source-title small{display:block;color:#7792a4;font-size:9px;margin-top:2px}
.apa-ai-course-source-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:10px}
.apa-ai-course-source-stats span{border:1px solid #243b49;border-radius:10px;padding:9px;background:#0d202b}
.apa-ai-course-source-stats b{display:block;color:#f6f8fa;font-size:15px;line-height:1}
.apa-ai-course-source-stats small{display:block;color:#7e98a9;font-size:8px;margin-top:5px;line-height:1.25}
.apa-ai-course-source-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}
.apa-ai-course-source-links a{display:flex;justify-content:space-between;gap:8px;align-items:center;text-decoration:none;border:1px solid #24404f;border-radius:9px;padding:8px 9px;background:#0d202b;min-width:0}
.apa-ai-course-source-links a:hover{border-color:#ff334c;background:#111f29}
.apa-ai-course-source-links a span{color:#e9f2f7;font-size:9px;font-weight:700;white-space:nowrap}
.apa-ai-course-source-links a small{color:#6d8b9d;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.apa-ai-course-source-links em{grid-column:1/-1;color:#7890a0;font-size:8px;font-style:normal;padding:2px 3px}
.apa-ai-course-source-empty{border:1px dashed #294453;border-radius:9px;padding:10px;color:#718b9c;font-size:9px}
.apa-ai-course-source-policy{display:flex;align-items:center;gap:7px;margin-top:10px;padding-top:10px;border-top:1px solid #1d3442;color:#7f98a8;font-size:8px}
.apa-ai-course-source-policy .dashicons{color:#35d28d;font-size:15px;width:15px;height:15px}
.apa-ai-course-source-policy strong{color:#cceee0}
@media(max-width:1200px){.apa-ai-course-source-grid{grid-template-columns:1fr}.apa-ai-course-source-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.apa-ai-course-sources-head{flex-direction:column}.apa-ai-course-source-links{grid-template-columns:1fr}}

/* v2.9.7.4 · local course chunk index + canonical source deduplication */
