:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#17223b;background:#f6f8fc;font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 8%;background:#fff;border-bottom:1px solid #e7ebf3}
.brand{text-decoration:none;font-size:29px;font-weight:850;letter-spacing:-1.5px;color:#17223b}
.brand span,.hero h1 span{color:#4361ee}
.tagline{color:#65718a;font-size:14px}
.hero{max-width:1120px;margin:0 auto;padding:92px 28px 50px}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#4361ee}
h1{font-size:clamp(42px,7vw,76px);line-height:1.06;letter-spacing:-3px;margin:20px 0}
.intro{max-width:620px;color:#65718a;font-size:18px;line-height:1.8}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0 64px}
.button{padding:14px 22px;border-radius:9px;text-decoration:none;font-weight:700}
.primary{background:#4361ee;color:#fff}
.secondary{background:#fff;color:#263452;border:1px solid #dfe5f0}
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.features article{background:#fff;border:1px solid #e7ebf3;border-radius:15px;padding:25px;box-shadow:0 8px 30px #243b5308}
.feature-icon{color:#4361ee;font-weight:850;font-size:13px}
.features h2,.about h2{font-size:19px}
.features p,.about p{color:#65718a;line-height:1.7;font-size:14px}
.about{margin:60px 0 10px;padding:30px;border-radius:15px;background:#eaf0ff}
footer{text-align:center;padding:28px;color:#7b8498;font-size:13px}
@media(max-width:700px){.hero{padding-top:60px}h1{letter-spacing:-1.8px}.features{grid-template-columns:1fr}.topbar{padding:0 22px}.tagline{font-size:12px}}


/* Edunib authentication pages */
.auth-card {
  width: min(100% - 2rem, 460px);
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(20, 45, 90, 0.08);
}

.auth-card h1 {
  margin-top: 0;
}

.auth-card form {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.auth-card label {
  font-weight: 600;
  color: #20304a;
}

.auth-card input {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

.auth-card input:focus {
  outline: 3px solid rgba(45, 105, 220, 0.18);
  border-color: #2d69dc;
}

.auth-card button {
  width: 100%;
  margin-top: 0.6rem;
  cursor: pointer;
  font: inherit;
}

.auth-card a {
  color: #245cc5;
}

.auth-error {
  padding: 0.8rem 1rem;
  color: #8b1e2d;
  background: #fff0f1;
  border: 1px solid #f1c5cb;
  border-radius: 8px;
}

#password-help {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 1.25rem;
  }
}

/* =========================================================
   EDUNIB FOUNDER & FAMILY GOVERNANCE
   Scoped exclusively to .founder-body
   ========================================================= */
.founder-body{--f-bg:#080f1d;--f-panel:#101b2c;--f-panel2:#142238;--f-border:#24334a;--f-gold:#d9b66b;--f-gold-light:#f0d99c;--f-text:#edf1f7;--f-muted:#94a3b8;background:var(--f-bg);color:var(--f-text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}
.founder-body a{color:inherit}
.founder-shell{min-height:100vh;display:grid;grid-template-columns:258px minmax(0,1fr)}
.founder-sidebar{position:sticky;top:0;height:100vh;min-height:620px;padding:27px 17px 20px;background:#0b1423;border-right:1px solid var(--f-border);display:flex;flex-direction:column}
.founder-brand{display:flex;align-items:center;gap:12px;padding:0 10px 29px;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.8px}
.founder-brand-mark{width:42px;height:42px;display:grid;place-items:center;border:1px solid #a98a4e;border-radius:12px;background:linear-gradient(145deg,#e6ca85,#a9823f);color:#111827;font-family:Georgia,serif;font-size:27px}
.founder-brand small{display:block;margin-top:4px;color:var(--f-gold);font-size:8px;font-weight:700;letter-spacing:1.4px}
.founder-sidebar-label,.founder-muted-label{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#8291a8}
.founder-sidebar-label{padding:15px 12px 10px}
.founder-nav{display:grid;gap:5px}
.founder-nav-link{display:flex;align-items:center;gap:12px;min-height:43px;padding:0 12px;text-decoration:none;border:1px solid transparent;border-radius:8px;color:#aab6c8!important;font-size:13px;transition:background .18s,border-color .18s}
.founder-nav-link>span{width:19px;text-align:center;font-size:17px;color:#c2a361}
.founder-nav-link:hover,.founder-nav-link.active{background:#18253a;border-color:#293a52;color:#fff!important}
.founder-nav-link.active{box-shadow:inset 2px 0 var(--f-gold)}
.founder-sidebar-note{display:flex;gap:10px;align-items:center;margin-top:auto;padding:14px 10px;border:1px solid var(--f-border);border-radius:10px;background:#101c2e}
.founder-status-dot,.founder-profile-status>span{width:8px;height:8px;flex:none;border-radius:50%;background:#76c69a;box-shadow:0 0 0 4px #76c69a18}
.founder-sidebar-note strong,.founder-sidebar-note small{display:block}
.founder-sidebar-note strong{font-size:11px}
.founder-sidebar-note small{margin-top:5px;color:var(--f-muted);font-size:10px}
.founder-sidebar-footer{display:grid;gap:5px;padding:19px 10px 0;color:#728096;font-size:9px;letter-spacing:.7px}
.founder-sidebar-footer span+span{font-size:10px;letter-spacing:0}
.founder-main{min-width:0}
.founder-topbar{min-height:78px;padding:15px clamp(20px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--f-border);background:#0b1423}
.founder-breadcrumb{margin-bottom:5px;color:#8291a8;font-size:11px}
.founder-breadcrumb span{padding:0 6px;color:var(--f-gold)}
.founder-topbar-title{font-size:15px;font-weight:750;letter-spacing:.1px}
.founder-topbar-actions{display:flex;align-items:center;gap:20px}
.founder-private-label{display:flex;align-items:center;gap:8px;color:#c5b27e;font-size:9px;font-weight:800;letter-spacing:1px}
.founder-private-label span{width:6px;height:6px;border-radius:50%;background:var(--f-gold)}
.founder-topbar form{margin:0}
.founder-logout{padding:9px 13px;border:1px solid #35445b;border-radius:7px;background:transparent;color:#dce3ed;font:inherit;font-size:11px;cursor:pointer}
.founder-logout:hover{border-color:var(--f-gold);color:var(--f-gold-light)}
.founder-content{width:min(100%,1450px);margin:auto;padding:30px clamp(20px,4vw,54px) 20px}
.founder-welcome{position:relative;overflow:hidden;min-height:265px;padding:35px 35px 0;border:1px solid #695736;border-radius:14px;background:radial-gradient(ellipse at 83% 40%,#29344a 0,transparent 38%),linear-gradient(115deg,#17243a 0%,#101b2c 70%,#172239 100%)}
.founder-welcome:after{content:"";position:absolute;right:8%;top:-100px;width:310px;height:310px;border:1px solid #d9b66b20;border-radius:50%;pointer-events:none}
.founder-welcome-copy{position:relative;z-index:1;max-width:620px;padding-bottom:40px}
.founder-eyebrow{display:flex;align-items:center;gap:9px;color:var(--f-gold);font-size:9px;font-weight:800;letter-spacing:1.7px}
.founder-eyebrow span{width:22px;height:1px;background:var(--f-gold)}
.founder-welcome h1{margin:19px 0 12px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3.2vw,45px);font-weight:500;line-height:1.17;letter-spacing:-1.2px}
.founder-welcome h1 span{color:var(--f-gold-light)}
.founder-welcome-copy>p{max-width:510px;margin:0;color:#b4bfd0;font-size:12px;line-height:1.9}
.founder-seal{position:absolute;right:10%;top:40px;z-index:0;width:158px;height:158px;display:grid;place-items:center;border:1px solid #d9b66b55;border-radius:50%;box-shadow:0 0 0 9px #d9b66b09,0 0 0 19px #d9b66b06}
.founder-seal-inner{width:128px;height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #d9b66b45;border-radius:50%;color:var(--f-gold)}
.founder-seal-inner strong{font-family:Georgia,serif;font-size:57px;font-weight:400;line-height:1}
.founder-seal-inner span{font-size:7px;letter-spacing:2px}
.founder-welcome-footer{position:relative;z-index:1;min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff19;color:#94a3b8;font-size:9px;letter-spacing:1px}
.founder-welcome-footer strong{color:var(--f-gold-light);font-weight:700;letter-spacing:.2px}
.founder-profile-row{display:flex;align-items:center;gap:14px;padding:23px 0 27px;border-bottom:1px solid var(--f-border)}
.founder-profile-avatar{width:45px;height:45px;display:grid;place-items:center;flex:none;border:1px solid #987b42;border-radius:50%;background:#252b37;color:var(--f-gold-light);font-family:Georgia,serif;font-size:24px}
.founder-profile-info{min-width:0}
.founder-profile-info h2{margin:5px 0 4px;font-size:15px;font-weight:750}
.founder-profile-info p{margin:0;color:var(--f-muted);font-size:11px}
.founder-profile-status{display:flex;align-items:center;gap:9px;margin-left:auto;padding:8px 11px;border:1px solid #315242;border-radius:20px;background:#142a26;color:#b6e1c7;font-size:10px}
.founder-section{margin-top:29px}
.founder-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:16px}
.founder-section-heading h2{margin:7px 0 0;font-size:19px;font-weight:700;letter-spacing:-.3px}
.founder-section-caption{margin:0;color:#8291a8;font-size:10px}
.founder-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.founder-stat-card{min-width:0;padding:18px;border:1px solid var(--f-border);border-radius:10px;background:var(--f-panel)}
.founder-stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#aab7c9;font-size:11px}
.founder-stat-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #6d58334d;border-radius:8px;color:var(--f-gold);font-size:16px}
.founder-stat-value{margin-top:15px;color:#f7f8fa;font-size:31px;font-weight:750;letter-spacing:-1px;overflow-wrap:anywhere}
.founder-stat-card>p{margin:7px 0 0;color:#8291a8;font-size:10px;line-height:1.65}
.founder-stat-card-accent{background:linear-gradient(130deg,#1c2b40,#182337);border-color:#5c4d30}
.founder-stat-word{font-family:Georgia,serif;font-size:23px;font-weight:500;letter-spacing:0;color:var(--f-gold-light)}
.founder-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.founder-domain-card{scroll-margin-top:20px;min-width:0;padding:19px 18px 17px;border:1px solid var(--f-border);border-radius:10px;background:linear-gradient(145deg,#111e30,#0f1929);transition:border-color .18s,transform .18s}
.founder-domain-card:hover{border-color:#78623c;transform:translateY(-2px)}
.founder-domain-icon{width:36px;height:36px;display:grid;place-items:center;margin-bottom:18px;border:1px solid #8c70404d;border-radius:9px;background:#d9b66b0c;color:var(--f-gold);font-size:19px}
.founder-domain-tag{color:#bca66f;font-size:8px;font-weight:800;letter-spacing:1.3px}
.founder-domain-card h3{margin:8px 0;color:#edf1f7;font-size:14px}
.founder-domain-card p{min-height:61px;margin:0 0 17px;color:#9aa8bb;font-size:11px;line-height:1.8}
.founder-domain-status{display:block;padding-top:12px;border-top:1px solid #26344a;color:#8998ac;font-size:9px;line-height:1.6}
.founder-separation-note{display:flex;align-items:flex-start;gap:15px;margin-top:27px;padding:20px;border:1px solid #69573680;border-radius:10px;background:#171f2d}
.founder-separation-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;border:1px solid #d9b66b50;border-radius:9px;color:var(--f-gold);font-size:16px}
.founder-separation-note h3{margin:1px 0 7px;font-size:13px}
.founder-separation-note p{max-width:820px;margin:0;color:#9aa8bb;font-size:11px;line-height:1.85}
.founder-footer{display:flex;justify-content:space-between;gap:15px;padding:23px 0 4px;color:#74839a;font-size:9px;letter-spacing:.4px}
.founder-gold-text{padding:0 5px;color:var(--f-gold);font-size:8px}
.founder-footer span+span{letter-spacing:0}
.founder-body :focus-visible{outline:2px solid var(--f-gold-light);outline-offset:3px}
@media(max-width:1150px){.founder-shell{grid-template-columns:220px minmax(0,1fr)}.founder-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.founder-seal{right:7%;width:125px;height:125px}.founder-seal-inner{width:101px;height:101px}.founder-seal-inner strong{font-size:44px}}
@media(max-width:760px){.founder-shell{grid-template-columns:1fr}.founder-sidebar{position:relative;height:auto;min-height:0;padding:15px 17px;border-right:0;border-bottom:1px solid var(--f-border)}.founder-brand{padding:0 3px 14px}.founder-sidebar-label,.founder-sidebar-note,.founder-sidebar-footer{display:none}.founder-nav{display:flex;gap:6px;overflow-x:auto;padding:5px 0 1px}.founder-nav-link{flex:none;min-height:36px;padding:0 10px;font-size:11px}.founder-nav-link>span{font-size:14px}.founder-topbar{padding:14px 19px}.founder-private-label{display:none}.founder-content{padding:20px 18px}.founder-welcome{padding:27px 22px 0}.founder-seal{right:18px;top:27px;width:82px;height:82px;opacity:.55}.founder-seal-inner{width:65px;height:65px}.founder-seal-inner strong{font-size:29px}.founder-seal-inner span{font-size:5px}.founder-welcome-copy{padding-bottom:28px}.founder-welcome h1{font-size:32px;max-width:420px}.founder-welcome-copy>p{max-width:390px;padding-right:0}.founder-stat-grid{grid-template-columns:1fr}.founder-stat-card{padding:15px}.founder-stat-value{margin-top:8px}.founder-stat-card>p{margin-top:4px}.founder-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.founder-domain-card{padding:15px}.founder-domain-card p{min-height:0}.founder-section-heading{align-items:flex-start}.founder-section-caption{max-width:130px;text-align:right;line-height:1.6}}
@media(max-width:460px){.founder-domain-grid{grid-template-columns:1fr}.founder-domain-card p{margin-bottom:13px}.founder-domain-icon{margin-bottom:12px}.founder-profile-row{gap:10px}.founder-profile-status{padding:7px 8px;font-size:9px}.founder-profile-info h2{font-size:13px}.founder-profile-info p{font-size:10px}.founder-welcome h1{font-size:28px;letter-spacing:-.6px}.founder-welcome-copy>p{font-size:11px}.founder-welcome-footer{font-size:8px}.founder-footer{flex-direction:column;gap:7px}.founder-topbar-title{font-size:13px}}


/* =========================================================
   FOUNDER ROYAL THEME OVERRIDE
   Scoped exclusively to the Founder dashboard.
   ========================================================= */
.founder-body {
  --f-bg: #f4f7fc;
  --f-panel: #ffffff;
  --f-panel2: #edf2fa;
  --f-border: #dbe3ef;
  --f-gold: #c9a227;
  --f-gold-light: #f0d77a;
  --f-text: #18345f;
  --f-muted: #61718a;
  background: var(--f-bg);
  color: var(--f-text);
  color-scheme: light;
}
.founder-body .founder-sidebar {
  background: #102f68;
  border-right-color: #c9a227;
}
.founder-body .founder-brand { color: #ffffff; }
.founder-body .founder-brand-mark {
  background: linear-gradient(145deg, #f0d77a, #c9a227);
  border-color: #f0d77a;
  color: #102f68;
}
.founder-body .founder-sidebar-label,
.founder-body .founder-muted-label { color: #66758d; }
.founder-body .founder-sidebar .founder-muted-label { color: #e4d39b; }
.founder-body .founder-nav-link { color: #f2f5fb !important; }
.founder-body .founder-nav-link > span { color: #f0d77a; }
.founder-body .founder-nav-link:hover,
.founder-body .founder-nav-link.active {
  background: #1b447f;
  border-color: #c9a227;
  color: #ffffff !important;
}
.founder-body .founder-sidebar-note {
  background: #173b75;
  border-color: #c9a227;
  color: #ffffff;
}
.founder-body .founder-sidebar-note small { color: #e1e9f7; }
.founder-body .founder-sidebar-footer { color: #d6e0f2; }
.founder-body .founder-topbar {
  background: #ffffff;
  border-bottom-color: #dbe3ef;
}
.founder-body .founder-breadcrumb,
.founder-body .founder-section-caption { color: #61718a; }
.founder-body .founder-topbar-title { color: #102f68; }
.founder-body .founder-private-label { color: #785b09; }
.founder-body .founder-logout {
  border-color: #c9a227;
  color: #102f68;
  background: #fffdf5;
}
.founder-body .founder-logout:hover {
  background: #fff4c7;
  border-color: #a98412;
  color: #102f68;
}
.founder-body .founder-welcome {
  border-color: #c9a227;
  background:
    radial-gradient(ellipse at 85% 35%, #24518b 0, transparent 39%),
    linear-gradient(115deg, #102f68 0%, #173e78 70%, #0e2a5b 100%);
}
.founder-body .founder-welcome h1 { color: #ffffff; }
.founder-body .founder-welcome h1 span { color: #f0d77a; }
.founder-body .founder-welcome-copy > p { color: #edf3ff; }
.founder-body .founder-welcome-footer { color: #e1e9f7; }
.founder-body .founder-welcome-footer strong { color: #f0d77a; }
.founder-body .founder-profile-row { border-bottom-color: #dbe3ef; }
.founder-body .founder-profile-avatar {
  background: #fff4c7;
  border-color: #c9a227;
  color: #102f68;
}
.founder-body .founder-profile-info h2 { color: #102f68; }
.founder-body .founder-profile-info p { color: #61718a; }
.founder-body .founder-profile-status {
  background: #e5f6ef;
  border-color: #a9d9c2;
  color: #176344;
}
.founder-body .founder-stat-card {
  background: #ffffff;
  border-color: #dbe3ef;
  box-shadow: 0 5px 18px #102f6808;
}
.founder-body .founder-stat-top { color: #61718a; }
.founder-body .founder-stat-icon {
  background: #fff8df;
  border-color: #e6d28c;
  color: #8a6807;
}
.founder-body .founder-stat-value { color: #102f68; }
.founder-body .founder-stat-card > p { color: #61718a; }
.founder-body .founder-stat-card-accent {
  background: linear-gradient(135deg, #fffdf5, #fff4cf);
  border-color: #d7b94e;
}
.founder-body .founder-stat-word { color: #785b09; }
.founder-body .founder-domain-card {
  background: #ffffff;
  border-color: #dbe3ef;
  box-shadow: 0 5px 18px #102f6808;
}
.founder-body .founder-domain-card:hover {
  border-color: #c9a227;
  box-shadow: 0 9px 24px #102f6814;
}
.founder-body .founder-domain-icon {
  background: #fff8df;
  border-color: #e6d28c;
  color: #8a6807;
}
.founder-body .founder-domain-tag { color: #785b09; }
.founder-body .founder-domain-card h3 { color: #102f68; }
.founder-body .founder-domain-card p { color: #53647c; }
.founder-body .founder-domain-status {
  border-top-color: #e4e9f1;
  color: #61718a;
}
.founder-body .founder-separation-note {
  background: #fffdf5;
  border-color: #d7b94e;
}
.founder-body .founder-separation-note h3 { color: #102f68; }
.founder-body .founder-separation-note p { color: #53647c; }
.founder-body .founder-separation-icon {
  background: #fff4c7;
  border-color: #c9a227;
  color: #785b09;
}
.founder-body .founder-footer { color: #61718a; }
.founder-body .founder-gold-text { color: #a98412; }
.founder-body :focus-visible {
  outline: 2px solid #a98412;
  outline-offset: 3px;
}

/* Founder designation workflow */
.founder-body .founder-designation-notice {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.founder-body .founder-designation-notice.is-success {
  background: #eaf7f0;
  border-color: #a9d9c2;
  color: #176344;
}
.founder-body .founder-designation-notice.is-error {
  background: #fff1ef;
  border-color: #e8b7b0;
  color: #8b2920;
}
.founder-body .founder-designation-form {
  margin-top: 18px;
  padding: 18px;
  background: #fbfcff;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
}
.founder-body .founder-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.founder-body .founder-designation-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #102f68;
  font-size: 0.88rem;
  font-weight: 650;
}
.founder-body .founder-designation-form input,
.founder-body .founder-designation-form select,
.founder-body .founder-designation-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cbd5e3;
  border-radius: 8px;
  background: #ffffff;
  color: #172b4d;
  font: inherit;
  font-weight: 400;
}
.founder-body .founder-designation-form input:focus,
.founder-body .founder-designation-form select:focus,
.founder-body .founder-designation-form textarea:focus {
  border-color: #a98412;
  outline: 2px solid #c9a22735;
  outline-offset: 1px;
}
.founder-body .founder-designation-form .founder-form-description {
  margin-top: 14px;
}
.founder-body .founder-designation-form button {
  margin-top: 16px;
  padding: 12px 18px;
  border: 1px solid #c9a227;
  border-radius: 9px;
  background: #102f68;
  color: #fff8df;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.founder-body .founder-designation-form button:hover:not(:disabled) {
  background: #17417f;
}
.founder-body .founder-designation-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.founder-body .founder-form-help {
  margin: 10px 0 0;
  color: #61718a;
  font-size: 0.82rem;
  line-height: 1.55;
}
.founder-body .founder-designation-list {
  margin-top: 24px;
}
.founder-body .founder-designation-list h4 {
  margin: 0 0 12px;
  color: #102f68;
  font-size: 1rem;
}
.founder-body .founder-designation-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
}
.founder-body .founder-designation-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  color: #263b59;
  font-size: 0.85rem;
}
.founder-body .founder-designation-table th,
.founder-body .founder-designation-table td {
  padding: 12px;
  border-bottom: 1px solid #e4e9f1;
  text-align: left;
  vertical-align: top;
}
.founder-body .founder-designation-table th {
  background: #fff8df;
  color: #785b09;
  font-weight: 700;
  white-space: nowrap;
}
.founder-body .founder-designation-table tbody tr:last-child td {
  border-bottom: 0;
}
.founder-body .founder-designation-table td strong,
.founder-body .founder-designation-table td small {
  display: block;
}
.founder-body .founder-designation-table td small {
  margin-top: 5px;
  color: #61718a;
}
@media (max-width: 640px) {
  .founder-body .founder-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .founder-body .founder-designation-form {
    padding: 13px;
  }
  .founder-body .founder-designation-table th,
  .founder-body .founder-designation-table td {
    padding: 9px;
  }
}


/* Founder platform designation modal and management */
.founder-designation-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}
.founder-designation-actions button,.founder-designation-modal button,.founder-designation-edit button,.founder-designation-danger{cursor:pointer;border:0;border-radius:9px;padding:10px 15px;font-weight:700}
.founder-designation-actions button{background:#c8a75b;color:#17243a}
.founder-designation-actions .founder-designation-secondary{background:#17243a;color:#f4d88a;border:1px solid #c8a75b}
.founder-designation-modal{position:fixed;inset:0;z-index:9999;background:rgba(5,12,25,.78);align-items:center;justify-content:center;padding:18px;overflow:auto}
.founder-designation-modal-panel{width:min(850px,100%);max-height:92vh;overflow:auto;background:#fffdf8;color:#17243a;border:1px solid #c8a75b;border-radius:16px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.founder-designation-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.founder-designation-modal-heading h3{margin:0}
.founder-designation-modal-heading button{background:#17243a;color:white}
.founder-designation-edit{margin-top:8px}
.founder-designation-edit summary{cursor:pointer;font-weight:700;color:#8a6924;margin:8px 0}
.founder-designation-edit form{display:grid;gap:10px;min-width:220px;padding:10px 0}
.founder-designation-edit label{display:grid;gap:5px;font-size:.9rem}
.founder-designation-edit input,.founder-designation-edit select,.founder-designation-edit textarea{width:100%;max-width:100%;box-sizing:border-box;padding:8px;border:1px solid #c7cbd2;border-radius:6px}
.founder-designation-edit button{background:#17243a;color:#fff}
.founder-designation-danger{background:#8e2929;color:#fff;margin-top:8px}
#designationManagement{overflow-x:auto}
@media(max-width:600px){.founder-designation-modal-panel{padding:14px}.founder-designation-actions button{flex:1}}

/* Founder designation page-link fix */
.founder-body .founder-designation-actions .founder-designation-secondary,
.founder-body a.founder-designation-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 15px;
    border: 1px solid #c8a75b;
    border-radius: 9px;
    background: #fff8df;
    color: #17243a;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}
.founder-body a.founder-designation-secondary:hover {
    background: #f3e3ad;
    color: #102f68;
}
.founder-body a.founder-designation-secondary:focus-visible {
    outline: 2px solid #c8a75b;
    outline-offset: 3px;
}
.founder-body #designation-management-page {
    width: 100%;
}
.founder-body #designation-management-page .founder-designation-list {
    display: block;
    margin-top: 18px;
}

/* Founder governance form layout refinement */
.founder-body .founder-domain-card {
    min-width: 0;
    overflow-wrap: anywhere;
}
.founder-body .founder-appointment-create,
.founder-body .founder-appointment-list,
.founder-body .founder-permissions-panel {
    min-width: 0;
}
.founder-body .founder-appointment-create form,
.founder-body .founder-appointment-entry form,
.founder-body .founder-permissions-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin: 12px 0 18px;
}
.founder-body .founder-domain-card label {
    display: block;
    margin: 4px 0 2px;
    color: #34445e;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.founder-body .founder-domain-card input:not([type="hidden"]),
.founder-body .founder-domain-card select,
.founder-body .founder-domain-card textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 4px;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #17243a;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
}
.founder-body .founder-domain-card input:focus,
.founder-body .founder-domain-card select:focus,
.founder-body .founder-domain-card textarea:focus {
    border-color: #c8a75b;
    outline: 2px solid #c8a75b33;
    outline-offset: 1px;
}
.founder-body .founder-domain-card button {
    justify-self: start;
    max-width: 100%;
    margin-top: 6px;
    padding: 9px 13px;
    border: 1px solid #b9943e;
    border-radius: 7px;
    background: #c8a75b;
    color: #17243a;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}
.founder-body .founder-appointment-entry {
    min-width: 0;
    margin: 12px 0;
    padding: 14px;
    border: 1px solid #e0e6ef;
    border-radius: 9px;
    background: #f9fbfe;
}
.founder-body .founder-appointment-entry p {
    min-height: 0;
    margin: 5px 0;
    font-size: 12px;
    line-height: 1.6;
}
.founder-body .founder-domain-card h4 {
    margin: 18px 0 10px;
    color: #102f68;
    font-size: 13px;
    line-height: 1.5;
}
.founder-body .founder-domain-card p {
    overflow-wrap: anywhere;
    line-height: 1.7;
}
.founder-body .founder-succession-panel,
.founder-body .founder-audit-panel {
    min-width: 0;
}
@media (max-width: 760px) {
    .founder-body .founder-domain-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .founder-body .founder-domain-card {
        padding: 16px;
    }
}

/* FOUNDER APPOINTMENT CREATION MODAL */
.founder-body .founder-appointment-modal {
    align-items: flex-start;
    padding: 22px 14px;
}
.founder-body .founder-appointment-modal-panel {
    width: min(980px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.founder-body .founder-appointment-modal-panel > .founder-form-help {
    margin: 0 0 18px;
}
.founder-body #appointmentCreateForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.founder-body #appointmentCreateForm > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    color: #26364d;
    font-size: .9rem;
    font-weight: 650;
}
.founder-body #appointmentCreateForm input,
.founder-body #appointmentCreateForm select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #cbd2dd;
    border-radius: 8px;
    background: #fff;
    color: #17243a;
    font: inherit;
}
.founder-body #appointmentCreateForm input[type="file"] {
    padding: 8px;
    background: #fffdf8;
}
.founder-body #appointmentCreateForm input:focus,
.founder-body #appointmentCreateForm select:focus {
    outline: 2px solid #c8a75b;
    outline-offset: 1px;
}
.founder-body #appointmentCreateForm .founder-form-help {
    margin: 0;
    font-weight: 400;
}
.founder-body #appointmentCreateForm .founder-appointment-photo,
.founder-body #appointmentCreateForm .founder-appointment-submit {
    grid-column: 1 / -1;
}
.founder-body #appointmentCreateForm .founder-appointment-submit {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}
.founder-body #appointmentCreateForm .founder-appointment-submit button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #c8a75b;
    border-radius: 9px;
    background: #17243a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.founder-body #appointmentCreateForm .founder-appointment-submit button[type="submit"] {
    background: #c8a75b;
    color: #17243a;
}
.founder-body #appointmentCreateForm .founder-appointment-submit button:hover {
    filter: brightness(1.06);
}
@media (max-width: 640px) {
    .founder-body .founder-appointment-modal {
        padding: 10px;
    }
    .founder-body .founder-appointment-modal-panel {
        max-height: calc(100vh - 20px);
        padding: 14px;
    }
    .founder-body #appointmentCreateForm {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .founder-body #appointmentCreateForm .founder-appointment-photo,
    .founder-body #appointmentCreateForm .founder-appointment-submit {
        grid-column: auto;
    }
}

/* Founder appointment profile-photo cropper */
.appointment-crop-editor {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(180, 145, 75, 0.35);
  border-radius: 14px;
  background: rgba(10, 25, 48, 0.035);
}

.appointment-crop-editor[hidden],
.appointment-crop-preview[hidden] {
  display: none !important;
}

.appointment-crop-stage {
  width: min(100%, 400px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid #b99a54;
  border-radius: 10px;
  background: #111827;
  touch-action: none;
}

#appointmentCropCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#appointmentCropCanvas:active {
  cursor: grabbing;
}

.appointment-crop-controls {
  display: grid;
  gap: 10px;
}

.appointment-crop-controls label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

#appointmentCropZoom {
  width: 100%;
  accent-color: #b99a54;
  cursor: pointer;
}

#appointmentCropReset {
  justify-self: start;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #b99a54;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#appointmentCropReset:hover {
  background: rgba(185, 154, 84, 0.12);
}

.appointment-crop-preview {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 2px solid #b99a54;
  border-radius: 50%;
  background: #fff;
}

#appointmentCropStatus {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Edunib Platform Workspace Layout */
.platform-shell {
    --platform-navy: #111c35;
    --platform-navy-soft: #1b2948;
    --platform-gold: #b99a54;
    --platform-gold-light: #ead8a7;
    --platform-text: #17223b;
    --platform-muted: #65718a;
    display: flex;
    min-height: 100vh;
    color: var(--platform-text);
    background: #f4f6fb;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.platform-shell a {
    color: inherit;
}

.platform-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex: 0 0 260px;
    flex-direction: column;
    align-self: flex-start;
    width: 260px;
    height: 100vh;
    min-height: 560px;
    padding: 26px 18px;
    overflow-y: auto;
    color: #f7f8fc;
    background: linear-gradient(180deg, var(--platform-navy), #0b1327);
    border-right: 1px solid rgba(185, 154, 84, .35);
}

.platform-brand {
    display: block;
    padding: 8px 12px 26px;
    color: #fff !important;
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -1.2px;
    text-decoration: none;
}

.platform-brand span {
    color: var(--platform-gold-light);
}

.platform-brand small {
    display: block;
    margin-top: 5px;
    color: #b9c2d5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.platform-nav-label {
    padding: 14px 12px 10px;
    color: #aab4ca;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.platform-nav {
    display: grid;
    gap: 6px;
}

.platform-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #dce3f1;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.platform-nav a span {
    width: 20px;
    color: var(--platform-gold-light);
    text-align: center;
}

.platform-nav a:hover {
    background: rgba(255, 255, 255, .07);
}

.platform-nav a.active {
    color: #fff;
    background: rgba(185, 154, 84, .16);
    border-color: rgba(185, 154, 84, .42);
    box-shadow: inset 3px 0 var(--platform-gold);
}

.platform-sidebar-note {
    margin-top: auto;
    padding: 16px 12px 4px;
    color: #b9c2d5;
    font-size: 12px;
    line-height: 1.7;
}

.platform-sidebar-note strong {
    color: var(--platform-gold-light);
}

.platform-content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 30px 24px;
}

.platform-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
    margin: 0 -30px 30px;
    padding: 17px 30px;
    background: #fff;
    border-bottom: 1px solid #e4e8f0;
}

.platform-topbar > div:first-child small {
    display: block;
    margin-bottom: 5px;
    color: var(--platform-muted);
    font-size: 12px;
}

.platform-topbar > div:first-child strong {
    color: var(--platform-navy);
    font-size: 17px;
}

.platform-topbar-actions,
.platform-header-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.platform-header-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #e4d2a3;
    border-radius: 50%;
    color: var(--platform-navy);
    background: #f5edda;
    font-weight: 800;
}

.platform-header-identity strong,
.platform-header-identity small {
    display: block;
}

.platform-header-identity strong {
    max-width: 220px;
    overflow: hidden;
    color: var(--platform-navy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.platform-header-identity small {
    color: var(--platform-muted);
    font-size: 12px;
}

.platform-logout {
    padding: 9px 13px;
    border: 1px solid #d9deea;
    border-radius: 8px;
    color: var(--platform-navy);
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.platform-logout:hover {
    border-color: var(--platform-gold);
    background: #fbf8f0;
}

.platform-section {
    margin-bottom: 26px;
    padding: 25px;
    border: 1px solid #e4e8f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(20, 35, 65, .035);
}

.platform-section h1,
.platform-section h2,
.platform-section h3 {
    color: var(--platform-navy);
}

.platform-section h1 {
    margin: 0 0 9px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.platform-section h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.platform-section p {
    color: var(--platform-muted);
}

.platform-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 16px;
}

.platform-module {
    padding: 20px;
    border: 1px solid #e4e8f0;
    border-radius: 12px;
    background: #fff;
}

.platform-module-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #80662d;
    background: #f5edda;
    font-size: 20px;
}

.platform-module h3 {
    margin: 14px 0 7px;
}

.platform-module p {
    color: var(--platform-muted);
    line-height: 1.7;
}

.platform-module a {
    color: #80662d;
    font-weight: 750;
    text-decoration: none;
}

.platform-module a:hover {
    text-decoration: underline;
}

.platform-status {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #e4d2a3;
    border-radius: 999px;
    color: #6d5522;
    background: #faf4e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}

.platform-empty {
    padding: 22px;
    border: 1px dashed #d8deea;
    border-radius: 10px;
    color: var(--platform-muted);
    background: #fafbfe;
}

.platform-shell .platform-users-page {
    display: grid;
    gap: 20px;
}

.platform-users-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.platform-users-intro h1 {
    margin: 0 0 8px;
}

.platform-users-intro p {
    margin: 0;
}

.platform-users-count {
    min-width: 190px;
    padding: 14px 18px;
    border: 1px solid #e4d2a3;
    border-radius: 12px;
    background: #fbf8f0;
}

.platform-users-count strong {
    display: block;
    color: var(--platform-navy);
    font-size: 25px;
}

.platform-users-count span {
    color: var(--platform-muted);
    font-size: 12px;
}

.platform-users-table-wrap {
    overflow-x: auto;
    border: 1px solid #e4e8f0;
    border-radius: 12px;
}

.platform-users-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.platform-users-table th,
.platform-users-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e8ebf2;
}

.platform-users-table th {
    color: #66718a;
    background: #f8f9fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.platform-users-table tbody tr:hover {
    background: #fcfbf7;
}

.platform-users-table tbody tr:last-child td {
    border-bottom: 0;
}

.platform-user-name {
    color: var(--platform-navy);
    font-weight: 750;
}

.platform-user-secondary {
    display: block;
    margin-top: 4px;
    color: var(--platform-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.platform-user-status {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #dce8dd;
    border-radius: 999px;
    color: #28603b;
    background: #eff7f0;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.platform-users-note {
    color: var(--platform-muted);
    font-size: 12px;
    line-height: 1.7;
}

.platform-shell .platform-footer,
.platform-shell footer {
    color: #7b8498;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 1000px) {
    .platform-sidebar {
        flex-basis: 225px;
        width: 225px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .platform-content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .platform-topbar {
        margin-right: -20px;
        margin-left: -20px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 720px) {
    .platform-shell {
        display: block;
    }

    .platform-sidebar {
        position: static;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 12px 14px;
    }

    .platform-brand {
        padding: 4px 8px 12px;
        font-size: 24px;
    }

    .platform-nav-label,
    .platform-sidebar-note {
        display: none;
    }

    .platform-nav {
        display: flex;
        gap: 6px;
        padding: 4px 0 8px;
        overflow-x: auto;
    }

    .platform-nav a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 9px 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    .platform-content {
        padding: 0 14px 20px;
    }

    .platform-topbar {
        align-items: flex-start;
        margin: 0 -14px 18px;
        padding: 14px;
    }

    .platform-topbar-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 9px;
    }

    .platform-header-identity {
        gap: 8px;
    }

    .platform-header-avatar {
        width: 34px;
        height: 34px;
    }

    .platform-header-identity strong {
        max-width: 125px;
        font-size: 12px;
    }

    .platform-header-identity small {
        font-size: 11px;
    }

    .platform-section {
        padding: 18px 14px;
    }

    .platform-users-table {
        min-width: 820px;
    }
}

@media (max-width: 420px) {
    .platform-topbar {
        display: grid;
    }

    .platform-topbar-actions {
        justify-content: space-between;
    }

    .platform-users-count {
        width: 100%;
    }
}

/* Platform Overview welcome card and appointment profile */
.platform-shell .platform-welcome {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(185, 154, 84, .35);
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(115deg, #111c35, #1b2948 70%, #806a3c);
    box-shadow: 0 12px 28px rgba(17, 28, 53, .12);
}

.platform-shell .platform-welcome::after {
    content: "";
    position: absolute;
    right: -65px;
    top: -110px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(234, 216, 167, .35);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255,255,255,.035), 0 0 0 48px rgba(255,255,255,.025);
    pointer-events: none;
}

.platform-shell .platform-eyebrow {
    position: relative;
    z-index: 1;
    color: #ead8a7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.platform-shell .platform-welcome h1 {
    position: relative;
    z-index: 1;
    margin: 16px 0 10px;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.platform-shell .platform-welcome p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0;
    color: #e0e5ef;
    line-height: 1.8;
}

.platform-shell .platform-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 22px 0 26px;
    padding: 20px;
    border: 1px solid #e4d9bd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(20, 35, 65, .035);
}

.platform-shell .platform-avatar {
    display: grid;
    flex: none;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #e4d2a3;
    border-radius: 14px;
    color: #111c35;
    background: #f5edda;
    font-size: 20px;
    font-weight: 800;
}

.platform-shell .platform-profile-info {
    min-width: 0;
}

.platform-shell .platform-profile-info h2 {
    margin: 0 0 5px;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.platform-shell .platform-profile-info p {
    margin: 4px 0 0;
    color: #65718a;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.platform-shell .platform-status {
    margin-left: auto;
    padding: 7px 10px;
    border: 1px solid #d8c48f;
    border-radius: 20px;
    color: #5d4a20;
    background: #fbf7eb;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .platform-shell .platform-welcome {
        padding: 23px;
    }

    .platform-shell .platform-profile {
        flex-wrap: wrap;
    }

    .platform-shell .platform-status {
        margin-left: 0;
    }
}

/* =========================================================
   EDUNIB PUBLIC HOMEPAGE — scoped styles
   Keeps Founder and Platform dashboard styles untouched.
   ========================================================= */
.edunib-home {
  --home-navy: #102b46;
  --home-navy-deep: #0a2036;
  --home-teal: #087f70;
  --home-green: #16a085;
  --home-mint: #e7f5f1;
  --home-ink: #19334b;
  --home-muted: #62768a;
  --home-line: #dce8e9;
  --home-white: #fff;
  background: #f5f9f8;
  color: var(--home-ink);
  overflow-x: clip;
}
.edunib-home a:focus-visible,
.edunib-home button:focus-visible,
.edunib-home input:focus-visible {
  outline: 3px solid #35b7a0;
  outline-offset: 3px;
}
.edunib-home .topbar.home-header {
  min-height: 72px;
  height: auto;
  gap: 18px;
  padding: 12px clamp(14px, 4vw, 54px);
  background: var(--home-white);
  border-bottom: 1px solid var(--home-line);
}
.edunib-home .home-brand {
  flex: 0 0 auto;
  color: var(--home-navy);
  font-size: clamp(24px, 3vw, 30px);
}
.edunib-home .home-brand span { color: var(--home-teal); }
.edunib-home .tagline {
  margin-right: auto;
  color: var(--home-muted);
}
.edunib-home .header-login {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.edunib-home .home-login {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--home-teal);
  border-radius: 8px;
  color: var(--home-teal);
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.edunib-home .home-login.platform-login {
  background: var(--home-navy);
  color: #fff;
  border-color: var(--home-navy);
}
.edunib-home .community-login-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100% - 20px, 900px);
  margin: 10px auto 0;
}
.edunib-home .community-login {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 4px;
  border: 1px solid #d3e8e2;
  border-radius: 9px;
  background: #fff;
  color: var(--home-navy);
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgb(16 43 70 / 4%);
}
.edunib-home .community-login > span {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--home-mint);
  color: var(--home-teal);
  font-size: 11px;
}
.edunib-home .community-login:hover,
.edunib-home .home-login:hover {
  border-color: var(--home-green);
  filter: brightness(.98);
}
.edunib-home main { width: 100%; }
.edunib-home .education-slider {
  position: relative;
  isolation: isolate;
  width: min(100% - 24px, 1320px);
  min-height: clamp(300px, 35vw, 430px);
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--home-navy);
  color: #fff;
  box-shadow: 0 14px 38px rgb(16 43 70 / 12%);
}
.edunib-home .education-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 5vw, 64px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
  background: linear-gradient(115deg, #102b46 0%, #123c53 64%, #126c67 100%);
}
.edunib-home .education-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.edunib-home .slide-learning {
  background: linear-gradient(115deg, #10344b, #17685f);
}
.edunib-home .slide-community {
  background: linear-gradient(115deg, #102b46, #235b68);
}
.edunib-home .slide-copy { position: relative; z-index: 2; }
.edunib-home .slide-kicker,
.edunib-home .section-kicker {
  display: inline-block;
  color: #8ee0c8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
  line-height: 1.6;
  text-transform: uppercase;
}
.edunib-home .slide-copy h1,
.edunib-home .slide-copy h2 {
  margin: 15px 0 14px;
  color: #fff;
  font-size: clamp(29px, 4.3vw, 55px);
  font-weight: 850;
  line-height: 1.09;
  letter-spacing: -1.7px;
}
.edunib-home .slide-copy h1 span,
.edunib-home .slide-copy h2 span { color: #80dfc0; }
.edunib-home .slide-copy p {
  max-width: 470px;
  margin: 0;
  color: #e0edf0;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.75;
}
.edunib-home .slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 17px;
  border-radius: 8px;
  background: #fff;
  color: var(--home-navy);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.edunib-home .slide-cta span { color: var(--home-teal); font-size: 18px; }
.edunib-home .slide-art {
  position: relative;
  display: block;
  width: 100%;
  max-width: 430px;
  height: clamp(180px, 24vw, 300px);
  justify-self: center;
}
.edunib-home .sun-disc {
  position: absolute;
  top: 4%;
  right: 13%;
  width: 65px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8ee0c8;
  opacity: .9;
}
.edunib-home .campus-cloud {
  position: absolute;
  width: 64px;
  height: 19px;
  border-radius: 50px;
  background: #d9f5ec;
  opacity: .75;
}
.edunib-home .campus-cloud::before,
.edunib-home .campus-cloud::after {
  position: absolute;
  bottom: 5px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: inherit;
  content: "";
}
.edunib-home .campus-cloud::before { left: 10px; }
.edunib-home .campus-cloud::after { right: 8px; width: 19px; height: 19px; }
.edunib-home .cloud-one { top: 23%; left: 5%; }
.edunib-home .cloud-two { top: 13%; right: 5%; transform: scale(.7); }
.edunib-home .campus-building {
  position: absolute;
  right: 12%;
  bottom: 12%;
  left: 12%;
  height: 61%;
}
.edunib-home .building-roof {
  position: absolute;
  top: 0;
  left: -4%;
  width: 108%;
  height: 30%;
  background: #8ee0c8;
  clip-path: polygon(50% 0,100% 100%,0 100%);
}
.edunib-home .building-face {
  position: absolute;
  inset: 26% 0 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 5%;
  background: #fff;
  border-bottom: 8px solid #8ee0c8;
}
.edunib-home .building-window-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.edunib-home .building-window-row i {
  display: block;
  width: clamp(12px, 2vw, 22px);
  height: clamp(17px, 3vw, 29px);
  border-radius: 3px;
  background: #17685f;
}
.edunib-home .building-door {
  align-self: flex-end;
  width: 17%;
  height: 65%;
  border-radius: 20px 20px 0 0;
  background: #102b46;
}
.edunib-home .campus-ground {
  position: absolute;
  right: 2%;
  bottom: 5%;
  left: 2%;
  height: 11%;
  border-radius: 50%;
  background: #67c9a8;
  opacity: .7;
}
.edunib-home .campus-tree {
  position: absolute;
  bottom: 15%;
  width: 25px;
  height: 66px;
  border-bottom: 18px solid #8ee0c8;
}
.edunib-home .campus-tree::before {
  position: absolute;
  top: 0;
  left: -17px;
  width: 58px;
  height: 55px;
  border-radius: 50% 50% 45% 45%;
  background: #4eb99b;
  content: "";
}
.edunib-home .tree-one { left: 4%; }
.edunib-home .tree-two { right: 3%; transform: scale(.8); }
.edunib-home .book {
  position: absolute;
  top: 25%;
  left: 19%;
  width: 61%;
  height: 49%;
  border: 5px solid #fff;
  border-radius: 10px 22px 22px 10px;
  box-shadow: 0 10px 25px rgb(0 0 0 / 12%);
}
.edunib-home .book-back { transform: rotate(-15deg) translate(-7px, 2px); background: #72d2b2; }
.edunib-home .book-middle { transform: rotate(9deg) translate(4px, -3px); background: #e7f5f1; }
.edunib-home .book-front { transform: rotate(-3deg); background: #fff; }
.edunib-home .book-front::after {
  position: absolute;
  top: 22%;
  left: 15%;
  width: 65%;
  height: 5px;
  border-radius: 9px;
  background: #087f70;
  box-shadow: 0 18px 0 #c2e7dc, 0 36px 0 #c2e7dc;
  content: "";
}
.edunib-home .learning-orbit,
.edunib-home .community-ring {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 82%;
  height: 82%;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  transform: rotate(-20deg) scaleY(.65);
}
.edunib-home .orbit-two { transform: rotate(50deg) scaleY(.65); }
.edunib-home .learning-badge {
  position: absolute;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: #087f70;
  font-size: 24px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}
.edunib-home .badge-star { top: 8%; right: 8%; }
.edunib-home .badge-cap { bottom: 10%; left: 8%; }
.edunib-home .community-ring { top: 9%; left: 12%; width: 76%; height: 76%; }
.edunib-home .ring-two { transform: rotate(60deg) scaleY(.7); }
.edunib-home .community-center {
  position: absolute;
  top: 36%;
  left: 40%;
  display: grid;
  width: 21%;
  aspect-ratio: 1;
  place-items: center;
  border: 5px solid #b3ebd8;
  border-radius: 50%;
  background: #fff;
  color: #102b46;
  font-size: clamp(22px, 4vw, 43px);
  font-weight: 900;
}
.edunib-home .community-person {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.edunib-home .community-person i {
  display: block;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #8ee0c8;
}
.edunib-home .community-person b {
  display: block;
  width: 51px;
  height: 41px;
  border: 4px solid #fff;
  border-radius: 20px 20px 10px 10px;
  background: #52bba0;
}
.edunib-home .person-one { top: 12%; left: 8%; }
.edunib-home .person-two { top: 12%; right: 8%; }
.edunib-home .person-three { bottom: 2%; left: 42%; }
.edunib-home .slider-controls {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.edunib-home .slider-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.edunib-home .slider-dots { display: flex; align-items: center; gap: 7px; }
.edunib-home .slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgb(255 255 255 / 55%);
  cursor: pointer;
}
.edunib-home .slider-dot.is-active { width: 24px; background: #8ee0c8; }
.edunib-home .slider-status,
.edunib-home .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.edunib-home .school-discovery,
.edunib-home .home-features,
.edunib-home .home-about {
  width: min(100% - 28px, 1320px);
  margin: 0 auto;
}
.edunib-home .school-discovery { padding: 42px 0 38px; }
.edunib-home .section-heading { margin-bottom: 22px; text-align: center; }
.edunib-home .section-heading .section-kicker { color: var(--home-teal); }
.edunib-home .section-heading h2 {
  margin: 8px 0;
  color: var(--home-navy);
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -.8px;
}
.edunib-home .section-heading > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.65;
}
.edunib-home .school-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 820px);
  min-height: 56px;
  margin: 0 auto 34px;
  padding: 6px 7px 6px 16px;
  border: 1px solid #d6e5e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(16 43 70 / 5%);
}
.edunib-home .search-symbol { color: var(--home-teal); font-size: 25px; line-height: 1; }
.edunib-home .school-search-form input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
  font-size: 13px;
}
.edunib-home .school-search-form input::placeholder { color: #84939f; opacity: 1; }
.edunib-home .school-search-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  background: var(--home-teal);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.edunib-home .marketplace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
}
.edunib-home .marketplace-heading h3 {
  margin: 0 0 4px;
  color: var(--home-navy);
  font-size: clamp(18px, 2.2vw, 24px);
}
.edunib-home .marketplace-heading p { margin: 0; color: var(--home-muted); font-size: 12px; }
.edunib-home .marketplace-label {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 30px;
  background: #e2f4ed;
  color: #087f70;
  font-size: 10px;
  font-weight: 850;
}
.edunib-home .school-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.edunib-home .school-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e9e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(16 43 70 / 4%);
}
.edunib-home .school-card-banner {
  position: relative;
  display: grid;
  min-height: 86px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #dff3eb, #b9e5d7);
}
.edunib-home .school-card-banner::before,
.edunib-home .school-card-banner::after {
  position: absolute;
  width: 95px;
  height: 95px;
  border: 1px solid rgb(8 127 112 / 15%);
  border-radius: 50%;
  content: "";
}
.edunib-home .school-card-banner::before { top: -58px; left: -22px; }
.edunib-home .school-card-banner::after { right: -45px; bottom: -65px; width: 125px; height: 125px; }
.edunib-home .banner-1 { background: linear-gradient(135deg, #e4edf8, #c8dced); }
.edunib-home .banner-2 { background: linear-gradient(135deg, #f0f3df, #dbe8b8); }
.edunib-home .banner-3 { background: linear-gradient(135deg, #f5e9d9, #ebd0b1); }
.edunib-home .school-placeholder-logo {
  position: relative;
  z-index: 1;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 90%);
  border-radius: 13px;
  background: var(--home-navy);
  color: #9be2c9;
  font-size: 26px;
  box-shadow: 0 4px 10px rgb(16 43 70 / 15%);
}
.edunib-home .preview-label {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgb(255 255 255 / 85%);
  color: var(--home-navy);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}
.edunib-home .school-card-content { padding: 11px; }
.edunib-home .school-card-content h4 {
  margin: 0 0 6px;
  color: var(--home-navy);
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.edunib-home .school-card-location {
  margin: 0 0 7px;
  color: var(--home-teal);
  font-size: 10px;
  line-height: 1.4;
}
.edunib-home .school-card-description {
  min-height: 42px;
  margin: 0 0 10px;
  color: var(--home-muted);
  font-size: 10px;
  line-height: 1.5;
}
.edunib-home .school-card-actions { display: flex; gap: 5px; }
.edunib-home .school-card-actions a {
  display: inline-flex;
  min-width: 0;
  min-height: 30px;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  padding: 5px 3px;
  border: 1px solid #d7e7e1;
  border-radius: 6px;
  color: var(--home-teal);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.edunib-home .school-card-actions .school-card-apply {
  border-color: var(--home-teal);
  background: var(--home-teal);
  color: #fff;
}
.edunib-home .marketplace-note {
  margin: 13px 0 0;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.6;
}
.edunib-home .home-features { padding: 30px 0 40px; }
.edunib-home .home-features .features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.edunib-home .home-features .features article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: #fff;
}
.edunib-home .home-features .features h3 { margin: 13px 0 8px; color: var(--home-navy); font-size: 16px; }
.edunib-home .home-features .features p,
.edunib-home .home-about p { color: var(--home-muted); font-size: 13px; line-height: 1.8; }
.edunib-home .feature-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  background: var(--home-mint);
  color: var(--home-teal);
  font-weight: 900;
}
.edunib-home .home-about {
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 14px;
  background: #e8f4f0;
}
.edunib-home .home-about h2 { margin: 0 0 8px; color: var(--home-navy); font-size: 22px; }
.edunib-home .home-about p { margin: 0; }
.edunib-home .home-footer {
  padding: 20px 14px;
  border-top: 1px solid var(--home-line);
  background: #fff;
  color: var(--home-muted);
  font-size: 12px;
  text-align: center;
}
@media (min-width: 1000px) {
  .edunib-home .school-card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .edunib-home .topbar.home-header { min-height: 65px; gap: 8px; padding: 10px 12px; }
  .edunib-home .tagline { display: none; }
  .edunib-home .header-login { gap: 5px; margin-left: auto; }
  .edunib-home .home-login { min-height: 35px; padding: 7px 9px; font-size: 10px; }
  .edunib-home .community-login-row { width: calc(100% - 16px); gap: 5px; margin-top: 8px; }
  .edunib-home .community-login { min-height: 39px; gap: 4px; padding: 5px 2px; font-size: clamp(9px, 2.7vw, 11px); }
  .edunib-home .community-login > span { flex-basis: 18px; width: 18px; height: 18px; font-size: 9px; }
  .edunib-home .education-slider { width: calc(100% - 16px); min-height: 400px; margin-top: 9px; border-radius: 15px; }
  .edunib-home .education-slide { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; padding: 24px 20px 55px; }
  .edunib-home .slide-copy h1, .edunib-home .slide-copy h2 { font-size: clamp(27px, 7vw, 39px); letter-spacing: -.8px; }
  .edunib-home .slide-copy p { max-width: 360px; font-size: 13px; line-height: 1.6; }
  .edunib-home .slide-cta { margin-top: 14px; padding: 10px 13px; font-size: 12px; }
  .edunib-home .slide-art { position: absolute; right: 0; bottom: 13px; width: 58%; height: 150px; opacity: .82; }
  .edunib-home .slider-controls { right: 12px; bottom: 10px; gap: 8px; }
  .edunib-home .slider-arrow { width: 30px; height: 30px; }
  .edunib-home .school-discovery, .edunib-home .home-features, .edunib-home .home-about { width: calc(100% - 20px); }
  .edunib-home .school-discovery { padding-top: 31px; }
  .edunib-home .section-heading { margin-bottom: 17px; }
  .edunib-home .section-heading h2 { font-size: 26px; }
  .edunib-home .section-heading > p { font-size: 12px; }
  .edunib-home .school-search-form { min-height: 48px; gap: 6px; margin-bottom: 26px; padding: 4px 5px 4px 10px; }
  .edunib-home .search-symbol { font-size: 20px; }
  .edunib-home .school-search-form input { height: 37px; font-size: 11px; }
  .edunib-home .school-search-button { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .edunib-home .marketplace-heading { align-items: start; }
  .edunib-home .marketplace-heading h3 { font-size: 17px; }
  .edunib-home .marketplace-heading p { font-size: 10px; }
  .edunib-home .marketplace-label { padding: 6px 7px; font-size: 8px; }
  .edunib-home .school-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .edunib-home .school-card { border-radius: 8px; }
  .edunib-home .school-card-banner { min-height: 54px; }
  .edunib-home .school-placeholder-logo { width: 29px; height: 29px; border-radius: 9px; font-size: 18px; }
  .edunib-home .preview-label { top: 3px; right: 3px; padding: 2px 3px; font-size: 6px; }
  .edunib-home .school-card-content { padding: 6px 5px; }
  .edunib-home .school-card-content h4 { margin-bottom: 4px; font-size: 9px; line-height: 1.35; }
  .edunib-home .school-card-location { margin-bottom: 5px; font-size: 8px; overflow-wrap: anywhere; }
  .edunib-home .school-card-description { min-height: 48px; margin-bottom: 6px; font-size: 8px; line-height: 1.4; }
  .edunib-home .school-card-actions { flex-direction: column; gap: 4px; }
  .edunib-home .school-card-actions a { min-height: 25px; padding: 4px 1px; font-size: 8px; white-space: normal; }
  .edunib-home .marketplace-note { font-size: 10px; }
  .edunib-home .home-features .features { grid-template-columns: 1fr; gap: 10px; }
  .edunib-home .home-features .features article { padding: 16px; }
  .edunib-home .home-about { padding: 18px; }
}
@media (max-width: 360px) {
  .edunib-home .home-brand { font-size: 22px; }
  .edunib-home .home-login { padding: 6px 7px; font-size: 9px; }
  .edunib-home .community-login { font-size: 8px; }
  .edunib-home .community-login > span { display: none; }
  .edunib-home .school-card-grid { gap: 4px; }
  .edunib-home .school-card-content { padding: 5px 4px; }
  .edunib-home .school-card-content h4 { font-size: 8px; }
  .edunib-home .school-card-description { font-size: 7px; }
  .edunib-home .school-card-actions a { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .edunib-home *, .edunib-home *::before, .edunib-home *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Founder Dashboard: multi-permission selection */
.permission-multi-select {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid rgba(201, 164, 76, 0.45);
    border-radius: 12px;
    background: rgba(15, 29, 52, 0.04);
}

.permission-multi-select[hidden] {
    display: none !important;
}

.permission-multi-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.permission-multi-toolbar strong {
    font-size: 0.95rem;
}

.permission-multi-toolbar label,
.permission-checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.permission-checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 8px;
    background: var(--surface, #fff);
}

.permission-checkbox-row {
    min-width: 0;
    padding: 8px;
    border-radius: 6px;
    overflow-wrap: anywhere;
}

.permission-checkbox-row:hover {
    background: rgba(201, 164, 76, 0.10);
}

.permission-checkbox-row input,
.permission-multi-toolbar input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    accent-color: #b99542;
}

.permission-checkbox-row input:disabled {
    cursor: not-allowed;
}

#grantSelectedIndividualPermissions {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .permission-multi-select {
        padding: 10px;
    }

    .permission-checkbox-list {
        grid-template-columns: 1fr;
        max-height: 240px;
    }
}

/* Founder Dashboard: individual permission picker popup */
.permission-picker-modal[hidden] {
    display: none !important;
}

.permission-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(7, 16, 30, 0.78);
}

.permission-picker-dialog {
    width: min(700px, 100%);
    max-height: min(86vh, 800px);
    overflow: auto;
    background: var(--surface, #fff);
    color: var(--text, #17243a);
    border: 1px solid #c8a75b;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.permission-picker-body {
    padding: 20px;
}

.permission-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.22);
}

.permission-dialog-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.permission-dialog-header p {
    margin: 7px 0 0;
    opacity: 0.8;
    font-size: 0.92rem;
}

.permission-modal-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(128, 128, 128, 0.35);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 1.6rem;
    cursor: pointer;
}

.permission-picker-search-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 750;
}

.permission-picker-search {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(128, 128, 128, 0.4);
    border-radius: 8px;
    background: var(--surface, #fff);
    color: inherit;
    font: inherit;
}

.permission-picker-search:focus-visible,
.permission-modal-close:focus-visible,
.permission-picker-actions button:focus-visible,
.permission-open-picker:focus-visible {
    outline: 3px solid rgba(201, 164, 76, 0.55);
    outline-offset: 2px;
}

.permission-picker-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.permission-picker-actions button,
.permission-open-picker {
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid #c8a75b;
    border-radius: 8px;
    background: #c8a75b;
    color: #17243a;
    font-weight: 800;
    cursor: pointer;
}

.permission-picker-actions .permission-picker-cancel {
    border-color: rgba(128, 128, 128, 0.4);
    background: transparent;
    color: inherit;
}

.permission-picker-actions button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.permission-picker-modal .permission-checkbox-list {
    max-height: 42vh;
    overflow-y: auto;
}

@media (max-width: 600px) {
    .permission-picker-modal {
        padding: 8px;
    }

    .permission-picker-dialog {
        max-height: 92vh;
        border-radius: 12px;
    }

    .permission-dialog-header,
    .permission-picker-body {
        padding: 14px;
    }

    .permission-picker-modal .permission-checkbox-list {
        grid-template-columns: 1fr;
        max-height: 38vh;
    }

    .permission-picker-actions {
        flex-direction: column-reverse;
    }

    .permission-picker-actions button {
        width: 100%;
    }
}

/* Founder permanent designation deactivation confirmation */
.designation-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 12, 27, 0.78);
  backdrop-filter: blur(5px);
}
.designation-confirm-overlay[hidden] {
  display: none !important;
}
.designation-confirm-panel {
  width: min(480px, 100%);
  box-sizing: border-box;
  padding: 30px;
  border: 1px solid #c8a75b;
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff 0%, #fffaf0 100%);
  color: #17243a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
  text-align: center;
  animation: designationConfirmAppear 180ms ease-out;
}
.designation-confirm-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border: 1px solid #e4b7a6;
  border-radius: 50%;
  background: #fff0eb;
  color: #922e26;
  font-size: 30px;
  font-weight: 800;
}
.designation-confirm-eyebrow {
  margin: 0 0 8px;
  color: #85661d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.designation-confirm-panel h2 {
  margin: 0 0 14px;
  color: #17243a;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}
.designation-confirm-panel > p:not(.designation-confirm-eyebrow) {
  line-height: 1.6;
}
#designationRetireName {
  overflow-wrap: anywhere;
}
.designation-confirm-warning {
  margin: 18px 0;
  padding: 12px 14px;
  border-left: 3px solid #b64034;
  border-radius: 6px;
  background: #fff0eb;
  color: #7b2924;
  font-size: 0.9rem;
  text-align: left;
}
.designation-confirm-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.designation-confirm-actions button {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 9px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.designation-confirm-cancel {
  border: 1px solid #c8a75b;
  background: #17243a;
  color: #fff4d1;
}
.designation-confirm-submit {
  border: 1px solid #8e2929;
  background: #8e2929;
  color: #ffffff;
}
.designation-confirm-actions button:focus-visible {
  outline: 3px solid #c8a75b;
  outline-offset: 3px;
}
@keyframes designationConfirmAppear {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .designation-confirm-panel { padding: 22px 17px; }
  .designation-confirm-actions { flex-direction: column-reverse; }
  .designation-confirm-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .designation-confirm-panel { animation: none; }
}

/* Founder designation edit popup */
.founder-designation-edit-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 8px 0 0;
  padding: 9px 15px;
  border: 1px solid #c8a75b;
  border-radius: 9px;
  background: #17243a;
  color: #fff4d1;
  font-weight: 750;
  cursor: pointer;
}
.founder-designation-edit-trigger:hover {
  background: #263a59;
}
.designation-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(5, 12, 27, 0.8);
  backdrop-filter: blur(5px);
}
.designation-edit-overlay[hidden] {
  display: none !important;
}
.designation-edit-panel {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid #c8a75b;
  border-radius: 17px;
  background: #fffdf8;
  color: #17243a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}
.designation-edit-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eadfbe;
}
.designation-edit-heading h2 {
  margin: 0 0 8px;
  color: #17243a;
  font-size: 1.5rem;
}
.designation-edit-heading p {
  margin: 0;
  color: #61718a;
  line-height: 1.5;
}
.designation-edit-heading .designation-edit-eyebrow {
  margin-bottom: 7px;
  color: #85661d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.designation-edit-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid #d7c58e;
  border-radius: 10px;
  background: #17243a;
  color: #fff4d1;
  font-size: 1.5rem;
  cursor: pointer;
}
.founder-designation-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.founder-designation-edit-form label {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #263b59;
  font-size: 0.9rem;
  font-weight: 700;
}
.founder-designation-edit-form input,
.founder-designation-edit-form select,
.founder-designation-edit-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  background: #ffffff;
  color: #17243a;
  font: inherit;
  font-weight: 400;
}
.founder-designation-edit-form input:focus,
.founder-designation-edit-form select:focus,
.founder-designation-edit-form textarea:focus {
  outline: 2px solid #c8a75b;
  outline-offset: 1px;
}
.founder-designation-edit-form .designation-edit-description,
.founder-designation-edit-form .designation-edit-actions {
  grid-column: 1 / -1;
}
.designation-edit-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #eadfbe;
}
.designation-edit-actions button {
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.designation-edit-cancel {
  border-color: #c8a75b !important;
  background: #17243a;
  color: #fff4d1;
}
.designation-edit-save {
  background: #c8a75b;
  color: #17243a;
}
.designation-edit-actions button:focus-visible,
.designation-edit-close:focus-visible,
.founder-designation-edit-trigger:focus-visible {
  outline: 3px solid #c8a75b;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .designation-edit-panel {
    padding: 19px 15px;
  }
  .founder-designation-edit-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .founder-designation-edit-form .designation-edit-description,
  .founder-designation-edit-form .designation-edit-actions {
    grid-column: auto;
  }
  .designation-edit-actions {
    flex-direction: column-reverse;
  }
  .designation-edit-actions button {
    width: 100%;
  }
}

/* Founder Dashboard — Audit History navigation button */
.founder-body .founder-domain-card .founder-audit-history-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 9px 13px;
    border: 1px solid #b9943e;
    border-radius: 7px;
    background: #c8a75b;
    color: #17243a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.founder-body .founder-domain-card .founder-audit-history-link:hover {
    border-color: #a9822f;
    background: #dfc176;
    color: #102f68;
    transform: translateY(-1px);
}

.founder-body .founder-domain-card .founder-audit-history-link:focus-visible {
    outline: 3px solid #c8a75b66;
    outline-offset: 3px;
}

.founder-body .founder-domain-card .founder-audit-history-link span {
    font-size: 16px;
    line-height: 1;
}


/* Founder Dashboard — Succession History navigation button */
.founder-body .founder-domain-card .founder-succession-history-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 9px 13px;
    border: 1px solid #b9943e;
    border-radius: 7px;
    background: #c8a75b;
    color: #17243a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.founder-body .founder-domain-card .founder-succession-history-link:hover {
    border-color: #a9822f;
    background: #dfc176;
    color: #102f68;
    transform: translateY(-1px);
}

.founder-body .founder-domain-card .founder-succession-history-link:focus-visible {
    outline: 3px solid #c8a75b66;
    outline-offset: 3px;
}

.founder-body .founder-domain-card .founder-succession-history-link span {
    font-size: 16px;
    line-height: 1;
}
/* Founder dashboard: Grant Permission modal */
.founder-permission-launch {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin: 14px 0 20px;
}
.founder-permission-launch > button,
.founder-permission-modal-actions > button {
    border: 1px solid #c8a75b;
    border-radius: 9px;
    padding: 11px 18px;
    background: #c8a75b;
    color: #17243a;
    font-weight: 700;
    cursor: pointer;
}
.founder-permission-launch > button:disabled,
.founder-permission-modal-actions > button:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.founder-permission-modal-panel {
    width: min(560px, 100%);
}
.founder-permission-modal-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.founder-permission-modal-form label {
    color: #17243a;
    font-size: .9rem;
    font-weight: 700;
}
.founder-permission-modal-form select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #c7cbd2;
    border-radius: 8px;
    background: #fff;
    color: #17243a;
}
.founder-permission-modal-form .founder-form-help {
    margin: 4px 0 8px;
    color: #61718a;
    font-size: .82rem;
    line-height: 1.55;
}
.founder-permission-modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.founder-permission-modal-actions .founder-permission-cancel {
    background: #17243a;
    color: #f4d88a;
}
.founder-permission-modal-form button:focus-visible,
.founder-permission-launch button:focus-visible,
.founder-designation-modal-heading button:focus-visible {
    outline: 3px solid #d8b65f;
    outline-offset: 3px;
}
@media (max-width: 600px) {
    .founder-permission-modal {
        padding: 10px;
    }
    .founder-permission-modal-panel {
        padding: 16px;
    }
    .founder-permission-modal-actions {
        flex-direction: column-reverse;
    }
    .founder-permission-modal-actions button {
        width: 100%;
    }
}

/* Founder designation-wise permissions popup */
.founder-view-permissions-trigger {
  margin-top: 8px;
}

.founder-view-permissions-trigger:focus-visible,
.designation-permissions-overlay button:focus-visible {
  outline: 3px solid #c8a75b;
  outline-offset: 3px;
}

.designation-permissions-overlay {
  position: fixed;
  inset: 0;
  z-index: 10045;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(5, 12, 27, 0.82);
  backdrop-filter: blur(5px);
}

.designation-permissions-overlay[hidden] {
  display: none !important;
}

.designation-permissions-panel {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid #c8a75b;
  border-radius: 17px;
  background: #fffdf8;
  color: #17243a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.designation-permissions-list {
  display: grid;
  gap: 12px;
}

.designation-permission-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid #eadfbe;
  border-radius: 11px;
  background: #fffaf0;
}

.designation-permission-entry > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.designation-permission-entry strong {
  color: #17243a;
  overflow-wrap: anywhere;
}

.designation-permission-entry small {
  color: #61718a;
  font-size: 0.78rem;
}

.designation-permission-entry form {
  flex: 0 0 auto;
}

.designation-permission-entry .founder-designation-danger {
  margin-top: 0;
}

@media (max-width: 560px) {
  .designation-permissions-overlay {
    padding: 10px;
  }

  .designation-permissions-panel {
    padding: 19px 15px;
    max-height: 94vh;
  }

  .designation-permission-entry {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .designation-permission-entry form,
  .designation-permission-entry .founder-designation-danger {
    width: 100%;
    box-sizing: border-box;
  }
}
/* Founder Dashboard — compact permissions summary */
.founder-body .founder-permission-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
}

.founder-body .founder-permission-actions > button {
    margin: 0;
}

.founder-body .founder-permission-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
    text-decoration: none;
}

.founder-body .founder-permission-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 15px;
    border: 1px solid #e6d28c;
    border-radius: 10px;
    background: #fffaf0;
}

.founder-body .founder-permission-summary > div {
    min-width: 0;
}

.founder-body .founder-permission-summary-label {
    display: block;
    color: #785b09;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.founder-body .founder-permission-summary strong {
    display: block;
    margin: 5px 0;
    color: #102f68;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 600;
}

.founder-body .founder-permission-summary p {
    min-height: 0;
    margin: 0;
    color: #53647c;
    font-size: 11px;
}

.founder-body .founder-permission-summary > a {
    flex: 0 0 auto;
    color: #785b09;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.founder-body .founder-permission-summary > a:hover {
    color: #102f68;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .founder-body .founder-permission-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .founder-body .founder-permission-actions > button,
    .founder-body .founder-permission-actions > a {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .founder-body .founder-permission-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Founder permission count — royal gold inline treatment */
.founder-body .founder-permission-inline {
    margin: 10px 0 4px;
    color: #b18a2b;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

.founder-body .founder-permission-inline strong {
    margin-left: 4px;
    color: #c8a75b;
    font-size: 22px;
    font-weight: 900;
}

.founder-body .founder-permission-inline > a {
    color: #17243a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.founder-body .founder-permission-inline > a:hover {
    color: #a47b19;
    text-decoration: underline;
}

/* Permission revoke button — Founder navy and royal gold */
.founder-body .designation-permission-entry .founder-designation-danger {
    margin-top: 0;
    padding: 10px 17px;
    border: 1px solid #c8a75b;
    border-radius: 9px;
    background: #17243a;
    color: #f4d88a;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.founder-body .designation-permission-entry .founder-designation-danger:hover {
    background: #c8a75b;
    color: #17243a;
}

.founder-body .designation-permission-entry .founder-designation-danger:focus-visible {
    outline: 3px solid #c8a75b;
    outline-offset: 3px;
}

/* =========================================================
   GLOBAL STICKY HEADERS
   Applies to public, school, Founder and Platform headers
   ========================================================= */
.topbar,
.founder-topbar,
.platform-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Platform dashboard appointee profile photo */
.platform-shell .platform-avatar {
    position: relative;
    overflow: hidden;
}

.platform-shell .platform-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Platform header appointee profile photo */
.platform-shell .platform-header-avatar {
    position: relative;
    overflow: hidden;
}

.platform-shell .platform-header-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Founder dashboard: Recent Platform Activity */
.founder-body .founder-recent-audit {
    margin: 24px 0;
    padding: 26px;
    background: #ffffff;
    border: 1px solid rgba(20, 42, 75, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(16, 35, 62, 0.06);
}

.founder-body .founder-recent-audit-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.founder-body .founder-recent-audit-heading h2 {
    margin: 8px 0 5px;
    color: #142a4b;
    font-size: 1.35rem;
    font-weight: 750;
}

.founder-body .founder-recent-audit-heading p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

.founder-body .founder-recent-audit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 15px;
    border: 1px solid #d6b45c;
    border-radius: 9px;
    color: #142a4b;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.founder-body .founder-recent-audit-link:hover {
    background: #142a4b;
    color: #ffffff;
}

.founder-body .founder-recent-audit-list {
    display: flex;
    flex-direction: column;
}

.founder-body .founder-recent-audit-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: start;
    gap: 15px;
    padding: 17px 4px;
    border-top: 1px solid #edf0f4;
}

.founder-body .founder-recent-audit-marker {
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: #c6a34d;
    box-shadow: 0 0 0 4px rgba(198, 163, 77, 0.13);
}

.founder-body .founder-recent-audit-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
}

.founder-body .founder-recent-audit-action {
    color: #192f50;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.founder-body .founder-recent-audit-actor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #526174;
    font-size: 0.84rem;
}

.founder-body .founder-recent-audit-actor-type {
    padding: 3px 8px;
    border-radius: 20px;
    background: #f8f1df;
    color: #82651f;
    font-size: 0.72rem;
    font-weight: 750;
}

.founder-body .founder-recent-audit-login,
.founder-body .founder-recent-audit-designation {
    color: #718096;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.founder-body .founder-recent-audit-details {
    margin: 0;
    color: #64748b;
    font-size: 0.83rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.founder-body .founder-recent-audit-time {
    color: #8792a2;
    font-size: 0.78rem;
    text-align: right;
    white-space: nowrap;
}

.founder-body .founder-recent-audit-empty {
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid #edf0f4;
    color: #718096;
    text-align: center;
}

@media (max-width: 640px) {
    .founder-body .founder-recent-audit {
        padding: 18px;
    }

    .founder-body .founder-recent-audit-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .founder-body .founder-recent-audit-item {
        grid-template-columns: 10px minmax(0, 1fr);
        gap: 12px;
    }

    .founder-body .founder-recent-audit-time {
        grid-column: 2;
        text-align: left;
        white-space: normal;
    }
}

/* Platform workspace viewport-width correction */
.platform-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.platform-shell > .platform-content {
    flex: 1 1 0%;
    min-width: 0;
    max-width: calc(100% - 260px);
}

.platform-shell .platform-section,
.platform-shell .module-page,
.platform-shell .platform-history-page {
    min-width: 0;
    max-width: 100%;
}

.platform-shell .module-table-wrap,
.platform-shell .platform-history-table-wrap,
.platform-shell .platform-users-table-wrap {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1000px) and (min-width: 721px) {
    .platform-shell > .platform-content {
        max-width: calc(100% - 225px);
    }
}

@media (max-width: 720px) {
    .platform-shell > .platform-content {
        width: 100%;
        max-width: 100%;
    }
}
/* End platform workspace viewport-width correction */
