/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/c4acbf65.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ad9cac14.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/e444e2d5.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/0c1f95bf.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/2ccc1f5d.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/ff645422.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/e1c43803.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/b90e04c6.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/1ddde8e9.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/7dd86b57.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/530e944f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/da885f46.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/3e450a23.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/d93507d6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/91cf6fcf.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/5ce25ca0.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/739dfdc2.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/e170b35a.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/adaf46ef.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/98db6b78.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/0bcb013b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/b9f39df3.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/d6278f87.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/44a6036b.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/a7c48288.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/69ac14fb.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/f54d15e8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/96cce90f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/e17738a0.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/df432cdb.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/61f27de6.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/60e29778.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/f7b76158.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/3f74cf4e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/4855261f.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

    
    *,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
    :root{
      --navy:#003f80;--navy-light:#0056a8;--navy-lighter:#0077cc;
      --teal:#009fad;--teal-light:#33b9c7;
      --sw:240px;--th:64px;
      --g50:#f8fafc;--g100:#f1f5f9;--g200:#e2e8f0;
      --g400:#94a3b8;--g500:#64748b;--g600:#475569;--gd:#1e293b;
      --white:#fff;
    }
    html{scroll-behavior:smooth;}
    body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
      background:var(--g100);color:var(--gd);line-height:1.6;
      -webkit-font-smoothing:antialiased;
      opacity:0;transition:opacity .35s;
      display:flex;min-height:100vh;min-height:100svh;
    }
    body.loaded{opacity:1;}
    body.exiting{opacity:0;transition:opacity .2s;}

    /* SIDEBAR */
    .sidebar{
      position:fixed;top:0;left:0;right:0;height:auto;width:100%;
      background:#fff;
      display:flex;flex-direction:row;align-items:center;z-index:200;
      transition:transform .3s cubic-bezier(.22,1,.36,1),width .3s ease;
      box-shadow:0 2px 16px rgba(0,0,0,.06);
      overflow:visible;
      padding:0.8rem 2rem;
      gap:2rem;
      border-bottom:1px solid rgba(0,0,0,.06);
    }
    .s-logo{
      padding:0;
      border-bottom:none;
      text-decoration:none;display:flex;flex-direction:column;
      transition:opacity .2s;
      flex-shrink:0;
      gap:0.1rem;
    }
    .s-logo:hover{opacity:.8;}
    .s-logo-name{font-size:.85rem;font-weight:700;color:var(--navy);letter-spacing:-.4px;display:block;}
    .s-logo-short{display:none;font-size:.72rem;font-weight:700;color:var(--navy);letter-spacing:-.3px;}
    .s-logo-sub{font-size:.5rem;color:var(--g400);text-transform:uppercase;letter-spacing:.8px;display:block;margin-top:0;}

    .s-nav{flex:1;padding:0;overflow:visible;display:flex;align-items:center;gap:0;}
    .s-label{display:none;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;
      color:var(--g400);padding:0 1rem;border-left:1px solid var(--g200);}
    .s-link{
      display:flex;align-items:center;gap:.6rem;padding:.6rem 1.2rem;
      text-decoration:none;color:var(--g600);font-size:.82rem;font-weight:500;
      border-left:none;border-bottom:2px solid transparent;transition:all .2s;
    }
    .s-link svg{width:16px;height:16px;flex-shrink:0;}
    .s-link:hover{background:transparent;color:var(--navy);padding-left:1.2rem;transform:none;border-bottom-color:var(--teal);}
    .s-link.active{background:transparent;color:var(--navy);font-weight:600;border-left-color:transparent;border-bottom-color:var(--teal);box-shadow:none;}

    .s-bottom{padding:0;border-top:none;margin-left:auto;display:flex;align-items:center;gap:1rem;flex-shrink:0;}
    .s-user{
      display:flex;align-items:center;gap:.6rem;padding:.5rem 1rem;
      background:transparent;border:1px solid var(--g200);border-radius:.6rem;
      text-decoration:none;transition:all .2s;cursor:pointer;
    }
    .s-user:hover{background:var(--g50);border-color:var(--navy);transform:none;}
    .s-avatar{
      width:30px;height:30px;background:var(--navy);border-radius:50%;
      display:flex;align-items:center;justify-content:center;
      font-weight:700;font-size:.75rem;color:#fff;flex-shrink:0;
    }
    .s-uname{font-size:.75rem;font-weight:600;color:var(--navy);display:block;}
    .s-urole{font-size:.65rem;color:var(--g500);display:block;}

    /* TOPBAR */
    .topbar{
      display:none;
      position:fixed;top:0;left:0;right:0;height:var(--th);
      background:rgba(255,255,255,.94);backdrop-filter:blur(18px);
      border-bottom:1px solid rgba(0,63,128,.08);
      gap:1rem;padding:0 2rem;
      z-index:150;box-shadow:0 2px 16px rgba(0,0,0,.06);transition:all .3s;
    }
    .topbar-search{
      flex:1;max-width:400px;position:relative;
    }
    .topbar-search input{
      width:100%;padding:.65rem 1rem .65rem 2.6rem;
      background:rgba(0,63,128,.04);border:2px solid var(--navy);
      border-radius:.8rem;font-size:1rem;font-family:inherit;color:var(--gd);
      transition:all .25s;font-weight:500;
    }
    .topbar-search input:focus{outline:none;background:rgba(0,63,128,.06);border-color:var(--navy);box-shadow:0 0 0 4px rgba(0,63,128,.12);transform:scale(1.01);}
    .topbar-search input::placeholder{color:var(--g400);}
    .topbar-search-ico{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--g400);}
    .topbar-search-ico svg{width:16px;height:16px;}
    .topbar-right{display:flex;align-items:center;gap:.75rem;margin-left:auto;}
    .lang-btn{
      display:flex;align-items:center;gap:.3rem;background:rgba(0,63,128,.05);
      border:1.5px solid rgba(0,63,128,.15);border-radius:.65rem;
      padding:.55rem .95rem;color:var(--navy);font-weight:600;font-size:.8rem;
      cursor:pointer;transition:all .25s;font-family:inherit;
    }
    .lang-btn svg{width:14px;height:14px;}
    .lang-btn:hover{background:rgba(0,63,128,.1);border-color:var(--navy);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,63,128,.15);}
    .sign-in-btn{
      display:flex;align-items:center;gap:.5rem;
      background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
      color:#fff;text-decoration:none;padding:.62rem 1.4rem;
      border-radius:.75rem;font-weight:700;font-size:.85rem;
      box-shadow:0 6px 16px rgba(0,63,128,.28);
      transition:all .3s cubic-bezier(.34,1.56,.64,1);white-space:nowrap;position:relative;overflow:hidden;
    }
    .sign-in-btn svg{width:16px;height:16px;flex-shrink:0;transition:transform .3s;}
    .sign-in-btn:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,63,128,.38);}
    .topbar-menu-btn{
      display:none;align-items:center;justify-content:center;
      width:38px;height:38px;background:none;
      border:1.5px solid var(--g200);border-radius:.6rem;
      cursor:pointer;color:var(--navy);flex-shrink:0;
    }
    .topbar-menu-btn svg{width:18px;height:18px;}

    /* MAIN */
    .main{
      margin-left:0;padding-top:80px;
      flex:1;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;
    }
    .content{padding:2rem;flex:1;}

    /* WELCOME BANNER */
    .banner{
      background:#f8fafc;
      border-radius:1.1rem;padding:2rem 2.5rem;margin-bottom:2rem;
      display:flex;align-items:center;justify-content:space-between;gap:2rem;
      position:relative;overflow:hidden;
      border:1px solid var(--g200);
    }
    .banner::before{
      content:'';position:absolute;right:-60px;top:-60px;
      width:260px;height:260px;
      background:radial-gradient(circle,rgba(0,63,128,.03) 0%,transparent 70%);
      border-radius:50%;pointer-events:none;
    }
    .banner::after{
      content:'';position:absolute;left:40%;bottom:-50px;
      width:200px;height:200px;
      background:radial-gradient(circle,rgba(0,159,173,.08) 0%,transparent 70%);
      border-radius:50%;pointer-events:none;
    }
    .banner-text{position:relative;z-index:1;}
    .banner-text h1{font-size:clamp(1.3rem,2.5vw,1.9rem);font-weight:700;color:var(--navy);letter-spacing:-.5px;margin-bottom:.5rem;}
    .banner-text p{font-size:.9rem;color:var(--g600);max-width:480px;line-height:1.7;}
    .banner-stats{display:flex;gap:2.5rem;position:relative;z-index:1;flex-shrink:0;}
    .bstat-num{font-size:2rem;font-weight:700;color:var(--navy);line-height:1;}
    .bstat-label{font-size:.68rem;color:var(--g500);text-transform:uppercase;letter-spacing:.6px;margin-top:.2rem;}

    /* 4 CARDS — always 4 columns on desktop */
    .cards-grid{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:1.25rem;
      margin-bottom:2rem;
    }
    .card{
      background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1rem;
      padding:1.6rem;display:flex;flex-direction:column;
      text-decoration:none;color:inherit;cursor:pointer;
      box-shadow:0 2px 12px rgba(0,0,0,.04);
      transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s;
      position:relative;overflow:hidden;
    }
    .card::before{
      content:'';position:absolute;top:0;left:0;right:0;height:3px;
      background:linear-gradient(90deg,var(--navy),var(--teal));
      opacity:0;transition:opacity .25s;
    }
    .card:hover{transform:translateY(-7px);box-shadow:0 18px 40px rgba(0,63,128,.13);}
    .card:hover::before{opacity:1;}
    .card-ico{
      width:46px;height:46px;border-radius:.8rem;margin-bottom:1.2rem;
      display:flex;align-items:center;justify-content:center;
      background:rgba(0,63,128,.07);color:var(--navy);
      transition:transform .3s cubic-bezier(.34,1.56,.64,1),background .25s;
    }
    .card-ico svg{width:22px;height:22px;}
    .card:hover .card-ico{transform:scale(1.12) rotate(-4deg);background:rgba(0,63,128,.12);}
    .card h3{font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:.5rem;}
    .card p{font-size:.8rem;color:var(--g500);line-height:1.65;flex-grow:1;margin-bottom:1.1rem;}
    .card-arrow{
      display:inline-flex;align-items:center;gap:.4rem;
      color:var(--navy);font-weight:600;font-size:.8rem;
      text-decoration:none;transition:gap .25s,color .25s;margin-top:auto;
    }
    .card-arrow svg{width:13px;height:13px;transition:transform .25s;}
    .card:hover .card-arrow{color:var(--teal);gap:.7rem;}
    .card:hover .card-arrow svg{transform:translateX(3px);}

    /* BOTTOM ROW */
    .bottom-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;}
    .panel{
      background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1rem;
      padding:1.8rem;box-shadow:0 2px 12px rgba(0,0,0,.04);
    }
    .panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.4rem;}
    .panel-header h3{font-size:.95rem;font-weight:700;color:var(--navy);}
    .view-all{
      display:inline-flex;align-items:center;gap:.35rem;
      color:var(--navy);text-decoration:none;font-weight:600;font-size:.8rem;
      transition:gap .25s,color .25s;
    }
    .view-all svg{width:13px;height:13px;transition:transform .25s;}
    .view-all:hover{color:var(--teal);gap:.6rem;}
    .view-all:hover svg{transform:translateX(3px);}

    /* Event items */
    .event-item{
      display:flex;gap:.85rem;padding:.75rem;border-radius:.7rem;
      cursor:pointer;transition:background .2s,transform .2s;
    }
    .event-item:hover{background:var(--g50);transform:translateX(4px);}
    .event-date{
      background:linear-gradient(135deg,var(--teal),var(--teal-light));
      border-radius:.55rem;padding:.55rem .75rem;min-width:54px;
      text-align:center;font-weight:700;color:#fff;font-size:.7rem;
      box-shadow:0 3px 10px rgba(0,159,173,.2);flex-shrink:0;
      transition:transform .25s cubic-bezier(.34,1.56,.64,1);
    }
    .event-item:hover .event-date{transform:scale(1.08) rotate(-2deg);}
    .event-date-day{font-size:1.2rem;margin-top:1px;}
    .ev-title{font-weight:600;color:var(--navy);font-size:.87rem;margin-bottom:.15rem;}
    .ev-time{font-size:.78rem;color:var(--g500);}
    .ev-badge{
      display:inline-block;padding:.18rem .55rem;border-radius:.3rem;
      font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;margin-top:.3rem;
    }
    .eb-online{background:rgba(0,159,173,.1);color:var(--teal);}
    .eb-campus{background:rgba(0,63,128,.08);color:var(--navy);}

    /* Space items */
    .space-item{
      border-radius:.75rem;overflow:hidden;border:1px solid var(--g200);
      margin-bottom:.9rem;cursor:pointer;
      transition:box-shadow .25s,transform .25s;
    }
    .space-item:last-child{margin-bottom:0;}
    .space-item:hover{box-shadow:0 6px 24px rgba(0,63,128,.1);transform:translateY(-2px);}
    .space-img{
      width:100%;height:90px;
      background:linear-gradient(135deg,rgba(0,63,128,.07),rgba(0,159,173,.07));
      display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
    }
    .space-img svg{width:28px;height:28px;color:rgba(0,63,128,.15);}
    .space-overlay{
      position:absolute;inset:0;background:rgba(0,63,128,.72);
      display:flex;align-items:center;justify-content:center;
      opacity:0;transition:opacity .25s;
    }
    .space-item:hover .space-overlay{opacity:1;}
    .book-btn{
      background:linear-gradient(135deg,var(--teal),var(--teal-light));
      color:#fff;border:none;padding:.55rem 1.3rem;border-radius:.5rem;
      font-weight:700;font-size:.82rem;cursor:pointer;font-family:inherit;
      transition:transform .2s cubic-bezier(.34,1.56,.64,1);
    }
    .book-btn:hover{transform:scale(1.06);}
    .space-info{padding:.65rem 1rem;display:flex;justify-content:space-between;align-items:center;}
    .space-details h4{font-size:.85rem;font-weight:600;color:var(--navy);}
    .space-details p{font-size:.73rem;color:var(--g500);}
    .avail-badge{
      background:linear-gradient(135deg,var(--teal),var(--teal-light));
      color:#fff;padding:.22rem .65rem;border-radius:.35rem;
      font-weight:700;font-size:.68rem;
      box-shadow:0 2px 8px rgba(0,159,173,.2);white-space:nowrap;
    }

    /* Overlay (mobile) */
    .sidebar-overlay{
      display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);
      backdrop-filter:blur(3px);z-index:150;
    }
    .sidebar-overlay.open{display:block;}

    /* Ripple */
    .ripple-host{position:relative;overflow:hidden;}
    .ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.35);
      transform:scale(0);animation:rippleA .55s linear;pointer-events:none;}
    @keyframes rippleA{to{transform:scale(4);opacity:0;}}

    /* Reveal */
    .reveal{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s cubic-bezier(.22,1,.36,1);}
    .reveal.visible{opacity:1;transform:translateY(0);}
    .rd1{transition-delay:.06s;} .rd2{transition-delay:.12s;} .rd3{transition-delay:.18s;} .rd4{transition-delay:.24s;}

    /* Toast */
    #toast{
      position:fixed;bottom:2rem;right:2rem;
      background:var(--navy);color:#fff;
      padding:.9rem 1.4rem;border-radius:.8rem;font-weight:600;font-size:.88rem;
      box-shadow:0 8px 32px rgba(0,63,128,.3);z-index:9999;
      display:flex;align-items:center;gap:.6rem;
      transform:translateY(80px);opacity:0;
      transition:all .4s cubic-bezier(.34,1.56,.64,1);
    }
    #toast.show{transform:translateY(0);opacity:1;}
    #toast svg{width:18px;height:18px;color:var(--teal);}

    /* RESPONSIVE */
    @media(max-width:1280px){
      .banner-stats{display:none;}
    }
    @media(max-width:1100px){
      .cards-grid{grid-template-columns:repeat(2,1fr);}
    }
    @media(max-width:900px){
      .bottom-row{grid-template-columns:1fr;}
    }
    @media(max-width:768px){
      .sidebar{flex-wrap:wrap;padding:0.6rem 1rem;gap:1rem;}
      .sidebar.open{transform:translateX(0);}
      .main{margin-left:0;padding-top:120px;}
      .topbar{left:0;}
      .topbar-menu-btn{display:flex;}
      .content{padding:1.25rem;}
      .banner{padding:1.4rem 1.5rem;}
      .s-nav{display:none;}
      .s-nav.open{display:flex;}
      .s-bottom{margin-left:0;}
    }
    @media(max-width:540px){
      .cards-grid{grid-template-columns:1fr;}
      .topbar{padding:0 1rem;gap:.75rem;}
      .topbar-search{display:none;}
      .s-logo{padding:0.4rem;}
      .s-logo-sub{display:none;}
    }
  
    /* SIDEBAR COLLAPSE BUTTON — thin strip between logo and nav */
    .sidebar-collapse-btn {
      display:none;align-items:center;justify-content:center;
      padding:.4rem .6rem;margin:0;
      background:none;border:none;
      border-bottom:none;
      color:var(--g400);cursor:pointer;
      font-family:inherit;flex-shrink:0;
      transition:color .2s,background .2s;
    }
    .sidebar-collapse-btn:hover{background:var(--g50);color:var(--navy);}
    .sidebar-collapse-btn svg{width:15px;height:15px;flex-shrink:0;transition:transform .3s ease;}

    /* COLLAPSED STATE */
    body.sidebar-collapsed .sidebar { width: 100%; }
    body.sidebar-collapsed .topbar  { left: 0; }
    body.sidebar-collapsed .main    { margin-left: 0; }

    /* hide text labels, keep icons */
    body.sidebar-collapsed .s-label                  { display: none; }
    body.sidebar-collapsed .s-logo-sub               { display: none; }
    body.sidebar-collapsed .s-logo-name              { display: block; }
    body.sidebar-collapsed .s-link span              { display: none; }
    body.sidebar-collapsed .s-user > div:not(.s-avatar) { display: none; }
    body.sidebar-collapsed .s-user > svg             { display: none; }

    body.sidebar-collapsed .s-link  { padding:.6rem; justify-content:center; gap:0; }
    body.sidebar-collapsed .s-link:hover { padding-left:.6rem; transform:none; }
    body.sidebar-collapsed .s-link svg   { margin: 0; }
    body.sidebar-collapsed .s-logo        { padding:0; text-align:center; border-bottom-color:transparent; }
    body.sidebar-collapsed .s-logo-short  { display:none; }
    body.sidebar-collapsed .s-user  { padding:.5rem 1rem; justify-content:center; gap:0; }
    body.sidebar-collapsed .s-avatar{ width:28px; height:28px; font-size:.65rem; }
    body.sidebar-collapsed .s-bottom{ align-items:center; padding:0; margin-left:auto; }

    /* collapsed: center the arrow in the narrow bar */
    body.sidebar-collapsed .sidebar-collapse-btn { justify-content:center; }
    /* flip arrow icon when collapsed */
    body.sidebar-collapsed .sidebar-collapse-btn svg { transform: scaleX(-1); }

