@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#0b1019;--side:#111a28;--panel:#172130;--panel2:#1d2a3b;--stroke:#2d3a4b;--fg:#f0f4fa;--muted:#9dadc1;--orange:#f34829;--orange2:#ff734c;--green:#34c68a;--red:#ff6c73;--blue:#7bbdff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font-family:"DM Sans",system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.48}a{color:var(--orange2)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;transition:.15s ease;white-space:normal}button:disabled{opacity:.45;cursor:not-allowed}h1,h2,h3,p{margin:0 0 10px}h1{font-size:27px;letter-spacing:-.7px}h2{font-size:21px}h3{font-size:16px}p{color:var(--muted)}label{display:block;font-weight:700;font-size:12px;margin:0 0 7px;color:#cbd4e0}input,select,textarea{display:block;width:100%;background:#0c1522;border:1px solid var(--stroke);border-radius:11px;color:#eff2f8;padding:11px 12px;outline:none}textarea{resize:vertical;min-height:92px}input:focus,textarea:focus,select:focus{border-color:var(--orange2);box-shadow:0 0 0 2px #f348292b}input[type="checkbox"],input[type="radio"]{accent-color:var(--orange);width:auto;display:inline-block;margin-right:8px}hr{border:0;border-top:1px solid var(--stroke);margin:17px 0}
.btn{background:var(--orange);color:white;padding:11px 17px;border-radius:11px;font-weight:800;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none}.btn:hover{background:#d9381c}.btn.subtle{background:var(--panel2);border:1px solid var(--stroke);color:var(--fg)}.btn.subtle:hover{background:#29384a}.btn.mini{padding:7px 10px;font-weight:700;font-size:12px;border-radius:8px}.btn.warn{background:#682d2e}.btn.block{width:100%}.text-muted{color:var(--muted)}.small{font-size:12px}.mb{margin-bottom:18px}.mt{margin-top:14px}.flex{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.grow{flex:1}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.columns2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stack{display:grid;gap:13px}.card{background:var(--panel);border:1px solid var(--stroke);border-radius:17px;padding:20px}.card:hover{border-color:#46546a}.card h3{margin-bottom:5px}.badge{display:inline-block;background:#253448;color:#cfe0f2;border:1px solid #354a5d;border-radius:99px;padding:4px 10px;font-size:11px;font-weight:800}.badge.ok{background:#113b31;color:#6ee6b4;border-color:#24664c}.badge.bad{background:#47292e;color:#ff9ea6;border-color:#744047}.badge.orange{background:#512e23;color:#ffa388;border-color:#85442d}.stat{font-size:30px;font-weight:800;letter-spacing:-1px}.muted{color:var(--muted)}
.shell{min-height:100vh;display:flex}.sidebar{width:240px;flex:0 0 240px;background:var(--side);border-right:1px solid var(--stroke);padding:25px 15px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin:0 9px 34px}.brand-symbol{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#f42a15,#ff7453);display:grid;place-items:center;font-size:18px;font-weight:900;color:white}.brand-copy strong{font-size:18px;display:block;letter-spacing:-.4px}.brand-copy span{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted)}.navbtn{width:100%;background:transparent;border-radius:10px;color:#b9c7d8;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 13px;margin-bottom:4px;font-weight:700}.navbtn:hover,.navbtn.active{background:#27354a;color:white}.navbtn.active{box-shadow:inset 3px 0 var(--orange)}.sidebar-bottom{margin-top:auto;padding:10px;color:var(--muted);border-top:1px solid var(--stroke);font-size:12px}.main{flex:1;min-width:0;padding:24px 32px 50px;max-width:1500px;margin:0 auto;width:100%}.topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid var(--stroke)}.person{font-weight:700}.page-title{margin-bottom:24px}.page-title p{margin-bottom:0}
.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.hero{background:radial-gradient(circle at 20% 10%,#3b2829 0,transparent 40%),linear-gradient(145deg,#111b29 5%,#18253a 90%);border-right:1px solid var(--stroke);display:flex;flex-direction:column;justify-content:center;padding:9vw}.hero .hero-title{font-size:clamp(38px,4vw,66px);font-weight:800;letter-spacing:-2px;line-height:1.1}.hero .hero-title em{font-style:normal;color:var(--orange2)}.hero p{font-size:17px;max-width:390px;margin-top:20px}.login-area{display:grid;place-items:center;padding:24px}.login-box{width:min(420px,100%)}.login-box h1{font-size:28px}.login-box .brand{margin-left:0}.field{margin-bottom:15px}.field-note{color:var(--muted);font-size:12px;margin-top:5px}.form-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.course-icon{width:58px;height:58px;border-radius:14px;background:#f3f4f4;color:#293237;display:grid;place-items:center;font-size:14px;font-weight:900}.course-card{display:flex;flex-direction:column;gap:15px;min-height:215px}.course-card .bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.table-wrap{width:100%;overflow:auto}.table{border-collapse:collapse;width:100%;min-width:640px}.table th{text-align:left;font-size:12px;letter-spacing:.4px;color:var(--muted);padding:12px;border-bottom:1px solid var(--stroke)}.table td{padding:13px 12px;border-bottom:1px solid #293648;vertical-align:middle}.table tr:last-child td{border-bottom:none}.table tr:hover td{background:#ffffff05}
.toast{position:fixed;bottom:20px;right:20px;background:#263848;border:1px solid #53677a;padding:15px 19px;max-width:min(420px,90vw);border-radius:12px;box-shadow:0 12px 30px #0007;z-index:100}.toast.error{border-color:#a4464f}.modal-cover{position:fixed;inset:0;background:#000b;z-index:50;display:grid;place-items:center;padding:18px;overflow:auto}.modal{width:min(650px,100%);max-height:92vh;overflow:auto;background:var(--panel);border:1px solid #455369;padding:25px;border-radius:18px;box-shadow:0 24px 90px #0009}.modal h2{margin-bottom:19px}.checkline{display:flex;align-items:center;gap:8px;padding:9px 0;color:#dce6f1}.checkline input{margin:0}.test-shell{max-width:920px;margin:auto}.timer{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}.timer.danger{color:var(--red)}.progress{height:9px;background:#293749;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;background:var(--orange);transition:width .2s}.question-text{font-size:18px;font-weight:800;line-height:1.5}.choice{display:flex;gap:12px;align-items:flex-start;background:#172536;border:1px solid #344155;border-radius:12px;padding:16px;margin-bottom:11px;cursor:pointer}.choice:hover{border-color:#8193aa}.choice.selected{border-color:var(--orange);background:#3a292b}.choice input{margin-top:3px}.choice-letter{display:inline-grid;place-items:center;flex:0 0 26px;height:26px;background:#2f4258;border-radius:7px;font-weight:800}.question-nav{display:flex;flex-wrap:wrap;gap:7px}.number{background:#26374a;border-radius:8px;padding:8px 10px;min-width:39px;color:white}.number.current{outline:2px solid var(--orange)}.number.answered{background:#235541}.review-item{border-top:1px solid var(--stroke);padding:16px 0}.review-item p{color:var(--fg)}.score{font-size:76px;font-weight:800;letter-spacing:-3px;color:var(--green)}.footer{font-size:11px;color:#8090a6;margin-top:35px;text-align:center}.hidden{display:none!important}.boot{height:100vh;display:grid;place-content:center;font-size:30px;font-weight:800;text-align:center}.boot span{font-size:13px;color:var(--muted)}.empty{padding:40px 18px;text-align:center;color:var(--muted);background:#151f2d;border:1px dashed #334257;border-radius:14px}
@media(max-width:950px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:76px;flex-basis:76px;padding:20px 8px}.sidebar .brand-copy,.navbtn span,.sidebar-bottom{display:none}.brand{margin:0 9px 24px}.navbtn{justify-content:center;font-size:18px}.main{padding:20px}.hero{padding:4vw}}@media(max-width:650px){.login-page{display:block}.hero{min-height:170px;padding:22px}.hero .hero-title{font-size:30px}.hero p{font-size:13px;margin-top:8px}.login-area{padding:26px 18px}.shell{display:block}.sidebar{position:static;width:100%;height:auto;display:flex;flex-direction:row;align-items:center;gap:8px;overflow:auto;padding:10px;white-space:nowrap}.sidebar .brand{margin:0 5px}.sidebar .brand-symbol{width:34px;height:34px}.navbtn{width:auto;padding:10px;font-size:16px}.main{padding:15px}.topbar{align-items:flex-start}.grid,.columns2{grid-template-columns:1fr}.card{padding:16px}.modal{padding:18px}.score{font-size:55px}.page-title h1{font-size:23px}}

.course-brand{background:#fff;border-radius:12px;min-width:207px;max-width:207px;height:62px;display:flex;align-items:center;justify-content:center;padding:5px}.course-logo{width:200px;height:44px;display:block;background-image:url('/assets/courses-sprite.png');background-repeat:no-repeat}.course-fallback{font-weight:900;font-size:22px;color:#293237}.login-logo{display:block;width:280px;max-width:85%;height:auto;background:#fff;border-radius:12px;padding:8px;margin-bottom:34px}.sidebar-logo{width:170px;height:auto;background:#fff;padding:6px;border-radius:8px;margin-bottom:9px}@media(max-width:650px){.login-logo{width:180px;margin-bottom:16px}.course-brand{min-width:190px;max-width:190px;overflow:hidden}.course-logo{transform:scale(.93)}}

.btn.approve{background:#16774d;color:#fff;border:1px solid #2b9d68}.btn.approve:hover{background:#208c5b}

/* 0.2.1 — identidade IT Expert Training / MikroTik Training Center */
.brand{margin:2px 7px 26px;display:flex;align-items:center;min-height:75px}
.it-brand{display:block;max-width:100%;line-height:0}
.it-brand img{display:block;width:100%;height:auto;object-fit:contain}
.brand-top{width:184px}
.brand-footer{width:122px;max-width:100%}
.brand-footer img{width:100%}
.sidebar-bottom{display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:13px 7px}
.footer-version{font-size:10px;color:var(--muted)}
.topbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.partner-logo{border-radius:9px;display:flex;align-items:center;justify-content:center;background:#fff;padding:5px 9px;margin-left:13px;min-width:164px}
.partner-logo img{width:186px;max-width:100%;height:auto;display:block}
.login-brand{width:276px;max-width:90%;margin:0 0 25px}
.login-brand img{width:100%}
.course-image{width:200px;height:49px;object-fit:contain;display:block}
.course-brand{overflow:hidden}
.settings-submenu{margin:0 4px 7px 22px;padding-left:12px;border-left:1px solid var(--stroke)}
.settings-submenu .navbtn{font-size:12px;padding:8px 10px}
.delivery-success{padding:13px 15px;border-radius:10px;color:var(--green);border:1px solid #2b9d68;font-weight:700;margin:12px 0}
.smtp-warning{padding:12px;border:1px solid var(--orange);border-radius:9px;color:var(--fg)}
#smtp-form input[type="checkbox"]{width:18px;height:18px;margin:0}
@media(max-width:950px){
  .brand-top{width:48px}
  .brand{min-height:44px;margin:2px 4px 22px}
  .settings-submenu{margin:0;padding-left:3px}
  .settings-submenu .navbtn{font-size:15px;padding:8px 6px}
}
@media(max-width:650px){
  .brand{min-height:38px;margin:0 6px 0 0}
  .brand-top{width:74px}
  .topbar-actions{justify-content:flex-start}
  .partner-logo{order:3;min-width:90px;margin-left:0}
  .partner-logo img{width:118px}
  .login-brand{width:220px}
}
/* Tema claro acompanha preferência do sistema. Logos trocadas pelo picture. */
@media(prefers-color-scheme:light){
 :root{color-scheme:light;--bg:#f5f7fa;--side:#fff;--panel:#fff;--panel2:#f0f3f8;
   --stroke:#d7dfe9;--fg:#1c293b;--muted:#596a80;--orange:#ef482d;
   --orange2:#c23b26;--green:#11774b;--red:#b42f45;--blue:#245f9d}
 body{background:var(--bg);color:var(--fg)}
 label{color:#32445a}
 input,select,textarea{background:#fff;color:#25354a;border-color:#ccd5e1}
 input::placeholder,textarea::placeholder{color:#758599}
 .navbtn{color:#45556b}
 .navbtn:hover,.navbtn.active{background:#e7edf5;color:#1b2a3d}
 .badge{background:#edf2f8;border-color:#d5e0ed;color:#43576f}
 .badge.orange{background:#fff0e9;color:#a04426;border-color:#f4d6c8}
 .badge.ok{background:#e6f7ed;color:#11794b;border-color:#b9e4cb}
 .badge.bad{background:#ffeef0;color:#9f3541;border-color:#f0c7ce}
 .card:hover{border-color:#abc0d5}
 .table td{border-bottom-color:#e4e9ef}
 .table tr:hover td{background:#f2f6fa}
 .btn.subtle{background:#eef3f9;border-color:#d4deea;color:#1c3047}
 .btn.subtle:hover{background:#dae5f1}
 .modal{background:#fff;border-color:#c7d3e0;box-shadow:0 25px 70px #1117}
 .checkline{color:#243348}
 .choice{background:#f4f7fb;border-color:#d6deea;color:#1c293b}
 .choice:hover{border-color:#94aec8}
 .choice.selected{background:#fff1e9;border-color:var(--orange)}
 .choice-letter{background:#e1e9f3;color:#1e3049}
 .progress{background:#dce5f0}
 .number{background:#e0e9f4;color:#1a2c42}
 .number.current{outline-color:var(--orange)}
 .number.answered{background:#d5f1e4;color:#176342}
 .toast{background:#fff;border-color:#aec0d4;box-shadow:0 14px 28px #0002;color:#1c293b}
 .empty{background:#f8fafc;border-color:#cedae6}
 .footer{color:#687b91}
 .hero{background:linear-gradient(145deg,#fff 5%,#edf3fa 90%);color:#1c293b;border-color:#dce3eb}
 .hero p{color:#52647b}
 .login-box{color:var(--fg)}
 .login-box p{color:var(--muted)}
 .delivery-success{background:#e8f8ef}
}


/* SSP 0.2.3 — branding transparente e menu professores */
.ssp-mini-brand{display:block;line-height:0;width:130px;max-width:100%}
.ssp-mini-brand img{display:block;width:100%;height:auto;object-fit:contain}
.sidebar-bottom .ssp-mini-brand{margin-bottom:4px}
.course-brand{background:transparent!important;border:0!important;border-radius:0!important;
  padding:0!important;overflow:visible!important;justify-content:flex-start!important;
  min-width:200px!important;max-width:200px!important}
.course-logo{background-color:transparent!important;filter:grayscale(1) contrast(1.75);
  mix-blend-mode:multiply}
.course-image{width:200px;max-height:53px;height:auto;object-fit:contain;
  filter:grayscale(1) contrast(1.75);mix-blend-mode:multiply;background:transparent}
.partner-logo{background:transparent!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin-left:13px!important}
.partner-logo img{background:transparent;filter:grayscale(1) contrast(1.75);mix-blend-mode:multiply}
@media(prefers-color-scheme:dark){
 .course-logo,.course-image,.partner-logo img{filter:invert(1) grayscale(1) contrast(2);mix-blend-mode:screen}
}
@media(max-width:950px){.ssp-mini-brand{width:48px}}
@media(max-width:650px){.ssp-mini-brand{width:115px}.partner-logo{margin-left:0!important}}
/* SMTP Exchange — formulário enxuto */
.smtp-exchange-card{max-width:1100px;padding:24px}
.smtp-exchange-card p{max-width:900px}
.smtp-exchange-card .smtp-server{margin:24px 0;color:var(--fg);line-height:1.7}
.smtp-exchange-card form{max-width:760px}
.smtp-exchange-card input{border-radius:9px}
.smtp-exchange-card .btn{border-radius:12px}
/* SSP 0.2.3: keep the course logo and availability badge in one row. */
.course-card>.flex.between{flex-wrap:nowrap;gap:6px;align-items:center}
.course-card .course-brand{min-width:170px!important;max-width:170px!important;width:170px!important;height:54px!important;flex:0 0 170px}
.course-card .course-logo{transform:scale(.85);transform-origin:left center}
.course-card .course-image{width:170px!important;max-height:48px}
.course-card>.flex.between .badge{flex:0 0 auto;font-size:10px;padding:4px 7px;white-space:nowrap}
@media(max-width:380px){.course-card .course-brand{min-width:150px!important;max-width:150px!important;width:150px!important;flex-basis:150px}.course-card .course-logo{transform:scale(.74)}.course-card .course-image{width:150px!important}}
/* Render logo sprite at true scaled dimensions, avoiding clipping in cards. */
.course-card .course-logo{width:170px!important;height:38px!important;background-size:170px auto!important;transform:none!important;flex:0 0 170px}
@media(max-width:380px){.course-card .course-logo{transform:scale(.87)!important;transform-origin:left center}}


/* SSP V0.2.5 — logos 20% menores e prova de página única */
.brand-top{width:147.2px}
.ssp-mini-brand{width:104px}
.partner-logo{min-width:0!important}
.partner-logo img{width:148.8px}
.course-card .course-brand{
  min-width:136px!important;max-width:136px!important;width:136px!important;
  height:44px!important;flex:0 0 136px;overflow:visible!important;
}
.course-card .course-logo{
  width:136px!important;height:31px!important;flex:0 0 136px;
  background-size:136px auto!important;transform:none!important;
}
.course-card .course-image{width:136px!important;height:auto;max-height:39px;transform:none}
.course-card>.flex.between .badge{font-size:10px;padding:4px 7px}
.exam-full{max-width:1030px;width:100%;margin:0 auto}
.exam-status{
  position:sticky;top:8px;z-index:12;
  padding:14px 20px;background:var(--panel);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  border-radius:13px;margin-bottom:18px
}
.exam-status-row{display:flex;justify-content:space-between;align-items:center;gap:18px}
.exam-status-row strong{font-size:16px}
.exam-status-row p{margin:4px 0 0}
.exam-time{display:flex;flex-direction:column;text-align:right;align-items:flex-end}
.exam-time .small{font-weight:700;color:var(--muted)}
.exam-time .timer{font-size:28px;line-height:1.15;font-variant-numeric:tabular-nums}
.exam-status .progress{margin:12px 0 6px;height:7px}
.exam-status-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  color:var(--muted);font-size:11px}
.exam-question{margin-bottom:18px;padding:24px 27px;border-radius:13px;scroll-margin-top:135px}
.exam-question-label{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.35px;margin-bottom:9px}
.exam-question .question-text{font-size:17px;line-height:1.55;margin-bottom:18px}
.exam-choices{display:grid;gap:9px}
.exam-choices .choice{margin-bottom:0;padding:13px 16px;line-height:1.45;font-size:14px;align-items:center}
.exam-choices .choice input{flex:0 0 auto;margin:0}
.exam-choices .choice-letter{flex:0 0 28px}
.exam-submit{margin-top:22px}
.exam-submit h3{font-size:19px}
.exam-submit p{margin-bottom:17px}
@media(max-width:950px){
  .brand-top{width:38.4px}
  .ssp-mini-brand{width:38.4px}
}
@media(max-width:650px){
  .brand-top{width:59.2px}
  .ssp-mini-brand{width:92px}
  .partner-logo img{width:94.4px}
  .course-card .course-brand{min-width:136px!important;max-width:136px!important;width:136px!important;flex-basis:136px}
  .exam-status{top:0;padding:12px}
  .exam-question{padding:15px;scroll-margin-top:110px}
  .exam-question .question-text{font-size:16px}
  .exam-choices .choice{padding:11px 10px;gap:8px}
  .exam-status-footer{display:none}
}


/* SSP 0.2.6 — Perfil do usuário / menu e ações de certificação */
.courses-top-actions{display:flex;justify-content:flex-end;align-items:center;margin:-1px 0 18px}
.account-menu-wrap{position:relative;z-index:25}
.account-menu-trigger{
  display:flex;align-items:center;gap:10px;background:var(--panel2);border:1px solid var(--stroke);
  color:var(--fg);border-radius:30px;padding:5px 10px 5px 6px;min-height:44px;
  max-width:290px;text-align:left;
}
.account-menu-trigger:hover,.account-menu-trigger[aria-expanded="true"]{border-color:var(--orange)}
.account-avatar{width:34px;height:34px;border-radius:50%;background:#f34829;color:white;
  display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;
  flex:0 0 34px;overflow:hidden}
.account-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.account-menu-label{display:flex;flex-direction:column;overflow:hidden;min-width:75px;line-height:1.35}
.account-menu-label strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu-label small{font-size:10px;color:var(--muted)}
.account-chevron{font-size:20px;line-height:1;color:var(--muted);padding:0 3px}
.account-menu{
  position:absolute;right:0;top:calc(100% + 9px);width:285px;
  max-width:calc(100vw - 30px);border-radius:15px;border:1px solid var(--stroke);
  box-shadow:0 16px 45px #0006;background:var(--panel);overflow:hidden;z-index:60;
  padding:6px;color:var(--fg)
}
.account-menu-header{display:flex;align-items:center;gap:12px;padding:13px 12px;
  border-bottom:1px solid var(--stroke);margin-bottom:5px}
.account-menu-header>span:last-child{min-width:0;display:flex;flex-direction:column}
.account-menu-header strong{font-size:13px;overflow-wrap:anywhere}
.account-menu-header small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.account-menu>button{display:block;width:100%;text-align:left;padding:12px;
  background:transparent;color:var(--fg);border-radius:8px;font-size:13px;font-weight:700}
.account-menu>button:hover,.account-menu>button:focus{background:var(--panel2)}
.account-menu>button:last-child{color:var(--red);border-top:1px solid var(--stroke);border-radius:0}
.profile-page{max-width:980px;display:grid;grid-template-columns:1fr;gap:18px}
.profile-identity{display:flex;align-items:center;gap:24px}
.profile-identity-content{flex:1;min-width:0}
.profile-identity-content>h2{margin-bottom:5px}
.profile-identity-content .badge{margin-bottom:8px}
.profile-identity-content .small{margin:5px 0}
.profile-avatar{width:118px;height:118px;flex:0 0 118px;font-size:58px}
.profile-photo-actions{display:flex;gap:10px;align-items:center;margin:13px 0 8px;flex-wrap:wrap}
.profile-photo-actions label{display:inline-flex;margin:0;cursor:pointer}
.profile-info h3{margin-bottom:20px}
.profile-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:5px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:950px){.account-menu-label{display:none}.account-menu-trigger{padding-right:8px}}
@media(max-width:650px){
  .courses-top-actions{justify-content:flex-end;margin:0 0 13px}
  .courses-top-actions .btn{padding:9px 12px;font-size:12px}
  .account-menu{right:-8px}
  .partner-logo{display:none}
  .profile-identity{align-items:flex-start;gap:15px}
  .profile-avatar{width:76px;height:76px;flex-basis:76px;font-size:32px}
  .profile-identity-content h2{font-size:18px}
  .profile-form-actions .btn{flex:1}
}


/* SSP Training 0.2.8 — materiais didáticos por certificação */
.course-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.course-card-actions .btn{white-space:nowrap;font-size:11px;padding:7px 10px}
.course-card .bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.courses-bottom-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:18px;margin-bottom:6px}
.materials-page{display:flex;flex-direction:column;gap:18px;max-width:1250px}
.materials-page-bar{display:flex;justify-content:flex-start;margin:0}
.materials-upload{padding:22px}
.materials-upload h3{margin:0 0 6px}
.materials-upload p{margin:0 0 16px}
.materials-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.materials-inputs input[type=file]{width:100%;max-width:100%;padding:11px;background:var(--panel2);cursor:pointer}
.materials-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.materials-actions a.btn{display:inline-flex;align-items:center;text-decoration:none}
.materials-page .table td{vertical-align:middle}
.materials-page .table td:first-child{min-width:180px;max-width:390px;overflow-wrap:anywhere}
.materials-page .table td:last-child{min-width:210px}
@media(max-width:1000px){
  .course-card .bottom{align-items:flex-start;flex-direction:column}
  .course-card-actions{width:100%;justify-content:flex-end}
}
@media(max-width:650px){
  .materials-inputs{grid-template-columns:1fr}
  .materials-upload{padding:15px}
  .materials-page .table td:last-child{min-width:170px}
  .course-card .bottom{flex-direction:column}
  .course-card-actions .btn{font-size:11px}
}


/* SSP Training V0.2.9 — topbar de marca sem nome repetido */
.topbar .partner-logo-header{
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  min-width:0!important;
  width:auto;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.topbar .partner-logo-header img{
  display:block;
  width:148.8px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.topbar .topbar-actions{margin-left:auto;justify-content:flex-end}
.courses-bottom-actions{display:flex;justify-content:flex-end;align-items:center;margin:18px 0 6px}
@media(max-width:650px){
 .topbar .partner-logo-header{max-width:120px}
 .topbar .partner-logo-header img{width:110px}
 .topbar .topbar-actions{margin-left:auto;justify-content:flex-end}
}
/* Ordem explícita no cabeçalho mobile (corrige order:3 herdado da logo antiga). */
.topbar .partner-logo-header{order:0!important}
.topbar .topbar-actions{order:1!important}


/* SSP Training 0.3.0 — editor de foto com enquadramento circular */
.profile-crop-editor{max-width:570px;margin:0 auto}
.profile-crop-editor h2{margin-bottom:8px}
.profile-crop-editor>p{line-height:1.55}
.profile-crop-stage{display:flex;justify-content:center;align-items:center;margin:18px auto 20px}
#profile-crop-canvas{
  display:block;width:min(300px,100%);height:auto;aspect-ratio:1/1;
  border-radius:50%;border:4px solid #70bdf0;
  box-shadow:0 0 0 5px rgba(72,163,218,.15);
  background:#132235;touch-action:none;cursor:grab;user-select:none;
}
#profile-crop-canvas.is-dragging{cursor:grabbing}
#profile-crop-canvas:focus-visible{outline:3px solid var(--orange);outline-offset:6px}
.profile-crop-controls{margin:14px 0 20px}
.profile-crop-controls label{display:flex;align-items:center;justify-content:space-between;
  gap:10px;margin:0 0 8px;font-weight:700}
.profile-crop-controls input[type=range]{
  display:block;width:100%;height:18px;cursor:pointer;
  accent-color:var(--orange);padding:0;background:transparent;border:0
}
.profile-crop-controls #profile-crop-zoom-value{font-variant-numeric:tabular-nums;color:var(--muted)}
.profile-crop-buttons{display:flex;gap:10px;align-items:center}
.profile-crop-buttons .btn.block{flex:1;margin:0}
.profile-crop-hint{margin:12px 0 0;text-align:center;color:var(--muted)}
@media(max-width:650px){
 #profile-crop-canvas{width:min(265px,100%)}
 .profile-crop-stage{margin:12px auto 16px}
 .profile-crop-buttons{flex-direction:column}
 .profile-crop-buttons .btn{width:100%}
 .modal:has(.profile-crop-editor){padding:14px;max-height:94dvh}
}

/* v0.3.3: título do Portal do Aluno sem marca duplicada no formulário */
.login-box>h1{font-size:clamp(30px,2.7vw,42px);font-weight:800;line-height:1.18;letter-spacing:-0.7px;margin:0 0 32px}
@media(max-width:650px){.login-box>h1{font-size:30px;margin-bottom:26px}}

/* SSP v0.3.4 — busca de alunos no cabeçalho */
.page-title-with-search{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.page-title-with-search .page-title-copy{min-width:0}
.students-search{width:min(340px,100%);max-width:100%;margin-left:auto;flex:0 1 340px}
.students-search-label{font-size:12px;font-weight:700;margin-bottom:5px;color:var(--muted)}
.students-search-field{position:relative}
.students-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:23px;color:var(--muted);pointer-events:none}
.students-search-field input{padding-left:39px;padding-right:30px;background:var(--panel);border-color:var(--stroke);min-height:42px}
.students-search-field input:focus{border-color:var(--orange)}
.students-search #students-search-status{margin-top:6px;min-height:17px;text-align:left;font-size:11px}
#students-empty[hidden],#teachers-empty[hidden]{display:none!important}
@media(max-width:700px){.page-title-with-search{flex-direction:column;gap:16px}.students-search{width:100%;flex:0 0 auto;margin-left:0}.page-title-with-search .page-title-copy{width:100%}}

/* Questões com topologia/configurações estruturadas em várias linhas */
.exam-question .question-text,.exam-question .choice span:last-child,.review-item .question-text{white-space:pre-wrap;overflow-wrap:anywhere}

/* Diagramas ilustrativos vinculados às questões e disponíveis antes da escolha */
.question-figure{display:block;margin:12px 0 18px;padding:12px;background:var(--panel,#fff);
  border:1px solid var(--stroke,#ccd4df);border-radius:12px;max-width:950px}
.question-figure img{display:block;max-width:100%;height:auto;object-fit:contain;max-height:680px;margin:0 auto}
.question-figure figcaption{font-size:12px;color:var(--muted,#64748b);margin-top:8px;text-align:center}
.image-admin-row{padding:6px;border:1px solid var(--stroke,#ccd4df);border-radius:8px;margin:9px 0}
.image-admin-row .question-figure{margin:3px 0}
.question-image-edit input[type=file]{width:100%;margin:10px 0}
.study-question h3{white-space:pre-wrap;overflow-wrap:anywhere}

/* SSP V0.3.7: controle independente de Material Didático por aluno e curso */
.modal.grant-modal{width:min(960px,100%);max-height:94dvh}
.grant-explanation{margin:7px 0 23px;line-height:1.7}
.grant-permissions{border:1px solid var(--stroke);border-radius:13px;overflow:hidden}
.grant-permission-header,.grant-permission-row{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:18px}
.grant-permission-header{background:var(--panel2);color:var(--muted);
 font-size:12px;font-weight:800;letter-spacing:.25px;padding:15px 17px}
.grant-permission-header>span:last-child{text-align:center}
.grant-permission-row{border-top:1px solid var(--stroke);padding:12px 17px}
.grant-permission-row:hover{background:var(--panel2)}
.grant-cert-option,.grant-material-option{display:flex;align-items:center;gap:10px;margin:0;
 color:var(--fg);font-weight:600;font-size:13px;min-width:0;cursor:pointer}
.grant-cert-option>span{min-width:0;line-height:1.5}
.grant-cert-option input,.grant-material-option input{flex:0 0 auto;margin:0}
.grant-material-option{justify-content:center;font-weight:700}
.grant-material-option:has(input:disabled){opacity:.45;cursor:not-allowed}
@media(max-width:650px){
 .modal.grant-modal{padding:16px}
 .grant-permission-header,.grant-permission-row{grid-template-columns:minmax(0,1fr) 117px;gap:7px}
 .grant-permission-header,.grant-permission-row{padding:10px 8px}
 .grant-permission-header{font-size:11px}
 .grant-cert-option,.grant-material-option{font-size:11px;gap:6px}
}

/* SSP Training V0.3.8 — tela de confirmação de prova (estilo avaliação oficial). */
.modal-cover:has(.exam-intro-modal){padding:22px;background:rgba(5,10,19,.8)}
.modal.exam-intro-modal{width:min(1040px,100%);max-height:calc(100dvh - 44px);
 padding:26px clamp(22px,4vw,56px) 34px;border-radius:14px;
 background:#fff;border:1px solid #d2d8df;color:#1e2a38;
 box-shadow:0 24px 100px rgba(0,0,0,.5)}
.exam-intro-modal>.flex.between.mb{border-bottom:1px solid #e3e7eb;margin-bottom:22px;
 padding-bottom:15px;gap:12px}
.exam-intro-modal>.flex.between.mb .text-muted{color:#66768b}
.exam-intro-modal>.flex.between.mb .btn.subtle{background:#f4f6f8;color:#34465c;border-color:#ced7e1}
.exam-intro-content{display:flex;flex-direction:column;gap:0}
.exam-intro-overline{font-size:11px;letter-spacing:1.3px;font-weight:800;color:#e34c2f;margin:0 0 9px}
.exam-intro-content h2{font-size:clamp(26px,3vw,40px);line-height:1.2;margin:0 0 15px;
 font-weight:800;letter-spacing:-.8px;color:#263447}
.exam-intro-content p{color:#445164;line-height:1.72}
.exam-intro-leading{font-size:16px;margin-bottom:22px}
.exam-intro-leading strong{color:#182839}
.exam-intro-facts{display:flex;gap:10px;margin-bottom:27px;flex-wrap:wrap}
.exam-intro-facts>div{background:#f4f6f9;border:1px solid #dfe5ec;border-radius:10px;
 padding:13px 21px;min-width:130px;display:flex;align-items:baseline;gap:8px}
.exam-intro-facts strong{font-size:22px;font-weight:800;color:#182b41}
.exam-intro-facts span{font-size:12px;color:#607187}
.exam-intro-rules{border-top:1px solid #e4e8ed;padding-top:23px}
.exam-intro-rules h3{font-size:17px;color:#24344a;margin-bottom:16px}
.exam-intro-rules p{font-size:14px;max-width:900px;margin-bottom:17px}
.exam-intro-rules p strong{color:#26384e}
.exam-intro-disclaimer{background:#f6f8fb;border-left:3px solid #e34c2f;
 border-radius:5px;padding:12px 14px;font-weight:600}
.exam-intro-ack{font-size:14px;padding:10px 0 16px;margin:0}
.exam-intro-ack strong{color:#1e2f43}
.exam-intro-actions{display:flex;justify-content:flex-end;align-items:center;
 flex-wrap:wrap;gap:12px;border-top:1px solid #e4e8ed;padding-top:23px}
.exam-intro-actions .btn{font-size:14px;min-height:44px;border-radius:8px;padding:12px 19px}
.exam-intro-actions .exam-intro-cancel{background:#eff2f6;color:#3b4b5f;border:1px solid #ced7e1}
.exam-intro-actions .exam-intro-cancel:hover{background:#e5eaf1}
.exam-intro-actions .exam-intro-confirm{background:#168653;color:#fff}
.exam-intro-actions .exam-intro-confirm:hover{background:#0d6d40}
.exam-intro-actions .exam-intro-confirm:disabled{background:#78aa94}
@media(max-width:600px){
 .modal-cover:has(.exam-intro-modal){padding:9px}
 .modal.exam-intro-modal{max-height:calc(100dvh - 18px);padding:18px 18px 22px}
 .exam-intro-modal>.flex.between.mb{margin-bottom:17px}
 .exam-intro-content h2{font-size:29px}
 .exam-intro-leading{font-size:14px}
 .exam-intro-facts{gap:7px;margin-bottom:19px}
 .exam-intro-facts>div{min-width:0;flex:1 1 30%;padding:10px;display:block;text-align:center}
 .exam-intro-facts strong{display:block;font-size:20px}
 .exam-intro-facts span{font-size:11px}
 .exam-intro-rules{padding-top:16px}
 .exam-intro-rules p{font-size:13px;margin-bottom:12px}
 .exam-intro-actions .btn{flex:1 1 auto;min-width:135px}
 .exam-intro-ack{font-size:13px}
}

/* SSP V0.3.12 — mesma largura e altura para Cidade e Estado em todos os browsers. */
.profile-city-state{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.profile-city-state>div{min-width:0}
.profile-city-state input,
.profile-city-state select{display:block;width:100%;min-width:0;height:46px;min-height:46px;
  box-sizing:border-box;line-height:22px;font-size:14px;border-radius:11px}
.profile-city-state select{
  -webkit-appearance:none;appearance:none;
  padding:11px 40px 11px 12px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23cbd4e0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px 14px
}
@media(max-width:650px){.profile-city-state{grid-template-columns:minmax(0,1fr)}}

/* Número de versão centralizado no SSP Training. */
.login-version{font-size:11px;letter-spacing:.25px;opacity:.72;text-align:center;margin-top:14px}
