@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--navy:#172554;--blue:#3159d9;--ink:#172033;--muted:#7a8498;--line:#e8ebf2;--bg:#f6f7fb;--green:#15966a}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:'DM Sans',sans-serif;color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;background:#101b3b;color:#dbe3ff;padding:25px 16px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 34px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#7c9bff,#3655d9);display:grid;place-items:center;color:white;font:800 22px Manrope}.brand b{display:block;color:white;font:800 17px Manrope;letter-spacing:1px}.brand small{font-size:11px;color:#9eadd4}.side-label{font-size:10px;letter-spacing:1.6px;color:#7180a8;padding:0 12px 12px}.sidebar nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;color:#aebbdc;text-align:left;padding:12px;border-radius:9px;font-size:15px;display:flex;gap:13px;align-items:center}.nav-item span{font-size:13px}.nav-item:hover,.nav-item.active{background:#26365f;color:white}.nav-item.active{box-shadow:inset 3px 0 #8ba5ff}.sidebar-bottom{margin-top:auto;padding:15px 9px 4px}.secure{font-size:10px;color:#93a4ce;line-height:1.6}.reset{background:none;border:0;color:#9eb0e2;font-size:11px;padding:10px 0}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#8290aa;font-weight:700}.topbar h1{font:800 22px Manrope;margin:4px 0 0}.top-actions{display:flex;align-items:center;gap:14px}.top-actions select{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px;color:#37415a}.avatar{height:37px;width:37px;border-radius:50%;background:#e7edff;color:#3159d9;display:grid;place-items:center;font-weight:700;font-size:12px}.content{padding:28px 38px 36px;max-width:1500px;width:100%;margin:auto}.view{display:none}.view.active{display:block}.welcome{background:linear-gradient(115deg,#1d3478,#3459c9);border-radius:16px;padding:25px 30px;color:white;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;overflow:hidden}.welcome h2{font:800 24px Manrope;margin:9px 0 5px}.welcome p{color:#d5defe;margin:0;font-size:13px}.light{color:#b9c8ff}.welcome-icon{font-size:70px;color:#a8baff;opacity:.6;margin-right:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat-card,.panel{background:white;border:1px solid var(--line);border-radius:13px}.stat-card{padding:17px 19px;min-height:130px;position:relative}.stat-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;margin-bottom:12px}.blue{background:#eaf0ff;color:#4265dc}.green{background:#e4f7ef;color:#14976b}.orange{background:#fff2e4;color:#d88727}.purple{background:#f1eaff;color:#895ad1}.stat-label{font-size:12px;color:var(--muted)}.stat-card strong{display:block;font:800 25px Manrope;margin:4px 0}.stat-card small{font-size:10px;color:#929bad}.stat-card small.positive{color:#15966a}.grid-two{display:grid;grid-template-columns:1.1fr .9fr;gap:17px;margin-bottom:18px}.panel{padding:19px 20px;margin-bottom:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.panel h3{font:700 14px Manrope;margin:0 0 5px}.panel-head p,.section-intro p{font-size:11px;color:var(--muted);margin:0}.tag{font-size:10px;color:#4162d1;background:#edf1ff;padding:6px 9px;border-radius:20px}.bars{display:grid;gap:14px}.bar-row{display:grid;grid-template-columns:115px 1fr 35px;gap:10px;align-items:center;font-size:11px;color:#59647b}.bar-track{height:7px;background:#eef0f6;border-radius:9px;overflow:hidden}.bar-fill{height:100%;background:#5474e8;border-radius:9px}.bar-value{text-align:right;font-weight:700;color:#34405a}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-grid button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px;text-align:left;display:flex;align-items:center;gap:10px;color:#46516b;font-size:11px}.quick-grid button:hover{border-color:#9eaff4;background:#f7f8ff}.quick-grid b{font-size:19px;color:#4565d6}.text-btn{border:0;background:none;color:#4565d6;font-size:11px;font-weight:700}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}th{text-align:left;color:#8791a5;font-weight:600;background:#fafbfe;padding:11px 12px;border-bottom:1px solid var(--line)}td{padding:12px;border-bottom:1px solid #f0f1f5;color:#4b566d}tbody tr:last-child td{border-bottom:0}.status{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.present{background:#e6f7ef;color:#14865e}.absent{background:#fff0ee;color:#d15c4e}.late{background:#fff5e5;color:#bd812b}.section-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-intro h2{font:800 20px Manrope;margin:0 0 5px}.primary,.secondary{border:0;border-radius:8px;padding:10px 15px;font-size:11px;font-weight:700}.primary{background:#3159d9;color:white}.primary:hover{background:#2448bc}.secondary{background:#eef2ff;color:#405dc4;margin-left:7px}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:15px 17px}.filters label{display:grid;gap:6px;font-size:10px;color:#727e95;font-weight:700}.filters input,.filters select,.modal input,.modal select,.modal textarea{border:1px solid #e2e6ef;border-radius:7px;padding:9px 10px;color:#3b465c;background:#fff;min-width:130px;font-size:11px}.filters .search-label{flex:1}.filters .search-label input{width:100%}.attendance-tools{display:flex;justify-content:space-between;align-items:center;margin:12px 2px;font-size:11px;color:#7a8498}.table-panel{padding:0;overflow:hidden}.table-panel .table-wrap{padding:0 5px}.attendance-tools button{font-size:10px;padding:8px 11px}.attendance-select{border:1px solid #e4e8f0;border-radius:6px;padding:6px;color:#4a5873;font-size:10px}.hint{font-size:10px;color:#8a93a5;margin-top:8px}.report-stats{grid-template-columns:repeat(3,1fr);margin-top:18px}.report-stats .stat-card{min-height:95px}.report-stats strong{font-size:23px}.timetable td{background:#fff}.timetable td:nth-child(2n){background:#fafbff}.notice-list{display:grid;gap:12px}.notice{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 19px}.notice h3{font:700 14px Manrope;margin:0 0 7px}.notice p{font-size:12px;color:#657087;margin:0 0 9px;line-height:1.6}.notice small{color:#929bad;font-size:10px}.modal-backdrop{display:none;position:fixed;inset:0;background:#101a3677;align-items:center;justify-content:center;padding:20px;z-index:5}.modal-backdrop.open{display:flex}.modal{width:min(460px,100%);background:#fff;border-radius:14px;padding:22px;box-shadow:0 20px 70px #101a3633}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h3{font:800 17px Manrope;margin:0}.close{border:0;background:#f1f3f8;border-radius:50%;width:29px;height:29px;font-size:19px;color:#59647b}.modal form{display:grid;gap:12px}.modal label{display:grid;gap:6px;font-size:11px;color:#657087}.modal input,.modal select,.modal textarea{width:100%;font-size:12px}.modal textarea{min-height:75px}.modal form .primary{margin-top:5px}.toast{position:fixed;bottom:25px;right:25px;background:#172554;color:#fff;padding:12px 17px;border-radius:9px;font-size:12px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}footer{border-top:1px solid var(--line);padding:17px 38px;color:#9aa2b1;font-size:10px;margin-top:auto}footer span{float:right}
@media(max-width:1000px){.sidebar{width:205px}.content{padding:22px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.app-shell{display:block}.sidebar{width:100%;padding:12px;display:block}.brand{padding:0 5px 12px}.side-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto}.nav-item{white-space:nowrap;padding:10px}.nav-item span{font-size:11px}.topbar{height:72px;padding:0 16px}.content{padding:16px}.grid-two{grid-template-columns:1fr}.stats{gap:9px}.stat-card{padding:13px;min-height:112px}.welcome{padding:20px}.welcome h2{font-size:19px}.welcome-icon{font-size:45px;margin:0}.section-intro{align-items:flex-start;gap:12px}.section-intro h2{font-size:18px}.filters{gap:10px}.filters label{flex:1;min-width:42%}.filters input,.filters select{min-width:0;width:100%}footer{padding:15px 17px}footer span{display:none}.attendance-tools{align-items:flex-start;gap:10px;flex-direction:column}.attendance-tools button{margin:0 5px 0 0}}


