.cheam-hub-wrap{
    --navy:#1E4F87;--navy-dark:#255B97;--orange:#F88F35;--orange-hover:#D77627;
    --card:#FFFFFF;--text:#1E293B;--muted:#64748B;--border:#E2E8F0;
    max-width:1400px;color:var(--text)
}
.cheam-header{background:linear-gradient(135deg,var(--navy),var(--navy-dark));border-radius:14px;padding:25px 28px;color:#fff;margin:20px 0;display:flex;justify-content:space-between;align-items:center;gap:20px}
.cheam-header h1{color:#fff;margin:0 0 5px;font-size:30px}.cheam-header p{margin:0;opacity:.9}
.cheam-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--orange);color:#fff;text-decoration:none;padding:11px 17px;border-radius:8px;font-weight:700;border:0;cursor:pointer}
.cheam-btn:hover{background:var(--orange-hover);color:#fff}.cheam-btn-secondary{background:#fff;color:var(--navy);border:1px solid var(--border)}
.cheam-btn-navy{background:var(--navy)}.cheam-btn-whatsapp{background:#25D366}.cheam-actions{display:flex;gap:10px;flex-wrap:wrap}
.cheam-card,.cheam-panel,.cheam-stat{background:var(--card);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 15px rgba(15,42,71,.05)}
.cheam-search-card{padding:18px;margin-bottom:18px}.cheam-search-form{display:flex;gap:10px}.cheam-search-form input{min-height:44px;flex:1;border:1px solid var(--border);border-radius:8px;padding:0 14px;font-size:15px}
.cheam-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.cheam-stat{padding:19px}.cheam-stat-label{color:var(--muted);font-weight:600;margin-bottom:7px}.cheam-stat-number{font-size:30px;font-weight:800;color:var(--navy)}
.cheam-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:18px}.cheam-panel{overflow:hidden}.cheam-panel-head{padding:17px 19px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.cheam-panel-head h2{margin:0;font-size:18px}
.cheam-table{width:100%;border-collapse:collapse}.cheam-table th,.cheam-table td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--border)}.cheam-table th{color:var(--muted);background:#F8FAFC;font-size:12px;text-transform:uppercase}.cheam-table a{font-weight:700;text-decoration:none}
.cheam-status-badge{display:inline-block;padding:5px 9px;border-radius:999px;font-weight:700;font-size:12px;white-space:nowrap}.cheam-empty{padding:25px;color:var(--muted);text-align:center}
.cheam-mini-list{padding:7px 18px}.cheam-mini-item{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}.cheam-mini-name a{font-weight:700;text-decoration:none}.cheam-mini-meta{font-size:12px;color:var(--muted);margin-top:3px}
.cheam-tabs{display:flex;gap:4px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:10px;padding:6px;margin-bottom:18px}.cheam-tab{padding:10px 14px;border-radius:7px;text-decoration:none;color:var(--muted);font-weight:700}.cheam-tab.active{background:var(--navy);color:#fff}
.cheam-profile-grid{display:grid;grid-template-columns:1fr 320px;gap:18px}.cheam-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cheam-field label{display:block;font-weight:700;margin:0 0 6px}.cheam-field input,.cheam-field select,.cheam-field textarea{width:100%;border:1px solid var(--border);border-radius:8px;min-height:42px}.cheam-field{margin-bottom:15px}.cheam-field-full{grid-column:1/-1}
.cheam-card-body{padding:20px}.cheam-card-title{font-size:18px;font-weight:800;margin:0 0 16px}.cheam-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cheam-service-card{border:1px solid var(--border);background:#F8FAFC;border-radius:9px;padding:13px;display:flex;gap:9px}
.cheam-quick a,.cheam-full-btn{display:flex;width:100%;box-sizing:border-box;margin-bottom:10px}.cheam-timeline-item{border-left:4px solid var(--orange);background:#F8FAFC;padding:13px 15px;margin-bottom:12px;border-radius:0 8px 8px 0}.cheam-timeline-meta{font-size:12px;color:var(--muted);margin-bottom:5px}
.cheam-profile-id{font-size:13px;opacity:.85;margin-bottom:4px}.cheam-form-actions{margin-top:18px;text-align:right}.cheam-email-note,.cheam-email-status{background:#F8FAFC;border:1px solid var(--border);padding:12px;border-radius:8px;color:var(--muted);margin-top:14px}.cheam-version{text-align:center;color:var(--muted);font-size:12px;margin:22px 0}
.cheam-modal-backdrop{display:none;position:fixed;inset:0;background:rgba(15,42,71,.55);z-index:99998;align-items:center;justify-content:center;padding:20px}.cheam-modal{width:min(680px,100%);background:#fff;border-radius:14px;box-shadow:0 25px 60px rgba(0,0,0,.25);overflow:hidden}.cheam-modal-head{padding:18px 22px;background:var(--navy);color:#fff;display:flex;justify-content:space-between;align-items:center}.cheam-modal-head h2{color:#fff;margin:0}.cheam-modal-close{background:none;border:0;color:#fff;font-size:26px;cursor:pointer}.cheam-modal-body{padding:22px}
@media(max-width:1000px){.cheam-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cheam-grid,.cheam-profile-grid{grid-template-columns:1fr}}
@media(max-width:700px){.cheam-header{align-items:flex-start;flex-direction:column}.cheam-stats,.cheam-form-grid,.cheam-service-grid{grid-template-columns:1fr}.cheam-search-form{flex-direction:column}}

.cheam-payment-link-box{background:#F8FAFC;border:1px solid var(--border);border-radius:8px;padding:13px;margin:15px 0;word-break:break-all;font-family:monospace}
.cheam-payment-actions{margin-top:12px}
.cheam-payment-record-card,.cheam-payment-summary-card{margin-top:18px}
.cheam-security-note{background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412;padding:12px;border-radius:8px;margin-top:14px}

.cheam-document-card{margin-bottom:18px}.cheam-document-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.cheam-doc-status{padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px}.cheam-doc-status.complete{background:#DCFCE7;color:#166534}.cheam-doc-status.missing{background:#FEE2E2;color:#991B1B}.cheam-document-meta{background:#F8FAFC;border:1px solid var(--border);padding:12px;border-radius:8px;margin:14px 0;line-height:1.7}.cheam-upload-form{margin-top:15px;padding-top:15px;border-top:1px solid var(--border)}
.cheam-requirements{display:grid;gap:10px}.cheam-requirement{display:flex;align-items:center;gap:10px;padding:10px;background:#F8FAFC;border-radius:8px}.cheam-requirement-icon{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.cheam-requirement-icon.complete{background:#DCFCE7;color:#166534}.cheam-requirement-icon.missing{background:#FEE2E2;color:#991B1B}.cheam-readiness-result{text-align:center;font-weight:800;padding:13px;border-radius:8px;margin:16px 0}.cheam-readiness-result.ready{background:#DCFCE7;color:#166534}.cheam-readiness-result.not-ready{background:#FEE2E2;color:#991B1B}.cheam-btn-danger{background:#DC2626}.cheam-btn-danger:hover{background:#B91C1C}.cheam-muted{color:var(--muted);font-size:12px}

.cheam-stats-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.cheam-stat-link{text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.cheam-stat-link:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,42,71,.10);border-color:#F88F35}
.cheam-stat-link.active{border:2px solid #F88F35;background:#FFF7ED}
.cheam-filter-banner{background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412;padding:12px 14px;border-radius:10px;margin-bottom:18px}
@media(max-width:1200px){.cheam-stats-6{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.cheam-stats-6{grid-template-columns:1fr}}

.cheam-task-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cheam-progress-number{font-size:30px;font-weight:800;color:#1E4F87}
.cheam-progress-track{height:12px;background:#E2E8F0;border-radius:999px;overflow:hidden;margin:14px 0 20px}
.cheam-progress-fill{height:100%;background:#F88F35;border-radius:999px;transition:width .2s ease}
.cheam-task-list{display:grid;gap:10px}
.cheam-task-item{display:flex;align-items:center;gap:11px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:9px;padding:13px 14px;font-weight:700}
.cheam-task-item.complete{background:#DCFCE7;border-color:#BBF7D0;color:#166534}
.cheam-task-item input{width:18px;height:18px}
.cheam-next-action{background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412;padding:14px;border-radius:9px;font-weight:800;font-size:16px}

/* Cheam Hub 4.0 Operations Centre */
.cheam-v4{max-width:none;margin-left:0}
.cheam-v4 .cheam-app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 70px);background:#F8FAFC;border-radius:18px;overflow:hidden;box-shadow:0 10px 35px rgba(30,79,135,.08);margin:20px 18px 0 0}
.cheam-app-sidebar{background:linear-gradient(180deg,#1E4F87 0%,#174474 100%);color:#fff;padding:22px 14px;display:flex;flex-direction:column}
.cheam-brand-block{background:#fff;border-radius:14px;padding:12px;margin-bottom:22px;text-align:center}
.cheam-brand-block img{width:100%;max-width:185px;height:auto;display:block;margin:0 auto 8px}
.cheam-hub-name{font-size:24px;font-weight:900;color:#1E4F87;letter-spacing:.02em}
.cheam-hub-name span{color:#F88F35}
.cheam-hub-subtitle{font-size:11px;color:#64748B}
.cheam-app-nav{display:grid;gap:8px}
.cheam-app-nav a{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;padding:12px 14px;border-radius:9px;font-weight:700}
.cheam-app-nav a:hover,.cheam-app-nav a.active{background:#F88F35;color:#fff}
.cheam-app-nav a span{width:20px;text-align:center;font-size:18px}
.cheam-sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.18);padding:18px 10px 0;display:grid;gap:3px}
.cheam-sidebar-footer small{opacity:.75}
.cheam-app-main{min-width:0}
.cheam-topbar{background:#fff;border-bottom:1px solid #E2E8F0;padding:22px 28px;display:flex;justify-content:space-between;align-items:center}
.cheam-topbar h1{margin:0;color:#1E293B;font-size:30px}
.cheam-topbar p{margin:5px 0 0;color:#64748B}
.cheam-topbar-meta{display:flex;align-items:center;gap:14px;color:#1E293B}
.cheam-user-pill{background:#F8FAFC;border:1px solid #E2E8F0;border-radius:999px;padding:8px 12px;font-weight:700}
.cheam-content-area{padding:22px}
.cheam-v4-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:18px 0}
.cheam-v4-kpi{background:#fff;border:1px solid #E2E8F0;border-radius:12px;text-decoration:none;color:#1E293B;text-align:center;overflow:hidden;box-shadow:0 4px 14px rgba(15,42,71,.05);transition:.15s ease}
.cheam-v4-kpi:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(15,42,71,.10)}
.cheam-v4-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;margin:16px auto 8px}
.cheam-v4-icon.orange{background:#F88F35}.cheam-v4-icon.blue{background:#1E4F87}.cheam-v4-icon.purple{background:#7C3AED}.cheam-v4-icon.green{background:#16A34A}.cheam-v4-icon.brown{background:#A16207}.cheam-v4-icon.navy{background:#0F2A47}
.cheam-v4-number{font-size:30px;font-weight:900}
.cheam-v4-label{font-weight:700;min-height:42px;padding:0 8px}
.cheam-v4-link{border-top:1px solid #E2E8F0;padding:11px;color:#1E4F87;font-weight:700;margin-top:10px}
.cheam-v4-three{display:grid;grid-template-columns:1.15fr 1.05fr .85fr;gap:16px}
.cheam-v4-panel{background:#fff;border:1px solid #E2E8F0;border-radius:12px;box-shadow:0 4px 14px rgba(15,42,71,.05);overflow:hidden}
.cheam-v4-panel-head{padding:16px 18px;border-bottom:1px solid #E2E8F0;display:flex;justify-content:space-between;align-items:center}
.cheam-v4-panel-head h2{margin:0;font-size:17px;color:#1E293B}
.cheam-v4-list{padding:4px 16px}
.cheam-v4-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #E2E8F0;text-decoration:none;color:#1E293B}
.cheam-v4-row:last-child{border-bottom:0}
.cheam-v4-row strong{display:block}
.cheam-v4-row small{display:block;color:#64748B;margin-top:4px}
.cheam-operations{display:grid;gap:9px;padding:14px}
.cheam-operation-btn{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #E2E8F0;border-radius:9px;padding:11px 12px;text-decoration:none;color:#1E293B;text-align:left;cursor:pointer;width:100%}
.cheam-operation-btn:hover{border-color:#F88F35;background:#FFF7ED}
.cheam-operation-btn>span{width:36px;height:36px;border-radius:9px;background:#F8FAFC;display:flex;align-items:center;justify-content:center;color:#1E4F87;font-size:18px;font-weight:900}
.cheam-operation-btn strong,.cheam-operation-btn small{display:block}.cheam-operation-btn small{color:#64748B;margin-top:2px}
.cheam-v4-learners-panel{margin-top:16px}
@media(max-width:1250px){.cheam-v4-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cheam-v4-three{grid-template-columns:1fr 1fr}.cheam-v4-three>section:last-child{grid-column:1/-1}}
@media(max-width:900px){.cheam-v4 .cheam-app-shell{grid-template-columns:1fr}.cheam-app-sidebar{display:none}.cheam-v4-three{grid-template-columns:1fr}.cheam-v4-three>section:last-child{grid-column:auto}.cheam-topbar{align-items:flex-start;flex-direction:column;gap:12px}}
@media(max-width:650px){.cheam-v4-kpis{grid-template-columns:1fr 1fr}.cheam-content-area{padding:14px}.cheam-topbar{padding:18px}.cheam-topbar-meta{flex-wrap:wrap}.cheam-v4 .cheam-table th:nth-child(1),.cheam-v4 .cheam-table td:nth-child(1),.cheam-v4 .cheam-table th:nth-child(3),.cheam-v4 .cheam-table td:nth-child(3),.cheam-v4 .cheam-table th:nth-child(4),.cheam-v4 .cheam-table td:nth-child(4){display:none}}

/* v4.0.1 icon fix */
.cheam-app-nav .dashicons{width:20px;height:20px;font-size:20px;line-height:20px;flex:0 0 20px}
.cheam-v4-icon .dashicons{width:24px;height:24px;font-size:24px;line-height:24px;color:#fff}
.cheam-operation-btn>span.dashicons{width:36px;height:36px;font-size:20px;line-height:36px;padding:0;display:inline-block;text-align:center}

/* v4.0.3 full-width Learners workspace */
.cheam-learners-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:18px;margin-bottom:16px}
.cheam-learners-filter-form{display:flex;align-items:flex-end;gap:12px;flex:1}
.cheam-learners-filter-form .cheam-field{margin:0;min-width:180px}
.cheam-learners-filter-form .cheam-grow{flex:1;min-width:280px}
.cheam-toolbar-buttons{display:flex;gap:8px}
.cheam-add-learner-main{white-space:nowrap}
.cheam-learners-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.cheam-learners-summary>div{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:16px;display:flex;align-items:baseline;gap:10px;box-shadow:0 4px 14px rgba(15,42,71,.04)}
.cheam-learners-summary strong{font-size:28px;color:#1E4F87}
.cheam-learners-summary span{color:#64748B;font-weight:700}
.cheam-full-learners-panel{width:100%}
.cheam-table-scroll{overflow-x:auto;width:100%}
.cheam-learners-table{min-width:1250px}
.cheam-learners-table th,.cheam-learners-table td{padding:14px 16px;white-space:nowrap}
.cheam-learners-table tbody tr:hover{background:#FFF7ED}
.cheam-learner-name{font-weight:800;color:#1E4F87;text-decoration:none}
.cheam-open-profile{display:inline-flex;padding:7px 11px;border-radius:7px;background:#1E4F87;color:#FFFFFF;text-decoration:none;font-weight:700}
.cheam-open-profile:hover{background:#255B97;color:#FFFFFF}
@media(max-width:1100px){
    .cheam-learners-toolbar,.cheam-learners-filter-form{align-items:stretch;flex-direction:column}
    .cheam-toolbar-buttons{align-self:flex-start}
    .cheam-learners-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .cheam-learners-summary{grid-template-columns:1fr}
}

/* v4.0.4 restored Add Learner journey */
.cheam-classic-learner-modal .cheam-modal{
    width:min(820px,calc(100vw - 40px));
    max-height:calc(100vh - 40px);
    overflow:auto;
}
.cheam-classic-learner-modal .cheam-modal-head{
    padding:22px 26px;
    align-items:flex-start;
}
.cheam-classic-learner-modal .cheam-modal-head h2{
    font-size:21px;
    margin:0 0 4px;
}
.cheam-classic-learner-modal .cheam-modal-head p{
    margin:0;
    color:rgba(255,255,255,.82);
    font-size:13px;
}
.cheam-classic-learner-modal .cheam-modal-body{
    padding:26px;
}
.cheam-classic-learner-modal .cheam-form-grid{
    gap:18px;
}
.cheam-classic-learner-modal .cheam-field{
    margin-bottom:4px;
}
.cheam-classic-learner-modal .cheam-field input,
.cheam-classic-learner-modal .cheam-field select{
    min-height:46px;
}
.cheam-classic-learner-modal .cheam-field textarea{
    min-height:120px;
}
.cheam-modal-section-title{
    font-size:14px;
    font-weight:800;
    color:#1E4F87;
    padding-bottom:9px;
    margin:2px 0 16px;
    border-bottom:1px solid #E2E8F0;
}
.cheam-modal-section-title:not(:first-child){
    margin-top:24px;
}
.cheam-required{
    color:#DC2626;
}
.cheam-modal-footer{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid #E2E8F0;
}
@media(max-width:700px){
    .cheam-classic-learner-modal .cheam-modal{
        width:100%;
        max-height:calc(100vh - 20px);
    }
    .cheam-classic-learner-modal .cheam-modal-body{
        padding:20px;
    }
}

/* v4.0.5 full-width Learner Profile workspace */
.cheam-profile-workspace{
    max-width:none;
    margin-left:0;
}
.cheam-profile-workspace .cheam-app-shell{
    grid-template-columns:250px minmax(0,1fr);
}
.cheam-profile-workspace .cheam-content-area{
    width:auto;
}
.cheam-profile-summary-strip{
    display:grid;
    grid-template-columns:auto minmax(180px,1fr) minmax(260px,1.2fr) auto;
    gap:18px;
    align-items:center;
    background:#FFFFFF;
    border:1px solid #E2E8F0;
    border-radius:12px;
    padding:16px 18px;
    margin-bottom:16px;
    box-shadow:0 4px 14px rgba(15,42,71,.04);
}
.cheam-profile-summary-strip span{
    display:block;
    color:#64748B;
    font-size:12px;
    font-weight:700;
    margin-bottom:4px;
}
.cheam-profile-summary-strip strong{
    display:block;
    color:#1E293B;
    font-size:16px;
}
.cheam-summary-progress{
    height:12px;
    background:#E2E8F0;
    border-radius:999px;
    overflow:hidden;
}
.cheam-summary-progress>div{
    height:100%;
    background:#F88F35;
    border-radius:999px;
}
.cheam-profile-tabs{
    margin-bottom:16px;
}
.cheam-profile-tab-content{
    width:100%;
}
.cheam-profile-tab-content .cheam-profile-grid{
    grid-template-columns:minmax(0,1fr) 340px;
}
.cheam-profile-tab-content .cheam-card,
.cheam-profile-tab-content .cheam-panel{
    width:auto;
}
.cheam-profile-tab-content .cheam-document-card{
    margin-bottom:16px;
}
.cheam-profile-tab-content .cheam-card-body{
    padding:22px;
}
.cheam-profile-tab-content .cheam-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.cheam-profile-tab-content .cheam-field-full{
    grid-column:1/-1;
}
.cheam-profile-tab-content .cheam-table-scroll{
    width:100%;
}
@media(max-width:1100px){
    .cheam-profile-summary-strip{
        grid-template-columns:1fr 1fr;
    }
    .cheam-profile-tab-content .cheam-profile-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:700px){
    .cheam-profile-summary-strip{
        grid-template-columns:1fr;
    }
    .cheam-profile-tab-content .cheam-form-grid{
        grid-template-columns:1fr;
    }
}

/* v4.0.6 filtered Learners work queues */
.cheam-learners-queue-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:#FFF7ED;
    border:1px solid #FED7AA;
    border-radius:12px;
    padding:14px 18px;
    margin-bottom:16px;
}
.cheam-learners-queue-banner span{
    display:block;
    color:#9A3412;
    font-size:12px;
    font-weight:700;
    margin-bottom:3px;
}
.cheam-learners-queue-banner strong{
    color:#1E293B;
    font-size:18px;
}
.cheam-learners-queue-banner a{
    color:#1E4F87;
    font-weight:800;
    text-decoration:none;
}
.cheam-v4-kpi .cheam-v4-link{
    transition:background .15s ease,color .15s ease;
}
.cheam-v4-kpi:hover .cheam-v4-link{
    background:#FFF7ED;
    color:#D77627;
}

/* v4.1.0 Learner Workspace */
.cheam-learner-command-centre{
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:18px;
}
.cheam-command-main{
    display:grid;
    gap:18px;
}
.cheam-command-card .cheam-card-body{
    padding:24px;
}
.cheam-command-heading,
.cheam-section-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}
.cheam-command-heading p{
    margin:4px 0 0;
    color:#64748B;
}
.cheam-command-progress{
    text-align:right;
}
.cheam-command-progress strong{
    display:block;
    color:#1E4F87;
    font-size:30px;
    line-height:1;
}
.cheam-command-progress span{
    display:block;
    color:#64748B;
    margin-top:5px;
    font-size:12px;
}
.cheam-journey-track{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:0;
    margin:24px 0;
}
.cheam-journey-step{
    position:relative;
    text-align:center;
    padding:0 6px;
}
.cheam-journey-step:not(:last-child):before{
    content:"";
    position:absolute;
    top:19px;
    left:50%;
    width:100%;
    height:3px;
    background:#E2E8F0;
    z-index:0;
}
.cheam-journey-step.complete:not(:last-child):before{
    background:#F88F35;
}
.cheam-journey-marker{
    position:relative;
    z-index:1;
    width:40px;
    height:40px;
    border-radius:50%;
    margin:0 auto 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#E2E8F0;
    color:#64748B;
    font-weight:900;
}
.cheam-journey-step.complete .cheam-journey-marker{
    background:#F88F35;
    color:#FFFFFF;
}
.cheam-journey-copy strong,
.cheam-journey-copy small{
    display:block;
}
.cheam-journey-copy strong{
    color:#1E293B;
}
.cheam-journey-copy small{
    color:#64748B;
    margin-top:4px;
    line-height:1.3;
}
.cheam-next-action-panel{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:14px;
    background:#FFF7ED;
    border:1px solid #FED7AA;
    border-radius:10px;
    padding:14px 16px;
}
.cheam-next-action-panel span{
    color:#9A3412;
    font-weight:700;
}
.cheam-next-action-panel strong{
    color:#1E293B;
    font-size:16px;
}
.cheam-next-action-panel a,
.cheam-inline-link{
    color:#1E4F87;
    text-decoration:none;
    font-weight:800;
}
.cheam-command-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:18px;
}
.cheam-command-side-stack{
    display:grid;
    gap:18px;
    align-content:start;
}
.cheam-service-summary-list{
    display:grid;
    gap:9px;
    margin-bottom:14px;
}
.cheam-service-summary-list div{
    display:flex;
    align-items:center;
    gap:8px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:8px;
    padding:10px 11px;
    font-weight:700;
}
.cheam-service-summary-list .dashicons{
    color:#16A34A;
}
.cheam-summary-lines{
    display:grid;
    gap:10px;
    margin-bottom:14px;
}
.cheam-summary-lines div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-bottom:8px;
    border-bottom:1px solid #E2E8F0;
}
.cheam-summary-lines span{
    color:#64748B;
}
.cheam-requirement-mini{
    display:grid;
    gap:9px;
    margin-bottom:14px;
}
.cheam-requirement-mini div{
    display:flex;
    align-items:center;
    gap:9px;
    color:#991B1B;
    font-weight:700;
}
.cheam-requirement-mini div.complete{
    color:#166534;
}
.cheam-requirement-mini span{
    width:22px;
    height:22px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#FEE2E2;
}
.cheam-requirement-mini .complete span{
    background:#DCFCE7;
}
.cheam-activity-feed{
    display:grid;
    gap:0;
}
.cheam-activity-item{
    display:grid;
    grid-template-columns:18px 1fr;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid #E2E8F0;
}
.cheam-activity-item:last-child{
    border-bottom:0;
}
.cheam-activity-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#F88F35;
    margin-top:5px;
}
.cheam-activity-item strong,
.cheam-activity-item small{
    display:block;
}
.cheam-activity-item small{
    color:#64748B;
    margin-top:4px;
}
.cheam-sticky-actions{
    position:sticky;
    top:48px;
}
.cheam-action-button{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    box-sizing:border-box;
    border:1px solid #E2E8F0;
    border-radius:9px;
    padding:12px;
    margin-bottom:10px;
    background:#FFFFFF;
    color:#1E293B;
    text-decoration:none;
    text-align:left;
    cursor:pointer;
}
.cheam-action-button:hover{
    border-color:#F88F35;
    background:#FFF7ED;
    color:#1E293B;
}
.cheam-action-button .dashicons{
    width:38px;
    height:38px;
    border-radius:9px;
    background:#F8FAFC;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1E4F87;
    font-size:20px;
    line-height:38px;
}
.cheam-action-button strong,
.cheam-action-button small{
    display:block;
}
.cheam-action-button small{
    color:#64748B;
    margin-top:2px;
}
.cheam-action-button.blue{
    background:#1E4F87;
    border-color:#1E4F87;
    color:#FFFFFF;
}
.cheam-action-button.blue .dashicons{
    background:rgba(255,255,255,.14);
    color:#FFFFFF;
}
.cheam-action-button.blue small{
    color:rgba(255,255,255,.8);
}
.cheam-action-button.whatsapp{
    background:#25D366;
    border-color:#25D366;
    color:#FFFFFF;
}
.cheam-action-button.whatsapp .dashicons{
    background:rgba(255,255,255,.16);
    color:#FFFFFF;
}
.cheam-action-button.whatsapp small{
    color:rgba(255,255,255,.86);
}
.cheam-action-submit{
    font-family:inherit;
}
@media(max-width:1200px){
    .cheam-learner-command-centre{
        grid-template-columns:1fr;
    }
    .cheam-command-actions{
        order:-1;
    }
    .cheam-sticky-actions{
        position:static;
    }
    .cheam-sticky-actions .cheam-card-body{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .cheam-sticky-actions .cheam-card-title{
        grid-column:1/-1;
    }
    .cheam-action-button{
        margin-bottom:0;
    }
}
@media(max-width:900px){
    .cheam-command-grid{
        grid-template-columns:1fr;
    }
    .cheam-journey-track{
        grid-template-columns:repeat(3,minmax(0,1fr));
        row-gap:20px;
    }
    .cheam-journey-step:nth-child(3):before{
        display:none;
    }
}
@media(max-width:650px){
    .cheam-journey-track{
        grid-template-columns:1fr;
    }
    .cheam-journey-step{
        text-align:left;
        display:grid;
        grid-template-columns:44px 1fr;
        gap:10px;
        align-items:center;
    }
    .cheam-journey-step:not(:last-child):before{
        top:40px;
        left:19px;
        width:3px;
        height:calc(100% - 4px);
    }
    .cheam-journey-step:nth-child(3):before{
        display:block;
    }
    .cheam-journey-marker{
        margin:0;
    }
    .cheam-next-action-panel{
        grid-template-columns:1fr;
    }
    .cheam-sticky-actions .cheam-card-body{
        grid-template-columns:1fr;
    }
}

/* v4.2.0 Training and Requirements workflow */
.cheam-training-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:18px;
}
.cheam-training-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}
.cheam-training-head p{
    margin:4px 0 0;
    color:#64748B;
}
.cheam-training-percent{
    font-size:30px;
    font-weight:900;
    color:#1E4F87;
}
.cheam-training-checklist{
    display:grid;
    gap:12px;
}
.cheam-training-item{
    display:grid;
    grid-template-columns:auto 44px 1fr;
    align-items:center;
    gap:12px;
    border:1px solid #E2E8F0;
    border-radius:10px;
    padding:14px;
    background:#F8FAFC;
    cursor:pointer;
}
.cheam-training-item.complete{
    background:#F0FDF4;
    border-color:#BBF7D0;
}
.cheam-training-item input{
    width:19px;
    height:19px;
}
.cheam-training-item>.dashicons{
    width:42px;
    height:42px;
    border-radius:10px;
    background:#FFFFFF;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1E4F87;
    font-size:22px;
    line-height:42px;
}
.cheam-training-item.complete>.dashicons{
    color:#166534;
}
.cheam-training-item strong,
.cheam-training-item small{
    display:block;
}
.cheam-training-item small{
    color:#64748B;
    margin-top:4px;
}
.cheam-training-result{
    text-align:center;
    font-weight:900;
    border-radius:9px;
    padding:14px;
    margin-bottom:14px;
}
.cheam-training-result.complete{
    color:#166534;
    background:#DCFCE7;
}
.cheam-training-result.active{
    color:#075985;
    background:#E0F2FE;
}
.cheam-training-result.waiting{
    color:#92400E;
    background:#FEF3C7;
}
@media(max-width:1000px){
    .cheam-training-layout{
        grid-template-columns:1fr;
    }
}

/* v4.2.1 service-aware training */
.cheam-training-empty{
    display:flex;
    align-items:flex-start;
    gap:14px;
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:10px;
    padding:18px;
}
.cheam-training-empty>.dashicons{
    width:42px;
    height:42px;
    border-radius:10px;
    background:#FFFFFF;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1E4F87;
    font-size:22px;
    line-height:42px;
}
.cheam-training-empty strong{
    display:block;
    color:#1E293B;
}
.cheam-training-empty p{
    margin:5px 0 0;
    color:#64748B;
}
.cheam-training-result.neutral{
    color:#475569;
    background:#E2E8F0;
}

/* v4.2.2 prioritise learner information during calls */
.cheam-command-main{
    display:flex;
    flex-direction:column;
}
.cheam-command-grid{
    order:1;
}
.cheam-command-card{
    order:2;
}
.cheam-command-main > .cheam-card:not(.cheam-command-card){
    order:3;
}

/* Give the learner form more room than the side summaries */
.cheam-command-grid{
    grid-template-columns:minmax(0,1fr) 280px;
}
.cheam-command-grid > .cheam-card:first-child .cheam-card-body{
    padding:24px;
}
.cheam-command-grid > .cheam-card:first-child{
    min-height:620px;
}

/* Compact learner journey so it supports rather than dominates */
.cheam-command-card .cheam-card-body{
    padding:16px 18px;
}
.cheam-command-heading{
    align-items:center;
}
.cheam-command-heading p{
    display:none;
}
.cheam-command-progress strong{
    font-size:24px;
}
.cheam-command-progress span{
    margin-top:2px;
}
.cheam-journey-track{
    margin:14px 0 12px;
}
.cheam-journey-marker{
    width:30px;
    height:30px;
    margin-bottom:6px;
    font-size:12px;
}
.cheam-journey-step:not(:last-child):before{
    top:14px;
    height:2px;
}
.cheam-journey-copy strong{
    font-size:12px;
}
.cheam-journey-copy small{
    display:none;
}
.cheam-next-action-panel{
    padding:10px 12px;
}
.cheam-next-action-panel strong{
    font-size:14px;
}

/* Keep quick actions visible while the form remains the primary focus */
.cheam-sticky-actions{
    top:32px;
}

@media(max-width:1200px){
    .cheam-command-grid{
        grid-template-columns:1fr;
    }
    .cheam-command-grid > .cheam-card:first-child{
        min-height:0;
    }
}

@media(max-width:650px){
    .cheam-journey-copy small{
        display:block;
    }
}

/* v4.2.3 service-aware requirements */
.cheam-requirements-layout:has(> div:only-child){
    grid-template-columns:1fr;
}
.cheam-no-requirements{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:10px 0;
}
.cheam-no-requirements>.dashicons{
    width:48px;
    height:48px;
    border-radius:12px;
    background:#DCFCE7;
    color:#166534;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    line-height:48px;
}
.cheam-no-requirements h2{
    margin-bottom:6px;
}
.cheam-no-requirements p{
    margin:0;
    color:#64748B;
}

/* v4.3.0 smarter Operations Centre */
.cheam-priority-board{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
    margin-bottom:16px;
}
.cheam-priority-board a{
    background:#FFFFFF;
    border:1px solid #E2E8F0;
    border-radius:12px;
    padding:15px;
    display:grid;
    grid-template-columns:38px 1fr;
    column-gap:10px;
    row-gap:2px;
    text-decoration:none;
    color:#1E293B;
    box-shadow:0 4px 14px rgba(15,42,71,.04);
}
.cheam-priority-board a:hover{
    border-color:#F88F35;
    background:#FFF7ED;
}
.cheam-priority-board .dashicons{
    grid-row:1/3;
    width:38px;
    height:38px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F8FAFC;
    color:#1E4F87;
    font-size:20px;
    line-height:38px;
}
.cheam-priority-board strong{
    font-size:24px;
    color:#1E4F87;
}
.cheam-priority-board small{
    color:#64748B;
    font-weight:700;
}
.cheam-activity-row{
    justify-content:flex-start;
}
.cheam-activity-icon{
    width:36px;
    height:36px;
    border-radius:9px;
    flex:0 0 36px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#FFF7ED;
    color:#F88F35;
    font-size:19px;
    line-height:36px;
}
@media(max-width:1200px){
    .cheam-priority-board{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:750px){
    .cheam-priority-board{
        grid-template-columns:1fr;
    }
}

/* v4.3.1 streamlined Operations Centre */
.cheam-v4-kpis{
    grid-template-columns:repeat(5,minmax(0,1fr));
}
.cheam-operations-panel{
    margin-bottom:16px;
}
.cheam-operations-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}
.cheam-operations-grid .cheam-operation-btn{
    min-height:78px;
    margin:0;
}
.cheam-v4-kpi .cheam-v4-link{
    font-size:12px;
}
@media(max-width:1250px){
    .cheam-v4-kpis{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .cheam-operations-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:800px){
    .cheam-v4-kpis,
    .cheam-operations-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:520px){
    .cheam-v4-kpis,
    .cheam-operations-grid{
        grid-template-columns:1fr;
    }
}

/* v4.3.2 printable learner summary */
.cheam-summary-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:18px 20px;margin-bottom:16px}
.cheam-summary-actions h2{margin:0 0 4px;color:#1E293B}.cheam-summary-actions p{margin:0;color:#64748B}
.cheam-summary-actions .cheam-btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.cheam-print-summary{color:#1E293B}
.cheam-print-header{display:flex;align-items:center;gap:22px;background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:20px 22px;margin-bottom:16px}
.cheam-print-header img{width:190px;max-height:90px;object-fit:contain}
.cheam-print-header h1{margin:0 0 7px;font-size:28px;color:#1E4F87}.cheam-print-header p{margin:0;color:#64748B}
.cheam-summary-highlight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.cheam-summary-highlight-grid>div{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:10px;padding:15px}
.cheam-summary-highlight-grid span,.cheam-summary-data-grid span{display:block;color:#64748B;font-size:12px;font-weight:700;margin-bottom:5px}
.cheam-summary-highlight-grid strong{display:block;color:#1E293B;line-height:1.35}
.cheam-summary-section{background:#FFFFFF;border:1px solid #E2E8F0;border-radius:12px;padding:20px;margin-bottom:16px}
.cheam-summary-section h2{color:#1E4F87;font-size:18px;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid #F88F35}
.cheam-summary-section h3{color:#1E293B;font-size:15px;margin:20px 0 12px}
.cheam-summary-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cheam-summary-data-grid>div{background:#F8FAFC;border:1px solid #E2E8F0;border-radius:8px;padding:12px}
.cheam-summary-data-grid .wide{grid-column:1/-1}.cheam-summary-data-grid strong{overflow-wrap:anywhere}
.cheam-summary-tags{display:flex;flex-wrap:wrap;gap:9px}.cheam-summary-tags span{background:#EFF6FF;border:1px solid #BFDBFE;color:#1E4F87;border-radius:999px;padding:8px 12px;font-weight:700}
.cheam-summary-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cheam-summary-checklist>div{display:flex;align-items:center;gap:9px;border-radius:8px;padding:11px 12px}
.cheam-summary-checklist>div.complete{background:#F0FDF4;color:#166534;border:1px solid #BBF7D0}
.cheam-summary-checklist>div.missing{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}
.cheam-summary-checklist>div>span{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.75);font-weight:900}
.cheam-summary-document-list{display:grid;gap:10px}.cheam-summary-document-list>div{display:grid;grid-template-columns:auto 1fr;column-gap:11px;row-gap:3px;align-items:center;border:1px solid #E2E8F0;border-radius:8px;padding:12px;background:#F8FAFC}
.cheam-summary-document-list small{grid-column:2;color:#64748B}
.cheam-summary-state{grid-row:1/3;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}
.cheam-summary-state.complete{background:#DCFCE7;color:#166534}.cheam-summary-state.missing{background:#FEE2E2;color:#991B1B}
.cheam-summary-cscs-result{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;border-radius:8px;padding:13px 15px}
.cheam-summary-cscs-result.ready{background:#DCFCE7;color:#166534}.cheam-summary-cscs-result.not-ready{background:#FEE2E2;color:#991B1B}
.cheam-summary-cscs-result span{font-size:12px}
.cheam-summary-timeline-item{display:grid;grid-template-columns:190px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid #E2E8F0}
.cheam-summary-timeline-item:last-child{border-bottom:0}.cheam-summary-timeline-item>div strong,.cheam-summary-timeline-item>div span{display:block}
.cheam-summary-timeline-item>div span{color:#64748B;margin-top:3px;font-size:12px}.cheam-summary-timeline-item p{margin:0;line-height:1.5}
.cheam-summary-empty{margin:0;color:#64748B}.cheam-print-footer{text-align:center;color:#64748B;font-size:11px;padding:6px 0 20px}
@media(max-width:900px){.cheam-summary-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
    .cheam-summary-actions,.cheam-print-header,.cheam-summary-cscs-result{align-items:flex-start;flex-direction:column}
    .cheam-summary-highlight-grid,.cheam-summary-data-grid,.cheam-summary-checklist{grid-template-columns:1fr}
    .cheam-summary-data-grid .wide{grid-column:auto}.cheam-summary-timeline-item{grid-template-columns:1fr;gap:6px}
}
@media print{
    @page{size:A4;margin:12mm}
    body{background:#FFFFFF !important}
    #adminmenumain,#wpadminbar,#wpfooter,.cheam-app-sidebar,.cheam-topbar,.cheam-profile-summary-strip,.cheam-profile-tabs,.cheam-version,.notice,.no-print{display:none !important}
    #wpcontent,#wpbody,#wpbody-content,.wrap.cheam-hub-wrap,.cheam-app-shell,.cheam-app-main,.cheam-content-area,.cheam-profile-tab-content{margin:0 !important;padding:0 !important;width:100% !important;max-width:none !important;display:block !important;background:#FFFFFF !important;box-shadow:none !important;border:0 !important}
    .cheam-print-summary{font-size:10pt}
    .cheam-print-header,.cheam-summary-section,.cheam-summary-highlight-grid>div{box-shadow:none !important;break-inside:avoid}
    .cheam-print-header{padding:0 0 12px;border:0;border-bottom:2px solid #1E4F87;border-radius:0}.cheam-print-header img{width:150px}
    .cheam-summary-highlight-grid{grid-template-columns:repeat(2,1fr)}
    .cheam-summary-section{padding:12px 0;border:0;border-radius:0;margin-bottom:4px}
    .cheam-summary-section h2{font-size:14pt;margin-bottom:10px}
    .cheam-summary-data-grid>div,.cheam-summary-document-list>div{background:#FFFFFF !important}
    .cheam-summary-timeline-item{break-inside:avoid}
    a{color:inherit !important;text-decoration:none !important}
}

/* v4.4.0 priced services */
.cheam-priced-service-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}
.cheam-priced-service-card{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:flex-start;
    border:1px solid #E2E8F0;
    border-radius:12px;
    padding:16px;
    background:#FFFFFF;
    cursor:pointer;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.cheam-priced-service-card:hover{
    border-color:#F88F35;
    background:#FFF7ED;
}
.cheam-priced-service-card.selected{
    border:2px solid #1E4F87;
    background:#EFF6FF;
    box-shadow:0 5px 16px rgba(30,79,135,.08);
}
.cheam-priced-service-card input{
    width:19px;
    height:19px;
    margin-top:3px;
}
.cheam-priced-service-content{
    display:grid;
    grid-template-columns:1fr auto;
    gap:5px 12px;
}
.cheam-priced-service-content strong{
    color:#1E293B;
    font-size:15px;
}
.cheam-priced-service-price{
    color:#F88F35;
    font-size:20px;
    font-weight:900;
    white-space:nowrap;
}
.cheam-priced-service-content small{
    grid-column:1/-1;
    color:#64748B;
}
.cheam-service-total{
    text-align:right;
    background:#FFF7ED;
    border:1px solid #FED7AA;
    border-radius:10px;
    padding:10px 14px;
}
.cheam-service-total span{
    display:block;
    color:#9A3412;
    font-size:11px;
    font-weight:700;
}
.cheam-service-total strong{
    display:block;
    color:#1E293B;
    font-size:22px;
    margin-top:2px;
}
.cheam-payment-expected{
    background:#FFF7ED;
    border:1px solid #FED7AA;
    color:#9A3412;
    border-radius:8px;
    padding:11px 13px;
    margin:12px 0;
}
.cheam-summary-expected-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-top:14px;
    background:#FFF7ED;
    border:1px solid #FED7AA;
    border-radius:8px;
    padding:12px 14px;
}
.cheam-summary-expected-total span{
    color:#9A3412;
    font-weight:700;
}
.cheam-summary-expected-total strong{
    color:#1E293B;
    font-size:18px;
}
@media(max-width:800px){
    .cheam-priced-service-grid{
        grid-template-columns:1fr;
    }
}

/* v4.5 management suite */
.cheam-report-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:16px}
.cheam-report-kpis>div{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:18px;box-shadow:0 4px 14px rgba(15,42,71,.04)}
.cheam-report-kpis span{display:block;color:#64748B;font-weight:700}.cheam-report-kpis strong{display:block;color:#1E4F87;font-size:28px;margin-top:6px}
.cheam-report-table-wrap{overflow-x:auto;padding:0 16px 16px}.cheam-report-note{color:#64748B;font-size:12px}
.cheam-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.cheam-calendar-nav h2{margin:0;color:#1E293B}
.cheam-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#fff;border:1px solid #E2E8F0;border-radius:12px;overflow:hidden}
.cheam-calendar-head{background:#1E4F87;color:#fff;padding:11px;text-align:center;font-weight:800}
.cheam-calendar-day{min-height:120px;border-right:1px solid #E2E8F0;border-top:1px solid #E2E8F0;padding:10px}.cheam-calendar-day.empty{background:#F8FAFC}
.cheam-calendar-day>strong{display:block;margin-bottom:8px}.cheam-calendar-day a{display:block;background:#FFF7ED;border:1px solid #FED7AA;color:#9A3412;text-decoration:none;border-radius:6px;padding:6px;margin-bottom:5px;font-size:12px;font-weight:700}
.cheam-email-centre-card{padding:22px}.cheam-email-centre-card form{max-width:1000px}
@media(max-width:1100px){.cheam-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cheam-calendar-day{min-height:90px}}
@media(max-width:700px){.cheam-report-kpis{grid-template-columns:1fr}.cheam-calendar-grid{overflow-x:auto;grid-template-columns:repeat(7,130px)}}

/* v4.5.2 A4-style on-screen learner summary */
.cheam-profile-tab-content:has(.cheam-print-summary){
    background:#EEF2F7;
    border-radius:12px;
    padding:24px;
}
.cheam-print-summary{
    width:min(100%, 794px);
    margin:0 auto;
}
.cheam-print-summary .cheam-summary-actions{
    width:100%;
    box-sizing:border-box;
}
.cheam-print-header,
.cheam-summary-highlight-grid,
.cheam-summary-section,
.cheam-print-footer{
    width:100%;
    box-sizing:border-box;
}
.cheam-print-header{
    border-radius:0;
    border:0;
    border-bottom:2px solid #1E4F87;
    box-shadow:0 1px 0 rgba(15,42,71,.04);
    padding:18px 14px;
}
.cheam-print-header img{
    width:110px;
    max-height:70px;
}
.cheam-print-header h1{
    font-size:25px;
}
.cheam-summary-highlight-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.cheam-summary-highlight-grid>div{
    border-radius:8px;
    padding:12px;
}
.cheam-summary-section{
    border-radius:0;
    border-left:0;
    border-right:0;
    padding:18px 14px;
    margin-bottom:0;
    box-shadow:none;
}
.cheam-summary-section:first-of-type{
    border-top:0;
}
.cheam-summary-section h2{
    font-size:17px;
    margin-bottom:14px;
}
.cheam-summary-data-grid{
    gap:9px;
}
.cheam-summary-data-grid>div{
    padding:10px;
}
.cheam-summary-tags span{
    font-size:12px;
    padding:6px 10px;
}
.cheam-summary-expected-total{
    margin-top:10px;
}
.cheam-summary-timeline-item{
    grid-template-columns:155px 1fr;
}
.cheam-print-footer{
    background:#FFFFFF;
    padding:14px;
    border-top:1px solid #E2E8F0;
}
@media(max-width:900px){
    .cheam-profile-tab-content:has(.cheam-print-summary){
        padding:12px;
    }
    .cheam-print-summary{
        width:100%;
    }
}

/* v4.6 learner portal */
.cheam-portal-admin-box{border-top:1px solid #E2E8F0;padding-top:14px;margin-top:12px}
.cheam-portal-admin-box>strong,.cheam-portal-admin-box>small{display:block}.cheam-portal-admin-box>small{color:#64748B;margin:4px 0 10px}
.cheam-learner-portal,.cheam-portal-login{font-family:Arial,sans-serif;color:#1E293B;background:#F8FAFC;min-height:70vh;padding:24px;box-sizing:border-box}
.cheam-learner-portal{max-width:1100px;margin:30px auto}
.cheam-portal-header{display:flex;align-items:center;gap:22px;background:#1E4F87;color:#fff;border-radius:16px;padding:20px 24px}
.cheam-portal-header img{width:170px;background:#fff;border-radius:10px;padding:8px}
.cheam-portal-header h1{margin:3px 0;font-size:28px;color:#fff}.cheam-portal-header p,.cheam-portal-header span{margin:0;opacity:.85}
.cheam-portal-header>a{margin-left:auto;background:#F88F35;color:#fff;text-decoration:none;border-radius:8px;padding:10px 14px;font-weight:700}
.cheam-portal-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}
.cheam-portal-kpis>div,.cheam-portal-card{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:18px;box-shadow:0 4px 14px rgba(15,42,71,.05)}
.cheam-portal-kpis span{display:block;color:#64748B;font-size:12px;font-weight:700}.cheam-portal-kpis strong{display:block;margin-top:5px;font-size:20px;color:#1E4F87}
.cheam-portal-card{margin-bottom:16px}.cheam-portal-card h2{margin:0 0 14px;color:#1E4F87;border-bottom:2px solid #F88F35;padding-bottom:9px}
.cheam-portal-service-list{display:grid;gap:9px}.cheam-portal-service-list>div{display:flex;justify-content:space-between;gap:15px;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:8px;padding:12px}
.cheam-portal-service-list span{color:#F88F35;font-weight:900}
.cheam-portal-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cheam-portal-checklist{display:grid;gap:9px}.cheam-portal-checklist>div{display:flex;align-items:center;gap:9px;border-radius:8px;padding:11px}
.cheam-portal-checklist .complete{background:#F0FDF4;color:#166534}.cheam-portal-checklist .missing{background:#FFF7ED;color:#9A3412}
.cheam-portal-checklist span{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;font-weight:900}
.cheam-portal-help{color:#64748B;font-size:13px}.cheam-portal-support>div{display:flex;gap:10px;flex-wrap:wrap}
.cheam-portal-support a,.cheam-portal-primary{display:inline-block;background:#F88F35;color:#fff;text-decoration:none;border-radius:8px;padding:11px 15px;font-weight:700}
.cheam-portal-login{display:flex;align-items:center;justify-content:center}
.cheam-portal-login-card{max-width:460px;text-align:center;background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:30px;box-shadow:0 10px 35px rgba(15,42,71,.10)}
.cheam-portal-login-card img{max-width:260px}.cheam-portal-login-card h1{color:#1E4F87}.cheam-portal-login-card p{color:#64748B;line-height:1.5}
.cheam-portal-message{max-width:700px;margin:40px auto;background:#FFF7ED;border:1px solid #FED7AA;border-radius:10px;padding:18px}
@media(max-width:750px){.cheam-portal-header{align-items:flex-start;flex-direction:column}.cheam-portal-header>a{margin-left:0}.cheam-portal-kpis,.cheam-portal-two{grid-template-columns:1fr}}

/* v4.6.1 website login gateway */
.cheam-login-gateway{
    min-height:70vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F8FAFC;
    padding:40px 20px;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}
.cheam-login-shell{
    width:min(100%,720px);
    background:#FFFFFF;
    border:1px solid #E2E8F0;
    border-radius:18px;
    box-shadow:0 16px 40px rgba(15,42,71,.10);
    padding:32px;
}
.cheam-login-brand{
    text-align:center;
    margin-bottom:28px;
}
.cheam-login-brand img{
    width:min(100%,320px);
    max-height:130px;
    object-fit:contain;
}
.cheam-login-brand h1{
    margin:18px 0 6px;
    color:#1E4F87;
    font-size:30px;
}
.cheam-login-brand p{
    margin:0;
    color:#64748B;
}
.cheam-login-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.cheam-login-option{
    display:grid;
    grid-template-columns:54px 1fr 24px;
    gap:14px;
    align-items:center;
    text-decoration:none;
    border-radius:14px;
    padding:18px;
    border:1px solid #E2E8F0;
    color:#1E293B;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.cheam-login-option:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(15,42,71,.10);
}
.cheam-login-option.staff{
    border-color:#BFDBFE;
    background:#EFF6FF;
}
.cheam-login-option.learner{
    border-color:#FED7AA;
    background:#FFF7ED;
}
.cheam-login-option>span:first-child{
    width:54px;
    height:54px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:27px;
    line-height:54px;
}
.cheam-login-option.staff>span:first-child{
    background:#1E4F87;
    color:#FFFFFF;
}
.cheam-login-option.learner>span:first-child{
    background:#F88F35;
    color:#FFFFFF;
}
.cheam-login-option strong,
.cheam-login-option small{
    display:block;
}
.cheam-login-option strong{
    font-size:18px;
    margin-bottom:5px;
}
.cheam-login-option small{
    color:#64748B;
    line-height:1.35;
}
.cheam-login-option>span:last-child{
    color:#1E4F87;
}
.cheam-login-help{
    text-align:center;
    border-top:1px solid #E2E8F0;
    margin-top:24px;
    padding-top:20px;
}
.cheam-login-help strong{
    color:#1E293B;
}
.cheam-login-help p{
    margin:5px 0 0;
    color:#64748B;
}
.cheam-login-help a{
    color:#1E4F87;
    font-weight:700;
}
@media(max-width:700px){
    .cheam-login-shell{
        padding:22px;
    }
    .cheam-login-options{
        grid-template-columns:1fr;
    }
}

/* v4.6.2 learner portal credentials management */
.cheam-portal-credentials{
    display:grid;
    gap:9px;
    margin:12px 0;
}
.cheam-portal-credentials>div{
    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:8px;
    padding:10px 11px;
}
.cheam-portal-credentials span{
    display:block;
    color:#64748B;
    font-size:11px;
    font-weight:700;
    margin-bottom:4px;
}
.cheam-portal-credentials strong{
    display:block;
    color:#1E293B;
    overflow-wrap:anywhere;
}
.cheam-portal-credentials strong.active{
    color:#166534;
}
.cheam-portal-credentials strong.disabled{
    color:#991B1B;
}
.cheam-portal-security-note{
    background:#EFF6FF;
    border:1px solid #BFDBFE;
    color:#1E4F87;
    border-radius:8px;
    padding:10px 11px;
    font-size:12px;
    line-height:1.45;
}
.cheam-portal-admin-actions{
    display:grid;
    gap:8px;
}
.cheam-portal-admin-actions form,
.cheam-portal-admin-actions .cheam-btn{
    width:100%;
    box-sizing:border-box;
}
.cheam-portal-admin-actions .cheam-btn{
    justify-content:center;
    text-align:center;
}

/* v4.7 learner portal and reporting enhancements */
.cheam-portal-notice{
    border-radius:9px;
    padding:12px 14px;
    margin-bottom:14px;
    font-weight:700;
}
.cheam-portal-notice.success{
    background:#DCFCE7;
    border:1px solid #BBF7D0;
    color:#166534;
}
.cheam-portal-notice.error{
    background:#FEE2E2;
    border:1px solid #FECACA;
    color:#991B1B;
}
.cheam-portal-document-list{
    display:grid;
    gap:12px;
}
.cheam-portal-document{
    border:1px solid #E2E8F0;
    border-radius:10px;
    padding:13px;
}
.cheam-portal-document.complete{
    background:#F0FDF4;
    border-color:#BBF7D0;
}
.cheam-portal-document.missing{
    background:#FFF7ED;
    border-color:#FED7AA;
}
.cheam-portal-document-status{
    display:flex;
    align-items:center;
    gap:10px;
}
.cheam-portal-document-status>span{
    width:28px;
    height:28px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#FFFFFF;
    font-weight:900;
}
.cheam-portal-document-status strong,
.cheam-portal-document-status small{
    display:block;
}
.cheam-portal-document-status small{
    color:#64748B;
    margin-top:2px;
}
.cheam-portal-document form{
    display:grid;
    grid-template-columns:1fr auto;
    gap:9px;
    margin-top:12px;
}
.cheam-portal-document input[type="file"]{
    background:#FFFFFF;
    border:1px solid #E2E8F0;
    border-radius:8px;
    padding:8px;
}
.cheam-portal-document button{
    background:#F88F35;
    border:0;
    color:#FFFFFF;
    border-radius:8px;
    padding:9px 14px;
    font-weight:700;
    cursor:pointer;
}
.cheam-portal-profile-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.cheam-portal-profile-form>div{
    display:grid;
    gap:6px;
}
.cheam-portal-profile-form .wide{
    grid-column:1/-1;
}
.cheam-portal-profile-form label{
    color:#1E293B;
    font-weight:700;
}
.cheam-portal-profile-form input,
.cheam-portal-profile-form textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #E2E8F0;
    border-radius:8px;
    padding:10px;
}
.cheam-portal-profile-form small{
    color:#64748B;
}
@media(max-width:650px){
    .cheam-portal-profile-form{
        grid-template-columns:1fr;
    }
    .cheam-portal-profile-form .wide{
        grid-column:auto;
    }
    .cheam-portal-document form{
        grid-template-columns:1fr;
    }
}

/* v4.7.3 dashboard KPI tile readability */
.cheam-v4-kpi{
    min-height:170px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.cheam-v4-kpi-main{
    padding:18px 16px 20px;
    min-height:112px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.cheam-v4-kpi-icon{
    margin-bottom:12px;
}

.cheam-v4-kpi-icon .dashicons{
    width:42px;
    height:42px;
    border-radius:11px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:23px;
    line-height:42px;
}

.cheam-v4-kpi-number{
    font-size:38px;
    line-height:1;
    font-weight:900;
    letter-spacing:-0.5px;
    margin:0 0 11px;
    color:#0F2A47;
}

.cheam-v4-kpi-label{
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:14px;
    line-height:1.35;
    font-weight:600;
    color:#1E293B;
    padding:0 10px;
    margin:0;
}

.cheam-v4-kpi .cheam-v4-link{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 12px;
    font-size:12px;
    line-height:1.2;
    font-weight:600;
    color:#1E4F87;
    border-top:1px solid #E2E8F0;
}

.cheam-v4-kpi:hover .cheam-v4-link{
    color:#F88F35;
}

@media(max-width:1250px){
    .cheam-v4-kpi{
        min-height:160px;
    }

    .cheam-v4-kpi-number{
        font-size:34px;
    }

    .cheam-v4-kpi-label{
        font-size:13px;
    }
}

/* v4.7.4 corrected dashboard tile spacing */
.cheam-v4-kpi{
    min-height:182px !important;
    display:grid !important;
    grid-template-rows:auto auto minmax(42px,auto) 44px !important;
    align-items:center !important;
    text-align:center !important;
    padding-top:18px !important;
    box-sizing:border-box !important;
}

.cheam-v4-kpi .cheam-v4-icon{
    margin:0 auto 12px !important;
}

.cheam-v4-kpi .cheam-v4-icon .dashicons{
    width:42px !important;
    height:42px !important;
    line-height:42px !important;
    font-size:22px !important;
}

.cheam-v4-kpi .cheam-v4-number{
    font-size:36px !important;
    line-height:1 !important;
    font-weight:900 !important;
    margin:0 0 14px !important;
    color:#0F2A47 !important;
}

.cheam-v4-kpi .cheam-v4-label{
    min-height:42px !important;
    padding:0 16px 14px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
    font-size:14px !important;
    line-height:1.45 !important;
    font-weight:600 !important;
    color:#1E293B !important;
    box-sizing:border-box !important;
}

.cheam-v4-kpi .cheam-v4-link{
    height:44px !important;
    margin-top:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-top:1px solid #E2E8F0 !important;
    font-size:12px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
}

/* Staff logout control */
.cheam-staff-logout{
    position:fixed;
    left:18px;
    bottom:18px;
    width:154px;
    z-index:99999;
}

.cheam-staff-logout a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#FFFFFF;
    color:#1E4F87;
    border:1px solid rgba(255,255,255,.35);
    border-radius:9px;
    padding:11px 12px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 8px 20px rgba(15,42,71,.18);
}

.cheam-staff-logout a:hover{
    background:#F88F35;
    color:#FFFFFF;
}

@media(max-width:900px){
    .cheam-staff-logout{
        position:static;
        width:auto;
        margin:14px;
    }
}

/* v4.8.3 clean standalone login and learner portal */
body.cheam-hub-login-page,
body.cheam-hub-portal-page{
    background:#F8FAFC !important;
}

/* Hide theme header, footer, page title and surrounding theme chrome. */
body.cheam-hub-login-page #masthead,
body.cheam-hub-login-page .site-header,
body.cheam-hub-login-page header.site-header,
body.cheam-hub-login-page .elementor-location-header,
body.cheam-hub-login-page .header-area,
body.cheam-hub-login-page .top-bar,
body.cheam-hub-login-page #colophon,
body.cheam-hub-login-page .site-footer,
body.cheam-hub-login-page footer.site-footer,
body.cheam-hub-login-page .elementor-location-footer,
body.cheam-hub-login-page .footer-area,
body.cheam-hub-login-page .page-header,
body.cheam-hub-login-page .entry-header,
body.cheam-hub-login-page .breadcrumb-area,
body.cheam-hub-login-page .learna-breadcrumb,
body.cheam-hub-portal-page #masthead,
body.cheam-hub-portal-page .site-header,
body.cheam-hub-portal-page header.site-header,
body.cheam-hub-portal-page .elementor-location-header,
body.cheam-hub-portal-page .header-area,
body.cheam-hub-portal-page .top-bar,
body.cheam-hub-portal-page #colophon,
body.cheam-hub-portal-page .site-footer,
body.cheam-hub-portal-page footer.site-footer,
body.cheam-hub-portal-page .elementor-location-footer,
body.cheam-hub-portal-page .footer-area,
body.cheam-hub-portal-page .page-header,
body.cheam-hub-portal-page .entry-header,
body.cheam-hub-portal-page .breadcrumb-area,
body.cheam-hub-portal-page .learna-breadcrumb{
    display:none !important;
}

/* Remove theme width and spacing restrictions. */
body.cheam-hub-login-page #page,
body.cheam-hub-login-page #content,
body.cheam-hub-login-page .site-content,
body.cheam-hub-login-page .content-area,
body.cheam-hub-login-page main,
body.cheam-hub-login-page article,
body.cheam-hub-login-page .entry-content,
body.cheam-hub-portal-page #page,
body.cheam-hub-portal-page #content,
body.cheam-hub-portal-page .site-content,
body.cheam-hub-portal-page .content-area,
body.cheam-hub-portal-page main,
body.cheam-hub-portal-page article,
body.cheam-hub-portal-page .entry-content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

body.cheam-hub-login-page article,
body.cheam-hub-portal-page article{
    min-height:100vh;
}

/* Login cards: visible, clean icons without Dashicons dependency. */
.cheam-login-option{
    min-height:104px;
}

.cheam-login-svg{
    width:56px;
    height:56px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 56px;
}

.cheam-login-svg svg{
    width:30px;
    height:30px;
    fill:currentColor;
}

.cheam-login-option.staff .cheam-login-svg{
    background:#1E4F87;
    color:#FFFFFF;
}

.cheam-login-option.learner .cheam-login-svg{
    background:#F88F35;
    color:#FFFFFF;
}

.cheam-login-arrow{
    width:24px;
    height:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1E4F87;
}

.cheam-login-arrow svg{
    width:21px;
    height:21px;
    fill:currentColor;
}

.cheam-login-option.learner .cheam-login-arrow{
    color:#F88F35;
}

/* Standalone learner portal page. */
body.cheam-hub-portal-page .cheam-learner-portal{
    width:min(100% - 32px,1100px);
    min-height:calc(100vh - 48px);
    margin:24px auto !important;
    padding:0 !important;
}

body.cheam-hub-portal-page .cheam-portal-login{
    min-height:100vh;
    margin:0 !important;
}

@media(max-width:700px){
    body.cheam-hub-portal-page .cheam-learner-portal{
        width:min(100% - 20px,1100px);
        margin:10px auto !important;
    }

    .cheam-login-svg{
        width:50px;
        height:50px;
        flex-basis:50px;
    }

    .cheam-login-svg svg{
        width:26px;
        height:26px;
    }
}

/* v4.8.4 true standalone login and learner portal */
html,
body.cheam-hub-standalone-page{
    margin:0 !important;
    padding:0 !important;
    min-height:100%;
    background:#F8FAFC !important;
}

body.cheam-hub-standalone-page{
    min-height:100vh;
    overflow-x:hidden;
}

.cheam-hub-standalone-main{
    width:100%;
    min-height:100vh;
    margin:0;
    padding:0;
}

body.cheam-hub-standalone-page .cheam-login-gateway{
    min-height:100vh;
    margin:0 !important;
    padding:32px 20px !important;
}

body.cheam-hub-standalone-page .cheam-learner-portal{
    width:min(100% - 32px,1100px);
    margin:24px auto !important;
    padding:0 !important;
}

body.cheam-hub-standalone-page .cheam-portal-login{
    min-height:100vh;
    margin:0 !important;
}

@media(max-width:700px){
    body.cheam-hub-standalone-page .cheam-login-gateway{
        padding:18px 12px !important;
    }

    body.cheam-hub-standalone-page .cheam-learner-portal{
        width:min(100% - 20px,1100px);
        margin:10px auto !important;
    }
}

/* v4.9 dashboard: ten tiles in a five-by-two grid */
.cheam-v4-kpis.cheam-v4-kpis-ten{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:14px !important;
    margin-bottom:18px;
}

.cheam-v4-kpis-ten .cheam-v4-kpi{
    width:100%;
    min-width:0;
    min-height:178px !important;
    border:1px solid #E2E8F0;
    border-radius:11px;
    background:#FFFFFF;
    cursor:pointer;
    font-family:inherit;
    text-decoration:none;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(15,42,71,.035);
}

.cheam-v4-kpis-ten button.cheam-v4-kpi{
    appearance:none;
    -webkit-appearance:none;
    color:inherit;
}

.cheam-v4-kpis-ten .cheam-v4-kpi-action{
    background:linear-gradient(145deg,#F88F35,#F18A3C) !important;
    border-color:#F18A3C !important;
}

.cheam-v4-kpis-ten .cheam-v4-kpi-action .cheam-v4-icon{
    background:#FFFFFF !important;
    color:#F18A3C !important;
}

.cheam-v4-kpis-ten .cheam-v4-kpi-action .cheam-v4-label,
.cheam-v4-kpis-ten .cheam-v4-kpi-action .cheam-v4-action-spacer{
    color:#FFFFFF !important;
}

.cheam-v4-kpis-ten .cheam-v4-kpi-action .cheam-v4-link{
    background:rgba(255,255,255,.12);
    border-top-color:rgba(255,255,255,.28) !important;
    color:#FFFFFF !important;
}

.cheam-v4-action-spacer{
    font-size:30px;
    line-height:1;
    font-weight:900;
    margin:0 0 14px;
}

.cheam-v4-icon.blue{
    background:#1E4F87;
    color:#FFFFFF;
}

.cheam-v4-icon.red{
    background:#DC2626;
    color:#FFFFFF;
}

.cheam-v4-icon.gold{
    background:#EAB308;
    color:#FFFFFF;
}

.cheam-operations-panel{
    display:none !important;
}

@media(max-width:1350px){
    .cheam-v4-kpis.cheam-v4-kpis-ten{
        grid-template-columns:repeat(5,minmax(150px,1fr)) !important;
        overflow-x:auto;
    }
}

@media(max-width:900px){
    .cheam-v4-kpis.cheam-v4-kpis-ten{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        overflow:visible;
    }
}

@media(max-width:560px){
    .cheam-v4-kpis.cheam-v4-kpis-ten{
        grid-template-columns:1fr !important;
    }
}

/* v4.9.2 learner portal simplification */
.cheam-portal-kpis.cheam-portal-kpis-single{
    grid-template-columns:minmax(260px,420px) !important;
}

.cheam-portal-service-list > div{
    justify-content:flex-start !important;
}

.cheam-portal-section-intro{
    margin:0 0 16px;
    color:#64748B;
    font-size:14px;
    line-height:1.55;
}

@media(max-width:700px){
    .cheam-portal-kpis.cheam-portal-kpis-single{
        grid-template-columns:1fr !important;
    }
}

/* v4.9.3 simplified learner status and white learner ID */
.cheam-portal-header .cheam-portal-learner-id{
    color:#FFFFFF !important;
    opacity:1 !important;
    font-size:14px;
    font-weight:600;
    margin-top:5px;
}

.cheam-portal-kpis-single strong.in-progress{
    color:#D97706;
}

.cheam-portal-kpis-single strong.completed{
    color:#15803D;
}

/* v4.9.4 learner-facing CSCS application status */
.cheam-portal-application-status{
    margin-top:16px;
}

.cheam-portal-application-badge{
    display:flex;
    align-items:center;
    gap:14px;
    border-radius:10px;
    padding:16px;
    border:1px solid;
}

.cheam-portal-application-badge .dashicons{
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:21px;
    line-height:38px;
    flex:0 0 38px;
    background:#FFFFFF;
}

.cheam-portal-application-badge small,
.cheam-portal-application-badge strong{
    display:block;
}

.cheam-portal-application-badge small{
    color:#64748B;
    margin-bottom:3px;
}

.cheam-portal-application-badge strong{
    font-size:18px;
    color:#1E293B;
}

.cheam-portal-application-badge.pending{
    background:#FFF7ED;
    border-color:#FED7AA;
}

.cheam-portal-application-badge.pending .dashicons{
    color:#D97706;
}

.cheam-portal-application-badge.made{
    background:#F0FDF4;
    border-color:#BBF7D0;
}

.cheam-portal-application-badge.made .dashicons{
    color:#15803D;
}

/* v4.9.6 CSCS application status inside Training */
.cheam-portal-checklist > div strong{
    line-height:1.35;
}

/* v4.10 email search and automatic service-linked payments */
.cheam-email-learner-search{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
    margin-bottom:8px;
}

.cheam-email-learner-search input{
    width:100%;
}

.cheam-payment-selected-services{
    border:1px solid #E2E8F0;
    background:#F8FAFC;
    border-radius:10px;
    padding:14px;
    margin:16px 0;
}

.cheam-payment-selected-head,
.cheam-payment-selected-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.cheam-payment-selected-head{
    padding-bottom:10px;
    border-bottom:1px solid #E2E8F0;
    color:#0F2A47;
}

.cheam-payment-selected-head span{
    font-size:18px;
    font-weight:800;
    color:#F18A3C;
}

.cheam-payment-selected-row{
    padding-top:10px;
    color:#1E293B;
    font-weight:600;
}

.cheam-payment-auto-fields small{
    display:block;
    margin-top:5px;
    color:#64748B;
}

@media(max-width:650px){
    .cheam-email-learner-search{
        grid-template-columns:1fr;
    }

    .cheam-payment-selected-head{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* v4.10.2 multiple services and manual combined payment */
.cheam-manual-payment-total,
.cheam-manual-payment-description{
    border:1px solid #E2E8F0;
    border-radius:10px;
    padding:14px;
    margin:14px 0;
    background:#F8FAFC;
}

.cheam-manual-payment-total span,
.cheam-manual-payment-description span{
    display:block;
    color:#64748B;
    font-size:12px;
    font-weight:700;
    margin-bottom:5px;
}

.cheam-manual-payment-total strong{
    display:block;
    color:#F18A3C;
    font-size:28px;
    line-height:1;
}

.cheam-manual-payment-description strong{
    display:block;
    color:#1E293B;
    line-height:1.45;
}

/* v4.10.3 learner CITB pass self-update */
.cheam-portal-training-content{
    flex:1;
    min-width:0;
}

.cheam-portal-training-content > small{
    display:block;
    margin-top:5px;
    color:#64748B;
    font-size:12px;
    line-height:1.45;
}

.cheam-portal-citb-form{
    margin-top:10px;
}

.cheam-portal-citb-form button{
    border:0;
    border-radius:7px;
    padding:9px 13px;
    background:#F88F35;
    color:#FFFFFF;
    font-weight:700;
    cursor:pointer;
}

.cheam-portal-citb-form button:hover{
    background:#D77627;
}

.cheam-portal-awaiting-certificate{
    color:#B45309 !important;
    font-weight:600;
}

/* v4.10.4 administrator-only learner deletion */
.cheam-delete-learner-box{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid #FECACA;
}

.cheam-delete-learner-box > strong{
    display:block;
    color:#991B1B;
    margin-bottom:6px;
}

.cheam-delete-learner-box p{
    margin:0 0 12px;
    color:#64748B;
    font-size:12px;
    line-height:1.5;
}

.cheam-delete-learner-box .cheam-btn-danger{
    background:#DC2626 !important;
    border-color:#DC2626 !important;
    color:#FFFFFF !important;
}

.cheam-delete-learner-box .cheam-btn-danger:hover{
    background:#B91C1C !important;
    border-color:#B91C1C !important;
}

/* v4.10.8 clearer learner training statuses */
.cheam-portal-training-action-form{
    margin-top:10px;
}

.cheam-portal-training-action-form button{
    border:0;
    border-radius:7px;
    padding:9px 13px;
    background:#F88F35;
    color:#FFFFFF;
    font-weight:700;
    cursor:pointer;
}

.cheam-portal-training-action-form button:hover{
    background:#D77627;
}

.cheam-portal-booked-note{
    color:#15803D !important;
    font-weight:600;
}

/* v4.11 learner portal wording and CSCS application confirmation */
.cheam-portal-application-message{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-top:16px;
    padding:14px 16px;
    border:1px solid #BBF7D0;
    border-radius:10px;
    background:#F0FDF4;
}

.cheam-portal-application-message > .dashicons{
    width:28px;
    height:28px;
    min-width:28px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#FFFFFF;
    color:#15803D;
    font-size:18px;
    line-height:28px;
}

.cheam-portal-application-message strong{
    display:block;
    color:#166534;
    margin-bottom:4px;
}

.cheam-portal-application-message p{
    margin:0;
    color:#475569;
    line-height:1.5;
    font-size:13px;
}

/* v4.11.2 cleaner learner requirements heading */
.cheam-portal-card > h2{
    font-size:26px;
    line-height:1.2;
    letter-spacing:-0.02em;
}

.cheam-portal-card > .cheam-portal-section-intro{
    max-width:100%;
    margin-top:0;
}

@media(max-width:700px){
    .cheam-portal-card > h2{
        font-size:22px;
    }
}

/* v4.11.4 Premium CITB included-resit workflow */
.cheam-premium-resit-workflow{
    margin-top:16px;
    padding:16px;
    border:1px solid #DDD6FE;
    border-radius:10px;
    background:#FAF5FF;
}

.cheam-premium-workflow-head{
    margin-bottom:14px;
}

.cheam-premium-workflow-head strong,
.cheam-premium-workflow-head small{
    display:block;
}

.cheam-premium-workflow-head strong{
    color:#5B21B6;
    margin-bottom:4px;
}

.cheam-premium-workflow-head small{
    color:#64748B;
}

#cheam-citb-resit-fields{
    display:none;
    margin-top:14px;
}

#cheam-citb-resit-fields.visible{
    display:block;
}

.cheam-premium-resit-available{
    border-color:#FDE68A !important;
    background:#FFFBEB !important;
}

.cheam-resit-used{
    border-color:#FECACA !important;
    background:#FEF2F2 !important;
}

/* v4.11.5 learner pass/not-passed result controls */
.cheam-portal-result-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}

.cheam-portal-result-actions form{
    margin:0;
}

.cheam-portal-result-actions button{
    border:0;
    border-radius:7px;
    padding:9px 13px;
    color:#FFFFFF;
    font-weight:700;
    cursor:pointer;
}

.cheam-portal-result-actions button.passed{
    background:#15803D;
}

.cheam-portal-result-actions button.passed:hover{
    background:#166534;
}

.cheam-portal-result-actions button.not-passed{
    background:#DC2626;
}

.cheam-portal-result-actions button.not-passed:hover{
    background:#B91C1C;
}

.cheam-portal-notice.warning{
    background:#FFFBEB;
    border-color:#FDE68A;
    color:#92400E;
}

/* v4.13.0 simple website enquiry source details */
.cheam-website-source-card{
    margin-bottom:18px;
    border-left:4px solid #1E4F87;
}

.cheam-website-source-head{
    display:flex;
    align-items:center;
    gap:12px;
}

.cheam-website-source-head .dashicons{
    width:36px;
    height:36px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#EFF6FF;
    color:#1E4F87;
    font-size:20px;
}

.cheam-website-source-head strong,
.cheam-website-source-head small{
    display:block;
}

.cheam-website-source-head strong{
    color:#1E293B;
    font-size:16px;
}

.cheam-website-source-head small{
    margin-top:3px;
    color:#64748B;
}

.cheam-website-source-meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:13px;
    padding-top:12px;
    border-top:1px solid #E2E8F0;
    color:#64748B;
    font-size:12px;
}

.cheam-website-source-meta a{
    font-weight:700;
    text-decoration:none;
}

.cheam-source-badge{
    display:inline-block;
    border-radius:999px;
    padding:4px 8px;
    background:#DBEAFE;
    color:#1E4F87;
    font-size:11px;
    font-weight:800;
}

.cheam-source-page{
    display:block;
    margin-top:4px;
    color:#64748B;
    max-width:170px;
    line-height:1.3;
}


/* v4.14 learner portal: compact course-first mobile experience */
.cheam-portal-header{
    display:block;
    padding:18px 20px 20px;
}
.cheam-portal-header-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.cheam-portal-header-top img{
    width:150px;
    max-width:55%;
    height:auto;
    margin:0;
}
.cheam-portal-header .cheam-portal-sign-out{
    flex:0 0 auto;
    margin:0;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.65);
    background:transparent;
    color:#FFFFFF;
    border-radius:8px;
    font-size:13px;
    line-height:1.2;
    font-weight:700;
}
.cheam-portal-header-content{
    margin-top:18px;
    max-width:760px;
}
.cheam-portal-header .cheam-portal-welcome{
    margin:0 0 5px;
    color:#FFFFFF;
    opacity:.9;
    font-size:15px;
    font-weight:600;
}
.cheam-portal-header h1{
    margin:0;
    max-width:760px;
    color:#FFFFFF;
    font-size:25px;
    line-height:1.22;
}
.cheam-portal-header .cheam-portal-learner-id{
    margin-top:8px;
}
.cheam-portal-next-step{
    margin-top:14px;
    border-left:4px solid #F88F35;
    padding:20px;
}
.cheam-portal-next-step .cheam-portal-eyebrow{
    display:block;
    margin-bottom:6px;
    color:#F18A3C;
    font-size:12px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.cheam-portal-next-step h2{
    margin:0 0 8px;
    padding:0;
    border:0;
    color:#1E4F87;
    font-size:22px;
    line-height:1.25;
}
.cheam-portal-next-step p{
    margin:0;
    color:#475569;
    line-height:1.55;
}
.cheam-portal-next-step-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    margin-top:15px;
    padding:10px 16px;
    border-radius:8px;
    background:#F88F35;
    color:#FFFFFF !important;
    text-decoration:none !important;
    font-weight:800;
}
#cheam-training-progress,
#cheam-required-documents{
    scroll-margin-top:18px;
}

@media(max-width:750px){
    body.cheam-hub-portal-page .cheam-learner-portal,
    body.cheam-hub-standalone-page .cheam-learner-portal{
        width:min(100% - 16px,1100px);
        margin:8px auto !important;
    }
    .cheam-portal-header{
        padding:14px 14px 16px;
        border-radius:12px;
    }
    .cheam-portal-header-top{
        align-items:flex-start;
    }
    .cheam-portal-header-top img{
        width:112px;
        max-width:58%;
        padding:5px;
        border-radius:7px;
    }
    .cheam-portal-header .cheam-portal-sign-out{
        margin:0;
        padding:7px 10px;
        font-size:12px;
    }
    .cheam-portal-header-content{
        margin-top:14px;
    }
    .cheam-portal-header .cheam-portal-welcome{
        font-size:13px;
    }
    .cheam-portal-header h1{
        font-size:20px;
        line-height:1.2;
    }
    .cheam-portal-header .cheam-portal-learner-id{
        margin-top:6px;
        font-size:12px;
    }
    .cheam-portal-next-step{
        margin-top:10px;
        margin-bottom:10px;
        padding:15px;
        border-radius:10px;
    }
    .cheam-portal-next-step h2{
        font-size:19px;
    }
    .cheam-portal-next-step p{
        font-size:14px;
    }
    .cheam-portal-next-step-button{
        width:100%;
        min-height:40px;
        margin-top:12px;
        box-sizing:border-box;
    }
    .cheam-portal-card{
        margin-bottom:10px;
        padding:15px;
    }
    .cheam-portal-card h2{
        margin-bottom:10px;
        font-size:20px;
    }
    .cheam-portal-section-intro{
        margin-bottom:12px;
        font-size:13px;
    }
    .cheam-portal-checklist{
        gap:7px;
    }
    .cheam-portal-checklist>div{
        align-items:flex-start;
        padding:10px;
    }
    .cheam-portal-two{
        gap:0;
    }
}

/* v4.14.1 mobile learner portal typography and spacing refinement */
@media (max-width: 750px) {
    .cheam-learner-portal {
        font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
        font-size: 13px;
        line-height: 1.45;
    }

    .cheam-portal-header {
        padding: 12px 13px 13px;
    }

    .cheam-portal-header-top img {
        width: 104px;
    }

    .cheam-portal-header .cheam-portal-sign-out {
        padding: 6px 9px;
        border-radius: 7px;
        font-size: 11px;
        font-weight: 500;
    }

    .cheam-portal-header-content {
        margin-top: 11px;
    }

    .cheam-portal-header .cheam-portal-welcome {
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 500;
    }

    .cheam-portal-header h1 {
        font-size: 17px;
        line-height: 1.25;
        font-weight: 600;
        letter-spacing: 0;
    }

    .cheam-portal-header .cheam-portal-learner-id {
        margin-top: 5px;
        font-size: 11px;
        font-weight: 400;
        opacity: .82;
    }

    .cheam-portal-next-step {
        padding: 13px;
    }

    .cheam-portal-next-step .cheam-portal-eyebrow {
        margin-bottom: 4px;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .045em;
    }

    .cheam-portal-next-step h2 {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 600;
    }

    .cheam-portal-next-step p,
    .cheam-portal-section-intro,
    .cheam-portal-training-content small,
    .cheam-portal-card p {
        font-size: 12px;
        line-height: 1.45;
        font-weight: 400;
    }

    .cheam-portal-next-step-button,
    .cheam-portal-training-action-form button,
    .cheam-portal-card button,
    .cheam-portal-card input[type="submit"] {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 7px;
    }

    .cheam-portal-card {
        padding: 13px;
    }

    .cheam-portal-card h2 {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 600;
    }

    .cheam-portal-checklist > div {
        padding: 9px;
    }

    .cheam-portal-training-content strong {
        font-size: 12px;
        line-height: 1.35;
        font-weight: 600;
    }
}
