*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#183b3b;background:#f4f7f7}button,input{font:inherit}button{cursor:pointer}#cms-app{display:flex;min-height:100vh}.cms-sidebar{width:252px;flex:none;background:#064f4b;color:#e7f8f3;min-height:100vh;position:sticky;top:0;height:100vh;box-shadow:4px 0 22px #062f2e18}.cms-brand{display:flex;align-items:center;gap:12px;padding:25px 18px;border-bottom:1px solid #ffffff22}.cms-mark{display:grid;place-items:center;width:45px;height:45px;background:#e59a14;border-radius:14px;color:white;font-weight:900;font-size:19px}.cms-brand-text{display:flex;flex-direction:column;gap:4px}.cms-brand-text strong{font-size:14px;letter-spacing:.045em}.cms-brand-text small{font-size:11px;color:#c6e9e1}.cms-nav{display:grid;gap:6px;padding:24px 11px}.cms-nav-item{display:block;text-align:left;width:100%;border:0;border-radius:10px;background:transparent;color:#dcefeb;padding:14px 16px;font-weight:600;font-size:13px;letter-spacing:.01em}.cms-nav-item:hover,.cms-nav-item.active{background:#e7f4ee;color:#075b54}.cms-nav-caption{padding:28px 16px 6px;color:#9bc6ba;font-size:10px;letter-spacing:.13em;font-weight:800}.cms-muted{opacity:.65;cursor:default}.cms-main{min-width:0;flex:1}.cms-header{height:85px;position:sticky;top:0;z-index:10;background:white;border-bottom:1px solid #dce8e4;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(18px,3vw,45px)}.cms-header-left,.cms-header-right{display:flex;align-items:center;gap:15px}.cms-header-title{font-size:19px;font-weight:800;letter-spacing:-.025em}.cms-menu{display:none;border:0;background:transparent;font-size:23px}.cms-role{background:#e9f5f0;border-radius:20px;padding:8px 12px;color:#07675e;font-size:11px;font-weight:800;letter-spacing:.06em}.cms-email{font-size:12px;color:#607576}.cms-logout{border:1px solid #bfd9d1;background:white;border-radius:9px;padding:9px 13px;color:#145a55;font-weight:700}.cms-content{padding:clamp(20px,3vw,44px);max-width:1600px;margin:auto}.cms-page-head{margin-bottom:24px}.cms-page-head h1{font-size:clamp(24px,2.4vw,33px);letter-spacing:-.04em;margin:0 0 8px}.cms-page-head p{color:#718485;margin:0;font-size:14px}.cms-notice{padding:15px 19px;border:1px solid #f1dca7;background:#fffbef;color:#805c0c;border-radius:12px;margin-bottom:24px;font-size:13px}.cms-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.cms-stat,.cms-panel{background:white;border:1px solid #e2ebe8;border-radius:16px;box-shadow:0 10px 28px #123b3210}.cms-stat{padding:22px;min-height:145px;display:flex;flex-direction:column;gap:10px}.cms-stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;color:#587572}.cms-stat-icon{color:#d48a0b;font-size:20px}.cms-stat strong{font-size:36px;color:#073f3e;line-height:1.2}.cms-stat small{font-size:12px;color:#81928e}.cms-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.cms-panel{padding:25px}.cms-panel h2{margin:0 0 18px;font-size:19px}.cms-panel p{line-height:1.6;color:#58726e}.cms-quick{display:block;width:100%;text-align:left;padding:15px;margin:9px 0;border:1px solid #dceae6;background:#f8fbf9;color:#0a635d;border-radius:9px;font-weight:700}.cms-quick:hover{background:#eaf7f1}.cms-placeholder{background:#f3f7f5;border-radius:12px;padding:22px;color:#728683;line-height:1.6;font-size:13px}.cms-toolbar{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.cms-search{min-width:0;flex:1;max-width:480px;padding:13px 15px;border:1px solid #cadfd8;border-radius:10px;background:white;outline-color:#0b6665}.cms-btn{display:inline-block;text-decoration:none;background:#0b6665;border:0;color:white;border-radius:10px;padding:12px 18px;font-weight:700}.cms-table-info{font-size:12px;color:#66807a;margin:10px 0}.cms-table-wrap{overflow:auto;border:1px solid #dce9e4;border-radius:14px;background:white;box-shadow:0 8px 25px #123b3210}.cms-table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.cms-table th,.cms-table td{padding:15px 18px;text-align:left;border-bottom:1px solid #e8f0ed}.cms-table th{background:#f1f7f4;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#536f69}.cms-table tr:hover td{background:#fafdfb}.cms-table input[type=checkbox]{accent-color:#0b6665;width:16px;height:16px}.cms-status-cell{color:#0b7065;font-weight:700}.cms-gear{border:1px solid #c7ded6;background:#f7fbf9;border-radius:8px;color:#075b54;font-size:18px;padding:5px 11px}.cms-footnote{font-size:12px;color:#718884}.cms-overlay{position:fixed;inset:0;background:#001c1bb0;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.cms-detail{background:white;border-radius:18px;padding:28px;width:min(100%,620px);max-height:88vh;overflow:auto;box-shadow:0 30px 90px #001c1b4a}.cms-detail-head{display:flex;justify-content:space-between;align-items:center}.cms-detail-head h2{margin:0}.cms-close{border:0;background:#edf4f1;padding:8px 12px;border-radius:8px}.cms-dl{display:grid;grid-template-columns:140px 1fr;gap:14px;margin:25px 0}.cms-dl dt{font-size:12px;font-weight:700;color:#627b75}.cms-dl dd{margin:0;overflow-wrap:anywhere}.cms-warning,.cms-error{background:#fff7e6;color:#7e590c;border-radius:10px;padding:16px;font-size:13px}.cms-error{margin:18px 0}#cms-status{position:absolute;width:1px;height:1px;overflow:hidden}@media(max-width:1200px){.cms-stats{grid-template-columns:repeat(2,1fr)}.cms-email{display:none}}@media(max-width:800px){.cms-sidebar{position:fixed;z-index:50;transform:translateX(-100%);transition:transform .2s}.cms-sidebar.cms-open{transform:translateX(0)}.cms-menu{display:block}.cms-header{height:70px;padding:0 15px}.cms-header-title{font-size:15px}.cms-role{display:none}.cms-content{padding:22px 15px}.cms-grid{grid-template-columns:1fr}.cms-stats{gap:12px}.cms-stat{padding:16px}.cms-stat strong{font-size:28px}.cms-dl{grid-template-columns:100px 1fr}}@media(max-width:480px){.cms-stats{grid-template-columns:1fr 1fr}.cms-stat{min-height:125px}.cms-stat-top{font-size:11px}.cms-logout{font-size:11px;padding:7px}.cms-page-head h1{font-size:24px}}

/* Samarth Circle CMS visual refresh informed by the supplied Team Prayaas design.
   Scoped overrides: retain secure CMS behavior, original brand green/gold, and accessible contrast. */
