:root{--red:#ef001d;--black:#090909;--ink:#171717;--muted:#707070;--line:#e8e8e8;--bg:#f4f5f7;--white:#fff}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Poppins,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}.efi-front-top{height:72px;background:#000;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:5px solid var(--red)}.efi-front-brand{font-size:20px;font-weight:800;letter-spacing:.5px}.efi-front-brand span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--red);margin-right:9px}.efi-front-brand b{color:var(--red);margin-left:5px}.efi-user{display:flex;align-items:center;gap:20px;font-size:13px}.efi-user a{border:1px solid #444;border-radius:8px;padding:8px 13px}.efi-front-shell{display:grid;grid-template-columns:235px 1fr;min-height:calc(100vh - 72px)}.efi-front-side{background:#111;color:#fff;padding:30px 18px;display:flex;flex-direction:column;gap:8px}.efi-front-side small{color:#777;font-weight:700;font-size:10px;letter-spacing:1.6px;padding:0 12px 13px}.efi-front-side>a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;font-size:13px;font-weight:600;color:#cfcfcf}.efi-front-side>a i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#242424;font-size:12px}.efi-front-side>a:hover,.efi-front-side>a.is-active{background:var(--red);color:#fff}.efi-front-side>a.is-active i{background:#fff;color:var(--red)}.efi-private{margin-top:auto;border-top:1px solid #292929;padding:20px 12px 0}.efi-private b,.efi-private span{display:block}.efi-private b{font-size:12px}.efi-private span{font-size:10px;color:#777;margin-top:5px}.efi-front-main{padding:34px;max-width:1500px;width:100%;margin:0 auto}.efi-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:24px}.efi-page-head span{font-size:11px;color:var(--red);font-weight:800;letter-spacing:1.5px}.efi-page-head h1{margin:4px 0 3px;font-size:32px;line-height:1.15}.efi-page-head p{margin:0;color:var(--muted);font-size:13px}.efi-btn{border:0;border-radius:8px;padding:12px 17px;font:700 12px Poppins;cursor:pointer}.efi-btn-red{background:var(--red);color:#fff;box-shadow:0 7px 18px #e3061326}.efi-hero-black{background:#0c0c0c;color:#fff;border-radius:16px;padding:28px 30px;display:grid;grid-template-columns:2fr repeat(3,1fr);gap:25px;align-items:center;border-top:5px solid var(--red);box-shadow:0 15px 35px #0002}.efi-hero-black h2{margin:5px 0}.efi-hero-black p{color:#8d8d8d;margin:0;font-size:12px}.efi-hero-black>div:not(:first-child){border-left:1px solid #333;padding-left:25px}.efi-hero-black b{display:block;font-size:28px;color:#fff}.efi-hero-black span,.efi-hero-black small{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:1px}.efi-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}.efi-front-card,.efi-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:0 8px 25px #0000000b}.efi-front-card{transition:.2s}.efi-front-card:hover{transform:translateY(-3px);border-color:#ccc}.efi-front-card i{display:grid;place-items:center;background:#111;color:#fff;width:42px;height:42px;border-radius:10px;font-style:normal;font-weight:800}.efi-front-card h3{margin:16px 0 5px}.efi-front-card p{font-size:12px;color:var(--muted);margin:6px 0}.efi-two-col{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr);gap:20px}.efi-panel{margin-bottom:20px}.efi-panel h2{font-size:18px;margin:0 0 18px}.efi-form{display:grid;gap:14px}.efi-form-row{grid-template-columns:repeat(4,1fr) auto;align-items:end}.efi-form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#555}.efi-form input,.efi-form select,.efi-search-front input{width:100%;height:44px;border:1px solid #d8d8d8;border-radius:8px;padding:0 12px;font:500 12px Poppins;background:#fff}.efi-list{display:grid;gap:8px}.efi-list>a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px}.efi-list>a:hover{border-color:var(--red)}.efi-list>a div{flex:1}.efi-list b,.efi-list small{display:block}.efi-list small{color:var(--muted);font-size:10px}.efi-list em{font-style:normal;font-size:10px;color:var(--red);font-weight:700}.efi-mini-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:800}.efi-table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#777;font-size:10px;text-transform:uppercase;letter-spacing:.6px;padding:10px;border-bottom:1px solid var(--line)}td{padding:13px 10px;border-bottom:1px solid #f0f0f0}.efi-pill{display:inline-block;background:#e9f8ef;color:#13733d;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:800}.efi-pill.warning{background:#fff1d6;color:#9b5c00}.efi-search-front{display:flex;gap:10px;max-width:620px}.efi-search-front input{flex:1}.efi-student-black{background:#0b0b0b;color:#fff;border-radius:16px;padding:22px 26px;display:grid;grid-template-columns:auto 1.5fr repeat(3,1fr) auto;gap:22px;align-items:center;margin:20px 0;border-left:6px solid var(--red)}.efi-student-black small{display:block;color:#777;font-size:9px;letter-spacing:1px}.efi-student-black h2{margin:2px 0;font-size:19px}.efi-student-black b{font-size:13px}.efi-student-black em{font-style:normal;color:#55dc89;font-size:10px;font-weight:800}.efi-photo-demo{width:62px;height:62px;border-radius:50%;background:linear-gradient(145deg,#ef4050,#8c000a);border:3px solid #fff;display:grid;place-items:center;font-size:25px;font-weight:800}.efi-demo-tag{background:#111;color:#fff;border-left:4px solid var(--red);padding:10px 13px;border-radius:7px;font-size:10px}.efi-alert{padding:13px 16px;border-radius:9px;margin-bottom:18px;font-size:12px;font-weight:600}.efi-alert.success{background:#e7f8ed;color:#176b37}.efi-alert.error{background:#ffe8e8;color:#9f1010}.efi-alert.demo{background:#fff4d8;color:#7a5200}.efi-safety{font-size:10px;color:#777;border-top:1px solid var(--line);padding-top:14px}.efi-empty{color:#777;font-size:12px}.efi-mobile-lock{display:none}@media(max-width:900px){.efi-mobile-lock{display:block;position:fixed;z-index:99999;inset:0;background:#111;color:#fff;padding:45px 25px;text-align:center;font-weight:700}.efi-front-shell,.efi-front-top{pointer-events:none;filter:blur(2px)}}

/* Os avisos flutuam sobre a tela para não deslocar o perfil após salvar. */
.efi-alert{position:fixed;z-index:10000;top:82px;left:50%;width:max-content;max-width:calc(100vw - 40px);margin:0;padding:7px 13px;transform:translateX(-50%);border:1px solid #111;border-radius:7px;box-shadow:0 8px 22px #0003;font-size:11px;transition:opacity .25s ease,transform .25s ease}
.efi-alert.success{background:#b6ff00;color:#080808}
.efi-alert.is-leaving{opacity:0;transform:translate(-50%,-10px);pointer-events:none}

.efi-structure-forms{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(620px,2fr);gap:18px}.efi-class-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.efi-class-form button{min-height:44px}.efi-enrollment-form{display:grid;grid-template-columns:1.6fr repeat(6,minmax(105px,1fr)) auto;gap:10px;align-items:end}.efi-enrollment-form label{min-width:0}.efi-enrollment-form button{min-height:44px;white-space:nowrap}.efi-academic-action{display:inline-flex;margin-top:14px}@media(max-width:1300px){.efi-enrollment-form{grid-template-columns:repeat(4,minmax(150px,1fr))}.efi-structure-forms{grid-template-columns:1fr}.efi-class-form{grid-template-columns:repeat(3,minmax(150px,1fr))}}
.efi-period-source{display:none!important}.efi-period-combined{order:-1}
.efi-structure-secondary{display:block}.efi-structure-secondary>section:first-child{width:100%}.efi-structure-secondary>section:nth-child(2){display:none}
.efi-plan-form{grid-template-columns:2fr .8fr 1.1fr .8fr 1.35fr auto;align-items:stretch;gap:0;border:1px solid #bdbdbd;border-radius:9px;overflow:hidden}.efi-plan-form label{gap:0;padding:8px 9px 0;border-right:1px solid #bdbdbd;color:#171717;font-size:10px}.efi-plan-form input,.efi-plan-form select{height:38px;margin:5px 0 8px;border-radius:5px}.efi-plan-form button{height:auto;min-height:58px;border-radius:0;white-space:nowrap}.efi-plan-form .efi-required-note{grid-column:1/-1;margin:0;padding:7px 10px;border-top:1px solid #bdbdbd;background:#f7f7f7;font-size:10px;color:#555}@media(max-width:1300px){.efi-plan-form{grid-template-columns:repeat(3,minmax(150px,1fr))}.efi-plan-form .efi-required-note{grid-column:1/-1}}
.efi-free-check{display:inline-flex!important;align-items:center;gap:6px!important;margin-top:6px;color:#777!important;font-size:11px!important;font-weight:500!important}.efi-free-check input{width:auto!important;height:auto!important;margin:0}.efi-enrollment-print{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-top:6px;padding:7px 12px!important;font-size:12px!important}
.efi-enrollment-card{position:relative}.efi-free-top{position:absolute;top:12px;right:14px;margin:0!important}.efi-installment-override{display:grid!important;grid-column:auto}.efi-enrollment-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:9px;align-items:end}.efi-enrollment-print-stack{display:grid;gap:6px;min-width:0}.efi-enrollment-actions .efi-btn{width:100%;height:52px;margin:0!important;border-radius:10px;box-shadow:0 9px 20px #0003,0 0 0 1px #00000012;display:flex;align-items:center;justify-content:center;gap:9px}.efi-enrollment-actions .efi-btn .efi-icon{width:20px;height:20px;stroke-width:2.2}.efi-btn-lime{background:#54d486;color:#111;border:1px solid #35b86a!important;box-shadow:0 9px 20px #247a4938,0 0 0 1px #ffffff70 inset!important}.efi-btn-lime:hover{background:#67db93}
.efi-view-structure .efi-front-shell{display:block;min-height:calc(100vh - 72px)}.efi-view-structure .efi-front-side,.efi-view-structure .efi-front-footer{display:none}.efi-view-structure .efi-front-main{max-width:none;padding:18px 34px}.efi-view-structure .efi-page-head{margin-bottom:12px}.efi-view-structure .efi-panel{padding:15px 20px;margin-bottom:12px}.efi-view-structure .efi-panel h2{margin-bottom:10px}.efi-view-structure .efi-structure-forms{gap:12px}.efi-view-structure .efi-form{gap:8px}.efi-view-structure .efi-form input,.efi-view-structure .efi-form select{height:38px}.efi-view-structure .efi-class-form button{min-height:38px}
.efi-course-list{margin-top:12px;border-top:1px solid #ececec;padding-top:10px}.efi-course-list h3{margin:0 0 7px;font-size:13px}.efi-course-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid #f1f1f1}.efi-course-list span{display:grid;min-width:0}.efi-course-list small{color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.efi-course-list form{margin:0}.efi-course-delete{border:1px solid #e30613;background:#fff;color:#e30613;border-radius:6px;padding:5px 8px;font-weight:800;cursor:pointer}.efi-course-delete:hover{background:#e30613;color:#fff}
.efi-eja-check::after{content:'+ R$ 50 em cada parcela';color:#666;font-size:10px;font-weight:600}
/* Configurações sempre contidas na viewport 16:9; listas extensas rolam apenas dentro do cartão. */
.efi-view-structure .efi-front-main{height:calc(100vh - 72px);overflow:hidden;display:grid;grid-template-rows:auto minmax(230px,1.25fr) minmax(105px,.62fr) minmax(135px,.78fr);gap:8px}
.efi-view-structure .efi-page-head,.efi-view-structure .efi-panel{margin:0;min-height:0}.efi-view-structure .efi-structure-forms{min-height:0;height:100%}.efi-view-structure .efi-structure-forms>.efi-panel{height:100%;overflow:hidden}
.efi-view-structure .efi-course-list{max-height:130px;overflow:auto;padding-right:4px}.efi-view-structure .efi-course-list>div{padding:3px 0}.efi-view-structure .efi-course-list small{font-size:9px}.efi-view-structure .efi-course-delete{padding:3px 7px;font-size:10px}
.efi-view-structure>.efi-front-shell{overflow:hidden}.efi-view-structure .efi-front-main>section.efi-panel{height:100%;overflow:hidden}.efi-view-structure .efi-front-main>section.efi-panel .efi-table-scroll{height:calc(100% - 30px);overflow:auto}
.efi-view-structure .efi-structure-secondary{height:100%}.efi-view-structure .efi-structure-secondary .efi-panel{height:100%;overflow:hidden}.efi-view-structure .efi-compact-list{max-height:46px;overflow:auto;margin-top:5px}
@media(max-height:850px){.efi-view-structure .efi-front-main{height:calc(100vh - 52px);padding:8px 18px;grid-template-rows:auto minmax(205px,1.18fr) minmax(92px,.55fr) minmax(125px,.72fr);gap:6px}.efi-view-structure .efi-page-head h1{font-size:25px}.efi-view-structure .efi-page-head p{font-size:10px}.efi-view-structure .efi-panel{padding:9px 13px}.efi-view-structure .efi-panel h2{font-size:14px;margin-bottom:5px}.efi-view-structure .efi-form{gap:5px}.efi-view-structure .efi-form input,.efi-view-structure .efi-form select{height:30px}.efi-view-structure .efi-course-list{max-height:88px;margin-top:6px;padding-top:5px}.efi-view-structure .efi-plan-form input,.efi-view-structure .efi-plan-form select{height:28px;margin:2px 0 4px}.efi-view-structure .efi-plan-form label{padding-top:4px}.efi-view-structure .efi-plan-form button{min-height:44px}.efi-view-structure table{font-size:10px}.efi-view-structure th,.efi-view-structure td{padding:5px 7px}}
.efi-view-structure .efi-panel>h2{display:flex;align-items:center;gap:8px}.efi-config-title-icon{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:7px;background:#111;color:#fff;border-bottom:2px solid #e30613}.efi-config-title-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-height:850px){.efi-config-title-icon{width:24px;height:24px;flex-basis:24px}.efi-config-title-icon svg{width:14px;height:14px}}
.efi-view-structure .efi-front-main.efi-config-drawers-ready{grid-template-rows:auto minmax(280px,1.45fr) minmax(155px,.75fr)}.efi-config-tabs{display:flex;gap:7px}.efi-config-tabs button{display:grid;min-width:92px;border:1px solid #ddd;border-radius:8px;background:#fff;padding:6px 10px;text-align:left;cursor:pointer;font-family:Poppins}.efi-config-tabs button:hover{border-color:#e30613;box-shadow:0 5px 14px #e3061318}.efi-config-tabs b{font-size:11px}.efi-config-tabs small{font-size:8px;color:#777}.efi-config-drawer{position:fixed;z-index:1000;inset:72px 0 0;background:#0008;display:none;align-items:flex-start;justify-content:flex-end}.efi-config-drawer.is-open{display:flex}.efi-config-drawer>div,.efi-config-drawer-body{min-width:0}.efi-config-drawer{padding:18px}.efi-config-drawer-head{position:absolute;top:18px;right:18px;width:min(780px,72vw);height:58px;background:#0b0b0b;color:#fff;border-top:4px solid #e30613;border-radius:12px 12px 0 0;padding:10px 14px;display:flex;align-items:center;justify-content:space-between}.efi-config-drawer-head h2{margin:0;font-size:18px}.efi-config-drawer-head button{border:1px solid #555;border-radius:7px;background:#222;color:#fff;padding:7px 10px;font:700 10px Poppins;cursor:pointer}.efi-config-drawer-body{margin-top:58px;width:min(780px,72vw);height:calc(100% - 58px);background:#fff;border-radius:0 0 12px 12px;padding:14px;overflow:auto;box-shadow:-18px 16px 45px #0004}.efi-config-drawer-body .efi-course-list{max-height:none;margin:0;border:0;padding:0}.efi-config-drawer-body .efi-course-list h3{display:none}.efi-config-drawer-body .efi-course-list>div{padding:9px 4px}.efi-config-drawer-body .efi-table-scroll{height:auto!important;overflow:visible!important}.efi-config-drawer-body .efi-compact-list{max-height:none!important;overflow:visible!important;margin:0!important}
@media(max-height:850px){.efi-view-structure .efi-front-main.efi-config-drawers-ready{grid-template-rows:auto minmax(245px,1.35fr) minmax(145px,.75fr)}.efi-config-drawer{inset:52px 0 0}.efi-config-drawer-head{height:50px}.efi-config-drawer-body{margin-top:50px;height:calc(100% - 50px)}}
.efi-config-drawers-ready [data-course-list],.efi-config-drawers-ready .efi-compact-list{display:none}.efi-config-drawer-body [data-course-list],.efi-config-drawer-body .efi-compact-list{display:block}
/* Menu lateral das consultas acadêmicas, no padrão visual da ficha do aluno. */
.efi-view-structure .efi-front-main.efi-config-drawers-ready{position:relative;padding-left:270px}.efi-view-structure .efi-config-tabs{position:absolute;z-index:3;left:18px;top:18px;bottom:18px;width:230px;padding:70px 14px 18px;background:#0b0b0b;border-top:4px solid #e30613;border-radius:13px;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 30px #0002}.efi-view-structure .efi-config-tabs::before{content:'CONFIGURAÇÕES';position:absolute;top:28px;left:25px;color:#777;font-size:11px;font-weight:800;letter-spacing:1.7px}.efi-view-structure .efi-config-tabs button{display:flex;align-items:center;gap:11px;width:100%;min-width:0;border:0;border-radius:9px;background:transparent;color:#d4d4d4;padding:11px;text-align:left;box-shadow:none}.efi-view-structure .efi-config-tabs button:hover,.efi-view-structure .efi-config-tabs button.is-active{background:#e30613;color:#fff;box-shadow:none}.efi-view-structure .efi-config-tabs button>i{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:8px;background:#242424}.efi-view-structure .efi-config-tabs button.is-active>i{background:#fff;color:#e30613}.efi-view-structure .efi-config-tabs svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.efi-view-structure .efi-config-tabs button>span{display:grid}.efi-view-structure .efi-config-tabs b{font-size:14px}.efi-view-structure .efi-config-tabs small{font-size:9px;color:#777}.efi-view-structure .efi-config-tabs button:hover small,.efi-view-structure .efi-config-tabs button.is-active small{color:#fff}.efi-view-structure .efi-page-head .efi-overview-actions{gap:7px}
@media(max-width:1400px){.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:215px}.efi-view-structure .efi-config-tabs{left:10px;top:10px;bottom:10px;width:190px;padding:58px 10px 12px}.efi-view-structure .efi-config-tabs::before{top:21px;left:19px}.efi-view-structure .efi-config-tabs button{padding:8px}.efi-view-structure .efi-config-tabs button>i{width:29px;height:29px;flex-basis:29px}.efi-view-structure .efi-config-tabs b{font-size:12px}}
@media(max-height:850px){.efi-view-structure .efi-config-tabs{top:7px;bottom:7px;padding-top:48px}.efi-view-structure .efi-config-tabs::before{top:17px}.efi-view-structure .efi-config-tabs button{padding:6px}.efi-view-structure .efi-config-tabs button>i{width:27px;height:27px;flex-basis:27px}.efi-view-structure .efi-config-tabs small{font-size:8px}}
.efi-view-structure .efi-config-tabs{padding:14px}.efi-view-structure .efi-config-tabs::before{content:none}.efi-config-logo{height:190px;border:1px solid #333;border-radius:10px;overflow:hidden;background:#050505;display:grid;place-items:center;margin-bottom:7px}.efi-config-logo img{width:100%;height:100%;object-fit:contain;padding:8px}.efi-config-section-title{color:#777;font-size:11px;font-weight:800;letter-spacing:1.7px;padding:4px 10px 2px}@media(max-width:1400px){.efi-view-structure .efi-config-tabs{padding:10px}.efi-config-logo{height:145px}}@media(max-height:850px){.efi-view-structure .efi-config-tabs{padding-top:8px}.efi-config-logo{height:120px}.efi-config-section-title{font-size:9px}}
/* O menu de Configuracoes replica as medidas e os controles da Visao Geral. */
.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:282px}.efi-view-structure .efi-config-tabs{left:18px;top:12px;bottom:14px;width:250px;padding:11px 10px 12px;border-radius:10px}.efi-view-structure .efi-config-logo{height:auto;aspect-ratio:3/4;max-height:320px;margin-bottom:8px}.efi-view-structure .efi-config-section-title{font-size:14px;padding:7px 8px 3px}.efi-view-structure .efi-config-tabs button,.efi-view-structure .efi-config-tabs>a{display:flex;align-items:center;gap:10px;width:100%;min-width:0;border:0;border-radius:7px;background:transparent;color:#d4d4d4;padding:10px 11px;text-align:left;text-decoration:none;box-shadow:none;font-family:Poppins;cursor:pointer}.efi-view-structure .efi-config-tabs button:hover,.efi-view-structure .efi-config-tabs button.is-active,.efi-view-structure .efi-config-tabs>a:hover{background:#e30613;color:#fff}.efi-view-structure .efi-config-tabs button>i,.efi-view-structure .efi-config-tabs>a>i{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:7px;background:#242424}.efi-view-structure .efi-config-tabs button.is-active>i,.efi-view-structure .efi-config-tabs button:hover>i,.efi-view-structure .efi-config-tabs>a:hover>i{background:#fff;color:#e30613}.efi-view-structure .efi-config-tabs button>span,.efi-view-structure .efi-config-tabs>a>span{display:grid}.efi-view-structure .efi-config-tabs b{font-size:15px}.efi-view-structure .efi-config-tabs small{font-size:9px;color:#777}.efi-view-structure .efi-config-tabs button:hover small,.efi-view-structure .efi-config-tabs button.is-active small,.efi-view-structure .efi-config-tabs>a:hover small{color:#fff}.efi-view-structure .efi-plan-form button{height:42px;min-height:42px;min-width:145px;border-radius:8px;margin:6px 8px;align-self:center}
@media(max-width:1400px){.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:210px}.efi-view-structure .efi-config-tabs{left:12px;top:9px;bottom:9px;width:185px;padding:8px}.efi-view-structure .efi-config-logo{max-height:190px}.efi-view-structure .efi-config-section-title{font-size:10px;padding:4px 7px 2px}.efi-view-structure .efi-config-tabs button,.efi-view-structure .efi-config-tabs>a{padding:7px}.efi-view-structure .efi-config-tabs b{font-size:12px}}
@media(max-height:850px){.efi-view-structure .efi-config-logo{max-height:150px}.efi-view-structure .efi-config-tabs button,.efi-view-structure .efi-config-tabs>a{padding:5px 7px}.efi-view-structure .efi-plan-form button{height:38px;min-height:38px;margin:3px 7px}}
/* Estrutura usa literalmente o mesmo menu lateral da Visao Geral. */
.efi-view-structure .efi-front-shell{height:calc(100vh - 114px);min-height:0;overflow:hidden}.efi-view-structure .efi-front-footer{display:grid}.efi-view-structure .efi-front-main{height:calc(100vh - 114px)!important}.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:286px}.efi-view-structure .efi-config-tabs.efi-profile-side{left:24px;top:12px;bottom:12px;width:250px;height:auto;padding:11px 10px 12px;gap:0;border-radius:10px}.efi-view-structure .efi-config-logo.efi-side-photo{height:auto;aspect-ratio:3/4;max-height:320px;margin-bottom:8px}.efi-view-structure .efi-config-logo.efi-side-photo img{display:block;width:100%;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;padding:8px}.efi-view-structure .efi-config-tabs.efi-profile-side>small{display:block;color:#686868;font-size:14px;font-weight:800;letter-spacing:1.5px;padding:7px 8px 3px}.efi-view-structure .efi-config-tabs.efi-profile-side button,.efi-view-structure .efi-config-tabs.efi-profile-side>a{display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:7px;background:transparent;color:#c8c8c8;padding:10px 11px;margin:2px 0;text-align:left;text-decoration:none;font:600 15px Poppins;cursor:pointer}.efi-view-structure .efi-config-tabs.efi-profile-side button:hover,.efi-view-structure .efi-config-tabs.efi-profile-side button.is-active,.efi-view-structure .efi-config-tabs.efi-profile-side>a:hover{background:var(--red);color:#fff}.efi-view-structure .efi-config-tabs.efi-profile-side button>i,.efi-view-structure .efi-config-tabs.efi-profile-side>a>i{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:6px;background:#242424}.efi-view-structure .efi-config-tabs.efi-profile-side button:hover>i,.efi-view-structure .efi-config-tabs.efi-profile-side button.is-active>i,.efi-view-structure .efi-config-tabs.efi-profile-side>a:hover>i{background:#fff;color:var(--red)}
@media(min-width:1800px){.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:322px}.efi-view-structure .efi-config-tabs.efi-profile-side{left:30px;width:280px}.efi-view-structure .efi-config-logo.efi-side-photo{max-height:360px}}
@media(max-width:1400px){.efi-view-structure .efi-front-main.efi-config-drawers-ready{padding-left:206px}.efi-view-structure .efi-config-tabs.efi-profile-side{left:12px;width:185px}.efi-view-structure .efi-config-tabs.efi-profile-side>small{font-size:14px}.efi-view-structure .efi-config-tabs.efi-profile-side button,.efi-view-structure .efi-config-tabs.efi-profile-side>a{font-size:13px;padding:7px 8px}}
@media(max-height:850px){.efi-view-structure .efi-front-shell{height:calc(100vh - 78px)}.efi-view-structure .efi-front-main{height:calc(100vh - 78px)!important;padding-top:5px;padding-bottom:5px}.efi-view-structure .efi-config-tabs.efi-profile-side{top:5px;bottom:5px}.efi-view-structure .efi-config-logo.efi-side-photo{max-height:190px}.efi-view-structure .efi-config-tabs.efi-profile-side button,.efi-view-structure .efi-config-tabs.efi-profile-side>a{padding:7px 8px}}

/* Desktop compacto: a Estrutura continua inteira na viewport, sem rolagem.
   A regra geral de 1300px empilhava Curso e Turma, excedendo a altura útil em 1280x720. */
@media (min-width:901px) and (max-width:1300px){
  .efi-view-structure .efi-structure-forms{grid-template-columns:minmax(210px,.55fr) minmax(0,1.45fr)}
  .efi-view-structure .efi-class-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .efi-view-structure .efi-class-form button{min-height:30px}
}

/* Ações das turmas. */
.efi-class-action form{margin:0}
.efi-course-list small{display:none}
@media (min-width:901px) and (max-width:1300px) and (max-height:850px){
  .efi-view-structure .efi-front-main.efi-config-drawers-ready{grid-template-rows:auto minmax(0,1fr) minmax(128px,.62fr);gap:5px}
  .efi-view-structure .efi-structure-forms{gap:8px}
  .efi-view-structure .efi-structure-forms>.efi-panel{padding:8px 10px}
  .efi-view-structure .efi-class-form{gap:4px}
  .efi-view-structure .efi-class-form button{min-height:28px}
}

/* 1.1.46: a área de trabalho adapta-se à janela, sem rolagem da página.
   Listagens continuam rolando apenas dentro do próprio quadro, quando necessário. */
@media (min-width:901px){
  .efi-view-structure .efi-structure-forms>.efi-panel:first-child{height:auto!important;align-self:start}
}

/* Estrutura: formulários de criação no topo e uma área útil contínua para as abas. */
@media (min-width:901px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready{display:grid!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:12px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){height:auto!important;min-height:0!important;align-self:start}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel{height:auto!important;min-height:0!important;align-self:start}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-secondary{display:none!important}
  .efi-view-structure .efi-structure-workspace{min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px #0000000b}
  .efi-view-structure .efi-structure-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 17px;border-bottom:1px solid var(--line)}
  .efi-view-structure .efi-structure-workspace-head span{font-size:10px;color:var(--red);font-weight:800;letter-spacing:1.2px}
  .efi-view-structure .efi-structure-workspace-head h2{margin:2px 0 0;font-size:18px}
  .efi-view-structure .efi-structure-workspace-body{min-height:0;overflow:auto;padding:12px 17px}
  .efi-view-structure .efi-structure-workspace-body>.efi-panel{height:auto!important;min-height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
  .efi-view-structure .efi-structure-workspace-body>.efi-panel>h2{display:none}
  .efi-view-structure .efi-structure-workspace-body>.efi-course-list{margin:0;max-height:none;overflow:visible}
  .efi-view-structure .efi-structure-workspace-body .efi-table-scroll{height:auto!important;max-height:none!important;overflow:auto!important}
  .efi-view-structure .efi-structure-tab-sources{display:none!important}
}

/* Configuração acadêmica por período, com plano ao lado da turma e disciplinas acompanhadas sem rolagem da página. */
@media (min-width:901px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready{grid-template-rows:auto auto minmax(0,1fr)!important;gap:10px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-page-head{grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-row:2}
  .efi-view-structure .efi-structure-workspace{grid-row:3}
  .efi-view-structure .efi-period-manager{position:relative;flex:0 0 auto}
  .efi-view-structure .efi-period-manager summary{list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 11px;font-size:11px;font-weight:700;color:#202020;white-space:nowrap}
  .efi-view-structure .efi-period-manager summary::-webkit-details-marker{display:none}
  .efi-view-structure .efi-period-manager summary::after{content:'⌄';margin-left:6px;color:var(--red)}
  .efi-view-structure .efi-period-current{color:var(--red);margin-left:4px}
  .efi-view-structure .efi-period-manager>div{position:absolute;z-index:15;right:0;top:calc(100% + 6px);width:290px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px #0003}
  .efi-view-structure .efi-period-manager p{margin:0 0 10px;font-size:10px;color:#666}
  .efi-view-structure .efi-period-manager-form{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px;align-items:end}
  .efi-view-structure .efi-period-manager-form .efi-btn{height:36px;min-height:36px;white-space:nowrap}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr)!important;grid-template-rows:auto auto;gap:10px}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:first-child{grid-row:1/span 2}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2){grid-column:2;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3){grid-column:2;grid-row:2}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3) .efi-form{grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3) .efi-required-note{grid-column:1/-1;margin:0;font-size:10px}
  .efi-view-structure .efi-period-source{display:none!important}
  .efi-view-structure .efi-period-control{min-width:0}
  .efi-view-structure .efi-subjects-workbench{display:grid!important;grid-template-columns:minmax(255px,.42fr) minmax(0,1.58fr);gap:16px;align-items:start}
  .efi-view-structure .efi-subjects-workbench form{display:grid;gap:9px}
  .efi-view-structure .efi-subject-optional{display:flex!important;align-items:center;gap:7px;font-size:11px!important;color:#333!important}
  .efi-view-structure .efi-subject-optional input{width:auto!important;height:auto!important}
  .efi-view-structure .efi-subject-course-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .efi-view-structure .efi-subject-course-board article{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fafafa;min-width:0}
  .efi-view-structure .efi-subject-course-board h3{margin:0 0 7px;font-size:12px}
  .efi-view-structure .efi-subject-course-board p{display:flex;justify-content:space-between;gap:8px;margin:0;padding:5px 0;border-top:1px solid #e8e8e8;font-size:10px}
  .efi-view-structure .efi-subject-course-board p:first-of-type{border-top:0}
  .efi-view-structure .efi-subject-course-board b{min-width:0}
  .efi-view-structure .efi-subject-course-board span{color:#707070;white-space:nowrap}
  .efi-view-structure .efi-subject-course-board em{font-style:normal;color:#8b5500;background:#fff0d0;border-radius:10px;padding:1px 5px;font-size:8px}
}
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-template-columns:minmax(250px,.8fr) minmax(340px,1.15fr) minmax(410px,1.35fr)!important;grid-template-rows:auto!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:first-child{grid-column:1;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2){grid-column:2;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3){grid-column:3;grid-row:1}
  .efi-view-structure .efi-class-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3) .efi-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* 1.1.71: a linha de ações fecha os quatro cartões no mesmo alinhamento. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card{position:relative}
  .efi-view-structure .efi-period-existing{position:absolute;top:116px;left:12px;right:12px;margin:0!important;padding-top:6px!important}
  .efi-view-structure .efi-period-card .efi-period-form{height:100%}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{
    grid-template-rows:auto auto minmax(0,1fr)!important;
    align-content:stretch!important;
  }
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{
    grid-row:3;
    align-self:end!important;
  }
}

/* 1.1.65: ícones dos cartões ficam legíveis e padronizados com o menu lateral. */
@media (min-width:901px){
  .efi-view-structure .efi-panel>h2{gap:9px}
  .efi-view-structure .efi-config-title-icon{width:28px;height:28px;flex-basis:28px;border-radius:8px;border-bottom-width:2px}
  .efi-view-structure .efi-config-title-icon svg{width:18px;height:18px;stroke-width:2}
}
@media (min-width:901px) and (max-height:850px){
  .efi-view-structure .efi-config-title-icon{width:26px;height:26px;flex-basis:26px}
  .efi-view-structure .efi-config-title-icon svg{width:16px;height:16px}
}

/* Campo técnico automático não pode reservar linha no grid do formulário. */
.efi-view-structure .efi-form label[hidden]{display:none!important}

/* Plano: ação em faixa inteira, afastada das bordas do cartão. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:1/-1!important}
}

/* 1.1.71 final: todos os quatro botões compartilham a mesma linha de ação. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card{position:relative}
  .efi-view-structure .efi-period-existing{position:absolute;top:116px;left:12px;right:12px;margin:0!important;padding-top:6px!important}
  .efi-view-structure .efi-period-card .efi-period-form{height:100%}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{grid-template-rows:auto auto minmax(0,1fr)!important;align-content:stretch!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:1/-1!important;grid-row:3;align-self:end!important}
}

/* 1.1.72: ação do período fecha exatamente na mesma base dos demais cartões. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card .efi-period-form .efi-btn{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);margin:0!important}
}

/* 1.1.70: ações de criação com a mesma medida e sempre visíveis no rodapé dos cartões. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-btn{
    width:min(182px,100%)!important;
    height:34px!important;
    min-height:34px!important;
    margin-top:auto!important;
    justify-self:center!important;
    align-self:end!important;
  }
  .efi-view-structure .efi-period-card .efi-period-form,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2)>.efi-form{
    align-items:stretch;
  }
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{
    align-content:start!important;
  }
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{
    grid-column:1/-1!important;
  }
}

/* 1.1.60: consulta no alto; criação por período na faixa inferior. */
@media (min-width:901px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready{grid-template-rows:auto minmax(0,1fr) auto!important;gap:10px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-page-head{grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-row:3}
  .efi-view-structure .efi-structure-workspace{grid-row:2}
  .efi-view-structure .efi-period-manager{display:none!important}
  .efi-view-structure .efi-period-card{padding:12px!important;margin:0!important}
  .efi-view-structure .efi-period-card h2{margin:0 0 9px!important;font-size:14px}
  .efi-view-structure .efi-period-card small{display:block;margin-top:7px;color:#707070;font-size:9px}
  .efi-view-structure .efi-period-form{display:grid;grid-template-columns:1fr;gap:8px}
  .efi-view-structure .efi-period-form .efi-btn{height:36px;min-height:36px;white-space:nowrap}
  .efi-view-structure .efi-structure-workspace-head{align-items:end}
  .efi-view-structure .efi-workspace-period{display:grid;gap:3px;min-width:175px;color:#707070;font-size:9px;font-weight:700}
  .efi-view-structure .efi-workspace-period select{height:32px;padding:4px 8px;font-size:11px}
  .efi-view-structure .efi-workspace-period[hidden]{display:none}
}
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-template-columns:minmax(180px,.48fr) minmax(270px,.74fr) minmax(345px,1.08fr) minmax(370px,1.15fr)!important;grid-template-rows:auto!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:first-child{grid-column:1;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2){grid-column:2;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3){grid-column:3;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4){grid-column:4;grid-row:1}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4) .efi-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4) .efi-form button,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4) .efi-required-note{grid-column:1/-1}
}

/* 1.1.61: cartões de criação com a mesma altura e ações alinhadas. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel{height:100%!important;align-self:stretch!important;display:flex;flex-direction:column}
  .efi-view-structure .efi-period-card .efi-period-form,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2)>.efi-form{display:flex;flex:1;flex-direction:column;gap:8px}
  .efi-view-structure .efi-period-card .efi-btn,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2)>.efi-form .efi-btn{width:100%;margin-top:auto}
  .efi-view-structure .efi-period-card small{margin-top:10px}
  .efi-view-structure .efi-period-existing{margin:8px 0 0;padding-top:8px;border-top:1px solid #eee;color:#666;font-size:9px}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{flex:1;align-content:space-between}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{width:100%;min-height:38px}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn{grid-column:1/-1}
}

/* 1.1.62: criação compacta, sem campos técnicos visíveis. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel{height:220px!important;min-height:220px!important;padding:11px 12px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel h2{margin-bottom:6px!important;font-size:14px}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form{gap:6px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form input,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form select{height:32px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form label{font-size:10px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-btn{height:34px!important;min-height:34px!important;font-size:11px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .efi-view-structure .efi-class-name{grid-column:1/-1}
  .efi-view-structure .efi-period-existing{margin-top:auto!important;padding-top:6px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-required-note{display:none}
}

/* 1.1.64: Vagas permanece editável, em linha própria dentro do cartão da turma. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .efi-view-structure .efi-class-name{grid-column:span 2}
  .efi-view-structure .efi-class-capacity{grid-column:auto}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:auto!important}
}

/* 1.1.69: o botão do plano ocupa a última linha inteira e não encosta na lateral. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:1/-1!important}
}

/* 1.1.71 final: todos os quatro botões compartilham a mesma linha de ação. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card{position:relative}
  .efi-view-structure .efi-period-existing{position:absolute;top:116px;left:12px;right:12px;margin:0!important;padding-top:6px!important}
  .efi-view-structure .efi-period-card .efi-period-form{height:100%}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{grid-template-rows:auto auto minmax(0,1fr)!important;align-content:stretch!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:1/-1!important;grid-row:3;align-self:end!important}
}

/* 1.1.72 final: botão do período na mesma base de todas as ações. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card .efi-period-form .efi-btn{position:absolute;bottom:11px;left:50%;transform:translateX(-50%);margin:0!important}
}

/* 1.1.73: o plano usa o espaço livre da segunda linha; a ação nunca é recortada. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{
    grid-column:3!important;
    grid-row:2!important;
    margin:0!important;
    align-self:end!important;
  }
}

/* 1.1.74: cartões compactos de duas linhas, com ação ao lado do último campo. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel{height:180px!important;min-height:180px!important}
  .efi-view-structure .efi-period-card small,.efi-view-structure .efi-period-existing{display:none!important}
  .efi-view-structure .efi-period-card .efi-period-form{display:grid!important;grid-template-columns:1fr;grid-template-rows:auto auto;gap:6px!important;flex:0 auto!important;height:auto!important}
  .efi-view-structure .efi-period-card .efi-period-form .efi-btn{position:static!important;transform:none!important;grid-column:1;grid-row:2;width:min(182px,100%)!important;margin:0!important;justify-self:center!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2)>.efi-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,182px)!important;grid-template-rows:auto auto!important;gap:6px!important;flex:0 auto!important}
  .efi-view-structure .efi-course-short{grid-column:1/-1;grid-row:1}
  .efi-view-structure .efi-course-full{grid-column:1;grid-row:2}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(2)>.efi-form .efi-btn{grid-column:2;grid-row:2;width:min(182px,100%)!important;margin:0!important;justify-self:center!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto auto!important;gap:6px!important;align-content:start!important;flex:0 auto!important}
  .efi-view-structure .efi-class-name,.efi-view-structure .efi-class-capacity{grid-column:auto!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(3)>.efi-class-form .efi-btn{grid-column:3!important;grid-row:2!important;width:min(182px,100%)!important;margin:0!important;justify-self:center!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form{grid-template-rows:auto auto!important;gap:6px!important;align-content:start!important;flex:0 auto!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{grid-column:3!important;grid-row:2!important;width:min(182px,100%)!important;margin:0!important;justify-self:center!important}
}

/* 1.1.76: a lista de cursos fica visível dentro da área de consulta e a faixa
   inferior ganha folga suficiente em telas de menor altura. */
@media (min-width:1500px){
  .efi-view-structure .efi-structure-workspace-body>[data-course-list]{display:block!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel{height:196px!important;min-height:196px!important}
}

/* 1.1.77: botão do plano centralizado na segunda linha, longe do rodapé. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form .efi-btn{align-self:center!important}
}

/* 1.1.78: os dois campos financeiros da segunda linha acompanham o botão. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form label:nth-of-type(4),
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-form label:nth-of-type(5){transform:translateY(-10px)}
}

/* 1.1.79: mesmo desenho para todos os cartões de criação. */
@media (min-width:1500px){
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form input,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel .efi-form select{border-color:#d7d7d7!important;box-shadow:0 2px 8px #00000014!important;background:#fff}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form{border:0!important;border-radius:0!important;overflow:visible!important;gap:6px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label{border:0!important;padding:0!important;gap:4px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form input,
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form select{margin:0!important;border-radius:8px!important}
  .efi-view-structure .efi-course-full{grid-column:1/-1!important;grid-row:1!important}
  .efi-view-structure .efi-course-short{grid-column:1!important;grid-row:2!important}
}

/* 1.1.80: segunda linha rigorosamente alinhada entre os quatro cartões. */
@media (min-width:1500px){
  .efi-view-structure .efi-period-card .efi-period-form .efi-btn{transform:translateY(16px)!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label{gap:5px!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(4),
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(5){transform:none!important}
  .efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form .efi-btn{transform:translateY(11px)!important}
}


/* Visão Geral: a barra de documentos permanece totalmente acima do rodapé em telas compactas. */
@media (min-width:901px) and (max-height:980px){
  .efi-document-form:not(.efi-document-pending){transform:translateY(20px)!important;}
}

/* Visão Geral: espaço para a sombra dos cards sem empurrar documentos para o rodapé. */
@media (min-width:901px) and (max-height:980px){
  .efi-view-students .efi-inline-form:not(.is-editing):not(.is-enrolling) .efi-overview-layout{height:calc(100% - 94px)!important;}
  .efi-view-students .efi-inline-form:not(.is-editing):not(.is-enrolling) .efi-overview-cards{grid-template-rows:calc(50% + 4.5px) calc(50% - 20.5px)!important;}
}

/* Novo Cadastro: revelar a sombra dos cards preservando os campos e o rodapé. */
@media (min-width:901px) and (max-height:980px){
  .efi-view-students .efi-inline-form.efi-new-student .efi-overview-layout{transform:translateY(-15px)!important;}
  .efi-view-students .efi-inline-form.efi-new-student + .efi-document-form.efi-document-pending{transform:translateY(24px)!important;}
}

/* Planos cadastrados devem aparecer no painel da Estrutura. */
.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-compact-list{display:block!important;max-height:none;overflow:auto}

/* Estrutura: cards claros e completos para cada plano salvo. */
.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;align-content:start;max-height:none;margin:0;padding:4px 2px 12px;overflow:auto}
.efi-payment-plan-card{min-width:0;background:#fff;border:1px solid #e2e5e9;border-left:4px solid #e30613;border-radius:12px;padding:15px 17px;box-shadow:0 5px 16px #1111110d}
.efi-payment-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #eceef0}
.efi-payment-plan-head small{display:block;color:#e30613;font-size:9px;font-weight:800;letter-spacing:.8px}
.efi-payment-plan-head h3{margin:3px 0 0;color:#171717;font-size:16px;line-height:1.25}
.efi-payment-plan-period{flex:none;padding:5px 9px;border-radius:7px;background:#f3f4f6;color:#31353a;font-size:11px;font-weight:800}
.efi-payment-plan-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:13px 0}
.efi-payment-plan-facts>div{min-width:0}
.efi-payment-plan-facts small,.efi-payment-plan-facts strong{display:block}
.efi-payment-plan-facts small{color:#6d737b;font-size:10px;font-weight:600}
.efi-payment-plan-facts strong{margin-top:2px;color:#151515;font-size:13px;font-weight:800;white-space:normal}
.efi-payment-plan-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:10px;border-top:1px solid #eceef0;color:#646a71;font-size:10px;line-height:1.4}
.efi-payment-plan-active{flex:none;color:#13813f;font-weight:800}
@media(max-width:1150px){.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{grid-template-columns:1fr}}

/* Estrutura: ate 12 planos completos sem rolagem da pagina. */
.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:2px!important;overflow:visible!important}
.efi-payment-plan-card{padding:7px 9px!important;border-left-width:3px!important;border-radius:8px!important;box-shadow:0 2px 8px #1111110b!important}
.efi-payment-plan-head{align-items:center!important;gap:5px!important;padding-bottom:4px!important}
.efi-payment-plan-head small{display:none!important}
.efi-payment-plan-head h3{margin:0!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.efi-payment-plan-period{padding:3px 5px!important;font-size:9px!important}
.efi-payment-plan-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px 7px!important;padding:5px 0!important}
.efi-payment-plan-facts>div{display:flex;align-items:baseline;gap:4px;min-width:0}
.efi-payment-plan-facts small{font-size:9px!important;white-space:nowrap}
.efi-payment-plan-facts strong{margin:0!important;font-size:11px!important;white-space:nowrap}
.efi-payment-plan-foot{gap:4px!important;padding-top:4px!important;font-size:8px!important;line-height:1.1!important}
.efi-payment-plan-active{font-size:9px!important}
@media(max-width:900px){.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{grid-template-columns:1fr!important}}

/* Planos em computadores compactos: consulta ampla e somente o cadastro pertinente. */
@media (min-width:901px) and (max-width:1150px){
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-workspace{height:calc(100dvh - 343px)!important;min-height:0!important}
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){display:block!important;height:160px!important;min-height:160px!important}
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:not(:nth-child(4)){display:none!important}
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4){display:block!important;width:100%!important;height:160px!important;min-height:160px!important}
}

@media (min-width:901px) and (max-width:1150px){
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-workspace{height:calc(100dvh - 243px)!important}
  .efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){transform:translateY(-100px)!important}
}

@media (min-width:901px) and (max-width:1150px){.efi-view-structure:has(.efi-config-tabs button:nth-of-type(3).is-active) .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){transform:translateY(-60px)!important}}

/* Planos: mesma tabela de leitura usada em Turmas, ocupando toda a consulta. */
.efi-view-structure .efi-config-drawers-ready .efi-structure-workspace-body > .efi-payment-plan-list{display:block!important;width:100%!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important}
.efi-payment-plan-table{width:100%!important;table-layout:auto}
.efi-payment-plan-table th,.efi-payment-plan-table td{white-space:nowrap}

/* Planos: fonte legível, com altura prevista para 12 linhas na consulta. */
.efi-view-structure .efi-payment-plan-table{font-size:15px!important}
.efi-view-structure .efi-payment-plan-table th{font-size:12px!important;padding:6px 8px!important}
.efi-view-structure .efi-payment-plan-table td{font-size:15px!important;padding:6px 8px!important}

@media (min-width:901px) and (max-width:1150px){
  .efi-view-structure .efi-payment-plan-table{font-size:13px!important}
  .efi-view-structure .efi-payment-plan-table th{font-size:11px!important;padding:5px 7px!important}
  .efi-view-structure .efi-payment-plan-table td{font-size:13px!important;padding:5px 7px!important}
}

/* Cursos: mesma leitura tabular das consultas de Turmas e Planos. */
.efi-view-structure .efi-structure-workspace-body>.efi-course-list{border:0!important;padding:0!important;width:100%!important}
.efi-view-structure .efi-course-table th:last-child,.efi-view-structure .efi-course-table td:last-child{text-align:right}
.efi-view-structure .efi-course-table th:nth-child(1){width:24%}.efi-view-structure .efi-course-table th:nth-child(2){width:62%}.efi-view-structure .efi-course-table th:nth-child(3){width:14%}
.efi-view-structure .efi-course-table td:nth-child(1),.efi-view-structure .efi-course-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere}

/* Turmas: descrições na mesma escala das tabelas de Cursos e Planos. */
.efi-view-structure .efi-structure-workspace-body>.efi-panel>.efi-table-scroll tbody td{font-size:15px!important;padding:6px 8px!important}
@media (min-width:901px) and (max-width:1150px){.efi-view-structure .efi-structure-workspace-body>.efi-panel>.efi-table-scroll tbody td{font-size:13px!important;padding:5px 7px!important}}

/* Turmas: número de vagas disponíveis legível como os demais valores. */
.efi-view-structure .efi-structure-workspace-body>.efi-panel>.efi-table-scroll tbody .efi-pill{font-size:15px!important;line-height:1.2!important}
@media (min-width:901px) and (max-width:1150px){.efi-view-structure .efi-structure-workspace-body>.efi-panel>.efi-table-scroll tbody .efi-pill{font-size:13px!important}}

/* Código do plano: quatro campos na primeira linha e três na segunda. */
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,.85fr) minmax(0,1fr)!important;gap:5px!important;align-items:end!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label{min-width:0!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(1){grid-column:1;grid-row:1}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(2){grid-column:2;grid-row:1}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(3){grid-column:3;grid-row:1}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(4){grid-column:4;grid-row:1}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(5){grid-column:1;grid-row:2}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(6){grid-column:2 / span 2;grid-row:2}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form .efi-btn{grid-column:4;grid-row:2;min-width:0!important;width:100%!important;height:34px!important;min-height:34px!important;margin:0!important;transform:none!important;align-self:end!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form input,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form select{min-width:0!important;max-width:100%!important}
.efi-view-structure .efi-plan-code-form{display:inline-flex;align-items:center;gap:4px;margin:0;white-space:nowrap}
.efi-view-structure .efi-plan-code-form input{box-sizing:border-box;width:62px!important;max-width:62px!important;height:27px!important;padding:3px 5px!important;border:1px solid #d7d7d7;border-radius:5px;background:#fff;font:700 14px Poppins,Arial,sans-serif}
.efi-view-structure .efi-plan-code-form button{height:27px;padding:3px 7px;border:1px solid #e30613;border-radius:5px;background:#fff;color:#b8000b;font:700 11px Poppins,Arial,sans-serif;cursor:pointer}

/* Mantém o botão Salvar plano na extremidade da segunda linha, sem sobrepor a data. */
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form { grid-template-columns: minmax(0,1.25fr) minmax(0,.8fr) minmax(0,.7fr) minmax(0,1.2fr) !important; }
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form .efi-btn { grid-area: 2 / 4 !important; width: 100% !important; justify-self: stretch !important; }

/* Plano conjunto: dois cursos no mesmo plano, preservando os campos legíveis. */
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(3,auto)!important;gap:3px 5px!important;align-content:start!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(1){grid-area:1/1/auto/span 2!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(2){grid-area:1/3/auto/span 2!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(3){grid-area:2/1!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(4){grid-area:2/2!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(5){grid-area:2/3/auto/span 2!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(6){grid-area:3/1!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form label:nth-of-type(7){grid-area:3/2/auto/span 2!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form .efi-btn{grid-area:3/4!important;width:100%!important;min-width:0!important;height:28px!important;min-height:28px!important;margin:0!important;transform:none!important;align-self:end!important}
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form input,.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel:nth-child(4) > .efi-plan-form select{height:25px!important;min-height:25px!important}

/* Plano em duas linhas sem reduzir os campos: redistribui a largura dos quatro cartões. */
@media (min-width:1500px){.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary){grid-template-columns:minmax(180px,.42fr) minmax(270px,.69fr) minmax(410px,1.03fr) minmax(650px,1.43fr)!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form{grid-template-columns:1.3fr 1.3fr 1.25fr .85fr!important;grid-template-rows:repeat(2,auto)!important;gap:10px!important;align-content:start!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(1){grid-area:1/1!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(2){grid-area:1/2!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(3){grid-area:1/3!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(4){grid-area:1/4!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(5){grid-area:2/1!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(6){grid-area:2/2!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(7){grid-area:2/3!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form .efi-btn{grid-area:2/4!important;height:34px!important;min-height:34px!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form input,.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form select{height:34px!important;min-height:34px!important}}

/* Plano sem campo de segundo curso: duas linhas, sem reduzir controles. */
@media (min-width:1500px){.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(1){grid-area:1/1/auto/span 2!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(2){grid-area:1/3!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(3){grid-area:1/4!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(4){grid-area:2/1!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(5){grid-area:2/2!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form label:nth-of-type(6){grid-area:2/3!important}.efi-view-structure .efi-front-main.efi-config-workspace-ready>.efi-structure-forms:not(.efi-structure-secondary)>.efi-panel:nth-child(4)>.efi-plan-form .efi-btn{grid-area:2/4!important}}

/* Status dos planos: legibilidade sem alterar outras etiquetas. */
.efi-view-structure .efi-payment-plan-table tbody td:last-child button.efi-pill{font-size:12px!important;line-height:1.2!important;padding:4px 8px!important;cursor:pointer}

/* Estrutura: destaque temporário do card em edição, sem alterar suas medidas. */
.efi-view-structure .efi-front-main.efi-config-workspace-ready > .efi-structure-forms:not(.efi-structure-secondary) > .efi-panel.efi-editing{background:#dff7e8!important;border-color:#54d486!important;box-shadow:0 0 0 2px #54d48699,0 8px 25px #0000000b!important}
.efi-view-structure .efi-panel.efi-editing .efi-config-title-icon{background:#13733d;border-bottom-color:#54d486}

/* Ações compactas nas tabelas da Estrutura. */
.efi-view-structure .efi-row-actions,.efi-view-structure .efi-class-action{display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap}.efi-view-structure .efi-row-actions form,.efi-view-structure .efi-class-action form{display:inline-flex;margin:0}.efi-view-structure .efi-table-edit,.efi-view-structure .efi-table-delete{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:29px;padding:4px 7px;font:700 11px Poppins,Arial,sans-serif;white-space:nowrap}.efi-view-structure .efi-table-edit svg,.efi-view-structure .efi-table-delete svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Disciplinas: uma aba por curso e ações compactas, sem rolagem da página. */
.efi-view-structure .efi-subject-course-board{display:flex;flex-direction:column;gap:8px;min-width:0}
.efi-view-structure .efi-subject-course-tabs{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:8px;border-bottom:1px solid #e6e8ec}
.efi-view-structure .efi-subject-course-tabs button{height:32px;border:1px solid #d9dde3;border-radius:6px;background:#fff;color:#202124;padding:4px 9px;font:700 13px Poppins,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.efi-view-structure .efi-subject-course-tabs button.is-active{background:#f00612;border-color:#f00612;color:#fff}
.efi-view-structure .efi-subject-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#202124;font-size:12px}
.efi-view-structure .efi-subject-summary span{color:#5e6671;white-space:nowrap;font-size:11px}
.efi-view-structure .efi-subject-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 9px}
.efi-view-structure .efi-subject-item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:38px;border:1px solid #e2e5e9;border-radius:7px;background:#fafbfc;padding:4px 7px}
.efi-view-structure .efi-subject-info{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.efi-view-structure .efi-subject-info strong{font-size:11px;overflow-wrap:anywhere}
.efi-view-structure .efi-subject-info small{font-size:10px;color:#69717c;white-space:nowrap}
.efi-view-structure .efi-subject-actions{display:flex;align-items:center;gap:4px;flex:none}
.efi-view-structure .efi-subject-actions form{display:inline-flex!important;margin:0!important}
.efi-view-structure .efi-subject-pages{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:11px}
.efi-view-structure .efi-subject-pages button{border:1px solid #d9dde3;border-radius:5px;background:#fff;padding:4px 8px;font:700 10px Poppins,Arial,sans-serif;cursor:pointer}
.efi-view-structure .efi-subject-pages button:disabled{opacity:.45;cursor:default}
.efi-view-structure .efi-subjects-workbench.efi-editing{background:#dff7e8!important;border-color:#54d486!important;box-shadow:0 0 0 2px #54d48699!important}
@media(max-width:1100px){.efi-view-structure .efi-subject-items{grid-template-columns:minmax(0,1fr)}}

/* Disciplinas: grade compacta e legível, sem paginação em desktop. */
@media (min-width:1101px){
  .efi-view-structure .efi-subject-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 7px}
  .efi-view-structure .efi-subject-item{min-height:44px;padding:5px 8px;border-radius:7px}
  .efi-view-structure .efi-subject-info strong{font-size:15px;line-height:1.15}
  .efi-view-structure .efi-subject-info small{font-size:11px;line-height:1.15}
  .efi-view-structure .efi-subject-actions .efi-table-edit,.efi-view-structure .efi-subject-actions .efi-table-delete{height:27px;padding:3px 6px;font-size:10px}
}

/* Disciplina optativa: destaque visual sem mudar a leitura da grade. */
.efi-view-structure .efi-subject-item.is-optional{background:#fff5db;border-color:#e8bf55}
.efi-view-structure .efi-subject-item.is-optional .efi-subject-info strong{color:#805500}
.efi-view-structure .efi-subject-item.is-optional .efi-subject-info small{color:#8a6821}

/* 1.1.201: os fundos de todos os menus do portal usam preto puro. */
.efi-front-side,.efi-view-structure .efi-config-tabs{background:#000!important}


/* Estrutura acadêmica: uma única área de trabalho, sem cartões superiores. */
@media (min-width:901px){
	.efi-view-structure .efi-front-main:has(.efi-structure-clean-workspace){height:calc(100vh - 72px);display:flex;flex-direction:column;gap:10px;overflow:hidden;padding:18px 34px}
	.efi-view-structure .efi-structure-clean-workspace{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
	.efi-view-structure .efi-structure-clean-workspace .efi-table-scroll{flex:1 1 auto;min-height:0;overflow:auto}
}
.efi-structure-clean-head{flex:none!important;margin:0!important}
.efi-structure-clean-nav{display:flex;flex-wrap:wrap;gap:8px;flex:none;padding:0 2px}
.efi-structure-clean-nav a{border:1px solid #d9d9d9;border-radius:999px;padding:8px 13px;background:#fff;color:#333;font-size:11px;font-weight:800}
.efi-structure-clean-nav a:hover,.efi-structure-clean-nav a.is-active{background:#111;color:#fff;border-color:#111}
.efi-structure-clean-workspace{margin:0!important}
.efi-structure-clean-workspace-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.efi-structure-clean-workspace-head span{display:block;color:var(--red);font-size:9px;font-weight:800;letter-spacing:1.25px}
.efi-structure-clean-workspace-head h2{margin:4px 0 0!important}
.efi-structure-period-picker{display:flex;align-items:end;gap:8px}
.efi-structure-period-picker label{display:grid;gap:4px;color:#555;font-size:10px;font-weight:800}
.efi-structure-period-picker select{height:34px;min-width:105px;border:1px solid #d8d8d8;border-radius:7px;padding:0 8px;background:#fff;font:600 11px Poppins}
.efi-structure-period-picker .efi-btn{height:34px;padding:7px 11px}
.efi-structure-new{margin:13px 0;border:1px solid var(--line);border-radius:10px;background:#fafafa}
.efi-structure-new summary{padding:10px 12px;cursor:pointer;color:#222;font-size:12px;font-weight:800}
.efi-structure-new[open] summary{border-bottom:1px solid var(--line)}
.efi-structure-new .efi-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;padding:12px}
.efi-structure-new .efi-form .efi-btn{height:38px;padding:8px 12px}
.efi-row-edit{display:inline-block;min-width:82px}
.efi-row-edit summary{cursor:pointer;color:var(--red);font-size:11px;font-weight:800}
.efi-row-edit .efi-form{grid-template-columns:repeat(2,minmax(150px,1fr));min-width:360px;margin-top:9px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fafafa}
.efi-row-edit .efi-form .efi-btn{height:38px;padding:8px 12px}
.efi-structure-empty{margin:14px 0;color:var(--muted);font-size:12px}
@media (max-width:1100px){.efi-row-edit .efi-form{grid-template-columns:1fr;min-width:250px}.efi-structure-clean-workspace-head{align-items:flex-start;flex-direction:column}.efi-structure-period-picker{width:100%}}


/* Estrutura acadêmica: hierarquia visual, leitura e ações. */
body.efi-view-structure .efi-structure-clean-nav{gap:9px!important;margin:2px 0 4px!important}
body.efi-view-structure .efi-structure-clean-nav a{padding:10px 16px!important;border-color:#dfe2e7!important;background:#fff!important;color:#30343b!important;font-size:12px!important;box-shadow:0 4px 10px rgba(0,0,0,.06)}
body.efi-view-structure .efi-structure-clean-nav a.is-active{background:#f7052d!important;border-color:#f7052d!important;color:#fff!important;box-shadow:0 8px 18px rgba(247,5,45,.26)!important}
body.efi-view-structure .efi-structure-clean-workspace{padding:24px!important;gap:16px!important;border:1px solid #e6e8ed!important;border-radius:18px!important;box-shadow:0 16px 38px rgba(0,0,0,.13)!important}
body.efi-view-structure .efi-structure-clean-workspace-head{padding-bottom:16px!important;border-bottom:1px solid #e9eaed!important}
body.efi-view-structure .efi-structure-clean-workspace h2{font-size:24px!important;line-height:1.15!important;letter-spacing:-.02em!important}
body.efi-view-structure .efi-structure-period-picker{gap:9px!important;padding:8px 10px!important;border:1px solid #eceef1!important;border-radius:10px!important;background:#fafbfc!important}
body.efi-view-structure .efi-structure-period-picker select,body.efi-view-structure .efi-structure-period-picker .efi-btn{min-height:40px!important;font-size:13px!important}
body.efi-view-structure .efi-structure-period-picker .efi-btn{background:#111!important;color:#fff!important;border-color:#111!important}
body.efi-view-structure .efi-structure-new{width:max-content!important;max-width:100%!important;margin:2px 0 1px!important;border:0!important;border-radius:10px!important;background:#f7052d!important;box-shadow:0 8px 18px rgba(247,5,45,.22)!important;overflow:hidden!important}
body.efi-view-structure .efi-structure-new summary{display:flex!important;align-items:center!important;min-height:43px!important;padding:0 17px!important;color:#fff!important;font-size:13px!important;font-weight:800!important;cursor:pointer!important;list-style:none!important}
body.efi-view-structure .efi-structure-new summary::-webkit-details-marker{display:none!important}
body.efi-view-structure .efi-structure-new[open]{width:100%!important;background:#fff!important;border:1px solid #f7052d!important}
body.efi-view-structure .efi-structure-new[open] summary{background:#f7052d!important;border-bottom:0!important}
body.efi-view-structure .efi-structure-new[open] .efi-form{background:#fff!important}
body.efi-view-structure .efi-structure-clean-workspace table{font-size:13px!important}
body.efi-view-structure .efi-structure-clean-workspace th{padding:12px 14px!important;background:#f6f7f9!important;color:#69707c!important;font-size:11px!important;letter-spacing:.08em!important}
body.efi-view-structure .efi-structure-clean-workspace td{padding:13px 14px!important;vertical-align:middle!important}
body.efi-view-structure .efi-structure-clean-workspace tbody tr{transition:background .15s ease!important}
body.efi-view-structure .efi-structure-clean-workspace tbody tr:hover{background:#fff5f6!important}
body.efi-view-structure .efi-row-edit{display:inline-flex!important;border:1px solid #f7052d!important;border-radius:8px!important;background:#fff!important;min-width:88px!important;justify-content:center!important}
body.efi-view-structure .efi-row-edit summary{padding:7px 11px!important;color:#cf0024!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;list-style:none!important}
body.efi-view-structure .efi-row-edit summary::-webkit-details-marker{display:none!important}
body.efi-view-structure .efi-row-edit:hover{background:#f7052d!important}
body.efi-view-structure .efi-row-edit:hover summary{color:#fff!important}
@media (min-width:901px){
	body.efi-view-structure .efi-front-main:has(.efi-structure-clean-workspace){display:block!important;height:auto!important;min-height:calc(100vh - 72px)!important;overflow:visible!important;padding:24px 34px 30px!important}
	body.efi-view-structure .efi-structure-clean-workspace{display:flex!important;flex:0 1 auto!important;max-height:calc(100vh - 220px)!important;min-height:0!important;overflow:hidden!important}
	body.efi-view-structure .efi-structure-clean-workspace .efi-table-scroll{height:auto!important;max-height:clamp(190px,calc(100vh - 405px),430px)!important;min-height:0!important;flex:0 1 auto!important;overflow:auto!important}
}

/* Ficha: dimensões derivadas da janela; edição usa o formulário original em diálogo. */
body.efi-profile-workspace,body.efi-profile-workspace button,body.efi-profile-workspace input,body.efi-profile-workspace select,body.efi-profile-workspace textarea,body.efi-profile-popup,body.efi-profile-popup button,body.efi-profile-popup input,body.efi-profile-popup select,body.efi-profile-popup textarea,.efi-profile-dialog,.efi-profile-dialog button{font-family:Poppins,Arial,sans-serif!important}
body.efi-view-students.efi-profile-workspace{overflow:hidden!important}
body.efi-view-students.efi-profile-workspace .efi-front-shell{height:var(--efi-profile-height)!important;min-height:0!important;overflow:hidden!important}
body.efi-view-students.efi-profile-workspace .efi-front-main{height:100%!important;min-height:0!important;padding:12px 24px!important;display:flex!important;flex-direction:column!important;gap:12px!important;overflow:hidden!important}
body.efi-view-students.efi-profile-workspace .efi-inline-form{height:auto!important;min-height:0!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:10px!important;margin:0!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-head{height:auto!important;min-height:40px!important;flex:none!important;margin:0!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-head h1{font-size:22px!important;line-height:1.2!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-actions{gap:7px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-actions .efi-btn{font-size:12px!important;padding:9px 12px!important;min-height:36px!important;height:auto!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-layout{height:auto!important;min-height:0!important;flex:1!important;transform:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side{height:100%!important;min-height:0!important;overflow:hidden!important;flex-direction:column!important;}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo{flex:1 1 auto!important;aspect-ratio:3/4!important;}

body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side>a{flex:none!important;font-size:12px!important;min-height:29px!important;padding:3px 6px!important;margin:0!important;gap:8px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side>a i{width:25px!important;height:25px!important;flex:0 0 25px!important;font-size:18px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side>small{font-size:9px!important;padding:3px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-content{min-height:0!important;display:flex!important;flex-direction:column!important;gap:10px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band{flex:none!important;min-height:74px!important;height:auto!important;padding:12px 16px!important;border-radius:14px!important;gap:12px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band h2{font-size:clamp(17px,1.4vw,26px)!important;line-height:1.2!important;overflow-wrap:anywhere!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band p{font-size:10px!important;margin:4px 0 0!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band small{font-size:10px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band b,body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band em{font-size:12px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-overview-cards{height:auto!important;min-height:0!important;flex:1!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{min-height:0!important;color:#f5f5f5!important;border:1px solid #383b40!important;position:relative!important;overflow:hidden!important;cursor:pointer}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:hover{border-color:#f00624!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:focus-visible{outline:2px solid #f00624;outline-offset:2px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{color:#fff!important;padding-right:28px!important;gap:8px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i{width:32px!important;height:32px!important;min-width:32px!important;font-size:23px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl{margin:0!important;display:grid!important;gap:0!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{margin:0!important;border-color:#292c31!important;min-width:0!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dt:nth-of-type(n+5),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dd:nth-of-type(n+5){display:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:after{content:'Abrir todos os detalhes ↗';display:block;color:#a3a9b4;font-size:11px;margin-top:12px}

body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}

.efi-card-open{position:absolute;right:10px;top:12px;width:26px;height:26px;border:1px solid #484c54;border-radius:8px;background:#202329;color:#fff;cursor:pointer}
body.efi-view-students.efi-profile-workspace .efi-document-form{flex:none!important;height:76px!important;min-height:0!important;margin:0!important;transform:none!important;width:100%!important;grid-template-columns:150px repeat(6,minmax(0,1fr))!important;gap:0!important;padding:7px!important;border-radius:14px!important}
body.efi-view-students.efi-profile-workspace .efi-document-title b{font-size:10px!important}
body.efi-view-students.efi-profile-workspace .efi-document-slot{min-width:0!important;padding:0 7px!important}
body.efi-view-students.efi-profile-workspace .efi-document-slot strong{font-size:10px!important}
body.efi-view-students.efi-profile-workspace .efi-document-slot small{font-size:8px!important}
.efi-profile-dialog{padding:0;border:1px solid #494c54;border-top:3px solid #f00624;border-radius:18px;background:#111316;color:#fff;width:min(1120px,94vw);max-width:94vw;max-height:92dvh;box-shadow:0 24px 100px #0009}
.efi-profile-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
.efi-profile-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid #363940}
.efi-profile-dialog-head h2{margin:0;font-size:19px}.efi-profile-dialog-head button{background:#272b31;color:#fff;border:1px solid #4b5058;border-radius:8px;font:700 13px Poppins,Arial;padding:8px 14px;cursor:pointer}
.efi-profile-dialog iframe{display:block;width:100%;height:calc(88dvh - 64px);border:0;background:#24262a}
.efi-profile-dialog-details{padding:20px;overflow:auto;max-height:72dvh}
.efi-profile-dialog-details dl{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:0;margin:0}
.efi-profile-dialog-details dt,.efi-profile-dialog-details dd{padding:10px 8px;margin:0;border-bottom:1px solid #30343a;overflow-wrap:anywhere;font-size:14px}.efi-profile-dialog-details dt{color:#aaa}
body.efi-view-students.efi-profile-popup{overflow:auto!important;min-width:0!important}
body.efi-view-students.efi-profile-popup .efi-front-top,body.efi-view-students.efi-profile-popup .efi-front-footer,body.efi-view-students.efi-profile-popup .efi-mobile-lock{display:none!important}
body.efi-view-students.efi-profile-popup .efi-front-shell,body.efi-view-students.efi-profile-popup .efi-front-main,body.efi-view-students.efi-profile-popup .efi-inline-form,body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-layout,body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-content{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;transform:none!important}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-side{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-summary-band{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-head{top:0!important;z-index:5!important;}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-head h1{font-size:20px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-head .efi-breadcrumb{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-overview-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;height:auto!important;gap:12px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card{grid-column:auto!important;grid-row:auto!important;height:auto!important;min-height:0!important;padding:16px!important;overflow:visible!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-field input,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-field select,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-field textarea{min-height:40px!important;font-size:13px!important}
body.efi-view-students.efi-profile-popup .efi-document-form{transform:none!important;height:auto!important;margin-top:12px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-height:760px),(max-width:1250px){
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-layout{grid-template-columns:160px minmax(0,1fr)!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dt:nth-of-type(n+5),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dd:nth-of-type(n+5){display:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:after{content:'Abrir detalhes ↗';display:block;color:#8d949e;font-size:9px;margin-top:6px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{font-size:12px!important;margin-bottom:5px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{padding:10px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i{width:25px!important;height:25px!important;min-width:25px!important;font-size:19px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band{min-height:64px!important;padding:9px 12px!important}
}
@media(max-height:640px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dt:nth-of-type(n+3),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dd:nth-of-type(n+3){display:none!important}body.efi-view-students.efi-profile-workspace .efi-front-main{padding:8px 16px!important;gap:8px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo{max-height:85px!important}body.efi-view-students.efi-profile-workspace .efi-document-form{height:65px!important}}
@media(max-width:1050px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band{flex-wrap:wrap!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band>div:first-child{width:100%!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-summary-band p{display:none!important}body.efi-view-students.efi-profile-workspace .efi-document-form{grid-template-columns:100px repeat(6,minmax(0,1fr))!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-actions .efi-btn{font-size:10px!important;padding:7px!important}}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-grid{height:auto!important;align-content:start!important;gap:10px!important}
.efi-profile-edit-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.efi-profile-edit-tabs button{padding:9px 14px;border:1px solid #484d56;border-radius:9px;background:#181b20;color:#ddd;font-size:13px;font-weight:700;cursor:pointer}
.efi-profile-edit-tabs button.is-active{background:#f00624;color:#fff;border-color:#f00624}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-overview-cards:has([role=tabpanel]){display:block!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[hidden]{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{max-width:100%!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.efi-view-students.efi-profile-popup .efi-overview-actions .efi-photo-trigger{position:static!important;background:#181b20;color:#fff;border:1px solid #4b5058;border-radius:8px;padding:8px 12px;font-size:12px;cursor:pointer}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-view-action{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-edit-action{display:inline-flex!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-head h1{display:none!important}
body.efi-view-students.efi-profile-popup #efi-document-upload{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions{display:flex!important;justify-content:flex-end!important;width:100%!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions .efi-btn{width:auto!important;min-width:0!important;height:auto!important;white-space:nowrap!important;}
@media(max-width:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-overview-cards{grid-template-columns:1fr!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-edit-grid{grid-template-columns:1fr!important}}

/* Retrato amplo e navegação horizontal, derivados do cartão de atendimento do Caixa. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-layout{grid-template-columns:clamp(235px,18vw,300px) minmax(0,1fr)!important;gap:16px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;gap:9px!important;padding:10px!important;background:#141619!important;border:1px solid #35383e!important;border-top:3px solid #f00624!important;border-radius:18px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo{display:block!important;position:relative!important;height:100%!important;min-height:0!important;max-height:none!important;width:100%!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;overflow:hidden!important;}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo img{display:block!important;width:100%!important;height:100%!important;object-position:center!important;padding:0!important}
.efi-profile-names{text-align:center;min-width:0}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-names h2{font-weight:800!important;letter-spacing:-.03em!important;margin:0 0 8px!important;color:#fff!important;overflow-wrap:anywhere!important;text-align:center!important}
.efi-profile-names small{display:block;font-size:8px;line-height:1.2;color:#8e96a4;font-weight:600;letter-spacing:.12em}
.efi-profile-names p{margin:3px 0 0;font-size:11px;line-height:1.4;color:#c5c9d1;overflow-wrap:anywhere;text-align:center}
.efi-profile-academic{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;min-width:0;align-items:start}
.efi-profile-academic>div{display:grid;gap:3px;min-width:0}
.efi-profile-academic small{font-size:9px;line-height:1.2;color:#9ba2ad;letter-spacing:.08em;font-weight:600}
.efi-profile-academic strong{font-size:14px;color:#f5f5f5;line-height:1.2;overflow-wrap:anywhere}
.efi-profile-period{grid-column:1/-1;font-size:9px;color:#9ba2ad}
.efi-profile-academic .efi-profile-registration{grid-column:1/-1;border-top:2px solid #f00624;padding-top:8px;text-align:center;gap:4px}
.efi-profile-registration small{font-size:10px;letter-spacing:.13em}
.efi-profile-academic .efi-profile-registration strong{font-size:clamp(29px,2.7vw,46px);font-weight:800;letter-spacing:-.05em;line-height:1}
.efi-profile-nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;flex:none;padding:7px;border:1px solid #363a41;border-radius:14px;background:#111316;box-shadow:0 8px 18px #0002}
.efi-profile-nav a{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:43px;padding:6px;border:1px solid transparent;border-radius:9px;color:#c5cad4;font-size:11px;font-weight:600;text-decoration:none;line-height:1.2;text-align:left;transition:background .15s,border-color .15s,color .15s}
.efi-profile-nav a>i{display:grid;place-items:center;flex:none;width:27px;height:27px;font-style:normal;font-size:21px;line-height:1;font-family:'Segoe UI Emoji','Apple Color Emoji',sans-serif}
.efi-profile-nav a svg{width:23px;height:23px}
.efi-profile-nav a.is-active{background:#f00624;color:#fff;border-color:#ff3951;box-shadow:0 3px 12px #f0062430}
.efi-profile-nav a:hover{color:#fff;background:#292d34;border-color:#535966}
.efi-profile-nav a.is-active:hover{background:#d60020;border-color:#ff3951}
.efi-profile-nav a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.efi-profile-status{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid #265a3d;border-radius:99px;background:#153423;color:#63e499;font-size:10px;font-weight:800;font-style:normal;margin-left:12px;vertical-align:middle}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-head>div:first-child{display:flex!important;align-items:center!important;gap:8px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-overview-cards{gap:12px!important;grid-template-rows:repeat(2,minmax(0,1fr))!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dt:nth-of-type(n),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dd:nth-of-type(n){display:block!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl{grid-template-columns:minmax(85px,.8fr) minmax(0,1.4fr)!important}

body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:after{content:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{margin-bottom:10px!important}
@media(max-height:760px){
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side{gap:8px!important;padding:9px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-names h2{margin-bottom:4px!important}
.efi-profile-names p{font-size:10px}.efi-profile-academic{gap:4px 8px}.efi-profile-academic strong{font-size:12px}.efi-profile-academic .efi-profile-registration strong{font-size:36px}.efi-profile-academic .efi-profile-registration{padding-top:5px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{padding:1px 0!important;font-size:11px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{margin-bottom:7px!important}
}
@media(max-height:800px){
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child dl>dt:nth-of-type(n+8),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child dl>dd:nth-of-type(n+8){display:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child:after{content:'Ver todos os detalhes ↗'!important;font-size:9px!important;margin-top:4px!important}
}
@media(max-width:1400px){.efi-profile-nav a{font-size:10px;gap:4px;padding:4px}.efi-profile-nav a>i{width:20px;height:20px;font-size:17px}.efi-profile-status{font-size:9px;margin-left:0}.efi-profile-academic .efi-profile-registration strong{font-size:35px}}
@media(max-height:650px){
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-overview-layout{grid-template-columns:205px minmax(0,1fr)!important;gap:12px!important}
.efi-profile-names p{font-size:9px}.efi-profile-academic .efi-profile-registration strong{font-size:29px}.efi-profile-period{display:none}
.efi-profile-nav{padding:5px;gap:4px}.efi-profile-nav a{min-height:34px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dt:nth-of-type(n+5),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl>dd:nth-of-type(n+5){display:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:after{content:'Ver todos ↗'!important;font-size:9px!important;margin-top:4px!important}
}
@media(max-height:650px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{padding-left:32px!important;margin-bottom:7px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i{width:25px!important;height:25px!important}}

/* Retrato com moldura e luz discretas, sem alterar a imagem escolar. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo{border:1px solid #51545d!important;box-shadow:0 1px 0 #ffffff24 inset,0 12px 28px #0005,0 0 0 4px #ffffff05!important;background:linear-gradient(145deg,#292c33,#15171c)!important;border-radius:16px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo img{border-radius:15px!important;transition:filter .2s ease!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo:hover{border-color:#9b5865!important;box-shadow:0 1px 0 #ffffff30 inset,0 14px 32px #0006,0 0 0 4px #f006240c!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-names h2{font-size:clamp(22px,1.8vw,32px)!important;line-height:1.16!important;letter-spacing:-.025em!important;margin-bottom:9px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-overview-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-overview-cards>.efi-info-card{grid-column:auto!important;grid-row:auto!important}
.efi-profile-periods-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.efi-profile-periods-list a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:12px 8px;min-height:48px;border:1px solid #444954;border-radius:10px;background:#20242b;color:#e5e8ef;text-decoration:none;font-size:15px;font-weight:700;transition:background .15s,border-color .15s}
.efi-profile-periods-list a:hover{background:#313641;border-color:#7b8597}
.efi-profile-periods-list a.is-current{background:#153a27;border-color:#40b477;color:#75efa6;box-shadow:0 0 0 1px #40b47744 inset}
.efi-profile-periods-list a small{font-size:9px;font-weight:500;line-height:1}
.efi-profile-periods-list a:focus-visible{outline:2px solid #fff;outline-offset:2px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon{font-family:'Segoe UI Emoji','Apple Color Emoji',sans-serif!important;}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon:before,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon:after{content:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-profile-periods-card>.efi-profile-periods-list{max-height:calc(100% - 48px);overflow:auto;padding-right:3px}
@media(max-height:760px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-names h2{font-size:22px!important}.efi-profile-periods-list{gap:6px}.efi-profile-periods-list a{min-height:39px;padding:8px 6px;font-size:13px}}
@media(max-height:650px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-names h2{font-size:18px!important}.efi-profile-periods-list a{min-height:31px;padding:6px;font-size:11px}.efi-profile-periods-list{gap:4px}}

/* Períodos: a mesma lista de rótulo/valor dos demais cartões. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-profile-periods-card dl.efi-profile-periods-rows{grid-template-columns:75px minmax(0,1fr)!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-profile-periods-card dl.efi-profile-periods-rows dd{white-space:normal!important;overflow-wrap:anywhere!important;text-align:right!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-profile-periods-card dl.efi-profile-periods-rows .efi-period-current{color:#75efa6!important}

/* Foto preenche a moldura proporcionalmente, sem faixas internas. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo img{object-fit:cover!important;object-position:center!important}

/* Cartões: cabeçalho destacado, divisória vermelha e leitura proporcional à janela. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{padding:14px!important;border:1px solid #383b43!important;border-radius:14px!important;box-shadow:0 8px 24px #0003,inset 0 1px 0 #ffffff07!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{display:flex!important;align-items:center!important;position:relative!important;min-height:58px!important;margin:-14px -14px 10px!important;padding:12px 54px 12px 62px!important;border-bottom:2px solid #f00624!important;box-shadow:0 5px 14px #f0062408!important;font-size:clamp(15px,1.1vw,20px)!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.015em!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;width:36px!important;height:36px!important;border:0!important;border-radius:9px!important;box-shadow:none!important;background:transparent!important;font-size:30px!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{font-size:clamp(13px,.9vw,16px)!important;line-height:1.35!important;padding:3px 0!important;border-bottom:1px solid #30333b!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt{color:#adb3be!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{font-weight:600!important;color:#f1f3f7!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card .efi-period-current{color:#75efa6!important}
body.efi-profile-workspace .efi-card-open{top:11px!important;right:12px!important;width:34px!important;height:34px!important;border:1px solid #ad3448!important;border-radius:9px!important;color:#fff!important;font:700 21px Poppins,Arial,sans-serif!important;box-shadow:0 0 0 1px #f0062414 inset!important;transition:background .15s,border-color .15s,transform .15s}
body.efi-profile-workspace .efi-card-open:hover{background:#f00624!important;border-color:#ff5066!important;transform:translateY(-1px)}
body.efi-profile-workspace .efi-card-open:focus-visible{outline:2px solid #fff;outline-offset:3px}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card .efi-history-link{display:inline-flex!important;align-items:center!important;gap:6px!important;margin-top:12px!important;font-size:13px!important;font-weight:700!important;color:#ff3450!important;text-decoration:underline!important;text-underline-offset:3px!important}
@media(max-height:880px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{font-size:14px!important;padding:2px 0!important;line-height:1.25!important}}
@media(max-height:950px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child dl>dt:nth-of-type(n+8),body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child dl>dd:nth-of-type(n+8){display:none!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child:after{content:'Ver todos os detalhes ↗'!important;font-size:10px!important;margin-top:4px!important;color:#a8aeba!important}}
@media(max-height:800px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{min-height:47px!important;padding-top:8px!important;padding-bottom:8px!important;margin-bottom:8px!important;font-size:15px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{font-size:12px!important;padding:2px 0!important;line-height:1.2!important}body.efi-profile-workspace .efi-card-open{top:7px!important;width:31px!important;height:31px!important;font-size:19px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon{width:30px!important;height:30px!important;font-size:26px!important}}
@media(max-width:1250px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{font-size:13px!important;padding-left:49px!important;padding-right:43px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon{left:10px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dl{grid-template-columns:minmax(70px,.8fr) minmax(0,1.4fr)!important}}
@media(max-height:650px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{padding:10px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{margin:-10px -10px 7px!important;min-height:40px!important;font-size:12px!important;padding:7px 40px 7px 43px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3 i.efi-profile-card-icon{width:25px!important;height:25px!important;left:9px!important;font-size:22px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{font-size:10px!important;padding:1px 0!important;line-height:1.15!important}body.efi-profile-workspace .efi-card-open{top:5px!important;right:7px!important;width:27px!important;height:27px!important;font-size:17px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card .efi-history-link{font-size:10px!important;margin-top:5px!important}}
@media(min-height:651px) and (max-height:800px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{padding:1px 0!important}}
@media(max-height:750px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:after,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card:first-child:after{content:none!important}}
@media(min-height:651px) and (max-height:750px){body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{padding:12px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{min-height:43px!important;margin:-12px -12px 7px!important}body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card .efi-history-link{margin-top:6px!important;font-size:12px!important}}

/* Editor: grafite EFIVEST, formulário amplo e foco claro nos campos. */
.efi-profile-dialog:has(iframe){width:min(1440px,94vw)!important;max-width:94vw!important;max-height:94dvh!important;border-radius:18px!important;background:#111111!important}
.efi-profile-dialog:has(iframe) .efi-profile-dialog-head{min-height:70px;padding:16px 24px;background:#111111}
.efi-profile-dialog:has(iframe) .efi-profile-dialog-head h2{font-size:23px;font-weight:700}
.efi-profile-dialog:has(iframe) .efi-profile-dialog-head button{font-size:14px;min-height:42px;padding:9px 16px}
.efi-profile-dialog iframe{height:calc(92dvh - 72px)!important;background:#111111!important}
body.efi-view-students.efi-profile-popup{background:#111111!important;color:#f0f2f5!important;color-scheme:dark}
body.efi-view-students.efi-profile-popup .efi-front-main{padding:20px 24px 24px!important;background:#111111!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-head{padding:0 0 14px!important;margin:0!important;background:#111111!important;position:sticky!important;top:0!important;z-index:6!important;min-height:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions{gap:12px!important;align-items:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions .efi-btn{min-height:48px!important;font-size:15px!important;padding:12px 20px!important;border-radius:10px!important;font-weight:700!important;flex:0 0 auto!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-trigger{width:auto!important;flex:0 0 auto!important;margin-right:auto!important;min-height:48px!important;padding:12px 18px!important;font-size:15px!important;border:1px solid #535965!important;border-radius:10px!important;background:#222222!important;color:#e8ecf4!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs{display:grid!important;gap:8px!important;margin:0 0 18px!important;padding:7px!important;border:1px solid #444444!important;border-radius:13px!important;background:#191919!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button{min-height:46px!important;padding:10px 12px!important;font-size:15px!important;border-radius:9px!important;white-space:nowrap!important;border-color:transparent!important;background:transparent!important;color:#cccccc!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button.is-active{background:#f00624!important;color:#fff!important;border-color:#f83a50!important;box-shadow:0 4px 14px #f0062428!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button:hover:not(.is-active){background:#333333!important;color:#fff!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{min-height:calc(100dvh - 195px)!important;padding:24px!important;border:1px solid #484848!important;border-top:3px solid #f00624!important;border-radius:14px!important;background:linear-gradient(135deg,#111111,#111111)!important;color:#f2f4f8!important;box-shadow:0 12px 30px #0002!important;display:flex!important;flex-direction:column!important;gap:20px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel][hidden]{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{display:flex!important;align-items:center!important;gap:12px!important;border-bottom:1px solid #4b505b!important;color:#fff!important;font-size:23px!important;line-height:1.2!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i{position:static!important;transform:none!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;border:1px solid #535963!important;font-size:30px!important;box-shadow:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]>.efi-edit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important;flex:1!important;grid-auto-rows:minmax(85px,1fr)!important;align-content:stretch!important;align-items:center!important;height:auto!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field{display:grid!important;gap:8px!important;color:#cccccc!important;font-size:16px!important;font-weight:600!important;line-height:1.3!important;min-width:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field span{color:#cccccc!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:not([type=hidden]):not([type=checkbox]):not([type=file]),body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea{width:100%!important;min-height:62px!important;height:auto!important;padding:15px 16px!important;border:1px solid #626262!important;border-radius:10px!important;background:#222222!important;color:#f3f5f9!important;box-shadow:0 2px 5px #0002 inset!important;font:500 18px/1.35 Poppins,Arial,sans-serif!important;outline:none!important;transition:border-color .15s,box-shadow .15s!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea{min-height:112px!important;resize:vertical!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:focus,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select:focus,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea:focus{border-color:#ff4057!important;box-shadow:0 0 0 3px #f0062428!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input::placeholder,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea::placeholder{color:#999999!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field option{background:#222222!important;color:#f3f5f9!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input[readonly]{background:#292929!important;color:#bbbbbb!important}
@media(max-height:750px){.efi-profile-dialog:has(iframe) .efi-profile-dialog-head{min-height:57px;padding:10px 18px}.efi-profile-dialog:has(iframe) .efi-profile-dialog-head h2{font-size:20px}.efi-profile-dialog iframe{height:calc(92dvh - 60px)!important}body.efi-view-students.efi-profile-popup .efi-front-main{padding:14px 18px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{min-height:calc(100dvh - 175px)!important;padding:18px!important;gap:14px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]>.efi-edit-grid{gap:14px 18px!important;grid-auto-rows:minmax(75px,1fr)!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field{font-size:14px!important;gap:6px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:not([type=hidden]):not([type=checkbox]):not([type=file]),body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea{min-height:50px!important;padding:12px!important;font-size:16px!important}}
@media(max-width:900px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button{font-size:12px!important;padding:8px 5px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions .efi-btn,body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-trigger{font-size:13px!important;padding:10px 12px!important}}
@media(max-width:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]>.efi-edit-grid{grid-template-columns:1fr!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs{display:flex!important;flex-wrap:wrap!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button{flex:1!important}}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-overview-actions .efi-btn,body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-trigger{min-height:40px!important;padding:9px 12px!important;font-size:13px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs{margin-bottom:12px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button{min-height:34px!important;font-size:13px!important;padding:7px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{padding:12px!important;gap:12px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{font-size:19px!important;padding-bottom:10px!important;min-height:34px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i{width:30px!important;height:30px!important;flex:0 0 30px!important;font-size:23px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]>.efi-edit-grid{gap:10px 14px!important;grid-auto-rows:minmax(65px,1fr)!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field{font-size:13px!important;gap:5px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:not([type=hidden]):not([type=checkbox]):not([type=file]),body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field textarea{min-height:44px!important;padding:10px 12px!important;font-size:14px!important}}

/* Ações do editor na barra superior; foto como primeira opção do menu. */
.efi-editor-dialog-tools{display:flex;align-items:center;gap:10px;flex:none}
.efi-editor-dialog-tools [hidden]{display:none!important}
.efi-profile-dialog .efi-profile-dialog-head .efi-editor-save{background:#f00624!important;border-color:#f00624!important;color:#fff!important;font-size:15px!important;min-height:44px!important;padding:10px 18px!important;white-space:nowrap}
.efi-profile-dialog .efi-profile-dialog-head .efi-editor-save:hover{background:#d80021!important}
.efi-profile-dialog .efi-profile-dialog-head .efi-editor-save:disabled{opacity:.65;cursor:wait}
.efi-profile-dialog .efi-profile-dialog-head .efi-editor-cancel{background:#f6f7f9!important;color:#171a20!important;border-color:#d7dce5!important;font-size:15px!important;min-height:44px!important;padding:10px 18px!important;white-space:nowrap}
body.efi-view-students.efi-profile-popup.efi-editor-header-actions #efi-inline-student-form .efi-overview-head{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-photo-trigger{width:100%!important;margin:0!important;min-height:46px!important;padding:10px 12px!important;flex:none!important;border-color:transparent!important;background:transparent!important;border-radius:9px!important;font-size:15px!important;color:#cccccc!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-photo-trigger:hover{background:#333333!important;color:#fff!important}
body.efi-view-students.efi-profile-popup.efi-editor-header-actions #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{min-height:calc(100dvh - 130px)!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{min-height:70px!important;padding:12px 16px!important;margin:-4px -4px 0!important;border-bottom:1px solid #606060!important;box-shadow:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i{background:#77777740!important;border:1px solid #99999980!important;border-radius:12px!important}
@media(max-height:750px){body.efi-view-students.efi-profile-popup.efi-editor-header-actions #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{min-height:calc(100dvh - 115px)!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{min-height:55px!important;padding:10px 12px!important}}
@media(max-width:1000px){.efi-profile-dialog .efi-profile-dialog-head{padding:10px 14px!important;gap:8px!important}.efi-profile-dialog .efi-profile-dialog-head h2{font-size:18px!important}.efi-editor-dialog-tools{gap:6px}.efi-profile-dialog .efi-profile-dialog-head .efi-editor-save,.efi-profile-dialog .efi-profile-dialog-head .efi-editor-cancel{font-size:12px!important;min-height:38px!important;padding:8px 10px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-photo-trigger{font-size:12px!important}}
@media(max-width:650px){.efi-profile-dialog .efi-profile-dialog-head{flex-wrap:wrap}.efi-editor-dialog-tools{margin-left:auto}}

/* Grafite neutro do editor de foto, aplicado à ficha e seus diálogos. */
body.efi-view-students.efi-profile-workspace{background:#111!important}
body.efi-view-students.efi-profile-workspace .efi-front-main,body.efi-view-students.efi-profile-workspace .efi-front-shell{background:#111!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card{background:#111!important;border-color:#444!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card h3{background:#191919!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dt,body.efi-view-students.efi-profile-workspace #efi-inline-student-form #visao-geral .efi-info-card dd{border-bottom-color:#333!important}
body.efi-profile-workspace .efi-card-open{background:#222!important}
.efi-profile-dialog,.efi-profile-dialog .efi-profile-dialog-head,.efi-profile-dialog .efi-profile-dialog-body{background:#111!important;color:#eee!important;border-color:#444!important}
body.efi-profile-workspace .efi-profile-dialog-head button:not(.efi-editor-save):not(.efi-editor-cancel){background:#222!important;border-color:#555!important}

/* Degrade original, titulo e icone sobre a parte preta a direita. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{background:linear-gradient(110deg,#b8b8b866,#95959524 48%,transparent 88%)!important;justify-content:flex-end!important;text-align:right!important}

/* Foto integrada na area das abas, sem sobrepor o cadastro. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-editor.efi-photo-inline{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;z-index:auto!important;box-shadow:none!important;background:#111!important;border:1px solid #484848!important;border-top:3px solid #f00624!important;border-radius:14px!important;grid-column:1/-1!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline[hidden]{display:none!important}
.efi-photo-inline .efi-photo-close{display:none!important}
.efi-photo-inline .efi-photo-delete{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:10px;border:1px solid #f00624!important;border-radius:8px;background:#222!important;color:#ff4057!important;font:700 14px Poppins,Arial,sans-serif!important;cursor:pointer}
.efi-photo-inline .efi-photo-delete svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.efi-photo-inline .efi-photo-delete:hover{background:#f00624!important;color:#fff!important}
.efi-photo-inline .efi-photo-large-preview{width:auto!important;max-width:100%!important;margin:auto;object-fit:contain}
.efi-photo-inline .efi-photo-workbench{align-items:start!important}
@media(max-height:750px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline{padding:12px!important}.efi-photo-inline .efi-photo-workbench{gap:18px!important}.efi-photo-inline .efi-photo-controls label{margin:5px 0!important}.efi-photo-inline .efi-photo-large-preview{max-height:42dvh!important}}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline{padding:12px 16px!important;min-height:0!important}
.efi-photo-inline .efi-photo-controls{gap:4px!important}
.efi-photo-inline .efi-photo-controls label{min-height:26px!important;height:26px!important;margin:1px 0!important;font-size:13px!important}
.efi-photo-inline .efi-photo-controls select{background:#222!important;color:#eee!important;border:1px solid #555!important;min-height:28px!important;height:28px!important;padding:3px 8px!important;font:500 13px Poppins,Arial,sans-serif!important}
.efi-photo-inline .efi-photo-workbench{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)!important;gap:20px!important}
.efi-photo-inline .efi-photo-controls button,.efi-photo-inline .efi-photo-preview-wrap button{min-height:32px!important;padding:6px 10px!important;font-size:13px!important}
.efi-photo-inline .efi-photo-controls .efi-photo-buttons{margin-top:4px!important}
.efi-photo-inline .efi-photo-large-preview{max-height:calc(88dvh - 260px)!important}
.efi-photo-inline p{margin:6px 0!important;font-size:12px!important}
@media(max-height:650px){.efi-photo-inline .efi-photo-controls{gap:2px!important}.efi-photo-inline .efi-photo-controls label{height:22px!important;min-height:22px!important;margin:0!important;font-size:11px!important}.efi-photo-inline .efi-photo-controls select{height:24px!important;min-height:24px!important;font-size:11px!important}.efi-photo-inline .efi-photo-controls button,.efi-photo-inline .efi-photo-preview-wrap button{min-height:28px!important;padding:4px 8px!important;font-size:11px!important}.efi-photo-inline .efi-photo-large-preview{max-height:calc(88dvh - 225px)!important}}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-editor.efi-photo-inline{padding:12px 16px!important;gap:8px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline>strong{margin:0!important;font-size:17px!important;line-height:1.3!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline>p{margin:0!important;line-height:1.4!important;font-size:12px!important}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-photo-trigger.is-active{background:#f00624!important;color:#fff!important;border-color:#f83a50!important}

@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls label{height:19px!important;min-height:19px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{max-height:calc(88dvh - 350px)!important}}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline>strong,body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline>p:not(.efi-photo-status){display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-workbench{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-preview-wrap{height:100%!important;min-height:0!important;align-self:stretch!important;display:flex!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{max-height:none!important;margin:0!important}
.efi-photo-inline-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;margin-bottom:5px}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-inline-actions button{width:100%!important;margin:0!important;min-height:34px!important;font-size:12px!important;padding:6px!important}
.efi-photo-inline .efi-photo-controls[hidden]{display:flex!important}
.efi-photo-inline .efi-photo-controls[hidden]>:not(.efi-photo-inline-actions){display:none!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-inline-actions button{font-size:10px!important;min-height:28px!important}}

/* Previa proporcional ao arquivo final 3x4, sem recorte visual adicional. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-preview-wrap{justify-content:center!important;align-items:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{width:auto!important;aspect-ratio:3/4!important;object-fit:contain!important;flex:none!important;border-radius:12px!important;background:#111!important}
.efi-photo-inline .efi-photo-status:empty{display:none!important}
@media(max-height:650px){}

/* Aproveita toda a altura interna do editor sem perder a proporcao 3x4. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-workbench{min-height:calc(100dvh - 158px)!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{height:calc(100dvh - 158px)!important;max-width:100%!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-workbench{min-height:calc(100dvh - 138px)!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{height:calc(100dvh - 138px)!important}}

/* Controles distribuidos pela altura da foto e botoes uniformes. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls{height:calc(100dvh - 158px)!important;justify-content:space-between!important;gap:4px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls button{height:36px!important;min-height:36px!important;max-height:36px!important;padding:6px 10px!important;line-height:1.2!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-inline-actions{margin:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls label{margin:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-buttons{margin:0!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls{height:calc(100dvh - 138px)!important;gap:2px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-photo-inline .efi-photo-controls button{height:28px!important;min-height:28px!important;max-height:28px!important;padding:4px 6px!important}}

/* Icones vetoriais uniformes para Familia, Contato e Matricula. */
.efi-editor-vector-icon{width:28px!important;height:28px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button:has(.efi-editor-vector-icon){display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-editor-vector-icon{width:19px!important;height:19px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i:has(.efi-editor-vector-icon){display:grid!important;place-items:center!important;overflow:hidden!important;color:#fff!important}

body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i svg.efi-editor-vector-icon{display:block!important;width:28px!important;height:28px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i:has(.efi-editor-vector-icon)::before,body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i:has(.efi-editor-vector-icon)::after{content:none!important;display:none!important}

body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs button:has(.efi-editor-vector-icon){gap:9px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form .efi-profile-edit-tabs .efi-editor-vector-icon{width:23px!important;height:23px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3 i svg.efi-editor-vector-icon{width:30px!important;height:30px!important}

/* Matricula: cursos marcaveis na primeira coluna, campos e impressao na segunda. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula>.efi-existing-enrollment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:repeat(3,minmax(60px,1fr)) 58px!important;grid-auto-rows:auto!important;gap:16px 24px!important;align-items:stretch!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker{grid-column:1!important;grid-row:1/5!important;display:flex!important;flex-direction:column!important;gap:12px!important;align-self:stretch!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker details{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;border:0!important;background:transparent!important;padding:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker summary{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options{position:static!important;display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;max-height:none!important;overflow:visible!important;width:100%!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options label{display:flex!important;align-items:center!important;gap:12px!important;min-height:48px!important;padding:10px 14px!important;border:1px solid #444!important;border-radius:10px!important;background:#222!important;color:#eee!important;font:600 16px/1.3 Poppins,Arial,sans-serif!important;cursor:pointer}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options label:has(input:checked){border-color:#f00624!important;background:#30171b!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options label:has(input:disabled){opacity:.5;cursor:default}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options input[type=checkbox]{appearance:auto!important;accent-color:#f00624!important;width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;flex:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula>.efi-existing-enrollment-grid>label{grid-column:2!important;align-self:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula>.efi-existing-enrollment-grid>label:nth-child(2){grid-row:1!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-plan-picker{grid-row:2!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-installment-override{grid-row:3!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-spacer{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-print{grid-column:2!important;grid-row:4!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:52px!important;height:52px!important;width:100%!important;max-width:none!important;padding:12px 20px!important;margin:0!important;border:1px solid #ff4057!important;border-radius:12px!important;background:#f00624!important;color:#fff!important;font:700 17px/1.3 Poppins,Arial,sans-serif!important;box-shadow:0 5px 16px #f0062420!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-print svg{display:block!important;width:24px!important;height:24px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-print::before,body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-print::after{display:none!important;content:none!important}
@media(max-height:750px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options{gap:7px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options label{min-height:40px!important;padding:8px 12px!important;font-size:14px!important}}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula>.efi-existing-enrollment-grid{gap:8px 16px!important;grid-template-rows:repeat(3,minmax(54px,1fr)) 42px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options{gap:5px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-options label{min-height:32px!important;padding:6px 10px!important;font-size:13px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-edit-enrollment-print{min-height:40px!important;height:40px!important;padding:8px 12px!important;font-size:14px!important}}

/* Titulo Cursos junto a primeira opcao. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker{justify-content:center!important;gap:10px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker details{flex:0 0 auto!important;justify-content:flex-start!important;min-height:0!important;height:auto!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker>span{margin:0!important;padding:0!important}

/* Lista de cursos centralizada e setas de selecao ampliadas. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker{width:min(100%,300px)!important;justify-self:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #matricula .efi-course-picker>span{width:100%!important;text-align:left!important;padding-left:4px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-edit-field select{appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='%23e5e5e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 16px center!important;background-size:26px 26px!important;padding-right:54px!important;cursor:pointer}

/* Titulo e lista formam um unico bloco, sem linha de grade esticada. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-course-picker{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;gap:10px!important;width:min(100%,300px)!important;justify-self:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-course-picker>span{display:block!important;height:auto!important;min-height:0!important;flex:0 0 auto!important;width:100%!important;margin:0!important;padding:0 0 0 4px!important;text-align:left!important;line-height:1.3!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-course-picker details{flex:0 0 auto!important;height:auto!important;min-height:0!important;margin:0!important;width:100%!important}

/* Superficies da foto e menu no mesmo grafite neutro dos cards. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side{background:#111!important;border-color:#444!important;border-top-color:#f00624!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-nav{background:#111!important;border-color:#444!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-side-photo{background:#111!important;border-color:#444!important;box-shadow:none!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side small,body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-profile-side .efi-profile-official-label{color:#aaa!important}

/* Consulta ampliada por lupa; lapis somente apos ativar Editar. */
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-card-open svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-card-open::before,body.efi-view-students.efi-profile-workspace #efi-inline-student-form .efi-card-open::after{display:none!important;content:none!important}
body.efi-cards-editing #efi-inline-student-form [data-inline-edit]{box-shadow:0 0 0 3px #f0062440!important}
.efi-profile-dialog:has(.efi-profile-dialog-details){width:min(1100px,92vw)!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details{padding:26px!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dl{display:grid!important;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr)!important;gap:0 24px!important;margin:0!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dt,body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dd{font:500 23px/1.45 Poppins,Arial,sans-serif!important;padding:12px 0!important;margin:0!important;border-bottom:1px solid #333!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dd{font-weight:700!important;text-align:right!important;color:#fff!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dt{color:#bbb!important}
body.efi-view-students.efi-profile-workspace .efi-profile-dialog:has(.efi-profile-dialog-details) .efi-profile-dialog-head h2{font-size:27px!important}
@media(max-height:750px){body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dt,body.efi-view-students.efi-profile-workspace .efi-profile-dialog .efi-profile-dialog-details dd{font-size:20px!important;padding:8px 0!important}}

/* Periodo explicito e ofertas historicas na aba Matricula. */
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-editor-period-picker{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;flex:none!important;width:100%!important;min-height:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-editor-period-picker select{width:210px!important;min-height:44px!important;padding:8px 40px 8px 12px!important;font-size:16px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula>.efi-historical-editor-grid{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;grid-template-rows:1fr!important;grid-auto-rows:auto!important;align-items:start!important;gap:20px!important;flex:1!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;max-height:none!important;overflow:visible!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options label{display:flex!important;align-items:center!important;gap:8px!important;min-height:56px!important;padding:8px 10px!important;border:1px solid #444!important;border-radius:9px!important;background:#222!important;font:600 13px/1.3 Poppins,Arial,sans-serif!important;color:#eee!important;cursor:pointer}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker label:has(input:checked){border-color:#f00624!important;background:#30171b!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker input[type=radio]{appearance:auto!important;accent-color:#f00624!important;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;flex:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker small{display:block!important;font-size:11px!important;color:#bbb!important;margin-top:3px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details{display:grid!important;gap:18px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details textarea{min-height:80px!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options label{min-height:42px!important;padding:5px 7px!important;font-size:11px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options{gap:5px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details{gap:10px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details textarea{min-height:60px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-editor-period-picker select{min-height:34px!important;padding:5px 34px 5px 10px!important}}

body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker{width:min(100%,300px)!important;justify-self:center!important;align-self:center!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options{grid-template-columns:1fr!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-historical-raw-options{display:none!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options label{min-height:42px!important;font-size:14px!important}
body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details{gap:12px!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-course-picker .efi-course-options label{min-height:32px!important;font-size:12px!important}body.efi-view-students.efi-profile-popup #efi-inline-student-form #visao-geral #matricula .efi-historical-editor-details{gap:6px!important}}

/* Nova matricula reutiliza o editor em abas, com controles originais de cadastro. */
body.efi-view-students.efi-profile-popup.efi-new-registration{height:100dvh!important;overflow:hidden!important;background:#111!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-top{display:flex!important;height:60px!important;min-height:60px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-footer{display:flex!important;height:24px!important;min-height:24px!important;align-items:center!important;justify-content:center!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-shell{height:calc(100dvh - 84px)!important;min-height:0!important;display:block!important;overflow:hidden!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-main{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;padding:12px 20px!important;gap:10px!important;max-width:none!important;overflow:hidden!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form{display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;gap:10px!important;height:auto!important;overflow:hidden!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-head{display:flex!important;position:static!important;min-height:44px!important;padding:0!important;flex:none!important;align-items:center!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-head small,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-breadcrumb{display:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-head h1{font:700 25px/1.2 Poppins,Arial,sans-serif!important;margin:0!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-profile-edit-tabs{margin:0!important;flex:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-layout{display:block!important;flex:1!important;min-height:0!important;height:auto!important;transform:none!important;overflow:hidden!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-content,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-cards{display:block!important;height:100%!important;min-height:0!important;overflow:hidden!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{height:100%!important;min-height:0!important;padding:16px!important;gap:14px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]>.efi-edit-grid{grid-auto-rows:minmax(0,1fr)!important;gap:12px 20px!important;min-height:0!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:not([type=hidden]):not([type=checkbox]):not([type=file]),body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select{min-height:42px!important;padding:10px 14px!important;font-size:16px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral #matricula>.efi-value{display:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-document-pending{transform:none!important;display:grid!important;grid-template-columns:120px repeat(6,minmax(0,1fr))!important;gap:8px!important;height:66px!important;min-height:66px!important;padding:8px 10px!important;background:#111!important;color:#eee!important;flex:none!important;border-top:3px solid #f00624!important;border-radius:12px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-document-pending .efi-document-slot{min-width:0!important;padding:0 8px!important;display:grid!important;gap:2px!important;border-left:1px solid #333!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-document-pending strong{font-size:12px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-document-pending small{font-size:9px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline{height:100%!important;min-height:0!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-workbench{min-height:0!important;height:calc(var(--efi-new-stage-height) - 32px)!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-controls{height:calc(var(--efi-new-stage-height) - 32px)!important;min-height:0!important}
@media(max-height:750px){body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-top{height:48px!important;min-height:48px!important}body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-shell{height:calc(100dvh - 72px)!important}body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-main{padding:8px 14px!important;gap:6px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form{gap:6px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel]{padding:12px!important;gap:8px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] h3{min-height:42px!important;padding:8px 12px!important;font-size:20px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field{font-size:12px!important;gap:4px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field input:not([type=hidden]):not([type=checkbox]):not([type=file]),body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-info-card[role=tabpanel] .efi-edit-field select{min-height:34px!important;padding:6px 10px!important;font-size:14px!important}}

body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-overview-head h1{display:block!important;color:#fff!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral.efi-overview-content{display:flex!important;flex-direction:column!important;gap:10px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral .efi-overview-cards{height:auto!important;flex:1!important;min-height:0!important}
@media(max-width:1200px){body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-profile-edit-tabs button{font-size:12px!important;padding:8px 4px!important;gap:5px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-profile-edit-tabs .efi-editor-vector-icon{width:19px!important;height:19px!important}}

body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-controls[hidden]{display:flex!important;justify-content:flex-start!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-controls[hidden]>:not(.efi-photo-inline-actions){display:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-inline .efi-photo-inline-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}

@media(max-height:650px){body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral #matricula .efi-course-options{gap:4px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form #visao-geral #matricula .efi-course-options label{min-height:28px!important;padding:4px 10px!important;font-size:12px!important}}

/* Documentos somente dentro da aba Foto do cadastro novo. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents{display:flex!important;flex-direction:column!important;gap:10px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents[hidden]{display:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{height:calc(var(--efi-new-stage-height) - 114px)!important;min-height:0!important;flex:1!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls{height:calc(var(--efi-new-stage-height) - 114px)!important;min-height:0!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-pending{width:100%!important;flex:none!important;margin:0!important}

/* Documentos na coluna lateral da Foto, com anexos maiores. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{height:calc(var(--efi-new-stage-height) - 32px)!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls{height:calc(var(--efi-new-stage-height) - 32px)!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]>.efi-document-pending{display:grid!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-pending{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important;min-height:0!important;gap:12px!important;padding:14px!important;flex:1!important;align-content:start!important;margin-top:12px!important;border:1px solid #444!important;border-top:3px solid #f00624!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-title{grid-column:1/-1!important;display:block!important;font-size:19px!important;padding:0!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-title span{display:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot{border:1px solid #444!important;border-radius:10px!important;background:#222!important;padding:12px!important;gap:8px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot strong{font:700 16px/1.3 Poppins,Arial,sans-serif!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 10px!important;font:600 14px/1.3 Poppins,Arial,sans-serif!important;border-radius:8px!important;background:#f5f5f5!important;color:#222!important;cursor:pointer}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot small{font-size:11px!important;line-height:1.3!important}
@media(max-height:750px){body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-pending{gap:7px!important;padding:10px!important;margin-top:8px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot{padding:7px!important;gap:4px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot strong{font-size:14px!important}body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label{min-height:30px!important;padding:5px 8px!important;font-size:12px!important}}

/* Com foto carregada, ajustes em duas colunas para manter os anexos visiveis. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:5px 10px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden])>.efi-photo-inline-actions,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden])>.efi-open-crop,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden])>.efi-photo-buttons,body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden])>.efi-document-pending{grid-column:1/-1!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden])>.efi-document-pending{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:0!important;padding:8px!important;gap:6px!important;flex:none!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot{padding:6px!important;gap:3px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot strong{font-size:13px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot label{min-height:28px!important;padding:4px!important;font-size:12px!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot small{font-size:9px!important}

body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-title b{font:700 18px/1.3 Poppins,Arial,sans-serif!important}

body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-inline-actions button{height:52px!important;min-height:52px!important;max-height:52px!important;font-size:16px!important;padding:12px 16px!important}
@media(max-height:650px){body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-inline-actions button{height:40px!important;min-height:40px!important;max-height:40px!important;font-size:14px!important;padding:8px 10px!important}}

/* Bloco de cadastro centralizado tambem em monitores largos. */
body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-main{width:100%!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{width:100%!important;max-width:1440px!important;margin:0 auto!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important}

/* Cadastro novo: proporcoes equilibradas e documentos sem vazio inferior.
   Incorporar ao bloco original da nova matricula; nao criar plugin auxiliar. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents{
  padding:18px 22px!important;
  border-color:#333!important;
  border-top-color:#f00624!important;
  border-radius:16px!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{
  height:calc(var(--efi-new-stage-height) - 40px)!important;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
  gap:28px!important;
  align-items:stretch!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview{
  height:calc(var(--efi-new-stage-height) - 40px)!important;
  max-height:100%!important;
  max-width:100%!important;
  border:1px solid #3c3c3c!important;
  box-shadow:none!important;
  border-radius:14px!important;
}
/* O logotipo e apenas o estado vazio; nao deve dominar o primeiro contato. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview[src*="logo-quadro-fundo-preto"]{
  box-sizing:border-box!important;
  padding:clamp(22px,4vw,72px)!important;
  background:#161616!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]{
  height:calc(var(--efi-new-stage-height) - 40px)!important;
  gap:16px!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-inline-actions{
  flex:none!important;
  gap:12px!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-inline-actions button{
  box-shadow:none!important;
  border-radius:10px!important;
}
/* No estado sem foto, tres linhas de anexos ocupam a altura disponivel. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]>.efi-document-pending{
  grid-template-rows:30px repeat(3,minmax(0,1fr))!important;
  align-content:stretch!important;
  gap:14px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:hidden!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-title{
  align-self:center!important;
  color:#fff!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot{
  border:1px solid #383838!important;
  border-radius:12px!important;
  background:#1b1b1b!important;
  padding:clamp(10px,1.25vw,18px)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:0!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label{
  min-height:42px!important;
  border:1px solid #555!important;
  background:#292929!important;
  color:#fff!important;
  font-size:15px!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label:hover{
  background:#343434!important;
  border-color:#eee!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot small{
  color:#aaa!important;
  font-size:12px!important;
  text-align:center!important;
}
/* Com imagem carregada, preserva o modo compacto dos ajustes e anexos. */
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot{
  padding:6px!important;
  gap:3px!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot label{
  min-height:28px!important;
  font-size:12px!important;
}
body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls:not([hidden]) .efi-document-slot small{
  font-size:9px!important;
}
@media(max-height:750px){
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents{padding:12px 16px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{gap:20px!important;height:calc(var(--efi-new-stage-height) - 28px)!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview,
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]{height:calc(var(--efi-new-stage-height) - 28px)!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]>.efi-document-pending{grid-template-rows:24px repeat(3,minmax(0,1fr))!important;gap:9px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot{padding:8px 10px!important;gap:5px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label{min-height:32px!important;font-size:13px!important;padding:5px 8px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot small{font-size:10px!important}
}
@media(max-height:650px){
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-controls[hidden]{gap:8px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot{padding:6px 8px!important;gap:3px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot strong{font-size:13px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot label{min-height:28px!important;font-size:12px!important}
  body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-document-slot small{font-size:9px!important}
}

/* Nova matrícula no computador: a linha de grid deve caber no painel, sem crescer pelo conteúdo intrínseco da imagem. */
@media(min-width:901px){
 body.efi-view-students.efi-profile-popup.efi-new-registration{grid-template-columns:minmax(0,1fr)!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-shell{width:100%!important;max-width:100%!important;min-width:0!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration .efi-front-main{max-width:none!important;padding-left:24px!important;padding-right:24px!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-workbench{max-width:none!important;grid-template-rows:minmax(0,1fr)!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-preview-wrap{height:100%!important;min-height:0!important;max-height:100%!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-large-preview{height:100%!important;max-height:100%!important;width:100%!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column>.efi-photo-controls[hidden]{display:none!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;gap:12px!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column>.efi-photo-inline-actions{margin:0!important;flex:none!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column>.efi-document-pending{flex:1!important;min-height:0!important;grid-template-rows:24px repeat(3,minmax(0,1fr))!important;padding:10px!important;gap:8px!important;margin:0!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column .efi-document-slot{padding:8px 10px!important;gap:5px!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column .efi-document-slot label{min-height:32px!important;padding:5px 8px!important;font-size:13px!important}
 body.efi-view-students.efi-profile-popup.efi-new-registration #efi-inline-student-form .efi-photo-with-documents .efi-photo-tool-column .efi-document-slot small{font-size:11px!important}
}

/* Editor de retratos: controles em duas colunas e altura util medida no iframe. */
@media(min-width:1001px) and (min-height:600px){
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-overview-cards:has(>.efi-photo-inline:not([hidden])){min-height:0!important;height:auto!important;grid-template-rows:auto!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline{box-sizing:border-box!important;height:var(--efi-photo-space,calc(100dvh - 100px))!important;min-height:0!important;display:flex!important;flex-direction:column!important;gap:6px!important;padding:10px 12px!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline[hidden]{display:none!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-workbench{height:auto!important;min-height:0!important;flex:1!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr)!important;gap:18px!important;align-items:stretch!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-preview-wrap{min-height:0!important;height:100%!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-large-preview{height:100%!important;max-height:100%!important;max-width:100%!important;width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-tool-column{display:flex!important;flex-direction:column!important;min-height:0!important;gap:8px!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(38px,auto)!important;align-content:space-between!important;gap:7px 18px!important;height:auto!important;min-height:0!important;flex:1!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>label{display:grid!important;grid-template-columns:1fr 48px!important;grid-template-rows:auto 22px!important;gap:2px 6px!important;align-items:center!important;min-height:44px!important;height:auto!important;font-size:14px!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>label>span{grid-column:1/-1!important;font-weight:500!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>label>input{width:100%!important;margin:0!important;min-width:0!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>label>output{text-align:right!important;font-size:12px!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>.efi-photo-size{grid-column:1/-1!important;grid-template-columns:150px minmax(0,1fr)!important;grid-template-rows:auto!important;min-height:34px!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>.efi-photo-size>span{grid-column:auto!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>.efi-open-crop,body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-buttons{grid-column:1/-1!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-controls>[data-photo-compare]{grid-column:1/-1!important;background:#15291e!important;color:#81dfa7!important;border-color:#50cb81!important}
body.efi-view-students.efi-profile-popup:not(.efi-new-registration) #efi-inline-student-form .efi-photo-inline .efi-photo-status{font-size:12px!important;margin:0!important}
}

.efi-profile-dialog.is-saving{position:fixed}.efi-profile-dialog.is-saving iframe{visibility:hidden}.efi-editor-saving{position:absolute;inset:80px 0 0;display:grid;place-items:center;background:#111;color:#50cb81;font:500 22px Poppins,Arial,sans-serif}