/* PAGE HERO */
.page-hero{background:#f8fafc;border-radius:1.1rem;padding:2rem 2.5rem;margin-bottom:2rem;position:relative;overflow:hidden;border:1px solid var(--g200);}
.page-hero::before{content:'';position:absolute;right:-60px;top:-60px;width:260px;height:260px;background:radial-gradient(circle,rgba(0,63,128,.03) 0%,transparent 70%);border-radius:50%;pointer-events:none;}
.page-hero h1{font-size:clamp(1.3rem,2.5vw,1.9rem);font-weight:700;color:var(--navy);letter-spacing:-.5px;margin-bottom:.4rem;position:relative;z-index:1;}
.page-hero p{font-size:.9rem;color:var(--g600);max-width:560px;line-height:1.7;position:relative;z-index:1;}

/* BREADCRUMB */
.breadcrumb{display:flex;align-items:center;gap:.4rem;font-size:.78rem;color:var(--g400);margin-bottom:1.2rem;}
.breadcrumb a{color:var(--g400);text-decoration:none;}
.breadcrumb a:hover{color:var(--navy);}
.breadcrumb svg{width:12px;height:12px;}

/* FORM STYLES */
.form-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1rem;padding:2rem;box-shadow:0 2px 12px rgba(0,0,0,.04);}
.form-title{font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:1.5rem;}
.form-group{margin-bottom:1.2rem;}
.form-label{display:block;font-size:.82rem;font-weight:600;color:var(--g600);margin-bottom:.45rem;}
.form-control{width:100%;padding:.65rem 1rem;background:var(--g50);border:1.5px solid var(--g200);border-radius:.7rem;font-size:.88rem;font-family:inherit;color:var(--gd);transition:all .2s;}
.form-control:focus{outline:none;border-color:var(--navy);background:#fff;box-shadow:0 0 0 3px rgba(0,63,128,.1);}
.form-control::placeholder{color:var(--g400);}
textarea.form-control{resize:vertical;min-height:100px;}
select.form-control{cursor:pointer;}
.form-actions{display:flex;gap:.75rem;margin-top:1.5rem;}
.btn-primary{display:inline-flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);color:#fff;border:none;padding:.7rem 1.6rem;border-radius:.75rem;font-weight:700;font-size:.87rem;font-family:inherit;cursor:pointer;box-shadow:0 6px 16px rgba(0,63,128,.28);transition:all .3s cubic-bezier(.34,1.56,.64,1);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,63,128,.36);}
.btn-secondary{display:inline-flex;align-items:center;gap:.5rem;background:var(--g100);color:var(--g600);border:1.5px solid var(--g200);padding:.68rem 1.4rem;border-radius:.75rem;font-weight:600;font-size:.87rem;font-family:inherit;cursor:pointer;transition:all .2s;}
.btn-secondary:hover{background:var(--g200);color:var(--gd);}

/* RADIO GROUP */
.radio-group{display:flex;flex-wrap:wrap;gap:.6rem;}
.radio-opt{display:none;}
.radio-label{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .9rem;border:1.5px solid var(--g200);border-radius:.55rem;font-size:.82rem;font-weight:500;color:var(--g600);cursor:pointer;transition:all .2s;}
.radio-opt:checked+.radio-label{border-color:var(--navy);background:rgba(0,63,128,.06);color:var(--navy);font-weight:700;}

/* DEADLINE TOGGLE */
.deadline-toggle{display:flex;align-items:center;gap:.6rem;font-size:.83rem;color:var(--g500);cursor:pointer;margin-bottom:.8rem;}
.toggle-switch{width:34px;height:20px;background:var(--g200);border-radius:10px;position:relative;transition:background .2s;flex-shrink:0;}
.toggle-switch::after{content:'';position:absolute;left:3px;top:3px;width:14px;height:14px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.2);}
.deadline-active .toggle-switch{background:var(--teal);}
.deadline-active .toggle-switch::after{transform:translateX(14px);}
#deadlineDate{display:none;}
#deadlineDate.visible{display:block;margin-top:.6rem;}