.cms-sidebar{background:linear-gradient(175deg,#171735 0%,#202654 52%,#123f43 100%);box-shadow:5px 0 24px #17173520}
.cms-brand{background:#fff;min-height:96px;padding:12px 17px;border-bottom:3px solid #e8950a}
.cms-brand-logo{width:100%;max-width:215px;height:70px;object-fit:contain;object-position:left center;display:block}
.cms-nav{gap:7px}
.cms-nav-item{border-radius:12px;transition:background .18s,color .18s,transform .18s}
.cms-nav-item:hover{transform:translateX(2px)}
.cms-nav-item.active{background:#fff;color:#242454;box-shadow:0 5px 20px #050a261a}
.cms-nav-caption{color:#b7c4dd}
.cms-header{background:#191936;color:white;border-bottom:3px solid #d89114;box-shadow:0 5px 24px #0b102326}
.cms-header-title{color:#fff}
.cms-menu{color:#fff}
.cms-role{background:#164a48;color:#b9f5e1;border:1px solid #368578}
.cms-email{color:#d0d6e9}
.cms-logout{background:#28294b;color:#fff;border-color:#515579}
.cms-logout:hover{background:#3b3d69}
.cms-content{background:transparent}
.cms-page-head h1{color:#22234c}
.cms-page-head p{color:#707a92}
.cms-notice{border-left:4px solid #e8950a}
.cms-stats{gap:18px}
.cms-stat{border-top:4px solid #0a7467;transition:transform .2s,box-shadow .2s}
.cms-stat:nth-child(2){border-top-color:#e8950a}
.cms-stat:nth-child(3){border-top-color:#4d4fa4}
.cms-stat:nth-child(4){border-top-color:#2e9f85}
.cms-stat:hover{transform:translateY(-3px);box-shadow:0 15px 30px #20265420}
.cms-stat strong{color:#363778}
.cms-stat-icon{color:#d89114}
.cms-panel{border-top:3px solid #45458f}
.cms-quick{transition:transform .15s,background .15s}
.cms-quick:hover{transform:translateX(3px)}
.cms-btn{background:#353b87}
.cms-btn:hover{background:#282d6c}
.cms-table th{background:#eeeef8;color:#383d76}
.cms-table tr:hover td{background:#f7f7fd}
.cms-gear{background:#eeeef8;color:#353b87;border-color:#d6d6ef}
@media(max-width:800px){.cms-brand{min-height:80px}.cms-brand-logo{height:55px}}


/* Unified Samarth CMS header/sidebar and account profile */
.cms-sidebar{display:flex;flex-direction:column;background:linear-gradient(180deg,#282257,#353084 100%);border-right:1px solid #514e98}
.cms-brand{background:#282257;border-bottom:1px solid #ffffff22;min-height:96px}
.cms-brand-logo{background:white;border-radius:9px;padding:7px;width:100%;max-width:214px;height:69px;object-fit:contain}
.cms-nav{flex:1;overflow-y:auto;align-content:start;padding:15px 10px;gap:5px}
.cms-nav-item{display:flex;align-items:center;gap:13px;min-height:51px;padding:10px 13px;color:#e7e6fc;font-size:14px}
.cms-nav-item:hover{background:#ffffff18;color:white}
.cms-nav-item.active{color:#282257;background:#fff}
.cms-nav-icon{display:inline-flex;justify-content:center;align-items:center;min-width:28px;height:29px;font-size:24px;line-height:1;font-weight:700}
.cms-nav-label{flex:1}
.cms-header{background:#282257;border-bottom:1px solid #514e98;box-shadow:0 3px 15px #17153c30;height:88px}
.cms-header-title{color:#fff}
.cms-header-right{margin-left:auto}
.cms-greeting{text-align:right;display:flex;flex-direction:column;gap:4px;white-space:nowrap}
.cms-greeting small{color:#c9c7df;font-size:10px;font-weight:800;letter-spacing:.1em}
.cms-greeting strong{color:#fff;font-size:16px;font-weight:800}
.cms-account{margin-top:auto;padding:13px 11px 16px;border-top:1px solid #ffffff29;background:#241e55}
.cms-profile-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:1px solid #ffffff23;border-radius:12px;background:#ffffff13;color:white;text-align:left}
.cms-profile-btn:hover{background:#ffffff25}
.cms-profile-avatar{width:39px;height:39px;display:grid;place-items:center;font-size:24px;background:#fff;border-radius:50%;flex:none}
.cms-profile-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.cms-profile-info strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cms-profile-info small{font-size:10px;color:#e8bd58;font-weight:800}
.cms-profile-chevron{font-size:23px;color:#fff}
.cms-account-signout{display:block;margin-top:8px;width:100%;padding:9px;background:transparent;border:1px solid #ffffff35;border-radius:9px;color:#e7e6fc;font-size:12px;font-weight:700}
.cms-account-signout:hover{background:#ffffff20}
.cms-profile-modal{width:min(100%,650px);max-height:88vh;overflow:auto;background:#fff;border-radius:18px;padding:0 0 25px;box-shadow:0 28px 85px #10103465}
.cms-profile-heading{display:flex;justify-content:space-between;align-items:center;background:#282257;color:white;padding:18px 24px}
.cms-profile-heading h2{font-size:23px;margin:0}
.cms-profile-form{padding:23px 28px;display:grid;gap:18px}
.cms-profile-avatar-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.cms-avatar-preview{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;background:#e7e5fb;font-size:45px}
.cms-avatar-options{display:flex;gap:7px;flex-wrap:wrap;flex:1}
.cms-avatar-option{font-size:24px;border:1px solid #d8d9e7;border-radius:10px;background:white;padding:9px}
.cms-avatar-option.selected{border:2px solid #353084;background:#ecebfd}
.cms-field-label{font-size:12px;font-weight:800;color:#575b7b;display:grid;gap:8px;text-transform:uppercase;letter-spacing:.04em}
.cms-profile-input{padding:13px 14px;border:1px solid #cbd0df;border-radius:10px;font-size:15px;color:#1b2441}
.cms-profile-readonly{display:grid;gap:5px}
.cms-profile-readonly small{font-size:12px;font-weight:800;color:#6c7596;text-transform:uppercase}
.cms-profile-readonly strong{font-size:15px;color:#25264c}
.cms-profile-hint{font-size:12px;color:#68738a;line-height:1.5}
.cms-profile-feedback{margin:0;color:#0b7165;font-size:13px;font-weight:700}
.cms-profile-save{background:#353084;color:#fff;border:0;border-radius:10px;padding:14px;font-weight:800}
.cms-profile-save:disabled{opacity:.6}
@media(max-width:800px){.cms-header{height:70px}.cms-greeting strong{font-size:12px}.cms-brand{min-height:80px}.cms-brand-logo{height:57px}}


/* Lighter, integrated identity system: no dark top bar or boxed wordmark */
.cms-sidebar{background:linear-gradient(180deg,#075c55 0%,#087468 60%,#064d4b 100%);border-right:1px solid #b7dcd2}
.cms-brand{background:#f8fcf9;border-bottom:1px solid #d8e9e2;gap:11px;padding:16px 13px;min-height:108px;color:#074b44}
.cms-brand-emblem{width:46px;height:55px;object-fit:contain;flex:none}
.cms-brand-words{display:flex;flex-direction:column;gap:3px;min-width:0}
.cms-brand-words strong{font-size:19px;font-weight:900;letter-spacing:-.045em;color:#07564f}
.cms-brand-words small{font-size:10px;font-weight:700;color:#177267}
.cms-brand-words span{font-size:10px;letter-spacing:.025em;color:#b17713;font-weight:800;margin-top:8px}
.cms-header{background:#f8fcf9;border-bottom:1px solid #d8e9e2;box-shadow:0 3px 14px #0b463b0d}
.cms-header-title{color:#07564f}
.cms-greeting small{color:#65857d}
.cms-greeting strong{color:#07564f}
.cms-menu{color:#07564f}
.cms-nav-item{color:#e6f8f1}
.cms-nav-item:hover{background:#ffffff22}
.cms-nav-item.active{color:#07564f;background:white}
.cms-nav-caption{color:#b7e5d9}
.cms-account{background:#064b46}
.cms-profile-modal{width:min(96vw,820px)}
.cms-profile-tabs{display:flex;gap:7px;padding:15px 24px 0;overflow-x:auto;border-bottom:1px solid #e1e9e6}
.cms-profile-tab{border:0;background:transparent;color:#59746e;font-size:13px;font-weight:800;padding:12px 14px;white-space:nowrap;border-bottom:3px solid transparent}
.cms-profile-tab.selected{color:#087468;border-bottom-color:#087468}
.cms-profile-form{gap:12px}
.cms-profile-sections{min-height:230px}
.cms-profile-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cms-profile-group[hidden]{display:none}
.cms-profile-group .cms-profile-avatar-row,.cms-profile-group .cms-profile-readonly,.cms-profile-group h3,.cms-profile-group .cms-profile-hint{grid-column:1/-1}
.cms-profile-group h3{margin:0;color:#0b524b}
.cms-profile-group .cms-profile-readonly{padding:10px 0;border-bottom:1px solid #e4eeeb}
.cms-upload-pending{border:1px dashed #c7d8d2;border-radius:11px;padding:16px;display:grid;gap:7px;background:#f8faf9}
.cms-upload-pending strong{font-size:13px;color:#174f4a}
.cms-upload-pending span{font-size:12px;color:#758982}
.cms-profile-save{background:#087468}
.cms-profile-save:hover{background:#075b53}
@media(max-width:600px){.cms-brand-words strong{font-size:17px}.cms-profile-group{grid-template-columns:1fr}.cms-profile-form{padding:18px}.cms-profile-tabs{padding:12px 12px 0}.cms-profile-tab{font-size:12px;padding:10px}.cms-profile-heading{padding:16px}}


/* Shared white identity strip and enlarged, tabbed member workspace */
.cms-brand,.cms-header{height:116px;min-height:116px;background:#f8fcf9;border-bottom:1px solid #d8e9e2;box-shadow:none}
.cms-brand{display:flex;align-items:center;justify-content:center;padding:12px 18px;border-right:0}
.cms-brand-emblem{display:block;width:92px;height:92px;max-width:100%;object-fit:contain;flex:none}
.cms-header{padding:0 clamp(22px,3.4vw,58px);gap:25px}
.cms-header-left{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-start}
.cms-header-brand{display:flex;flex-direction:column;gap:3px;align-items:flex-start;justify-content:center;line-height:1.15}
.cms-header-brand strong{font-size:clamp(23px,2vw,31px);font-weight:900;letter-spacing:-.045em;color:#064e48}
.cms-header-brand small{font-size:12px;font-weight:700;color:#116a60}
.cms-header-brand span{font-size:16px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#aa6b0b;margin-top:7px}
.cms-header-right{flex:none}
.cms-greeting strong{font-size:15px}
.cms-profile-modal{width:min(92vw,950px);max-height:min(90vh,850px);border-radius:22px;display:flex;flex-direction:column;overflow:hidden;padding:0;background:#fff}
.cms-profile-heading{flex:none;background:#075f57;color:#fff;padding:20px 30px}
.cms-profile-heading h2{font-size:24px;font-weight:850}
.cms-profile-tabs{flex:none;background:#f7fbf9;gap:12px;padding:15px 26px 0;border-bottom:1px solid #d8e9e2}
.cms-profile-tab{border-radius:11px 11px 0 0;padding:14px 18px;font-size:14px;color:#496a63}
.cms-profile-tab.selected{background:#e5f5ef;color:#075e56;border-bottom:3px solid #087468}
.cms-profile-tab:hover{background:#edf7f3}
.cms-profile-form{min-height:0;overflow:auto;padding:26px 32px 30px;display:flex;flex-direction:column;gap:23px}
.cms-profile-sections{min-height:0}
.cms-profile-group{gap:21px 26px}
.cms-field-label{font-size:12px;color:#265c54;gap:9px}
.cms-profile-input{width:100%;min-height:48px;border:1px solid #c8ddd5;background:#fbfefd;border-radius:11px;padding:12px 15px;color:#163c38;outline-color:#0b8274}
.cms-profile-input:focus{background:white;box-shadow:0 0 0 3px #bfe8dc66}
.cms-profile-readonly{background:#f5faf8;border:1px solid #e1eee9;border-radius:10px;padding:12px 15px!important}
.cms-profile-feedback{min-height:18px}
.cms-profile-save{align-self:flex-end;min-width:230px;min-height:50px;padding:13px 22px;border-radius:12px;font-size:14px;background:#087468;box-shadow:0 7px 18px #08746822}
.cms-profile-save:hover{background:#055a53}
@media(max-width:800px){.cms-brand,.cms-header{height:90px;min-height:90px}.cms-brand-emblem{width:68px;height:68px}.cms-header-brand strong{font-size:21px}.cms-header-brand span{font-size:12px}.cms-header-brand small{font-size:10px}.cms-profile-modal{width:min(97vw,950px);max-height:94vh}.cms-profile-form{padding:20px}.cms-profile-heading{padding:16px 20px}.cms-profile-tabs{padding:9px 12px 0;gap:2px}}
@media(max-width:540px){.cms-header{padding:0 12px}.cms-header-brand strong{font-size:17px}.cms-header-brand span{font-size:10px}.cms-greeting strong{font-size:11px}.cms-greeting small{font-size:9px}.cms-profile-group{grid-template-columns:1fr}.cms-profile-save{width:100%;align-self:stretch}.cms-profile-tabs{overflow-x:auto}.cms-profile-tab{padding:12px 10px;font-size:12px}}

/* October profile layout corrections */
.cms-brand,.cms-header{height:82px!important;min-height:82px!important}
.cms-brand{padding:6px 15px!important}
.cms-brand-emblem{width:73px!important;height:73px!important;object-fit:contain!important;object-position:center!important}
.cms-header-brand strong{font-size:clamp(21px,1.7vw,27px)}
.cms-header-brand small{font-size:11px}
.cms-header-brand span{font-size:13px;margin-top:4px}
.cms-greeting small{font-size:13px!important;letter-spacing:.08em}
.cms-greeting strong{font-size:clamp(17px,1.5vw,22px)!important}
.cms-profile-modal{height:min(88vh,800px);max-height:min(88vh,800px);min-height:0}
.cms-profile-form{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;position:relative;padding:22px 30px 22px}
.cms-profile-sections{flex:1 0 auto;min-height:420px}
.cms-profile-save{position:static!important;inset:auto!important;transform:none!important;float:none!important;flex:none;display:block;margin:18px 0 0 auto!important;align-self:flex-end!important;z-index:auto!important}
.cms-profile-tabs{flex:0 0 auto}
.cms-profile-avatar-row{gap:22px;align-items:center}
.cms-avatar-preview{width:110px;height:110px;border-radius:50%;overflow:hidden;background:#eef7f3}
.cms-photo-preview{width:100%;height:100%;object-fit:cover;display:block}
.cms-photo-upload{display:inline-flex;align-items:center;justify-content:center;background:#087468;color:white;padding:12px 19px;border-radius:10px;font-weight:800;font-size:13px;cursor:pointer}
.cms-photo-upload:hover{background:#065d56}
.cms-profile-group[hidden]{display:none!important}
@media(max-width:800px){.cms-brand,.cms-header{height:74px!important;min-height:74px!important}.cms-brand-emblem{width:60px!important;height:60px!important}.cms-greeting small{font-size:10px!important}.cms-greeting strong{font-size:12px!important}.cms-profile-form{padding:18px}.cms-profile-sections{min-height:360px}}

/* Keep the actual brand emblem large without expanding the fixed header. */
.cms-brand{height:82px!important;min-height:82px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:2px 8px!important;overflow:hidden!important}
.cms-brand-emblem{display:block!important;width:auto!important;height:76px!important;max-width:96%!important;max-height:calc(100% - 4px)!important;object-fit:contain!important;object-position:center!important;border-radius:12px!important}
.cms-profile-group[hidden]{display:none!important}
.cms-profile-modal{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.cms-profile-heading,.cms-profile-tabs{flex-shrink:0!important}
.cms-profile-form{overflow-y:auto!important;min-height:0!important;flex:1!important}
.cms-profile-save{position:relative!important;right:auto!important;bottom:auto!important;margin:18px 0 8px auto!important}

/* Reviewed document crop dialog */
.cms-review-dialog{width:min(850px,94vw);max-height:94vh;overflow:auto;margin:auto;background:#fff;border-radius:22px;padding:26px;box-shadow:0 24px 80px #001d1a55;color:#073d37}.cms-review-dialog h2{font-size:1.4rem;margin:0 0 10px}.cms-review-dialog p{margin:0 0 16px;color:#49645f}.cms-review-canvas{display:block;width:100%;max-width:720px;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px;border:2px solid #a2c9c1;cursor:grab;touch-action:none;background:#e8f1ef}.cms-review-dialog input[type=range]{width:100%;margin:20px 0;accent-color:#007c6e}.cms-review-controls{display:flex;justify-content:flex-end;gap:12px;align-items:center;flex-wrap:wrap}.cms-review-controls button{position:static!important;min-width:130px;padding:13px 20px}.cms-upload-status{display:block;margin:8px 0;color:#087569;font-weight:700}

/* Profile modal: fixed shell, independent content scrolling and anchored action. */
.cms-profile-modal{display:flex!important;flex-direction:column!important;width:min(1180px,92vw)!important;height:min(810px,91dvh)!important;max-height:91dvh!important;overflow:hidden!important;padding:0!important}
.cms-profile-heading,.cms-profile-tabs{flex:0 0 auto!important}
.cms-profile-heading{padding:15px 28px!important}
.cms-profile-form{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;padding:0!important;gap:0!important}
.cms-profile-sections{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:24px 34px 12px!important;scrollbar-gutter:stable}
.cms-profile-group{align-content:start!important;gap:17px 24px!important}
.cms-profile-feedback{flex:0 0 auto!important;min-height:0!important;margin:0!important;padding:4px 34px!important;color:#087468;font-weight:650}
.cms-profile-form>.cms-profile-save{flex:0 0 auto!important;align-self:flex-end!important;position:static!important;margin:8px 34px 18px!important;min-width:210px!important;min-height:49px!important;z-index:2}
.cms-profile-group .cms-profile-avatar-row{margin:0 0 6px!important}
.cms-profile-group .cms-profile-readonly{margin:0!important}
@media(max-width:650px){.cms-profile-modal{width:96vw!important;height:94dvh!important;max-height:94dvh!important}.cms-profile-sections{padding:15px!important}.cms-profile-form>.cms-profile-save{margin:8px 15px 14px!important;width:calc(100% - 30px)!important}.cms-profile-group{grid-template-columns:1fr!important}}

/* Profile picture loaded from private storage; never stretch the sidebar avatar. */
.cms-profile-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;flex:none}
.cms-sidebar-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Compact, left-aligned header identity. Sidebar corner emblem removed. */
.cms-sidebar>.cms-brand{display:none!important}
.cms-header{height:100px!important;min-height:100px!important}
.cms-header-left{min-width:0}
.cms-header-brand{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;min-width:0}
.cms-header-logo{display:block;width:78px;height:78px;object-fit:contain;flex:none}
.cms-header-words{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.12}
.cms-header-words strong{font-size:clamp(19px,1.65vw,26px);color:#075b53;letter-spacing:-.04em}
.cms-header-words small{font-size:11px;color:#0a635a;font-weight:700;margin-top:2px}
.cms-header-words .cms-brand-english{font-size:10px;letter-spacing:.04em;color:#54756f;font-weight:600}
.cms-header-words .cms-system-title{font-size:14px;color:#ae7000;font-weight:900;letter-spacing:.065em;text-transform:uppercase;margin-top:5px}
.cms-header-words .cms-system-second{font-size:14px;color:#ae7000;font-weight:900;letter-spacing:.065em;text-transform:uppercase;margin-top:1px}
@media(max-width:800px){.cms-header{height:88px!important;min-height:88px!important}.cms-header-logo{width:58px;height:58px}.cms-header-brand{gap:7px!important}.cms-header-words strong{font-size:17px}.cms-header-words .cms-system-title,.cms-header-words .cms-system-second{font-size:10px}.cms-header-words small{font-size:9px}}

/* Header identity: Samarth Circle left; round emblem and two-line system name immediately after. */
.cms-header{padding-left:18px!important}
.cms-header-brand{gap:clamp(18px,2.7vw,44px)!important}
.cms-header-words{flex:none;min-width:210px}
.cms-header-words strong{font-size:clamp(20px,1.7vw,27px);font-weight:900}
.cms-header-words .cms-brand-english{font-size:11px;margin-top:4px}
.cms-system-group{display:flex;align-items:center;gap:12px;flex:none}
.cms-system-words{display:flex;flex-direction:column;justify-content:center;gap:4px}
.cms-system-words .cms-system-title,.cms-system-words .cms-system-second{display:block;font-size:clamp(13px,1.1vw,17px);font-weight:900;letter-spacing:.055em;color:#a76c05;text-transform:uppercase;margin:0;line-height:1.12}
@media(max-width:950px){.cms-header-brand{gap:12px!important}.cms-header-words{min-width:0}.cms-header-logo{width:48px;height:48px}.cms-system-group{gap:7px}.cms-system-words .cms-system-title,.cms-system-words .cms-system-second{font-size:10px}}
@media(max-width:650px){.cms-header{padding-left:8px!important}.cms-header-brand{gap:7px!important}.cms-header-words strong{font-size:15px}.cms-header-words small,.cms-header-words .cms-brand-english{font-size:8px}.cms-header-logo{width:32px;height:32px}.cms-system-words .cms-system-title,.cms-system-words .cms-system-second{font-size:8px;letter-spacing:0}.cms-greeting{display:none}}


/* Reference-matched header identity: compact, bordered, aligned; no dashboard logic changes. */
.cms-header{height:110px!important;min-height:110px!important;padding:0 clamp(16px,2vw,34px)!important;background:#f8fcf9!important;border-bottom:2px solid #d6e7e1!important}
.cms-header-left{flex:1 1 auto!important;min-width:0!important}
.cms-header-brand{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:0!important;max-width:100%;min-height:88px}
.cms-header-words{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:260px!important;padding:10px 22px 10px 0!important;margin-right:0!important;line-height:1.15!important;border-right:2px solid #d8e7e2}
.cms-header-words strong{font-size:clamp(23px,1.9vw,30px)!important;font-weight:900!important;letter-spacing:-.045em!important;color:#07554d!important}
.cms-header-words small{font-size:13px!important;font-weight:750!important;color:#08766b!important;margin-top:3px!important}
.cms-header-words .cms-brand-english{font-size:12px!important;font-weight:650!important;letter-spacing:.015em!important;color:#537b74!important;margin-top:5px!important}
.cms-system-group{display:flex!important;align-items:center!important;gap:14px!important;padding:7px 18px!important;margin-left:0!important;min-width:0!important;border:2px solid #dce9e5!important;border-left:0!important;border-bottom:3px solid #e49a17!important;border-radius:0 12px 12px 0!important;background:#fff!important}
.cms-header-logo{width:82px!important;height:82px!important;max-width:none!important;object-fit:contain!important;flex:none!important}
.cms-system-words{gap:4px!important;min-width:0}
.cms-system-words .cms-system-title{font-size:clamp(18px,1.55vw,25px)!important;line-height:1.04!important;letter-spacing:.09em!important;color:#064c46!important;font-weight:950!important;white-space:nowrap!important}
.cms-system-words .cms-system-second{font-size:clamp(17px,1.4vw,22px)!important;line-height:1.04!important;letter-spacing:.13em!important;color:#b67708!important;font-weight:900!important;text-transform:uppercase!important}
.cms-greeting small{font-size:12px!important;letter-spacing:.09em!important}
.cms-greeting strong{font-size:clamp(16px,1.3vw,20px)!important}
@media(max-width:1150px){.cms-header-words{min-width:205px!important;padding-right:12px!important}.cms-header-logo{width:63px!important;height:63px!important}.cms-system-group{padding:7px 10px!important;gap:8px!important}.cms-system-words .cms-system-title{font-size:15px!important}.cms-system-words .cms-system-second{font-size:14px!important}}
@media(max-width:800px){.cms-header{height:90px!important;min-height:90px!important;padding:0 12px!important}.cms-header-brand{min-height:72px}.cms-header-words{min-width:0!important;padding:5px 9px 5px 0!important}.cms-header-words strong{font-size:18px!important}.cms-header-words small{font-size:9px!important}.cms-header-words .cms-brand-english{font-size:9px!important}.cms-header-logo{width:47px!important;height:47px!important}.cms-system-group{padding:5px 7px!important;gap:5px!important}.cms-system-words .cms-system-title{font-size:11px!important;letter-spacing:.03em!important}.cms-system-words .cms-system-second{font-size:10px!important;letter-spacing:.07em!important}}
@media(max-width:540px){.cms-header{padding:0 7px!important}.cms-header-words strong{font-size:15px!important}.cms-header-words small,.cms-header-words .cms-brand-english{font-size:8px!important}.cms-header-logo{width:37px!important;height:37px!important}.cms-system-words .cms-system-title{font-size:9px!important}.cms-system-words .cms-system-second{font-size:9px!important}.cms-system-group{padding:4px!important}}


/* Full-width masthead above the sidebar: navigation starts BELOW the header. */
.cms-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:80!important;padding-left:clamp(16px,2vw,34px)!important;padding-right:clamp(16px,2vw,34px)!important}
.cms-main{padding-top:110px!important}
.cms-sidebar{padding-top:110px!important;z-index:30!important}
.cms-sidebar>.cms-brand{display:none!important}
.cms-nav{margin-top:0!important}
@media(max-width:800px){.cms-main{padding-top:90px!important}.cms-sidebar{padding-top:90px!important}.cms-header{z-index:80!important}}

/* Refined identity typography and borderless management mark. */
.cms-header{padding-left:12px!important}
.cms-header-words{min-width:295px!important;padding-left:0!important;padding-right:20px!important;border:0!important}
.cms-header-words strong{font-size:clamp(27px,2.2vw,35px)!important;line-height:1.06!important}
.cms-header-words small{font-size:clamp(14px,1.05vw,17px)!important;line-height:1.22!important}
.cms-header-words .cms-brand-english{font-size:clamp(13px,.95vw,16px)!important}
.cms-system-group{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding-left:16px!important}
.cms-system-words .cms-system-title{font-size:clamp(19px,1.65vw,27px)!important}
.cms-system-words .cms-system-second{font-size:clamp(18px,1.5vw,24px)!important}
@media(max-width:800px){.cms-header-words{min-width:0!important;padding-right:8px!important}.cms-header-words strong{font-size:18px!important}.cms-header-words small,.cms-header-words .cms-brand-english{font-size:10px!important}.cms-system-group{padding-left:7px!important}.cms-system-words .cms-system-title{font-size:11px!important}.cms-system-words .cms-system-second{font-size:10px!important}}
@media(max-width:540px){.cms-header-words strong{font-size:15px!important}.cms-header-words small,.cms-header-words .cms-brand-english{font-size:8px!important}.cms-system-words .cms-system-title,.cms-system-words .cms-system-second{font-size:9px!important}}


/* Header branding: emblem beside Samarth Circle; text-only management identity */
.cms-header-brand{display:flex!important;align-items:center!important;gap:12px!important;min-height:0!important}
.cms-header-brand>.cms-header-logo{width:76px!important;height:76px!important;flex:none!important;object-fit:contain!important}
.cms-header-words{min-width:0!important;padding:5px 18px 5px 0!important;border:0!important}
.cms-system-group{display:flex!important;align-items:center!important;padding:0 0 0 22px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-width:0!important}
.cms-system-words{display:flex!important;flex-direction:column!important;gap:4px!important}
.cms-system-words .cms-system-title{font-size:clamp(19px,1.65vw,26px)!important;letter-spacing:.035em!important;color:#07554d!important;text-transform:none!important;font-weight:900!important}
.cms-system-words .cms-system-second{font-size:clamp(18px,1.5vw,24px)!important;letter-spacing:.11em!important;color:#b67708!important;text-transform:uppercase!important;font-weight:900!important}
@media(max-width:1100px){.cms-header-brand>.cms-header-logo{width:54px!important;height:54px!important}.cms-header-brand{gap:8px!important}.cms-system-group{padding-left:9px!important}}
@media(max-width:800px){.cms-header-brand>.cms-header-logo{width:39px!important;height:39px!important}.cms-header-brand{gap:5px!important}.cms-header-words{padding-right:3px!important}.cms-system-group{padding-left:5px!important}}
@media(max-width:540px){.cms-header-brand>.cms-header-logo{width:30px!important;height:30px!important}.cms-header-brand{gap:3px!important}.cms-system-group{padding-left:3px!important}}

/* Secure initial dashboard reveal: nothing underneath appears until all first-view data is ready. */
body:not(.samarth-dashboard-ready) #cms-app,body:not(.samarth-dashboard-ready) #cms-status{visibility:hidden!important}
#samarth-dashboard-loader{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#f0faf6,#fff 55%,#e6f2ed);font-family:inherit;color:#064d4c;transition:opacity .3s ease}
#samarth-dashboard-loader.samarth-load-done{opacity:0;pointer-events:none}
.samarth-load-center{width:min(100%,480px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:15px}
.samarth-load-logo{display:block;width:min(80vw,340px);height:auto;max-height:210px;object-fit:contain}
.samarth-load-center h2{font-size:clamp(21px,3vw,29px);margin:12px 0 0;color:#064d4c}
.samarth-load-center p{margin:0;color:#476b68;line-height:1.5}
.samarth-load-track{width:100%;height:12px;overflow:hidden;border-radius:999px;background:#d5e8e3;border:1px solid #b9d6ce}
#samarth-load-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#08716b,#17a398);border-radius:999px;transition:width .35s ease}
#samarth-load-percent{font-size:21px;font-variant-numeric:tabular-nums}
#samarth-load-retry{padding:12px 24px;border:0;border-radius:10px;background:#08716b;color:#fff;font:inherit;font-weight:700;cursor:pointer}
#samarth-load-retry[hidden]{display:none}
@media(prefers-reduced-motion:reduce){#samarth-load-fill,#samarth-dashboard-loader{transition:none}}

/* Gentle circular logo rotation only during dashboard preparation. */
#samarth-dashboard-loader:not(.samarth-load-done) .samarth-load-logo{width:min(62vw,250px);height:auto;max-height:250px;object-fit:contain;animation:samarth-logo-spin 3s linear infinite;transform-origin:center center}
#samarth-dashboard-loader.samarth-load-done .samarth-load-logo{animation:none;transform:none}
@keyframes samarth-logo-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#samarth-dashboard-loader .samarth-load-logo{animation:none!important}}

/* Audit fix: isolate loading emblem from dashboard-wide image sizing and clipping rules. */
#samarth-dashboard-loader{overflow:visible!important}
#samarth-dashboard-loader .samarth-load-center{overflow:visible!important;min-width:0!important}
#samarth-dashboard-loader .samarth-load-logo{display:block!important;position:relative!important;inset:auto!important;flex:none!important;width:240px!important;height:240px!important;max-width:min(64vw,240px)!important;max-height:min(64vw,240px)!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0 auto!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:1/1!important;border:0!important;border-radius:0!important;clip-path:none!important;mask:none!important;overflow:visible!important;box-shadow:none!important}
@media(max-width:420px){#samarth-dashboard-loader .samarth-load-logo{width:190px!important;height:190px!important}}

/* Loader image isolation: background image cannot be cropped by global img CSS. */
#samarth-dashboard-loader .samarth-load-logo{display:block!important;box-sizing:border-box!important;position:relative!important;inset:auto!important;width:min(62vw,240px)!important;height:min(62vw,240px)!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:1/1!important;flex:0 0 auto!important;margin:0 auto!important;padding:0!important;overflow:visible!important;background-image:url('/brand/samarth-loading-logo.png')!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:contain!important;border:0!important;border-radius:0!important;clip-path:none!important;mask:none!important;filter:none!important;object-fit:initial!important}

/* Final loader repair: embedded SVG never shows a broken external image or rotating alt text. */
#samarth-dashboard-loader svg.samarth-load-logo{background:none!important;background-image:none!important;display:block!important;width:min(62vw,220px)!important;height:min(62vw,220px)!important;overflow:visible!important;flex-shrink:0!important;transform-origin:50% 50%!important}
#samarth-dashboard-loader:not(.samarth-load-done) svg.samarth-load-logo{animation:samarth-logo-spin 3s linear infinite!important}
@media(prefers-reduced-motion:reduce){#samarth-dashboard-loader svg.samarth-load-logo{animation:none!important}}

/* Compact one-line management brand and dynamic section label. */
.cms-system-group{min-width:0!important;flex:0 1 auto!important}
.cms-system-words{display:flex!important;flex-direction:row!important;align-items:baseline!important;white-space:nowrap!important;min-width:0!important}
.cms-system-title{font-family:Georgia,'Times New Roman',serif!important;font-weight:800!important;font-size:clamp(17px,1.6vw,26px)!important;line-height:1.1!important;letter-spacing:-.035em!important;white-space:nowrap!important;color:#07554d!important;text-transform:none!important}
.cms-system-title::first-letter{color:#c28a0a!important}
.cms-content{padding-top:12px!important}
.cms-page-head{margin:0 0 12px!important;padding:0!important;min-height:0!important}
.cms-page-head h1{margin:0!important;font-size:clamp(19px,1.75vw,27px)!important;line-height:1.2!important;color:#07554d!important}
.cms-page-head p{display:none!important}
@media(max-width:1050px){.cms-system-title{font-size:clamp(12px,1.45vw,18px)!important;letter-spacing:-.04em!important}.cms-system-group{padding-left:6px!important}}
@media(max-width:650px){.cms-system-title{font-size:11px!important;letter-spacing:-.05em!important}.cms-header-brand{gap:3px!important}.cms-system-group{padding-left:4px!important}}

/* Design 4: modern accordion sidebar, accessible expandable groups. */
.cms-accordion-nav{display:flex!important;flex-direction:column!important;gap:12px!important;padding:12px 10px!important}
.cms-accordion-group{display:flex;flex-direction:column;gap:4px;padding:5px;border:1px solid rgba(13,93,82,.12);border-radius:13px;background:rgba(255,255,255,.08)}
.cms-accordion-toggle{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:750;text-align:left;cursor:pointer}
.cms-accordion-toggle[aria-expanded=true]{background:rgba(19,142,117,.17)}
.cms-accordion-symbol{width:25px;text-align:center;font-size:21px}.cms-accordion-title{flex:1;min-width:0}.cms-accordion-chevron{font-size:22px;font-weight:700}
.cms-accordion-items{display:flex;flex-direction:column;gap:3px;padding:5px 3px 7px 9px;border-left:2px solid rgba(28,147,117,.3);margin-left:14px}
.cms-accordion-item{width:100%!important;min-height:39px!important;padding:9px 10px!important;border-radius:9px!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important}
.cms-accordion-dot{font-size:19px;line-height:1;color:#40a990}.cms-accordion-item.active{background:rgba(27,156,126,.18)!important;font-weight:750!important}
.cms-accordion-toggle:focus-visible,.cms-accordion-item:focus-visible{outline:3px solid #dfb449;outline-offset:2px}
.cms-admin-placeholder{padding:22px;max-width:860px}.cms-admin-placeholder h2{margin:0 0 10px}.cms-admin-placeholder p{line-height:1.6}

/* Administration Roles */
.cms-role-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.cms-role-heading h2{margin:0}.cms-role-list{display:grid;gap:10px;margin-top:18px}.cms-role-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid rgba(20,100,88,.14);border-radius:11px}.cms-role-details{display:grid;gap:4px;flex:1;min-width:160px}.cms-role-details small{opacity:.72}.cms-role-code{font-size:12px;font-weight:700;padding:6px 9px;border-radius:7px;background:rgba(10,120,102,.1)}.cms-role-form{display:grid;gap:12px;padding:18px;margin:16px 0;border:1px solid rgba(10,120,102,.2);border-radius:12px}.cms-role-form .cms-field-label{display:grid;gap:5px}.cms-role-form textarea{min-height:72px;resize:vertical}

/* Compact, colorful management summary cards */
.cms-role-summary.cms-compact-summary{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin:12px 0 16px!important}
.cms-compact-summary .cms-role-card{min-width:0;text-align:left;padding:11px 10px;border:2px solid transparent;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:5px;min-height:72px;color:#163a36;box-shadow:0 2px 8px #193b3310;transition:transform .15s,border-color .15s}
.cms-compact-summary .cms-role-card strong{font-size:21px;line-height:1.1}.cms-compact-summary .cms-role-card span{font-size:11px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.cms-compact-summary .cms-role-card:nth-child(7n+1){background:#d7f2e8}.cms-compact-summary .cms-role-card:nth-child(7n+2){background:#e0ecff}.cms-compact-summary .cms-role-card:nth-child(7n+3){background:#fff0c6}.cms-compact-summary .cms-role-card:nth-child(7n+4){background:#fce1e5}.cms-compact-summary .cms-role-card:nth-child(7n+5){background:#ede4ff}.cms-compact-summary .cms-role-card:nth-child(7n+6){background:#d9f4f7}.cms-compact-summary .cms-role-card:nth-child(7n){background:#ffebd9}
.cms-compact-summary .cms-role-card[aria-pressed="true"]{border-color:#08716b;box-shadow:0 0 0 1px #08716b}.cms-compact-summary .cms-role-card:hover{transform:translateY(-2px)}
@media(max-width:900px){.cms-role-summary.cms-compact-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media(max-width:560px){.cms-role-summary.cms-compact-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Six Roles Management summary cards occupy the full available row. */
.cms-compact-summary.cms-roles-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
.cms-roles-summary .cms-role-card{min-height:96px;padding:16px 14px}
@media(max-width:1000px){.cms-compact-summary.cms-roles-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.cms-compact-summary.cms-roles-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Compact collapsed department navigation and single-row profile/logout footer. */
.cms-accordion-nav{gap:5px!important;padding:9px 10px!important}
.cms-accordion-group{padding:3px!important;gap:2px!important;border-radius:12px!important}
.cms-accordion-toggle{min-height:39px!important;padding:7px 10px!important;gap:9px!important;font-size:13px!important;line-height:1.2!important}
.cms-accordion-symbol{font-size:18px!important;min-width:24px!important}
.cms-accordion-title{font-size:13px!important;line-height:1.25!important}
.cms-account{display:flex!important;align-items:center!important;gap:8px!important;padding:12px 12px 17px!important}
.cms-profile-btn{min-width:0!important;flex:1!important;padding:10px 9px!important}
.cms-profile-info{min-width:0!important}
.cms-profile-logout{flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #74bcb0;border-radius:13px;background:linear-gradient(135deg,#117e70,#07564f);color:#f4fdf9;box-shadow:0 3px 12px #002b2730;cursor:pointer;transition:background .15s,transform .15s}
.cms-profile-logout:hover{background:linear-gradient(135deg,#199c85,#0a6a60);transform:translateY(-1px)}
.cms-profile-logout:focus-visible{outline:3px solid #f2c44e;outline-offset:3px}

/* Integrated profile card: name opens profile, icon signs out independently. */
.cms-account{display:block!important;padding:15px 12px 22px!important}
.cms-profile-card{display:flex;align-items:center;gap:7px;width:100%;min-width:0;padding:6px;border:1px solid #438a7e;border-radius:15px;background:#185d56;box-shadow:0 4px 15px #003e3620}
.cms-profile-card .cms-profile-btn{flex:1 1 auto!important;width:auto!important;min-width:0!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:6px 2px 6px 4px!important;border-radius:10px!important}
.cms-profile-card .cms-profile-btn:hover{background:#ffffff12!important}
.cms-profile-card .cms-profile-logout{flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:11px!important;background:#0b7468!important;border:1px solid #60a99c!important;box-shadow:none!important;color:white!important;margin:0!important}
.cms-profile-card .cms-profile-logout:hover{background:#169482!important;transform:translateY(-1px)}
.cms-profile-card .cms-profile-logout svg{width:21px;height:21px}

/* Distribute collapsed department tabs evenly across available sidebar height. */
.cms-accordion-nav{min-height:0!important;flex:1 1 auto!important}
.cms-accordion-nav.cms-nav-collapsed{justify-content:space-evenly!important;align-content:stretch!important;gap:6px!important}
.cms-accordion-nav.cms-nav-collapsed>.cms-accordion-group{flex:0 0 auto!important}
.cms-accordion-nav:not(.cms-nav-collapsed){justify-content:flex-start!important;gap:7px!important}

/* Fill the entire free sidebar area with six equal-height collapsed department blocks. */
.cms-sidebar>.cms-accordion-nav.cms-nav-collapsed{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(6,minmax(64px,1fr))!important;align-content:stretch!important;justify-content:stretch!important;gap:9px!important;overflow-y:auto!important;min-height:0!important;flex:1 1 0%!important;padding:12px 14px!important}
.cms-sidebar>.cms-accordion-nav.cms-nav-collapsed>.cms-accordion-group{display:flex!important;min-height:0!important;height:100%!important;padding:3px!important}
.cms-sidebar>.cms-accordion-nav.cms-nav-collapsed>.cms-accordion-group>.cms-accordion-toggle{height:100%!important;min-height:0!important;flex:1!important;align-items:center!important}

/* Detailed Users approval table and consistent review modal */
.cms-users-table-wrap{width:100%;overflow-x:auto;border:1px solid #d4e6e1;border-radius:17px;background:#fff;box-shadow:0 10px 30px #124b4420}
.cms-users-table{width:100%;min-width:1320px;border-collapse:separate;border-spacing:0;font-size:13px;color:#163f3c}
.cms-users-table th{padding:16px 13px;background:#0c625c;color:white;text-align:left;white-space:nowrap;font-size:12px;letter-spacing:.02em;font-weight:750}
.cms-users-table td{padding:16px 13px;border-bottom:1px solid #e2eeeb;vertical-align:middle;white-space:nowrap}
.cms-users-table tbody tr:nth-child(even){background:#f2faf7}
.cms-users-table tbody tr:hover{background:#e7f5ef}
.cms-users-table tbody tr:last-child td{border-bottom:0}
.cms-users-table td:first-child{font-weight:800;color:#125b56}
.cms-review-compact{padding:9px 13px!important;font-size:12px!important;min-width:0!important;white-space:nowrap;border-radius:11px!important}
.cms-users-status{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:10px 14px;border-radius:11px;font-weight:800;font-size:12px}
.cms-users-approved{color:#126b3c;background:#d9f7e5;border:1px solid #8dd6ad}
.cms-users-rejected{color:#a52c3e;background:#ffebed;border:1px solid #f4afb8}
.cms-users-other{color:#625018;background:#fff4ce}
.cms-review-title{font-size:27px!important;line-height:1.25!important;color:#123e3c!important;margin-bottom:22px!important}
.cms-review-label{display:block;font-size:15px;font-weight:800;color:#155a53;margin:20px 0 9px}
.cms-review-select{appearance:auto!important;border:1px solid #a8d5ca!important;border-radius:13px!important;background:#f7fcfa!important;padding:14px!important;width:100%!important}

.cms-operation-dialog{width:min(100%,440px)!important;padding:34px 28px!important;text-align:center!important;border-radius:22px!important;background:#fff!important;box-shadow:0 25px 80px #031f2d55!important}
.cms-operation-dialog h2{font-size:23px!important;color:#113e3c!important;margin:14px 0 8px!important}
.cms-operation-dialog p{font-size:15px!important;line-height:1.65!important;color:#42645e!important;margin:0 0 22px!important}
.cms-operation-dialog .cms-btn{min-width:125px!important;border-radius:12px!important}
.cms-operation-symbol{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;font-size:35px;font-weight:800;margin:0 auto}
.cms-operation-success{background:#dcf7e7;color:#168348;border:2px solid #a6e2bf}
.cms-operation-error{background:#ffeded;color:#ba3547;border:2px solid #f6bdc4}


/* Department & Roles: compact theme-aligned navigation and accessible matrix */
.cms-department-tabs{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;margin:8px 0 12px;padding:0}
.cms-department-tab{appearance:none;border:1px solid #c6dcd7;background:#fff;color:#075751;border-radius:10px;padding:9px 15px;font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap;min-height:38px;transition:background .15s,border-color .15s}
.cms-department-tab:hover{background:#e9f6f1;border-color:#14776b}
.cms-department-tab.is-active{background:#086357;color:white;border-color:#086357;box-shadow:0 2px 7px #07575122}
.cms-department-tab:focus-visible,.cms-matrix-check input:focus-visible{outline:3px solid #d1a023;outline-offset:3px}
.cms-department-panel{padding:24px!important}
.cms-matrix-heading h2{margin:0 0 8px;font-size:clamp(20px,2vw,26px);color:#075751}
.cms-matrix-intro{font-size:14px;line-height:1.55;color:#54706b;margin:4px 0 18px}
.cms-matrix-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.cms-matrix-select{display:grid;gap:6px;color:#164f4b;font-weight:700;font-size:13px}
.cms-matrix-select .cms-profile-input{width:100%;max-width:none;min-width:0}
.cms-matrix-hint{background:#f1f8f5;border:1px solid #cbe3d9;color:#35635d;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5;margin:12px 0}
.cms-matrix-table{overflow-x:auto;border:1px solid #d8e8e2;border-radius:12px;margin-top:14px}
.cms-matrix-row{display:grid;grid-template-columns:minmax(160px,2.4fr) repeat(8,minmax(66px,1fr));align-items:center;gap:4px;padding:10px 12px;border-bottom:1px solid #e2eeea;min-width:800px;font-size:13px}
.cms-matrix-row:last-child{border-bottom:0}
.cms-matrix-row:nth-child(odd){background:#f8fbfa}
.cms-matrix-row-head{background:#eaf4f0!important;color:#0b6057;font-size:12px;position:sticky;top:0;z-index:1}
.cms-matrix-row-head strong:not(:first-child){text-align:center}
.cms-matrix-tabname{font-weight:650;color:#204b47}
.cms-matrix-check{display:flex;justify-content:center;align-items:center;min-height:28px}
.cms-matrix-check input{width:17px;height:17px;accent-color:#087a64;cursor:pointer}
.cms-matrix-check input:disabled{opacity:.35;cursor:not-allowed}
.cms-matrix-empty{padding:24px;text-align:center;color:#57756f}
.cms-matrix-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}
.cms-matrix-state{margin-right:auto;color:#5c766e;font-size:13px}
.cms-btn-secondary{background:#eef5f1!important;color:#075751!important;border:1px solid #b6d4c8!important}
.cms-matrix-message{font-size:13px;margin:6px 0;min-height:0}
.cms-matrix-message:empty{display:none}
.cms-matrix-message.is-success{color:#146b46}
.cms-matrix-message.is-error{color:#ae3041}
.cms-matrix-assignment{border-bottom:1px solid #e4eeea;padding:8px 0}
@media(max-width:720px){.cms-department-tab{font-size:12px;padding:8px 11px;min-height:36px}.cms-department-tabs{gap:6px}.cms-department-panel{padding:15px!important}.cms-matrix-selectors{grid-template-columns:1fr}.cms-matrix-footer{justify-content:flex-start}.cms-matrix-state{width:100%}}


/* Unified CMS actions: match the compact forest-green Roles tab reference. */
#cms-app .cms-btn:not(.cms-btn-secondary),
#cms-app button.cms-review-compact,
#cms-app button.cms-action-primary{
 background:#086357!important;color:#fff!important;border:1px solid #086357!important;
 border-radius:11px!important;padding:9px 15px!important;min-height:38px;
 font-size:13px!important;font-weight:750!important;line-height:1.3!important;
 box-shadow:0 2px 7px #07575122!important;white-space:normal;
 transition:background .15s,box-shadow .15s,transform .15s;
}
#cms-app .cms-btn:not(.cms-btn-secondary):hover,
#cms-app button.cms-review-compact:hover,
#cms-app button.cms-action-primary:hover{background:#075249!important;box-shadow:0 4px 12px #07575130!important}
#cms-app .cms-btn:not(.cms-btn-secondary):focus-visible,
#cms-app button.cms-review-compact:focus-visible{outline:3px solid #e8b83e!important;outline-offset:3px}
#cms-app .cms-btn:disabled{opacity:.55!important;cursor:not-allowed!important;box-shadow:none!important}
#cms-app .cms-btn-secondary{background:#fff!important;color:#075751!important;border:1px solid #b6d4c8!important;border-radius:11px!important;padding:9px 15px!important;min-height:38px;font-size:13px!important;font-weight:750!important;box-shadow:none!important}
#cms-app .cms-btn-secondary:hover{background:#edf7f2!important}
#cms-app .cms-department-tab{font-size:13px!important;font-weight:750!important;min-height:38px!important}
#cms-app .cms-department-tab.is-active{background:#086357!important;color:#fff!important;border-color:#086357!important}
@media(max-width:650px){#cms-app .cms-btn:not(.cms-btn-secondary),#cms-app .cms-btn-secondary{padding:8px 12px!important;font-size:12px!important;min-height:36px}}


/* Executive forest-green sidebar redesign — visual only, preserves accordion behaviour. */
#cms-app .cms-sidebar{
 background:linear-gradient(165deg,#103e38 0%,#124a42 48%,#0b332f 100%)!important;
 border-right:1px solid #285c51!important;
 box-shadow:5px 0 22px #0c2c2718!important;
 color:#eaf7f2!important;
}
#cms-app .cms-sidebar .cms-accordion-nav{scrollbar-color:#557e73 transparent!important;scrollbar-width:thin}
#cms-app .cms-sidebar .cms-accordion-group{
 background:#18584f!important;border:1px solid #ffffff16!important;
 border-radius:12px!important;box-shadow:0 2px 9px #092d2717!important;
 transition:background .15s,border-color .15s;
}
#cms-app .cms-sidebar .cms-accordion-group:hover{background:#1c6055!important;border-color:#ffffff2b!important}
#cms-app .cms-sidebar .cms-accordion-toggle{
 color:#edf8f4!important;background:transparent!important;
 border-radius:10px!important;letter-spacing:.005em!important;
}
#cms-app .cms-sidebar .cms-accordion-toggle:hover,
#cms-app .cms-sidebar .cms-accordion-toggle[aria-expanded="true"]{background:#ffffff12!important;color:#fff!important}
#cms-app .cms-sidebar .cms-accordion-symbol{color:#d8c27a!important}
#cms-app .cms-sidebar .cms-accordion-items{
 border-left:1px solid #6b9b87!important;margin-left:17px!important;
 padding:4px 3px 7px 8px!important;gap:3px!important;
}
#cms-app .cms-sidebar .cms-accordion-item{
 color:#e3f3ec!important;border:1px solid transparent!important;
 background:transparent!important;border-radius:9px!important;
 font-size:12.5px!important;min-height:36px!important;
 padding:8px 10px!important;transition:background .15s,color .15s;
}
#cms-app .cms-sidebar .cms-accordion-item:hover{background:#ffffff16!important;color:#fff!important}
#cms-app .cms-sidebar .cms-accordion-item.active{
 background:#e8f5ef!important;color:#103e38!important;
 border-left:3px solid #d9aa35!important;
 font-weight:800!important;box-shadow:0 2px 8px #001d191b!important;
}
#cms-app .cms-sidebar .cms-profile-card{
 background:#123f39!important;border:1px solid #537e70!important;
 border-radius:13px!important;box-shadow:0 3px 12px #092b2630!important;
}
#cms-app .cms-sidebar .cms-profile-card .cms-profile-logout{
 background:#18584f!important;border-color:#659587!important;
}
#cms-app .cms-sidebar .cms-profile-card .cms-profile-logout:hover{background:#087a69!important}
#cms-app .cms-sidebar .cms-profile-info strong{color:#fff!important}
#cms-app .cms-sidebar .cms-profile-info small{color:#e7c76e!important}
#cms-app .cms-sidebar .cms-accordion-toggle:focus-visible,
#cms-app .cms-sidebar .cms-accordion-item:focus-visible{outline:3px solid #d9aa35!important;outline-offset:2px!important}
@media(max-width:700px){#cms-app .cms-sidebar .cms-accordion-item{min-height:40px!important;font-size:13px!important}}


/* Refine executive sidebar typography: slightly smaller, more balanced. */
#cms-app .cms-sidebar .cms-accordion-title{font-size:12px!important;line-height:1.3!important;font-weight:750!important}
#cms-app .cms-sidebar .cms-accordion-toggle{font-size:12px!important}
#cms-app .cms-sidebar .cms-accordion-item{font-size:11.5px!important;line-height:1.35!important}
#cms-app .cms-sidebar .cms-profile-info strong{font-size:12px!important}
#cms-app .cms-sidebar .cms-profile-info small{font-size:10px!important}
@media(max-width:700px){
 #cms-app .cms-sidebar .cms-accordion-title{font-size:12px!important}
 #cms-app .cms-sidebar .cms-accordion-item{font-size:12px!important}
}


/* Sidebar readability correction: restore comfortable tab typography. */
#cms-app .cms-sidebar .cms-accordion-title{font-size:14px!important;line-height:1.4!important;font-weight:750!important}
#cms-app .cms-sidebar .cms-accordion-toggle{font-size:14px!important}
#cms-app .cms-sidebar .cms-accordion-item{font-size:13.5px!important;line-height:1.45!important;font-weight:600!important}
#cms-app .cms-sidebar .cms-accordion-item.active{font-weight:800!important}
#cms-app .cms-sidebar .cms-profile-info strong{font-size:13px!important}
#cms-app .cms-sidebar .cms-profile-info small{font-size:11px!important}
@media(max-width:700px){
 #cms-app .cms-sidebar .cms-accordion-title,
 #cms-app .cms-sidebar .cms-accordion-toggle{font-size:14px!important}
 #cms-app .cms-sidebar .cms-accordion-item{font-size:13.5px!important}
}


/* Partner Review: spacious, responsive, five-tab approval workspace. */
.cms-partner-review-overlay{position:fixed;inset:0;z-index:100000;background:rgba(9,40,37,.72);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}
.cms-partner-review-modal{width:min(94vw,1350px);height:min(88vh,920px);background:#fff;border-radius:20px;box-shadow:0 20px 75px #092c2b50;overflow:hidden;display:flex;flex-direction:column;color:#103e38}
.cms-partner-review-header{background:linear-gradient(120deg,#103e38,#086357);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 26px}
.cms-partner-review-header h2{font-size:22px;margin:0 0 4px;color:#fff}
.cms-partner-review-header p{font-size:13px;margin:0;color:#d5e9e2}
.cms-partner-close{width:36px;height:36px;border-radius:9px;border:1px solid #ffffff6b;background:#ffffff1b;color:#fff;font-size:26px;cursor:pointer}
.cms-partner-review-tabs{display:flex;gap:7px;padding:12px 20px 0;border-bottom:1px solid #dbe9e3;overflow-x:auto;flex:none;background:#f7faf8}
.cms-partner-tab{border:1px solid #c9ddd4;border-bottom:0;border-radius:10px 10px 0 0;padding:12px 18px;white-space:nowrap;background:#fff;color:#16574c;font-size:13px;font-weight:750;cursor:pointer}
.cms-partner-tab.active{background:#086357;border-color:#086357;color:#fff}
.cms-partner-tab:hover:not(.active){background:#e7f3ed}
.cms-partner-review-content{padding:22px 28px;overflow:auto;flex:1;min-height:0}
.cms-partner-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cms-partner-field{display:flex;flex-direction:column;gap:7px;color:#124d43;font-size:13px;font-weight:750}
.cms-partner-field .cms-profile-input{width:100%;max-width:none!important;min-height:44px}
.cms-partner-review-footer{flex:none;border-top:1px solid #d8e7df;background:#f8fbf9;padding:12px 24px 16px}
.cms-partner-remarks{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750;color:#124d43}
.cms-partner-remarks textarea{width:100%;max-width:none!important;min-height:50px}
.cms-partner-footer-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}
.cms-partner-review-message{font-size:13px;line-height:1.4;margin:5px 0}
.cms-partner-review-message:empty{display:none}
.cms-partner-review-message.success{color:#13704e}
.cms-partner-review-message.error{color:#b32d40}
.cms-partner-upload{border:1px solid #d1e7dc;background:#f7fbf8;border-radius:12px;padding:15px;margin:15px 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.cms-partner-upload strong{min-width:160px;font-size:13px}
.cms-partner-upload input[type=file]{font-size:12px;max-width:300px}
.cms-partner-upload-actions{display:flex;gap:8px;flex-wrap:wrap}
.cms-partner-commission-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;margin-bottom:18px}
.cms-partner-commission-editor>button{align-self:end}
.cms-partner-course-table{overflow-x:auto;border:1px solid #d6e6de;border-radius:12px}
.cms-partner-course-row{display:grid;grid-template-columns:minmax(140px,2fr) repeat(4,minmax(110px,1fr));gap:10px;align-items:center;min-width:650px;padding:10px 14px;border-bottom:1px solid #e0ece6;font-size:13px}
.cms-partner-course-row.head{background:#e9f4ee;color:#0a584e;font-size:12px}
.cms-partner-course-row:last-child{border-bottom:0}
.cms-partner-requirements-modal{width:min(94vw,660px);max-height:85vh;overflow:auto;background:#fff;border-radius:18px;padding:25px;color:#103e38}
.cms-partner-requirements-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cms-partner-required-field{display:flex;gap:9px;align-items:center;border:1px solid #d9e8df;border-radius:9px;padding:10px;font-size:13px;cursor:pointer}
.cms-partner-required-field input{accent-color:#086357}
@media(max-width:780px){.cms-partner-review-overlay{padding:7px}.cms-partner-review-modal{width:100%;height:95vh;border-radius:12px}.cms-partner-review-header{padding:14px}.cms-partner-review-content{padding:14px}.cms-partner-review-grid{grid-template-columns:1fr}.cms-partner-commission-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-partner-review-footer{padding:10px 14px}.cms-partner-tab{padding:10px 12px}.cms-partner-requirements-list{grid-template-columns:1fr}}
@media(max-width:440px){.cms-partner-commission-editor{grid-template-columns:1fr}.cms-partner-footer-actions{justify-content:stretch}.cms-partner-footer-actions button{flex:1}}


/* Partner / trainee tables: keep registration code and every heading aligned. */
#cms-app .cms-users-table{min-width:1530px;table-layout:auto}
#cms-app .cms-users-table th,#cms-app .cms-users-table td{box-sizing:border-box;padding:13px 14px;vertical-align:middle;text-align:left;white-space:nowrap}
#cms-app .cms-users-table th:first-child,#cms-app .cms-users-table td:first-child{min-width:165px;width:165px}
#cms-app .cms-users-table td:first-child{font-size:12px;letter-spacing:.015em;font-weight:800;color:#075b50}
#cms-app .cms-users-table th:last-child,#cms-app .cms-users-table td:last-child{min-width:145px}
#cms-app .cms-users-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
#cms-app .cms-partner-review-footer .cms-btn{min-height:39px}


#cms-app .cms-training-editor{display:grid;gap:12px;border:1px solid #dce9e4;border-radius:14px;background:#f8fbf9;padding:18px;margin:16px 0}
#cms-app .cms-training-editor h3{margin:0;color:#075b54}
#cms-app .cms-training-editor .cms-search{max-width:100%;width:100%}
#cms-app .cms-training-textarea{width:100%;min-height:150px;border:1px solid #cadfd8;border-radius:10px;padding:14px;font:inherit;resize:vertical}
#cms-app .cms-training-editor-controls{display:flex;align-items:center;gap:12px}
#cms-app .cms-training-editor-controls .cms-btn{margin-left:auto}


/* Clear, high-visibility Samarth Circle identity across Staff CMS. */
.cms-header-brand:has(.cms-header-logo){display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;max-width:min(48vw,510px)!important}
.cms-header-brand .cms-header-logo{display:block!important;width:clamp(245px,34vw,500px)!important;height:92px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important;flex:0 1 auto!important}
@media(max-width:800px){.cms-header-brand .cms-header-logo{width:clamp(160px,52vw,300px)!important;height:60px!important}.cms-header-brand:has(.cms-header-logo){max-width:55vw!important}}


/* Official staff loading symbol with rotating brand ring. */
.samarth-load-orbit{width:160px;height:160px;margin:auto}
.samarth-load-orbit .samarth-load-logo{width:108px!important;height:108px!important;max-height:none!important;object-fit:contain!important;animation:sc-load-symbol 3s ease-in-out infinite}
.samarth-load-orbit:before{content:"";position:absolute;inset:0;border:5px solid #e0d8f2;border-top-color:#5b2a97;border-right-color:#04b5ba;border-radius:50%;animation:sc-load-spin 1.3s linear infinite}
@keyframes sc-load-spin{to{transform:rotate(360deg)}}@keyframes sc-load-symbol{50%{transform:rotate(8deg) scale(1.07)}}
@media(prefers-reduced-motion:reduce){.samarth-load-orbit:before,.samarth-load-orbit .samarth-load-logo{animation:none!important}}
.cms-header-brand .cms-header-logo{height:100%!important;max-height:86px!important;width:min(44vw,500px)!important;object-fit:contain!important;object-position:left center!important}


/* Staff dashboard requested refinements, scoped to CMS only. */
#cms-app .cms-sidebar .cms-nav-item{font-size:16px!important;font-weight:700!important;line-height:1.35!important;min-height:44px!important}
#cms-app .cms-sidebar .cms-nav-caption{font-size:13px!important;font-weight:800!important;letter-spacing:.045em}
#cms-app .cms-header{border-bottom:0!important;border-bottom-color:transparent!important;box-shadow:0 4px 15px #17153c12!important}
#cms-app .cms-stats .cms-stat{border:1.5px solid #dcd5f0!important;border-top:3px solid #5b2a97!important;border-radius:17px!important;box-shadow:0 7px 18px #2026540c!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
#cms-app .cms-stats .cms-stat:nth-child(2){border-top-color:#04b5ba!important}
#cms-app .cms-stats .cms-stat:nth-child(3){border-top-color:#0b9c7c!important}
#cms-app .cms-stats .cms-stat:nth-child(4){border-top-color:#e8a02b!important}
#cms-app .cms-stats .cms-stat:hover{transform:translateY(-4px)!important;box-shadow:0 15px 30px #20265422!important;border-color:#a894d3!important}
#cms-app .cms-stats .cms-stat:focus-within{outline:2px solid #04b5ba;outline-offset:2px}
@media(max-width:800px){#cms-app .cms-sidebar .cms-nav-item{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){#cms-app .cms-stats .cms-stat{transition:none!important}#cms-app .cms-stats .cms-stat:hover{transform:none!important}}


/* Match Partner Dashboard loader exactly: static centered emblem, rotating ring, no conflicting background or huge image. */
#samarth-dashboard-loader .samarth-load-orbit{box-sizing:border-box!important;display:grid!important;place-items:center!important;position:relative!important;isolation:isolate!important;width:148px!important;height:148px!important;min-width:148px!important;min-height:148px!important;max-width:148px!important;max-height:148px!important;margin:0 auto!important;padding:0!important;overflow:visible!important;transform:none!important}
#samarth-dashboard-loader .samarth-load-orbit::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;border:5px solid #e0d8f2!important;border-top-color:#5b2a97!important;border-right-color:#04b5ba!important;border-radius:50%!important;background:none!important;animation:sc-load-spin 1.3s linear infinite!important;transform-origin:center center!important}
#samarth-dashboard-loader .samarth-load-orbit>img.samarth-load-logo{box-sizing:border-box!important;display:block!important;position:relative!important;inset:auto!important;width:98px!important;height:98px!important;min-width:98px!important;min-height:98px!important;max-width:98px!important;max-height:98px!important;aspect-ratio:1/1!important;flex:none!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;background:none!important;background-image:none!important;clip-path:none!important;mask:none!important;filter:none!important;box-shadow:none!important;animation:sc-load-symbol 3s ease-in-out infinite!important;transform-origin:center!important}
#samarth-dashboard-loader .samarth-load-center{width:min(100%,480px)!important;overflow:visible!important}
#samarth-dashboard-loader .samarth-load-track{width:min(400px,90vw)!important;background:#dedbe9!important;border:0!important}
#samarth-dashboard-loader #samarth-load-fill{background:linear-gradient(90deg,#5b2a97,#04b5ba)!important}
#samarth-dashboard-loader #samarth-load-percent{color:#5b2a97!important;font-size:22px!important}
@media(prefers-reduced-motion:reduce){#samarth-dashboard-loader .samarth-load-orbit::before,#samarth-dashboard-loader .samarth-load-orbit>img.samarth-load-logo{animation:none!important}}

/* Training content file browser and upload progress */
.cms-training-file-input{display:block;width:100%;padding:13px 14px;border:1px dashed #9b8dbd;border-radius:12px;background:#f9f7ff;color:#252048;font:inherit}
.cms-training-file-input::file-selector-button{border:0;border-radius:8px;padding:9px 15px;margin-right:12px;background:#5b2a97;color:#fff;font-weight:700;cursor:pointer}
.cms-training-upload-meter{display:block;width:100%;height:13px;margin:12px 0 5px;accent-color:#08a764;border-radius:999px}
.cms-training-upload-meter[hidden]{display:none}
.cms-training-upload-status{font-size:13px;font-weight:650;color:#067353;margin:7px 0 15px;overflow-wrap:anywhere}
.cms-training-field{display:grid;gap:8px;margin:14px 0}
.cms-training-field>strong{font-size:14px;color:#28234b}


/* Unified Samarth Circle purple/turquoise CMS theme. */
:root{--samarth-purple:#51268a;--samarth-turquoise:#08adb3;--samarth-purple-deep:#392067}
html,body{background:#f7f4fc;color:#302747}
.cms-sidebar{background:linear-gradient(175deg,#392067,#51268a);color:#fff}
.cms-mark{background:#08adb3;color:#102f3b}
.cms-brand-text small,.cms-nav-caption{color:#d9c7ed}
.cms-nav-item{color:#f0e7fa}
.cms-nav-item:hover,.cms-nav-item.active{background:#f0e9fa;color:#392067}
.cms-header{border-bottom-color:#e5ddf1}
.cms-role{background:#f0e9fa;color:#51268a}
.cms-logout{border-color:#d8c8e9;color:#51268a}
.cms-stat,.cms-panel{border-color:#e9e1f1}
.cms-stat strong{color:#392067}
.cms-stat-icon{color:#08a0a7}
.cms-quick{background:#faf7ff;border-color:#e5dbee;color:#51268a}
.cms-quick:hover{background:#eee6f8}
#cms-app :is(input,select,textarea):focus-visible{outline-color:#08adb3;border-color:#08adb3}


/* Staff CMS identity: three transparent logos, compact flush header,
   purple/turquoise navigation and all internal controls. */
#cms-app{--sc-purple:#51268a;--sc-deep:#392067;--sc-turquoise:#08adb3;--sc-light:#f7f4fc;--sc-line:#e7ddf1}
#cms-app .cms-header{height:104px!important;min-height:104px!important;padding:0 24px 0 0!important;background:#fbfaff!important;border:0!important;border-bottom:1px solid #e7ddf1!important;box-shadow:0 3px 12px #3920670b!important}
#cms-app .cms-header-left{align-self:stretch!important;gap:0!important;min-width:0!important;flex:1!important}
#cms-app .cms-header-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;align-self:stretch!important;width:min(100%,670px)!important;max-width:670px!important;margin:0!important;padding:0 8px 0 14px!important;min-width:0!important}
#cms-app .cms-staff-logo-sequence{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1.1fr)!important;align-items:center!important;width:100%!important;height:100%!important;gap:0!important;overflow:hidden!important}
#cms-app .cms-staff-logo{display:block!important;box-sizing:border-box!important;width:100%!important;height:96px!important;min-width:0!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
#cms-app .cms-staff-logo-symbol{transform:scale(1.12)!important}
#cms-app .cms-staff-logo-dashboard{-webkit-clip-path:inset(0 0 0 7%)!important;clip-path:inset(0 0 0 7%)!important}
#cms-app .cms-header-right{flex:0 0 auto!important}
#cms-app .cms-sidebar{top:104px!important;height:calc(100vh - 104px)!important;min-height:calc(100vh - 104px)!important;background:linear-gradient(180deg,#392067 0%,#51268a 65%,#392067 100%)!important;border:0!important}
#cms-app .cms-sidebar .cms-nav{background:transparent!important}
#cms-app .cms-sidebar .cms-accordion-group{background:#60339a!important;border:1px solid #ffffff21!important;box-shadow:none!important}
#cms-app .cms-sidebar .cms-accordion-group:hover{background:#7045a7!important;border-color:#ffffff55!important}
#cms-app .cms-sidebar .cms-accordion-toggle{background:transparent!important;color:#fff!important}
#cms-app .cms-sidebar .cms-accordion-toggle:hover,#cms-app .cms-sidebar .cms-accordion-toggle[aria-expanded=true]{background:#7045a7!important;color:#fff!important}
#cms-app .cms-sidebar .cms-nav-item{color:#f8f3ff!important}
#cms-app .cms-sidebar .cms-nav-item:hover,#cms-app .cms-sidebar .cms-nav-item.active{background:#e9e1f5!important;color:#392067!important}
#cms-app .cms-sidebar .cms-profile-card{background:#452579!important;border-color:#9879bf!important}
#cms-app .cms-sidebar .cms-profile-card *{border-color:#9879bf}
#cms-app .cms-sidebar .cms-nav-caption{color:#d7c4ee!important}
#cms-app .cms-content{background:#f7f4fc!important}
#cms-app .cms-page-head h1,#cms-app .cms-header-title{color:#392067!important}
#cms-app :is(.cms-btn,.cms-primary,.cms-btn-primary,button[type=submit]):not(:disabled){accent-color:#51268a}
#cms-app :is(.cms-btn-primary,.cms-primary,button[type=submit]):not(:disabled){background:#51268a!important;border-color:#51268a!important;color:#fff!important}
#cms-app :is(.cms-btn-primary,.cms-primary,button[type=submit]):not(:disabled):hover{background:#392067!important;border-color:#392067!important}
#cms-app :is(input[type=checkbox],input[type=radio]){accent-color:#51268a!important}
#cms-app :is(input,select,textarea,button,a):focus-visible{outline:2px solid #08adb3!important;outline-offset:2px!important}
#cms-app :is(.cms-panel,.cms-stat,.cms-training-editor){border-color:#e7ddf1!important}
#cms-app .cms-quick{color:#51268a!important;background:#faf8fe!important;border-color:#e7ddf1!important}
#cms-app .cms-quick:hover{background:#ede5f7!important}
@media(max-width:900px){#cms-app .cms-header{height:86px!important;min-height:86px!important;padding-right:12px!important}#cms-app .cms-sidebar{top:86px!important;height:calc(100vh - 86px)!important;min-height:calc(100vh - 86px)!important}#cms-app .cms-header-brand{padding-left:8px!important;max-width:55vw!important}#cms-app .cms-staff-logo{height:78px!important}#cms-app .cms-menu{display:block!important;flex:0 0 42px!important}}
@media(max-width:540px){#cms-app .cms-header{height:74px!important;min-height:74px!important}#cms-app .cms-sidebar{top:74px!important;height:calc(100vh - 74px)!important;min-height:calc(100vh - 74px)!important}#cms-app .cms-header-brand{max-width:60vw!important;padding:0!important}#cms-app .cms-staff-logo{height:65px!important}#cms-app .cms-greeting small{font-size:10px!important}#cms-app .cms-greeting strong{font-size:11px!important}}


/* Sidebar starts precisely below the compact header; no top gap or overlap. */
#cms-app .cms-sidebar{margin-top:104px!important;position:sticky!important;align-self:flex-start!important}
@media(max-width:900px){#cms-app .cms-sidebar{margin-top:0!important}}


/* 2026-10-21: final compact header and full-height sidebar refinements.
   Keep specificity above legacy green !important overrides. */
#cms-app .cms-header{height:78px!important;min-height:78px!important;padding:0 22px 0 0!important;background:#fcfaff!important}
#cms-app .cms-header-left{height:78px!important}
#cms-app .cms-header-brand{height:78px!important;max-width:570px!important;padding:0 8px 0 10px!important}
#cms-app .cms-staff-logo-sequence{height:78px!important;grid-template-columns:minmax(0,.65fr) minmax(0,1fr) minmax(0,1.1fr)!important}
#cms-app .cms-staff-logo{height:75px!important;max-height:75px!important}
#cms-app .cms-staff-logo-symbol{transform:scale(1.04)!important}
#cms-app .cms-sidebar{top:78px!important;margin-top:0!important;height:calc(100vh - 78px)!important;min-height:calc(100vh - 78px)!important;padding-top:0!important;display:flex!important;flex-direction:column!important;background:linear-gradient(180deg,#392067 0%,#51268a 100%)!important}
#cms-app .cms-sidebar>.cms-accordion-nav{margin:0!important;padding:10px 13px 8px!important;flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;align-content:stretch!important}
#cms-app .cms-sidebar>.cms-accordion-nav.cms-nav-collapsed{grid-template-rows:repeat(6,minmax(58px,1fr))!important;gap:8px!important;padding:10px 13px!important}
#cms-app .cms-sidebar>.cms-accordion-nav.cms-nav-collapsed>.cms-accordion-group{min-height:58px!important;height:100%!important}
#cms-app .cms-sidebar .cms-accordion-group{background:#623699!important;border-color:#8763b1!important}
#cms-app .cms-sidebar .cms-accordion-toggle{color:#fff!important}
#cms-app .cms-sidebar .cms-accordion-toggle:hover{background:#754aa8!important}
#cms-app .cms-sidebar>.cms-account{margin-top:auto!important;padding:10px 12px 13px!important;background:#392067!important;border-top:1px solid #8058ad!important;flex:0 0 auto!important}
#cms-app .cms-sidebar .cms-profile-card{background:linear-gradient(115deg,#542c8d,#452475)!important;border:1px solid #9676c3!important;border-radius:14px!important;box-shadow:0 5px 18px #200e4233!important}
#cms-app .cms-sidebar .cms-profile-card .cms-profile-btn{background:transparent!important;border:0!important}
#cms-app .cms-sidebar .cms-profile-card .cms-profile-logout{background:#7044aa!important;border:1px solid #b397d3!important;color:#fff!important;box-shadow:none!important}
#cms-app .cms-sidebar .cms-profile-card .cms-profile-logout:hover{background:#08a5ac!important;border-color:#5ad5d7!important;transform:translateY(-2px)!important}
#cms-app .cms-sidebar .cms-profile-info strong{color:#fff!important}
#cms-app .cms-sidebar .cms-profile-info small{color:#6ee2e1!important}
#cms-app .cms-header-right .cms-greeting{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;gap:4px!important;padding:9px 15px!important;border-radius:14px!important;background:linear-gradient(110deg,#f5edff,#eefbfb)!important;border:1px solid #e7d9f4!important;box-shadow:0 3px 12px #51268a0a!important;transition:transform .2s ease,box-shadow .2s ease!important}
#cms-app .cms-header-right .cms-greeting:hover{transform:translateY(-2px)!important;box-shadow:0 7px 18px #51268a22!important}
#cms-app .cms-header-right .cms-greeting small{color:#087f87!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:800!important}
#cms-app .cms-header-right .cms-greeting strong{color:#51268a!important;font-size:clamp(13px,1.3vw,18px)!important;letter-spacing:-.015em!important;font-weight:800!important}
@media(max-width:900px){#cms-app .cms-header,#cms-app .cms-header-left,#cms-app .cms-header-brand{height:72px!important;min-height:72px!important}#cms-app .cms-staff-logo-sequence{height:72px!important}#cms-app .cms-staff-logo{height:69px!important}#cms-app .cms-sidebar{top:72px!important;margin-top:0!important;height:calc(100vh - 72px)!important;min-height:calc(100vh - 72px)!important;padding-top:0!important}#cms-app .cms-header-brand{max-width:58vw!important}}
@media(max-width:540px){#cms-app .cms-header,#cms-app .cms-header-left,#cms-app .cms-header-brand{height:65px!important;min-height:65px!important}#cms-app .cms-staff-logo-sequence{height:65px!important}#cms-app .cms-staff-logo{height:62px!important}#cms-app .cms-sidebar{top:65px!important;height:calc(100vh - 65px)!important;min-height:calc(100vh - 65px)!important}#cms-app .cms-header-right .cms-greeting{padding:6px 8px!important;gap:2px!important}#cms-app .cms-header-right .cms-greeting strong{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){#cms-app .cms-header-right .cms-greeting,#cms-app .cms-sidebar .cms-profile-card .cms-profile-logout{transition:none!important}}


/* Screenshot-matched Staff header: symbol and CMS on the left,
   Staff Dashboard logo at the far right of the logo zone.
   Transparent assets only; no borders, placeholders or background blocks. */
#cms-app .cms-header-left{flex:1 1 auto!important;width:auto!important;min-width:0!important}
#cms-app .cms-header-brand{flex:1 1 auto!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0 8px 0 10px!important}
#cms-app .cms-staff-logo-sequence{display:grid!important;width:100%!important;max-width:none!important;grid-template-columns:100px 180px minmax(20px,1fr) 165px!important;column-gap:8px!important;align-items:center!important;justify-items:center!important;overflow:visible!important;background:transparent!important}
#cms-app .cms-staff-logo-symbol{grid-column:1!important;transform:none!important}
#cms-app .cms-staff-logo-management{grid-column:2!important}
#cms-app .cms-staff-logo-dashboard{grid-column:4!important;-webkit-clip-path:inset(0 0 0 7%)!important;clip-path:inset(0 0 0 7%)!important}
#cms-app .cms-staff-logo{width:100%!important;height:74px!important;max-height:74px!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}
#cms-app .cms-header-right{flex:0 0 auto!important;margin-left:12px!important}
@media(max-width:1050px){#cms-app .cms-staff-logo-sequence{grid-template-columns:72px 140px minmax(6px,1fr) 128px!important;column-gap:3px!important}#cms-app .cms-header-right .cms-greeting strong{font-size:13px!important}}
@media(max-width:700px){#cms-app .cms-staff-logo-sequence{grid-template-columns:52px 86px minmax(0,1fr) 95px!important;column-gap:2px!important}#cms-app .cms-staff-logo{height:58px!important;max-height:58px!important}#cms-app .cms-header-right{margin-left:3px!important}#cms-app .cms-header-right .cms-greeting{padding:5px!important}}
@media(max-width:480px){#cms-app .cms-staff-logo-sequence{grid-template-columns:43px 70px minmax(0,1fr) 73px!important;column-gap:0!important}#cms-app .cms-staff-logo{height:50px!important;max-height:50px!important}#cms-app .cms-header-brand{padding:0 2px!important}}


/* Enlarge the first two transparent logos and close the gap.
   Dashboard logo remains anchored at the right of the header. */
#cms-app .cms-staff-logo-sequence{grid-template-columns:124px 200px minmax(0,1fr) 165px!important;column-gap:0!important;justify-items:stretch!important}
#cms-app .cms-staff-logo-symbol{height:78px!important;max-height:78px!important;width:124px!important;object-fit:contain!important;object-position:center!important;transform:scale(1.14)!important;transform-origin:center!important}
#cms-app .cms-staff-logo-management{height:78px!important;max-height:78px!important;width:200px!important;object-fit:contain!important;object-position:left center!important;transform:scale(1.12)!important;transform-origin:left center!important}
#cms-app .cms-header-brand{padding-left:2px!important}
@media(max-width:1050px){#cms-app .cms-staff-logo-sequence{grid-template-columns:90px 153px minmax(0,1fr) 128px!important}#cms-app .cms-staff-logo-symbol{width:90px!important;transform:scale(1.09)!important}#cms-app .cms-staff-logo-management{width:153px!important;transform:scale(1.09)!important}}
@media(max-width:700px){#cms-app .cms-staff-logo-sequence{grid-template-columns:62px 104px minmax(0,1fr) 95px!important}#cms-app .cms-staff-logo-symbol{width:62px!important;height:62px!important;max-height:62px!important;transform:scale(1.07)!important}#cms-app .cms-staff-logo-management{width:104px!important;height:62px!important;max-height:62px!important;transform:scale(1.06)!important}}
@media(max-width:480px){#cms-app .cms-staff-logo-sequence{grid-template-columns:48px 82px minmax(0,1fr) 73px!important}#cms-app .cms-staff-logo-symbol{width:48px!important;height:54px!important;max-height:54px!important}#cms-app .cms-staff-logo-management{width:82px!important;height:54px!important;max-height:54px!important}}


/* Align CMS logo's right edge close to the sidebar divider on desktop. */
@media(min-width:1051px){
 #cms-app .cms-staff-logo-sequence{grid-template-columns:116px 192px minmax(0,1fr) 165px!important}
 #cms-app .cms-staff-logo-management{width:192px!important;transform:translateX(-12px) scale(1.12)!important;transform-origin:left center!important}
}
@media(min-width:701px) and (max-width:1050px){
 #cms-app .cms-staff-logo-management{transform:translateX(-8px) scale(1.09)!important;transform-origin:left center!important}
}


/* Header logo alignment: one consistent coordinate system.
   CMS source is 683x383 with transparent canvas; its visible artwork
   starts ~75px from the left and ~78px from the top. Previous width
   tweaks were resizing the transparent canvas, not the visible logo. */
@media(min-width:1051px){
 #cms-app .cms-header-brand{padding:0!important}
 #cms-app .cms-staff-logo-sequence{grid-template-columns:88px 165px minmax(0,1fr) 165px!important;column-gap:0!important;align-items:center!important}
 #cms-app .cms-staff-logo-symbol{grid-column:1!important;width:88px!important;height:76px!important;max-height:76px!important;object-fit:contain!important;transform:scale(1.04)!important;transform-origin:center center!important}
 #cms-app .cms-staff-logo-management{grid-column:2!important;width:165px!important;height:76px!important;max-height:76px!important;object-fit:contain!important;object-position:left center!important;transform:translateX(-3px) scale(1.31)!important;transform-origin:left center!important}
 #cms-app .cms-staff-logo-dashboard{grid-column:4!important}
}
@media(min-width:701px) and (max-width:1050px){
 #cms-app .cms-staff-logo-sequence{grid-template-columns:72px 142px minmax(0,1fr) 128px!important;column-gap:0!important}
 #cms-app .cms-staff-logo-symbol{width:72px!important;transform:scale(1.03)!important}
 #cms-app .cms-staff-logo-management{width:142px!important;transform:translateX(-2px) scale(1.22)!important;transform-origin:left center!important}
}


/* Slightly larger standalone symbol, preserving the aligned CMS pair. */
@media(min-width:1051px){
 #cms-app .cms-staff-logo-symbol{transform:scale(1.15)!important;transform-origin:center center!important}
}
@media(min-width:701px) and (max-width:1050px){
 #cms-app .cms-staff-logo-symbol{transform:scale(1.12)!important;transform-origin:center center!important}
}
@media(max-width:700px){
 #cms-app .cms-staff-logo-symbol{transform:scale(1.08)!important;transform-origin:center center!important}
}


/* Screenshot reference: both left logos form one compact, edge-aligned
   group occupying the sidebar width; Staff logo remains on the far right. */
@media(min-width:1051px){
 #cms-app .cms-staff-logo-sequence{grid-template-columns:100px 152px minmax(0,1fr) 165px!important;column-gap:0!important}
 #cms-app .cms-header-brand{padding-left:0!important}
 #cms-app .cms-staff-logo-symbol{grid-column:1!important;width:100px!important;height:78px!important;max-height:78px!important;transform:scale(1.13)!important;transform-origin:center center!important}
 #cms-app .cms-staff-logo-management{grid-column:2!important;width:152px!important;height:78px!important;max-height:78px!important;transform:translateX(-7px) scale(1.38)!important;transform-origin:left center!important}
}


/* Final requested micro-alignment: symbol slightly higher; CMS left. */
@media(min-width:1051px){
 #cms-app .cms-staff-logo-symbol{transform:translateY(-5px) scale(1.13)!important;transform-origin:center center!important}
 #cms-app .cms-staff-logo-management{transform:translateX(-17px) scale(1.38)!important;transform-origin:left center!important}
}
@media(min-width:701px) and (max-width:1050px){
 #cms-app .cms-staff-logo-symbol{transform:translateY(-4px) scale(1.12)!important}
 #cms-app .cms-staff-logo-management{transform:translateX(-12px) scale(1.22)!important;transform-origin:left center!important}
}
@media(max-width:700px){
 #cms-app .cms-staff-logo-symbol{transform:translateY(-2px) scale(1.08)!important}
 #cms-app .cms-staff-logo-management{transform:translateX(-5px) scale(1.06)!important;transform-origin:left center!important}
}


/* Staff CMS unified nested-page palette and typography.
   The source Staff PNG has a scanline at x=8. With object-fit:contain
   the rendered PNG is inset inside its CSS box; clip 17% of the box
   to cover the line without touching artwork (which starts x≈80). */
#cms-app .cms-staff-logo-dashboard{-webkit-clip-path:inset(0 0 0 17%)!important;clip-path:inset(0 0 0 17%)!important}
#cms-app .cms-sidebar .cms-accordion-toggle,
#cms-app .cms-sidebar .cms-accordion-item,
#cms-app .cms-sidebar .cms-nav-item{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:16px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.35!important}
#cms-app .cms-sidebar .cms-accordion-item.active{font-weight:800!important}
#cms-app{--ink:#392067;--teal:#51268a;--green:#51268a;--accent:#08adb3;--navy:#392067;--gold:#08adb3;--line:#e7ddf1;--surface:#fff;--muted:#69627c}
#cms-app .cms-main,#cms-app .cms-content,#cms-app .cms-page,#cms-app .cms-workspace{color:#392067}
#cms-app .cms-content :is(h1,h2,h3,h4){color:#392067}
#cms-app .cms-content :is(.cms-panel,.cms-card,.cms-stat,.cms-training-editor,.cms-partner-review-modal,.cms-profile-modal){border-color:#e7ddf1}
#cms-app .cms-content :is(.cms-role,.cms-pill,.cms-badge){accent-color:#51268a}
#cms-app .cms-content :is(input[type=checkbox],input[type=radio]){accent-color:#51268a!important}
#cms-app .cms-content :is(input,select,textarea):focus{border-color:#08adb3!important;outline-color:#08adb3!important}
#cms-app .cms-content :is(.cms-btn-primary,.cms-primary,.cms-action-primary,.cms-save-btn){background:#51268a!important;border-color:#51268a!important;color:#fff!important}
#cms-app .cms-content :is(.cms-btn-primary,.cms-primary,.cms-action-primary,.cms-save-btn):hover{background:#392067!important;border-color:#392067!important}
#cms-app .cms-content :is(.cms-tabs button.active,.cms-tab.active,.cms-profile-tab.selected){color:#51268a!important;border-bottom-color:#08adb3!important}
#cms-app .cms-content :is(.cms-table,.cms-users-table) th{background:#f3edfb!important;color:#392067!important}
#cms-app .cms-content :is(.cms-table,.cms-users-table) tbody tr:hover{background:#f9f6fd!important}
@media(max-width:700px){#cms-app .cms-sidebar .cms-accordion-toggle,#cms-app .cms-sidebar .cms-accordion-item{font-size:14px!important}}


/* Consistent typography and active states throughout all Staff CMS subtabs. */
#cms-app .cms-sidebar :is(.cms-accordion-title,.cms-accordion-toggle,.cms-accordion-item,.cms-nav-item){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:15px!important;font-weight:700!important;letter-spacing:0!important;line-height:1.4!important}
#cms-app .cms-sidebar .cms-accordion-item.active{font-weight:800!important}
#cms-app .cms-sidebar .cms-accordion-dot{background:#08adb3!important}
#cms-app .cms-content :is(.cms-department-tab,.cms-partner-tab,.cms-matrix-tabname,.cms-tab,.cms-profile-tab){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-weight:700!important}
#cms-app .cms-content :is(.cms-department-tab.active,.cms-partner-tab.active,.cms-matrix-tabname.active,.cms-tab.active,.cms-profile-tab.selected){color:#51268a!important;border-color:#08adb3!important}
#cms-app .cms-content :is(.cms-department-tabs,.cms-partner-review-tabs,.cms-tabs,.cms-profile-tabs){border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-users-table-wrap,.cms-table-wrap,.cms-training-editor,.cms-partner-review-modal,.cms-review-dialog){border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-partner-review-header,.cms-partner-review-footer){background:#f7f4fc!important;border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-review-title,.cms-review-label,.cms-partner-review-header h2){color:#392067!important}
#cms-app .cms-content :is(.cms-review-select,.cms-training-textarea,.cms-training-file-input):focus{border-color:#08adb3!important;outline-color:#08adb3!important}
#cms-app .cms-content :is(.cms-training-upload-meter,.cms-training-upload-status){accent-color:#08adb3!important}
@media(max-width:700px){#cms-app .cms-sidebar :is(.cms-accordion-title,.cms-accordion-toggle,.cms-accordion-item,.cms-nav-item){font-size:14px!important}}


/* 2026-10-22: actual Staff CMS component-class theme, not only generic
   .cms-primary selectors (most nested views use .cms-btn instead).
   Scoped to #cms-app to preserve action logic and semantic statuses. */
#cms-app{--sc-primary:#51268a;--sc-primary-dark:#392067;--sc-accent:#08adb3;--sc-bg:#f7f4fc;--sc-border:#e7ddf1;--sc-soft:#f0e9f9}
#cms-app .cms-content .cms-btn:not(.cms-btn-secondary):not(:disabled),
#cms-app .cms-content .cms-profile-save:not(:disabled),
#cms-app .cms-content .cms-partner-review-footer .cms-btn:not(.cms-btn-secondary):not(:disabled),
#cms-app .cms-content .cms-training-editor-controls .cms-btn:not(.cms-btn-secondary):not(:disabled){background:#51268a!important;border-color:#51268a!important;color:#fff!important}
#cms-app .cms-content .cms-btn:not(.cms-btn-secondary):not(:disabled):hover,
#cms-app .cms-content .cms-profile-save:not(:disabled):hover{background:#392067!important;border-color:#392067!important}
#cms-app .cms-content .cms-btn-secondary:not(:disabled),
#cms-app .cms-content .cms-gear:not(:disabled){background:#f0e9f9!important;color:#51268a!important;border:1px solid #d7c6e9!important}
#cms-app .cms-content .cms-btn-secondary:not(:disabled):hover,
#cms-app .cms-content .cms-gear:not(:disabled):hover{background:#e7daf5!important}
#cms-app .cms-content :is(.cms-department-tab,.cms-partner-tab,.cms-profile-tab,.cms-tab){background:#fff!important;color:#51268a!important;border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-department-tab.active,.cms-partner-tab.active,.cms-profile-tab.selected,.cms-tab.active){background:#51268a!important;color:#fff!important;border-color:#51268a!important}
#cms-app .cms-content :is(.cms-department-tab,.cms-partner-tab,.cms-profile-tab,.cms-tab):hover:not(.active):not(.selected){background:#f0e9f9!important;color:#392067!important}
#cms-app .cms-content :is(.cms-role-card,.cms-quick){border-color:#d9c8eb!important}
#cms-app .cms-content .cms-role-card:hover{border-color:#08adb3!important}
#cms-app .cms-content :is(.cms-training-editor,.cms-review-canvas,.cms-profile-form){background:#faf8fe!important}
#cms-app .cms-content :is(.cms-training-editor h3,.cms-page-head h1,.cms-panel h2,.cms-review-title){color:#392067!important}
#cms-app .cms-content :is(.cms-table,.cms-users-table,.cms-matrix-table,.cms-partner-course-table) th{background:#f0e9f9!important;color:#392067!important;border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-table,.cms-users-table,.cms-matrix-table,.cms-partner-course-table) td{border-color:#e7ddf1!important}
#cms-app .cms-content :is(.cms-table,.cms-users-table,.cms-matrix-table,.cms-partner-course-table) tbody tr:hover{background:#faf7ff!important}
#cms-app .cms-content :is(.cms-search,.cms-review-select,.cms-training-textarea,input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#d9c8eb}
#cms-app .cms-content :is(.cms-search,.cms-review-select,.cms-training-textarea,input,select,textarea):focus{border-color:#08adb3!important;outline-color:#08adb3!important}
#cms-app .cms-content :is(.cms-department-tab,.cms-partner-tab,.cms-profile-tab,.cms-tab,.cms-btn,.cms-btn-secondary,.cms-quick){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
#cms-app .cms-content :is(.cms-accordion-item,.cms-nav-item){font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}


/* System Settings: published authentication slideshow management. */
#cms-app .cms-slide-settings-panel{max-width:1120px!important}
#cms-app .cms-slide-settings-panel>p{color:#6a5e7d!important}
#cms-app .cms-slide-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:22px 0 10px;padding:16px;background:#f7f4fc;border:1px solid #e7ddf1;border-radius:14px}
#cms-app .cms-slide-toolbar select{min-width:210px;flex:1 1 240px}
#cms-app .cms-slide-count-label{display:grid;gap:6px;color:#392067;font-weight:700;font-size:13px}
#cms-app .cms-slide-count-label input{width:95px}
#cms-app .cms-slide-settings-message{min-height:22px;margin:8px 0 16px;color:#51268a;font-weight:650}
#cms-app .cms-slide-settings-message.is-error{color:#b33242}
#cms-app .cms-slide-settings-message.is-success{color:#087f87}
#cms-app .cms-slide-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:16px}
#cms-app .cms-slide-card{min-width:0;padding:18px;border:1px solid #e0d4ef;border-radius:16px;background:#fff;box-shadow:0 6px 20px #3920670c}
#cms-app .cms-slide-card h3{margin:0 0 15px;color:#51268a;font-size:17px}
#cms-app .cms-slide-field{display:grid;gap:6px;margin:12px 0;color:#392067;font-weight:700;font-size:13px}
#cms-app .cms-slide-field :is(input,textarea){width:100%;min-width:0;border:1px solid #d9c8eb;border-radius:9px;padding:10px;font:inherit;font-weight:400;color:#392067;background:#fff}
#cms-app .cms-slide-image-preview{height:155px;display:grid;place-items:center;overflow:hidden;margin:12px 0;background:#f2ecf8;border:1px dashed #cbb8e2;border-radius:12px;color:#6d6280;font-size:13px}
#cms-app .cms-slide-image-preview img{width:100%;height:100%;object-fit:cover}
#cms-app .cms-slide-upload{max-width:100%;font-size:12px}
#cms-app .cms-slide-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#cms-app .cms-slide-actions .cms-btn{min-width:0!important}


/* Training Content Studio: compact, centered, accessible result dialogs. */
.cms-role-success-overlay:has(.cms-operation-dialog){position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;background:#1c11378c!important;backdrop-filter:blur(4px);z-index:100001!important}
.cms-operation-dialog{box-sizing:border-box!important;width:min(100%,410px)!important;max-width:410px!important;max-height:min(90vh,560px)!important;overflow:auto!important;margin:auto!important;padding:25px 24px!important;text-align:center!important;background:#fff!important;border:1px solid #e7ddf1!important;border-radius:20px!important;box-shadow:0 22px 70px #21113c3d!important}
.cms-operation-dialog h2{font-size:21px!important;color:#392067!important;margin:12px 0 8px!important}
.cms-operation-dialog p{font-size:14px!important;line-height:1.55!important;color:#5e5570!important;margin:0 0 18px!important}
.cms-operation-dialog .cms-btn{min-width:116px!important;background:#51268a!important;color:white!important;border-color:#51268a!important}
.cms-operation-dialog .cms-btn:hover{background:#392067!important}
#cms-app .cms-training-editor-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#cms-app .cms-training-editor-controls .cms-btn:disabled{opacity:.6!important;cursor:wait!important}
#cms-app .cms-training-editor-controls .cms-btn-secondary{background:#f1ebf9!important;color:#51268a!important;border:1px solid #d8c9ea!important}
#cms-app .cms-training-upload-status{font-size:13px;line-height:1.45;color:#51268a}
#cms-app .cms-training-upload-meter{accent-color:#08adb3;max-width:100%}


/* Authentication slideshow editor: image guidance, realistic live preview,
   per-slide saving, accessible progress indicators and responsive layout. */
#cms-app .cms-slide-guide{display:grid;gap:6px;padding:16px 18px;margin:16px 0 6px;border-radius:14px;background:linear-gradient(115deg,#f2eafc,#e8fafa)!important;border:1px solid #d8c9ea;color:#392067}
#cms-app .cms-slide-guide strong{font-size:14px;color:#51268a}
#cms-app .cms-slide-guide span{font-size:13px;line-height:1.55;color:#5f5671}
#cms-app .cms-slide-toolbar{gap:14px;align-items:center}
#cms-app .cms-slide-card{padding:19px;border:1px solid #e2d7ef;border-radius:18px;box-shadow:0 7px 22px #3920670d;transition:box-shadow .2s,border-color .2s}
#cms-app .cms-slide-card:hover{border-color:#bfa8dd;box-shadow:0 10px 26px #39206717}
#cms-app .cms-slide-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;margin-bottom:14px}
#cms-app .cms-slide-card-head h3{margin:0;color:#51268a}
#cms-app .cms-slide-card-hint{font-size:11px;color:#75688a}
#cms-app .cms-slide-image-preview{position:relative;display:block;width:100%;height:auto;aspect-ratio:16/9;background:linear-gradient(135deg,#3c2267,#623998)!important;border:1px solid #d6c6e9;overflow:hidden;margin:14px 0 6px}
#cms-app .cms-slide-image-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
#cms-app .cms-slide-image-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1e1033d9,#1e10332e);z-index:1;pointer-events:none}
#cms-app .cms-slide-preview-overlay{position:absolute;bottom:0;left:0;right:0;z-index:2;display:flex;flex-direction:column;gap:5px;padding:15px;color:#fff;text-shadow:0 1px 5px #0008}
#cms-app .cms-slide-preview-title{font-size:clamp(12px,1.1vw,17px);line-height:1.2;color:#fff}
#cms-app .cms-slide-preview-description{font-size:11px;line-height:1.35;color:#f6f1fb}
#cms-app .cms-slide-empty{position:absolute;inset:0;display:grid;place-items:center;padding:12px 15px 60px;text-align:center;color:#e6d9f5;font-size:12px}
#cms-app .cms-slide-preview-note{display:block;margin-bottom:12px;color:#76658b;font-size:11px}
#cms-app .cms-slide-upload{display:block;width:100%;margin:12px 0;font-size:12px;color:#392067}
#cms-app .cms-slide-progress-wrap{display:grid;gap:6px;margin:10px 0 14px}
#cms-app .cms-slide-progress-wrap[hidden]{display:none!important}
#cms-app .cms-slide-progress{display:block;width:100%;height:9px;accent-color:#08adb3;border-radius:8px}
#cms-app .cms-slide-progress-text{font-size:12px;font-weight:650;color:#51268a}
#cms-app .cms-slide-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}
#cms-app .cms-slide-actions .cms-btn{min-width:0!important;font-size:12px!important;padding:9px 12px!important}
#cms-app .cms-slide-save-one{background:#51268a!important;border-color:#51268a!important;color:#fff!important}
#cms-app .cms-slide-save-one:hover{background:#392067!important}
#cms-app .cms-slide-settings-message{font-size:13px;line-height:1.5;padding:9px 12px;border-radius:9px;background:#f0faf9}
#cms-app .cms-slide-settings-message:empty{display:none}
#cms-app .cms-slide-settings-message.is-error{background:#fff0f2;color:#9e283d}
@media(max-width:600px){#cms-app .cms-slide-toolbar>*{width:100%;max-width:100%}#cms-app .cms-slide-count-label input{width:100%}#cms-app .cms-slide-card{padding:14px}}


/* Training content publishing confirmation and saved-state styling. */
#cms-app .cms-training-live-status{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;margin:10px 0 14px;border:1px solid #e0d5ee;border-radius:9px;background:#f5f0fb;color:#5e4c78;font-size:12px;font-weight:750;line-height:1.35}
#cms-app .cms-training-live-status.is-live{background:#e9f8f6;color:#087d79;border-color:#b5e4de}
#cms-app .cms-training-editor-controls .cms-btn{transition:background .18s ease,transform .18s ease}
#cms-app .cms-training-editor-controls .cms-btn:not(:disabled):hover{transform:translateY(-1px)}
#cms-app .cms-training-upload-status{padding:7px 0;font-weight:650}


/* Founder YouTube embed preview belongs to Staff CMS, not Partner CSS. */
#cms-app .cms-founder-admin-preview{position:relative;display:grid;place-items:center;width:min(100%,680px);aspect-ratio:16/9;height:auto;min-height:0;margin:12px 0 8px;overflow:hidden;border:1px solid #d6c6e9;border-radius:14px;background:#f2ecfa;color:#5c4779;text-align:center;box-shadow:0 5px 18px #2c164a0d}
#cms-app .cms-founder-admin-preview iframe{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;border:0;background:#151021}
#cms-app .cms-founder-admin-preview p{margin:0;padding:16px;font-size:13px}
#cms-app .cms-founder-youtube-link{display:inline-flex;align-items:center;margin:2px 0 15px;color:#51268a;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px}
#cms-app .cms-founder-youtube-link:hover{color:#087f87}
@media(max-width:700px){#cms-app .cms-founder-admin-preview{width:100%;border-radius:10px}}


/* System Settings slideshow: compact modal confirmations and refined edit controls. */
.cms-slide-dialog-overlay{position:fixed;inset:0;z-index:100500;display:flex;align-items:center;justify-content:center;padding:16px;background:#1b103b99;backdrop-filter:blur(4px)}
.cms-slide-dialog{box-sizing:border-box;width:min(100%,410px);max-height:90dvh;overflow:auto;padding:28px 24px 23px;border:1px solid #e5d8f1;border-radius:20px;background:#fff;text-align:center;box-shadow:0 25px 75px #1c103b4d}
.cms-slide-dialog-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border-radius:50%;background:#e3f7f4;color:#07877e;font-size:32px;font-weight:900}
.cms-slide-dialog-icon.is-error{background:#ffedf0;color:#bf314c}
.cms-slide-dialog h3{margin:0 0 8px;color:#392067;font-size:21px}
.cms-slide-dialog p{margin:0 0 22px;color:#655775;font-size:14px;line-height:1.55}
.cms-slide-dialog .cms-btn{min-width:112px;background:#51268a!important;color:white!important;border-color:#51268a!important}
#cms-app .cms-slide-settings-panel{min-width:0}
#cms-app .cms-slide-cards{display:grid;gap:16px}
#cms-app .cms-slide-card{min-width:0;max-width:100%}
#cms-app .cms-slide-card .cms-slide-field{display:grid;gap:7px;font-size:13px;font-weight:700;color:#392067;margin:10px 0}
#cms-app .cms-slide-card .cms-slide-field input,#cms-app .cms-slide-card .cms-slide-field textarea{width:100%;min-width:0}
#cms-app .cms-slide-card .cms-slide-save-one:disabled{background:#e3f7f4!important;border-color:#b5e3dc!important;color:#087e77!important;opacity:1!important;cursor:default}
#cms-app .cms-slide-empty-list{padding:28px;text-align:center;background:#f7f2fc;border:1px dashed #cbb6e5;border-radius:14px;color:#69597d}
#cms-app .cms-slide-image-preview{width:100%;max-width:780px;aspect-ratio:16/9;height:auto;min-height:0}
#cms-app .cms-slide-image-preview img{object-fit:cover}
#cms-app .cms-slide-card-hint{font-weight:750;color:#087e77}
#cms-app .cms-slide-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
#cms-app .cms-slide-toolbar>select{min-width:220px;flex:1}
#cms-app .cms-slide-count-label{display:grid;gap:5px;font-size:12px;font-weight:750;color:#392067}
#cms-app .cms-slide-count-label input{max-width:105px}
#cms-app .cms-slide-progress-wrap:not([hidden]){display:grid}
@media(max-width:600px){#cms-app .cms-slide-toolbar>select{min-width:100%}#cms-app .cms-slide-count-label{width:100%}#cms-app .cms-slide-count-label input{max-width:100%}#cms-app .cms-slide-toolbar>.cms-btn{width:100%}}

/* CMS Plum dashboard and compact staff navigation. */
.cms-plum-queue{margin-bottom:16px}
.cms-plum-heading,.cms-plum-row,.cms-plum-shortcuts{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cms-plum-heading{justify-content:space-between}
.cms-plum-heading h2{margin:0}
.cms-plum-rows .cms-toolbar{margin:12px 0 6px}
.cms-plum-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;padding:10px 0;border-top:1px solid #e8dff0}
.cms-plum-row small{display:block;color:#594d6e}
.cms-plum-pending{color:#704400;background:#fff0d2;border-radius:18px;padding:4px 9px;font-weight:700}
.cms-plum-shortcuts{margin-bottom:16px}
#cms-app .cms-accordion-toggle{min-height:44px!important;padding-block:8px!important;background:#513078!important}
#cms-app .cms-sidebar{background:linear-gradient(160deg,#321e58,#46216e)!important}
#cms-app .cms-plum-row button,#cms-app .cms-plum-shortcuts button{min-height:44px}
@media(max-width:600px){.cms-plum-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.cms-plum-row button{grid-column:2;grid-row:1 / span 2}.cms-plum-pending{justify-self:start}}

/* Partner review is mounted outside the CMS content root. */
.cms-partner-review-overlay .cms-partner-review-modal{background:#fff;border:1px solid #dfd2ee;box-shadow:0 22px 72px #25153e55}
.cms-partner-review-overlay .cms-partner-review-header{background:linear-gradient(120deg,#322052,#522884 68%,#176f76);color:#fff}
.cms-partner-review-overlay .cms-partner-review-header p{color:#f0e5fb}
.cms-partner-review-overlay .cms-partner-review-tabs,.cms-partner-review-overlay .cms-partner-review-footer{background:#f8f4fc;border-color:#e6daef}
.cms-partner-review-overlay .cms-partner-tab{border-color:#e0d2ee;color:#42236b}
.cms-partner-review-overlay .cms-partner-tab.active{background:#51268a!important;color:#fff!important;border-color:#51268a}
.cms-partner-review-overlay .cms-partner-field,.cms-partner-review-overlay .cms-partner-remarks{color:#392067}
.cms-partner-review-overlay .cms-profile-input{border-color:#ded0ed;background:#fcfaff}
.cms-partner-review-overlay .cms-profile-input[aria-invalid="true"]{border-color:#b32641}
.cms-partner-review-overlay .cms-btn:not(.cms-btn-secondary){background:#51268a;color:#fff}
.cms-partner-review-overlay .cms-btn-secondary{color:#44236d;border-color:#ddceed;background:#f4edf9}
.cms-partner-review-overlay .cms-partner-upload{border-color:#e6daef;background:#faf7fc}
.cms-partner-review-overlay .cms-partner-upload .cms-footnote{display:block}
.cms-partner-review-overlay .cms-partner-review-footer .cms-btn{min-height:44px}
.cms-partner-review-overlay :is(button,input,textarea,select):focus-visible{outline:2px solid #087a80;outline-offset:2px}
