@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800;900&display=swap');
.ps-portal{--navy:#003366;--yellow:#ffc72c;--background:#e7ebef;--text:#19334b;background:var(--background);color:var(--text);font:14px/1.6 'Inter',Arial,sans-serif;min-height:100vh}.ps-portal *{box-sizing:border-box}.ps-portal button,.ps-portal input,.ps-portal select,.ps-portal textarea{font:inherit}.ps-portal button,.ps-portal a{ -webkit-tap-highlight-color:transparent}.ps-portal button{cursor:pointer}.ps-portal a:focus-visible,.ps-portal button:focus-visible,.ps-portal input:focus-visible,.ps-portal select:focus-visible,.ps-portal textarea:focus-visible{outline:3px solid #eaa900;outline-offset:4px}.ps-portal h1,.ps-portal h2,.ps-portal h3{font-family:'Inter',Arial,sans-serif}.ps-portal section[id],.ps-portal footer[id]{scroll-margin-top:24px}.ps-layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 268px;padding:18px 24px 0}.ps-main{min-width:0;padding-right:25px;border-right:1px solid #b1bfcd}.ps-topnav{display:flex;justify-content:space-around;align-items:center;gap:12px;background:var(--navy);color:white;border-radius:8px;padding:12px 20px;font-size:11px}.ps-topnav a:hover{color:var(--yellow)}.ps-subnav{display:flex;justify-content:center;align-items:center;gap:22px;padding:22px 4px;color:var(--navy);font-size:11px;font-weight:750;letter-spacing:.3px}.ps-subnav>span{font-size:13px;color:#788b9c}.ps-banner{position:relative;min-height:430px;border-radius:9px;overflow:hidden;background:var(--navy);color:white}.ps-banner-photo,.ps-banner-shade{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.ps-banner-photo{object-position:75% center}.ps-banner-shade{background:linear-gradient(90deg,#002e60 2%,#003366ef 29%,#00336680 62%,#0033660a),linear-gradient(0deg,#00336645,transparent)}.ps-banner-copy{position:relative;padding:43px 42px 64px;width:70%;z-index:1}.ps-kicker{display:inline-block;font-size:9px;font-weight:700;letter-spacing:1.7px;color:var(--yellow);border-left:3px solid var(--yellow);padding-left:11px}.ps-banner h1{font-size:clamp(35px,3.8vw,58px);line-height:1.06;letter-spacing:-2.4px;font-weight:850;margin:20px 0 15px;max-width:500px}.ps-banner p{max-width:350px;font-size:13px;line-height:1.7;color:#e0e8f0;margin-bottom:23px}.ps-button{display:inline-flex;justify-content:space-between;align-items:center;gap:20px;min-height:46px;padding:12px 21px;font-size:11px;font-weight:750;border-radius:7px;border:0;transition:filter .2s,transform .2s}.ps-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.ps-button>span{font-size:19px;line-height:1}.ps-yellow{background:var(--yellow);color:var(--navy)}.ps-blue{background:var(--navy);color:white}.ps-banner-signature{display:block;margin-top:30px;font-size:10px;letter-spacing:2px;font-weight:800}.ps-banner-signature>span{display:block;font-size:7px;letter-spacing:1.5px;font-weight:400;margin-top:3px;color:#c3d2e1}.ps-slider-controls{position:absolute;right:22px;bottom:42px;display:flex;gap:9px;align-items:center;z-index:2}.ps-slider-controls>button{border:1px solid #ffffff50;background:#00336665;color:white;border-radius:50%;width:30px;height:30px;font-size:23px;line-height:1}.ps-slider-controls>div{display:flex;gap:6px}.ps-slider-controls>div>button{width:6px;height:6px;border:0;border-radius:10px;padding:0;background:#ffffff70}.ps-slider-controls>div>button.selected{width:22px;background:var(--yellow)}.ps-slider-controls>.ps-pause{font-size:12px}.ps-course-tabs{position:relative;z-index:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:-24px 17px 32px;padding:4px 0;background:var(--navy);border-radius:8px;box-shadow:0 7px 16px #00336620;color:white}.ps-course-tabs>a{display:flex;gap:10px;align-items:center;padding:10px 14px;font-size:12px;font-weight:650;line-height:1.2;border-right:1px solid #ffffff30;min-height:64px;transition:color .2s,background .2s;text-decoration:none}.ps-course-tabs>a:hover{background:#ffffff0d;color:var(--yellow)}.ps-course-tabs>a:last-child{border:0}.ps-course-tabs>a>span:last-child{margin-left:auto;color:var(--yellow);flex-shrink:0}.ps-course-icon{color:var(--yellow);font-size:18px;flex-shrink:0}.ps-course-label{display:flex;flex-direction:column;justify-content:center;line-height:1.2;white-space:normal}.ps-course-sub{font-size:9.5px;font-weight:500;opacity:.85;color:#dce6ef;display:block;margin-top:2px}.ps-block{margin:38px 0}.ps-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}.ps-eyebrow{font-size:9px;letter-spacing:1.6px;color:#5d7690;font-weight:750;display:block}.ps-section-heading h2,.ps-about h2{font-size:25px;font-weight:800;color:var(--navy);line-height:1.2;letter-spacing:-.8px;margin:7px 0 0}.ps-section-heading>a{font-size:10px;white-space:nowrap;color:var(--navy);font-weight:650}.ps-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ps-course-card{position:relative;height:300px;overflow:hidden;border-radius:8px;color:white;background:var(--navy)}.ps-course-card>img,.ps-card-gradient{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ps-course-card>img{transition:transform .35s}.ps-course-card:hover>img{transform:scale(1.045)}.ps-card-gradient{background:linear-gradient(180deg,#00336615 25%,#002b55a8 55%,#002951 100%)}.ps-card-tag{position:absolute;top:15px;left:14px;background:#003366d9;font-size:7px;letter-spacing:1px;padding:5px 8px;border-radius:3px}.ps-course-name{position:absolute;bottom:20px;left:20px;right:20px}.ps-course-name small{font-size:7px;letter-spacing:1.1px;color:#e0e6ed}.ps-course-name h3{font-size:22px;line-height:1.15;letter-spacing:-.7px;margin:10px 0 19px;font-weight:800}.ps-course-name>span{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid #ffffff40;font-size:9px;color:var(--yellow)}.ps-course-name>span>span{font-size:16px;line-height:1}.ps-promos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:1px solid #b5c3d0;padding-top:25px;margin:30px 0}.ps-promo{min-height:195px;padding:22px 20px;position:relative;overflow:hidden;border-radius:8px;display:flex;flex-direction:column}.ps-promo small,.ps-promo h2,.ps-promo>span{position:relative;z-index:1}.ps-promo small{font-size:7px;letter-spacing:1px;font-weight:700}.ps-promo h2{font-size:21px;font-weight:800;letter-spacing:-.6px;line-height:1.15;margin:15px 0 22px}.ps-promo>span{font-size:9px;margin-top:auto;display:flex;justify-content:space-between}.ps-promo>b{position:absolute;right:-8px;bottom:-55px;font-size:150px;font-weight:400;opacity:.12;line-height:1}.ps-promo-yellow{background:var(--yellow);color:var(--navy)}.ps-promo-blue{background:var(--navy);color:white}.ps-promo-blue small,.ps-promo-blue>span{color:var(--yellow)}.ps-promo-photo{color:white}.ps-promo-photo>img,.ps-promo-photo>div{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ps-promo-photo>div{background:#003366bc}.ps-about{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;padding:30px 0;border-top:1px solid #b5c3d0}.ps-about-visual{position:relative;border-radius:8px;overflow:hidden;height:300px}.ps-about-visual>img{width:100%;height:100%;object-fit:cover}.ps-about-visual>span{position:absolute;inset:0;background:linear-gradient(90deg,#003366c9,transparent);color:white;padding:27px;display:flex;flex-direction:column;justify-content:space-between}.ps-about-visual strong{font-size:36px;line-height:1.08;letter-spacing:-1px}.ps-about-visual small{font-size:8px;letter-spacing:2px;color:var(--yellow)}.ps-about p{font-size:12px;color:#53687c;margin:18px 0;line-height:1.8}.ps-about .ps-button{margin-top:4px}.ps-video video{width:100%;max-height:520px;aspect-ratio:16/9;object-fit:contain;background:#031830;border-radius:8px;display:block}.ps-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.ps-news-card img{width:100%;height:150px;object-fit:cover;border-radius:7px}.ps-news-card small{display:block;color:#56728b;font-size:8px;letter-spacing:1px;margin:13px 0 6px}.ps-news-card h3{font-size:17px;line-height:1.3;color:var(--navy);margin:7px 0}.ps-news-card p{font-size:11px;color:#53687c}.ps-news-card>span{font-size:10px;font-weight:700;color:var(--navy)}.ps-events>a{display:flex;gap:22px;align-items:center;border-bottom:1px solid #bac7d2;padding:15px 0}.ps-events time{font-weight:800;color:var(--navy);font-size:17px}.ps-events h3{font-size:15px;margin:0}.ps-events p{font-size:11px;margin:3px 0}.ps-events>a>span{margin-left:auto}.ps-enroll{display:grid;grid-template-columns:.9fr 1.1fr;gap:35px;background:var(--navy);padding:32px;border-radius:9px;color:white}.ps-enroll h2{font-size:32px;line-height:1.12;letter-spacing:-1px;margin:13px 0 18px;font-weight:800}.ps-enroll .ps-eyebrow{color:var(--yellow);font-size:8px}.ps-enroll p{font-size:11px;line-height:1.8;color:#d2dfeb}.ps-enroll>div>a{font-size:10px;color:var(--yellow)}.ps-enroll form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ps-enroll form>label{font-size:9px;color:#e5ecf3}.ps-enroll input,.ps-enroll select,.ps-enroll textarea{width:100%;display:block;margin-top:5px;padding:10px;border:1px solid #ffffff40;border-radius:4px;background:#ffffff0c;color:white;font-size:11px;min-width:0}.ps-enroll input::placeholder,.ps-enroll textarea::placeholder{color:#b4c4d6}.ps-enroll option{color:var(--navy);background:white}.ps-enroll .ps-full,.ps-enroll form>label:first-child,.ps-form-status{grid-column:1/-1}.ps-enroll form>.ps-button{grid-column:1/-1;justify-content:space-between}.ps-enroll .ps-form-status{margin:0;font-size:10px}.ps-button:disabled{opacity:.6;cursor:wait}.ps-footer{display:grid;grid-template-columns:.8fr 1.3fr 1fr;align-items:start;gap:25px;background:none;color:#53687c;border-top:1px solid #a9bbcd;padding:28px 0 18px;min-height:0}.ps-footer h3{font-size:10px;color:var(--navy);font-weight:800;letter-spacing:.5px;margin-bottom:13px}.ps-footer a{display:block;font-size:10px;line-height:2.1;color:#53687c}.ps-footer p{font-size:10px;line-height:1.8;margin-bottom:10px}.ps-footer .ps-footer-bottom{grid-column:1/-1;border-top:1px solid #c8d2dc;padding-top:16px;display:flex;justify-content:space-between;font-size:9px;gap:20px}.ps-sidebar{padding:10px 0 20px 24px}.ps-sidebar-inner{position:sticky;top:18px}.ps-sidebar-brand{display:flex;flex-direction:column;text-align:center;align-items:center;color:var(--navy);margin-bottom:23px}.ps-sidebar-brand>img{width:103px;height:103px;object-fit:contain;mix-blend-mode:multiply;margin:0 0 12px}.ps-sidebar-brand strong{font-size:22px;font-weight:900;line-height:1.02;letter-spacing:1px}.ps-sidebar-brand>span{font-size:8px;letter-spacing:1.5px;margin-top:11px;line-height:1.6}.ps-search{display:flex;background:#d5dde4;border-radius:7px;margin-bottom:13px;overflow:hidden}.ps-search input{min-width:0;width:100%;border:0;background:none;padding:13px 12px;font-size:11px;color:var(--navy)}.ps-search button{background:none;border:0;padding:10px;color:var(--navy);display:grid;place-items:center}.ps-sidebar .ps-button{display:flex;width:100%;margin-bottom:12px;font-size:11px}.ps-sidebar-rule{height:1px;background:#afbfce;margin:20px 0}.ps-sidebar-links{display:grid;gap:3px}.ps-sidebar-links>a{font-size:11px;display:flex;justify-content:space-between;padding:7px 0;color:var(--navy)}.ps-admin-link{display:flex;align-items:center;justify-content:center;gap:10px;background:#d5dde4;color:var(--navy);font-size:11px;font-weight:650;border-radius:6px;padding:12px;margin-top:14px;text-decoration:none;transition:all .2s ease}.ps-admin-link:hover{background:#c4d0dc;color:var(--navy)}.ps-sidebar-contact{margin-top:23px;text-align:center;padding:14px 10px;background:#dfe6ed50;border-radius:8px}.ps-sidebar-contact small{font-size:8.5px;letter-spacing:1.2px;font-weight:750;color:#5c768e;display:block;margin-bottom:10px}.ps-sidebar-contact a{display:block;font-size:13.5px;font-weight:750;color:var(--navy);line-height:1.65;letter-spacing:0.2px;transition:color .2s}.ps-sidebar-contact a:hover{color:#002244}.ps-sidebar-socials{display:flex;justify-content:center;align-items:center;gap:8px;margin:12px 0 6px}.ps-sidebar-social-link{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;padding:4px 11px;background:#ffffff;border:1px solid #b8cbdc;border-radius:20px;font-size:11px!important;font-weight:650!important;color:var(--navy)!important;text-decoration:none!important;line-height:1.3!important;box-shadow:0 1px 3px rgba(0,51,102,0.06);transition:all .2s ease}.ps-sidebar-social-link:hover{background:var(--navy);color:#ffffff!important;border-color:var(--navy);transform:translateY(-1px)}.ps-sidebar-contact p{font-size:10.5px;color:#6b8095;margin-top:10px;line-height:1.45}.ps-sidebar-seal{margin:30px auto 0;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--navy)}.ps-sidebar-seal>span{font-size:37px;font-weight:700}.ps-sidebar-seal p{font-size:9px;line-height:1.4;letter-spacing:1.5px;margin:0}.ps-sidebar-seal strong{font-size:19px;letter-spacing:.5px}.ps-whatsapp{position:fixed;right:23px;bottom:22px;z-index:15;width:53px;height:53px;display:grid;place-items:center;border-radius:50%;background:#26b966;color:white;box-shadow:0 4px 15px #001e3330}.ps-whatsapp svg{width:32px;height:32px}.ps-mobile-header,.ps-menu-overlay{display:none}.ps-skip{position:fixed;left:10px;top:-100px;padding:12px;background:var(--yellow);color:var(--navy);z-index:100}.ps-skip:focus{top:10px}.ps-search-result,.ps-empty{font-size:12px}.ps-search-result button{background:none;border:0;color:var(--navy);text-decoration:underline;margin-left:8px}
@media(min-width:1600px){.ps-layout{max-width:1480px}.ps-banner{min-height:475px}.ps-banner-copy{padding-top:55px}.ps-course-card{height:340px}}
@media(max-width:1150px){.ps-layout{grid-template-columns:minmax(0,1fr) 230px;padding:15px 18px 0}.ps-main{padding-right:18px}.ps-sidebar{padding-left:18px}.ps-topnav{gap:9px;font-size:10px;padding:11px}.ps-subnav{font-size:9px;gap:13px}.ps-banner-copy{padding:35px 30px 60px;width:78%}.ps-banner h1{font-size:43px}.ps-course-tabs>a{padding:10px;font-size:10px;gap:7px}.ps-course-card{height:270px}.ps-course-name{left:15px;right:15px}.ps-course-name h3{font-size:19px}.ps-promo{padding:17px;min-height:190px}.ps-promo h2{font-size:19px}.ps-enroll{padding:25px;gap:25px}.ps-enroll h2{font-size:28px}.ps-sidebar-brand>img{width:90px;height:90px}}
@media(max-width:850px){.ps-mobile-header{display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:white;padding:13px 22px}.ps-mobile-brand{display:flex;align-items:center;gap:12px}.ps-mobile-brand img{height:44px;width:44px;object-fit:contain;border-radius:50%}.ps-mobile-brand strong{font-size:13px;letter-spacing:.8px}.ps-mobile-brand small{display:block;font-size:7px;letter-spacing:1px;margin-top:2px;font-weight:400}.ps-mobile-header>button{color:white;background:none;border:1px solid #ffffff50;border-radius:5px;font-size:22px;width:39px;height:38px}.ps-layout{display:block;padding:0 20px}.ps-main{border:0;padding:0}.ps-topnav{display:none}.ps-subnav{padding:17px 0;justify-content:space-around;font-size:10px}.ps-sidebar{display:none}.ps-sidebar.is-open{display:block;position:fixed;right:0;top:70px;bottom:0;width:285px;max-width:88vw;padding:22px;background:#e7ebef;overflow:auto;z-index:30}.ps-sidebar-inner{position:static}.ps-sidebar-brand{display:none}.ps-menu-overlay{display:block;position:fixed;inset:70px 0 0;background:#001b37a0;border:0;z-index:29}.ps-banner{min-height:410px}.ps-banner-copy{width:70%}.ps-banner h1{font-size:47px}.ps-course-tabs>a{font-size:12px}.ps-course-card{height:300px}.ps-course-name h3{font-size:22px}.ps-promo h2{font-size:22px}.ps-whatsapp{height:48px;width:48px;right:17px;bottom:17px}}
@media(max-width:560px){.ps-layout{padding:0 14px}.ps-mobile-header{padding:11px 15px}.ps-mobile-brand strong{font-size:11px}.ps-subnav{font-size:8px;gap:7px;letter-spacing:0}.ps-subnav>span{font-size:8px}.ps-subnav a:last-child{display:none}.ps-subnav>span:last-of-type{display:none}.ps-banner{min-height:445px}.ps-banner-copy{width:100%;padding:33px 25px 77px}.ps-banner h1{font-size:43px;max-width:320px;letter-spacing:-1.7px}.ps-kicker{font-size:7px;letter-spacing:1px}.ps-banner p{max-width:270px;font-size:12px}.ps-banner-shade{background:linear-gradient(90deg,#003366f2,#003366a1 62%,#00336660)}.ps-banner-signature{margin-top:24px;font-size:9px}.ps-slider-controls{bottom:38px;right:18px}.ps-course-tabs{margin:-20px 8px 28px;padding:5px 0}.ps-course-tabs>a{font-size:9px;flex-direction:column;text-align:center;justify-content:center;padding:10px 6px;gap:6px}.ps-course-tabs>a>span:last-child{display:none}.ps-course-icon{font-size:17px}.ps-block{margin:30px 0}.ps-section-heading{gap:10px}.ps-section-heading h2{font-size:23px}.ps-section-heading>a{font-size:9px}.ps-eyebrow{font-size:8px;letter-spacing:1px}.ps-course-grid{grid-template-columns:1fr;gap:13px}.ps-course-card{height:275px}.ps-course-name h3{font-size:28px;max-width:280px}.ps-course-name{left:22px;right:22px}.ps-card-tag{left:22px}.ps-course-name>span{font-size:11px}.ps-promos{grid-template-columns:1fr;gap:12px;padding-top:20px}.ps-promo{min-height:180px;padding:24px}.ps-promo h2{font-size:27px;max-width:260px;margin:13px 0 20px}.ps-promo small{font-size:8px}.ps-promo>span{font-size:11px}.ps-about{grid-template-columns:1fr;gap:25px;padding:25px 0 0}.ps-about-visual{height:280px}.ps-about h2{font-size:28px}.ps-news-grid{grid-template-columns:1fr}.ps-news-card img{height:200px}.ps-video video{min-height:220px}.ps-enroll{grid-template-columns:1fr;padding:26px 22px;gap:22px}.ps-enroll h2{font-size:33px}.ps-enroll form{gap:13px 10px}.ps-enroll form>label{font-size:10px}.ps-enroll form>label:nth-child(4){grid-column:1/-1}.ps-enroll form>label:nth-child(5){grid-column:1/-1}.ps-enroll input,.ps-enroll select,.ps-enroll textarea{font-size:14px;padding:11px 9px}.ps-footer{grid-template-columns:1fr 1fr;gap:25px 20px;padding:25px 5px 30px}.ps-footer>div:nth-child(2){grid-column:1/-1;grid-row:2}.ps-footer>div:nth-child(3){grid-column:2;grid-row:1}.ps-footer a,.ps-footer p{font-size:11px}.ps-footer .ps-footer-bottom{flex-direction:column;gap:5px;padding-right:40px}.ps-footer h3{font-size:10px}.ps-sidebar.is-open{top:66px}.ps-menu-overlay{top:66px}.ps-events time{font-size:14px}.ps-events h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ps-portal *{transition:none!important;animation:none!important}}

/* ==========================================================================
   KLASSE AUTH ADAPTATION FOR INSTITUTO PARAÍSO DO SABER (ADMIN LOGIN)
   ========================================================================== */
.kl-auth-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  overflow-x: hidden;
  background-color: #072a4d;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
}
.kl-auth-bg {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
}
.kl-auth-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: brightness(0.95);
  z-index: 1;
}
.kl-auth-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 40, 80, 0.88) 0%, rgba(3, 20, 42, 0.94) 100%),
              radial-gradient(ellipse at top left, rgba(234, 169, 0, 0.15), transparent 60%);
  z-index: 2;
}
.kl-auth-left-brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  color: #ffffff;
  max-width: 620px;
}
.kl-auth-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffc72c;
  background: rgba(255, 199, 44, 0.12);
  border: 1px solid rgba(255, 199, 44, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.kl-auth-hero-copy h1 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px 0;
  color: #ffffff;
}
.kl-auth-hero-copy p {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 36px 0;
  max-width: 520px;
}
.kl-auth-features {
  display: grid;
  gap: 14px;
}
.kl-auth-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.kl-feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 199, 44, 0.2);
  color: #ffc72c;
  font-weight: 800;
  font-size: 12px;
}
.kl-auth-footer-tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 24px;
}