/* RECENT QUESTIONS */
.q-item{padding:1rem;border-radius:.75rem;border:1px solid var(--g200);margin-bottom:.75rem;cursor:pointer;transition:all .2s;}
.q-item:hover{border-color:rgba(0,63,128,.2);box-shadow:0 3px 12px rgba(0,63,128,.07);transform:translateX(3px);}
.q-item:last-child{margin-bottom:0;}
.q-title{font-size:.88rem;font-weight:600;color:var(--navy);margin-bottom:.25rem;}
.q-meta{font-size:.75rem;color:var(--g400);display:flex;gap:1rem;}
.q-badge{display:inline-block;padding:.15rem .5rem;border-radius:.3rem;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;}
.q-badge-course{background:rgba(0,63,128,.08);color:var(--navy);}
.q-badge-exchange{background:rgba(0,159,173,.1);color:var(--teal);}
.q-badge-phd{background:rgba(34,197,94,.1);color:#16a34a;}

/* TABS */
.tabs{display:flex;gap:0;border-bottom:2px solid var(--g200);margin-bottom:1.5rem;}
.tab-btn{padding:.7rem 1.4rem;font-size:.87rem;font-weight:600;color:var(--g500);background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;font-family:inherit;transition:all .2s;}
.tab-btn:hover{color:var(--navy);}
.tab-btn.active{color:var(--navy);border-bottom-color:var(--teal);}
.tab-pane{display:none;}
.tab-pane.active{display:block;}

/* FILTER BAR */
.filter-bar{display:flex;flex-wrap:wrap;gap:.75rem;padding:1.2rem;background:var(--g50);border:1px solid var(--g200);border-radius:.85rem;margin-bottom:1.5rem;}
.filter-select{padding:.5rem .9rem;background:#fff;border:1.5px solid var(--g200);border-radius:.6rem;font-size:1rem;font-family:inherit;color:var(--gd);cursor:pointer;min-width:130px;}
.filter-search{flex:1;min-width:140px;padding:.5rem 1rem;background:#fff;border:1.5px solid var(--g200);border-radius:.6rem;font-size:.82rem;font-family:inherit;color:var(--gd);}
.filter-search:focus,.filter-select:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(0,63,128,.08);}

/* PHD CARDS */
.phd-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:.9rem;padding:1.4rem;box-shadow:0 2px 10px rgba(0,0,0,.04);transition:transform .25s,box-shadow .25s;}
.phd-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(0,63,128,.1);}
.phd-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;}
.phd-tag{display:inline-block;padding:.18rem .6rem;border-radius:.35rem;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.3px;background:rgba(0,63,128,.08);color:var(--navy);}
.phd-tag-online{background:rgba(0,159,173,.1);color:var(--teal);}
.phd-tag-funding{background:rgba(34,197,94,.1);color:#16a34a;}
.phd-card h4{font-size:.93rem;font-weight:700;color:var(--navy);margin-bottom:.35rem;}
.phd-card p{font-size:.8rem;color:var(--g500);line-height:1.6;margin-bottom:.75rem;}
.phd-card-footer{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--g400);}
.phd-deadline{color:#dc2626;font-weight:600;}
.phd-uni{display:flex;align-items:center;gap:.3rem;}

/* ALERT BOX */
.alert{display:flex;align-items:center;gap:.75rem;padding:1rem 1.2rem;border-radius:.75rem;font-size:.85rem;margin-bottom:1.5rem;}
.alert-warning{background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.25);color:#92400e;}
.alert svg{width:18px;height:18px;flex-shrink:0;}

/* COMING SOON */
.coming-soon{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5rem 2rem;min-height:400px;}
.coming-soon-ico{width:80px;height:80px;background:rgba(0,63,128,.07);border-radius:1.2rem;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;}
.coming-soon-ico svg{width:38px;height:38px;color:var(--navy);}
.coming-soon h2{font-size:1.4rem;font-weight:700;color:var(--navy);margin-bottom:.6rem;}
.coming-soon p{font-size:.9rem;color:var(--g500);max-width:380px;line-height:1.7;margin-bottom:2rem;}
.notify-form{display:flex;gap:.6rem;width:100%;max-width:380px;}
.notify-input{flex:1;padding:.7rem 1rem;border:1.5px solid var(--g200);border-radius:.7rem;font-size:1rem;font-family:inherit;color:var(--gd);}
.notify-input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(0,63,128,.1);}
.notify-success{font-size:.87rem;color:var(--teal);font-weight:600;display:none;}

