*{box-sizing:border-box}
:root{--navy:#0d2340;--blue:#1769aa;--cyan:#1597a6;--ink:#14233b;--muted:#64748b;--bg:#f4f8fc;--card:#fff;--line:#e5edf5;--shadow:0 14px 40px rgba(16,42,67,.09)}
html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.65;position:relative}a{color:var(--blue)}img{max-width:100%;display:block}.site-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 8% 8%,rgba(21,151,166,.08),transparent 24%),radial-gradient(circle at 90% 18%,rgba(23,105,170,.08),transparent 25%);z-index:-1}.container{width:min(1160px,92%);margin:auto}
header{background:rgba(13,35,64,.98);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 6px 24px rgba(13,35,64,.15)}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:1.08rem;letter-spacing:.1px;white-space:nowrap}.brand img{width:38px;height:38px}.brand span{display:flex;flex-direction:column;line-height:1.05}.brand b{font-size:1.18rem}.nav nav{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.nav nav a{color:#eaf4ff;text-decoration:none;padding:8px 11px;border-radius:8px;font-size:.94rem}.nav nav a:hover{background:rgba(255,255,255,.1)}
main.container{min-height:calc(100vh - 150px);padding-top:8px}.hero{margin:34px 0 52px;border-radius:30px;overflow:hidden;position:relative;background:linear-gradient(135deg,#0d2340 0%,#12527a 55%,#1597a6 100%);color:#fff;box-shadow:0 24px 60px rgba(13,35,64,.18)}.hero-home{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;min-height:510px;padding:62px 7%}.hero-copy{position:relative;z-index:2;max-width:650px}.eyebrow{display:inline-block;font-size:.76rem;font-weight:800;letter-spacing:2.2px;color:#d5f7fa}.eyebrow.dark{color:var(--cyan)}.hero h1{font-size:clamp(2.8rem,6vw,5.3rem);line-height:1.02;margin:15px 0 20px;letter-spacing:-2px}.hero h1 span{color:#9ee9ed}.hero p{font-size:1.08rem;max-width:620px;color:#e5f4fb}.hero-art{justify-self:end;width:min(430px,100%)}.hero-art img{filter:drop-shadow(0 25px 30px rgba(0,0,0,.18))}.section-head{text-align:center;max-width:760px;margin:0 auto 28px}.section-head h2{font-size:2.3rem;margin:8px 0}.section-head p{color:var(--muted)}
.grid{display:grid;gap:22px;margin:24px 0}.three{grid-template-columns:repeat(3,1fr)}.two{grid-template-columns:repeat(2,1fr)}.card{background:rgba(255,255,255,.96);padding:26px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);margin:0}.linkcard{text-decoration:none;color:inherit}.feature-card{transition:transform .2s,box-shadow .2s}.feature-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(16,42,67,.13)}.feature-card img{width:68px;height:68px;margin-bottom:16px}.feature-card h3{margin:4px 0 8px;font-size:1.25rem}.feature-card p{color:var(--muted);margin:0 0 14px}.arrow{font-weight:800;color:var(--blue)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-block;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;padding:11px 18px;border:0;border-radius:10px;text-decoration:none;font-weight:800;cursor:pointer;box-shadow:0 7px 18px rgba(23,105,170,.2)}.btn:hover{transform:translateY(-1px)}.secondary{background:#fff;color:var(--navy);box-shadow:none}.small{padding:6px 10px;font-size:.86rem}.welcome-band{margin:55px 0;padding:42px 7%;background:#fff;border:1px solid var(--line);border-radius:24px;display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:30px;box-shadow:var(--shadow)}.welcome-band h2{font-size:2.1rem;margin:8px 0}.welcome-band p{color:var(--muted)}.welcome-band img{max-height:210px;margin:auto}
.page-banner{margin:30px 0;padding:34px 38px;border-radius:24px;background:linear-gradient(135deg,#e9f7fb,#fff);border:1px solid #dceef3;display:flex;align-items:center;justify-content:space-between;gap:30px}.page-banner h1{margin:6px 0;font-size:2.3rem}.page-banner p{color:var(--muted);margin:0}.page-banner img{width:170px;max-height:130px}.admin-banner{background:linear-gradient(135deg,#eef5ff,#f5fbff)}.stats-grid .card{position:relative;overflow:hidden}.stats-grid .card:after{content:'';position:absolute;width:80px;height:80px;border-radius:50%;background:rgba(21,151,166,.08);right:-20px;bottom:-25px}.stats-grid h2{font-size:2.4rem;margin:0 0 3px;color:var(--navy)}
.form{max-width:700px}.form label{display:block;font-weight:750;margin:14px 0}.form input,.form textarea,.form select{display:block;width:100%;padding:12px 13px;margin-top:6px;border:1px solid #d5dfeb;border-radius:10px;background:#fff;font:inherit;color:var(--ink)}.form input:focus,.form textarea:focus,.form select:focus{outline:3px solid rgba(21,151,166,.12);border-color:var(--cyan)}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th{background:#f5f9fc;color:#475569;font-size:.82rem;text-transform:uppercase;letter-spacing:.5px}.table-wrap th,.table-wrap td{padding:13px 15px;border-bottom:1px solid #edf1f5;text-align:left}.table-wrap tr:last-child td{border-bottom:0}.alert{background:#fff0f0;color:#a33a3a;border:1px solid #ffd1d1;padding:13px;border-radius:10px;margin:15px 0}.success{background:#eafaf1;color:#146c43;border:1px solid #c8efd9;padding:15px;border-radius:10px;margin:15px 0}.profile{display:grid;grid-template-columns:190px 1fr;gap:32px;margin:42px 0}.avatar{width:180px;height:180px;border-radius:50%;background:linear-gradient(135deg,#e5f8fa,#e8f0ff);display:grid;place-items:center;border:8px solid #fff;box-shadow:var(--shadow);overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#eaf5ff;color:#2454a6;font-size:.78rem;font-weight:800;margin-bottom:8px}.muted{color:var(--muted)}footer{margin-top:70px;padding:34px 0;background:var(--navy);color:#d9e8f5}footer .container{display:flex;justify-content:center;text-align:center}
@media(max-width:850px){.hero-home{grid-template-columns:1fr;padding:48px 8%}.hero-art{justify-self:center;width:330px;margin-top:20px}.three{grid-template-columns:1fr 1fr}.welcome-band{grid-template-columns:1fr}.page-banner{padding:28px}.page-banner img{width:130px}.nav{align-items:flex-start;flex-direction:column;padding:14px 0}.nav nav{justify-content:flex-start}.nav nav a{padding:7px 8px}}
@media(max-width:600px){.container{width:min(94%,1160px)}.three,.two,.profile{grid-template-columns:1fr}.hero{border-radius:22px;margin-top:22px}.hero h1{font-size:2.7rem;letter-spacing:-1px}.hero-art{width:270px}.section-head h2{font-size:1.9rem}.welcome-band{padding:30px}.page-banner{flex-direction:column;align-items:flex-start}.page-banner img{align-self:center}.profile{gap:20px}.avatar{width:140px;height:140px}.table-wrap{font-size:.92rem}}

/* =========================================================
   MOUNT VIEW ALUMNI — COMPACT BATCH DIRECTORY ONLY
   These rules are intentionally scoped to the batch directory
   so they do not change styling on other pages.
   ========================================================= */

.directory-page{
    width:100%;
    max-width:1160px;
    margin:0 auto;
}

.directory-page .directory-hero{
    display:flex;
    align-items:center;
    min-height:120px;
    padding:22px 28px;
    border:1px solid #dbe5ef;
    border-radius:12px 12px 0 0;
    background:linear-gradient(135deg,#f7fbff 0%,#eef6fd 55%,#f8fbff 100%);
    position:relative;
    overflow:hidden;
}

.directory-page .directory-hero-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-right:18px;
}

.directory-page .directory-hero-icon img{
    width:50px;
    height:50px;
    object-fit:contain;
}

.directory-page .directory-hero-text h1{
    margin:0 0 8px;
    font-size:1.65rem;
    line-height:1.1;
    letter-spacing:.3px;
    color:#17324d;
}

.directory-page .directory-hero-text h2{
    margin:0 0 3px;
    font-size:1.05rem;
    color:#243b53;
}

.directory-page .directory-hero-text p{
    margin:0;
    font-size:.88rem;
    color:#526579;
}

.directory-page .directory-hero-image{
    margin-left:auto;
    padding-left:24px;
}

.directory-page .directory-hero-image img{
    width:65px;
    height:65px;
    object-fit:contain;
}

.directory-page .batch-section{
    padding:22px 18px 26px;
    border-left:1px solid #dbe5ef;
    border-right:1px solid #dbe5ef;
    border-bottom:1px solid #dbe5ef;
}

.directory-page .batch-section-title{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:14px;
}

.directory-page .batch-section-title h2{
    margin:0;
    font-size:1.15rem;
    letter-spacing:.15px;
}

.directory-page .graduation-icon{
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
}

.directory-page .batch-section-blue .batch-section-title h2{color:#075eae}
.directory-page .batch-section-blue .graduation-icon{background:#e6f0ff}
.directory-page .batch-section-green .batch-section-title h2{color:#087f68}
.directory-page .batch-section-green .graduation-icon{background:#e6f7f2}
.directory-page .batch-section-purple .batch-section-title h2{color:#56329b}
.directory-page .batch-section-purple .graduation-icon{background:#f0e9ff}

/* Compact boxes with a clear gap between every batch. */
.directory-page .batch-grid{
    display:grid;
    grid-template-columns:repeat(10,minmax(0,1fr));
    column-gap:12px;
    row-gap:12px;
    width:100%;
}

.directory-page .batch-tile{
    min-width:0;
    min-height:58px;
    padding:8px 6px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px solid #c9dced;
    border-radius:7px;
    background:#fff;
    text-decoration:none;
    transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.directory-page .batch-year{
    font-size:1rem;
    line-height:1.1;
    font-weight:700;
    text-align:center;
}

.directory-page .batch-bottom{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    margin-top:4px;
    font-size:.66rem;
    line-height:1;
}

.directory-page .batch-arrow{
    font-size:1.05rem;
    line-height:.7;
    font-weight:400;
}

.directory-page .batch-section-blue .batch-tile{border-color:#bcd8f5}
.directory-page .batch-section-blue .batch-year,
.directory-page .batch-section-blue .batch-arrow{color:#075eae}
.directory-page .batch-section-blue .batch-bottom span:first-child{color:#334e68}

.directory-page .batch-section-green .batch-tile{border-color:#b9dfd7}
.directory-page .batch-section-green .batch-year,
.directory-page .batch-section-green .batch-arrow{color:#087f68}
.directory-page .batch-section-green .batch-bottom span:first-child{color:#334e68}

.directory-page .batch-section-purple .batch-tile{border-color:#d8c9f3}
.directory-page .batch-section-purple .batch-year,
.directory-page .batch-section-purple .batch-arrow{color:#56329b}
.directory-page .batch-section-purple .batch-bottom span:first-child{color:#334e68}

.directory-page .batch-tile:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 14px rgba(15,23,42,.10);
    background:#fbfdff;
}

.directory-page .batch-info{
    margin:0 18px 26px;
    min-height:40px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 15px;
    border:1px solid #c9def5;
    border-radius:7px;
    background:#f4f9ff;
    color:#075eae;
    font-size:.84rem;
}

.directory-page .info-icon{
    font-size:1rem;
    font-weight:bold;
}

@media(max-width:1050px){
    .directory-page .batch-grid{
        grid-template-columns:repeat(8,minmax(0,1fr));
        column-gap:10px;
        row-gap:10px;
    }
}

@media(max-width:800px){
    .directory-page .batch-grid{
        grid-template-columns:repeat(6,minmax(0,1fr));
        column-gap:9px;
        row-gap:9px;
    }
}

@media(max-width:600px){
    .directory-page .directory-hero{
        min-height:auto;
        padding:20px 16px;
    }

    .directory-page .directory-hero-icon,
    .directory-page .directory-hero-image{
        display:none;
    }

    .directory-page .directory-hero-text h1{font-size:1.4rem}
    .directory-page .directory-hero-text h2{font-size:.98rem}

    .directory-page .batch-section{
        padding:18px 12px 22px;
    }

    .directory-page .batch-section-title{
        gap:9px;
        margin-bottom:13px;
    }

    .directory-page .batch-section-title h2{font-size:1rem}

    .directory-page .graduation-icon{
        width:36px;
        height:36px;
        font-size:16px;
    }

    .directory-page .batch-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        column-gap:8px;
        row-gap:8px;
    }

    .directory-page .batch-tile{
        min-height:58px;
        padding:7px 5px;
    }

    .directory-page .batch-year{font-size:.92rem}
    .directory-page .batch-bottom{font-size:.62rem}
    .directory-page .batch-arrow{font-size:1rem}

    .directory-page .batch-info{
        margin-left:12px;
        margin-right:12px;
        font-size:.76rem;
    }
}

/* =========================================================
   ADMIN NOTIFICATIONS + PROFILE PHOTO UPLOAD
   ========================================================= */
.admin-notifications{margin:34px 0 10px}.notification-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.notification-card{padding:20px}.notification-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.notification-card-head h3{margin:0}.notification-count{min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eaf5ff;color:#2454a6;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.82rem}.notification-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-top:1px solid #edf1f5}.notification-item strong{display:block}.notification-item small{display:block;color:var(--muted);margin-top:3px}.notification-empty{color:var(--muted)}.profile-edit-photo{display:flex;align-items:center;gap:20px;padding-bottom:8px}.profile-edit-photo .avatar{flex:0 0 auto}
@media(max-width:700px){.notification-grid{grid-template-columns:1fr}.notification-item{align-items:flex-start;flex-direction:column}.profile-edit-photo{align-items:flex-start;flex-direction:column}}

/* Profile update review */
.profile-review-head{margin-bottom:16px}
.review-photos{display:flex;align-items:center;gap:28px;margin-bottom:16px}
.review-photos>div:not(.review-arrow){flex:1;text-align:center}
.review-photo{width:150px;height:150px;object-fit:cover;border-radius:14px;border:1px solid #d7e1ec;background:#f7f9fb}
.review-no-photo{width:150px;height:150px;margin:auto;display:flex;align-items:center;justify-content:center;border:1px dashed #c7d2df;border-radius:14px;color:#6b7280}
.review-arrow{font-size:30px;color:#718096}
.review-table-wrap{overflow-x:auto;margin-bottom:16px}
.review-table{width:100%;border-collapse:collapse}
.review-table th,.review-table td{padding:12px;border-bottom:1px solid #e5eaf0;vertical-align:top;text-align:left}
.review-table th{width:150px}
.review-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:600px){.review-photos{flex-direction:column}.review-arrow{transform:rotate(90deg)}}

/* Alumni chat */
.chat-banner{margin-bottom:22px}
.chat-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;margin-bottom:30px}
.chat-rooms h3{margin-top:0}
.chat-room-btn{display:block;width:100%;text-align:left;border:1px solid #dbe5ef;background:#fff;border-radius:12px;padding:13px 14px;margin:8px 0;color:#18324d;font:inherit;cursor:pointer}
.chat-room-btn:hover,.chat-room-btn.active{border-color:#3977b9;background:#f1f7fd}
.chat-room-btn small{color:#718096}
.chat-identity{margin-top:18px;padding:14px;border-radius:12px;background:#f6f8fb;border:1px solid #e5eaf0;display:grid;gap:5px}
.chat-identity span{font-weight:700;color:#16314b}
.chat-identity small{color:#718096}
.chat-card{padding:0;overflow:hidden;min-width:0}
.chat-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e6ebf0}
.chat-head h2{margin:3px 0 0}
.chat-status{font-size:12px;color:#718096}.chat-status.online{color:#20804b}.chat-status.offline{color:#b33b3b}
.chat-messages{height:500px;overflow:auto;padding:18px;background:#f7f9fc}
.chat-message{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:11px 13px;margin-bottom:10px;box-shadow:0 2px 8px rgba(22,49,75,.03)}
.chat-message.deleted{opacity:.7;background:#f0f2f5}.chat-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;color:#718096;font-size:12px;margin-bottom:5px}.chat-meta strong{color:#18324d}.chat-meta time{margin-left:auto}.chat-text{color:#26384a;line-height:1.5;word-break:break-word}
.chat-loading,.chat-empty{text-align:center;color:#718096;padding:70px 20px}
.chat-form{padding:14px 16px;border-top:1px solid #e6ebf0;background:#fff}.chat-form textarea{width:100%;box-sizing:border-box;resize:vertical;border:1px solid #d6dee8;border-radius:10px;padding:11px 12px;font:inherit;min-height:64px}.chat-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.chat-form-bottom small{color:#7a8795}
.chat-dashboard-card{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.chat-dashboard-card h3{margin:0 0 5px}.chat-dashboard-card p{margin:0;color:#718096}
.chat-admin-card{overflow:hidden}.chat-admin-table small{display:block;color:#718096;margin-top:3px}.chat-row-deleted{opacity:.7}.btn.danger{background:#a73535;border-color:#a73535}
@media(max-width:800px){.chat-layout{grid-template-columns:1fr}.chat-messages{height:58vh}.chat-dashboard-card{display:block}.chat-dashboard-card .actions{margin-top:14px}.chat-head{align-items:flex-start;gap:10px}.chat-meta time{margin-left:0}.table-wrap{overflow:auto}.chat-admin-table{min-width:800px}}

/* Upcoming event hover card */
.upcoming-event-hover{position:fixed;left:22px;bottom:22px;z-index:1400;max-width:min(430px,calc(100vw - 30px));font-size:.94rem}
.upcoming-event-card{position:relative;display:block;width:min(410px,calc(100vw - 30px));background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 22px 55px rgba(16,42,67,.22)}
.upcoming-event-card h3{margin:8px 42px 8px 0;color:var(--navy);font-size:1.3rem;line-height:1.25}
.upcoming-event-date{font-weight:800;color:var(--blue)}
.upcoming-event-location{color:var(--muted);margin-top:5px}
.upcoming-event-card p{color:#526579;margin:13px 0 17px;line-height:1.55}
.upcoming-event-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#f2f6fa;color:#243b53;font-size:25px;line-height:1;cursor:pointer}
.upcoming-event-close:hover{background:#e7eef5}
.upcoming-event-hover.is-closed{display:none}
.news-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px}
.news-modal.is-visible{display:flex;animation:fadeIn .2s ease-out}
.news-modal.is-hidden{display:none}
.news-modal-backdrop{position:absolute;inset:0;background:rgba(7,24,44,.68);backdrop-filter:blur(4px)}
.news-modal-card{position:relative;width:min(700px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dce8f2;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.news-modal-image{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:24px 24px 0 0}
.news-modal-body{padding:30px 34px 34px}
.news-modal-close{position:absolute;right:14px;top:12px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#243b53;font-size:27px;line-height:1;cursor:pointer;z-index:2}
.news-modal-body h2{font-size:2rem;line-height:1.15;margin:9px 48px 7px 0;color:var(--navy)}
.news-modal-date{font-weight:800;color:var(--blue)}
.news-modal-summary{font-size:1.05rem;font-weight:650;color:#40556b;margin:17px 0 10px}
.news-modal-content{color:#526579;line-height:1.65;margin-top:12px}
@keyframes popupIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.upcoming-event-hover{left:12px;bottom:12px}.upcoming-event-card{width:min(340px,calc(100vw - 24px))}.news-modal-body{padding:25px 21px 26px}.news-modal-body h2{font-size:1.55rem}.news-modal-image{max-height:220px}}

body.modal-open{overflow:hidden}
.event-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.event-modal.is-hidden{display:none}
.event-modal-backdrop{position:absolute;inset:0;background:rgba(7,24,44,.66);backdrop-filter:blur(3px)}
.event-modal-card{position:relative;width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border:1px solid #dce8f2;border-radius:24px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.28)}
.event-modal-close{position:absolute;right:14px;top:10px;width:42px;height:42px;border:0;border-radius:50%;background:#f2f6fa;color:#243b53;font-size:27px;line-height:1;cursor:pointer}
.event-modal-card h2{font-size:2rem;line-height:1.15;margin:10px 48px 10px 0;color:var(--navy)}
.event-modal-date{font-weight:800;color:var(--blue);font-size:1.02rem;margin-top:8px}
.event-modal-location{color:var(--muted);margin-top:4px}
.event-modal-card p{color:#526579;margin:18px 0 0}
.news-list{display:grid;gap:22px;margin:30px 0 50px}
.news-card{display:grid;grid-template-columns:280px 1fr;gap:26px;padding:0;overflow:hidden}
.news-image{width:100%;height:100%;min-height:230px;object-fit:cover;background:#edf4f8}
.news-body{padding:26px 26px 28px 0}
.news-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:.9rem}
.news-meta .badge{margin:0}
.news-body h2{margin:10px 0 8px;font-size:1.55rem}
.news-summary{font-size:1.03rem;font-weight:650;color:#40556b}
.news-content{color:#526579;white-space:normal}
@media(max-width:700px){.news-card{grid-template-columns:1fr}.news-image{height:210px;min-height:210px}.news-body{padding:22px}.event-modal-card{padding:28px 22px}.event-modal-card h2{font-size:1.55rem}}

/* Global alumni chat sidebar - viewport anchored, CSS-openable */
.global-chat{position:fixed;right:18px;bottom:18px;z-index:1400;font-size:14px}
.global-chat-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.global-chat-tab{position:relative;z-index:3;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--navy),#1769aa);color:#fff;padding:12px 16px;box-shadow:0 12px 30px rgba(13,35,64,.25);font:inherit;font-weight:800;cursor:pointer;user-select:none;min-height:44px;box-sizing:border-box}
.global-chat-tab:hover{filter:brightness(1.06)}
.global-chat-toggle:focus-visible + .global-chat-tab{outline:3px solid rgba(21,151,166,.35);outline-offset:3px}
.global-chat-icon{font-size:16px}.global-chat-count{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.18);font-size:11px;line-height:18px;text-align:center}
.global-chat-panel{display:none;position:fixed;right:18px;bottom:72px;top:auto;left:auto;width:360px;height:min(520px,calc(100dvh - 90px));max-height:calc(100dvh - 90px);margin:0;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 60px rgba(16,42,67,.25);overflow:hidden;grid-template-rows:auto auto minmax(0,1fr) auto;z-index:1401;pointer-events:auto}
.global-chat-toggle:checked ~ .global-chat-panel,.global-chat-panel.is-open{display:grid;animation:chatPanelIn .16s ease-out}
@keyframes chatPanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.global-chat-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #e6ebf0;background:#f9fbfd}.global-chat-head strong{display:block;color:var(--navy);font-size:16px}.global-chat-head small{display:block;color:var(--muted);margin-top:2px}
.global-chat-close{width:34px;height:34px;border:0;border-radius:50%;background:#edf3f8;color:#29445f;font-size:23px;line-height:34px;text-align:center;cursor:pointer;user-select:none}.global-chat-close:hover{background:#e1ebf3}
.global-chat-rooms{display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid #e6ebf0}.global-chat-room{flex:1;border:1px solid #dbe5ef;background:#fff;color:#18324d;border-radius:9px;padding:8px 10px;font:inherit;font-weight:700;cursor:pointer;min-height:40px}.global-chat-room:hover,.global-chat-room.active{border-color:#3977b9;background:#f1f7fd}
.global-chat-messages{min-height:0;overflow:auto;padding:12px;background:#f7f9fc}.global-chat-message{background:#fff;border:1px solid #e3e8ef;border-radius:11px;padding:9px 10px;margin-bottom:8px;color:#26384a;line-height:1.45;word-break:break-word}.global-chat-message.deleted{opacity:.7;color:#718096}.global-chat-meta{display:flex;align-items:center;gap:7px;margin-bottom:3px;color:#718096;font-size:11px}.global-chat-meta strong{color:#18324d}.global-chat-meta time{margin-left:auto}.global-chat-loading,.global-chat-empty{text-align:center;color:#718096;padding:55px 12px}
.global-chat-form{padding:10px;border-top:1px solid #e6ebf0;background:#fff}.global-chat-form textarea{width:100%;box-sizing:border-box;resize:none;border:1px solid #d6dee8;border-radius:9px;padding:9px 10px;font:inherit;min-height:58px}.global-chat-send{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.global-chat-send small{color:#7a8795;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.global-chat-send .btn{flex:0 0 auto}
@media(max-width:600px){.global-chat{right:10px;bottom:10px}.global-chat-panel{right:10px;bottom:64px;width:min(360px,calc(100vw - 20px));height:min(520px,calc(100dvh - 84px));max-height:calc(100dvh - 84px)}.global-chat-tab{padding:11px 14px}}
.global-chat-room-form{flex:1;margin:0;padding:0}.global-chat-room-form .global-chat-room{width:100%;display:block}.global-chat-form{margin:0}
.directory-search-form{max-width:none}.directory-results-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 12px}.directory-results-head h2{margin:0}.community-card h2{margin:10px 0 6px}.community-card p{color:var(--ink)}
@media(max-width:600px){.directory-results-head{align-items:flex-start;flex-direction:column}}

.statistics-panels{align-items:start}.statistics-panels .card,.statistics-year{overflow:hidden}.stat-row{margin:0 0 18px}.stat-row:last-child{margin-bottom:0}.stat-row-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:7px;font-size:.96rem}.stat-row-head strong{color:var(--navy)}.stat-track{height:9px;border-radius:999px;background:#edf3f5;overflow:hidden}.stat-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#1597a6,#0d2340);min-width:3px}.statistics-year{margin-top:24px}.statistics-year .stat-row{max-width:900px}.statistics-year h2,.statistics-panels h2{margin-top:0}

/* =========================================================
   ALUMNI DASHBOARD — PROFILE + EVENTS + NEWS
   ========================================================= */
.dashboard-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:30px 0 22px;padding:28px 32px;border:1px solid #dce7f0;border-radius:22px;background:linear-gradient(135deg,#eef8fb,#f7fbff);box-shadow:var(--shadow)}
.dashboard-welcome h1{margin:5px 0 7px;font-size:2.15rem}.dashboard-welcome p{margin:0;color:var(--muted)}
.eyebrow{font-size:.72rem;font-weight:850;letter-spacing:1.2px}.eyebrow.dark{color:#1769aa}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.85fr);gap:24px;align-items:start}
.dashboard-profile-card{padding:30px}.dashboard-profile-head{display:flex;align-items:center;gap:22px;padding-bottom:24px;border-bottom:1px solid #e8eef4}.dashboard-avatar{width:125px;height:125px;flex:0 0 125px}.dashboard-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.dashboard-profile-head h2{margin:4px 0 7px;font-size:1.75rem}.dashboard-profile-head p{margin:4px 0;color:var(--muted)}
.dashboard-bio{padding:20px 0;border-bottom:1px solid #e8eef4}.dashboard-bio h3{margin:0 0 7px}.dashboard-bio p{margin:0;color:#53677b;line-height:1.65}
.dashboard-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:4px}.dashboard-detail-grid>div{padding:15px 10px 15px 0;border-bottom:1px solid #edf1f5}.dashboard-detail-grid .full{grid-column:1/-1}.dashboard-detail-grid span{display:block;font-size:.74rem;text-transform:uppercase;letter-spacing:.5px;color:#7b8b9c;margin-bottom:5px}.dashboard-detail-grid strong{display:block;color:#23384d;font-size:.96rem;word-break:break-word}
.dashboard-section-card{padding:24px;margin-bottom:24px}.dashboard-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:14px}.dashboard-section-heading h2{margin:3px 0 0;font-size:1.3rem}.dashboard-section-heading>a{font-size:.86rem;font-weight:800;color:var(--blue);text-decoration:none}.dashboard-event-item{display:grid;grid-template-columns:58px 1fr;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f5}.dashboard-event-item:last-child,.dashboard-news-item:last-child{border-bottom:0;padding-bottom:0}.dashboard-event-item:first-of-type,.dashboard-news-item:first-of-type{padding-top:8px}.event-date-box{width:58px;height:58px;border-radius:12px;background:#eef7fb;border:1px solid #cfe8ef;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1769aa}.event-date-box strong{font-size:1.2rem;line-height:1}.event-date-box span{font-size:.72rem;text-transform:uppercase;font-weight:800;margin-top:3px}.dashboard-event-item h3{margin:0 0 5px;font-size:1rem}.dashboard-event-item p{margin:4px 0;font-size:.86rem;line-height:1.45}
.dashboard-news-item{display:grid;grid-template-columns:76px 1fr;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f5}.dashboard-news-item>img,.dashboard-news-placeholder{width:76px;height:76px;border-radius:12px;object-fit:cover;background:#eef4f8;display:grid;place-items:center;color:#1769aa;font-size:.65rem;font-weight:900;letter-spacing:1px}.dashboard-news-item .badge{margin:0 0 4px;padding:4px 7px;font-size:.65rem}.dashboard-news-item h3{font-size:.96rem;margin:0 0 3px;line-height:1.3}.dashboard-news-item small{color:#8a98a7}.dashboard-news-item p{margin:5px 0 0;color:#607285;font-size:.82rem;line-height:1.4}.dashboard-empty{padding:20px 0;color:var(--muted);font-size:.9rem}
@media(max-width:900px){.dashboard-layout{grid-template-columns:1fr}.dashboard-feed-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-feed-column .dashboard-section-card{margin-bottom:0}}
@media(max-width:650px){.dashboard-welcome{display:block;padding:24px}.dashboard-welcome .btn{margin-top:16px}.dashboard-profile-head{align-items:flex-start}.dashboard-avatar{width:95px;height:95px;flex-basis:95px}.dashboard-profile-head h2{font-size:1.4rem}.dashboard-detail-grid{grid-template-columns:1fr}.dashboard-detail-grid .full{grid-column:auto}.dashboard-feed-column{display:block}.dashboard-section-card{margin-bottom:18px}}

/* Admin dashboard primary navigation */
.admin-top-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 26px;padding:16px 18px;background:#f7fafc;border:1px solid var(--line);border-radius:16px;position:relative;z-index:2}.admin-top-actions .actions{margin:0}