/* Painel de Login (Lateral / Card) */
.kl-auth-card-wrapper {
  position: relative;
  z-index: 10;
  width: clamp(380px, 34vw, 470px);
  min-height: 100vh;
  min-height: 100svh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 48px);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.08);
}
.kl-auth-lang-badge {
  position: absolute;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}
.kl-flag {
  font-size: 14px;
}
.kl-arrow {
  font-size: 10px;
  opacity: 0.7;
}

.kl-auth-card-inner {
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}
.kl-auth-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.kl-auth-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(6, 54, 106, 0.12);
  background: #ffffff;
  padding: 2px;
  border: 1px solid #e2e8f0;
}
.kl-auth-brand-text {
  display: flex;
  flex-direction: column;
}
.kl-brand-name {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #06366a;
  line-height: 1.1;
}
.kl-brand-sub {
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d99110;
  margin-top: 3px;
}
.kl-auth-heading {
  margin-bottom: 24px;
}
.kl-auth-heading h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.kl-auth-heading p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Formulário */
.kl-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kl-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kl-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}
.kl-input {
  height: 50px;
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 13px;
  padding: 0 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.kl-input:focus {
  border-color: #06366a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(6, 54, 106, 0.12);
  outline: none;
}
.kl-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.kl-field-hint {
  font-size: 11px;
  color: #64748b;
}

/* Password wrapper & Eye toggle */
.kl-password-wrapper {
  position: relative;
  width: 100%;
}
.kl-input-password {
  padding-right: 48px;
}
.kl-toggle-password {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  color: #64748b;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.kl-toggle-password:hover {
  color: #06366a;
  background: rgba(6, 54, 106, 0.06);
}
.kl-toggle-password svg {
  width: 19px;
  height: 19px;
}

/* Opções (Lembrar-me + Recuperar) */
.kl-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.kl-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
.kl-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: #06366a;
  cursor: pointer;
}
.kl-forgot-link {
  font-size: 13px;
  font-weight: 650;
  color: #06366a;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.kl-forgot-link:hover {
  text-decoration: underline;
}

