.mam{max-width:1280px}.mam h1{font-size:30px;margin-bottom:18px}.hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;border-radius:14px;background:var(--mam-primary,#160186);color:#fff;margin:18px 0}.hero h2{color:#fff;margin:0 0 6px}.hero p{margin:0;opacity:.9}.cards{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin:18px 0}.card,.panel{background:#fff;border:1px solid #e0e2e5;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.04)}.card{padding:16px}.card small{display:block;color:#646970;margin-bottom:8px}.card strong{font-size:20px}.panel{padding:22px;margin:18px 0}.panel h2{margin-top:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid label{display:flex;flex-direction:column;gap:6px;font-weight:600}.grid input,.grid select,.grid textarea{width:100%;box-sizing:border-box}.actions{display:flex;gap:10px;flex-wrap:wrap}.mam-table{overflow:auto}.mam-table table{min-width:760px}.mam-del{color:#b32d2e!important}.help{color:#646970}.big{font-size:32px;font-weight:700}.mam-online{max-width:560px;padding:24px;border:1px solid #ddd;border-radius:12px;background:#fff}.mam-online label{display:block;font-weight:600}.mam-online input,.mam-online select{width:100%;padding:10px;box-sizing:border-box;margin-top:5px}.mam-online button{padding:11px 20px;border:0;border-radius:6px;cursor:pointer}@media(max-width:1150px){.cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){.cards,.grid{grid-template-columns:1fr}.hero{display:block}.hero .button{margin-top:12px}}.mam-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.mam-section-head h2{margin:0}.mam-section-head .button-primary{border-radius:6px}.mam-dashboard-hero{background:var(--mam-primary,#160186);color:#fff;border-radius:14px;padding:24px;margin:0 0 18px}.mam-dashboard-hero h1,.mam-dashboard-hero p{color:#fff}.mam-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.mam-stat{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px;box-shadow:0 4px 16px rgba(0,0,0,.05)}.mam-stat .label{font-size:13px;color:#6b7280}.mam-stat .value{font-size:24px;font-weight:700;margin-top:6px}.panel{border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.05)}.panel h2{color:#160186}.button-primary{background:#160186!important;border-color:#160186!important}.button-primary:hover{background:#fb7c00!important;border-color:#fb7c00!important}.mam-del{color:#b42318!important}@media(max-width:900px){.mam-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-section-head{align-items:flex-start;flex-direction:column}}.mam-section-head{background:var(--mam-primary,#160186);color:#fff;padding:14px 18px;border-radius:10px;margin:-4px -4px 14px;display:flex;align-items:center;justify-content:space-between}.mam-section-head h2{color:#fff!important;margin:0;font-size:18px}.mam-section-head .button,.mam-section-head .button-primary{background:#fff!important;color:#160186!important;border-color:#fff!important;font-weight:700}.panel{border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(22,1,134,.06)}.panel table thead th{background:#160186;color:#fff}.panel table tbody tr:nth-child(even){background:#f7f8fc}.panel table tbody tr:hover{background:#fff5ec}.mam-stat{border-top:4px solid #160186}.mam-stat:nth-child(2){border-top-color:#fb7c00}.mam-stat:nth-child(3){border-top-color:#16a34a}.button-primary{box-shadow:0 3px 9px rgba(22,1,134,.18)}body.toplevel_page_mam-dashboard .wrap,body[class*="mam-"] .wrap{max-width:1500px}.mam-fund-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--mam-primary,#160186);padding:22px 26px;border-radius:14px;color:#fff;margin:0 0 18px;box-shadow:0 8px 25px rgba(22,1,134,.18)}.mam-fund-topbar h2,.mam-fund-topbar p{color:#fff;margin:0}.mam-fund-topbar h2{font-size:25px}.mam-fund-topbar p{opacity:.9;margin-top:5px}.mam-fund-topbar .button-primary{background:#fff!important;color:#160186!important;border-color:#fff!important;font-weight:700}.mam-list-title{padding:14px 18px;margin:0 0 14px!important;border-radius:9px;color:#fff!important}.income-title{background:var(--mam-primary,#160186)}.mam-action{display:inline-block;padding:5px 10px;border-radius:6px;text-decoration:none;font-weight:600;margin-right:6px}.mam-action.edit{background:#eef2ff;color:#160186}.mam-action.delete{background:#fff0f0;color:#b42318}.mam-action:hover{filter:brightness(.95)}.mam-report-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:20px!important}.mam-report-toolbar form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.mam-report-toolbar label{font-weight:600}.mam-report-toolbar input{display:block;min-width:160px;margin-top:5px}.mam-report-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}.mam-report-card{padding:22px;border-radius:12px;color:#fff;box-shadow:0 7px 20px rgba(0,0,0,.08)}.mam-report-card span{display:block;opacity:.9;font-size:13px}.mam-report-card strong{display:block;font-size:27px;margin-top:7px}.mam-report-card.income{background:var(--mam-primary,#160186)}.mam-report-table table thead th{background:#160186;color:#fff}.mam-report-table table tbody tr:hover{background:#fff5ec}.panel{border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 5px 18px rgba(22,1,134,.06)}.button-primary{background:#160186!important;border-color:#160186!important}.button-primary:hover{background:#fb7c00!important;border-color:#fb7c00!important}@media(max-width:900px){.mam-fund-topbar,.mam-report-toolbar{flex-direction:column;align-items:stretch}.mam-report-cards{grid-template-columns:1fr}}.mam-student-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px!important}.mam-student-thumb{width:42px;height:52px;object-fit:cover;border-radius:6px;border:1px solid #ddd}.mam-integration-note{background:#f7f8ff;border-left:4px solid #160186;padding:15px;margin-top:18px;border-radius:8px}.mam-student-toolbar h2{margin:0}.mam-student-toolbar p{margin:5px 0 0}.mam-report-card strong{letter-spacing:.2px}@media(max-width:900px){.mam-student-toolbar{flex-direction:column;align-items:flex-start}}.mam-badge{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1}.mam-badge.pending{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.mam-badge.approved{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.mam-badge.rejected{background:#fef2f2;color:#b42318;border:1px solid #fecaca}.mam-action.approve{background:#ecfdf5;color:#047857}.mam-action.reject{background:#fef2f2;color:#b42318}.mam-action{white-space:nowrap}.mam-table table{min-width:1050px}.mam-student-toolbar{background:var(--mam-primary,#160186);color:#fff}.mam-student-toolbar h2,.mam-student-toolbar p{color:#fff}.mam-student-toolbar .button{background:#fff!important;color:#160186!important;border-color:#fff!important}.mam-bulk-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mam-bulk-toolbar label{margin:0;font-weight:600}.mam-bulk-toolbar .help{margin:0}.mam-bulk-btn:disabled{opacity:.5;cursor:not-allowed}.mam-table input.mam-student-check,.mam-bulk-toolbar input#mam-select-all{transform:scale(1.05)}.mam-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.mam-settings-grid .panel:last-child{grid-column:1/-1}.mam-toggle{display:block;padding:10px 0;font-weight:600}.mam-color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.mam-color-grid label{display:flex;flex-direction:column;gap:6px;font-weight:600}.mam-logo-field{margin-top:14px;display:flex;align-items:end;gap:10px;flex-wrap:wrap}.mam-logo-field label{flex:1;min-width:300px}.mam-logo-field img{width:70px;height:70px;object-fit:contain;border:1px solid #ddd;border-radius:8px;background:#fff;padding:5px}.mam-shortcodes{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.mam-shortcodes code{padding:8px 10px;background:#f4f4f5;border-radius:6px}@media(max-width:900px){.mam-settings-grid{grid-template-columns:1fr}.mam-color-grid{grid-template-columns:1fr}}.mam-front-login,.mam-front-portal{font-family:Arial,sans-serif;max-width:760px;margin:25px auto;padding:24px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(22,1,134,.08)}.mam-front-login h3,.mam-front-portal h2{color:var(--mam-primary,#160186)}.mam-front-login input{border:1px solid #d1d5db;border-radius:7px}.mam-front-login button{background:var(--mam-primary,#160186);color:#fff;border:0;border-radius:7px;cursor:pointer}.mam-front-portal table{width:100%;border-collapse:collapse}.mam-front-portal th,.mam-front-portal td{padding:9px;border:1px solid #e5e7eb;text-align:left}.mam-front-portal th{background:#160186;color:#fff}.mam-settings-card{overflow:hidden}.mam-settings-head{margin:-22px -22px 20px;padding:18px 22px;background:var(--mam-primary,#160186);color:#fff}.mam-settings-head>div{display:flex;align-items:center;gap:14px}.mam-settings-head h2{color:#fff!important;margin:0 0 3px;font-size:20px}.mam-settings-head p{margin:0;color:#fff;opacity:.9}.mam-settings-icon{width:40px;height:40px;border-radius:11px;background:#ffffff22;display:grid;place-items:center;font-size:20px}.mam-settings-card input,.mam-settings-card select,.mam-settings-card textarea{border-radius:8px;border:1px solid #d9dce3;padding:9px 11px}.mam-settings-card input:focus,.mam-settings-card select:focus,.mam-settings-card textarea:focus{border-color:var(--mam-primary,#160186);box-shadow:0 0 0 2px color-mix(in srgb,var(--mam-primary,#160186) 14%,transparent)}.mam-settings-actions{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:flex-end;margin-top:18px;padding:12px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 24px #0001}.button-hero{padding:8px 20px!important;font-size:15px!important}.mam-login-manager{border-left:4px solid var(--mam-primary,#160186);background:var(--mam-primary,#160186)}.mam-front-login,.mam-front-portal{overflow:hidden;border:0!important;background:var(--mam-primary,#160186)!important;box-shadow:0 18px 45px rgba(22,1,134,.13)!important}.mam-front-login h3,.mam-front-portal h2{font-size:26px}.mam-front-portal .mam-portal-head{display:flex;align-items:center;gap:18px;padding:18px;border-radius:12px;background:var(--mam-primary,#160186);color:#fff}.mam-front-portal .mam-portal-head h2,.mam-front-portal .mam-portal-head p{color:#fff;margin:0}.mam-portal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.mam-portal-stat{padding:16px;border-radius:12px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 4px 15px #0000000a}.mam-portal-stat span{display:block;color:#6b7280;font-size:12px}.mam-portal-stat strong{display:block;font-size:20px;margin-top:5px;color:var(--mam-primary,#160186)}.mam-portal-avatar{width:82px!important;height:100px!important;object-fit:cover;border-radius:12px!important;border:3px solid #fff;box-shadow:0 5px 15px #0002}.mam-front-portal .mam-logout{display:inline-block;margin-top:16px;padding:9px 15px;border-radius:7px;background:var(--mam-primary,#160186);color:#fff;text-decoration:none}.mam-front-login button{background:var(--mam-primary,#160186)!important}.mam-bulk-toolbar{position:sticky;top:32px;z-index:4;background:#fff}.mam-bulk-btn{min-width:145px}.mam-table .mam-student-check{width:18px;height:18px}@media(max-width:700px){.mam-login-manager .grid,.mam-portal-grid{grid-template-columns:1fr}.mam-settings-actions{position:static}.mam-bulk-toolbar{top:0}}.mam-fee-search{margin-bottom:16px}.mam-fee-search-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mam-fee-search-row input{min-width:300px;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px}.mam-found-student{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;padding:13px 15px;border-radius:10px;background:#f7f8ff;border-left:4px solid var(--mam-primary,#160186)}.mam-found-student strong{color:var(--mam-primary,#160186)}.mam-color-control{padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:var(--mam-primary,#160186);box-shadow:0 4px 12px #0000000a}.mam-color-control>span{display:block;font-weight:700;margin-bottom:9px}.mam-color-line{display:flex;gap:9px;align-items:center}.mam-color-picker{width:52px!important;height:42px!important;padding:3px!important;border-radius:9px!important;cursor:pointer}.mam-color-line input[type=text]{flex:1!important;min-width:0}.mam-password-toggle{display:inline-flex!important;align-items:center;gap:6px;margin:6px 0 10px;font-weight:600}.mam-password-toggle input{width:auto!important}.mam-portal-button{display:inline-block;padding:10px 15px;border-radius:8px;background:var(--mam-primary,#160186);color:#fff!important;text-decoration:none;font-weight:700;margin-right:8px}#adminmenu #toplevel_page_mam-dashboard{margin:8px 8px 12px!important;border-radius:12px;overflow:hidden;background:var(--mam-primary,#160186);box-shadow:0 8px 24px rgba(16,24,64,.22)}#adminmenu #toplevel_page_mam-dashboard>a{background:var(--mam-primary,#160186)!important;color:#fff!important;font-weight:800;border-left:0!important;padding-top:11px;padding-bottom:11px}#adminmenu #toplevel_page_mam-dashboard>a .wp-menu-image:before{color:#ffd166!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu{position:relative!important;left:auto!important;top:auto!important;width:auto!important;margin:0!important;padding:7px!important;background:#f6f8ff!important;border:0!important;box-shadow:none!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu li{margin:2px 0!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu a{border-radius:7px!important;padding:7px 10px!important;color:#25305e!important;font-weight:600!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu a:hover,#adminmenu #toplevel_page_mam-dashboard .wp-submenu .current a{background:var(--mam-primary,#160186)!important;color:#160186!important}.mam-institution-header{display:flex;align-items:center;gap:18px;padding:20px 24px;margin:0 0 18px;border-radius:16px;background:var(--mam-primary,#160186);color:#fff;box-shadow:0 10px 28px rgba(22,1,134,.18)}.mam-inst-logo{width:76px;height:76px;flex:0 0 76px;border-radius:14px;background:#fff;display:grid;place-items:center;padding:7px;box-shadow:0 5px 18px #0002}.mam-inst-logo img{max-width:100%;max-height:100%;object-fit:contain}.mam-inst-placeholder{font-size:32px;color:var(--mam-primary,#160186)}.mam-inst-kicker,.mam-section-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;opacity:.82}.mam-inst-copy h2{margin:2px 0 2px;color:#fff;font-size:24px}.mam-inst-copy p{margin:0 0 7px;color:#fff;opacity:.9}.mam-inst-meta{display:inline-block;margin:3px 12px 0 0;color:#fff;opacity:.92;font-size:12px}.mam-dashboard-hero{display:flex;justify-content:space-between;align-items:center;padding:20px 24px!important;border:0!important}.mam-dashboard-hero h2{margin:3px 0;color:#fff;font-size:23px}.mam-dashboard-hero p{margin:0;color:#fff;opacity:.9}.mam-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.mam-dash-action{display:inline-block;padding:11px 16px;border-radius:9px;text-decoration:none;font-weight:800;background:#fff;color:#160186;box-shadow:0 5px 14px #0002}.mam-dash-action.donation{border-bottom:3px solid #22c55e}.mam-dash-action.student-fee{border-bottom:3px solid #fb7c00}.mam-dash-action:hover{transform:translateY(-1px)}.mam-finance-cards{grid-template-columns:repeat(6,1fr)!important}.mam-finance-card{border:0!important;color:#fff;min-height:95px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 8px 22px #00000012!important}.mam-finance-card small{color:#fff!important;opacity:.88}.mam-finance-card strong{color:#fff!important;font-size:21px}.mam-finance-card.income{background:var(--mam-primary,#160186)}.mam-stat-section,.mam-quick-access{margin-top:18px!important;padding:20px!important}.mam-stat-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.mam-stat-head h2{margin:3px 0 0;color:#18235d;font-size:20px}.mam-total-pill{padding:7px 12px;border-radius:999px;background:#eef2ff;color:#160186;font-weight:800}.mam-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mam-mini-card{padding:16px;border-radius:12px;border-left:5px solid;box-shadow:0 5px 15px #0000000b;background:#fff}.mam-mini-card span{display:block;color:#64748b;font-size:12px}.mam-mini-card strong{display:block;font-size:25px;margin-top:4px}.mam-mini-card.pending{border-color:#f59e0b}.mam-mini-card.pending strong{color:#b45309}.mam-mini-card.approved{border-color:#10b981}.mam-mini-card.approved strong{color:#047857}.mam-mini-card.rejected{border-color:#ef4444}.mam-mini-card.rejected strong{color:#b42318}.mam-mini-card.active{border-color:#3b82f6}.mam-mini-card.active strong{color:#2563eb}.mam-breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.mam-breakdown{padding:17px;border-radius:12px;background:#f8faff;border:1px solid #e6e9f5}.mam-breakdown h3{margin:0 0 12px;color:#25305e}.mam-chip-list{display:flex;gap:9px;flex-wrap:wrap}.mam-stat-chip{display:flex;gap:9px;align-items:center;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #dde3f2}.mam-stat-chip b{color:#334155}.mam-stat-chip em{font-style:normal;font-weight:800;color:#160186;background:#eef2ff;border-radius:999px;padding:2px 7px}.mam-stat-chip.staff-chip em{color:#b45309;background:#fff1df}.mam-empty{color:#94a3b8}.mam-staff-total{margin-top:14px;color:#64748b}.mam-staff-total strong{color:#160186;font-size:20px;margin-left:6px}.mam-quick-access .actions{display:flex;gap:10px;flex-wrap:wrap}.mam-quick-access .button{min-width:120px;text-align:center;border-radius:8px!important}.mam-quick-access .button:nth-child(2){border-color:#fb7c00!important;color:#b45309!important}.mam-quick-access .button:nth-child(3){border-color:#0f9d58!important;color:#087f5b!important}.mam-quick-access .button:nth-child(4){border-color:#2563eb!important;color:#2563eb!important}.mam-report-toolbar{background:var(--mam-primary,#160186)!important;border:1px solid #e3e7f3!important}.mam-report-toolbar h2{color:#18235d}.mam-report-toolbar form{background:#f4f6ff;padding:12px;border-radius:10px}.mam-report-toolbar .button{border-radius:8px!important}.mam-report-table{border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #0000000b}.mam-report-table table thead th{background:var(--mam-primary,#160186)!important;padding:11px}.mam-report-table table tbody td{padding:10px}.mam-report-table table tbody tr:nth-child(even){background:#fafbff}.mam-student-toolbar{margin-top:18px!important}.mam-student-toolbar+ .panel form#mam-student-filter{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}.mam-student-toolbar+ .panel form#mam-student-filter input,.mam-student-toolbar+ .panel form#mam-student-filter select{height:38px!important;margin:0!important;box-sizing:border-box}.mam-student-toolbar+ .panel form#mam-student-filter input{flex:1;min-width:220px}.mam-student-toolbar+ .panel form#mam-student-filter select{width:150px}.mam-student-toolbar+ .panel{padding:15px!important}.mam-table{overflow-x:auto}.mam-table table thead th{background:#f1f4ff}.mam-table table tbody tr:hover{background:#fffaf4}.mam-action{font-size:12px!important}.mam-badge{padding:6px 10px!important}.mam-front-portal{max-width:980px!important;padding:0!important;border-radius:18px!important;background:#f6f8fc!important}.mam-front-portal .mam-portal-head{padding:22px 24px!important;border-radius:18px 18px 0 0!important;justify-content:space-between}.mam-portal-brand{display:flex;align-items:center;gap:14px}.mam-portal-logo{width:58px;height:58px;border-radius:11px;background:#fff;padding:5px;object-fit:contain;box-shadow:0 4px 12px #0002}.mam-portal-brand h2{font-size:22px!important;margin:0!important}.mam-portal-brand p{font-size:13px!important;margin:4px 0!important;opacity:.9}.mam-portal-brand small{display:block;color:#fff;opacity:.8;font-size:11px;max-width:520px}.mam-front-portal .mam-portal-avatar{width:82px!important;height:100px!important;flex:0 0 82px!important;border-radius:10px!important;object-fit:cover!important}.mam-front-portal .mam-portal-grid{padding:20px 24px 0;margin:0!important}.mam-front-portal .mam-portal-stat{min-height:78px}.mam-front-portal>h3{margin:20px 24px 12px!important;color:#18235d}.mam-front-portal>div[style*="overflow:auto"]{margin:0 24px}.mam-front-portal .mam-logout{margin:20px 24px 24px!important}.mam-portal-profile{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:22px 24px}.mam-portal-profile>div{background:#fff;border:1px solid #e3e7f0;border-radius:12px;padding:14px;box-shadow:0 4px 12px #0000000a}.mam-portal-profile span{display:block;font-size:11px;color:#64748b}.mam-portal-profile strong{display:block;color:#18235d;font-size:16px;margin-top:5px}.mam-staff-badge{padding:8px 12px;border-radius:999px;background:#fff;color:#160186;font-weight:800}.mam-staff-portal .mam-logout{display:inline-block}@media(max-width:1100px){.mam-finance-cards{grid-template-columns:repeat(3,1fr)!important}.mam-mini-grid{grid-template-columns:repeat(2,1fr)}.mam-portal-profile{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.mam-dashboard-hero,.mam-institution-header,.mam-portal-head{flex-direction:column;align-items:flex-start}.mam-finance-cards,.mam-mini-grid,.mam-breakdown-grid,.mam-portal-profile{grid-template-columns:1fr!important}.mam-student-toolbar+ .panel form#mam-student-filter{flex-wrap:wrap}.mam-student-toolbar+ .panel form#mam-student-filter input,.mam-student-toolbar+ .panel form#mam-student-filter select{width:100%;flex:auto}.mam-portal-head .mam-portal-avatar{align-self:flex-end}}#adminmenu #toplevel_page_mam-dashboard{background:#14213d!important;border-radius:12px!important;border:1px solid #243b64!important}#adminmenu #toplevel_page_mam-dashboard>a{background:#1f3a68!important;color:#fff!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu{background:#eef3fa!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu a:hover,#adminmenu #toplevel_page_mam-dashboard .wp-submenu .current a{background:#dbe7f7!important;color:#14213d!important}.mam-institution-header{background:#14213d!important;box-shadow:0 8px 24px rgba(20,33,61,.16)!important}.mam-dashboard-hero,.mam-fund-topbar{background:#243b64!important}.mam-dashboard-hero .mam-hero-actions .donation{border-bottom-color:#16a34a!important}.mam-dashboard-hero .mam-hero-actions .student-fee{border-bottom-color:#f97316!important}.mam-finance-card.income{background:#1d4ed8!important}.mam-finance-card.expense{background:#dc2626!important}.mam-finance-card.balance{background:#047857!important}.mam-finance-card.donation{background:#0f766e!important}.mam-finance-card.student-fee{background:#ea580c!important}.mam-finance-card.salary{background:#475569!important}.mam-report-card.income{background:#1d4ed8!important}.mam-report-card.expense{background:#dc2626!important}.mam-report-card.balance{background:#047857!important}.mam-section-head,.mam-fund-topbar,.mam-student-toolbar{background:#243b64!important}.income-title{background:#1d4ed8!important}.expense-title{background:#dc2626!important}.mam-list-title{background:#1d4ed8!important}.expense-title{background:#dc2626!important}.mam-top-action{display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#14213d!important;border:0;border-radius:9px;padding:10px 16px;font-weight:800;text-decoration:none;box-shadow:0 4px 12px rgba(0,0,0,.12)}.mam-top-action:hover{background:#f4f7fb;color:#14213d!important}.mam-form-panel{border-top:4px solid #1d4ed8!important}.mam-form-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;padding-bottom:12px;margin-bottom:16px}.mam-form-title h2{margin:2px 0;color:#14213d}.mam-form-actions{display:flex;gap:8px;align-items:center}.mam .grid label{font-size:13px;color:#334155}.mam .grid input,.mam .grid select,.mam .grid textarea{min-height:42px;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:9px 11px!important;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}.mam .grid input:focus,.mam .grid select:focus,.mam .grid textarea:focus{border-color:#1d4ed8!important;box-shadow:0 0 0 2px rgba(29,78,216,.12)!important;outline:0}.mam-table table thead th{background:#243b64!important;color:#fff!important}.mam-table table tbody td{padding:11px 10px!important}.mam-table table tbody tr:nth-child(even){background:#f8fafc!important}.mam-table table tbody tr:hover{background:#eef5ff!important}.mam-front-portal.mam-portal-shell{max-width:1180px!important;padding:0!important;background:#f1f5f9!important;border:1px solid #dbe3ee!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 14px 40px rgba(15,23,42,.12)!important;color:#1e293b}.mam-portal-shell .mam-portal-head{background:#14213d!important;padding:18px 24px!important;border-radius:0!important;min-height:88px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#fff!important}.mam-portal-shell .mam-portal-logo{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;border-radius:10px!important;padding:4px!important;background:#fff!important;object-fit:contain!important}.mam-portal-shell .mam-portal-brand{gap:12px!important}.mam-portal-shell .mam-portal-brand h2{font-size:21px!important;line-height:1.25!important}.mam-portal-shell .mam-portal-brand p{margin:3px 0!important}.mam-portal-shell .mam-portal-brand small{max-width:600px!important;color:#dbe7f7!important}.mam-portal-user{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.mam-portal-user strong{display:block}.mam-portal-user span{font-size:12px;color:#dbe7f7}.mam-portal-body{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:580px}.mam-portal-sidebar{background:#172554;padding:16px 12px}.mam-portal-sidebar-title{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#93c5fd;font-weight:800;padding:8px 10px 14px}.mam-portal-sidebar nav{display:flex;flex-direction:column;gap:5px}.mam-portal-sidebar a{display:block;color:#e2e8f0!important;text-decoration:none!important;padding:11px 12px;border-radius:8px;font-weight:700;font-size:13px}.mam-portal-sidebar a:hover{background:#243b64;color:#fff!important}.mam-portal-sidebar a.active{background:#1d4ed8;color:#fff!important;box-shadow:0 4px 12px rgba(29,78,216,.28)}.mam-portal-sidebar a.logout{margin-top:18px;background:#7f1d1d;color:#fff!important}.mam-portal-main{padding:24px;background:#f8fafc;min-width:0}.mam-portal-page-title{border-bottom:1px solid #dbe3ee;padding-bottom:14px;margin-bottom:18px}.mam-portal-page-title span{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#64748b;font-weight:800}.mam-portal-page-title h1{margin:4px 0 0;color:#14213d;font-size:24px}.mam-portal-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border:1px solid #dbe3ee;border-left:5px solid #1d4ed8;border-radius:12px;padding:20px;margin-bottom:18px}.mam-portal-welcome span{font-size:11px;color:#64748b;letter-spacing:1.3px;font-weight:800}.mam-portal-welcome h2{margin:4px 0;color:#14213d}.mam-portal-welcome p{margin:0;color:#64748b}.mam-portal-status{background:#dcfce7;color:#166534;border-radius:999px;padding:7px 12px;font-weight:800;white-space:nowrap}.mam-portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px!important;padding:0!important;margin:0 0 18px!important}.mam-portal-stat{background:#fff!important;border:1px solid #dbe3ee!important;border-top:3px solid #1d4ed8!important;border-radius:10px!important;padding:15px!important;min-height:78px!important;box-shadow:0 3px 12px rgba(15,23,42,.04)!important}.mam-portal-stat span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.6px}.mam-portal-stat strong{display:block;color:#14213d;font-size:18px;margin-top:6px;word-break:break-word}.mam-portal-card{background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:18px;margin-bottom:18px}.mam-portal-card h3{margin:0 0 14px;color:#14213d}.mam-portal-table{overflow:auto}.mam-portal-table table{width:100%;border-collapse:collapse;min-width:620px}.mam-portal-table th{background:#243b64;color:#fff;text-align:left;padding:10px}.mam-portal-table td{padding:10px;border-bottom:1px solid #e5e7eb}.mam-portal-table tr:nth-child(even) td{background:#f8fafc}.mam-portal-profile{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0!important}.mam-portal-profile>div{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:10px!important;padding:15px!important;box-shadow:none!important}.mam-portal-profile span{display:block;color:#64748b;font-size:11px;text-transform:uppercase}.mam-portal-profile strong{display:block;color:#14213d;font-size:15px;margin-top:6px}.mam-empty-state{min-height:180px;display:flex;flex-direction:column;justify-content:center}.mam-staff-badge{background:#fef3c7!important;color:#92400e!important;padding:7px 11px!important;border-radius:999px!important;font-weight:800!important}@media(max-width:850px){.mam-portal-body{grid-template-columns:1fr}.mam-portal-sidebar{padding:10px}.mam-portal-sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}.mam-portal-sidebar a.logout{margin-top:0}.mam-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.mam-portal-shell .mam-portal-head{align-items:flex-start!important;flex-direction:column!important}.mam-portal-user{justify-content:flex-start}.mam-portal-grid,.mam-portal-profile{grid-template-columns:1fr!important}.mam-portal-main{padding:16px}}.mam,.mam *{box-sizing:border-box;}.mam .hero,.mam .mam-dashboard-hero,.mam .mam-fund-topbar,.mam .mam-section-head,.mam .mam-student-toolbar,.mam .mam-settings-head,.mam .mam-institution-header,.mam .mam-report-toolbar,.mam .mam-report-table table thead th,.mam .mam-finance-card,.mam .mam-report-card,.mam .mam-list-title,.mam .income-title,.mam .expense-title{background-image:none!important;}.mam .mam-report-toolbar{background:#f8fafc!important}.mam .mam-report-toolbar form{background:#eef3fa!important}.mam .mam-section-head,.mam .mam-fund-topbar,.mam .mam-student-toolbar,.mam .mam-dashboard-hero{background:#243b64!important}.mam .mam-institution-header{background:#14213d!important}.mam .income-title,.mam .mam-list-title{background:#1d4ed8!important}.mam .expense-title{background:#dc2626!important}.mam input[type=text],.mam input[type=search],.mam input[type=email],.mam input[type=number],.mam input[type=date],.mam input[type=password],.mam input[type=url],.mam select,.mam textarea,.mam-online input,.mam-online select,.mam-front-login input,.mam-front-login select,.mam-settings-card input,.mam-settings-card select,.mam-settings-card textarea{min-height:42px!important;height:42px!important;width:100%;padding:9px 11px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#1e293b!important;font-size:14px!important;font-weight:400!important;box-shadow:0 1px 2px rgba(15,23,42,.03)!important;outline:none!important;}.mam textarea,.mam-settings-card textarea{height:auto!important;min-height:100px!important}.mam select{appearance:auto!important;-webkit-appearance:auto!important;padding-right:11px!important}.mam input:focus,.mam select:focus,.mam textarea:focus{border-color:#1d4ed8!important;box-shadow:0 0 0 2px rgba(29,78,216,.10)!important}.mam label{line-height:1.35}body.mam-portal-page .site-content,body.mam-portal-page .content-area{max-width:none!important;width:100%!important;padding:0!important}.mam-front-portal.mam-portal-shell{width:min(1180px,calc(100vw - 32px))!important;max-width:1180px!important;margin:28px auto!important;padding:0!important;background:#f3f6fa!important;border:1px solid #d8e0ea!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 12px 32px rgba(15,23,42,.10)!important;color:#1e293b!important;}.mam-portal-shell .mam-portal-head{background:#14213d!important;background-image:none!important;min-height:96px!important;padding:16px 24px!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;}.mam-portal-shell .mam-portal-logo{width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;border-radius:10px!important;background:#fff!important;padding:5px!important;object-fit:contain!important;box-shadow:none!important}.mam-portal-shell .mam-portal-brand{display:flex!important;align-items:center!important;gap:14px!important;min-width:0}.mam-portal-shell .mam-portal-brand h2{font-size:22px!important;line-height:1.25!important;margin:0!important;color:#fff!important;font-weight:700!important}.mam-portal-shell .mam-portal-brand p{font-size:13px!important;line-height:1.4!important;margin:4px 0!important;color:#dbe7f7!important}.mam-portal-shell .mam-portal-brand small{display:block!important;max-width:700px!important;color:#cbd5e1!important;font-size:12px!important;line-height:1.45!important}.mam-portal-shell .mam-portal-user{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-end!important;min-width:190px}.mam-portal-shell .mam-portal-user strong{color:#fff!important;font-size:14px!important}.mam-portal-shell .mam-portal-user span{color:#cbd5e1!important;font-size:12px!important}.mam-portal-shell .mam-portal-avatar{width:52px!important;height:64px!important;flex:0 0 52px!important;object-fit:cover!important;border-radius:8px!important;border:2px solid #fff!important;box-shadow:none!important}.mam-portal-body{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;min-height:620px!important}.mam-portal-sidebar{background:#172554!important;background-image:none!important;padding:18px 12px!important}.mam-portal-sidebar-title{color:#bfdbfe!important;font-size:11px!important;letter-spacing:1.4px!important;text-transform:uppercase!important;font-weight:800!important;padding:6px 10px 14px!important}.mam-portal-sidebar nav{gap:6px!important}.mam-portal-sidebar a{display:flex!important;align-items:center!important;min-height:42px!important;padding:10px 12px!important;color:#e2e8f0!important;background:transparent!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important}.mam-portal-sidebar a:hover{background:#243b64!important;color:#fff!important}.mam-portal-sidebar a.active{background:#1d4ed8!important;color:#fff!important;box-shadow:none!important}.mam-portal-sidebar a.logout{margin-top:20px!important;background:#991b1b!important;color:#fff!important}.mam-portal-main{padding:26px!important;background:#f8fafc!important;min-width:0!important}.mam-portal-page-title{border-bottom:1px solid #dbe3ee!important;padding-bottom:14px!important;margin-bottom:18px!important}.mam-portal-page-title span{color:#64748b!important;font-size:11px!important;letter-spacing:1.2px!important;font-weight:800!important;text-transform:uppercase!important}.mam-portal-page-title h1{color:#14213d!important;font-size:25px!important;margin:4px 0 0!important}.mam-portal-welcome{background:#fff!important;border:1px solid #dbe3ee!important;border-left:5px solid #1d4ed8!important;border-radius:12px!important;padding:20px!important;margin-bottom:18px!important}.mam-portal-welcome h2{color:#14213d!important;margin:4px 0!important;font-size:22px!important}.mam-portal-welcome p{color:#64748b!important;margin:0!important}.mam-portal-status{background:#dcfce7!important;color:#166534!important;border-radius:999px!important;padding:7px 12px!important;font-weight:800!important}.mam-portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important;padding:0!important}.mam-portal-stat{background:#fff!important;border:1px solid #dbe3ee!important;border-top:3px solid #1d4ed8!important;border-radius:10px!important;padding:15px!important;min-height:80px!important;box-shadow:0 3px 12px rgba(15,23,42,.04)!important}.mam-portal-stat span{color:#64748b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.6px!important}.mam-portal-stat strong{color:#14213d!important;font-size:18px!important;margin-top:6px!important}.mam-portal-card{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:12px!important;padding:18px!important;margin-bottom:18px!important}.mam-portal-card h3{color:#14213d!important;margin:0 0 14px!important}.mam-portal-table{overflow:auto!important}.mam-portal-table table{width:100%!important;border-collapse:collapse!important;min-width:620px!important}.mam-portal-table th{background:#243b64!important;color:#fff!important;padding:11px!important;text-align:left!important}.mam-portal-table td{padding:11px!important;border-bottom:1px solid #e5e7eb!important}.mam-portal-table tr:nth-child(even) td{background:#f8fafc!important}.mam-portal-profile{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;padding:0!important}.mam-portal-profile>div{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:10px!important;padding:15px!important;box-shadow:none!important}.mam-portal-profile span{color:#64748b!important;font-size:11px!important;text-transform:uppercase!important}.mam-portal-profile strong{color:#14213d!important;font-size:15px!important;margin-top:6px!important}.mam-empty-state{min-height:180px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.mam-staff-badge{background:#dbeafe!important;color:#1e3a8a!important;padding:7px 11px!important;border-radius:7px!important;font-weight:800!important}@media(max-width:850px){.mam-portal-body{grid-template-columns:1fr!important}.mam-portal-sidebar{padding:10px!important}.mam-portal-sidebar nav{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.mam-portal-sidebar a.logout{margin-top:0!important}.mam-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.mam-portal-shell .mam-portal-head{align-items:flex-start!important;flex-direction:column!important}.mam-portal-user{justify-content:flex-start!important}.mam-portal-grid,.mam-portal-profile{grid-template-columns:1fr!important}.mam-portal-main{padding:16px!important}.mam-front-portal.mam-portal-shell{width:calc(100vw - 20px)!important;margin:12px auto!important}}body.mam-portal-page{background:#f4f6f9!important}body.mam-portal-page .site-content,body.mam-portal-page .content-area,body.mam-portal-page .site-main{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}body.mam-portal-page .entry-content{margin:0!important;padding:0!important}.mam-front-portal.mam-portal-shell{width:min(1240px,calc(100vw - 30px))!important;max-width:1240px!important;margin:22px auto!important;background:#fff!important;border:1px solid #d7dee8!important;border-radius:14px!important;box-shadow:0 10px 28px rgba(15,23,42,.08)!important;overflow:hidden!important}.mam-portal-shell .mam-portal-head{background:#173ea5!important;background-image:none!important;min-height:100px!important;padding:16px 24px!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}.mam-portal-shell .mam-portal-logo{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;border-radius:50%!important;background:#fff!important;padding:4px!important;object-fit:contain!important;box-shadow:none!important;border:2px solid rgba(255,255,255,.85)!important}.mam-portal-shell .mam-portal-brand{display:flex!important;align-items:center!important;gap:15px!important;min-width:0!important}.mam-portal-shell .mam-portal-brand h2{font-size:22px!important;line-height:1.25!important;margin:0!important;color:#fff!important;font-weight:700!important}.mam-portal-shell .mam-portal-brand p{display:none!important}.mam-portal-shell .mam-portal-brand small{display:block!important;max-width:680px!important;color:#eff6ff!important;font-size:12px!important;line-height:1.45!important}.mam-portal-shell .mam-portal-user{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-end!important;min-width:250px!important}.mam-portal-shell .mam-portal-user strong{color:#fff!important;font-size:15px!important;display:block!important}.mam-portal-shell .mam-portal-user span{color:#dbeafe!important;font-size:12px!important;display:block!important}.mam-portal-shell .mam-portal-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;object-fit:cover!important;border-radius:50%!important;border:2px solid #fff!important;box-shadow:none!important}.mam-portal-body{display:grid!important;grid-template-columns:195px minmax(0,1fr)!important;min-height:650px!important}.mam-portal-sidebar{background:#f0a800!important;background-image:none!important;padding:18px 12px!important;border-right:1px solid #d28d00!important}.mam-portal-sidebar-title{color:#fff!important;font-size:12px!important;letter-spacing:1.1px!important;text-transform:uppercase!important;font-weight:800!important;padding:8px 10px 16px!important}.mam-portal-sidebar nav{display:flex!important;flex-direction:column!important;gap:7px!important}.mam-portal-sidebar a{display:flex!important;align-items:center!important;min-height:44px!important;padding:11px 14px!important;color:#fff!important;background:transparent!important;border-radius:8px!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;transition:none!important}.mam-portal-sidebar a:hover{background:#d99100!important;color:#fff!important}.mam-portal-sidebar a.active{background:#173ea5!important;color:#fff!important;box-shadow:none!important}.mam-portal-sidebar a.logout{margin-top:22px!important;background:#b42318!important;color:#fff!important}.mam-portal-sidebar a.logout:hover{background:#991b1b!important}.mam-portal-main{padding:28px!important;background:#fff!important;min-width:0!important}.mam-portal-page-title{border-bottom:1px solid #dbe3ee!important;padding:0 0 14px!important;margin:0 0 20px!important}.mam-portal-page-title span{display:block!important;color:#173ea5!important;font-size:18px!important;line-height:1.2!important;letter-spacing:.8px!important;font-weight:800!important;text-transform:uppercase!important}.mam-portal-page-title h1{color:#64748b!important;font-size:14px!important;line-height:1.3!important;margin:4px 0 0!important;font-weight:500!important}.mam-portal-welcome{background:#f8fafc!important;border:1px solid #dbe3ee!important;border-left:5px solid #173ea5!important;border-radius:10px!important;padding:20px!important;margin-bottom:18px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important}.mam-portal-welcome h2{color:#14213d!important;margin:4px 0!important;font-size:23px!important}.mam-portal-welcome p{color:#64748b!important;margin:0!important;line-height:1.55!important}.mam-portal-status{background:#15803d!important;color:#fff!important;border-radius:7px!important;padding:8px 12px!important;font-weight:800!important;white-space:nowrap!important}.mam-portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 20px!important;padding:0!important}.mam-portal-stat{background:#fff!important;border:1px solid #dbe3ee!important;border-top:4px solid #173ea5!important;border-radius:9px!important;padding:16px!important;min-height:88px!important;box-shadow:0 3px 10px rgba(15,23,42,.04)!important}.mam-portal-stat:nth-child(2){border-top-color:#0f766e!important}.mam-portal-stat:nth-child(3){border-top-color:#d97706!important}.mam-portal-stat:nth-child(4){border-top-color:#7c3aed!important}.mam-portal-stat span{display:block!important;color:#64748b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.6px!important}.mam-portal-stat strong{display:block!important;color:#14213d!important;font-size:19px!important;margin-top:7px!important;word-break:break-word!important}.mam-portal-card{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:10px!important;padding:20px!important;margin-bottom:18px!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important}.mam-portal-card h3{color:#14213d!important;margin:0 0 15px!important;font-size:18px!important}.mam-portal-table{overflow:auto!important}.mam-portal-table table{width:100%!important;border-collapse:collapse!important;min-width:620px!important}.mam-portal-table th{background:#173ea5!important;color:#fff!important;padding:12px!important;text-align:left!important;font-size:13px!important}.mam-portal-table td{padding:12px!important;border-bottom:1px solid #e5e7eb!important;color:#334155!important;font-size:13px!important}.mam-portal-table tr:nth-child(even) td{background:#f8fafc!important}.mam-portal-profile{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;padding:0!important}.mam-portal-profile>div{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:9px!important;padding:16px!important;box-shadow:none!important}.mam-portal-profile span{display:block!important;color:#64748b!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.5px!important}.mam-portal-profile strong{display:block!important;color:#14213d!important;font-size:15px!important;margin-top:7px!important}.mam-staff-badge{background:#fff!important;color:#173ea5!important;padding:7px 10px!important;border-radius:7px!important;font-weight:800!important}.mam-profile-photo-wrap{display:flex!important;justify-content:flex-start!important;align-items:center!important;margin:0 0 16px!important}.mam-profile-photo{width:96px!important;height:116px!important;object-fit:cover!important;border:1px solid #dbe3ee!important;border-radius:8px!important;background:#f8fafc!important;padding:3px!important}.mam-profile-photo-placeholder{width:96px!important;height:116px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px dashed #cbd5e1!important;border-radius:8px!important;background:#f8fafc!important;color:#94a3b8!important;font-size:12px!important}.mam-portal-profile strong{line-height:1.45!important}.mam input[type=text],.mam input[type=search],.mam input[type=email],.mam input[type=number],.mam input[type=date],.mam input[type=password],.mam input[type=url],.mam textarea,.mam select,.mam-online input,.mam-online select,.mam-front-login input,.mam-front-login select,.mam-settings-card input,.mam-settings-card select,.mam-settings-card textarea{box-sizing:border-box!important;min-height:40px!important;height:40px!important;padding:8px 10px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background-color:#fff!important;color:#1e293b!important;font-size:14px!important;font-weight:400!important;box-shadow:none!important;outline:none!important;pointer-events:auto!important;position:relative!important;z-index:2!important}.mam select,.mam-online select,.mam-front-login select,.mam-settings-card select{appearance:auto!important;-webkit-appearance:auto!important;-moz-appearance:auto!important;cursor:pointer!important;background-image:none!important;padding-right:28px!important}.mam select option,.mam-online select option,.mam-front-login select option,.mam-settings-card select option{background:#fff!important;color:#1e293b!important}.mam input:focus,.mam select:focus,.mam textarea:focus{border-color:#173ea5!important;box-shadow:0 0 0 2px rgba(23,62,165,.10)!important}@media(max-width:850px){.mam-portal-body{grid-template-columns:1fr!important}.mam-portal-sidebar{padding:12px!important}.mam-portal-sidebar nav{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.mam-portal-sidebar a.logout{margin-top:0!important}.mam-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.mam-front-portal.mam-portal-shell{width:calc(100vw - 16px)!important;margin:8px auto!important}.mam-portal-shell .mam-portal-head{align-items:flex-start!important;flex-direction:column!important;padding:16px!important}.mam-portal-shell .mam-portal-user{justify-content:flex-start!important;min-width:0!important}.mam-portal-grid,.mam-portal-profile{grid-template-columns:1fr!important}.mam-portal-main{padding:16px!important}.mam-portal-welcome{align-items:flex-start!important;flex-direction:column!important}}.mam-settings-card input[type="checkbox"],.mam-settings-card input[type="radio"]{appearance:auto!important;-webkit-appearance:auto!important;-moz-appearance:auto!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;margin:0 8px 0 0!important;border:0!important;border-radius:3px!important;background:transparent!important;box-shadow:none!important;position:static!important;z-index:auto!important;pointer-events:auto!important;cursor:pointer!important;accent-color:#173ea5!important;}.mam-settings-card .mam-toggle{display:flex!important;align-items:center!important;gap:0!important;min-height:46px!important;padding:11px 14px!important;margin:0 0 8px!important;border:1px solid #dbe3ee!important;border-radius:8px!important;background:#fff!important;color:#1e293b!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;}.mam-settings-card .mam-toggle:hover{background:#f8fafc!important}.mam-settings-card .mam-toggle span{display:inline-block!important;line-height:1.35!important}.mam-settings-actions{display:flex!important;justify-content:flex-end!important;margin-top:16px!important;}.mam-settings-actions .button-primary,.mam-settings-actions .button-hero{min-height:38px!important;height:38px!important;padding:0 18px!important;font-size:13px!important;line-height:36px!important;border-radius:7px!important;box-shadow:none!important;}.mam-payroll-staff-info{min-height:40px;display:flex;align-items:center;padding:8px 10px;border:1px solid #dbe3ee;border-radius:7px;background:#f8fafc;color:#64748b;font-size:13px}.mam-setting-preview{min-height:40px;display:flex;align-items:center;padding:8px 10px;border:1px solid #dbe3ee;border-radius:7px;background:#f8fafc;color:#173ea5}.mam-logo-field img#mam_staff_photo_preview{display:block;margin-top:8px}.mam-portal-shell,.mam-portal-shell *{box-sizing:border-box}.mam-portal-shell{--portal-primary:var(--mam-primary,#160186);--portal-secondary:var(--mam-secondary,#2d1bb3);--portal-accent:var(--mam-accent,#fb7c00);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}.mam-portal-shell .mam-portal-head{background:var(--portal-primary)!important;background-image:none!important;min-height:92px!important;padding:14px 22px!important;border:0!important}.mam-portal-shell .mam-portal-logo{width:62px!important;height:62px!important;border-color:#fff!important}.mam-portal-shell .mam-portal-brand h2{font-size:21px!important;font-weight:750!important}.mam-portal-shell .mam-portal-brand small{font-size:11px!important;color:rgba(255,255,255,.82)!important}.mam-portal-shell .mam-portal-user{min-width:260px!important}.mam-portal-shell .mam-portal-avatar{width:52px!important;height:62px!important;border-radius:9px!important}.mam-portal-shell .mam-portal-avatar-placeholder{width:52px;height:62px;flex:0 0 52px;border-radius:9px;background:#fff;color:var(--portal-primary);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}.mam-role-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;color:var(--portal-primary)!important;border-radius:7px!important;padding:8px 10px!important;font-size:11px!important;font-weight:850!important;letter-spacing:.5px!important;margin-left:4px!important}.mam-portal-body{grid-template-columns:205px minmax(0,1fr)!important}.mam-portal-sidebar{background:var(--mam-primary,#160186)!important;border-right:0!important;padding:20px 12px!important}.mam-portal-sidebar-title{color:rgba(255,255,255,.72)!important;padding:7px 12px 14px!important}.mam-portal-sidebar nav{gap:7px!important}.mam-portal-sidebar a{gap:10px!important;min-height:43px!important;color:rgba(255,255,255,.88)!important;padding:10px 12px!important;border-radius:9px!important;font-size:13px!important;font-weight:650!important}.mam-portal-sidebar a:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-portal-sidebar a.active{background:var(--portal-primary)!important;color:#fff!important;box-shadow:0 6px 16px rgba(0,0,0,.14)!important}.mam-portal-sidebar a.logout{margin-top:22px!important;background:var(--portal-accent)!important;color:#fff!important}.mam-nav-icon{width:24px!important;height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;background:rgba(255,255,255,.10)!important;font-size:13px!important;font-weight:800!important;flex:0 0 24px!important}.mam-portal-sidebar a.active .mam-nav-icon{background:#fff!important;color:var(--portal-primary)!important}.mam-portal-main{padding:28px 30px!important;background:#f5f7fb!important}.mam-portal-page-title{border-bottom:1px solid #dbe3ee!important;padding-bottom:14px!important;margin-bottom:20px!important}.mam-portal-page-title span{color:var(--portal-primary)!important;font-size:23px!important;letter-spacing:.6px!important;font-weight:850!important}.mam-portal-page-title h1{color:#64748b!important;font-size:13px!important;margin:5px 0 0!important;font-weight:500!important}.mam-portal-welcome{background:#fff!important;border:1px solid #e1e7f0!important;border-left:5px solid var(--portal-primary)!important;border-radius:13px!important;padding:22px!important;box-shadow:0 6px 18px rgba(15,23,42,.04)!important}.mam-portal-welcome h2{font-size:24px!important}.mam-portal-welcome p{max-width:760px!important}.mam-portal-status{background:var(--portal-primary)!important;color:#fff!important;border-radius:7px!important}.mam-portal-grid{gap:14px!important}.mam-portal-stat{border-top:4px solid var(--portal-primary)!important;border-color:#e0e6ef!important;border-top-color:var(--portal-primary)!important;background:#fff!important;box-shadow:0 5px 15px rgba(15,23,42,.045)!important}.mam-portal-stat:nth-child(2){border-top-color:var(--portal-secondary)!important}.mam-portal-stat:nth-child(3){border-top-color:var(--portal-accent)!important}.mam-portal-stat:nth-child(4){border-top-color:var(--portal-primary)!important}.mam-portal-stat strong{color:#172554!important}.mam-portal-card{border:1px solid #e0e6ef!important;box-shadow:0 5px 15px rgba(15,23,42,.035)!important}.mam-card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 14px!important}.mam-card-head h3{margin:0!important}.mam-card-head p{margin:4px 0 0!important;color:#64748b!important;font-size:12px!important}.mam-card-head>span{font-size:11px!important;font-weight:800!important;color:var(--portal-primary)!important;background:color-mix(in srgb,var(--portal-primary) 9%,white)!important;border-radius:999px!important;padding:6px 9px!important;white-space:nowrap!important}.mam-portal-table th{background:var(--portal-primary)!important}.mam-portal-table tr:hover td{background:color-mix(in srgb,var(--portal-primary) 4%,white)!important}.mam-portal-profile{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mam-portal-profile>div{background:#fff!important}.mam-portal-profile>div.wide{grid-column:1/-1}.mam-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:4px}.mam-quick-grid>a{display:flex;flex-direction:column;gap:5px;min-height:112px;padding:17px;border:1px solid #e0e6ef;border-radius:12px;background:#fff;text-decoration:none!important;box-shadow:0 5px 15px rgba(15,23,42,.035);transition:transform .15s ease,box-shadow .15s ease}.mam-quick-grid>a:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(15,23,42,.08)}.mam-quick-grid>a>span{width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--portal-primary) 10%,white);color:var(--portal-primary);display:flex;align-items:center;justify-content:center;font-weight:850}.mam-quick-grid>a strong{color:#172554;font-size:14px}.mam-quick-grid>a small{color:#64748b;font-size:11px}.mam-dashboard-salary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;margin-bottom:18px;background:var(--mam-primary,#160186);border:1px solid color-mix(in srgb,var(--portal-primary) 16%,#dbe3ee);border-radius:13px}.mam-dashboard-salary>div:first-child span{font-size:10px;font-weight:850;letter-spacing:1px;color:var(--portal-primary)}.mam-dashboard-salary h3{margin:4px 0 2px;color:#172554;font-size:20px}.mam-dashboard-salary p{margin:0;color:#64748b;font-size:12px}.salary-highlight{text-align:right}.salary-highlight small{display:block;color:#64748b;font-size:10px}.salary-highlight strong{display:block;color:var(--portal-primary);font-size:24px;margin-top:4px}.mam-empty-state{text-align:center;padding:48px 25px!important}.mam-empty-icon{width:54px;height:54px;margin:0 auto 12px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--portal-primary) 10%,white);color:var(--portal-primary);font-size:24px;font-weight:850}.mam-empty-state h3{margin-bottom:8px!important}.mam-empty-state p{max-width:700px;margin:0 auto 15px!important;color:#64748b;line-height:1.6}.mam-info-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--portal-primary) 9%,white);color:var(--portal-primary);font-size:11px;font-weight:800}.mam-profile-photo-wrap{margin-bottom:18px!important}.mam-profile-photo{width:100px!important;height:120px!important;border:3px solid #fff!important;box-shadow:0 5px 15px rgba(15,23,42,.12)!important}.mam-profile-photo-placeholder{width:100px!important;height:120px!important}@media(max-width:1000px){.mam-portal-body{grid-template-columns:185px minmax(0,1fr)!important}.mam-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:850px){.mam-portal-body{grid-template-columns:1fr!important}.mam-portal-sidebar{padding:10px!important}.mam-portal-sidebar nav{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.mam-portal-sidebar a.logout{margin-top:0!important}.mam-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-dashboard-salary{align-items:flex-start;flex-direction:column}.salary-highlight{text-align:left}}@media(max-width:560px){.mam-quick-grid,.mam-portal-profile{grid-template-columns:1fr!important}.mam-portal-main{padding:17px!important}.mam-portal-page-title span{font-size:20px!important}.mam-portal-shell .mam-portal-user{min-width:0!important}.mam-role-badge{margin-left:0!important}.mam-dashboard-salary{padding:16px!important}}.mam-portal-shell{--portal-primary:var(--mam-primary,#160186);--portal-secondary:var(--mam-secondary,#2d1bb3);--portal-accent:var(--mam-accent,#fb7c00);font-family:inherit!important;background:#f5f7fb!important;color:#172033!important;border:1px solid #e3e8f0!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important}.mam-front-portal.mam-portal-shell{width:min(1380px,calc(100vw - 28px))!important;max-width:1380px!important;margin:18px auto!important;background:#f5f7fb!important}.mam-portal-shell .mam-portal-head{min-height:92px!important;padding:14px 24px!important;background:var(--mam-primary,#160186)!important;background-image:none!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;color:#fff!important}.mam-portal-shell .mam-portal-brand{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}.mam-portal-shell .mam-portal-logo{width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;border-radius:50%!important;object-fit:contain!important;background:#fff!important;padding:3px!important;border:2px solid #fff!important;box-shadow:none!important}.mam-portal-shell .mam-portal-brand h2{margin:0!important;color:#fff!important;font-size:22px!important;line-height:1.2!important;font-weight:700!important}.mam-portal-shell .mam-portal-brand small{display:block!important;margin-top:5px!important;color:rgba(255,255,255,.82)!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important}.mam-portal-shell .mam-portal-user{display:flex!important;align-items:center!important;gap:10px!important;min-width:220px!important;justify-content:flex-end!important}.mam-portal-shell .mam-portal-user strong{display:block!important;color:#fff!important;font-size:15px!important;font-weight:700!important}.mam-portal-shell .mam-portal-user span{display:block!important;color:rgba(255,255,255,.78)!important;font-size:12px!important;margin-top:2px!important}.mam-portal-shell .mam-portal-avatar{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;min-height:52px!important;max-height:52px!important;object-fit:cover!important;border-radius:50%!important;border:2px solid #fff!important;background:#fff!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;color:var(--mam-primary,#160186)!important;font-weight:800!important}.mam-portal-shell .mam-avatar-placeholder{background:#fff!important;color:var(--mam-primary,#160186)!important;font-size:19px!important}.mam-portal-body{display:grid!important;grid-template-columns:205px minmax(0,1fr)!important;min-height:680px!important;background:#f5f7fb!important}.mam-portal-shell .mam-portal-sidebar{background:var(--mam-secondary,#2d1bb3)!important;background-image:none!important;padding:18px 12px!important;border-right:0!important;min-height:100%!important}.mam-portal-shell .mam-portal-sidebar-title{color:#fff!important;font-size:12px!important;letter-spacing:1.2px!important;text-transform:uppercase!important;font-weight:800!important;padding:8px 10px 14px!important}.mam-portal-shell .mam-portal-sidebar nav{display:flex!important;flex-direction:column!important;gap:6px!important}.mam-portal-shell .mam-portal-sidebar a{display:flex!important;align-items:center!important;min-height:44px!important;padding:10px 13px!important;color:rgba(255,255,255,.88)!important;background:transparent!important;border-radius:7px!important;font-size:14px!important;font-weight:600!important;text-decoration:none!important;transition:none!important}.mam-portal-shell .mam-portal-sidebar a:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}.mam-portal-shell .mam-portal-sidebar a.active{background:var(--mam-primary,#160186)!important;color:#fff!important;box-shadow:none!important}.mam-portal-shell .mam-portal-sidebar a.logout{margin-top:auto!important;background:var(--mam-accent,#fb7c00)!important;color:#fff!important}.mam-portal-shell .mam-portal-sidebar a.logout:hover{background:var(--mam-accent,#fb7c00)!important;color:#fff!important}.mam-portal-shell .mam-portal-main{padding:28px 30px 34px!important;background:#f5f7fb!important;min-width:0!important}.mam-portal-shell .mam-portal-page-title{border-bottom:1px solid #dce3ec!important;padding:0 0 14px!important;margin:0 0 20px!important}.mam-portal-shell .mam-portal-page-title span{display:block!important;color:var(--mam-primary,#160186)!important;font-size:23px!important;line-height:1.15!important;letter-spacing:.8px!important;font-weight:800!important;text-transform:uppercase!important}.mam-portal-shell .mam-portal-page-title h1{color:#6b7280!important;font-size:13px!important;line-height:1.3!important;margin:5px 0 0!important;font-weight:500!important}.mam-portal-shell .mam-portal-welcome{background:#fff!important;border:1px solid #dfe5ed!important;border-left:4px solid var(--mam-primary,#160186)!important;border-radius:9px!important;padding:20px 22px!important;margin-bottom:18px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;box-shadow:0 3px 12px rgba(15,23,42,.04)!important}.mam-portal-shell .mam-portal-welcome span{color:var(--mam-primary,#160186)!important;font-size:11px!important;letter-spacing:1.2px!important;font-weight:800!important}.mam-portal-shell .mam-portal-welcome h2{color:#172033!important;margin:5px 0!important;font-size:25px!important;font-weight:700!important}.mam-portal-shell .mam-portal-welcome p{color:#64748b!important;margin:0!important;line-height:1.55!important}.mam-portal-shell .mam-portal-status{background:var(--mam-secondary,#2d1bb3)!important;color:#fff!important;border-radius:6px!important;padding:8px 13px!important;font-weight:800!important;white-space:nowrap!important}.mam-portal-shell .mam-portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important;padding:0!important}.mam-portal-shell .mam-portal-stat{background:#fff!important;border:1px solid #dfe5ed!important;border-top:3px solid var(--stat-color,var(--mam-primary,#160186))!important;border-radius:8px!important;padding:15px!important;min-height:88px!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important}.mam-portal-shell .mam-portal-stat span{display:block!important;color:#718096!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.65px!important;font-weight:600!important}.mam-portal-shell .mam-portal-stat strong{display:block!important;color:var(--mam-primary,#160186)!important;font-size:19px!important;margin-top:7px!important;word-break:break-word!important;font-weight:700!important;line-height:1.3!important}.mam-portal-shell .mam-portal-card{background:#fff!important;border:1px solid #dfe5ed!important;border-radius:9px!important;padding:20px!important;margin-bottom:18px!important;box-shadow:0 3px 10px rgba(15,23,42,.035)!important}.mam-portal-shell .mam-portal-card h3{color:#172033!important;margin:0!important;font-size:17px!important;font-weight:700!important}.mam-portal-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:15px!important}.mam-portal-card-head span{color:#64748b!important;font-size:12px!important}.mam-portal-card-head a{color:var(--mam-primary,#160186)!important;font-size:12px!important;font-weight:700!important;text-decoration:none!important}.mam-portal-shell .mam-portal-table{overflow:auto!important}.mam-portal-shell .mam-portal-table table{width:100%!important;border-collapse:collapse!important;min-width:680px!important}.mam-portal-shell .mam-portal-table th{background:var(--mam-primary,#160186)!important;color:#fff!important;padding:11px!important;text-align:left!important;font-size:12px!important;font-weight:700!important}.mam-portal-shell .mam-portal-table td{padding:11px!important;border-bottom:1px solid #e7ebf0!important;color:#334155!important;font-size:12px!important;background:#fff!important}.mam-portal-shell .mam-portal-table tr:nth-child(even) td{background:#f8fafc!important}.mam-portal-shell .mam-portal-profile{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:0!important}.mam-portal-shell .mam-portal-profile>div{background:#fff!important;border:1px solid #e1e6ed!important;border-radius:8px!important;padding:14px!important;box-shadow:none!important}.mam-portal-shell .mam-portal-profile span{display:block!important;color:#718096!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.5px!important;font-weight:600!important}.mam-portal-shell .mam-portal-profile strong{display:block!important;color:#172033!important;font-size:14px!important;margin-top:6px!important;line-height:1.45!important}.mam-portal-shell .mam-profile-layout{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}.mam-portal-shell .mam-profile-photo-wrap{display:flex!important;justify-content:center!important;align-items:flex-start!important;margin:0!important}.mam-portal-shell .mam-profile-photo{width:112px!important;height:132px!important;object-fit:cover!important;border:2px solid var(--mam-primary,#160186)!important;border-radius:8px!important;background:#fff!important;padding:3px!important}.mam-portal-shell .mam-profile-photo-placeholder{width:112px!important;height:132px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px dashed #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#94a3b8!important;font-size:12px!important}.mam-portal-shell .mam-empty-state{text-align:left!important;padding:34px!important}.mam-portal-shell .mam-empty-state h3{margin-bottom:8px!important}.mam-portal-shell .mam-empty-state p{color:#64748b!important;margin:0!important;line-height:1.6!important}.mam-portal-shell .mam-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0!important}@media(max-width:950px){.mam-portal-body{grid-template-columns:180px minmax(0,1fr)!important}.mam-portal-shell .mam-portal-main{padding:22px!important}.mam-portal-shell .mam-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-shell .mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:700px){.mam-front-portal.mam-portal-shell{width:calc(100vw - 14px)!important;margin:7px auto!important}.mam-portal-shell .mam-portal-head{padding:14px 16px!important;align-items:flex-start!important}.mam-portal-shell .mam-portal-user{min-width:0!important}.mam-portal-body{grid-template-columns:1fr!important}.mam-portal-shell .mam-portal-sidebar{padding:10px!important}.mam-portal-shell .mam-portal-sidebar nav{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:5px!important}.mam-portal-shell .mam-portal-sidebar a.logout{margin-top:0!important}.mam-portal-shell .mam-portal-main{padding:16px!important}.mam-portal-shell .mam-portal-page-title span{font-size:19px!important}.mam-portal-shell .mam-portal-grid,.mam-portal-shell .mam-portal-profile,.mam-portal-shell .mam-mini-grid{grid-template-columns:1fr!important}.mam-portal-shell .mam-profile-layout{grid-template-columns:1fr!important}.mam-portal-shell .mam-profile-photo-wrap{justify-content:flex-start!important}.mam-portal-shell .mam-portal-welcome{align-items:flex-start!important;flex-direction:column!important}}.mam,.mam-portal-shell,.mam-portal-shell *{background-image:none!important}.mam .hero,.mam .mam-dashboard-hero,.mam .mam-section-head,.mam .mam-fund-topbar,.mam .mam-student-toolbar,.mam .mam-institution-header,.mam .mam-finance-card,.mam .mam-settings-head,.mam .mam-login-manager,.mam .mam-front-login{background:var(--mam-primary,#160186)!important}.mam .mam-finance-card.expense{background:var(--mam-accent,#fb7c00)!important}.mam .mam-finance-card.balance{background:var(--mam-secondary,#2d1bb3)!important}.mam .mam-finance-card.donation{background:var(--mam-secondary,#2d1bb3)!important}.mam .mam-finance-card.student-fee{background:var(--mam-primary,#160186)!important}.mam .mam-finance-card.salary{background:var(--mam-accent,#fb7c00)!important}.mam .button-primary,.mam .button-primary:focus{background:var(--mam-primary,#160186)!important;border-color:var(--mam-primary,#160186)!important}.mam .button-primary:hover{background:var(--mam-secondary,#2d1bb3)!important;border-color:var(--mam-secondary,#2d1bb3)!important}.mam-color-grid-expanded{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;margin-top:16px!important}.mam-color-grid-expanded .mam-color-control{background:#fff!important;border:1px solid #dbe3ee!important;border-radius:10px!important;padding:12px!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important}.mam-color-grid-expanded .mam-color-control>span{display:block!important;color:#14213d!important;font-weight:700!important;font-size:12px!important;margin-bottom:8px!important}.mam-color-grid-expanded .mam-color-line{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:8px!important;align-items:center!important}.mam-color-grid-expanded .mam-color-picker{width:42px!important;height:38px!important;padding:2px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important}.mam-color-grid-expanded .mam-color-line input[type=text]{height:38px!important;min-height:38px!important;background:#f8fafc!important;color:#14213d!important;font-weight:600!important}.mam-portal-shell{width:min(1180px,calc(100vw - 30px))!important;max-width:1180px!important;margin:24px auto!important}.mam-portal-shell .mam-portal-head{min-height:108px!important;padding:18px 24px!important;background:var(--mam-header,#14213d)!important}.mam-portal-shell .mam-portal-brand{align-items:center!important}.mam-portal-shell .mam-portal-brand h2{font-size:23px!important;margin:0!important;color:#fff!important}.mam-portal-shell .mam-portal-contact{font-size:11px!important;line-height:1.55!important;color:#e2e8f0!important;margin-top:5px!important;max-width:760px!important}.mam-portal-shell .mam-portal-user{min-width:190px!important}.mam-portal-shell .mam-portal-user strong{font-size:14px!important;color:#fff!important}.mam-portal-shell .mam-portal-user span{color:#e2e8f0!important}.mam-portal-shell .mam-portal-body{grid-template-columns:230px minmax(0,1fr)!important;min-height:620px!important}.mam-portal-shell .mam-portal-sidebar{background:var(--mam-sidebar,#243b64)!important;padding:18px 13px!important}.mam-portal-shell .mam-portal-sidebar a{color:#fff!important;padding:12px 13px!important}.mam-portal-shell .mam-portal-sidebar a:hover{background:var(--mam-secondary,#243b64)!important;color:#fff!important}.mam-portal-shell .mam-portal-sidebar a.active{background:var(--mam-sidebar-active,#160186)!important;color:#fff!important}.mam-portal-shell .mam-portal-sidebar a.logout{background:var(--mam-accent,#fb7c00)!important}.mam-portal-shell .mam-portal-main{padding:28px!important;background:#f7f9fc!important}.mam-portal-shell .mam-portal-page-title{padding-bottom:16px!important;margin-bottom:20px!important}.mam-portal-shell .mam-portal-page-title span{font-size:25px!important;letter-spacing:.5px!important;color:var(--mam-primary,#160186)!important}.mam-portal-shell .mam-portal-page-title h1{font-size:12px!important;color:var(--mam-text,#475569)!important;font-weight:500!important;margin-top:4px!important}.mam-portal-shell .mam-portal-welcome{border-left-color:var(--mam-primary,#160186)!important;background:var(--mam-card,#fff)!important}.mam-portal-shell .mam-portal-stat{border-top-color:var(--mam-primary,#160186)!important;background:var(--mam-card,#fff)!important}.mam-portal-shell .mam-portal-card{background:var(--mam-card,#fff)!important;border-color:var(--mam-border,#dbe3ee)!important}.mam-portal-shell .mam-portal-card-head a{color:var(--mam-primary,#160186)!important;font-weight:700!important}.mam-portal-shell .mam-portal-table th{background:var(--mam-secondary,#243b64)!important}@media(max-width:950px){.mam-color-grid-expanded{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-shell .mam-portal-body{grid-template-columns:200px minmax(0,1fr)!important}}@media(max-width:700px){.mam-color-grid-expanded{grid-template-columns:1fr!important}.mam-portal-shell{width:calc(100vw - 14px)!important;margin:8px auto!important}.mam-portal-shell .mam-portal-head{min-height:auto!important;padding:16px!important}.mam-portal-shell .mam-portal-body{grid-template-columns:1fr!important}.mam-portal-shell .mam-portal-main{padding:18px!important}.mam-portal-shell .mam-portal-page-title span{font-size:20px!important}}.mam .panel,.mam .mam-settings-card,.mam .mam-report-card,.mam .mam-finance-card,.mam .mam-table,.mam .mam-list-card{background:var(--mam-card,#fff)!important;border-color:var(--mam-border,#dbe3ee)!important}.mam .panel h2,.mam .panel h3,.mam .mam-form-title h2,.mam .mam-settings-head h2{color:var(--mam-heading,#14213d)!important}.mam .panel p,.mam .help,.mam label{color:var(--mam-text,#475569)}.mam .mam-table table thead th,.mam .mam-table table th,.mam .mam-report-table table thead th{background:var(--mam-secondary,#243b64)!important;color:#fff!important}.mam .mam-top-action{border:1px solid var(--mam-border,#dbe3ee)!important}.mam .mam-form-panel{border-top-color:var(--mam-primary,#160186)!important}.mam .mam-form-panel .mam-form-actions .button-primary,.mam .button-primary{background:var(--mam-primary,#160186)!important;border-color:var(--mam-primary,#160186)!important}.mam .mam-form-panel .mam-form-actions .button-primary:hover,.mam .button-primary:hover{background:var(--mam-secondary,#243b64)!important;border-color:var(--mam-secondary,#243b64)!important}.mam input:focus,.mam select:focus,.mam textarea:focus{border-color:var(--mam-primary,#160186)!important}#adminmenu #toplevel_page_mam-dashboard>a{background:var(--mam-sidebar,#243b64)!important}#adminmenu #toplevel_page_mam-dashboard .wp-submenu .current a,#adminmenu #toplevel_page_mam-dashboard .wp-submenu a:hover{background:var(--mam-sidebar-active,#160186)!important;color:#fff!important}.mam .income-title,.mam .mam-list-title{background:var(--mam-primary,#160186)!important}.mam .expense-title{background:var(--mam-accent,#fb7c00)!important}.mam .mam-finance-card.income,.mam .mam-report-card.income{background:var(--mam-primary,#160186)!important}.mam .mam-finance-card.expense,.mam .mam-report-card.expense{background:var(--mam-accent,#fb7c00)!important}.mam .mam-finance-card.balance,.mam .mam-report-card.balance{background:var(--mam-secondary,#243b64)!important}.mam-operator-login-wrap{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:30px 16px;background:#f4f6f9}.mam-operator-login-card{width:min(430px,100%);background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:30px;box-shadow:0 12px 30px rgba(15,23,42,.10);text-align:left}.mam-operator-login-logo{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 12px;border-radius:12px}.mam-operator-login-brand{text-align:center;margin-bottom:22px}.mam-operator-login-brand h1{margin:0;color:#14213d;font-size:25px}.mam-operator-login-brand p{margin:5px 0;color:#64748b;font-size:13px}.mam-operator-login-card label{display:block;color:#334155;font-weight:700;font-size:13px;margin:0 0 14px}.mam-operator-login-card input[type=text],.mam-operator-login-card input[type=password],.mam-operator-login-card input[type=email]{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b}.mam-operator-login-card button{width:100%;min-height:44px;border:0;border-radius:8px;background:var(--mam-primary,#1d4ed8);color:#fff;font-weight:800;cursor:pointer}.mam-operator-login-card button:hover{background:var(--mam-secondary,#243b64)}.mam-operator-remember{display:flex!important;align-items:center;gap:7px;font-weight:500!important}.mam-operator-remember input{width:auto!important;min-height:auto!important}.mam-operator-note{text-align:center;color:#64748b;font-size:12px;margin:18px 0 0}.mam-login-error{padding:10px 12px;background:#fee2e2;color:#991b1b;border-radius:8px;font-size:13px}.mam-operator-account-card{border-left:4px solid var(--mam-primary,#1d4ed8)}.mam-erp{display:flex;min-height:100vh;background:#f4f7fb;color:var(--mam-text,#475569);font-family:inherit}.mam-erp-sidebar{width:250px;background:var(--mam-sidebar,#243b64);color:#fff;padding:20px 14px;box-sizing:border-box;display:flex;flex-direction:column}.mam-erp-brand{display:flex;gap:11px;align-items:center;padding:4px 8px 22px;border-bottom:1px solid rgba(255,255,255,.16);margin-bottom:14px}.mam-erp-brand img{width:46px;height:46px;object-fit:contain;border-radius:50%;background:#fff}.mam-erp-brand strong{display:block;font-size:15px;line-height:1.25}.mam-erp-brand small{opacity:.72}.mam-erp-nav{display:flex;flex-direction:column;gap:5px}.mam-erp-nav a{display:flex;gap:11px;align-items:center;color:#fff;text-decoration:none;padding:12px 13px;border-radius:8px;font-size:14px}.mam-erp-nav a:hover,.mam-erp-nav a.active{background:var(--mam-sidebar-active,#160186);color:#fff}.mam-erp-nav a span{width:22px;text-align:center;font-size:18px}.mam-erp-logout{margin-top:auto;background:#b42318;color:#fff;text-decoration:none;text-align:center;padding:12px;border-radius:8px;font-weight:600}.mam-erp-main{flex:1;min-width:0}.mam-erp-header{min-height:92px;background:var(--mam-header,#160186);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 30px;box-sizing:border-box}.mam-erp-inst{display:flex;gap:14px;align-items:center}.mam-erp-inst img{width:54px;height:54px;object-fit:contain;border-radius:50%;background:#fff}.mam-erp-inst h1{font-size:21px;margin:0 0 3px;color:#fff}.mam-erp-inst p,.mam-erp-inst div div{margin:0;font-size:12px;color:rgba(255,255,255,.8)}.mam-erp-user{text-align:right}.mam-erp-user strong{display:block}.mam-erp-user small{opacity:.72}.mam-erp-content{padding:28px;max-width:1500px;margin:0 auto}.mam-erp-page-title h2{font-size:27px;margin:0;color:var(--mam-heading,#14213d)}.mam-erp-page-title p{margin:5px 0 20px;color:var(--mam-text,#475569)}.mam-module-content .wrap{margin:0}.mam-module-content .wrap>h1{display:none}.mam-module-content .panel{background:var(--mam-card,#fff);border:1px solid var(--mam-border,#dbe3ee);border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.04);margin-bottom:18px}.mam-management-login{min-height:100vh;background:#f4f7fb;display:flex;align-items:center;justify-content:center;padding:25px}.mam-login-card{width:min(430px,100%);background:#fff;border:1px solid var(--mam-border,#dbe3ee);border-radius:16px;padding:34px;box-shadow:0 12px 40px rgba(15,23,42,.08);text-align:center}.mam-login-card img{width:75px;height:75px;object-fit:contain}.mam-login-card h1{color:var(--mam-heading,#14213d);margin:12px 0 3px}.mam-login-card p{margin:0 0 22px}.mam-login-card label{display:block;text-align:left;font-weight:600;margin:13px 0}.mam-login-card input:not([type=checkbox]){width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid var(--mam-border,#dbe3ee);border-radius:8px}.mam-login-card button{width:100%;padding:12px;border:0;border-radius:8px;background:var(--mam-primary,#160186);color:#fff;font-weight:700}.mam-login-card .remember{font-weight:400}.mam-login-error{background:#fff1f2;color:#b42318;padding:9px;border-radius:8px;margin-bottom:12px}.mam-permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px;margin:10px 0}.mam-permission-item{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid var(--mam-border,#dbe3ee);border-radius:8px;background:#fff}.mam-permission-item input{margin:0}@media(max-width:900px){.mam-erp-sidebar{width:205px}.mam-erp-header{padding:12px 18px}.mam-erp-content{padding:18px}}@media(max-width:700px){.mam-erp{display:block}.mam-erp-sidebar{width:100%;min-height:auto}.mam-erp-nav{display:grid;grid-template-columns:repeat(2,1fr)}.mam-erp-logout{margin-top:12px}.mam-erp-header{align-items:flex-start;gap:10px}.mam-erp-user{display:none}.mam-erp-content{padding:14px}}body.mam-management-page{background:#f4f7fb!important}body.mam-management-page #wpadminbar,body.mam-management-page header.site-header,body.mam-management-page footer.site-footer,body.mam-management-page .site-header,body.mam-management-page .site-footer,body.mam-management-page .elementor-location-header,body.mam-management-page .elementor-location-footer,body.mam-management-page .main-header-bar,body.mam-management-page .ast-header-break-point,body.mam-management-page .site-navigation{display:none!important}body.mam-management-page .site-content,body.mam-management-page .content-area,body.mam-management-page .site-main,body.mam-management-page .entry-content,body.mam-management-page .page-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}body.mam-management-page .entry-title{display:none!important}.mam-management-app{--mam-primary:var(--mam-primary,#1E8E6E);--mam-secondary:var(--mam-secondary,#2563EB);--mam-accent:var(--mam-accent,#F59E0B);--mam-header:var(--mam-header,#fff);--mam-sidebar:var(--mam-sidebar,#123B35);--mam-sidebar-active:var(--mam-sidebar-active,#1E8E6E);--mam-card:var(--mam-card,#fff);--mam-heading:var(--mam-heading,#16324F);--mam-text:var(--mam-text,#5B677A);--mam-border:var(--mam-border,#E2E8F0);display:grid!important;grid-template-columns:250px minmax(0,1fr);min-height:100vh;background:#f4f7fb;color:var(--mam-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background-image:none!important}.mam-management-sidebar{position:sticky;top:0;height:100vh;background:var(--mam-sidebar)!important;color:#fff;padding:18px 14px;display:flex;flex-direction:column;overflow:auto;background-image:none!important}.mam-management-brand{display:flex;align-items:center;gap:11px;padding:6px 7px 20px;border-bottom:1px solid rgba(255,255,255,.12)}.mam-management-brand img,.mam-brand-placeholder{width:46px;height:46px;flex:0 0 46px;border-radius:10px;object-fit:contain;background:#fff;padding:3px;color:var(--mam-sidebar);display:flex;align-items:center;justify-content:center;font-weight:800}.mam-management-brand strong{display:block;font-size:15px;line-height:1.25}.mam-management-brand small{display:block;margin-top:3px;color:rgba(255,255,255,.68);font-size:11px}.mam-sidebar-section-title{font-size:10px;letter-spacing:1.4px;font-weight:800;color:rgba(255,255,255,.5);padding:20px 10px 9px}.mam-management-nav{display:flex;flex-direction:column;gap:4px}.mam-management-nav a{display:flex;align-items:center;gap:10px;min-height:43px;padding:10px 12px;color:rgba(255,255,255,.82)!important;text-decoration:none!important;border-radius:8px;font-size:13px;font-weight:600;transition:none!important;background:transparent!important}.mam-management-nav a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.mam-management-nav a.active{background:var(--mam-sidebar-active)!important;color:#fff!important;box-shadow:none!important}.mam-nav-icon{width:24px;text-align:center;font-size:16px;color:inherit}.mam-management-sidebar-footer{margin-top:auto;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}.mam-side-user{display:flex;gap:9px;align-items:center;padding:8px 7px 12px}.mam-side-avatar,.mam-top-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--mam-secondary);color:#fff;font-weight:800}.mam-side-user strong{display:block;font-size:12px}.mam-side-user small{display:block;font-size:10px;color:rgba(255,255,255,.6);margin-top:2px}.mam-management-logout{display:block;text-align:center;padding:10px;border-radius:7px;background:var(--mam-accent)!important;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:12px}.mam-management-main{min-width:0;background:#f4f7fb}.mam-management-topbar{min-height:86px;background:var(--mam-header)!important;border-bottom:1px solid var(--mam-border);display:flex;align-items:center;justify-content:space-between;padding:18px 30px;gap:20px}.mam-management-topbar h1{margin:0;color:var(--mam-heading);font-size:24px;line-height:1.2}.mam-management-topbar p{margin:5px 0 0;color:var(--mam-text);font-size:12px}.mam-top-user{display:flex;align-items:center;gap:9px}.mam-top-user strong{display:block;color:var(--mam-heading);font-size:12px}.mam-top-user small{display:block;color:var(--mam-text);font-size:10px;margin-top:2px}.mam-management-content{padding:26px 30px 34px;min-width:0}.mam-front-notice{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0;border-left:4px solid var(--mam-primary);padding:11px 14px;border-radius:7px;margin-bottom:16px;font-size:13px}.mam-management-content .mam{margin:0!important;padding:0!important;max-width:none!important}.mam-management-content .mam>h1,.mam-management-content .mam>.mam-institution-header{display:none!important}.mam-management-content .mam .panel{border:1px solid var(--mam-border)!important;border-radius:10px!important;background:var(--mam-card)!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}.mam-management-content .mam .cards{gap:14px!important}.mam-management-content .mam .card{border-radius:10px!important}.mam-management-content .mam .mam-dashboard-hero{border-radius:10px!important;background:var(--mam-primary)!important}.mam-management-content .mam .mam-dashboard-hero h2{font-size:22px}.mam-management-content .mam .mam-section-head,.mam-management-content .mam .mam-fund-topbar,.mam-management-content .mam .mam-student-toolbar,.mam-management-content .mam .mam-settings-head{background:var(--mam-secondary)!important;border-radius:9px!important}.mam-management-content .mam .mam-table,.mam-management-content .mam .mam-report-table{border-radius:9px!important}.mam-management-content .mam .mam-table table thead th,.mam-management-content .mam .mam-report-table table thead th{background:var(--mam-secondary)!important}.mam-management-content .mam .button-primary{background:var(--mam-primary)!important;border-color:var(--mam-primary)!important}.mam-management-content .mam .button-primary:hover{background:var(--mam-secondary)!important;border-color:var(--mam-secondary)!important}.mam-management-content .mam .mam-finance-card{border-top:4px solid var(--mam-primary)!important;background:var(--mam-card)!important;color:var(--mam-heading)!important}.mam-management-content .mam .mam-finance-card small{color:var(--mam-text)!important}.mam-management-content .mam .mam-finance-card strong{color:var(--mam-heading)!important}.mam-password-wrap{margin:0 0 14px}.mam-password-wrap label{display:block;position:relative}.mam-password-wrap input{width:100%;padding-right:76px!important}.mam-toggle-password{position:absolute;right:6px;bottom:5px;height:30px!important;min-height:30px!important;padding:3px 9px!important;border:1px solid #cbd5e1!important;background:#fff!important;border-radius:6px!important;color:var(--mam-secondary)!important}.mam-color-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.mam-reset-default-colors{border-color:var(--mam-secondary)!important;color:var(--mam-secondary)!important;background:#fff!important}.mam-reset-default-colors:hover{background:#eff6ff!important}.mam-user-permission-list{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.mam-user-permission-row{border:1px solid var(--mam-border);border-radius:9px;padding:13px;background:#fff;display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;align-items:start}.mam-user-permission-name strong{display:block;color:var(--mam-heading);font-size:13px}.mam-user-permission-name small{display:block;color:var(--mam-text);font-size:11px;margin-top:3px}.mam-user-permission-checks{display:flex;flex-wrap:wrap;gap:7px}.mam-user-permission-checks label{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid var(--mam-border);border-radius:7px;background:#f8fafc;font-size:11px;color:var(--mam-heading)}.mam-user-permission-checks input{margin:0}.mam-user-permission-settings h3{margin:18px 0 10px;color:var(--mam-heading)}@media(max-width:900px){.mam-management-app{grid-template-columns:205px minmax(0,1fr)}.mam-management-content{padding:20px}.mam-management-topbar{padding:16px 20px}.mam-user-permission-row{grid-template-columns:1fr}}@media(max-width:700px){.mam-management-app{grid-template-columns:1fr}.mam-management-sidebar{position:relative;height:auto;min-height:0}.mam-management-nav{display:grid;grid-template-columns:repeat(2,1fr)}.mam-management-sidebar-footer{margin-top:14px}.mam-management-topbar{align-items:flex-start;flex-direction:column}.mam-management-content{padding:14px}.mam-management-brand{padding-bottom:12px}.mam-sidebar-section-title{padding-top:12px}}body.mam-portal-page .site-content,body.mam-portal-page .content-area,body.mam-portal-page .site-main,body.mam-portal-page .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.mam-front-portal.mam-portal-shell{width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#f4f7fb!important}.mam-portal-shell .mam-portal-head{display:none!important}.mam-portal-body{grid-template-columns:235px minmax(0,1fr)!important;min-height:100vh!important}.mam-portal-sidebar{position:sticky!important;top:0!important;height:100vh!important;background:var(--mam-sidebar,#123B35)!important;padding:18px 12px!important;border:0!important;border-top-right-radius:14px!important;border-bottom-right-radius:14px!important}.mam-portal-sidebar-title{font-size:14px!important;letter-spacing:1.1px!important;color:#fff!important;padding:10px 10px 18px!important;border-bottom:1px solid rgba(255,255,255,.12)!important;margin-bottom:12px!important}.mam-portal-sidebar nav{gap:4px!important}.mam-portal-sidebar a{min-height:43px!important;padding:10px 12px!important;border-radius:8px!important;color:rgba(255,255,255,.82)!important;font-size:13px!important;background:transparent!important}.mam-portal-sidebar a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.mam-portal-sidebar a.active{background:var(--mam-sidebar-active,#1E8E6E)!important;color:#fff!important;box-shadow:none!important}.mam-portal-sidebar a.logout{margin-top:20px!important;background:var(--mam-accent,#F59E0B)!important;color:#fff!important}.mam-portal-main{padding:0!important;background:#f4f7fb!important}.mam-portal-topbar{min-height:84px;background:var(--mam-header,#fff)!important;border:1px solid var(--mam-border,#E2E8F0)!important;border-top-left-radius:14px!important;border-bottom-left-radius:14px!important;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 30px;margin:10px 12px 0 0!important}.mam-portal-topbar h1{margin:3px 0 0!important;color:var(--mam-heading,#16324F)!important;font-size:24px!important}.mam-portal-kicker{font-size:12px!important;letter-spacing:1.2px!important;font-weight:800!important;color:var(--mam-primary,#1E8E6E)!important}.mam-portal-top-user{display:flex;align-items:center;gap:9px}.mam-portal-top-user .mam-portal-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:50%!important;border:1px solid var(--mam-border)!important;object-fit:cover!important}.mam-portal-top-user strong{display:block;color:var(--mam-heading);font-size:12px}.mam-portal-top-user small{display:block;color:var(--mam-text);font-size:10px;margin-top:2px}.mam-portal-shell .mam-portal-page-title{display:none!important}.mam-portal-shell .mam-portal-main>.mam-portal-welcome,.mam-portal-shell .mam-portal-main>.mam-portal-grid,.mam-portal-shell .mam-portal-main>.mam-portal-card,.mam-portal-shell .mam-portal-main>.mam-profile-layout{margin-left:30px!important;margin-right:30px!important}.mam-portal-shell .mam-portal-main>.mam-portal-welcome{margin-top:24px!important}.mam-portal-shell .mam-portal-main>.mam-portal-grid{margin-top:0!important}.mam-portal-shell .mam-portal-main>.mam-portal-card{margin-top:0!important}.mam-portal-shell .mam-portal-main>.mam-profile-layout{margin-top:24px!important}.mam-portal-shell .mam-portal-card{background:var(--mam-card)!important;border-color:var(--mam-border)!important}.mam-portal-shell .mam-portal-stat{background:var(--mam-card)!important;border-color:var(--mam-border)!important}.mam-portal-shell .mam-portal-stat{border-top-color:var(--mam-primary)!important}.mam-portal-shell .mam-portal-table th{background:var(--mam-secondary)!important}@media(max-width:700px){.mam-portal-body{grid-template-columns:1fr!important}.mam-portal-sidebar{position:relative!important;height:auto!important}.mam-portal-topbar{padding:14px 16px!important;align-items:flex-start!important}.mam-portal-topbar h1{font-size:20px!important}.mam-portal-shell .mam-portal-main>.mam-portal-welcome,.mam-portal-shell .mam-portal-main>.mam-portal-grid,.mam-portal-shell .mam-portal-main>.mam-portal-card,.mam-portal-shell .mam-portal-main>.mam-profile-layout{margin-left:16px!important;margin-right:16px!important}.mam-portal-shell .mam-portal-main>.mam-portal-welcome{margin-top:16px!important}}body.mam-portal-page #wpadminbar,body.mam-portal-page header.site-header,body.mam-portal-page footer.site-footer,body.mam-portal-page .site-header,body.mam-portal-page .site-footer,body.mam-portal-page .elementor-location-header,body.mam-portal-page .elementor-location-footer,body.mam-portal-page .main-header-bar,body.mam-portal-page .site-navigation{display:none!important}body.mam-management-page,body.mam-portal-page{overflow-x:hidden!important}body.mam-management-page .site,body.mam-management-page #page,body.mam-management-page .ast-container,body.mam-portal-page .site,body.mam-portal-page #page,body.mam-portal-page .ast-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.mam-management-app{grid-template-columns:250px minmax(0,1fr)!important;width:100%!important;max-width:none!important}.mam-management-sidebar{border-top-right-radius:14px;border-bottom-right-radius:14px;padding:22px 16px!important;color:#fff!important}.mam-management-brand strong,.mam-management-brand small,.mam-sidebar-section-title,.mam-management-nav a,.mam-side-user strong,.mam-side-user small{color:#fff!important}.mam-management-nav a{background:transparent!important}.mam-management-nav a.active{background:var(--mam-sidebar-active)!important}.mam-management-main{min-width:0!important;overflow:hidden!important}.mam-management-topbar{border-top-left-radius:14px!important;border-bottom-left-radius:14px!important;margin:10px 12px 0 0!important;min-height:76px!important}.mam-management-content{padding:24px 28px 40px!important;overflow-x:auto!important}.mam-management-content .mam-module-content,.mam-management-content .mam{width:100%!important;max-width:none!important;min-width:0!important}.mam-management-content .mam-table,.mam-management-content .mam-student-table,.mam-management-content table{max-width:100%!important}.mam-management-content .panel{border-radius:12px!important}.mam-management-content input,.mam-management-content select,.mam-management-content textarea,.mam-management-content button,.mam-management-content .button{border-radius:7px!important}.mam-group-permission-grid{margin-bottom:18px!important}.mam-portal-access-settings{margin-top:12px;padding:4px 0 2px}.mam-portal-access-settings h3{margin-top:20px!important}.mam-group-permission-grid .mam-permission-item{min-width:155px}.mam-login-page{min-height:100vh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:32px 16px!important;background:#f4f7fb!important}.mam-login-card{width:min(392px,100%)!important;max-width:392px!important;margin:0 auto!important;padding:34px 34px 30px!important;background:#fff!important;border:1px solid var(--mam-border)!important;border-radius:18px!important;box-shadow:0 12px 35px rgba(15,23,42,.10)!important;text-align:center!important}.mam-login-logo{display:flex;justify-content:center;margin-bottom:14px}.mam-login-logo img,.mam-login-logo span{width:74px;height:74px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid var(--mam-border);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:var(--mam-primary)}.mam-login-card h1{margin:0;color:var(--mam-heading)!important;font-size:26px!important;line-height:1.2!important}.mam-login-subtitle{margin:7px 0 22px;color:var(--mam-text)!important;font-size:13px}.mam-login-card h2{font-size:18px!important;margin:0 0 18px;color:var(--mam-primary)!important}.mam-login-card form{text-align:left}.mam-login-card label{display:block;color:var(--mam-heading)!important;font-weight:600;font-size:13px;margin:0 0 13px;position:relative}.mam-login-card input[type=text],.mam-login-card input[type=password]{width:100%!important;box-sizing:border-box!important;margin-top:6px!important;padding:12px 13px!important;border:1px solid var(--mam-border)!important;border-radius:8px!important;background:#fff!important;color:var(--mam-heading)!important}.mam-login-password input{padding-right:65px!important}.mam-login-show{position:absolute;right:7px;bottom:7px;border:0;background:transparent!important;color:var(--mam-secondary)!important;font-size:12px;font-weight:700;cursor:pointer}.mam-login-remember{display:flex!important;align-items:center;gap:7px;font-weight:500!important;color:var(--mam-text)!important}.mam-login-remember input{width:auto!important;margin:0!important}.mam-login-submit{width:100%;padding:12px 16px!important;border:0!important;border-radius:8px!important;background:var(--mam-primary)!important;color:#fff!important;font-weight:800!important;cursor:pointer;margin-top:5px}.mam-login-submit:hover{background:var(--mam-secondary)!important}@media(max-width:900px){.mam-management-app{grid-template-columns:220px minmax(0,1fr)!important}.mam-management-content{padding:20px!important}}@media(max-width:700px){.mam-management-app{grid-template-columns:1fr!important}.mam-management-topbar{margin:0!important;border-radius:0!important}.mam-management-sidebar{border-radius:0!important}.mam-management-content{padding:14px!important}.mam-login-card{padding:28px 22px!important}}.mam-login-card .mam-login-password{position:relative!important}.mam-login-card .mam-login-password input[type=password],.mam-login-card .mam-login-password input[type=text]{padding-right:48px!important;box-shadow:none!important;outline:none!important;background-image:none!important}.mam-login-card .mam-login-password input:focus{box-shadow:none!important;outline:none!important;border-color:var(--mam-primary)!important}.mam-login-show{position:absolute!important;right:8px!important;bottom:7px!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--mam-text)!important;box-shadow:none!important;outline:none!important;font-size:0!important;line-height:1!important;cursor:pointer!important}.mam-login-show:hover,.mam-login-show:focus{background:#f1f5f9!important;color:var(--mam-primary)!important;box-shadow:none!important;outline:none!important}.mam-eye-svg{width:20px!important;height:20px!important;display:block!important}.mam-portal-body{gap:10px!important;background:#f4f7fb!important}.mam-portal-sidebar{margin:10px 0 10px 10px!important;width:calc(100% - 10px)!important;height:calc(100vh - 20px)!important;min-height:0!important;border-radius:16px!important;overflow:hidden!important}.mam-portal-main{padding-top:0!important}.mam-portal-topbar{margin:10px 12px 0 0!important;border-radius:14px!important}.mam-portal-sidebar a.logout{background:transparent!important;color:rgba(255,255,255,.82)!important;margin-top:6px!important}.mam-portal-sidebar a.logout:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.mam-portal-status{padding:6px 10px!important;border-radius:7px!important;font-size:12px!important;letter-spacing:.2px!important;background:var(--mam-secondary)!important;color:#fff!important}.mam-management-app{gap:10px!important;background:#f4f7fb!important}.mam-management-sidebar{margin:10px 0 10px 10px!important;width:calc(100% - 10px)!important;height:calc(100vh - 20px)!important;border-radius:16px!important;overflow:hidden!important}.mam-management-main{padding-right:10px!important}.mam-management-topbar{margin:10px 0 0 0!important;border-radius:14px!important}.mam-management-nav a{color:rgba(255,255,255,.88)!important;text-decoration:none!important}.mam-management-nav a:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-management-nav a.active{background:var(--mam-sidebar-active)!important;color:#fff!important}.mam-management-logout{background:transparent!important;color:rgba(255,255,255,.88)!important;text-decoration:none!important;margin-top:6px!important}.mam-management-logout:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-management-content .mam .mam-dash-action{box-shadow:none!important;text-decoration:none!important;border:1px solid #e2e8f0!important}.mam-management-content .mam .mam-dash-action.donation{border-bottom:1px solid #e2e8f0!important}.mam-management-content .mam .mam-dash-action.student-fee{border-bottom:1px solid #e2e8f0!important}.mam-management-content .mam .mam-quick-access .actions .button{color:#fff!important;border:0!important;text-decoration:none!important;box-shadow:none!important;font-weight:700!important}.mam-management-content .mam .mam-quick-access .actions .button:nth-child(1){background:#2563eb!important}.mam-management-content .mam .mam-quick-access .actions .button:nth-child(2){background:#7c3aed!important;color:#fff!important}.mam-management-content .mam .mam-quick-access .actions .button:nth-child(3){background:#059669!important;color:#fff!important}.mam-management-content .mam .mam-quick-access .actions .button:nth-child(4){background:#ea580c!important;color:#fff!important}.mam-management-content .mam .mam-quick-access .actions .button:hover{opacity:.92!important;transform:none!important}.mam-management-content .mam .mam-dashboard-hero h2{margin-bottom:3px!important}.mam-management-content .mam a.mam-dash-action,.mam-management-content .mam .mam-quick-access a.button{text-decoration:none!important}@media(max-width:700px){.mam-portal-sidebar,.mam-management-sidebar{margin:8px!important;width:auto!important;height:auto!important;border-radius:14px!important}.mam-portal-body{gap:0!important}.mam-portal-topbar{margin:8px!important;border-radius:14px!important}.mam-management-app{gap:0!important}.mam-management-main{padding-right:0!important}.mam-management-topbar{margin:8px!important;border-radius:14px!important}}.mam-management-content .mam>h1{display:none!important}.mam-management-content .mam .mam-dash-action{text-decoration:none!important}.mam-management-content .mam .mam-quick-access .actions .button{text-decoration:none!important;color:#fff!important}.mam-management-logout,.mam-portal-sidebar a.logout{background:transparent!important;color:rgba(255,255,255,.88)!important;text-decoration:none!important}.mam-management-logout:hover,.mam-portal-sidebar a.logout:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-login-card .mam-login-password{position:relative!important;overflow:visible!important}.mam-login-card .mam-login-password input[type=password],.mam-login-card .mam-login-password input[type=text]{padding-right:54px!important;box-shadow:none!important;background-image:none!important}.mam-login-card .mam-login-show{position:absolute!important;right:8px!important;bottom:7px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:20!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#475569!important;box-shadow:none!important;outline:none!important;cursor:pointer!important;font-size:0!important;line-height:1!important}.mam-login-card .mam-login-show:hover{background:#f1f5f9!important;color:var(--mam-primary,#160186)!important}.mam-login-card .mam-login-show:focus{background:#f8fafc!important;color:var(--mam-primary,#160186)!important;outline:2px solid color-mix(in srgb,var(--mam-primary,#160186) 20%,transparent)!important;outline-offset:1px!important}.mam-login-card .mam-login-show .mam-eye-svg{width:21px!important;height:21px!important;display:block!important;pointer-events:none!important}.mam-login-card .mam-login-show .mam-eye-open,.mam-login-card .mam-login-show .mam-eye-closed{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important}.mam-login-card .mam-login-show [hidden]{display:none!important}.mam .mam-institution-header{display:flex!important;align-items:center!important;gap:20px!important;min-height:118px!important;padding:20px 24px!important;background:#14213d!important;color:#fff!important;border-radius:16px!important;overflow:hidden!important}.mam .mam-inst-copy{min-width:0!important;flex:1 1 auto!important;color:#fff!important}.mam .mam-inst-copy h2{display:block!important;margin:2px 0 3px!important;color:#fff!important;font-size:24px!important;line-height:1.25!important;font-weight:700!important}.mam .mam-inst-copy p{display:block!important;margin:0 0 9px!important;color:#e2e8f0!important;font-size:13px!important;line-height:1.4!important}.mam .mam-inst-meta-row{display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:6px 18px!important;margin-top:4px!important;color:#e2e8f0!important;font-size:12px!important;line-height:1.45!important}.mam .mam-inst-meta-item{display:inline-block!important;color:#e2e8f0!important;white-space:normal!important}.mam .mam-inst-meta-item b{color:#fff!important;font-weight:700!important;margin-right:4px!important}.mam .mam-inst-meta-empty{color:#cbd5e1!important;font-style:italic!important}.mam .mam-inst-logo{width:78px!important;height:78px!important;flex:0 0 78px!important;border-radius:14px!important;background:#fff!important;padding:7px!important;display:grid!important;place-items:center!important;box-shadow:0 5px 18px rgba(0,0,0,.16)!important}.mam .mam-inst-logo img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}@media(max-width:700px){.mam .mam-institution-header{flex-direction:row!important;align-items:flex-start!important}.mam .mam-inst-meta-row{display:block!important}.mam .mam-inst-meta-item{display:block!important;margin:2px 0!important}.mam .mam-inst-copy h2{font-size:20px!important}}.mam h1{font-size:24px!important;line-height:1.25!important;font-weight:600!important;margin:0 0 16px!important;color:var(--mam-heading,#14213d)!important}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{display:flex!important;align-items:center!important;gap:20px!important;min-height:122px!important;padding:20px 26px!important;background:linear-gradient(135deg,#14213d 0%,#1e3a67 100%)!important;color:#fff!important;border-radius:16px!important;overflow:hidden!important;box-sizing:border-box!important;box-shadow:0 8px 24px rgba(20,33,61,.16)!important;margin:0 0 18px!important;}.mam .mam-inst-copy,.mam-management-content .mam .mam-inst-copy{min-width:0!important;flex:1 1 auto!important;color:#fff!important}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{font-size:10px!important;letter-spacing:1.6px!important;font-weight:800!important;color:#93c5fd!important;opacity:1!important;margin:0 0 3px!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{display:block!important;margin:0 0 9px!important;color:#fff!important;font-size:29px!important;line-height:1.18!important;font-weight:700!important;letter-spacing:-.2px!important;}.mam .mam-inst-copy p,.mam-management-content .mam .mam-inst-copy p{display:none!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px 22px!important;margin-top:0!important;color:#dbeafe!important;font-size:12px!important;line-height:1.45!important;}.mam .mam-inst-meta-item,.mam-management-content .mam .mam-inst-meta-item{display:inline-flex!important;align-items:baseline!important;color:#e2e8f0!important;white-space:normal!important}.mam .mam-inst-meta-item b,.mam-management-content .mam .mam-inst-meta-item b{font-weight:800!important;margin-right:7px!important;color:#67e8f9!important}.mam .mam-inst-address b,.mam-management-content .mam .mam-inst-address b{color:#86efac!important}.mam .mam-inst-phone b,.mam-management-content .mam .mam-inst-phone b{color:#fbbf24!important}.mam .mam-inst-email b,.mam-management-content .mam .mam-inst-email b{color:#c4b5fd!important}.mam .mam-inst-year b,.mam-management-content .mam .mam-inst-year b{color:#f9a8d4!important}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:82px!important;height:82px!important;flex:0 0 82px!important;border-radius:15px!important;background:#fff!important;padding:7px!important;display:grid!important;place-items:center!important;box-shadow:0 5px 18px rgba(0,0,0,.16)!important;box-sizing:border-box!important}.mam .mam-inst-logo img,.mam-management-content .mam .mam-inst-logo img{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}.mam .mam-dashboard-hero{border-radius:14px!important}.mam .mam-dashboard-hero h2{font-size:20px!important}.mam .mam-dashboard-hero p{font-size:12px!important}@media(max-width:700px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{padding:17px!important;gap:13px!important;min-height:0!important;align-items:flex-start!important}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:66px!important;height:66px!important;flex-basis:66px!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:21px!important;margin-bottom:7px!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{display:block!important}.mam .mam-inst-meta-item,.mam-management-content .mam .mam-inst-meta-item{display:flex!important;margin:3px 0!important}}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{background:linear-gradient(135deg,#0f172a 0%,#123b35 42%,#1e8e6e 72%,#2563eb 100%)!important;color:#fff!important;border-radius:16px!important;min-height:150px!important;padding:20px 24px!important;box-shadow:0 12px 30px rgba(15,23,42,.20)!important;}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:86px!important;height:86px!important;flex:0 0 86px!important;border-radius:50%!important;overflow:hidden!important;padding:5px!important;background:#fff!important;border:3px solid rgba(255,255,255,.75)!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important;}.mam .mam-inst-logo img,.mam-management-content .mam .mam-inst-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{color:#fff!important;font-size:30px!important;line-height:1.18!important;font-weight:750!important;margin:0 0 10px!important;letter-spacing:-.25px!important;}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{color:#d1fae5!important;opacity:1!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(170px,1fr)!important;gap:7px 24px!important;margin-top:0!important;color:#fff!important;font-size:12px!important;line-height:1.45!important;}.mam .mam-inst-meta-item,.mam-management-content .mam .mam-inst-meta-item{display:flex!important;align-items:baseline!important;min-width:0!important;color:#fff!important;white-space:normal!important}.mam .mam-inst-meta-item>b,.mam-management-content .mam .mam-inst-meta-item>b{flex:0 0 auto!important;color:#fff!important;font-weight:800!important;margin-right:0!important}.mam .mam-inst-dash,.mam-management-content .mam .mam-inst-dash{color:#fff!important;margin:0 7px!important;flex:0 0 auto!important}.mam .mam-inst-meta-item>span:last-child,.mam-management-content .mam .mam-inst-meta-item>span:last-child{color:#fff!important;font-weight:500!important;min-width:0!important}.mam .mam-inst-address b{color:#bbf7d0!important}.mam .mam-inst-phone b{color:#fde68a!important}.mam .mam-inst-email b{color:#ddd6fe!important}.mam .mam-inst-year b{color:#fbcfe8!important}.mam .mam-portal-sidebar a.logout{background:transparent!important;color:rgba(255,255,255,.88)!important;box-shadow:none!important}.mam .mam-portal-sidebar a.logout:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}@media(max-width:850px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{min-height:0!important;padding:18px!important;gap:14px!important}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:72px!important;height:72px!important;flex-basis:72px!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:24px!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{grid-template-columns:1fr 1fr!important;gap:6px 14px!important}}@media(max-width:600px){.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{grid-template-columns:1fr!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:22px!important}}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{background:linear-gradient(135deg,#0f172a 0%,#123b35 40%,#0f766e 72%,#2563eb 100%)!important;color:#fff!important;border-radius:16px!important;min-height:150px!important;padding:20px 24px!important;display:flex!important;align-items:center!important;gap:20px!important;overflow:hidden!important;}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:86px!important;height:86px!important;flex:0 0 86px!important;border-radius:50%!important;overflow:hidden!important;padding:5px!important;background:#fff!important;border:3px solid rgba(255,255,255,.82)!important;box-shadow:0 6px 18px rgba(0,0,0,.24)!important;}.mam .mam-inst-logo img,.mam-management-content .mam .mam-inst-logo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important}.mam .mam-inst-copy,.mam-management-content .mam .mam-inst-copy{flex:1 1 auto!important;min-width:0!important;color:#fff!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{color:#fff!important;font-size:30px!important;line-height:1.18!important;font-weight:750!important;margin:0 0 10px!important}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{color:#d1fae5!important;font-size:11px!important;letter-spacing:1.2px!important;font-weight:800!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(170px,1fr)!important;gap:7px 24px!important;margin-top:0!important;color:#fff!important;font-size:12px!important;line-height:1.45!important}.mam .mam-inst-meta-item,.mam-management-content .mam .mam-inst-meta-item{display:flex!important;align-items:baseline!important;min-width:0!important;color:#fff!important;white-space:normal!important}.mam .mam-inst-meta-item>b,.mam-management-content .mam .mam-inst-meta-item>b{color:#fff!important;font-weight:800!important;flex:0 0 auto!important}.mam .mam-inst-dash,.mam-management-content .mam .mam-inst-dash{color:#fff!important;margin:0 7px!important;flex:0 0 auto!important}.mam .mam-inst-meta-item>span:last-child,.mam-management-content .mam .mam-inst-meta-item>span:last-child{color:#fff!important;font-weight:500!important;min-width:0!important}.mam .mam-inst-address b{color:#bbf7d0!important}.mam .mam-inst-phone b{color:#fde68a!important}.mam .mam-inst-email b{color:#ddd6fe!important}.mam .mam-inst-year b{color:#fbcfe8!important}.mam-management-content .mam>h1{font-size:26px!important;line-height:1.2!important;margin:0 0 14px!important;color:var(--mam-heading,#14213d)!important}.mam .mam-portal-sidebar a.logout,.mam-management-content .mam .mam-portal-sidebar a.logout{background:transparent!important;color:rgba(255,255,255,.88)!important;box-shadow:none!important;text-decoration:none!important;margin-top:6px!important}.mam .mam-portal-sidebar a.logout:hover,.mam-management-content .mam .mam-portal-sidebar a.logout:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}@media(max-width:850px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{padding:18px!important;gap:14px!important;min-height:0!important;align-items:flex-start!important}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:72px!important;height:72px!important;flex-basis:72px!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:24px!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{grid-template-columns:1fr 1fr!important;gap:6px 14px!important}}@media(max-width:600px){.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{grid-template-columns:1fr!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:22px!important}}body.mam-management-page .mam-management-frame{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;margin:0!important;padding:0!important;background:#f4f7fb!important;z-index:999999!important;overflow:hidden!important}body.mam-management-page .mam-management-admin-frame{display:block!important;width:100%!important;height:100%!important;min-height:100vh!important;border:0!important;margin:0!important;padding:0!important;background:#f4f7fb!important}body.mam-management-page .entry-content:has(.mam-management-frame),body.mam-management-page .site-main:has(.mam-management-frame){min-height:100vh!important}@media(max-width:700px){body.mam-management-page .mam-management-admin-frame{min-height:100vh!important}}.mam-login-card .mam-login-password{position:relative!important;display:block!important;}.mam-login-card .mam-password-wrap{position:relative!important;width:100%!important;height:40px!important;margin-top:6px!important;}.mam-login-card .mam-password-wrap input[type=password],.mam-login-card .mam-password-wrap input[type=text]{width:100%!important;height:40px!important;min-height:40px!important;margin:0!important;padding:8px 54px 8px 10px!important;box-sizing:border-box!important;}.mam-login-card .mam-password-wrap .mam-login-show{position:absolute!important;top:50%!important;right:6px!important;bottom:auto!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:5!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#475569!important;box-shadow:none!important;outline:none!important;}.mam-login-card .mam-password-wrap .mam-login-show:hover{background:#f1f5f9!important;color:var(--mam-primary,#160186)!important;}.mam-login-card .mam-password-wrap .mam-login-show:focus{outline:2px solid color-mix(in srgb,var(--mam-primary,#160186) 20%,transparent)!important;outline-offset:1px!important;}.mam-login-card .mam-password-wrap .mam-eye-svg{width:20px!important;height:20px!important;display:block!important;}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{position:relative!important;display:flex!important;align-items:center!important;gap:24px!important;min-height:156px!important;padding:24px 28px!important;border-radius:16px!important;overflow:hidden!important;background:var(--mam-header-bg,#123B35)!important;color:var(--mam-header-text,#fff)!important;box-shadow:0 12px 28px rgba(15,23,42,.16)!important;}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:88px!important;height:88px!important;flex:0 0 88px!important;border-radius:50%!important;overflow:hidden!important;padding:4px!important;background:#fff!important;border:3px solid rgba(255,255,255,.82)!important;box-shadow:0 6px 18px rgba(0,0,0,.20)!important;box-sizing:border-box!important;}.mam .mam-inst-logo img,.mam-management-content .mam .mam-inst-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}.mam .mam-inst-copy,.mam-management-content .mam .mam-inst-copy{flex:1 1 auto!important;min-width:0!important;color:var(--mam-header-text,#fff)!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{margin:0 0 12px!important;padding:0!important;color:var(--mam-header-text,#fff)!important;font-size:30px!important;line-height:1.16!important;font-weight:800!important;letter-spacing:-.3px!important;}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{flex:0 0 auto!important;margin-left:auto!important;align-self:center!important;color:var(--mam-header-text,#fff)!important;font-size:22px!important;line-height:1.2!important;letter-spacing:1.2px!important;font-weight:800!important;text-align:right!important;white-space:nowrap!important;opacity:.96!important;}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0!important;color:var(--mam-header-text,#fff)!important;font-size:12px!important;line-height:1.45!important;}.mam .mam-inst-meta-line,.mam-management-content .mam .mam-inst-meta-line{display:block!important;color:var(--mam-header-text,#fff)!important;min-width:0!important}.mam .mam-inst-meta-line>span,.mam-management-content .mam .mam-inst-meta-line>span{color:var(--mam-header-text,#fff)!important}.mam .mam-inst-meta-line b,.mam-management-content .mam .mam-inst-meta-line b{color:var(--mam-header-text,#fff)!important;font-weight:800!important}.mam .mam-inst-dash,.mam-management-content .mam .mam-inst-dash{color:var(--mam-header-text,#fff)!important;margin:0 6px!important}.mam .mam-inst-meta-pair{display:flex!important;gap:22px!important;flex-wrap:wrap!important}.mam .mam-inst-subtitle{color:var(--mam-header-text,#fff)!important}@media(max-width:900px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{gap:16px!important;padding:20px!important;min-height:0!important}.mam .mam-inst-logo,.mam-management-content .mam .mam-inst-logo{width:76px!important;height:76px!important;flex-basis:76px!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:25px!important}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{font-size:17px!important;white-space:normal!important;max-width:180px!important}}@media(max-width:650px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{display:grid!important;grid-template-columns:auto 1fr!important;align-items:start!important}.mam .mam-inst-kicker,.mam-management-content .mam .mam-inst-kicker{grid-column:1/-1!important;order:3!important;margin:4px 0 0!important;text-align:left!important;max-width:none!important}.mam .mam-inst-copy h2,.mam-management-content .mam .mam-inst-copy h2{font-size:22px!important}.mam .mam-inst-meta-row,.mam-management-content .mam .mam-inst-meta-row{font-size:11px!important}.mam .mam-inst-meta-pair{gap:5px 14px!important}}:root{--mam-primary:#2563EB;--mam-secondary:#1E3A8A;--mam-accent:#0F766E;--mam-header:#17324D;--mam-sidebar:#162B46;--mam-sidebar-active:#2563EB;--mam-card:#FFFFFF;--mam-heading:#16324F;--mam-text:#475569;--mam-border:#D7E0EA;}.mam-institution-header{background:var(--mam-header)!important;color:#fff!important;align-items:center!important;min-height:112px!important;padding:22px 28px!important;gap:20px!important;}.mam-institution-header .mam-inst-logo{width:72px!important;height:72px!important;flex:0 0 72px!important;border-radius:50%!important;padding:6px!important;background:#fff!important;overflow:hidden!important;}.mam-institution-header .mam-inst-logo img{border-radius:50%!important;width:100%!important;height:100%!important;object-fit:cover!important}.mam-institution-header .mam-inst-copy{flex:1 1 auto!important;min-width:0!important;text-align:left!important}.mam-institution-header .mam-inst-copy h2{color:#fff!important;font-size:28px!important;line-height:1.15!important;font-weight:800!important;margin:0 0 8px!important;text-align:left!important;}.mam-institution-header .mam-inst-meta-row{display:flex!important;flex-direction:column!important;gap:4px!important;text-align:left!important;margin:0!important}.mam-institution-header .mam-inst-meta-line{display:block!important;margin:0!important;color:#fff!important;font-size:12px!important;line-height:1.55!important;text-align:left!important}.mam-institution-header .mam-inst-meta-line b{color:#7DD3FC!important;font-weight:800!important}.mam-institution-header .mam-inst-dash{color:#CBD5E1!important;padding:0 2px!important}.mam-institution-header .mam-inst-meta-pair{display:flex!important;align-items:center!important;gap:0!important;flex-wrap:wrap!important}.mam-institution-header .mam-inst-meta-pair>span{white-space:nowrap!important}.mam-institution-header .mam-inst-meta-sep{display:inline-block!important;width:10px!important}.mam-institution-header .mam-inst-kicker{flex:0 0 auto!important;align-self:center!important;text-align:right!important;color:#E0F2FE!important;font-family:Georgia,'Times New Roman',serif!important;font-size:17px!important;font-weight:700!important;font-style:italic!important;letter-spacing:1.6px!important;line-height:1.25!important;opacity:1!important;max-width:320px!important;}.mam-finance-card{color:#fff!important;border:0!important}.mam-finance-card.income{background:#0F766E!important}.mam-finance-card.expense{background:#B45309!important}.mam-finance-card.balance{background:#2563EB!important}.mam-finance-card.donation{background:#6D28D9!important}.mam-finance-card.student-fee{background:#15803D!important}.mam-finance-card.salary{background:#475569!important}.mam-finance-card small,.mam-finance-card strong{color:#fff!important}.mam .button-primary,.mam .button-primary:focus{background:var(--mam-primary)!important;border-color:var(--mam-primary)!important;color:#fff!important}.mam .button-primary:hover{background:var(--mam-secondary)!important;border-color:var(--mam-secondary)!important}.mam-section-head,.mam-fund-topbar,.mam-student-toolbar,.mam-settings-head{background:var(--mam-secondary)!important}.mam-portal-shell .mam-portal-body{grid-template-columns:210px minmax(0,1fr)!important;gap:10px!important}.mam-portal-shell .mam-portal-sidebar{padding:18px 10px!important;margin:10px 0 10px 10px!important;width:auto!important;box-sizing:border-box!important;border-radius:14px!important;background:var(--mam-sidebar)!important}.mam-portal-shell .mam-portal-sidebar-title{padding:8px 10px 14px!important;text-align:left!important}.mam-portal-shell .mam-portal-sidebar nav{gap:5px!important}.mam-portal-shell .mam-portal-sidebar a{padding:10px 11px!important;min-height:41px!important;text-align:left!important}.mam-portal-shell .mam-portal-sidebar a.logout{background:transparent!important;color:rgba(255,255,255,.88)!important;box-shadow:none!important;text-decoration:none!important;margin-top:5px!important}.mam-portal-shell .mam-portal-sidebar a.logout:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-portal-shell .mam-portal-topbar{min-height:96px!important;padding:20px 28px!important;margin:10px 12px 0 0!important;border-radius:14px!important;box-sizing:border-box!important;align-items:center!important;}.mam-portal-shell .mam-portal-topbar>div:first-child{text-align:left!important}.mam-portal-shell .mam-portal-kicker{font-size:11px!important;letter-spacing:1.4px!important}.mam-portal-shell .mam-portal-topbar h1{font-size:23px!important;line-height:1.2!important}.mam-portal-shell .mam-portal-top-user{align-items:center!important}.mam-management-app{grid-template-columns:220px minmax(0,1fr)!important;background:#F4F7FB!important}.mam-management-sidebar{padding:18px 12px!important}.mam-management-topbar{min-height:92px!important;padding:20px 28px!important;align-items:center!important}.mam-management-topbar>div:first-child{text-align:left!important}.mam-management-logout{background:transparent!important;color:rgba(255,255,255,.88)!important;text-decoration:none!important;box-shadow:none!important;margin-top:5px!important}.mam-management-logout:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}@media(max-width:950px){.mam-portal-shell .mam-portal-body{grid-template-columns:195px minmax(0,1fr)!important}.mam-institution-header .mam-inst-kicker{font-size:15px!important;max-width:250px!important}}@media(max-width:700px){.mam-institution-header{align-items:flex-start!important;flex-wrap:wrap!important;padding:18px 20px!important}.mam-institution-header .mam-inst-copy{width:calc(100% - 92px)!important}.mam-institution-header .mam-inst-copy h2{font-size:22px!important}.mam-institution-header .mam-inst-kicker{width:100%!important;max-width:none!important;text-align:left!important;margin-left:92px!important;font-size:14px!important}.mam-institution-header .mam-inst-meta-pair{display:block!important}.mam-institution-header .mam-inst-meta-pair>span{display:inline!important}.mam-portal-shell .mam-portal-body{grid-template-columns:1fr!important}.mam-portal-shell .mam-portal-sidebar{margin:8px!important;width:auto!important;height:auto!important}.mam-portal-shell .mam-portal-topbar{margin:8px!important;min-height:82px!important;padding:16px!important}.mam-management-app{grid-template-columns:1fr!important}.mam-management-sidebar{margin:8px!important;width:auto!important;height:auto!important}.mam-management-topbar{margin:8px!important;min-height:82px!important;padding:16px!important}}:root{--mam-primary:#123B5D;--mam-secondary:#1D4ED8;--mam-accent:#F59E0B;--mam-header-bg:#123B5D;--mam-header-text:#FFFFFF;--mam-sidebar:#102A43;--mam-sidebar-active:#1D4ED8;--mam-card:#FFFFFF;--mam-heading:#16324F;--mam-text:#475569;--mam-border:#D9E2EC;}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{display:grid!important;grid-template-columns:86px minmax(0,1fr) minmax(250px,360px)!important;align-items:center!important;column-gap:22px!important;width:100%!important;min-height:126px!important;box-sizing:border-box!important;padding:20px 24px!important;margin:0 0 18px!important;background:var(--mam-header-bg,#123B5D)!important;background-image:none!important;color:var(--mam-header-text,#fff)!important;border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 22px rgba(18,59,93,.16)!important;}.mam .mam-institution-header .mam-inst-logo,.mam-management-content .mam .mam-institution-header .mam-inst-logo{width:86px!important;height:86px!important;flex:0 0 86px!important;border-radius:50%!important;overflow:hidden!important;padding:5px!important;background:#fff!important;border:3px solid rgba(255,255,255,.88)!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;box-shadow:0 5px 16px rgba(0,0,0,.18)!important;}.mam .mam-institution-header .mam-inst-logo img,.mam-management-content .mam .mam-institution-header .mam-inst-logo img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:50%!important;display:block!important;}.mam .mam-institution-header .mam-inst-copy,.mam-management-content .mam .mam-institution-header .mam-inst-copy{min-width:0!important;width:auto!important;flex:initial!important;text-align:left!important;color:#fff!important;}.mam .mam-institution-header .mam-inst-copy h2,.mam-management-content .mam .mam-institution-header .mam-inst-copy h2{display:block!important;width:100%!important;margin:0 0 8px!important;text-align:left!important;color:#fff!important;font-size:29px!important;line-height:1.16!important;font-weight:750!important;letter-spacing:-.15px!important;}.mam .mam-institution-header .mam-inst-meta-row,.mam-management-content .mam .mam-institution-header .mam-inst-meta-row{display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important;color:#fff!important;font-size:12px!important;line-height:1.55!important;}.mam .mam-institution-header .mam-inst-meta-line,.mam-management-content .mam .mam-institution-header .mam-inst-meta-line{display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important;color:#fff!important;white-space:normal!important;}.mam .mam-institution-header .mam-inst-meta-line b,.mam-management-content .mam .mam-institution-header .mam-inst-meta-line b{color:#F59E0B!important;font-weight:800!important;}.mam .mam-institution-header .mam-inst-dash,.mam-management-content .mam .mam-institution-header .mam-inst-dash{color:#fff!important;padding:0 5px!important;margin:0!important;}.mam .mam-institution-header .mam-inst-meta-pair,.mam-management-content .mam .mam-institution-header .mam-inst-meta-pair{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:0 18px!important;width:100%!important;text-align:left!important;}.mam .mam-institution-header .mam-inst-meta-pair>span,.mam-management-content .mam .mam-institution-header .mam-inst-meta-pair>span{display:inline-block!important;white-space:nowrap!important;text-align:left!important;}.mam .mam-institution-header .mam-inst-meta-sep,.mam-management-content .mam .mam-institution-header .mam-inst-meta-sep{width:0!important;display:inline!important}.mam .mam-institution-header .mam-inst-kicker,.mam-management-content .mam .mam-institution-header .mam-inst-kicker{display:block!important;min-width:0!important;width:auto!important;max-width:none!important;align-self:center!important;text-align:right!important;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:17px!important;line-height:1.28!important;font-weight:700!important;font-style:italic!important;letter-spacing:.7px!important;text-transform:none!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;margin:0!important;padding:0!important;}.mam .mam-finance-card.income{background:#0F766E!important}.mam .mam-finance-card.expense{background:#F59E0B!important}.mam .mam-finance-card.balance{background:#1D4ED8!important}.mam .mam-finance-card.donation{background:#155E75!important}.mam .mam-finance-card.student-fee{background:#123B5D!important}.mam .mam-finance-card.salary{background:#475569!important}.mam .mam-finance-card small,.mam .mam-finance-card strong{color:#fff!important}.mam .mam-dashboard-hero,.mam .mam-section-head,.mam .mam-fund-topbar,.mam .mam-student-toolbar,.mam .mam-settings-head{background:var(--mam-primary)!important;background-image:none!important;}.mam-portal-shell .mam-portal-body{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;min-width:0!important;}.mam-portal-shell .mam-portal-sidebar{width:auto!important;min-width:0!important;margin:0!important;padding:18px 10px!important;border-radius:14px!important;background:var(--mam-sidebar,#102A43)!important;background-image:none!important;box-sizing:border-box!important;align-self:stretch!important;}.mam-portal-shell .mam-portal-sidebar-title{padding:8px 10px 14px!important;text-align:left!important;color:#F8FAFC!important;font-size:11px!important;letter-spacing:1.3px!important;}.mam-portal-shell .mam-portal-sidebar nav{gap:5px!important}.mam-portal-shell .mam-portal-sidebar a{min-height:41px!important;padding:10px 11px!important;text-align:left!important;border-radius:8px!important;color:#E2E8F0!important;background:transparent!important;font-size:13px!important;font-weight:700!important;}.mam-portal-shell .mam-portal-sidebar a:hover{background:rgba(255,255,255,.10)!important;color:#fff!important;}.mam-portal-shell .mam-portal-sidebar a.active{background:var(--mam-sidebar-active,#1D4ED8)!important;color:#fff!important;box-shadow:none!important;}.mam-portal-shell .mam-portal-sidebar a.logout{margin-top:5px!important;background:transparent!important;color:#E2E8F0!important;box-shadow:none!important;text-decoration:none!important;}.mam-portal-shell .mam-portal-sidebar a.logout:hover{background:var(--mam-secondary,#1D4ED8)!important;color:#fff!important;}.mam-portal-shell .mam-portal-main{min-width:0!important;padding:0!important;margin:0!important;background:#F4F7FB!important;}.mam-portal-shell .mam-portal-topbar{width:calc(100% - 12px)!important;min-height:100px!important;margin:0 12px 0 0!important;padding:20px 28px!important;box-sizing:border-box!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;background:var(--mam-header-bg,#123B5D)!important;background-image:none!important;border:0!important;box-shadow:0 7px 20px rgba(18,59,93,.14)!important;}.mam-portal-shell .mam-portal-topbar>div:first-child{min-width:0!important;text-align:left!important;}.mam-portal-shell .mam-portal-kicker{color:#F59E0B!important;font-size:12px!important;letter-spacing:1.4px!important;font-weight:800!important;text-align:left!important;}.mam-portal-shell .mam-portal-topbar h1{color:#fff!important;font-size:24px!important;line-height:1.2!important;margin:3px 0 0!important;text-align:left!important;font-weight:700!important;}.mam-portal-shell .mam-portal-top-user{align-items:center!important;flex:0 0 auto!important}.mam-portal-shell .mam-portal-top-user strong{color:#fff!important}.mam-portal-shell .mam-portal-top-user small{color:#D9E7F2!important}.mam-portal-shell>.mam-portal-head{display:none!important}.mam-portal-shell .mam-portal-page-title{margin:18px 0!important}.mam-portal-shell .mam-portal-page-title h1{font-size:20px!important}.mam-portal-shell .mam-portal-welcome h2{font-size:22px!important}@media(max-width:950px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{grid-template-columns:78px minmax(0,1fr) minmax(190px,260px)!important;column-gap:16px!important;}.mam .mam-institution-header .mam-inst-logo,.mam-management-content .mam .mam-institution-header .mam-inst-logo{width:78px!important;height:78px!important;flex-basis:78px!important}.mam .mam-institution-header .mam-inst-copy h2,.mam-management-content .mam .mam-institution-header .mam-inst-copy h2{font-size:25px!important}.mam .mam-institution-header .mam-inst-kicker,.mam-management-content .mam .mam-institution-header .mam-inst-kicker{font-size:15px!important}}@media(max-width:700px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;row-gap:10px!important;padding:18px!important;min-height:0!important;}.mam .mam-institution-header .mam-inst-logo,.mam-management-content .mam .mam-institution-header .mam-inst-logo{width:68px!important;height:68px!important;flex-basis:68px!important}.mam .mam-institution-header .mam-inst-copy h2,.mam-management-content .mam .mam-institution-header .mam-inst-copy h2{font-size:22px!important}.mam .mam-institution-header .mam-inst-kicker,.mam-management-content .mam .mam-institution-header .mam-inst-kicker{grid-column:2!important;text-align:left!important;font-size:14px!important;max-width:none!important;}.mam .mam-institution-header .mam-inst-meta-row,.mam-management-content .mam .mam-institution-header .mam-inst-meta-row{grid-column:1 / -1!important}.mam .mam-institution-header .mam-inst-meta-pair,.mam-management-content .mam .mam-institution-header .mam-inst-meta-pair{display:block!important}.mam .mam-institution-header .mam-inst-meta-pair>span,.mam-management-content .mam .mam-institution-header .mam-inst-meta-pair>span{display:inline-block!important;margin-right:14px!important}.mam-portal-shell .mam-portal-body{grid-template-columns:1fr!important;gap:0!important}.mam-portal-shell .mam-portal-sidebar{margin:8px!important;width:auto!important;height:auto!important;align-self:auto!important}.mam-portal-shell .mam-portal-topbar{width:calc(100% - 16px)!important;margin:8px!important;min-height:84px!important;padding:16px!important}}:root{--mam-primary:#006A4E;--mam-secondary:#1D4ED8;--mam-accent:#D97706;--mam-header-bg:#FFFFFF;--mam-header-text:#0F172A;--mam-sidebar:#0F172A;--mam-sidebar-active:#10B981;--mam-card:#FFFFFF;--mam-heading:#1E293B;--mam-text:#334155;--mam-border:#D9E2EC;}.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{background:var(--mam-header-bg,#FFFFFF)!important;background-image:none!important;color:var(--mam-header-text,#0F172A)!important;border:1px solid var(--mam-border,#D9E2EC)!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important;grid-template-columns:78px minmax(0,1fr) minmax(220px,300px)!important;column-gap:20px!important;min-height:126px!important;padding:20px 24px!important;overflow:hidden!important;}.mam .mam-institution-header .mam-inst-copy,.mam-management-content .mam .mam-institution-header .mam-inst-copy{color:var(--mam-header-text,#0F172A)!important;text-align:left!important;}.mam .mam-institution-header .mam-inst-copy h2,.mam-management-content .mam .mam-institution-header .mam-inst-copy h2{color:var(--mam-header-text,#0F172A)!important;text-align:left!important;margin:0 0 8px!important;font-size:28px!important;font-weight:750!important;}.mam .mam-institution-header .mam-inst-meta-row,.mam-management-content .mam .mam-institution-header .mam-inst-meta-row,.mam .mam-institution-header .mam-inst-meta-line,.mam-management-content .mam .mam-institution-header .mam-inst-meta-line{color:var(--mam-text,#334155)!important;text-align:left!important;}.mam .mam-institution-header .mam-inst-meta-line b,.mam-management-content .mam .mam-institution-header .mam-inst-meta-line b{color:var(--mam-primary,#006A4E)!important;}.mam .mam-institution-header .mam-inst-dash,.mam-management-content .mam .mam-institution-header .mam-inst-dash{color:var(--mam-text,#334155)!important;}.mam .mam-institution-header .mam-inst-meta-line>span,.mam-management-content .mam .mam-institution-header .mam-inst-meta-line>span{color:var(--mam-text,#334155)!important;}.mam .mam-institution-header .mam-inst-kicker,.mam-management-content .mam .mam-institution-header .mam-inst-kicker{color:var(--mam-primary,#006A4E)!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:16px!important;font-weight:800!important;font-style:normal!important;letter-spacing:.45px!important;line-height:1.35!important;text-align:right!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;max-width:300px!important;}.mam-portal-shell .mam-portal-sidebar a.logout,.mam-management-content .mam-portal-sidebar a.logout,.mam .mam-portal-sidebar a.logout,.mam-management-logout{background:transparent!important;color:#E2E8F0!important;box-shadow:none!important;text-decoration:none!important;}.mam-portal-shell .mam-portal-sidebar a.logout.active,.mam-portal-shell .mam-portal-sidebar a.logout.current,.mam-portal-shell .mam-portal-sidebar a.logout[aria-current],.mam .mam-portal-sidebar a.logout.active,.mam .mam-portal-sidebar a.logout.current,.mam .mam-portal-sidebar a.logout[aria-current],.mam-management-logout.active,.mam-management-logout.current,.mam-management-logout[aria-current]{background:transparent!important;color:#E2E8F0!important;box-shadow:none!important;}.mam-portal-shell .mam-portal-sidebar a.logout:hover,.mam-management-content .mam-portal-sidebar a.logout:hover,.mam .mam-portal-sidebar a.logout:hover,.mam-management-logout:hover{background:rgba(255,255,255,.10)!important;color:#fff!important;}@media(max-width:950px){.mam .mam-institution-header,.mam-management-content .mam .mam-institution-header{grid-template-columns:72px minmax(0,1fr) minmax(180px,240px)!important;column-gap:16px!important;}.mam .mam-institution-header .mam-inst-logo,.mam-management-content .mam .mam-institution-header .mam-inst-logo{width:72px!important;height:72px!important;flex-basis:72px!important;}.mam .mam-institution-header .mam-inst-copy h2,.mam-management-content .mam .mam-institution-header .mam-inst-copy h2{font-size:24px!important}.mam .mam-institution-header .mam-inst-kicker,.mam-management-content .mam .mam-institution-header .mam-inst-kicker{font-size:14px!important}}.mam-academic-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 18px;padding:22px 26px;border-radius:14px;background:var(--mam-primary,#006A4E);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08)}.mam-academic-hero>div:first-child span{font-size:11px;letter-spacing:1.4px;font-weight:800;opacity:.85}.mam-academic-hero h2{margin:4px 0;color:#fff;font-size:24px}.mam-academic-hero p{margin:0;color:#fff;opacity:.9}.mam-academic-counts{display:flex;gap:10px}.mam-academic-counts b{min-width:82px;padding:10px 13px;text-align:center;border-radius:10px;background:#fff;color:var(--mam-primary,#006A4E);font-size:22px}.mam-academic-counts small{display:block;font-size:11px;font-weight:700;color:#64748b;margin-top:3px}.mam-academic-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:18px}.mam-academic-card{overflow:hidden}.mam-academic-card:nth-child(3){grid-column:1/-1}.mam-academic-card .mam-section-head{margin:-22px -22px 18px}.mam-academic-card .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-academic-card .mam-table{margin-top:18px}.mam-academic-card .mam-table table{min-width:760px}.mam-academic-card .mam-action.edit{background:#eef4ff;color:#1d4ed8}.mam-academic-card .mam-action.delete{background:#fff1f2;color:#b42318}.mam-academic-note{margin-top:14px}@media(max-width:1000px){.mam-academic-grid{grid-template-columns:1fr}.mam-academic-card:nth-child(3){grid-column:auto}}@media(max-width:700px){.mam-academic-hero{display:block}.mam-academic-counts{margin-top:16px}.mam-academic-card .grid{grid-template-columns:1fr}}.mam-academic-grid-v2{grid-template-columns:1fr 1fr;align-items:start}.mam-academic-grid-v2 .mam-exam-card{grid-column:1/-1}.mam-academic-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:#eef6f3;color:var(--mam-primary,#006A4E);font-size:11px;font-weight:800;white-space:nowrap}.mam-academic-card .mam-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mam-subject-picker{margin:8px 0 18px;border:1px solid var(--mam-border,#D9E2EC);border-radius:12px;background:#f8fafc;overflow:hidden}.mam-subject-picker-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;background:#f1f5f9;border-bottom:1px solid var(--mam-border,#D9E2EC)}.mam-select-all{display:inline-flex!important;align-items:center;gap:8px!important;margin:0!important;font-weight:700!important;color:var(--mam-heading,#16324F)!important}.mam-select-all input{width:17px!important;height:17px!important;margin:0!important}.mam-subject-group{padding:12px 15px;border-bottom:1px solid #e8edf3}.mam-subject-group:last-child{border-bottom:0}.mam-subject-group-title{font-size:12px;font-weight:800;color:var(--mam-primary,#006A4E);margin-bottom:8px}.mam-subject-option{display:inline-flex!important;align-items:center;gap:7px!important;margin:4px 8px 4px 0!important;padding:8px 11px!important;border:1px solid #dce5ec;border-radius:8px;background:#fff;cursor:pointer;font-weight:600!important;color:var(--mam-heading,#16324F)!important}.mam-subject-option:hover{border-color:var(--mam-secondary,#1D4ED8);background:#f5f8ff}.mam-subject-option input{width:16px!important;height:16px!important;margin:0!important}.mam-subject-picker-help{padding:10px 15px;color:#64748b;font-size:12px;background:#fff}.mam-empty-subjects{padding:10px 0;color:#94a3b8;font-size:12px}@media(max-width:1000px){.mam-academic-grid-v2{grid-template-columns:1fr}.mam-academic-grid-v2 .mam-exam-card{grid-column:auto}}.mam-academic-form-wrap.mam-form-collapsed{display:none!important}.mam-collapsible-card .mam-section-head{align-items:center!important;gap:14px!important}.mam-collapsible-card .mam-section-head>h2{margin:0!important}.mam-academic-toggle{margin-left:auto!important;white-space:nowrap!important}.mam-portal-shell .mam-portal-topbar{background:var(--portal-header,var(--mam-header,#123B5D))!important;color:var(--portal-header-text,#fff)!important}.mam-portal-shell .mam-portal-topbar h1,.mam-portal-shell .mam-portal-topbar strong,.mam-portal-shell .mam-portal-topbar small,.mam-portal-shell .mam-portal-topbar .mam-portal-kicker{color:var(--portal-header-text,#fff)!important}.mam-portal-shell .mam-portal-menu{display:flex!important;flex-direction:column!important;gap:5px!important}.mam-portal-shell .mam-portal-menu-item{position:relative!important;width:100%!important}.mam-portal-shell .mam-portal-menu-toggle{width:100%!important;min-height:41px!important;padding:10px 11px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#E2E8F0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;font:inherit!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;box-shadow:none!important}.mam-portal-shell .mam-portal-menu-toggle:hover,.mam-portal-shell .mam-portal-menu-item.is-active>.mam-portal-menu-toggle{background:var(--mam-sidebar-active,#2563EB)!important;color:#fff!important}.mam-portal-shell .mam-menu-chevron{font-size:16px!important;line-height:1!important;transition:transform .18s ease!important;opacity:.8!important}.mam-portal-shell .mam-portal-menu-item.is-open>.mam-portal-menu-toggle .mam-menu-chevron,.mam-portal-shell .mam-portal-menu-item:hover>.mam-portal-menu-toggle .mam-menu-chevron{transform:rotate(180deg)!important}.mam-portal-shell .mam-portal-submenu{display:none!important;margin:2px 0 4px!important;padding:3px 0 3px 10px!important;border-left:2px solid rgba(255,255,255,.15)!important}.mam-portal-shell .mam-portal-menu-item:hover>.mam-portal-submenu,.mam-portal-shell .mam-portal-menu-item.is-open>.mam-portal-submenu,.mam-portal-shell .mam-portal-menu-item.is-active>.mam-portal-submenu{display:flex!important;flex-direction:column!important;gap:3px!important}.mam-portal-shell .mam-portal-submenu a{display:block!important;min-height:35px!important;padding:8px 10px!important;border-radius:7px!important;color:#CBD5E1!important;background:transparent!important;text-decoration:none!important;font-size:12px!important;font-weight:600!important}.mam-portal-shell .mam-portal-submenu a:hover,.mam-portal-shell .mam-portal-submenu a.active{background:rgba(255,255,255,.10)!important;color:#fff!important}.mam-portal-shell .mam-portal-menu-link{display:flex!important;align-items:center!important;text-decoration:none!important}.mam-portal-shell .mam-portal-menu-link.active{background:var(--mam-sidebar-active,#2563EB)!important;color:#fff!important}.mam-portal-shell .mam-portal-card.mam-academic-profile-card{padding:28px!important}.mam-academic-profile-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:20px!important;border-bottom:1px solid var(--mam-border,#D7E0EA)!important;padding-bottom:16px!important;margin-bottom:20px!important}.mam-academic-profile-title h3{margin:0!important;font-size:22px!important}.mam-academic-profile-title span{font-size:11px!important;text-transform:uppercase!important;letter-spacing:1px!important;color:#64748B!important;font-weight:800!important}.mam-academic-profile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:12px!important;overflow:hidden!important}.mam-academic-profile-grid>div{padding:15px 17px!important;background:#fff!important;border-right:1px solid var(--mam-border,#D7E0EA)!important;border-bottom:1px solid var(--mam-border,#D7E0EA)!important}.mam-academic-profile-grid>div:nth-child(2n){border-right:0!important}.mam-academic-profile-grid>div:nth-last-child(-n+2){border-bottom:0!important}.mam-academic-profile-grid span,.mam-report-student span{display:block!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.8px!important;color:#64748B!important;font-weight:700!important;margin-bottom:5px!important}.mam-academic-profile-grid strong{font-size:17px!important;color:var(--mam-heading,#16324F)!important}.mam-academic-subjects{margin-top:24px!important}.mam-academic-subjects h4{margin:0 0 12px!important;font-size:17px!important;color:var(--mam-heading,#16324F)!important}.mam-academic-subjects ul{margin:0!important;padding:0!important;list-style:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mam-academic-subjects li{padding:11px 14px!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:9px!important;background:#F8FAFC!important;color:#334155!important;font-weight:600!important}.mam-result-pass{color:#15803D!important;font-weight:800!important}.mam-result-fail{color:#B91C1C!important;font-weight:800!important}.mam-portal-report-card{background:#fff!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:14px!important;padding:24px!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important}.mam-report-head{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;text-align:center!important;padding-bottom:18px!important;border-bottom:2px solid var(--mam-primary,#2563EB)!important}.mam-report-head img{width:54px!important;height:54px!important;object-fit:contain!important}.mam-report-head strong{display:block!important;font-size:20px!important;color:var(--mam-heading,#16324F)!important}.mam-report-head span{display:block!important;color:#64748B!important;font-size:12px!important;margin-top:3px!important}.mam-report-student{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1px!important;background:var(--mam-border,#D7E0EA)!important;border:1px solid var(--mam-border,#D7E0EA)!important;margin:20px 0!important;border-radius:10px!important;overflow:hidden!important}.mam-report-student>div{background:#fff!important;padding:12px 14px!important}.mam-report-student strong{color:var(--mam-heading,#16324F)!important;font-size:14px!important}.mam-report-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:18px!important}.mam-report-summary>div{padding:13px!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:10px!important;background:#F8FAFC!important;text-align:center!important}.mam-report-summary span{display:block!important;font-size:10px!important;color:#64748B!important;text-transform:uppercase!important;font-weight:700!important}.mam-report-summary strong{display:block!important;margin-top:4px!important;font-size:17px!important;color:var(--mam-heading,#16324F)!important}.mam-report-print,.mam-portal-id-actions{text-align:center!important;margin:20px 0 0!important}.mam-report-print button,.mam-portal-id-actions button,.mam-portal-button{border:0!important;border-radius:8px!important;background:var(--mam-primary,#2563EB)!important;color:#fff!important;padding:10px 16px!important;font-weight:700!important;cursor:pointer!important;text-decoration:none!important;display:inline-block!important}.mam-portal-id-wrap{display:flex!important;justify-content:center!important}.mam-portal-id-card{width:390px!important;max-width:100%!important;background:#fff!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 30px rgba(15,23,42,.10)!important}.mam-portal-id-head{background:var(--mam-header,#17324D)!important;color:#fff!important;padding:18px!important;text-align:center!important}.mam-portal-id-head img{width:44px!important;height:44px!important;object-fit:contain!important;vertical-align:middle!important;margin-right:8px!important}.mam-portal-id-head strong{font-size:17px!important;vertical-align:middle!important}.mam-portal-id-body{text-align:center!important;padding:24px!important}.mam-portal-id-photo{width:105px!important;height:125px!important;object-fit:cover!important;border-radius:10px!important;border:2px solid var(--mam-accent,#F59E0B)!important}.mam-portal-id-photo.placeholder{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#E2E8F0!important;color:#64748B!important;font-size:34px!important}.mam-portal-id-body h2{margin:13px 0 3px!important;color:var(--mam-heading,#16324F)!important;font-size:21px!important}.mam-portal-id-role{color:var(--mam-accent,#F59E0B)!important;font-weight:800!important;font-size:12px!important;letter-spacing:1px!important}.mam-portal-id-info{text-align:left!important;border-top:1px solid var(--mam-border,#D7E0EA)!important;margin-top:17px!important;padding-top:12px!important}.mam-portal-id-info div{display:flex!important;gap:10px!important;padding:6px 0!important}.mam-portal-id-info b{width:105px!important;color:#64748B!important;font-size:12px!important}.mam-portal-id-info span{color:#334155!important;font-weight:700!important;font-size:12px!important}.mam-portal-id-foot{text-align:center!important;padding:10px 14px!important;background:#F8FAFC!important;color:#64748B!important;font-size:11px!important}.mam-portal-password-form{max-width:500px!important;display:grid!important;gap:14px!important}.mam-portal-password-form label{display:grid!important;gap:6px!important;font-weight:700!important;color:#334155!important}.mam-portal-password-form input{padding:10px 12px!important;border:1px solid var(--mam-border,#D7E0EA)!important;border-radius:8px!important}.mam-front-notice.success{border-color:#86EFAC!important;background:#F0FDF4!important;color:#166534!important}@media(max-width:700px){.mam-academic-profile-grid,.mam-report-student,.mam-report-summary,.mam-academic-subjects ul{grid-template-columns:1fr!important}.mam-academic-profile-grid>div,.mam-academic-profile-grid>div:nth-child(2n){border-right:0!important}.mam-academic-profile-grid>div:nth-last-child(-n+2){border-bottom:1px solid var(--mam-border,#D7E0EA)!important}.mam-academic-profile-grid>div:last-child{border-bottom:0!important}.mam-report-head{justify-content:flex-start;text-align:left}.mam-portal-shell .mam-portal-submenu{display:none!important}.mam-portal-shell .mam-portal-menu-item.is-open>.mam-portal-submenu,.mam-portal-shell .mam-portal-menu-item.is-active>.mam-portal-submenu{display:flex!important}}@media print{.mam-portal-shell .mam-portal-sidebar,.mam-portal-shell .mam-portal-topbar,.mam-portal-shell .mam-portal-page-title,.mam-report-print,.mam-portal-id-actions{display:none!important}.mam-portal-shell .mam-portal-main{background:#fff!important}.mam-portal-report-card,.mam-portal-id-card{box-shadow:none!important;border:1px solid #bbb!important}.mam-portal-report-card{max-width:none!important}.mam-portal-shell .mam-portal-body{display:block!important}.mam-portal-shell .mam-portal-main{width:100%!important}}.mam-portal-shell .mam-portal-main>.mam-portal-welcome,.mam-portal-shell .mam-portal-main>.mam-portal-grid,.mam-portal-shell .mam-portal-main>.mam-portal-card,.mam-portal-shell .mam-portal-main>.mam-profile-layout{margin-top:24px!important}.mam-portal-shell .mam-portal-main>.mam-portal-topbar{margin-bottom:0!important}.mam-portal-shell .mam-portal-profile{background:transparent!important;border:0!important;box-shadow:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important}.mam-portal-shell .mam-portal-profile>div{background:transparent!important;border:0!important;border-bottom:1px solid var(--mam-border,#D7E0EA)!important;border-radius:0!important;padding:14px 18px!important;box-shadow:none!important}.mam-portal-shell .mam-portal-profile>div:nth-child(3n+1),.mam-portal-shell .mam-portal-profile>div:nth-child(3n+2){border-right:1px solid var(--mam-border,#D7E0EA)!important}.mam-portal-shell .mam-portal-profile>div:nth-last-child(-n+3){border-bottom:0!important}.mam-portal-shell .mam-portal-password-field{position:relative!important;display:block!important}.mam-portal-shell .mam-portal-password-field input{width:100%!important;box-sizing:border-box!important;padding-right:46px!important}.mam-portal-shell .mam-portal-password-toggle{position:absolute!important;right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#64748B!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:none!important;font-size:16px!important}.mam-portal-shell .mam-portal-password-toggle:hover{color:var(--mam-primary,#2563EB)!important;background:transparent!important}@media(max-width:850px){.mam-portal-shell .mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-portal-shell .mam-portal-profile>div:nth-child(3n+1),.mam-portal-shell .mam-portal-profile>div:nth-child(3n+2){border-right:0!important}.mam-portal-shell .mam-portal-profile>div:nth-child(odd){border-right:1px solid var(--mam-border,#D7E0EA)!important}.mam-portal-shell .mam-portal-profile>div:nth-last-child(-n+3){border-bottom:1px solid var(--mam-border,#D7E0EA)!important}.mam-portal-shell .mam-portal-profile>div:nth-last-child(-n+2){border-bottom:0!important}}@media(max-width:560px){.mam-portal-shell .mam-portal-profile{grid-template-columns:1fr!important}.mam-portal-shell .mam-portal-profile>div,.mam-portal-shell .mam-portal-profile>div:nth-child(odd){border-right:0!important;border-bottom:1px solid var(--mam-border,#D7E0EA)!important}.mam-portal-shell .mam-portal-profile>div:last-child{border-bottom:0!important}}.mam-registration-wrap{max-width:1180px;margin:22px 0;background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.06)}.mam-registration-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #e5e7eb;background:#fff}.mam-registration-header h2{margin:4px 0 6px;font-size:24px;color:var(--mam-heading,#1e293b)}.mam-registration-header p{margin:0;color:#64748b}.mam-form-section{padding:26px 28px;border-bottom:1px solid #edf1f5}.mam-form-section-title{display:flex;align-items:center;gap:14px;margin-bottom:20px}.mam-form-section-title>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--mam-primary,#006A4E);color:#fff;font-weight:700;font-size:13px}.mam-form-section-title h3{margin:0 0 3px;font-size:17px;color:#1e293b}.mam-form-section-title p{margin:0;color:#64748b;font-size:12px}.mam-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mam-address-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mam-field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;color:#334155}.mam-field em,.mam-upload-field em{font-style:normal;color:#dc2626}.mam-field input,.mam-field select,.mam-field textarea{width:100%;border:1px solid #d9e2ec;border-radius:9px;background:#fff;min-height:42px;padding:9px 11px;box-sizing:border-box;color:#0f172a;box-shadow:none}.mam-field textarea{min-height:105px;resize:vertical}.mam-field input:focus,.mam-field select:focus,.mam-field textarea:focus{border-color:var(--mam-primary,#006A4E);box-shadow:0 0 0 2px rgba(0,106,78,.08);outline:none}.mam-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}.mam-upload-field{border:1px dashed #cbd5e1;border-radius:12px;padding:17px;background:#f8fafc;display:flex;flex-direction:column;gap:9px;color:#334155;font-weight:600}.mam-upload-field input{width:100%;padding:8px;border:1px solid #d9e2ec;background:#fff;border-radius:8px}.mam-upload-field small{color:#64748b;font-weight:400}.mam-full{max-width:100%}.mam-registration-actions{display:flex;justify-content:flex-end;gap:10px;padding:22px 28px;background:#fafbfc}.mam-registration-actions .button-hero{min-height:42px;padding:8px 20px}.mam-student-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width:900px){.mam-form-grid,.mam-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-upload-grid{grid-template-columns:1fr}.mam-registration-header{align-items:flex-start;flex-direction:column}.mam-student-toolbar{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.mam-form-grid,.mam-address-grid{grid-template-columns:1fr}.mam-form-section,.mam-registration-header{padding:20px}.mam-registration-actions{padding:18px 20px;justify-content:stretch;flex-direction:column}.mam-registration-actions .button{width:100%;text-align:center}}.mam-registration-wrap{max-width:1180px!important}.mam-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 16px!important}.mam-address-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mam-field input,.mam-field select,.mam-field textarea{min-height:40px!important;padding:8px 10px!important;font-size:13px!important}.mam-field-id input{background:#f8fafc!important;font-weight:700!important;color:var(--mam-primary,#160186)!important}.mam-field small{font-size:11px;color:#64748b;font-weight:500}.mam-upload-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.mam-upload-field{padding:14px!important}.mam-icon-actions{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.mam-icon-action{display:inline-grid!important;place-items:center!important;width:31px;height:31px;border:1px solid #dbe3ec;border-radius:7px;background:#fff;text-decoration:none!important;color:#475569!important;transition:.15s ease}.mam-icon-action:hover{background:#f1f5f9;color:var(--mam-primary,#160186)!important;border-color:#cbd5e1}.mam-icon-action.success{color:#047857!important;background:#ecfdf5;border-color:#a7f3d0}.mam-icon-action.danger{color:#b42318!important;background:#fff5f5;border-color:#fecaca}.mam-icon-action .dashicons{font-size:16px!important;width:16px!important;height:16px!important;line-height:16px!important}.mam-table table{min-width:1200px!important}@media(max-width:1000px){.mam-form-grid,.mam-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:650px){.mam-form-grid,.mam-address-grid,.mam-upload-grid{grid-template-columns:1fr!important}.mam-icon-actions{flex-wrap:wrap}.mam-icon-action{width:30px;height:30px}}.mam-registration-a4{max-width:794px!important;width:100%;margin:18px auto!important;border-radius:12px!important;box-shadow:0 8px 24px rgba(15,23,42,.07)!important}.mam-registration-a4 .mam-registration-header{padding:16px 20px!important;background:#f8fbff!important;border-bottom:1px solid #dbe5ef!important;align-items:center!important}.mam-registration-a4 .mam-registration-header h2{font-size:20px!important;margin:2px 0!important}.mam-registration-a4 .mam-section-kicker{font-size:10px!important;letter-spacing:.12em!important;color:var(--mam-primary,#006A4E)!important;font-weight:800!important}.mam-student-id-chip{margin-left:auto;background:var(--mam-primary,#006A4E);color:#fff;padding:7px 11px;border-radius:7px;font-size:12px;font-weight:800;letter-spacing:.04em}.mam-small-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:34px!important;padding:6px 12px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#334155!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;box-sizing:border-box!important;cursor:pointer!important}.mam-small-button:hover{border-color:var(--mam-primary,#006A4E)!important;color:var(--mam-primary,#006A4E)!important;background:#f8fafc!important}.mam-register-button{background:var(--mam-primary,#006A4E)!important;border-color:var(--mam-primary,#006A4E)!important;color:#fff!important}.mam-register-button:hover{background:var(--mam-secondary,#1D4ED8)!important;border-color:var(--mam-secondary,#1D4ED8)!important;color:#fff!important}.mam-cancel-button{background:#fff!important}.mam-student-registration-form{padding:16px 20px 0!important}.mam-student-registration-form>.mam-form-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px 12px!important;margin:0 0 11px!important}.mam-student-registration-form .mam-span-name{grid-column:span 1!important}.mam-row-name{grid-template-columns:1.6fr .8fr .8fr!important}.mam-row-two{grid-template-columns:1fr 1fr!important}.mam-field{gap:4px!important;font-size:11px!important;font-weight:700!important;color:#334155!important}.mam-field span{line-height:1.2!important}.mam-field small{font-size:10px!important;color:#64748b!important;font-weight:600!important}.mam-field em{color:#dc2626!important}.mam-field input,.mam-field select,.mam-field textarea{min-height:36px!important;height:36px!important;padding:7px 9px!important;border-radius:6px!important;border:1px solid #cbd5e1!important;font-size:12px!important;background:#fff!important}.mam-field textarea{height:auto!important;min-height:70px!important}.mam-field input:focus,.mam-field select:focus,.mam-field textarea:focus{border-color:var(--mam-primary,#006A4E)!important;box-shadow:0 0 0 2px rgba(0,106,78,.08)!important}.mam-date-wrap{position:relative!important}.mam-date-wrap input{padding-right:32px!important}.mam-date-wrap .dashicons{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;color:#64748b!important;font-size:16px!important;width:16px!important;height:16px!important;pointer-events:none!important}.mam-upload-row{margin-top:2px!important}.mam-upload-field{padding:10px!important;border:1px solid #dbe3ec!important;border-radius:7px!important;background:#f8fafc!important;gap:6px!important;font-size:11px!important}.mam-upload-field span{font-weight:700!important;color:#334155!important}.mam-upload-field input{font-size:11px!important;width:100%!important;padding:4px!important;border:1px solid #dbe3ec!important;border-radius:5px!important;background:#fff!important}.mam-full{display:flex!important;margin:0 0 12px!important}.mam-form-warning{padding:9px 11px;background:#fff7ed;border:1px solid #fed7aa;border-radius:7px;color:#9a3412;font-size:11px;margin-bottom:12px}.mam-registration-actions{padding:12px 0 16px!important;background:#fff!important;border-top:1px solid #edf2f7!important;display:flex!important;justify-content:flex-end!important;gap:7px!important}.ui-datepicker{z-index:999999!important;font-size:12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;box-shadow:0 10px 24px rgba(15,23,42,.14)!important;padding:8px!important;background:#fff!important}.ui-datepicker .ui-datepicker-header{background:var(--mam-primary,#006A4E)!important;color:#fff!important;border:0!important;border-radius:6px!important}.ui-datepicker td a{border-radius:5px!important;text-align:center!important}.ui-datepicker td a:hover{background:#e8f2ef!important;color:#111827!important}.mam-table{overflow-x:auto!important}.mam-table table{min-width:1180px!important}.mam-table th{white-space:nowrap!important;font-size:11px!important}.mam-table td{font-size:11px!important;white-space:nowrap!important}.mam-icon-actions{gap:3px!important}.mam-icon-action{width:28px!important;height:28px!important;border-radius:6px!important}@media(max-width:850px){.mam-registration-a4{max-width:100%!important}.mam-student-registration-form>.mam-form-grid,.mam-row-name{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-span-name{grid-column:span 2!important}.mam-registration-a4 .mam-registration-header{flex-wrap:wrap!important}.mam-student-id-chip{margin-left:0!important}}@media(max-width:560px){.mam-student-registration-form>.mam-form-grid,.mam-row-name,.mam-row-two{grid-template-columns:1fr!important}.mam-span-name{grid-column:span 1!important}.mam-student-registration-form{padding:12px!important}.mam-registration-a4 .mam-registration-header{padding:12px!important}.mam-registration-actions{justify-content:stretch!important}.mam-registration-actions .mam-small-button{flex:1!important}}.mam-admission-page{width:100%!important;padding:18px 0 28px!important;background:#eef9ee!important;box-sizing:border-box!important;display:block!important}.mam-admission-page .mam-admission-a4{width:794px!important;max-width:calc(100vw - 40px)!important;min-height:1123px!important;margin:0 auto!important;box-sizing:border-box!important;background:#e9f9ea!important;border-radius:18px!important;padding:20px 20px 24px!important;color:#1f2937!important;display:block!important}.mam-admission-page .mam-two-col{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 30px!important;align-items:center!important}.mam-admission-page .mam-full-field{display:flex!important;width:100%!important}.mam-admission-page .mam-admission-field{display:flex!important;align-items:center!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}.mam-admission-page .mam-admission-field input,.mam-admission-page .mam-admission-field select{display:block!important;width:100%!important;box-sizing:border-box!important}.mam-admission-page .mam-upload-two{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px 30px!important}.mam-admission-a4{width:794px;max-width:calc(100vw - 40px);min-height:1123px;margin:0 auto;background:#e9f9ea;border-radius:18px;box-sizing:border-box;padding:20px 20px 24px;color:#1f2937;box-shadow:0 10px 28px rgba(22,43,31,.08)}.mam-admission-title{text-align:center;padding:0 0 14px}.mam-admission-title h1{margin:0;color:#1d2ca1;font-size:26px;line-height:1.15;font-weight:800;letter-spacing:.02em}.mam-admission-title div{margin-top:3px;color:#202020;font-size:17px;font-weight:700}.mam-admission-card{background:#fff;border-radius:18px;padding:16px 18px;margin:0 0 12px;box-sizing:border-box}.mam-top-card{padding-top:15px;padding-bottom:15px}.mam-person-card{padding-top:17px;padding-bottom:17px}.mam-academic-card{padding-top:15px;padding-bottom:15px}.mam-upload-card{padding-top:17px;padding-bottom:17px}.mam-two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px 30px}.mam-admission-field{display:flex;align-items:center;gap:7px;min-width:0;margin:0;font-size:12px;font-weight:500;color:#202020}.mam-admission-field>span{flex:0 0 122px;line-height:1.15;white-space:nowrap}.mam-admission-field>span em{font-style:normal;color:#111}.mam-admission-field input,.mam-admission-field select{width:100%;height:30px;min-height:30px;border:1px solid #c9cfd5;border-radius:4px;background:#fff;box-shadow:none;padding:4px 8px;font-size:12px;color:#202020;box-sizing:border-box}.mam-admission-field input:focus,.mam-admission-field select:focus{border-color:#1d2ca1;box-shadow:0 0 0 1px rgba(29,44,161,.12);outline:none}.mam-full-field{margin-bottom:10px}.mam-full-field>span{flex-basis:122px}.mam-full-field input{height:31px}.mam-admission-id{background:#f6f7f8!important;font-weight:700;color:#1d2ca1!important}.mam-admission-date{position:relative;flex:1;min-width:0}.mam-admission-date input{padding-right:30px!important}.mam-admission-date .dashicons{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:15px;width:15px;height:15px;color:#2b6cb0;pointer-events:none}.mam-admission-upload{display:grid;grid-template-columns:122px 1fr;align-items:center;gap:7px;margin:0;padding:0;font-size:12px;font-weight:500;color:#202020}.mam-admission-upload>span{white-space:nowrap}.mam-admission-upload input{width:100%;min-width:0;font-size:11px;height:31px;padding:4px;border:1px solid #c9cfd5;border-radius:4px;background:#fff;box-sizing:border-box}.mam-admission-upload small{grid-column:2;font-size:10px;color:#202020;margin-top:-5px}.mam-admission-actions{display:flex;justify-content:space-between;align-items:center;padding:2px 12px 0}.mam-admission-btn{display:inline-flex;align-items:center;justify-content:center;min-width:88px;height:34px;padding:0 18px;border-radius:18px;border:0;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer;box-sizing:border-box}.mam-admission-btn.primary{background:#48b995;color:#fff}.mam-admission-btn.primary:hover{background:#319f7c;color:#fff}.mam-admission-btn.secondary{background:#48b995;color:#fff}.mam-admission-btn.secondary:hover{background:#319f7c;color:#fff}.mam-admission-warning{background:#fff8e8;border:1px solid #f0cf8a;color:#7a4d00;border-radius:10px;padding:9px 12px;font-size:11px;margin-bottom:12px}.mam-admission-form .ui-datepicker{font-size:12px}@media print{.mam-admission-page{background:#fff;padding:0}.mam-admission-a4{width:210mm;min-height:297mm;max-width:none;margin:0;background:#e9f9ea;box-shadow:none;border-radius:0;padding:5mm}.mam-admission-actions,.mam-admission-warning{display:none!important}.mam-admission-title h1{font-size:20px}.mam-admission-title div{font-size:13px}.mam-admission-card{border-radius:4mm;margin-bottom:3mm;padding:4mm}.mam-admission-field{font-size:9pt}.mam-admission-field input,.mam-admission-field select{height:7mm;min-height:7mm;font-size:9pt}.mam-admission-upload input{height:7mm}.mam-admission-upload{font-size:9pt}}@media(max-width:820px){.mam-admission-a4{max-width:calc(100vw - 24px);padding:14px}.mam-two-col{gap:9px 18px}.mam-admission-field>span,.mam-admission-upload{grid-template-columns:105px 1fr}.mam-admission-field>span{flex-basis:105px}}@media(max-width:620px){.mam-admission-a4{max-width:calc(100vw - 12px);padding:10px}.mam-two-col{grid-template-columns:1fr;gap:9px}.mam-admission-card{border-radius:12px;padding:13px}.mam-admission-title h1{font-size:22px}.mam-admission-field>span{flex-basis:125px}.mam-admission-upload{grid-template-columns:125px 1fr}.mam-admission-actions{padding-left:4px;padding-right:4px}}.mam-admission-page .mam-admission-card{width:100%!important;box-sizing:border-box!important}.mam-admission-page .mam-top-card .mam-two-col,.mam-admission-page .mam-person-card .mam-two-col,.mam-admission-page .mam-academic-card .mam-two-col{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.mam-admission-page .mam-admission-title{text-align:center!important}.mam-admission-page .mam-admission-actions{display:flex!important;justify-content:space-between!important}@media(max-width:820px){.mam-admission-page .mam-admission-a4{max-width:calc(100vw - 24px)!important}.mam-admission-page .mam-two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px 18px!important}}@media(max-width:620px){.mam-admission-page .mam-admission-a4{max-width:calc(100vw - 12px)!important;padding:10px!important}.mam-admission-page .mam-two-col,.mam-admission-page .mam-top-card .mam-two-col,.mam-admission-page .mam-person-card .mam-two-col,.mam-admission-page .mam-academic-card .mam-two-col,.mam-admission-page .mam-upload-two{grid-template-columns:1fr!important;gap:9px!important}}.mam-staff-form-shell{max-width:794px;margin:18px auto;background:#ecfff2;border-radius:12px;padding:18px;box-sizing:border-box}.mam-staff-form-header{display:flex;justify-content:space-between;align-items:flex-start;padding:4px 6px 16px;color:#142a8a}.mam-staff-form-header h2{margin:4px 0 2px;text-align:center;font-size:23px;color:#142a8a;letter-spacing:.2px}.mam-staff-form-header>div{width:100%;text-align:center}.mam-staff-form-header strong{display:block;color:#17202a;font-size:15px}.mam-form-kicker{font-size:0}.mam-back-link{background:#4bc39a;color:#0b3327!important;text-decoration:none;border-radius:10px;padding:3px 10px;line-height:24px;font-weight:600;white-space:nowrap}.mam-staff-card{background:#fff;border:1px solid #edf1ef;border-radius:18px;padding:18px 20px;margin:12px 0;box-shadow:0 2px 7px rgba(20,42,36,.04)}.mam-staff-row{display:grid;gap:14px 28px}.mam-staff-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-full{margin-bottom:14px}.mam-staff-full label{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center}.mam-date-field{display:flex;align-items:center;position:relative}.mam-date-field input{padding-right:38px!important}.mam-date-picker-btn{position:absolute;right:3px;top:3px;width:34px;height:32px;border:0;background:transparent;color:#2563eb;cursor:pointer}.mam-declaration-check{grid-template-columns:22px minmax(0,1fr) 12px!important;align-items:start!important}.mam-declaration-check input{width:18px!important;min-height:18px!important;margin:2px 0 0!important}.mam-declaration-check em{color:#dc2626;font-style:normal}.mam-staff-history{margin-top:14px}.mam-staff-admission-form label{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:8px;font-size:12px;font-weight:600;color:#263238}.mam-staff-admission-form label>small{grid-column:2}.mam-staff-admission-form .mam-date-field{grid-column:2}.mam-staff-admission-form input,.mam-staff-admission-form select,.mam-staff-admission-form textarea{width:100%;box-sizing:border-box;min-height:38px;border:1px solid #d7dedb!important;border-radius:5px!important;padding:7px 10px!important;background:#fff!important;box-shadow:none!important;font-size:13px}.mam-staff-admission-form input[type=file]{padding:5px!important}.mam-staff-admission-form input:focus,.mam-staff-admission-form select:focus,.mam-staff-admission-form textarea:focus{border-color:#4bc39a!important;box-shadow:0 0 0 2px rgba(75,195,154,.13)!important;outline:0}.mam-staff-admission-form small{font-size:10px;font-weight:500;color:#59636a}.mam-staff-declaration{margin-top:14px}.mam-staff-actions{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.mam-soft-btn,.mam-register-btn{border-radius:10px!important;padding:3px 14px!important;min-height:30px!important;line-height:24px!important}.mam-soft-btn{background:#4bc39a!important;border-color:#4bc39a!important;color:#07382b!important}.mam-register-btn{background:#4bc39a!important;border-color:#4bc39a!important;color:#07382b!important}.mam-register-btn:hover,.mam-soft-btn:hover{background:#35b688!important;border-color:#35b688!important}.mam-icon-action{display:inline-flex!important;align-items:center;justify-content:center;width:28px;height:28px;margin:1px 2px!important;border-radius:6px;text-decoration:none!important;background:#eef4ff;color:#1d4ed8!important;vertical-align:middle}.mam-icon-action .dashicons{font-size:16px;width:16px;height:16px}.mam-icon-action.delete{background:#fff0f0;color:#b42318!important}.mam-icon-action:hover{filter:brightness(.96);transform:translateY(-1px)}.mam-staff-toolbar{margin-bottom:14px!important}.mam-staff-toolbar .button{margin-left:5px}@media(max-width:700px){.mam-staff-admission-form label,.mam-staff-full label{grid-template-columns:1fr;gap:5px}.mam-staff-admission-form .mam-date-field{grid-column:auto}.mam-declaration-check{grid-template-columns:22px minmax(0,1fr) 12px!important}.mam-staff-form-shell{max-width:calc(100vw - 18px);padding:10px}.mam-staff-row.two{grid-template-columns:1fr;gap:10px}.mam-staff-card{padding:14px}.mam-staff-form-header h2{font-size:20px}.mam-staff-actions{gap:10px}.mam-staff-toolbar{flex-direction:column;align-items:flex-start}.mam-staff-toolbar .button{margin:5px 5px 0 0}}.mam-staff-form-shell{max-width:820px!important;margin:8px auto!important;padding:14px 16px!important}.mam-staff-form-header{padding:0 6px 10px!important;align-items:flex-start!important}.mam-staff-form-header h2{margin:0 0 1px!important;font-size:22px!important}.mam-staff-form-header strong{font-size:14px!important}.mam-back-link{padding:1px 9px!important;line-height:22px!important;border-radius:8px!important}.mam-staff-card{padding:15px 18px!important;margin:9px 0!important;border-radius:14px!important}.mam-staff-row.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:38px!important;row-gap:12px!important}.mam-staff-admission-form label{grid-template-columns:102px minmax(150px,1fr)!important;gap:7px!important}.mam-staff-admission-form .mam-staff-full label{grid-template-columns:102px minmax(0,1fr)!important}.mam-staff-admission-form input,.mam-staff-admission-form select,.mam-staff-admission-form textarea{min-height:36px!important;padding:6px 9px!important;font-size:12.5px!important}.mam-staff-admission-form input[type=file]{padding:4px 6px!important;max-width:230px!important}.mam-staff-admission-form label>small{grid-column:2!important;display:block!important;margin-top:-3px!important;line-height:1.15!important}.mam-staff-admission-form .mam-date-field{grid-column:2!important;max-width:230px!important}.mam-staff-admission-form .mam-date-field input{max-width:none!important}.mam-date-picker-btn{width:30px!important;height:30px!important;right:2px!important;top:2px!important}.mam-staff-declaration{margin-top:10px!important}.mam-declaration-check{display:grid!important;grid-template-columns:20px minmax(0,1fr) 10px!important;align-items:center!important;gap:7px!important}.mam-declaration-check input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;border:2px solid #4bc39a!important;border-radius:4px!important;background:#fff!important;display:grid!important;place-content:center!important;cursor:pointer!important}.mam-declaration-check input[type=checkbox]:checked{background:#4bc39a!important;border-color:#4bc39a!important}.mam-declaration-check input[type=checkbox]:checked:after{content:"✓";font-size:13px!important;font-weight:800!important;line-height:1!important;color:#07382b!important;transform:translateY(-1px)}.mam-declaration-check span{line-height:1.4!important}.mam-declaration-check em{align-self:center!important}.mam-staff-actions{margin-top:12px!important}.mam-soft-btn,.mam-register-btn{padding:2px 12px!important;min-height:28px!important;line-height:22px!important;border-radius:8px!important}.mam-staff-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.mam-staff-quick-search{display:flex;align-items:center;gap:5px;margin:0!important}.mam-staff-quick-search input{width:210px;min-height:34px!important;margin:0!important;border-radius:7px!important}.mam-staff-quick-search .button{min-height:34px!important;padding:2px 10px!important}.mam-salary-payment-btn{background:#e8fff6!important;color:#087653!important;border-color:#9be2c7!important}.mam-staff-filter-panel{padding:9px 12px!important;margin:0 0 10px!important}.mam-staff-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0!important}.mam-staff-filters select{height:34px!important;min-width:170px!important;margin:0!important;border-radius:7px!important}.mam-staff-filters .button{min-height:34px!important;padding:2px 11px!important}.mam-staff-toolbar+.mam-staff-filter-panel{margin-top:0!important}.mam-staff-filter-panel+.mam-table table{min-width:1180px!important}.mam-staff-toolbar{margin-bottom:9px!important}@media(max-width:900px){.mam-staff-toolbar-actions{width:100%;justify-content:flex-start}.mam-staff-quick-search{flex:1}.mam-staff-quick-search input{width:100%;min-width:180px}.mam-staff-row.two{column-gap:20px!important}}@media(max-width:700px){.mam-staff-admission-form label,.mam-staff-full label{grid-template-columns:1fr!important}.mam-staff-admission-form .mam-date-field{grid-column:auto!important;max-width:none!important}.mam-staff-admission-form input[type=file]{max-width:none!important}.mam-staff-row.two{grid-template-columns:1fr!important;gap:10px!important}.mam-staff-quick-search{width:100%}.mam-staff-quick-search input{min-width:0}.mam-staff-toolbar-actions{align-items:stretch}.mam-staff-toolbar-actions>.button,.mam-staff-quick-search .button{white-space:nowrap}}.mam-staff-form-shell{max-width:760px!important;width:calc(100% - 28px)!important;margin:4px auto 10px!important;padding:10px 14px!important;box-sizing:border-box!important;}.mam-staff-form-header{padding:0 4px 7px!important;margin-top:-5px!important;}.mam-staff-form-header h2{margin:-1px 0 0!important;font-size:21px!important;line-height:1.15!important;}.mam-staff-form-header strong{font-size:13px!important;line-height:1.2!important}.mam-staff-card{padding:13px 15px!important;margin:7px 0!important;border-radius:13px!important;}.mam-staff-row.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:28px!important;row-gap:10px!important;}.mam-staff-admission-form label{grid-template-columns:102px 230px!important;gap:6px!important;min-width:0!important;}.mam-staff-admission-form .mam-staff-full label{grid-template-columns:102px minmax(0,1fr)!important;}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form textarea{width:230px!important;max-width:230px!important;height:34px!important;min-height:34px!important;box-sizing:border-box!important;padding:5px 9px!important;border-radius:5px!important;}.mam-staff-admission-form .mam-staff-full input{width:100%!important;max-width:none!important;}.mam-staff-admission-form input[type=file]{width:230px!important;max-width:230px!important;min-height:32px!important;height:32px!important;padding:4px 5px!important;box-sizing:border-box!important;}.mam-staff-admission-form label>small{grid-column:2!important;width:230px!important;max-width:230px!important;margin-top:-5px!important;line-height:12px!important;}.mam-staff-admission-form .mam-date-field{grid-column:2!important;width:230px!important;max-width:230px!important;height:34px!important;position:relative!important;}.mam-staff-admission-form .mam-date-field input{width:230px!important;max-width:230px!important;height:34px!important;padding-right:38px!important;}.mam-date-picker-btn{display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;right:1px!important;top:1px!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin:0!important;z-index:5!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#2563eb!important;cursor:pointer!important;}.mam-date-picker-btn .dashicons{display:block!important;width:18px!important;height:18px!important;font-size:18px!important;line-height:18px!important;}.mam-declaration-check{display:grid!important;grid-template-columns:20px 10px minmax(0,1fr)!important;align-items:center!important;column-gap:5px!important;width:100%!important;}.mam-declaration-check input[type=checkbox]{grid-column:1!important;grid-row:1!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;align-self:center!important;justify-self:center!important;}.mam-declaration-check em{grid-column:2!important;grid-row:1!important;margin:0!important;color:#dc2626!important;font-size:13px!important;font-style:normal!important;align-self:center!important;}.mam-declaration-check span{grid-column:3!important;grid-row:1!important;line-height:1.35!important;}.mam-declaration-check input[type=checkbox]:checked:after{color:#fff!important;transform:none!important;}.mam-staff-toolbar-actions{gap:6px!important;}.mam-add-staff-btn{order:1!important;min-height:32px!important;height:32px!important;padding:2px 10px!important;border-radius:7px!important;}.mam-staff-quick-search{order:2!important;gap:4px!important;}.mam-staff-quick-search input{width:190px!important;min-width:190px!important;height:32px!important;min-height:32px!important;padding:5px 8px!important;border-radius:6px!important;}.mam-staff-quick-search .button{height:32px!important;min-height:32px!important;padding:2px 9px!important;border-radius:6px!important;}.mam-salary-payment-btn,.mam-staff-toolbar-actions>a:not(.mam-add-staff-btn){height:32px!important;min-height:32px!important;padding:2px 9px!important;border-radius:7px!important;}.mam-staff-filter-panel{padding:7px 9px!important;margin-bottom:8px!important;}.mam-staff-filters{gap:6px!important;flex-wrap:nowrap!important;}.mam-staff-filters select{width:170px!important;min-width:0!important;height:32px!important;padding:3px 7px!important;border-radius:6px!important;font-size:12px!important;}.mam-staff-filters .button{height:32px!important;min-height:32px!important;padding:2px 9px!important;border-radius:6px!important;}@media(max-width:900px){.mam-staff-form-shell{max-width:760px!important}.mam-staff-admission-form label{grid-template-columns:96px minmax(0,1fr)!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select{width:100%!important;max-width:230px!important}.mam-staff-admission-form .mam-date-field{width:100%!important;max-width:230px!important}.mam-staff-filters{flex-wrap:wrap!important}}@media(max-width:700px){.mam-staff-form-shell{width:calc(100% - 14px)!important;padding:9px!important}.mam-staff-row.two{grid-template-columns:1fr!important;gap:9px!important}.mam-staff-admission-form label,.mam-staff-admission-form .mam-staff-full label{grid-template-columns:1fr!important;gap:4px!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form .mam-date-field,.mam-staff-admission-form input[type=file]{width:100%!important;max-width:100%!important}.mam-staff-admission-form label>small{width:100%!important;max-width:100%!important}.mam-staff-toolbar-actions{width:100%!important;justify-content:flex-start!important}.mam-staff-quick-search input{width:100%!important;min-width:0!important}}.mam-staff-toolbar{padding:12px 16px!important;margin-bottom:8px!important}.mam-staff-toolbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}.mam-staff-toolbar-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important}.mam-add-staff-btn,.mam-salary-payment-btn,.mam-staff-back-btn{height:31px!important;min-height:31px!important;padding:2px 11px!important;border-radius:7px!important;line-height:26px!important}.mam-staff-filter-panel{padding:7px 10px!important;margin:0 0 8px!important}.mam-staff-filters{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important;margin:0!important}.mam-staff-filters .mam-staff-quick-search{display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;margin:0!important}.mam-staff-filters .mam-staff-quick-search input{width:205px!important;min-width:205px!important;height:31px!important;min-height:31px!important;padding:4px 8px!important;border-radius:6px!important;margin:0!important;box-sizing:border-box!important}.mam-staff-filters .mam-staff-quick-search .button,.mam-staff-filters>.button{height:31px!important;min-height:31px!important;padding:2px 10px!important;border-radius:6px!important;line-height:25px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.mam-staff-filters select{width:155px!important;min-width:155px!important;height:31px!important;min-height:31px!important;padding:3px 7px!important;border-radius:6px!important;font-size:12px!important;margin:0!important;box-sizing:border-box!important}.mam-staff-admission-form .mam-staff-row.two{column-gap:28px!important;row-gap:15px!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form textarea{height:32px!important;min-height:32px!important;width:220px!important;max-width:220px!important;padding:4px 8px!important;box-sizing:border-box!important;border-radius:5px!important}.mam-staff-admission-form .mam-staff-full input{width:100%!important;max-width:none!important;height:32px!important;min-height:32px!important}.mam-staff-admission-form input[type=file]{width:220px!important;max-width:220px!important;height:30px!important;min-height:30px!important;padding:3px 5px!important;box-sizing:border-box!important}.mam-staff-admission-form label>small{width:220px!important;max-width:220px!important;margin-top:2px!important;line-height:12px!important;display:block!important}.mam-staff-admission-form .mam-date-field{width:220px!important;max-width:220px!important;height:32px!important;min-height:32px!important;position:relative!important}.mam-staff-admission-form .mam-date-field input{width:220px!important;max-width:220px!important;height:32px!important;min-height:32px!important;padding-right:36px!important}.mam-date-picker-btn{right:1px!important;top:1px!important;width:30px!important;height:30px!important;min-width:30px!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#2563eb!important}.mam-staff-form-header{padding:0 4px 6px!important;margin-top:-9px!important}.mam-staff-form-header h2{margin:-1px 0 0!important}.mam-staff-card{padding:15px 16px!important;margin:9px 0!important}.mam-declaration-check{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;column-gap:8px!important;width:100%!important}.mam-declaration-check input[type=checkbox]{grid-column:1!important;grid-row:1!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;justify-self:center!important;align-self:center!important;accent-color:#4bc39a!important}.mam-declaration-check span{grid-column:2!important;grid-row:1!important;line-height:1.35!important;text-align:left!important}.mam-declaration-check em{color:#dc2626!important;font-style:normal!important;font-weight:700!important;margin-right:3px!important}.mam-declaration-check input[type=checkbox]:checked{accent-color:#4bc39a!important}@media(max-width:900px){.mam-staff-filters{flex-wrap:wrap!important}.mam-staff-admission-form label{grid-template-columns:96px minmax(0,1fr)!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form .mam-date-field{max-width:220px!important;width:100%!important}.mam-staff-admission-form input[type=file],.mam-staff-admission-form label>small{max-width:220px!important;width:100%!important}}@media(max-width:700px){.mam-staff-toolbar-actions{justify-content:flex-start!important;flex-wrap:wrap!important}.mam-staff-filters{align-items:stretch!important}.mam-staff-filters .mam-staff-quick-search{width:100%!important}.mam-staff-filters .mam-staff-quick-search input{width:100%!important;min-width:0!important}.mam-staff-filters select{width:100%!important;min-width:0!important}.mam-staff-admission-form .mam-staff-row.two{grid-template-columns:1fr!important;row-gap:15px!important}.mam-staff-admission-form label,.mam-staff-admission-form .mam-staff-full label{grid-template-columns:1fr!important;gap:4px!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form .mam-date-field,.mam-staff-admission-form input[type=file],.mam-staff-admission-form label>small{width:100%!important;max-width:100%!important}}.mam-staff-toolbar-actions{width:100%!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}.mam-staff-toolbar-actions .mam-add-staff-btn{order:1!important}.mam-staff-toolbar-actions .mam-salary-payment-btn{order:2!important}.mam-staff-toolbar-actions .mam-staff-back-btn{order:3!important;margin-left:auto!important}.mam-staff-toolbar-actions>a{margin:0!important}.mam-staff-admission-form .mam-staff-row.two{row-gap:22px!important}.mam-staff-card{margin:12px 0!important}.mam-staff-admission-form input:not([type=file]),.mam-staff-admission-form select,.mam-staff-admission-form textarea{height:32px!important;min-height:32px!important}.mam-staff-declaration.mam-declaration-text{margin-top:18px!important;display:block!important;text-align:left!important}.mam-declaration-text span{display:block!important;text-align:left!important;line-height:1.45!important;font-size:12px!important;font-weight:600!important;color:#263238!important}.mam-declaration-text em{color:#dc2626!important;font-style:normal!important;font-weight:700!important;margin-right:3px!important}.mam-staff-form-header{padding-top:0!important;margin-top:-14px!important}.mam-staff-filter-panel{padding:8px 10px!important}.mam-staff-filters{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important}.mam-staff-filters select{height:31px!important;min-height:31px!important;width:145px!important;min-width:145px!important}.mam-staff-filters .button,.mam-staff-quick-search .button{height:31px!important;min-height:31px!important;padding:2px 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:25px!important}.mam-staff-filters .mam-staff-quick-search{display:flex!important;align-items:center!important;gap:5px!important;margin-left:2px!important}.mam-staff-filters .mam-staff-quick-search input{width:205px!important;min-width:205px!important;height:31px!important;min-height:31px!important;padding:4px 8px!important;box-sizing:border-box!important}.mam-export-staff-btn{white-space:nowrap!important}@media(max-width:900px){.mam-staff-filters{flex-wrap:wrap!important}.mam-staff-filters .mam-staff-quick-search{margin-left:0!important}}.mam-results-tabs{display:flex;gap:6px;margin:12px 0 18px;border-bottom:1px solid #d7e0ea;padding-bottom:8px}.mam-results-tabs a{display:inline-block;padding:8px 14px;border-radius:7px;text-decoration:none;color:#475569;background:#fff;border:1px solid #d7e0ea}.mam-results-tabs a.active{background:#2563eb;color:#fff;border-color:#2563eb}.mam-mark-entry-note{margin:10px 0 15px;padding:10px 12px;border-left:3px solid #0f766e;background:#f0fdfa;color:#334155;border-radius:6px}.mam-mark-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mam-status{display:inline-block;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:700}.mam-status.pass{background:#dcfce7;color:#166534}.mam-status.fail{background:#fee2e2;color:#991b1b}.mam-status.issued{background:#dbeafe;color:#1d4ed8}.mam-status.muted{background:#f1f5f9;color:#64748b}.mam-empty-state{text-align:center;padding:35px}.mam-marks-entry input[type=number]{width:95px}.mam-marks-entry input[type=text]{min-width:150px}.mam-results-tabs + .panel{margin-top:0}.mam-results-tabs{align-items:center}.mam-results-back{margin-left:auto!important;background:#fff!important;border:1px solid #d7e0ea!important;color:#334155!important}.mam-marks-entry input[readonly]{background:#f8fafc;color:#475569}.mam-exam-list .mam-section-head form{display:flex;gap:8px;align-items:center}.mam-settings-card#exam-settings{grid-column:1/-1}.mam-settings-card#exam-settings .mam-table{margin-top:16px}.mam-subject-picker{margin:12px 0}.mam-subject-option{display:inline-flex!important;margin:5px 8px 5px 0!important;padding:8px 10px;background:#f8fafc;border:1px solid #dbe3ec;border-radius:6px}.mam-subject-group-title{font-weight:700;margin:10px 0 6px}.mam-mark-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.mam-academic-card .mam-table{overflow:visible!important}.mam-academic-card .mam-table table{min-width:0!important;width:100%!important;table-layout:fixed!important}.mam-academic-card .mam-table th,.mam-academic-card .mam-table td{white-space:normal!important;word-break:break-word!important}.mam-settings-card#exam-settings .mam-table{overflow:visible!important}.mam-settings-card#exam-settings .mam-table table{min-width:0!important;width:100%!important;table-layout:fixed!important}.mam-settings-card#exam-settings .mam-table th,.mam-settings-card#exam-settings .mam-table td{white-space:normal!important}.mam-icon-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;padding:0!important;margin:0 3px 0 0!important;border:1px solid #dbe3ec!important;border-radius:7px!important;background:#fff!important;color:#1d4ed8!important;text-decoration:none!important;box-sizing:border-box!important}.mam-icon-action .dashicons{font-size:17px!important;width:17px!important;height:17px!important;line-height:17px!important}.mam-icon-action.delete{color:#b42318!important}.mam-icon-action.issue{color:#047857!important}.mam-icon-action:hover{background:#f1f5f9!important}.mam-results-tabs{align-items:center!important}.mam-results-tabs .mam-results-back{margin-left:auto!important}.mam-result-filter .grid{grid-template-columns:repeat(3,minmax(180px,1fr))!important;align-items:end!important}@media(max-width:900px){.mam-result-filter .grid{grid-template-columns:1fr!important}}.mam-scroll-table{max-height:390px;overflow:auto!important;border:1px solid #dbe3ec;border-radius:8px}.mam-scroll-table table{min-width:980px!important;margin:0}.mam-scroll-table thead th{position:sticky;top:0;z-index:2}.mam-matrix-mark{width:82px!important;text-align:center}.mam-matrix-mark[readonly]{background:#f8fafc}.mam-matrix-edit{font-size:12px;text-decoration:none!important}.mam-academic-card .mam-table{max-height:300px;overflow:auto!important}.mam-academic-card .mam-table table{width:100%!important;min-width:760px!important}.mam-academic-card .mam-table thead th{position:sticky;top:0;z-index:2}.mam-grade-settings .mam-table input{width:100%;box-sizing:border-box}.mam-grade-settings .mam-table{overflow:visible!important}.mam-action{display:inline-block;margin-right:5px}.mam-academic-card:not(.mam-exam-card) .mam-table{max-height:320px;overflow:auto!important}.mam-academic-card:not(.mam-exam-card) .mam-table table{width:100%!important}.mam-academic-card:not(.mam-exam-card) .mam-table thead th{position:sticky;top:0;z-index:2}.mam-scroll-table{max-height:320px!important}body.mam-modern-admin{--mam-ui-sidebar:#0d3558;--mam-ui-active:#087cf5;--mam-ui-bg:#f2f7fc;--mam-ui-card:#ffffff;--mam-ui-heading:#17365d;--mam-ui-text:#526b89;--mam-ui-border:#dbe7f2;background:var(--mam-ui-bg)!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}body.mam-modern-admin #adminmenumain,body.mam-modern-admin #wpadminbar,body.mam-modern-admin #wpfooter,body.mam-modern-admin #screen-meta,body.mam-modern-admin #screen-meta-links{display:none!important}body.mam-modern-admin #wpcontent{margin-left:0!important;padding-left:0!important}body.mam-modern-admin #wpbody{margin-left:264px!important;padding-top:78px!important;min-height:100vh;box-sizing:border-box}body.mam-modern-admin #wpbody-content{padding-bottom:0!important;float:none!important;width:auto!important}body.mam-modern-admin .wrap.mam{max-width:none!important;margin:0!important;padding:28px 30px 38px!important}body.mam-modern-admin .wrap.mam>h1{display:none!important}body.mam-modern-admin .notice{margin:0 0 14px 0!important}.mam-modern-sidebar{position:fixed;z-index:100000;left:0;top:0;width:264px;height:100vh;box-sizing:border-box;overflow-y:auto;background:var(--mam-sidebar-color,#0d3558)!important;color:#fff;padding:18px 14px 16px;box-shadow:2px 0 12px rgba(18,55,88,.08)}.mam-modern-brand{display:flex;align-items:center;gap:12px;padding:3px 8px 22px;border-bottom:1px solid rgba(255,255,255,.12)}.mam-modern-brand img,.mam-modern-brand-fallback{width:62px;height:62px;flex:0 0 62px;border-radius:8px;object-fit:contain;background:#fff;padding:4px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:#0d3558}.mam-modern-brand strong{display:block;font-size:20px;line-height:1.05;color:#fff;font-weight:700;letter-spacing:-.2px}.mam-modern-brand-fallback .dashicons{font-size:38px;width:38px;height:38px}.mam-modern-section-title{padding:19px 12px 8px;color:rgba(255,255,255,.55);font-size:12px;font-weight:800;letter-spacing:.8px}.mam-modern-nav{display:flex;flex-direction:column;gap:3px}.mam-modern-nav-item{display:flex;align-items:center;gap:13px;min-height:45px;padding:9px 14px;border-radius:9px;color:#f4f8ff!important;text-decoration:none!important;font-size:15px;font-weight:600;box-sizing:border-box;transition:background .15s ease,transform .15s ease}.mam-modern-nav-item .dashicons{font-size:23px;width:23px;height:23px;color:#9bd2ff}.mam-modern-nav-item:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}.mam-modern-nav-item.is-active{background:var(--mam-sidebar-active-color,#087cf5)!important;color:#fff!important;box-shadow:0 5px 12px rgba(8,124,245,.18)}.mam-modern-nav-item.is-active .dashicons{color:#fff}.mam-modern-bottom{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;gap:3px}.mam-modern-topbar{position:fixed;z-index:99999;left:264px;right:0;top:0;height:78px;background:var(--mam-header-color,#fff);border-bottom:1px solid var(--mam-border-color,#dbe7f2);display:flex;align-items:center;padding:10px 26px;box-sizing:border-box;gap:16px}.mam-modern-menu-toggle{border:0;background:transparent;color:#6b829b;width:38px;height:38px;cursor:pointer;border-radius:8px}.mam-modern-menu-toggle:hover{background:#eef5fb}.mam-modern-menu-toggle .dashicons{font-size:28px;width:28px;height:28px}.mam-modern-institution{display:flex;align-items:center;gap:12px;min-width:0}.mam-modern-institution img,.mam-modern-top-logo{width:54px;height:54px;flex:0 0 54px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid #e4edf5;padding:2px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:#198c65}.mam-modern-top-logo .dashicons{font-size:31px;width:31px;height:31px}.mam-modern-institution strong{display:block;color:#17365d;font-size:18px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(620px,55vw)}.mam-modern-institution small{display:block;color:#6e86a0;font-size:12px;margin-top:3px}.mam-modern-top-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.mam-modern-notification{position:relative;color:#7c94ad}.mam-modern-notification>.dashicons{font-size:28px;width:28px;height:28px}.mam-modern-notification b{position:absolute;right:-7px;top:-7px;width:17px;height:17px;border-radius:50%;background:#ef3340;color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center}.mam-modern-user{display:flex;align-items:center;gap:8px;color:#17365d}.mam-modern-user strong{font-size:14px}.mam-modern-user>.dashicons{font-size:16px;width:16px;height:16px;color:#7189a2}.mam-modern-avatar{width:39px;height:39px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf2fa;border:1px solid #cbdbea;color:#7890aa;font-weight:800;font-size:15px}.mam-target-dashboard{max-width:1120px;margin:0 auto}.mam-target-hero{position:relative;min-height:232px;border:1px solid var(--mam-ui-border);border-radius:15px;overflow:hidden;background:linear-gradient(100deg,#fff 0%,#f9fcff 56%,#eaf5ff 100%);display:flex;align-items:center;padding:30px 32px;box-sizing:border-box;box-shadow:0 4px 16px rgba(29,69,105,.05)}.mam-target-welcome{position:relative;z-index:2}.mam-target-welcome>span{display:block;color:#17365d;font-size:25px;font-weight:500}.mam-target-welcome h2{margin:2px 0 12px;color:#17365d;font-size:35px;line-height:1;font-weight:800;letter-spacing:-.7px}.mam-target-welcome p{margin:0;color:#5c7594;font-size:17px;line-height:1.45}.mam-target-date{position:relative;z-index:4;margin-left:auto;margin-right:24px;width:190px;min-height:88px;background:rgba(255,255,255,.86);border:1px solid #d8e7f4;border-radius:13px;display:flex;align-items:center;gap:12px;padding:12px 15px;box-sizing:border-box;box-shadow:0 4px 12px rgba(38,87,128,.06)}.mam-target-date>.dashicons{font-size:35px;width:35px;height:35px;color:#1976ed}.mam-target-date small,.mam-target-date strong,.mam-target-date em{display:block}.mam-target-date small{font-size:13px;color:#52708f}.mam-target-date strong{font-size:16px;color:#17365d;line-height:1.35}.mam-target-date em{font-size:13px;color:#52708f;font-style:normal}.mam-target-hero-image{position:absolute;right:-2px;bottom:0;width:45%;height:100%;overflow:hidden;z-index:1}.mam-target-hero-image:before{content:"";position:absolute;left:0;top:0;bottom:0;width:40%;z-index:2;background:linear-gradient(90deg,#f8fbff 0%,rgba(248,251,255,.75) 45%,rgba(248,251,255,0) 100%)}.mam-target-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center right;display:block;opacity:.97}.mam-target-finance-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0}.mam-target-finance-card{position:relative;min-height:138px;border-radius:14px;padding:18px 19px;color:#fff;box-sizing:border-box;overflow:hidden;box-shadow:0 5px 12px rgba(30,70,110,.09)}.mam-target-finance-card.income{background:#12b4a4}.mam-target-finance-card.expense{background:#ff8a00}.mam-target-finance-card.balance{background:#1680ed}.mam-target-finance-card.donation{background:#7b38eb}.mam-target-finance-card>.dashicons{font-size:28px;width:28px;height:28px;display:block;margin-bottom:9px}.mam-target-finance-card small{display:block;font-size:15px;opacity:.96}.mam-target-finance-card strong{display:block;font-size:28px;line-height:1.2;margin-top:5px}.mam-target-finance-card>i{position:absolute;right:17px;bottom:17px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-size:20px;font-style:normal}.mam-target-panel{background:#fff;border:1px solid var(--mam-ui-border);border-radius:14px;box-shadow:0 3px 12px rgba(26,64,102,.05);overflow:hidden}.mam-target-panel-head{min-height:62px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-sizing:border-box}.mam-target-panel-head h3{margin:0;color:#17365d;font-size:19px;display:flex;align-items:center;gap:9px;font-weight:800}.mam-target-panel-head h3 .dashicons{color:#087cf5;font-size:24px;width:24px;height:24px}.mam-target-panel-head>a{border:1px solid #cfe1f2;background:#f5faff;color:#1768b9;text-decoration:none;border-radius:20px;padding:6px 13px;font-size:12px;font-weight:700}.mam-target-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 18px 18px}.mam-target-status{border-radius:11px;padding:17px 18px;min-height:104px;box-sizing:border-box}.mam-target-status.total{background:#e8f3ff;color:#1768b9}.mam-target-status.pending{background:#fff8e7;color:#c58600}.mam-target-status.approved{background:#e9fbf2;color:#14945b}.mam-target-status.rejected{background:#fff0f2;color:#df2635}.mam-target-status>.dashicons{font-size:25px;width:25px;height:25px;display:block;margin-bottom:8px}.mam-target-status small{display:block;font-size:14px}.mam-target-status strong{display:block;font-size:28px;line-height:1.1;margin-top:4px}.mam-target-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:15px;margin-top:15px}.mam-target-chart{height:270px;padding:22px 22px 12px;display:flex;align-items:flex-end;gap:14px;border-top:1px solid #edf2f7;box-sizing:border-box;background:repeating-linear-gradient(to top,#fff 0,#fff 53px,#eef3f7 54px)}.mam-target-bar-item{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:42px}.mam-target-bar-value{font-size:11px;color:#53708e;margin-bottom:5px}.mam-target-bar{width:min(52px,75%);background:#2697ee;border-radius:5px 5px 0 0;min-height:8px}.mam-target-bar-item:nth-child(2n) .mam-target-bar{background:#43c77e}.mam-target-bar-item:nth-child(3n) .mam-target-bar{background:#f3ae2b}.mam-target-bar-item:nth-child(4n) .mam-target-bar{background:#8848ef}.mam-target-bar-item small{margin-top:7px;color:#536c88;font-size:11px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mam-target-table{padding:0 12px 12px}.mam-target-table table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.mam-target-table th{background:#eaf3fb;color:#56718f;text-align:left;font-weight:800;padding:10px 9px}.mam-target-table th:first-child{border-radius:6px 0 0 6px}.mam-target-table th:last-child{border-radius:0 6px 6px 0}.mam-target-table td{padding:11px 9px;color:#35506d;border-bottom:1px solid #eef3f7}.mam-target-badge{display:inline-block;padding:5px 9px;border-radius:12px;font-size:10px;font-weight:800}.mam-target-badge.pending{background:#fff1c9;color:#d28600}.mam-target-badge.approved{background:#dff7e9;color:#188650}.mam-target-badge.rejected{background:#ffe0e5;color:#d72838}.mam-target-bottom{margin-top:15px}.mam-target-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 18px 18px}.mam-target-shortcut{min-height:83px;border-radius:11px;text-decoration:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid transparent}.mam-target-shortcut .dashicons{font-size:25px;width:25px;height:25px}.mam-target-shortcut small{font-size:11px;font-weight:800}.mam-target-shortcut.blue{background:#e8f3ff;color:#1768b9;border-color:#d5e8fb}.mam-target-shortcut.green{background:#e9fbf2;color:#15905a;border-color:#d5f0e2}.mam-target-shortcut.purple{background:#f1e9ff;color:#7034d2;border-color:#e5d8fa}.mam-target-shortcut.red{background:#fff0f2;color:#db2838;border-color:#f7d8dc}.mam-target-shortcut.orange{background:#fff5df;color:#c88705;border-color:#f5e7c5}.mam-target-empty{padding:35px 15px;text-align:center;color:#8ca0b5;font-size:13px}@media(max-width:1100px){.mam-modern-sidebar{width:235px}.mam-modern-topbar{left:235px}.mam-modern-brand strong{font-size:17px}.mam-modern-nav-item{font-size:13px}.mam-modern-nav-item .dashicons{font-size:20px;width:20px;height:20px}body.mam-modern-admin #wpbody{margin-left:235px!important}.mam-target-dashboard{max-width:none}.mam-target-date{margin-right:10px}.mam-target-hero-image{width:42%}}@media(max-width:800px){.mam-modern-sidebar{transform:translateX(-100%);transition:transform .2s ease}.mam-modern-sidebar.is-open{transform:translateX(0)}.mam-modern-topbar{left:0}.mam-modern-menu-toggle{display:block}body.mam-modern-admin #wpbody{margin-left:0!important;padding-top:72px!important}.mam-modern-topbar{height:72px;padding:8px 15px}.mam-modern-institution strong{max-width:45vw;font-size:15px}.mam-modern-institution img,.mam-modern-top-logo{width:44px;height:44px;flex-basis:44px}.mam-modern-top-actions{gap:12px}.mam-modern-user strong{display:none}.mam-target-hero{min-height:250px;padding:24px}.mam-target-welcome>span{font-size:20px}.mam-target-welcome h2{font-size:30px}.mam-target-date{position:absolute;top:18px;right:18px;margin:0;width:160px}.mam-target-hero-image{width:58%;opacity:.7}.mam-target-finance-cards{grid-template-columns:repeat(2,1fr)}.mam-target-two-col{grid-template-columns:1fr}.mam-target-status-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){body.mam-modern-admin .wrap.mam{padding:16px 12px 24px!important}.mam-target-hero{min-height:315px}.mam-target-date{top:15px;right:15px;width:150px}.mam-target-welcome{margin-top:72px}.mam-target-hero-image{width:100%;height:58%;bottom:0;opacity:.5}.mam-target-finance-cards{grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.mam-target-finance-card{min-height:125px;padding:14px}.mam-target-finance-card strong{font-size:21px}.mam-target-finance-card small{font-size:12px}.mam-target-status-grid{gap:8px;padding:0 10px 10px}.mam-target-status{padding:13px}.mam-target-panel-head{padding:12px}.mam-target-panel-head h3{font-size:15px}.mam-target-chart{gap:7px;padding-left:10px;padding-right:10px}.mam-target-table{overflow-x:auto}.mam-target-table table{min-width:430px}.mam-target-shortcuts{gap:7px;padding:0 10px 10px}.mam-target-shortcut{min-height:70px}.mam-target-shortcut small{font-size:9px}}body.mam-modern-admin #wpbody{margin-left:220px!important;padding-top:68px!important}body.mam-modern-admin .wrap.mam{padding:14px 24px 30px!important}.mam-modern-sidebar{width:220px!important;padding:14px 10px 14px!important;background:#0d3558!important}.mam-modern-brand{gap:9px!important;padding:2px 7px 15px!important}.mam-modern-brand img,.mam-modern-brand-fallback{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:7px!important;padding:3px!important}.mam-modern-brand strong{font-size:16px!important;line-height:1.05!important;color:#fff!important}.mam-modern-brand-fallback .dashicons{font-size:28px!important;width:28px!important;height:28px!important}.mam-modern-section-title{padding:14px 10px 6px!important;font-size:10px!important;letter-spacing:1px!important;color:rgba(255,255,255,.62)!important}.mam-modern-nav{gap:2px!important}.mam-modern-nav-item{gap:10px!important;min-height:38px!important;padding:8px 10px!important;border-radius:7px!important;font-size:13px!important;font-weight:600!important;color:#fff!important}.mam-modern-nav-item .dashicons{font-size:18px!important;width:18px!important;height:18px!important;color:#b9e1ff!important}.mam-modern-nav-item.is-active{background:#087cf5!important;color:#fff!important;box-shadow:0 3px 8px rgba(8,124,245,.2)!important}.mam-modern-nav-item.is-active .dashicons{color:#fff!important}.mam-modern-bottom{margin-top:8px!important;padding-top:8px!important;gap:2px!important}.mam-modern-topbar{left:220px!important;height:68px!important;padding:8px 20px!important;gap:12px!important}.mam-modern-menu-toggle{width:32px!important;height:32px!important}.mam-modern-menu-toggle .dashicons{font-size:23px!important;width:23px!important;height:23px!important}.mam-modern-institution{gap:9px!important}.mam-modern-institution img,.mam-modern-top-logo{width:45px!important;height:45px!important;flex-basis:45px!important}.mam-modern-top-logo .dashicons{font-size:27px!important;width:27px!important;height:27px!important}.mam-modern-institution strong{font-size:16px!important;max-width:min(600px,58vw)!important;color:#17365d!important}.mam-modern-institution small{font-size:11px!important;margin-top:2px!important;color:#6e86a0!important}.mam-modern-top-actions{gap:16px!important}.mam-modern-notification>.dashicons{font-size:23px!important;width:23px!important;height:23px!important}.mam-modern-notification b{width:15px!important;height:15px!important;font-size:9px!important;right:-6px!important;top:-6px!important}.mam-modern-avatar{width:34px!important;height:34px!important;font-size:13px!important}.mam-modern-user{gap:7px!important}.mam-modern-user strong{font-size:13px!important}.mam-modern-user>.dashicons{font-size:14px!important;width:14px!important;height:14px!important}.mam-target-dashboard{max-width:1160px!important}.mam-target-hero{min-height:218px!important;border-radius:14px!important;padding:26px 28px!important}.mam-target-welcome>span{font-size:21px!important}.mam-target-welcome h2{font-size:31px!important;margin:2px 0 9px!important}.mam-target-welcome p{font-size:14px!important;line-height:1.45!important}.mam-target-date{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:180px!important;min-height:82px!important;padding:10px 13px!important;gap:10px!important;border-radius:11px!important}.mam-target-date>.dashicons{font-size:30px!important;width:30px!important;height:30px!important}.mam-target-date small{font-size:11px!important}.mam-target-date strong{font-size:15px!important}.mam-target-date em{font-size:11px!important}.mam-target-hero-image{width:46%!important}.mam-target-finance-cards{gap:14px!important;margin:16px 0!important}.mam-target-finance-card{min-height:124px!important;padding:15px 17px!important;border-radius:12px!important}.mam-target-finance-card>.dashicons{font-size:24px!important;width:24px!important;height:24px!important;margin-bottom:7px!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important}.mam-target-finance-card small{font-size:13px!important}.mam-target-finance-card strong{font-size:25px!important}.mam-target-finance-card>i{right:14px!important;bottom:14px!important;width:34px!important;height:34px!important;font-size:18px!important}.mam-target-panel{border-radius:12px!important}.mam-target-panel-head{min-height:54px!important;padding:12px 16px!important}.mam-target-panel-head h3{font-size:17px!important;gap:8px!important}.mam-target-panel-head h3 .dashicons{font-size:21px!important;width:21px!important;height:21px!important}.mam-target-status-grid{gap:12px!important;padding:0 16px 16px!important}.mam-target-status{padding:14px 16px!important;min-height:92px!important}.mam-target-status>.dashicons{font-size:22px!important;width:22px!important;height:22px!important;margin-bottom:6px!important}.mam-target-status small{font-size:12px!important}.mam-target-status strong{font-size:25px!important}.mam-target-two-col{gap:14px!important;margin-top:14px!important}.mam-target-chart{height:245px!important;padding:18px 18px 11px!important;gap:12px!important}.mam-target-table{padding:0 10px 10px!important}.mam-target-table table{font-size:11px!important}.mam-target-table th{padding:8px!important}.mam-target-table td{padding:9px 8px!important}.mam-target-bottom{margin-top:14px!important}.mam-target-shortcuts{gap:8px!important;padding:0 16px 16px!important}.mam-target-shortcut{min-height:72px!important}.mam-target-shortcut .dashicons{font-size:22px!important;width:22px!important;height:22px!important}.mam-target-shortcut small{font-size:10px!important}@media(max-width:1100px){body.mam-modern-admin #wpbody{margin-left:210px!important}.mam-modern-sidebar{width:210px!important}.mam-modern-topbar{left:210px!important}.mam-modern-nav-item{font-size:12px!important}.mam-modern-nav-item .dashicons{font-size:17px!important;width:17px!important;height:17px!important}.mam-target-dashboard{max-width:none!important}}@media(max-width:800px){body.mam-modern-admin #wpbody{margin-left:0!important;padding-top:68px!important}.mam-modern-sidebar{width:220px!important}.mam-modern-topbar{left:0!important;height:68px!important}.mam-target-hero{min-height:250px!important}.mam-target-date{left:auto!important;right:18px!important;top:18px!important;transform:none!important;width:160px!important}.mam-target-welcome{margin-top:64px!important}.mam-target-hero-image{width:58%!important}.mam-target-finance-cards{grid-template-columns:repeat(2,1fr)!important}}@media(max-width:520px){body.mam-modern-admin .wrap.mam{padding:12px 10px 20px!important}.mam-target-hero{min-height:310px!important;padding:20px!important}.mam-target-date{top:14px!important;right:14px!important;width:150px!important}.mam-target-welcome{margin-top:70px!important}.mam-target-finance-cards{gap:8px!important;margin:10px 0!important}.mam-target-finance-card{min-height:118px!important;padding:13px!important}.mam-target-finance-card strong{font-size:20px!important}.mam-target-status-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important;padding:0 10px 10px!important}.mam-target-two-col{grid-template-columns:1fr!important}.mam-target-panel-head{padding:11px!important}.mam-target-panel-head h3{font-size:15px!important}.mam-target-chart{height:225px!important;gap:7px!important;padding-left:10px!important;padding-right:10px!important}}body.mam-modern-admin #wpbody{padding-top:68px!important}body.mam-modern-admin .wrap.mam{padding:3px 24px 28px!important}.mam-modern-topbar{height:68px!important}.mam-target-dashboard{max-width:1160px!important}.mam-target-hero{margin-top:0!important}.mam-target-finance-card>.dashicons{opacity:1!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.08)!important}.mam-target-finance-card.donation>.dashicons{display:flex!important;visibility:visible!important}.mam-modern-nav-item[href*="mam-donations"] .dashicons{color:#ffb14a!important}.mam-student-page{max-width:1240px;margin:0 auto;color:#17365d}.mam-student-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:6px 4px 16px}.mam-student-title{display:flex;align-items:center;gap:14px}.mam-student-title>.dashicons{font-size:48px;width:48px;height:48px;color:#087cf5}.mam-student-title h2{margin:0;font-size:31px;line-height:1.05;color:#17365d}.mam-student-title p{margin:3px 0 0;color:#526b89;font-size:15px}.mam-student-head-actions{display:flex;gap:10px}.mam-ui-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 17px;border:1px solid #d5e1ec;border-radius:7px;text-decoration:none!important;font-size:14px;font-weight:700;box-sizing:border-box;cursor:pointer;background:#fff;color:#17365d}.mam-ui-btn .dashicons{font-size:17px;width:17px;height:17px}.mam-ui-btn.primary{background:#087cf5;border-color:#087cf5;color:#fff}.mam-ui-btn.green{background:#16a34a;border-color:#16a34a;color:#fff}.mam-ui-btn.reset{background:#fff;color:#17365d}.mam-ui-btn.small{min-height:34px;padding:0 14px;font-size:13px}.mam-student-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;background:#fff;border:1px solid #dbe7f2;border-radius:12px;padding:14px;box-shadow:0 3px 12px rgba(26,64,102,.05)}.mam-student-stat{min-height:86px;border-radius:9px;display:flex;align-items:center;gap:16px;padding:16px 20px;box-sizing:border-box}.mam-student-stat>.dashicons{font-size:35px;width:35px;height:35px}.mam-student-stat small{display:block;font-size:13px;margin-bottom:3px}.mam-student-stat strong{display:block;font-size:28px;line-height:1;color:#102d4f}.mam-student-stat.total{background:#e7f3ff;color:#087cf5}.mam-student-stat.pending{background:#fff7e5;color:#f39a00}.mam-student-stat.approved{background:#e7faf0;color:#0c9658}.mam-student-stat.rejected{background:#ffe9ec;color:#dc2636}.mam-student-stat.pending strong,.mam-student-stat.approved strong,.mam-student-stat.rejected strong{color:#17365d}.mam-student-filter-card,.mam-student-table-card{background:#fff;border:1px solid #dbe7f2;border-radius:12px;box-shadow:0 3px 12px rgba(26,64,102,.05);margin-top:14px}.mam-student-filter-card{padding:14px}.mam-student-filter-card form{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.15fr auto auto;gap:10px;align-items:center}.mam-filter-search{height:44px;border:1px solid #ccdbe8;border-radius:7px;display:flex;align-items:center;padding:0 12px;background:#fff;box-sizing:border-box}.mam-filter-search .dashicons{color:#6c87a2;font-size:20px;width:20px;height:20px}.mam-filter-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;font-size:14px;color:#17365d;background:transparent}.mam-student-filter-card select{height:44px;border:1px solid #ccdbe8;border-radius:7px;padding:0 12px;background:#fff;color:#17365d;font-size:14px}.mam-student-table-card{overflow:hidden}.mam-student-table-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border-bottom:1px solid #e4edf5}.mam-bulk{display:flex;align-items:center;gap:8px}.mam-bulk>input{width:18px;height:18px}.mam-bulk select{height:34px;border:1px solid #ccdbe8;border-radius:6px;padding:0 28px 0 10px;color:#17365d}.mam-entry-info{font-size:13px;color:#526b89;display:flex;align-items:center;gap:8px}.mam-entry-info select{height:32px;border:1px solid #ccdbe8;border-radius:6px}.mam-pages{display:inline-flex;align-items:center;gap:4px}.mam-pages a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border:1px solid #d5e1ec;border-radius:5px;text-decoration:none;color:#17365d;background:#fff}.mam-pages a.active{background:#087cf5;border-color:#087cf5;color:#fff}.mam-student-table-scroll{overflow-x:auto}.mam-student-table{width:100%;border-collapse:collapse;min-width:1040px}.mam-student-table th{background:#eaf3fb;color:#56718f;font-size:12px;font-weight:800;padding:10px 9px;border-bottom:1px solid #dbe7f2;white-space:nowrap;text-align:left}.mam-student-table td{padding:9px;border-bottom:1px solid #edf2f7;color:#35506d;font-size:12px;vertical-align:middle;white-space:nowrap}.mam-student-table tbody tr:hover{background:#f8fbfe}.mam-student-table th:first-child,.mam-student-table td:first-child{text-align:center;width:34px}.mam-student-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;border-radius:8px;font-size:11px;font-weight:800}.mam-student-badge.pending{background:#fff1c9;color:#e18b00}.mam-student-badge.approved{background:#dff7e9;color:#148a54}.mam-student-badge.rejected{background:#ffe0e5;color:#d52838}.mam-row-actions{display:flex;gap:7px}.mam-row-btn{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:31px;padding:0 10px;border-radius:5px;text-decoration:none!important;font-size:11px;font-weight:800;box-sizing:border-box}.mam-row-btn.blue{background:#087cf5;color:#fff}.mam-row-btn.green{background:#16a34a;color:#fff}.mam-row-btn.disabled{background:#edf1f5;color:#9aa9b8;cursor:not-allowed}.mam-no-data{height:160px;text-align:center!important;color:#8aa0b5!important}@media(max-width:1050px){.mam-student-filter-card form{grid-template-columns:1fr 1fr 1fr}.mam-student-filter-card .mam-filter-search{grid-column:1/-1}.mam-student-stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){body.mam-modern-admin .wrap.mam{padding:5px 12px 22px!important}.mam-student-page-head{align-items:flex-start;flex-direction:column}.mam-student-head-actions{width:100%}.mam-ui-btn{flex:1}.mam-student-filter-card form{grid-template-columns:1fr}.mam-student-table-top{align-items:flex-start;flex-direction:column}.mam-entry-info{flex-wrap:wrap}.mam-student-stat-grid{grid-template-columns:1fr 1fr;gap:8px}.mam-student-stat{padding:13px;gap:10px}.mam-student-stat>.dashicons{font-size:27px;width:27px;height:27px}.mam-student-stat strong{font-size:23px}.mam-student-title h2{font-size:27px}}.mam-fees-page{font-family:Arial,sans-serif;color:#172554}.mam-fees-page *{box-sizing:border-box}.mam-fees-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px 20px;margin:4px 0 12px;box-shadow:0 5px 18px rgba(20,45,90,.06)}.mam-fees-title{display:flex;align-items:center;gap:14px}.mam-fees-title h2{margin:0;color:#0b1f4a;font-size:28px;line-height:1.05}.mam-fees-title p{margin:4px 0 0;color:#64748b;font-size:14px}.mam-fees-page-icon{width:56px;height:56px;border-radius:12px;display:grid;place-items:center;background:#e7f0ff;color:#1473e6;font-size:32px}.mam-fees-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mam-fees-actions .button{height:42px;padding:0 15px;border-radius:7px;border:1px solid #d7dee9;background:#fff;color:#183153;font-weight:700;display:inline-flex;align-items:center;gap:7px}.mam-fees-actions .mam-fee-open{background:#1677ee;color:#fff;border-color:#1677ee}.mam-fees-actions .mam-fee-bulk-open{background:#078b4c;color:#fff;border-color:#078b4c}.mam-fee-export-wrap{position:relative}.mam-fee-export-menu{display:none;position:absolute;right:0;top:46px;z-index:20;min-width:160px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 12px 28px #0f172a1c;overflow:hidden}.mam-fee-export-wrap.open .mam-fee-export-menu{display:block}.mam-fee-export-menu a{display:block;padding:10px 13px;color:#183153;text-decoration:none;font-size:13px}.mam-fee-export-menu a:hover{background:#f1f5f9}.mam-fee-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:12px}.mam-fee-stat{min-height:90px;border-radius:10px;padding:14px 17px;display:flex;align-items:center;gap:14px;border:1px solid transparent}.mam-fee-stat>span{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:25px}.mam-fee-stat small{display:block;font-size:13px;color:#334155;margin-bottom:4px}.mam-fee-stat strong{display:block;font-size:23px;line-height:1.1;color:#0f172a}.mam-fee-stat em{font-size:11px;font-style:normal;color:#475569}.mam-fee-stat.blue{background:#e8f3ff;border-color:#d7eaff}.mam-fee-stat.blue>span{background:#d8eaff;color:#1473e6}.mam-fee-stat.green{background:#dcf8eb;border-color:#c7efdd}.mam-fee-stat.green>span{background:#c5f1d9;color:#07934b}.mam-fee-stat.orange{background:#fff0e8;border-color:#ffe0cf}.mam-fee-stat.orange>span{background:#ffe0cf;color:#ef6b12}.mam-fee-stat.purple{background:#eee6ff;border-color:#dfd2ff}.mam-fee-stat.purple>span{background:#ded0ff;color:#7136d7}.mam-fee-filter{display:grid;grid-template-columns:minmax(220px,1.8fr) 1fr 1fr 1fr 1.15fr auto auto;gap:9px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px;margin-bottom:10px;box-shadow:0 4px 15px #142d5a0a}.mam-fee-filter select,.mam-fee-filter input{height:38px;border:1px solid #d6dee9;border-radius:6px;background:#fff;padding:0 10px;color:#334155;min-width:0}.mam-fee-search-input{height:38px;border:1px solid #d6dee9;border-radius:6px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px}.mam-fee-search-input .dashicons{color:#64748b}.mam-fee-search-input input{border:0!important;box-shadow:none!important;padding:0!important;width:100%}.mam-fee-filter .button{height:38px;border-radius:6px;padding:0 14px;display:inline-flex;align-items:center;gap:6px}.mam-fee-filter .button-primary{background:#1677ee!important;border-color:#1677ee!important}.mam-fee-tabs{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px 10px 0 0;padding:7px 10px 0}.mam-fee-tab-links{display:flex;align-items:stretch;overflow:auto}.mam-fee-tab-links a{display:block;padding:11px 18px;border-right:1px solid #e2e8f0;text-decoration:none;color:#1e3a5f;font-size:13px;white-space:nowrap}.mam-fee-tab-links a.active{background:#1677ee;color:#fff;border-radius:6px 6px 0 0}.mam-fee-settings{margin-bottom:7px;height:34px!important;display:inline-flex;align-items:center;gap:5px}.mam-fee-table-card{background:#fff;border:1px solid #e5e7eb;border-top:0;border-radius:0 0 10px 10px;box-shadow:0 5px 18px #142d5a0a;overflow:hidden}.mam-fee-bulkbar{display:flex;align-items:center;gap:8px;padding:10px;border-bottom:1px solid #e5e7eb;background:#fbfcfe;font-size:12px}.mam-fee-bulkbar select{height:32px;border:1px solid #d6dee9;border-radius:6px;background:#fff}.mam-fee-bulkbar .button{height:32px;padding:0 12px;border-radius:6px}.mam-fee-showing{margin-left:auto;color:#64748b}.mam-fee-scroll{overflow-x:auto}.mam-fee-data{width:100%;border-collapse:collapse;min-width:1160px;font-size:12px}.mam-fee-data th{background:#edf4fb;color:#29415d;font-weight:700;padding:9px 8px;border-bottom:1px solid #dbe5ef;text-align:left;white-space:nowrap}.mam-fee-data td{padding:7px 8px;border-bottom:1px solid #e8edf3;color:#334155;vertical-align:middle;white-space:nowrap}.mam-fee-data tbody tr:hover{background:#f8fbff}.mam-fee-data td strong{color:#15345b}.mam-fee-data .paid-money{color:#078b4c;font-weight:700}.mam-fee-data .due-money{color:#e04b36;font-weight:700}.mam-fee-status{display:inline-block;padding:5px 10px;border-radius:6px;font-size:11px;font-weight:700}.mam-fee-status.paid{background:#dff7e9;color:#078b4c}.mam-fee-status.due{background:#fff0cc;color:#db7b00}.mam-fee-status.pending{background:#ffe9dc;color:#d95f00}.mam-fee-row-actions{display:flex;gap:5px}.mam-fee-row-actions .button{height:28px;padding:0 8px;border-radius:5px;background:#1677ee;color:#fff;border-color:#1677ee;font-size:11px}.mam-fee-row-actions .button.green{background:#078b4c;border-color:#078b4c}.mam-fee-more{width:28px;height:28px;border:1px solid #d6dee9;background:#fff;border-radius:5px;color:#334155;cursor:pointer}.mam-fee-empty{text-align:center!important;padding:35px!important;color:#64748b}.mam-fee-pagination{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;color:#64748b;font-size:12px}.mam-fee-pagination>div{display:flex;gap:4px}.mam-fee-pagination a{min-width:29px;height:29px;display:grid;place-items:center;border:1px solid #dbe3ed;border-radius:5px;text-decoration:none;color:#334155;background:#fff}.mam-fee-pagination a.active{background:#1677ee;color:#fff;border-color:#1677ee}.mam-fee-bottom-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:14px}.mam-fee-bottom-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 5px 18px #142d5a0a;overflow:hidden}.mam-fee-bottom-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #e5e7eb}.mam-fee-bottom-head h3{margin:0;font-size:15px;color:#17385e;display:flex;align-items:center;gap:8px}.mam-fee-bottom-head h3 .dashicons{color:#1677ee}.mam-fee-bottom-head a{font-size:12px;color:#1677ee;text-decoration:none}.mam-fee-bottom-card table{width:100%;border-collapse:collapse;font-size:11px}.mam-fee-bottom-card th{background:#edf4fb;color:#29415d;text-align:left;padding:8px}.mam-fee-bottom-card td{padding:8px;border-bottom:1px solid #edf1f5;color:#334155}.green-text{color:#078b4c!important;font-weight:700}.red-text{color:#e04b36!important;font-weight:700}.mam-progress{height:7px;min-width:70px;background:#e7eef6;border-radius:10px;display:inline-block;vertical-align:middle;overflow:hidden}.mam-progress span{height:100%;display:block;background:#078b4c;border-radius:10px}.mam-fee-bottom-card small{font-size:10px;margin-left:4px;color:#64748b}.mam-fee-modal{display:none;position:fixed;inset:0;background:#0b173099;z-index:99999;align-items:center;justify-content:center;padding:20px}.mam-fee-modal.open{display:flex}.mam-fee-modal-box{position:relative;width:min(760px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 24px 70px #0004}.mam-fee-modal-box h3{margin:0;color:#102a56;font-size:20px}.mam-fee-modal-help{margin:5px 0 15px;color:#64748b;font-size:12px}.mam-fee-modal-close{border:0;background:transparent;color:#64748b;font-size:28px;cursor:pointer;position:absolute;right:14px;top:10px}.mam-fee-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mam-fee-modal-grid label{font-size:12px;font-weight:700;color:#334155}.mam-fee-modal-grid input,.mam-fee-modal-grid select{display:block;width:100%;height:38px;margin-top:5px;border:1px solid #d6dee9;border-radius:7px;padding:0 10px;background:#fff}.mam-fee-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px;padding-top:14px;border-top:1px solid #e5e7eb}.mam-fee-modal-actions .button{height:38px;border-radius:7px;padding:0 15px}.mam-fee-modal-actions .button-primary{background:#1677ee!important;border-color:#1677ee!important}.mam-fee-toast{display:none}@media(max-width:1100px){.mam-fee-summary-grid{grid-template-columns:repeat(2,1fr)}.mam-fee-filter{grid-template-columns:repeat(3,1fr)}.mam-fee-bottom-grid{grid-template-columns:1fr}}@media(max-width:700px){.mam-fees-hero{align-items:flex-start;flex-direction:column}.mam-fees-actions{width:100%}.mam-fee-summary-grid{grid-template-columns:1fr}.mam-fee-filter{grid-template-columns:1fr}.mam-fee-tabs{align-items:flex-start;flex-direction:column}.mam-fee-tab-links{width:100%}.mam-fee-settings{align-self:flex-end}.mam-fee-bulkbar{flex-wrap:wrap}.mam-fee-showing{width:100%;margin-left:0}.mam-fee-modal-grid{grid-template-columns:1fr}}.mam-id-page{font-family:Arial,sans-serif;color:#17365d;max-width:1240px;margin:0 auto}.mam-id-page *{box-sizing:border-box}.mam-id-breadcrumb{display:flex;justify-content:flex-end;gap:8px;align-items:center;color:#6b7f96;font-size:12px;margin:0 4px 8px}.mam-id-breadcrumb strong{color:#35506d}.mam-id-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border:1px solid #e2e9f1;border-radius:14px;padding:16px 18px;margin-bottom:12px;box-shadow:0 5px 18px rgba(20,45,90,.06)}.mam-id-title{display:flex;align-items:center;gap:13px}.mam-id-title>.dashicons{width:54px;height:54px;border-radius:11px;background:#e7f0ff;color:#1473e6;font-size:31px;display:grid;place-items:center}.mam-id-title h1{font-size:28px;line-height:1.05;margin:0;color:#0b1f4a}.mam-id-title p{margin:5px 0 0;color:#526b89;font-size:14px}.mam-id-top-actions{display:flex;gap:9px;flex-wrap:wrap}.mam-id-page .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 13px;border-radius:6px;line-height:1!important;text-align:center!important;white-space:nowrap;font-weight:700}.mam-id-page .button .dashicons{font-size:17px;width:17px;height:17px;line-height:17px}.mam-id-primary{background:#087cf5!important;border-color:#087cf5!important;color:#fff!important}.mam-id-success{background:#078b4c!important;border-color:#078b4c!important;color:#fff!important}.mam-id-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:12px}.mam-id-stat{min-height:92px;border:1px solid transparent;border-radius:10px;padding:14px 16px;display:flex;align-items:center;gap:14px}.mam-id-stat>.dashicons{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:25px}.mam-id-stat small{display:block;font-size:13px;color:#334155;margin-bottom:4px}.mam-id-stat strong{display:block;font-size:25px;color:#0b1f4a;line-height:1.05}.mam-id-stat.blue{background:#e8f3ff;border-color:#d7eaff}.mam-id-stat.blue>.dashicons{background:#d7eaff;color:#1473e6}.mam-id-stat.green{background:#dcf8eb;border-color:#c7efdd}.mam-id-stat.green>.dashicons{background:#c6f1d9;color:#078b4c}.mam-id-stat.orange{background:#fff1df;border-color:#ffe1bd}.mam-id-stat.orange>.dashicons{background:#ffe0bd;color:#ed7a00}.mam-id-stat.red{background:#ffe6e8;border-color:#ffd1d6}.mam-id-stat.red>.dashicons{background:#ffd3d8;color:#e52d3f}.mam-id-filter{display:grid;grid-template-columns:minmax(230px,1.8fr) 1fr 1fr 1.15fr auto auto;gap:9px;align-items:center;background:#fff;border:1px solid #e2e9f1;border-radius:10px;padding:10px;margin-bottom:12px;box-shadow:0 4px 15px rgba(20,45,90,.04)}.mam-id-search{height:40px;border:1px solid #d5deea;border-radius:6px;display:flex;align-items:center;gap:7px;padding:0 10px;background:#fff}.mam-id-search .dashicons{color:#64748b}.mam-id-search input{border:0!important;box-shadow:none!important;width:100%;height:38px!important;padding:0!important;background:transparent!important}.mam-id-filter select{height:40px;border:1px solid #d5deea;border-radius:6px;background:#fff;color:#263f5d;padding:0 10px;min-width:0}.mam-id-filter .button{height:40px}.mam-id-content{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start}.mam-id-table-card,.mam-id-preview-card{background:#fff;border:1px solid #e2e9f1;border-radius:10px;box-shadow:0 5px 18px rgba(20,45,90,.05);overflow:hidden}.mam-id-table-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #e2e9f1}.mam-id-table-head h2,.mam-id-preview-head h2{margin:0;font-size:15px;color:#17385e;display:flex;align-items:center;gap:8px}.mam-id-table-head h2 .dashicons,.mam-id-preview-head h2 .dashicons{color:#1473e6}.mam-id-table-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mam-id-checkall{font-size:12px;color:#526b89;display:flex;align-items:center;gap:5px;white-space:nowrap}.mam-id-table-tools .button{height:34px;min-height:34px;font-size:11px}.mam-id-scroll{overflow-x:auto}.mam-id-table{width:100%;min-width:880px;border-collapse:collapse;font-size:12px}.mam-id-table th{background:#edf4fb;color:#29415d;font-weight:800;padding:9px 8px;border-bottom:1px solid #dbe5ef;text-align:left;white-space:nowrap}.mam-id-table td{padding:7px 8px;border-bottom:1px solid #e8edf3;color:#334155;vertical-align:middle;white-space:nowrap}.mam-id-table tr:hover td{background:#f8fbff}.mam-id-table .check{width:34px;text-align:center}.mam-id-table td strong{color:#15345b}.mam-id-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:800}.mam-id-badge.generated{background:#dff7e9;color:#078b4c}.mam-id-badge.not-generated{background:#ffe9e8;color:#dc3040}.mam-id-row-actions{display:flex;gap:5px}.mam-id-row-actions .button{height:29px;min-height:29px;padding:0 8px;background:#087cf5!important;border-color:#087cf5!important;color:#fff!important;font-size:10px}.mam-id-row-actions .button.green{background:#078b4c!important;border-color:#078b4c!important}.mam-id-empty{text-align:center!important;padding:38px!important;color:#64748b}.mam-id-table-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;color:#64748b;font-size:12px}.mam-id-pages{display:flex;align-items:center;gap:4px}.mam-id-pages select{height:30px;border:1px solid #dbe3ed;border-radius:5px;margin-right:4px}.mam-id-pages a{min-width:29px;height:30px;display:grid;place-items:center;border:1px solid #dbe3ed;border-radius:5px;background:#fff;text-decoration:none;color:#334155}.mam-id-pages a.active{background:#087cf5;color:#fff;border-color:#087cf5}.mam-id-preview-head{padding:12px 14px;border-bottom:1px solid #e2e9f1}.mam-id-card-preview{padding:14px;background:#f8fbff}.mam-preview-card{border:1px solid #dbe5ef;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.10);transition:.2s}.mam-preview-card.alt-template{transform:rotate(.3deg);box-shadow:0 15px 35px rgba(8,124,245,.16)}.mam-preview-school{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 10px 9px;text-align:center}.mam-preview-school img{width:44px;height:44px;object-fit:contain}.mam-preview-school strong{display:block;font-size:13px;color:#12375c;line-height:1.2}.mam-preview-school small{display:block;font-size:8px;color:#526b89;margin-top:2px;line-height:1.25}.mam-preview-ribbon{background:#06734f;color:#fff;text-align:center;padding:7px;font-size:15px;font-weight:800;letter-spacing:.3px}.mam-preview-body{padding:14px 14px 9px}.mam-preview-photo{display:block;width:92px;height:108px;object-fit:cover;border:2px solid #1473e6;border-radius:5px;margin:0 auto 12px}.mam-preview-photo.placeholder{display:grid;place-items:center;background:#eaf2fb;color:#7b91a8}.mam-preview-photo.placeholder .dashicons{font-size:43px;width:43px;height:43px}.mam-preview-info{display:grid;gap:4px}.mam-preview-info div{display:grid;grid-template-columns:78px 1fr;gap:5px;font-size:10px}.mam-preview-info b{color:#526b89}.mam-preview-info span{font-weight:800;color:#102a4d;overflow-wrap:anywhere}.mam-preview-sign{display:flex;justify-content:space-between;gap:12px;padding:13px 15px 15px;color:#526b89;font-size:8px;border-top:1px dashed #d8e2ec;margin-top:7px}.mam-preview-sign span{width:48%;text-align:center;padding-top:13px;border-top:1px solid #93a4b7}.mam-id-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px}.mam-id-preview-actions .button{width:100%;height:38px}.mam-id-preview-empty{min-height:300px;display:grid;place-items:center;text-align:center;color:#7890a8;font-size:12px;padding:20px}.mam-id-export-hidden{display:none}@media(max-width:1100px){.mam-id-content{grid-template-columns:1fr}.mam-id-preview-card{max-width:520px;width:100%;margin:0 auto}.mam-id-stats{grid-template-columns:repeat(2,1fr)}.mam-id-filter{grid-template-columns:repeat(3,1fr)}.mam-id-filter .mam-id-search{grid-column:span 2}}@media(max-width:700px){.mam-id-page{max-width:none}.mam-id-hero{align-items:flex-start;flex-direction:column;padding:14px}.mam-id-title h1{font-size:23px}.mam-id-title>.dashicons{width:46px;height:46px;font-size:26px}.mam-id-top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.mam-id-top-actions .button{width:100%}.mam-id-stats{grid-template-columns:1fr 1fr;gap:8px}.mam-id-stat{min-height:82px;padding:11px;gap:9px}.mam-id-stat>.dashicons{width:39px;height:39px;font-size:20px}.mam-id-stat strong{font-size:21px}.mam-id-filter{grid-template-columns:1fr}.mam-id-filter .mam-id-search{grid-column:auto}.mam-id-table-head{align-items:flex-start;flex-direction:column}.mam-id-table-tools{width:100%;display:grid;grid-template-columns:1fr 1fr}.mam-id-checkall{grid-column:1/-1}.mam-id-table-tools .button{width:100%}.mam-id-table-foot{align-items:flex-start;flex-direction:column}.mam-id-pages{width:100%;overflow:auto}.mam-id-breadcrumb{justify-content:flex-start}.mam-id-preview-actions{grid-template-columns:1fr}.mam-id-preview-card{max-width:none}}@media(max-width:420px){.mam-id-stats{grid-template-columns:1fr}.mam-id-top-actions{grid-template-columns:1fr}.mam-id-title p{font-size:12px}.mam-id-preview-school strong{font-size:12px}}.mam-login-background-field{margin-top:12px;padding:10px 12px;border:1px solid var(--mam-border,#dbe7f2);border-radius:9px;background:#f8fbff;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:12px;align-items:center}.mam-login-background-title{font-size:14px;font-weight:800;color:var(--mam-heading,#17365d);margin-bottom:5px}.mam-login-background-copy p{margin:5px 0 10px;color:var(--mam-text,#526b89)}.mam-image-guidance{padding:7px 9px;border:1px solid #cfe1f5;border-radius:8px;background:#fff;color:#526b89;font-size:12px;line-height:1.65}.mam-login-background-actions input{width:100%;box-sizing:border-box}.mam-login-background-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.mam-login-background-preview{display:block;width:100%;max-width:300px;aspect-ratio:16/9;object-fit:cover;border:1px solid #dbe7f2;border-radius:10px;background:#fff;margin-top:12px;box-shadow:0 6px 18px rgba(15,23,42,.06)}.mam-login-page,.mam-management-login{position:relative;isolation:isolate;background-color:#0d3558!important;background-image:var(--mam-login-bg,none)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;overflow:hidden!important}.mam-login-page.has-background,.mam-management-login.has-background{background-image:none!important}.mam-login-page.has-background::before,.mam-management-login.has-background::before{content:"";position:absolute;inset:0;background-image:var(--mam-login-bg);background-size:cover;background-position:center;background-repeat:no-repeat;z-index:0}.mam-login-page.has-background::after,.mam-management-login.has-background::after{content:"";position:absolute;inset:0;background:rgba(7,37,70,.46);z-index:1}.mam-login-backdrop{display:none}.mam-login-page{width:100vw!important;min-height:100vh!important;margin-left:calc(50% - 50vw)!important;box-sizing:border-box!important}.mam-login-page .mam-login-card,.mam-management-login .mam-login-card{position:relative;z-index:2}.mam-management-login{min-height:100vh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:32px 16px!important;box-sizing:border-box!important}.mam-management-login.has-background{background-color:#0d3558!important}.mam-management-login .mam-login-card{margin:0 auto!important}@media(max-width:800px){.mam-login-background-field{grid-template-columns:1fr}.mam-login-background-preview{max-width:none}.mam-login-page,.mam-management-login{padding:22px 12px!important}.mam-login-card{width:min(392px,100%)!important}}.mam-status.present,.mam-status-badge.present{background:#e8f7ee!important;color:#167a45!important;border-color:#b9e6cb!important}.mam-status.absent,.mam-status-badge.absent{background:#fdecec!important;color:#b42318!important;border-color:#f4c2c0!important}.mam-status.late,.mam-status-badge.late{background:#fff5db!important;color:#9a6700!important;border-color:#f2d48a!important}.mam-status.leave,.mam-status-badge.leave{background:#eef2ff!important;color:#4338ca!important;border-color:#c7d2fe!important}.mam-status{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid;border-radius:999px;font-size:12px;font-weight:700}.mam-portal-table select,.mam-portal-table input[type=text]{min-width:120px}.mam-portal-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none!important}.mam-row-btn.purple{background:#6f21d9;color:#fff}.mam-row-btn.purple:hover{background:#5d18ba;color:#fff}.mam-login-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}.mam-login-modal-backdrop{position:absolute;inset:0;background:rgba(15,30,50,.62)}.mam-login-modal-box{position:relative;width:min(485px,calc(100vw - 32px));background:#fff;border-radius:14px;box-shadow:0 22px 70px rgba(0,0,0,.28);overflow:hidden}.mam-login-modal-head{height:64px;background:#087cf5;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.mam-login-modal-head>div{display:flex;align-items:center;gap:10px}.mam-login-modal-head .dashicons{font-size:22px;width:22px;height:22px}.mam-login-modal-head h2{margin:0;color:#fff;font-size:20px;font-weight:700}.mam-login-modal-close{border:0;background:transparent;color:#fff;font-size:32px;line-height:1;cursor:pointer;padding:0 2px}.mam-student-login-form{padding:22px 30px 18px}.mam-login-field{margin-bottom:16px}.mam-login-field label{display:block;font-weight:700;color:#152b4b;margin-bottom:7px;font-size:14px}.mam-login-input-wrap{height:46px;border:1px solid #cbd5e1;border-radius:7px;display:flex;align-items:center;background:#fff;overflow:hidden}.mam-login-input-wrap>span{width:44px;text-align:center;color:#718096}.mam-login-input-wrap input{height:100%;border:0!important;box-shadow:none!important;outline:0!important;flex:1;min-width:0;padding:0 8px;font-size:15px;color:#243b5a;background:#fff}.mam-login-password-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.mam-login-password-row .mam-login-input-wrap{position:relative}.mam-login-input-wrap .mam-login-eye{width:42px;height:100%;border:0;border-left:1px solid #e5e7eb;background:#fff;color:#4b6381;cursor:pointer}.mam-login-generate{height:46px;border:0;border-radius:7px;background:#087cf5;color:#fff;padding:0 14px;font-weight:700;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.mam-login-generate:hover{background:#0669d0}.mam-student-login-form .description{font-size:11px;color:#718096;margin:5px 0 0}.mam-login-check{display:flex;align-items:center;gap:10px;margin:12px 0;color:#243b5a;font-size:14px}.mam-login-check input{width:18px;height:18px;accent-color:#087cf5;margin:0}.mam-login-modal-actions{border-top:1px solid #e5e7eb;margin-top:16px;padding-top:16px;display:flex;justify-content:flex-end;gap:10px}.mam-login-modal-actions .button{height:42px;padding:0 20px;border-radius:7px;display:inline-flex;align-items:center;gap:6px;font-size:14px}.mam-login-modal-actions .button-primary{background:#087cf5!important;border-color:#087cf5!important}.mam-login-modal-actions .button-primary:hover{background:#0669d0!important;border-color:#0669d0!important}@media(max-width:560px){.mam-login-modal{padding:12px}.mam-student-login-form{padding:18px}.mam-login-password-row{grid-template-columns:1fr}.mam-login-generate{width:100%;justify-content:center}}.mam-ref-portal,.mam-ref-portal *{box-sizing:border-box}.mam-ref-portal{width:100vw;max-width:none;margin:0!important;background:#eef5fb;color:#14213d;font-family:Inter,Arial,sans-serif;min-height:100vh;border:0!important;border-radius:0!important;overflow:hidden!important}.mam-ref-header{height:84px;background:#fff;border-bottom:1px solid #dce5ef;display:flex;align-items:center;justify-content:space-between;padding:0 28px 0 22px;gap:18px}.mam-ref-brand{display:flex;align-items:center;gap:13px;min-width:0}.mam-ref-header-logo{width:62px;height:62px;display:grid;place-items:center;flex:0 0 62px}.mam-ref-header-logo img{width:62px;height:62px;object-fit:contain}.mam-ref-header-logo>span{width:54px;height:54px;border-radius:50%;background:#e8f0f7;color:#0d3558;display:grid;place-items:center;font-size:24px;font-weight:800}.mam-ref-brand-bn{font-size:21px;line-height:1.2;font-weight:700;color:#0f2346}.mam-ref-brand-en{font-size:14px;line-height:1.35;color:#17365d;margin-top:2px}.mam-ref-header-user{display:flex;align-items:center;gap:10px;min-width:230px;justify-content:flex-end}.mam-ref-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #edf2f7}.mam-ref-avatar-placeholder{display:grid;place-items:center;background:#eaf2fb;color:#0d3558;font-weight:800;font-size:18px}.mam-ref-header-user strong{display:block;font-size:14px;color:#0f2346}.mam-ref-header-user small{display:block;color:#17365d;font-size:12px;margin-top:2px}.mam-ref-chevron{font-size:21px;color:#60758e;margin-left:5px}.mam-ref-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 84px)}.mam-ref-sidebar{background:#0d3558;color:#fff;padding:20px 12px 18px;min-height:100%;}.mam-ref-sidebar-brand{padding:4px 8px 18px;text-align:center;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:10px}.mam-ref-logo{width:64px;height:64px;margin:0 auto 8px}.mam-ref-logo img{width:64px;height:64px;object-fit:contain;border-radius:50%;background:#fff;padding:2px}.mam-ref-logo-placeholder{width:58px;height:58px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#fff;color:#0d3558;font-weight:800;font-size:23px}.mam-ref-sidebar-title{font-size:22px;font-weight:700;line-height:1.1}.mam-ref-nav{display:flex;flex-direction:column;gap:5px}.mam-ref-nav-item{display:flex;align-items:center;gap:14px;min-height:53px;padding:10px 16px;border-radius:7px;text-decoration:none!important;color:rgba(255,255,255,.94)!important;font-size:16px;font-weight:500;transition:none}.mam-ref-nav-item:hover{background:#173f64;color:#fff!important}.mam-ref-nav-item.active{background:#087cf5;color:#fff!important}.mam-ref-nav-icon{width:25px;text-align:center;font-size:22px;line-height:1;color:#ccecff}.mam-ref-nav-item.active .mam-ref-nav-icon{color:#fff}.mam-ref-nav-item.mam-ref-logout{margin-top:8px;color:#ff6b72!important}.mam-ref-nav-item.mam-ref-logout .mam-ref-nav-icon{color:#ff6b72}.mam-ref-main{min-width:0;padding:27px 27px 36px;background:#eef5fb}.mam-ref-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 3px 20px}.mam-ref-page-heading h1{font-size:34px;line-height:1.1;margin:0;color:#0d1e4c;font-weight:800}.mam-ref-page-heading p{margin:5px 0 0;color:#526684;font-size:18px}.mam-ref-page-heading.with-crumb{align-items:center}.mam-ref-breadcrumb{display:flex;align-items:center;gap:8px;color:#63758c;font-size:16px;white-space:nowrap}.mam-ref-breadcrumb a{color:#63758c;text-decoration:none}.mam-ref-breadcrumb a:hover{text-decoration:underline}.mam-ref-breadcrumb b{color:#4d617b;font-weight:500}.mam-ref-dashboard-hero{display:grid;grid-template-columns:minmax(360px,1.75fr) repeat(4,minmax(130px,1fr));gap:12px;background:#fff;border-radius:10px;border:1px solid #e0e8f0;padding:20px 20px 18px;box-shadow:0 5px 18px rgba(28,64,96,.05)}.mam-ref-student-block{display:flex;align-items:center;gap:20px;min-width:0}.mam-ref-big-photo{width:158px;height:158px;border-radius:12px;background:#eaf3fb;overflow:hidden;display:grid;place-items:center;flex:0 0 158px}.mam-ref-big-photo img{width:100%;height:100%;object-fit:cover}.mam-ref-big-photo span{font-size:42px;font-weight:800;color:#0d3558}.mam-ref-student-block h2{margin:0 0 8px;font-size:28px;color:#07164a}.mam-ref-student-block p{margin:6px 0;color:#24385b;font-size:16px}.mam-ref-mini-card{min-height:168px;border-radius:10px;padding:18px 12px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid transparent}.mam-ref-mini-card span{font-size:33px;font-weight:800;line-height:1;margin-bottom:13px}.mam-ref-mini-card small{font-size:14px;color:#24385b}.mam-ref-mini-card strong{font-size:20px;margin-top:8px;color:#08184d}.mam-ref-mini-card em{font-size:12px;font-style:normal;color:#536985;margin-top:7px}.mam-ref-mini-card.blue{background:#edf7ff}.mam-ref-mini-card.blue span{color:#087cf5}.mam-ref-mini-card.green{background:#eefaf3}.mam-ref-mini-card.green span{color:#0b9b4d}.mam-ref-mini-card.green strong{color:#0a9148}.mam-ref-mini-card.orange{background:#fff7e9}.mam-ref-mini-card.orange span{color:#f28b00}.mam-ref-mini-card.orange strong{color:#ed1f24}.mam-ref-mini-card.purple{background:#f5efff}.mam-ref-mini-card.purple span{color:#7c25e8}.mam-ref-mini-card.purple strong{color:#0a1649}.mam-ref-section{background:#fff;border:1px solid #e0e8f0;border-radius:10px;box-shadow:0 5px 18px rgba(28,64,96,.045);padding:18px 18px 16px}.mam-ref-section>h2{margin:0 0 15px;color:#07164a;font-size:20px}.mam-ref-quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.mam-ref-quick{position:relative;min-height:143px;border-radius:9px;padding:15px 10px;text-decoration:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid transparent}.mam-ref-quick.blue{background:#eef7ff}.mam-ref-quick.green{background:#effbf4}.mam-ref-quick.orange{background:#fff7e9}.mam-ref-quick.red{background:#fff0f4}.mam-ref-quick.purple{background:#f5efff}.mam-ref-quick.cyan{background:#eefaff}.mam-ref-quick-icon{font-size:31px;font-weight:800;line-height:1;margin-bottom:12px}.mam-ref-quick.blue .mam-ref-quick-icon{color:#087cf5}.mam-ref-quick.green .mam-ref-quick-icon{color:#16a34a}.mam-ref-quick.orange .mam-ref-quick-icon{color:#f0a000}.mam-ref-quick.red .mam-ref-quick-icon{color:#ef3156}.mam-ref-quick.purple .mam-ref-quick-icon{color:#7c25e8}.mam-ref-quick.cyan .mam-ref-quick-icon{color:#0aa2cc}.mam-ref-quick strong{font-size:15px;color:#0a194b}.mam-ref-quick small{font-size:11px;color:#526684;margin-top:5px}.mam-ref-quick b{position:absolute;right:11px;bottom:10px;color:#6d7f97;font-size:22px;font-weight:400}.mam-ref-section+.mam-ref-section{margin-top:0}.mam-ref-dashboard-hero+.mam-ref-section{margin-top:14px}.mam-ref-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.mam-ref-summary{border:1px solid #dfe8f0;border-radius:7px;overflow:hidden}.mam-ref-summary>div{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;border-bottom:1px solid #dfe8f0;font-size:16px;color:#14213d}.mam-ref-summary>div:last-child{border-bottom:0}.mam-ref-summary strong{font-size:18px;color:#07164a}.green-text{color:#119647!important}.red-text{color:#ef1d26!important}.mam-ref-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:700}.mam-ref-status.paid{background:#dff6e7;color:#0a8c45}.mam-ref-status.upcoming{background:#dff5e7;color:#148044}.mam-ref-status.completed{background:#e8edf4;color:#52627a}.mam-ref-status.failed{background:#ffe3e3;color:#d02222}.mam-ref-status.present{background:#dff6e7;color:#148044}.mam-ref-status.absent{background:#ffe3e3;color:#c32222}.mam-ref-status.late{background:#fff1c9;color:#a56b00}.mam-ref-status.leave{background:#ebeaff;color:#5144c7}.mam-ref-table-wrap{overflow-x:auto}.mam-ref-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dfe7ef;border-radius:8px;overflow:hidden;font-size:14px}.mam-ref-table th{background:#edf5fc;color:#08164a;font-weight:700;padding:11px 10px;border-bottom:1px solid #d8e2ec;text-align:left;white-space:nowrap}.mam-ref-table td{padding:10px;border-bottom:1px solid #e4ebf2;color:#203553;vertical-align:middle}.mam-ref-table tr:last-child td{border-bottom:0}.mam-ref-table.wide{min-width:920px}.mam-ref-grade{display:inline-flex;align-items:center;justify-content:center;background:#dff6e7;color:#0a8d47;border-radius:6px;padding:6px 10px;font-weight:700}.mam-ref-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:37px;padding:0 13px;border-radius:6px;background:#087cf5;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700}.mam-ref-btn.small{min-height:34px;padding:0 13px}.mam-ref-outline-btn{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:0 13px;border:1px solid #087cf5;border-radius:6px;color:#0870dc!important;background:#fff;text-decoration:none!important;font-size:13px;font-weight:700}.mam-ref-muted{color:#8190a3;font-size:12px}.mam-ref-profile-grid{display:grid;grid-template-columns:390px minmax(0,1fr);gap:22px}.mam-ref-profile-card,.mam-ref-info-card{background:#fff;border:1px solid #e0e8f0;border-radius:10px;box-shadow:0 5px 18px rgba(28,64,96,.045)}.mam-ref-profile-card{min-height:650px;text-align:center;padding:45px 24px}.mam-ref-profile-photo{width:220px;height:220px;margin:0 auto 20px;border-radius:12px;background:#eaf3fb;overflow:hidden;display:grid;place-items:center}.mam-ref-profile-photo img{width:100%;height:100%;object-fit:cover}.mam-ref-profile-photo span{font-size:52px;font-weight:800;color:#0d3558}.mam-ref-profile-card h2{font-size:25px;color:#07164a;margin:0 0 5px}.mam-ref-profile-card p{font-size:18px;color:#526684;margin:0 0 17px}.mam-ref-class-pill{display:inline-flex;padding:9px 32px;border-radius:8px;background:#e7f2ff;color:#124bd5;font-size:15px}.mam-ref-info-card{padding:22px}.mam-ref-info-card h2{font-size:21px;color:#07164a;margin:0 0 15px}.mam-ref-info-card h2 span{color:#087cf5}.mam-ref-info-table{border:1px solid #dfe7ef;border-radius:8px;overflow:hidden}.mam-ref-info-table>div{display:grid;grid-template-columns:230px 1fr;border-bottom:1px solid #dfe7ef;min-height:56px}.mam-ref-info-table>div:last-child{border-bottom:0}.mam-ref-info-table b{background:#f3f8fc;padding:16px 20px;color:#4a5e78;font-size:14px}.mam-ref-info-table span{padding:16px 22px;color:#2d4261;font-size:14px}.mam-ref-fee-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}.mam-ref-fee-stats>div{min-height:116px;border-radius:10px;padding:18px 22px;display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center}.mam-ref-fee-stats>div>span{grid-row:1/3;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:800;background:#fff}.mam-ref-fee-stats small{font-size:14px;color:#14213d}.mam-ref-fee-stats strong{font-size:26px;color:#07164a}.fee-blue{background:#edf7ff}.fee-blue>span{color:#087cf5}.fee-green{background:#ecfaf1}.fee-green>span{color:#16a34a}.fee-green strong{color:#149547}.fee-red{background:#fff0f2}.fee-red>span{color:#ef1d26}.fee-red strong{color:#ef1d26}.fee-purple{background:#f5efff}.fee-purple>span{color:#7c25e8}.fee-purple strong{color:#138f47}.fee-details{padding-top:18px}.fee-details h2{font-size:20px}.mam-ref-exam-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mam-ref-card-title{display:flex;align-items:center;gap:14px;margin-bottom:15px}.mam-ref-card-title>span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:27px;font-weight:800}.mam-ref-card-title .blue-icon{background:#e9f4ff;color:#087cf5}.mam-ref-card-title .purple-icon{background:#f1eaff;color:#7c25e8}.mam-ref-card-title h2{font-size:20px;margin:0;color:#07164a}.mam-ref-card-title p{font-size:14px;color:#526684;margin:4px 0 0}.mam-ref-notice{padding:12px 15px;background:#fff7e0;border:1px solid #f1d48a;border-radius:8px;color:#815c00;margin-bottom:14px}.mam-ref-notice.success{background:#eaf8ef;border-color:#b9e6cb;color:#147442}.mam-ref-password-card{max-width:620px}.mam-ref-password-card form{display:grid;gap:15px}.mam-ref-password-card label{font-size:14px;font-weight:700;color:#253a57}.mam-ref-password-card input{display:block;width:100%;height:44px;margin-top:7px;border:1px solid #ccd9e6;border-radius:7px;padding:0 12px;box-shadow:none}.mam-ref-password-card .mam-ref-btn{width:max-content;border:0;cursor:pointer}.mam-ref-portal .mam-portal-id-wrap{max-width:620px;margin:0 auto}.mam-ref-portal .mam-portal-id-actions{text-align:right;margin-bottom:12px}.mam-ref-portal .mam-portal-id-actions button{background:#087cf5;color:#fff;border:0;border-radius:6px;padding:10px 15px;font-weight:700}@media(max-width:1200px){.mam-ref-dashboard-hero{grid-template-columns:minmax(330px,1.6fr) repeat(2,1fr)}.mam-ref-mini-card{min-height:135px}.mam-ref-quick-grid{grid-template-columns:repeat(3,1fr)}.mam-ref-profile-grid{grid-template-columns:320px minmax(0,1fr)}}@media(max-width:900px){.mam-ref-layout{grid-template-columns:1fr}.mam-ref-sidebar{min-height:auto}.mam-ref-nav{display:grid;grid-template-columns:repeat(2,1fr)}.mam-ref-nav-item.mam-ref-logout{margin-top:0}.mam-ref-dashboard-hero{grid-template-columns:1fr 1fr}.mam-ref-student-block{grid-column:1/-1}.mam-ref-bottom-grid,.mam-ref-exam-grid,.mam-ref-profile-grid{grid-template-columns:1fr}.mam-ref-profile-card{min-height:auto}.mam-ref-fee-stats{grid-template-columns:1fr 1fr}}@media(max-width:600px){.mam-ref-header{height:auto;min-height:84px;padding:12px 14px;align-items:flex-start}.mam-ref-brand-bn{font-size:16px}.mam-ref-brand-en{font-size:11px}.mam-ref-header-logo,.mam-ref-header-logo img{width:48px;height:48px}.mam-ref-header-user{min-width:auto}.mam-ref-header-user>div{display:none}.mam-ref-main{padding:18px 12px 25px}.mam-ref-page-heading{flex-direction:column;gap:10px}.mam-ref-page-heading h1{font-size:28px}.mam-ref-page-heading p{font-size:15px}.mam-ref-breadcrumb{font-size:14px}.mam-ref-dashboard-hero{grid-template-columns:1fr}.mam-ref-student-block{flex-direction:column;align-items:flex-start}.mam-ref-quick-grid{grid-template-columns:1fr 1fr}.mam-ref-fee-stats{grid-template-columns:1fr}.mam-ref-info-table>div{grid-template-columns:120px 1fr}.mam-ref-nav{grid-template-columns:1fr}.mam-ref-profile-photo{width:180px;height:180px}}html:has(.mam-ref-portal),body:has(.mam-ref-portal){overflow-x:hidden!important;}body:has(.mam-ref-portal){margin:0!important;}.mam-ref-portal{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow-x:hidden!important;}.mam-ref-header{width:100%!important;max-width:none!important;height:84px!important;min-height:84px!important;padding:0 28px 0 22px!important;}.mam-ref-layout{width:100%!important;max-width:none!important;grid-template-columns:207px minmax(0,1fr)!important;min-width:0!important;}.mam-ref-sidebar{width:207px!important;min-width:207px!important;max-width:207px!important;padding:20px 10px 18px!important;}.mam-ref-sidebar-brand{padding-left:6px!important;padding-right:6px!important}.mam-ref-nav-item{padding-left:13px!important;padding-right:13px!important;font-size:16px!important;}.mam-ref-main{width:100%!important;min-width:0!important;max-width:none!important;overflow-x:hidden!important;padding:27px 27px 36px!important;}.mam-ref-page-heading,.mam-ref-dashboard-hero,.mam-ref-section,.mam-ref-bottom-grid,.mam-ref-profile-grid,.mam-ref-fee-stats,.mam-ref-exam-grid{max-width:none!important;min-width:0!important;}.mam-ref-table-wrap{max-width:100%!important;min-width:0!important}@media(max-width:900px){.mam-ref-layout{grid-template-columns:1fr!important}.mam-ref-sidebar{width:100%!important;min-width:0!important;max-width:none!important}}html:has(.mam-ref-portal),html:has(.mam-staff-ref-portal),body:has(.mam-ref-portal),body:has(.mam-staff-ref-portal){margin:0!important;padding:0!important;overflow-x:hidden!important;width:100%!important;max-width:none!important;}body:has(.mam-ref-portal) #page,body:has(.mam-ref-portal) #content,body:has(.mam-staff-ref-portal) #page,body:has(.mam-staff-ref-portal) #content,body:has(.mam-ref-portal) .site-content,body:has(.mam-staff-ref-portal) .site-content,body:has(.mam-ref-portal) .content-area,body:has(.mam-staff-ref-portal) .content-area,body:has(.mam-ref-portal) .site-main,body:has(.mam-staff-ref-portal) .site-main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}.mam-ref-portal{position:relative;left:0!important;top:0!important;width:100vw!important;max-width:100vw!important;min-height:100vh!important;margin:0!important;border-radius:0!important;border:0!important;overflow-x:hidden!important;box-shadow:none!important}.mam-ref-header{width:100%!important;max-width:none!important;margin:0!important;flex:0 0 84px}.mam-ref-layout{width:100%!important;max-width:none!important;grid-template-columns:207px minmax(0,1fr)!important;min-height:calc(100vh - 84px)!important}.mam-ref-sidebar{width:207px!important;min-width:207px!important;max-width:207px!important;min-height:calc(100vh - 84px)!important;height:calc(100vh - 84px)!important;position:sticky!important;top:84px!important;align-self:start!important;overflow-y:auto!important;padding:20px 10px 18px!important}.mam-ref-icon-logo{display:grid!important;place-items:center!important;background:transparent!important;border-radius:0!important}.mam-ref-icon-logo .mam-portal-cap-icon{width:64px!important;height:64px!important;color:#fff!important;display:block!important}.mam-ref-icon-logo .mam-portal-cap-icon path:first-child{fill:#fff!important}.mam-ref-icon-logo .mam-portal-cap-icon path:nth-child(2){fill:#fff!important}.mam-ref-icon-logo .mam-portal-cap-icon path:nth-child(3){stroke:#fff!important}.mam-ref-icon-logo .mam-portal-cap-icon circle{fill:#fff!important}.mam-ref-sidebar-title{font-size:22px!important;white-space:nowrap!important}.mam-ref-main{width:100%!important;max-width:none!important;min-width:0!important;overflow-x:hidden!important;padding:27px 27px 36px!important}.mam-staff-ref-portal .mam-ref-sidebar{background:#0d3558!important;color:#fff!important}.mam-staff-ref-portal .mam-ref-main{background:#eef5fb!important}.mam-staff-ref-main .mam-portal-topbar{display:none!important}.mam-staff-ref-main .mam-portal-page-title{display:none!important}.mam-staff-ref-main .mam-portal-card,.mam-staff-ref-main .mam-portal-welcome,.mam-staff-ref-main .mam-portal-stat,.mam-staff-ref-main .mam-portal-profile>div{background:#fff!important;border:1px solid #e0e8f0!important;border-radius:10px!important;box-shadow:0 5px 18px rgba(28,64,96,.045)!important;}.mam-staff-ref-main .mam-portal-card{padding:18px!important;margin:0 0 14px!important}.mam-staff-ref-main .mam-portal-card h3{color:#07164a!important;font-size:20px!important;margin:0 0 15px!important}.mam-staff-ref-main .mam-portal-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-bottom:12px!important}.mam-staff-ref-main .mam-portal-card-head h3{margin:0!important}.mam-staff-ref-main .mam-portal-card-head span{color:#526684!important;font-size:13px!important}.mam-staff-ref-main .mam-portal-welcome{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:20px!important;margin-bottom:14px!important;border-left:5px solid #087cf5!important}.mam-staff-ref-main .mam-portal-welcome h2{color:#07164a!important;font-size:25px!important;margin:4px 0 7px!important}.mam-staff-ref-main .mam-portal-welcome p{color:#526684!important;margin:0!important}.mam-staff-ref-main .mam-portal-status{background:#dff6e7!important;color:#0a8c45!important;border-radius:6px!important;padding:7px 12px!important}.mam-staff-ref-main .mam-portal-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 14px!important}.mam-staff-ref-main .mam-portal-stat{min-height:105px!important;padding:17px!important;border-top:3px solid #087cf5!important;box-shadow:0 4px 14px rgba(28,64,96,.04)!important}.mam-staff-ref-main .mam-portal-stat:nth-child(2){border-top-color:#16a34a!important}.mam-staff-ref-main .mam-portal-stat:nth-child(3){border-top-color:#f28b00!important}.mam-staff-ref-main .mam-portal-stat:nth-child(4){border-top-color:#7c25e8!important}.mam-staff-ref-main .mam-portal-stat span{display:block!important;color:#526684!important;font-size:12px!important;text-transform:none!important;letter-spacing:0!important}.mam-staff-ref-main .mam-portal-stat strong{display:block!important;color:#07164a!important;font-size:21px!important;margin-top:7px!important}.mam-staff-ref-main .mam-portal-table{overflow-x:auto!important}.mam-staff-ref-main .mam-portal-table table{width:100%!important;min-width:680px!important;border-collapse:collapse!important}.mam-staff-ref-main .mam-portal-table th{background:#edf5fc!important;color:#08164a!important;padding:11px!important;text-align:left!important;border-bottom:1px solid #d8e2ec!important;font-size:13px!important}.mam-staff-ref-main .mam-portal-table td{padding:10px!important;border-bottom:1px solid #e4ebf2!important;color:#203553!important;font-size:13px!important}.mam-staff-ref-main .mam-portal-table tr:nth-child(even) td{background:#f8fbff!important}.mam-staff-ref-main .mam-portal-profile{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.mam-staff-ref-main .mam-profile-layout{background:#fff!important;border:1px solid #e0e8f0!important;border-radius:10px!important;padding:22px!important;box-shadow:0 5px 18px rgba(28,64,96,.045)!important}.mam-staff-ref-main .mam-profile-photo-wrap{margin-bottom:18px!important}.mam-staff-ref-main .mam-profile-photo{width:150px!important;height:180px!important;border-radius:10px!important}.mam-staff-ref-main .mam-portal-button{background:#087cf5!important;border-radius:6px!important}@media(max-width:900px){.mam-ref-layout{grid-template-columns:1fr!important;min-height:auto!important}.mam-ref-sidebar{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:auto!important;position:relative!important;top:auto!important}.mam-staff-ref-main .mam-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-staff-ref-main .mam-portal-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){.mam-ref-header{min-height:84px!important;height:auto!important;padding:12px 14px!important}.mam-ref-main{padding:18px 12px 25px!important}.mam-staff-ref-main .mam-portal-grid,.mam-staff-ref-main .mam-portal-profile{grid-template-columns:1fr!important}.mam-staff-ref-main .mam-portal-welcome{align-items:flex-start!important;flex-direction:column!important}}.mam-ref-layout{gap:0!important;column-gap:0!important;row-gap:0!important;}.mam-ref-sidebar{margin:0!important;border:0!important;border-right:0!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.32) #0d3558!important;}.mam-ref-sidebar::-webkit-scrollbar{width:8px!important;height:8px!important;}.mam-ref-sidebar::-webkit-scrollbar-track{background:#0d3558!important;border:0!important;}.mam-ref-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.32)!important;border-radius:8px!important;border:2px solid #0d3558!important;}.mam-ref-sidebar::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.48)!important;}.mam-staff-ref-portal .mam-ref-sidebar{scrollbar-color:rgba(255,255,255,.32) #0d3558!important;}.mam-staff-ref-portal .mam-ref-sidebar::-webkit-scrollbar-track{background:#0d3558!important;}.mam-staff-ref-portal .mam-ref-sidebar::-webkit-scrollbar-thumb{border-color:#0d3558!important;}.mam-ref-main{margin:0!important;border-left:0!important;}@media(min-width:901px){.mam-ref-layout{grid-template-columns:207px minmax(0,1fr)!important;align-items:stretch!important;}.mam-ref-sidebar{width:207px!important;min-width:207px!important;max-width:207px!important;height:calc(100vh - 84px)!important;min-height:calc(100vh - 84px)!important;position:sticky!important;top:84px!important;align-self:start!important;}.mam-ref-main{min-width:0!important;width:auto!important;}}html:has(.mam-ref-portal),html:has(.mam-staff-ref-portal),body:has(.mam-ref-portal),body:has(.mam-staff-ref-portal){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow-x:hidden!important;}body:has(.mam-ref-portal) #page,body:has(.mam-staff-ref-portal) #page,body:has(.mam-ref-portal) #content,body:has(.mam-staff-ref-portal) #content,body:has(.mam-ref-portal) #primary,body:has(.mam-staff-ref-portal) #primary,body:has(.mam-ref-portal) .site-content,body:has(.mam-staff-ref-portal) .site-content,body:has(.mam-ref-portal) .content-area,body:has(.mam-staff-ref-portal) .content-area,body:has(.mam-ref-portal) .site-main,body:has(.mam-staff-ref-portal) .site-main,body:has(.mam-ref-portal) .ast-container,body:has(.mam-staff-ref-portal) .ast-container,body:has(.mam-ref-portal) .container,body:has(.mam-staff-ref-portal) .container,body:has(.mam-ref-portal) .elementor,body:has(.mam-staff-ref-portal) .elementor{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;}.mam-ref-portal,.mam-staff-ref-portal{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100vw!important;max-width:100vw!important;min-width:0!important;margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;box-sizing:border-box!important;overflow-x:hidden!important;}.mam-ref-layout{display:grid!important;grid-template-columns:207px minmax(0,1fr)!important;gap:0!important;column-gap:0!important;row-gap:0!important;grid-column-gap:0!important;grid-row-gap:0!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;align-items:stretch!important;justify-content:stretch!important;}.mam-ref-sidebar{grid-column:1!important;grid-row:1!important;width:207px!important;min-width:207px!important;max-width:207px!important;height:calc(100vh - 84px)!important;min-height:calc(100vh - 84px)!important;margin:0!important;padding:20px 10px 18px!important;box-sizing:border-box!important;border:0!important;border-right:0!important;border-radius:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:auto!important;align-self:stretch!important;}.mam-ref-main{grid-column:2!important;grid-row:1!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;border:0!important;box-sizing:border-box!important;overflow-x:hidden!important;background:#eef5fb!important;}@media(min-width:901px){.mam-ref-main{padding:27px 27px 36px!important;}}@media(max-width:900px){.mam-ref-portal,.mam-staff-ref-portal{margin-left:0!important;width:100%!important;max-width:100%!important;}.mam-ref-layout{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;}.mam-ref-sidebar{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:auto!important;position:relative!important;top:auto!important;}.mam-ref-main{grid-column:1!important;grid-row:2!important;width:100%!important;padding:18px 12px 25px!important;}}.mam-attendance-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#172554}.mam-attendance-page *{box-sizing:border-box}.mam-attendance-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.mam-attendance-title{display:flex;align-items:center;gap:16px;min-width:0}.mam-attendance-icon{width:64px;height:64px;border-radius:12px;background:#e8f2ff;color:#087cf5;display:grid;place-items:center;flex:0 0 64px}.mam-attendance-icon .dashicons{font-size:38px;width:38px;height:38px}.mam-attendance-title h2{margin:0;color:#10245a;font-size:30px;line-height:1.1;font-weight:700}.mam-attendance-title p{margin:5px 0 0;color:#526b89;font-size:15px}.mam-attendance-breadcrumb{display:flex;align-items:center;gap:9px;color:#6b7f99;font-size:13px;white-space:nowrap}.mam-attendance-breadcrumb a{color:#526b89;text-decoration:none}.mam-attendance-breadcrumb a:hover{color:#087cf5}.mam-attendance-breadcrumb strong{color:#17365d}.mam-attendance-filter{margin:0 0 12px!important;padding:14px 18px!important;background:#fff!important;border:1px solid #dbe7f2!important;border-radius:10px!important;box-shadow:0 3px 12px rgba(26,64,102,.04)!important}.mam-attendance-filter form{display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:16px;align-items:end}.mam-attendance-filter label{margin:0!important;color:#172554;font-size:13px;font-weight:700}.mam-attendance-filter label select,.mam-attendance-filter label input{display:block;width:100%;height:47px;margin-top:7px;border:1px solid #cfdbe8;border-radius:7px;background:#fff;padding:0 13px;color:#263b59;box-shadow:none!important}.mam-attendance-load{height:47px;padding:0 22px;border:0;border-radius:7px;background:#087cf5;color:#fff;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap}.mam-attendance-load:hover{background:#066bd2}.mam-attendance-load .dashicons{font-size:20px;width:20px;height:20px}.mam-attendance-summary{display:grid;grid-template-columns:1fr 1px 1fr 1px 1.35fr;align-items:center;gap:18px;background:#eaf4ff;border-radius:7px;padding:13px 20px;margin:0 0 12px;color:#17365d;font-size:14px}.mam-attendance-summary span{width:1px;height:28px;background:#a9c4dd;display:block}.mam-attendance-summary strong{font-weight:700}.mam-attendance-table-card{background:#fff;border:1px solid #dbe7f2;border-radius:9px;overflow:hidden;box-shadow:0 3px 12px rgba(26,64,102,.04)}.mam-attendance-table-wrap{overflow-x:auto}.mam-attendance-table{width:100%;min-width:820px;border-collapse:collapse;font-size:14px}.mam-attendance-table th{background:#edf5fc;color:#152b57;text-align:left;font-weight:700;padding:14px 16px;border-bottom:1px solid #d6e2ee;white-space:nowrap}.mam-attendance-table td{padding:9px 16px;border-bottom:1px solid #e1e9f1;color:#263b59;vertical-align:middle;background:#fff}.mam-attendance-table tbody tr:nth-child(even) td{background:#f8fbfe}.mam-attendance-table tbody tr:hover td{background:#f4f9ff}.mam-attendance-table .check-col{width:48px;text-align:center;padding-left:12px;padding-right:12px}.mam-attendance-table input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#087cf5}.mam-attendance-status{display:flex;align-items:center;gap:14px;min-width:280px}.mam-attendance-status label{display:inline-flex;align-items:center;gap:9px;min-width:153px;height:38px;padding:0 12px;border:1px solid #d5dfe9;border-radius:7px;background:#fff;color:#536b87;font-weight:600;cursor:pointer}.mam-attendance-status label input{position:absolute;opacity:0;pointer-events:none}.mam-attendance-status label.present.selected{background:#def7e9;border-color:#bde9d0;color:#15803d}.mam-attendance-status label.absent.selected{background:#fde9ed;border-color:#f5c5cd;color:#dc2626}.mam-status-dot{width:20px;height:20px;border:2px solid #91a5bb;border-radius:50%;display:inline-block;position:relative;flex:0 0 20px}.mam-attendance-status .selected.present .mam-status-dot{border-color:#15803d}.mam-attendance-status .selected.absent .mam-status-dot{border-color:#dc2626}.mam-attendance-status .selected .mam-status-dot:after{content:"";position:absolute;inset:4px;border-radius:50%;background:currentColor}.mam-attendance-actions{display:flex;justify-content:space-between;align-items:center;padding:18px 16px;background:#fff}.mam-attendance-actions>div{display:flex;align-items:center;gap:14px}.mam-attendance-reset,.mam-attendance-cancel{height:50px;padding:0 20px;border-radius:7px;border:1px solid #cfdbe8;background:#fff;color:#17365d;text-decoration:none;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.mam-attendance-reset:hover,.mam-attendance-cancel:hover{background:#f6f9fc}.mam-attendance-save{height:50px;padding:0 25px;border:0;border-radius:7px;background:#087cf5;color:#fff;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.mam-attendance-save:hover{background:#066bd2}.mam-attendance-no-data{padding:35px!important;text-align:center!important;color:#718096!important}.mam-modern-user-wrap{position:relative}.mam-modern-user{border:0;background:transparent;padding:2px 0;display:flex;align-items:center;gap:8px;color:#17365d;cursor:pointer;font:inherit}.mam-modern-user:hover{opacity:.88}.mam-modern-user:focus{outline:2px solid rgba(8,124,245,.25);outline-offset:4px;border-radius:8px}.mam-modern-user-menu{display:none;position:absolute;right:0;top:calc(100% + 10px);width:190px;background:#fff;border:1px solid #dbe7f2;border-radius:10px;box-shadow:0 14px 34px rgba(20,55,90,.18);overflow:hidden;z-index:100001}.mam-modern-user-wrap.is-open .mam-modern-user-menu{display:block}.mam-modern-user-menu-head{padding:12px 14px;border-bottom:1px solid #edf2f7}.mam-modern-user-menu-head strong,.mam-modern-user-menu-head small{display:block}.mam-modern-user-menu-head strong{color:#17365d;font-size:13px}.mam-modern-user-menu-head small{color:#7890aa;font-size:11px;margin-top:2px}.mam-modern-user-menu>a{display:flex;align-items:center;gap:8px;padding:11px 14px;color:#334e68;text-decoration:none;font-size:13px;font-weight:600}.mam-modern-user-menu>a:hover{background:#f4f8fc;color:#087cf5}.mam-modern-user-menu>a .dashicons{font-size:18px;width:18px;height:18px}.mam-modern-breadcrumb{position:absolute;right:26px;bottom:-34px;display:flex;align-items:center;gap:8px;font-size:13px;color:#71839a;white-space:nowrap}.mam-modern-breadcrumb a{color:#71839a;text-decoration:none}.mam-modern-breadcrumb a:hover{color:#087cf5}.mam-modern-breadcrumb strong{color:#17365d}@media(max-width:1050px){.mam-attendance-filter form{grid-template-columns:1fr 1fr 1fr}.mam-attendance-load{grid-column:1/-1;justify-self:end}.mam-attendance-breadcrumb{display:none}}@media(max-width:700px){.mam-attendance-page-head{align-items:flex-start}.mam-attendance-title h2{font-size:25px}.mam-attendance-title p{font-size:13px}.mam-attendance-icon{width:54px;height:54px;flex-basis:54px}.mam-attendance-icon .dashicons{font-size:32px;width:32px;height:32px}.mam-attendance-filter form{grid-template-columns:1fr}.mam-attendance-load{grid-column:auto;width:100%}.mam-attendance-summary{grid-template-columns:1fr;gap:7px}.mam-attendance-summary span{display:none}.mam-attendance-actions{align-items:stretch;gap:10px;flex-direction:column}.mam-attendance-actions>div{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.mam-attendance-reset,.mam-attendance-cancel,.mam-attendance-save{width:100%;justify-content:center}.mam-modern-breadcrumb{display:none}.mam-modern-user-menu{right:-5px}}.mam-attendance-page-head{margin-bottom:14px}.mam-attendance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 14px}.mam-attendance-stat{min-height:88px;border-radius:10px;border:1px solid #dbe7f2;display:flex;align-items:center;gap:16px;padding:14px 20px;background:#fff;box-shadow:0 3px 12px rgba(26,64,102,.04)}.mam-attendance-stat.all{background:#eaf4ff}.mam-attendance-stat.present{background:#e5f8ed}.mam-attendance-stat.absent{background:#fde9ed}.mam-attendance-stat-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;flex:0 0 54px;background:#fff}.mam-attendance-stat-icon .dashicons{font-size:31px;width:31px;height:31px}.mam-attendance-stat.all .mam-attendance-stat-icon{color:#087cf5}.mam-attendance-stat.present .mam-attendance-stat-icon{color:#16a34a}.mam-attendance-stat.absent .mam-attendance-stat-icon{color:#dc2626}.mam-attendance-stat span{display:block;font-size:13px;color:#17365d;margin-bottom:2px}.mam-attendance-stat strong{display:block;font-size:27px;line-height:1.1;color:#10245a}.mam-attendance-filter{padding:12px 16px!important;margin-bottom:10px!important}.mam-attendance-filter form{gap:12px}.mam-attendance-filter label select,.mam-attendance-filter label input{height:42px;margin-top:6px}.mam-attendance-load{height:42px;padding:0 18px}.mam-attendance-summary{padding:11px 18px;margin-bottom:10px}.mam-attendance-table{min-width:920px}.mam-attendance-table th{padding:10px 12px}.mam-attendance-table td{padding:7px 12px}.mam-attendance-table .check-col{width:44px;padding-left:10px;padding-right:10px}.mam-attendance-table .status-col{width:72px;text-align:center}.mam-attendance-table .remarks-col{width:300px}.mam-attendance-table input[type=checkbox]{width:17px;height:17px}.mam-attendance-radio{width:34px;height:34px;margin:auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d2deea;border-radius:7px;background:#fff;cursor:pointer}.mam-attendance-radio input{position:absolute;opacity:0;pointer-events:none}.mam-attendance-radio.present-radio.selected{background:#e2f7eb;border-color:#b9e8cc}.mam-attendance-radio.absent-radio.selected{background:#fde9ed;border-color:#f4c5ce}.mam-attendance-radio .mam-status-dot{width:18px;height:18px;flex:0 0 18px}.mam-attendance-radio.present-radio.selected .mam-status-dot{border-color:#087cf5}.mam-attendance-radio.present-radio.selected .mam-status-dot:after{background:#087cf5}.mam-attendance-radio.absent-radio.selected .mam-status-dot{border-color:#dc2626}.mam-attendance-radio.absent-radio.selected .mam-status-dot:after{background:#dc2626}.mam-attendance-table .remarks-col input{width:100%;height:34px;border:1px solid #d3dfe9;border-radius:6px;background:#fff;padding:0 10px;color:#263b59;box-shadow:none}.mam-attendance-table .remarks-col input:focus{border-color:#087cf5;box-shadow:0 0 0 2px rgba(8,124,245,.08);outline:none}.mam-attendance-actions{padding:12px 16px}.mam-attendance-reset,.mam-attendance-cancel{height:42px;padding:0 16px}.mam-attendance-save{height:42px;padding:0 20px}@media(max-width:900px){.mam-attendance-stats{grid-template-columns:1fr}.mam-attendance-filter form{grid-template-columns:1fr 1fr}.mam-attendance-load{grid-column:1/-1;justify-self:end}.mam-attendance-table{min-width:900px}}@media(max-width:700px){.mam-attendance-filter form{grid-template-columns:1fr}.mam-attendance-load{grid-column:auto;width:100%}.mam-attendance-stats{gap:10px}.mam-attendance-stat{min-height:76px}.mam-attendance-stat-icon{width:46px;height:46px;flex-basis:46px}.mam-attendance-stat-icon .dashicons{font-size:27px;width:27px;height:27px}}.mam-attendance-global-stats{margin-bottom:14px}.mam-attendance-class-stats{margin:0 0 10px}.mam-attendance-date-wrap{position:relative;display:flex;align-items:center}.mam-attendance-date-wrap input{width:100%;padding-right:38px!important}.mam-attendance-date-wrap .dashicons{position:absolute;right:12px;color:#58708d;pointer-events:none}.mam-attendance-filter form{align-items:end}.mam-attendance-filter label{min-width:0}.mam-attendance-filter label .mam-attendance-date-wrap{margin-top:6px}.mam-attendance-filter label select{margin-top:6px}.mam-attendance-summary{margin-bottom:10px}.mam-attendance-export{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 15px;border-radius:7px;background:#087cf5;color:#fff!important;text-decoration:none!important;font-weight:700;border:1px solid #087cf5;box-shadow:none}.mam-attendance-export:hover{background:#066dd8;color:#fff!important}.mam-attendance-export .dashicons{font-size:18px;width:18px;height:18px}.mam-attendance-stat.present{background:#eaf8ee!important;border-color:#c9ead4!important}.mam-attendance-stat.present .mam-attendance-stat-icon{background:#f4fcf6;color:#16a34a}.mam-attendance-date-wrap{overflow:hidden}.mam-attendance-date-wrap #mam-attendance-date-picker{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2;padding:0;border:0;margin:0}.mam-attendance-date-wrap #mam-attendance-date-display{position:relative;z-index:1;cursor:pointer}@media(max-width:700px){.mam-attendance-page-head{flex-wrap:wrap}.mam-attendance-export{width:100%;justify-content:center}}.mam-attendance-lock-note{margin:0 0 15px;padding:11px 13px;border:1px solid #cfe0ef;border-left:4px solid #087cf5;border-radius:8px;background:#f5f9fd;color:#35506f;font-size:13px;line-height:1.55}.mam-attendance-lock-note strong{color:#17365d}.mam-portal-card .mam-portal-button:disabled{opacity:.6;cursor:not-allowed}.mam-exam-setup-form{margin-top:12px}.mam-exam-class-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.mam-exam-class-options .mam-subject-option{margin:0}.mam-schedule-toolbar{display:flex;align-items:flex-end;justify-content:flex-end}.mam-schedule-filter .grid{align-items:end}.mam-schedule-filter .grid label{margin-bottom:0}.mam-exam-list table th,.mam-exam-list table td{vertical-align:middle}.mam-schedule-filter{margin-bottom:16px}@media(max-width:900px){.mam-exam-class-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mam-exam-class-options{grid-template-columns:1fr}.mam-schedule-toolbar{justify-content:flex-start}}.mam-academic-ref-head{margin:0 0 16px;padding:0 4px}.mam-academic-ref-title{display:flex;align-items:center;gap:14px}.mam-academic-ref-title h2{margin:0;font-size:30px;line-height:1.1;color:#0d1b4c}.mam-academic-ref-title p{margin:4px 0 0;color:#5b6b88;font-size:16px}.mam-academic-page-icon{width:52px;height:52px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#e8f1ff;color:#0b63f6;font-size:30px;font-weight:800}.mam-academic-ref-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.mam-academic-ref-card,.mam-academic-ref-exams{padding:16px!important;border:1px solid #e3eaf3;border-radius:10px;background:#fff;box-shadow:0 2px 10px rgba(24,54,93,.04)}.mam-academic-ref-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.mam-academic-ref-card-head>div:first-child{display:flex;align-items:center;gap:12px}.mam-academic-ref-card-head h3{margin:0;color:#07154c;font-size:23px}.mam-academic-ref-card-head p{margin:2px 0 0;color:#66758e;font-size:14px}.mam-academic-ref-icon{width:42px;height:42px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-size:25px;font-weight:800}.mam-academic-ref-icon.blue{background:#e8f1ff;color:#0866f5}.mam-academic-ref-icon.green{background:#e5f7ec;color:#0a9847}.mam-academic-ref-icon.amber{background:#fff1d9;color:#f0a014}.mam-ref-btn{border:0;border-radius:6px;padding:10px 16px;font-size:14px;font-weight:700;color:#fff;text-decoration:none;cursor:pointer;white-space:nowrap}.mam-ref-btn.blue{background:#0967ef}.mam-ref-btn.green{background:#159447}.mam-ref-btn.amber{background:#f5a318}.mam-ref-stats{display:grid;gap:8px;margin-bottom:10px}.mam-ref-stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.mam-ref-stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.mam-ref-stat{display:flex;align-items:center;gap:9px;min-height:58px;padding:9px 11px;border-radius:8px}.mam-ref-stat>span{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;background:rgba(255,255,255,.75)}.mam-ref-stat>div{font-size:12px;color:#12204f;line-height:1.2}.mam-ref-stat strong{display:block;font-size:22px;line-height:1.1;margin-top:3px;color:#07154c}.mam-ref-stat.blue{background:#eaf3ff}.mam-ref-stat.green{background:#e4f8ec}.mam-ref-stat.amber{background:#fff2dc}.mam-ref-stat.red{background:#fde7e9}.mam-ref-stat.blue>span{color:#0866f5}.mam-ref-stat.green>span{color:#0a9847}.mam-ref-stat.amber>span{color:#f0a014}.mam-ref-stat.red>span{color:#e62a39}.mam-ref-table-wrap{overflow:auto}.mam-ref-table-wrap .mam-table{margin-top:0!important;overflow:visible!important}.mam-ref-table-wrap .mam-table table{min-width:0!important;width:100%!important;table-layout:auto!important}.mam-ref-table-wrap .mam-table th,.mam-ref-table-wrap .mam-table td{padding:8px 9px!important;font-size:12px!important;white-space:nowrap!important}.mam-ref-table-wrap .mam-table th{background:#edf5fb!important;color:#0b164b!important}.mam-ref-table-wrap .mam-table tr:nth-child(even) td{background:#fbfdff}.mam-ref-action{display:inline-block;padding:5px 9px;border-radius:5px;text-decoration:none!important;font-size:11px;font-weight:700;margin:1px}.mam-ref-action.edit{background:#0a68ee;color:#fff!important}.mam-ref-action.delete{background:#f23a43;color:#fff!important}.mam-ref-status{display:inline-block;padding:5px 10px;border-radius:5px;font-size:11px;font-weight:700}.mam-ref-status.active{background:#dff6e8;color:#0b7d3a}.mam-ref-status.inactive{background:#eef1f4;color:#657287}.mam-ref-viewall{display:inline-block;margin-top:9px;color:#0866f5!important;text-decoration:none;font-size:13px;font-weight:700}.mam-academic-ref-exams{margin-top:16px}.mam-academic-inline-edit{margin-top:16px}.mam-exam-modal{display:none!important;position:fixed;inset:0;z-index:99999}.mam-exam-modal.is-open{display:block!important}.mam-exam-modal-backdrop{position:absolute;inset:0;background:rgba(10,24,48,.58)}.mam-exam-modal-dialog{position:relative;width:min(680px,calc(100vw - 30px));max-height:calc(100vh - 34px);margin:17px auto;background:#fff;border-radius:9px;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}.mam-exam-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #e5eaf0}.mam-exam-modal-head>div:first-child{display:flex;align-items:center;gap:12px}.mam-exam-modal-head h3{margin:0;color:#0b174c;font-size:22px}.mam-exam-modal-head p{margin:2px 0 0;color:#687791;font-size:13px}.mam-exam-modal-close{border:0;background:transparent;font-size:30px;color:#52637f;cursor:pointer;line-height:1}.mam-exam-modal-body{padding:18px 26px 22px}.mam-exam-modal-body label{display:block;color:#09154c;font-weight:600;font-size:13px;margin-bottom:13px}.mam-exam-modal-body label>span,.mam-exam-choice-title>span{color:#e22936}.mam-exam-modal-grid{display:grid;grid-template-columns:1.25fr .65fr;gap:18px}.mam-exam-modal-body input[type=text],.mam-exam-modal-body input[type=number],.mam-exam-modal-body select,.mam-exam-modal-body textarea{width:100%;margin-top:7px;border:1px solid #d4dce6;border-radius:6px;background:#fff;padding:10px 12px;box-sizing:border-box;color:#1a2a4d;font-size:13px}.mam-exam-modal-body textarea{resize:vertical;min-height:78px}.mam-char-count{display:block;text-align:right;color:#78869a;font-size:11px;margin-top:-9px;margin-bottom:10px}.mam-exam-class-choice{display:flex;align-items:center;gap:20px;margin:7px 0 10px}.mam-exam-choice-title{font-weight:700;font-size:13px;margin-right:8px}.mam-exam-radio{display:inline-flex!important;align-items:center;gap:7px!important;margin:0!important;font-weight:500!important}.mam-exam-radio input{accent-color:#0867ef}.mam-exam-class-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:11px 13px;background:#f4f7fb;border-radius:7px;margin-bottom:17px}.mam-exam-class-check{display:flex!important;align-items:center;gap:6px!important;margin:0!important;font-weight:500!important;color:#586780!important}.mam-exam-class-check input{accent-color:#0867ef}.mam-exam-class-check input:disabled+span{opacity:.7}.mam-exam-status-label{max-width:310px}.mam-exam-modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e5eaf0;margin:16px -26px -22px;padding:14px 26px}.mam-exam-modal-actions .button{min-height:38px}.mam-exam-modal-actions .button-primary{background:#0967ef!important;border-color:#0967ef!important;color:#fff!important}@media(max-width:1000px){.mam-ref-stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-exam-class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.mam-academic-ref-grid{grid-template-columns:1fr}.mam-exam-modal-grid{grid-template-columns:1fr}.mam-exam-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-exam-class-choice{flex-wrap:wrap;gap:10px}.mam-academic-ref-title h2{font-size:25px}}@media(max-width:520px){.mam-ref-stats.three,.mam-ref-stats.four{grid-template-columns:1fr}.mam-exam-class-grid{grid-template-columns:1fr}.mam-exam-modal-body{padding:16px}.mam-exam-modal-actions{margin:16px -16px -16px;padding:12px 16px}.mam-ref-btn{padding:9px 11px;font-size:12px}.mam-academic-ref-card-head h3{font-size:20px}}.mam-exam-page-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:20px!important;margin:0 0 12px!important}.mam-exam-title-wrap{display:flex!important;align-items:center!important;gap:14px!important}.mam-exam-page-icon{width:58px!important;height:58px!important;border-radius:9px!important;background:#eaf3ff!important;color:#087cf5!important;display:flex!important;align-items:center!important;justify-content:center!important}.mam-exam-page-icon .dashicons{font-size:36px!important;width:36px!important;height:36px!important}.mam-exam-title-wrap h2{margin:0!important;color:#07154c!important;font-size:30px!important;line-height:1.1!important}.mam-exam-title-wrap p{margin:3px 0 0!important;color:#526b89!important;font-size:14px!important}.mam-exam-breadcrumb{display:flex!important;align-items:center!important;gap:10px!important;color:#71839c!important;font-size:13px!important;padding-top:7px!important}.mam-exam-breadcrumb a{color:#526b89!important;text-decoration:none!important}.mam-exam-breadcrumb strong{color:#07154c!important}.mam-exam-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-bottom:12px!important}.mam-exam-summary-card{display:flex!important;align-items:center!important;gap:13px!important;min-height:82px!important;padding:12px 18px!important;border-radius:9px!important;box-sizing:border-box!important}.mam-exam-summary-card>span{width:46px!important;height:46px!important;border-radius:50%!important;background:rgba(255,255,255,.72)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:27px!important}.mam-exam-summary-card small{display:block!important;color:#12204f!important;font-size:12px!important;margin-bottom:3px!important}.mam-exam-summary-card strong{display:block!important;color:#07154c!important;font-size:26px!important;line-height:1!important}.mam-exam-summary-card.blue{background:#e7f2ff!important}.mam-exam-summary-card.blue>span{color:#087cf5!important}.mam-exam-summary-card.green{background:#dff7e9!important}.mam-exam-summary-card.green>span{color:#079447!important}.mam-exam-summary-card.amber{background:#fff0d9!important}.mam-exam-summary-card.amber>span{color:#f3a21a!important}.mam-exam-summary-card.red{background:#fde2e5!important}.mam-exam-summary-card.red>span{color:#e82c3a!important}.mam-exam-tabs{display:flex!important;gap:0!important;border-bottom:1px solid #dbe7f2!important;margin-bottom:10px!important}.mam-exam-tabs a{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:260px!important;padding:12px 18px!important;border-radius:7px 7px 0 0!important;background:#fff!important;color:#12204f!important;text-decoration:none!important;font-weight:700!important;border:1px solid #dbe7f2!important;border-bottom:0!important}.mam-exam-tabs a.active{background:#087cf5!important;color:#fff!important;border-color:#087cf5!important}.mam-exam-tabs a .dashicons{font-size:22px!important;width:22px!important;height:22px!important}.mam-exam-section{background:#fff!important;border:1px solid #e0e8f1!important;border-radius:9px!important;padding:14px!important;box-shadow:0 2px 7px rgba(17,50,85,.03)!important;margin-bottom:12px!important}.mam-exam-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:11px!important}.mam-exam-section-head>div:first-child{display:flex!important;align-items:center!important;gap:12px!important}.mam-exam-section-icon{width:48px!important;height:48px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important}.mam-exam-section-icon.blue{background:#eaf3ff!important;color:#087cf5!important}.mam-exam-section-icon.purple{background:#f0e7ff!important;color:#7c3aed!important}.mam-exam-section-icon .dashicons{font-size:29px!important;width:29px!important;height:29px!important}.mam-exam-section-head h3{margin:0!important;color:#07154c!important;font-size:20px!important;line-height:1.1!important}.mam-exam-section-head p{margin:3px 0 0!important;color:#526b89!important;font-size:12px!important}.mam-exam-primary-btn,.mam-exam-green-btn,.mam-exam-blue-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:0!important;border-radius:6px!important;min-height:40px!important;padding:0 15px!important;text-decoration:none!important;cursor:pointer!important;font-size:13px!important;font-weight:700!important;box-sizing:border-box!important}.mam-exam-primary-btn{background:#087cf5!important;color:#fff!important}.mam-exam-green-btn{background:#159447!important;color:#fff!important}.mam-exam-blue-btn{background:#087cf5!important;color:#fff!important}.mam-exam-outline-btn,.mam-exam-reset-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:40px!important;padding:0 14px!important;border-radius:6px!important;text-decoration:none!important;font-size:13px!important;font-weight:700!important;box-sizing:border-box!important;cursor:pointer!important}.mam-exam-outline-btn{background:#fff!important;border:1px solid #cbd8e5!important;color:#12204f!important}.mam-exam-reset-btn{background:#fff!important;border:1px solid #cbd8e5!important;color:#12204f!important}.mam-exam-search-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:40px!important;padding:0 17px!important;border:0!important;border-radius:6px!important;background:#087cf5!important;color:#fff!important;font-weight:700!important;cursor:pointer!important}.mam-exam-filter{display:grid!important;grid-template-columns:1.25fr .8fr .8fr .62fr auto auto!important;align-items:end!important;gap:9px!important;background:#fff!important}.mam-exam-filter label{display:block!important;color:#07154c!important;font-size:12px!important;font-weight:700!important;margin:0!important}.mam-exam-filter select{display:block!important;width:100%!important;height:40px!important;margin-top:5px!important;padding:7px 30px 7px 11px!important;border:1px solid #d2dce7!important;border-radius:6px!important;background:#fff!important;color:#1d2e50!important;box-shadow:none!important;font-size:13px!important}.mam-exam-table-wrap,.mam-admit-table-wrap{overflow:auto!important;border:1px solid #dbe7f2!important;border-radius:6px!important}.mam-exam-table,.mam-admit-table{width:100%!important;border-collapse:collapse!important;min-width:1120px!important}.mam-exam-table th,.mam-admit-table th{background:#edf5fc!important;color:#07154c!important;padding:9px 10px!important;border-bottom:1px solid #dbe7f2!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important;text-align:left!important}.mam-exam-table td,.mam-admit-table td{padding:8px 10px!important;border-bottom:1px solid #e6edf4!important;color:#13264a!important;font-size:11px!important;white-space:nowrap!important;vertical-align:middle!important}.mam-exam-table tbody tr:nth-child(even) td,.mam-admit-table tbody tr:nth-child(even) td{background:#fbfdff!important}.mam-exam-status{display:inline-flex!important;padding:5px 10px!important;border-radius:5px!important;font-size:10px!important;font-weight:700!important}.mam-exam-status.upcoming{background:#e5f1ff!important;color:#087cf5!important}.mam-exam-status.completed{background:#e9edf3!important;color:#526b89!important}.mam-exam-actions{display:flex!important;gap:5px!important}.mam-exam-edit-btn,.mam-exam-delete-btn,.mam-admit-view-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:6px 10px!important;border-radius:5px!important;text-decoration:none!important;font-size:10px!important;font-weight:700!important}.mam-exam-edit-btn{background:#087cf5!important;color:#fff!important}.mam-exam-delete-btn{background:#ef3340!important;color:#fff!important}.mam-admit-view-btn{background:#087cf5!important;color:#fff!important}.mam-exam-empty{padding:30px!important;text-align:center!important;color:#7b8da3!important}.mam-exam-table-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:9px 4px 1px!important;color:#526b89!important;font-size:11px!important}.mam-exam-pagination{display:flex!important;align-items:center!important;gap:3px!important}.mam-exam-pagination select,.mam-exam-pagination button{height:31px!important;min-width:31px!important;border:1px solid #d5dfeb!important;background:#fff!important;color:#526b89!important;border-radius:5px!important}.mam-exam-pagination button.active{background:#087cf5!important;border-color:#087cf5!important;color:#fff!important}.mam-exam-pagination button:disabled{opacity:.5!important}.mam-exam-modal{display:block!important;position:fixed!important;inset:0!important;z-index:999999!important}.mam-exam-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(10,24,48,.58)!important}.mam-exam-modal-dialog{position:relative!important;width:min(700px,calc(100vw - 30px))!important;max-height:calc(100vh - 30px)!important;margin:15px auto!important;background:#fff!important;border-radius:9px!important;overflow:auto!important;box-shadow:0 20px 60px rgba(0,0,0,.25)!important}.mam-schedule-modal-dialog{width:min(700px,calc(100vw - 30px))!important}.mam-exam-modal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:17px 22px!important;border-bottom:1px solid #e4ebf2!important}.mam-exam-modal-head>div:first-child{display:flex!important;align-items:center!important;gap:12px!important}.mam-exam-modal-icon{width:42px!important;height:42px!important;border-radius:7px!important;display:flex!important;align-items:center!important;justify-content:center!important}.mam-exam-modal-icon.blue{background:#eaf3ff!important;color:#087cf5!important}.mam-exam-modal-icon .dashicons{font-size:27px!important;width:27px!important;height:27px!important}.mam-exam-modal-head h3{margin:0!important;color:#07154c!important;font-size:22px!important}.mam-exam-modal-head p{margin:2px 0 0!important;color:#687791!important;font-size:12px!important}.mam-exam-modal-close{border:0!important;background:transparent!important;font-size:30px!important;color:#52637f!important;text-decoration:none!important;line-height:1!important;cursor:pointer!important}.mam-exam-modal-body{padding:16px 25px 22px!important}.mam-exam-modal-body label{display:block!important;color:#07154c!important;font-size:12px!important;font-weight:700!important;margin:0 0 13px!important}.mam-exam-modal-body label>span{color:#e22936!important}.mam-exam-modal-body label small{font-weight:600!important;color:#687791!important}.mam-exam-modal-body select,.mam-exam-modal-body input[type=text],.mam-exam-modal-body input[type=number],.mam-exam-modal-body input[type=time],.mam-exam-modal-body textarea{width:100%!important;box-sizing:border-box!important;margin-top:6px!important;height:40px!important;border:1px solid #d3dde8!important;border-radius:6px!important;background:#fff!important;color:#1d2e50!important;padding:8px 11px!important;font-size:13px!important;box-shadow:none!important}.mam-exam-modal-body textarea{height:auto!important;min-height:84px!important;resize:vertical!important}.mam-schedule-form-grid{display:grid!important;gap:16px!important}.mam-schedule-form-grid.two{grid-template-columns:1.25fr .85fr!important}.mam-schedule-form-grid.three{grid-template-columns:1fr 1fr 1fr!important}.mam-date-field,.mam-time-field{position:relative!important}.mam-date-field .dashicons,.mam-time-field .dashicons{position:absolute!important;right:11px!important;top:50%!important;transform:translateY(-50%)!important;color:#58718d!important;cursor:pointer!important;z-index:4!important}.mam-date-field input,.mam-time-field input{padding-right:38px!important}.mam-hidden-native-date{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:-9999px!important}.mam-schedule-char-count{display:block!important;text-align:right!important;color:#7b8da3!important;font-size:10px!important;margin-top:-10px!important;margin-bottom:8px!important}.mam-exam-modal-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;border-top:1px solid #e4ebf2!important;margin:15px -25px -22px!important;padding:13px 25px!important}.mam-exam-modal-actions .button{min-height:38px!important}.mam-exam-modal-actions .button-primary{background:#087cf5!important;border-color:#087cf5!important;color:#fff!important}.ui-datepicker{z-index:1000001!important;font-family:Nunito,Inter,Arial,sans-serif!important;border:1px solid #d6e0ea!important;box-shadow:0 12px 28px rgba(15,23,42,.18)!important}.ui-datepicker .ui-datepicker-header{background:#087cf5!important;color:#fff!important;border:0!important}.ui-datepicker td a.ui-state-active{background:#087cf5!important;color:#fff!important;border-radius:4px!important}.mam-admit-layout{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(360px,.8fr)!important;gap:12px!important;align-items:start!important}.mam-admit-main .mam-exam-section{margin-bottom:0!important}.mam-admit-filter{grid-template-columns:1.25fr .8fr .8fr auto!important;margin-bottom:11px!important}.mam-admit-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:0 0 10px!important}.mam-admit-stat{display:flex!important;align-items:center!important;gap:9px!important;padding:10px!important;border-radius:7px!important;min-height:55px!important}.mam-admit-stat>span{width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.78)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:19px!important}.mam-admit-stat small{display:block!important;color:#12204f!important;font-size:10px!important}.mam-admit-stat strong{display:block!important;color:#07154c!important;font-size:20px!important;line-height:1.05!important;margin-top:2px!important}.mam-admit-stat.purple{background:#f0e7ff!important}.mam-admit-stat.purple>span{color:#7c3aed!important}.mam-admit-stat.green{background:#dff7e9!important}.mam-admit-stat.green>span{color:#079447!important}.mam-admit-stat.amber{background:#fff0d9!important}.mam-admit-stat.amber>span{color:#f3a21a!important}.mam-admit-stat.red{background:#fde2e5!important}.mam-admit-stat.red>span{color:#e82c3a!important}.mam-admit-status{display:inline-flex!important;padding:5px 10px!important;border-radius:5px!important;font-size:10px!important;font-weight:700!important}.mam-admit-status.generated{background:#dcf7e6!important;color:#08783a!important}.mam-admit-status.pending{background:#fff1c9!important;color:#9b6800!important}.mam-admit-table{min-width:760px!important}.mam-admit-table th:first-child,.mam-admit-table td:first-child{width:34px!important;text-align:center!important}.mam-admit-bottom-actions{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;margin-top:10px!important}.mam-admit-bottom-actions>label{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#12204f!important;font-size:12px!important;font-weight:700!important;margin-right:auto!important}.mam-admit-preview-card{background:#fff!important;border:1px solid #e0e8f1!important;border-radius:9px!important;padding:12px!important;box-shadow:0 2px 7px rgba(17,50,85,.03)!important;position:sticky!important;top:84px!important}.mam-admit-preview-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:9px!important}.mam-admit-preview-head>div{display:flex!important;align-items:center!important;gap:9px!important}.mam-exam-preview-icon{width:38px!important;height:38px!important;border-radius:6px!important;background:#eaf3ff!important;color:#087cf5!important;display:flex!important;align-items:center!important;justify-content:center!important}.mam-exam-preview-icon .dashicons{font-size:22px!important;width:22px!important;height:22px!important}.mam-admit-preview-head h3{margin:0!important;color:#07154c!important;font-size:18px!important}.mam-admit-preview{max-height:680px!important;overflow:auto!important;background:#f7fafc!important;border:1px solid #dbe5ef!important;padding:10px!important}.mam-preview-sheet{background:#fff!important;border:1px solid #222!important;padding:10px!important;box-sizing:border-box!important;font-family:Arial,sans-serif!important;color:#111!important}.mam-preview-school{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important;border-bottom:1px solid #222!important;padding-bottom:6px!important}.mam-preview-school img{width:45px!important;height:45px!important;object-fit:contain!important}.mam-preview-school strong{display:block!important;font-size:13px!important}.mam-preview-school span,.mam-preview-school small{display:block!important;font-size:8px!important}.mam-preview-title{text-align:center!important;font-weight:800!important;font-size:11px!important;margin:7px 0!important}.mam-preview-title>div{font-size:12px!important}.mam-preview-title small{font-size:10px!important}.mam-preview-student{display:grid!important;grid-template-columns:1fr 60px!important;gap:7px!important;margin:8px 0!important}.mam-preview-student p{margin:3px 0!important;display:flex!important;font-size:8px!important}.mam-preview-student b{width:70px!important}.mam-preview-student img{width:58px!important;height:70px!important;object-fit:cover!important;border:1px solid #222!important}.mam-preview-sheet table{width:100%!important;border-collapse:collapse!important}.mam-preview-sheet th,.mam-preview-sheet td{border:1px solid #222!important;padding:4px!important;font-size:7px!important}.mam-preview-sheet th{background:#f0f0f0!important}.mam-preview-foot{display:flex!important;justify-content:space-between!important;gap:8px!important;margin-top:8px!important;font-size:7px!important}.mam-preview-foot ul{padding-left:13px!important;margin:3px 0 0!important}.mam-preview-sign{align-self:flex-end!important;font-weight:700!important}.mam-admit-preview.compact .mam-preview-school strong{font-size:11px!important}.mam-admit-preview.compact .mam-preview-sheet{padding:6px!important}.mam-admit-empty-preview,.mam-admit-empty-state{text-align:center!important;padding:45px 20px!important;color:#71839c!important;font-size:12px!important}.mam-admit-empty-state{background:#fff!important;border:1px solid #e0e8f1!important;border-radius:9px!important;margin-top:10px!important}@media(max-width:1200px){.mam-exam-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-exam-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mam-admit-layout{grid-template-columns:1fr!important}.mam-admit-preview-card{position:relative!important;top:auto!important}.mam-admit-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:760px){.mam-exam-page-head{display:block!important}.mam-exam-breadcrumb{margin-top:8px!important}.mam-exam-title-wrap h2{font-size:26px!important}.mam-exam-tabs a{min-width:0!important;flex:1!important}.mam-exam-filter,.mam-admit-filter{grid-template-columns:1fr!important}.mam-exam-section-head{align-items:flex-start!important;flex-direction:column!important}.mam-schedule-form-grid.two,.mam-schedule-form-grid.three{grid-template-columns:1fr!important}.mam-exam-modal-dialog{width:calc(100vw - 16px)!important;margin:8px auto!important}.mam-exam-modal-body{padding:15px!important}.mam-exam-modal-actions{margin:15px -15px -15px!important;padding:12px 15px!important}.mam-admit-bottom-actions>label{width:100%!important;margin-right:0!important}.mam-exam-summary{grid-template-columns:1fr!important}.mam-admit-stats{grid-template-columns:1fr 1fr!important}}@media(max-width:520px){.mam-exam-title-wrap{gap:10px!important}.mam-exam-page-icon{width:48px!important;height:48px!important}.mam-exam-page-icon .dashicons{font-size:29px!important}.mam-exam-tabs a{font-size:12px!important;padding:10px 8px!important}.mam-exam-section{padding:10px!important}.mam-exam-summary-card{min-height:70px!important}.mam-admit-stats{grid-template-columns:1fr!important}.mam-exam-modal-head{padding:14px 15px!important}.mam-exam-modal-head h3{font-size:19px!important}.mam-exam-modal-head p{font-size:11px!important}}.mam-results-hero{margin:0 0 14px;padding:0;background:transparent}.mam-results-hero-title{display:flex;align-items:center;gap:14px}.mam-results-hero-title>.dashicons{font-size:46px;width:46px;height:46px;color:#6d28d9}.mam-results-hero-title h2{margin:0;color:#0f2a73;font-size:29px;line-height:1.1}.mam-results-hero-title p{margin:4px 0 0;color:#526b89;font-size:14px}.mam-results-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:10px 0 12px}.mam-results-summary-card{min-height:74px;border-radius:8px;display:flex;align-items:center;gap:14px;padding:12px 18px;border:1px solid #e1eaf4}.mam-results-summary-card.blue{background:#eaf4ff}.mam-results-summary-card.green{background:#eafaf1}.mam-results-summary-card.amber{background:#fff7df}.mam-results-summary-card.red{background:#ffecef}.mam-results-summary-card>.dashicons{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-size:24px;background:#fff}.mam-results-summary-card.blue>.dashicons{color:#1477e8}.mam-results-summary-card.green>.dashicons{color:#159947}.mam-results-summary-card.amber>.dashicons{color:#f59e0b}.mam-results-summary-card.red>.dashicons{color:#ef3340}.mam-results-summary-card small{display:block;color:#132b72;font-size:12px}.mam-results-summary-card strong{display:block;color:#0c2480;font-size:24px;line-height:1.05;margin-top:2px}.mam-results-step-tabs{display:flex;border-bottom:1px solid #d9e2ed;margin-bottom:12px}.mam-results-step-tabs a{min-width:260px;padding:13px 18px;text-align:center;text-decoration:none;background:#fff;color:#0f2a73;border:1px solid #d9e2ed;border-bottom:0;font-weight:600;display:flex;justify-content:center;align-items:center;gap:8px}.mam-results-step-tabs a:first-child{border-radius:7px 0 0 0}.mam-results-step-tabs a:last-child{border-radius:0 7px 0 0}.mam-results-step-tabs a.active{background:#087cf5;color:#fff;border-color:#087cf5}.mam-results-section{background:#fff;border:1px solid #dbe7f2;border-radius:9px;box-shadow:0 4px 15px rgba(28,61,105,.06);overflow:hidden}.mam-results-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid #e2eaf3}.mam-results-section-head>div:first-child{display:flex;align-items:center;gap:12px}.mam-results-section-head h3{margin:0;color:#10266e;font-size:20px}.mam-results-section-head p{margin:3px 0 0;color:#60728c;font-size:12px}.mam-results-section-icon{width:42px;height:42px;border-radius:8px;display:grid;place-items:center;background:#f0e7ff;color:#7c3aed}.mam-results-section-icon.green{background:#e4f8ec;color:#159947}.mam-results-section-icon .dashicons{font-size:24px}.mam-results-marks-info{padding:9px 14px;background:#eaf4ff;border-radius:7px;color:#0f2a73;font-size:13px}.mam-results-marks-info i{font-style:normal;margin:0 10px;color:#7890aa}.mam-results-filter-form{display:grid;grid-template-columns:1.25fr 1fr 1.15fr .55fr auto;gap:10px;align-items:end;padding:13px 12px 12px}.mam-results-filter-form label{display:block;color:#0f2a73;font-size:12px;font-weight:600}.mam-results-filter-form label>span{color:#ef3340}.mam-results-filter-form select{display:block;width:100%;margin-top:6px;min-height:38px;border:1px solid #cbd8e6;border-radius:6px;background:#fff;padding:0 10px;color:#17365d}.mam-results-search{height:38px;border:0;border-radius:6px;background:#087cf5;color:#fff;padding:0 18px;font-weight:600;cursor:pointer}.mam-results-search:hover{background:#066edb}.mam-results-mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 12px 12px}.mam-results-mini-stats>div{min-height:58px;border-radius:7px;display:flex;align-items:center;gap:11px;padding:9px 13px;border:1px solid #e2eaf3}.mam-results-mini-stats .purple{background:#f4ecff}.mam-results-mini-stats .green{background:#e8faf0}.mam-results-mini-stats .amber{background:#fff6df}.mam-results-mini-stats .blue{background:#eaf4ff}.mam-results-mini-stats .red{background:#ffecef}.mam-results-mini-stats .dashicons{font-size:24px;width:28px;height:28px}.mam-results-mini-stats .purple .dashicons{color:#7c3aed}.mam-results-mini-stats .green .dashicons{color:#159947}.mam-results-mini-stats .amber .dashicons{color:#f59e0b}.mam-results-mini-stats .blue .dashicons{color:#1477e8}.mam-results-mini-stats .red .dashicons{color:#ef3340}.mam-results-mini-stats small{display:block;color:#566a84;font-size:11px}.mam-results-mini-stats strong{display:block;color:#0f2a73;font-size:19px;line-height:1.05}.mam-results-table-wrap{overflow:auto;margin:0 12px;border:1px solid #dbe5ef;border-radius:5px}.mam-results-table{width:100%;border-collapse:collapse;min-width:980px;background:#fff}.mam-results-table th{background:#edf5fc;color:#0f2a73;font-size:11px;font-weight:700;padding:9px 7px;border-right:1px solid #dce6f0;border-bottom:1px solid #d5e0eb;white-space:nowrap;text-align:center}.mam-results-table td{padding:6px 7px;border-right:1px solid #e1e8f0;border-bottom:1px solid #e1e8f0;color:#142b52;font-size:11px;text-align:center}.mam-results-table td:nth-child(4){text-align:left}.mam-results-table tr:nth-child(even){background:#fbfdff}.mam-results-mark-input,.mam-results-remark-input{height:29px;border:1px solid #c7d5e3;border-radius:4px;padding:0 7px;background:#fff;box-sizing:border-box}.mam-results-mark-input{width:120px}.mam-results-remark-input{width:240px}.mam-results-mark-input:focus,.mam-results-remark-input:focus{border-color:#087cf5;box-shadow:0 0 0 2px rgba(8,124,245,.12);outline:none}.mam-results-status{display:inline-block;padding:4px 10px;border-radius:5px;font-size:10px;font-weight:700}.mam-results-status.entered,.mam-results-status.published{background:#dff7e8;color:#14803a}.mam-results-status.pending,.mam-results-status.not-published{background:#fff0c8;color:#b56b00}.mam-results-table-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;color:#64748b;font-size:11px}.mam-results-pagination{display:flex;gap:3px}.mam-results-pagination a{min-width:29px;height:29px;display:grid;place-items:center;text-decoration:none;border:1px solid #d3dfeb;border-radius:4px;color:#314765;background:#fff}.mam-results-pagination a.active{background:#087cf5;border-color:#087cf5;color:#fff}.mam-results-actions,.mam-results-publish-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-top:1px solid #e0e8f1}.mam-results-actions>div,.mam-results-publish-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mam-save-next{font-size:11px;color:#1e3a5f}.mam-results-clear,.mam-results-save,.mam-results-next,.mam-unpublish-btn,.mam-download-selected-btn,.mam-save-draft-btn,.mam-publish-results-btn,.mam-result-view-btn,.mam-result-marksheet-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;border-radius:5px;padding:0 13px;text-decoration:none;border:1px solid #cbd8e6;font-size:11px;font-weight:600;cursor:pointer;box-sizing:border-box}.mam-results-clear,.mam-save-draft-btn{background:#fff;color:#27425f}.mam-results-save,.mam-result-view-btn{background:#087cf5;border-color:#087cf5;color:#fff}.mam-results-next,.mam-publish-results-btn{background:#159947;border-color:#159947;color:#fff}.mam-unpublish-btn{background:#ff5b67;border-color:#ff5b67;color:#fff}.mam-download-selected-btn{background:#087cf5;border-color:#087cf5;color:#fff}.mam-result-marksheet-btn{background:#fff;color:#087cf5;border-color:#087cf5}.mam-result-marksheet-btn.disabled{opacity:.55;pointer-events:none}.mam-results-actions .dashicons,.mam-results-publish-toolbar .dashicons,.mam-result-view-btn .dashicons,.mam-result-marksheet-btn .dashicons{font-size:16px;width:16px;height:16px}.mam-results-warning{display:flex!important;align-items:center;gap:10px!important;background:#fff6df;border-radius:7px;padding:8px 12px;color:#8b5e00}.mam-results-warning>.dashicons{font-size:22px;color:#f59e0b}.mam-results-warning strong,.mam-results-warning small{display:block}.mam-results-warning strong{font-size:11px}.mam-results-warning small{font-size:10px;margin-top:2px}.mam-results-empty-panel{padding:45px 20px;text-align:center;color:#64748b}.mam-results-empty-panel h3{margin:0 0 5px;color:#17365d}.mam-results-empty{padding:30px!important;text-align:center!important;color:#64748b!important}@media(max-width:1050px){.mam-results-summary,.mam-results-mini-stats{grid-template-columns:repeat(2,1fr)}.mam-results-filter-form{grid-template-columns:repeat(2,1fr)}.mam-results-search{width:100%}.mam-results-section-head{align-items:flex-start;flex-direction:column}.mam-results-marks-info{width:100%;box-sizing:border-box}.mam-results-step-tabs a{min-width:0;flex:1}}@media(max-width:700px){.mam-results-summary,.mam-results-mini-stats{grid-template-columns:1fr}.mam-results-filter-form{grid-template-columns:1fr}.mam-results-step-tabs{overflow:auto}.mam-results-step-tabs a{min-width:190px}.mam-results-actions,.mam-results-publish-toolbar{align-items:flex-start;flex-direction:column}.mam-results-actions>div,.mam-results-publish-toolbar{width:100%}.mam-results-actions button,.mam-results-publish-toolbar button{width:100%;justify-content:center}}.mam-staff-modern-page{margin:0 0 20px;background:#eef6fc;padding:0;}.mam-staff-modern-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 14px;padding:4px 2px 0;}.mam-staff-page-title{display:flex;align-items:center;gap:15px}.mam-staff-page-title>.dashicons{font-size:48px;width:48px;height:48px;line-height:48px;color:#087cf5}.mam-staff-page-title h2{margin:0!important;color:#07164a!important;font-size:30px!important;line-height:1.1!important}.mam-staff-page-title p{margin:4px 0 0!important;color:#526684!important;font-size:16px!important}.mam-staff-head-actions{display:flex;gap:10px}.mam-staff-modern-page .mam-ui-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:0!important;border-radius:7px!important;min-height:48px!important;padding:0 18px!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important}.mam-staff-modern-page .mam-ui-btn.primary{background:#087cf5!important;color:#fff!important}.mam-staff-modern-page .mam-ui-btn.green{background:#159447!important;color:#fff!important}.mam-staff-modern-page .mam-ui-btn.reset{background:#fff!important;color:#122b63!important;border:1px solid #cbd7e3!important}.mam-staff-modern-page .mam-ui-btn.small{min-height:40px!important;padding:0 17px!important}.mam-staff-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.mam-staff-stat{min-height:82px;border-radius:6px;padding:16px 20px;display:flex;align-items:center;gap:18px;box-sizing:border-box}.mam-staff-stat>span{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:29px;background:rgba(255,255,255,.72)}.mam-staff-stat small{display:block;color:#0b2360;font-size:14px;margin-bottom:4px}.mam-staff-stat strong{display:block;color:#07164a;font-size:28px;line-height:1}.mam-staff-stat.total{background:#dff1ff}.mam-staff-stat.total>span{color:#087cf5}.mam-staff-stat.teaching{background:#ddf7e8}.mam-staff-stat.teaching>span{color:#0b9446}.mam-staff-stat.nonteaching{background:#fff1d7}.mam-staff-stat.nonteaching>span{color:#f2a400}.mam-staff-stat.inactive{background:#ffe1e4}.mam-staff-stat.inactive>span{color:#ef3340}.mam-staff-filter-card,.mam-staff-table-card{background:#fff;border:1px solid #e0e9f1;border-radius:8px;box-shadow:0 3px 14px rgba(29,65,95,.045);margin-bottom:14px}.mam-staff-filter-card{padding:13px}.mam-staff-filter-card form{display:grid;grid-template-columns:minmax(250px,1.55fr) repeat(3,minmax(150px,1fr)) auto auto;gap:9px;align-items:center}.mam-staff-filter-search{height:44px;border:1px solid #cdd9e4;border-radius:6px;display:flex;align-items:center;padding:0 12px;background:#fff}.mam-staff-filter-search .dashicons{color:#0b2b70;margin-right:8px}.mam-staff-filter-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;height:40px!important;padding:0!important}.mam-staff-filter-card select{height:44px!important;min-height:44px!important;border:1px solid #cdd9e4!important;border-radius:6px!important;background:#fff!important;color:#0b2360!important;padding:0 11px!important}.mam-staff-filter-card .mam-ui-btn{min-height:44px!important}.mam-staff-table-card{overflow:hidden}.mam-staff-table-scroll{overflow-x:auto}.mam-staff-modern-table{width:100%;min-width:1180px;border-collapse:collapse;margin:0!important}.mam-staff-modern-table thead th{background:#eaf4fb!important;color:#08164a!important;font-size:12px!important;font-weight:700!important;padding:11px 9px!important;border-bottom:1px solid #d8e3ec!important;white-space:nowrap;text-align:left}.mam-staff-modern-table tbody td{padding:9px!important;border-bottom:1px solid #e3ebf2!important;color:#102b5d!important;font-size:12px!important;vertical-align:middle!important;background:#fff}.mam-staff-modern-table tbody tr:hover td{background:#f7fbff!important}.mam-staff-modern-table th:first-child,.mam-staff-modern-table td:first-child{text-align:center;width:34px}.mam-staff-modern-table td:nth-child(2){width:34px;text-align:center}.mam-staff-category{display:inline-flex;padding:6px 10px;border-radius:5px;font-size:11px;font-weight:600;white-space:nowrap}.mam-staff-category.teaching{background:#e4f2ff;color:#0871d1}.mam-staff-category.nonteaching{background:#fff0d8;color:#ed8b00}.mam-staff-status{display:inline-flex;padding:6px 10px;border-radius:5px;font-size:11px;font-weight:600}.mam-staff-status.active{background:#dcf6e5;color:#098b42}.mam-staff-status.inactive{background:#ffe0e2;color:#d92d3a}.mam-staff-action-row{display:flex;align-items:center;gap:4px;white-space:nowrap}.mam-staff-action{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 9px;border-radius:5px;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:600;box-sizing:border-box}.mam-staff-action.view,.mam-staff-action.edit{background:#087cf5}.mam-staff-action.salary{background:#079447}.mam-staff-action.idcard{background:#6738d6}.mam-staff-action.login{background:#0795aa}.mam-staff-action.delete{background:#ef3434}.mam-staff-action:hover{filter:brightness(.94);color:#fff!important}.mam-staff-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;background:#fff}.mam-staff-bulk{display:flex;align-items:center;gap:9px}.mam-staff-bulk select{height:40px!important;min-height:40px!important;border:1px solid #cbd7e3!important;border-radius:6px!important;min-width:180px}.mam-staff-entry-info{display:flex;align-items:center;gap:10px;color:#122b63;font-size:13px}.mam-staff-entry-info select{height:38px!important;min-height:38px!important;border:1px solid #d4dee8!important;border-radius:5px!important}.mam-staff-pages{display:inline-flex;gap:0}.mam-staff-pages a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid #d7e1ea;border-right:0;background:#fff;color:#193d7a;text-decoration:none}.mam-staff-pages a:first-child{border-radius:5px 0 0 5px}.mam-staff-pages a:last-child{border-right:1px solid #d7e1ea;border-radius:0 5px 5px 0}.mam-staff-pages a.active{background:#087cf5;color:#fff;border-color:#087cf5}.mam-staff-modern-page input[type=checkbox]{accent-color:#087cf5}@media(max-width:1100px){.mam-staff-filter-card form{grid-template-columns:1fr 1fr}.mam-staff-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-modern-head{align-items:flex-start}.mam-staff-table-footer{align-items:flex-start;flex-direction:column}.mam-staff-entry-info{flex-wrap:wrap}}@media(max-width:650px){.mam-staff-stat-grid{grid-template-columns:1fr}.mam-staff-modern-head{flex-direction:column}.mam-staff-head-actions{width:100%}.mam-staff-head-actions .mam-ui-btn{flex:1}.mam-staff-filter-card form{grid-template-columns:1fr}.mam-staff-page-title h2{font-size:25px!important}.mam-staff-page-title p{font-size:13px!important}}.mam-staff-modal{position:fixed!important;inset:0!important;z-index:100100!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box}.mam-staff-modal-backdrop{position:absolute;inset:0;background:rgba(10,27,48,.62);backdrop-filter:blur(1px)}.mam-staff-modal-box{position:relative;width:min(930px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.28);z-index:1}.mam-login-detail-box{width:min(860px,calc(100vw - 48px))}.mam-salary-detail-box{width:min(1240px,calc(100vw - 48px))}.mam-staff-modal-head{height:94px;background:#087cf5;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;box-sizing:border-box}.mam-staff-modal-head>div{display:flex;align-items:center;gap:14px}.mam-staff-modal-head>.dashicons,.mam-staff-modal-head>div>.dashicons{font-size:42px;width:42px;height:42px;color:#fff}.mam-staff-modal-head h2{margin:0;color:#fff;font-size:24px;line-height:1.15;font-weight:700}.mam-staff-modal-head p{margin:5px 0 0;color:#e8f2ff;font-size:14px}.mam-staff-modal-close{border:0;background:transparent;color:#fff;font-size:38px;line-height:1;cursor:pointer;padding:0 2px}.mam-login-current{margin:18px 22px 0;background:#eaf5fc;border:1px solid #d9e8f3;border-radius:8px;padding:14px 18px}.mam-login-current-title{display:flex;align-items:center;gap:10px;color:#071b61;font-size:17px}.mam-login-current-title>.dashicons{font-size:22px;width:22px;height:22px}.mam-login-current-status{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:7px;font-weight:700}.mam-login-current-status.active{background:#d9f6e4;color:#0b8c46}.mam-login-current-status.inactive{background:#ffe1e4;color:#d92d3a}.mam-login-current-status i{width:11px;height:11px;border-radius:50%;background:currentColor;display:block}.mam-login-current-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:12px}.mam-login-current-grid label{display:block;color:#64748b;font-size:14px;margin-bottom:6px}.mam-login-copybox{height:48px;background:#dbeafb;border-radius:6px;display:flex;align-items:center;padding:0 12px 0 18px;color:#071b61}.mam-login-copybox strong{font-size:18px;flex:1}.mam-copy-btn{border:0;background:transparent;color:#1b45a0;cursor:pointer}.mam-staff-login-detail-form{padding-bottom:0}.mam-staff-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:18px 22px 8px}.mam-staff-login-grid label{display:block;color:#0d205c;font-weight:700;font-size:14px}.mam-staff-login-grid em,.mam-salary-fields em{color:#e21e2d;font-style:normal}.mam-staff-login-grid small{display:block;color:#64748b;font-size:11px;margin-top:5px}.mam-staff-input-valid{position:relative;margin-top:7px}.mam-staff-input-valid input{width:100%!important;height:46px!important;border:1px solid #cbd8e5!important;border-radius:7px!important;padding:0 42px 0 14px!important;box-sizing:border-box!important;font-size:15px!important}.mam-staff-input-valid>span{position:absolute;right:12px;top:13px;color:#159447}.mam-enable-login{display:grid;grid-template-columns:auto 56px auto;align-items:center;column-gap:10px}.mam-enable-login label{grid-column:1/-1}.mam-enable-login small{grid-column:1/-1;margin-left:66px}.mam-switch{position:relative;width:56px;height:30px;display:block!important;margin-top:0}.mam-switch input{opacity:0;width:0;height:0}.mam-switch span{position:absolute;inset:0;background:#d1d5db;border-radius:20px;cursor:pointer}.mam-switch span:before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s}.mam-switch input:checked+span{background:#087cf5}.mam-switch input:checked+span:before{transform:translateX(26px)}.mam-staff-password-row{display:grid;grid-template-columns:1fr 198px;gap:10px;margin-top:7px}.mam-staff-input-valid.password input{padding-right:45px!important}.mam-password-eye{position:absolute;right:0;top:0;height:46px;width:45px;border:0;background:transparent;color:#4b6381;cursor:pointer}.mam-generate-password{height:46px;border:0;border-radius:7px;background:#087cf5;color:#fff;font-weight:700;font-size:14px;cursor:pointer}.mam-send-login{margin:12px 22px 0;border:1px solid #d9e8f3;border-radius:8px;overflow:hidden}.mam-send-head{display:flex;align-items:center;gap:12px;background:#eaf5fc;padding:11px 16px;color:#071b61}.mam-send-head>.dashicons{font-size:28px;width:28px;height:28px;color:#087cf5}.mam-send-head strong{font-size:17px}.mam-send-head p{margin:3px 0 0;color:#64748b;font-size:12px}.mam-send-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:14px 18px}.mam-send-grid label>span{display:flex;align-items:center;gap:9px;color:#10265f;font-weight:600}.mam-send-grid input[type=checkbox]{width:18px;height:18px;accent-color:#087cf5}.mam-contact-box{display:flex;height:46px;border:1px solid #cbd8e5;border-radius:7px;overflow:hidden;margin-top:9px}.mam-contact-box>span{width:46px;display:flex;align-items:center;justify-content:center;background:#f5f8fb;color:#4b6381}.mam-contact-box input{border:0!important;box-shadow:none!important;flex:1;padding:0 10px!important}.mam-send-grid small{display:block;color:#64748b;text-align:center;font-size:11px;margin-top:4px}.mam-staff-modal-actions,.mam-staff-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #e5eaf0;margin-top:14px}.mam-modal-cancel,.mam-modal-save,.mam-print-salary{height:44px;border-radius:7px;padding:0 20px;border:1px solid #cbd7e3;background:#fff;color:#122b63;font-weight:700;cursor:pointer}.mam-modal-save{background:#087cf5;color:#fff;border-color:#087cf5}.mam-print-salary{background:#087cf5;color:#fff;border-color:#087cf5;display:inline-flex;align-items:center;gap:7px}.mam-salary-staff-info{margin:16px 20px 0;background:#eaf5fc;border:1px solid #d9e8f3;border-radius:8px;padding:10px 18px;display:grid;grid-template-columns:110px 1.1fr 1.1fr 1fr 1fr 1fr;align-items:center;gap:18px}.mam-salary-avatar{width:76px;height:76px;border-radius:50%;overflow:hidden;background:#e5edf5;display:flex;align-items:center;justify-content:center}.mam-salary-avatar img{width:100%;height:100%;object-fit:cover}.mam-salary-avatar .dashicons{font-size:34px;color:#718096}.mam-salary-staff-info>div:not(.mam-salary-avatar){border-left:1px solid #c8d8e5;padding-left:18px}.mam-salary-staff-info small{display:block;color:#526684;font-size:11px;margin-bottom:4px}.mam-salary-staff-info strong{display:block;color:#071b61;font-size:18px}.mam-salary-entry{margin:14px 20px 0;border:1px solid #d9e8f3;border-radius:8px;overflow:hidden;padding-bottom:14px}.mam-salary-section-title{display:flex;align-items:center;gap:10px;background:#eaf5fc;color:#071b61;padding:10px 16px;font-size:17px}.mam-salary-section-title>span:first-child{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#18a957;color:#fff;font-weight:800}.mam-salary-section-title.blue>span{background:transparent;color:#087cf5;font-size:26px}.mam-salary-fields{display:grid;gap:18px;padding:14px 20px 0}.mam-salary-fields.four{grid-template-columns:1.1fr 1.05fr 1fr 1.05fr}.mam-salary-fields.three{grid-template-columns:1fr 1.1fr 1.6fr}.mam-salary-fields label{color:#0d205c;font-weight:700;font-size:13px}.mam-salary-fields input,.mam-salary-fields select,.mam-salary-fields textarea{width:100%;margin-top:7px;box-sizing:border-box;border:1px solid #cbd8e5;border-radius:7px;background:#fff;min-height:44px;padding:0 12px;color:#13285e}.mam-salary-fields textarea{padding-top:10px;resize:vertical}.mam-date-input{display:flex;margin-top:7px}.mam-date-input input{margin-top:0!important;border-radius:7px 0 0 7px!important}.mam-modal-date-btn{width:46px;border:1px solid #cbd8e5;border-left:0;border-radius:0 7px 7px 0;background:#fff;color:#173c88;cursor:pointer}.mam-add-salary-btn{margin:14px 20px 0;background:#159447;border:0;color:#fff;border-radius:7px;height:42px;padding:0 20px;font-weight:700;cursor:pointer}.mam-salary-history{margin:14px 20px 0;border:1px solid #d9e8f3;border-radius:8px;overflow:hidden}.mam-salary-history-scroll{overflow:auto}.mam-salary-history table{width:100%;min-width:1050px;border-collapse:collapse}.mam-salary-history th{background:#eaf4fb;color:#071b61;font-size:12px;padding:10px 9px;text-align:left;white-space:nowrap}.mam-salary-history td{padding:9px;border-top:1px solid #e2e8f0;color:#13285e;font-size:12px;vertical-align:middle}.mam-salary-history tfoot td{background:#dcf6e5;color:#098b42;font-weight:800;font-size:14px}.mam-history-edit,.mam-history-delete{display:inline-flex;align-items:center;padding:7px 10px;border-radius:5px;color:#fff!important;text-decoration:none!important;font-weight:600}.mam-history-edit{background:#087cf5}.mam-history-delete{background:#ef3434}.mam-staff-modal .mam-no-data{text-align:center;padding:20px;color:#64748b}.mam-staff-modal .ui-datepicker{z-index:100300!important}@media(max-width:900px){.mam-login-current-grid,.mam-staff-login-grid,.mam-send-grid{grid-template-columns:1fr}.mam-salary-staff-info{grid-template-columns:80px 1fr 1fr}.mam-salary-staff-info>div:not(.mam-salary-avatar){border-left:0;padding-left:0}.mam-salary-fields.four,.mam-salary-fields.three{grid-template-columns:1fr 1fr}.mam-enable-login{display:block}.mam-enable-login .mam-switch{display:inline-block!important;vertical-align:middle;margin-right:8px}.mam-staff-password-row{grid-template-columns:1fr}.mam-generate-password{width:100%}}@media(max-width:560px){.mam-staff-modal{padding:10px!important}.mam-staff-modal-box,.mam-login-detail-box,.mam-salary-detail-box{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.mam-staff-modal-head{height:78px;padding:0 14px}.mam-staff-modal-head h2{font-size:18px}.mam-staff-modal-head p{font-size:11px}.mam-login-current,.mam-send-login,.mam-salary-entry,.mam-salary-history{margin-left:12px;margin-right:12px}.mam-salary-fields.four,.mam-salary-fields.three{grid-template-columns:1fr}.mam-salary-staff-info{margin-left:12px;margin-right:12px;grid-template-columns:1fr 1fr}.mam-salary-avatar{grid-column:1/-1}.mam-staff-modal-actions,.mam-staff-modal-footer{padding:12px;flex-wrap:wrap}.mam-modal-cancel,.mam-modal-save,.mam-print-salary{flex:1}}.mam-salary-page{margin:0 0 20px;background:#eef6fc;padding:0;}.mam-salary-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:4px 2px 0;}.mam-salary-page-title{display:flex;align-items:center;gap:15px;}.mam-salary-page-title>.dashicons{font-size:46px;width:46px;height:46px;line-height:46px;color:#087cf5;}.mam-salary-page-title h2{margin:0!important;color:#07164a!important;font-size:30px!important;line-height:1.1!important;}.mam-salary-page-title p{margin:4px 0 0!important;color:#526684!important;font-size:16px!important;}.mam-salary-export{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;background:#159447;color:#fff!important;border-radius:7px;text-decoration:none!important;font-size:14px;font-weight:700;}.mam-salary-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px;}.mam-salary-stat{min-height:96px;border-radius:8px;display:flex;align-items:center;gap:18px;padding:0 22px;box-sizing:border-box;color:#fff;}.mam-salary-stat.blue{background:#087cf5}.mam-salary-stat.orange{background:#ff9200}.mam-salary-stat.green{background:#159447}.mam-salary-stat.navy{background:#334a63}.mam-salary-stat>.dashicons,.mam-salary-stat-rupee{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.96);color:#17365d;display:inline-flex;align-items:center;justify-content:center;font-size:30px;line-height:48px;flex:0 0 48px;}.mam-salary-stat.orange>.dashicons{color:#ff9200}.mam-salary-stat.green>.dashicons{color:#159447}.mam-salary-stat.blue>.dashicons{color:#087cf5}.mam-salary-stat-rupee{font-size:34px;font-weight:700;color:#334a63;}.mam-salary-stat small{display:block;font-size:13px;font-weight:600;opacity:.95;margin-bottom:5px}.mam-salary-stat strong{display:block;font-size:27px;line-height:1.05;white-space:nowrap;}.mam-salary-filter-card{background:#fff;border-radius:8px;padding:15px 18px;margin-bottom:14px;box-shadow:0 1px 0 rgba(13,53,88,.04);}.mam-salary-filter-card form{display:grid;grid-template-columns:1.25fr .9fr .9fr auto auto;align-items:end;gap:12px;}.mam-salary-filter-card label{color:#07164a;font-size:13px;font-weight:700;}.mam-salary-filter-card label>select,.mam-salary-search{display:flex;width:100%;height:46px;box-sizing:border-box;margin-top:7px;border:1px solid #cbd8e5;border-radius:6px;background:#fff;align-items:center;}.mam-salary-filter-card select{padding:0 12px;color:#13285e;outline:none;}.mam-salary-search .dashicons{color:#526684;margin:0 9px 0 12px;font-size:19px;}.mam-salary-search input{border:0!important;box-shadow:none!important;outline:0!important;width:100%;height:44px;padding:0 8px!important;color:#13285e;background:#fff!important;}.mam-salary-filter-btn,.mam-salary-reset-btn{height:46px;min-width:116px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:700;text-decoration:none;box-sizing:border-box;cursor:pointer;}.mam-salary-filter-btn{border:0;background:#087cf5;color:#fff;}.mam-salary-reset-btn{border:1px solid #cbd7e3;background:#fff;color:#17365d;}.mam-salary-table-card{background:#fff;border-radius:8px;overflow:hidden;}.mam-salary-table-scroll{overflow-x:auto;}.mam-salary-modern-table{width:100%;min-width:1150px;border-collapse:collapse;margin:0!important;}.mam-salary-modern-table thead th{background:#eaf4fb;color:#07164a;font-size:12px;font-weight:700;padding:11px 9px;border-bottom:1px solid #d8e3ec;white-space:nowrap;text-align:left;}.mam-salary-modern-table tbody td{padding:9px;border-bottom:1px solid #e3ebf2;color:#102b5d;font-size:12px;vertical-align:middle;background:#fff;}.mam-salary-modern-table tbody tr:hover td{background:#f7fbff;}.mam-salary-modern-table th:first-child,.mam-salary-modern-table td:first-child{text-align:center;width:34px;}.mam-salary-modern-table td:nth-child(5),.mam-salary-modern-table td:nth-child(6),.mam-salary-modern-table td:nth-child(7){font-weight:700;white-space:nowrap;}.mam-salary-modern-table .salary-paid{color:#159447}.mam-salary-modern-table .salary-due{color:#e32736}.mam-salary-modern-table .salary-zero{color:#334a63}.mam-payment-badge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:8px 11px;border-radius:6px;font-size:11px;font-weight:700;box-sizing:border-box;}.mam-payment-badge.paid{background:#dcf6e5;color:#098b42}.mam-payment-badge.due{background:#ffe1e4;color:#d92d3a;}.mam-salary-actions{display:flex;gap:5px;white-space:nowrap;}.mam-salary-view-btn,.mam-salary-pay-btn{display:inline-flex;align-items:center;justify-content:center;height:35px;padding:0 13px;border-radius:5px;color:#fff!important;text-decoration:none!important;border:0;font-size:11px;font-weight:700;cursor:pointer;box-sizing:border-box;}.mam-salary-view-btn{background:#087cf5}.mam-salary-pay-btn{background:#159447}.mam-salary-pay-btn:hover,.mam-salary-view-btn:hover{filter:brightness(.94);}.mam-salary-page-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 14px;color:#17365d;font-size:13px;background:#fff;}.mam-salary-pagination{display:flex;align-items:center;}.mam-salary-pagination span{min-width:38px;height:38px;border:1px solid #d7e1ea;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#193d7a;border-radius:5px;}.mam-salary-pagination .active{background:#087cf5;color:#fff;border-color:#087cf5;}.mam-salary-no-data{text-align:center!important;padding:28px!important;color:#64748b!important;}.mam-salary-pay-modal{position:fixed;inset:0;z-index:100250;display:none;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;}.mam-salary-pay-modal.open{display:flex;}.mam-salary-pay-backdrop{position:absolute;inset:0;background:rgba(10,27,48,.62);backdrop-filter:blur(1px);}.mam-salary-pay-box{position:relative;width:min(930px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.28);z-index:1;}.mam-pay-staff-info{margin:18px 22px 0;background:#eaf5fc;border:1px solid #d9e8f3;border-radius:8px;padding:10px 16px;display:grid;grid-template-columns:78px 1.1fr 1.15fr 1fr .9fr .8fr;align-items:center;gap:14px;}.mam-pay-staff-info>div:not(.mam-salary-avatar){border-left:1px solid #c8d8e5;padding-left:14px;}.mam-pay-staff-info small{display:block;color:#526684;font-size:10px;margin-bottom:4px}.mam-pay-staff-info strong{display:block;color:#071b61;font-size:16px}.mam-pay-staff-info .mam-staff-category,.mam-pay-staff-info .mam-staff-status{font-size:10px;padding:6px 9px;}.mam-salary-pay-modal .mam-salary-entry{margin:14px 22px 0;}.mam-salary-pay-modal .mam-salary-fields.four{grid-template-columns:1.1fr 1.05fr 1fr 1.05fr;}.mam-salary-pay-modal .mam-salary-fields.three{grid-template-columns:1fr 1.15fr 1.55fr;}.mam-salary-pay-modal .mam-staff-modal-actions{margin-top:14px;}body.mam-modal-open{overflow:hidden;}@media(max-width:1100px){.mam-salary-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.mam-salary-filter-card form{grid-template-columns:1fr 1fr;}.mam-salary-filter-btn,.mam-salary-reset-btn{width:100%;}.mam-pay-staff-info{grid-template-columns:70px 1fr 1fr 1fr;}}@media(max-width:700px){.mam-salary-page-head{align-items:flex-start}.mam-salary-page-title h2{font-size:25px!important}.mam-salary-page-title p{font-size:13px!important}.mam-salary-stat-grid{grid-template-columns:1fr}.mam-salary-filter-card form{grid-template-columns:1fr}.mam-salary-page-footer{align-items:flex-start;flex-direction:column;gap:12px}.mam-salary-pay-box{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.mam-pay-staff-info{grid-template-columns:1fr 1fr;margin-left:12px;margin-right:12px}.mam-pay-staff-info .mam-salary-avatar{grid-column:1/-1}.mam-pay-staff-info>div:not(.mam-salary-avatar){border-left:0;padding-left:0}.mam-salary-pay-modal .mam-salary-fields.four,.mam-salary-pay-modal .mam-salary-fields.three{grid-template-columns:1fr;}.mam-salary-pay-modal .mam-salary-entry{margin-left:12px;margin-right:12px;}.mam-salary-pay-modal .mam-staff-modal-actions{padding:12px;flex-wrap:wrap;}.mam-salary-pay-modal .mam-modal-cancel,.mam-salary-pay-modal .mam-modal-save{flex:1;min-width:140px;}}.mam-login-detail-box{width:min(460px,calc(100vw - 30px))!important;max-height:calc(100vh - 30px)!important;}.mam-login-staff-summary{margin:14px 18px 0;background:#eaf5fc;border:1px solid #d9e8f3;border-radius:8px;padding:10px 12px;display:grid;grid-template-columns:58px 1fr 1.25fr;align-items:center;gap:10px;}.mam-login-staff-summary .mam-salary-avatar{width:58px;height:58px;}.mam-login-staff-summary small{display:block;color:#526684;font-size:10px;margin-bottom:2px;}.mam-login-staff-summary strong{display:block;color:#071b61;font-size:14px;}.mam-login-summary-status{grid-column:1/-1;justify-self:end;margin-top:-4px;padding:6px 10px;border-radius:6px;font-weight:700;font-size:11px;}.mam-login-summary-status.active{background:#d9f6e4;color:#0b8c46}.mam-login-summary-status.inactive{background:#ffe1e4;color:#d92d3a}.mam-login-detail-box .mam-staff-login-grid{grid-template-columns:1fr!important;gap:12px!important;padding:14px 18px 4px!important;}.mam-login-detail-box .mam-enable-login{display:grid;grid-template-columns:auto 56px auto;align-items:center;column-gap:8px;}.mam-login-detail-box .mam-enable-login small{margin-left:64px;}.mam-login-detail-box .mam-staff-input-valid input,.mam-login-detail-box .mam-staff-password-row,.mam-login-detail-box .mam-staff-password-row .mam-staff-input-valid.password input{height:44px!important;}.mam-login-detail-box .mam-staff-password-row{grid-template-columns:1fr 120px!important;gap:8px!important;}.mam-login-detail-box .mam-staff-input-valid{margin-top:6px;}.mam-login-detail-box .mam-password-eye{height:44px;width:44px;}.mam-login-detail-box .mam-generate-password{height:44px;font-size:12px;}.mam-login-detail-box .mam-send-login{margin:10px 18px 0;}.mam-login-detail-box .mam-send-grid{grid-template-columns:1fr!important;gap:10px;padding:11px 14px;}.mam-login-detail-box .mam-send-grid label>span{font-size:12px;}.mam-direct-contact-input{display:block!important;width:100%!important;height:40px!important;box-sizing:border-box!important;border:1px solid #cbd8e5!important;border-radius:7px!important;margin-top:7px!important;padding:0 10px!important;background:#fff!important;color:#13285e!important;}.mam-login-detail-box .mam-staff-modal-actions{padding:12px 18px;margin-top:10px;}.mam-salary-detail-box{width:min(620px,calc(100vw - 30px))!important;max-height:calc(100vh - 30px)!important;}.payroll-salary-detail-box .mam-salary-staff-info{grid-template-columns:76px 1fr 1fr!important;gap:10px!important;margin:12px 14px 0!important;padding:9px 12px!important;}.payroll-salary-detail-box .mam-salary-staff-info>div:not(.mam-salary-avatar){border-left:0!important;padding-left:0!important;}.payroll-salary-detail-box .mam-salary-staff-info>div:nth-child(4),.payroll-salary-detail-box .mam-salary-staff-info>div:nth-child(5),.payroll-salary-detail-box .mam-salary-staff-info>div:nth-child(6){border-top:1px solid #c8d8e5;padding-top:7px;}.payroll-salary-detail-box .mam-salary-entry,.payroll-salary-detail-box .mam-salary-history{margin-left:14px!important;margin-right:14px!important;}.payroll-salary-detail-box .mam-salary-fields.four{grid-template-columns:1fr 1fr!important;gap:10px!important;}.payroll-salary-detail-box .mam-salary-fields.three{grid-template-columns:1fr 1fr!important;gap:10px!important;}.payroll-salary-detail-box .mam-salary-fields.three label:last-child{grid-column:1/-1;}.payroll-salary-detail-box .mam-salary-history table{min-width:980px;}@media(max-width:560px){.mam-login-detail-box{width:calc(100vw - 20px)!important}.mam-salary-detail-box{width:calc(100vw - 20px)!important}.payroll-salary-detail-box .mam-salary-fields.four,.payroll-salary-detail-box .mam-salary-fields.three{grid-template-columns:1fr!important}.payroll-salary-detail-box .mam-salary-fields.three label:last-child{grid-column:auto}.mam-login-detail-box .mam-staff-password-row{grid-template-columns:1fr 105px!important}}.mam-ref-portal{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#101f55;background:linear-gradient(135deg,#eef6ff 0%,#f7fbff 100%);min-height:100vh}.mam-ref-portal .mam-ref-header{background:#fff;border-bottom:1px solid #dce8f5;box-shadow:0 2px 10px rgba(13,53,88,.08)}.mam-ref-portal .mam-ref-sidebar{background:linear-gradient(180deg,#082c49 0%,#0d3558 100%);box-shadow:3px 0 12px rgba(8,44,73,.12)}.mam-ref-portal .mam-ref-sidebar-brand{min-height:76px;border-bottom:1px solid rgba(255,255,255,.12)}.mam-ref-portal .mam-ref-sidebar-title{font-weight:750;letter-spacing:.1px}.mam-ref-portal .mam-ref-nav-item{border-radius:7px;margin:3px 9px;transition:background .18s ease,color .18s ease}.mam-ref-portal .mam-ref-nav-item:hover{background:rgba(255,255,255,.10);color:#fff}.mam-ref-portal .mam-ref-nav-item.active{background:#087cf5;color:#fff;box-shadow:0 4px 12px rgba(8,124,245,.24)}.mam-ref-portal .mam-ref-main{background:transparent}.mam-ref-portal .mam-ref-page-heading h1{color:#101f55;font-weight:800}.mam-ref-portal .mam-ref-card,.mam-ref-portal .mam-ref-panel,.mam-ref-portal .mam-portal-card{border:1px solid #e0eaf5;border-radius:10px;box-shadow:0 3px 12px rgba(18,58,100,.045);background:#fff}@media(max-width:768px){.mam-ref-portal .mam-ref-header{position:relative}.mam-ref-portal .mam-ref-sidebar{box-shadow:none}.mam-ref-portal .mam-ref-nav-item{margin:2px 6px}}.mam-ref-portal{position:relative!important;width:100%!important;max-width:none!important;min-height:100vh!important;overflow:visible!important;background:#eef5fb!important}.mam-ref-portal .mam-ref-header{position:fixed!important;z-index:100020!important;top:0!important;left:260px!important;right:0!important;height:78px!important;box-sizing:border-box!important;padding:0 24px!important;background:#fff!important;border-bottom:1px solid #dce5ef!important;box-shadow:0 2px 8px rgba(15,35,70,.08)!important}.mam-ref-portal .mam-ref-layout{display:block!important;min-height:100vh!important;padding-top:78px!important;box-sizing:border-box!important}.mam-ref-portal .mam-ref-sidebar{position:fixed!important;z-index:100030!important;left:0!important;top:0!important;bottom:0!important;width:260px!important;height:100vh!important;min-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;background:#062b4a!important;padding:14px 10px 20px!important;box-shadow:2px 0 8px rgba(15,35,70,.08)!important}.mam-ref-portal .mam-ref-sidebar-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important;padding:4px 10px 18px!important;margin:0 0 12px!important;min-height:76px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo{width:46px!important;height:46px!important;flex:0 0 46px!important;margin:0!important;display:grid!important;place-items:center!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo img{width:46px!important;height:46px!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo-placeholder{width:44px!important;height:44px!important;font-size:20px!important}.mam-ref-portal .mam-ref-sidebar-title{font-size:19px!important;line-height:1.2!important;font-weight:750!important;color:#fff!important;overflow-wrap:anywhere!important}.mam-ref-portal .mam-ref-nav{gap:3px!important}.mam-ref-portal .mam-ref-nav-item{min-height:46px!important;padding:9px 12px!important;border-radius:7px!important;font-size:15px!important;gap:12px!important}.mam-ref-portal .mam-ref-nav-icon{width:24px!important;flex:0 0 24px!important;font-size:20px!important}.mam-ref-portal .mam-ref-nav-item.active{background:#087cf5!important;box-shadow:0 4px 12px rgba(8,124,245,.25)!important}.mam-ref-portal .mam-ref-main{margin-left:260px!important;min-height:calc(100vh - 78px)!important;padding:26px 26px 36px!important;background:#eef5fb!important;box-sizing:border-box!important}.mam-ref-portal .mam-ref-header-logo{width:52px!important;height:52px!important;flex-basis:52px!important}.mam-ref-portal .mam-ref-header-logo img{width:52px!important;height:52px!important}.mam-ref-portal .mam-ref-brand-bn{font-size:21px!important;font-weight:750!important;color:#0d1e4c!important}.mam-ref-portal .mam-ref-brand-en{font-size:14px!important;color:#17365d!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:32px!important;font-weight:800!important;color:#0d1e4c!important}.mam-ref-portal .mam-ref-page-heading p{font-size:16px!important;color:#526684!important}@media(max-width:900px){.mam-ref-portal .mam-ref-header{left:220px!important;padding:0 14px!important}.mam-ref-portal .mam-ref-sidebar{width:220px!important}.mam-ref-portal .mam-ref-main{margin-left:220px!important;padding:20px 16px 28px!important}.mam-ref-portal .mam-ref-sidebar-title{font-size:17px!important}.mam-ref-portal .mam-ref-brand-en{display:none!important}}@media(max-width:600px){.mam-ref-portal .mam-ref-header{left:0!important;height:70px!important;padding:0 12px!important}.mam-ref-portal .mam-ref-layout{padding-top:70px!important}.mam-ref-portal .mam-ref-sidebar{top:70px!important;width:76px!important;height:calc(100vh - 70px)!important;min-height:calc(100vh - 70px)!important;padding:10px 6px!important}.mam-ref-portal .mam-ref-sidebar-brand{justify-content:center!important;padding:4px 0 12px!important;min-height:0!important}.mam-ref-portal .mam-ref-sidebar-title{display:none!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo{width:42px!important;height:42px!important;flex-basis:42px!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo img{width:42px!important;height:42px!important}.mam-ref-portal .mam-ref-nav-item{justify-content:center!important;padding:11px 4px!important;min-height:44px!important}.mam-ref-portal .mam-ref-nav-item>span:last-child{display:none!important}.mam-ref-portal .mam-ref-nav-icon{font-size:21px!important}.mam-ref-portal .mam-ref-main{margin-left:76px!important;padding:18px 10px 24px!important}.mam-ref-portal .mam-ref-header-user{min-width:0!important;gap:6px!important}.mam-ref-portal .mam-ref-header-user strong{font-size:12px!important}.mam-ref-portal .mam-ref-avatar{width:38px!important;height:38px!important}}.mam-ref-portal,.mam-ref-portal button,.mam-ref-portal input,.mam-ref-portal select,.mam-ref-portal textarea,.mam-ref-portal table{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}.mam-ref-portal{font-size:14px!important;line-height:1.5!important;color:#0d1e4c!important;background:#eef5fb!important;}.mam-ref-portal .mam-ref-header{left:260px!important;right:0!important;top:0!important;height:72px!important;padding:0 22px!important;}.mam-ref-portal .mam-ref-layout{padding-top:72px!important;margin:0!important;width:100%!important;max-width:none!important;}.mam-ref-portal .mam-ref-sidebar{left:0!important;top:0!important;width:260px!important;height:100vh!important;padding:10px 10px 18px!important;background:#062b4a!important;}.mam-ref-portal .mam-ref-sidebar-brand{min-height:76px!important;height:auto!important;margin:0 0 10px!important;padding:5px 10px 16px!important;gap:12px!important;border-bottom:1px solid rgba(255,255,255,.13)!important;}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo{width:48px!important;height:48px!important;flex:0 0 48px!important;}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo img{width:48px!important;height:48px!important;object-fit:contain!important;}.mam-ref-portal .mam-ref-sidebar-title{font-size:19px!important;line-height:1.2!important;font-weight:750!important;letter-spacing:0!important;color:#fff!important;text-transform:none!important;}.mam-ref-portal .mam-ref-nav{gap:3px!important;margin-top:4px!important;}.mam-ref-portal .mam-ref-nav-item{box-sizing:border-box!important;min-height:44px!important;padding:9px 12px!important;margin:0 0 3px!important;border-radius:7px!important;font-size:14px!important;line-height:1.35!important;font-weight:600!important;gap:11px!important;color:#e8f1fb!important;}.mam-ref-portal .mam-ref-nav-icon{width:24px!important;flex:0 0 24px!important;font-size:20px!important;line-height:1!important;text-align:center!important;}.mam-ref-portal .mam-ref-nav-item.active{background:#087cf5!important;color:#fff!important;box-shadow:0 4px 12px rgba(8,124,245,.22)!important;}.mam-ref-portal .mam-ref-header-logo{width:48px!important;height:48px!important;flex:0 0 48px!important;margin-right:0!important;}.mam-ref-portal .mam-ref-header-logo img{width:48px!important;height:48px!important;object-fit:contain!important;}.mam-ref-portal .mam-ref-brand{gap:12px!important;min-width:0!important;}.mam-ref-portal .mam-ref-brand-bn{font-size:20px!important;line-height:1.25!important;font-weight:750!important;color:#0d1e4c!important;}.mam-ref-portal .mam-ref-brand-en{font-size:13px!important;line-height:1.35!important;color:#17365d!important;}.mam-ref-portal .mam-ref-header-user{gap:10px!important;min-width:0!important;}.mam-ref-portal .mam-ref-header-user strong{font-size:14px!important;line-height:1.35!important;font-weight:700!important;color:#0d1e4c!important;}.mam-ref-portal .mam-ref-header-user small{font-size:12px!important;line-height:1.35!important;color:#526684!important;}.mam-ref-portal .mam-ref-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important;object-fit:cover!important;}.mam-ref-portal .mam-ref-main{box-sizing:border-box!important;width:auto!important;max-width:none!important;min-width:0!important;margin-left:260px!important;padding:24px 26px 34px!important;background:#eef5fb!important;}.mam-ref-portal .mam-ref-page-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 18px!important;padding:0!important;}.mam-ref-portal .mam-ref-page-heading h1{font-size:30px!important;line-height:1.2!important;font-weight:800!important;color:#0d1e4c!important;margin:0!important;}.mam-ref-portal .mam-ref-page-heading p{font-size:15px!important;line-height:1.45!important;color:#526684!important;margin:3px 0 0!important;}.mam-ref-portal .mam-ref-section h2,.mam-ref-portal .mam-ref-card h2{font-size:19px!important;line-height:1.3!important;font-weight:750!important;color:#0d1e4c!important;}.mam-ref-portal .mam-ref-dashboard-hero,.mam-ref-portal .mam-ref-section,.mam-ref-portal .mam-ref-bottom-grid{width:100%!important;max-width:none!important;box-sizing:border-box!important;}.mam-ref-portal .mam-ref-dashboard-hero{gap:12px!important;margin:0 0 18px!important;}.mam-ref-portal .mam-ref-student-block h2{font-size:22px!important;line-height:1.3!important;font-weight:750!important;}.mam-ref-portal .mam-ref-student-block p,.mam-ref-portal .mam-ref-mini-card small,.mam-ref-portal .mam-ref-mini-card em{font-size:13px!important;line-height:1.45!important;}.mam-ref-portal .mam-ref-mini-card strong{font-size:18px!important;line-height:1.3!important;}.mam-ref-portal .mam-ref-section,.mam-ref-portal .mam-ref-bottom-grid>section{border-radius:10px!important;}.mam-ref-portal .mam-ref-table{font-size:13px!important;}@media(max-width:900px){.mam-ref-portal .mam-ref-header{left:220px!important}.mam-ref-portal .mam-ref-sidebar{width:220px!important}.mam-ref-portal .mam-ref-main{margin-left:220px!important;padding:20px 16px 28px!important}.mam-ref-portal .mam-ref-sidebar-title{font-size:17px!important}}@media(max-width:600px){.mam-ref-portal .mam-ref-header{left:0!important;height:70px!important}.mam-ref-portal .mam-ref-layout{padding-top:70px!important}.mam-ref-portal .mam-ref-sidebar{top:70px!important;width:76px!important;height:calc(100vh - 70px)!important;min-height:calc(100vh - 70px)!important;padding:10px 6px!important}.mam-ref-portal .mam-ref-sidebar-brand{justify-content:center!important;padding:4px 0 12px!important}.mam-ref-portal .mam-ref-sidebar-title{display:none!important}.mam-ref-portal .mam-ref-nav-item{justify-content:center!important;padding:10px 4px!important}.mam-ref-portal .mam-ref-nav-item>span:last-child{display:none!important}.mam-ref-portal .mam-ref-main{margin-left:76px!important;padding:18px 10px 24px!important}.mam-ref-portal .mam-ref-brand-bn{font-size:15px!important}.mam-ref-portal .mam-ref-brand-en{display:none!important}.mam-ref-portal .mam-ref-header-logo{width:38px!important;height:38px!important;flex-basis:38px!important}.mam-ref-portal .mam-ref-header-logo img{width:38px!important;height:38px!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:24px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:1fr 1fr!important}}.mam-ref-layout{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:calc(100vh - 64px)!important;gap:0!important;margin:0!important;box-sizing:border-box!important;align-items:stretch!important;}.mam-ref-sidebar{width:220px!important;min-width:220px!important;box-sizing:border-box!important;background:#162b46!important;color:#fff!important;padding:16px 10px 20px!important;margin:0!important;border-radius:0!important;min-height:calc(100vh - 64px)!important;}.mam-ref-sidebar-brand{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;text-align:left!important;padding:4px 8px 16px!important;margin:0 0 12px!important;border-bottom:1px solid rgba(255,255,255,.12)!important;}.mam-ref-logo,.mam-ref-logo img,.mam-ref-logo-placeholder{width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;border-radius:8px!important;box-sizing:border-box!important;}.mam-ref-logo{display:grid!important;place-items:center!important;flex:0 0 42px!important}.mam-ref-logo-placeholder{font-size:20px!important}.mam-ref-logo .mam-portal-cap-icon{width:34px!important;height:34px!important}.mam-ref-sidebar-title{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:0!important;color:#fff!important;text-transform:none!important;overflow-wrap:anywhere!important;}.mam-ref-nav{display:flex!important;flex-direction:column!important;gap:4px!important}.mam-ref-nav-item{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:9px 10px!important;border-radius:7px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:1.35!important;font-weight:600!important;box-sizing:border-box!important;color:rgba(255,255,255,.94)!important;}.mam-ref-nav-item:hover{background:#243d5c!important}.mam-ref-nav-item.active{background:#087cf5!important;box-shadow:none!important}.mam-ref-nav-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;min-width:18px!important;font-size:16px!important;line-height:1!important;}.mam-ref-nav-item.mam-ref-logout{margin-top:8px!important;background:transparent!important}.mam-ref-main{min-width:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:24px!important;background:#eef5fb!important;margin:0!important;}.mam-ref-page-heading{width:100%!important;max-width:none!important;margin:0 0 20px!important;box-sizing:border-box!important}.mam-ref-page-heading h1{font-family:Arial,Helvetica,sans-serif!important;font-size:26px!important;line-height:1.2!important;font-weight:700!important}.mam-ref-page-heading p{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.5!important}.mam-ref-layout,.mam-ref-layout *{font-family:Arial,Helvetica,sans-serif}.mam-ref-dashboard-hero,.mam-ref-main>.mam-ref-card,.mam-ref-main .mam-ref-grid,.mam-ref-main .mam-ref-table-wrap{width:100%!important;max-width:none!important;box-sizing:border-box!important}.mam-ref-dashboard-hero{grid-template-columns:minmax(240px,1.7fr) repeat(4,minmax(100px,1fr))!important;gap:12px!important}.mam-ref-main .mam-ref-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}.mam-ref-main>*{min-width:0}.mam-ref-main table{width:100%;max-width:100%}@media(max-width:900px){.mam-ref-layout{grid-template-columns:200px minmax(0,1fr)!important}.mam-ref-sidebar{width:200px!important;min-width:200px!important}.mam-ref-main{padding:18px!important}.mam-ref-dashboard-hero{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.mam-ref-layout{grid-template-columns:1fr!important}.mam-ref-sidebar{width:100%!important;min-width:0!important;min-height:auto!important}.mam-ref-sidebar-brand{padding-bottom:10px!important}.mam-ref-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-nav-item{min-width:0!important;font-size:12px!important;padding:8px!important}.mam-ref-main{padding:14px!important}.mam-ref-dashboard-hero{grid-template-columns:1fr!important}}.mam-ref-portal .mam-ref-header{left:220px!important;right:0!important;top:0!important;height:72px!important;padding:0 22px!important;box-sizing:border-box!important;position:fixed!important;}.mam-ref-portal .mam-ref-layout{display:block!important;width:100%!important;max-width:none!important;min-height:100vh!important;padding-top:72px!important;margin:0!important;box-sizing:border-box!important;}.mam-ref-portal .mam-ref-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:220px!important;min-width:220px!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:16px 10px 20px!important;box-sizing:border-box!important;border-radius:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#162b46!important;}.mam-ref-portal .mam-ref-sidebar-brand{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;text-align:left!important;padding:4px 8px 16px!important;margin:0 0 12px!important;min-height:0!important;}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo,.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo img{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;}.mam-ref-portal .mam-ref-sidebar-title{font-size:14px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:0!important}.mam-ref-portal .mam-ref-nav{display:flex!important;flex-direction:column!important;gap:4px!important;margin-top:0!important}.mam-ref-portal .mam-ref-nav-item{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:9px 10px!important;margin:0!important;border-radius:7px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:1.35!important;font-weight:600!important;box-sizing:border-box!important;}.mam-ref-portal .mam-ref-nav-icon{width:18px!important;min-width:18px!important;flex:0 0 18px!important;font-size:16px!important}.mam-ref-portal .mam-ref-main{display:block!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0 0 0 220px!important;padding:24px 26px 34px!important;box-sizing:border-box!important;background:#eef5fb!important;}.mam-ref-portal .mam-ref-page-heading,.mam-ref-portal .mam-ref-dashboard-hero,.mam-ref-portal .mam-ref-section,.mam-ref-portal .mam-ref-bottom-grid,.mam-ref-portal .mam-ref-main .mam-ref-grid,.mam-ref-portal .mam-ref-main .mam-ref-table-wrap{width:100%!important;max-width:none!important;box-sizing:border-box!important}@media(max-width:900px){.mam-ref-portal .mam-ref-header{left:200px!important;padding:0 14px!important}.mam-ref-portal .mam-ref-sidebar{width:200px!important;min-width:200px!important}.mam-ref-portal .mam-ref-main{margin-left:200px!important;padding:18px!important}.mam-ref-portal .mam-ref-sidebar-title{font-size:14px!important}.mam-ref-portal .mam-ref-brand-en{display:none!important}}@media(max-width:640px){.mam-ref-portal .mam-ref-header{left:0!important;height:70px!important;padding:0 12px!important}.mam-ref-portal .mam-ref-layout{padding-top:70px!important}.mam-ref-portal .mam-ref-sidebar{top:70px!important;bottom:0!important;width:76px!important;min-width:76px!important;height:calc(100vh - 70px)!important;min-height:0!important;padding:10px 6px!important}.mam-ref-portal .mam-ref-sidebar-brand{justify-content:center!important;padding:4px 0 12px!important}.mam-ref-portal .mam-ref-sidebar-title{display:none!important}.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo,.mam-ref-portal .mam-ref-sidebar-brand .mam-ref-logo img{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}.mam-ref-portal .mam-ref-nav-item{justify-content:center!important;padding:10px 4px!important;min-height:44px!important}.mam-ref-portal .mam-ref-nav-item>span:last-child{display:none!important}.mam-ref-portal .mam-ref-nav-icon{font-size:19px!important}.mam-ref-portal .mam-ref-main{margin-left:76px!important;padding:14px 10px 24px!important}.mam-ref-portal .mam-ref-brand-bn{font-size:15px!important}.mam-ref-portal .mam-ref-brand-en{display:none!important}.mam-ref-portal .mam-ref-header-logo,.mam-ref-portal .mam-ref-header-logo img{width:38px!important;height:38px!important;flex-basis:38px!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:24px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:1fr!important}}.mam-ref-portal .mam-ref-page-heading h1{font-size:41px!important;line-height:1.15!important;font-weight:700!important;letter-spacing:-.025em!important;color:#10285f!important}.mam-ref-portal .mam-ref-page-heading p{font-size:21px!important;line-height:1.35!important;font-weight:400!important;color:#526684!important;margin-top:4px!important}.mam-ref-portal .mam-ref-page-heading{margin-bottom:22px!important;align-items:center!important}.mam-ref-portal .mam-ref-breadcrumb{font-size:16px!important;color:#314766!important}.mam-ref-portal .mam-ref-home-icon{font-size:23px!important;color:#087cf5!important;margin-right:3px}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:minmax(0,2.1fr) repeat(4,minmax(125px,1fr))!important;align-items:stretch!important;padding:20px!important;gap:12px!important;background:#fff!important;border:1px solid #e5edf6!important;border-radius:12px!important;box-shadow:0 5px 18px rgba(28,64,96,.05)!important}.mam-ref-portal .mam-ref-student-block{display:grid!important;grid-template-columns:126px minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;gap:14px!important;padding-right:12px!important;border-right:1px solid #dce7f2!important}.mam-ref-portal .mam-ref-big-photo{width:126px!important;height:126px!important;flex-basis:126px!important;border-radius:50%!important;background:#dcecff!important}.mam-ref-portal .mam-ref-big-photo span{font-size:54px!important;color:#10285f!important}.mam-ref-portal .mam-ref-student-block h2{font-size:25px!important;color:#10285f!important;margin-bottom:8px!important}.mam-ref-portal .mam-ref-student-block p{font-size:15px!important;line-height:1.45!important;margin:7px 0!important;color:#526684!important}.mam-ref-portal .mam-ref-student-block p b{color:#10285f!important}.mam-ref-portal .mam-ref-student-extra{border-left:1px solid #dce7f2;padding-left:14px}.mam-ref-portal .mam-ref-student-extra p{display:flex;flex-direction:column;gap:2px;margin:8px 0!important}.mam-ref-portal .mam-ref-student-extra p span{font-size:14px;color:#526684}.mam-ref-portal .mam-ref-student-extra p b{font-size:15px;color:#10285f}.mam-ref-portal .mam-ref-mini-card{min-width:0;min-height:150px!important;padding:16px 10px!important;border-radius:10px!important}.mam-ref-portal .mam-ref-mini-card span{font-size:31px!important;margin-bottom:12px!important}.mam-ref-portal .mam-ref-mini-card small{font-size:15px!important}.mam-ref-portal .mam-ref-mini-card strong{font-size:19px!important;overflow-wrap:anywhere}.mam-ref-portal .mam-ref-mini-card em{font-size:12px!important}.mam-ref-portal .mam-ref-dashboard-fees{margin-top:18px!important;padding:18px 22px 20px!important}.mam-ref-portal .mam-ref-section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin-bottom:16px!important}.mam-ref-portal .mam-ref-section-heading h2{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;font-size:27px!important;font-weight:750!important;color:#10285f!important}.mam-ref-portal .mam-ref-section-heading h2 span{color:#087cf5!important;font-size:29px!important}.mam-ref-portal .mam-ref-summary-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.mam-ref-portal .mam-ref-summary-tiles>div{display:flex!important;align-items:center!important;gap:18px!important;min-height:112px!important;padding:18px 22px!important;border-radius:9px!important;box-sizing:border-box!important}.mam-ref-portal .mam-ref-summary-tiles>div>span{display:grid!important;place-items:center!important;width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:50%!important;background:#fff!important;font-size:34px!important;font-weight:800!important}.mam-ref-portal .mam-ref-summary-tiles small{display:block!important;font-size:19px!important;color:#203b60!important;margin-bottom:4px!important}.mam-ref-portal .mam-ref-summary-tiles strong{font-size:30px!important;line-height:1.2!important;font-weight:800!important;color:#10285f!important}.mam-ref-portal .mam-ref-summary-tiles .tile-total{background:#f3eaff!important}.mam-ref-portal .mam-ref-summary-tiles .tile-total>span,.mam-ref-portal .mam-ref-summary-tiles .tile-total strong{color:#7c25e8!important}.mam-ref-portal .mam-ref-summary-tiles .tile-paid{background:#e8f8f1!important}.mam-ref-portal .mam-ref-summary-tiles .tile-paid>span,.mam-ref-portal .mam-ref-summary-tiles .tile-paid strong{color:#138b49!important}.mam-ref-portal .mam-ref-summary-tiles .tile-due{background:#fff0f1!important}.mam-ref-portal .mam-ref-summary-tiles .tile-due>span,.mam-ref-portal .mam-ref-summary-tiles .tile-due strong{color:#e11d2e!important}.mam-ref-portal .mam-ref-profile-grid{grid-template-columns:minmax(320px,.8fr) minmax(0,1.3fr)!important;gap:18px!important;align-items:start!important}.mam-ref-portal .mam-ref-profile-card{min-height:0!important;padding:28px 20px!important;background:linear-gradient(160deg,#d9edff 0%,#f7fbff 72%)!important}.mam-ref-portal .mam-ref-profile-photo{width:190px!important;height:190px!important;border-radius:50%!important;border:5px solid #fff!important;background:#c9e3ff!important;box-shadow:0 2px 10px rgba(12,76,150,.08)!important}.mam-ref-portal .mam-ref-profile-photo span{font-size:70px!important;color:#10285f!important}.mam-ref-portal .mam-ref-profile-card h2{font-size:29px!important;color:#10285f!important}.mam-ref-portal .mam-ref-profile-card p{font-size:19px!important}.mam-ref-portal .mam-ref-class-pill{font-size:17px!important;font-weight:700!important;padding:8px 26px!important;background:#d4eaff!important;color:#0870dc!important}.mam-ref-portal .mam-ref-info-card{padding:22px!important}.mam-ref-portal .mam-ref-info-card h2{display:flex!important;align-items:center!important;gap:12px!important;font-size:25px!important;font-weight:750!important;color:#10285f!important}.mam-ref-portal .mam-ref-info-card h2 span{font-size:28px!important}.mam-ref-portal .mam-ref-info-table>div{grid-template-columns:minmax(150px,.85fr) minmax(0,1fr)!important;min-height:52px!important}.mam-ref-portal .mam-ref-info-table>div:nth-child(odd) b,.mam-ref-portal .mam-ref-info-table>div:nth-child(odd) span{background:#edf6ff!important}.mam-ref-portal .mam-ref-info-table b,.mam-ref-portal .mam-ref-info-table span{font-size:16px!important;padding:13px 16px!important;overflow-wrap:anywhere!important}.mam-ref-portal .mam-ref-fee-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.mam-ref-portal .mam-ref-fee-stats>div{min-width:0!important;padding:18px!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:12px!important}.mam-ref-portal .mam-ref-fee-stats>div>span{width:48px!important;height:48px!important}.mam-ref-portal .mam-ref-fee-stats small{font-size:16px!important}.mam-ref-portal .mam-ref-fee-stats strong{font-size:28px!important;overflow-wrap:anywhere!important}.mam-ref-portal .mam-ref-year-filter{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important}.mam-ref-portal .mam-ref-year-filter label{font-size:15px!important;color:#526684!important;white-space:nowrap}.mam-ref-portal .mam-ref-year-filter select{min-width:130px!important;min-height:42px!important;border:1px solid #a9c6eb!important;border-radius:7px!important;background:#fff!important;color:#10285f!important;padding:8px 12px!important;font-size:15px!important}.mam-ref-portal .mam-ref-table{font-size:15px!important}.mam-ref-portal .mam-ref-table th{font-size:15px!important;padding:13px 14px!important}.mam-ref-portal .mam-ref-table td{font-size:15px!important;padding:12px 14px!important}@media(max-width:1200px){.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-portal .mam-ref-student-block{grid-column:1/-1!important}.mam-ref-portal .mam-ref-profile-grid{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)!important}}@media(max-width:900px){.mam-ref-portal .mam-ref-page-heading h1{font-size:36px!important}.mam-ref-portal .mam-ref-page-heading p{font-size:19px!important}.mam-ref-portal .mam-ref-fee-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-portal .mam-ref-profile-grid{grid-template-columns:1fr!important}.mam-ref-portal .mam-ref-profile-card{padding:24px!important}.mam-ref-portal .mam-ref-profile-photo{width:160px!important;height:160px!important}.mam-ref-portal .mam-ref-summary-tiles small{font-size:16px!important}.mam-ref-portal .mam-ref-summary-tiles strong{font-size:25px!important}}@media(max-width:640px){.mam-ref-portal .mam-ref-page-heading{align-items:flex-start!important;flex-direction:column!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:32px!important}.mam-ref-portal .mam-ref-page-heading p{font-size:17px!important}.mam-ref-portal .mam-ref-breadcrumb{font-size:13px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:1fr 1fr!important;padding:12px!important}.mam-ref-portal .mam-ref-student-block{grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;padding:0 0 12px!important;border-right:0!important;border-bottom:1px solid #dce7f2!important}.mam-ref-portal .mam-ref-big-photo{width:76px!important;height:76px!important}.mam-ref-portal .mam-ref-big-photo span{font-size:36px!important}.mam-ref-portal .mam-ref-student-block h2{font-size:20px!important}.mam-ref-portal .mam-ref-student-block p{font-size:12px!important;margin:4px 0!important}.mam-ref-portal .mam-ref-student-extra{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-left:0!important;border-top:1px solid #dce7f2!important;padding:6px 0 0!important}.mam-ref-portal .mam-ref-student-extra p b,.mam-ref-portal .mam-ref-student-extra p span{font-size:12px!important}.mam-ref-portal .mam-ref-mini-card{min-height:120px!important;padding:10px 6px!important}.mam-ref-portal .mam-ref-mini-card strong{font-size:16px!important}.mam-ref-portal .mam-ref-mini-card small{font-size:12px!important}.mam-ref-portal .mam-ref-dashboard-fees{padding:14px!important}.mam-ref-portal .mam-ref-section-heading{align-items:flex-start!important}.mam-ref-portal .mam-ref-section-heading h2{font-size:21px!important}.mam-ref-portal .mam-ref-summary-tiles{grid-template-columns:1fr!important}.mam-ref-portal .mam-ref-summary-tiles>div{min-height:88px!important;padding:14px!important}.mam-ref-portal .mam-ref-summary-tiles small{font-size:16px!important}.mam-ref-portal .mam-ref-summary-tiles strong{font-size:25px!important}.mam-ref-portal .mam-ref-fee-stats{grid-template-columns:1fr!important}.mam-ref-portal .mam-ref-year-filter{flex-wrap:wrap!important;justify-content:flex-start!important}.mam-ref-portal .mam-ref-info-table>div{grid-template-columns:120px minmax(0,1fr)!important}.mam-ref-portal .mam-ref-info-table b,.mam-ref-portal .mam-ref-info-table span{font-size:13px!important;padding:11px 9px!important}}.mam-ref-portal{position:relative!important;left:calc(50% - 50vw)!important;width:100vw!important;max-width:100vw!important;margin:0!important;overflow-x:hidden!important;box-sizing:border-box!important;}.mam-ref-portal .mam-ref-main{width:auto!important;max-width:none!important;min-width:0!important;margin-left:220px!important;padding:24px 28px 36px!important;box-sizing:border-box!important}.mam-ref-portal .mam-ref-page-heading{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;width:100%!important;max-width:none!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:28px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:0!important;color:#10285f!important;margin:0!important}.mam-ref-portal .mam-ref-page-heading p{font-size:18px!important;line-height:1.45!important;font-weight:400!important;color:#526684!important;margin:5px 0 0!important}.mam-ref-portal .mam-ref-breadcrumb{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;margin-left:auto!important;white-space:nowrap!important;text-align:right!important;font-size:14px!important;color:#314766!important}.mam-ref-portal .mam-ref-breadcrumb a,.mam-ref-portal .mam-ref-breadcrumb a:visited{color:#314766!important;text-decoration:none!important;border:0!important;box-shadow:none!important}.mam-ref-portal .mam-ref-breadcrumb a:hover{text-decoration:none!important;color:#087cf5!important}.mam-ref-portal .mam-ref-breadcrumb b{color:#10285f!important;font-weight:700!important}.mam-ref-portal .mam-ref-home-icon{display:none!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:minmax(0,2.15fr) repeat(3,minmax(125px,1fr))!important;width:100%!important;max-width:none!important;gap:14px!important;align-items:stretch!important}.mam-ref-portal .mam-ref-student-block{grid-template-columns:112px minmax(170px,1.15fr) minmax(135px,.9fr)!important;min-width:0!important;gap:12px!important;padding-right:14px!important}.mam-ref-portal .mam-ref-student-block>div{min-width:0!important}.mam-ref-portal .mam-ref-student-block h2,.mam-ref-portal .mam-ref-student-block p,.mam-ref-portal .mam-ref-student-block p b{overflow-wrap:anywhere!important;word-break:normal!important}.mam-ref-portal .mam-ref-big-photo{width:112px!important;height:112px!important;flex-basis:112px!important}.mam-ref-portal .mam-ref-mini-card{min-width:0!important;width:100%!important;box-sizing:border-box!important}.mam-ref-portal .mam-ref-page-heading,.mam-ref-portal .mam-ref-dashboard-hero,.mam-ref-portal .mam-ref-section,.mam-ref-portal .mam-ref-fee-stats,.mam-ref-portal .mam-ref-profile-grid,.mam-ref-portal .mam-ref-table-wrap{width:100%!important;max-width:none!important}.mam-ref-portal .mam-ref-profile-grid{grid-template-columns:minmax(260px,.75fr) minmax(0,1.5fr)!important;gap:18px!important}.mam-ref-portal .mam-ref-table-wrap{overflow-x:auto!important}.mam-ref-portal .mam-ref-table{width:100%!important;min-width:760px!important}.mam-ref-portal .mam-ref-nav-item,.mam-ref-portal .mam-ref-nav-item:hover,.mam-ref-portal .mam-ref-nav-item.active{text-decoration:none!important;border-bottom:0!important}@media(max-width:1200px){.mam-ref-portal .mam-ref-main{padding:22px 20px 30px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:minmax(0,1fr) repeat(3,minmax(110px,.55fr))!important}.mam-ref-portal .mam-ref-student-block{grid-template-columns:90px minmax(0,1fr)!important}.mam-ref-portal .mam-ref-student-extra{grid-column:1/-1!important;border-left:0!important;border-top:1px solid #dce7f2!important;padding:8px 0 0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.mam-ref-portal .mam-ref-big-photo{width:90px!important;height:90px!important}}@media(max-width:900px){.mam-ref-portal .mam-ref-main{margin-left:200px!important;padding:18px!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:28px!important}.mam-ref-portal .mam-ref-page-heading p{font-size:18px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-portal .mam-ref-student-block{grid-column:1/-1!important;grid-template-columns:100px minmax(0,1fr) minmax(0,1fr)!important}.mam-ref-portal .mam-ref-profile-grid{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:640px){.mam-ref-portal{left:0!important;width:100%!important;max-width:100%!important}.mam-ref-portal .mam-ref-page-heading{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}.mam-ref-portal .mam-ref-breadcrumb{margin-left:0!important;justify-content:flex-start!important;white-space:normal!important}.mam-ref-portal .mam-ref-main{margin-left:76px!important;padding:14px 10px 24px!important}.mam-ref-portal .mam-ref-dashboard-hero{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px!important}.mam-ref-portal .mam-ref-student-block{grid-column:1/-1!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important}.mam-ref-portal .mam-ref-big-photo{width:76px!important;height:76px!important}.mam-ref-portal .mam-ref-student-extra{grid-column:1/-1!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-portal .mam-ref-page-heading h1{font-size:28px!important}.mam-ref-portal .mam-ref-page-heading p{font-size:18px!important}.mam-ref-portal .mam-ref-fee-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-ref-portal .mam-ref-summary-tiles{grid-template-columns:1fr!important}}.mam-ref-portal .mam-ref-user-menu{position:relative;margin:0 0 0 auto;flex:0 0 auto;z-index:30}.mam-ref-portal .mam-ref-user-menu>summary{list-style:none;cursor:pointer;outline:none}.mam-ref-portal .mam-ref-user-menu>summary::-webkit-details-marker{display:none}.mam-ref-portal .mam-ref-user-menu[open] .mam-ref-chevron{transform:rotate(180deg)}.mam-ref-portal .mam-ref-user-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:220px;padding:14px;background:#fff;border:1px solid #dbe5f1;border-radius:10px;box-shadow:0 12px 30px rgba(15,35,70,.18);z-index:100}.mam-ref-portal .mam-ref-user-dropdown>strong,.mam-ref-portal .mam-ref-user-dropdown>small{display:block}.mam-ref-portal .mam-ref-user-dropdown>strong{font-size:14px;font-weight:700;color:#0f2346}.mam-ref-portal .mam-ref-user-dropdown>small{font-size:12px;color:#526684;margin:3px 0 12px}.mam-ref-portal .mam-ref-logout-link{display:flex;align-items:center;gap:9px;padding:10px 8px;border-top:1px solid #e8eef6;color:#263b59;text-decoration:none;font-size:14px;font-weight:600}.mam-ref-portal .mam-ref-logout-link span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;font-size:20px;line-height:1;transform:none;color:#dc3545}.mam-ref-portal .mam-ref-section-heading h2{font-size:20px!important;font-weight:600!important}.mam-ref-portal .mam-ref-section-heading h2 span{font-size:22px!important}.mam-ref-portal .mam-ref-summary-tiles strong{font-size:28px!important;font-weight:600!important}.mam-ref-portal .mam-ref-user-menu[open] .mam-ref-header-user{outline:2px solid #dbeafe;outline-offset:4px;border-radius:8px}@media(max-width:600px){.mam-ref-portal .mam-ref-user-dropdown{right:0;width:190px}.mam-ref-portal .mam-ref-user-menu .mam-ref-header-user>div{display:none!important}}.mam-ref-portal .mam-ref-exam-grid{grid-template-columns:minmax(0,1fr)!important;align-items:start!important}.mam-ref-portal .mam-ref-exam-grid>.mam-ref-section{width:100%!important;min-width:0!important}.mam-ref-portal .mam-ref-student-id-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:16px!important}.mam-ref-portal .mam-ref-student-id-card .mam-portal-id-wrap{width:100%!important;max-width:500px!important;display:flex!important;flex-direction:column!important;align-items:center!important}.mam-ref-portal .mam-ref-student-id-card .mam-portal-id-card{margin:0 auto!important}.mam-ref-portal .mam-ref-id-download{display:flex!important;justify-content:center!important;width:100%!important}.mam-ref-portal .mam-ref-id-download .mam-ref-btn{min-width:130px!important;text-align:center!important}@media print{.mam-ref-portal .mam-ref-id-download{display:none!important}.mam-ref-portal .mam-ref-student-id-card{background:#fff!important}}.mam-ref-portal .mam-ref-student-id-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:16px!important}.mam-ref-portal .mam-ref-student-id-card .mam-portal-id-wrap{width:100%!important;max-width:500px!important;display:flex!important;flex-direction:column!important;align-items:center!important}.mam-ref-portal .mam-ref-student-id-card .mam-portal-id-card{margin:0 auto!important}.mam-ref-portal .mam-ref-id-download{display:flex!important;justify-content:center!important;width:100%!important}.mam-ref-portal .mam-ref-id-download .mam-ref-btn{min-width:130px!important;text-align:center!important}@media print{.mam-ref-portal .mam-ref-id-download{display:none!important}.mam-ref-portal .mam-ref-student-id-card{background:#fff!important}}.mam-staff-ref-portal .mam-ref-main{background:linear-gradient(135deg,#e5f2ff 0%,#f5fbff 100%)}.mam-staff-dashboard-welcome{display:flex;align-items:center;gap:24px;padding:22px 28px;margin:16px 0 20px;background:linear-gradient(110deg,#d4eaff,#edf7ff 60%,#c8e4ff);border:8px solid #fff;border-radius:16px;box-shadow:0 5px 18px #173c6510}.mam-staff-dashboard-avatar{width:112px;height:112px;flex:0 0 112px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#c7e4ff;color:#08145c;font-size:54px;font-weight:700;overflow:hidden}.mam-staff-dashboard-avatar img,.mam-staff-profile-avatar img{width:100%;height:100%;object-fit:cover}.mam-staff-welcome-copy{flex:1}.mam-staff-welcome-copy>span{display:block;color:#405778;font-size:18px}.mam-staff-welcome-copy h2{display:inline-block;margin:2px 12px 4px 0!important;font-size:32px!important;color:#07145b}.mam-staff-welcome-copy>b,.mam-staff-designation-badge{display:inline-block;padding:7px 13px;border-radius:9px;background:#d1e8ff;color:#09165a}.mam-staff-welcome-copy p{margin:5px 0 0;color:#405778}.mam-staff-today{display:flex;align-items:center;gap:14px;color:#15245e}.mam-staff-today>strong{padding:18px;border-radius:15px;background:#e0f0ff;color:#0877e9;font-size:28px}.mam-staff-today span,.mam-staff-today b{display:block}.mam-staff-today b{font-size:18px;margin:3px 0}.mam-staff-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.mam-staff-dashboard-stats>div,.mam-student-summary-card{display:flex;align-items:center;gap:16px;padding:20px;border:7px solid #fff;border-radius:15px;box-shadow:0 4px 14px #18395b0a;color:#0a175d}.mam-staff-dashboard-stats>div>span,.mam-student-summary-card>span{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:14px;background:#ffffffa8;font-size:30px}.mam-staff-dashboard-stats .blue,.mam-student-summary-card.blue{background:#e5f2ff}.mam-staff-dashboard-stats .green,.mam-student-summary-card.green{background:#e1faed}.mam-staff-dashboard-stats .purple,.mam-student-summary-card.purple{background:#f5eaff}.mam-staff-dashboard-stats .red{background:#ffeded}.mam-staff-dashboard-stats strong,.mam-staff-dashboard-stats small{display:block}.mam-staff-dashboard-stats strong{font-size:30px;line-height:1.35}.mam-staff-dashboard-stats small{color:#465b7a}.mam-staff-dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mam-staff-dashboard-panel,.mam-staff-profile-panel,.mam-staff-profile-summary{background:#fff;border-radius:14px;padding:22px;box-shadow:0 4px 18px #173c6510}.mam-staff-dashboard-panel h3,.mam-staff-profile-panel h3{margin:0 0 18px;padding:12px 14px;border-radius:9px;background:#e6f3ff;color:#07145b;font-size:20px}.mam-staff-activity-row{display:flex;align-items:center;gap:12px;padding:13px 8px;border-bottom:1px solid #e5edf5;color:#344968}.mam-staff-activity-row>span{padding:12px;border-radius:10px;background:#e2f1ff}.mam-staff-activity-row div{flex:1}.mam-staff-activity-row strong{display:block;color:#0b1757;margin-top:4px}.mam-staff-status{display:inline-block;padding:6px 12px;border-radius:8px;background:#d9f8e6;color:#078b3c;font-weight:600;white-space:nowrap}.mam-staff-profile-layout{display:grid;grid-template-columns:minmax(260px,31%) 1fr;gap:18px;align-items:stretch}.mam-staff-profile-summary{text-align:center;padding:28px 22px}.mam-staff-profile-avatar{width:132px;height:132px;margin:0 auto 10px;border:5px solid white;box-shadow:0 0 0 1px #d8e8f7;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#c5e4ff,#f1f8ff);font-size:54px;font-weight:700;color:#07145b;overflow:hidden}.mam-staff-profile-summary h2{margin:8px 0!important;color:#07145b;font-size:26px!important}.mam-staff-profile-facts{text-align:left;margin-top:24px}.mam-staff-profile-facts>div{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid #e8eef5;color:#0877e9}.mam-staff-profile-facts>div>b{width:24px}.mam-staff-profile-facts span{color:#465b7a}.mam-staff-profile-facts strong{display:block;color:#0a175d;margin-top:4px}.mam-staff-active-status{font-style:normal;color:#c23}.mam-staff-active-status.is-active{display:inline-block;padding:6px 14px;border-radius:8px;background:#d7f8e5;color:#07903c}.mam-staff-profile-details{display:flex;flex-direction:column;gap:18px}.mam-staff-info-table{border:1px solid #e2ebf4;border-radius:10px;overflow:hidden}.mam-staff-info-table>div{display:grid;grid-template-columns:minmax(150px,36%) 1fr;min-height:40px}.mam-staff-info-table>div:nth-child(odd){background:#f0f7fd}.mam-staff-info-table span,.mam-staff-info-table strong{padding:10px 14px;color:#405777;font-weight:400}.mam-staff-info-table strong{color:#101b54;border-left:1px solid #e2ebf4;font-weight:500}.mam-student-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 16px}.mam-student-summary-card{padding:16px 20px}.mam-student-summary-card div{flex:1}.mam-student-summary-card strong{display:block;font-size:28px;color:#07145b}.mam-staff-student-filters{display:grid;grid-template-columns:1fr 1fr 2fr auto auto;gap:12px;align-items:end;margin-bottom:20px}.mam-staff-student-filters label{display:flex;flex-direction:column;gap:7px;color:#405777}.mam-staff-student-filters input,.mam-staff-student-filters select{width:100%;min-height:44px;border:1px solid #cad9e8;border-radius:7px;background:#fff;padding:9px 12px;color:#0b1757}.mam-staff-student-filters .mam-ref-btn{min-height:44px}.mam-staff-export-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #4ac77c;border-radius:8px;background:#e6fff0;color:#11944a;text-decoration:none;font-weight:600;white-space:nowrap}.mam-staff-students-card .mam-portal-table table{width:100%;border-collapse:collapse}.mam-staff-students-card .mam-portal-table th{background:#e2f2ff;color:#09165a}.mam-staff-students-card .mam-portal-table th,.mam-staff-students-card .mam-portal-table td{padding:10px 12px;border:1px solid #e2ebf4}.mam-staff-students-card .mam-portal-table tbody tr:nth-child(even){background:#f5faff}.mam-staff-view-student{border:1px solid #c5e1f9;border-radius:7px;background:#dcedff;color:#0877e9;padding:6px 13px;cursor:pointer}.mam-staff-student-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:18px;color:#405777}.mam-staff-student-pagination>div{display:flex;gap:4px;flex-wrap:wrap}.mam-staff-student-pagination a{padding:8px 12px;border:1px solid #dce8f2;border-radius:7px;color:#1b3264;text-decoration:none}.mam-staff-student-pagination a.active{background:#087cf5;color:#fff;border-color:#087cf5}.mam-staff-student-modal{position:fixed;inset:0;z-index:99999;background:#07142c99;display:flex;align-items:center;justify-content:center;padding:20px}.mam-staff-student-modal[hidden]{display:none}.mam-staff-student-modal-box{position:relative;background:#fff;border-radius:14px;padding:25px;max-width:520px;width:100%;box-shadow:0 15px 60px #0003}.mam-staff-modal-close{float:right;border:0;background:transparent;font-size:28px;cursor:pointer}.mam-staff-modal-content p{padding:9px;border-bottom:1px solid #e7edf4;margin:0}.mam-staff-modal-content strong{display:inline-block;min-width:130px;color:#465b7a}@media(max-width:1000px){.mam-staff-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-dashboard-lower{grid-template-columns:1fr}.mam-staff-student-filters{grid-template-columns:1fr 1fr}.mam-staff-student-search{grid-column:span 2}.mam-staff-profile-layout{grid-template-columns:1fr}.mam-staff-profile-summary{max-width:none}}@media(max-width:600px){.mam-staff-dashboard-welcome{flex-wrap:wrap;padding:15px}.mam-staff-dashboard-avatar{width:72px;height:72px;flex-basis:72px;font-size:34px}.mam-staff-welcome-copy h2{font-size:24px!important}.mam-staff-today{width:100%}.mam-staff-dashboard-stats,.mam-student-summary{grid-template-columns:1fr}.mam-staff-dashboard-stats>div{padding:12px}.mam-staff-student-filters{grid-template-columns:1fr}.mam-staff-student-search{grid-column:auto}.mam-staff-student-pagination{align-items:flex-start;flex-direction:column}.mam-staff-info-table>div{grid-template-columns:42% 1fr}.mam-staff-profile-summary{padding:20px 15px}}.mam-staff-ref-sidebar .mam-ref-sidebar-brand{display:flex;align-items:center;gap:12px;padding:20px 18px;color:#fff;font-weight:700;font-size:18px}.mam-staff-ref-sidebar .mam-ref-sidebar-nav{display:flex;flex-direction:column;gap:5px;padding:8px 10px}.mam-staff-ref-sidebar .mam-ref-side-link{display:flex;align-items:center;gap:14px;padding:13px 14px;border-radius:9px;color:#fff;text-decoration:none;font-size:15px}.mam-staff-ref-sidebar .mam-ref-side-link.active{background:#087cf5}.mam-staff-ref-sidebar .mam-ref-side-icon{width:26px;text-align:center;font-size:20px}.mam-staff-ref-sidebar .mam-ref-side-logout{margin-top:10px;color:#ffb4b4}.mam-staff-class-stats,.mam-staff-attendance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 16px}.mam-staff-attendance-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.mam-staff-class-stats .class-stat,.mam-staff-attendance-stats .att-stat{display:flex;align-items:center;gap:12px;min-height:105px;padding:16px;border:1px solid #e1edf8;border-radius:11px;background:#fff;box-shadow:0 3px 12px #123b5d0a}.mam-staff-class-stats .class-stat>span,.mam-staff-attendance-stats .att-stat>span{display:flex;align-items:center;justify-content:center;min-width:56px;height:58px;border-radius:10px;background:#e3f0ff;color:#087cf5;font-size:26px}.mam-staff-class-stats strong,.mam-staff-attendance-stats strong{display:block;font-size:23px;color:#11145f;margin-top:3px}.mam-staff-class-stats small{display:block;color:#34476a;margin-top:3px}.mam-staff-class-stats .amber>span,.mam-staff-attendance-stats .amber>span{background:#fff2d9;color:#e69a00}.mam-staff-class-stats .green>span,.mam-staff-attendance-stats .green>span{background:#dcfce7;color:#16a34a}.mam-staff-class-stats .purple>span,.mam-staff-attendance-stats .purple>span{background:#f3e8ff;color:#9333ea}.mam-staff-attendance-stats .red>span{background:#ffe4e6;color:#e11d48}.mam-staff-class-stats .sky>span{background:#e0f2fe;color:#0284c7}.mam-staff-class-schedule .mam-portal-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.mam-staff-class-schedule .mam-portal-card-head form{display:flex;gap:12px;align-items:center}.mam-staff-class-schedule label{font-size:12px;color:#40516d}.mam-staff-class-schedule select{display:block;min-width:130px;padding:8px 10px;border:1px solid #cbd9e8;border-radius:6px;background:#fff}.mam-staff-class-schedule tr.is-live{background:#dcfce7}.mam-staff-class-status{display:inline-block;padding:5px 10px;border-radius:6px;background:#dbeafe;color:#0759b7;white-space:nowrap}.mam-staff-class-status.live-now{background:#16a34a;color:#fff}.mam-staff-class-status.completed{background:#e2e8f0;color:#475569}.mam-staff-attendance-stats .att-stat{min-height:82px;padding:12px}.mam-staff-attendance-stats .att-stat>span{min-width:45px;height:48px;font-size:22px}@media(max-width:900px){.mam-staff-class-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.mam-staff-class-schedule .mam-portal-card-head form{width:100%;flex-wrap:wrap}}@media(max-width:560px){.mam-staff-class-stats,.mam-staff-attendance-stats{grid-template-columns:1fr 1fr}.mam-staff-class-stats .class-stat{padding:10px;gap:8px}.mam-staff-class-stats .class-stat>span{min-width:40px;height:42px;font-size:20px}.mam-staff-class-stats strong{font-size:18px}}.mam-staff-ref-portal .mam-ref-sidebar{background:#12345a!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-sidebar-brand{padding:4px 8px 16px!important;margin:0 0 12px!important;gap:10px!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-sidebar-brand-text{font-size:14px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:0!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-nav{display:flex!important;flex-direction:column!important;gap:4px!important;margin-top:0!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-nav-item{display:flex!important;align-items:center!important;gap:10px!important;min-height:40px!important;padding:9px 10px!important;margin:0!important;border:0!important;border-bottom:0!important;border-radius:7px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:1.35!important;font-weight:600!important;text-decoration:none!important;color:#fff!important;box-sizing:border-box!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-nav-item:hover{background:rgba(255,255,255,.12)!important;text-decoration:none!important;border-bottom:0!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-nav-item.active{background:#087cf5!important;color:#fff!important;text-decoration:none!important;border-bottom:0!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-nav-icon{width:18px!important;min-width:18px!important;flex:0 0 18px!important;font-size:16px!important;text-align:center!important}.mam-staff-ref-portal .mam-staff-ref-sidebar .mam-ref-side-logout{margin-top:4px!important;color:#ffb4b4!important}.mam-staff-exam-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.mam-staff-exam-stats .exam-stat{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid #e0eaf5;border-radius:9px;background:#fff;box-shadow:0 2px 8px rgba(30,70,110,.05);color:#0b1762}.mam-staff-exam-stats .exam-stat>span{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;border-radius:9px;background:#e6f1ff;font-size:27px;color:#087cf5}.mam-staff-exam-stats .exam-stat>div{font-size:13px;min-width:0}.mam-staff-exam-stats .exam-stat strong{display:block;font-size:24px;line-height:1.25;margin-top:3px;color:#09165e}.mam-staff-exam-stats .exam-stat small{display:block;margin-top:4px;font-size:12px}.mam-staff-exam-stats .exam-stat.purple>span{background:#f2e5ff;color:#8b16dc}.mam-staff-exam-stats .exam-stat.green>span{background:#dff9e9;color:#079b4d}.mam-staff-exam-stats .exam-stat.red>span{background:#ffe5e8;color:#ed2340}.mam-staff-exam-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;margin:0 0 14px;padding:16px;background:#fff;border:1px solid #e0eaf5;border-radius:9px}.mam-staff-exam-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#334b78}.mam-staff-exam-filters select{width:100%;min-height:40px;border:1px solid #d4e0ee;border-radius:6px;padding:8px 10px;background:#fff;color:#111b5b;font-size:13px}.mam-staff-exam-filters .mam-portal-button{min-height:40px;white-space:nowrap;margin:0}.mam-staff-exam-schedule .mam-portal-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mam-staff-exam-schedule .mam-portal-card-head h3{margin:0}.mam-staff-exam-schedule .mam-portal-card-head>span{font-size:12px;color:#52668a}.mam-staff-exam-schedule .mam-portal-table th{background:#e5f3ff;color:#10185f}.mam-staff-exam-name{display:inline-block;padding:5px 9px;border-radius:5px;background:#087cf5;color:#fff;font-size:12px;font-weight:600}.mam-staff-exam-status{display:inline-block;padding:5px 9px;border-radius:5px;font-size:12px;font-weight:600;white-space:nowrap}.mam-staff-exam-status.upcoming{background:#d9edff;color:#0766c7}.mam-staff-exam-status.completed{background:#e2e8f0;color:#475569}@media(max-width:1000px){.mam-staff-exam-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-exam-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mam-staff-exam-stats{grid-template-columns:1fr}.mam-staff-exam-filters{grid-template-columns:1fr}.mam-staff-exam-stats .exam-stat>span{flex-basis:46px;width:46px;height:46px}}.mam-staff-attendance-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(285px,.82fr);gap:14px;align-items:start;margin-top:14px}.mam-staff-attendance-main-grid .mam-portal-card{min-width:0}.mam-staff-attendance-right{display:grid;gap:12px;min-width:0}.mam-staff-attendance-entry .mam-portal-card-head,.mam-staff-attendance-right .mam-portal-card-head,.mam-staff-attendance-reports .mam-portal-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:nowrap}.mam-staff-attendance-filter{display:grid;grid-template-columns:minmax(120px,1fr) minmax(130px,1.1fr) minmax(100px,.8fr) minmax(135px,1fr) auto;gap:8px;align-items:end;margin:12px 0 16px;padding:10px;background:#f7fbff;border:1px solid #e2edf8;border-radius:9px}.mam-staff-attendance-filter label{min-width:0}.mam-staff-attendance-right .mam-portal-card-head h3{font-size:14px;line-height:1.3;min-width:0;overflow-wrap:anywhere;margin:0}.mam-staff-attendance-right .mam-attendance-view{flex:0 0 auto;white-space:nowrap;padding:6px 10px;font-size:12px;line-height:1.2;min-height:30px}.mam-staff-attendance-filter label{display:flex;flex-direction:column;gap:5px;color:#334a6d;font-size:12px}.mam-staff-attendance-filter select,.mam-staff-attendance-filter input{width:100%;min-height:38px;padding:7px 9px;border:1px solid #d4e1ef;border-radius:6px;background:#fff;color:#101b69}.mam-staff-attendance-filter button{min-height:38px;white-space:nowrap}.mam-staff-attendance-table{overflow-x:auto}.mam-staff-attendance-table table{min-width:690px}.mam-staff-attendance-table th,.mam-staff-attendance-table td{padding:8px 7px}.mam-attendance-choice{display:inline-flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap}.mam-attendance-choice input{margin:0;accent-color:#16a34a}.mam-attendance-choice.absent{color:#dc2626}.mam-attendance-choice.absent input{accent-color:#dc2626}.mam-attendance-choice.leave{color:#2563eb}.mam-attendance-choice.leave input{accent-color:#2563eb}.mam-attendance-remark{width:100%;min-width:120px;padding:7px;border:1px solid #d5e1ef;border-radius:5px;font-size:12px}.mam-attendance-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px}.mam-attendance-form-footer>label{display:flex;align-items:center;gap:7px;color:#16365e;font-size:13px}.mam-attendance-save{background:#16a34a!important;border-color:#16a34a!important}.mam-staff-attendance-right .mam-portal-table{overflow-x:auto}.mam-staff-attendance-right table{min-width:360px;font-size:11px}.mam-staff-attendance-right th,.mam-staff-attendance-right td{padding:6px 5px}.mam-staff-attendance-right .mam-portal-card{padding:11px}.mam-staff-attendance-right .mam-portal-card{padding:14px}.mam-calendar-nav{display:flex;gap:5px}.mam-calendar-nav a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:28px;border:1px solid #d7e5f4;border-radius:6px;color:#087cf5;text-decoration:none;font-size:20px;background:#fff}.mam-calendar-month-title{display:block;margin:0 0 10px;color:#17365d;font-size:13px}.mam-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.mam-calendar-grid span{display:flex;align-items:center;justify-content:center;min-height:28px;border-radius:5px;font-size:11px}.mam-calendar-grid .day-name{font-weight:700;color:#334a6d;background:#eef6fd}.mam-calendar-grid .calendar-day{background:#fff;border:1px solid #e5edf5;color:#20395e}.mam-calendar-grid .calendar-day.weekly-holiday{background:#ffe7ea;color:#c6283d;border-color:#ffd2d8}.mam-calendar-grid .calendar-day.today{background:#dbeafe;border-color:#60a5fa;font-weight:700}.mam-calendar-grid .empty-day{border:0;background:transparent}.mam-attendance-calendar-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;color:#526b89;font-size:11px}.mam-attendance-calendar-legend span{display:flex;align-items:center;gap:5px}.mam-attendance-calendar-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.mam-attendance-calendar-legend .weekly-dot{background:#e11d48}.mam-attendance-calendar-legend .today-dot{background:#2563eb}.mam-staff-attendance-reports{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px}.mam-staff-attendance-reports .mam-portal-card{min-width:0}.mam-staff-attendance-reports .mam-portal-table{overflow-x:auto}.mam-staff-attendance-reports table{min-width:620px}.mam-staff-attendance-reports .mam-attendance-report-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:10px 0}.mam-staff-attendance-reports .mam-attendance-report-filter label{min-width:100px;flex:1}@media(max-width:1200px){.mam-staff-attendance-main-grid{grid-template-columns:minmax(0,1fr)}.mam-staff-attendance-right{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mam-staff-attendance-filter{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.mam-staff-attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-attendance-right,.mam-staff-attendance-reports{grid-template-columns:minmax(0,1fr)}.mam-staff-attendance-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-staff-attendance-filter button{width:100%}.mam-staff-attendance-right .mam-portal-card-head{flex-wrap:wrap}.mam-staff-attendance-reports table{min-width:620px}}.mam-staff-attendance-filter select,.mam-staff-attendance-filter input{box-sizing:border-box;min-width:0}.mam-staff-attendance-right .mam-portal-card-head .mam-attendance-view:hover{background:#075fc5;color:#fff}.mam-staff-attendance-right .mam-portal-card-head h3{color:#101b69}.mam-staff-attendance-filter input[name="attendance_date"]{min-width:130px;font-variant-numeric:tabular-nums}.mam-attendance-report-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.mam-attendance-report-filter label{min-width:125px;flex:1 1 125px}.mam-attendance-result{margin:12px 0;padding:11px 14px;border-radius:8px;font-weight:600}.mam-attendance-result.success{background:#dcfce7;color:#166534;border:1px solid #86efac}.mam-attendance-result.error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.mam-staff-attendance-badge.pending{display:inline-block;background:#fee2e2;color:#991b1b;border-radius:6px;padding:5px 9px;font-weight:600;white-space:nowrap}.mam-staff-attendance-right .mam-portal-button[disabled]{opacity:.75;cursor:not-allowed;white-space:nowrap}.mam-staff-attendance-filter input[type=date]{min-width:150px;cursor:pointer}.mam-ref-portal .mam-ref-password-card,.mam-staff-ref-portal .mam-staff-password-card{box-sizing:border-box!important;width:min(544px,100%)!important;max-width:544px!important;margin:84px auto 28px!important;padding:30px 32px 32px!important;border:1px solid #dce5ef!important;border-radius:13px!important;background:#fff!important;box-shadow:0 8px 22px rgba(18,48,83,.08)!important;text-align:center!important}.mam-ref-portal .mam-ref-password-card .mam-password-lock-icon,.mam-staff-ref-portal .mam-password-lock-icon{display:flex;align-items:center;justify-content:center;width:86px;height:86px;margin:0 auto 16px;border-radius:50%;background:#e5f0ff;color:#087cf5;font-size:36px}.mam-ref-portal .mam-ref-password-card h2,.mam-staff-ref-portal .mam-staff-password-card h2{margin:0 0 4px!important;color:#111d55!important;font-size:27px!important;line-height:1.25!important;font-weight:700!important;text-align:center!important}.mam-ref-portal .mam-password-subtitle,.mam-staff-ref-portal .mam-password-subtitle{margin:0 0 26px!important;color:#526987!important;font-size:16px!important;text-align:center!important}.mam-ref-portal .mam-ref-password-card form,.mam-staff-ref-portal .mam-staff-password-form{display:grid!important;gap:18px!important;text-align:left!important}.mam-ref-portal .mam-ref-password-card label,.mam-staff-ref-portal .mam-staff-password-form label{display:block!important;margin:0!important;color:#142746!important;font-size:14px!important;font-weight:700!important;text-align:left!important}.mam-ref-portal .mam-password-input-wrap{position:relative!important;display:block!important;margin-top:7px!important}.mam-ref-portal .mam-password-input-wrap input,.mam-staff-ref-portal .mam-password-input-wrap input{box-sizing:border-box!important;display:block!important;width:100%!important;height:54px!important;margin:0!important;padding:0 48px 0 15px!important;border:1px solid #cbd7e4!important;border-radius:8px!important;background:#fff!important;color:#172b4d!important;font-size:15px!important;box-shadow:none!important}.mam-ref-portal .mam-password-eye,.mam-staff-ref-portal .mam-password-eye{position:absolute!important;right:8px!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#6b829e!important;font-size:19px!important;cursor:pointer!important}.mam-ref-portal .mam-password-submit,.mam-staff-ref-portal .mam-password-submit{display:block!important;width:100%!important;min-height:54px!important;margin:4px 0 0!important;padding:12px 18px!important;border:0!important;border-radius:8px!important;background:#087cf5!important;color:#fff!important;font-size:16px!important;font-weight:700!important;text-align:center!important;cursor:pointer!important}.mam-ref-portal .mam-password-submit:hover,.mam-staff-ref-portal .mam-password-submit:hover{background:#0869d1!important;color:#fff!important}.mam-staff-ref-portal .mam-staff-password-card{margin-top:84px!important}.mam-staff-ref-portal .mam-staff-user-menu{position:relative!important;margin-left:auto!important;z-index:50!important;flex:0 0 auto!important}.mam-staff-ref-portal .mam-staff-user-menu>summary{list-style:none!important;cursor:pointer!important;outline:none!important}.mam-staff-ref-portal .mam-staff-user-menu>summary::-webkit-details-marker{display:none!important}.mam-staff-ref-portal .mam-staff-user-menu[open] .mam-ref-chevron{transform:rotate(180deg)!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-user-dropdown{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;width:220px!important;padding:14px!important;background:#fff!important;border:1px solid #dbe5f1!important;border-radius:10px!important;box-shadow:0 12px 30px rgba(15,35,70,.18)!important;z-index:100!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-user-dropdown>strong,.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-user-dropdown>small{display:block!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-user-dropdown>strong{font-size:14px!important;color:#0f2346!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-user-dropdown>small{font-size:12px!important;color:#526684!important;margin:3px 0 12px!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-logout-link{display:flex!important;align-items:center!important;gap:9px!important;padding:10px 8px!important;border-top:1px solid #e8eef6!important;color:#263b59!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-logout-link:hover{color:#087cf5!important}@media(max-width:650px){.mam-ref-portal .mam-ref-password-card,.mam-staff-ref-portal .mam-staff-password-card{width:100%!important;margin:32px auto 20px!important;padding:24px 18px!important}.mam-ref-portal .mam-ref-password-card h2,.mam-staff-ref-portal .mam-staff-password-card h2{font-size:23px!important}.mam-staff-ref-portal .mam-staff-user-menu .mam-ref-header-user>div{display:none!important}}.mam-ref-portal .mam-student-attendance-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 14px}.mam-ref-portal .mam-student-attendance-stats .att-stat{min-width:0;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e0eaf5;border-radius:9px;background:#fff;box-shadow:0 3px 12px rgba(23,63,105,.04)}.mam-ref-portal .mam-student-attendance-stats .att-stat>span{width:64px;height:64px;flex:0 0 64px;display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:32px;font-weight:800;background:#e6f2ff;color:#087cf5}.mam-ref-portal .mam-student-attendance-stats .att-stat div{display:flex;flex-direction:column;min-width:0;gap:2px}.mam-ref-portal .mam-student-attendance-stats small{font-size:15px;color:#172554;font-weight:600}.mam-ref-portal .mam-student-attendance-stats strong{font-size:30px;line-height:1.1;color:#111c7a}.mam-ref-portal .mam-student-attendance-stats em{font-size:13px;font-style:normal;color:#475569}.mam-ref-portal .mam-student-attendance-stats .present>span{background:#dcfce7;color:#16a34a}.mam-ref-portal .mam-student-attendance-stats .present strong{color:#16a34a}.mam-ref-portal .mam-student-attendance-stats .absent>span{background:#fee2e2;color:#ef4444}.mam-ref-portal .mam-student-attendance-stats .absent strong{color:#dc2626}.mam-ref-portal .mam-student-attendance-stats .leave>span{background:#fef3c7;color:#d97706}.mam-ref-portal .mam-student-attendance-stats .leave strong{color:#d97706}.mam-ref-portal .mam-student-attendance-stats .holidays>span{background:#f3e8ff;color:#9333ea}.mam-ref-portal .mam-student-attendance-stats .holidays strong{color:#6d28d9}.mam-ref-portal .mam-student-attendance-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:22px;padding:15px 18px;margin:0 0 14px;background:#fff;border:1px solid #e0eaf5;border-radius:9px}.mam-ref-portal .mam-student-attendance-filter label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#263b59;font-weight:500}.mam-ref-portal .mam-student-attendance-filter select{width:100%;height:46px;border:1px solid #cbd8e8;border-radius:6px;background:#fff;padding:0 13px;color:#111c7a;font-size:16px;font-weight:600}.mam-ref-portal .mam-student-attendance-filter .mam-ref-btn{height:46px;min-width:156px;display:flex;align-items:center;justify-content:center;margin:0;background:#087cf5;color:#fff;border:0;border-radius:6px;text-decoration:none;font-weight:700}.mam-ref-portal .mam-student-attendance-calendars{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:stretch}.mam-ref-portal .mam-student-attendance-calendar-panel,.mam-ref-portal .mam-student-holiday-calendar-panel{padding:14px!important;min-width:0;background:#fff;border:1px solid #e0eaf5;border-radius:10px;box-shadow:0 3px 12px rgba(23,63,105,.04)}.mam-ref-portal .mam-student-attendance-calendar-panel .mam-ref-card-title,.mam-ref-portal .mam-student-holiday-calendar-panel .mam-ref-card-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:0;border:0;background:transparent}.mam-ref-portal .mam-student-attendance-calendar-panel .mam-ref-card-title h2,.mam-ref-portal .mam-student-holiday-calendar-panel .mam-ref-card-title h2{font-size:21px!important;font-weight:700!important;color:#101b82;margin:0}.mam-ref-portal .mam-student-calendar-month{margin-left:auto;white-space:nowrap;padding:10px 12px;border-radius:9px;background:#e8f5ff;color:#14275d;font-size:14px;font-weight:700}.mam-ref-portal .mam-student-holiday-calendar-panel .mam-student-calendar-month{background:#f3e8ff;color:#4c1d95}.mam-ref-portal .mam-student-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #dbe5f1;border-left:1px solid #dbe5f1;overflow:hidden;border-radius:5px}.mam-ref-portal .mam-student-calendar-grid .weekday{display:flex;align-items:center;justify-content:center;min-height:39px;background:#e7f4fc;color:#111c7a;font-size:13px;font-weight:700;border-right:1px solid #dbe5f1;border-bottom:1px solid #dbe5f1}.mam-ref-portal .mam-student-calendar-grid .calendar-cell{position:relative;min-width:0;min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:10px 2px 5px;background:#fff;border-right:1px solid #dbe5f1;border-bottom:1px solid #dbe5f1;color:#111c7a;font-size:14px;font-weight:600;transition:background .15s ease}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.outside{color:#a8b3c2;background:#f8fafc}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.weekend{background:#f8fafc;color:#64748b}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.has-status.status-present,.mam-ref-portal .mam-student-calendar-grid .calendar-cell.has-status.status-late{background:#f0fdf4}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.has-status.status-absent{background:#fff1f2}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.has-status.status-leave{background:#fffbeb}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.today{outline:2px solid #60a5fa;outline-offset:-2px}.mam-ref-portal .mam-student-calendar-grid .attendance-dot{display:block;width:15px;height:15px;border-radius:50%;flex:0 0 15px}.mam-ref-portal .mam-student-calendar-grid .present-dot{background:#16b45b}.mam-ref-portal .mam-student-calendar-grid .absent-dot{background:#ef233c}.mam-ref-portal .mam-student-calendar-grid .leave-dot{background:#f5b400}.mam-ref-portal .mam-student-calendar-grid .unmarked-dot{background:#b8c2cf}.mam-ref-portal .mam-student-calendar-grid .calendar-cell[title]{cursor:help}.mam-ref-portal .mam-student-calendar-grid .calendar-cell[title]:hover{z-index:2;box-shadow:inset 0 0 0 2px #60a5fa;filter:brightness(.98)}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.holiday{background:#f4eaff;color:#3b168f}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.holiday small{font-size:10px;line-height:1.2;text-align:center;font-weight:700;overflow-wrap:anywhere}.mam-ref-portal .mam-student-attendance-legend,.mam-ref-portal .mam-student-holiday-legend{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:14px;padding:14px 8px;border-radius:7px;background:#eaf6ff;color:#172554;font-size:13px}.mam-ref-portal .mam-student-attendance-legend span,.mam-ref-portal .mam-student-holiday-legend span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.mam-ref-portal .mam-student-attendance-legend .attendance-dot,.mam-ref-portal .mam-student-holiday-legend i{width:13px;height:13px;border-radius:50%;display:inline-block;flex:0 0 13px}.mam-ref-portal .mam-student-holiday-legend{background:#f4eaff}.mam-ref-portal .mam-student-holiday-legend i{background:#9333ea}@media(max-width:1100px){.mam-ref-portal .mam-student-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.mam-ref-portal .mam-student-attendance-calendars{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.mam-ref-portal .mam-student-attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mam-ref-portal .mam-student-attendance-stats .att-stat{padding:10px;gap:8px}.mam-ref-portal .mam-student-attendance-stats .att-stat>span{width:42px;height:42px;flex-basis:42px;font-size:22px}.mam-ref-portal .mam-student-attendance-stats strong{font-size:23px}.mam-ref-portal .mam-student-attendance-stats small{font-size:12px}.mam-ref-portal .mam-student-attendance-filter{grid-template-columns:1fr;gap:12px;padding:12px}.mam-ref-portal .mam-student-attendance-filter .mam-ref-btn{width:100%}.mam-ref-portal .mam-student-calendar-month{font-size:11px;padding:7px}.mam-ref-portal .mam-student-attendance-calendar-panel,.mam-ref-portal .mam-student-holiday-calendar-panel{padding:9px!important}.mam-ref-portal .mam-student-attendance-calendar-panel .mam-ref-card-title h2,.mam-ref-portal .mam-student-holiday-calendar-panel .mam-ref-card-title h2{font-size:16px!important}.mam-ref-portal .mam-student-calendar-grid .calendar-cell{min-height:53px;padding-top:7px;font-size:12px;gap:7px}.mam-ref-portal .mam-student-calendar-grid .attendance-dot{width:10px;height:10px;flex-basis:10px}.mam-ref-portal .mam-student-calendar-grid .calendar-cell.holiday small{font-size:8px}.mam-ref-portal .mam-student-attendance-legend,.mam-ref-portal .mam-student-holiday-legend{gap:8px;font-size:11px;padding:10px 5px}}.mam-fee-item-row{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(95px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr);gap:10px;align-items:center;padding:10px 12px;margin:8px 0;border:1px solid #dbe5f0;border-radius:8px;background:#f8fbff}.mam-fee-item-row .mam-fee-item-check{display:flex;align-items:center;gap:8px;font-weight:700;color:#183153}.mam-fee-item-row .mam-fee-item-check input{width:16px;height:16px;margin:0}.mam-fee-item-row .mam-fee-item-due{font-size:12px;color:#d14b36;font-weight:700}.mam-fee-item-row label{font-size:11px;color:#475569;font-weight:700}.mam-fee-item-row input[type=number]{width:100%;height:34px;margin-top:4px;border:1px solid #d6dee9;border-radius:6px;padding:0 8px;background:#fff}.mam-fee-student-search{grid-column:1/-1}.mam-fee-search-input{border:1px solid #d6dee9!important;box-shadow:none!important;outline:0!important}.mam-fee-search-input:focus-within{border-color:#8bb8f5!important;box-shadow:0 0 0 1px #8bb8f5!important}@media(max-width:700px){.mam-fee-item-row{grid-template-columns:1fr 1fr}.mam-fee-item-row .mam-fee-item-check,.mam-fee-item-row .mam-fee-item-due{grid-column:1/-1}}.mam-fee-lookup-stage[hidden],.mam-fee-payment-stage[hidden],.mam-fee-student-card[hidden],.mam-fee-summary[hidden]{display:none!important}.mam-fee-modal-box{width:min(800px,96vw);padding:0;overflow:auto}.mam-fee-modal-box>#mam-fee-modal-title{display:block;background:#0750b5;color:#fff;padding:20px 62px 20px 24px;font-size:21px}.mam-fee-modal-box>.mam-fee-modal-close{color:#fff;top:12px;right:17px;z-index:2}.mam-fee-modal-box #mam-fee-form{padding:20px 22px 22px}.mam-fee-id-search{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:end;background:#f3f8ff;padding:12px;border-radius:8px}.mam-fee-id-search label{font-size:14px;font-weight:700;color:#152e62}.mam-fee-id-search input{display:block;width:100%;height:46px;margin-top:7px;border:1px solid #b9cbea;border-radius:7px;padding:0 13px;font-size:16px}.mam-fee-id-search button{height:46px!important}.mam-fee-lookup-status{padding:8px 4px;color:#53657f;font-size:13px}.mam-fee-student-card{display:grid;grid-template-columns:84px minmax(0,1fr) minmax(180px,.8fr);gap:14px;align-items:center;border:1px solid #dbe6f2;border-radius:8px;padding:16px;margin-top:10px}.mam-fee-avatar{width:76px;height:76px;border-radius:50%;background:#dcedff;color:#1266d9;display:grid;place-items:center;font-size:32px;font-weight:700}.mam-fee-student-main,.mam-fee-student-guardian{display:flex;flex-direction:column;gap:6px;color:#162d5d}.mam-fee-student-main strong{font-size:21px}.mam-fee-student-main span,.mam-fee-student-guardian span{font-size:13px}.mam-fee-student-guardian{border-left:1px solid #dbe6f2;padding-left:18px}.mam-fee-student-guardian strong{font-size:14px}.mam-fee-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#f7fbff;border:1px solid #dbe6f2;border-radius:8px;padding:14px;margin-top:12px}.mam-fee-summary h4{grid-column:1/-1;margin:0;color:#112d65;font-size:17px}.mam-fee-summary>div{padding:13px 8px;border-radius:7px;background:#e4f1ff;text-align:center;display:flex;flex-direction:column;gap:8px}.mam-fee-summary>div:nth-of-type(2){background:#e3f8eb}.mam-fee-summary>div:nth-of-type(3){background:#ffebeb}.mam-fee-summary span{font-size:13px}.mam-fee-summary strong{font-size:22px;color:#123f9b}.mam-fee-summary>div:nth-of-type(2) strong{color:#14833d}.mam-fee-summary>div:nth-of-type(3) strong{color:#d52b2b}.mam-fee-modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #e5eaf0}.mam-fee-modal-actions .button{height:43px!important;padding:0 18px!important;border-radius:7px!important}.mam-fee-modal-actions #mam-fee-continue{min-width:280px;justify-content:center}.mam-fee-payment-student{display:flex;flex-direction:column;gap:6px;background:#edf6ff;border-radius:8px;padding:12px 14px;margin-bottom:14px;color:#14326a}.mam-fee-payment-student strong{font-size:18px}.mam-fee-payment-student span{font-size:13px}.mam-fee-payment-stage h4{font-size:16px;color:#123b8d;margin:12px 0 8px}.mam-fee-items-table-wrap{overflow-x:auto;border:1px solid #dbe5f0;border-radius:7px}.mam-fee-items-table{width:100%;border-collapse:collapse;font-size:12px}.mam-fee-items-table th{background:#eaf4ff;color:#17356d;padding:9px 7px;text-align:left;white-space:nowrap}.mam-fee-items-table td{padding:8px 7px;border-top:1px solid #e5edf5;color:#172d5c}.mam-fee-items-table td input[type=number]{width:108px;height:34px;border:1px solid #cbd8e8;border-radius:5px;padding:0 7px}.mam-fee-items-table td input[type=number]:disabled{background:#eef1f5}.mam-fee-payable{text-align:right;padding:12px;background:#e4f2ff;color:#123c92;font-weight:700;font-size:16px}.mam-fee-history-list table{width:100%;border-collapse:collapse;font-size:12px}.mam-fee-history-list th,.mam-fee-history-list td{padding:7px;border-bottom:1px solid #e5edf5;text-align:left}.mam-fee-filter{grid-template-columns:1fr 1fr 1fr 1.15fr auto auto}@media(max-width:700px){.mam-fee-id-search{grid-template-columns:1fr}.mam-fee-student-card{grid-template-columns:64px 1fr}.mam-fee-avatar{width:58px;height:58px}.mam-fee-student-guardian{grid-column:1/-1;border-left:0;border-top:1px solid #dbe6f2;padding:10px 0 0}.mam-fee-summary{grid-template-columns:1fr}.mam-fee-modal-actions #mam-fee-continue{min-width:0}.mam-fee-filter{grid-template-columns:1fr}}.mam-fees-actions .button{justify-content:center;text-align:center;line-height:1.2;box-shadow:0 3px 8px rgba(16,48,92,.12);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.mam-fees-actions .button .dashicons{color:currentColor!important;flex:0 0 auto;line-height:1;display:inline-flex;align-items:center;justify-content:center}.mam-fees-actions .mam-fee-open{background:linear-gradient(135deg,#1269e8,#084cb8)!important;color:#fff!important;border-color:#084cb8!important}.mam-fees-actions .mam-fee-bulk-open{background:linear-gradient(135deg,#0b8d62,#06734d)!important;color:#fff!important;border-color:#06734d!important}.mam-fees-actions .mam-fee-export-toggle{background:#fff!important;color:#24415f!important;border-color:#cbd8e8!important}.mam-fees-actions .button:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(16,48,92,.18)}.mam-fee-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:6px}.mam-fee-row-actions .button{display:inline-flex;align-items:center;justify-content:center;text-align:center;vertical-align:middle;line-height:1;padding:0 10px;min-width:54px;font-weight:700;box-shadow:0 2px 5px rgba(15,45,85,.12)}.mam-fee-row-actions .mam-row-collect{background:#1269e8!important;border-color:#1269e8!important;color:#fff!important}.mam-fee-row-actions .mam-row-view{background:#52677f!important;border-color:#52677f!important;color:#fff!important}.mam-fee-row-actions .mam-row-receipt{background:#078b59!important;border-color:#078b59!important;color:#fff!important}.mam-fee-row-actions .button:hover{filter:brightness(.94)}.mam-fee-items-table td input.mam-fee-pay-amount{background:#fff!important;color:#102a56!important;opacity:1!important;cursor:text;pointer-events:auto}.mam-fee-items-table td input.mam-fee-total-override{background:#fff!important;color:#102a56!important}.mam-fee-history-list{max-height:330px;overflow:auto}.mam-fee-history-list table{width:100%;border-collapse:collapse}.mam-fee-history-list th{position:sticky;top:0;background:#eaf4ff;color:#17356d}.mam-fee-payment-stage [hidden]{display:none!important}.mam-fee-modal-box{width:min(700px,94vw)!important;max-height:88vh!important}.mam-fee-modal-box>#mam-fee-modal-title{padding:13px 52px 13px 18px!important;font-size:18px!important}.mam-fee-modal-box #mam-fee-form{padding:14px 16px 16px!important}.mam-fee-payment-stage-head{display:flex;align-items:stretch;justify-content:space-between;gap:10px;margin-bottom:8px}.mam-fee-payment-student{flex:1;margin-bottom:0!important;padding:9px 11px!important;gap:4px!important}.mam-fee-payment-student strong{font-size:15px!important}.mam-fee-academic-year{min-width:105px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#e7f2ff;border:1px solid #cfe2ff;border-radius:8px;padding:8px 10px;color:#173d85}.mam-fee-academic-year small{font-size:10px}.mam-fee-academic-year strong{font-size:21px;line-height:1.2}.mam-fee-payment-stage h4{font-size:14px!important;margin:8px 0 6px!important}.mam-fee-items-table{font-size:11px!important}.mam-fee-items-table th{padding:7px 6px!important}.mam-fee-items-table td{padding:5px 6px!important}.mam-fee-items-table td input[type=number]{width:88px;height:30px!important}.mam-fee-summary{padding:9px!important;gap:7px!important;margin-top:8px!important}.mam-fee-summary>div{padding:8px 6px!important;gap:4px!important}.mam-fee-summary strong{font-size:17px!important}.mam-fee-modal-grid{gap:8px 10px!important}.mam-fee-modal-grid input,.mam-fee-modal-grid select{height:33px!important;margin-top:3px!important}.mam-fee-modal-actions{margin-top:10px!important;padding-top:9px!important;gap:7px!important}.mam-fee-modal-actions .button{height:36px!important;padding:0 12px!important}@media(max-width:700px){.mam-fee-payment-stage-head{flex-direction:column}.mam-fee-academic-year{align-items:flex-start}.mam-fee-modal-box{width:96vw!important}}.mam-fee-history-list .mam-payment-actions{white-space:nowrap}.mam-fee-history-list .mam-payment-actions button{margin:2px;padding:5px 9px;border:0;border-radius:5px;color:#fff;cursor:pointer;font-size:11px;font-weight:700}.mam-fee-history-list .mam-payment-edit{background:#1677ee}.mam-fee-history-list .mam-payment-delete{background:#d93445}.mam-fee-history-list .mam-payment-actions button:hover{filter:brightness(.92)}.mam-fee-modal{align-items:center!important}.mam-fee-modal-box{transform:translateY(22px);max-height:86vh!important}.mam-fee-modal-box>#mam-fee-modal-title{min-height:46px;box-sizing:border-box;padding:11px 112px 11px 18px!important;font-size:18px!important;line-height:24px!important}.mam-fee-modal-box>.mam-fee-modal-close-top{position:absolute;right:10px;top:5px;z-index:3;height:34px;min-width:76px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 8px;border:1px solid rgba(255,255,255,.42);border-radius:6px;background:transparent;color:#fff;font-size:14px;line-height:1}.mam-fee-modal-box>.mam-fee-modal-close-top span{display:inline-flex;align-items:center;justify-content:center;line-height:1}.mam-fee-modal-box>.mam-fee-modal-close-top [aria-hidden="true"]{font-size:22px}.mam-fee-items-table th{padding:5px 6px!important;line-height:1.2!important;font-size:11px!important}.mam-fee-items-table td{padding:3px 6px!important;line-height:1.15!important;font-size:11px!important}.mam-fee-items-table td input[type=number]{height:27px!important;min-height:27px!important;padding:0 6px!important;font-size:11px!important}.mam-fee-items-table td input[type=number]:disabled{background:#edf0f4!important;color:#8793a5!important;opacity:.8;cursor:not-allowed!important;pointer-events:none!important;border-color:#e1e6ed!important}.mam-fee-payment-stage h4{margin:7px 0 5px!important;font-size:13px!important}.mam-fee-history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.mam-fee-history-heading h4{margin:0!important}.mam-history-download{min-height:30px!important;height:30px!important;padding:0 10px!important;font-size:11px!important;white-space:nowrap}.mam-fee-history-list th{background:#eaf4ff;color:#17356d;padding:5px 6px!important;line-height:1.2;font-size:11px}.mam-fee-history-list td{padding:5px 6px!important;font-size:11px;line-height:1.2}.mam-fee-modal-grid{gap:8px 10px!important}.mam-fee-modal-grid input,.mam-fee-modal-grid select{height:32px!important;margin-top:3px!important}.mam-fee-modal-actions{margin-top:9px!important;padding-top:8px!important;gap:7px!important}.mam-fee-modal-actions .button{height:34px!important;display:inline-flex;align-items:center;justify-content:center;line-height:1!important}.mam-fee-modal-box #mam-fee-form{padding:12px 16px 14px!important}.mam-fee-payment-student{padding:8px 10px!important;margin-bottom:8px!important;gap:3px!important}.mam-fee-payment-student strong{font-size:15px!important}.mam-fee-payment-student span{font-size:11px!important}.mam-fee-payment-stage-head{gap:8px!important;margin-bottom:7px!important}.mam-fee-academic-year{padding:6px 9px!important}.mam-fee-academic-year small{font-size:10px!important}.mam-fee-academic-year strong{font-size:19px!important}@media(max-width:700px){.mam-fee-modal-box{transform:translateY(8px)}.mam-fee-modal-box>#mam-fee-modal-title{padding-right:96px!important}.mam-fee-modal-box>.mam-fee-modal-close-top{min-width:70px;right:7px;top:5px}.mam-fee-history-heading{align-items:flex-start;flex-direction:column}}.mam-fee-payment-stage-head{align-items:stretch!important}.mam-fee-payment-student{min-height:64px;justify-content:center!important}.mam-fee-academic-year{min-height:64px!important;align-self:stretch!important;box-sizing:border-box;min-width:112px!important;padding:5px 10px!important}.mam-fee-academic-year small{line-height:1.2!important}.mam-fee-academic-year strong{line-height:1.15!important}.mam-fee-items-table td.mam-fee-paid{color:#168344!important;font-weight:700!important;white-space:nowrap}.mam-fee-items-table td.mam-fee-due{color:#d92d35!important;font-weight:700!important;white-space:nowrap}.mam-fee-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px 9px!important}.mam-fee-modal-grid label{display:block;min-width:0;font-size:11px!important}.mam-fee-modal-grid label em{color:#d92d35;font-style:normal;font-weight:800}.mam-fee-modal-grid input,.mam-fee-modal-grid select{height:31px!important;min-width:0;padding:0 8px!important;font-size:12px!important}.mam-fee-modal-actions{align-items:center!important;margin-top:8px!important;padding-top:8px!important}.mam-fee-modal-actions .button{height:32px!important;min-height:32px!important;padding:0 13px!important;font-size:12px!important;font-weight:700!important}.mam-fee-modal-actions #mam-fee-back{margin-right:auto!important;background:#f1f5f9!important;color:#334155!important;border:1px solid #d5deea!important}.mam-fee-modal-actions #mam-fee-save{background:#0969e8!important;border-color:#0969e8!important;color:#fff!important;box-shadow:0 3px 8px #0969e833!important}.mam-fee-modal-box>.mam-fee-modal-close-top{height:30px!important;min-width:68px!important;top:7px!important;right:9px!important;padding:0 7px!important;font-size:12px!important}.mam-fee-modal-box>#mam-fee-modal-title{padding-right:100px!important}.mam-fee-success-modal{display:none;position:fixed;inset:0;z-index:100100;background:rgba(15,23,42,.55);align-items:center;justify-content:center;padding:18px}.mam-fee-success-modal.open{display:flex}.mam-fee-success-box{width:min(340px,92vw);background:#fff;border-radius:14px;padding:25px 24px 22px;text-align:center;box-shadow:0 18px 60px #0003;border:1px solid #e2e8f0}.mam-fee-success-icon{width:48px;height:48px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#dcfce7;color:#168344;font-size:28px;font-weight:800}.mam-fee-success-box h3{font-size:19px;margin:0 0 7px;color:#12305b}.mam-fee-success-box p{margin:0 0 18px;color:#64748b;font-size:13px}.mam-fee-success-box #mam-fee-success-ok{min-width:92px;height:34px;background:#0969e8!important;border-color:#0969e8!important;color:#fff!important;border-radius:7px;font-weight:700}@media(max-width:700px){.mam-fee-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-fee-payment-stage-head{flex-direction:row!important}.mam-fee-academic-year{min-width:92px!important}.mam-fee-modal-box{transform:translateY(8px)!important}}@media(max-width:460px){.mam-fee-modal-grid{grid-template-columns:1fr!important}.mam-fee-payment-stage-head{flex-direction:column!important}.mam-fee-academic-year{align-items:center!important}}
.mam-admin-attendance-page{color:#172554}.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.mam-admin-attendance-page .mam-attendance-stat{min-height:76px;padding:11px 13px;gap:10px;border-radius:10px}.mam-admin-attendance-page .mam-attendance-stat-icon{width:42px;height:42px;flex-basis:42px;background:rgba(255,255,255,.8)}.mam-admin-attendance-page .mam-attendance-stat-icon .dashicons{font-size:24px;width:24px;height:24px}.mam-admin-attendance-page .mam-attendance-stat.leave{background:#fff4df}.mam-admin-attendance-page .mam-attendance-stat.leave .mam-attendance-stat-icon{color:#d99000}.mam-admin-attendance-page .mam-attendance-stat strong{font-size:24px}.mam-admin-attendance-page .mam-attendance-filter form{grid-template-columns:1fr 1.1fr 1fr 1fr auto;gap:10px}.mam-admin-attendance-page .mam-attendance-admin-main-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(310px,1fr);gap:14px;align-items:start;margin:0 0 16px}.mam-admin-attendance-page .mam-portal-card{background:#fff;border:1px solid #dbe7f2;border-radius:10px;box-shadow:0 3px 12px rgba(26,64,102,.045);overflow:hidden;margin:0 0 14px}.mam-admin-attendance-page .mam-portal-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid #e4edf6;background:#fff}.mam-admin-attendance-page .mam-portal-card-head h3{margin:0;color:#17356d;font-size:16px;font-weight:750;line-height:1.3}.mam-admin-attendance-page .mam-portal-card-head span{color:#64748b;font-size:12px}.mam-admin-attendance-page .mam-attendance-entry-card{min-width:0}.mam-admin-attendance-page .mam-attendance-table-wrap{width:100%;overflow-x:auto}.mam-admin-attendance-page .mam-admin-attendance-table{width:100%;min-width:740px;border-collapse:collapse;font-size:12px}.mam-admin-attendance-page .mam-admin-attendance-table th{padding:9px 8px;background:#e8f4fb;color:#17356d;border-bottom:1px solid #d7e6f1;text-align:left;white-space:nowrap;font-size:11px}.mam-admin-attendance-page .mam-admin-attendance-table td{padding:7px 8px;border-bottom:1px solid #edf2f7;color:#263b59;vertical-align:middle}.mam-admin-attendance-page .mam-admin-attendance-table tbody tr:last-child td{border-bottom:0}.mam-admin-attendance-page .mam-admin-attendance-table tbody tr:hover{background:#f8fbff}.mam-admin-attendance-page .mam-admin-attendance-choice{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px;color:#334155;cursor:pointer}.mam-admin-attendance-page .mam-admin-attendance-choice input{margin:0;accent-color:#0b7a43}.mam-admin-attendance-page .mam-admin-attendance-choice.absent input{accent-color:#dc2626}.mam-admin-attendance-page .mam-admin-attendance-choice.leave input{accent-color:#d99a00}.mam-admin-attendance-page .mam-attendance-remark{width:100%;min-width:125px;height:31px!important;min-height:31px!important;margin:0!important;padding:0 8px!important;border:1px solid #d5e0ec!important;border-radius:6px!important;font-size:11px!important;box-shadow:none!important}.mam-admin-attendance-page .mam-attendance-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:11px 13px;border-top:1px solid #e5edf5;background:#fbfdff}.mam-admin-attendance-page .mam-attendance-form-footer .mam-attendance-reset{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:33px;padding:0 12px;border:1px solid #d5deea;border-radius:6px;background:#f3f6fa;color:#40536c;font-size:12px;font-weight:700;cursor:pointer}.mam-admin-attendance-page .mam-attendance-save{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 15px;border:1px solid #087cf5;border-radius:6px;background:#087cf5;color:#fff;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 3px 8px rgba(8,124,245,.18)}.mam-admin-attendance-page .mam-attendance-save:hover{background:#066bd2}.mam-admin-attendance-page .mam-attendance-admin-right{min-width:0}.mam-admin-attendance-page .mam-portal-table{width:100%;overflow-x:auto}.mam-admin-attendance-page .mam-portal-table table{width:100%;border-collapse:collapse;font-size:11px}.mam-admin-attendance-page .mam-portal-table th{padding:8px 7px;background:#e8f4fb;color:#17356d;text-align:left;border-bottom:1px solid #d7e6f1;white-space:nowrap;font-size:10px}.mam-admin-attendance-page .mam-portal-table td{padding:8px 7px;border-bottom:1px solid #edf2f7;color:#263b59;vertical-align:middle}.mam-admin-attendance-page .mam-portal-table tr:last-child td{border-bottom:0}.mam-admin-attendance-page .mam-staff-attendance-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:700;white-space:nowrap}.mam-admin-attendance-page .mam-staff-attendance-badge.done{background:#dcfce7;color:#15803d}.mam-admin-attendance-page .mam-staff-attendance-badge.pending{background:#fff0d8;color:#a16207}.mam-admin-attendance-page .mam-portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:0 8px;border:0;border-radius:5px;background:#087cf5;color:#fff;text-decoration:none;font-size:10px;font-weight:700;line-height:1.1;white-space:nowrap;cursor:pointer}.mam-admin-attendance-page .mam-portal-button:hover{background:#066bd2;color:#fff}.mam-admin-attendance-page .mam-portal-button:disabled{background:#e2e8f0;color:#64748b;cursor:not-allowed}.mam-admin-attendance-page .mam-attendance-calendar{padding-bottom:10px}.mam-admin-attendance-page .mam-attendance-calendar .mam-portal-card-head{padding-bottom:9px}.mam-admin-attendance-page .mam-calendar-nav{display:flex;gap:5px}.mam-admin-attendance-page .mam-calendar-nav a{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9e5f0;border-radius:6px;background:#f8fbff;color:#24517d;text-decoration:none;font-size:18px;line-height:1}.mam-admin-attendance-page .mam-calendar-month-title{display:block;padding:9px 12px 5px;color:#17356d;font-size:12px}.mam-admin-attendance-page .mam-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:4px 10px 8px}.mam-admin-attendance-page .mam-calendar-grid .day-name{padding:5px 0;border-radius:4px;background:#e8f4fb;color:#31516f;text-align:center;font-size:9px;font-weight:700}.mam-admin-attendance-page .mam-calendar-grid .empty-day{min-height:25px}.mam-admin-attendance-page .mam-calendar-grid .calendar-day{min-height:26px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e9f2;border-radius:5px;background:#fff;color:#334155;font-size:10px}.mam-admin-attendance-page .mam-calendar-grid .calendar-day.weekly-holiday{background:#fde8f0;border-color:#f9c5d6;color:#be185d;font-weight:700}.mam-admin-attendance-page .mam-calendar-grid .calendar-day.today{outline:2px solid #0b82e6;outline-offset:-2px;font-weight:800}.mam-admin-attendance-page .mam-attendance-calendar-legend{display:flex;gap:12px;align-items:center;padding:0 12px;color:#64748b;font-size:10px}.mam-admin-attendance-page .mam-attendance-calendar-legend span{display:inline-flex;align-items:center;gap:5px}.mam-admin-attendance-page .mam-attendance-calendar-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e879a8}.mam-admin-attendance-page .mam-attendance-calendar-legend i.today-dot{background:#087cf5}.mam-admin-attendance-page .mam-attendance-holiday-note{margin:8px 12px 0;color:#64748b;font-size:10px;line-height:1.45}.mam-admin-attendance-page .mam-attendance-admin-reports{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.mam-admin-attendance-page .mam-attendance-report-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:11px 12px;border-bottom:1px solid #e7eef6;background:#fbfdff}.mam-admin-attendance-page .mam-attendance-report-filter label{display:flex;flex:1 1 100px;flex-direction:column;gap:4px;margin:0!important;color:#475569;font-size:10px;font-weight:700}.mam-admin-attendance-page .mam-attendance-report-filter select{width:100%;height:32px;min-height:32px;border:1px solid #d5e0ec;border-radius:5px;background:#fff;padding:0 7px;font-size:11px;color:#263b59}.mam-admin-attendance-page .mam-attendance-report-filter .mam-portal-button{height:32px;min-height:32px;padding:0 11px;font-size:11px}.mam-admin-attendance-page .mam-attendance-admin-reports .mam-portal-table table{font-size:11px}.mam-admin-attendance-page .mam-attendance-admin-reports .mam-portal-table th{font-size:10px}.mam-admin-attendance-page .mam-attendance-admin-reports .mam-portal-table td{font-size:10px;padding:7px 6px}.mam-admin-attendance-page .mam-attendance-select-prompt{min-height:180px}.mam-admin-attendance-page .mam-attendance-prompt-icon{padding:28px 15px;text-align:center;color:#64748b}.mam-admin-attendance-page .mam-attendance-prompt-icon .dashicons{font-size:34px;width:34px;height:34px;color:#7aa7d5}.mam-admin-attendance-page .mam-attendance-prompt-icon p{margin:8px 0 0;font-size:12px}@media(max-width:1100px){.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,1fr)}.mam-admin-attendance-page .mam-attendance-admin-reports{grid-template-columns:minmax(0,1fr)}}@media(max-width:782px){.mam-admin-attendance-page .mam-attendance-filter form{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-admin-attendance-page .mam-attendance-filter form>button{width:100%}.mam-admin-attendance-page .mam-attendance-admin-main-grid{gap:10px}.mam-admin-attendance-page .mam-attendance-report-filter{align-items:stretch}.mam-admin-attendance-page .mam-attendance-report-filter label{flex-basis:42%}.mam-admin-attendance-page .mam-attendance-report-filter .mam-portal-button{flex:1}}
/* Admin Attendance compact refinements v1.1.62 */
.mam-admin-attendance-page .mam-attendance-page-head{margin-bottom:10px}
.mam-admin-attendance-page .mam-attendance-admin-stats{margin-bottom:10px;gap:8px}
.mam-admin-attendance-page .mam-attendance-stat{min-height:66px;padding:9px 11px;gap:8px}
.mam-admin-attendance-page .mam-attendance-stat-icon{width:36px;height:36px;flex-basis:36px}
.mam-admin-attendance-page .mam-attendance-stat strong{font-size:22px}
.mam-admin-attendance-page .mam-attendance-filter.panel{padding:10px 12px;margin-bottom:10px}
.mam-admin-attendance-page .mam-attendance-filter form{gap:8px}
.mam-admin-attendance-page .mam-attendance-date-wrap{position:relative;width:100%;min-width:0}
.mam-admin-attendance-page .mam-attendance-date-wrap #mam-attendance-date-display{width:100%;padding-right:38px!important;text-align:left}
.mam-admin-attendance-page .mam-attendance-date-wrap .dashicons{right:10px;left:auto;z-index:3}
.mam-admin-attendance-page .mam-attendance-admin-main-grid{gap:10px;margin-bottom:8px;grid-template-columns:minmax(0,1.9fr) minmax(275px,.9fr)}
.mam-admin-attendance-page .mam-portal-card{margin-bottom:8px}
.mam-admin-attendance-page .mam-portal-card-head{padding:10px 12px;gap:7px}
.mam-admin-attendance-page .mam-portal-card-head h3{font-size:14px}
.mam-admin-attendance-page .mam-portal-table table{table-layout:fixed}
.mam-admin-attendance-page .mam-portal-table th,.mam-admin-attendance-page .mam-portal-table td{padding:5px 5px}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(1),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(1){width:43%;overflow-wrap:anywhere;white-space:normal}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(2),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(2){width:25%}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(3),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(3){width:32%;padding-left:3px;padding-right:3px}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-button{min-height:25px;padding:0 5px;font-size:9px;letter-spacing:-.1px}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-staff-attendance-badge{padding:3px 4px;font-size:9px}
.mam-admin-attendance-page .mam-attendance-calendar .mam-portal-card-head{padding-bottom:7px}
.mam-admin-attendance-page .mam-calendar-month-title{padding:6px 10px 3px}
.mam-admin-attendance-page .mam-calendar-grid{gap:3px;padding:3px 8px 6px}
.mam-admin-attendance-page .mam-calendar-grid .empty-day{min-height:20px}
.mam-admin-attendance-page .mam-calendar-grid .calendar-day{min-height:22px}
.mam-admin-attendance-page .mam-attendance-holiday-note{margin-top:5px}
.mam-admin-attendance-page .mam-attendance-admin-reports{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:0}
.mam-admin-attendance-page .mam-attendance-admin-reports>.mam-portal-card{margin-bottom:0}
@media(max-width:1100px){.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,1fr)}.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table table{table-layout:auto}}

/* Admin Attendance refinements v1.1.63 */
.mam-admin-attendance-page .mam-attendance-admin-stats{margin-top:8px!important;margin-bottom:8px!important;gap:8px!important}
.mam-admin-attendance-page .mam-attendance-stat{min-height:78px!important;padding:12px 13px!important}
.mam-admin-attendance-page .mam-attendance-stat-icon{width:39px!important;height:39px!important;flex-basis:39px!important}
.mam-admin-attendance-page .mam-attendance-filter.panel{padding:7px 10px!important;margin-top:0!important;margin-bottom:9px!important}
.mam-admin-attendance-page .mam-attendance-filter form{align-items:end!important;gap:8px!important}
.mam-admin-attendance-page .mam-attendance-filter form>label{margin:0!important;gap:3px!important;font-size:11px!important}
.mam-admin-attendance-page .mam-attendance-filter form>label select{height:35px!important;min-height:35px!important;padding-top:0!important;padding-bottom:0!important}
.mam-admin-attendance-page .mam-attendance-date-wrap{height:35px!important;min-height:35px!important;display:block!important}
.mam-admin-attendance-page .mam-attendance-date-wrap #mam-attendance-date-display{box-sizing:border-box!important;height:35px!important;min-height:35px!important;padding:0 42px 0 10px!important;border:1px solid #cbd5e1!important;border-radius:6px!important;width:100%!important}
.mam-admin-attendance-page .mam-attendance-date-wrap #mam-attendance-date-picker{position:absolute!important;right:0!important;top:0!important;width:38px!important;height:35px!important;opacity:0!important;z-index:4!important;cursor:pointer!important;border:0!important;padding:0!important;margin:0!important}
.mam-admin-attendance-page .mam-attendance-date-wrap .dashicons{position:absolute!important;right:10px!important;left:auto!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important;pointer-events:none!important}
.mam-admin-attendance-page .mam-attendance-load,.mam-admin-attendance-page .mam-attendance-reset-loaded{height:35px!important;min-height:35px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;padding:0 12px!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important;box-sizing:border-box!important}
.mam-admin-attendance-page .mam-attendance-reset-loaded{background:#f1f5f9!important;border:1px solid #d5deea!important;color:#334155!important}
.mam-admin-attendance-page .mam-attendance-reset-loaded:hover{background:#e2e8f0!important;color:#17356d!important}
.mam-admin-attendance-page .mam-portal-card-head{min-height:38px!important;padding:7px 11px!important}
.mam-admin-attendance-page .mam-portal-card-head h3{font-size:13px!important;line-height:1.2!important}
.mam-admin-attendance-page .mam-attendance-admin-main-grid{margin-top:0!important;gap:9px!important;grid-template-columns:minmax(0,1.95fr) minmax(260px,.85fr)!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table table{table-layout:fixed!important;width:100%!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(1),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(1){width:46%!important;padding-left:8px!important;padding-right:3px!important;overflow-wrap:anywhere!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(2),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(2){width:31%!important;padding-left:3px!important;padding-right:3px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(3),.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(3){width:23%!important;padding-left:2px!important;padding-right:6px!important;text-align:center!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-button{min-width:0!important;min-height:24px!important;padding:0 5px!important;font-size:10px!important;letter-spacing:0!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td{padding-top:5px!important;padding-bottom:5px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-staff-attendance-badge{font-size:9px!important;padding:3px 4px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-portal-card-head{padding-top:7px!important;padding-bottom:7px!important}
.mam-admin-attendance-page .mam-attendance-calendar{padding-bottom:7px!important}
.mam-admin-attendance-page .mam-calendar-month-title{padding-top:5px!important;padding-bottom:2px!important}
.mam-admin-attendance-page .mam-calendar-grid{gap:3px!important;padding-top:3px!important;padding-bottom:5px!important}
.mam-admin-attendance-page .mam-calendar-grid .empty-day{min-height:18px!important}
.mam-admin-attendance-page .mam-calendar-grid .calendar-day{min-height:21px!important}
.mam-admin-attendance-page .mam-attendance-holiday-note{margin-top:4px!important}
.mam-admin-attendance-page .mam-attendance-admin-reports{display:none!important}
@media(max-width:1100px){.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:782px){.mam-admin-attendance-page .mam-attendance-filter form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-admin-attendance-page .mam-attendance-filter form>button,.mam-admin-attendance-page .mam-attendance-filter form>.mam-attendance-reset-loaded{width:100%!important}.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.mam-admin-attendance-page .mam-attendance-filter form{grid-template-columns:minmax(100px,1fr) minmax(130px,1.1fr) minmax(100px,1fr) minmax(140px,1.1fr) auto auto!important}


/* v1.1.64 attendance alignment, compact recent-attendance card and success dialog */
.mam-admin-attendance-page .mam-attendance-filter form{align-items:end!important;gap:8px!important}
.mam-admin-attendance-page .mam-attendance-filter form>label{align-self:end!important;min-width:0!important}
.mam-admin-attendance-page .mam-attendance-filter form>label select,
.mam-admin-attendance-page .mam-attendance-filter .mam-attendance-date-wrap{height:37px!important;min-height:37px!important}
.mam-admin-attendance-page .mam-attendance-filter .mam-attendance-date-wrap #mam-attendance-date-display{height:37px!important;min-height:37px!important;line-height:35px!important}
.mam-admin-attendance-page .mam-attendance-filter .mam-attendance-date-wrap #mam-attendance-date-picker{height:37px!important}
.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,2.15fr) minmax(220px,.72fr)!important;gap:10px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-card-head,
.mam-admin-attendance-page .mam-attendance-entry-card>.mam-portal-card-head,
.mam-admin-attendance-page .mam-attendance-calendar>.mam-portal-card-head{padding:8px 11px!important;min-height:0!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-card-head h3,
.mam-admin-attendance-page .mam-attendance-entry-card>.mam-portal-card-head h3,
.mam-admin-attendance-page .mam-attendance-calendar>.mam-portal-card-head h3{font-size:14px!important;line-height:1.25!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th,
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td{padding-left:5px!important;padding-right:5px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(1),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(1){width:44%!important;padding-left:7px!important;white-space:normal!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(2),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(2){width:29%!important;text-align:center!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(3),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(3){width:27%!important;text-align:center!important;padding-right:5px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-button{height:24px!important;min-height:24px!important;max-width:100%!important;padding:0 7px!important;font-size:10px!important;line-height:1!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-staff-attendance-badge{max-width:100%;font-size:9px!important;padding:3px 4px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-portal-card-head{padding:8px 11px!important}
.mam-attendance-success-overlay{position:fixed!important;inset:0!important;z-index:1000000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(15,30,55,.48)!important;backdrop-filter:blur(2px)!important}
.mam-attendance-success-modal{width:min(360px,100%)!important;padding:24px 24px 20px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 18px 60px rgba(15,30,55,.28)!important;text-align:center!important;border:1px solid #dbe7f2!important}
.mam-attendance-success-icon{display:flex!important;width:48px!important;height:48px!important;margin:0 auto 12px!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#dcfce7!important;color:#15803d!important;font-size:28px!important;font-weight:800!important}
.mam-attendance-success-modal h3{margin:0 0 7px!important;color:#17356d!important;font-size:18px!important;line-height:1.35!important}
.mam-attendance-success-modal p{margin:0 0 18px!important;color:#64748b!important;font-size:13px!important}
.mam-attendance-success-ok{min-width:94px!important;height:36px!important;border:0!important;border-radius:7px!important;background:#087cf5!important;color:#fff!important;font-weight:700!important;cursor:pointer!important}
.mam-attendance-success-ok:hover{background:#066bd2!important}
@media(max-width:1100px){.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,1fr)!important}}

/* v1.1.65: consistent compact Recent Attendance and Holiday cards across Admin + Staff portals */
.mam-admin-attendance-page .mam-attendance-admin-main-grid{grid-template-columns:minmax(0,1.75fr) minmax(330px,.95fr)!important;gap:12px!important}
.mam-staff-attendance-main-grid{grid-template-columns:minmax(0,1.75fr) minmax(330px,.95fr)!important;gap:12px!important;margin-top:10px!important}
.mam-admin-attendance-page .mam-attendance-admin-right,
.mam-staff-attendance-right{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;min-width:0!important}
.mam-admin-attendance-page .mam-attendance-admin-right>.mam-portal-card,
.mam-staff-attendance-right>.mam-portal-card{width:100%!important;min-width:0!important;margin:0 0 10px!important;box-sizing:border-box!important;border:1px solid #dbe7f2!important;border-radius:10px!important;box-shadow:0 3px 12px rgba(26,64,102,.045)!important;overflow:hidden!important}
.mam-admin-attendance-page .mam-attendance-admin-right>.mam-portal-card>.mam-portal-card-head,
.mam-staff-attendance-right>.mam-portal-card>.mam-portal-card-head{min-height:0!important;padding:8px 11px!important;margin:0!important;gap:7px!important;align-items:center!important}
.mam-admin-attendance-page .mam-attendance-admin-right>.mam-portal-card>.mam-portal-card-head h3,
.mam-staff-attendance-right>.mam-portal-card>.mam-portal-card-head h3{font-size:13px!important;line-height:1.25!important;margin:0!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table,
.mam-staff-attendance-right .mam-portal-table{width:100%!important;overflow-x:hidden!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table table,
.mam-staff-attendance-right .mam-portal-table table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:10px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th,
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td,
.mam-staff-attendance-right .mam-portal-table th,
.mam-staff-attendance-right .mam-portal-table td{padding:5px 5px!important;font-size:10px!important;line-height:1.2!important;vertical-align:middle!important;overflow-wrap:anywhere!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(1),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(1),
.mam-staff-attendance-right .mam-portal-table th:nth-child(1),
.mam-staff-attendance-right .mam-portal-table td:nth-child(1){width:44%!important;padding-left:8px!important;white-space:normal!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(2),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(2),
.mam-staff-attendance-right .mam-portal-table th:nth-child(2),
.mam-staff-attendance-right .mam-portal-table td:nth-child(2){width:28%!important;text-align:center!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table th:nth-child(3),
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table td:nth-child(3),
.mam-staff-attendance-right .mam-portal-table th:nth-child(3),
.mam-staff-attendance-right .mam-portal-table td:nth-child(3){width:28%!important;text-align:center!important;padding-left:2px!important;padding-right:5px!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-button,
.mam-staff-attendance-right .mam-portal-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%!important;min-width:0!important;height:24px!important;min-height:24px!important;padding:0 7px!important;border-radius:5px!important;font-size:10px!important;line-height:1!important;font-weight:700!important;white-space:nowrap!important;text-decoration:none!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-attendance-take,
.mam-staff-attendance-right .mam-attendance-take{background:#087cf5!important;color:#fff!important;border:1px solid #087cf5!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-attendance-take:hover,
.mam-staff-attendance-right .mam-attendance-take:hover{background:#066bd2!important;color:#fff!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-attendance-complete,
.mam-staff-attendance-right .mam-attendance-complete{background:#dcfce7!important;color:#15803d!important;border:1px solid #bbf7d0!important;opacity:1!important;cursor:default!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-staff-attendance-badge,
.mam-staff-attendance-right .mam-staff-attendance-badge{font-size:9px!important;padding:3px 4px!important;white-space:normal!important;max-width:100%!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-portal-card-head,
.mam-staff-attendance-right .mam-attendance-calendar .mam-portal-card-head{padding:8px 11px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-calendar-month-title,
.mam-staff-attendance-right .mam-attendance-calendar .mam-calendar-month-title{padding:5px 10px 3px!important;font-size:11px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-calendar-grid,
.mam-staff-attendance-right .mam-attendance-calendar .mam-calendar-grid{gap:3px!important;padding:3px 8px 6px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-calendar-grid .day-name,
.mam-staff-attendance-right .mam-attendance-calendar .mam-calendar-grid .day-name{padding:4px 0!important;font-size:9px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-calendar-grid .calendar-day,
.mam-staff-attendance-right .mam-attendance-calendar .mam-calendar-grid .calendar-day{min-height:22px!important;font-size:9px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-attendance-calendar-legend,
.mam-staff-attendance-right .mam-attendance-calendar .mam-attendance-calendar-legend{padding:0 10px!important;font-size:9px!important;gap:8px!important}
.mam-admin-attendance-page .mam-attendance-calendar .mam-attendance-holiday-note,
.mam-staff-attendance-right .mam-attendance-calendar .mam-attendance-holiday-note{margin:5px 10px 8px!important;font-size:10px!important;line-height:1.35!important}
@media(max-width:1100px){.mam-admin-attendance-page .mam-attendance-admin-main-grid,.mam-staff-attendance-main-grid{grid-template-columns:minmax(0,1fr)!important}.mam-admin-attendance-page .mam-attendance-admin-right,.mam-staff-attendance-right{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}}
@media(max-width:760px){.mam-admin-attendance-page .mam-attendance-admin-right,.mam-staff-attendance-right{grid-template-columns:minmax(0,1fr)!important}.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table,.mam-staff-attendance-right .mam-portal-table{overflow-x:auto!important}.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-table table,.mam-staff-attendance-right .mam-portal-table table{min-width:0!important}}

/* ID Cards v1.1.66: consistent professional action buttons */
.mam-id-page .mam-id-top-actions .button,.mam-id-page .mam-id-table-tools .button,.mam-id-page .mam-id-row-actions .button{background:#2459a9!important;border:1px solid #2459a9!important;color:#fff!important;border-radius:7px!important;font-weight:600!important;box-shadow:none!important;text-decoration:none!important;padding:7px 13px!important;line-height:1.4!important}.mam-id-page .mam-id-top-actions .mam-id-success,.mam-id-page .mam-id-row-actions .button.green{background:#147d68!important;border-color:#147d68!important;color:#fff!important}.mam-id-page .mam-id-row-actions .button:hover,.mam-id-page .mam-id-top-actions .button:hover,.mam-id-page .mam-id-table-tools .button:hover{filter:brightness(.92)}.mam-id-page .mam-id-filter button.button-primary{background:#1769c2!important;border-color:#1769c2!important;color:#fff!important}.mam-id-page .mam-id-filter button:not(.button-primary){background:#fff!important;border-color:#9aaabd!important;color:#334155!important}.mam-id-page .mam-id-preview-card{display:none!important}

/* Academic class/subject compact modal and expandable details */
.mam-academic-modal{display:none;position:fixed;inset:0;z-index:100200;align-items:center;justify-content:center;padding:18px}.mam-academic-modal.is-open{display:flex}.mam-academic-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}.mam-academic-modal-box{position:relative;width:min(520px,94vw);max-height:85vh;overflow:auto;background:#fff;border:1px solid #dce5ef;border-radius:12px;box-shadow:0 20px 70px #0003}.mam-academic-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#f4f8ff;border-bottom:1px solid #e2e8f0}.mam-academic-modal-head h2{margin:0;font-size:18px}.mam-academic-modal-close{border:0;background:transparent;font-size:26px;line-height:1;cursor:pointer;color:#526177}.mam-academic-modal-body{padding:16px 18px}.mam-academic-modal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mam-academic-modal-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;min-width:0}.mam-academic-modal-fields input,.mam-academic-modal-fields select{width:100%;max-width:100%;height:34px;min-height:34px;box-sizing:border-box}.mam-academic-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f5}.mam-academic-modal-actions .button{min-height:34px;padding:0 16px}.mam-ref-viewall.mam-academic-toggle{border:0;background:transparent;padding:8px 0;color:#2459b5;font-weight:600;cursor:pointer;font-size:13px}.mam-academic-list-wrap table tr.mam-academic-hidden-row{display:none}.mam-academic-list-wrap.is-expanded{max-height:520px;overflow:auto}.mam-academic-list-wrap.is-expanded table tr.mam-academic-hidden-row{display:table-row}@media(max-width:520px){.mam-academic-modal-fields{grid-template-columns:1fr}.mam-academic-modal-box{width:96vw}}

/* Academic class/subject lists: five rows by default; reveal remaining rows only on demand. */
.mam-academic-list-wrap tbody tr.mam-academic-hidden-row{display:none!important}.mam-academic-list-wrap.is-expanded tbody tr.mam-academic-hidden-row{display:table-row!important}

/* v1.1.71: deterministic Academic examination modal visibility and compact layout */
body.wp-admin .mam-exam-modal:not(.is-open){display:none!important;visibility:hidden!important;pointer-events:none!important}body.wp-admin .mam-exam-modal.is-open{display:flex!important;visibility:visible!important;pointer-events:auto!important;align-items:center;justify-content:center;padding:14px;box-sizing:border-box}body.wp-admin .mam-exam-modal-dialog{width:min(520px,calc(100vw - 28px))!important;max-height:calc(100vh - 28px)!important;margin:0 auto!important}body.wp-admin .mam-exam-modal-head{padding:12px 16px!important}body.wp-admin .mam-exam-modal-head h3{font-size:18px!important}body.wp-admin .mam-exam-modal-head p{font-size:11px!important}body.wp-admin .mam-exam-modal-body{padding:14px 16px 16px!important}body.wp-admin .mam-exam-modal-body label{margin-bottom:10px!important}body.wp-admin .mam-exam-modal-grid{gap:8px 10px!important}body.wp-admin .mam-exam-modal-grid input,body.wp-admin .mam-exam-modal-grid select{height:34px!important;min-height:34px!important}body.wp-admin .mam-exam-class-grid{gap:6px 9px!important;margin:8px 0 10px!important}body.wp-admin .mam-exam-modal-actions{margin-top:10px!important;padding-top:9px!important}

/* Compact Academic modal controls */
.mam-academic-modal-box{width:min(520px,calc(100vw - 32px))!important;max-height:85vh!important;overflow:visible!important}
.mam-academic-modal-body{overflow:visible!important;max-height:none!important;padding:14px 18px 16px!important}
.mam-academic-modal-fields input,.mam-academic-modal-fields select,.mam-exam-modal-grid input,.mam-exam-modal-grid select,.mam-exam-modal-body input:not([type=checkbox]):not([type=radio]),.mam-exam-modal-body select{height:34px!important;min-height:34px!important;padding:5px 9px!important;box-sizing:border-box}
.mam-academic-modal-actions,.mam-exam-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.mam-academic-modal-actions .mam-academic-cancel,.mam-exam-modal-actions .mam-exam-modal-cancel{margin-right:auto!important;order:0!important}
.mam-academic-modal-actions .button,.mam-exam-modal-actions .button{height:34px!important;min-height:34px!important;line-height:32px!important;padding:0 13px!important}
.mam-exam-modal-dialog{max-height:none!important;overflow:visible!important;width:min(520px,calc(100vw - 32px))!important}
.mam-exam-modal-body{max-height:none!important;overflow:visible!important;padding:14px 18px 16px!important}
.mam-exam-modal-dialog *{scrollbar-width:none!important}.mam-exam-modal-dialog *::-webkit-scrollbar{display:none!important}
/* Academic modal refinements v1.1.73 */
.mam-academic-modal-box{overflow:visible!important;max-height:none!important;width:min(520px,calc(100vw - 32px))!important}
.mam-academic-modal-fields input,.mam-academic-modal-fields select{height:32px!important;min-height:32px!important}
.mam-academic-modal-actions{justify-content:space-between!important}
.mam-academic-modal-actions .mam-academic-cancel{margin-right:auto!important}
.mam-academic-modal-actions .button{height:32px!important;min-height:32px!important;line-height:30px!important}
.mam-academic-success-modal{display:none;position:fixed;inset:0;z-index:100300;background:rgba(15,23,42,.5);align-items:center;justify-content:center;padding:18px}
.mam-academic-success-modal.open{display:flex}.mam-academic-success-box{width:min(340px,92vw);background:#fff;border-radius:12px;padding:24px;text-align:center;box-shadow:0 18px 60px #0003}.mam-academic-success-box h3{margin:0 0 8px;color:#17356d}.mam-academic-success-box p{margin:0 0 18px;color:#475569}.mam-academic-success-box button{height:32px!important;min-height:32px!important}

/* Academic page: balanced modal corners and compact table columns */
.mam-academic-modal-box{border-radius:12px!important;overflow:hidden!important;max-height:90vh!important;overflow-y:auto!important}
.mam-academic-modal-head{border-radius:12px 12px 0 0!important}
.mam-academic-modal-body{border-radius:0 0 12px 12px!important}
.mam-academic-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.mam-academic-modal-actions .mam-academic-cancel{margin-right:auto!important}
.mam-academic-modal-actions .button{min-height:32px!important;height:32px!important;line-height:30px!important;padding:0 12px!important}
.mam-academic-modal-fields input,.mam-academic-modal-fields select{height:34px!important;min-height:34px!important}
.mam-academic-ref-card#classes{flex:0 0 43%!important;max-width:43%!important}
.mam-academic-ref-card#subjects{flex:1 1 57%!important;max-width:57%!important}
.mam-academic-ref-card#classes table{table-layout:fixed!important;width:100%!important}
.mam-academic-ref-card#classes th,.mam-academic-ref-card#classes td{padding:7px 5px!important;white-space:nowrap!important}
.mam-academic-ref-card#classes th:nth-child(1),.mam-academic-ref-card#classes td:nth-child(1){width:34%!important}
.mam-academic-ref-card#classes th:nth-child(2),.mam-academic-ref-card#classes td:nth-child(2){width:22%!important}
.mam-academic-ref-card#classes th:nth-child(3),.mam-academic-ref-card#classes td:nth-child(3){width:17%!important}
.mam-academic-ref-card#classes th:nth-child(4),.mam-academic-ref-card#classes td:nth-child(4){width:27%!important}
.mam-academic-ref-card#subjects table{table-layout:fixed!important;width:100%!important}
.mam-academic-ref-card#subjects th,.mam-academic-ref-card#subjects td{padding:7px 4px!important;white-space:nowrap!important;font-size:12px!important}
.mam-academic-ref-card#subjects th:nth-child(1),.mam-academic-ref-card#subjects td:nth-child(1){width:23%!important}
.mam-academic-ref-card#subjects th:nth-child(2),.mam-academic-ref-card#subjects td:nth-child(2){width:23%!important}
.mam-academic-ref-card#subjects th:nth-child(3),.mam-academic-ref-card#subjects td:nth-child(3){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(4),.mam-academic-ref-card#subjects td:nth-child(4){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(5),.mam-academic-ref-card#subjects td:nth-child(5){width:10%!important}
.mam-academic-ref-card#subjects th:nth-child(6),.mam-academic-ref-card#subjects td:nth-child(6){width:16%!important}
.mam-academic-success-box button{display:block!important;margin:18px auto 0!important;text-align:center!important;min-width:64px!important}
.mam-academic-success-box h3{text-align:center!important}
@media(max-width:1100px){.mam-academic-ref-card#classes,.mam-academic-ref-card#subjects{flex:1 1 100%!important;max-width:100%!important}}


/* v1.1.76 Academic layout polish: cards fill the content width without a center gap */
.mam-academic-ref-grid.mam-academic-ref-top{
  display:grid!important;
  grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr)!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  align-items:start!important;
  justify-content:stretch!important;
  box-sizing:border-box!important;
}
.mam-academic-ref-grid.mam-academic-ref-top>.mam-academic-ref-card{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.mam-academic-ref-card .mam-ref-table-wrap,
.mam-academic-ref-card .mam-academic-list-wrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.mam-academic-ref-card .mam-ref-table-wrap table,
.mam-academic-ref-card .mam-academic-list-wrap table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
}
.mam-academic-ref-card#classes th,
.mam-academic-ref-card#classes td,
.mam-academic-ref-card#subjects th,
.mam-academic-ref-card#subjects td{
  box-sizing:border-box!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  padding:8px 5px!important;
  vertical-align:middle!important;
  line-height:1.25!important;
}
.mam-academic-ref-card#classes th:nth-child(1),.mam-academic-ref-card#classes td:nth-child(1){width:31%!important}
.mam-academic-ref-card#classes th:nth-child(2),.mam-academic-ref-card#classes td:nth-child(2){width:18%!important}
.mam-academic-ref-card#classes th:nth-child(3),.mam-academic-ref-card#classes td:nth-child(3){width:19%!important}
.mam-academic-ref-card#classes th:nth-child(4),.mam-academic-ref-card#classes td:nth-child(4){width:32%!important}
.mam-academic-ref-card#subjects th:nth-child(1),.mam-academic-ref-card#subjects td:nth-child(1){width:21%!important}
.mam-academic-ref-card#subjects th:nth-child(2),.mam-academic-ref-card#subjects td:nth-child(2){width:22%!important}
.mam-academic-ref-card#subjects th:nth-child(3),.mam-academic-ref-card#subjects td:nth-child(3){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(4),.mam-academic-ref-card#subjects td:nth-child(4){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(5),.mam-academic-ref-card#subjects td:nth-child(5){width:12%!important}
.mam-academic-ref-card#subjects th:nth-child(6),.mam-academic-ref-card#subjects td:nth-child(6){width:17%!important}
.mam-academic-ref-card#classes td:last-child,
.mam-academic-ref-card#subjects td:last-child{white-space:nowrap!important;overflow:visible!important}
.mam-academic-ref-card .mam-ref-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:5px 7px!important;
  margin:2px 1px!important;
  font-size:11px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.mam-academic-ref-card .mam-ref-action.delete{margin-right:0!important}
.mam-academic-success-box button{
  box-sizing:border-box!important;
  height:auto!important;
  min-height:0!important;
  padding:8px 18px!important;
  line-height:1.25!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.mam-academic-list-wrap tbody tr:nth-child(n+6){display:none!important}
.mam-academic-list-wrap.is-expanded tbody tr:nth-child(n+6){display:table-row!important}
@media(max-width:900px){
  .mam-academic-ref-grid.mam-academic-ref-top{grid-template-columns:minmax(0,1fr)!important}
  .mam-academic-ref-card#subjects th,.mam-academic-ref-card#subjects td{font-size:12px!important}
}


/* v1.1.77: force the Classes and Subjects cards to fill the Academic content area */
.mam-academic-ref-grid.mam-academic-ref-top{
  display:grid!important;
  grid-template-columns:minmax(0,0.90fr) minmax(0,1.10fr)!important;
  grid-auto-flow:row!important;
  gap:16px!important;
  align-items:start!important;
  justify-content:normal!important;
  justify-items:stretch!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.mam-academic-ref-grid.mam-academic-ref-top > #classes,
.mam-academic-ref-grid.mam-academic-ref-top > #subjects{
  grid-column:auto!important;
  justify-self:stretch!important;
  align-self:start!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:14px!important;
  float:none!important;
  flex:none!important;
  box-sizing:border-box!important;
}
.mam-academic-ref-grid.mam-academic-ref-top > #classes{grid-column:1!important}
.mam-academic-ref-grid.mam-academic-ref-top > #subjects{grid-column:2!important}
.mam-academic-ref-card-head{min-width:0!important;gap:8px!important}
.mam-academic-ref-card-head>div{min-width:0!important;flex:1 1 auto!important}
.mam-academic-ref-card-head h3{font-size:19px!important;line-height:1.2!important}
.mam-academic-ref-card-head p{font-size:12px!important;line-height:1.3!important}
.mam-academic-ref-card-head .mam-ref-btn{flex:0 0 auto!important;white-space:nowrap!important;padding:8px 10px!important;font-size:12px!important}
.mam-academic-ref-card .mam-ref-table-wrap,
.mam-academic-ref-card .mam-academic-list-wrap{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  box-sizing:border-box!important;
}
.mam-academic-ref-card#classes table,
.mam-academic-ref-card#subjects table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  margin:0!important;
}
.mam-academic-ref-card#classes th,
.mam-academic-ref-card#classes td,
.mam-academic-ref-card#subjects th,
.mam-academic-ref-card#subjects td{
  padding:8px 6px!important;
  font-size:12px!important;
  line-height:1.3!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  box-sizing:border-box!important;
}
.mam-academic-ref-card#classes th:nth-child(1),.mam-academic-ref-card#classes td:nth-child(1){width:31%!important}
.mam-academic-ref-card#classes th:nth-child(2),.mam-academic-ref-card#classes td:nth-child(2){width:17%!important}
.mam-academic-ref-card#classes th:nth-child(3),.mam-academic-ref-card#classes td:nth-child(3){width:18%!important}
.mam-academic-ref-card#classes th:nth-child(4),.mam-academic-ref-card#classes td:nth-child(4){width:34%!important}
.mam-academic-ref-card#subjects th:nth-child(1),.mam-academic-ref-card#subjects td:nth-child(1){width:21%!important}
.mam-academic-ref-card#subjects th:nth-child(2),.mam-academic-ref-card#subjects td:nth-child(2){width:21%!important}
.mam-academic-ref-card#subjects th:nth-child(3),.mam-academic-ref-card#subjects td:nth-child(3){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(4),.mam-academic-ref-card#subjects td:nth-child(4){width:14%!important}
.mam-academic-ref-card#subjects th:nth-child(5),.mam-academic-ref-card#subjects td:nth-child(5){width:12%!important}
.mam-academic-ref-card#subjects th:nth-child(6),.mam-academic-ref-card#subjects td:nth-child(6){width:18%!important}
.mam-academic-ref-card#classes td:last-child,
.mam-academic-ref-card#subjects td:last-child{
  white-space:normal!important;
  overflow:visible!important;
}
.mam-academic-ref-card#classes td:last-child .mam-ref-action,
.mam-academic-ref-card#subjects td:last-child .mam-ref-action{
  display:inline-flex!important;
  vertical-align:middle!important;
  align-items:center!important;
  justify-content:center!important;
  margin:2px 2px 2px 0!important;
  padding:6px 7px!important;
  max-width:100%!important;
  font-size:11px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.mam-academic-ref-card .mam-ref-table-wrap::-webkit-scrollbar,
.mam-academic-ref-card .mam-academic-list-wrap::-webkit-scrollbar{height:6px}
.mam-academic-list-wrap tbody tr:nth-child(n+6){display:none!important}
.mam-academic-list-wrap.is-expanded tbody tr:nth-child(n+6){display:table-row!important}
@media(max-width:900px){
  .mam-academic-ref-grid.mam-academic-ref-top{grid-template-columns:minmax(0,1fr)!important}
  .mam-academic-ref-grid.mam-academic-ref-top > #classes,
  .mam-academic-ref-grid.mam-academic-ref-top > #subjects{grid-column:1!important}
}


/* v1.1.78: reserve horizontal room for subject actions and give it from Classes */
.mam-academic-ref-grid.mam-academic-ref-top{
  grid-template-columns:minmax(0,0.84fr) minmax(0,1.16fr)!important;
  gap:14px!important;
}
.mam-academic-ref-grid.mam-academic-ref-top > #classes{
  padding-right:12px!important;
}
.mam-academic-ref-grid.mam-academic-ref-top > #subjects{
  padding-left:12px!important;
}
.mam-academic-ref-card#classes th:nth-child(1),
.mam-academic-ref-card#classes td:nth-child(1){width:30%!important}
.mam-academic-ref-card#classes th:nth-child(2),
.mam-academic-ref-card#classes td:nth-child(2){width:16%!important}
.mam-academic-ref-card#classes th:nth-child(3),
.mam-academic-ref-card#classes td:nth-child(3){width:17%!important}
.mam-academic-ref-card#classes th:nth-child(4),
.mam-academic-ref-card#classes td:nth-child(4){width:37%!important}
.mam-academic-ref-card#subjects th:nth-child(1),
.mam-academic-ref-card#subjects td:nth-child(1){width:19%!important}
.mam-academic-ref-card#subjects th:nth-child(2),
.mam-academic-ref-card#subjects td:nth-child(2){width:19%!important}
.mam-academic-ref-card#subjects th:nth-child(3),
.mam-academic-ref-card#subjects td:nth-child(3){width:13%!important}
.mam-academic-ref-card#subjects th:nth-child(4),
.mam-academic-ref-card#subjects td:nth-child(4){width:13%!important}
.mam-academic-ref-card#subjects th:nth-child(5),
.mam-academic-ref-card#subjects td:nth-child(5){width:12%!important}
.mam-academic-ref-card#subjects th:nth-child(6),
.mam-academic-ref-card#subjects td:nth-child(6){width:24%!important}
.mam-academic-ref-card#subjects td:last-child{
  white-space:nowrap!important;
  overflow:visible!important;
}
.mam-academic-ref-card#subjects td:last-child .mam-ref-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  width:auto!important;
  margin:2px 3px 2px 0!important;
  padding:6px 7px!important;
  font-size:11px!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
 .mam-academic-ref-grid.mam-academic-ref-top{grid-template-columns:minmax(0,1fr)!important}
 .mam-academic-ref-grid.mam-academic-ref-top > #classes,
 .mam-academic-ref-grid.mam-academic-ref-top > #subjects{grid-column:1!important}
}

/* v1.1.81: Exam Schedule modal refreshed to match the compact blue-header reference */
.mam-schedule-modal .mam-schedule-modal-dialog{width:min(690px,calc(100vw - 28px))!important;max-height:calc(100vh - 36px)!important;overflow:hidden!important;border-radius:10px!important;box-shadow:0 22px 60px rgba(10,28,65,.28)!important}
.mam-schedule-modal .mam-schedule-modal-head{min-height:68px!important;box-sizing:border-box!important;padding:17px 22px!important;background:#0753c7!important;border-bottom:0!important;color:#fff!important}
.mam-schedule-modal .mam-schedule-modal-head h3{color:#fff!important;font-size:22px!important;font-weight:700!important;line-height:1.25!important}
.mam-schedule-modal .mam-schedule-modal-head p{display:none!important}
.mam-schedule-modal .mam-schedule-modal-head>div:first-child{gap:0!important}
.mam-schedule-modal .mam-exam-modal-close{color:#fff!important;font-size:32px!important;font-weight:400!important}
.mam-schedule-modal .mam-schedule-modal-body{padding:20px 22px 0!important;max-height:calc(100vh - 105px)!important;overflow-y:auto!important}
.mam-schedule-modal .mam-schedule-modal-body label{font-size:14px!important;font-weight:700!important;color:#07154c!important;margin:0 0 16px!important}
.mam-schedule-modal .mam-schedule-modal-body label>span{color:#e22936!important}
.mam-schedule-modal .mam-schedule-modal-body select,.mam-schedule-modal .mam-schedule-modal-body input[type=text],.mam-schedule-modal .mam-schedule-modal-body input[type=number]{height:48px!important;margin-top:7px!important;border:1px solid #d2dcef!important;border-radius:7px!important;padding:10px 14px!important;font-size:15px!important;color:#15234b!important;background:#fff!important}
.mam-schedule-modal .mam-schedule-form-grid{gap:20px!important}
.mam-schedule-modal .mam-schedule-form-grid.two{grid-template-columns:1fr 1fr!important}
.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:1fr 1fr 1fr!important}
.mam-schedule-modal .mam-date-field .dashicons,.mam-schedule-modal .mam-time-field .dashicons{right:13px!important;color:#526789!important;font-size:22px!important;width:22px!important;height:22px!important;line-height:22px!important}
.mam-schedule-modal .mam-date-field input,.mam-schedule-modal .mam-time-field input{padding-right:43px!important}
.mam-schedule-modal .mam-exam-modal-actions{justify-content:space-between!important;align-items:center!important;gap:12px!important;margin:0 -22px 0!important;padding:18px 22px 20px!important;background:#f2f6ff!important;border-top:1px solid #e3eaf7!important}
.mam-schedule-modal .mam-exam-modal-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:0 24px!important;border-radius:7px!important;font-size:15px!important;font-weight:700!important;line-height:1!important;margin:0!important}
.mam-schedule-modal .mam-exam-modal-actions .button:not(.button-primary){background:#dce5f8!important;border-color:#dce5f8!important;color:#07154c!important}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{background:#075bea!important;border-color:#075bea!important;color:#fff!important}
.mam-schedule-modal .mam-schedule-modal-body form{margin:0!important}
@media(max-width:600px){.mam-schedule-modal .mam-schedule-modal-dialog{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}.mam-schedule-modal .mam-schedule-modal-body{padding:16px 16px 0!important;max-height:calc(100vh - 90px)!important}.mam-schedule-modal .mam-schedule-form-grid.two,.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:1fr!important;gap:0!important}.mam-schedule-modal .mam-exam-modal-actions{margin:0 -16px!important;padding:14px 16px!important}.mam-schedule-modal .mam-exam-modal-actions .button{min-height:44px!important;padding:0 18px!important}}

/* v1.1.82: Match Add Subject fields and make native 12-hour time picker accessible */
.mam-schedule-modal .mam-schedule-modal-dialog{width:min(760px,calc(100vw - 28px))!important}
.mam-schedule-modal .mam-schedule-modal-body{padding:17px 22px 0!important;max-height:calc(100vh - 95px)!important}
.mam-schedule-modal .mam-schedule-modal-body>form>label{margin-bottom:12px!important}
.mam-schedule-modal .mam-schedule-form-grid{gap:16px!important}
.mam-schedule-modal .mam-schedule-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mam-schedule-modal .mam-schedule-modal-body select,.mam-schedule-modal .mam-schedule-modal-body input[type=text],.mam-schedule-modal .mam-schedule-modal-body input[type=number]{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.mam-schedule-modal .mam-date-field,.mam-schedule-modal .mam-time-field{width:100%!important;min-width:0!important}
.mam-schedule-modal .mam-time-field input.mam-time-12h{padding-right:46px!important}
.mam-schedule-modal .mam-time-field .dashicons-clock{cursor:pointer!important;pointer-events:auto!important}
.mam-schedule-modal .mam-time-field .mam-hidden-native-time{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:2px!important;height:2px!important;min-width:2px!important;max-width:2px!important;opacity:0.001!important;padding:0!important;margin:0!important;border:0!important;pointer-events:none!important;z-index:-1!important}
.mam-schedule-modal .mam-exam-modal-actions{padding:12px 22px 13px!important;margin:0 -22px!important;min-height:0!important}
.mam-schedule-modal .mam-schedule-modal-body{padding-bottom:0!important}
.mam-schedule-modal .mam-exam-modal-actions .button{min-height:42px!important}
.mam-schedule-modal .mam-schedule-modal-head{min-height:62px!important;padding:14px 22px!important}
@media(max-width:650px){.mam-schedule-modal .mam-schedule-modal-dialog{width:calc(100vw - 20px)!important}.mam-schedule-modal .mam-schedule-form-grid.two,.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:minmax(0,1fr)!important;gap:0!important}.mam-schedule-modal .mam-schedule-modal-body{padding:15px 16px 0!important}.mam-schedule-modal .mam-exam-modal-actions{margin:0 -16px!important;padding:12px 16px!important}}

.mam-schedule-modal .mam-time-field input.mam-time-12h{cursor:pointer!important}

/* v1.1.83: compact native date/time controls matching Add Subject */
.mam-schedule-modal .mam-schedule-modal-dialog{width:min(760px,calc(100vw - 28px))!important}
.mam-schedule-modal .mam-schedule-modal-head{min-height:54px!important;padding:12px 18px!important}
.mam-schedule-modal .mam-schedule-modal-head h3{font-size:19px!important;line-height:1.2!important}
.mam-schedule-modal .mam-schedule-modal-body{padding:13px 18px 0!important;max-height:calc(100vh - 78px)!important}
.mam-schedule-modal .mam-schedule-modal-body label{margin:0 0 10px!important;font-size:13px!important}
.mam-schedule-modal .mam-schedule-form-grid{gap:12px!important}
.mam-schedule-modal .mam-schedule-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mam-schedule-modal .mam-schedule-modal-body select,
.mam-schedule-modal .mam-schedule-modal-body input[type=text],
.mam-schedule-modal .mam-schedule-modal-body input[type=number],
.mam-schedule-modal .mam-schedule-modal-body input[type=date],
.mam-schedule-modal .mam-schedule-modal-body input[type=time]{
  height:39px!important;min-height:39px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
  margin-top:5px!important;padding:7px 10px!important;border:1px solid #d2dcef!important;border-radius:6px!important;
  font-size:13px!important;color:#15234b!important;background:#fff!important;line-height:1.25!important;
}
.mam-schedule-modal .mam-schedule-modal-body input.mam-schedule-date-display{padding-right:39px!important}
.mam-schedule-modal .mam-date-field,.mam-schedule-modal .mam-time-field{position:relative!important;width:100%!important;min-width:0!important}
.mam-schedule-modal .mam-date-field .dashicons-calendar-alt{right:10px!important;top:50%!important;transform:translateY(-25%)!important;cursor:pointer!important;color:#526789!important;font-size:19px!important}
.mam-schedule-modal .mam-time-field input[type=time]{padding:6px 8px!important;cursor:pointer!important}
.mam-schedule-modal .mam-exam-modal-actions{padding:9px 18px 10px!important;margin:0 -18px!important;gap:10px!important;min-height:0!important}
.mam-schedule-modal .mam-exam-modal-actions .button{min-height:36px!important;height:36px!important;padding:0 18px!important;font-size:13px!important;border-radius:6px!important}
@media(max-width:650px){
 .mam-schedule-modal .mam-schedule-modal-dialog{width:calc(100vw - 20px)!important}
 .mam-schedule-modal .mam-schedule-modal-body{padding:12px 14px 0!important}
 .mam-schedule-modal .mam-schedule-form-grid.two,.mam-schedule-modal .mam-schedule-form-grid.three{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .mam-schedule-modal .mam-exam-modal-actions{margin:0 -14px!important;padding:9px 14px!important}
}


/* v1.1.84 — Exam Schedule modal aligned with Add Subject modal */
.mam-schedule-modal .mam-schedule-modal-dialog{
  width:min(780px,calc(100vw - 32px))!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
.mam-schedule-modal .mam-schedule-modal-head{
  min-height:48px!important;
  height:auto!important;
  padding:12px 18px!important;
  background:#f4f8ff!important;
  color:#1f2937!important;
  border-bottom:1px solid #e2e8f0!important;
  border-radius:12px 12px 0 0!important;
}
.mam-schedule-modal .mam-schedule-modal-head h3{
  color:#1f2937!important;
  font-size:18px!important;
  line-height:1.25!important;
  margin:0!important;
}
.mam-schedule-modal .mam-schedule-modal-close{
  color:#526177!important;
}
.mam-schedule-modal .mam-schedule-modal-body{
  padding:13px 18px 0!important;
  max-height:calc(100vh - 100px)!important;
  overflow:visible!important;
}
.mam-schedule-modal .mam-schedule-modal-body label{
  margin:0 0 9px!important;
  font-size:12px!important;
  line-height:1.25!important;
  gap:4px!important;
}
.mam-schedule-modal .mam-schedule-form-grid{
  gap:12px!important;
}
.mam-schedule-modal .mam-schedule-form-grid.two{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.mam-schedule-modal .mam-schedule-form-grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.mam-schedule-modal .mam-schedule-modal-body select,
.mam-schedule-modal .mam-schedule-modal-body input[type=text],
.mam-schedule-modal .mam-schedule-modal-body input[type=number],
.mam-schedule-modal .mam-schedule-modal-body input[type=date],
.mam-schedule-modal .mam-schedule-modal-body input[type=time]{
  height:36px!important;
  min-height:36px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin-top:4px!important;
  padding:5px 10px!important;
  border:1px solid #d9dce3!important;
  border-radius:7px!important;
  font-size:13px!important;
  color:#263247!important;
  background:#fff!important;
  line-height:1.2!important;
}
.mam-schedule-modal .mam-date-field,
.mam-schedule-modal .mam-time-field{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.mam-schedule-modal .mam-date-field input.mam-schedule-date-display{
  padding-right:38px!important;
}
.mam-schedule-modal .mam-date-field .dashicons-calendar-alt{
  position:absolute!important;
  right:10px!important;
  top:calc(50% + 2px)!important;
  transform:translateY(-50%)!important;
  width:18px!important;
  height:18px!important;
  line-height:18px!important;
  font-size:18px!important;
  color:#526177!important;
  cursor:pointer!important;
  z-index:2!important;
}
.mam-schedule-modal .mam-time-field input[type=time]{
  padding-right:30px!important;
  cursor:pointer!important;
  font-variant-numeric:tabular-nums!important;
}
.mam-schedule-modal .mam-exam-modal-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0 -18px!important;
  padding:7px 18px 8px!important;
  min-height:0!important;
  background:#fff!important;
  border-top:1px solid #edf0f5!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:34px!important;
  min-height:34px!important;
  line-height:32px!important;
  padding:0 15px!important;
  margin:0!important;
  border-radius:6px!important;
  font-size:13px!important;
  font-weight:600!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button:not(.button-primary){
  margin-right:auto!important;
  background:#f4f8ff!important;
  color:#344054!important;
  border:1px solid #d9e2ef!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{
  background:#2196e7!important;
  border-color:#2196e7!important;
  color:#fff!important;
  box-shadow:none!important;
}
@media(max-width:650px){
  .mam-schedule-modal .mam-schedule-modal-dialog{
    width:calc(100vw - 20px)!important;
    max-height:calc(100vh - 20px)!important;
  }
  .mam-schedule-modal .mam-schedule-modal-body{
    padding:12px 14px 0!important;
    overflow-y:auto!important;
    max-height:calc(100vh - 82px)!important;
  }
  .mam-schedule-modal .mam-schedule-form-grid.two,
  .mam-schedule-modal .mam-schedule-form-grid.three{
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
  }
  .mam-schedule-modal .mam-exam-modal-actions{
    margin:0 -14px!important;
    padding:7px 14px 8px!important;
  }
}


/* v1.1.85 — consistent 35px controls and matching modal header/action styles */
.mam-academic-modal .mam-academic-modal-fields input,
.mam-academic-modal .mam-academic-modal-fields select,
.mam-academic-modal .mam-academic-modal-fields input[type="time"],
.mam-schedule-modal .mam-schedule-modal-body select,
.mam-schedule-modal .mam-schedule-modal-body input[type="text"],
.mam-schedule-modal .mam-schedule-modal-body input[type="number"],
.mam-schedule-modal .mam-schedule-modal-body input[type="date"],
.mam-schedule-modal .mam-schedule-modal-body input[type="time"]{
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  box-sizing:border-box!important;
  border-radius:7px!important;
}
.mam-academic-modal .mam-academic-modal-fields input,
.mam-academic-modal .mam-academic-modal-fields select{
  padding:5px 10px!important;
  border-radius:7px!important;
}
.mam-schedule-modal .mam-schedule-modal-head{
  background:#f4f8ff!important;
  color:#1f2937!important;
  border-bottom:1px solid #e2e8f0!important;
  padding:14px 18px!important;
}
.mam-schedule-modal .mam-schedule-modal-head h3{
  color:#1f2937!important;
  font-size:18px!important;
  font-weight:600!important;
  line-height:1.25!important;
}
.mam-schedule-modal .mam-schedule-modal-close{
  color:#526177!important;
  font-size:26px!important;
  line-height:1!important;
  text-decoration:none!important;
}
.mam-schedule-modal .mam-schedule-modal-body{
  padding:13px 18px 0!important;
}
.mam-schedule-modal .mam-schedule-modal-body label{
  margin-bottom:6px!important;
  gap:4px!important;
}
.mam-schedule-modal .mam-schedule-form-grid{
  gap:10px!important;
}
.mam-schedule-modal .mam-date-field,
.mam-schedule-modal .mam-time-field{
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.mam-schedule-modal .mam-date-field input.mam-schedule-date-display,
.mam-schedule-modal .mam-time-field input[type="time"]{
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
  width:100%!important;
  border-radius:7px!important;
  box-sizing:border-box!important;
}
.mam-schedule-modal .mam-date-field input.mam-schedule-date-display{
  padding-right:36px!important;
}
.mam-schedule-modal .mam-date-field .dashicons-calendar-alt{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:18px!important;
  height:18px!important;
  line-height:18px!important;
  font-size:18px!important;
  margin:0!important;
  padding:0!important;
  color:#526177!important;
  cursor:pointer!important;
  z-index:3!important;
}
.mam-schedule-modal .mam-time-field input[type="time"]{
  padding:4px 8px!important;
  padding-right:28px!important;
}
.mam-schedule-modal .mam-time-field input[type="time"]::-webkit-calendar-picker-indicator{
  margin:0!important;
  padding:0!important;
  cursor:pointer!important;
  align-self:center!important;
}
.mam-schedule-modal .mam-exam-modal-actions{
  margin:0 -18px!important;
  padding:6px 18px 7px!important;
  gap:10px!important;
  border-top:1px solid #edf0f5!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button{
  height:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  padding:0 16px!important;
  border-radius:6px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{
  background:#2196e7!important;
  border-color:#2196e7!important;
  color:#fff!important;
}
.mam-schedule-modal .mam-exam-modal-actions .button:not(.button-primary){
  background:#f4f8ff!important;
  border:1px solid #d9e2ef!important;
  color:#344054!important;
}
.mam-academic-modal .mam-academic-modal-head h2{
  color:#1f2937!important;
}
.mam-academic-modal .mam-academic-modal-close{
  color:#526177!important;
}
.mam-exam-feedback-overlay{
  position:fixed;inset:0;z-index:1000000;background:rgba(15,23,42,.48);
  display:flex;align-items:center;justify-content:center;padding:16px;
}
.mam-exam-feedback-box{
  width:min(390px,calc(100vw - 32px));background:#fff;border-radius:10px;
  box-shadow:0 18px 50px rgba(15,23,42,.25);overflow:hidden;text-align:center;
}
.mam-exam-feedback-box h3{
  margin:0;padding:14px 18px;background:#f4f8ff;color:#1f2937;
  font-size:18px;line-height:1.25;border-bottom:1px solid #e2e8f0;
}
.mam-exam-feedback-box p{margin:0;padding:22px 20px;color:#344054;font-size:14px;line-height:1.5}
.mam-exam-feedback-actions{padding:0 18px 14px;display:flex;justify-content:center}
.mam-exam-feedback-actions button{
  height:35px;min-height:35px;padding:0 24px;border:0;border-radius:6px;
  background:#2196e7;color:#fff;font-size:13px;font-weight:600;cursor:pointer;
}
@media(max-width:650px){
 .mam-schedule-modal .mam-schedule-modal-body{padding:12px 14px 0!important}
 .mam-schedule-modal .mam-exam-modal-actions{margin:0 -14px!important;padding:6px 14px 7px!important}
}

/* Admit Cards actions: compact single header row and inline row actions. */
.mam-admit-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:100%}
.mam-admit-head-actions .mam-exam-green-btn,.mam-admit-head-actions .mam-exam-blue-btn,.mam-admit-head-actions .mam-exam-outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;text-decoration:none;min-height:36px;padding:0 12px;box-sizing:border-box}
.mam-admit-generate-selected{background:#16834a!important;color:#fff!important;border:0!important;border-radius:6px!important}
.mam-admit-filter .mam-admit-reset-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:0 12px;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.mam-admit-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.mam-admit-delete-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border-radius:5px;text-decoration:none;white-space:nowrap}
@media(max-width:1100px){.mam-admit-head-actions{justify-content:flex-start}.mam-admit-head-actions>*{font-size:12px!important;padding-left:9px!important;padding-right:9px!important}}
@media(max-width:782px){.mam-admit-head-actions{width:100%;justify-content:flex-start}.mam-exam-section-head{align-items:flex-start;flex-wrap:wrap}.mam-admit-row-actions{flex-wrap:wrap}}


/* v1.1.88 — Examination Schedule modal final alignment and Add Class button styling */
.mam-schedule-modal .mam-schedule-modal-dialog{overflow:visible!important}
.mam-schedule-modal .mam-schedule-modal-head{background:#f4f8ff!important;color:#1f2937!important;border-bottom:1px solid #e2e8f0!important}
.mam-schedule-modal .mam-schedule-modal-head h3{color:#1f2937!important;font-weight:600!important}
.mam-schedule-modal .mam-schedule-modal-close{display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;padding:0!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#526177!important;font-family:Arial,sans-serif!important;font-size:26px!important;font-weight:400!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important}
.mam-schedule-modal .mam-schedule-modal-close:hover{background:#e8eef7!important;color:#344054!important}
.mam-schedule-modal .mam-date-field,.mam-schedule-modal .mam-time-field{position:relative!important;width:100%!important;min-width:0!important;height:35px!important}
.mam-schedule-modal .mam-date-field input[type="date"],.mam-schedule-modal .mam-time-field input[type="time"]{width:100%!important;height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;border:1px solid #d9dce3!important;border-radius:7px!important;background:#fff!important;padding:5px 10px!important;color:#263247!important;font-size:13px!important;line-height:1.2!important}
.mam-schedule-modal .mam-date-field input[type="date"]{padding-right:8px!important;cursor:pointer!important}
.mam-schedule-modal .mam-date-field input[type="date"]::-webkit-calendar-picker-indicator{display:block!important;opacity:1!important;cursor:pointer!important;width:16px!important;height:16px!important;margin:0 1px 0 6px!important;padding:0!important}
.mam-schedule-modal .mam-time-field input[type="time"]{padding-right:8px!important;cursor:pointer!important;font-variant-numeric:tabular-nums!important}
.mam-schedule-modal .mam-time-field input[type="time"]::-webkit-calendar-picker-indicator{display:block!important;opacity:1!important;cursor:pointer!important;margin:0 1px 0 6px!important;padding:0!important}
.mam-schedule-modal .mam-exam-modal-actions{padding:7px 18px 5px!important;margin:0 -18px!important;gap:10px!important;min-height:0!important}
.mam-schedule-modal .mam-exam-modal-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:35px!important;min-height:35px!important;padding:0 18px!important;border-radius:6px!important;font-size:13px!important;font-weight:600!important;line-height:33px!important;box-sizing:border-box!important}
.mam-schedule-modal .mam-exam-modal-actions .button:not(.button-primary){background:#f4f8ff!important;color:#344054!important;border:1px solid #d9e2ef!important}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{background:#2196e7!important;border-color:#2196e7!important;color:#fff!important;box-shadow:none!important}
.mam-exam-feedback-actions #mam-exam-feedback-ok{min-height:34px!important;padding:0 22px!important;border:1px solid #2196e7!important;border-radius:6px!important;background:#2196e7!important;color:#fff!important;cursor:pointer!important}

.mam-schedule-modal .mam-time-field input.mam-time-12h{padding-right:38px!important;cursor:pointer!important}
.mam-schedule-modal .mam-time-field .mam-time-picker-toggle{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;width:17px!important;height:17px!important;font-size:17px!important;line-height:17px!important;color:#526177!important;cursor:pointer!important;z-index:2!important}
.mam-schedule-modal .mam-time-picker-popover{display:flex!important;align-items:center!important;gap:5px!important;padding:8px!important;background:#fff!important;border:1px solid #d9e2ef!important;border-radius:7px!important;box-shadow:0 8px 22px rgba(15,23,42,.18)!important;width:max-content!important;max-width:100%!important}
.mam-schedule-modal .mam-time-picker-popover select{height:32px!important;min-height:32px!important;width:auto!important;min-width:58px!important;margin:0!important;padding:3px 5px!important;border:1px solid #d9dce3!important;border-radius:5px!important;font-size:13px!important;background:#fff!important}


/* v1.1.89 — match Exam Schedule modal controls to Add Class modal */
.mam-schedule-modal .mam-schedule-modal-close{color:#263247!important;font-size:26px!important;font-weight:400!important;width:30px!important;height:30px!important;border:0!important;border-radius:4px!important;background:transparent!important;line-height:1!important;box-shadow:none!important}
.mam-schedule-modal .mam-schedule-modal-close:hover{color:#263247!important;background:#e8eef7!important}
.mam-schedule-modal .mam-exam-modal-actions{background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:8px 0 5px!important;min-height:0!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.mam-schedule-modal .mam-exam-modal-actions .button{height:34px!important;min-height:34px!important;line-height:32px!important;padding:0 12px!important;border-radius:4px!important;font-size:13px!important;font-weight:500!important;box-sizing:border-box!important;text-decoration:none!important;box-shadow:none!important}
.mam-schedule-modal .mam-exam-modal-actions .mam-academic-cancel{margin-right:auto!important;background:#fff!important;color:#64748b!important;border:1px solid #cbd5e1!important}
.mam-schedule-modal .mam-exam-modal-actions .mam-academic-cancel:hover{background:#f8fafc!important;color:#263247!important}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{background:#2196e7!important;border:1px solid #2196e7!important;color:#fff!important;border-radius:4px!important}
.mam-schedule-modal .mam-exam-modal-actions .button-primary:hover{background:#1685d1!important;border-color:#1685d1!important}
.mam-schedule-modal .mam-date-field input[type="date"]::-webkit-datetime-edit{color:#263247!important}
.mam-schedule-modal .mam-date-field input[type="date"]:invalid::-webkit-datetime-edit{color:transparent!important}
.mam-schedule-modal .mam-date-field input[type="date"]::-webkit-calendar-picker-indicator{opacity:1!important;margin-left:auto!important;margin-right:2px!important;cursor:pointer!important}
.mam-schedule-modal .mam-time-field input.mam-time-12h{padding-right:38px!important}
.mam-schedule-modal .mam-time-field .mam-time-picker-toggle{right:10px!important;top:50%!important;transform:translateY(-50%)!important;color:#526177!important}
.mam-exam-feedback-box h3{color:#263247!important}

/* v1.1.90 — align the schedule time picker with the Add Subject picker */
.mam-schedule-modal .mam-time-picker-popover{left:0!important;right:auto!important;top:calc(100% + 4px)!important;transform:none!important;z-index:100200!important}
.mam-schedule-modal .mam-exam-modal-actions{background:transparent!important;border:0!important;box-shadow:none!important}
.mam-schedule-modal .mam-exam-modal-actions .mam-schedule-cancel{background:#fff!important;color:#64748b!important;border:1px solid #cbd5e1!important;border-radius:4px!important}
.mam-schedule-modal .mam-exam-modal-actions .mam-schedule-cancel:hover{background:#f8fafc!important;color:#263247!important}
.mam-schedule-modal .mam-exam-modal-actions .button-primary{border-radius:4px!important}


/* v1.1.91 — native Add Subject-style time picker and Admit Cards refinements */
.mam-schedule-modal .mam-time-field{position:relative!important;display:block!important;min-width:0!important}
.mam-schedule-modal .mam-time-field input[type="time"]{display:block!important;width:100%!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 7px 0 10px!important;border:1px solid #d9dce3!important;border-radius:5px!important;background:#fff!important;color:#263247!important;line-height:33px!important;cursor:pointer!important;vertical-align:middle!important}
.mam-schedule-modal .mam-time-field input[type="time"]::-webkit-calendar-picker-indicator{display:block!important;opacity:1!important;cursor:pointer!important;margin:0 2px 0 6px!important;padding:0!important;align-self:center!important;vertical-align:middle!important}
.mam-schedule-modal .mam-time-picker-popover{display:none!important}
.mam-admit-filter{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;width:100%!important;box-sizing:border-box!important}
.mam-admit-filter>label{flex:1 1 0!important;min-width:120px!important;margin:0!important}
.mam-admit-filter>label select{width:100%!important;box-sizing:border-box!important}
.mam-admit-filter>.mam-exam-search-btn{flex:0 0 auto!important;white-space:nowrap!important}
.mam-admit-filter .mam-admit-reset-btn{flex:0 0 58px!important;width:58px!important;min-width:58px!important;height:36px!important;min-height:36px!important;padding:0 6px!important;gap:4px!important;white-space:nowrap!important}
.mam-admit-filter .mam-admit-reset-btn .mam-admit-reset-label{font-size:11px!important}
.mam-admit-delete-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;border:0!important;cursor:pointer!important;text-decoration:none!important;white-space:nowrap!important}
.mam-admit-delete-form{display:inline-flex!important;margin:0!important;padding:0!important}
@media(max-width:900px){.mam-admit-filter{flex-wrap:wrap!important}.mam-admit-filter>label{flex:1 1 30%!important}.mam-admit-filter>.mam-exam-search-btn{flex:1 1 auto!important}.mam-admit-filter .mam-admit-reset-btn{flex:0 0 58px!important}}
/* v1.1.92 Admit Cards refinements */
.mam-admit-filter{gap:8px!important}
.mam-admit-filter>label{flex:0.82 1 0!important;min-width:105px!important}
.mam-admit-filter>.mam-exam-search-btn{padding-left:12px!important;padding-right:12px!important;white-space:nowrap!important}
.mam-admit-filter .mam-admit-reset-btn{flex:0 0 58px!important;width:58px!important;min-width:58px!important;padding:0 5px!important;gap:3px!important}
.mam-admit-filter .mam-admit-reset-btn .dashicons{font-size:12px!important;width:12px!important;height:12px!important;line-height:12px!important}
.mam-admit-filter .mam-admit-reset-btn .mam-admit-reset-label{font-size:11px!important}
.mam-admit-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mam-admit-row-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important}
.mam-admit-row-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important;text-decoration:none!important}
.mam-admit-download-btn{background:#eaf4ff!important;color:#0759b8!important;border:1px solid #c7ddf8!important;border-radius:5px!important;padding:6px 9px!important;font-size:11px!important;font-weight:700!important}
.mam-admit-download-btn .dashicons{font-size:14px!important;width:14px!important;height:14px!important;line-height:14px!important}
@media(max-width:900px){.mam-admit-filter>label{flex:1 1 28%!important}.mam-admit-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.mam-admit-filter>label{flex:1 1 100%!important}.mam-admit-stats{grid-template-columns:1fr!important}}

/* v1.1.93 Examination summary and Admit Cards alignment */
.mam-exam-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.mam-exam-summary-card{min-width:0!important;gap:10px!important;padding:12px 13px!important}
.mam-exam-summary-card>span{flex:0 0 42px!important;width:42px!important;height:42px!important}
.mam-admit-filter .mam-admit-reset-btn{height:36px!important;min-height:36px!important;align-self:stretch!important;box-sizing:border-box!important;line-height:34px!important}
.mam-admit-row-actions{justify-content:flex-end!important;margin-left:auto!important;padding-right:8px!important;box-sizing:border-box!important}
.mam-admit-table td:last-child,.mam-admit-table th:last-child{text-align:right!important}
@media(max-width:1100px){.mam-exam-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:782px){.mam-exam-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-admit-row-actions{padding-right:4px!important}}
@media(max-width:480px){.mam-exam-summary{grid-template-columns:1fr!important}}

/* v1.1.94: refined Admit Cards and Results & Marks action layouts */
.mam-admit-filter{display:grid!important;grid-template-columns:minmax(220px,1.35fr) minmax(145px,.78fr) minmax(145px,.78fr) auto auto!important;align-items:end!important;gap:8px!important}
.mam-admit-filter label:nth-of-type(2),.mam-admit-filter label:nth-of-type(3){min-width:0!important;width:100%!important}
.mam-admit-filter .mam-exam-search-btn,.mam-admit-filter .mam-admit-reset-btn{height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:end!important;white-space:nowrap!important}
.mam-admit-filter .mam-admit-reset-btn{padding:0 11px!important;margin:0!important;line-height:1!important}
.mam-results-filter-form{grid-template-columns:minmax(170px,1.15fr) minmax(135px,.8fr) minmax(150px,1fr) minmax(80px,.45fr) auto auto!important;gap:8px!important;align-items:end!important}
.mam-results-filter-form.publish-filter{grid-template-columns:minmax(160px,1.05fr) minmax(130px,.8fr) minmax(150px,1fr) minmax(125px,.8fr) auto auto!important}
.mam-results-filter-form .mam-results-search,.mam-results-filter-form .mam-results-reset{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;margin:0!important;padding:0 11px!important;border-radius:6px!important}
.mam-results-reset{background:#f8fafc!important;border:1px solid #cbd5e1!important;color:#334155!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}
.mam-results-reset:hover{background:#eef4fb!important;color:#17365d!important}
.mam-results-section-head .mam-results-marks-info{display:none!important}
.mam-results-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 12px!important;border-top:1px solid #e0e8f1!important}
.mam-results-actions-info{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;white-space:nowrap!important;color:#17365d!important;background:#f5f8fc!important;border:1px solid #dbe5f0!important;border-radius:7px!important;padding:8px 10px!important;font-size:12px!important}
.mam-results-actions-info strong{font-weight:800!important}
.mam-results-actions-info i{font-style:normal!important;color:#94a3b8!important;margin:0 3px!important}
.mam-results-action-buttons{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:nowrap!important}
.mam-results-action-buttons .mam-save-next{font-size:11px!important;white-space:nowrap!important;margin:0 3px 0 0!important}
.mam-results-action-buttons button{width:auto!important;min-height:34px!important;height:34px!important;white-space:nowrap!important;padding:0 10px!important;font-size:11px!important;flex:0 0 auto!important}
.mam-results-publish-toolbar{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:11px 12px!important;border-top:1px solid #e0e8f1!important}
.mam-results-warning{display:flex!important;align-items:flex-start!important;gap:8px!important;flex:0 1 280px!important;min-width:220px!important;margin:0!important;padding:8px 10px!important;border-radius:7px!important;background:#fff8e7!important;border:1px solid #f5d58a!important;color:#805b12!important;box-sizing:border-box!important}
.mam-results-warning>.dashicons{flex:0 0 auto!important;margin-top:1px!important}
.mam-results-warning strong,.mam-results-warning small{display:block!important}
.mam-results-warning strong{font-size:11px!important;line-height:1.3!important}
.mam-results-warning small{font-size:10px!important;line-height:1.3!important;margin-top:3px!important}
.mam-results-publish-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:nowrap!important}
.mam-results-publish-actions>label{white-space:nowrap!important;font-size:11px!important;margin:0 2px 0 0!important}
.mam-results-publish-actions button{width:auto!important;min-height:34px!important;height:34px!important;white-space:nowrap!important;padding:0 9px!important;font-size:11px!important;flex:0 1 auto!important}
@media(max-width:1200px){.mam-results-filter-form,.mam-results-filter-form.publish-filter{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}.mam-results-filter-form .mam-results-search,.mam-results-filter-form .mam-results-reset{width:100%!important}.mam-results-actions{align-items:flex-start!important}.mam-results-action-buttons{flex-wrap:wrap!important}.mam-results-publish-toolbar{align-items:flex-start!important;flex-direction:column!important}.mam-results-warning{flex:1 1 auto!important;width:100%!important}.mam-results-publish-actions{width:100%!important;flex-wrap:wrap!important;justify-content:flex-start!important}}
@media(max-width:782px){.mam-admit-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important;flex-wrap:wrap!important}.mam-results-filter-form,.mam-results-filter-form.publish-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-results-actions{flex-direction:column!important}.mam-results-actions-info{white-space:normal!important}.mam-results-action-buttons{width:100%!important;justify-content:flex-start!important}.mam-results-publish-actions{flex-wrap:wrap!important}}
@media(max-width:480px){.mam-admit-filter,.mam-results-filter-form,.mam-results-filter-form.publish-filter{grid-template-columns:minmax(0,1fr)!important}.mam-results-action-buttons{flex-direction:column!important;align-items:stretch!important}.mam-results-action-buttons button{width:100%!important}.mam-results-publish-actions button{flex:1 1 100%!important;width:100%!important}}
.mam-results-actions>.mam-results-actions-info{width:auto!important;max-width:none!important}
.mam-results-actions>.mam-results-action-buttons{width:auto!important;max-width:none!important}
/* Results & Marks v1.1.95: compact header actions and revised mark controls */
.mam-results-section-head-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:nowrap!important}
.mam-results-section-head-actions>div:first-child{flex:0 0 auto!important;min-width:190px!important}
.mam-results-header-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:16px!important;flex:1 1 auto!important;min-width:0!important}
.mam-results-section-head .mam-results-marks-info{display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;background:#f5f8fc!important;border:1px solid #dbe5f0!important;border-radius:7px!important;padding:7px 10px!important;font-size:12px!important;color:#17365d!important}
.mam-results-header-buttons{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important}
.mam-results-header-buttons button{height:34px!important;min-height:34px!important;white-space:nowrap!important;padding:0 10px!important;font-size:11px!important}
.mam-results-header-buttons .mam-results-clear{order:3!important}
.mam-results-actions{display:none!important}
.mam-marks-row-actions{white-space:nowrap!important;text-align:center!important}
.mam-marks-row-actions button,.mam-marks-row-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:27px!important;padding:0 8px!important;margin:2px!important;border-radius:5px!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important;cursor:pointer!important;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#334155!important}
.mam-marks-row-actions .mam-marks-edit{background:#eaf3ff!important;color:#0969e8!important;border-color:#b9d7ff!important}
.mam-marks-row-actions .mam-marks-delete{background:#fff0f1!important;color:#c92a3a!important;border-color:#f0b8bf!important}
.mam-marks-row-actions button:disabled,.mam-marks-row-actions a[aria-disabled=true]{opacity:.45!important;cursor:not-allowed!important}
.mam-results-section-head-actions .mam-results-publish-actions{flex-wrap:nowrap!important;justify-content:flex-end!important}
.mam-results-section-head-actions .mam-results-publish-actions button{height:34px!important;min-height:34px!important;padding:0 9px!important;font-size:11px!important;white-space:nowrap!important}
.mam-results-section-head-actions .mam-results-publish-actions label{white-space:nowrap!important;margin:0 2px!important;font-size:11px!important}
.mam-results-filter-form .mam-results-reset .dashicons{font-size:13px!important;width:13px!important;height:13px!important;line-height:13px!important}
@media(max-width:1200px){.mam-results-section-head-actions{align-items:flex-start!important;flex-wrap:wrap!important}.mam-results-header-tools{width:100%!important;justify-content:space-between!important;flex-wrap:wrap!important}.mam-results-section-head-actions .mam-results-publish-actions{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}}
@media(max-width:782px){.mam-results-header-tools{align-items:flex-start!important;flex-direction:column!important}.mam-results-header-buttons{width:100%!important;justify-content:flex-start!important;flex-wrap:wrap!important}.mam-results-section-head-actions .mam-results-publish-actions{flex-wrap:wrap!important}.mam-results-section-head-actions .mam-results-publish-actions button{flex:0 1 auto!important}}
.mam-results-marks-head .mam-results-section-icon{display:none!important}

/* v1.1.96 Results & Marks refinements */
.mam-results-table th:first-child,.mam-results-table td:first-child{width:34px!important;text-align:center!important}.mam-results-table th:first-child input[type=checkbox],.mam-results-table td:first-child input[type=checkbox]{margin:0!important}.mam-results-table .mam-marks-row-actions{white-space:nowrap!important;min-width:100px!important}.mam-results-table .mam-marks-row-actions .mam-marks-edit,.mam-results-table .mam-marks-row-actions .mam-marks-delete{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 3px!important;padding:4px 7px!important;font-size:11px!important;line-height:1.2!important;border-radius:4px!important}.mam-results-table .mam-marks-row-actions .mam-marks-edit{background:#087cf5!important;color:#fff!important;border:1px solid #087cf5!important;cursor:pointer!important}.mam-results-table .mam-marks-row-actions .mam-marks-delete{background:#fff!important;color:#d93445!important;border:1px solid #e6a4ad!important;text-decoration:none!important}.mam-results-table .mam-marks-row-actions button:disabled{opacity:.45!important;cursor:not-allowed!important}.mam-results-publish-actions{gap:7px!important}.mam-results-publish-actions>label{display:inline-flex!important;align-items:center!important;gap:4px!important}.mam-results-publish-actions .mam-publish-results-btn{order:1!important}.mam-results-publish-actions .mam-unpublish-btn{order:2!important}.mam-results-publish-actions .mam-download-selected-btn{order:3!important}.mam-results-filter-form.publish-filter label>span{color:#d93445!important;font-weight:700!important}

/* v1.1.97 staff & salary polish */
.mam-staff-filter-search,.mam-salary-search{border:1px solid #d4deea!important;box-shadow:none!important;outline:0!important;background:#fff!important;border-radius:8px!important;overflow:hidden!important;}
.mam-staff-filter-search input,.mam-salary-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;}
.mam-staff-stat.total,.mam-salary-stat.blue{background:#1269e8!important;color:#fff!important;}
.mam-staff-stat.teaching,.mam-salary-stat.green{background:#078b59!important;color:#fff!important;}
.mam-staff-stat.nonteaching,.mam-salary-stat.orange{background:#f97316!important;color:#fff!important;}
.mam-staff-stat.inactive,.mam-salary-stat.navy{background:#101a3a!important;color:#fff!important;}
.mam-staff-stat small,.mam-staff-stat strong,.mam-salary-stat small,.mam-salary-stat strong{color:inherit!important;}
.mam-salary-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mam-salary-head-actions .mam-salary-export{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;text-decoration:none;}
.mam-salary-lookup-modal{display:none;position:fixed;inset:0;z-index:100200;background:rgba(15,23,42,.55);align-items:center;justify-content:center;padding:18px}.mam-salary-lookup-modal.open{display:flex}.mam-salary-lookup-box{width:min(480px,94vw);max-height:85vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 20px 70px #0003;border:1px solid #e2e8f0}.mam-salary-lookup-body{padding:18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.mam-salary-lookup-body label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#344563}.mam-salary-lookup-body input{height:38px!important;border:1px solid #d2dce9!important;border-radius:7px!important;padding:0 10px!important;box-shadow:none!important}.mam-salary-lookup-results{grid-column:1/-1;display:flex;flex-direction:column;gap:8px;margin-top:4px}.mam-salary-lookup-results>p{margin:0;color:#64748b;font-size:13px}.mam-salary-lookup-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #e1e8f0;border-radius:8px;background:#f8fbff}.mam-salary-lookup-result>div{display:flex;flex-direction:column;gap:4px}.mam-salary-lookup-result strong{font-size:13px;color:#17345e}.mam-salary-lookup-result small{font-size:11px;color:#64748b}.mam-salary-lookup-result button{flex-shrink:0}.mam-payment-badge.partial{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa}.mam-salary-hidden-staff{display:none!important}
@media(max-width:700px){.mam-salary-head-actions{width:100%;justify-content:flex-start}.mam-salary-lookup-body{grid-template-columns:1fr}.mam-salary-lookup-body>.mam-salary-filter-btn{height:36px}}

/* v1.1.98 — staff salary lookup/payment modal consistency */
.mam-modern-sidebar .mam-modern-section-title{white-space:nowrap}
.mam-salary-lookup-box,.mam-salary-pay-box{background:#fff!important;border:1px solid #d9dce3!important;border-radius:12px!important;overflow:hidden!important}
.mam-salary-lookup-box .mam-salary-custom-head,.mam-salary-pay-box .mam-salary-custom-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important;padding:14px 18px!important;min-height:54px!important;background:#f4f8ff!important;border-bottom:1px solid #d9dce3!important;color:#1f2937!important}
.mam-salary-lookup-box .mam-salary-custom-head h2,.mam-salary-pay-box .mam-salary-custom-head h2{margin:0!important;padding:0!important;color:#1f2937!important;font-size:18px!important;font-weight:600!important;line-height:26px!important}
.mam-salary-lookup-box .mam-salary-custom-head .mam-staff-modal-close,.mam-salary-pay-box .mam-salary-custom-head .mam-staff-modal-close{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;min-width:26px!important;padding:0!important;border:0!important;background:transparent!important;color:#526177!important;font-size:26px!important;line-height:26px!important;box-shadow:none!important}
.mam-salary-lookup-body{padding:16px 18px 12px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important}
.mam-salary-lookup-body label{gap:5px!important;color:#263247!important;font-size:12px!important}
.mam-salary-lookup-body input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #d9dce3!important;border-radius:6px!important;color:#263247!important;padding:0 10px!important;box-shadow:none!important;outline:none!important}
.mam-salary-lookup-body input:focus{border-color:#2196e7!important;box-shadow:0 0 0 1px #2196e733!important}
.mam-salary-lookup-body>.mam-salary-filter-btn{height:34px!important;min-height:34px!important;padding:0 17px!important;background:#2196e7!important;border:1px solid #2196e7!important;border-radius:6px!important;color:#fff!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}
.mam-salary-lookup-results{grid-column:1/-1!important;margin-top:2px!important;min-width:0!important}
.mam-salary-lookup-results>p{padding:8px 0!important;margin:0!important;color:#64748b!important}
.mam-salary-lookup-result{min-height:52px!important;box-sizing:border-box!important;padding:10px 12px!important;background:#fff!important;border:1px solid #d9dce3!important;border-radius:7px!important}
.mam-salary-lookup-result strong{color:#263247!important}
.mam-salary-lookup-result small{color:#526177!important}
.mam-salary-lookup-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:4px}
.mam-salary-lookup-reset{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:34px;min-height:34px;padding:0 12px;border:1px solid #d9dce3;border-radius:6px;background:#fff;color:#526177;font-size:13px;font-weight:600;cursor:pointer}
.mam-salary-lookup-reset .dashicons{font-size:13px;width:13px;height:13px;line-height:13px}
.mam-salary-lookup-actions .mam-salary-filter-btn{height:34px!important;min-height:34px!important;padding:0 18px!important;background:#2196e7!important;border:1px solid #2196e7!important;border-radius:6px!important;color:#fff!important;font-size:13px!important;font-weight:600!important}
.mam-salary-lookup-actions .mam-salary-filter-btn:disabled{opacity:.45!important;cursor:not-allowed!important}
.mam-salary-pay-box .mam-pay-staff-info{border-radius:0!important;margin:0!important}
.mam-salary-pay-box .mam-salary-entry{padding:14px 18px!important}
.mam-salary-pay-box .mam-salary-section-title{margin-bottom:12px!important}
.mam-salary-pay-box .mam-salary-fields input:not([type=checkbox]),.mam-salary-pay-box .mam-salary-fields select,.mam-salary-pay-box .mam-salary-fields textarea,.payroll-salary-detail-box .mam-salary-fields input:not([type=checkbox]),.payroll-salary-detail-box .mam-salary-fields select,.payroll-salary-detail-box .mam-salary-fields textarea{box-sizing:border-box!important;border:1px solid #d9dce3!important;border-radius:6px!important;background:#fff!important;color:#263247!important;box-shadow:none!important}
.mam-salary-pay-box .mam-salary-fields input:not([type=checkbox]),.mam-salary-pay-box .mam-salary-fields select,.payroll-salary-detail-box .mam-salary-fields input:not([type=checkbox]),.payroll-salary-detail-box .mam-salary-fields select{height:35px!important;min-height:35px!important;padding:0 10px!important}
.mam-salary-pay-box .mam-date-input,.payroll-salary-detail-box .mam-date-input{position:relative!important;display:flex!important;align-items:center!important;width:100%!important}
.mam-salary-pay-box .mam-date-input input,.payroll-salary-detail-box .mam-date-input input{width:100%!important;padding-right:38px!important}
.mam-salary-pay-box .mam-date-input .mam-modal-date-btn,.payroll-salary-detail-box .mam-date-input .mam-modal-date-btn{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%)!important;width:26px!important;height:26px!important;min-width:26px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;background:transparent!important;color:#526177!important;box-shadow:none!important;cursor:pointer!important}
.mam-salary-pay-box .mam-date-input .mam-modal-date-btn .dashicons,.payroll-salary-detail-box .mam-date-input .mam-modal-date-btn .dashicons{font-size:16px!important;width:16px!important;height:16px!important;line-height:16px!important}
.mam-salary-pay-box .mam-staff-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:5px 18px 5px!important;margin:0!important;border-top:1px solid #edf0f4!important;min-height:44px!important;box-sizing:border-box!important}
.mam-salary-pay-box .mam-staff-modal-actions .mam-pay-close{margin-right:auto!important}
.mam-salary-pay-box .mam-staff-modal-actions .mam-modal-cancel{height:34px!important;min-height:34px!important;padding:0 14px!important;border:1px solid #d9dce3!important;border-radius:6px!important;background:#fff!important;color:#526177!important}
.mam-salary-pay-box .mam-staff-modal-actions .mam-modal-save,.payroll-salary-detail-box .mam-add-salary-btn{height:34px!important;min-height:34px!important;padding:0 17px!important;border:1px solid #2196e7!important;border-radius:6px!important;background:#2196e7!important;color:#fff!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important}
.payroll-salary-detail-box .mam-salary-section-title strong{color:#1f2937!important}
.payroll-salary-detail-box .mam-add-salary-btn{display:block!important;margin:12px 0 0 auto!important}
.mam-salary-success-modal{position:fixed!important;inset:0!important;z-index:100600!important;display:none;align-items:center!important;justify-content:center!important;padding:18px!important;background:rgba(15,23,42,.52)!important}
.mam-salary-success-modal.open{display:flex!important}
.mam-salary-success-box{width:min(360px,92vw)!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #d9dce3!important;border-radius:12px!important;box-shadow:0 18px 60px #0003!important;text-align:left!important}
.mam-salary-success-head{padding:14px 18px!important;background:#f4f8ff!important;border-bottom:1px solid #d9dce3!important}
.mam-salary-success-head h3{margin:0!important;color:#1f2937!important;font-size:18px!important;line-height:26px!important}
.mam-salary-success-content{padding:18px!important}
.mam-salary-success-content p{margin:0 0 18px!important;color:#263247!important;font-size:14px!important}
.mam-salary-success-content #mam-salary-success-ok{display:block!important;min-width:84px!important;height:34px!important;margin-left:auto!important;padding:0 18px!important;border:1px solid #2196e7!important;border-radius:6px!important;background:#2196e7!important;color:#fff!important;font-size:13px!important;font-weight:600!important;cursor:pointer!important}
#ui-datepicker-div{z-index:100500!important;border:1px solid #d9dce3!important;border-radius:8px!important;box-shadow:0 10px 28px #0002!important;overflow:hidden!important}
#ui-datepicker-div .ui-datepicker-header{background:#f4f8ff!important;border:0!important;color:#1f2937!important}
#ui-datepicker-div .ui-state-default{border:1px solid #e5e7eb!important;background:#fff!important;color:#263247!important}
#ui-datepicker-div .ui-state-active{background:#2196e7!important;border-color:#2196e7!important;color:#fff!important}
@media(max-width:700px){.mam-salary-lookup-body{grid-template-columns:minmax(0,1fr) auto!important}.mam-salary-lookup-actions{width:100%}.mam-salary-pay-box .mam-salary-fields.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-salary-pay-box .mam-salary-fields.three{grid-template-columns:1fr!important}}
.mam-salary-pay-box .mam-date-input input[type=date],.payroll-salary-detail-box .mam-date-input input[type=date]{appearance:auto!important;-webkit-appearance:auto!important;padding-right:8px!important;min-width:0!important}
.mam-salary-pay-box .mam-date-input input[type=date]::-webkit-calendar-picker-indicator,.payroll-salary-detail-box .mam-date-input input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.8;margin:0 2px 0 6px;align-self:center}

/* Staff Salary modal refinements v1.1.100 */
.mam-salary-lookup-box .mam-salary-custom-head,.mam-salary-pay-box .mam-salary-custom-head{padding:7px 18px!important;min-height:38px!important;border:0!important;background:#fff!important}
.mam-salary-lookup-box,.mam-salary-pay-box{border:0!important;border-radius:10px!important;box-shadow:0 18px 55px rgba(15,23,42,.16)!important;background:#fff!important}
.mam-salary-lookup-body{padding:12px 18px 18px!important;row-gap:8px!important}
.mam-salary-lookup-actions[hidden]{display:none!important}
.mam-salary-lookup-actions{padding-top:8px!important;margin-top:3px!important}
.mam-salary-lookup-actions .mam-salary-filter-btn,.mam-salary-lookup-reset{height:35px!important;min-height:35px!important}
.mam-salary-lookup-results:empty{display:none!important}
.mam-salary-pay-box .mam-pay-staff-info{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:22px!important;padding:14px 22px!important;margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mam-pay-staff-identity{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}
.mam-pay-staff-identity>strong{font-size:18px!important;line-height:1.3!important;color:#263247!important;font-weight:700!important}
.mam-pay-staff-identity>small{font-size:12px!important;color:#64748b!important;line-height:1.4!important}
.mam-pay-status-wrap,.mam-pay-due-wrap{display:flex!important;flex-direction:column!important;gap:4px!important;white-space:nowrap!important}
.mam-pay-status-wrap>small,.mam-pay-due-wrap>small{font-size:11px!important;color:#64748b!important}
.mam-pay-due-wrap>strong{color:#dc2626!important;font-size:14px!important}
.mam-salary-pay-box .mam-staff-status{border:0!important;background:transparent!important;padding:0!important;font-size:12px!important;font-weight:700!important}
.mam-salary-pay-box .mam-salary-entry{padding:14px 22px 26px!important;border:0!important;background:#fff!important}
.mam-salary-pay-box .mam-salary-section-title{border:0!important;border-radius:0!important;box-shadow:none!important}
.mam-salary-pay-box .mam-salary-fields input,.mam-salary-pay-box .mam-salary-fields select,.mam-salary-pay-box .mam-salary-fields textarea{box-shadow:none!important}
.mam-salary-pay-box .mam-staff-modal-actions{padding:12px 22px 20px!important;min-height:58px!important;border:0!important;background:#fff!important}
.mam-salary-pay-box .mam-staff-modal-actions .mam-modal-save,.mam-salary-pay-box .mam-staff-modal-actions .mam-pay-close{height:35px!important;min-height:35px!important}
@media(max-width:600px){.mam-salary-pay-box .mam-pay-staff-info{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}.mam-pay-due-wrap{grid-column:2;grid-row:1}.mam-pay-status-wrap{grid-column:2;grid-row:2}.mam-pay-staff-identity{grid-column:1;grid-row:1/3}}

/* Staff salary modal refinement (v1.1.101) */
.mam-salary-lookup-box .mam-salary-custom-head,.mam-salary-pay-box .mam-salary-custom-head{padding:5px 18px!important;min-height:32px!important;background:#f4f8ff!important;border:0!important;}
.mam-salary-lookup-box .mam-salary-custom-head h2,.mam-salary-pay-box .mam-salary-custom-head h2{line-height:22px!important;}
.mam-salary-lookup-body{padding:12px 18px 18px!important;row-gap:8px!important;}
.mam-salary-lookup-actions[hidden]{display:none!important;}
.mam-salary-lookup-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin-top:2px;}
.mam-salary-lookup-actions button{height:35px!important;min-height:35px!important;box-sizing:border-box!important;}
.mam-pay-staff-info{column-gap:14px!important;padding:10px 22px 8px!important;}
.mam-pay-staff-identity{border:0!important;padding-left:0!important;margin-left:0!important;}
.mam-pay-staff-identity:before,.mam-pay-staff-identity:after{display:none!important;content:none!important;}
.mam-salary-entry{padding-bottom:26px!important;}
.mam-salary-pay-box .mam-salary-section-title{margin-top:4px!important;margin-bottom:8px!important;}
.mam-salary-pay-box .mam-staff-modal-actions{padding:12px 22px 22px!important;}

/* v1.1.102: compact salary modal headers and staff summary */
.mam-salary-lookup-box .mam-salary-custom-head,
.mam-salary-pay-box .mam-salary-custom-head,
.mam-staff-modal-box .mam-staff-modal-head {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #F4F8FF !important;
  display: flex !important;
  align-items: center !important;
}
.mam-salary-lookup-box .mam-salary-custom-head h2,
.mam-salary-pay-box .mam-salary-custom-head h2,
.mam-staff-modal-box .mam-staff-modal-head h2 { margin: 0 !important; line-height: 22px !important; }
.mam-salary-pay-box .mam-pay-staff-info {
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  align-items: center !important;
}
.mam-salary-actions .mam-salary-receipt-btn,
.mam-salary-actions .mam-salary-receipt-disabled {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 0 10px; border-radius: 5px;
  font-size: 11px; line-height: 1; font-weight: 700; text-decoration: none;
  background: #168344; color: #fff; border: 1px solid #168344; white-space: nowrap;
}
.mam-salary-actions .mam-salary-receipt-disabled { background: #e5e7eb; color: #64748b; border-color: #e5e7eb; }
.mam-salary-actions .mam-salary-view-btn { white-space: nowrap; }
.mam-salary-page-title > .dashicons { display: inline-flex; align-items: center; justify-content: center; }


/* MAM v1.1.103: consistent compact headers, controls and salary staff information */
.mam-staff-modal-head,
.mam-salary-custom-head,
.mam-salary-page-head,
.mam-salary-lookup-box .mam-staff-modal-head {
  height:35px !important; min-height:35px !important; padding:5px !important;
  box-sizing:border-box !important;
}
.mam-staff-modal-head { align-items:center !important; }
.mam-salary-staff-info { padding:5px !important; box-sizing:border-box !important; }
.mam-salary-lookup-box input,
.mam-salary-lookup-box select,
.mam-salary-lookup-box button,
.mam-salary-form input:not([type="hidden"]),
.mam-salary-form select,
.mam-salary-form button,
.mam-salary-form .mam-date-input,
.mam-salary-page input:not([type="hidden"]),
.mam-salary-page select,
.mam-salary-page .mam-salary-filter-btn,
.mam-salary-page .mam-salary-reset-btn,
.mam-salary-page .mam-salary-actions > a,
.mam-salary-page .mam-salary-actions > button {
  height:35px !important; min-height:35px !important; box-sizing:border-box !important;
}
.mam-salary-form textarea { min-height:35px; box-sizing:border-box; }
.mam-salary-page-title > .dashicons { font-size:24px; width:28px; height:28px; line-height:28px; display:inline-flex; align-items:center; justify-content:center; }

/* MAM v1.1.104: enforce requested modal sizing and title icon scale */
.mam-salary-lookup-box .mam-salary-custom-head,
.mam-salary-pay-box .mam-salary-custom-head {
  height:40px !important;
  min-height:40px !important;
  padding:5px 10px !important;
  box-sizing:border-box !important;
}
.mam-salary-pay-box .mam-pay-staff-info {
  padding-left:10px !important;
  padding-right:10px !important;
  box-sizing:border-box !important;
}
.mam-salary-page-title > .dashicons {
  font-size:24px !important;
  width:28px !important;
  height:28px !important;
  line-height:28px !important;
  flex:0 0 28px !important;
}

/* MAM v1.1.105 Staff Salary and Salary History refinements */
.mam-salary-page-title .mam-staff-salary-title-icon{font-size:24px!important;width:28px!important;height:28px!important;line-height:28px!important;flex:0 0 28px!important}
.mam-salary-lookup-box .mam-salary-custom-head,.mam-salary-pay-box .mam-salary-custom-head{height:40px!important;min-height:40px!important;padding:5px 10px!important;box-sizing:border-box!important}
.mam-salary-lookup-box .mam-salary-custom-head h2,.mam-salary-pay-box .mam-salary-custom-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;font-weight:400!important;line-height:18px!important;color:#1f2937!important}
.payroll-salary-detail-box{width:min(760px,94vw)!important;max-width:94vw!important;max-height:88vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.payroll-salary-detail-box .mam-staff-modal-head{height:40px!important;min-height:40px!important;padding:5px 10px!important;box-sizing:border-box!important;flex:0 0 40px!important;background:#f4f8ff!important;color:#1f2937!important}
.payroll-salary-detail-box .mam-staff-modal-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;font-weight:400!important;line-height:18px!important;color:#1f2937!important;margin:0!important}
.payroll-salary-detail-box .mam-staff-modal-head p{display:none!important}
.payroll-salary-detail-box .mam-salary-staff-info{padding:10px 18px!important;flex:0 0 auto!important;box-sizing:border-box!important}
.payroll-salary-detail-box .mam-salary-entry,.payroll-salary-detail-box form.mam-salary-form{display:none!important}
.payroll-salary-detail-box .mam-salary-history{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto!important;padding:10px 18px!important}
.payroll-salary-detail-box .mam-salary-history-scroll{max-height:310px!important;overflow-y:auto!important;overflow-x:auto!important;min-height:0!important}
.payroll-salary-detail-box .mam-salary-history-scroll thead{position:sticky!important;top:0!important;z-index:2!important}
.payroll-salary-detail-box .mam-salary-history-scroll table{width:100%!important}
.payroll-salary-detail-box .mam-salary-history-scroll th,.payroll-salary-detail-box .mam-salary-history-scroll td{white-space:nowrap!important}
.payroll-salary-detail-box .mam-salary-history-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;padding:12px 18px 18px!important;margin-top:auto!important;flex:0 0 auto!important}
.payroll-salary-detail-box .mam-download-salary-history,.payroll-salary-detail-box .mam-history-receipt{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;border-radius:6px!important;padding:0 12px!important;min-height:35px!important;font-size:12px!important;font-weight:600!important}
.payroll-salary-detail-box .mam-download-salary-history{background:#168344!important;color:#fff!important}
.payroll-salary-detail-box .mam-history-receipt{background:#eaf2ff!important;color:#0969e8!important}
.payroll-salary-detail-box .mam-salary-total-info{display:flex!important;flex-direction:column!important;gap:3px!important;padding:0 10px!important;min-width:85px!important}
.payroll-salary-detail-box .mam-salary-total-info small{font-size:10px!important;color:#64748b!important}
.payroll-salary-detail-box .mam-salary-total-info strong{font-size:13px!important;color:#1f2937!important}
.payroll-salary-detail-box .mam-salary-total-info.due strong{color:#dc2626!important}
@media(max-width:700px){.payroll-salary-detail-box{width:96vw!important;max-width:96vw!important}.payroll-salary-detail-box .mam-salary-staff-info{flex-wrap:wrap!important}.payroll-salary-detail-box .mam-salary-history{padding:8px!important}.payroll-salary-detail-box .mam-salary-history-footer{padding:10px!important}}
/* MAM v1.1.106: Salary History modal aligned with Pay Salary modal */
#mam-payroll-salary-details-modal .payroll-salary-detail-box{width:min(930px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100vh - 48px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#mam-payroll-salary-details-modal .mam-salary-history{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto!important}
#mam-payroll-salary-details-modal .mam-salary-history-scroll{height:220px!important;max-height:220px!important;min-height:220px!important;overflow-y:auto!important;overflow-x:auto!important}
#mam-payroll-salary-details-modal .mam-salary-history-scroll thead{position:sticky!important;top:0!important;z-index:2!important}
#mam-payroll-salary-details-modal .mam-salary-history-footer{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;padding:12px 18px 18px!important;margin-top:auto!important;flex:0 0 auto!important}
#mam-payroll-salary-details-modal .mam-download-salary-history,#mam-payroll-salary-details-modal .mam-history-receipt{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;border:0!important;border-radius:6px!important;padding:0 12px!important;min-height:35px!important;font-size:12px!important;font-weight:600!important}
#mam-payroll-salary-details-modal .mam-download-salary-history{background:#168344!important;color:#fff!important}
#mam-payroll-salary-details-modal .mam-history-receipt{background:#eaf2ff!important;color:#0969e8!important}
@media(max-width:700px){#mam-payroll-salary-details-modal .payroll-salary-detail-box{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}#mam-payroll-salary-details-modal .mam-salary-history-scroll{height:220px!important;max-height:220px!important;min-height:220px!important}}
/* MAM v1.1.107 — requested Salary History presentation */
.mam-salary-page-title .mam-staff-salary-title-icon{font-size:48px!important;width:48px!important;height:48px!important;line-height:48px!important;flex:0 0 48px!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head{height:40px!important;min-height:40px!important;flex:0 0 40px!important;padding:10px 15px!important;box-sizing:border-box!important;background:#f4f8ff!important;color:#1f2937!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head h2{font-size:18px!important;line-height:20px!important;font-weight:500!important;color:#1f2937!important;margin:0!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head p{display:none!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head .dashicons{display:none!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info{padding:10px 15px!important;display:grid!important;grid-template-columns:1.2fr 1.2fr 1fr 1fr 1fr 1fr!important;gap:8px 14px!important;align-items:center!important;border:0!important;background:#fff!important;box-shadow:none!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info>.mam-salary-avatar{display:none!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(2){order:2}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(3){order:1;grid-column:1/-1!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(4){order:3}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(5){display:none!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(6){order:4}
#mam-payroll-salary-details-modal .mam-salary-staff-info>.mam-salary-total-info{order:5;padding:0!important;min-width:0!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info small{display:inline-block;font-size:11px!important;color:#64748b!important;margin-right:5px!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info strong{font-size:13px!important}
#mam-payroll-salary-details-modal .mam-salary-history{border:0!important;box-shadow:none!important;background:#fff!important}
#mam-payroll-salary-details-modal .mam-salary-history .mam-salary-section-title .dashicons{display:none!important}
#mam-payroll-salary-details-modal .mam-salary-history table{border-collapse:collapse!important}
#mam-payroll-salary-details-modal .mam-salary-history th,#mam-payroll-salary-details-modal .mam-salary-history td{border-left:0!important;border-right:0!important}
#mam-payroll-salary-details-modal .mam-salary-history-footer .mam-download-salary-history{padding-left:12px!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions{display:flex!important;gap:5px!important;align-items:center!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:0 9px!important;border-radius:5px!important;text-decoration:none!important;font-size:12px!important;font-weight:600!important;white-space:nowrap!important}
#mam-payroll-salary-details-modal .mam-salary-edit-action{background:#eef2ff!important;color:#3730a3!important}
#mam-payroll-salary-details-modal .mam-salary-delete-action{background:#fff0f0!important;color:#b42318!important}
#mam-payroll-salary-details-modal .mam-salary-editing .mam-salary-entry,#mam-payroll-salary-details-modal .mam-salary-editing form.mam-salary-form{display:block!important}
#mam-payroll-salary-details-modal .mam-salary-editing .mam-salary-history{flex:1 1 auto!important}
#mam-payroll-salary-details-modal .mam-salary-editing .mam-salary-history-scroll{max-height:150px!important;min-height:100px!important;height:150px!important}
#mam-payroll-salary-details-modal .mam-salary-delete-action{cursor:pointer}
@media(max-width:700px){#mam-payroll-salary-details-modal .mam-salary-staff-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}#mam-payroll-salary-details-modal .mam-salary-staff-info>div:nth-child(3){grid-column:1/-1!important}}

/* v1.1.108 salary history and lifetime salary refinements */
#mam-payroll-salary-details-modal .mam-staff-modal-head{height:40px!important;min-height:40px!important;padding:10px 18px!important;box-sizing:border-box!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head h2{font-size:18px!important;line-height:20px!important;margin:0!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info{height:50px!important;min-height:50px!important;padding:15px 20px!important;box-sizing:border-box!important;border:0!important;border-top:0!important;border-bottom:0!important;box-shadow:none!important;gap:12px!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info .mam-salary-avatar{display:none!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info>div{border:0!important;border-bottom:0!important;padding:0!important;min-width:0!important}
#mam-payroll-salary-details-modal .mam-salary-history .mam-salary-section-title{display:none!important}
#mam-payroll-salary-details-modal .mam-salary-history-scroll{margin-top:4px!important;max-height:220px!important;overflow:auto!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions a{color:#fff!important;background:#174ea6!important;border:0!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-salary-edit-action{background:#1557b0!important;color:#fff!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-salary-delete-action{background:#b42332!important;color:#fff!important}
#mam-payroll-salary-details-modal .mam-download-salary-history{background:#168344!important;color:#fff!important}
#mam-payroll-salary-details-modal .mam-download-salary-history .dashicons{display:none!important}
.mam-salary-page .mam-salary-page-title .mam-staff-salary-title-icon{font-size:48px!important;width:48px!important;height:48px!important;line-height:48px!important}
/* Salary history modal refinements and transaction editor */
.mam-salary-history-staff-info{display:flex;align-items:center;gap:18px;min-height:50px;padding:10px 18px!important;border:0!important;background:transparent!important;box-shadow:none!important;flex-wrap:wrap}
.mam-salary-history-staff-info .mam-salary-avatar{display:none!important}
.mam-salary-history-identity{display:flex;flex-direction:column;gap:3px;min-width:210px;margin-right:auto}
.mam-salary-history-identity strong{font-size:16px;color:#1f2937}
.mam-salary-history-identity small{font-size:12px;color:#64748b}
.mam-salary-history-stat,.mam-salary-total-info{display:flex;flex-direction:column;gap:4px;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
.mam-salary-history-stat small,.mam-salary-total-info small{font-size:11px;color:#64748b}
.mam-salary-history-stat strong,.mam-salary-total-info strong{font-size:13px;color:#1f2937}
.mam-salary-transaction-edit-form{padding:16px 18px;background:#fff;border:0!important;box-shadow:none!important}
.mam-salary-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mam-salary-edit-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#374151}
.mam-salary-edit-grid label.full{grid-column:1/-1}
.mam-salary-edit-grid input,.mam-salary-edit-grid select,.mam-salary-edit-grid textarea{width:100%;min-height:35px;box-sizing:border-box}
.mam-salary-delete-confirm-box{max-width:430px!important;width:calc(100% - 32px)!important}
.mam-salary-delete-confirm-box .mam-staff-modal-head{display:flex;align-items:center;justify-content:space-between}
.mam-salary-delete-confirm-box .mam-staff-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.mam-salary-delete-confirm-box .mam-modal-save{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#b91c1c;color:#fff!important;padding:8px 14px;border-radius:5px}
@media(max-width:700px){.mam-salary-edit-grid{grid-template-columns:1fr}.mam-salary-history-staff-info{gap:12px}}

/* Salary History summary and modal controls — v1.1.110 */
.mam-salary-history-staff-info{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:50px!important;padding:10px 18px!important;border:0!important;background:transparent!important;box-shadow:none!important;flex-wrap:nowrap!important}
.mam-salary-history-identity{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:180px!important;flex:1 1 auto!important}
.mam-salary-history-identity strong{font-size:15px!important;line-height:1.25!important;color:#1f2937!important;font-weight:700!important}
.mam-salary-history-identity small{font-size:11px!important;line-height:1.3!important;color:#64748b!important}
.mam-salary-history-stat,.mam-salary-total-info{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:76px!important;white-space:nowrap!important}
.mam-salary-history-stat small,.mam-salary-total-info small{font-size:10px!important;line-height:1.2!important;color:#64748b!important}
.mam-salary-history-stat strong,.mam-salary-total-info strong{font-size:12px!important;line-height:1.25!important;color:#1f2937!important;font-weight:700!important}
.mam-salary-total-info.due strong{color:#b42332!important}
.mam-salary-delete-confirm-content{padding:20px!important}
.mam-salary-delete-confirm-content p{margin:0 0 18px!important;color:#334155!important;font-size:14px!important;line-height:1.5!important}
.mam-salary-delete-confirm-box{width:min(420px,94vw)!important;max-width:420px!important}
.mam-salary-delete-confirm-box .mam-staff-modal-head{height:40px!important;min-height:40px!important;padding:8px 14px!important;background:#f4f8ff!important}
.mam-salary-delete-confirm-box .mam-staff-modal-head h2{margin:0!important;font-size:16px!important;color:#1f2937!important}
.mam-salary-delete-confirm-box .mam-staff-modal-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin:0!important;padding:0!important}
.mam-salary-delete-confirm-box .mam-modal-save{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:35px!important;padding:0 14px!important;border-radius:6px!important;background:#b42332!important;border:1px solid #b42332!important;color:#fff!important;text-decoration:none!important;font-weight:700!important}
.mam-salary-delete-confirm-box .mam-modal-cancel{height:35px!important;padding:0 14px!important;border-radius:6px!important;background:#fff!important;border:1px solid #d5dce5!important;color:#334155!important}
@media(max-width:760px){.mam-salary-history-staff-info{align-items:flex-start!important;flex-wrap:wrap!important;gap:12px!important}.mam-salary-history-identity{flex-basis:100%!important}}

/* Salary history layout refinements v1.1.111 */
.mam-salary-history-staff-info .mam-salary-history-identity{flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
.mam-salary-history-staff-info .mam-staff-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 9px;border-radius:20px;font-size:12px!important;font-weight:700!important;width:max-content}
.mam-salary-history-staff-info .mam-staff-status-pill.active{color:#166534!important;background:#dcfce7!important}
.mam-salary-history-staff-info .mam-staff-status-pill.inactive{color:#991b1b!important;background:#fee2e2!important}
#mam-staff-salary-modal .mam-salary-form input:not([type=hidden]),#mam-staff-salary-modal .mam-salary-form select,#mam-staff-salary-modal .mam-salary-form button,#mam-payroll-salary-details-modal .mam-salary-form input:not([type=hidden]),#mam-payroll-salary-details-modal .mam-salary-form select,#mam-payroll-salary-details-modal .mam-salary-form button,#mam-payroll-salary-details-modal .mam-salary-edit-grid input,#mam-payroll-salary-details-modal .mam-salary-edit-grid select{height:35px;min-height:35px;box-sizing:border-box}
#mam-staff-salary-modal .mam-salary-form textarea,#mam-payroll-salary-details-modal .mam-salary-form textarea{min-height:35px;box-sizing:border-box}

/* MAM v1.1.112 — salary modal typography, spacing and controls */
#mam-staff-salary-modal .mam-staff-modal-head,
#mam-payroll-salary-details-modal .mam-staff-modal-head{height:40px!important;min-height:40px!important;flex:0 0 40px!important;padding:18px 15px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
#mam-staff-salary-modal .mam-staff-modal-head h2,
#mam-payroll-salary-details-modal .mam-staff-modal-head h2{font-size:18px!important;line-height:20px!important;margin:0!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head .mam-staff-modal-close,
#mam-staff-salary-modal .mam-staff-modal-head .mam-staff-modal-close{color:#64748b!important;background:transparent!important;opacity:1!important;transition:color .18s ease,background-color .18s ease!important}
#mam-payroll-salary-details-modal .mam-staff-modal-head .mam-staff-modal-close:hover,
#mam-staff-salary-modal .mam-staff-modal-head .mam-staff-modal-close:hover{color:#334155!important;background:#e2e8f0!important}
#mam-staff-salary-modal .mam-salary-staff-info,
#mam-payroll-salary-details-modal .mam-salary-staff-info,
#mam-payroll-salary-details-modal .mam-salary-history-staff-info{height:50px!important;min-height:50px!important;padding:18px 17px!important;box-sizing:border-box!important}
#mam-payroll-salary-details-modal .mam-salary-history-identity strong{font-size:18px!important;line-height:1.15!important}
#mam-payroll-salary-details-modal .mam-salary-history-identity small{font-size:12px!important;line-height:1.25!important}
#mam-payroll-salary-details-modal .mam-salary-history-staff-info{gap:22px!important}
#mam-payroll-salary-details-modal .mam-salary-history-staff-info .mam-salary-history-stat:first-of-type{margin-left:12px!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions{gap:7px!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-salary-edit-action{background:#1769e0!important;color:#fff!important;box-shadow:0 2px 5px #1769e033!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-salary-delete-action{background:#e53935!important;color:#fff!important;box-shadow:0 2px 5px #e5393533!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-history-receipt,
#mam-payroll-salary-details-modal .mam-salary-row-actions .mam-salary-receipt-action{background:#f08c00!important;color:#fff!important;box-shadow:0 2px 5px #f08c0033!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions a{transition:filter .18s ease,transform .18s ease!important}
#mam-payroll-salary-details-modal .mam-salary-row-actions a:hover{filter:brightness(1.08)!important;transform:translateY(-1px)!important}
#mam-staff-salary-modal .mam-modal-cancel,
#mam-payroll-salary-details-modal .mam-modal-cancel,
#mam-payroll-salary-details-modal .mam-download-salary-history{height:35px!important;min-height:35px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.mam-staff-modal.mam-modal-closing{opacity:0!important;transition:opacity .18s ease!important;pointer-events:none!important}
.mam-staff-modal.mam-modal-closing .mam-staff-modal-box{transform:translateY(6px)!important;transition:transform .18s ease!important}

/* MAM v1.1.113 — prevent Salary History staff summary clipping */
#mam-staff-salary-modal .mam-salary-history-staff-info,
#mam-payroll-salary-details-modal .mam-salary-history-staff-info{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) minmax(82px,auto) minmax(125px,auto) minmax(125px,auto)!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:16px!important;
  row-gap:0!important;
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  padding:0 15px!important;
  margin:0!important;
  box-sizing:border-box!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
#mam-staff-salary-modal .mam-salary-history-identity,
#mam-payroll-salary-details-modal .mam-salary-history-identity{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:2px!important;min-width:0!important;width:auto!important;
  margin:0!important;flex:none!important;overflow:visible!important;
}
#mam-staff-salary-modal .mam-salary-history-identity strong,
#mam-payroll-salary-details-modal .mam-salary-history-identity strong{
  display:block!important;font-size:18px!important;line-height:21px!important;font-weight:700!important;
  white-space:nowrap!important;margin:0!important;
}
#mam-staff-salary-modal .mam-salary-history-identity small,
#mam-payroll-salary-details-modal .mam-salary-history-identity small{
  display:block!important;font-size:12px!important;line-height:15px!important;white-space:nowrap!important;
  word-break:normal!important;overflow-wrap:normal!important;max-width:100%!important;margin:0!important;
}
#mam-staff-salary-modal .mam-salary-history-stat,
#mam-staff-salary-modal .mam-salary-total-info,
#mam-payroll-salary-details-modal .mam-salary-history-stat,
#mam-payroll-salary-details-modal .mam-salary-total-info{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  gap:2px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;
  white-space:nowrap!important;overflow:visible!important;flex:none!important;
}
#mam-staff-salary-modal .mam-salary-history-stat small,
#mam-staff-salary-modal .mam-salary-total-info small,
#mam-payroll-salary-details-modal .mam-salary-history-stat small,
#mam-payroll-salary-details-modal .mam-salary-total-info small{font-size:11px!important;line-height:13px!important;white-space:nowrap!important;margin:0!important}
#mam-staff-salary-modal .mam-salary-history-stat strong,
#mam-staff-salary-modal .mam-salary-total-info strong,
#mam-payroll-salary-details-modal .mam-salary-history-stat strong,
#mam-payroll-salary-details-modal .mam-salary-total-info strong{font-size:12px!important;line-height:15px!important;white-space:nowrap!important;margin:0!important}
#mam-staff-salary-modal .mam-salary-total-info.due strong,
#mam-payroll-salary-details-modal .mam-salary-total-info.due strong{color:#b42332!important}
@media(max-width:900px){
 #mam-staff-salary-modal .mam-salary-history-staff-info,
 #mam-payroll-salary-details-modal .mam-salary-history-staff-info{grid-template-columns:minmax(170px,1fr) minmax(72px,auto) minmax(105px,auto) minmax(105px,auto)!important;column-gap:9px!important;padding:0 12px!important}
 #mam-staff-salary-modal .mam-salary-history-identity small,
 #mam-payroll-salary-details-modal .mam-salary-history-identity small{font-size:11px!important}
}


/* MAM v1.1.114 — match the requested Salary History staff summary reference exactly */
#mam-staff-salary-modal .mam-salary-history-staff-info,
#mam-payroll-salary-details-modal .mam-salary-history-staff-info{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 100px 150px!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:22px!important;
  row-gap:0!important;
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  padding:0 15px!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
}
#mam-staff-salary-modal .mam-salary-history-identity,
#mam-payroll-salary-details-modal .mam-salary-history-identity{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:2px!important;min-width:0!important;width:auto!important;
  margin:0!important;overflow:visible!important;
}
#mam-staff-salary-modal .mam-salary-history-identity strong,
#mam-payroll-salary-details-modal .mam-salary-history-identity strong{
  display:block!important;font-size:18px!important;line-height:21px!important;font-weight:700!important;
  white-space:nowrap!important;margin:0!important;
}
#mam-staff-salary-modal .mam-salary-history-identity small,
#mam-payroll-salary-details-modal .mam-salary-history-identity small{
  display:block!important;font-size:12px!important;line-height:15px!important;white-space:nowrap!important;
  word-break:keep-all!important;overflow-wrap:normal!important;max-width:none!important;margin:0!important;
}
#mam-staff-salary-modal .mam-salary-history-stat,
#mam-payroll-salary-details-modal .mam-salary-history-stat,
#mam-staff-salary-modal .mam-salary-total-info.due,
#mam-payroll-salary-details-modal .mam-salary-total-info.due{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
  gap:3px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;
  white-space:nowrap!important;overflow:visible!important;
}
#mam-staff-salary-modal .mam-salary-history-stat small,
#mam-payroll-salary-details-modal .mam-salary-history-stat small,
#mam-staff-salary-modal .mam-salary-total-info.due small,
#mam-payroll-salary-details-modal .mam-salary-total-info.due small{font-size:12px!important;line-height:14px!important;color:#64748b!important;white-space:nowrap!important;margin:0!important}
#mam-staff-salary-modal .mam-salary-history-stat strong,
#mam-payroll-salary-details-modal .mam-salary-history-stat strong{font-size:14px!important;line-height:17px!important;white-space:nowrap!important;margin:0!important}
#mam-staff-salary-modal .mam-salary-total-info.due strong,
#mam-payroll-salary-details-modal .mam-salary-total-info.due strong{font-size:16px!important;line-height:18px!important;color:#b42332!important;white-space:nowrap!important;margin:0!important}
#mam-staff-salary-modal .mam-salary-history-staff-info .mam-salary-total-info:not(.due),
#mam-payroll-salary-details-modal .mam-salary-history-staff-info .mam-salary-total-info:not(.due){display:none!important}
@media(max-width:760px){
 #mam-staff-salary-modal .mam-salary-history-staff-info,
 #mam-payroll-salary-details-modal .mam-salary-history-staff-info{grid-template-columns:minmax(0,1fr) 75px 110px!important;column-gap:10px!important;padding:0 10px!important}
 #mam-staff-salary-modal .mam-salary-history-identity strong,
 #mam-payroll-salary-details-modal .mam-salary-history-identity strong{font-size:15px!important}
 #mam-staff-salary-modal .mam-salary-history-identity small,
 #mam-payroll-salary-details-modal .mam-salary-history-identity small{font-size:10px!important}
}

/* v1.1.115: Income and Expense entry forms use focused modal windows */
body.wp-admin .mam-finance-entry-panel{padding:18px 20px!important;margin-bottom:14px!important}
.mam-finance-entry-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.mam-finance-entry-toolbar h2{margin:0 0 4px!important;font-size:18px!important;color:#172b4d}.mam-finance-entry-toolbar p{margin:0;color:#64748b;font-size:12px}.mam-finance-entry-toolbar>.button{height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:7px;font-weight:700;white-space:nowrap}
.mam-finance-modal{display:none;position:fixed;inset:0;z-index:100250;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}.mam-finance-modal.is-open{display:flex!important}.mam-finance-modal-backdrop{position:absolute;inset:0;background:rgba(13,25,48,.58);backdrop-filter:blur(2px)}.mam-finance-modal-dialog{position:relative;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid #dce5ef;border-radius:12px;box-shadow:0 22px 70px rgba(15,23,42,.28);animation:mamFinanceModalIn .18s ease-out}.mam-finance-modal-head{height:40px;box-sizing:border-box;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f2f7ff;border-bottom:1px solid #e2e8f0}.mam-finance-modal-head h2{margin:0!important;font-size:18px!important;font-weight:600!important;color:#17356d!important;line-height:1.2!important}.mam-finance-modal-x{width:30px;height:30px;border:0;background:transparent;color:#64748b;font-size:25px;line-height:1;cursor:pointer;border-radius:6px}.mam-finance-modal-x:hover{background:#e2eaf5;color:#24364d}.mam-finance-modal-body{padding:18px}.mam-finance-modal-body form{margin:0}.mam-finance-modal-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 14px!important}.mam-finance-modal-grid label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;font-weight:600;color:#334155}.mam-finance-modal-grid input,.mam-finance-modal-grid select{width:100%;max-width:100%;height:35px;min-height:35px;box-sizing:border-box;margin:0!important;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#263449;font-size:13px}.mam-finance-modal-grid input:focus,.mam-finance-modal-grid select:focus{border-color:#2783e8;box-shadow:0 0 0 2px rgba(39,131,232,.12);outline:0}.mam-finance-modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:18px;padding-top:13px;border-top:1px solid #edf1f6}.mam-finance-modal-actions .button{height:35px;min-height:35px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;font-weight:600}.mam-finance-modal-actions .mam-finance-cancel{margin-right:auto;background:#f1f5f9;border-color:#d5deea;color:#334155}.mam-finance-modal-actions .mam-finance-cancel:hover{background:#e7edf5}.mam-finance-modal-actions .button-primary{background:#1680df;border-color:#1680df}.mam-finance-modal-actions .button-primary:hover{background:#0969c7;border-color:#0969c7}@keyframes mamFinanceModalIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:680px){.mam-finance-modal{padding:10px}.mam-finance-modal-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.mam-finance-modal-body{padding:14px}.mam-finance-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}@media(max-width:440px){.mam-finance-modal-grid{grid-template-columns:1fr!important}.mam-finance-entry-toolbar{align-items:flex-start;flex-direction:column}.mam-finance-entry-toolbar>.button{width:100%}}

/* MAM v1.1.124.12 — Staff page aligned with Income page styling */
.mam-staff-modern-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important}
.mam-staff-modern-page .mam-staff-modern-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin:12px 0 20px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mam-staff-modern-page .mam-staff-page-title{display:flex!important;align-items:center!important;gap:14px!important}
.mam-staff-modern-page .mam-staff-page-title>.dashicons{font-size:42px!important;width:42px!important;height:42px!important;line-height:42px!important;color:#075aa7!important}
.mam-staff-modern-page .mam-staff-page-title h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important;margin:0 0 4px!important}
.mam-staff-modern-page .mam-staff-page-title p{margin:0!important;color:#52617b!important;font-size:14px!important;line-height:20px!important}
.mam-staff-modern-page .mam-staff-head-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.mam-staff-modern-page .mam-staff-head-actions .mam-ui-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 15px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.mam-staff-modern-page .mam-staff-head-actions .mam-ui-btn.primary,.mam-staff-modern-page .mam-staff-filter-card button.mam-ui-btn.primary,.mam-staff-modern-page .mam-staff-bulk .mam-ui-btn.primary{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}
.mam-staff-modern-page .mam-staff-head-actions .mam-ui-btn.green{background:#07865b!important;border:1px solid #07865b!important;color:#fff!important}
.mam-staff-modern-page .mam-staff-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 20px!important}
.mam-staff-modern-page .mam-staff-stat{min-height:82px!important;height:82px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:16px!important;padding:14px 18px!important;border:0!important;border-radius:9px!important;box-shadow:none!important;color:#17365d!important}
.mam-staff-modern-page .mam-staff-stat.total{background:#e8f4ff!important;color:#0876d1!important}
.mam-staff-modern-page .mam-staff-stat.teaching{background:#e8faef!important;color:#07865b!important}
.mam-staff-modern-page .mam-staff-stat.nonteaching{background:#fff3e8!important;color:#d97706!important}
.mam-staff-modern-page .mam-staff-stat.inactive{background:#f1f4f8!important;color:#64748b!important}
.mam-staff-modern-page .mam-staff-stat>.dashicons{width:48px!important;height:48px!important;line-height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#ffffffb8!important;font-size:25px!important;color:inherit!important}
.mam-staff-modern-page .mam-staff-stat small{display:block!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;color:inherit!important;margin:0 0 3px!important}
.mam-staff-modern-page .mam-staff-stat strong{font-size:24px!important;line-height:28px!important;font-weight:700!important;color:#17365d!important}
.mam-staff-modern-page .mam-staff-filter-card{padding:12px!important;margin:0 0 18px!important;background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px #18345a08!important}
.mam-staff-modern-page .mam-staff-filter-card form{display:grid!important;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(130px,1fr)) auto auto!important;align-items:center!important;gap:9px!important}
.mam-staff-modern-page .mam-staff-filter-search{height:35px!important;min-height:35px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;min-width:0!important}
.mam-staff-modern-page .mam-staff-filter-search>.dashicons{font-size:17px!important;width:17px!important;height:17px!important;color:#64748b!important}
.mam-staff-modern-page .mam-staff-filter-search input{height:33px!important;min-height:33px!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-family:inherit!important;font-size:13px!important;color:#17365d!important}
.mam-staff-modern-page .mam-staff-filter-card form>select{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font-family:inherit!important;font-size:13px!important}
.mam-staff-modern-page .mam-staff-filter-card form>.mam-ui-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 14px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.mam-staff-modern-page .mam-staff-filter-card form>.mam-ui-btn.reset{background:#fff!important;color:#163a78!important;border:1px solid #cbd5e1!important}
.mam-staff-modern-page .mam-staff-table-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;padding:12px!important;box-shadow:0 2px 8px #18345a08!important}
.mam-staff-modern-page .mam-staff-modern-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-family:inherit!important;font-size:13px!important}
.mam-staff-modern-page .mam-staff-modern-table th{background:#f0f4f9!important;color:#16264d!important;font-size:12px!important;font-weight:700!important;text-align:left!important;padding:11px 9px!important;border-bottom:1px solid #e0e6ef!important;white-space:nowrap!important}
.mam-staff-modern-page .mam-staff-modern-table td{padding:9px!important;border-bottom:1px solid #e7ebf1!important;color:#1b2945!important;vertical-align:middle!important;font-size:13px!important}
.mam-staff-modern-page .mam-staff-modern-table tbody tr:nth-child(even){background:#f7faff!important}
.mam-staff-modern-page .mam-staff-action-row{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important}
.mam-staff-modern-page .mam-staff-action{height:32px!important;min-height:32px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 9px!important;border-radius:5px!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;text-decoration:none!important;white-space:nowrap!important}
.mam-staff-modern-page .mam-staff-action.view{background:#0876d1!important;color:#fff!important}.mam-staff-modern-page .mam-staff-action.edit{background:#f39812!important;color:#fff!important}.mam-staff-modern-page .mam-staff-action.idcard{background:#6d5ce8!important;color:#fff!important}.mam-staff-modern-page .mam-staff-action.login{background:#0891b2!important;color:#fff!important}.mam-staff-modern-page .mam-staff-action.delete{background:#ed2440!important;color:#fff!important}
.mam-staff-modern-page .mam-staff-table-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;padding-top:14px!important;font-family:inherit!important;font-size:12px!important;color:#53617a!important}
.mam-staff-modern-page .mam-staff-bulk{display:flex!important;align-items:center!important;gap:8px!important}.mam-staff-modern-page .mam-staff-bulk select{height:35px!important;min-height:35px!important;box-sizing:border-box!important;border:1px solid #d5dce7!important;border-radius:8px!important;padding:0 10px!important;font-family:inherit!important;font-size:13px!important}.mam-staff-modern-page .mam-staff-bulk .mam-ui-btn{height:38px!important;min-height:38px!important;padding:0 14px!important}
@media(max-width:1100px){.mam-staff-modern-page .mam-staff-filter-card form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.mam-staff-modern-page .mam-staff-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.mam-staff-modern-page .mam-staff-stat-grid{grid-template-columns:1fr!important}.mam-staff-modern-page .mam-staff-filter-card form{grid-template-columns:1fr 1fr!important}.mam-staff-modern-page .mam-staff-filter-search{grid-column:1/-1!important}.mam-staff-modern-page .mam-staff-page-title h2{font-size:24px!important}.mam-staff-modern-page .mam-staff-head-actions{width:100%!important}.mam-staff-modern-page .mam-staff-table-scroll{overflow-x:auto!important}}


/* MAM v1.1.124.13 — Staff Salary page aligned with the Income/Staff page UI */
.mam-salary-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important}
.mam-salary-page .mam-salary-page-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin:12px 0 20px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mam-salary-page .mam-salary-page-title{display:flex!important;align-items:center!important;gap:14px!important}
.mam-salary-page .mam-salary-page-title h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important;margin:0 0 4px!important}
.mam-salary-page .mam-salary-page-title p{margin:0!important;color:#52617b!important;font-size:14px!important;line-height:20px!important}
.mam-salary-page .mam-staff-salary-title-icon{font-size:38px!important;width:38px!important;height:38px!important;line-height:38px!important;color:#0876d1!important}
.mam-salary-page .mam-salary-head-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.mam-salary-page .mam-salary-head-actions .mam-salary-export{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 15px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important;background:#fff!important;color:#17365d!important;border:1px solid #cbd5e1!important}
.mam-salary-page .mam-salary-head-actions .mam-pay-salary-open{background:#0876d1!important;border-color:#0876d1!important;color:#fff!important;cursor:pointer!important}
.mam-salary-page .mam-salary-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important}
.mam-salary-page .mam-salary-stat{min-height:82px!important;height:82px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:14px!important;padding:14px 18px!important;border:0!important;border-radius:9px!important;box-shadow:none!important}
.mam-salary-page .mam-salary-stat.blue{background:#e8f4ff!important;color:#0876d1!important}.mam-salary-page .mam-salary-stat.orange{background:#fff4e8!important;color:#d97706!important}.mam-salary-page .mam-salary-stat.green{background:#e8f8f0!important;color:#07865b!important}.mam-salary-page .mam-salary-stat.navy{background:#edf2fb!important;color:#4b63a6!important}
.mam-salary-page .mam-salary-stat>.dashicons,.mam-salary-page .mam-salary-stat>.mam-salary-stat-rupee{width:44px!important;height:44px!important;flex:0 0 44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#ffffffc9!important;font-size:23px!important;color:inherit!important}
.mam-salary-page .mam-salary-stat small{display:block!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;color:inherit!important;margin:0 0 3px!important}.mam-salary-page .mam-salary-stat strong{font-size:22px!important;line-height:27px!important;font-weight:700!important;color:#17365d!important}
.mam-salary-page .mam-salary-filter-card{padding:12px!important;margin:0 0 18px!important;background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px #18345a08!important}
.mam-salary-page .mam-salary-filter-card form{display:grid!important;grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) minmax(130px,1fr) auto auto!important;align-items:end!important;gap:10px!important;margin:0!important}
.mam-salary-page .mam-salary-filter-card form>label{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;color:#334155!important;font-size:12px!important;font-weight:600!important}
.mam-salary-page .mam-salary-search{height:35px!important;min-height:35px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;min-width:0!important}
.mam-salary-page .mam-salary-search>.dashicons{font-size:16px!important;width:16px!important;height:16px!important;color:#64748b!important}
.mam-salary-page .mam-salary-search input,.mam-salary-page .mam-salary-filter-card select{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;margin:0!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font-family:inherit!important;font-size:13px!important;line-height:normal!important;box-shadow:none!important}
.mam-salary-page .mam-salary-search input{height:33px!important;min-height:33px!important;padding:0!important;border:0!important;border-radius:0!important}
.mam-salary-page .mam-salary-filter-btn,.mam-salary-page .mam-salary-reset-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 14px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.mam-salary-page .mam-salary-filter-btn{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important;cursor:pointer!important}.mam-salary-page .mam-salary-reset-btn{background:#fff!important;color:#17365d!important;border:1px solid #cbd5e1!important}
.mam-salary-page .mam-salary-table-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;padding:12px!important;box-shadow:0 2px 8px #18345a08!important}
.mam-salary-page .mam-salary-modern-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-family:inherit!important;font-size:13px!important}
.mam-salary-page .mam-salary-modern-table th{background:#f0f4f9!important;color:#16264d!important;font-size:12px!important;font-weight:700!important;text-align:left!important;padding:11px 9px!important;border-bottom:1px solid #e0e6ef!important;white-space:nowrap!important}
.mam-salary-page .mam-salary-modern-table td{padding:9px!important;border-bottom:1px solid #e7ebf1!important;color:#1b2945!important;vertical-align:middle!important;font-size:13px!important}.mam-salary-page .mam-salary-modern-table tbody tr:nth-child(even){background:#f7faff!important}
.mam-salary-page .mam-salary-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important}.mam-salary-page .mam-salary-actions>a,.mam-salary-page .mam-salary-actions>button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 10px!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;text-decoration:none!important}
.mam-salary-page .mam-salary-view-btn{background:#e8f4ff!important;color:#0876d1!important;border:1px solid #d3e8fb!important}.mam-salary-page .mam-salary-receipt-btn{background:#e8f8f0!important;color:#07865b!important;border:1px solid #d1f0df!important}.mam-salary-page .mam-salary-pay-btn{background:#0876d1!important;color:#fff!important;border:1px solid #0876d1!important;cursor:pointer!important}
.mam-salary-page .mam-payment-badge.paid{background:#d9f7e8!important;color:#08784e!important}.mam-salary-page .mam-payment-badge.partial{background:#fff1d6!important;color:#a96500!important}.mam-salary-page .mam-payment-badge.due{background:#ffe7e9!important;color:#c5283d!important}
.mam-salary-page .mam-salary-page-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;padding-top:14px!important;font-size:12px!important;color:#53617a!important}
@media(max-width:1100px){.mam-salary-page .mam-salary-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-salary-page .mam-salary-filter-card form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.mam-salary-page .mam-salary-stat-grid{grid-template-columns:1fr!important}.mam-salary-page .mam-salary-filter-card form{grid-template-columns:1fr!important}.mam-salary-page .mam-salary-head-actions{width:100%!important}.mam-salary-page .mam-salary-table-scroll{overflow-x:auto!important}}


/* MAM v1.1.124.14 — unified light professional styling for Students, Fees, ID Cards and Attendance */
.mam-student-page,.mam-fees-page,.mam-id-page,.mam-admin-attendance-page{
 font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important
}
.mam-student-page h1,.mam-student-page h2,.mam-fees-page h1,.mam-fees-page h2,.mam-id-page h1,.mam-id-page h2,.mam-admin-attendance-page h1,.mam-admin-attendance-page h2{
 font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important
}
/* Students */
.mam-student-page .mam-student-page-head,.mam-fees-page .mam-fees-hero,.mam-id-page .mam-id-hero,.mam-admin-attendance-page .mam-attendance-page-head{
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;margin:12px 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important
}
.mam-student-page .mam-student-title,.mam-fees-page .mam-fees-title,.mam-id-page .mam-id-title,.mam-admin-attendance-page .mam-attendance-title{display:flex!important;align-items:center!important;gap:12px!important}
.mam-student-page .mam-student-title>span,.mam-fees-page .mam-fees-page-icon,.mam-id-page .mam-id-title>.dashicons,.mam-admin-attendance-page .mam-attendance-icon{color:#0876d1!important;font-size:34px!important;width:38px!important;height:38px!important;line-height:38px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mam-student-page .mam-student-title p,.mam-fees-page .mam-fees-title p,.mam-id-page .mam-id-title p,.mam-admin-attendance-page .mam-attendance-title p{font-size:13px!important;line-height:20px!important;color:#64748b!important;margin:2px 0 0!important}
.mam-student-page .mam-student-stat-grid,.mam-fees-page .mam-fee-summary-grid,.mam-id-page .mam-id-stats,.mam-admin-attendance-page .mam-attendance-admin-stats{gap:12px!important;margin:0 0 16px!important}
.mam-student-page .mam-student-stat,.mam-fees-page .mam-fee-stat,.mam-id-page .mam-id-stat,.mam-admin-attendance-page .mam-attendance-stat{min-height:82px!important;height:82px!important;box-sizing:border-box!important;border:0!important;border-radius:9px!important;box-shadow:none!important;padding:13px 16px!important;gap:12px!important}
.mam-student-page .mam-student-stat.total,.mam-id-page .mam-id-stat.blue,.mam-admin-attendance-page .mam-attendance-stat.all{background:#e8f4ff!important;color:#0876d1!important}
.mam-student-page .mam-student-stat.pending,.mam-id-page .mam-id-stat.orange,.mam-admin-attendance-page .mam-attendance-stat.leave{background:#fff4e5!important;color:#c77a08!important}
.mam-student-page .mam-student-stat.approved,.mam-fees-page .mam-fee-stat.green,.mam-id-page .mam-id-stat.green,.mam-admin-attendance-page .mam-attendance-stat.present{background:#e8f8f0!important;color:#07865b!important}
.mam-student-page .mam-student-stat.rejected,.mam-id-page .mam-id-stat.red,.mam-admin-attendance-page .mam-attendance-stat.absent{background:#fff0f1!important;color:#d43b4a!important}
.mam-fees-page .mam-fee-stat.blue{background:#e8f4ff!important;color:#0876d1!important}.mam-fees-page .mam-fee-stat.orange{background:#fff4e5!important;color:#c77a08!important}.mam-fees-page .mam-fee-stat.purple{background:#f3edff!important;color:#7544d8!important}
.mam-student-page .mam-student-stat .dashicons,.mam-fees-page .mam-fee-stat>.dashicons,.mam-id-page .mam-id-stat>.dashicons,.mam-admin-attendance-page .mam-attendance-stat-icon{background:#ffffffc9!important;border-radius:50%!important;color:inherit!important}
.mam-student-page .mam-student-stat small,.mam-fees-page .mam-fee-stat small,.mam-id-page .mam-id-stat small,.mam-admin-attendance-page .mam-attendance-stat span{font-size:12px!important;font-weight:600!important;color:inherit!important}
.mam-student-page .mam-student-stat strong,.mam-fees-page .mam-fee-stat strong,.mam-id-page .mam-id-stat strong,.mam-admin-attendance-page .mam-attendance-stat strong{font-size:22px!important;line-height:27px!important;color:#17365d!important}
.mam-student-page .mam-student-filter-card,.mam-student-page .mam-student-table-card,.mam-fees-page .mam-fee-tabs,.mam-fees-page .mam-fee-scroll,.mam-id-page .mam-id-filter,.mam-id-page .mam-id-table-card,.mam-admin-attendance-page .mam-attendance-filter.panel,.mam-admin-attendance-page .mam-portal-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px #18345a08!important}
.mam-student-page .mam-student-filter-card,.mam-id-page .mam-id-filter{padding:12px!important;margin-bottom:16px!important}
.mam-student-page .mam-student-filter-card form,.mam-id-page .mam-id-filter{gap:10px!important;align-items:center!important}
.mam-student-page .mam-filter-search,.mam-id-page .mam-id-search{height:35px!important;min-height:35px!important;box-sizing:border-box!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:7px!important}
.mam-student-page .mam-filter-search input,.mam-student-page .mam-student-filter-card select,.mam-id-page .mam-id-search input,.mam-id-page .mam-id-filter select,.mam-fees-page input:not([type=checkbox]):not([type=radio]),.mam-fees-page select,.mam-admin-attendance-page .mam-attendance-filter select,.mam-admin-attendance-page .mam-attendance-date-wrap #mam-attendance-date-display{
 height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font:13px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;padding:0 10px!important;box-shadow:none!important
}
.mam-student-page .mam-filter-search input,.mam-id-page .mam-id-search input{height:31px!important;min-height:31px!important;border:0!important;padding:0!important;border-radius:0!important}
.mam-student-page .mam-ui-btn,.mam-student-page .mam-row-btn,.mam-fees-page .button,.mam-id-page .button,.mam-admin-attendance-page .mam-attendance-export,.mam-admin-attendance-page .mam-attendance-load,.mam-admin-attendance-page .mam-attendance-reset-loaded{
 min-height:38px!important;height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:0 13px!important;border-radius:7px!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:12px!important;font-weight:600!important;line-height:1.2!important;text-decoration:none!important;box-shadow:none!important
}
.mam-student-page .mam-ui-btn.primary,.mam-student-page .mam-row-btn.blue,.mam-fees-page .mam-fee-open,.mam-fees-page .mam-fee-bulk-open,.mam-id-page .mam-id-primary,.mam-admin-attendance-page .mam-attendance-load{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}
.mam-student-page .mam-ui-btn.green,.mam-student-page .mam-row-btn.purple,.mam-id-page .mam-id-success{background:#e8f8f0!important;border:1px solid #d1f0df!important;color:#07865b!important}
.mam-student-page .mam-ui-btn.reset,.mam-fees-page .mam-fee-export-toggle,.mam-id-page .mam-id-filter .button:not(.button-primary),.mam-admin-attendance-page .mam-attendance-reset-loaded{background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important}
.mam-student-page .mam-student-table,.mam-fees-page .mam-fee-data,.mam-id-page .mam-id-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font:13px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.mam-student-page .mam-student-table th,.mam-fees-page .mam-fee-data th,.mam-id-page .mam-id-table th{background:#f0f4f9!important;color:#17365d!important;font-size:12px!important;font-weight:700!important;padding:11px 9px!important;border-bottom:1px solid #e0e6ef!important;white-space:nowrap!important}
.mam-student-page .mam-student-table td,.mam-fees-page .mam-fee-data td,.mam-id-page .mam-id-table td{padding:9px!important;border-bottom:1px solid #e7ebf1!important;color:#24344f!important;font-size:12px!important;vertical-align:middle!important}
.mam-student-page .mam-student-table tbody tr:nth-child(even),.mam-fees-page .mam-fee-data tbody tr:nth-child(even),.mam-id-page .mam-id-table tbody tr:nth-child(even){background:#f7faff!important}
.mam-student-page .mam-student-table-scroll,.mam-fees-page .mam-fee-scroll,.mam-id-page .mam-id-scroll{overflow-x:auto!important}
.mam-id-page .mam-id-breadcrumb{font-size:12px!important;color:#64748b!important;margin:0 0 8px!important}
.mam-id-page .mam-id-hero{margin-bottom:16px!important}
.mam-id-page .mam-id-table-head{padding:12px 14px!important;border-bottom:1px solid #e5eaf2!important}
.mam-id-page .mam-id-table-head h2{font-size:17px!important;line-height:24px!important}
.mam-id-page .mam-id-row-actions{display:flex!important;gap:5px!important;flex-wrap:nowrap!important}
.mam-id-page .mam-id-row-actions .button{padding:0 9px!important;font-size:11px!important}
.mam-fees-page .mam-fees-actions{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important}
.mam-fees-page .mam-fee-tabs{padding:8px 12px!important;margin:0 0 14px!important}
.mam-fees-page .mam-fee-scroll{padding:12px!important}
.mam-admin-attendance-page .mam-attendance-filter.panel{padding:12px!important;margin:0 0 14px!important}
.mam-admin-attendance-page .mam-attendance-filter form{gap:10px!important}
.mam-admin-attendance-page .mam-attendance-filter form>label{font-family:inherit!important;font-size:12px!important;color:#334155!important}
.mam-admin-attendance-page .mam-attendance-export{background:#fff!important;border:1px solid #cbd5e1!important;color:#17365d!important}
.mam-admin-attendance-page .mam-attendance-load{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}
.mam-admin-attendance-page .mam-attendance-reset-loaded{background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important}
.mam-admin-attendance-page .mam-portal-card-head{background:#f7faff!important;border-bottom:1px solid #e5eaf2!important}
.mam-admin-attendance-page .mam-portal-card-head h3{font-family:inherit!important;font-weight:700!important;color:#17365d!important}
@media(max-width:900px){.mam-student-page .mam-student-stat-grid,.mam-fees-page .mam-fee-summary-grid,.mam-id-page .mam-id-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.mam-student-page .mam-student-stat-grid,.mam-fees-page .mam-fee-summary-grid,.mam-id-page .mam-id-stats,.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:1fr!important}.mam-student-page .mam-student-page-head,.mam-fees-page .mam-fees-hero,.mam-id-page .mam-id-hero,.mam-admin-attendance-page .mam-attendance-page-head{align-items:flex-start!important}.mam-student-page .mam-student-filter-card form,.mam-id-page .mam-id-filter{display:flex!important;flex-wrap:wrap!important}.mam-student-page .mam-filter-search,.mam-id-page .mam-id-search{flex:1 1 100%!important}}

/* MAM v1.1.124.15 — consistent light professional styling for Academic, Examination and Results & Marks */
.wrap.mam:has(.mam-academic-ref-head),
.wrap.mam:has(.mam-exam-page-head),
.wrap.mam:has(.mam-results-hero){
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  color:#17365d!important;
}
.wrap.mam:has(.mam-academic-ref-head) h2,
.wrap.mam:has(.mam-exam-page-head) h2,
.wrap.mam:has(.mam-results-hero) h2{
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important;
}
.wrap.mam:has(.mam-academic-ref-head) h3,
.wrap.mam:has(.mam-exam-page-head) h3,
.wrap.mam:has(.mam-results-hero) h3{
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  color:#17365d!important;font-weight:700!important;
}
/* Academic panels, stats and action buttons */
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card,
.wrap.mam:has(.mam-academic-ref-head) .panel,
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-section,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-section,
.wrap.mam:has(.mam-results-hero) .mam-results-section{
  border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px #18345a08!important;background:#fff!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-stats .mam-ref-stat,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>div{
  min-height:82px!important;box-sizing:border-box!important;border:0!important;border-radius:9px!important;box-shadow:none!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-stats .mam-ref-stat.blue,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card.blue,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card.blue,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>.blue{background:#e8f4ff!important;color:#0876d1!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-stats .mam-ref-stat.green,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card.green,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card.green,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>.green{background:#e8f8f0!important;color:#07865b!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-stats .mam-ref-stat.amber,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card.amber,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card.amber,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>.amber{background:#fff4e8!important;color:#d97706!important}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card.red,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card.red{background:#fff0f1!important;color:#d93649!important}
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>.purple{background:#f2edff!important;color:#7040d8!important}
/* Common input/select sizing */
.wrap.mam:has(.mam-academic-ref-head) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.wrap.mam:has(.mam-academic-ref-head) select,
.wrap.mam:has(.mam-exam-page-head) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.wrap.mam:has(.mam-exam-page-head) select,
.wrap.mam:has(.mam-results-hero) input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.wrap.mam:has(.mam-results-hero) select{
  min-height:35px!important;height:35px!important;max-height:35px!important;box-sizing:border-box!important;
  border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;
  padding:0 10px!important;box-shadow:none!important;
}
/* Buttons */
.wrap.mam:has(.mam-academic-ref-head) .button,
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-btn,
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-action,
.wrap.mam:has(.mam-exam-page-head) .button,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-btn,
.wrap.mam:has(.mam-results-hero) .button,
.wrap.mam:has(.mam-results-hero) .mam-results-search,
.wrap.mam:has(.mam-results-hero) .mam-results-reset,
.wrap.mam:has(.mam-results-hero) .mam-results-save,
.wrap.mam:has(.mam-results-hero) .mam-results-next,
.wrap.mam:has(.mam-results-hero) .mam-results-clear{
  min-height:38px!important;height:38px!important;box-sizing:border-box!important;border-radius:8px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important;font-weight:600!important;
  padding:0 13px!important;line-height:1.2!important;text-decoration:none!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-btn.blue,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-btn.primary,
.wrap.mam:has(.mam-results-hero) .mam-results-search,
.wrap.mam:has(.mam-results-hero) .mam-results-save,
.wrap.mam:has(.mam-results-hero) .mam-results-next{background:#0876d1!important;color:#fff!important;border:1px solid #0876d1!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-btn.green{background:#e8f8f0!important;color:#07865b!important;border:1px solid #d1f0df!important}
/* Tables */
.wrap.mam:has(.mam-academic-ref-head) table,
.wrap.mam:has(.mam-exam-page-head) table,
.wrap.mam:has(.mam-results-hero) table{border-collapse:separate!important;border-spacing:0!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:13px!important}
.wrap.mam:has(.mam-academic-ref-head) table thead th,
.wrap.mam:has(.mam-exam-page-head) table thead th,
.wrap.mam:has(.mam-results-hero) table thead th{background:#f0f4f9!important;color:#16264d!important;font-size:12px!important;font-weight:700!important;border-bottom:1px solid #e0e6ef!important;padding:11px 9px!important}
.wrap.mam:has(.mam-academic-ref-head) table tbody td,
.wrap.mam:has(.mam-exam-page-head) table tbody td,
.wrap.mam:has(.mam-results-hero) table tbody td{padding:9px!important;border-bottom:1px solid #e7ebf1!important;color:#1b2945!important;vertical-align:middle!important}
.wrap.mam:has(.mam-academic-ref-head) table tbody tr:nth-child(even),
.wrap.mam:has(.mam-exam-page-head) table tbody tr:nth-child(even),
.wrap.mam:has(.mam-results-hero) table tbody tr:nth-child(even){background:#f7faff!important}
/* Soft tab styling and responsive layout */
.wrap.mam:has(.mam-results-hero) .mam-results-step-tabs a,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-tabs a{border-radius:8px!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-weight:600!important}
@media(max-width:782px){
 .wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-grid{grid-template-columns:minmax(0,1fr)!important}
 .wrap.mam:has(.mam-exam-page-head) .mam-exam-summary,.wrap.mam:has(.mam-results-hero) .mam-results-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .wrap.mam:has(.mam-academic-ref-head) .mam-ref-table-wrap,.wrap.mam:has(.mam-exam-page-head) .mam-exam-table-wrap,.wrap.mam:has(.mam-results-hero) .mam-results-table-wrap{overflow-x:auto!important}
}
@media(max-width:480px){.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary,.wrap.mam:has(.mam-results-hero) .mam-results-summary{grid-template-columns:minmax(0,1fr)!important}}

/* MAM v1.1.124.16 Dashboard full-page header; removes the decorative mosque/calendar hero */
.mam-target-dashboard.mam-dashboard-full-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important;padding-top:28px!important;max-width:none!important;width:100%!important;box-sizing:border-box!important}
.mam-dashboard-full-page .mam-dashboard-page-heading{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 20px!important;padding:0 0 16px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mam-dashboard-full-page .mam-dashboard-page-heading>.dashicons{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;font-size:42px!important;line-height:42px!important;color:#075aa7!important;flex:0 0 42px!important}
.mam-dashboard-full-page .mam-dashboard-page-heading h1{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important;margin:0 0 4px!important;padding:0!important}
.mam-dashboard-full-page .mam-target-hero{display:none!important}
.mam-dashboard-full-page .mam-target-finance-cards{margin-top:0!important}
@media(max-width:782px){.mam-target-dashboard.mam-dashboard-full-page{padding-top:20px!important}.mam-dashboard-full-page .mam-dashboard-page-heading{gap:12px!important;margin-bottom:16px!important;padding-bottom:12px!important}}

/* v1.1.124.21 — dashboard refinements and academic session controls */
.mam-target-dashboard.mam-dashboard-full-page{padding-top:8px!important}
.mam-dashboard-full-page .mam-dashboard-page-heading{gap:10px!important;padding-bottom:8px!important;margin-bottom:12px!important}
.mam-dashboard-full-page .mam-dashboard-page-heading>.dashicons{width:42px!important;height:42px!important;font-size:42px!important;line-height:42px!important;color:#075aa7!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.mam-dashboard-full-page .mam-dashboard-page-heading h1{margin:0 0 4px!important}
.mam-dashboard-subheading{margin:0!important;color:#263b5b!important;font-size:13px!important;line-height:19px!important}
.mam-dashboard-full-page .mam-target-finance-card>.dashicons{background:#fbf7ff!important;border-radius:50%!important;padding:8px!important;box-sizing:content-box!important}
.mam-dashboard-full-page .mam-target-finance-card.income>.dashicons,.mam-dashboard-full-page .mam-target-finance-card.expense>.dashicons,.mam-dashboard-full-page .mam-target-finance-card.balance>.dashicons,.mam-dashboard-full-page .mam-target-finance-card.donation>.dashicons{background:#fbf7ff!important}
.mam-dashboard-full-page .mam-target-finance-card>i{display:none!important}
.mam-dashboard-full-page .mam-target-panel-head{padding:9px 12px!important;margin-bottom:10px!important;min-height:0!important}
.mam-dashboard-full-page .mam-target-panel-head h3{font-weight:700!important}
.mam-header-session-form{display:flex!important;align-items:center!important;margin:0 8px 0 0!important}
.mam-header-session-form label{display:flex!important;align-items:center!important;gap:7px!important;padding:5px 8px!important;border:1px solid #dbe5f2!important;border-radius:8px!important;background:#f8fbff!important;color:#17365d!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
.mam-header-session-form label>.dashicons{color:#0876d1!important;font-size:18px!important;width:18px!important;height:18px!important}
.mam-header-session-form select{height:34px!important;min-height:34px!important;max-width:150px!important;margin:0!important;padding:0 8px!important;border:1px solid #b8cce4!important;border-radius:6px!important;background:#fff!important;color:#17365d!important;font-size:12px!important;font-weight:700!important}
@media(max-width:782px){.mam-header-session-form{order:0;margin:0!important;max-width:100%}.mam-header-session-form label{gap:5px!important;padding:4px 5px!important}.mam-header-session-form label>span:not(.dashicons){display:none!important}.mam-header-session-form select{max-width:118px!important}.mam-modern-top-actions{flex-wrap:wrap!important;gap:7px!important}.mam-dashboard-subheading{font-size:12px!important;line-height:17px!important}.mam-dashboard-full-page .mam-target-panel-head{padding:8px 10px!important}}


/* MAM v1.1.124.22 — income-page card styling and compact academic-session dropdown */
.mam-dashboard-full-page .mam-target-finance-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:14px 0 18px!important}
.mam-dashboard-full-page .mam-target-finance-card{position:relative!important;min-height:108px!important;height:108px!important;display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;column-gap:14px!important;row-gap:2px!important;padding:14px 16px!important;border:0!important;border-radius:12px!important;box-shadow:none!important;color:#17365d!important;overflow:hidden!important}
.mam-dashboard-full-page .mam-target-finance-card.income{background:#e7f8f4!important}
.mam-dashboard-full-page .mam-target-finance-card.expense{background:#fff0ef!important}
.mam-dashboard-full-page .mam-target-finance-card.balance{background:#eaf4ff!important}
.mam-dashboard-full-page .mam-target-finance-card.donation{background:#f2eaff!important}
.mam-dashboard-full-page .mam-target-finance-card>.dashicons{grid-column:1;grid-row:1/3!important;width:58px!important;height:58px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;font-size:27px!important;line-height:1!important;color:#fff!important;background:#0ca58c!important}
.mam-dashboard-full-page .mam-target-finance-card.expense>.dashicons{background:#f33e4c!important}
.mam-dashboard-full-page .mam-target-finance-card.balance>.dashicons{background:#087cf5!important}
.mam-dashboard-full-page .mam-target-finance-card.donation>.dashicons{background:#7018ec!important}
.mam-dashboard-full-page .mam-target-finance-card small{grid-column:2;grid-row:1;font-size:14px!important;font-weight:700!important;line-height:19px!important;color:#17365d!important;opacity:1!important;align-self:end!important}
.mam-dashboard-full-page .mam-target-finance-card strong{grid-column:2;grid-row:2;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:700!important;line-height:28px!important;color:#17365d!important;margin:0!important;align-self:start!important}
.mam-dashboard-full-page .mam-target-finance-card>i{display:none!important}
.mam-header-session-form{margin:0 10px 0 0!important}
.mam-header-session-form label.mam-session-compact-label{display:inline-flex!important;align-items:center!important;gap:3px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#17365d!important}
.mam-header-session-form label.mam-session-compact-label>.dashicons{font-size:17px!important;width:17px!important;height:17px!important;color:#0876d1!important}
.mam-header-session-form label.mam-session-compact-label select{height:28px!important;min-height:28px!important;max-width:120px!important;width:auto!important;padding:0 18px 0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;color:#17365d!important}
.mam-modern-user-menu>a .dashicons-exit{transform:scaleX(-1)!important}
.mam-settings-card .mam-session-create-form{gap:10px!important}
.mam-settings-card .mam-session-create-form label{min-width:180px!important}
.mam-settings-card .mam-session-create-form input{height:35px!important;min-height:35px!important}
@media(max-width:1000px){.mam-dashboard-full-page .mam-target-finance-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.mam-dashboard-full-page .mam-target-finance-cards{grid-template-columns:1fr!important;gap:10px!important}.mam-dashboard-full-page .mam-target-finance-card{height:96px!important;min-height:96px!important;padding:12px!important;grid-template-columns:54px minmax(0,1fr)!important;column-gap:12px!important}.mam-dashboard-full-page .mam-target-finance-card>.dashicons{width:50px!important;height:50px!important;font-size:24px!important}.mam-dashboard-full-page .mam-target-finance-card strong{font-size:22px!important;line-height:26px!important}.mam-header-session-form{margin-right:4px!important}.mam-header-session-form label.mam-session-compact-label select{max-width:92px!important}.mam-header-session-form label.mam-session-compact-label>.dashicons{display:none!important}}


/* MAM v1.1.124.23 — dashboard finance icon cleanup and balanced panels */
.mam-dashboard-full-page .mam-target-finance-card>.dashicons{
 background:#f1f3f6!important;color:#0ca58c!important;
}
.mam-dashboard-full-page .mam-target-finance-card.income>.dashicons{color:#0ca58c!important}
.mam-dashboard-full-page .mam-target-finance-card.expense>.dashicons{color:#f33e4c!important}
.mam-dashboard-full-page .mam-target-finance-card.balance>.dashicons{color:#087cf5!important}
.mam-dashboard-full-page .mam-target-finance-card.donation>.dashicons{color:#7018ec!important}
.mam-dashboard-full-page .mam-target-finance-card>i,
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-up-alt,
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-down-alt,
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-up,
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-down{display:none!important}
.mam-header-session-form{margin-right:22px!important}
.mam-header-session-form label.mam-session-compact-label select{font-size:15px!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom){align-items:stretch!important;gap:14px!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom)>.mam-target-panel{height:250px!important;min-height:250px!important;box-sizing:border-box!important;overflow:hidden!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom) .mam-target-chart{height:172px!important;min-height:172px!important;padding:4px 12px 8px!important;box-sizing:border-box!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom) .mam-target-table{max-height:172px!important;overflow:hidden!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom) .mam-target-table table{width:100%!important}
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom) .mam-target-table th,
.mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom) .mam-target-table td{padding:7px 8px!important;font-size:12px!important;line-height:16px!important}
@media(max-width:782px){
 .mam-header-session-form{margin-right:8px!important}
 .mam-header-session-form label.mam-session-compact-label select{font-size:14px!important}
 .mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom)>.mam-target-panel{height:250px!important;min-height:250px!important}
}
@media(max-width:600px){
 .mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom){grid-template-columns:1fr!important}
 .mam-dashboard-full-page .mam-target-two-col:not(.mam-target-bottom)>.mam-target-panel{height:250px!important;min-height:250px!important}
}


/* MAM v1.1.124.25 — replace unreliable dashboard font glyphs with inline SVG icons */
.mam-dashboard-full-page .mam-target-finance-card{
  grid-template-columns:64px minmax(0,1fr)!important;
  grid-template-rows:1fr 1fr!important;
  column-gap:14px!important;
  align-items:center!important;
}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon{
  grid-column:1!important;grid-row:1/3!important;
  width:58px!important;height:58px!important;min-width:58px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;padding:0!important;border-radius:50%!important;
  background:#f1f3f6!important;box-shadow:none!important;
}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon svg{
  display:block!important;width:29px!important;height:29px!important;
  max-width:29px!important;max-height:29px!important;
}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon.icon-income{color:#0ca58c!important}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon.icon-expense{color:#f33e4c!important}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon.icon-balance{color:#087cf5!important}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon.icon-donation{color:#7018ec!important}
.mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon:before{content:none!important;display:none!important}
.mam-dashboard-full-page .mam-target-finance-card small{grid-column:2!important;grid-row:1!important;align-self:end!important}
.mam-dashboard-full-page .mam-target-finance-card strong{grid-column:2!important;grid-row:2!important;align-self:start!important}
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-up-alt,
.mam-dashboard-full-page .mam-target-finance-card .dashicons-arrow-down-alt{display:none!important}
@media(max-width:600px){
 .mam-dashboard-full-page .mam-target-finance-card{grid-template-columns:54px minmax(0,1fr)!important;column-gap:12px!important}
 .mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon{width:50px!important;height:50px!important;min-width:50px!important}
 .mam-dashboard-full-page .mam-target-finance-card .mam-finance-card-icon svg{width:25px!important;height:25px!important}
}


/* MAM v1.1.124.26 — Staff page dashboard-card alignment, consistent controls and popup-only feedback */
.mam-staff-modern-page .mam-staff-stat-grid{align-items:stretch!important;gap:14px!important}
.mam-staff-modern-page .mam-staff-stat{min-height:104px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:14px!important;padding:18px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important}
.mam-staff-modern-page .mam-staff-filter-card,.mam-staff-modern-page .mam-staff-table-card{border-radius:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important}
.mam-staff-modern-page input:not([type=checkbox]):not([type=radio]):not([type=file]),.mam-staff-modern-page select,.mam-staff-form-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.mam-staff-form-shell select,.mam-staff-form-shell textarea,.mam-staff-form-shell .mam-staff-date{height:35px!important;min-height:35px!important;box-sizing:border-box!important;border-radius:5px!important}
.mam-staff-modern-page input[type=file],.mam-staff-form-shell input[type=file]{min-height:35px!important;box-sizing:border-box!important}
.mam-staff-modern-page button,.mam-staff-modern-page .mam-ui-btn,.mam-staff-form-shell button,.mam-staff-form-shell a.button,.mam-staff-modal button,.mam-staff-modal .button,.mam-staff-popup button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;border-radius:5px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.mam-staff-form-shell .mam-date-picker-btn{height:35px!important;min-height:35px!important;width:38px!important}
.mam-staff-form-shell .mam-staff-card{border-radius:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important}
.mam-staff-modal input,.mam-staff-modal select,.mam-staff-modal textarea,.mam-staff-popup input,.mam-staff-popup select,.mam-staff-popup textarea,.mam-staff-login-modal input,.mam-staff-login-modal select{height:35px!important;min-height:35px!important;box-sizing:border-box!important;border-radius:5px!important}
.mam-staff-modal button,.mam-staff-popup button,.mam-staff-login-modal button{height:38px!important;min-height:38px!important;border-radius:5px!important}
.mam-staff-toast{position:fixed!important;inset:0!important;z-index:100500!important;background:rgba(15,23,42,.48)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}
.mam-staff-toast-box{width:min(420px,100%)!important;background:#fff!important;border-radius:12px!important;padding:26px!important;text-align:center!important;box-shadow:0 18px 55px rgba(0,0,0,.22)!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.mam-staff-toast-box>.dashicons{font-size:38px!important;width:38px!important;height:38px!important;color:#16a34a!important}
.mam-staff-toast-box h3{margin:10px 0 8px!important;color:#17365d!important;font-size:20px!important}
.mam-staff-toast-box p{margin:0 0 20px!important;color:#475569!important;line-height:1.55!important}
.mam-staff-toast-box button{min-width:90px!important;height:38px!important;background:#160186!important;color:#fff!important;border:0!important;border-radius:5px!important;padding:0 18px!important;cursor:pointer!important}
body[class*="mam"] .wrap>.notice:has(+ .mam-staff-modern-page),body[class*="mam"] .wrap>.notice:has(+ .mam-staff-form-shell){display:none!important}
@media(max-width:600px){.mam-staff-modern-page .mam-staff-stat{min-height:90px!important}.mam-staff-toast-box{padding:22px!important}}

/* MAM v1.1.124.27 — Staff registration success and print confirmation */
.mam-staff-print-confirm .mam-staff-confirm-actions{display:flex!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important}
.mam-staff-print-confirm .mam-staff-confirm-actions a{height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 20px!important;border-radius:5px!important;text-decoration:none!important}
.mam-staff-print-confirm .mam-staff-confirm-actions .mam-staff-toast-cancel{background:#e8eef8!important;color:#17365d!important;border:0!important}
.mam-staff-form-shell .mam-staff-card{padding:18px!important}
.mam-staff-form-shell .mam-staff-row{gap:12px 24px!important}
.mam-staff-form-shell .mam-staff-card label{gap:6px!important}
.mam-staff-form-shell .mam-staff-declaration{margin-top:12px!important}

/* v1.1.124.28 — Staff Registration form layout aligned to supplied reference */
.mam-staff-form-shell{width:100%!important;max-width:1500px!important;margin:8px 0 16px!important;padding:0!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;color:#102a56!important;font-family:Nunito,Inter,Arial,sans-serif!important}
.mam-staff-form-header{padding:4px 0 14px!important;border:0!important;text-align:left!important}
.mam-staff-form-header>div{text-align:left!important}
.mam-staff-form-header h2{font-size:32px!important;line-height:1.2!important;text-align:left!important;color:#101c86!important;font-weight:700!important;margin:0 0 5px!important}
.mam-staff-form-header strong{font-size:14px!important;color:#536b91!important;font-weight:400!important}
.mam-staff-form-header .mam-form-kicker{display:none!important}
.mam-staff-admission-form{display:block!important;width:100%!important}
.mam-staff-form-shell .mam-staff-card{padding:0!important;margin:0 0 18px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.mam-staff-form-shell .mam-staff-card:before{display:block!important;font-size:23px!important;line-height:1.3!important;font-weight:700!important;color:#101c86!important;margin:0 0 10px!important}
.mam-staff-form-shell .mam-staff-card:nth-of-type(1):before{content:"Basic Information"}
.mam-staff-form-shell .mam-staff-card:nth-of-type(2):before{content:"Personal Information"}
.mam-staff-form-shell .mam-staff-card:nth-of-type(3):before{content:"Qualification Information"}
.mam-staff-form-shell .mam-staff-row.two{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px 32px!important;margin:0 0 10px!important}
.mam-staff-form-shell .mam-staff-card label{display:grid!important;grid-template-columns:minmax(125px,34%) minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:0!important;font-size:14px!important;font-weight:400!important;color:#102a56!important;min-width:0!important}
.mam-staff-form-shell .mam-staff-full{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px 32px!important;margin-bottom:10px!important}
.mam-staff-form-shell .mam-staff-full label{grid-column:1!important}
.mam-staff-form-shell input:not([type=checkbox]):not([type=radio]):not([type=file]),.mam-staff-form-shell select,.mam-staff-form-shell textarea,.mam-staff-form-shell .mam-staff-date{width:100%!important;max-width:none!important;height:35px!important;min-height:35px!important;padding:0 12px!important;border:1px solid #cbd5e1!important;border-radius:5px!important;background:#fff!important;color:#102a56!important;font-size:14px!important;box-sizing:border-box!important}
.mam-staff-form-shell .mam-date-field{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important}
.mam-staff-form-shell .mam-date-field input{flex:1!important;min-width:0!important}
.mam-staff-form-shell .mam-date-picker-btn{flex:0 0 38px!important;width:38px!important;height:35px!important;min-height:35px!important;padding:0!important;border:1px solid #cbd5e1!important;background:#f8fafc!important;color:#17365d!important}
.mam-staff-form-shell input[type=file]{width:100%!important;max-width:none!important;height:38px!important;min-height:38px!important;padding:2px!important;border:1px solid #d8e0ea!important;border-radius:5px!important;box-sizing:border-box!important}
.mam-staff-form-shell label small{grid-column:2!important;margin-top:-5px!important;font-size:12px!important;color:#64748b!important}
.mam-staff-form-shell .mam-staff-declaration{display:flex!important;align-items:center!important;gap:10px!important;margin:14px 0!important;color:#17365d!important;font-size:14px!important}
.mam-staff-form-shell .mam-staff-declaration:before{content:"";width:20px;height:20px;border:1px solid #94a3b8;border-radius:3px;flex:0 0 20px}
.mam-staff-form-shell .mam-staff-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:12px!important}
.mam-staff-form-shell .mam-staff-actions .button,.mam-staff-form-shell .mam-staff-actions button{height:38px!important;min-height:38px!important;padding:0 20px!important;border-radius:5px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.mam-staff-form-shell .mam-staff-actions .mam-register-btn{background:#0969e8!important;border-color:#0969e8!important;color:#fff!important}
.mam-staff-form-shell .mam-staff-actions .mam-soft-btn{background:#e5edf8!important;border-color:#e5edf8!important;color:#17365d!important}
@media(max-width:900px){.mam-staff-form-shell .mam-staff-row.two{grid-template-columns:1fr!important;gap:10px!important}.mam-staff-form-shell .mam-staff-card label{grid-template-columns:125px minmax(0,1fr)!important}.mam-staff-form-header h2{font-size:27px!important}}
@media(max-width:600px){.mam-staff-form-shell .mam-staff-card label{grid-template-columns:1fr!important;gap:5px!important}.mam-staff-form-shell .mam-staff-full{grid-template-columns:1fr!important}.mam-staff-form-shell .mam-staff-full label{grid-column:1!important}.mam-staff-form-shell .mam-staff-declaration{align-items:flex-start!important}}

/* MAM v1.1.124.29 — Staff registration measurement and shared calendar polish */
.mam-staff-form-shell,.mam-staff-form-shell *{box-sizing:border-box!important;min-width:0}
.mam-staff-form-shell{width:100%!important;max-width:100%!important;overflow:visible!important;margin:8px 0 22px!important;padding:0 14px 18px 0!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.mam-staff-form-header h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important}
.mam-staff-form-shell .mam-staff-card:before{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:28px!important;color:#17365d!important;margin:0 0 12px!important}
.mam-staff-form-shell .mam-staff-row.two{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:28px!important;row-gap:12px!important;width:100%!important;}
.mam-staff-form-shell .mam-staff-card label{display:grid!important;grid-template-columns:minmax(105px,34%) minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;overflow:visible!important;line-height:1.35!important;}
.mam-staff-form-shell .mam-staff-full{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px 28px!important;width:100%!important}
.mam-staff-form-shell .mam-staff-full label{grid-column:1!important}
.mam-staff-form-shell .mam-staff-card input:not([type=checkbox]):not([type=radio]):not([type=file]),.mam-staff-form-shell .mam-staff-card select,.mam-staff-form-shell .mam-staff-card textarea{width:100%!important;max-width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;border-radius:5px!important;padding:0 10px!important;}
.mam-staff-form-shell .mam-date-field{min-width:0!important;width:100%!important;display:flex!important;gap:0!important}
.mam-staff-form-shell .mam-date-field .mam-staff-date{flex:1 1 auto!important;width:calc(100% - 38px)!important;min-width:0!important}
.mam-staff-form-shell .mam-date-picker-btn{flex:0 0 38px!important;width:38px!important;height:35px!important;min-height:35px!important;border-radius:0 5px 5px 0!important;margin:0!important}
.mam-staff-form-shell .mam-staff-card label em,.mam-staff-form-shell .mam-staff-declaration em{color:#dc2626!important;font-style:normal!important}
.mam-staff-form-shell .mam-staff-declaration{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;margin:16px 0 12px!important;padding:0!important;cursor:pointer!important}
.mam-staff-form-shell .mam-staff-declaration:before{display:none!important;content:none!important}
.mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-height:22px!important;margin:0!important;opacity:1!important;position:static!important;cursor:pointer!important}
.mam-staff-form-shell .mam-staff-declaration span{display:inline!important;grid-column:auto!important;margin:0!important;line-height:1.5!important}
.mam-staff-form-shell .mam-staff-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:14px 0 10px!important;padding:0 0 10px!important;width:100%!important}
.mam-staff-form-shell .mam-staff-actions .button,.mam-staff-form-shell .mam-staff-actions button{height:38px!important;min-height:38px!important;margin:0!important;padding:0 20px!important;border-radius:5px!important;white-space:nowrap!important}
#ui-datepicker-div{z-index:100500!important;border:1px solid #d9dce3!important;border-radius:8px!important;box-shadow:0 10px 28px #0002!important;overflow:hidden!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
#ui-datepicker-div .ui-datepicker-header{background:#f4f8ff!important;border:0!important;color:#17365d!important;border-radius:0!important}
#ui-datepicker-div .ui-state-default{border:1px solid #e5e7eb!important;background:#fff!important;color:#263247!important;text-align:center!important}
#ui-datepicker-div .ui-state-active{background:#2196e7!important;border-color:#2196e7!important;color:#fff!important}
#ui-datepicker-div .ui-datepicker-calendar td a{border-radius:4px!important}
@media(max-width:900px){.mam-staff-form-shell .mam-staff-row.two{grid-template-columns:minmax(0,1fr)!important}.mam-staff-form-shell .mam-staff-card label{grid-template-columns:minmax(105px,32%) minmax(0,1fr)!important}.mam-staff-form-shell{padding-right:8px!important}}
@media(max-width:600px){.mam-staff-form-shell .mam-staff-card label{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}.mam-staff-form-shell .mam-staff-full{grid-template-columns:minmax(0,1fr)!important}.mam-staff-form-shell .mam-staff-full label{grid-column:1!important}.mam-staff-form-shell .mam-staff-actions{padding-bottom:14px!important}.mam-staff-form-header h2{font-size:24px!important}}

/* MAM v1.1.124.30 — Staff registration spacing and declaration refinements */
.mam-staff-form-shell{padding:18px!important;margin:8px 0 22px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.mam-staff-form-shell .mam-staff-card:before{font-size:20px!important;font-weight:600!important;line-height:28px!important;color:#17365d!important}
.mam-staff-form-shell .mam-staff-declaration{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:16px 0 14px!important;padding:0!important;box-sizing:border-box!important}
.mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;position:static!important;opacity:1!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;cursor:pointer!important}
.mam-staff-form-shell .mam-staff-declaration span{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1.45!important}
.mam-staff-form-shell .mam-staff-actions{padding:0 0 12px!important;margin:14px 0 0!important}
@media(max-width:600px){.mam-staff-form-shell{padding:12px!important}.mam-staff-form-shell .mam-staff-declaration{align-items:flex-start!important}.mam-staff-form-shell .mam-staff-declaration-checkbox{margin-top:2px!important;flex-basis:16px!important}}


/* MAM v1.1.124.31 — Staff form final spacing, shared calendar, and responsive polish */
.mam-staff-form-shell{padding:22px!important;margin:18px 0 22px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;border:1px solid #e1e7ef!important;border-radius:12px!important;background:#fff!important;overflow:visible!important}
.mam-staff-form-header{padding:10px 0 14px!important;margin:0!important}
.mam-staff-form-header h2{margin-top:0!important}
.mam-staff-form-shell .mam-staff-card{border-radius:8px!important;overflow:visible!important}
.mam-staff-form-shell .mam-staff-card:before{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:20px!important;font-weight:600!important;line-height:28px!important;color:#17365d!important}
.mam-staff-form-shell .mam-staff-declaration{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:16px 0 14px!important;padding:0!important;box-sizing:border-box!important}
.mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;position:static!important;opacity:1!important;flex:0 0 10px!important;width:10px!important;height:10px!important;min-width:10px!important;min-height:10px!important;margin:0!important;padding:0!important;cursor:pointer!important}
.mam-staff-form-shell .mam-staff-declaration span{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1.45!important}
.mam-staff-form-shell .mam-staff-actions{padding:0!important;margin:14px 0 0!important}
.mam-staff-form-shell .mam-staff-card label em,.mam-staff-form-shell .mam-staff-declaration em{color:#dc2626!important}
#ui-datepicker-div{z-index:100500!important;border:1px solid #d9dce3!important;border-radius:8px!important;box-shadow:0 10px 28px #0002!important;overflow:hidden!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
#ui-datepicker-div .ui-datepicker-header{background:#f4f8ff!important;border:0!important;color:#17365d!important;border-radius:0!important}
#ui-datepicker-div .ui-state-default{border:1px solid #e5e7eb!important;background:#fff!important;color:#263247!important;text-align:center!important}
#ui-datepicker-div .ui-state-active{background:#2196e7!important;border-color:#2196e7!important;color:#fff!important}
#ui-datepicker-div .ui-datepicker-calendar td a{border-radius:4px!important}
@media(max-width:600px){.mam-staff-form-shell{padding:12px!important;margin:12px 0 18px!important;border-radius:10px!important}.mam-staff-form-header{padding-top:10px!important}.mam-staff-form-shell .mam-staff-declaration{align-items:flex-start!important}.mam-staff-form-shell .mam-staff-declaration-checkbox{margin-top:3px!important;flex-basis:10px!important}.mam-staff-form-shell .mam-staff-actions{padding:0!important}}
/* MAM v1.1.124.32 - Staff registration refinement */
.mam-staff-form-shell .mam-staff-declaration{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;white-space:normal!important;margin:12px 0 10px!important;padding:0!important}
.mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:auto!important;-webkit-appearance:checkbox!important;width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;flex:0 0 13px!important;margin:0!important;padding:0!important;cursor:pointer!important}
.mam-staff-form-shell .mam-staff-declaration span{flex:1 1 auto!important;min-width:0!important;display:block!important;line-height:1.4!important}
.mam-staff-form-shell .mam-staff-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:10px 0 0!important;padding:0 0 4px!important}
.mam-staff-form-shell .mam-date-picker-btn{background:#fff!important;border:1px solid #cbd5e1!important;color:#17365d!important;border-radius:0 5px 5px 0!important;transition:background .15s ease,border-color .15s ease!important}
.mam-staff-form-shell .mam-date-picker-btn:hover{background:#f1f5f9!important;border-color:#94a3b8!important}
.mam-staff-form-shell .mam-staff-card label em,.mam-staff-form-shell .mam-staff-declaration em{color:#dc2626!important}
@media(max-width:600px){.mam-staff-form-shell .mam-staff-declaration{align-items:flex-start!important}.mam-staff-form-shell .mam-staff-declaration-checkbox{margin-top:3px!important}.mam-staff-form-shell .mam-staff-actions{padding-bottom:2px!important}}

/* MAM v1.1.124.33 — definitive Staff Registration form refinements */
.wrap.mam .mam-staff-form-shell{box-sizing:border-box!important;width:100%!important;max-width:100%!important;padding:22px!important;margin:10px 0 18px!important;border:1px solid #e1e7ef!important;border-radius:12px!important;overflow:visible!important}
.wrap.mam .mam-staff-form-shell *{box-sizing:border-box}
.wrap.mam .mam-staff-form-shell .mam-staff-form-header{padding-top:10px!important;margin:0 0 18px!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:8px!important;overflow:visible!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label{min-width:0!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card input:not([type=checkbox]):not([type=file]),.wrap.mam .mam-staff-form-shell .mam-staff-card select,.wrap.mam .mam-staff-form-shell .mam-staff-card textarea{width:100%!important;max-width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;border-radius:5px!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card input[type=file]{width:100%!important;max-width:100%!important;min-width:0!important;min-height:35px!important;border-radius:5px!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card:before{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:20px!important;font-weight:600!important;line-height:1.35!important;color:#17365d!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;max-width:100%!important;margin:12px 0 10px!important;padding:0!important;white-space:normal!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;opacity:1!important;flex:0 0 13px!important;width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;margin:0!important;padding:0!important;box-shadow:none!important;cursor:pointer!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration span{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;line-height:1.4!important}
.wrap.mam .mam-staff-form-shell .mam-staff-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin:10px 0 0!important;padding:0!important;width:100%!important}
.wrap.mam .mam-staff-form-shell .mam-staff-actions .button,.wrap.mam .mam-staff-form-shell .mam-staff-actions button{height:38px!important;min-height:38px!important;margin:0!important;padding:0 18px!important;border-radius:5px!important;transition:background-color .15s ease,border-color .15s ease,transform .15s ease!important}
.wrap.mam .mam-staff-form-shell .mam-date-field{display:flex!important;width:100%!important;min-width:0!important}
.wrap.mam .mam-staff-form-shell .mam-date-field .mam-staff-date{flex:1 1 auto!important;width:calc(100% - 38px)!important;min-width:0!important;border-radius:5px 0 0 5px!important}
.wrap.mam .mam-staff-form-shell .mam-date-picker-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:35px!important;min-height:35px!important;padding:0!important;background:#fff!important;border:1px solid #cbd5e1!important;border-left:0!important;color:#17365d!important;border-radius:0 5px 5px 0!important;cursor:pointer!important}
.wrap.mam .mam-staff-form-shell .mam-date-picker-btn .dashicons{font-size:16px!important;width:16px!important;height:16px!important;line-height:16px!important}
.wrap.mam .ui-datepicker{z-index:999999!important;padding:8px!important;border:1px solid #d8e0ea!important;border-radius:8px!important;box-shadow:0 8px 24px rgba(23,54,93,.16)!important;background:#fff!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.wrap.mam .ui-datepicker .ui-datepicker-header{background:#f1f6fc!important;border:0!important;border-radius:5px!important;color:#17365d!important}
.wrap.mam .ui-datepicker td .ui-state-default{border:1px solid transparent!important;background:#fff!important;color:#17365d!important;text-align:center!important;border-radius:4px!important}
.wrap.mam .ui-datepicker td .ui-state-active{background:#1673ed!important;border-color:#1673ed!important;color:#fff!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label em,.wrap.mam .mam-staff-form-shell .mam-staff-declaration em{color:#dc2626!important}
@media(max-width:900px){.wrap.mam .mam-staff-form-shell{padding:12px!important}.wrap.mam .mam-staff-form-shell .mam-staff-row.two{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){.wrap.mam .mam-staff-form-shell{padding:12px!important}.wrap.mam .mam-staff-form-shell .mam-staff-declaration{align-items:flex-start!important}.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox{margin-top:3px!important}.wrap.mam .mam-staff-form-shell .mam-staff-actions{padding:0!important}}

/* v1.1.124.34: Staff date inputs use the same native browser calendar as Income filters. */
.wrap.mam .mam-staff-form-shell .mam-date-field{display:block!important;width:100%!important;min-width:0!important}
.wrap.mam .mam-staff-form-shell .mam-date-field input[type="date"].mam-staff-date{display:block!important;width:100%!important;max-width:100%!important;height:35px!important;min-height:35px!important;padding:4px 8px!important;border:1px solid #cbd5e1!important;border-radius:5px!important;background:#fff!important;color:#17365d!important;box-sizing:border-box!important;font:inherit!important}
.wrap.mam .mam-staff-form-shell .mam-date-picker-btn{display:none!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center!important;flex:0 0 13px!important;width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;border:1px solid #64748b!important;border-radius:2px!important;background:#fff!important;box-shadow:none!important;outline-offset:2px!important;cursor:pointer!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox::before{content:""!important;width:7px!important;height:4px!important;border-left:1.5px solid #fff!important;border-bottom:1.5px solid #fff!important;transform:rotate(-45deg) scale(0)!important;transform-origin:center!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox:checked{background:#1673ed!important;border-color:#1673ed!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox:checked::before{transform:rotate(-45deg) scale(1)!important}
.wrap.mam .mam-staff-form-shell .mam-staff-actions{padding-bottom:2px!important;margin-bottom:0!important}
@media(max-width:600px){.wrap.mam .mam-staff-form-shell .mam-staff-actions{padding-bottom:2px!important}}

/* v1.1.124.35 — Staff form typography, compact fields, required markers and actions */
.wrap.mam .mam-staff-form-shell .mam-staff-card:before{color:#17365d!important;font-size:20px!important;font-weight:600!important;line-height:1.35!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label>input:not([type=checkbox]):not([type=radio]):not([type=file]),
.wrap.mam .mam-staff-form-shell .mam-staff-card label>select,
.wrap.mam .mam-staff-form-shell .mam-staff-card label>textarea,
.wrap.mam .mam-staff-form-shell .mam-staff-card label>.mam-date-field{width:92%!important;max-width:92%!important;min-width:0!important;justify-self:start!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label>.mam-date-field input[type=date]{width:100%!important;max-width:100%!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label>input[type=file]{width:92%!important;max-width:92%!important}
.wrap.mam .mam-staff-form-shell .mam-staff-card label em,
.wrap.mam .mam-staff-form-shell .mam-staff-declaration em,
.wrap.mam .mam-staff-form-shell .mam-required-star{color:#dc2626!important;font-style:normal!important;font-weight:700!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox{appearance:none!important;-webkit-appearance:none!important;width:13px!important;height:13px!important;min-width:13px!important;min-height:13px!important;flex:0 0 13px!important;border:1.5px solid #64748b!important;border-radius:3px!important;background:#fff!important;display:inline-grid!important;place-content:center!important;padding:0!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox:before{content:""!important;width:7px!important;height:4px!important;border-left:2px solid #fff!important;border-bottom:2px solid #fff!important;transform:rotate(-45deg) scale(0)!important;transform-origin:center!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox:checked{background:#1673ed!important;border-color:#1673ed!important}
.wrap.mam .mam-staff-form-shell .mam-staff-declaration-checkbox:checked:before{transform:rotate(-45deg) scale(1)!important}
.wrap.mam .mam-staff-form-shell .mam-staff-actions{padding-bottom:0!important;margin-bottom:0!important}
.wrap.mam .mam-staff-form-shell{padding-bottom:8px!important}
@media(max-width:600px){.wrap.mam .mam-staff-form-shell .mam-staff-card label>input:not([type=checkbox]):not([type=radio]):not([type=file]),.wrap.mam .mam-staff-form-shell .mam-staff-card label>select,.wrap.mam .mam-staff-form-shell .mam-staff-card label>textarea,.wrap.mam .mam-staff-form-shell .mam-staff-card label>.mam-date-field,.wrap.mam .mam-staff-form-shell .mam-staff-card label>input[type=file]{width:100%!important;max-width:100%!important}.wrap.mam .mam-staff-form-shell{padding-bottom:8px!important}}

/* Staff Login ID Management modal: aligned with Income > Add Income modal */
.mam-login-management-modal{position:fixed!important;inset:0!important;z-index:100260!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;box-sizing:border-box!important;opacity:1!important;visibility:visible!important}
.mam-login-management-modal .mam-staff-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(13,25,48,.58)!important;backdrop-filter:blur(3px)!important}
.mam-login-management-modal .mam-login-detail-box{position:relative!important;width:min(900px,calc(100vw - 36px))!important;max-width:900px!important;max-height:calc(100vh - 36px)!important;overflow:auto!important;padding:0!important;margin:0!important;background:#fff!important;border:1px solid #dce5ef!important;border-radius:12px!important;box-shadow:0 22px 70px rgba(15,23,42,.28)!important;transform:none!important;animation:mamFinanceModalIn .18s ease-out!important}
.mam-login-modal-head{min-height:54px!important;box-sizing:border-box!important;padding:0 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:#e7f4ff!important;border-bottom:1px solid #dceaf7!important}
.mam-login-modal-head h2{margin:0!important;color:#17365d!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:1.3!important}
.mam-login-modal-head .mam-staff-modal-close{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;background:transparent!important;color:#64748b!important;font-size:26px!important;line-height:1!important;box-shadow:none!important}
.mam-login-modal-head .mam-staff-modal-close:hover{background:#d8eafb!important;color:#17365d!important}
.mam-login-management-modal .mam-staff-login-detail-form{margin:0!important;padding:0!important}
.mam-login-modal-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 28px!important;padding:24px 26px 20px!important;box-sizing:border-box!important}
.mam-login-field{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;margin:0!important}
.mam-login-field>label,.mam-login-section-label{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:15px!important;font-weight:600!important;line-height:1.3!important;color:#172554!important;margin:0!important}
.mam-login-field label em,.mam-login-section-label em{font-style:normal!important;color:#e11d48!important;font-weight:700!important}
.mam-login-field input,.mam-login-contact-box input{width:100%!important;max-width:100%!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;padding:0 12px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#172554!important;font-size:14px!important;box-shadow:none!important}
.mam-login-field input[readonly],.mam-login-contact-box input[readonly]{background:#f1f5f9!important;color:#334155!important}
.mam-login-field input:focus{outline:0!important;border-color:#2580ed!important;box-shadow:0 0 0 3px #2580ed1c!important}
.mam-login-field small,.mam-login-enable-section small,.mam-login-contact-box small{display:block!important;margin:0!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important;font-weight:400!important}
.mam-login-password-line{display:flex!important;align-items:stretch!important;gap:6px!important;min-width:0!important}
.mam-login-password-line>input{flex:1 1 auto!important;min-width:0!important}
.mam-login-password-line .mam-generate-password{flex:0 0 112px!important;width:112px!important;height:40px!important;min-height:40px!important;border:1px solid #0969e8!important;border-radius:7px!important;background:#0969e8!important;color:#fff!important;font-size:13px!important;font-weight:600!important;padding:0 10px!important}
.mam-login-password-line .mam-password-eye{flex:0 0 38px!important;width:38px!important;height:40px!important;min-height:40px!important;border:1px solid #d7e0eb!important;border-radius:7px!important;background:#f8fafc!important;color:#475569!important;padding:0!important}
.mam-login-enable-section,.mam-login-send-section{min-width:0!important;margin:0!important;padding:0!important;border:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
.mam-login-enable-section .mam-switch{display:inline-flex!important;margin:0!important}
.mam-login-enable-section .mam-login-enabled-text{font-size:14px!important;color:#172554!important;margin-top:-36px!important;margin-left:88px!important;line-height:30px!important}
.mam-login-enable-section small{margin-left:0!important}
.mam-login-send-options{display:flex!important;align-items:center!important;gap:24px!important;flex-wrap:wrap!important}
.mam-login-send-options label{display:inline-flex!important;align-items:center!important;gap:8px!important;margin:0!important;color:#172554!important;font-size:14px!important;font-weight:500!important;white-space:nowrap!important}
.mam-login-send-options input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;accent-color:#1677f2!important}
.mam-login-contact-box{width:100%!important;display:flex!important;flex-direction:column!important;gap:6px!important}
.mam-login-email-contact,.mam-login-email-help{display:none!important}
.mam-login-send-section:has(input[name="send_email"]:checked) .mam-login-email-contact,.mam-login-send-section:has(input[name="send_email"]:checked) .mam-login-email-help{display:block!important}
.mam-login-modal-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:12px 26px 18px!important;margin:0!important;border:0!important;background:#fff!important}
.mam-login-modal-actions button{height:42px!important;min-height:42px!important;padding:0 22px!important;border-radius:7px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;box-shadow:none!important}
.mam-login-modal-actions .mam-modal-cancel{background:#eef2f7!important;color:#172554!important;border:1px solid #e0e7ef!important}
.mam-login-modal-actions .mam-modal-cancel:hover{background:#e2e8f0!important}
.mam-login-modal-actions .mam-modal-save{margin-left:auto!important;background:#0969e8!important;color:#fff!important;border:1px solid #0969e8!important}
.mam-login-modal-actions .mam-modal-save:hover{background:#0759c7!important;border-color:#0759c7!important}
@media(max-width:680px){.mam-login-management-modal{padding:10px!important}.mam-login-management-modal .mam-login-detail-box{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}.mam-login-modal-content{grid-template-columns:1fr!important;gap:15px!important;padding:18px 16px 14px!important}.mam-login-modal-head{padding:0 15px!important}.mam-login-modal-head h2{font-size:18px!important}.mam-login-modal-actions{padding:10px 16px 14px!important}.mam-login-password-line .mam-generate-password{flex-basis:92px!important;width:92px!important}.mam-login-send-options{gap:15px!important}}
.mam-login-send-section.mam-send-email-enabled .mam-login-email-contact,.mam-login-send-section.mam-send-email-enabled .mam-login-email-help{display:block!important}

/* MAM v1.1.124.37 — Staff Login modal sizing and password eye alignment */
.mam-login-management-modal .mam-login-detail-box{width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;border-radius:12px!important;}
.mam-login-management-modal .mam-login-modal-head{min-height:64px!important;height:auto!important;padding:0 20px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;}
.mam-login-management-modal .mam-login-modal-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17356d!important;margin:0!important;padding:0!important;}
.mam-login-management-modal .mam-login-modal-content{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 24px!important;padding:20px 22px 14px!important;box-sizing:border-box!important;}
.mam-login-management-modal .mam-login-field,.mam-login-management-modal .mam-login-enable-section,.mam-login-management-modal .mam-login-send-section{min-width:0!important;}
.mam-login-management-modal .mam-login-field>input,.mam-login-management-modal .mam-login-contact-box input,.mam-login-management-modal .mam-login-password-line>input{height:35px!important;min-height:35px!important;max-width:100%!important;box-sizing:border-box!important;border-radius:6px!important;}
.mam-login-management-modal .mam-login-password-line{position:relative!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;}
.mam-login-management-modal .mam-login-password-line>input{flex:1 1 auto!important;width:0!important;min-width:0!important;padding-right:38px!important;}
.mam-login-management-modal .mam-login-password-line .mam-generate-password{position:static!important;flex:0 0 92px!important;width:92px!important;height:38px!important;min-height:38px!important;box-sizing:border-box!important;}
.mam-login-management-modal .mam-login-password-line .mam-password-eye{position:absolute!important;right:98px!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#64748b!important;}
.mam-login-management-modal .mam-login-modal-actions{padding:10px 22px 12px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important;}
.mam-login-management-modal .mam-login-modal-actions button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;border-radius:6px!important;}
@media(max-width:680px){.mam-login-management-modal .mam-login-detail-box{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}.mam-login-management-modal .mam-login-modal-content{grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:16px 14px 12px!important}.mam-login-management-modal .mam-login-modal-head{min-height:56px!important;padding:0 15px!important}.mam-login-management-modal .mam-login-modal-actions{padding:8px 14px 10px!important}.mam-login-management-modal .mam-login-password-line .mam-generate-password{flex-basis:92px!important;width:92px!important}.mam-login-management-modal .mam-login-password-line .mam-password-eye{right:98px!important}}

/* v1.1.124.38: Staff login save feedback and compact modal header */
.mam-login-management-modal .mam-login-modal-head{height:54px!important;min-height:54px!important;padding:0 20px!important}
.mam-login-management-modal .mam-login-modal-head h2{font-size:18px!important;line-height:22px!important}


/* MAM v1.1.124.41 — refreshed salary modals and salary summary cards */
.mam-salary-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 18px 14px}
.mam-salary-summary-card{box-sizing:border-box;min-width:0;display:flex;flex-direction:column;gap:5px;padding:12px 14px;border:1px solid #e1e8f0;border-radius:9px;background:#f8fbff}
.mam-salary-summary-card small{font:600 12px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#52627a}
.mam-salary-summary-card strong{font:700 19px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17365d;overflow-wrap:anywhere}
.mam-salary-summary-card span{font-size:11px;color:#718096}
.mam-salary-summary-card.total{background:#eff6ff;border-color:#dbeafe}.mam-salary-summary-card.paid{background:#effaf3;border-color:#d1fae5}.mam-salary-summary-card.paid strong{color:#15803d}.mam-salary-summary-card.due{background:#fff7ed;border-color:#fed7aa}.mam-salary-summary-card.due strong{color:#c2410c}
.mam-salary-pay-box,.payroll-salary-detail-box{border-radius:12px!important;box-shadow:0 22px 70px rgba(15,23,42,.25)!important}
.mam-salary-pay-box .mam-staff-modal-head,.payroll-salary-detail-box>.mam-staff-modal-head{min-height:48px!important;padding:10px 18px!important;background:#eaf5fc!important;border-bottom:1px solid #dbe8f2!important;box-sizing:border-box}
.mam-salary-pay-box .mam-staff-modal-head h2,.payroll-salary-detail-box>.mam-staff-modal-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17365d!important;margin:0!important}
.mam-salary-pay-modal .mam-salary-fields input,.mam-salary-pay-modal .mam-salary-fields select,.mam-salary-pay-modal .mam-salary-fields textarea,.mam-salary-edit-grid input,.mam-salary-edit-grid select,.mam-salary-edit-grid textarea{min-height:35px!important;height:35px;box-sizing:border-box;border-radius:5px!important}
.mam-salary-pay-modal .mam-staff-modal-actions button,.mam-salary-pay-modal .mam-modal-save,.mam-salary-pay-modal .mam-modal-cancel,.payroll-salary-detail-box .mam-staff-modal-footer button,.payroll-salary-detail-box .mam-staff-modal-footer a{min-height:38px!important;height:38px;box-sizing:border-box;border-radius:5px!important;display:inline-flex;align-items:center;justify-content:center}
#mam-payroll-salary-details-modal .payroll-salary-detail-box{display:flex!important;flex-direction:column!important;overflow:hidden!important}
#mam-payroll-salary-details-modal .mam-salary-history{min-height:0!important;flex:1 1 auto!important}
#mam-payroll-salary-details-modal .mam-salary-history-scroll{overflow:auto!important;max-width:100%!important}
@media(max-width:700px){.mam-salary-summary-cards{grid-template-columns:1fr;gap:8px;margin:10px 12px}.mam-salary-summary-card{padding:10px 12px}.mam-salary-summary-card strong{font-size:17px}.mam-salary-pay-box{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}.payroll-salary-detail-box{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}.mam-salary-pay-modal .mam-salary-fields.four,.mam-salary-pay-modal .mam-salary-fields.three{grid-template-columns:1fr!important}}

/* Salary modal layout refinement: clearer staff identity and a single salary section */
.mam-salary-pay-box .mam-pay-staff-info{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:12px 22px 8px!important;background:#fff!important;border-bottom:0!important}
.mam-salary-pay-box .mam-pay-staff-identity{min-width:0!important;padding:10px 13px!important;background:#f5f9ff!important;border:1px solid #e1eaf5!important;border-radius:8px!important}
.mam-salary-pay-box .mam-pay-staff-identity strong{display:block!important;color:#17365d!important;font-size:16px!important;line-height:22px!important;font-weight:700!important}
.mam-salary-pay-box .mam-pay-staff-identity small{display:block!important;margin-top:3px!important;color:#64748b!important;font-size:12px!important}
.mam-salary-pay-box .mam-pay-status-wrap{display:flex!important;align-items:center!important;gap:8px!important;justify-content:flex-end!important;padding:8px 10px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important}
.mam-salary-pay-box .mam-pay-status-wrap>small{color:#64748b!important;font-size:11px!important}
.mam-pay-salary-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:2px 22px 12px!important}
.mam-pay-salary-summary>div{min-width:0!important;padding:10px 12px!important;background:#f0f7ff!important;border:1px solid #dbeafe!important;border-radius:8px!important}
.mam-pay-salary-summary>div:nth-child(2){background:#effcf6!important;border-color:#d1fae5!important}
.mam-pay-salary-summary>div.due{background:#fff7f7!important;border-color:#fee2e2!important}
.mam-pay-salary-summary small{display:block!important;color:#64748b!important;font-size:11px!important;margin-bottom:4px!important}
.mam-pay-salary-summary strong{display:block!important;color:#17365d!important;font-size:16px!important;line-height:21px!important;font-weight:700!important;overflow-wrap:anywhere!important}
.mam-pay-salary-summary .due strong{color:#b45353!important}
.mam-salary-pay-box .mam-salary-entry{padding:0 22px 10px!important}
.mam-salary-pay-box .mam-salary-section-title{margin:0 0 12px!important;padding:10px 14px!important;min-height:40px!important;border-radius:7px!important;background:#e8f7f7!important;color:#17365d!important}
.mam-salary-pay-box .mam-salary-fields{gap:12px 14px!important}
.mam-salary-pay-box .mam-salary-fields label{min-width:0!important;color:#334155!important;font-weight:600!important}
.mam-salary-pay-box .mam-salary-fields input,.mam-salary-pay-box .mam-salary-fields select,.mam-salary-pay-box .mam-salary-fields textarea{width:100%!important;max-width:100%!important}
.mam-salary-pay-box .mam-staff-modal-actions{padding:8px 22px 12px!important;margin-top:0!important;border-top:1px solid #edf2f7!important}
.payroll-salary-detail-box .mam-salary-history-staff-info{display:flex!important;align-items:center!important;gap:12px!important;padding:10px 18px 8px!important}
.payroll-salary-detail-box .mam-salary-history-identity{flex:1 1 auto!important;min-width:0!important}
.payroll-salary-detail-box .mam-salary-summary-cards{margin:8px 18px 14px!important;gap:10px!important}
.payroll-salary-detail-box .mam-salary-summary-card{border-radius:8px!important}
.payroll-salary-detail-box .mam-salary-history{margin-top:8px!important}
@media(max-width:700px){.mam-salary-pay-box .mam-pay-staff-info{grid-template-columns:1fr!important;padding:10px 12px 6px!important}.mam-pay-salary-summary{grid-template-columns:1fr!important;padding:2px 12px 10px!important;gap:7px!important}.mam-pay-salary-summary>div{padding:8px 10px!important}.mam-salary-pay-box .mam-salary-entry{padding:0 12px 8px!important}.mam-salary-pay-box .mam-staff-modal-actions{padding:8px 12px 10px!important}.payroll-salary-detail-box .mam-salary-summary-cards{margin:8px 12px 12px!important}}


/* MAM v1.1.124.43 — four aligned information cards and consistent salary lookup modal */
.mam-pay-four-cards,.mam-salary-four-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:10px 18px 14px!important;align-items:stretch!important;}
.mam-pay-four-cards .mam-pay-staff-info,.mam-salary-four-cards .mam-salary-staff-info{display:flex!important;align-items:center!important;min-width:0!important;min-height:82px!important;padding:12px 14px!important;margin:0!important;background:#fff!important;border:1px solid #e1e8f0!important;border-radius:8px!important;box-shadow:none!important;box-sizing:border-box!important;}
.mam-pay-four-cards .mam-pay-staff-identity,.mam-salary-four-cards .mam-salary-history-identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;}
.mam-pay-four-cards .mam-pay-staff-identity strong,.mam-salary-four-cards .mam-salary-history-identity strong{display:block!important;font:700 15px/20px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important;overflow-wrap:anywhere!important;}
.mam-pay-four-cards .mam-pay-staff-identity small,.mam-salary-four-cards .mam-salary-history-identity small{display:block!important;margin:0!important;font-size:12px!important;line-height:17px!important;color:#64748b!important;overflow-wrap:anywhere!important;}
.mam-pay-status-text,.mam-salary-status-text{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:12px!important;line-height:17px!important;font-weight:700!important;}
.mam-pay-status-text.active,.mam-salary-status-text.active{color:#15803d!important}.mam-pay-status-text.inactive,.mam-salary-status-text.inactive{color:#dc2626!important}
.mam-pay-four-cards .mam-pay-salary-summary,.mam-salary-four-cards .mam-salary-summary-cards{display:contents!important;margin:0!important;padding:0!important;}
.mam-pay-four-cards .mam-pay-salary-summary>div,.mam-salary-four-cards .mam-salary-summary-card{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:82px!important;margin:0!important;padding:12px 14px!important;border:1px solid #e1e8f0!important;border-radius:8px!important;box-sizing:border-box!important;}
.mam-pay-four-cards .mam-pay-salary-summary>div:nth-child(1),.mam-salary-four-cards .mam-salary-summary-card.total{background:#eff6ff!important;border-color:#dbeafe!important}
.mam-pay-four-cards .mam-pay-salary-summary>div:nth-child(2),.mam-salary-four-cards .mam-salary-summary-card.paid{background:#effaf3!important;border-color:#d1fae5!important}
.mam-pay-four-cards .mam-pay-salary-summary>div:nth-child(3),.mam-salary-four-cards .mam-salary-summary-card.due{background:#fff7ed!important;border-color:#fed7aa!important}
.mam-pay-four-cards .mam-pay-salary-summary small,.mam-salary-four-cards .mam-salary-summary-card small{display:block!important;margin:0!important;font:600 12px/17px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#52627a!important}
.mam-pay-four-cards .mam-pay-salary-summary strong,.mam-salary-four-cards .mam-salary-summary-card strong{display:block!important;margin:0!important;font:700 18px/23px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important;overflow-wrap:anywhere!important}
.mam-pay-four-cards .mam-pay-salary-summary>div:nth-child(2) strong,.mam-salary-four-cards .mam-salary-summary-card.paid strong{color:#15803d!important}.mam-pay-four-cards .mam-pay-salary-summary>div:nth-child(3) strong,.mam-salary-four-cards .mam-salary-summary-card.due strong{color:#c2410c!important}
.mam-salary-lookup-box{width:min(560px,calc(100vw - 32px))!important;max-width:560px!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 22px 70px rgba(15,23,42,.25)!important;background:#fff!important;}
.mam-salary-lookup-box .mam-salary-custom-head{height:48px!important;min-height:48px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#eaf5fc!important;border-bottom:1px solid #dbe8f2!important;box-sizing:border-box!important;}
.mam-salary-lookup-box .mam-salary-custom-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17365d!important;margin:0!important;}
.mam-salary-lookup-body{padding:18px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:end!important;}
.mam-salary-lookup-body>label{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;font:600 13px/18px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#334155!important;}
.mam-salary-lookup-body input,.mam-salary-lookup-body select{height:35px!important;min-height:35px!important;width:100%!important;box-sizing:border-box!important;border:1px solid #cbd5e1!important;border-radius:5px!important;padding:6px 10px!important;font:400 13px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}
.mam-salary-lookup-body button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;border-radius:5px!important;font:600 13px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;}
.mam-salary-lookup-results,.mam-salary-lookup-actions{grid-column:1/-1!important;min-width:0!important;}
.mam-salary-lookup-results{margin-top:2px!important;}
.mam-salary-lookup-results p{margin:0!important;padding:10px 12px!important;border-radius:6px!important;background:#f8fafc!important;color:#64748b!important;font-size:13px!important;}
.mam-salary-lookup-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin-top:4px!important;}
@media(max-width:700px){.mam-pay-four-cards,.mam-salary-four-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:10px 12px 12px!important;gap:8px!important}.mam-pay-four-cards .mam-pay-staff-info,.mam-salary-four-cards .mam-salary-staff-info,.mam-pay-four-cards .mam-pay-salary-summary>div,.mam-salary-four-cards .mam-salary-summary-card{min-height:74px!important;padding:10px!important}.mam-pay-four-cards .mam-pay-salary-summary,.mam-salary-four-cards .mam-salary-summary-cards{display:contents!important}.mam-pay-four-cards .mam-pay-salary-summary strong,.mam-salary-four-cards .mam-salary-summary-card strong{font-size:16px!important;line-height:21px!important}.mam-salary-lookup-box{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}.mam-salary-lookup-body{grid-template-columns:minmax(0,1fr)!important;padding:14px!important}.mam-salary-lookup-body>button{width:100%!important}.mam-salary-lookup-actions{flex-wrap:wrap!important}}

/* MAM v1.1.124.44 — Staff Salary page measurements, popup-only feedback, and Salary History identity card */
.mam-salary-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;padding:0 2px 12px!important;box-sizing:border-box!important}
.mam-salary-page .mam-salary-page-head{margin:10px 0 16px!important;padding:0 2px!important;gap:14px!important}
.mam-salary-page .mam-salary-page-title{gap:12px!important}
.mam-salary-page .mam-salary-page-title h2{font-size:24px!important;line-height:30px!important;font-weight:600!important;color:#17365d!important;margin:0 0 3px!important}
.mam-salary-page .mam-salary-page-title p{font-size:13px!important;line-height:19px!important}
.mam-salary-page .mam-salary-stat-grid{gap:12px!important;margin:0 0 16px!important}
.mam-salary-page .mam-salary-stat{padding:12px 16px!important;min-height:78px!important;height:78px!important;border-radius:8px!important}
.mam-salary-page .mam-salary-filter-card{padding:10px!important;margin-bottom:16px!important;border-radius:8px!important}
.mam-salary-page .mam-salary-table-card{padding:10px!important;border-radius:8px!important}
.mam-salary-page input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.mam-salary-page select{height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important}
.mam-salary-page button,.mam-salary-page .button,.mam-salary-page .mam-salary-head-actions a,.mam-salary-page .mam-salary-actions>a,.mam-salary-page .mam-salary-actions>button{height:38px!important;min-height:38px!important;box-sizing:border-box!important}
.mam-salary-page .mam-salary-search{height:35px!important;min-height:35px!important}
.mam-salary-page .mam-salary-search input{height:33px!important;min-height:33px!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important;margin:10px 18px 14px!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards>.mam-salary-staff-info-card{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;min-height:82px!important;height:auto!important;margin:0!important;padding:12px 14px!important;background:#fff!important;border:1px solid #e1e8f0!important;border-radius:8px!important;box-shadow:none!important;box-sizing:border-box!important;overflow:visible!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-history-identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-history-identity strong{font-size:15px!important;line-height:20px!important;color:#17365d!important;margin:0!important;overflow-wrap:anywhere!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-history-identity small{font-size:12px!important;line-height:17px!important;color:#64748b!important;margin:0!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-status-text{font-size:12px!important;line-height:17px!important;font-weight:700!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-status-text.active{color:#15803d!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-status-text.inactive{color:#dc2626!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards .mam-salary-summary-card{min-width:0!important;min-height:82px!important;height:auto!important;padding:12px 14px!important;margin:0!important;box-sizing:border-box!important}
#mam-payroll-salary-details-modal .mam-salary-history{margin:0 18px 14px!important}
#mam-payroll-salary-details-modal .mam-salary-history-scroll{margin-top:0!important}
.mam-salary-success-modal{z-index:100800!important}
.mam-salary-success-box{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
@media(max-width:900px){#mam-payroll-salary-details-modal .mam-salary-four-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.mam-salary-page{padding:0 0 10px!important}.mam-salary-page .mam-salary-page-head{margin:8px 0 14px!important;padding:0!important}.mam-salary-page .mam-salary-stat{height:auto!important;min-height:74px!important;padding:10px 12px!important}#mam-payroll-salary-details-modal .mam-salary-four-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:10px 12px 12px!important;gap:8px!important}#mam-payroll-salary-details-modal .mam-salary-four-cards>.mam-salary-staff-info-card,#mam-payroll-salary-details-modal .mam-salary-four-cards .mam-salary-summary-card{min-height:74px!important;padding:10px!important}#mam-payroll-salary-details-modal .mam-salary-history{margin:0 12px 12px!important}}


/* MAM v1.1.124.45 — Staff Salary cards match the Staff page; history identity card alignment */
.mam-salary-page .mam-salary-stat-grid{align-items:stretch!important;gap:14px!important;margin:0 0 20px!important}
.mam-salary-page .mam-salary-stat{min-height:104px!important;height:auto!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:14px!important;padding:18px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important}
.mam-salary-page .mam-salary-stat.blue,.mam-salary-page .mam-salary-stat.orange,.mam-salary-page .mam-salary-stat.green,.mam-salary-page .mam-salary-stat.navy{background:#fff!important}
.mam-salary-page .mam-salary-stat>.dashicons,.mam-salary-page .mam-salary-stat>.mam-salary-stat-rupee{width:48px!important;height:48px!important;line-height:48px!important;flex:0 0 48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:#e8f4ff!important;font-size:23px!important;color:#0876d1!important}
.mam-salary-page .mam-salary-stat.orange>.dashicons{background:#fff3e8!important;color:#d97706!important}
.mam-salary-page .mam-salary-stat.green>.dashicons{background:#e8faef!important;color:#07865b!important}
.mam-salary-page .mam-salary-stat.navy>.mam-salary-stat-rupee{background:#f1f4f8!important;color:#64748b!important;font-weight:700!important}
.mam-salary-page .mam-salary-stat small{display:block!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;color:#52617b!important;margin:0 0 3px!important}
.mam-salary-page .mam-salary-stat strong{font-size:24px!important;line-height:28px!important;font-weight:700!important;color:#17365d!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards{align-items:stretch!important;gap:14px!important;margin:10px 18px 14px!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards>.mam-salary-staff-info-card{align-self:stretch!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:104px!important;height:auto!important;margin:0!important;padding:18px!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important;box-sizing:border-box!important;overflow:visible!important}
#mam-payroll-salary-details-modal .mam-salary-staff-info-card .mam-salary-history-identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
#mam-payroll-salary-details-modal .mam-salary-four-cards .mam-salary-summary-card{min-height:104px!important;height:auto!important;padding:18px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important}
@media(max-width:600px){.mam-salary-page .mam-salary-stat{min-height:82px!important;padding:12px!important}#mam-payroll-salary-details-modal .mam-salary-four-cards{margin:10px 12px 12px!important;gap:8px!important}#mam-payroll-salary-details-modal .mam-salary-four-cards>.mam-salary-staff-info-card,#mam-payroll-salary-details-modal .mam-salary-four-cards .mam-salary-summary-card{min-height:82px!important;padding:12px!important}}

/* MAM v1.1.124.46 — Students page aligned with Staff page controls, cards and actions */
.mam-student-modern-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;max-width:none!important}
.mam-student-modern-page .mam-student-page-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.mam-student-modern-page .mam-student-title{display:flex!important;align-items:center!important;gap:13px!important}
.mam-student-modern-page .mam-student-title>.dashicons{font-size:30px!important;width:32px!important;height:32px!important;color:#0876d1!important}
.mam-student-modern-page .mam-student-title h2{font-size:24px!important;line-height:30px!important;font-weight:700!important;color:#17356d!important;margin:0 0 2px!important}
.mam-student-modern-page .mam-student-title p{font-size:13px!important;line-height:19px!important;color:#64748b!important;margin:0!important}
.mam-student-modern-page .mam-student-head-actions{display:flex!important;align-items:center!important;gap:9px!important}
.mam-student-modern-page .mam-student-head-actions .mam-ui-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 15px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.mam-student-modern-page .mam-student-head-actions .mam-ui-btn.primary,.mam-student-modern-page .mam-student-filter-card .mam-ui-btn.primary,.mam-student-modern-page .mam-bulk .mam-ui-btn.primary{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}
.mam-student-modern-page .mam-student-head-actions .mam-ui-btn.green{background:#172033!important;border:1px solid #172033!important;color:#fff!important}
.mam-student-modern-page .mam-student-stat-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mam-student-modern-page .mam-student-stat{height:88px!important;min-height:88px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:14px!important;padding:14px 17px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important;color:#17365d!important}
.mam-student-modern-page .mam-student-stat.total{background:#e8f4ff!important;color:#0876d1!important}
.mam-student-modern-page .mam-student-stat.pending{background:#fff3e8!important;color:#d97706!important}
.mam-student-modern-page .mam-student-stat.approved{background:#e8faef!important;color:#07865b!important}
.mam-student-modern-page .mam-student-stat.rejected{background:#f1f4f8!important;color:#64748b!important}
.mam-student-modern-page .mam-student-stat>.dashicons{width:44px!important;height:44px!important;line-height:44px!important;flex:0 0 44px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#ffffffc9!important;font-size:23px!important;color:inherit!important}
.mam-student-modern-page .mam-student-stat small{display:block!important;font-size:12px!important;line-height:18px!important;font-weight:600!important;color:inherit!important;margin:0 0 2px!important}
.mam-student-modern-page .mam-student-stat strong{font-size:23px!important;line-height:27px!important;font-weight:700!important;color:#17365d!important}
.mam-student-modern-page .mam-student-filter-card{padding:12px!important;margin:0 0 16px!important;background:#fff!important;border:1px solid #e5eaf2!important;border-radius:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important}
.mam-student-modern-page .mam-student-filter-card form{display:grid!important;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(140px,1fr)) auto auto!important;align-items:center!important;gap:9px!important}
.mam-student-modern-page .mam-filter-search{height:35px!important;min-height:35px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;min-width:0!important}
.mam-student-modern-page .mam-filter-search>.dashicons{font-size:17px!important;width:17px!important;height:17px!important;color:#64748b!important}
.mam-student-modern-page .mam-filter-search input{height:33px!important;min-height:33px!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-family:inherit!important;font-size:13px!important;color:#17365d!important}
.mam-student-modern-page .mam-student-filter-card form>select{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 10px!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font-family:inherit!important;font-size:13px!important}
.mam-student-modern-page .mam-student-filter-card form>.mam-ui-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 14px!important;border-radius:8px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
.mam-student-modern-page .mam-student-filter-card form>.mam-ui-btn.reset{background:#fff!important;color:#163a78!important;border:1px solid #cbd5e1!important}
.mam-student-modern-page .mam-student-table-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:12px!important;padding:12px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important}
.mam-student-modern-page .mam-student-table-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 10px!important}
.mam-student-modern-page .mam-bulk{display:flex!important;align-items:center!important;gap:8px!important}
.mam-student-modern-page .mam-bulk select{height:35px!important;min-height:35px!important;border:1px solid #d5dce7!important;border-radius:7px!important;padding:0 10px!important}
.mam-student-modern-page .mam-bulk .mam-ui-btn{height:38px!important;min-height:38px!important;padding:0 15px!important;border-radius:7px!important}
.mam-student-modern-page .mam-student-table-scroll{overflow-x:auto!important;width:100%!important}
.mam-student-modern-page .mam-student-table{width:100%!important;min-width:1120px!important;border-collapse:separate!important;border-spacing:0!important;font-family:inherit!important;font-size:12px!important}
.mam-student-modern-page .mam-student-table th{background:#f0f4f9!important;color:#16264d!important;font-size:12px!important;font-weight:700!important;text-align:left!important;padding:11px 9px!important;border-bottom:1px solid #e0e6ef!important;white-space:nowrap!important}
.mam-student-modern-page .mam-student-table td{padding:9px!important;border-bottom:1px solid #e7ebf1!important;color:#1b2945!important;vertical-align:middle!important;font-size:12px!important}
.mam-student-modern-page .mam-student-table tbody tr:nth-child(even){background:#f7faff!important}
.mam-student-modern-page .mam-student-action-row{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important}
.mam-student-modern-page .mam-student-action{height:32px!important;min-height:32px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 9px!important;border:0!important;border-radius:5px!important;font-family:inherit!important;font-size:11px!important;font-weight:600!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important}
.mam-student-modern-page .mam-student-action.view{background:#0876d1!important;color:#fff!important}.mam-student-modern-page .mam-student-action.edit{background:#f39812!important;color:#fff!important}.mam-student-modern-page .mam-student-action.login{background:#0891b2!important;color:#fff!important}.mam-student-modern-page .mam-student-action.delete{background:#ed2440!important;color:#fff!important}.mam-student-modern-page .mam-student-action.disabled{background:#e2e8f0!important;color:#64748b!important;cursor:not-allowed!important}
.mam-student-modern-page .mam-student-badge{display:inline-flex!important;align-items:center!important;padding:5px 9px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;white-space:nowrap!important}.mam-student-modern-page .mam-student-badge.approved{background:#e8faef!important;color:#07865b!important}.mam-student-modern-page .mam-student-badge.pending{background:#fff3e8!important;color:#b96a06!important}.mam-student-modern-page .mam-student-badge.rejected{background:#fff0f1!important;color:#d43b4a!important}
.mam-student-modern-page input:not([type=checkbox]):not([type=radio]):not([type=file]),.mam-student-modern-page select{box-sizing:border-box!important}
@media(max-width:1200px){.mam-student-modern-page .mam-student-filter-card form{grid-template-columns:repeat(3,minmax(0,1fr)) auto auto!important}.mam-student-modern-page .mam-filter-search{grid-column:1/-1!important}.mam-student-modern-page .mam-student-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.mam-student-modern-page .mam-student-page-head{align-items:flex-start!important;flex-direction:column!important}.mam-student-modern-page .mam-student-head-actions{width:100%!important}.mam-student-modern-page .mam-student-stat-grid{grid-template-columns:1fr!important}.mam-student-modern-page .mam-student-filter-card form{grid-template-columns:1fr 1fr!important}.mam-student-modern-page .mam-filter-search{grid-column:1/-1!important}.mam-student-modern-page .mam-student-table-top{align-items:flex-start!important;flex-direction:column!important}}

/* MAM v1.1.124.47 — Student Login modal aligned with Staff Login ID Management */
#mam-student-login-modal.mam-login-management-modal .mam-login-detail-box{width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:calc(100vh - 36px)!important;overflow:auto!important}
#mam-student-login-modal .mam-login-modal-head{height:64px!important;min-height:64px!important;padding:0 20px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#e7f4ff!important;border-bottom:1px solid #dceaf7!important}
#mam-student-login-modal .mam-login-modal-head h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17356d!important;margin:0!important;padding:0!important}
#mam-student-login-modal .mam-login-modal-content{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 24px!important;padding:20px 22px 14px!important;box-sizing:border-box!important}
#mam-student-login-modal .mam-login-field>input,#mam-student-login-modal .mam-login-password-line>input,#mam-student-login-modal .mam-login-contact-box input{height:35px!important;min-height:35px!important;box-sizing:border-box!important;border-radius:6px!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:14px!important}
#mam-student-login-modal .mam-login-password-line{position:relative!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important}
#mam-student-login-modal .mam-login-password-line>input{flex:1 1 auto!important;width:0!important;min-width:0!important;padding-right:38px!important}
#mam-student-login-modal .mam-login-password-line .mam-generate-password{position:static!important;flex:0 0 92px!important;width:92px!important;height:38px!important;min-height:38px!important;box-sizing:border-box!important;border-radius:6px!important}
#mam-student-login-modal .mam-login-password-line .mam-password-eye{position:absolute!important;right:98px!important;top:50%!important;transform:translateY(-50%)!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#64748b!important}
#mam-student-login-modal .mam-login-modal-actions{padding:10px 22px 12px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;box-sizing:border-box!important}
#mam-student-login-modal .mam-login-modal-actions button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;border-radius:6px!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
#mam-student-login-modal .mam-login-modal-actions .mam-modal-cancel{background:#eef2f7!important;color:#17356d!important;border:1px solid #e0e7ef!important}
#mam-student-login-modal .mam-login-modal-actions .mam-modal-save{margin-left:auto!important;background:#0969e8!important;color:#fff!important;border:1px solid #0969e8!important}
#mam-student-login-modal .mam-login-field small{display:block!important;margin:0!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important}
@media(max-width:680px){#mam-student-login-modal.mam-login-management-modal{padding:10px!important}#mam-student-login-modal.mam-login-management-modal .mam-login-detail-box{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}#mam-student-login-modal .mam-login-modal-content{grid-template-columns:minmax(0,1fr)!important;gap:15px!important;padding:16px 14px 12px!important}#mam-student-login-modal .mam-login-modal-head{height:56px!important;min-height:56px!important;padding:0 15px!important}#mam-student-login-modal .mam-login-modal-actions{padding:8px 14px 10px!important}#mam-student-login-modal .mam-login-password-line .mam-generate-password{flex-basis:92px!important;width:92px!important}#mam-student-login-modal .mam-login-password-line .mam-password-eye{right:98px!important}}


/* Student admission form aligned to the supplied reference */
.mam-admission-page .mam-admission-card{border:1px solid #cbdff2!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(23,53,109,.05)!important;overflow:hidden;margin-bottom:9px!important;background:#fff!important}.mam-admission-page .mam-admission-card:before{content:none!important}.mam-admission-page .mam-admission-field input:not([type=file]),.mam-admission-page .mam-admission-field select,.mam-admission-page .mam-admission-field textarea{height:35px!important;min-height:35px!important;border:1px solid #d0dce9!important;border-radius:5px!important;background:#fff!important;color:#17356d!important;padding:0 10px!important;box-shadow:none!important;font-size:13px!important}.mam-admission-page .mam-admission-field>span{font-size:13px!important;color:#17356d!important;font-weight:500!important}.mam-admission-page .mam-admission-form{gap:8px!important}.mam-admission-page .mam-admission-a4{max-width:1280px!important}.mam-admission-page .mam-admission-title{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0 0 10px!important;margin:0!important}.mam-admission-page .mam-admission-title h1{font-size:34px!important;line-height:1.15!important;font-weight:500!important;color:#17356d!important;margin:0!important}.mam-admission-page .mam-admission-title>div{font-size:15px!important;color:#64748b!important}.mam-admission-page .mam-admission-field{display:grid!important;grid-template-columns:minmax(120px,38%) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-width:0!important}.mam-admission-page .mam-admission-field>span{margin:0!important}.mam-admission-page .mam-admission-date{min-width:0!important}.mam-admission-page .mam-two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 24px!important;padding:10px 16px!important}.mam-admission-page .mam-admission-section-title{display:block!important;background:#e4f2ff!important;color:#17356d!important;font-size:16px!important;font-weight:700!important;line-height:20px!important;padding:7px 16px!important;border-bottom:1px solid #d1e6f8!important}.mam-admission-page .mam-top-card>.mam-two-col{padding:10px 16px!important}.mam-admission-page .mam-admission-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;background:#fff!important;padding:10px 16px!important;border:1px solid #cbdff2!important;border-radius:7px!important}.mam-admission-page .mam-admission-btn{height:38px!important;min-height:38px!important;border-radius:5px!important;padding:0 18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}@media(max-width:850px){.mam-admission-page .mam-two-col{grid-template-columns:1fr!important;gap:9px!important}.mam-admission-page .mam-admission-field{grid-template-columns:38% minmax(0,1fr)!important}}@media(max-width:520px){.mam-admission-page .mam-admission-title h1{font-size:27px!important}.mam-admission-page .mam-admission-field{grid-template-columns:1fr!important;gap:4px!important}.mam-admission-page .mam-two-col{padding:10px!important}}.mam-admission-page .mam-admission-form>section{margin-bottom:8px!important}

/* Re-admission and admission-form styling moved from late page output to the enqueued stylesheet to prevent layout flash. */
.mam-readmission-trigger{background:#0b8d62!important;color:#fff!important;border:1px solid #0b8d62!important}.mam-readmission-modal{display:none;position:fixed;inset:0;z-index:100100;align-items:center;justify-content:center;padding:18px}.mam-readmission-modal.open{display:flex}.mam-readmission-backdrop{position:absolute;inset:0;background:rgba(15,35,70,.58)}.mam-readmission-box{position:relative;width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #d7e2ef;border-radius:12px;box-shadow:0 18px 60px #0f234633;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.mam-readmission-box>header{height:64px;box-sizing:border-box;padding:0 20px;display:flex;align-items:center;justify-content:space-between;background:#eaf4ff;border-bottom:1px solid #d8e7f8}.mam-readmission-box h2{font-size:18px;line-height:22px;font-weight:600;color:#17356d;margin:0}.mam-readmission-box>header button{border:0;background:transparent;color:#17356d;font-size:26px;cursor:pointer}.mam-readmission-body{padding:20px}.mam-readmission-body>label{display:block;color:#17356d;font-weight:600;margin-bottom:10px}.mam-readmission-body input{display:block;width:100%;box-sizing:border-box;height:35px;margin-top:6px;border:1px solid #cbd8e8;border-radius:6px;padding:0 10px}.mam-readmission-body .mam-ui-btn{height:38px;min-height:38px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:6px;font-weight:600;text-decoration:none;cursor:pointer}.mam-readmission-status{font-size:13px;color:#64748b;margin:12px 0}.mam-readmission-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #dbe5f0;border-radius:8px;overflow:hidden;margin-top:14px}.mam-readmission-card[hidden]{display:none}.mam-readmission-card div{padding:10px 12px;border-bottom:1px solid #e6edf5;min-width:0}.mam-readmission-card div:nth-child(odd){background:#f8fbff}.mam-readmission-card small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}.mam-readmission-card strong{color:#17356d;font-size:13px;overflow-wrap:anywhere}.mam-readmission-card .due,.mam-readmission-card .fail{color:#c62828}.mam-readmission-card .paid,.mam-readmission-card .pass{color:#168344}.mam-readmission-card .no-exam{color:#64748b}.mam-readmission-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #e6edf5}.mam-readmission-actions #mam-readmission-continue[aria-disabled=true]{opacity:.45;pointer-events:none}.mam-student-toast{position:fixed;right:22px;top:22px;z-index:100200;width:min(420px,calc(100vw - 36px));padding:15px 18px;border-radius:10px;background:#17356d;color:#fff;box-shadow:0 12px 35px #0003;font-size:14px;font-weight:600}.mam-admission-page .mam-admission-card{border:1px solid #cbdff2!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(23,53,109,.05)!important;overflow:hidden;margin-bottom:9px!important;background:#fff!important}.mam-admission-page .mam-admission-card:before{content:none!important}.mam-admission-page .mam-admission-field input:not([type=file]),.mam-admission-page .mam-admission-field select,.mam-admission-page .mam-admission-field textarea{height:35px!important;min-height:35px!important;border:1px solid #d0dce9!important;border-radius:5px!important;background:#fff!important;color:#17356d!important;padding:0 10px!important;box-shadow:none!important;font-size:13px!important}.mam-admission-page .mam-admission-field>span{font-size:13px!important;color:#17356d!important;font-weight:500!important}.mam-admission-page .mam-admission-form{gap:8px!important}.mam-admission-page .mam-admission-a4{max-width:1280px!important}.mam-admission-page .mam-admission-title{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0 0 10px!important;margin:0!important}.mam-admission-page .mam-admission-title h1{font-size:34px!important;line-height:1.15!important;font-weight:500!important;color:#17356d!important;margin:0!important}.mam-admission-page .mam-admission-title>div{font-size:15px!important;color:#64748b!important}.mam-admission-page .mam-admission-field{display:grid!important;grid-template-columns:minmax(120px,38%) minmax(0,1fr)!important;align-items:center!important;gap:8px!important;min-width:0!important}.mam-admission-page .mam-admission-field>span{margin:0!important}.mam-admission-page .mam-admission-date{min-width:0!important}.mam-admission-page .mam-two-col{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px 24px!important;padding:10px 16px!important}.mam-admission-page .mam-admission-section-title{display:block!important;background:#e4f2ff!important;color:#17356d!important;font-size:16px!important;font-weight:700!important;line-height:20px!important;padding:7px 16px!important;border-bottom:1px solid #d1e6f8!important}.mam-admission-page .mam-top-card>.mam-two-col{padding:10px 16px!important}.mam-admission-page .mam-admission-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;background:#fff!important;padding:10px 16px!important;border:1px solid #cbdff2!important;border-radius:7px!important}.mam-admission-page .mam-admission-btn{height:38px!important;min-height:38px!important;border-radius:5px!important;padding:0 18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}@media(max-width:850px){.mam-admission-page .mam-two-col{grid-template-columns:1fr!important;gap:9px!important}.mam-admission-page .mam-admission-field{grid-template-columns:38% minmax(0,1fr)!important}}@media(max-width:520px){.mam-admission-page .mam-admission-title h1{font-size:27px!important}.mam-admission-page .mam-admission-field{grid-template-columns:1fr!important;gap:4px!important}.mam-admission-page .mam-two-col{padding:10px!important}}.mam-admission-page .mam-admission-form>section{margin-bottom:8px!important}@media(max-width:650px){.mam-readmission-card{grid-template-columns:1fr}.mam-readmission-body{padding:14px}.mam-readmission-box>header{padding:0 14px}}


/* v1.1.124.50: Student admission typography, fields, native calendar and re-admission search actions */
.mam-admission-page{background:#f2f7fc!important;border-radius:8px!important;padding:18px!important;box-sizing:border-box!important}
.mam-admission-page .mam-admission-title h1{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important}
.mam-admission-page .mam-admission-title .mam-admission-subtitle{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;color:#2870b8!important}
.mam-admission-page .mam-admission-title .mam-admission-subtitle.is-readmission{color:#0b8d62!important;background:linear-gradient(90deg,#e8f8f0,#eaf4ff)!important;border-left:3px solid #0b8d62!important;padding:5px 10px!important;border-radius:4px!important}
.mam-admission-page .mam-admission-title .mam-admission-subtitle.is-new-admission{color:#2870b8!important;background:linear-gradient(90deg,#eaf4ff,#f1f8ff)!important;border-left:3px solid #2870b8!important;padding:5px 10px!important;border-radius:4px!important}
.mam-admission-page .mam-admission-actions{background:#f2f7fc!important;border-color:#cbdff2!important}
.mam-admission-page .mam-admission-field input:not([type=file]):focus,.mam-admission-page .mam-admission-field select:focus,.mam-admission-page .mam-admission-field textarea:focus{border-color:#1673ed!important;box-shadow:0 0 0 2px rgba(22,115,237,.14)!important;outline:0!important}
.mam-admission-page .mam-admission-field input[type=text],.mam-admission-page .mam-admission-field select,.mam-admission-page .mam-admission-field textarea{text-transform:capitalize!important}
.mam-admission-page .mam-admission-field input[type=email]{text-transform:none!important}
.mam-admission-page .mam-admission-date input[type=date],.mam-admission-page .mam-admission-field input.mam-native-date{display:block!important;width:100%!important;max-width:100%!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;border:1px solid #d0dce9!important;border-radius:5px!important;background:#fff!important;color:#17356d!important;padding:0 10px!important;font:inherit!important;font-size:13px!important}
.mam-readmission-box>header{background:#f1f6fc!important;border-bottom:1px solid #d8e0ea!important}
.mam-readmission-box>header h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17356d!important}
.mam-readmission-body input:focus{border-color:#1673ed!important;box-shadow:0 0 0 2px rgba(22,115,237,.14)!important;outline:0!important}
.mam-readmission-actions[hidden]{display:none!important}
@media(max-width:650px){.mam-admission-page{padding:10px!important}.mam-admission-page .mam-admission-title h1{font-size:24px!important;line-height:30px!important}}

/* v1.1.124.51: Re-admission modal refinement, admission accents, and smoother dialogs */
.mam-readmission-box{width:min(680px,94vw)!important;opacity:1;transform:translateY(0) scale(1);transition:opacity .18s ease,transform .18s ease!important;will-change:opacity,transform}
.mam-readmission-backdrop{opacity:1;transition:opacity .18s ease!important}
.mam-readmission-modal.closing .mam-readmission-box{opacity:0;transform:translateY(8px) scale(.985)}
.mam-readmission-modal.closing .mam-readmission-backdrop{opacity:0}
.mam-readmission-status:empty{display:none!important}
.mam-admission-page .mam-admission-title .mam-admission-subtitle.is-readmission,
.mam-admission-page .mam-admission-title .mam-admission-subtitle.is-new-admission{border-left:0!important;padding:5px 10px!important;border-radius:4px!important}
.mam-admission-page .mam-admission-field>span .required,
.mam-admission-page .mam-admission-field>span .mam-required,
.mam-admission-page .mam-admission-field>span .star,
.mam-admission-page .mam-admission-field>span .required-mark{color:#dc2626!important}
.mam-admission-page .mam-admission-field>span{color:#17356d!important}
.mam-admission-page .mam-admission-field>span:has(+ input[required])::after,
.mam-admission-page .mam-admission-field>span:has(+ select[required])::after{color:#dc2626!important}
/* Smooth appearance for plugin dialogs while respecting reduced-motion preferences. */
@media(prefers-reduced-motion:no-preference){
 .mam-login-management-modal.open .mam-login-detail-box,
 .mam-fee-modal.open .mam-fee-modal-box,
 .mam-readmission-modal.open .mam-readmission-box,
 .mam-student-modal.open .mam-student-modal-box,
 .mam-confirm-modal.open .mam-confirm-modal-box{animation:mam-dialog-enter .18s ease-out both}
}
@keyframes mam-dialog-enter{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:650px){.mam-readmission-box{width:min(94vw,680px)!important}}
.mam-admission-page .mam-admission-field>span em{color:#dc2626!important;font-style:normal!important;font-weight:700!important}


/* MAM v1.1.124.52 — Students & Fees aligned with Students page */
.mam-fees-page{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;color:#17365d!important}
.mam-fees-page .mam-fees-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 16px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#17365d!important}
.mam-fees-page .mam-fees-title{display:flex!important;align-items:center!important;gap:12px!important}
.mam-fees-page .mam-fees-title h2{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:600!important;line-height:30px!important;color:#17365d!important;margin:0!important}
.mam-fees-page .mam-fees-title p{font-size:13px!important;line-height:20px!important;color:#64748b!important;margin:2px 0 0!important}
.mam-fees-page .mam-fees-page-icon{color:#0876d1!important;font-size:30px!important;width:34px!important;height:34px!important;line-height:34px!important}
.mam-fees-page .mam-fees-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.mam-fees-page .mam-fee-summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}
.mam-fees-page .mam-fee-stat{height:82px!important;min-height:82px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:12px!important;padding:13px 16px!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px rgba(24,52,90,.04)!important}
.mam-fees-page .mam-fee-stat.blue{background:#e8f4ff!important;color:#0876d1!important}.mam-fees-page .mam-fee-stat.green{background:#e8f8f0!important;color:#07865b!important}.mam-fees-page .mam-fee-stat.orange{background:#fff0f0!important;color:#b42318!important}.mam-fees-page .mam-fee-stat.purple{background:#f3edff!important;color:#7544d8!important}
.mam-fees-page .mam-fee-stat>.dashicons{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;line-height:42px!important;border-radius:50%!important;background:#ffffffc9!important;color:inherit!important;font-size:19px!important}
.mam-fees-page .mam-fee-stat small{font-size:12px!important;line-height:17px!important;font-weight:600!important;color:inherit!important;margin:0 0 2px!important}.mam-fees-page .mam-fee-stat strong{font-size:22px!important;line-height:27px!important;font-weight:700!important;color:#17365d!important}.mam-fees-page .mam-fee-stat em{display:block!important;font-size:11px!important;font-style:normal!important;color:#64748b!important;margin-top:1px!important}
.mam-fees-page .mam-fee-filter{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;padding:12px!important;margin:0 0 16px!important;background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px rgba(24,52,90,.04)!important}
.mam-fees-page .mam-fee-filter select{flex:1 1 0!important;min-width:0!important;width:auto!important;height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;border:1px solid #d5dce7!important;border-radius:8px!important;background:#fff!important;color:#334155!important;font:13px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;padding:0 10px!important}
.mam-fees-page .mam-fee-filter .button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:0 13px!important;border-radius:7px!important;font:600 12px Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;text-decoration:none!important;box-shadow:none!important}
.mam-fees-page .mam-fee-filter .button-primary,.mam-fees-page .mam-fee-open{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}
.mam-fees-page .mam-fee-reset,.mam-fees-page .mam-fee-export-toggle{background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important}
.mam-fees-page .mam-fee-filter .dashicons{font-size:15px!important;width:15px!important;height:15px!important;line-height:15px!important}
.mam-fees-page .mam-fee-table-card{background:#fff!important;border:1px solid #e5eaf2!important;border-radius:10px!important;box-shadow:0 2px 8px rgba(24,52,90,.04)!important;overflow:hidden!important}
.mam-fees-page .mam-fee-table-toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;padding:10px 14px!important;background:#fff!important;border:0!important;margin:0!important;min-height:44px!important}
.mam-fees-page .mam-fee-table-toolbar .mam-fee-showing{margin-right:auto!important;color:#64748b!important;font-size:12px!important}
.mam-fees-page #mam-fee-per-page{width:58px!important;min-width:58px!important;max-width:58px!important;height:30px!important;min-height:30px!important;padding:0 5px!important;font-size:12px!important}
.mam-fees-page .mam-fee-scroll{padding:0 12px 12px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
.mam-fees-page .mam-fee-row-actions{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.mam-fees-page .mam-fee-row-actions .button{height:32px!important;min-height:32px!important;padding:0 10px!important;border-radius:6px!important;font-size:11px!important;font-weight:600!important;box-shadow:none!important}
.mam-fees-page .mam-row-collect{background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important}.mam-fees-page .mam-row-view{background:#eaf2ff!important;border:1px solid #d8e6ff!important;color:#2455a6!important}.mam-fees-page .mam-row-receipt{background:#e8f8f0!important;border:1px solid #d1f0df!important;color:#07865b!important}
.mam-fees-page .mam-fee-pagination{padding:10px 14px!important;border-top:1px solid #e7ebf1!important;background:#fff!important}
@media(max-width:900px){.mam-fees-page .mam-fee-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-fees-page .mam-fee-filter{flex-wrap:wrap!important}.mam-fees-page .mam-fee-filter select{flex:1 1 calc(50% - 10px)!important}}
@media(max-width:600px){.mam-fees-page .mam-fees-hero{align-items:flex-start!important;flex-direction:column!important}.mam-fees-page .mam-fee-summary-grid{grid-template-columns:1fr!important}.mam-fees-page .mam-fee-filter select{flex:1 1 100%!important}.mam-fees-page .mam-fee-filter .button{flex:1 1 calc(50% - 10px)!important}}
/* v1.1.124.53: student inactive state and Students & Fees final alignment */
.mam-student-modern-page .mam-student-stat.inactive{background:#f1f4f8!important;color:#64748b!important;border:1px solid #e5eaf2!important;box-shadow:0 2px 8px rgba(24,52,90,.04)!important}
.mam-student-modern-page .mam-student-stat.inactive .dashicons{color:#64748b!important}
.mam-student-modern-page .mam-student-badge.inactive{background:#eef2f6!important;color:#64748b!important}
.mam-fees-page .mam-fees-title h2{font-weight:700!important}
.mam-fees-page .mam-fees-page-icon{font-size:24px!important;width:28px!important;height:28px!important;line-height:28px!important}
.mam-fees-page .mam-fee-filter button .dashicons{color:#fff!important}
.mam-fees-page .mam-fee-filter .mam-fee-reset .dashicons{color:#334155!important}
.mam-fees-page .mam-fee-table-toolbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important}
.mam-fees-page .mam-fee-showing{margin-right:auto!important;white-space:nowrap!important}
.mam-fees-page #mam-fee-per-page{width:110px!important;min-width:110px!important}
/* Student fee modal: align with Staff Salary modal system */
.mam-fee-modal-box{width:min(980px,calc(100vw - 32px))!important;max-width:980px!important;max-height:88vh!important;overflow:auto!important;transform:none!important;border-radius:12px!important}
.mam-fee-modal-box>#mam-fee-modal-title{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:500!important;line-height:20px!important;color:#1f2937!important;height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;padding:0 58px 0 20px!important;background:#f0f8ff!important;border-bottom:1px solid #dbe5ef!important}
.mam-fee-modal-box>.mam-fee-modal-close-top{height:32px!important;min-width:32px!important;width:32px!important;top:8px!important;right:12px!important;border:0!important;background:transparent!important;color:#334155!important;padding:0!important}
.mam-fee-modal-box>.mam-fee-modal-close-top .mam-fee-close-label{display:none!important}
.mam-fee-modal-box>#mam-fee-form{padding:16px 20px 18px!important}
.mam-fee-modal-box input:not([type=checkbox]):not([type=hidden]),.mam-fee-modal-box select{height:35px!important;min-height:35px!important;box-sizing:border-box!important}
.mam-fee-modal-box button.button,.mam-fee-modal-box #mam-fee-save{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 15px!important;border-radius:6px!important}
.mam-fee-metric-cards{display:grid;grid-template-columns:1.25fr repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.mam-fee-metric{min-width:0;min-height:78px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;box-sizing:border-box}
.mam-fee-metric>small{display:block;color:#64748b;font-size:12px;margin-bottom:7px;font-weight:600}
.mam-fee-metric>strong{display:block;color:#17365d;font-size:20px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.mam-fee-metric.total{background:#eff8ff}.mam-fee-metric.paid{background:#effaf3}.mam-fee-metric.due{background:#fff4f3}
.mam-fee-metric .mam-fee-payment-student{padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.mam-fee-metric .mam-fee-payment-student strong{font-size:15px!important;color:#17365d!important}
.mam-fee-metric .mam-fee-payment-student span{font-size:11px!important;color:#64748b!important;line-height:1.35!important}
.mam-fee-payment-stage-head{display:flex!important;justify-content:flex-end!important;margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important}
.mam-fee-id-search label{display:block;min-width:0;flex:1}
.mam-fee-id-input-wrap{position:relative;display:block;width:100%}
.mam-fee-id-input-wrap input{width:100%;padding-right:38px!important}
.mam-fee-id-clear{position:absolute;right:5px;top:50%;transform:translateY(-50%);height:25px!important;min-height:25px!important;width:25px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#64748b!important;font-size:20px!important;line-height:1!important;display:none!important;align-items:center;justify-content:center;cursor:pointer}
.mam-fee-id-clear.visible{display:inline-flex!important}
.mam-fee-modal-actions{display:flex!important;justify-content:space-between!important;gap:10px!important;margin-top:14px!important}
.mam-fee-modal-actions #mam-fee-continue{margin-left:auto!important}
.mam-fee-lookup-stage .mam-fee-lookup-status{min-height:0!important;margin-top:8px!important}
@media(max-width:700px){.mam-fee-modal-box{width:calc(100vw - 20px)!important;max-height:90vh!important}.mam-fee-modal-box>#mam-fee-form{padding:12px!important}.mam-fee-metric-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mam-fee-metric.student{grid-column:1/-1}.mam-fee-metric>strong{font-size:18px!important}}

/* v1.1.124.54: student fee payment/history modal redesign */

/* v1.1.124.55: streamlined fee lookup, direct row actions and history footer */
.mam-fee-modal .mam-fee-modal-box{width:min(800px,calc(100vw - 32px))!important;max-width:800px!important;max-height:84vh!important;top:auto!important;transform:none!important}
.mam-fee-modal.lookup-mode .mam-fee-modal-box{width:min(640px,calc(100vw - 32px))!important;max-width:640px!important}
.mam-fee-modal.payment-mode .mam-fee-modal-box{width:min(800px,calc(100vw - 32px))!important;max-width:800px!important}
.mam-fee-modal-box [hidden],.mam-fee-modal-box button[hidden],.mam-fee-modal-box div[hidden]{display:none!important}
.mam-fee-metric-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:12px!important}
.mam-fee-metric{min-height:76px!important;padding:10px 12px!important;display:flex;flex-direction:column;justify-content:center}
.mam-fee-metric.student{grid-column:auto!important;background:#f8fbff!important}
.mam-fee-metric.paid>strong{color:#168344!important}
.mam-fee-metric.due>strong{color:#d92d35!important}
.mam-fee-metric .mam-fee-payment-student{gap:3px!important}
.mam-fee-metric .mam-fee-payment-student strong{font-size:14px!important;line-height:1.25!important}
.mam-fee-metric .mam-fee-payment-student span{font-size:11px!important;line-height:1.25!important;overflow-wrap:anywhere}
.mam-fee-modal-box #mam-fee-form{padding:14px 18px 16px!important}
.mam-fee-id-search{align-items:flex-end!important;gap:10px!important}
.mam-fee-id-search #mam-fee-lookup{height:38px!important;min-height:38px!important;min-width:100px!important}
.mam-fee-id-input-wrap input{padding-right:40px!important}
.mam-fee-id-clear{right:7px!important;top:50%!important;transform:translateY(-50%)!important;width:25px!important;height:25px!important;min-height:25px!important;line-height:25px!important}
.mam-fee-student-card{grid-template-columns:1fr!important;gap:3px!important;padding:12px 14px!important;margin-top:10px!important}
.mam-fee-student-card .mam-fee-avatar,.mam-fee-student-guardian{display:none!important}
.mam-fee-student-main{display:flex!important;flex-direction:column!important;gap:3px!important}
.mam-fee-student-main strong{font-size:15px!important;color:#17365d!important}
.mam-fee-student-main span{font-size:12px!important;color:#64748b!important}
.mam-fee-modal-actions{margin-top:12px!important;padding-top:0!important;border-top:0!important}
.mam-fee-modal-actions .button{height:38px!important;min-height:38px!important;padding:0 14px!important;font-size:13px!important}
.mam-fee-modal-actions #mam-fee-continue{min-width:104px!important;padding:0 14px!important;margin-left:auto!important}
.mam-fee-modal-actions #mam-fee-back{background:#f8fafc!important;color:#334155!important;border:1px solid #d5deea!important}
.mam-fee-modal-actions #mam-fee-history-download{margin-left:auto!important}
.mam-fee-history-heading{margin:8px 0!important}
.mam-fee-history-heading .mam-history-download{display:none!important}
.mam-fee-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.mam-fee-modal-grid label{grid-column:auto}
.mam-fee-modal-grid label:last-child{grid-column:span 1}
.mam-fee-filter button.button-primary{background:#0969e8!important;border-color:#0969e8!important;color:#fff!important;border-radius:7px!important;min-height:38px!important;height:38px!important;padding:0 16px!important}
.mam-fee-filter button.button-primary .dashicons{color:#fff!important}
.mam-fee-filter .mam-fee-reset{background:#fff!important;border:1px solid #d5deea!important;color:#17365d!important;border-radius:7px!important;min-height:38px!important;height:38px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
.mam-fee-filter .mam-fee-reset .dashicons{color:#17365d!important}
@media(max-width:700px){.mam-fee-modal.payment-mode .mam-fee-modal-box,.mam-fee-modal.lookup-mode .mam-fee-modal-box{width:calc(100vw - 20px)!important;max-width:none!important}.mam-fee-metric-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-fee-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-fee-modal-box #mam-fee-form{padding:12px!important}}
@media(max-width:460px){.mam-fee-metric-cards{grid-template-columns:1fr 1fr!important}.mam-fee-modal-grid{grid-template-columns:1fr!important}.mam-fee-modal-actions .button{padding:0 12px!important}}
.mam-fee-modal.lookup-mode .mam-fee-id-search input{height:38px!important;min-height:38px!important}

/* v1.1.124.56: align ID Cards and fee export controls with Students UI */
.mam-fees-page .mam-fee-export-direct{background:#e8f8f0!important;border:1px solid #d1f0df!important;color:#07865b!important;text-decoration:none!important;}
.mam-fees-page .mam-fee-export-direct:hover{filter:brightness(.97)!important;}
.mam-fees-page .mam-fee-export-direct .dashicons{color:inherit!important;}
.mam-id-page .mam-id-hero{margin-top:12px!important;margin-bottom:16px!important;}
.mam-id-page .mam-id-title{gap:7px!important;}
.mam-id-page .mam-id-title>span{margin-right:0!important;}
.mam-id-page .mam-id-title h1{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:24px!important;font-weight:700!important;line-height:30px!important;color:#17365d!important;margin:0!important;}
.mam-id-page .mam-id-stats .mam-id-stat{height:82px!important;min-height:82px!important;box-shadow:0 2px 8px #18345a08!important;border:1px solid #e5eaf2!important;}
.mam-id-page .mam-id-content{display:block!important;width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;}
.mam-id-page .mam-id-table-card{width:100%!important;max-width:none!important;min-width:0!important;}
.mam-id-page .mam-id-scroll{width:100%!important;max-width:none!important;overflow-x:auto!important;}
.mam-id-page .mam-id-table{width:100%!important;min-width:100%!important;table-layout:auto!important;}
.mam-id-page .mam-id-filter{display:grid!important;grid-template-columns:minmax(230px,2fr) repeat(3,minmax(135px,1fr)) auto auto!important;gap:10px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important;}
.mam-id-page .mam-id-search{min-width:0!important;width:100%!important;}
.mam-id-page .mam-id-search input{width:100%!important;min-width:0!important;outline:none!important;}
.mam-id-page .mam-id-filter select{width:100%!important;min-width:0!important;}
.mam-id-page .mam-id-filter button.button-primary{height:38px!important;min-height:38px!important;background:#0876d1!important;border:1px solid #0876d1!important;color:#fff!important;border-radius:7px!important;padding:0 13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;}
.mam-id-page .mam-id-filter button.button-primary .dashicons{color:#fff!important;}
.mam-id-page .mam-id-filter .mam-id-reset{height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:0 13px!important;background:#fff!important;border:1px solid #cbd5e1!important;color:#334155!important;border-radius:7px!important;text-decoration:none!important;}
.mam-id-page .mam-id-filter .mam-id-reset .dashicons{color:inherit!important;}
.mam-id-page .mam-id-table-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.mam-id-page .mam-id-table-tools{display:flex!important;align-items:center!important;gap:8px!important;}
.mam-id-page .mam-id-row-actions .mam-id-action-preview{background:#0876d1!important;border-color:#0876d1!important;color:#fff!important;}
.mam-id-page .mam-id-row-actions .button.green{background:#dff7e9!important;border-color:#bfe9d0!important;color:#087b4e!important;}
.mam-id-page .mam-id-row-actions .mam-id-action-print{background:#2856a6!important;border-color:#2856a6!important;color:#fff!important;}
.mam-id-page .mam-id-row-actions .button{height:38px!important;min-height:38px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;}
.mam-id-page .mam-id-table th:first-child,.mam-id-page .mam-id-table td:first-child{width:32px!important;}
.mam-id-page .mam-id-table td:nth-child(3){font-weight:700!important;color:#17365d!important;}
@media(max-width:1000px){.mam-id-page .mam-id-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-id-page .mam-id-search{grid-column:1/-1!important}}
@media(max-width:600px){.mam-id-page .mam-id-filter{grid-template-columns:1fr!important}.mam-id-page .mam-id-search{grid-column:auto!important}.mam-id-page .mam-id-table-head{align-items:flex-start!important;flex-direction:column!important}.mam-id-page .mam-id-row-actions .button{height:35px!important;min-height:35px!important}}
.mam-id-page{width:100%!important;max-width:none!important;box-sizing:border-box!important;}

/* MAM v1.1.124.57 — Attendance page alignment and shared student-page styling */
.mam-admin-attendance-page .mam-attendance-title{gap:8px!important;align-items:center!important}
.mam-admin-attendance-page .mam-attendance-title h2{font-weight:700!important;color:#17365d!important;margin:0!important}
.mam-admin-attendance-page .mam-attendance-icon{width:32px!important;height:32px!important;line-height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#0876d1!important}
.mam-admin-attendance-page .mam-attendance-icon .dashicons{font-size:30px!important;width:30px!important;height:30px!important;line-height:30px!important}
.mam-admin-attendance-page .mam-attendance-stat{height:82px!important;min-height:82px!important;box-shadow:0 2px 8px rgba(24,52,90,.08)!important;border:1px solid #edf1f6!important}
.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.mam-admin-attendance-page .mam-attendance-filter form{align-items:end!important;gap:10px!important}
.mam-admin-attendance-page .mam-attendance-filter form>label{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-width:0!important}
.mam-admin-attendance-page .mam-attendance-filter select,
.mam-admin-attendance-page .mam-attendance-date-wrap #mam-attendance-date-display,
.mam-admin-attendance-page .mam-attendance-remark{height:35px!important;min-height:35px!important;box-sizing:border-box!important}
.mam-admin-attendance-page .mam-attendance-date-wrap{height:35px!important;min-height:35px!important;position:relative!important;display:flex!important;align-items:center!important}
.mam-admin-attendance-page .mam-attendance-load,
.mam-admin-attendance-page .mam-attendance-reset-loaded,
.mam-admin-attendance-page .mam-attendance-export,
.mam-admin-attendance-page .mam-attendance-save,
.mam-admin-attendance-page .mam-attendance-reset{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.mam-admin-attendance-page .mam-attendance-export{background:#0d3558!important;border:1px solid #0d3558!important;color:#fff!important;border-radius:7px!important;padding:0 16px!important;text-decoration:none!important}
.mam-admin-attendance-page .mam-attendance-filter form>label:nth-of-type(4){align-self:end!important;margin-bottom:0!important}
.mam-admin-attendance-page .mam-attendance-filter form>label:nth-of-type(4) .mam-attendance-date-wrap{margin-top:auto!important}
.mam-admin-attendance-page .mam-attendance-admin-right .mam-portal-card,
.mam-admin-attendance-page .mam-attendance-entry-card,
.mam-admin-attendance-page .mam-attendance-calendar{box-shadow:0 2px 8px rgba(24,52,90,.06)!important}
.mam-admin-attendance-page .mam-attendance-table th:nth-child(2),
.mam-admin-attendance-page .mam-attendance-table td:nth-child(2){min-width:84px!important;text-align:center!important}
.mam-settings-card.mam-attendance-holiday-settings select{height:35px!important;max-width:360px!important}
.mam-settings-card.mam-attendance-holiday-settings textarea{min-height:120px!important;max-width:760px!important;width:100%!important}
.mam-settings-card.mam-attendance-holiday-settings button{height:38px!important}
@media(max-width:760px){.mam-admin-attendance-page .mam-attendance-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-admin-attendance-page .mam-attendance-filter form>label{width:100%!important}.mam-admin-attendance-page .mam-attendance-filter form{align-items:stretch!important}}


/* MAM v1.1.124.58 — Academic page polish and consistent smooth modal styling */
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-title h2{
 font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 font-size:24px!important;font-weight:700!important;line-height:30px!important;color:#17365d!important;margin:0 0 4px!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-page-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:32px!important;height:32px!important;font-size:25px!important;line-height:1!important;color:#0876d1!important;
 background:transparent!important;border-radius:0!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card,
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-exams,
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-stats .mam-ref-stat{
 box-shadow:0 4px 14px rgba(23,54,93,.08)!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-btn.green{
 background:#16a34a!important;color:#fff!important;border:1px solid #16a34a!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-btn.green:hover{background:#15803d!important;border-color:#15803d!important;color:#fff!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-head h2,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-head h3{
 font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 font-size:18px!important;font-weight:500!important;line-height:20px!important;color:#1f2937!important;margin:0!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-head,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-head{background:#f8fafc!important;border-bottom:1px solid #e5e7eb!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-head p{display:none!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-fields input,
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-fields select,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-grid input,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-grid select,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-body select,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-body input:not([type=checkbox]):not([type=radio]){
 height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-actions .button,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-actions .button{
 height:38px!important;min-height:38px!important;line-height:36px!important;padding:0 13px!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-modal-box,
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-dialog{box-shadow:0 18px 55px rgba(15,23,42,.22)!important}
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-action.edit,
.wrap.mam:has(.mam-academic-ref-head) .mam-ref-action.delete{font-size:13px!important}


/* MAM v1.1.124.59 — Academic header and action-button cleanup */
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card-head > div > div {
  display:flex!important; flex-direction:column!important; justify-content:center!important; min-width:0!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card-head > div {
  display:flex!important; align-items:center!important; gap:0!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card .mam-ref-action {
  min-width:58px!important; height:34px!important; min-height:34px!important;
  padding:0 10px!important; margin:2px 3px 2px 0!important;
  border-radius:6px!important; line-height:32px!important;
  font-size:12px!important; font-weight:600!important; text-align:center!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-academic-ref-card .mam-ref-action.delete {
  margin-right:0!important; padding-left:10px!important; padding-right:10px!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-dialog {
  border-radius:12px!important; overflow:hidden!important;
}
.wrap.mam:has(.mam-academic-ref-head) .mam-exam-modal-head {
  border-radius:12px 12px 0 0!important;
}

/* MAM v1.1.124.60 — Examination page reference polish */
.wrap.mam:has(.mam-exam-page-head) .mam-exam-page-head h2{font-weight:700!important;font-size:24px!important;line-height:30px!important}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-section,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-stat,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-table-wrap,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-table-wrap{border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-summary-card{min-height:84px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-section-head h3{font-size:19px!important;font-weight:700!important;line-height:25px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-filter input:not([type=checkbox]):not([type=radio]),
.wrap.mam:has(.mam-exam-page-head) .mam-exam-filter select,
.wrap.mam:has(.mam-exam-page-head) .mam-schedule-modal input:not([type=checkbox]):not([type=radio]),
.wrap.mam:has(.mam-exam-page-head) .mam-schedule-modal select{height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-filter button,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-filter a,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-section-head .mam-exam-primary-btn,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-head-actions a,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-head-actions button,
.wrap.mam:has(.mam-exam-page-head) .mam-exam-actions a,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions a,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 12px!important;line-height:1.2!important;font-size:12px!important;text-decoration:none!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-section-head .mam-exam-primary-btn{white-space:nowrap!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-reset-btn{gap:6px!important;background:#fff!important;color:#334155!important;border:1px solid #cbd5e1!important;border-radius:8px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-reset-btn .dashicons{font-size:15px!important;line-height:1!important;width:15px!important;height:15px!important;color:currentColor!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-download-all{background:#0876d1!important;color:#fff!important;border:1px solid #0876d1!important;border-radius:8px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions .mam-admit-view-btn{background:#0876d1!important;color:#fff!important;border:1px solid #0876d1!important;border-radius:6px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions .mam-admit-download-btn{background:#07865b!important;color:#fff!important;border:1px solid #07865b!important;border-radius:6px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-state-btn{border-radius:6px!important;border:1px solid transparent!important;font-weight:700!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-state-btn.pending{background:#0876d1!important;color:#fff!important;border-color:#0876d1!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-state-btn.generated{background:#e8f8f0!important;color:#07865b!important;border-color:#c8ebd9!important;opacity:1!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-exam-actions .mam-exam-edit-btn{font-size:12px!important;}
.mam-exam-modal.mam-modal-ready .mam-exam-modal-dialog{animation:mamExamModalIn .18s ease-out both!important;}
@keyframes mamExamModalIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.mam-exam-modal .mam-exam-modal-dialog{border-radius:12px!important;overflow:hidden!important;}
.mam-exam-modal .mam-exam-modal-head{border-radius:12px 12px 0 0!important;}
.mam-schedule-modal.mam-modal-ready .mam-schedule-modal-dialog{animation:mamExamModalIn .18s ease-out both!important;}
@media(max-width:782px){.wrap.mam:has(.mam-exam-page-head) .mam-exam-filter{gap:8px!important}.wrap.mam:has(.mam-exam-page-head) .mam-admit-head-actions{width:100%!important}}

/* Dynamic examination modals use the same compact control sizing when attached to body. */
.mam-schedule-modal .mam-exam-modal-body input:not([type=checkbox]):not([type=radio]),.mam-schedule-modal .mam-exam-modal-body select{height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;}
.mam-schedule-modal .mam-exam-modal-actions .button{height:38px!important;min-height:38px!important;line-height:36px!important;padding:0 13px!important;font-size:13px!important;}
.mam-schedule-modal .mam-exam-modal-head h3,.mam-exam-modal#mam-exam-modal .mam-exam-modal-head h3{font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:18px!important;font-weight:500!important;line-height:20px!important;color:#1f2937!important;}
.mam-exam-modal#mam-exam-modal .mam-exam-modal-body input:not([type=checkbox]):not([type=radio]),.mam-exam-modal#mam-exam-modal .mam-exam-modal-body select{height:35px!important;min-height:35px!important;max-height:35px!important;box-sizing:border-box!important;}
.mam-exam-modal#mam-exam-modal .mam-exam-modal-actions .button{height:38px!important;min-height:38px!important;line-height:36px!important;padding:0 13px!important;}
/* v1.1.124.61: examination schedule/admit-card refinement */
.wrap.mam:has(.mam-exam-page-head) .mam-schedule-modal .mam-schedule-modal-head h3,
.wrap.mam:has(.mam-exam-page-head) .mam-schedule-modal .mam-exam-modal-head h3{
  font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:18px!important;font-weight:500!important;line-height:20px!important;color:#1f2937!important;
}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter{
  grid-template-columns:minmax(220px,1.35fr) minmax(160px,1fr) minmax(160px,1fr) auto auto!important;
  align-items:end!important;gap:10px!important;
}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter label:nth-of-type(2),
.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter label:nth-of-type(3){width:100%!important;min-width:0!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter label:nth-of-type(2) select,
.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter label:nth-of-type(3) select{width:100%!important;box-sizing:border-box!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-reset-btn{
  min-width:92px!important;width:auto!important;padding:0 14px!important;margin:0 4px!important;gap:7px!important;
  height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;border-radius:8px!important;background:#fff!important;color:#17365d!important;border:1px solid #d5deea!important;
}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-reset-btn .dashicons{font-size:15px!important;width:15px!important;height:15px!important;line-height:1!important;color:currentColor!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions .mam-admit-delete-btn{background:#c92c55!important;color:#fff!important;border:1px solid #c92c55!important;border-radius:6px!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-row-actions .mam-admit-delete-btn:hover{filter:brightness(.94)!important;}
.wrap.mam:has(.mam-exam-page-head) .mam-admit-table{min-width:980px!important;width:100%!important;}
@media(max-width:782px){.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:480px){.wrap.mam:has(.mam-exam-page-head) .mam-admit-filter{grid-template-columns:minmax(0,1fr)!important;}}


/* MAM v1.1.124.62 — Results & Marks refinements */
.wrap.mam:has(.mam-results-hero) .mam-results-hero h2,
.wrap.mam:has(.mam-results-hero) .mam-results-hero-title h2{font-weight:700!important}
.wrap.mam:has(.mam-results-hero) .mam-results-section h3{font-size:19px!important;line-height:1.3!important;font-weight:700!important}
.wrap.mam:has(.mam-results-hero) .mam-results-section,
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>div,
.wrap.mam:has(.mam-results-hero) .mam-results-empty-panel,
.wrap.mam:has(.mam-results-hero) .mam-results-filter-form,
.wrap.mam:has(.mam-results-hero) .mam-results-table-wrap,
.wrap.mam:has(.mam-results-hero) .mam-results-publish-toolbar,
.wrap.mam:has(.mam-results-hero) .mam-results-warning{border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important;box-sizing:border-box!important}
.wrap.mam:has(.mam-results-hero) .mam-results-summary-card,
.wrap.mam:has(.mam-results-hero) .mam-results-mini-stats>div{min-height:82px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-marks-head .mam-results-section-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-marks-info{margin-left:10px!important;position:relative!important;left:4px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-header-buttons .mam-results-save{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important}
.wrap.mam:has(.mam-results-hero) .mam-results-filter-form{grid-template-columns:minmax(170px,1.15fr) minmax(135px,.8fr) minmax(150px,1fr) minmax(65px,.34fr) auto auto!important}
.wrap.mam:has(.mam-results-hero) .mam-results-mark-input{width:82px!important;max-width:82px!important;min-width:70px!important;height:35px!important;min-height:35px!important;padding:0 6px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-table th:nth-child(6),
.wrap.mam:has(.mam-results-hero) .mam-results-table td:nth-child(6){width:105px!important;max-width:125px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-table .mam-marks-row-actions{min-width:64px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-table .mam-marks-row-actions .mam-marks-edit{height:38px!important;min-height:38px!important;padding:0 12px!important;border-radius:6px!important;font-size:12px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-mark-input[readonly]{background:#f8fafc!important;color:#334155!important;cursor:default!important}
.wrap.mam:has(.mam-results-hero) .mam-results-mark-input.mam-mark-editing{border-color:#0876d1!important;box-shadow:0 0 0 2px rgba(8,118,209,.12)!important;background:#fff!important}
.wrap.mam:has(.mam-results-hero) .mam-marks-edit.is-editing{background:#64748b!important;border-color:#64748b!important}
.wrap.mam:has(.mam-results-hero) .mam-results-filter-form .mam-results-reset{padding:0 16px!important;margin-left:3px!important;margin-right:3px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-filter-form .mam-results-reset .dashicons{font-family:dashicons!important;font-size:14px!important;width:14px!important;height:14px!important;line-height:14px!important}
.wrap.mam:has(.mam-results-hero) .mam-results-publish-actions button,
.wrap.mam:has(.mam-results-hero) .mam-result-view-btn,
.wrap.mam:has(.mam-results-hero) .mam-result-marksheet-btn{height:38px!important;min-height:38px!important;box-sizing:border-box!important}
.wrap.mam:has(.mam-results-hero) .mam-result-view-btn .dashicons{display:none!important}
@media(max-width:1200px){.wrap.mam:has(.mam-results-hero) .mam-results-filter-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}}
@media(max-width:782px){.wrap.mam:has(.mam-results-hero) .mam-results-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wrap.mam:has(.mam-results-hero) .mam-results-marks-info{margin-left:0!important;left:0!important}}
@media(max-width:480px){.wrap.mam:has(.mam-results-hero) .mam-results-filter-form{grid-template-columns:minmax(0,1fr)!important}}

/* v1.1.124.67: Expense table/modal polish and Donation page aligned with Income reference */
.mam-expense-page .mam-expense-table th{position:relative!important}
.mam-expense-page .mam-expense-table th:before,.mam-expense-page .mam-expense-table th:after{display:none!important;content:none!important}
.mam-expense-page .mam-expense-table th .sorting,.mam-expense-page .mam-expense-table th .sorting_asc,.mam-expense-page .mam-expense-table th .sorting_desc,.mam-expense-page .mam-expense-table th .dashicons-arrow-up,.mam-expense-page .mam-expense-table th .dashicons-arrow-down{display:none!important}
.mam-expense-page .mam-expense-filters .button-primary .dashicons{color:#fff!important}
.mam-expense-page .mam-expense-filters a.button .dashicons{color:#17365d!important}
.mam-expense-page .mam-expense-filters a.button{padding-left:15px!important;padding-right:15px!important;margin-left:2px!important;margin-right:2px!important}
.mam-expense-view-overlay{position:fixed!important;inset:0!important;z-index:100300!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(15,23,42,.55)!important;box-sizing:border-box!important}
.mam-expense-view-box{position:relative!important;width:min(700px,94vw)!important;max-height:88vh!important;overflow:auto!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 18px 60px rgba(0,0,0,.18)!important;padding:0!important;color:#17365d!important;animation:mamExpenseModalIn .16s ease-out both}
.mam-expense-view-box>header{position:sticky!important;top:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px!important;box-sizing:border-box!important;padding:14px 18px!important;background:#fff!important;border-bottom:1px solid #e5e7eb!important;border-radius:12px 12px 0 0!important}
.mam-expense-view-box>header h2{margin:0!important;padding:0!important;font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17365d!important}
.mam-expense-view-box>header>a{display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border:1px solid #e5e7eb!important;border-radius:7px!important;background:#fff!important;color:#64748b!important;text-decoration:none!important;font-size:23px!important;line-height:1!important;transition:background .15s ease!important}
.mam-expense-view-box>header>a:hover{background:#f1f5f9!important;color:#17365d!important}
.mam-expense-view-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 22px!important;padding:22px!important}
.mam-expense-view-grid>div{min-width:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mam-expense-view-grid small{display:block!important;margin:0 0 6px!important;color:#64748b!important;font-size:12px!important;line-height:17px!important;background:transparent!important}
.mam-expense-view-grid strong{display:block!important;color:#17365d!important;font-size:13px!important;font-weight:600!important;line-height:20px!important;overflow-wrap:anywhere!important;background:transparent!important}
.mam-expense-view-box>footer{display:flex!important;justify-content:flex-end!important;padding:0 22px 20px!important;background:#fff!important}
.mam-expense-view-box>footer .button{height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 16px!important;border:1px solid #dbe3ed!important;border-radius:7px!important;background:#fff!important;color:#17365d!important;text-decoration:none!important}
@keyframes mamExpenseModalIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.mam-don-page{color:#17365d!important;font-family:Nunito,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
.mam-don-head{margin:8px 0 18px!important;gap:12px!important}
.mam-don-title{gap:10px!important;align-items:center!important}
.mam-don-title>.dashicons{font-size:24px!important;width:24px!important;height:24px!important;line-height:24px!important;color:#2563eb!important;flex:0 0 24px!important}
.mam-don-title>div{display:flex!important;flex-direction:column!important;gap:0!important}
.mam-don-title h1{font-size:24px!important;font-weight:700!important;line-height:30px!important;margin:0!important;color:#17365d!important}
.mam-don-title p{margin:0!important;padding:0!important;color:#52617b!important;font-size:13px!important;line-height:18px!important}
.mam-don-btns{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
.mam-don-btns .button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:8px!important;font-size:12px!important;font-weight:600!important;line-height:1!important;text-decoration:none!important}
.mam-don-btns .mam-don-add-fund{background:#0b9460!important;border-color:#0b9460!important;color:#fff!important}
.mam-don-stats{gap:14px!important;margin-bottom:18px!important}
.mam-don-stat{box-sizing:border-box!important;min-height:106px!important;height:106px!important;padding:18px!important;gap:12px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important}
.mam-don-stat .icon{width:44px!important;height:44px!important;min-width:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background:rgba(255,255,255,.65)!important}
.mam-don-stat .icon .dashicons{font-size:20px!important;width:20px!important;height:20px!important;line-height:20px!important}
.mam-don-stat small{font-size:13px!important;line-height:18px!important;margin:0 0 7px!important;color:#17365d!important}
.mam-don-stat strong{font-size:24px!important;line-height:28px!important;font-weight:700!important;color:#17365d!important}
.mam-don-card{border:1px solid #e5e7eb!important;border-radius:12px!important;padding:14px!important;box-shadow:0 4px 16px rgba(0,0,0,.05)!important;background:#fff!important}
.mam-don-filters{gap:9px!important;margin-bottom:16px!important;align-items:center!important}
.mam-don-filters input,.mam-don-filters select{height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 10px!important;border:1px solid #e5e7eb!important;border-radius:8px!important;font-size:13px!important;line-height:33px!important;color:#17365d!important;background:#fff!important;vertical-align:middle!important}
.mam-don-filters .button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border-radius:8px!important;font-size:12px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important}
.mam-don-filters .button-primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
.mam-don-filters .button-primary .dashicons{color:#fff!important}
.mam-don-filters a.button{background:#fff!important;border:1px solid #e5e7eb!important;color:#17365d!important;text-decoration:none!important;margin-left:2px!important;margin-right:2px!important}
.mam-don-filters a.button .dashicons{color:#17365d!important}
.mam-don-actions .button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 10px!important;border:0!important;border-radius:6px!important;color:#fff!important;font-size:12px!important;line-height:1!important;text-decoration:none!important;transition:background-color .15s ease!important;box-shadow:none!important}
.mam-don-actions .button.view{background:#0ea5e9!important}
.mam-don-actions .button.edit{background:#d99a32!important}
.mam-don-actions .button.delete{background:#db3f70!important}
.mam-don-actions .button:hover{filter:brightness(.94)!important;text-decoration:none!important;transform:none!important;box-shadow:none!important}
.mam-don-page .mam-don-table th:before,.mam-don-page .mam-don-table th:after{display:none!important;content:none!important}
@media(max-width:782px){.mam-don-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-don-stat{min-height:116px!important;height:auto!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:8px!important;padding:12px!important}.mam-don-stat .icon{width:38px!important;height:38px!important;min-width:38px!important}.mam-don-stat .icon .dashicons{font-size:18px!important;width:18px!important;height:18px!important}.mam-don-stat strong{font-size:20px!important;line-height:24px!important}.mam-don-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-don-title h1{font-size:22px!important;line-height:28px!important}}
@media(max-width:480px){.mam-don-stats{gap:10px!important}.mam-don-filters{grid-template-columns:minmax(0,1fr)!important}.mam-expense-view-grid{grid-template-columns:1fr!important;padding:16px!important;gap:14px!important}.mam-expense-view-overlay{padding:10px!important}}


/* MAM finance filter sizing consistency: Income, Expenses and Donation */
.mam-income-filters input:not([type="hidden"]),.mam-income-filters select,
.mam-expense-filters input:not([type="hidden"]),.mam-expense-filters select,
.mam-don-filters input:not([type="hidden"]),.mam-don-filters select{height:35px!important;min-height:35px!important;box-sizing:border-box!important;font-size:13px!important;line-height:normal!important;vertical-align:middle!important}
.mam-income-filters .button,.mam-expense-filters .button,.mam-don-filters .button{height:38px!important;min-height:38px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;line-height:1!important}
/* Donation page sidebar icon tint */
body.toplevel_page_mam-donations #adminmenu .wp-has-current-submenu .wp-menu-image:before,body.mam_page_mam-donations #adminmenu .wp-has-current-submenu .wp-menu-image:before{color:#b9e1ff!important}
/* Donation forms use the same clean, icon-free modal language as finance forms */
.mam-don-modal{transition:opacity .16s ease!important}
.mam-don-modal.is-open .mam-don-dialog{animation:mamDonModalIn .18s ease-out both!important}
@keyframes mamDonModalIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
.mam-don-modal-head{min-height:54px!important;height:auto!important;padding:0 18px!important;background:#f2f7ff!important;border-bottom:1px solid #e2e8f0!important;border-radius:12px 12px 0 0!important}
.mam-don-modal-head h2{font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17356d!important;margin:0!important}
.mam-don-close{width:30px!important;height:30px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #e5e7eb!important;border-radius:7px!important;background:#fff!important;color:#64748b!important;font-size:23px!important;line-height:1!important;transition:background .15s ease!important}
.mam-don-close:hover{background:#f1f5f9!important;color:#17365d!important}
.mam-don-modal-body{padding:20px 22px!important}
.mam-don-section{font-size:16px!important;line-height:22px!important;font-weight:600!important;color:#17365d!important;margin:0 0 12px!important}
.mam-don-grid{gap:13px 18px!important}
.mam-don-grid label{font-size:12px!important;line-height:17px!important;font-weight:600!important;color:#334155!important}
.mam-don-grid input,.mam-don-grid select,.mam-don-grid textarea{height:35px!important;min-height:35px!important;font-size:13px!important;line-height:normal!important;box-sizing:border-box!important;padding:0 10px!important;border:1px solid #cbd5e1!important;border-radius:6px!important;background:#fff!important;color:#263449!important}
.mam-don-grid textarea{min-height:35px!important;padding:8px 10px!important}
.mam-don-grid input[readonly],.mam-don-grid select:disabled,.mam-don-grid textarea[readonly]{background:#fff!important;color:#263449!important;opacity:1!important}
.mam-don-modal-actions{padding:13px 22px!important;min-height:64px!important;box-sizing:border-box!important;background:#f8fafc!important;border-top:1px solid #edf1f6!important;gap:10px!important}
.mam-don-modal-actions button{height:38px!important;min-height:38px!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;font-size:12px!important;font-weight:600!important;line-height:1!important}
.mam-don-modal-actions .button-primary{background:#1680df!important;border-color:#1680df!important;color:#fff!important}
#mam-don-fund-modal .mam-finance-modal-head{height:54px!important;background:#f2f7ff!important}
#mam-don-fund-modal .mam-finance-modal-head h2{font-size:18px!important;font-weight:600!important;line-height:22px!important;color:#17356d!important}
#mam-don-fund-modal .mam-finance-modal-x{width:30px!important;height:30px!important;font-size:23px!important;line-height:1!important}
#mam-don-fund-modal .mam-finance-modal-body input:not([type="hidden"]),#mam-don-fund-modal .mam-finance-modal-body select{height:35px!important;min-height:35px!important;font-size:13px!important;line-height:normal!important;box-sizing:border-box!important}
#mam-don-fund-modal .mam-finance-modal-actions .button{height:38px!important;min-height:38px!important;font-size:12px!important}
@media(max-width:782px){.mam-income-card,.mam-expense-card,.mam-don-card{max-width:100%!important;box-sizing:border-box!important}.mam-income-table-wrap,.mam-expense-table-wrap,.mam-don-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.mam-income-filters,.mam-expense-filters,.mam-don-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mam-income-filters input[name="s"],.mam-expense-filters input[name="s"],.mam-don-filters input[name="s"]{grid-column:1/-1!important}.mam-don-modal{padding:10px!important}.mam-don-dialog{width:100%!important;max-width:620px!important;max-height:calc(100vh - 20px)!important}.mam-don-modal-body{padding:15px!important}}
@media(max-width:480px){.mam-income-filters,.mam-expense-filters,.mam-don-filters{grid-template-columns:minmax(0,1fr)!important}.mam-income-filters input[name="s"],.mam-expense-filters input[name="s"],.mam-don-filters input[name="s"]{grid-column:auto!important}.mam-don-grid{grid-template-columns:1fr!important}.mam-don-wide{grid-column:auto!important}.mam-don-modal-actions{flex-wrap:wrap!important;padding:12px 15px!important}.mam-don-modal-actions>span{display:none!important}.mam-don-modal-actions>div{display:flex!important;gap:8px!important;flex-wrap:wrap!important}}

#adminmenu a[href*="page=mam-donations"] .wp-menu-image:before{color:#b9e1ff!important}

/* v1.1.124.75 — Staff page title and Cash & Bank-style summary cards */
.mam-staff-modern-page .mam-staff-page-title h2{font-weight:700!important;margin:0!important;line-height:30px!important}
.mam-staff-modern-page .mam-staff-page-title{gap:14px!important}
.mam-staff-modern-page .mam-staff-page-title p{margin-top:0!important}
.mam-staff-modern-page .mam-staff-stat{height:104px!important;min-height:104px!important;border:1px solid #e5e7eb!important;border-radius:12px!important;box-shadow:0 4px 16px rgba(15,23,42,.07)!important}
@media(max-width:600px){.mam-staff-modern-page .mam-staff-stat{height:auto!important;min-height:90px!important}}

/* Staff page mobile refinement aligned with Cash & Bank responsive layout */
@media(max-width:782px){.mam-staff-modern-page{max-width:100%;overflow:hidden}.mam-staff-modern-page .mam-staff-modern-head{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:flex-start!important}.mam-staff-modern-page .mam-staff-page-title{min-width:0!important;flex:1 1 100%!important}.mam-staff-modern-page .mam-staff-head-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important}.mam-staff-modern-page .mam-staff-head-actions .mam-ui-btn{flex:1 1 0!important;min-width:0!important;justify-content:center!important;padding-left:10px!important;padding-right:10px!important}.mam-staff-modern-page .mam-staff-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.mam-staff-modern-page .mam-staff-stat{min-width:0!important;padding:12px!important;gap:9px!important}.mam-staff-modern-page .mam-staff-stat>.dashicons{width:38px!important;height:38px!important;line-height:38px!important;flex-basis:38px!important;font-size:20px!important}.mam-staff-modern-page .mam-staff-filter-card{padding:12px!important}.mam-staff-modern-page .mam-staff-filter-card form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mam-staff-modern-page .mam-staff-filter-search{grid-column:1/-1!important;min-width:0!important}.mam-staff-modern-page .mam-staff-filter-card input,.mam-staff-modern-page .mam-staff-filter-card select{width:100%!important;min-width:0!important;max-width:100%!important}.mam-staff-modern-page .mam-staff-table-card{max-width:100%!important}.mam-staff-modern-page .mam-staff-table-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.mam-staff-modern-page .mam-staff-modern-table{min-width:1050px!important}.mam-staff-modern-page .mam-staff-table-footer{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}.mam-staff-modern-page .mam-staff-bulk{display:flex!important;gap:8px!important;flex-wrap:wrap!important}.mam-staff-modern-page .mam-staff-bulk select{min-width:0!important;flex:1 1 160px!important}.mam-staff-modern-page .mam-staff-entry-info{max-width:100%!important;overflow-wrap:anywhere!important}}
@media(max-width:480px){.mam-staff-modern-page .mam-staff-stat-grid{grid-template-columns:1fr!important}.mam-staff-modern-page .mam-staff-stat{min-height:78px!important;height:auto!important}.mam-staff-modern-page .mam-staff-page-title h2{font-size:23px!important;line-height:1.2!important}.mam-staff-modern-page .mam-staff-head-actions .mam-ui-btn{font-size:12px!important}.mam-staff-modern-page .mam-staff-filter-card form{grid-template-columns:1fr!important}.mam-staff-modern-page .mam-staff-filter-search{grid-column:auto!important}}


/* v1.1.124.77 — Staff mobile cards and layout correction */
@media(max-width:782px){
 .mam-staff-modern-page,.mam-staff-modern-page *{box-sizing:border-box!important}
 .mam-staff-modern-page .mam-staff-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
 .mam-staff-modern-page .mam-staff-stat{display:flex!important;align-items:center!important;min-width:0!important;width:100%!important;min-height:82px!important;height:auto!important;padding:10px!important;gap:8px!important;border-radius:10px!important;overflow-wrap:anywhere!important}
 .mam-staff-modern-page .mam-staff-stat>div{min-width:0!important;flex:1 1 auto!important}
 .mam-staff-modern-page .mam-staff-stat small{display:block!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important}
 .mam-staff-modern-page .mam-staff-stat strong{display:block!important;font-size:21px!important;line-height:1.2!important}
 .mam-staff-modern-page .mam-staff-stat>.dashicons{flex:0 0 30px!important;width:30px!important;height:30px!important;line-height:30px!important;font-size:17px!important}
 .mam-staff-modern-page .mam-staff-modern-head,.mam-staff-modern-page .mam-staff-filter-card,.mam-staff-modern-page .mam-staff-table-card{width:100%!important;max-width:100%!important;min-width:0!important}
 .mam-staff-modern-page .mam-staff-table-scroll{overflow-x:auto!important;max-width:100%!important}
}
@media(max-width:480px){
 .mam-staff-modern-page .mam-staff-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .mam-staff-modern-page .mam-staff-stat{padding:9px!important;min-height:76px!important;gap:6px!important}
 .mam-staff-modern-page .mam-staff-stat>.dashicons{flex-basis:26px!important;width:26px!important;height:26px!important;line-height:26px!important;font-size:15px!important}
 .mam-staff-modern-page .mam-staff-stat small{font-size:10px!important}
 .mam-staff-modern-page .mam-staff-stat strong{font-size:19px!important}
}


/* MAM v1.1.124.80 — Staff Salary page visual refresh, Donation page reference */
.mam-salary-page .mam-salary-page-head{margin:10px 0 20px!important;gap:14px!important;align-items:center!important}
.mam-salary-page .mam-salary-page-title{align-items:flex-start!important;gap:12px!important}
.mam-salary-page .mam-salary-page-title h2{font-weight:700!important;letter-spacing:0!important;margin:0!important;color:#17365d!important}
.mam-salary-page .mam-salary-page-title p{margin:5px 0 0!important;line-height:19px!important;color:#64748b!important}
.mam-salary-page .mam-staff-salary-title-icon{width:42px!important;height:42px!important;line-height:42px!important;flex:0 0 42px!important;border-radius:50%!important;background:#e8f4ff!important;color:#087cf5!important;font-size:24px!important;text-align:center!important}
.mam-salary-page .mam-salary-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 20px!important;align-items:stretch!important}
.mam-salary-page .mam-salary-stat{min-width:0!important;min-height:90px!important;height:auto!important;padding:14px 16px!important;gap:12px!important;border:1px solid #e5edf7!important;border-radius:10px!important;box-shadow:0 3px 12px rgba(23,54,93,.07)!important}
.mam-salary-page .mam-salary-stat.blue{background:#edf7ff!important}
.mam-salary-page .mam-salary-stat.orange{background:#fff4ed!important}
.mam-salary-page .mam-salary-stat.green{background:#effaf4!important}
.mam-salary-page .mam-salary-stat.navy{background:#f4f3ff!important}
.mam-salary-page .mam-salary-stat>.dashicons,.mam-salary-page .mam-salary-stat>.mam-salary-stat-rupee{width:40px!important;height:40px!important;line-height:40px!important;flex:0 0 40px!important;font-size:20px!important;background:rgba(255,255,255,.75)!important;color:#087cf5!important}
.mam-salary-page .mam-salary-stat.orange>.dashicons{color:#c56a36!important;background:#fff!important}
.mam-salary-page .mam-salary-stat.green>.dashicons{color:#13845d!important;background:#fff!important}
.mam-salary-page .mam-salary-stat.navy>.mam-salary-stat-rupee{color:#6b5bd2!important;background:#fff!important}
.mam-salary-page .mam-salary-stat small{font-size:12px!important;line-height:17px!important;margin-bottom:4px!important}
.mam-salary-page .mam-salary-stat strong{font-size:23px!important;line-height:27px!important;overflow-wrap:anywhere!important}
.mam-salary-page .mam-salary-filter-card{margin-top:0!important;border-radius:10px!important;box-shadow:0 2px 10px rgba(23,54,93,.04)!important}
.mam-salary-page .mam-salary-filter-btn,.mam-salary-page .mam-salary-head-actions .mam-salary-export.mam-pay-salary-open,.mam-salary-page .mam-salary-pay-btn{background:#087cf5!important;border-color:#087cf5!important;color:#fff!important}
.mam-salary-page .mam-salary-filter-btn:hover,.mam-salary-page .mam-salary-head-actions .mam-salary-export.mam-pay-salary-open:hover,.mam-salary-page .mam-salary-pay-btn:hover{background:#066bd6!important;border-color:#066bd6!important;color:#fff!important}
.mam-salary-page .mam-salary-table-card{border-radius:10px!important;overflow:hidden!important}
.mam-salary-page .mam-salary-table-scroll{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
.mam-salary-page .mam-salary-filter-btn,.mam-salary-page .mam-salary-reset-btn,.mam-salary-page .mam-salary-head-actions .mam-salary-export,.mam-salary-page .mam-salary-pay-btn{border-radius:6px!important}
@media(max-width:900px){.mam-salary-page .mam-salary-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}
@media(max-width:600px){.mam-salary-page{padding:0 10px 12px!important;max-width:100%!important;box-sizing:border-box!important}.mam-salary-page .mam-salary-page-head{align-items:flex-start!important;flex-direction:column!important;gap:12px!important;margin:8px 0 18px!important}.mam-salary-page .mam-salary-head-actions{width:100%!important;display:flex!important;gap:8px!important}.mam-salary-page .mam-salary-head-actions>*{flex:1 1 0!important;justify-content:center!important}.mam-salary-page .mam-salary-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important}.mam-salary-page .mam-salary-stat{min-height:80px!important;padding:10px!important;gap:8px!important;border-radius:9px!important}.mam-salary-page .mam-salary-stat>.dashicons,.mam-salary-page .mam-salary-stat>.mam-salary-stat-rupee{width:34px!important;height:34px!important;line-height:34px!important;flex-basis:34px!important;font-size:18px!important}.mam-salary-page .mam-salary-stat small{font-size:11px!important;line-height:15px!important}.mam-salary-page .mam-salary-stat strong{font-size:18px!important;line-height:22px!important}.mam-salary-page .mam-salary-filter-card form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}.mam-salary-page .mam-salary-filter-card form label:first-of-type{grid-column:1/-1!important}.mam-salary-page .mam-salary-filter-btn,.mam-salary-page .mam-salary-reset-btn{width:100%!important;justify-content:center!important}.mam-salary-page .mam-salary-table-card{margin-top:10px!important}.mam-salary-page .mam-salary-modern-table{min-width:980px!important}.mam-salary-page .mam-salary-page-footer{gap:8px!important;flex-wrap:wrap!important}.mam-salary-page .mam-salary-page-title h2{font-size:23px!important;line-height:29px!important}}

/* v1.1.124.81 — Staff Salary spacing and responsive refinements; Universal print header alignment */
.mam-salary-page .mam-salary-page-head{margin-bottom:22px!important}
.mam-salary-page .mam-salary-page-head>p,.mam-salary-page .mam-salary-page-head .description,.mam-salary-page .mam-salary-page-head .mam-salary-page-description{margin-bottom:18px!important}
.mam-salary-page .mam-salary-stat-grid{margin-top:8px!important}
.mam-salary-page,.mam-salary-page *{box-sizing:border-box}
@media(max-width:700px){
 .mam-salary-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important;padding:0 10px 12px!important}
 .mam-salary-page .mam-salary-page-head{margin:8px 0 20px!important;gap:10px!important}
 .mam-salary-page .mam-salary-page-head p,.mam-salary-page .mam-salary-page-head .description,.mam-salary-page .mam-salary-page-head .mam-salary-page-description{line-height:1.5!important;margin:4px 0 18px!important}
 .mam-salary-page .mam-salary-stat-grid{margin-top:8px!important;margin-bottom:14px!important}
 .mam-salary-page .mam-salary-filter-card,.mam-salary-page .mam-salary-table-card{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
 .mam-salary-page .mam-salary-filter-card form{min-width:0!important}
 .mam-salary-page .mam-salary-table-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .mam-salary-page .mam-salary-modern-table{min-width:760px!important}
 .mam-salary-page .mam-salary-head-actions{flex-wrap:wrap!important}
}
