:root{
  --green:#266C08;--green-2:#1f5a07;--gold:#f2b705;--ink:#102014;--muted:#66756a;--bg:#f6f9f5;--card:#fff;--line:#dfe8dc;--danger:#b42318;--success:#117a37;--warning:#a15c00;--shadow:0 18px 45px rgba(21,55,16,.12);--radius:18px
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}
a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.main{width:min(1180px,94vw);margin:28px auto 60px}.topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:12px clamp(16px,4vw,48px)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--green);color:white;display:grid;place-items:center;font-weight:800;font-size:24px;box-shadow:0 8px 20px rgba(38,108,8,.25)}.brand small{display:block;color:var(--muted);font-size:12px;margin-top:-4px}.nav{display:flex;align-items:center;gap:18px}.nav a{color:var(--ink);font-weight:650}.nav-toggle{display:none;border:0;background:var(--green);color:white;border-radius:10px;padding:10px 12px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:center;padding:42px;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#edf7ea 100%);box-shadow:var(--shadow);border:1px solid var(--line)}.hero h1{font-size:clamp(32px,4vw,58px);line-height:1.04;margin:0 0 16px}.hero p{font-size:18px;color:var(--muted);margin:0 0 24px}.hero-panel{background:white;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}.hero-stat{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;padding:14px;border-radius:16px;background:#f8fbf7;margin-bottom:12px}.hero-stat b{display:block}.icon-dot{width:56px;height:56px;border-radius:16px;background:#e5f2df;display:grid;place-items:center;color:var(--green);font-weight:900}.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 8px 28px rgba(21,55,16,.06)}.card h2,.card h3{margin-top:0}.section-title{margin:36px 0 14px}.btn,.button,button[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 18px;background:var(--green);color:white;font-weight:750;cursor:pointer;text-decoration:none;transition:.2s}.btn:hover,.button:hover,button[type=submit]:hover{background:var(--green-2);text-decoration:none}.btn-secondary{background:#e6f1e2;color:var(--green)}.btn-secondary:hover{background:#d8ead2;color:var(--green)}.btn-danger{background:var(--danger)}.btn-sm{padding:8px 12px;border-radius:10px;font-size:14px}.btn-light{background:#fff;color:var(--green);border:1px solid var(--line)}.form{display:grid;gap:16px}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field label{display:block;font-weight:700;margin-bottom:6px}.field small{color:var(--muted)}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #ccd8c8;border-radius:12px;background:#fff;color:var(--ink);font:inherit}textarea{min-height:120px;resize:vertical}input:focus,select:focus,textarea:focus{outline:3px solid rgba(38,108,8,.16);border-color:var(--green)}.alert{padding:13px 16px;border-radius:14px;margin-bottom:18px;border:1px solid var(--line);background:#fff}.alert-success{border-color:#cdebd4;background:#effaf1;color:var(--success)}.alert-error{border-color:#f2c5be;background:#fff4f2;color:var(--danger)}.alert-warning{border-color:#f3dcaf;background:#fff8e8;color:var(--warning)}.status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;background:#edf2ee;color:#405246;text-transform:uppercase}.status-approved{background:#e7f7ea;color:#146b2f}.status-submitted{background:#fff4d5;color:#8a5a00}.status-rejected{background:#fde8e5;color:#a12a20}.status-draft{background:#edf2ee;color:#506056}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.table{width:100%;border-collapse:collapse;background:white}.table th,.table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.table th{background:#eef6eb;color:#1b3b14;font-size:13px;text-transform:uppercase;letter-spacing:.04em}.table tr:last-child td{border-bottom:0}.directory-toolbar{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:12px;margin:18px 0}.staff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.staff-card{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 8px 22px rgba(21,55,16,.06);display:flex;flex-direction:column}.staff-photo{height:230px;background:#eff4ed;display:grid;place-items:center}.staff-photo img{width:100%;height:100%;object-fit:cover}.staff-body{padding:18px}.staff-body h3{margin:0 0 5px;font-size:20px}.staff-meta{color:var(--muted);font-size:14px;margin:3px 0}.staff-actions{margin-top:auto;padding:0 18px 18px}.modal{position:fixed;inset:0;background:rgba(8,25,7,.72);z-index:80;display:none;align-items:center;justify-content:center;padding:20px}.modal.open{display:flex}.modal-card{background:white;width:min(920px,96vw);max-height:90vh;overflow:auto;border-radius:22px;box-shadow:0 25px 80px rgba(0,0,0,.32)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-close{background:#edf4ea;color:var(--ink);border:0;border-radius:12px;padding:8px 12px;font-weight:900}.profile-modal{display:grid;grid-template-columns:240px 1fr;gap:24px;padding:24px}.profile-modal img{width:220px;height:220px;border-radius:24px;object-fit:cover;border:1px solid var(--line)}.profile-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:#edf4ea;color:var(--green);font-size:13px;font-weight:700}.repeat-row{display:grid;grid-template-columns:2fr 2fr 1fr 42px;gap:10px;margin-bottom:10px}.repeat-row.pub{grid-template-columns:2fr 1.4fr .8fr 1.5fr 42px}.repeat-row.custom{grid-template-columns:1fr 2fr 42px}.remove-row{background:#f9e5e1;color:var(--danger);padding:10px;border-radius:10px}.sidebar-layout{display:grid;grid-template-columns:240px 1fr;gap:22px}.sidebar{background:white;border:1px solid var(--line);border-radius:18px;padding:16px;height:max-content;position:sticky;top:88px}.sidebar a{display:block;padding:10px 12px;border-radius:10px;color:var(--ink);font-weight:700}.sidebar a:hover,.sidebar a.active{background:#edf4ea;color:var(--green);text-decoration:none}.footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:24px clamp(16px,4vw,48px);border-top:1px solid var(--line);background:white;color:var(--muted);font-size:14px}.empty{padding:40px;text-align:center;color:var(--muted);background:white;border:1px dashed var(--line);border-radius:18px}.kpi{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center}.kpi b{font-size:28px}.code-url{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#f3f7f2;border:1px solid var(--line);padding:6px 8px;border-radius:8px;word-break:break-all}.approval-actions{display:flex;gap:8px;flex-wrap:wrap}.mini-form{display:inline}.search-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-end;flex-wrap:wrap}.muted{color:var(--muted)}
@media (max-width:900px){.hero,.grid-2,.grid-3,.sidebar-layout,.profile-modal{grid-template-columns:1fr}.directory-toolbar{grid-template-columns:1fr 1fr}.staff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{position:static}.profile-modal img{width:160px;height:160px}.repeat-row,.repeat-row.pub,.repeat-row.custom{grid-template-columns:1fr}.remove-row{width:100%}}
@media (max-width:680px){.topbar{align-items:flex-start}.nav-toggle{display:block}.nav{display:none;position:absolute;top:68px;left:12px;right:12px;background:white;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.open{display:flex}.hero{padding:24px}.directory-toolbar{grid-template-columns:1fr}.staff-grid{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.main{width:min(100% - 24px,1180px);margin-top:18px}.table th,.table td{min-width:150px}.footer{display:block}.brand small{display:none}}


.portal-banner{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:24px;align-items:stretch;padding:30px clamp(22px,3vw,34px);border-radius:28px;border:1px solid rgba(255,255,255,.18);background:linear-gradient(135deg,#164f07 0%,#266C08 42%,#3d8a16 100%);color:#fff;box-shadow:0 22px 50px rgba(16,32,20,.18);isolation:isolate}
.portal-banner::before,.portal-banner::after{content:"";position:absolute;border-radius:50%;pointer-events:none;opacity:.22;z-index:-1}
.portal-banner::before{width:420px;height:420px;background:radial-gradient(circle,#fff 0%,rgba(255,255,255,.08) 45%,rgba(255,255,255,0) 70%);top:-170px;right:-120px}
.portal-banner::after{width:360px;height:360px;background:radial-gradient(circle,#f2b705 0%,rgba(242,183,5,.18) 34%,rgba(242,183,5,0) 68%);bottom:-180px;left:-100px}
.portal-banner__content{position:relative;z-index:1}
.portal-banner__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.portal-banner__title{margin:0 0 12px;font-size:clamp(28px,4vw,48px);line-height:1.06;color:#fff}
.portal-banner__desc{margin:0 0 20px;max-width:760px;font-size:17px;line-height:1.6;color:rgba(255,255,255,.9)}
.portal-banner__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.portal-banner .btn,.portal-banner .button,.portal-banner button[type=submit]{box-shadow:none}
.portal-banner .btn-secondary,.portal-banner .btn-light{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.22);color:#fff}
.portal-banner .btn-secondary:hover,.portal-banner .btn-light:hover{background:rgba(255,255,255,.24);color:#fff}
.portal-banner__panel{display:grid;gap:12px;align-content:start}
.portal-banner__card{position:relative;z-index:1;padding:18px;border-radius:22px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px)}
.portal-banner__card h3,.portal-banner__card h4{margin:0 0 6px;color:#fff}
.portal-banner__card p{margin:0;color:rgba(255,255,255,.86)}
.portal-banner__meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.portal-banner__metric{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14)}
.portal-banner__metric b{display:block;font-size:28px;line-height:1.05;margin-bottom:4px;color:#fff}
.portal-banner__metric span{display:block;font-size:13px;color:rgba(255,255,255,.84)}
.portal-banner__list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.portal-banner__list li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start}
.portal-banner__icon{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-weight:800}
.portal-banner__url{display:block;margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);border:1px dashed rgba(255,255,255,.28);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;word-break:break-all;color:#fff}
.portal-banner--directory{background:linear-gradient(135deg,#102f58 0%,#0d4a82 40%,#1c7abf 100%)}
.portal-banner--directory::after{background:radial-gradient(circle,#9fe0ff 0%,rgba(159,224,255,.18) 34%,rgba(159,224,255,0) 68%)}
.portal-banner--staff{background:linear-gradient(135deg,#1a4511 0%,#266C08 38%,#5aa326 100%)}
.banner-quick-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.banner-chip-light{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);font-size:13px;font-weight:700;color:#fff}
.directory-shell{display:grid;gap:18px}
.filter-card{margin-top:-34px;position:relative;z-index:2}
@media (max-width:980px){.portal-banner,.portal-banner__meta{grid-template-columns:1fr}.portal-banner__panel{grid-template-columns:1fr 1fr;display:grid}.filter-card{margin-top:0}}
@media (max-width:680px){.portal-banner{padding:22px;border-radius:24px}.portal-banner__panel,.portal-banner__meta{grid-template-columns:1fr}.portal-banner__title{font-size:clamp(26px,9vw,38px)}.portal-banner__desc{font-size:15px}.portal-banner__eyebrow{font-size:11px}.portal-banner__metric b{font-size:24px}}


/* FUOYE Branded Professional UI v2 */
.fuoye-branded{background:radial-gradient(circle at top left,rgba(38,108,8,.09),transparent 34%),radial-gradient(circle at 88% 8%,rgba(242,183,5,.12),transparent 28%),var(--bg)}
.brand-with-logo{gap:14px}.brand-logo-wrap{width:52px;height:52px;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 10px 22px rgba(38,108,8,.18);border:1px solid rgba(38,108,8,.14);overflow:hidden}.brand-logo-wrap img{width:48px;height:48px;object-fit:contain}.topbar{min-height:76px}.brand-with-logo strong{font-size:17px}.brand-with-logo small{font-size:11px;letter-spacing:.02em}
.home-hero-v2{position:relative;overflow:hidden;border-radius:34px;color:#fff;background:#1f5a07;box-shadow:0 28px 70px rgba(16,32,20,.22);border:1px solid rgba(255,255,255,.22);isolation:isolate}.home-hero-v2::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(11,50,4,.92),rgba(38,108,8,.84),rgba(242,183,5,.36)),url('../img/fuoye-pattern.svg');background-size:cover,520px auto;background-position:center,right bottom;z-index:-2}.home-hero-v2::after{content:"";position:absolute;right:-120px;top:-120px;width:430px;height:430px;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,.34),rgba(255,255,255,.05) 56%,transparent 70%);z-index:-1}.home-hero-v2__inner{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);gap:28px;padding:clamp(28px,4vw,56px);align-items:center}.home-hero-v2 h1{font-size:clamp(34px,5vw,64px);line-height:1.02;margin:0 0 16px;color:#fff;letter-spacing:-.04em}.home-hero-v2 p{font-size:18px;line-height:1.65;color:rgba(255,255,255,.92);max-width:820px;margin:0}.hero-badge-row{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:850}.home-hero-v2__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.home-hero-v2 .btn{padding:13px 20px}.home-hero-v2 .btn-secondary,.home-hero-v2 .btn-light{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff}.home-hero-v2 .btn-secondary:hover,.home-hero-v2 .btn-light:hover{background:rgba(255,255,255,.25);color:#fff}.hero-brand-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:28px;padding:24px;backdrop-filter:blur(12px)}.hero-brand-seal{display:flex;gap:16px;align-items:center;margin-bottom:18px}.hero-brand-seal img{width:92px;height:92px;border-radius:28px;background:#fff;padding:4px}.hero-brand-seal h2{margin:0;color:#fff;font-size:24px}.hero-brand-seal span{display:block;color:rgba(255,255,255,.82);font-weight:650;margin-top:3px}.hero-rotator{display:grid;gap:12px}.hero-slide{display:none;padding:16px;border-radius:20px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16)}.hero-slide.active{display:block;animation:fadeUp .45s ease}.hero-slide b{display:block;color:#fff;font-size:18px;margin-bottom:4px}.hero-slide span{color:rgba(255,255,255,.86)}.hero-dots{display:flex;gap:7px;margin-top:14px}.hero-dot{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.34)}.hero-dot.active{background:#f2b705;width:28px}.home-stats-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.home-stat-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14)}.home-stat-card b{display:block;font-size:30px;line-height:1;color:#fff}.home-stat-card span{font-size:13px;color:rgba(255,255,255,.84)}
.faculty-section-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;flex-wrap:wrap;margin:34px 0 14px}.faculty-section-head h2{margin:0;font-size:30px}.faculty-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.faculty-card-v2{position:relative;overflow:hidden;min-height:156px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 12px 30px rgba(21,55,16,.07);display:flex;flex-direction:column;justify-content:space-between;transition:transform .18s ease,box-shadow .18s ease}.faculty-card-v2:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(21,55,16,.13);text-decoration:none}.faculty-card-v2::before{content:"";position:absolute;right:-42px;top:-52px;width:130px;height:130px;border-radius:999px;background:linear-gradient(135deg,rgba(38,108,8,.16),rgba(242,183,5,.18))}.faculty-card-v2__icon{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#edf6ea;color:var(--green);font-weight:900}.faculty-card-v2 h3{position:relative;margin:14px 0 8px;font-size:17px;color:var(--ink)}.faculty-card-v2 span{position:relative;color:var(--muted);font-size:13px}.brand-callout{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,#edf7ea);border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:var(--shadow)}.brand-callout::after{content:"";position:absolute;right:-80px;bottom:-100px;width:260px;height:260px;border-radius:999px;background:rgba(242,183,5,.16)}
.portal-banner.v2-enhanced{background:#1f5a07}.portal-banner.v2-enhanced::before{background:linear-gradient(120deg,rgba(255,255,255,.25),rgba(255,255,255,0));width:620px;height:620px}.portal-banner.v2-enhanced{background-image:linear-gradient(125deg,rgba(13,56,4,.96),rgba(38,108,8,.88),rgba(12,74,130,.62)),url('../img/fuoye-pattern.svg');background-size:cover,520px auto;background-position:center,right bottom}.portal-banner--directory.v2-enhanced{background-image:linear-gradient(125deg,rgba(12,47,88,.96),rgba(13,74,130,.89),rgba(38,108,8,.62)),url('../img/fuoye-pattern.svg')}.directory-spotlight{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:center}.directory-spotlight img{width:72px;height:72px;border-radius:22px;background:#fff;padding:4px}.directory-spotlight strong{color:#fff;font-size:18px}.directory-spotlight span{display:block;color:rgba(255,255,255,.83);margin-top:2px}.modal-card{border:1px solid rgba(255,255,255,.12)}.staff-card{transition:transform .18s ease,box-shadow .18s ease}.staff-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(21,55,16,.13)}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:1100px){.faculty-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-hero-v2__inner{grid-template-columns:1fr}.hero-brand-card{max-width:100%}}
@media (max-width:800px){.faculty-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-stats-strip{grid-template-columns:1fr}.brand-logo-wrap{width:46px;height:46px}.brand-logo-wrap img{width:42px;height:42px}.topbar{min-height:68px}.home-hero-v2{border-radius:26px}.home-hero-v2__inner{padding:24px}.hero-brand-seal img{width:72px;height:72px;border-radius:22px}.hero-brand-seal h2{font-size:20px}.home-hero-v2 p{font-size:16px}}
@media (max-width:560px){.faculty-card-grid{grid-template-columns:1fr}.hero-badge-row{gap:8px}.hero-badge{font-size:10px;padding:8px 10px}.home-hero-v2__actions a{width:100%}.directory-spotlight{grid-template-columns:1fr}.directory-spotlight img{width:64px;height:64px}.brand-with-logo small{display:none}}


/* FUOYE uploaded logo and official academic staff banner update */
.brand-logo{background:#fff;border:1px solid var(--line);overflow:hidden;padding:3px}
.brand-logo img{width:100%;height:100%;object-fit:contain;display:block}

.home-banner-image,
.directory-image-banner,
.dashboard-image-banner{
  width:100%;
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  margin-bottom:22px;
}

.home-banner-image img,
.directory-image-banner img,
.dashboard-image-banner img{
  width:100%;
  height:auto;
  display:block;
}

.home-banner-image{
  margin-top:-4px;
}

.directory-image-banner,
.dashboard-image-banner{
  border-radius:22px;
}

.directory-image-banner img,
.dashboard-image-banner img{
  max-height:260px;
  object-fit:cover;
  object-position:center;
}

.portal-home-actions{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  margin-top:18px;
}

.home-action-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.home-kpi-grid{
  margin-top:8px;
}

@media (max-width:900px){
  .portal-home-actions{grid-template-columns:1fr}
  .directory-image-banner img,
  .dashboard-image-banner img{max-height:220px}
}

@media (max-width:680px){
  .home-banner-image,
  .directory-image-banner,
  .dashboard-image-banner{border-radius:18px;margin-bottom:16px}
  .home-banner-image img{
    min-height:250px;
    object-fit:cover;
    object-position:left center;
  }
  .directory-image-banner img,
  .dashboard-image-banner img{
    min-height:180px;
    max-height:200px;
    object-fit:cover;
    object-position:left center;
  }
}


/* Final homepage redesign: controlled banner size, no displayed logo, cleaner FUOYE interface */
.brand-text-only{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  padding-left:2px;
}
.brand-text-only strong{
  font-size:20px;
  letter-spacing:.04em;
  color:var(--green);
}
.brand-text-only small{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
}

.home-hero-v3{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:22px;
  align-items:center;
  background:linear-gradient(135deg,#ffffff 0%,#f4f9f2 55%,#edf6e9 100%);
  border:1px solid var(--line);
  border-radius:28px;
  padding:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.home-hero-v3__image{
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 35px rgba(21,55,16,.10);
}

.home-hero-v3__image img{
  width:100%;
  height:clamp(220px,26vw,335px);
  display:block;
  object-fit:cover;
  object-position:left center;
}

.home-hero-v3__content{
  padding:10px clamp(4px,1vw,16px);
}

.home-eyebrow{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:7px 12px;
  border-radius:999px;
  background:#eaf4e6;
  color:var(--green);
  font-size:12px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.home-hero-v3 h1{
  margin:0 0 12px;
  font-size:clamp(32px,4vw,54px);
  line-height:1.04;
  color:#0b3d16;
  letter-spacing:-.03em;
}

.home-hero-v3 p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}

.home-overview-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}

.home-stat-card{
  display:flex;
  gap:14px;
  align-items:center;
  padding:20px;
}

.home-stat-icon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#e8f4e4;
  color:var(--green);
  font-weight:900;
  font-size:20px;
}

.home-stat-card b{
  display:block;
  font-size:32px;
  line-height:1;
  color:#0b3d16;
}

.home-stat-card p{
  margin:5px 0 0;
  color:var(--muted);
}

.home-section-header{
  text-align:center;
  max-width:780px;
  margin:42px auto 8px;
}

.home-section-header h2{
  margin:0 0 10px;
  font-size:clamp(26px,3vw,40px);
  color:#0b3d16;
}

.home-section-header p{
  margin:0;
  color:var(--muted);
  font-size:17px;
}

.home-feature-card{
  position:relative;
  min-height:250px;
}

.feature-number{
  display:inline-flex;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#fff6db;
  color:#7a5300;
  font-weight:900;
  margin-bottom:14px;
}

.home-feature-card h3{
  color:#0b3d16;
}

.home-directory-callout{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  margin-top:28px;
  padding:26px;
  border-radius:24px;
  background:linear-gradient(135deg,#0b3d16,#266C08);
  color:#fff;
  box-shadow:var(--shadow);
}

.home-directory-callout h2{
  margin:0 0 8px;
  color:#fff;
}

.home-directory-callout p{
  margin:0;
  color:rgba(255,255,255,.88);
}

.home-directory-callout .home-eyebrow{
  background:rgba(255,255,255,.13);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

.home-directory-callout .btn{
  background:#fff;
  color:var(--green);
  white-space:nowrap;
}

.home-banner-image{
  max-height:340px !important;
  border-radius:24px !important;
}

.home-banner-image img{
  height:clamp(220px,26vw,335px) !important;
  object-fit:cover !important;
  object-position:left center !important;
}

.directory-image-banner img,
.dashboard-image-banner img{
  max-height:190px !important;
  object-fit:cover !important;
  object-position:left center !important;
}

@media (max-width:980px){
  .home-hero-v3{
    grid-template-columns:1fr;
  }
  .home-hero-v3__image img{
    height:260px;
  }
  .home-overview-grid{
    grid-template-columns:1fr;
  }
  .home-directory-callout{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:680px){
  .brand-text-only strong{font-size:18px}
  .home-hero-v3{
    padding:14px;
    border-radius:22px;
  }
  .home-hero-v3__image{
    border-radius:18px;
  }
  .home-hero-v3__image img{
    height:210px;
  }
  .home-hero-v3 p{
    font-size:15px;
  }
  .home-stat-card b{
    font-size:28px;
  }
  .home-directory-callout{
    padding:20px;
  }
  .home-directory-callout .btn{
    width:100%;
  }
  .directory-image-banner img,
  .dashboard-image-banner img{
    max-height:150px !important;
  }
}


/* Staff card dual-action buttons and unique public web profile view */
.staff-actions-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.staff-actions-split .btn{
  width:100%;
}

.public-profile-hero{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:26px;
  align-items:center;
  padding:28px;
  border-radius:28px;
  background:linear-gradient(135deg,#ffffff 0%,#f3f8f0 55%,#e8f4e4 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.public-profile-photo{
  width:240px;
  height:240px;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 14px 35px rgba(21,55,16,.10);
}

.public-profile-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.public-profile-summary h1{
  margin:0 0 8px;
  font-size:clamp(30px,4vw,52px);
  line-height:1.05;
  color:#0b3d16;
}

.public-profile-summary p{
  color:var(--muted);
  font-size:16px;
}

.public-profile-rank{
  font-weight:800;
  color:var(--green) !important;
  margin:0 0 6px;
}

.public-profile-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  align-items:start;
}

.public-profile-main{
  display:grid;
  gap:18px;
}

.public-profile-side{
  display:grid;
  gap:18px;
  position:sticky;
  top:88px;
}

.publication-list,
.custom-field-list{
  display:grid;
  gap:14px;
}

.publication-item,
.custom-field-item{
  padding:15px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fbfdfb;
}

.publication-item h3{
  margin:0 0 4px;
  font-size:18px;
}

.custom-field-item p{
  margin:6px 0 0;
}

@media (max-width:900px){
  .public-profile-hero,
  .public-profile-layout{
    grid-template-columns:1fr;
  }
  .public-profile-side{
    position:static;
  }
}

@media (max-width:680px){
  .staff-actions-split{
    grid-template-columns:1fr;
  }
  .public-profile-hero{
    padding:20px;
    border-radius:22px;
  }
  .public-profile-photo{
    width:180px;
    height:180px;
    border-radius:22px;
  }
}


/* Staff dashboard password change update */
.password-page-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:22px;
  align-items:start;
}

.password-card h1{
  margin:0 0 8px;
  color:#0b3d16;
  font-size:clamp(28px,3vw,42px);
}

.password-guidance-card{
  position:sticky;
  top:88px;
}

.secure-list{
  margin:0;
  padding-left:20px;
  color:var(--muted);
}

.secure-list li{
  margin-bottom:10px;
}

.staff-security-card{
  margin:18px 0;
}

@media (max-width:900px){
  .password-page-wrap{
    grid-template-columns:1fr;
  }
  .password-guidance-card{
    position:static;
  }
}

@media (max-width:680px){
  .staff-security-card .search-title{
    align-items:flex-start;
  }
  .staff-security-card .btn{
    width:100%;
  }
}


/* Personalized email signature generator */
.staff-signature-card{margin:18px 0;border-left:4px solid var(--gold)}
.signature-page{display:grid;gap:18px}
.signature-header{display:flex;justify-content:space-between;gap:20px;align-items:center}
.signature-header h1{margin:0 0 8px;color:#0b3d16;font-size:clamp(28px,3vw,42px)}
.signature-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.signature-preview-box{margin-top:14px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:auto}
.signature-copy-area{display:inline-block;min-width:min(620px,100%);background:#fff;padding:10px}
.signature-html-source{margin-top:16px;min-height:150px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
.signature-instructions{position:sticky;top:88px}
.signature-instructions ol{padding-left:22px;color:var(--muted)}
.signature-instructions li{margin-bottom:10px}
@media (max-width:980px){.signature-header{align-items:flex-start;flex-direction:column}.signature-layout{grid-template-columns:1fr}.signature-instructions{position:static}}
@media (max-width:680px){.staff-signature-card .btn,.signature-header .btn{width:100%}.signature-preview-box{padding:12px}}


/* Professional CV generator */
.staff-cv-card{margin:18px 0;border-left:4px solid var(--green)}
.cv-generator-page{display:grid;gap:18px}
.cv-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.cv-page{max-width:980px;margin:0 auto;background:#fff;box-shadow:0 18px 45px rgba(0,0,0,.12);border-radius:18px;overflow:hidden}
.cv-header{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;background:#266C08;color:#fff;padding:30px}
.cv-photo{width:130px;height:130px;border-radius:20px;object-fit:cover;border:4px solid rgba(255,255,255,.85);background:#fff}
.cv-header h1{margin:0 0 6px;font-size:34px;line-height:1.05;color:#fff}
.cv-header p{margin:3px 0;color:rgba(255,255,255,.9)}
.cv-body{display:grid;grid-template-columns:300px 1fr;gap:0}
.cv-sidebar{background:#f5f9f3;padding:28px;border-right:1px solid #dfe8dc}
.cv-main{padding:28px}
.cv-section{margin-bottom:24px}
.cv-section h2{font-size:15px;text-transform:uppercase;letter-spacing:.08em;color:#266C08;border-bottom:2px solid #266C08;padding-bottom:8px;margin:0 0 13px}
.cv-item{margin-bottom:13px}
.cv-item h3{margin:0 0 4px;font-size:16px;color:#102014}
@media print{.topbar,.footer,.cv-actions,.alert{display:none!important}.main{width:100%;margin:0}.cv-page{box-shadow:none;border-radius:0;max-width:100%}body{background:#fff}}
@media(max-width:760px){.cv-body,.cv-header{grid-template-columns:1fr}.cv-sidebar{border-right:0;border-bottom:1px solid #dfe8dc}.cv-actions .btn{width:100%}}


/* Version 1.6.0 academic profile extension */
.academic-profile-enhancement-card{border-left:4px solid var(--green)}
.academic-section-heading{margin:26px 0 14px;padding:12px 14px;border-radius:14px;background:#edf6ea;color:#163d12;font-size:18px}
.academic-subsection{margin:16px 0 22px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fbfdfb}
.academic-subsection h4{margin:0 0 12px;color:#0b3d16}
.academic-repeat-wrap{display:grid;gap:10px}
.repeat-row.academic-item-row{grid-template-columns:1.2fr 1.8fr .8fr 42px}
.repeat-row.academic-item-row.grant{grid-template-columns:1.2fr 1.6fr .7fr .7fr 42px}
.repeat-row.academic-item-row.skill{grid-template-columns:1.2fr 1.8fr .7fr .35fr 42px}
.profile-item-section{margin:18px 0}
.profile-item-section h3{font-size:18px;color:#0b3d16;margin:0 0 10px}
.profile-item-list{display:grid;gap:10px}
.profile-item-card{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfdfb}
.profile-item-card p{margin:6px 0 0}
.grant-amount{display:inline-flex;margin-left:8px;padding:4px 8px;border-radius:999px;background:#fff6db;color:#7a5300;font-weight:800;font-size:12px}
.grant-total{margin-top:12px;padding:12px 14px;border-radius:14px;background:#edf6ea;color:#0b3d16}
.skill-list{display:grid;gap:14px}
.skill-item{padding:12px 0}
.skill-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px;color:#102014}
.skill-track{height:12px;background:#e9efe6;border-radius:999px;overflow:hidden}
.skill-track span{display:block;height:100%;border-radius:999px}
@media(max-width:900px){.repeat-row.academic-item-row,.repeat-row.academic-item-row.grant,.repeat-row.academic-item-row.skill{grid-template-columns:1fr}.academic-subsection{padding:12px}}


/* Version 1.7.0 business card, biography word count and draggable admin form sections */
.word-counter{display:block;margin-top:6px;color:var(--muted);font-size:13px}
.word-counter-warning{color:var(--danger);font-weight:800}
.staff-business-card-card{margin:18px 0;border-left:4px solid var(--gold)}
.business-card-page{display:grid;gap:18px}
.business-card-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center}
.business-card-toolbar h1{margin:0 0 8px;color:#0b3d16;font-size:clamp(28px,3vw,42px)}
.business-card-stage{display:grid;place-items:center;padding:26px;border-radius:24px;background:#edf4ea;border:1px solid var(--line);overflow:auto}
.business-card-preview{width:525px;min-height:300px;background:#fff;border-radius:22px;box-shadow:0 22px 55px rgba(0,0,0,.18);display:grid;grid-template-columns:155px 1fr;overflow:hidden;border:1px solid rgba(0,0,0,.06)}
.bc-left{background:linear-gradient(135deg,#174d0b,#266C08);color:#fff;padding:28px 22px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border-right:7px solid var(--gold)}
.bc-photo{width:96px;height:96px;border-radius:20px;object-fit:cover;border:3px solid rgba(255,255,255,.9);background:#fff}
.bc-university{font-size:30px;font-weight:900;letter-spacing:.08em}
.bc-main{padding:30px 28px;color:#17351d}
.bc-main h2{margin:0 0 6px;font-size:26px;line-height:1.05;color:#0b3d16}
.bc-rank{font-weight:850;color:var(--green);font-size:15px}
.bc-main p{margin:5px 0;font-size:13px;color:#344b39}
.bc-line{height:3px;width:76px;border-radius:999px;background:var(--gold);margin:14px 0}
.bc-url{font-size:10px!important;word-break:break-all;color:#66756a!important}
.draggable-section-list{display:grid;gap:12px}
.draggable-section-item{display:grid;grid-template-columns:44px 1fr 100px;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fbfdfb;cursor:grab}
.draggable-section-item.dragging{opacity:.55;border-style:dashed}
.drag-handle{width:34px;height:34px;border-radius:12px;background:#edf4ea;color:var(--green);display:grid;place-items:center;font-weight:900}
.section-label-field label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.section-active-toggle{font-weight:800;color:var(--green)}
@media print{.business-card-toolbar,.topbar,.footer{display:none!important}.business-card-stage{background:#fff;border:0;padding:0}.business-card-preview{box-shadow:none;margin:0 auto}.main{margin:0 auto}}
@media(max-width:680px){.business-card-toolbar{align-items:flex-start;flex-direction:column}.business-card-toolbar .btn{width:100%}.business-card-stage{padding:12px}.business-card-preview{width:100%;grid-template-columns:1fr}.bc-left{border-right:0;border-bottom:7px solid var(--gold);gap:18px}.draggable-section-item{grid-template-columns:1fr}.drag-handle{width:100%}}


/* Version 1.7.1 CV PDF must match Web View format */
.cv-pdf-print-mode .cv-page,
.cv-generator-page .cv-page{
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

@media print{
  @page{
    size:A4;
    margin:10mm;
  }
  html,body{
    background:#fff!important;
  }
  body.cv-pdf-print-mode{
    padding:0!important;
  }
  .cv-pdf-print-mode .topbar,
  .cv-pdf-print-mode .footer,
  .cv-pdf-print-mode .cv-actions,
  .cv-pdf-print-mode .alert{
    display:none!important;
  }
  .cv-pdf-print-mode .main{
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .cv-pdf-print-mode .cv-generator-page{
    display:block!important;
  }
  .cv-pdf-print-mode .cv-page{
    width:100%!important;
    max-width:980px!important;
    margin:0 auto!important;
    box-shadow:none!important;
    border-radius:0!important;
    overflow:visible!important;
    page-break-inside:auto;
  }
  .cv-pdf-print-mode .cv-header{
    background:#266C08!important;
    color:#fff!important;
  }
  .cv-pdf-print-mode .cv-sidebar{
    background:#f5f9f3!important;
  }
  .cv-pdf-print-mode .cv-section{
    break-inside:avoid;
    page-break-inside:avoid;
  }
  .cv-pdf-print-mode a{
    color:#266C08!important;
    text-decoration:none!important;
  }
}


/* Version 1.7.2 business card logo enhancement */
.bc-main{position:relative}
.bc-logo{
  position:absolute;
  top:18px;
  right:18px;
  width:56px;
  height:56px;
  object-fit:contain;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  padding:6px;
}
@media(max-width:680px){
  .bc-logo{
    position:static;
    margin:0 0 12px auto;
    display:block;
  }
}


/* Version 1.7.3 business card logo position update */
.bc-left{justify-content:center;gap:14px;text-align:center}
.bc-photo{margin-bottom:4px}
.bc-logo-circle{width:56px;height:56px;object-fit:contain;border-radius:50%;display:block}
.bc-university{margin-top:4px}
/* remove old top-right logo placement */
.bc-main{position:static}
.bc-logo{display:none!important}
@media(max-width:680px){
  .bc-left{padding:22px 18px}
  .bc-logo-circle{width:52px;height:52px}
}


/* Version 1.7.4 publication authors and grant currency */
.repeat-row.pub{
  grid-template-columns:1.5fr 1.5fr 1.2fr .7fr 1.3fr 42px;
}
.repeat-row.academic-item-row.grant{
  grid-template-columns:1.1fr 1.4fr .7fr .7fr .7fr 42px;
}
@media(max-width:900px){
  .repeat-row.pub,
  .repeat-row.academic-item-row.grant{
    grid-template-columns:1fr;
  }
}


/* Version 1.7.6 public staff profile mobile content fit update
   Keeps the header/hero unchanged; fixes Biography and lower content on phone view. */
@media (max-width: 680px){
  .public-profile-layout{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .public-profile-main,
  .public-profile-side{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }

  .public-profile-main .card,
  .public-profile-side .card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  .public-profile-main p,
  .public-profile-side p,
  .publication-item,
  .publication-item h3,
  .publication-item p,
  .custom-field-item,
  .profile-item-card,
  .profile-item-card p,
  .profile-item-card strong,
  .code-url{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    white-space:normal!important;
  }

  .public-profile-layout .table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .public-profile-layout .table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }

  .public-profile-layout .table th,
  .public-profile-layout .table td{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    padding:10px 8px!important;
    font-size:14px!important;
  }

  .public-profile-layout .profile-item-list,
  .public-profile-layout .publication-list,
  .public-profile-layout .custom-field-list,
  .public-profile-layout .skill-list{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .public-profile-layout a{
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
}

@media (max-width: 480px){
  .public-profile-layout{
    gap:14px!important;
  }

  .public-profile-main .card,
  .public-profile-side .card{
    padding:16px!important;
    border-radius:16px!important;
  }

  .public-profile-main h2,
  .public-profile-side h3{
    font-size:20px!important;
    line-height:1.25!important;
  }

  .publication-item h3{
    font-size:17px!important;
    line-height:1.3!important;
  }

  .public-profile-layout .table{
    display:block!important;
  }

  .public-profile-layout .table thead{
    display:none!important;
  }

  .public-profile-layout .table tbody,
  .public-profile-layout .table tr,
  .public-profile-layout .table td{
    display:block!important;
    width:100%!important;
  }

  .public-profile-layout .table tr{
    margin-bottom:12px!important;
    padding:10px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:#fbfdfb!important;
  }

  .public-profile-layout .table td{
    border:0!important;
    padding:5px 0!important;
  }
}


/* Version 1.7.8 staff preview header photo placement fix */
.staff-preview-hero .public-profile-photo{
  justify-self:center;
  align-self:center;
}
.staff-preview-hero .public-profile-photo img{
  object-position:center top;
}
@media(max-width:680px){
  .staff-preview-hero{
    grid-template-columns:1fr!important;
    text-align:center;
  }
  .staff-preview-hero .public-profile-photo{
    width:190px!important;
    height:190px!important;
    margin:0 auto 10px!important;
  }
  .staff-preview-hero .profile-links,
  .staff-preview-hero .approval-actions{
    justify-content:center;
  }
}


/* Version 1.7.9 public directory staff card details and profile view count */
.staff-body-light{
  margin:12px;
  margin-top:14px;
  padding:14px!important;
  border-radius:16px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbf6 100%);
  border:1px solid rgba(38,108,8,.12);
  box-shadow:0 10px 24px rgba(21,55,16,.08);
  color:#17351d;
}
.staff-card-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.staff-card-topline h3{
  margin:0!important;
  color:#0b3d16!important;
  line-height:1.2;
}
.profile-view-count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:999px;
  background:#edf4ea;
  color:#266C08;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(38,108,8,.14);
}
.eye-icon{
  font-size:14px;
  line-height:1;
}
.staff-designation{
  color:#266C08!important;
  font-weight:850;
  margin-top:8px!important;
}
.staff-department{
  color:#324b36!important;
  font-weight:700;
}
@media(max-width:680px){
  .staff-body-light{
    margin:10px;
    padding:13px!important;
  }
  .staff-card-topline{
    align-items:flex-start;
  }
  .staff-card-topline h3{
    font-size:18px!important;
  }
}


/* Version 1.7.10 public directory card compact text update
   Reduces card text size and keeps details from visually covering staff photo/face. */
.staff-card{
  position:relative;
}
.staff-photo{
  min-height:245px;
  position:relative;
  z-index:1;
}
.staff-photo img{
  object-position:center top;
}
.staff-body-light{
  position:relative!important;
  z-index:2;
  margin:8px 10px 10px!important;
  padding:10px 11px!important;
  border-radius:14px!important;
  transform:none!important;
}
.staff-card-topline{
  gap:7px!important;
}
.staff-card-topline h3{
  font-size:16px!important;
  line-height:1.18!important;
  font-weight:850!important;
}
.profile-view-count{
  font-size:10px!important;
  padding:4px 7px!important;
  gap:3px!important;
}
.eye-icon{
  font-size:12px!important;
}
.staff-designation{
  font-size:12.5px!important;
  line-height:1.2!important;
  margin-top:5px!important;
}
.staff-department{
  font-size:12.5px!important;
  line-height:1.25!important;
  margin-top:3px!important;
}
.staff-actions{
  padding:0 10px 12px!important;
}
.staff-actions-split{
  gap:7px!important;
}
.staff-actions .btn-sm{
  font-size:12px!important;
  padding:8px 9px!important;
}
@media(max-width:680px){
  .staff-photo{
    min-height:255px;
  }
  .staff-body-light{
    margin:8px 9px 10px!important;
    padding:10px!important;
  }
  .staff-card-topline h3{
    font-size:15.5px!important;
  }
  .staff-designation,
  .staff-department{
    font-size:12px!important;
  }
}


/* Version 1.7.11 public directory action buttons inside light details box */
.staff-actions-inside-box{
  margin-top:10px!important;
  padding:10px 0 0!important;
  border-top:1px solid rgba(38,108,8,.12);
}
.staff-actions-inside-box .btn-sm{
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:34px;
  font-size:11.5px!important;
  padding:8px 8px!important;
  white-space:nowrap;
}
.staff-body-light + .staff-actions{
  display:none!important;
}
@media(max-width:680px){
  .staff-actions-inside-box{
    margin-top:9px!important;
  }
  .staff-actions-inside-box .btn-sm{
    font-size:11px!important;
    min-height:33px;
  }
}


/* Version 1.7.12 force public directory Popup View / Web View buttons to show */
.staff-card-buttons-visible{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  width:100%!important;
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(38,108,8,.14)!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:20!important;
}
.staff-card-buttons-visible a,
.staff-card-buttons-visible .btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:8px 9px!important;
  border-radius:10px!important;
  font-size:11.5px!important;
  font-weight:850!important;
  line-height:1.1!important;
  text-align:center!important;
  white-space:nowrap!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  text-decoration:none!important;
}
.staff-card-buttons-visible a:first-child{
  background:#266C08!important;
  color:#ffffff!important;
  border:1px solid #266C08!important;
}
.staff-card-buttons-visible a:last-child{
  background:#ffffff!important;
  color:#266C08!important;
  border:1px solid rgba(38,108,8,.25)!important;
}
.staff-body-light{
  overflow:visible!important;
}
@media(max-width:420px){
  .staff-card-buttons-visible{
    grid-template-columns:1fr!important;
  }
}