/* Alerta de Erro */
.kl-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12.5px;
  font-weight: 500;
}
.kl-error-icon {
  font-size: 15px;
  flex-shrink: 0;
}

/* Botão Entrar */
.kl-submit-btn {
  height: 52px;
  width: 100%;
  margin-top: 6px;
  border-radius: 14px;
  background: #06366a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(6, 54, 106, 0.24);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kl-submit-btn:hover:not(:disabled) {
  background: #09478a;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(6, 54, 106, 0.3);
}
.kl-submit-btn:active:not(:disabled) {
  transform: translateY(1px);
}
.kl-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Rodapé do Login */
.kl-auth-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}
.kl-back-site {
  font-size: 13px;
  font-weight: 600;
  color: #06366a;
  text-decoration: none;
  transition: opacity 0.2s;
}
.kl-back-site:hover {
  text-decoration: underline;
  opacity: 0.85;
}
.kl-copyright {
  font-size: 11px;
  color: #94a3b8;
}

/* Responsividade Mobile (estilo Klasse) */
@media(max-width: 900px) {
  .kl-auth-page {
    flex-direction: column;
    justify-content: flex-end;
  }
  .kl-auth-bg {
    position: fixed;
    inset: 0;
    padding: 24px;
    height: 100%;
  }
  .kl-auth-left-brand {
    display: none;
  }
  .kl-auth-card-wrapper {
    width: 100%;
    min-height: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 28px 28px 0 0;
    padding: 32px 24px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  }
  .kl-auth-lang-badge {
    top: -46px;
    right: 20px;
    background: rgba(7, 42, 77, 0.85);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* Modo escuro */
body.theme-dark .kl-auth-card-wrapper {
  background: #0b1726;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.5);
}
body.theme-dark .kl-auth-card-wrapper .kl-brand-name,
body.theme-dark .kl-auth-card-wrapper .kl-auth-heading h2 {
  color: #f8fafc;
}
body.theme-dark .kl-auth-card-wrapper .kl-auth-heading p,
body.theme-dark .kl-auth-card-wrapper .kl-field-hint,
body.theme-dark .kl-auth-card-wrapper .kl-checkbox-label {
  color: #94a3b8;
}
body.theme-dark .kl-auth-card-wrapper .kl-label {
  color: #cbd5e1;
}
body.theme-dark .kl-auth-card-wrapper .kl-input {
  background: #132235;
  border-color: #243b55;
  color: #f8fafc;
}
body.theme-dark .kl-auth-card-wrapper .kl-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}
body.theme-dark .kl-auth-card-wrapper .kl-input::placeholder {
  color: #64748b;
}
body.theme-dark .kl-auth-card-wrapper .kl-toggle-password {
  color: #94a3b8;
}
body.theme-dark .kl-auth-card-wrapper .kl-toggle-password:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
body.theme-dark .kl-auth-card-wrapper .kl-forgot-link,
body.theme-dark .kl-auth-card-wrapper .kl-back-site {
  color: #60a5fa;
}
body.theme-dark .kl-auth-card-wrapper .kl-auth-bottom {
  border-top-color: #1e293b;
}
body.theme-dark .kl-auth-card-wrapper .kl-auth-lang-badge,
body.theme-dark .kl-auth-card-wrapper .kl-lang-badge {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

/* ==========================================================================
   POPUP MODAL DE INTERESSE / CADASTRO DE CURSO
   ========================================================================== */
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 20, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  animation: modalFadeIn 0.22s ease-out;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #1e293b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #64748b;
  transition: all 0.15s ease;
  z-index: 10;
}
.modal-close-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 20px;
  padding-right: 30px;
}
.modal-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #06366a;
  background: #eef4fb;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  border: 1px solid #d5e4f3;
}
.modal-header h2 {
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  color: #06366a;
  margin: 0 0 10px 0;
  line-height: 1.2;
}
.modal-course-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.modal-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 540px) {
  .modal-grid-2 {
    grid-template-columns: 1fr;
  }
}
.modal-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-input {
  height: 46px;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 14px;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.modal-input:focus {
  border-color: #06366a;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(6, 54, 106, 0.12);
  outline: none;
}
.modal-error-alert {
  padding: 11px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-note-privacy {
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
  margin: 2px 0 0 0;
}
.modal-submit {
  height: 50px;
  border-radius: 13px;
  background: #06366a;
  color: #ffffff;
  font-weight: 750;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(6, 54, 106, 0.25);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.modal-submit:hover:not(:disabled) {
  background: #09478a;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(6, 54, 106, 0.32);
}
.modal-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* SMS / Notificação de Confirmação */
.modal-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}
.modal-success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 28px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 4px solid #bbf7d0;
}
.modal-success-box h2 {
  font-size: 22px;
  font-weight: 850;
  color: #06366a;
  margin: 0 0 16px 0;
}
.modal-sms-notification {
  width: 100%;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(22, 101, 52, 0.08);
  margin-bottom: 16px;
}
.modal-sms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #166534;
  border-bottom: 1px dashed #bbf7d0;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.modal-sms-header small {
  color: #15803d;
  font-weight: 600;
}
.modal-sms-notification p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #14532d;
  margin: 0 0 10px 0;
}
.modal-sms-notification p:last-child {
  margin-bottom: 0;
}
.modal-success-hint {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 20px 0;
}

/* Modo escuro para o Modal */
body.theme-dark .modal-card {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}
body.theme-dark .modal-close-btn {
  background: #1e293b;
  border-color: #334155;
  color: #94a3b8;
}
body.theme-dark .modal-badge {
  background: #1e293b;
  border-color: #334155;
  color: #60a5fa;
}
body.theme-dark .modal-header h2,
body.theme-dark .modal-success-box h2 {
  color: #f8fafc;
}
body.theme-dark .modal-course-pill {
  background: #78350f33;
  color: #fbbf24;
  border-color: #78350f;
}
body.theme-dark .modal-desc,
body.theme-dark .modal-note-privacy,
body.theme-dark .modal-success-hint {
  color: #94a3b8;
}
body.theme-dark .modal-label {
  color: #cbd5e1;
}
body.theme-dark .modal-input {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}
body.theme-dark .modal-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}
body.theme-dark .modal-sms-notification {
  background: #064e3b33;
  border-color: #059669;
}
body.theme-dark .modal-sms-notification p {
  color: #d1fae5;
}
body.theme-dark .in-form-success-note {
  color: #6ee7b7;
}
body.theme-dark .modal-sms-header {
  color: #34d399;
  border-bottom-color: #05966966;
}
body.theme-dark .modal-sms-notification p {
  color: #a7f3d0;
}

/* ==========================================================================
   FIX ESTRUTURA E TAMANHO DE VÍDEO (REPRODUÇÃO HORIZONTAL ESTÁVEL)
   ========================================================================== */
.ps-video video,
.in-article-video {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 480px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #031830 !important;
  display: block !important;
}

@media (max-width: 768px) {
  .ps-video video,
  .in-institute-video video {
    aspect-ratio: 9 / 16 !important;
    max-height: 520px !important;
  }
}

/* ==========================================================================
   SMS NOTIFICAÇÃO DE RETORNO NOS FORMULÁRIOS
   ========================================================================== */
.in-form-success-container {
  grid-column: 1 / -1;
  width: 100%;
  animation: fadeIn 0.3s ease-in-out;
  padding: 10px 0;
}
.in-form-sms-card {
  margin: 10px 0 14px 0 !important;
  border-width: 1.5px !important;
}
.in-form-success-note {
  font-size: 12.5px;
  color: #166534;
  margin: 0 0 16px 0;
  font-weight: 500;
  line-height: 1.5;
}
.in-form-resubmit {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   EVENT LIGHTBOX (VISUALIZADOR DE FOTOS EM TELA CHEIA)
   ========================================================================== */
.event-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 24, 48, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out;
}
.event-lightbox-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  max-height: 96vh;
  position: relative;
}
.event-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 14px;
  color: white;
}
.event-lightbox-counter {
  font-size: 14px;
  font-weight: 700;
  color: #f7c844;
  letter-spacing: 0.5px;
}
.event-lightbox-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.event-lightbox-close:hover {
  background: #f7c844;
  color: #032042;
  border-color: #f7c844;
}
.event-lightbox-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  flex: 1;
  min-height: 0;
}
.event-lightbox-nav {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.event-lightbox-nav:hover {
  background: #f7c844;
  color: #032042;
  transform: scale(1.08);
}
.event-lightbox-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 72vh;
}
.event-lightbox-img {
  max-width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: block;
}
.event-lightbox-caption {
  color: #e2e8f0;
  font-size: 13.5px;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
}
.event-lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 4px 4px;
  justify-content: flex-start;
  scrollbar-width: thin;
}
.event-lightbox-thumb {
  width: 60px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  background: black;
  transition: all 0.2s;
}
.event-lightbox-thumb.active {
  border-color: #f7c844;
  opacity: 1;
  transform: scale(1.05);
}
.event-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-gallery-section {
  margin: 2.5rem 0;
}
.event-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 10px;
}
.event-gallery-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.event-gallery-hint {
  font-size: 12px;
  color: #06366a;
  background: #e8f0fe;
  border: 1px solid #d0e1fd;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.85rem;
}
.ps-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #b8cbdc;
  box-shadow: 0 2px 5px rgba(0, 51, 102, 0.05);
}
.ps-outline:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}
.event-gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background: #031830;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.event-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6, 54, 106, 0.25);
}
.event-gallery-card:hover .event-gallery-hover-overlay {
  opacity: 1;
}
.event-gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 32, 66, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
}

