/* SRM Welkin Activity Portal 1.2.0 — responsive school dashboard */
:root{--srm-navy:#102b4e;--srm-blue:#1d5fa7;--srm-blue2:#2f80d1;--srm-ink:#182b43;--srm-muted:#6b7b90;--srm-line:#e4eaf1;--srm-bg:#f4f7fb;--srm-white:#fff;--srm-green:#16845b;--srm-shadow:0 12px 32px rgba(19,47,78,.07)}
.srm-wrap{max-width:1240px!important;color:var(--srm-ink)}.srm-wrap h1{font-size:28px;font-weight:750;letter-spacing:-.6px;color:var(--srm-navy);margin:18px 0 8px}.srm-wrap h2{font-size:20px;color:var(--srm-navy)}.srm-wrap>p{color:var(--srm-muted);font-size:14px}.srm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:26px 0}.srm-stat,.srm-card,.srm-panel{background:var(--srm-white);border:1px solid var(--srm-line);border-radius:16px;padding:22px;box-shadow:var(--srm-shadow)}.srm-stat{position:relative;overflow:hidden}.srm-stat:after{content:"";position:absolute;width:78px;height:78px;border-radius:50%;background:#eaf3fd;right:-24px;top:-24px}.srm-stat strong{position:relative;z-index:1;display:block;font-size:34px;line-height:1.15;color:var(--srm-navy);font-weight:800}.srm-stat span{position:relative;z-index:1;display:block;color:var(--srm-muted);font-size:13px;margin-top:8px}.srm-form{max-width:760px;display:grid;gap:15px;margin:18px 0 28px}.srm-form label,.srm-report-form label{display:grid;gap:7px;font-weight:650;color:#34465d;font-size:13px}.srm-form input,.srm-form textarea,.srm-form select,.srm-inline input,.srm-report-form textarea,.srm-report-form input{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #d6e0eb;border-radius:9px;padding:11px 12px;min-height:42px;background:#fff;color:var(--srm-ink);box-shadow:none}.srm-form input:focus,.srm-form textarea:focus,.srm-form select:focus,.srm-report-form textarea:focus,.srm-report-form input:focus{outline:3px solid rgba(47,128,209,.15);border-color:var(--srm-blue2)}.srm-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.srm-inline{display:grid;gap:7px;margin-top:8px}.srm-wrap .button-primary,.srm-wrap .button{border-radius:8px;min-height:36px;padding:0 14px;font-weight:650}.srm-wrap .widefat{border:1px solid var(--srm-line);border-radius:12px;overflow:hidden;border-spacing:0;box-shadow:var(--srm-shadow)}.srm-wrap .widefat th{background:#f3f7fb;color:#52647a;font-weight:700}.srm-wrap .widefat td,.srm-wrap .widefat th{padding:13px 14px;vertical-align:middle}.srm-wrap .widefat tr:nth-child(even) td{background:#fbfcfe}
.srm-portal{max-width:1220px;margin:32px auto;padding:0 18px 48px;color:var(--srm-ink);font-family:inherit}.srm-portal *{box-sizing:border-box}.srm-portal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(120deg,#102b4e 0%,#174e83 62%,#2679b9 100%);color:#fff;padding:30px 34px;border-radius:20px;margin-bottom:22px;box-shadow:0 18px 42px rgba(16,43,78,.18);position:relative;overflow:hidden}.srm-portal-head:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:9%;top:-160px;box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025)}.srm-brand-lockup{display:flex;align-items:center;gap:17px;position:relative;z-index:1}.srm-brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:17px;font-weight:850;letter-spacing:-1px;color:#fff}.srm-portal-head h2{margin:3px 0 5px!important;color:#fff!important;font-size:30px!important;line-height:1.15;font-weight:800;letter-spacing:-.7px}.srm-portal-head p{margin:0;color:#d9e9f8;font-size:14px}.srm-eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:800;color:#a9d4ff}.srm-logout{position:relative;z-index:1;color:#fff!important;border:1px solid rgba(255,255,255,.4);padding:10px 15px;border-radius:9px;text-decoration:none!important;font-size:13px;font-weight:700;background:rgba(255,255,255,.08);white-space:nowrap}.srm-logout:hover{background:rgba(255,255,255,.18)}
.srm-teacher-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.srm-teacher-stat{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--srm-line);border-radius:15px;padding:17px 18px;box-shadow:0 7px 22px rgba(19,47,78,.045)}.srm-stat-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#edf5fd;color:#1e65a7;font-size:22px}.srm-teacher-stat:nth-child(2) .srm-stat-icon{background:#eaf8f1;color:#16845b}.srm-teacher-stat:nth-child(3) .srm-stat-icon{background:#f2edff;color:#7553b8}.srm-teacher-stat:nth-child(4) .srm-stat-icon{background:#fff5e8;color:#b9781c}.srm-teacher-stat strong{display:block;font-size:25px;line-height:1.1;font-weight:800;color:var(--srm-navy)}.srm-teacher-stat div>span{display:block;margin-top:4px;font-size:11px;color:var(--srm-muted);font-weight:650}
.srm-panel{margin:20px 0;padding:25px 26px;background:#fff;border:1px solid var(--srm-line);border-radius:17px;box-shadow:var(--srm-shadow)}.srm-panel h3{margin:0 0 8px!important;font-size:20px!important;line-height:1.25;color:var(--srm-navy);font-weight:800}.srm-panel>p{color:var(--srm-muted);font-size:13px;line-height:1.65}.srm-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.srm-section-heading p{margin:6px 0 0;color:var(--srm-muted);font-size:13px}.srm-section-kicker{display:block;margin-bottom:5px;color:#397bb6;font-size:10px;font-weight:850;letter-spacing:1.7px}.srm-count-pill{background:#edf5fd;color:#235e94;border-radius:30px;padding:7px 11px;font-size:11px;font-weight:750;white-space:nowrap}.srm-activity-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.srm-activity-card{display:flex;flex-direction:column;gap:10px;text-decoration:none!important;border:1px solid #e0e8f1;border-radius:14px;padding:18px;color:var(--srm-ink)!important;background:linear-gradient(145deg,#fff,#fbfdff);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;min-height:174px}.srm-activity-card:hover{transform:translateY(-2px);border-color:#a9c9e8;box-shadow:0 12px 25px rgba(28,81,130,.09)}.srm-activity-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.srm-activity-label{font-size:9px;letter-spacing:1.5px;font-weight:850;color:#8091a5}.srm-activity-card>strong{font-size:17px;line-height:1.3;color:var(--srm-navy)}.srm-activity-card span,.srm-activity-card small{color:var(--srm-muted)}.srm-activity-card small{font-size:12px;line-height:1.55}.srm-date-line{font-size:12px!important;font-weight:650;color:#516a83!important}.srm-activity-state{font-size:10px!important;font-weight:800;padding:5px 9px;border-radius:20px}.srm-state-upcoming{background:#edf4ff;color:#2d65a7!important}.srm-state-ongoing{background:#e6f7ee;color:#16734e!important}.srm-state-completed{background:#f0f2f5;color:#657386!important}.srm-open-activity{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:9px;border-top:1px solid #edf1f5;color:#286da9!important;font-size:12px;font-weight:800}.srm-open-activity b{font-size:18px}
.srm-filter{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) auto;gap:10px;align-items:end;margin:18px 0}.srm-filter label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#52647a}.srm-filter input,.srm-filter select{width:100%;min-height:42px;padding:10px 12px;border:1px solid #d6e0eb;border-radius:9px;background:#fff}.srm-selection-tools{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:12px 14px;background:#f6f9fc;border:1px solid #e7edf4;border-bottom:0;border-radius:11px 11px 0 0}.srm-quick-search{position:relative;flex:1 1 220px}.srm-quick-search>span{position:absolute;left:11px;top:7px;color:#71849a;font-size:20px}.srm-quick-search input{width:100%;height:37px;padding:7px 12px 7px 34px;border:1px solid #d7e1eb;border-radius:8px;background:#fff}.srm-select-visible{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#4f6177}.srm-select-visible input{width:16px;height:16px}.srm-selected-count{font-size:12px;font-weight:800;color:#205f99;background:#e8f2fc;padding:7px 10px;border-radius:20px}.srm-table-wrap{overflow-x:auto;border:1px solid var(--srm-line);border-radius:11px}.srm-table{width:100%;border-collapse:collapse;font-size:13px;min-width:580px}.srm-table th,.srm-table td{padding:13px 14px;border-bottom:1px solid #edf1f5;text-align:left}.srm-table th{background:#f5f8fb;color:#5b6d82;font-size:10px;letter-spacing:.65px;text-transform:uppercase;font-weight:850}.srm-table tbody tr:hover{background:#f8fbfe}.srm-table tbody tr:last-child td{border-bottom:0}.srm-table input[type=checkbox]{width:17px;height:17px;accent-color:#1d65a7}.srm-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(120deg,#1b5d9d,#287dc0);color:#fff!important;border:0;border-radius:9px;padding:12px 18px;font-size:13px;font-weight:750;cursor:pointer;margin-top:14px;text-decoration:none!important;box-shadow:0 5px 12px rgba(29,95,167,.16);transition:transform .15s ease,box-shadow .15s ease}.srm-button:hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(29,95,167,.22)}.srm-secondary{background:#edf3f9;color:#234e76!important;box-shadow:none}.srm-primary-action{margin-top:14px}.srm-report-form{display:grid;gap:13px}.srm-report-form label{display:grid;gap:7px;font-weight:700;color:#34465d;font-size:13px}.srm-report-form textarea{width:100%;padding:13px;border:1px solid #d6e0eb;border-radius:10px;min-height:140px;resize:vertical}.srm-report-form input[type=file]{padding:12px;background:#f8fafc;border:1px dashed #b8c9da;border-radius:10px}.srm-report-form small{color:var(--srm-muted);font-size:11px}.srm-report-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#edf5fd;color:#2469a6;font-size:24px}.srm-chosen{columns:2;padding-left:20px;color:#465a70;font-size:13px;line-height:1.8}.srm-status{display:inline-block;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:800}.srm-pending{background:#fff3d9;color:#8a5a00}.srm-approved{background:#e1f6e9;color:#166534}.srm-rejected{background:#fee8e8;color:#991b1b}.srm-message{background:#eaf5ff;border:1px solid #bfdbfe;color:#174577;padding:13px 16px;border-radius:10px;margin:12px 0 18px;font-size:13px}.srm-login-box{max-width:460px;margin:48px auto;padding:32px;border:1px solid var(--srm-line);border-radius:20px;background:#fff;box-shadow:0 20px 55px rgba(18,48,79,.11);color:var(--srm-ink)}.srm-login-box:before{content:"SRM WELKIN SCHOOL";display:block;color:#337ab4;font-size:10px;letter-spacing:2px;font-weight:850;margin-bottom:12px}.srm-login-box h2{margin:0 0 7px!important;font-size:26px!important;color:var(--srm-navy);font-weight:850}.srm-login-box>p{color:var(--srm-muted);font-size:13px;line-height:1.6;margin-bottom:20px}.srm-login-box .srm-form{display:grid;gap:14px;margin:0}.srm-login-box .srm-form label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#43566d}.srm-login-box input[type=text],.srm-login-box input[type=password]{width:100%;min-height:46px;padding:11px 13px;border:1px solid #d4deea;border-radius:9px;background:#fbfcfe}.srm-login-box .srm-button{width:100%;min-height:46px;margin-top:5px}.srm-empty{text-align:center;padding:35px 15px;color:var(--srm-muted)}.srm-empty>span{display:block;font-size:34px;color:#9ab2ca;margin-bottom:8px}.srm-empty strong{display:block;color:var(--srm-navy);font-size:15px}.srm-empty p{font-size:12px}
@media(max-width:900px){.srm-stats,.srm-teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.srm-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.srm-portal{margin:16px auto;padding:0 10px 30px}.srm-portal-head{align-items:flex-start;padding:22px 18px;border-radius:15px}.srm-brand-lockup{gap:11px}.srm-brand-mark{width:43px;height:43px;border-radius:12px;font-size:14px}.srm-portal-head h2{font-size:23px!important}.srm-portal-head p{font-size:12px;max-width:220px}.srm-logout{padding:8px 10px;font-size:11px}.srm-teacher-stats{gap:9px}.srm-teacher-stat{padding:12px;gap:9px;border-radius:12px}.srm-stat-icon{width:34px;height:34px;flex-basis:34px;font-size:17px}.srm-teacher-stat strong{font-size:21px}.srm-teacher-stat div>span{font-size:10px}.srm-panel{padding:18px 15px;margin:14px 0;border-radius:14px}.srm-section-heading{gap:8px}.srm-panel h3{font-size:18px!important}.srm-activity-list{grid-template-columns:1fr}.srm-activity-card{min-height:0}.srm-filter,.srm-grid{grid-template-columns:1fr}.srm-selection-tools{gap:9px}.srm-selected-count{margin-left:auto}.srm-chosen{columns:1}.srm-login-box{margin:24px 10px;padding:24px 20px}.srm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.srm-stat{padding:15px}.srm-stat strong{font-size:27px}}

/* 1.3.0 — independent teacher authentication and recovery screens */
.srm-auth-shell{max-width:100%;min-height:620px;margin:24px auto;padding:54px 18px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 12% 10%,rgba(76,145,211,.13),transparent 35%),radial-gradient(ellipse at 90% 85%,rgba(28,99,164,.10),transparent 32%),#f3f7fc;border-radius:22px;color:#182b43}
.srm-auth-card{width:min(100%,470px);padding:38px 40px 32px;background:rgba(255,255,255,.97);border:1px solid #e4ebf3;border-radius:24px;box-shadow:0 24px 70px rgba(16,43,78,.13)}
.srm-auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:32px;color:#3a6f9f;font-size:10px;letter-spacing:2px;font-weight:900}
.srm-auth-logo{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(140deg,#102b4e,#287dc0);color:#fff;font-size:16px;letter-spacing:-.8px;box-shadow:0 8px 18px rgba(29,95,167,.22)}
.srm-auth-kicker{display:block;color:#3479b8;font-size:10px;letter-spacing:1.8px;font-weight:900;margin-bottom:9px}
.srm-auth-card h2{margin:0 0 9px!important;color:#102b4e!important;font-size:29px!important;line-height:1.2;font-weight:850;letter-spacing:-.7px}
.srm-auth-intro{margin:0 0 25px;color:#718197;font-size:13px;line-height:1.7}
.srm-auth-form{display:grid;gap:17px}
.srm-auth-form>label{display:grid;gap:8px;color:#344a63;font-size:12px;font-weight:800}
.srm-auth-input-wrap{position:relative;display:flex;align-items:center}
.srm-auth-input-wrap>span{position:absolute;left:14px;color:#7890a8;font-size:17px;pointer-events:none}
.srm-auth-form input{width:100%;min-height:49px;padding:12px 14px;border:1px solid #dce5ef;border-radius:11px;background:#f9fbfd;color:#1a3048;font-size:13px;box-shadow:none;outline:none;transition:border-color .18s,box-shadow .18s}
.srm-auth-input-wrap input{padding-left:42px}
.srm-auth-form input:focus{border-color:#3986c8;box-shadow:0 0 0 4px rgba(57,134,200,.12);background:#fff}
.srm-auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-5px;color:#8795a7;font-size:11px}
.srm-auth-options a,.srm-auth-back{color:#2169a8!important;text-decoration:none!important;font-size:12px;font-weight:800}
.srm-auth-options a:hover,.srm-auth-back:hover{text-decoration:underline!important}
.srm-auth-submit{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:3px;padding:12px 18px;border:0;border-radius:11px;background:linear-gradient(115deg,#12345a,#2377b8);color:#fff;font-size:13px;font-weight:850;cursor:pointer;box-shadow:0 9px 19px rgba(29,95,167,.20);transition:transform .18s,box-shadow .18s}
.srm-auth-submit:hover{transform:translateY(-1px);box-shadow:0 12px 23px rgba(29,95,167,.27)}
.srm-auth-foot{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;padding-top:19px;border-top:1px solid #edf1f6;color:#8190a2;font-size:10px;font-weight:650}
.srm-auth-lock{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#edf5fc;color:#3176b0;font-size:12px}
.srm-auth-back{display:inline-block;margin-top:22px}
.srm-auth-copyright{margin:19px 0 0;color:#8a99aa;font-size:10px;text-align:center;letter-spacing:.2px}
.srm-logout-form{position:relative;z-index:2;margin:0}
.srm-logout{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-family:inherit}
.srm-logout:focus-visible,.srm-auth-submit:focus-visible{outline:3px solid #8fc6f3;outline-offset:3px}
@media(max-width:640px){.srm-auth-shell{min-height:0;margin:10px auto;padding:30px 10px 20px;border-radius:15px}.srm-auth-card{padding:29px 22px 25px;border-radius:19px}.srm-auth-brand{margin-bottom:25px}.srm-auth-card h2{font-size:25px!important}.srm-auth-options{align-items:flex-start;flex-direction:column;gap:8px}.srm-auth-copyright{font-size:9px}}


/* 1.3.1 — premium login refresh: refined depth, lighting, spacing and controls */
.srm-auth-shell{
  position:relative;isolation:isolate;overflow:hidden;min-height:690px;margin:18px auto;padding:64px 20px 34px;
  background:
    radial-gradient(ellipse at 8% 12%,rgba(52,139,213,.19),transparent 34%),
    radial-gradient(ellipse at 94% 88%,rgba(18,76,133,.15),transparent 33%),
    linear-gradient(135deg,#edf4fb 0%,#f7faff 48%,#eaf2fa 100%);
  border:1px solid rgba(207,222,238,.75);border-radius:28px;
}
.srm-auth-shell:before,.srm-auth-shell:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.srm-auth-shell:before{width:360px;height:360px;right:-115px;top:-155px;border:1px solid rgba(48,112,170,.13);box-shadow:0 0 0 24px rgba(48,112,170,.035),0 0 0 54px rgba(48,112,170,.025),0 0 0 88px rgba(48,112,170,.018)}
.srm-auth-shell:after{width:230px;height:230px;left:-105px;bottom:5px;background:radial-gradient(circle,rgba(61,139,202,.10),rgba(61,139,202,0) 70%)}
.srm-auth-card{
  position:relative;width:min(100%,490px);padding:42px 42px 34px;background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.96);border-radius:26px;
  box-shadow:0 30px 75px rgba(20,54,88,.13),0 5px 18px rgba(20,54,88,.045);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:srm-card-enter .55s cubic-bezier(.2,.75,.25,1) both;
}
.srm-auth-card:before{content:"";position:absolute;left:42px;right:42px;top:0;height:3px;border-radius:0 0 5px 5px;background:linear-gradient(90deg,#12365b,#2c8ac5,#8bc7e8)}
.srm-auth-brand{gap:14px;margin-bottom:37px;color:#426d95;font-size:10px;letter-spacing:2.25px}
.srm-auth-logo{width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#0d2c4c 0%,#17629b 58%,#3295c9 100%);font-size:17px;box-shadow:0 10px 22px rgba(24,91,145,.24),inset 0 1px 0 rgba(255,255,255,.25);position:relative;overflow:hidden}
.srm-auth-logo:after{content:"";position:absolute;width:65px;height:65px;right:-34px;top:-39px;border:1px solid rgba(255,255,255,.3);border-radius:50%;box-shadow:0 0 0 9px rgba(255,255,255,.07)}
.srm-auth-kicker{font-size:10px;letter-spacing:2.15px;color:#337db4;margin-bottom:11px}
.srm-auth-card h2{font-size:31px!important;letter-spacing:-1.05px;margin-bottom:10px!important}
.srm-auth-intro{font-size:13.5px;line-height:1.75;color:#74849a;margin-bottom:28px;max-width:370px}
.srm-auth-form{gap:18px}
.srm-auth-form>label{gap:9px;font-size:12px;color:#30465f}
.srm-auth-input-wrap>span{left:15px;color:#6f8ba6;font-size:16px}
.srm-auth-form input{min-height:52px;padding:13px 15px;border:1px solid #d8e3ee;border-radius:10px;background:linear-gradient(180deg,#f8fbfe,#f5f9fd);font-size:13px;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.srm-auth-input-wrap input{padding-left:43px}
.srm-auth-form input:hover{border-color:#bfd2e4;background:#fff}
.srm-auth-form input:focus{border-color:#3987c3;box-shadow:0 0 0 4px rgba(57,134,195,.12);background:#fff;transform:translateY(-1px)}
.srm-auth-options{margin-top:-3px;font-size:11px;color:#8492a3}
.srm-auth-options a,.srm-auth-back{color:#216fa9!important;font-weight:850}
.srm-auth-options a{padding:4px 0}
.srm-auth-submit{min-height:53px;margin-top:1px;border-radius:11px;background:linear-gradient(105deg,#10375d 0%,#155c91 53%,#2584bd 100%);box-shadow:0 10px 22px rgba(24,89,143,.22),inset 0 1px 0 rgba(255,255,255,.16);font-size:13px;letter-spacing:.1px}
.srm-auth-submit:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(24,89,143,.28),inset 0 1px 0 rgba(255,255,255,.16)}
.srm-auth-submit span{font-size:17px;transition:transform .2s}
.srm-auth-submit:hover span{transform:translateX(3px)}
.srm-auth-foot{margin-top:27px;padding-top:20px;color:#71859a;font-size:10px;letter-spacing:.1px}
.srm-auth-lock{width:24px;height:24px;background:#edf5fb;color:#286eaa}
.srm-auth-copyright{margin-top:18px;color:#7c8da0;font-size:10px}
.srm-auth-back{margin-top:21px}
.srm-message{padding:13px 15px;margin:0 0 22px;border:1px solid #c9e1f5;border-radius:11px;background:linear-gradient(110deg,#eff8ff,#e8f4fd);color:#285778;font-size:12px;line-height:1.6;box-shadow:0 3px 10px rgba(36,105,158,.04)}
@keyframes srm-card-enter{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:640px){
 .srm-auth-shell{min-height:0;margin:8px auto;padding:34px 11px 22px;border-radius:19px}
 .srm-auth-card{width:100%;padding:31px 23px 26px;border-radius:21px}
 .srm-auth-card:before{left:23px;right:23px}
 .srm-auth-brand{margin-bottom:29px;letter-spacing:1.7px}
 .srm-auth-logo{width:47px;height:47px;border-radius:15px}
 .srm-auth-card h2{font-size:27px!important}
 .srm-auth-intro{font-size:13px;margin-bottom:24px}
 .srm-auth-options{flex-direction:row;align-items:center}
 .srm-auth-submit{min-height:51px}
}
@media(prefers-reduced-motion:reduce){.srm-auth-card{animation:none}.srm-auth-submit,.srm-auth-submit span,.srm-auth-form input{transition:none}}

/* =========================================================
   SRM Welkin Activity Portal 1.4.0 — complete interface refresh
   ========================================================= */
:root{--srm-navy:#102b4e;--srm-blue:#1769aa;--srm-blue2:#2788c7;--srm-ink:#172b43;--srm-muted:#6d7e92;--srm-line:#e3ebf3;--srm-bg:#f3f7fc;--srm-white:#fff;--srm-green:#14845d;--srm-shadow:0 14px 38px rgba(18,48,80,.075)}
/* Teacher workspace */
.srm-portal{max-width:1320px;margin:26px auto 54px;padding:0 22px 52px;color:var(--srm-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.srm-portal-head{padding:34px 38px;border-radius:25px;background:radial-gradient(circle at 88% 10%,rgba(79,174,230,.26),transparent 25%),linear-gradient(118deg,#0b2542 0%,#123f69 52%,#176ca4 100%);box-shadow:0 22px 50px rgba(13,48,82,.2);margin-bottom:22px}
.srm-portal-head:after{width:330px;height:330px;right:7%;top:-205px;border-color:rgba(255,255,255,.14);box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}
.srm-brand-mark{width:60px;height:60px;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.23),rgba(255,255,255,.08));box-shadow:inset 0 1px 0 rgba(255,255,255,.25);font-size:18px}
.srm-portal-head h2{font-size:32px!important;letter-spacing:-1px}
.srm-portal-head p{font-size:13px;color:#d5e7f7}
.srm-eyebrow{letter-spacing:2.5px;font-size:9px}
.srm-logout{padding:11px 17px;border-radius:12px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);font-size:12px;transition:background .2s,transform .2s}
.srm-logout:hover{background:rgba(255,255,255,.22);transform:translateY(-1px)}
.srm-teacher-stats{gap:16px;margin-bottom:18px}
.srm-teacher-stat{min-height:102px;padding:20px 21px;border-radius:18px;border-color:#e5edf5;box-shadow:0 8px 25px rgba(19,47,78,.045);transition:transform .2s,box-shadow .2s}
.srm-teacher-stat:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(19,47,78,.08)}
.srm-stat-icon{width:46px;height:46px;flex-basis:46px;border-radius:15px}
.srm-teacher-stat strong{font-size:28px;letter-spacing:-.7px}
.srm-teacher-stat div>span{font-size:11px;letter-spacing:.1px}
.srm-dashboard-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:9px;background:#fff;border:1px solid var(--srm-line);border-radius:15px;box-shadow:0 5px 18px rgba(19,47,78,.035)}
.srm-dashboard-nav a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;color:#45617e!important;text-decoration:none!important;font-size:12px;font-weight:750;transition:background .18s,color .18s}
.srm-dashboard-nav a span{font-size:15px;color:#2b78b5}
.srm-dashboard-nav a:hover{background:#edf5fc;color:#13588f!important}
.srm-panel{margin:18px 0;padding:28px 30px;border-radius:20px;border-color:#e4ebf3;box-shadow:0 10px 30px rgba(19,47,78,.055)}
.srm-panel h3{font-size:21px!important;letter-spacing:-.45px}
.srm-panel>p,.srm-section-heading p{font-size:12px;line-height:1.7}
.srm-section-kicker{letter-spacing:1.9px;font-size:9px;color:#287bb7}
.srm-count-pill{padding:8px 13px;background:#edf5fc;color:#1e639b}
.srm-activity-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.srm-activity-card{padding:21px;border-radius:17px;border-color:#e2eaf2;box-shadow:0 4px 14px rgba(18,48,80,.025);min-height:190px}
.srm-activity-card:hover{transform:translateY(-3px);border-color:#a9cbe6;box-shadow:0 15px 30px rgba(28,81,130,.1)}
.srm-activity-card>strong{font-size:18px;letter-spacing:-.25px}
.srm-activity-label{font-size:9px;letter-spacing:1.7px}
.srm-activity-state{padding:6px 10px;border-radius:30px}
.srm-date-line{display:flex;align-items:center;gap:6px;font-size:11px!important}
.srm-open-activity{font-size:11px;padding-top:12px}
.srm-filter{gap:12px;margin:20px 0}
.srm-filter label{font-size:11px;letter-spacing:.1px}
.srm-filter input,.srm-filter select,.srm-quick-search input{border-color:#dce6ef;border-radius:10px;min-height:44px;background:#fbfdff}
.srm-selection-tools{padding:14px 16px;background:#f6f9fc;border-color:#e5edf4;border-radius:13px 13px 0 0}
.srm-table-wrap{border-radius:13px;border-color:#e4ebf2}
.srm-table{font-size:12px}
.srm-table th{background:#f5f8fb;color:#526a82;font-size:9px;letter-spacing:1px;padding:14px 15px}
.srm-table td{padding:14px 15px;color:#354b63}
.srm-table tbody tr:hover{background:#f5faff}
.srm-button{border-radius:11px;padding:13px 19px;background:linear-gradient(110deg,#15558a,#2584bf);box-shadow:0 7px 16px rgba(29,95,167,.17);font-size:12px;transition:transform .18s,box-shadow .18s}
.srm-button:hover{transform:translateY(-2px);box-shadow:0 11px 22px rgba(29,95,167,.23)}
.srm-secondary{background:#edf4fa;color:#285679!important;box-shadow:none}
.srm-report-panel{background:linear-gradient(145deg,#fff 0%,#f8fbfe 100%)}
.srm-report-form textarea{min-height:165px;border-radius:12px;background:#fbfdff;line-height:1.65}
.srm-report-form input[type=file]{border:1px dashed #a9c5dc;background:#f5f9fd;border-radius:12px;padding:16px}
.srm-report-icon{width:48px;height:48px;border-radius:15px;background:#eaf4fc;color:#2478b4}
.srm-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:30px;font-size:10px;font-weight:800}
.srm-pending{background:#fff5e5;color:#a56b13}.srm-approved{background:#e7f7ef;color:#13734e}.srm-rejected{background:#fff0f0;color:#b63b3b}
.srm-empty{padding:38px 20px;border:1px dashed #d7e3ee;border-radius:15px;background:#f9fbfd;text-align:center}
.srm-empty>span{display:inline-grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border-radius:15px;background:#eaf3fb;color:#2b77b2;font-size:23px}
.srm-empty strong{display:block;color:#1c3855;font-size:14px}.srm-empty p{color:#78899c;font-size:12px}
.srm-chosen li{margin:5px 0;padding:8px 11px;border-radius:8px;background:#f5f8fb;color:#4d6278;font-size:12px}
.srm-portal section[id]{scroll-margin-top:24px}
/* Login and account recovery */
.srm-auth-shell{min-height:740px;padding:72px 20px 38px;border-radius:30px;background:radial-gradient(ellipse at 8% 12%,rgba(42,131,201,.2),transparent 34%),radial-gradient(ellipse at 96% 92%,rgba(22,91,151,.16),transparent 34%),linear-gradient(135deg,#eaf2fa,#f8fbff 52%,#eaf2fa)}
.srm-auth-card{width:min(100%,510px);padding:45px 46px 37px;border-radius:28px;box-shadow:0 32px 85px rgba(14,49,82,.15),0 6px 20px rgba(14,49,82,.05)}
.srm-auth-card h2{font-size:33px!important}
.srm-auth-form input{border-radius:12px;min-height:54px}
.srm-auth-submit{min-height:56px;border-radius:13px;font-size:13px}
/* WordPress admin plugin screens — same brand system */
.srm-wrap{max-width:1360px!important;padding:8px 14px 36px!important;color:var(--srm-ink)}
.srm-wrap h1{font-size:30px!important;font-weight:850!important;letter-spacing:-.8px!important;color:#102b4e!important;margin:20px 0 8px!important}
.srm-wrap h2{font-size:20px!important;font-weight:800!important;letter-spacing:-.35px!important;color:#173b5e!important;margin:28px 0 14px!important}
.srm-wrap>p{font-size:13px;color:#718197;line-height:1.7}
.srm-stats{gap:18px;margin:28px 0}
.srm-stat,.srm-card{border:1px solid #e3ebf3!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px rgba(19,47,78,.055)!important;padding:24px!important}
.srm-stat strong{font-size:36px!important;letter-spacing:-1px}
.srm-stat span{font-size:12px!important}
.srm-form{gap:17px;margin:20px 0 30px}
.srm-form label{font-size:12px!important;color:#354d66!important;gap:8px!important}
.srm-form input,.srm-form textarea,.srm-form select,.srm-inline input{min-height:45px!important;border:1px solid #dce6ef!important;border-radius:10px!important;padding:11px 13px!important;background:#fbfdff!important;font-size:13px!important}
.srm-form input:focus,.srm-form textarea:focus,.srm-form select:focus{border-color:#3a8bc4!important;box-shadow:0 0 0 4px rgba(58,139,196,.11)!important;outline:0!important}
.srm-wrap .button-primary,.srm-wrap .button{min-height:39px!important;border-radius:10px!important;padding:0 16px!important;font-weight:750!important;transition:transform .18s,box-shadow .18s}
.srm-wrap .button-primary{background:linear-gradient(110deg,#15558a,#2584bf)!important;border-color:#1d6fa9!important;box-shadow:0 6px 15px rgba(29,95,167,.15)!important}
.srm-wrap .button:hover{transform:translateY(-1px)}
.srm-wrap .widefat{border:1px solid #e3ebf3!important;border-radius:14px!important;overflow:hidden;border-spacing:0!important;box-shadow:0 8px 25px rgba(19,47,78,.045)!important;background:#fff}
.srm-wrap .widefat thead th{background:#f2f7fb!important;color:#50677e!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.8px;font-weight:850!important}
.srm-wrap .widefat td,.srm-wrap .widefat th{padding:15px 16px!important;vertical-align:middle!important}
.srm-wrap .widefat td{font-size:12px;color:#3d536b}
.srm-wrap .widefat tr:nth-child(even) td{background:#fbfdff!important}
.srm-wrap .widefat tr:hover td{background:#f4f9fd!important}
.srm-wrap code{border-radius:6px;background:#edf4fa;color:#1d5e91;padding:4px 7px}
.srm-wrap .notice{border-radius:10px;border-top:0;border-right:0;border-bottom:0;box-shadow:0 4px 15px rgba(20,50,80,.04)}
/* WordPress theme compatibility and responsive behavior */
.srm-portal button,.srm-portal input,.srm-portal textarea,.srm-portal select{font-family:inherit}
.srm-portal a:focus-visible,.srm-portal button:focus-visible,.srm-portal input:focus-visible,.srm-portal select:focus-visible,.srm-portal textarea:focus-visible{outline:3px solid rgba(47,137,198,.28);outline-offset:2px}
@media(max-width:900px){.srm-portal-head{padding:27px}.srm-activity-list{grid-template-columns:1fr 1fr}.srm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.srm-portal{margin:14px auto;padding:0 10px 30px}.srm-portal-head{padding:22px 17px;border-radius:18px;gap:10px}.srm-brand-mark{width:44px;height:44px;border-radius:13px}.srm-portal-head h2{font-size:23px!important}.srm-portal-head p{font-size:11px;max-width:200px}.srm-logout{padding:8px 10px;font-size:10px}.srm-teacher-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.srm-teacher-stat{min-height:82px;padding:12px;border-radius:13px}.srm-stat-icon{width:35px;height:35px;flex-basis:35px;border-radius:11px;font-size:17px}.srm-teacher-stat strong{font-size:22px}.srm-dashboard-nav{gap:4px;padding:6px;border-radius:12px}.srm-dashboard-nav a{padding:9px 10px;font-size:10px}.srm-dashboard-nav a span{font-size:13px}.srm-panel{padding:19px 15px;margin:14px 0;border-radius:15px}.srm-section-heading{gap:8px}.srm-panel h3{font-size:18px!important}.srm-activity-list{grid-template-columns:1fr}.srm-activity-card{padding:17px}.srm-filter,.srm-grid{grid-template-columns:1fr}.srm-selection-tools{gap:9px;padding:10px}.srm-selected-count{margin-left:auto}.srm-chosen{columns:1}.srm-auth-shell{min-height:0;margin:8px auto;padding:34px 10px 22px;border-radius:19px}.srm-auth-card{width:100%;padding:31px 22px 26px;border-radius:21px}.srm-auth-card h2{font-size:27px!important}.srm-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.srm-stat{padding:15px!important}.srm-stat strong{font-size:27px!important}.srm-wrap{padding:0 4px 28px!important}.srm-wrap h1{font-size:24px!important}.srm-wrap .widefat{display:block;overflow-x:auto;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.srm-activity-card,.srm-teacher-stat,.srm-button,.srm-wrap .button{transition:none}}


/* 1.4.2 login-field alignment: avoid decorative glyphs overlapping input text. */
.srm-auth-form>label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;width:100%}
.srm-auth-input-wrap{display:block!important;position:relative!important;width:100%!important;min-width:0!important}
.srm-auth-input-wrap>span{display:none!important}
.srm-auth-form input{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:13px 15px!important;min-height:52px!important;line-height:1.4!important}
.srm-auth-input-wrap input{padding-left:15px!important}
.srm-auth-options{clear:both;position:relative}


/* 1.4.3 — vibrant school dashboard palette and clear account identity */
:root{
 --srm-navy:#172554;--srm-blue:#2563eb;--srm-blue2:#0ea5e9;
 --srm-ink:#172554;--srm-muted:#64748b;--srm-line:#e2e8f0;
 --srm-bg:#f5f7ff;--srm-white:#fff;--srm-green:#059669;
 --srm-shadow:0 16px 42px rgba(30,41,91,.09)
}
.srm-portal{background:linear-gradient(180deg,#f5f7ff 0%,#f8fbff 100%);padding-top:18px;border-radius:28px}
.srm-portal-head{
 background:
 radial-gradient(circle at 12% 115%,rgba(45,212,191,.30),transparent 32%),
 radial-gradient(circle at 90% 0%,rgba(251,191,36,.22),transparent 26%),
 linear-gradient(120deg,#312e81 0%,#4338ca 48%,#0369a1 100%);
 border:1px solid rgba(255,255,255,.16);position:relative;overflow:hidden
}
.srm-portal-head:before{content:"";position:absolute;width:260px;height:260px;right:19%;bottom:-205px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.045),0 0 0 58px rgba(255,255,255,.025)}
.srm-brand-mark{background:linear-gradient(145deg,#fbbf24,#f97316);color:#312e81!important;box-shadow:0 10px 25px rgba(15,23,42,.18);font-weight:950}
.srm-eyebrow{color:#c7d2fe!important}
.srm-portal-head h2{color:#fff!important}
.srm-welcome-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.srm-welcome-line strong{display:inline-flex;padding:4px 10px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(255,255,255,.15);color:#fff}
.srm-profile-name{padding-left:8px;border-left:1px solid rgba(255,255,255,.35);color:#dbeafe}
.srm-logout{background:linear-gradient(110deg,#f97316,#ea580c)!important;color:#fff!important;box-shadow:0 7px 18px rgba(124,45,18,.2)}
.srm-teacher-stat:nth-child(1){border-top:4px solid #6366f1}
.srm-teacher-stat:nth-child(2){border-top:4px solid #0d9488}
.srm-teacher-stat:nth-child(3){border-top:4px solid #f59e0b}
.srm-teacher-stat:nth-child(4){border-top:4px solid #ec4899}
.srm-teacher-stat:nth-child(1) .srm-stat-icon{background:#eef2ff;color:#4f46e5}
.srm-teacher-stat:nth-child(2) .srm-stat-icon{background:#ccfbf1;color:#0f766e}
.srm-teacher-stat:nth-child(3) .srm-stat-icon{background:#fef3c7;color:#b45309}
.srm-teacher-stat:nth-child(4) .srm-stat-icon{background:#fce7f3;color:#be185d}
.srm-dashboard-nav a:nth-child(1) span{color:#4f46e5}
.srm-dashboard-nav a:nth-child(2) span{color:#d97706}
.srm-dashboard-nav a:nth-child(3) span{color:#0d9488}
.srm-dashboard-nav a:nth-child(4) span{color:#db2777}
.srm-panel{background:#fff;border-top:3px solid #c7d2fe}
.srm-panel:nth-of-type(2){border-top-color:#99f6e4}
.srm-panel:nth-of-type(3){border-top-color:#fcd34d}
.srm-panel:nth-of-type(4){border-top-color:#f9a8d4}
.srm-section-kicker{color:#4f46e5}
.srm-count-pill{background:#eef2ff;color:#4338ca}
.srm-activity-card{background:linear-gradient(145deg,#fff,#f8faff);border-left:4px solid #6366f1}
.srm-activity-card:nth-child(3n+2){border-left-color:#0d9488}
.srm-activity-card:nth-child(3n){border-left-color:#f59e0b}
.srm-activity-card:hover{border-color:#a5b4fc}
.srm-activity-state.srm-state-ongoing{background:#dcfce7;color:#166534}
.srm-activity-state.srm-state-upcoming{background:#dbeafe;color:#1d4ed8}
.srm-activity-state.srm-state-completed{background:#f1f5f9;color:#475569}
.srm-button,.srm-auth-submit{background:linear-gradient(110deg,#4f46e5,#2563eb 58%,#0891b2)!important}
.srm-secondary{background:#eef2ff!important;color:#4338ca!important}
.srm-report-panel{border-top-color:#f9a8d4!important;background:linear-gradient(145deg,#fff,#fff7fb)}
.srm-report-icon{background:#fce7f3;color:#be185d}
.srm-table th{background:#eef2ff;color:#4338ca}
.srm-table tbody tr:nth-child(even){background:#f8faff}
.srm-auth-shell{background:radial-gradient(ellipse at 5% 5%,rgba(99,102,241,.20),transparent 34%),radial-gradient(ellipse at 95% 90%,rgba(20,184,166,.17),transparent 34%),linear-gradient(135deg,#eef2ff,#f8fbff 52%,#ecfeff)}
.srm-auth-card:before{background:linear-gradient(90deg,#4f46e5,#0d9488,#f59e0b)}
.srm-auth-logo{background:linear-gradient(145deg,#312e81,#4f46e5 60%,#0891b2)}
.srm-auth-kicker{color:#4f46e5}
.srm-auth-options a,.srm-auth-back{color:#4338ca!important}
@media(max-width:640px){.srm-portal{padding-top:8px}.srm-welcome-line{gap:5px}.srm-profile-name{padding-left:6px}}

.srm-danger-button{color:#b42318!important;border-color:#f3b4ae!important;background:#fff5f4!important}.srm-danger-button:hover{background:#fee4e2!important}