/* SIGNIN */
.signin-wrap{display:flex;align-items:center;justify-content:center;min-height:100vh;min-height:100svh;background:linear-gradient(135deg,var(--navy) 0%,#001e3c 100%);padding:2rem;}
.signin-card{background:#fff;border-radius:1.2rem;padding:2.5rem;width:100%;max-width:420px;box-shadow:0 24px 64px rgba(0,0,0,.25);}
.signin-logo{text-align:center;margin-bottom:2rem;}
.signin-logo-name{font-size:1.1rem;font-weight:700;color:var(--navy);letter-spacing:-.4px;}
.signin-logo-sub{font-size:.65rem;color:var(--g400);text-transform:uppercase;letter-spacing:.8px;}
.signin-card h1{font-size:1.4rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
.signin-card .sub{font-size:.87rem;color:var(--g500);margin-bottom:1.8rem;}
.sso-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1.2rem;border:1.5px solid var(--g200);border-radius:.75rem;background:#fff;font-size:.87rem;font-weight:600;font-family:inherit;color:var(--gd);cursor:pointer;transition:all .2s;margin-bottom:.65rem;}
.sso-btn:hover{border-color:var(--navy);background:var(--g50);transform:translateY(-1px);}
.sso-btn svg{width:20px;height:20px;flex-shrink:0;}
.divider{display:flex;align-items:center;gap:1rem;margin:1.2rem 0;font-size:.78rem;color:var(--g400);}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--g200);}
.signin-form .form-group{margin-bottom:1rem;}
.forgot-link{float:right;font-size:.78rem;color:var(--navy);text-decoration:none;font-weight:600;}
.forgot-link:hover{text-decoration:underline;}
.signin-footer{text-align:center;margin-top:1.2rem;font-size:.82rem;color:var(--g500);}
.signin-footer a{color:var(--navy);font-weight:600;text-decoration:none;}
.signin-footer a:hover{text-decoration:underline;}
.signin-success{display:none;text-align:center;padding:1rem 0;}
.signin-success svg{width:48px;height:48px;color:var(--teal);margin-bottom:1rem;}
.signin-success h2{font-size:1.2rem;font-weight:700;color:var(--navy);margin-bottom:.4rem;}
.signin-success p{font-size:.87rem;color:var(--g500);margin-bottom:1.5rem;}

/* SPACES GRID */
.spaces-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem;}
.space-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:1rem;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:transform .25s,box-shadow .25s;}
.space-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px rgba(0,63,128,.1);}
.space-card-img{width:100%;height:140px;background:linear-gradient(135deg,rgba(0,63,128,.08),rgba(0,159,173,.08));display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;}
.space-card-img svg{width:36px;height:36px;color:rgba(0,63,128,.2);}
.space-card-overlay{position:absolute;inset:0;background:rgba(0,63,128,.75);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .25s;}
.space-card:hover .space-card-overlay{opacity:1;}
.space-card-body{padding:1rem 1.1rem;}
.space-card-body h4{font-size:.9rem;font-weight:700;color:var(--navy);margin-bottom:.2rem;}
.space-card-body p{font-size:.75rem;color:var(--g500);}
.space-card-footer{padding:.6rem 1.1rem 1rem;display:flex;justify-content:space-between;align-items:center;}
.capacity-badge{font-size:.72rem;color:var(--g400);}
.avail-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;display:inline-block;margin-right:.3rem;}

/* TWO COLUMN LAYOUT */
.two-col{display:grid;grid-template-columns:1.3fr 1fr;gap:1.5rem;}
@media(max-width:900px){.two-col{grid-template-columns:1fr;}}
@media(max-width:768px){
  .filter-bar{gap:.5rem;}
  .form-actions{flex-direction:column;}
  .notify-form{flex-direction:column;}
}