/* ==========================================================================
   ESTABILIDADE E ALINHAMENTO DO BANNER HERO (SPLIT ARQUITETÓNICO MODERNO)
   ========================================================================== */
.ps-banner {
  position: relative !important;
  height: 510px !important;
  min-height: 510px !important;
  max-height: 510px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #031f42 0%, #052c59 100%) !important;
  color: white !important;
  box-shadow: 0 18px 42px rgba(3, 32, 66, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.ps-banner.ps-banner-split {
  display: grid !important;
  grid-template-columns: 440px minmax(0, 1fr) !important;
  align-items: stretch !important;
}
.ps-banner-copy {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 32px 34px 44px !important;
  background: linear-gradient(155deg, #032042 0%, #063161 100%) !important;
  border-right: 1px solid rgba(255, 199, 44, 0.18) !important;
}
.ps-banner-eyebrow-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
.ps-banner-copy .ps-kicker {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  color: #ffc72c !important;
  border-left: 3px solid #ffc72c !important;
  padding-left: 10px !important;
  text-transform: uppercase !important;
}
.ps-banner-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: rgba(38, 185, 102, 0.16) !important;
  border: 1px solid rgba(38, 185, 102, 0.4) !important;
  color: #8ce9b0 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}
.ps-status-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #26b966 !important;
  box-shadow: 0 0 8px #26b966 !important;
}
.ps-banner.ps-banner-split h1 {
  font-size: clamp(26px, 2.4vw, 35px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.9px !important;
  font-weight: 850 !important;
  margin: 0 0 12px 0 !important;
  max-width: 100% !important;
  color: #ffffff !important;
}
.ps-banner.ps-banner-split p {
  max-width: 100% !important;
  font-size: 12.8px !important;
  line-height: 1.62 !important;
  color: #d6e3f0 !important;
  margin: 0 0 20px 0 !important;
}
.ps-banner-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}
.ps-banner-copy .ps-button {
  align-self: flex-start !important;
  width: auto !important;
  min-width: unset !important;
  max-width: fit-content !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 42px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: -0.1px !important;
  box-shadow: 0 6px 18px rgba(255, 199, 44, 0.25) !important;
}
.ps-banner-copy .ps-button > span {
  font-size: 16px !important;
  line-height: 1 !important;
}
.ps-banner-secondary-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.ps-banner-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 199, 44, 0.6) !important;
  color: #ffc72c !important;
}
.ps-banner-view-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px !important;
  width: 100% !important;
  margin-bottom: 16px !important;
}
.ps-banner-view-tab {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #cad9e8 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  text-align: left !important;
  transition: all 0.2s ease !important;
}
.ps-banner-view-tab:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #ffffff !important;
}
.ps-banner-view-tab.is-active {
  background: rgba(255, 199, 44, 0.16) !important;
  border-color: #ffc72c !important;
  color: #ffffff !important;
  font-weight: 750 !important;
}
.ps-banner-view-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px 5px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffc72c !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
}
.ps-banner-view-tab.is-active .ps-banner-view-num {
  background: #ffc72c !important;
  color: #032042 !important;
}
.ps-banner.ps-banner-split .ps-banner-signature {
  margin-top: 2px !important;
  font-size: 9.5px !important;
  letter-spacing: 1.8px !important;
  opacity: 0.9 !important;
}
.ps-banner-stage {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #04254d !important;
}
.ps-banner-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none;
  display: block !important;
}
.ps-banner-photo.is-active {
  opacity: 1 !important;
}
.ps-banner-stage-edge {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, rgba(6, 49, 97, 0.55) 0%, rgba(6, 49, 97, 0.12) 7%, transparent 18%),
              linear-gradient(0deg, rgba(3, 28, 58, 0.62) 0%, rgba(3, 28, 58, 0.15) 18%, transparent 34%) !important;
}
.ps-banner-stage-caption {
  position: absolute !important;
  left: 20px !important;
  bottom: 38px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  background: rgba(3, 32, 66, 0.82) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}
.ps-stage-caption-tag {
  color: #ffc72c !important;
  font-weight: 800 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.6px !important;
}
@media (max-width: 1100px) {
  .ps-banner.ps-banner-split {
    grid-template-columns: 380px minmax(0, 1fr) !important;
  }
}
@media (max-width: 860px) {
  .ps-banner,
  .ps-banner.ps-banner-split {
    display: flex !important;
    flex-direction: column-reverse !important;
    height: auto !important;
    min-height: unset !important;
    max-height: none !important;
  }
  .ps-banner-stage {
    height: 290px !important;
    min-height: 290px !important;
  }
  .ps-banner-copy {
    padding: 26px 22px 42px !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(255, 199, 44, 0.22) !important;
  }
  .ps-banner-stage-caption {
    bottom: 14px !important;
    left: 14px !important;
  }
  .ps-banner-stage .ps-slider-controls {
    bottom: 14px !important;
    right: 14px !important;
  }
}
@media (max-width: 1100px) {
  .ps-course-tabs {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  }
}
@media (max-width: 768px) {
  .ps-course-tabs {
    display: flex !important;
    overflow-x: auto !important;
    padding: 8px 12px !important;
    gap: 10px !important;
    scrollbar-width: thin;
  }
  .ps-course-tabs > a {
    flex: 0 0 auto !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 10px 14px !important;
    font-size: 11px !important;
  }
}

/* ==========================================================================
   MODERN PRESENTATION SHOWCASE (APRESENTAÇÃO DO INSTITUTO 03)
   ========================================================================== */
.ps-video-showcase {
  margin: 45px 0;
}

.ps-video-showcase-card {
  background: #ffffff;
  border: 1px solid #d2deea;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 34, 68, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.ps-video-showcase-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 40px 44px;
  min-width: 0;
}

.ps-video-header-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ps-video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f0f6fc;
  border: 1px solid #d5e4f2;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ps-video-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.ps-video-showcase-info h3 {
  font-size: clamp(23px, 2.3vw, 31px);
  font-weight: 850;
  color: var(--navy);
  line-height: 1.16;
  letter-spacing: -0.7px;
  margin: 0;
}

.ps-video-showcase-info p {
  font-size: 13.5px;
  color: #4f6880;
  line-height: 1.68;
  margin: 0;
  max-width: 65ch;
}

.ps-video-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px;
  background: #f6f9fc;
  border-radius: 14px;
  border: 1px solid #e1ebf4;
}

.ps-video-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid #e5eef6;
  border-left: 3.5px solid var(--yellow);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 51, 102, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ps-video-feature-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.06);
}

.ps-video-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #edf4fb;
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ps-video-feature-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.ps-video-feature-item small {
  display: block;
  font-size: 11.5px;
  color: #637b92;
  line-height: 1.4;
  margin-top: 2px;
}

.ps-video-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 4px;
}

.ps-video-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-video-playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-video-playlist-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #5c758d;
  text-transform: uppercase;
}

.ps-video-playlist-count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
  background: #edf4fb;
  padding: 2px 9px;
  border-radius: 999px;
}

.ps-video-playlist-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-video-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  background: #ffffff;
  border: 1px solid #cbd9e6;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ps-video-pill-play {
  font-size: 9px;
  line-height: 1;
  opacity: 0.8;
}

.ps-video-pill:hover {
  background: #eff5fb;
  border-color: #9ebbd7;
  transform: translateY(-1px);
}

.ps-video-pill.is-active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.24);
}

.ps-video-pill.is-active .ps-video-pill-play {
  color: var(--yellow);
  opacity: 1;
}

.ps-video-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid #e7eff6;
}

.ps-video-actions .ps-button {
  min-height: 46px;
  padding: 11px 22px;
  font-size: 12px;
  border-radius: 9px;
}

/* Right Column Stage + Device Player Frame */
.ps-video-player-stage {
  background: linear-gradient(160deg, #f2f7fc 0%, #e5eff8 100%);
  border-left: 1px solid #dce7f2;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ps-video-player-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ps-video-device-frame {
  width: 100%;
  max-width: 288px;
  background: #021224;
  border: 7px solid #00254d;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(0, 34, 68, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ps-video-device-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  background: #00254d;
}

.ps-video-device-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0f3964;
}

.ps-video-device-speaker {
  width: 36px;
  height: 4px;
  border-radius: 3px;
  background: #0f3964;
}

.ps-video-player {
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 500px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  background: #001224 !important;
  display: block !important;
}

.ps-video-device-bottom {
  padding: 7px 0;
  background: #00254d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ps-video-device-home {
  width: 54px;
  height: 3.5px;
  border-radius: 2px;
  background: #174678;
}

.ps-video-player-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #557089;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d3e1ee;
  padding: 5px 12px;
  border-radius: 999px;
  text-align: center;
}

/* Responsiveness */
@media (max-width: 1020px) {
  .ps-video-showcase-card {
    grid-template-columns: 1fr;
  }
  .ps-video-showcase-info {
    padding: 30px 24px;
  }
  .ps-video-player-stage {
    border-left: 0;
    border-top: 1px solid #dce7f2;
    padding: 32px 20px;
  }
  .ps-video-device-frame {
    max-width: 280px;
  }
}