/* MITS premium private-college visual identity */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{--navy:#101a32;--blue:#243d72;--ink:#182238;--muted:#788398;--line:#e8e4da;--bg:#f7f6f2;--green:#187a61;--gold:#c8a45d;--gold-light:#f4ead3}
body{background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}
.sidebar{background:linear-gradient(180deg,#111b34 0%,#182747 100%);width:264px;padding:27px 17px;box-shadow:8px 0 30px #15213b0a}
.brand{padding:0 10px 37px;gap:13px}
.brand-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(145deg,#e2c783,#b18a42);color:#14213c;box-shadow:0 6px 18px #c8a45d30;font:800 23px 'Playfair Display',serif}
.brand b{font:800 18px 'Manrope';letter-spacing:2px;color:#fff}
.brand small{font-size:9px;letter-spacing:1.15px;text-transform:uppercase;color:#c6b88f}
.side-label{color:#9babc7;letter-spacing:2px;font-size:9px}
.nav-item{border-radius:10px;padding:13px 12px;color:#c0c9dc;transition:all .18s}
.nav-item span{font-size:12px;letter-spacing:.1px}
.nav-item:hover{background:#ffffff0c;color:#fff}
.nav-item.active{background:linear-gradient(90deg,#c6a45e24,#c6a45e08);color:#f1dba8;box-shadow:inset 3px 0 #d0b16e}
.nav-item.active span{font-weight:700}
.secure{color:#aebbd2}
.reset{color:#d0b16e}
.topbar{height:94px;padding:0 42px;background:#fffefa;border-bottom:1px solid #e9e4d9}
.eyebrow{color:#9a8456;letter-spacing:1.8px;font-size:9px}
.topbar h1{font:700 25px 'Playfair Display',serif;color:#17233d}
.top-actions select{border:1px solid #e4dece;background:#fffefa;border-radius:9px;padding:10px 13px;color:#3d4960}
.avatar{background:#f1e8d5;color:#8a6a2f;border:1px solid #e6d8b9}
.content{padding:31px 42px 42px;max-width:1580px}
.welcome{background:linear-gradient(112deg,#172544 0%,#263f70 68%,#314d7d 100%);border:1px solid #344c76;border-radius:17px;padding:30px 34px;box-shadow:0 13px 35px #17254415;position:relative}
.welcome:after{content:"";position:absolute;right:100px;top:-80px;width:260px;height:260px;border:1px solid #c9aa6b35;border-radius:50%;box-shadow:0 0 0 28px #c9aa6b0a,0 0 0 58px #c9aa6b08}
.welcome h2{font:700 27px 'Playfair Display',serif;letter-spacing:.1px}
.welcome-icon{color:#d9bd80;opacity:.85;z-index:1}
.light{color:#d5c49d}
.welcome p{color:#d4dcec}
.stat-card,.panel{border:1px solid #e9e5dc;border-radius:14px;box-shadow:0 4px 16px #17254405}
.stat-card{background:#fffefa;padding:19px 20px;transition:transform .18s,box-shadow .18s}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px #1725440d}
.stat-icon{border-radius:10px}
.blue{background:#edf1f8;color:#334f83}.green{background:#e8f2ed;color:#26765d}.orange{background:#f7f0e3;color:#a57b34}.purple{background:#f1edf5;color:#79618e}
.stat-card strong{font:800 27px 'Manrope';color:#1b2943}
.stat-label{font-size:11px;letter-spacing:.2px}
.grid-two{gap:19px}
.panel{padding:21px 22px;background:#fffefa}
.panel h3{font:700 15px 'Manrope';color:#1e2b43}
.panel-head p,.section-intro p{font-size:11px;color:#858d9c}
.tag{background:#f5eedf;color:#8a6b32}
.bar-fill{background:linear-gradient(90deg,#b99756,#ddc58e)}
.quick-grid button{border:1px solid #e9e4d9;background:#fffefa;border-radius:11px;transition:.18s}
.quick-grid button:hover{border-color:#d2b979;background:#fcf8ef;transform:translateY(-1px)}
.quick-grid b{color:#a98543}
th{background:#f8f6f0;color:#8c846f;border-bottom:1px solid #e9e4d9;font-size:10px;letter-spacing:.2px}
td{color:#4e596d;border-bottom:1px solid #f0ede6}
tbody tr:hover td{background:#fdfbf6}
.primary{background:linear-gradient(135deg,#263f70,#182a4d);color:#fff;border:1px solid #263f70;box-shadow:0 4px 10px #1b31501a}
.primary:hover{background:linear-gradient(135deg,#345184,#20365e)}
.secondary{background:#f4eedf;color:#80632e;border:1px solid #e9dfc8}
.text-btn{color:#94743a}
.filters{background:#fffefa}
.filters input,.filters select,.modal input,.modal select,.modal textarea{border:1px solid #e5e0d5;background:#fffefa;border-radius:8px}
.attendance-select{border:1px solid #e5e0d5;background:#fffefa}
.notice{background:#fffefa;border:1px solid #e9e4d9;border-radius:13px;box-shadow:0 4px 15px #17254405}
.notice h3{font:700 15px 'Manrope'}
.modal{border:1px solid #e9e0cf;border-radius:16px}
.modal-head h3{font:700 20px 'Playfair Display',serif}
footer{border-color:#e8e3d9;color:#9b9588;background:#f7f6f2}
@media(max-width:1000px){.sidebar{width:220px}.content{padding:22px}}
@media(max-width:700px){.sidebar{width:100%;padding:12px;background:#111b34}.brand{padding:0 5px 12px}.topbar{padding:0 16px}.content{padding:16px}.welcome{padding:22px}.welcome h2{font-size:22px}}

/* Official MITS identity */
.brand{align-items:center;gap:11px}
.brand-logo{width:58px;height:58px;flex:0 0 58px;object-fit:contain;border-radius:12px;background:#2b0730;box-shadow:0 5px 18px #0003}
.brand-copy{min-width:0}
.brand-copy b{display:block;font:800 18px 'Manrope';letter-spacing:2px;color:#fff}
.brand-copy small{display:block;font-size:9px;letter-spacing:1.05px;text-transform:uppercase;color:#d6c99f}
@media(max-width:700px){.brand-logo{width:48px;height:48px;flex-basis:48px}.brand{padding:0 5px 12px}}

/* Devotional header image */
.topbar-right{display:flex;align-items:center;gap:18px}
.deity-header{width:58px;height:58px;object-fit:cover;object-position:center 43%;border-radius:15px;border:2px solid #d6b45d;box-shadow:0 5px 16px rgba(36,18,45,.16)}
@media(max-width:700px){
  .topbar{padding:0 14px;gap:10px}
  .topbar-right{gap:8px}
  .deity-header{width:42px;height:42px;border-radius:11px}
  .top-actions{gap:7px}
  .top-actions select{max-width:94px;padding:7px 5px;font-size:11px}
  .content{padding:20px 14px 28px}
}


/* MITS fresh redesign: Emerald & Ivory campus theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--navy:#123c32;--blue:#16745d;--ink:#172b25;--muted:#78877f;--line:#e4ebe5;--bg:#f2f5ef;--green:#16845f;--gold:#c8e66a;--gold-light:#eff7d9}
*{scrollbar-color:#b8c9bc transparent}
body{background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}
.app-shell{background:radial-gradient(ellipse at 88% 0%,#e3eddc 0,transparent 33%),var(--bg)}
.sidebar{width:258px;background:linear-gradient(165deg,#0c3028 0%,#124638 60%,#0d352d 100%);color:#e1eee5;padding:26px 16px;box-shadow:8px 0 32px #103d3010}
.brand{padding:0 8px 36px;gap:12px}
.brand-logo{background:#fff;border:2px solid #d5ed9c;border-radius:16px;box-shadow:0 8px 22px #071e1840}
.brand-copy b{font:800 19px 'Space Grotesk',sans-serif;letter-spacing:1.7px}
.brand-copy small{color:#b7d6c3;letter-spacing:1px}
.side-label{color:#8db4a0;letter-spacing:2px;font-size:9px}
.nav-item{color:#b7d0c3;border-radius:12px;padding:13px 12px;transition:background .2s,color .2s,transform .2s}
.nav-item:hover{background:#ffffff12;color:#fff;transform:translateX(2px)}
.nav-item.active{background:#d5ed9c;color:#173c30;box-shadow:none;font-weight:800}
.nav-item.active span{font-weight:800}
.secure{color:#a4c7b3}
.reset{color:#d5ed9c}
.topbar{height:96px;padding:0 40px;background:#fbfcf8;border-bottom:1px solid #e4ebe5}
.eyebrow{color:#6e8a79;font-size:9px;letter-spacing:1.8px}
.topbar h1{font:700 27px 'Space Grotesk',sans-serif;color:#173b30}
.top-actions select{border:1px solid #dce7dd;background:#f7faf5;border-radius:12px;padding:10px 13px;color:#315347}
.avatar{background:#dff0c3;color:#28513d;border:1px solid #cfe4ad}
.deity-header{border:3px solid #d5ed9c;border-radius:18px;box-shadow:0 7px 18px #123c3220}
.content{padding:32px 40px 42px;max-width:1600px}
.welcome{background:linear-gradient(115deg,#10392f 0%,#17614b 60%,#248267 100%);border:0;border-radius:23px;padding:32px 35px;box-shadow:0 16px 36px #164d3b20;position:relative}
.welcome:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,#d5ed9c2b 0 2px,transparent 3px);background-size:25px 25px;mask-image:linear-gradient(90deg,transparent,black);pointer-events:none}
.welcome:after{content:"";position:absolute;right:85px;top:-105px;width:280px;height:280px;border:1px solid #d5ed9c45;border-radius:50%;box-shadow:0 0 0 30px #d5ed9c0b,0 0 0 62px #d5ed9c09;pointer-events:none}
.welcome h2{font:700 29px 'Space Grotesk',sans-serif;letter-spacing:-.7px}
.welcome p{color:#d5e9dc}
.light{color:#c8e5a0}
.welcome-icon{color:#d5ed9c;z-index:1}
.stats{gap:17px}
.stat-card,.panel{border:1px solid #e3ebe3;border-radius:18px;box-shadow:0 7px 22px #1b46330a}
.stat-card{background:#fcfdf9;padding:20px;min-height:137px;transition:transform .2s,box-shadow .2s}
.stat-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #1b463318}
.stat-icon{width:36px;height:36px;border-radius:12px}
.blue{background:#e4f1e9;color:#16745d}.green{background:#e8f4d7;color:#4f7b2f}.orange{background:#fff1dc;color:#b7792c}.purple{background:#eeeaf7;color:#7762a4}
.stat-card strong{font:800 29px 'Space Grotesk',sans-serif;color:#173b30}
.stat-label{font-size:11px;color:#77877d;letter-spacing:.3px}
.grid-two{gap:19px}
.panel{background:#fcfdf9;padding:22px 23px}
.panel h3{font:700 15px 'Space Grotesk',sans-serif;color:#1c3d31}
.panel-head p,.section-intro p{color:#819087}
.tag{background:#edf5dc;color:#52742d;border-radius:8px}
.bar-track{height:9px;background:#edf2eb;border-radius:12px}
.bar-fill{background:linear-gradient(90deg,#1c765c,#b4d95c);border-radius:12px}
.quick-grid button{border:1px solid #e3ebe3;background:#f8faf5;border-radius:14px;padding:14px;transition:.2s}
.quick-grid button:hover{border-color:#a9cb79;background:#f0f7e6;transform:translateY(-2px)}
.quick-grid b{color:#2d805d}
th{background:#f1f5ed;color:#74877a;border-bottom:1px solid #e3ebe3;font-size:10px;letter-spacing:.4px;text-transform:uppercase}
td{color:#465c50;border-bottom:1px solid #edf1eb}
tbody tr:hover td{background:#f7faf3}
.status{border-radius:8px;padding:6px 9px}
.present{background:#e4f4d9;color:#3e762e}.absent{background:#ffebe6;color:#bd5548}.late{background:#fff2d9;color:#a87525}
.section-intro h2{font:700 23px 'Space Grotesk',sans-serif;color:#173b30}
.primary{background:#17634d;color:#fafff7;border:1px solid #17634d;border-radius:11px;box-shadow:0 5px 13px #17634d20}
.primary:hover{background:#0f4c3b}
.secondary{background:#edf5df;color:#416c34;border:1px solid #dfebca;border-radius:10px}
.text-btn{color:#20745a}
.filters{background:#fcfdf9}
.filters input,.filters select,.modal input,.modal select,.modal textarea{border:1px solid #dfe8df;background:#f9fbf7;border-radius:10px;color:#304c3e}
.filters input:focus,.filters select:focus,.modal input:focus,.modal select:focus,.modal textarea:focus{outline:2px solid #b7d98a;outline-offset:1px}
.attendance-select{border:1px solid #dfe8df;border-radius:8px;background:#f9fbf7}
.notice{background:#fcfdf9;border:1px solid #e3ebe3;border-radius:16px;box-shadow:0 6px 18px #1b46330a}
.notice h3{font:700 16px 'Space Grotesk',sans-serif;color:#1c3d31}
.modal-backdrop{background:#0b2822a6;backdrop-filter:blur(5px)}
.modal{border:1px solid #e2ebdf;border-radius:20px;background:#fcfdf9;box-shadow:0 24px 80px #071e1840}
.modal-head h3{font:700 21px 'Space Grotesk',sans-serif;color:#173b30}
.close{background:#edf3e9;color:#41634e;border-radius:10px}
.toast{background:#10392f;border:1px solid #d5ed9c;color:#f7ffed;border-radius:12px}
footer{border-color:#e3ebe3;color:#849388;background:#f2f5ef}
@media(max-width:1000px){.sidebar{width:220px}.content{padding:23px}}
@media(max-width:700px){.sidebar{width:100%;padding:12px;background:#0c3028}.brand{padding:0 5px 12px}.brand-logo{width:48px;height:48px;flex-basis:48px}.topbar{padding:0 14px;height:76px}.topbar h1{font-size:22px}.content{padding:18px 14px 28px}.welcome{padding:22px;border-radius:17px}.welcome h2{font-size:22px}.welcome:after{right:-80px}.stats{gap:10px}.stat-card{border-radius:14px;padding:14px;min-height:116px}.panel{padding:17px;border-radius:15px}.section-intro h2{font-size:19px}.deity-header{width:42px;height:42px}.topbar-right{gap:8px}.top-actions{gap:7px}}


/* Refinement: larger typography, more prominent images, plum-teal-coral palette */
:root{--navy:#302044;--blue:#287f83;--ink:#292239;--muted:#777184;--line:#e9e2eb;--bg:#f7f3f8;--green:#287f70;--gold:#f0a58b;--gold-light:#fbe7df}
body{background:var(--bg);color:var(--ink);font-size:15px}
.app-shell{background:radial-gradient(ellipse at 88% 0%,#f0e3f1 0,transparent 34%),var(--bg)}
.sidebar{background:linear-gradient(165deg,#241831 0%,#39254c 58%,#203e49 100%)}
.brand-logo{width:68px;height:68px;flex:0 0 68px;border-radius:18px;border:2px solid #f0a58b;box-shadow:0 8px 22px #10091d55}
.brand-copy b{font-size:21px}
.brand-copy small{font-size:10px}
.side-label{font-size:10px}
.nav-item{padding:14px 13px;gap:14px}
.nav-item span{font-size:14px}
.nav-item.active{background:linear-gradient(100deg,#f0a58b,#f5c6a7);color:#302044}
.topbar{background:#fffaff;border-color:#e9e2eb}
.eyebrow{font-size:10px;color:#8a668e}
.topbar h1{font-size:29px;color:#302044}
.deity-header{width:76px;height:76px;border:3px solid #f0a58b;border-radius:20px;box-shadow:0 8px 22px #30204425}
.top-actions select{font-size:13px;border-color:#e7dce9;background:#fffaff}
.avatar{width:42px;height:42px;background:#eee1f1;color:#573c69;border-color:#e0cde4;font-size:13px}
.content{padding-top:35px}
.welcome{background:linear-gradient(115deg,#302044 0%,#55406a 57%,#287f83 100%);border:1px solid #5b496b}
.welcome h2{font-size:31px}
.welcome p{font-size:15px}
.light{color:#f4c9b8}
.welcome-icon{color:#f4b49d}
.stat-card{background:#fffaff;border-color:#e9e2eb;padding:22px;min-height:145px}
.stat-icon{width:40px;height:40px;border-radius:13px;font-size:17px}
.blue{background:#e4f1f2;color:#287f83}.green{background:#e7f4ed;color:#287f70}.orange{background:#fff0e9;color:#c66f53}.purple{background:#f1e8f4;color:#805b91}
.stat-label{font-size:13px;color:#777184}
.stat-card strong{font-size:31px;color:#302044}
.stat-card small{font-size:12px}
.panel{background:#fffaff;border-color:#e9e2eb;padding:23px 24px}
.panel h3{font-size:17px;color:#302044}
.panel-head p,.section-intro p{font-size:13px}
.section-intro h2{font-size:25px;color:#302044}
.tag{background:#fbe7df;color:#9d5b4e;font-size:11px}
.bar-row{font-size:13px}
.bar-track{height:10px;background:#f0e8f1}
.bar-fill{background:linear-gradient(90deg,#287f83,#f0a58b)}
.quick-grid button{font-size:13px;padding:15px;border-color:#e9e2eb;background:#fffaff}
.quick-grid b{font-size:22px;color:#287f83}
th{font-size:11px;color:#76667d;background:#f4edf5}
td{font-size:13px;color:#4e4657}
.status{font-size:11px;padding:6px 10px}
.present{background:#e5f4ec;color:#287f70}.absent{background:#ffebe8;color:#bd5c57}.late{background:#fff0e5;color:#a76b37}
.primary,.secondary{font-size:13px;padding:11px 17px;border-radius:11px}
.primary{background:linear-gradient(120deg,#287f83,#315d78);border-color:#287f83}
.primary:hover{background:linear-gradient(120deg,#206d70,#294d66)}
.secondary{background:#fbe7df;color:#965b51;border-color:#f2d6cc}
.text-btn{font-size:13px;color:#287f83}
.filters{background:#fffaff}
.filters label{font-size:12px}
.filters input,.filters select,.modal input,.modal select,.modal textarea{font-size:13px;padding:10px 12px;border-color:#e5dce8;background:#fff}
.attendance-tools{font-size:13px}
.attendance-tools button{font-size:12px}
.attendance-select{font-size:12px;border-color:#e5dce8}
.hint{font-size:12px}
.notice{background:#fffaff;border-color:#e9e2eb}
.notice h3{font-size:17px;color:#302044}
.notice p{font-size:14px;line-height:1.7}
.notice small{font-size:11px}
.modal{background:#fffaff;border-color:#eadfea}
.modal-head h3{font-size:23px}
.modal label{font-size:13px}
.close{font-size:22px}
footer{font-size:11px;background:#f7f3f8;border-color:#e9e2eb}
@media(max-width:1000px){.brand-logo{width:60px;height:60px;flex-basis:60px}.content{padding:24px}}
@media(max-width:700px){
 .brand-logo{width:54px;height:54px;flex-basis:54px}
 .brand-copy b{font-size:18px}.brand-copy small{font-size:9px}
 .nav-item{padding:11px 12px}.nav-item span{font-size:12px}
 .topbar{height:80px;padding:0 12px}.topbar h1{font-size:23px}
 .deity-header{width:54px;height:54px;border-radius:15px}
 .top-actions select{font-size:11px;padding:7px 5px}
 .content{padding:19px 13px 28px}
 .welcome{padding:22px}.welcome h2{font-size:24px}.welcome p{font-size:13px}
 .stat-card{padding:15px;min-height:125px}.stat-card strong{font-size:27px}.stat-label{font-size:12px}.stat-card small{font-size:11px}
 .panel{padding:17px}.panel h3{font-size:16px}
 .section-intro h2{font-size:21px}.section-intro p{font-size:12px}
 th{font-size:10px}td{font-size:12px}
 .quick-grid button{font-size:12px;padding:12px}
}


/* New MITS welcome experience — plum, teal and coral */
.portal-welcome{position:fixed;inset:0;z-index:20;overflow:auto;background:radial-gradient(circle at 8% 10%,#f7d9d1 0,transparent 27%),radial-gradient(circle at 90% 85%,#cce8e4 0,transparent 30%),#f8f4f8;padding:38px 20px;display:flex;align-items:center;justify-content:center}
.welcome-card{width:min(1120px,100%);background:#fff;border:1px solid #eee2ed;border-radius:30px;padding:34px;box-shadow:0 28px 90px #30204418}
.welcome-brand{display:flex;align-items:center;gap:17px;padding-bottom:25px;border-bottom:1px solid #eee7ef}
.welcome-brand>img:first-child{width:88px;height:88px;object-fit:contain;border-radius:22px;background:#fff;padding:5px;box-shadow:0 8px 24px #30204415}
.welcome-brand span,.welcome-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#287f83}
.welcome-brand h1{font:800 27px 'Space Grotesk',sans-serif;color:#302044;margin:3px 0}
.welcome-brand h1 em{font-style:normal;color:#287f83}
.welcome-brand p{margin:0;color:#777184;font-size:14px}
.welcome-deity{margin-left:auto;width:104px;height:104px;object-fit:cover;border-radius:24px;border:3px solid #f0a58b;box-shadow:0 10px 25px #30204420}
.welcome-copy{text-align:center;padding:32px 10px 24px}
.welcome-copy h2{font:800 clamp(30px,5vw,46px) 'Space Grotesk',sans-serif;color:#302044;margin:9px 0}
.welcome-copy h2 i{font-style:normal;color:#287f83}
.welcome-copy p{font-size:16px;color:#777184;margin:0}
.role-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.role-cards article{border:1px solid #ece3ed;background:linear-gradient(145deg,#fff,#fbf8fc);border-radius:21px;padding:23px;box-shadow:0 8px 25px #30204409}
.role-symbol{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#e4f1f2;color:#287f83;font-weight:900;font-size:15px}
.role-symbol.teacher{background:#fbe7df;color:#a85f4e}.role-symbol.admin{background:#eee5f2;color:#654a77}
.role-cards h3{font:700 21px 'Space Grotesk',sans-serif;color:#302044;margin:15px 0 5px}
.role-cards p{font-size:14px;line-height:1.5;color:#777184;min-height:42px;margin:0 0 17px}
.role-cards button{width:100%;border-radius:11px;padding:12px 10px;font:700 13px 'DM Sans',sans-serif;cursor:pointer}
.portal-signup{border:0;background:linear-gradient(110deg,#287f83,#315d78);color:white}
.portal-signup:hover{filter:brightness(.94)}.portal-login{margin-top:8px;border:1px solid #e8dfe9;background:white;color:#51425e}
.admin-request{background:linear-gradient(110deg,#6b547e,#9b7188)}
.portal-note{display:block;text-align:center;color:#91889a;font-size:11px;margin-top:22px}
@media(max-width:700px){.portal-welcome{padding:14px 10px;align-items:flex-start}.welcome-card{padding:19px;border-radius:22px}.welcome-brand>img:first-child{width:62px;height:62px}.welcome-deity{width:65px;height:65px}.welcome-brand h1{font-size:21px}.welcome-brand p{font-size:11px}.welcome-copy{padding:24px 5px 19px}.welcome-copy p{font-size:13px}.role-cards{grid-template-columns:1fr;gap:11px}.role-cards article{padding:16px}.role-cards p{min-height:0;margin-bottom:12px}.role-symbol{width:43px;height:43px}.role-cards h3{margin:10px 0 4px}}