/* Dark Mode */
body.theme-dark .ps-video-showcase-card {
  background: #15222e;
  border-color: #263847;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
body.theme-dark .ps-video-kicker {
  background: #1c2e3f;
  border-color: #2c4459;
  color: #dbe8f4;
}
body.theme-dark .ps-video-showcase-info h3 {
  color: #e6eef5;
}
body.theme-dark .ps-video-showcase-info p {
  color: #9db2c4;
}
body.theme-dark .ps-video-features {
  background: #192836;
  border-color: #263b4d;
}
body.theme-dark .ps-video-feature-item {
  background: #1f3142;
  border-color: #2d4459;
  border-left-color: var(--yellow);
}
body.theme-dark .ps-video-feature-icon {
  background: #152330;
  color: var(--yellow);
}
body.theme-dark .ps-video-feature-item strong {
  color: #dbe7f2;
}
body.theme-dark .ps-video-feature-item small {
  color: #8da4b8;
}
body.theme-dark .ps-video-playlist-count {
  background: #1f3142;
  color: #cbdbe8;
}
body.theme-dark .ps-video-pill {
  background: #1a2a38;
  border-color: #2e4458;
  color: #cbdbe8;
}
body.theme-dark .ps-video-pill:hover {
  background: #233748;
}
body.theme-dark .ps-video-pill.is-active {
  background: #003366;
  border-color: #3b82f6;
  color: #ffffff;
}
body.theme-dark .ps-video-actions {
  border-top-color: #253849;
}
body.theme-dark .ps-video-player-stage {
  background: linear-gradient(160deg, #111d28 0%, #0d1720 100%);
  border-color: #263847;
}
body.theme-dark .ps-video-player-tag {
  background: #192836;
  border-color: #2b4054;
  color: #9db2c4;
}

/* ==========================================================================
   INSTITUTIONAL VIDEO GALLERY CARDS (GALERIA MULTIMÉDIA - REELS HD)
   ========================================================================== */
.in-videos {
  margin: 44px 0;
}

.in-videos-count {
  font-size: 11px;
  font-weight: 750;
  color: var(--navy);
  background: #e8f0f8;
  border: 1px solid #cfe0f0;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.in-video-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)) !important;
  gap: 22px !important;
}

.in-video-card {
  background: #ffffff;
  border: 1px solid #d5e1ec;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 34, 68, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.in-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 34, 68, 0.12);
  border-color: #b8cde0;
}

.in-video-card-media {
  position: relative;
  width: 100%;
  background: #021224;
  border-bottom: 3px solid var(--yellow);
  overflow: hidden;
}

.in-video-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(3, 24, 48, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--yellow);
  border: 1px solid rgba(255, 199, 44, 0.35);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.in-video-card-player,
.in-video-grid video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 410px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  background: #021224 !important;
  display: block !important;
}

.in-video-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.in-video-card-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: #5b768f;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.in-video-card-body h3 {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.3px;
  margin: 0 0 8px 0 !important;
}

.in-video-card-body p {
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: #5c748a !important;
  margin: 0 0 14px 0 !important;
}

.in-video-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e6eef5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
}

.in-video-card-footer b {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: #f0f6fc;
  color: #35587a;
  padding: 3px 8px;
  border-radius: 6px;
}

body.theme-dark .in-videos-count {
  background: #1a2a38;
  border-color: #2e4458;
  color: #dbe8f4;
}

body.theme-dark .in-video-card {
  background: #15222e;
  border-color: #263847;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.theme-dark .in-video-card:hover {
  border-color: #38536b;
}

body.theme-dark .in-video-card-tag {
  color: #8da4b8;
}

body.theme-dark .in-video-card-body h3 {
  color: #e6eef5 !important;
}

body.theme-dark .in-video-card-body p {
  color: #9db2c4 !important;
}

body.theme-dark .in-video-card-footer {
  border-top-color: #253849;
  color: #cbdbe8;
}

body.theme-dark .in-video-card-footer b {
  background: #1f3142;
  color: var(--yellow);
}

/* ==========================================================================
   INSTITUTIONAL CINEMA SHOWCASE (/instituto - DARK NAVY MEDIA STUDIO)
   ========================================================================== */
.in-cinema-showcase {
  margin: 46px 0;
  background: linear-gradient(135deg, #042446 0%, #073566 60%, #05284f 100%);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(3, 28, 56, 0.22);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.in-cinema-showcase::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 200, 68, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.in-cinema-stage {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.in-cinema-video-box {
  width: 100%;
  max-width: 285px;
  border-radius: 18px;
  overflow: hidden;
  background: #010e1d;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  position: relative;
}

.in-cinema-live-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 16, 34, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  pointer-events: none;
}

.in-cinema-live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7c844;
  box-shadow: 0 0 8px #f7c844;
  display: inline-block;
}

.in-cinema-video {
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  max-height: 490px !important;
  object-fit: cover !important;
  display: block !important;
  background: #010e1d !important;
}

.in-cinema-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.in-cinema-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.in-cinema-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #f7c844;
  text-transform: uppercase;
  border-left: 3px solid #f7c844;
  padding-left: 10px;
}

.in-cinema-header h2 {
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 850;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0;
}

.in-cinema-header p {
  font-size: 13px;
  line-height: 1.65;
  color: #c8daec;
  margin: 0;
  max-width: 58ch;
}

.in-cinema-playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.in-cinema-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.in-cinema-track:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateX(3px);
}

.in-cinema-track.is-active {
  background: rgba(247, 200, 68, 0.15);
  border-color: #f7c844;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.in-cinema-track-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #d6e4f2;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.in-cinema-track.is-active .in-cinema-track-num {
  background: #f7c844;
  color: #042446;
}

.in-cinema-track-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.in-cinema-track-text strong {
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.25;
}

.in-cinema-track-text small {
  font-size: 11px;
  color: #b3c9df;
  line-height: 1.35;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.in-cinema-track-action {
  font-size: 10.5px;
  font-weight: 750;
  color: #d6e4f2;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.in-cinema-track.is-active .in-cinema-track-action {
  background: #f7c844;
  color: #042446;
  font-weight: 800;
}

.in-cinema-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.in-cinema-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: all 0.2s ease;
}

.in-cinema-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

@media (max-width: 960px) {
  .in-cinema-showcase {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 28px;
  }
  .in-cinema-track-text small {
    white-space: normal;
  }
}

/* ============================================================
   PAINEL ADMINISTRATIVO (/admin) — MODO CLARO & MODO ESCURO PREMIUM
   ============================================================ */

/* Controlos de Topo no Ecrã de Login Administrativo */
.kl-auth-top-controls {
  position: absolute;
  top: 22px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.kl-auth-top-controls .kl-auth-lang-badge {
  position: static;
}

.kl-auth-theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #d5e0eb;
  background: #f8fafc;
  color: #06366a;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.18s ease;
}

.kl-auth-theme-btn span:first-child {
  color: #d99110;
  font-size: 13.5px;
  line-height: 1;
}

.kl-auth-theme-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

body.theme-dark .kl-auth-theme-btn {
  background: #16283e;
  border-color: #294362;
  color: #f1f5f9;
}

body.theme-dark .kl-auth-theme-btn span:first-child {
  color: #ffd35a;
}

body.theme-dark .kl-auth-theme-btn:hover {
  background: #1e3552;
  border-color: #ffd35a;
}

body.theme-dark .kl-auth-card-wrapper .kl-submit-btn {
  background: linear-gradient(135deg, #ffd35a 0%, #f4b400 100%);
  color: #06182c;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.25);
}

body.theme-dark .kl-auth-card-wrapper .kl-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ffe07d 0%, #f7c022 100%);
  box-shadow: 0 16px 34px rgba(244, 180, 0, 0.34);
}

body.theme-dark .kl-auth-card-wrapper .kl-error-banner {
  background: rgba(185, 28, 28, 0.18);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

@media (max-width: 900px) {
  .kl-auth-page {
    padding-top: 36px;
    justify-content: flex-end;
    overflow-y: auto;
  }
  .kl-auth-top-controls {
    position: static;
    width: 100%;
    max-width: 370px;
    margin: 0 auto 18px;
    justify-content: space-between;
  }
  .kl-auth-card-wrapper {
    width: 100%;
    min-height: auto;
    border-radius: 26px 26px 0 0;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .kl-auth-brand-header {
    margin-bottom: 18px;
  }
  .kl-auth-heading {
    margin-bottom: 18px;
  }
  .kl-auth-heading h2 {
    font-size: 21px;
  }
  .kl-auth-form {
    gap: 14px;
  }
  .kl-input {
    height: 46px;
    font-size: 16px;
  }
  .kl-submit-btn {
    height: 48px;
    font-size: 14.5px;
  }
  .kl-auth-options {
    flex-wrap: wrap;
    gap: 8px;
  }
  body.theme-dark .kl-auth-card-wrapper {
    background: rgba(11, 23, 38, 0.98);
    border-top: 1px solid #243b55;
  }
}

/* Variáveis de Tema do Painel Administrativo (Modo Claro por predefinição) */
body .admin-shell {
  --adm-bg: #eef3f8;
  --adm-bg-glow: radial-gradient(900px circle at 100% 0%, rgba(11, 78, 162, 0.06), transparent 65%);
  --adm-surface: #ffffff;
  --adm-surface-alt: #f8fafc;
  --adm-surface-hover: #f0f6ff;
  --adm-border: #dce5f0;
  --adm-border-strong: #cbd5e1;
  --adm-border-subtle: #edf2f7;
  --adm-text: #061b33;
  --adm-text-secondary: #334155;
  --adm-text-muted: #64748b;
  --adm-accent: #0b4ea2;
  --adm-accent-soft: #eff6ff;
  --adm-accent-border: #bfdbfe;
  --adm-gold: #f4b400;
  --adm-input-bg: #f8fafc;
  --adm-input-focus-bg: #ffffff;
  --adm-input-border: #cbd5e1;
  --adm-shadow: 0 6px 20px rgba(6, 27, 51, 0.05), 0 1px 3px rgba(6, 27, 51, 0.03);
  --adm-shadow-hover: 0 14px 28px rgba(6, 27, 51, 0.1);
  --adm-side-bg: linear-gradient(180deg, #062142 0%, #092c57 55%, #051a36 100%);
  --adm-side-border: rgba(255, 255, 255, 0.1);

  min-height: 100vh;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  background-color: var(--adm-bg) !important;
  background-image: var(--adm-bg-glow) !important;
  color: var(--adm-text) !important;
  transition: background-color 0.22s ease, color 0.22s ease;
}

/* Variáveis de Tema do Painel Administrativo em MODO ESCURO */
body.theme-dark .admin-shell {
  --adm-bg: #07111e;
  --adm-bg-glow: radial-gradient(900px circle at 100% 0%, rgba(56, 189, 248, 0.07), transparent 65%);
  --adm-surface: #0e1d30;
  --adm-surface-alt: #13263e;
  --adm-surface-hover: #193150;
  --adm-border: #1f3550;
  --adm-border-strong: #2b4769;
  --adm-border-subtle: #162940;
  --adm-text: #f1f5f9;
  --adm-text-secondary: #cbd5e1;
  --adm-text-muted: #8ea4be;
  --adm-accent: #60a5fa;
  --adm-accent-soft: rgba(59, 130, 246, 0.15);
  --adm-accent-border: rgba(96, 165, 250, 0.34);
  --adm-gold: #ffd35a;
  --adm-input-bg: #091524;
  --adm-input-focus-bg: #0c1b2e;
  --adm-input-border: #253f5e;
  --adm-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  --adm-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.54);
  --adm-side-bg: linear-gradient(180deg, #040b14 0%, #071426 60%, #091a30 100%);
  --adm-side-border: #1b3049;
}

body .admin-side {
  background: var(--adm-side-bg) !important;
  color: #f8fafc;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--adm-side-border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 8px 0 32px rgba(4, 12, 24, 0.18);
}

body .admin-side .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body .admin-side .brand:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 180, 0, 0.5);
}

body .admin-side .brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

body .admin-side .brand span b {
  display: block;
  font-size: 13.5px;
  font-weight: 850;
  letter-spacing: 0.03em;
  color: #ffffff;
}

body .admin-side .brand span small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffd35a;
}

body .admin-side .side-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(203, 213, 225, 0.68);
  padding: 8px 12px 4px;
  text-transform: uppercase;
}

body .admin-side > button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(226, 232, 240, 0.88);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

body .admin-side > button span {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd35a;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

body .admin-side > button:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  transform: translateX(2px);
}

body .admin-side > button.active {
  background: linear-gradient(135deg, #ffd35a 0%, #f4b400 100%);
  color: #061529;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(244, 180, 0, 0.28);
}

body .admin-side > button.active span {
  background: rgba(6, 21, 41, 0.15);
  color: #061529;
}

body .admin-user {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
}

.adm-user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.adm-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd35a 0%, #d97706 100%);
  color: #061529;
  font-size: 13px;
  font-weight: 850;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.adm-user-meta b {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-user-meta small {
  display: block;
  font-size: 11px;
  color: rgba(203, 213, 225, 0.8);
  margin-top: 2px;
}

body .admin-user button {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.18s ease;
}

body .admin-user button:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}

/* Área principal */
body .admin-content {
  padding: 28px 34px 48px;
  display: grid;
  align-content: start;
  gap: 22px;
  min-width: 0;
  background: transparent !important;
  color: var(--adm-text);
}

body .admin-head {
  background: var(--adm-surface) !important;
  border: 1px solid var(--adm-border) !important;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: var(--adm-shadow);
}

body .admin-head small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--adm-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

body .admin-head h1 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--adm-text) !important;
}

.adm-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Seletor segmentado Modo Claro / Modo Escuro no Cabeçalho do Admin */
.adm-theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: var(--adm-surface-alt);
  border: 1px solid var(--adm-border-strong);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.adm-theme-switch:hover {
  border-color: var(--adm-accent);
}

.adm-theme-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
  color: var(--adm-text-muted);
  transition: all 0.18s ease;
}

.adm-theme-opt b {
  font-size: 13px;
  line-height: 1;
}

.adm-theme-opt.is-active {
  background: #062142;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(6, 33, 66, 0.2);
}

.adm-theme-opt.is-active b {
  color: #ffd35a;
}

body.theme-dark .adm-theme-opt.is-active {
  background: linear-gradient(135deg, #ffd35a 0%, #f4b400 100%);
  color: #061529;
  box-shadow: 0 2px 8px rgba(244, 180, 0, 0.28);
}

body.theme-dark .adm-theme-opt.is-active b {
  color: #061529;
}

.adm-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--adm-accent-soft);
  border: 1px solid var(--adm-accent-border);
  color: var(--adm-accent);
  font-size: 11.5px;
  font-weight: 750;
}

body .admin-head a {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 9px;
  background: #062142 !important;
  border: 1px solid #062142 !important;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
}

body .admin-head a:hover {
  background: #0b4ea2 !important;
  border-color: #0b4ea2 !important;
  transform: translateY(-1px);
}

body.theme-dark .admin-head a {
  background: var(--adm-surface-alt) !important;
  border-color: var(--adm-border-strong) !important;
  color: var(--adm-text) !important;
}

body.theme-dark .admin-head a:hover {
  background: #ffd35a !important;
  border-color: #ffd35a !important;
  color: #061529 !important;
}

/* Botão primário em todo o painel (.btn) */
body .admin-shell .btn {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid #062142;
  background: linear-gradient(135deg, #062142 0%, #0b4ea2 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(6, 33, 66, 0.16);
  transition: all 0.18s ease;
}

body .admin-shell .btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body.theme-dark .admin-shell .btn {
  background: linear-gradient(135deg, #ffd35a 0%, #f4b400 100%) !important;
  border-color: #ffd35a !important;
  color: #061529 !important;
  box-shadow: 0 6px 16px rgba(244, 180, 0, 0.22);
}

/* Cartões KPI da Visão Geral */
body .admin-shell .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body .admin-shell .stats .adm-stat-card {
  background: var(--adm-surface) !important;
  border: 1px solid var(--adm-border) !important;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--adm-shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body .admin-shell .stats .adm-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--adm-accent) 0%, var(--adm-gold) 100%);
}

body .admin-shell .stats .adm-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--adm-accent) !important;
  box-shadow: var(--adm-shadow-hover);
}

.adm-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.adm-stat-top small {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adm-text-muted) !important;
}

.adm-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--adm-accent-soft);
  border: 1px solid var(--adm-accent-border);
  color: var(--adm-accent);
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
}

body .admin-shell .stats .adm-stat-card b {
  font-size: 34px;
  font-weight: 850;
  line-height: 1.05;
  color: var(--adm-text) !important;
  margin: 2px 0;
}

.adm-stat-link {
  font-size: 12px;
  font-weight: 750;
  color: var(--adm-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Secção de Boas-vindas e Atalhos na Visão Geral */
.adm-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

body .admin-box {
  background: var(--adm-surface) !important;
  border: 1px solid var(--adm-border) !important;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: var(--adm-shadow);
  color: var(--adm-text);
  min-width: 0;
}

body .admin-box.adm-welcome-box {
  background:
    radial-gradient(440px circle at 96% 12%, rgba(244, 180, 0, 0.16), transparent 65%),
    linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%) !important;
  border: 1px solid #c7daf0 !important;
  border-left: 5px solid #0b4ea2 !important;
  color: #061b33 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

body.theme-dark .admin-box.adm-welcome-box {
  background:
    radial-gradient(420px circle at 95% 12%, rgba(244, 180, 0, 0.18), transparent 65%),
    linear-gradient(135deg, #091a32 0%, #0f294d 100%) !important;
  border: 1px solid #234268 !important;
  border-left: 5px solid #ffd35a !important;
  color: #ffffff !important;
}

.adm-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

body.theme-dark .adm-kicker {
  background: rgba(244, 180, 0, 0.16);
  border-color: rgba(244, 180, 0, 0.42);
  color: #ffd35a;
}

body .admin-box.adm-welcome-box h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #061b33 !important;
}

body.theme-dark .admin-box.adm-welcome-box h2 {
  color: #ffffff !important;
}

body .admin-box.adm-welcome-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155 !important;
  max-width: 64ch;
}

body.theme-dark .admin-box.adm-welcome-box p {
  color: rgba(226, 232, 240, 0.9) !important;
}

.adm-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

body .admin-box.adm-welcome-box .btn {
  background: linear-gradient(135deg, #f4b400 0%, #eab308 100%) !important;
  border-color: #d97706 !important;
  color: #061529 !important;
  box-shadow: 0 6px 16px rgba(234, 179, 8, 0.25);
}

body .admin-box.adm-welcome-box .adm-btn-secondary {
  background: #ffffff !important;
  border: 1px solid #94a3b8 !important;
  color: #062142 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

body .admin-box.adm-welcome-box .adm-btn-secondary:hover {
  background: #062142 !important;
  border-color: #062142 !important;
  color: #ffffff !important;
}

body.theme-dark .admin-box.adm-welcome-box .adm-btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  color: #ffffff !important;
}

body.theme-dark .admin-box.adm-welcome-box .adm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

.adm-shortcuts-box h2 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 850;
  color: var(--adm-text) !important;
}

.adm-shortcut-list {
  display: grid;
  gap: 10px;
}

.adm-shortcut-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--adm-border);
  background: var(--adm-surface-alt);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.adm-shortcut-list button:hover {
  background: var(--adm-surface-hover);
  border-color: var(--adm-accent);
  transform: translateX(2px);
}

.adm-shortcut-list button > span {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #062142;
  color: #ffd35a;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

body.theme-dark .adm-shortcut-list button > span {
  background: rgba(255, 211, 90, 0.14);
  border: 1px solid rgba(255, 211, 90, 0.3);
  color: #ffd35a;
}

.adm-shortcut-list button strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--adm-text);
}

.adm-shortcut-list button small {
  display: block;
  font-size: 12px;
  color: var(--adm-text-muted);
  margin-top: 2px;
}

/* Cabeçalhos de caixas e formulários */
body .admin-box .box-head,
.adm-form-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--adm-border);
  flex-wrap: wrap;
}

.adm-form-section-header {
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

body .admin-box .box-head h2,
.adm-form-section-header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 850;
  color: var(--adm-text) !important;
}

body .admin-box .box-head p,
.adm-form-section-header p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--adm-text-muted) !important;
}

body .admin-shell .record-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

body .admin-shell .settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body .admin-shell .record-form label,
body .admin-shell .settings-form label,
body .admin-shell .edit-record label,
body .admin-shell .section-edit label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--adm-text-secondary) !important;
  min-width: 0;
}

body .admin-shell .adm-field-wide {
  grid-column: 1 / -1;
}

body .admin-shell input:not([type="checkbox"]):not([type="file"]),
body .admin-shell select,
body .admin-shell textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 9px;
  border: 1px solid var(--adm-input-border) !important;
  background: var(--adm-input-bg) !important;
  color: var(--adm-text) !important;
  font-size: 13.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body .admin-shell textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.55;
}

body .admin-shell input:not([type="checkbox"]):not([type="file"]):focus,
body .admin-shell select:focus,
body .admin-shell textarea:focus {
  outline: none;
  background: var(--adm-input-focus-bg) !important;
  border-color: var(--adm-accent) !important;
  box-shadow: 0 0 0 3px var(--adm-accent-soft);
}

.adm-form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid var(--adm-border-subtle);
}

.adm-btn-secondary {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--adm-border-strong);
  background: var(--adm-surface-alt);
  color: var(--adm-text);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.adm-btn-secondary:hover {
  background: var(--adm-surface-hover);
  border-color: var(--adm-accent);
}

/* Definições SEO por página (.seo-settings) */
body .admin-shell .seo-settings {
  grid-column: 1 / -1;
  padding: 20px;
  border-radius: 12px;
  background: var(--adm-surface-alt) !important;
  border: 1px solid var(--adm-border) !important;
  margin-top: 6px;
}

body .admin-shell .seo-settings h3 {
  color: var(--adm-text);
  font-weight: 850;
}

body .admin-shell .seo-settings > p {
  color: var(--adm-text-muted);
}

body .admin-shell .seo-settings > div {
  border-top-color: var(--adm-border);
}

body .admin-shell .seo-settings > div > b {
  color: var(--adm-text);
  font-size: 13.5px;
  font-weight: 800;
  padding-top: 6px;
}

/* Secções da página inicial */
body .admin-shell .section-admin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body .admin-shell .section-edit {
  display: grid;
  gap: 14px;
}

.adm-section-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--adm-border);
  flex-wrap: wrap;
}

.adm-section-key {
  padding: 4px 10px;
  border-radius: 6px;
  background: #062142;
  color: #ffd35a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-dark .adm-section-key {
  background: rgba(255, 211, 90, 0.14);
  border: 1px solid rgba(255, 211, 90, 0.32);
}

.adm-section-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--adm-border-subtle);
}

.adm-section-card-foot label {
  max-width: 160px;
}

/* Banner de upload e Biblioteca Multimédia */
body .admin-box.adm-upload-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
  border: 1.5px dashed #60a5fa !important;
}

body.theme-dark .admin-box.adm-upload-banner {
  background: linear-gradient(135deg, #0d1d31 0%, #122844 100%) !important;
  border-color: #3b82f6 !important;
}

.adm-upload-banner h2 {
  margin: 6px 0 4px;
  font-size: 20px;
  font-weight: 850;
  color: var(--adm-text) !important;
}

.adm-upload-banner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--adm-text-muted) !important;
}

body .admin-shell .media-upload {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--adm-surface);
  border: 1px solid var(--adm-border-strong);
  border-radius: 12px;
  color: var(--adm-text);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--adm-shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

body .admin-shell .media-upload:hover {
  border-color: var(--adm-accent);
  transform: translateY(-1px);
}

body .admin-shell .media-upload > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--adm-accent-soft);
  color: var(--adm-accent);
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  font-weight: 850;
}

body .admin-shell .media-library {
  padding: 24px 26px !important;
}

body .admin-shell .media-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--adm-border);
}

.media-search-wrap {
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  align-items: center;
}

.media-search-wrap > span {
  position: absolute;
  left: 13px;
  font-size: 18px;
  color: var(--adm-text-muted);
  pointer-events: none;
}

body .admin-shell .media-search-wrap input {
  width: 100% !important;
  padding-left: 38px !important;
  padding-right: 34px !important;
}

.media-search-clear {
  position: absolute;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--adm-surface-hover);
  color: var(--adm-text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}

body .admin-shell .media-tools > select {
  width: auto !important;
  min-width: 205px;
  flex: 0 0 auto;
}

body .admin-shell .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

body .admin-shell .media-card {
  display: flex;
  flex-direction: column;
  background: var(--adm-surface-alt) !important;
  border: 1px solid var(--adm-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--adm-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body .admin-shell .media-card:hover {
  transform: translateY(-3px);
  border-color: var(--adm-accent) !important;
  box-shadow: var(--adm-shadow-hover);
}

body .admin-shell .media-preview {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 195px !important;
  min-height: 195px !important;
  max-height: 195px !important;
  overflow: hidden !important;
  background: #071526 !important;
  flex-shrink: 0;
  text-decoration: none;
}

body .admin-shell .media-preview img,
body .admin-shell .media-preview video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  display: block !important;
  transition: transform 0.32s ease;
}

body .admin-shell .media-card:hover .media-preview img {
  transform: scale(1.04);
}

.media-pdf-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 850;
  color: #ffd35a;
}

.media-badge-type,
.media-badge-size {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.media-badge-type {
  left: 10px;
  background: rgba(6, 21, 41, 0.84);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffd35a;
}

.media-badge-size {
  right: 10px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

body .admin-shell .media-card-meta {
  position: relative;
  z-index: 2;
  background: var(--adm-surface-alt);
  padding: 16px !important;
  display: flex !important;
  flex-direction: column;
  gap: 11px !important;
  flex: 1;
}

.media-card-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--adm-border-subtle);
  min-width: 0;
}

.media-card-head b {
  font-size: 14px;
  font-weight: 800;
  color: var(--adm-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card-head small {
  font-size: 11px;
  color: var(--adm-text-muted);
}

.media-field-label {
  display: grid !important;
  gap: 4px !important;
  min-width: 0;
}

.media-field-label > span {
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--adm-text-muted);
}

body .admin-shell .media-field-label input {
  min-height: 36px !important;
  padding: 7px 11px !important;
  font-size: 12.5px !important;
  border-radius: 8px !important;
}

.media-card-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--adm-border-subtle);
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.media-card-actions .media-btn-open,
.media-card-actions .media-btn-copy,
.media-card-actions .media-btn-delete {
  min-height: 34px;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.16s ease;
}

.media-card-actions .media-btn-open {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border-strong);
  color: var(--adm-text);
}

.media-card-actions .media-btn-open:hover {
  border-color: var(--adm-accent);
  color: var(--adm-accent);
}

.media-card-actions .media-btn-copy {
  background: var(--adm-accent-soft);
  border: 1px solid var(--adm-accent-border);
  color: var(--adm-accent);
}

.media-card-actions .media-btn-copy:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.media-card-actions .media-btn-delete {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  margin: 0 !important;
}

body.theme-dark .media-card-actions .media-btn-delete {
  color: #fca5a5;
}

.media-card-actions .media-btn-delete:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

/* Tabelas de registos e píldoras de estado */
.adm-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.adm-records-count {
  font-size: 13px;
  color: var(--adm-text-secondary);
  background: var(--adm-surface-alt);
  border: 1px solid var(--adm-border);
  padding: 6px 13px;
  border-radius: 999px;
}

.adm-records-count strong {
  color: var(--adm-text);
  font-weight: 850;
}

body .admin-shell .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  background: var(--adm-surface);
}

body .admin-shell table {
  width: 100%;
  border-collapse: collapse;
}

body .admin-shell th {
  background: var(--adm-surface-alt) !important;
  color: var(--adm-text-muted) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid var(--adm-border) !important;
  white-space: nowrap;
}

body .admin-shell td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--adm-text) !important;
  border-bottom: 1px solid var(--adm-border-subtle) !important;
  vertical-align: middle;
}

body .admin-shell tbody tr:nth-child(even) {
  background: transparent !important;
}

body .admin-shell tbody tr:hover {
  background: var(--adm-surface-hover) !important;
}

body .admin-shell tbody tr:last-child td {
  border-bottom: 0 !important;
}

.adm-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
  background: var(--adm-surface-alt);
  color: var(--adm-text-secondary);
  border: 1px solid var(--adm-border-strong);
  white-space: nowrap;
}

.adm-status-active,
.adm-status-published,
.adm-status-enrolled,
.adm-status-ongoing {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.adm-status-scheduled,
.adm-status-upcoming,
.adm-status-new,
.adm-status-negotiating {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.adm-status-draft,
.adm-status-contacted,
.adm-status-editor {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.adm-status-inactive,
.adm-status-closed,
.adm-status-archived,
.adm-status-ended,
.adm-status-not_interested {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.adm-status-admin {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

/* Píldoras de estado otimizadas para Modo Escuro */
body.theme-dark .adm-status-active,
body.theme-dark .adm-status-published,
body.theme-dark .adm-status-enrolled,
body.theme-dark .adm-status-ongoing {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.35);
}

body.theme-dark .adm-status-scheduled,
body.theme-dark .adm-status-upcoming,
body.theme-dark .adm-status-new,
body.theme-dark .adm-status-negotiating,
body.theme-dark .adm-status-admin {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.35);
}

body.theme-dark .adm-status-draft,
body.theme-dark .adm-status-contacted,
body.theme-dark .adm-status-editor {
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.35);
}

body.theme-dark .adm-status-inactive,
body.theme-dark .adm-status-closed,
body.theme-dark .adm-status-archived,
body.theme-dark .adm-status-ended,
body.theme-dark .adm-status-not_interested {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}

.adm-actions-cell {
  white-space: nowrap;
}

body .admin-shell td button.action-edit,
body .admin-shell td button.action-remove {
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  margin-right: 6px;
  transition: all 0.15s ease;
}

body .admin-shell td button.action-edit {
  background: var(--adm-accent-soft);
  border: 1px solid var(--adm-accent-border);
  color: var(--adm-accent);
}

body .admin-shell td button.action-edit:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

body .admin-shell td button.action-remove {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #ef4444;
}

body.theme-dark .admin-shell td button.action-remove {
  color: #fca5a5;
}

body .admin-shell td button.action-remove:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

/* Formulário de edição em destaque */
body .admin-shell .edit-record {
  background: var(--adm-surface-alt) !important;
  border: 1px solid var(--adm-border-strong) !important;
  border-left: 4px solid var(--adm-accent) !important;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

body .admin-shell .edit-record h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 850;
  color: var(--adm-text);
}

body .admin-shell .edit-record > div:first-of-type {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.adm-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--adm-border);
}

/* Elementos exclusivos de navegação mobile (ocultos no Desktop) */
.adm-side-top {
  display: block;
}

.adm-mobile-menu-btn,
.adm-mobile-tabs-strip {
  display: none;
}

/* Responsividade do Painel Administrativo (Tablet e Telemóvel / Celular) */
@media (max-width: 1100px) {
  body .admin-shell {
    grid-template-columns: 1fr !important;
    overflow-x: hidden;
  }
  body .admin-side {
    position: sticky;
    top: 0;
    z-index: 60;
    height: auto !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--adm-side-border);
    box-shadow: 0 6px 20px rgba(4, 12, 24, 0.22);
  }
  .adm-side-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }
  body .admin-side .brand {
    margin: 0 !important;
    padding: 8px 12px !important;
    flex: 1;
    min-width: 0;
  }
  body .admin-side .brand img {
    width: 36px !important;
    height: 36px !important;
  }
  body .admin-side .brand span b {
    font-size: 12.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .admin-side .brand span small {
    font-size: 9px !important;
  }
  .adm-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    flex-shrink: 0;
  }
  .adm-mobile-menu-btn small {
    font-size: 12px;
    font-weight: 750;
  }
  body .admin-side.is-mobile-open .adm-mobile-menu-btn {
    background: #ffd35a;
    border-color: #ffd35a;
    color: #061529;
  }
  .adm-mobile-tabs-strip {
    display: flex !important;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .adm-mobile-tabs-strip::-webkit-scrollbar {
    display: none;
  }
  .adm-mobile-tabs-strip button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(241, 245, 249, 0.92);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
  }
  .adm-mobile-tabs-strip button span {
    color: #ffd35a;
    font-size: 12px;
  }
  .adm-mobile-tabs-strip button.active {
    background: linear-gradient(135deg, #ffd35a 0%, #f4b400 100%);
    border-color: #ffd35a;
    color: #061529;
    font-weight: 850;
  }
  .adm-mobile-tabs-strip button.active span {
    color: #061529;
  }
  /* Oculta a lista vertical completa por predefinição no telemóvel; abre ao tocar em Menu */
  body .admin-side > .side-label,
  body .admin-side > button,
  body .admin-side > .admin-user {
    display: none !important;
  }
  body .admin-side.is-mobile-open {
    max-height: 88vh;
    overflow-y: auto;
  }
  body .admin-side.is-mobile-open > .side-label {
    display: block !important;
    padding-top: 6px;
  }
  body .admin-side.is-mobile-open > button {
    display: flex !important;
    width: 100%;
    min-height: 42px;
    font-size: 13.5px !important;
    padding: 10px 14px !important;
  }
  body .admin-side.is-mobile-open > .admin-user {
    display: grid !important;
    margin-top: 8px;
  }
  body .admin-shell .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-overview-grid,
  body .admin-shell .section-admin,
  body .admin-shell .record-form,
  body .admin-shell .edit-record > div:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body .admin-content {
    padding: 14px 12px 36px !important;
    gap: 16px;
  }
  body .admin-head {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 16px !important;
    gap: 12px;
  }
  body .admin-head h1 {
    font-size: 21px !important;
  }
  .adm-head-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  body .admin-head a {
    padding: 7px 12px;
    font-size: 12px;
  }
  body .admin-box {
    padding: 16px 14px !important;
    border-radius: 12px;
  }
  body .admin-shell .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  body .admin-shell .stats .adm-stat-card {
    padding: 14px 14px 12px !important;
    gap: 6px;
  }
  body .admin-shell .stats .adm-stat-card b {
    font-size: 26px !important;
  }
  .adm-stat-top small {
    font-size: 10px;
  }
  .adm-stat-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .adm-overview-grid,
  body .admin-shell .section-admin,
  body .admin-shell .settings-form,
  body .admin-shell .record-form,
  body .admin-shell .edit-record > div:first-of-type {
    grid-template-columns: 1fr !important;
  }
  body .admin-box.adm-welcome-box h2 {
    font-size: 20px !important;
  }
  body .admin-box.adm-welcome-box p {
    font-size: 13.5px !important;
  }
  .adm-quick-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .adm-quick-buttons button {
    width: 100%;
  }
  body .admin-box .box-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .export-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .export-actions button {
    width: 100%;
    font-size: 12px !important;
    padding: 9px 10px !important;
  }
  body .admin-shell input:not([type="checkbox"]):not([type="file"]),
  body .admin-shell select,
  body .admin-shell textarea {
    font-size: 16px !important;
  }
  .adm-form-submit-row .btn,
  .adm-edit-actions button,
  body .admin-shell .media-upload {
    width: 100%;
    justify-content: center;
  }
  .adm-edit-actions {
    flex-direction: column;
  }
  .adm-section-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .adm-section-card-foot label {
    max-width: 100%;
  }
  body .admin-shell .media-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .media-search-wrap,
  body .admin-shell .media-tools > select {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  body .admin-shell .media-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  body .admin-shell .table-wrap {
    -webkit-overflow-scrolling: touch;
    margin: 0 -2px;
  }
  body .admin-shell th,
  body .admin-shell td {
    padding: 10px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 400px) {
  body .admin-shell .stats {
    grid-template-columns: 1fr !important;
  }
  .export-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   GALERIA FOTOGRÁFICA (/galeria) — CARDS E GRELHA REDESENHADOS
   ============================================================ */

.in-gallery-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #dce5ee;
  border-radius: 10px;
}

.in-gallery-results-bar .in-result-count {
  margin: 0;
  font-size: 12.5px;
  color: #475569;
}

.in-gallery-results-bar .in-result-count strong {
  color: #06366a;
  font-weight: 850;
}

.in-gallery-click-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: #06366a;
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 999px;
}

body .in-catalogue.in-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body .in-gallery-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #d5e0eb;
  border-radius: 14px;
  background: #ffffff;
  color: #06366a;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 32, 64, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body .in-gallery-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 18px 36px rgba(6, 32, 64, 0.12);
}

.in-gallery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #061830;
  overflow: hidden;
}

.in-gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

body .in-gallery-card:hover .in-gallery-card-media img {
  transform: scale(1.05);
}

.in-gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 24, 48, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7c844;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.in-gallery-card-index {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #06366a;
  font-size: 10px;
  font-weight: 850;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.in-gallery-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 24, 48, 0.05) 35%, rgba(6, 24, 48, 0.72) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.24s ease;
}

body .in-gallery-card:hover .in-gallery-card-overlay {
  opacity: 1;
}

.in-gallery-card-overlay span {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #f7c844;
  color: #061830 !important;
  font-size: 11.5px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.in-gallery-card-body {
  padding: 16px 18px 15px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  position: relative;
}

.in-gallery-card-body small {
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b4ea2 !important;
}

.in-gallery-card-body h3 {
  margin: 0 !important;
  font-size: 15.5px !important;
  font-weight: 800;
  line-height: 1.35 !important;
  color: #062549;
}

.in-gallery-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.in-gallery-card-footer span {
  position: static !important;
  font-size: 11px;
  font-weight: 600;
  color: #64748b !important;
}

.in-gallery-card-footer b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f6ff;
  color: #0b4ea2;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

body .in-gallery-card:hover .in-gallery-card-footer b {
  background: #06366a;
  color: #f7c844;
}

@media (max-width: 1024px) {
  body .in-catalogue.in-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  body .in-catalogue.in-gallery {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MATRIZ DE PERFIS E PERMISSÕES DE ACESSO (/admin)
   ========================================================================== */
body .admin-box.adm-permissions-box {
  margin-top: 22px;
  padding: 26px 28px !important;
}

.adm-roles-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.adm-role-card {
  background: var(--adm-surface-alt);
  border: 1.5px solid var(--adm-border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.adm-role-card.is-current-role {
  border-color: var(--adm-accent);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
  background: var(--adm-surface);
}

.adm-role-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.adm-role-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adm-accent);
  margin-bottom: 4px;
}

.adm-role-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
  color: var(--adm-text);
}

.adm-role-active-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

body.theme-dark .adm-role-active-tag {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.adm-role-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--adm-text-muted);
}

.adm-role-tabs-list {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-role-tabs-list > small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--adm-text-soft);
}

.adm-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-role-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--adm-border-strong);
  background: var(--adm-surface);
  color: var(--adm-text);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-role-tab-pill:hover:not(:disabled) {
  border-color: var(--adm-accent);
  color: var(--adm-accent);
}

.adm-role-tab-pill:disabled {
  opacity: 0.7;
  cursor: default;
}

.adm-matrix-table-wrap {
  margin-top: 6px;
}

.adm-perm-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
}

.adm-perm-full {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

body.theme-dark .adm-perm-full {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.adm-perm-read {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

body.theme-dark .adm-perm-read {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}

.adm-perm-none {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

body.theme-dark .adm-perm-none {
  background: rgba(100, 116, 139, 0.14);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.28);
}

.adm-readonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 12px;
  font-weight: 800;
}

body.theme-dark .adm-readonly-pill {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}

@media (max-width: 1100px) {
  .adm-roles-cards {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   GALERIA FOTOGRÁFICA (/galeria) — CARDS E GRELHA REDESENHADOS
   ============================================================ */

.in-gallery-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #dce5ee;
  border-radius: 10px;
}

.in-gallery-results-bar .in-result-count {
  margin: 0;
  font-size: 12.5px;
  color: #475569;
}

.in-gallery-results-bar .in-result-count strong {
  color: #06366a;
  font-weight: 850;
}

.in-gallery-click-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: #06366a;
  background: #f0f6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 12px;
  border-radius: 999px;
}

body .in-catalogue.in-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body .in-gallery-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #d5e0eb;
  border-radius: 14px;
  background: #ffffff;
  color: #06366a;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 32, 64, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body .in-gallery-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 18px 36px rgba(6, 32, 64, 0.12);
}

.in-gallery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #061830;
  overflow: hidden;
}

.in-gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

body .in-gallery-card:hover .in-gallery-card-media img {
  transform: scale(1.05);
}

.in-gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 24, 48, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7c844;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.in-gallery-card-index {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #06366a;
  font-size: 10px;
  font-weight: 850;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.in-gallery-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 24, 48, 0.05) 35%, rgba(6, 24, 48, 0.72) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.24s ease;
}

body .in-gallery-card:hover .in-gallery-card-overlay {
  opacity: 1;
}

.in-gallery-card-overlay span {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #f7c844;
  color: #061830 !important;
  font-size: 11.5px;
  font-weight: 850;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.in-gallery-card-body {
  padding: 16px 18px 15px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  position: relative;
}

.in-gallery-card-body small {
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b4ea2 !important;
}

.in-gallery-card-body h3 {
  margin: 0 !important;
  font-size: 15.5px !important;
  font-weight: 800;
  line-height: 1.35 !important;
  color: #062549;
}

.in-gallery-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.in-gallery-card-footer span {
  position: static !important;
  font-size: 11px;
  font-weight: 600;
  color: #64748b !important;
}

.in-gallery-card-footer b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f6ff;
  color: #0b4ea2;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

body .in-gallery-card:hover .in-gallery-card-footer b {
  background: #06366a;
  color: #f7c844;
}

@media (max-width: 1024px) {
  body .in-catalogue.in-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 640px) {
  body .in-catalogue.in-gallery {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MATRIZ DE PERFIS E PERMISSÕES DE ACESSO (/admin)
   ========================================================================== */
body .admin-box.adm-permissions-box {
  margin-top: 22px;
  padding: 26px 28px !important;
}

.adm-roles-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.adm-role-card {
  background: var(--adm-surface-alt);
  border: 1.5px solid var(--adm-border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.adm-role-card.is-current-role {
  border-color: var(--adm-accent);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
  background: var(--adm-surface);
}

.adm-role-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.adm-role-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adm-accent);
  margin-bottom: 4px;
}

.adm-role-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
  color: var(--adm-text);
}

.adm-role-active-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

body.theme-dark .adm-role-active-tag {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.adm-role-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--adm-text-muted);
}

.adm-role-tabs-list {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--adm-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adm-role-tabs-list > small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--adm-text-soft);
}

.adm-role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-role-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--adm-border-strong);
  background: var(--adm-surface);
  color: var(--adm-text);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.adm-role-tab-pill:hover:not(:disabled) {
  border-color: var(--adm-accent);
  color: var(--adm-accent);
}

.adm-role-tab-pill:disabled {
  opacity: 0.7;
  cursor: default;
}

.adm-matrix-table-wrap {
  margin-top: 6px;
}

.adm-perm-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
}

.adm-perm-full {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

body.theme-dark .adm-perm-full {
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.adm-perm-read {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

body.theme-dark .adm-perm-read {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}

.adm-perm-none {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

body.theme-dark .adm-perm-none {
  background: rgba(100, 116, 139, 0.14);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.28);
}

.adm-readonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 12px;
  font-weight: 800;
}

body.theme-dark .adm-readonly-pill {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.35);
}

@media (max-width: 1100px) {
  .adm-roles-cards {
    grid-template-columns: 1fr;
  }
}









