[hidden]{display:none!important}
body[data-papel="app"] #loginForm .btn.brand.create-account{background:var(--ok);border-color:var(--ok);color:#1b1008}
/* Cabeçalho legado usa display!important; hidden precisa ganhar por especificidade. */
#scheduleActions > .btn[hidden]{display:none!important}
.form-field-invalid[aria-invalid="true"]{border-color:#ef7180!important;outline:1px solid #ef7180;outline-offset:1px}
.form-field-error{display:block;color:#ef7180;font-weight:600;margin:5px 0 0;line-height:1.4}
.form-validation-summary:not([hidden]){color:#ef7180;border:1px solid #ef7180;border-radius:8px;padding:10px;font-weight:600;line-height:1.4}
.form-field-hint{display:block;margin-top:5px;line-height:1.4}
/* C49: adaptações expressas ao acesso real e aos recursos ainda indisponíveis. */
body[data-papel="admin"] #loginForm .admin-gate-pin{border-color:#f28a24}
body[data-papel="admin"] #loginForm .admin-gate-pin+input{margin-top:10px}
body[data-papel="admin"] #loginForm .admin-gate-pin{font-size:16px;font-weight:700;letter-spacing:normal}
body[data-papel="admin"] #loginForm .admin-gate-pin::placeholder{font-size:16px;font-weight:700;letter-spacing:normal}
body[data-papel="admin"] .admin-unit-change{visibility:hidden}
body[data-papel="admin"] .sidebar .nav-btn,body[data-papel="admin"] .v212-mobile-link{position:relative}
body[data-papel="admin"] .admin-coming-hint{position:absolute;right:8px;bottom:0;font-size:7px;font-weight:400;line-height:9px;color:var(--muted);letter-spacing:normal}
body[data-papel="admin"] [data-admin-coming],body[data-papel="admin"] #adminThemeQuick,body[data-papel="admin"] #adminUnitSwitchBtn,body[data-papel="admin"] #v5NoticeCard{cursor:default}
body[data-papel="admin"] #scr-dashboard button:disabled{opacity:1;cursor:default}
body[data-papel="admin"] .sidebar [hidden]{display:none!important}
body[data-papel="admin"]:not([data-environment="test"]) .test-chip{display:none!important}
/* Conserva o espaço do aviso vazio original; só Em breve é exposto ao leitor. */
#scr-dashboard .admin-coming-placeholder{position:relative}
#scr-dashboard .admin-coming-placeholder>[aria-hidden]{visibility:hidden}
#scr-dashboard .admin-coming-label{position:absolute;inset:12px;color:var(--muted)}
#scr-dashboard #capacityHelpers,#scr-dashboard #capacityDeficits,#scr-dashboard #topTimes{position:relative}
#scr-dashboard .admin-coming-inline{position:absolute;top:0;left:0}
/* C30: folha original de ocorrências, acima da aula; desktop no padrão aprovado. */
#occurrenceSheet{z-index:720}
#occurrenceSheet .card,#occurrenceSheet .prof-occurrence-item{min-width:0;overflow-wrap:anywhere}
@media(min-width:769px){#occurrenceSheet{max-width:none;width:100%}#occurrenceSheet .sheet-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}#occurrenceSheet .card{margin:0}#occurrenceSheet .sheet-body>.card:last-child{grid-column:span 2}#myOccurrences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.bike-avatar{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:50%;background:#243146;font-size:28px;border:1px solid #ef8829}
.bike-message{position:sticky;top:0;z-index:1500;padding:12px 16px;background:#1b2637;color:#fff;border-bottom:2px solid #ef8829;white-space:pre-wrap}
.bike-message.error{border-color:#ef7180}
body[data-papel="admin"]:not(:has(#loginGate:not([hidden]))):has(.bike-dialog:not([hidden])) #message:not([hidden]){position:fixed;top:0;left:0;right:0;z-index:1501;padding-inline-end:120px}
/* H366: com a janela lateral da Configuração do app do aluno aberta, o aviso ("Sobre nós salvo.", "Mostrando no app") fica por cima dela, não atrás. */
body[data-papel="admin"]:not(:has(#loginGate:not([hidden]))):has(#appCfgDrawer:not([hidden])) #message:not([hidden]){position:fixed;top:0;left:0;right:0;z-index:1502}
/* H138: em Planos e aulas o aviso do aluno volta a ser o balão fixo das outras telas, por cima da janela Pagamento (antes ficava estático, atrás do fundo escuro). */
body[data-papel="app"]:not(:has(#loginGate:not([hidden]))):has(#scr-shop.active) #message:not([hidden]){position:fixed}
body:has(#loginGate:not([hidden])) #message{position:static;transform:none;margin-inline:auto}
body #loginGate:not([hidden]){align-items:safe center;overflow:auto}
.bike-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.bike-list{display:grid;gap:12px;margin:12px 0}
.bike-list .card{padding:16px}
.bike-list h3{margin-top:0}
.bike-room{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0}
.bike-room button{min-height:46px;min-width:0;padding:10px 3px;font-size:12px}
body[data-papel="app"] .header-row{grid-template-columns:minmax(0,1fr) auto!important}
body[data-papel="app"] .header-row .brand{text-align:left}
body[data-papel="app"] nav{display:flex;flex-wrap:nowrap;padding-left:12px;padding-right:12px}
body[data-papel="app"] #operational>nav>button{flex:1 1 0;min-width:0}
/* Mesmos ícones e regras da barra do aluno; somente no breakpoint do Menu. */
#adminAppShortcuts{display:none}
@media(max-width:900px), (pointer:coarse){
 body[data-papel="admin"] #operational:has(#adminAppShortcuts:not([hidden])){padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 #adminAppShortcuts{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:440px;box-sizing:border-box;display:flex;flex-wrap:nowrap;background:rgba(17,24,39,.98);border-top:1px solid var(--line);padding:8px 36px calc(10px + env(safe-area-inset-bottom));z-index:100}
 #adminAppShortcuts>button{flex:1 1 0;min-width:0;border:0;border-radius:0;box-shadow:none;background:none;color:var(--muted);font-size:11px;font-weight:800;line-height:normal;padding:5px}
 #adminAppShortcuts .ico{display:block;font-size:21px;margin-bottom:3px}
 #adminAppShortcuts .ico svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #adminAppShortcuts>button.on{color:var(--brand)}
}
.bike-room button.selected{outline:3px solid #ef8829}
.bike-document{white-space:pre-wrap;font-size:14px;line-height:1.55}
.bike-question{margin:16px 0;padding:12px;border:1px solid #33425a;border-radius:12px}
.bike-question label{margin-right:16px;display:inline-flex;align-items:center;gap:6px}
.bike-accept{display:flex;gap:10px;align-items:flex-start;margin:14px 0}
.bike-accept input{width:20px;height:20px;flex-shrink:0}
.bike-header-actions{display:flex;gap:8px;justify-content:flex-end;margin:8px 0}
.bike-dialog{position:fixed;inset:0;z-index:1400;background:rgba(0,0,0,.75);display:grid;place-items:center;padding:16px}
.bike-dialog .card{width:min(100%,650px);max-height:90vh;overflow:auto;background:#1b2637;color:#fff;padding:20px;border-radius:18px}
body[data-papel="admin"] .bike-dialog .card{background:var(--surface,#1b2637)}
body[data-papel="admin"] .main>.screen{padding:20px 24px}
#parameterFields{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 1rem}
/* Fila administrativa: mesmos componentes do original, conteúdo real e quebra de texto. */
body[data-papel="admin"] .fila-admin .card{width:min(620px,100%);min-width:0}
.fila-admin .waitlist-auto-v12-config-grid{grid-template-columns:minmax(0,1fr)}
.fila-admin .waitlist-v175-person,.fila-admin .waitlist-v175-stat,.fila-admin .modal-head>div{min-width:0;overflow-wrap:anywhere}
.fila-admin .waitlist-v175-stat b{white-space:normal}
.fila-admin .waitlist-auto-v12-history-row{overflow-wrap:anywhere}
.fila-admin .fila-admin-class{grid-template-columns:minmax(0,1fr) auto}
.fila-admin .field input{max-width:100%;box-sizing:border-box}
.fila-admin .waitlist-auto-v12-title{flex-wrap:wrap}
.fila-admin .close{flex-shrink:0}
.fila-admin .waitlist-v175-time{white-space:normal}
#adminFilaDetail{z-index:1401}#adminFilaConfirm{z-index:1402}
/* Comando11: somente folha do professor; composição/medidas no CSS original. */
#teacherListDialog{position:fixed;inset:0;z-index:50}
#teacherListBody{display:contents}
#teacherListDialog .prof-instruction{margin-top:6px;display:block}
#teacherListDialog .prof-answer-detail,#teacherParqFull .prof-answer-detail{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}
#sh-profclass .prof-answer-detail{font-size:10px;line-height:1.25}
#teacherListDialog .prof-whats-btn{text-decoration:none}
#teacherListDialog .prof-occurrence-open-btn:disabled{opacity:1;cursor:default}
#teacherParqFull{z-index:60}
#teacherListDialog [hidden],#teacherParqFull[hidden]{display:none!important}
#professorApp:has(.prof-nav) .prof-nav button{flex-direction:column}
#professorApp .prof-nav small{display:block;font-size:8px;font-weight:400;opacity:.8}
body:has(#teacherListDialog:not([hidden])) #professorApp{visibility:hidden;pointer-events:none}
/* SH-11: uma barra por área; a barra do professor acompanha suas folhas. */
body[data-papel="app"]:has(#scr-teacher.active #professorApp.open:not([hidden])) #operational>nav{display:none}
body[data-papel="app"]:has(#teacherListDialog:not([hidden]),#teacherParqFull:not([hidden]),#occurrenceSheet:not([hidden]),.bike-dialog:not([hidden])) #professorApp.open{visibility:hidden;pointer-events:none;z-index:1500}
body[data-papel="app"] #professorApp.open .prof-nav{visibility:visible;pointer-events:auto}
/* Comando15 pede restaurar o painel de permissões que o patch legado ocultava. */
body[data-papel="admin"] #scr-teacherapp .teacher-v114-config{display:block!important}
body[data-papel="admin"] #scr-teacherapp .teacher-v114-head-side{display:block!important}
#scr-teacherapp input[type="checkbox"]{width:auto;flex:none}
#scr-teacherapp .teacher-v114-config-top>*{min-width:0}
#scr-teacherapp .field{margin-top:12px}
#appProfConfirm .card{max-height:90vh;overflow:auto;overflow-wrap:anywhere}
#gradePilot .grade-actions{min-width:150px;white-space:normal}
#scr-classes #classes[hidden]{display:none!important}
#gradePilot .grade-actions .btn{margin:3px;white-space:normal}
#gradePilot td small{display:block;white-space:normal}
#scheduleDialog .card,#scheduleConfirm .card,#gradeActionDialog .card{max-height:90vh;overflow:auto;max-width:760px}
#scheduleDialog .field{min-width:0;flex:1}
#scheduleDialog .row{flex-wrap:wrap}
#scheduleDialog .form-grid{margin-bottom:12px}
#scheduleDialog .section-title{margin:12px 0 8px}
#scheduleDialog .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
#scheduleDialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#scheduleDialog .field input,#scheduleDialog .field select{max-width:100%;box-sizing:border-box}
#scheduleDialog button:disabled,#scheduleConfirm button:disabled{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--muted);box-shadow:none;cursor:not-allowed}
@media(max-width:700px){#scheduleDialog .form-grid,#scheduleDialog .form-grid.three{grid-template-columns:minmax(0,1fr)}}
#scheduleConfirm{z-index:1500}
#mcConfirm{z-index:1501}
#catalogConfirm{z-index:1501}
#studentConfirm{z-index:1502}
#studentCreditDialog,#studentParqDialog,#studentNewDialog{z-index:1501}
#studentsPilot .section-head>div,#studentsPilot .toolbar,#studentsPilot .table-wrap{min-width:0;max-width:100%}
#studentsPilot .student-v128-head-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
#studentsPilot .table-wrap{overflow:auto}
#studentsPilot td:first-child{max-width:260px;overflow-wrap:anywhere;white-space:normal}
#studentsPilot table{min-width:760px!important}
#studentsPilot td:first-child{min-width:210px}
#studentsPilot input{min-width:0;max-width:100%}
.students-dialog .row{flex-wrap:wrap;gap:10px}
.students-dialog .field{min-width:0;max-width:100%}
.students-dialog input,.students-dialog select,.students-dialog textarea{max-width:100%;box-sizing:border-box}
.students-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}
.students-dialog .card .card{width:auto;max-height:none;margin:8px 0}
.students-secretary .nav-title{display:none}
@media(max-width:768px){#studentsPilot .section-head{flex-wrap:wrap;gap:10px}#studentsPilot .toolbar{flex-wrap:wrap}#studentsPilot .table-wrap{width:100%}#studentsPilot button,.students-dialog button{min-height:44px}.students-dialog .row>.field{width:100%}.students-dialog .modal-head{flex-wrap:wrap}}
#productsPilot .row,#productsPilot .card-title{flex-wrap:wrap}
#productsPilot .list-item>div{min-width:0;overflow-wrap:anywhere}
#productsPilot .product-admin-list .list-item{flex-wrap:wrap}
#catalogDialog .field{min-width:0}
#scr-monthlyclosing .row,#scr-monthlyclosing .card-title{flex-wrap:wrap}
#scr-monthlyclosing .field,#scr-monthlyclosing .card,#scr-monthlyclosing .form-grid>*{min-width:0}
#scr-monthlyclosing input,#scr-monthlyclosing textarea{max-width:100%;box-sizing:border-box}
#scr-monthlyclosing .bike-accept input{width:20px}
#scr-monthlyclosing .bike-accept small{display:block}
#mcHistory pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
#mcStatement .card{max-height:85vh;overflow:auto}
@media(max-width:768px){#scr-monthlyclosing .monthly-closing-split,#scr-monthlyclosing .form-grid.three{grid-template-columns:minmax(0,1fr)}#scr-monthlyclosing table{min-width:0!important;width:100%}#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) table,#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) tbody,#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) tr,#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) td{display:block;width:100%;box-sizing:border-box;white-space:normal}#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) thead{display:none}#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) td::before{content:attr(data-label) ': ';font-weight:bold}#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) td:last-child::before{content:''}#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap) :is(input,select){width:100%;max-width:100%!important;min-width:0}#scr-monthlyclosing .mc263-entry-wrap input[type=checkbox]{width:auto}#scr-monthlyclosing .card-title{gap:10px}}
#gradePilot .schedule-slot b{white-space:normal;overflow:visible}
#gradePilot .classes-head-actions{flex-wrap:wrap;max-width:100%}
#gradePilot .grade-actions{display:flex;flex-wrap:wrap;gap:3px}
#gradePilot .section-head>div{min-width:0;max-width:100%}
#gradePilot .card-title>.row{flex-wrap:wrap;max-width:100%}
@media(max-width:768px){#gradePilot table{min-width:0!important;max-width:100%}#gradePilot .grade-actions{min-width:0}}
@media(max-width:768px){#gradePilot .card-title{flex-wrap:wrap;gap:10px}#gradePilot .table-wrap{overflow:visible}#gradePilot table,#gradePilot tbody,#gradePilot tr,#gradePilot td{display:block;width:100%;box-sizing:border-box}#gradePilot thead{display:none}#gradePilot tr{border-bottom:1px solid var(--line);padding:8px 0}#gradePilot td{padding:5px 8px;white-space:normal}#gradePilot td:nth-child(1)::before{content:'Dia: ';font-weight:bold}#gradePilot td:nth-child(2)::before{content:'Horário: ';font-weight:bold}#gradePilot td:nth-child(3)::before{content:'Professor: ';font-weight:bold}#gradePilot td:nth-child(4)::before{content:'Vagas: ';font-weight:bold}#gradePilot td:nth-child(5)::before{content:'Ocupação: ';font-weight:bold}#gradePilot td:nth-child(6)::before{content:'Check-in abre: ';font-weight:bold}#gradePilot td:nth-child(7)::before{content:'Status: ';font-weight:bold}}
#studioSettings .studio-tabs{display:none}
#studioSettings input,#studioSettings select{max-width:100%;box-sizing:border-box}
#studioSettings .settings-v150-general-grid{grid-template-columns:1fr}
#studioSettings .company-general-logo-row{flex-wrap:wrap}
#studioSettings .company-general-logo-row input{min-width:0;width:220px}
#studioParqPeople,#studioParqHistory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
#studioSettings [hidden]{display:none!important}
.brand strong{overflow-wrap:anywhere}
@media(max-width:768px){#studioSettings .form-grid{grid-template-columns:1fr}#studioParqPeople,#studioParqHistory{grid-template-columns:1fr}}
body:not([data-environment="test"]) .test-note,body:not([data-environment="test"]) .home-intro{display:none!important}
body[data-papel="app"][data-app-sales="off"] [data-buy],body[data-papel="app"][data-app-sales="off"] [data-pay-fine],body[data-papel="app"][data-app-sales="off"] .purchase-choice{display:none!important}
#noCreditsReception[hidden]{display:none!important}
#noCreditsReception{cursor:default;line-height:1.5;padding:18px}
#appSalesSettings{margin-top:18px}
#integrationRows{display:grid;gap:12px}
.integration-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0}
.integration-row p{margin:6px 0}.integration-row small{color:var(--muted,#9cafc6)}
@media(max-width:768px){.integration-row{display:block}.integration-row button{margin-top:12px;width:100%}}

body[data-papel="admin"] #monthCapacityBadge>.admin-coming-inline{inset:0;display:grid;place-items:center}
/* C53: o fundo da sala permite rolar com o dedo; só o objeto captura o arraste. */
body[data-papel="admin"] #scr-room #room78Canvas{touch-action:pan-y}
/* H150 (substitui o SH-14): no celular a sala inteira cabe na tela, sem rolar para o lado. O mapa-admin-src.js calcula --room-scale e as bikes encolhem; as posições salvas (%) não mudam. */
body[data-papel="admin"] #scr-room .room78-map-scroll{max-width:100%;overflow-x:auto}
@media(max-width:900px){
body[data-papel="admin"] #scr-room #room78Canvas .room78-bike{box-sizing:border-box;width:calc(62px * var(--room-scale,1));height:max(36px,calc(50px * var(--room-scale,1)));padding:0 1px;font-size:max(10px,calc(11px * var(--room-scale,1)));line-height:1.1}
body[data-papel="admin"] #scr-room #room78Canvas .room18-professor-bike{box-sizing:border-box;width:max(110px,calc(150px * var(--room-scale,1)))!important;height:max(46px,calc(62px * var(--room-scale,1)))!important;font-size:max(10px,calc(12px * var(--room-scale,1)))}
}
body[data-papel="admin"] #scr-room [data-operation-switch],body[data-papel="admin"] #scr-classes [data-operation-switch]{visibility:hidden;cursor:default;pointer-events:none}
/* T7: ações reutilizadas da lista, com quebra dentro do diálogo. */
#gradeSlotActions{display:flex;flex-wrap:wrap;gap:6px}
/* Cadastro v2: componentes do piloto, escopo exclusivo do formulário. */
#scheduleConjuntoDialog{padding:20px}
body:has(#scheduleConjuntoDialog:not([hidden])) #v212MobileMenuButton{visibility:hidden}
#scheduleConjuntoDialog .modal-card{width:min(620px,100%);max-height:90vh;overflow:auto;padding:17px;border-radius:17px;box-sizing:border-box}
#scheduleConjuntoDialog [hidden],#conjuntoConfirm[hidden]{display:none!important}
#scheduleConjuntoDialog .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#scheduleConjuntoDialog .form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
#scheduleConjuntoDialog input,#scheduleConjuntoDialog select{min-width:0;max-width:100%;box-sizing:border-box}
#scheduleConjuntoDialog .field,#scheduleConjuntoDialog label{min-width:0;overflow-wrap:anywhere}
#scheduleConjuntoDialog fieldset{min-width:0;border:0;padding:0;margin:0}
#scheduleConjuntoDialog .conjunto-rule{margin:10px 0}
#scheduleConjuntoDialog legend{font-weight:600;margin-bottom:8px}
#scheduleConjuntoDialog .recurring-days{display:grid;gap:8px}
#scheduleConjuntoDialog .recurring-day-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
#scheduleConjuntoDialog .recurring-day-head{margin:0}
#scheduleConjuntoDialog .recurring-day-head input,#scheduleConjuntoDialog .switch input{width:17px;height:17px;flex-shrink:0}
#scheduleConjuntoDialog .recurring-day-head span{font-weight:400}
#scheduleConjuntoDialog .recurring-day-options .field>small{font-size:10px}
#scheduleConjuntoDialog [data-rule=abertura] .field:first-child,#scheduleConjuntoDialog .conjunto-closing .field:first-child{grid-column:1/-1}
#scheduleConjuntoDialog .conjunto-image{grid-column:1/-1}
#scheduleConjuntoDialog .conjunto-image img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
#scheduleConjuntoDialog .conjunto-image .v39-image-preview{position:relative}
#scheduleConjuntoDialog .conjunto-image img:not([hidden]){position:absolute;inset:0}
#scheduleConjuntoDialog .weekend-rule-box{padding:12px;border:1px solid var(--line);border-radius:12px}
#scheduleConjuntoDialog .weekend-rule-box .form-grid{grid-template-columns:1fr}
#scheduleConjuntoDialog .conjunto-spaced{margin-top:15px}
#scheduleConjuntoDialog .row,#conjuntoConfirm .row{flex-wrap:wrap}
#scheduleConjuntoDialog button:disabled,#conjuntoConfirm button:disabled{background:var(--surface2,#243146)!important;border-color:var(--line,#33425a)!important;color:var(--muted,#9aa8bb)!important;cursor:not-allowed}
@media(max-width:768px){#scheduleConjuntoDialog .form-grid,#scheduleConjuntoDialog .form-grid.three,#scheduleConjuntoDialog .recurring-day-options{grid-template-columns:1fr}#scheduleConjuntoDialog .modal-card{max-height:90dvh}}
/* Espaços de imagem presentes nos originais 24.09: Admin16198/32362 e Aluno5447/10143. */
#gradePilot .v38-schedule-image{display:block;width:100%;height:42px;border-radius:7px;overflow:hidden;margin-bottom:5px;background:#0b1420}
#gradePilot .v38-schedule-image img{width:100%;height:100%;object-fit:cover;display:block}
body[data-papel="app"] #classes .class-card-story-thumb{width:100%;max-width:92px;aspect-ratio:9/16;object-fit:cover;border-radius:8px;border:1px solid var(--line);margin:5px 0 3px;display:block}

body[data-papel="admin"] .sidebar .nav-btn[data-go="teacherapp"]:not([hidden]){display:flex!important}

/* H31: grade fixa restrita a Aulas. */
#scr-classes .schedule-wrap{max-width:100%;overflow-x:auto}
#scr-classes #scheduleGrid{min-width:940px}
#scr-classes #gradePilot{min-width:0;max-width:100%}
#scr-classes #scheduleGrid .schedule-cell{display:flex;flex-direction:column;gap:8px}
#scr-classes #scheduleGrid .schedule-slot{width:100%;white-space:normal;overflow-wrap:anywhere}
#scr-classes .grade-fixed-paused{font-weight:700;color:var(--warn,#a65d00)}
#scr-classes .grade-fixed-empty{grid-column:1/-1}
#gradeFixaDialog .card{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}
#gradeFixaDialog li{margin-block:8px;overflow-wrap:anywhere}
#gradeFixaActions{display:flex;flex-wrap:wrap;gap:8px}

/* H31: confirmação legível; regras e formulário preservados. */
#conjuntoConfirm .card{width:min(800px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;min-width:0}
#conjuntoConfirm .conjunto-review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#conjuntoConfirm .conjunto-review-summary dt{font-weight:700}
#conjuntoConfirm .conjunto-review-summary dd{margin:4px 0 0;overflow-wrap:anywhere}
#conjuntoConfirm .conjunto-review-table{max-width:100%;overflow-x:auto}
#conjuntoConfirm .conjunto-review-table table{width:100%;min-width:580px}
#conjuntoConfirm .conjunto-review-table th,#conjuntoConfirm .conjunto-review-table td{white-space:normal;overflow-wrap:anywhere}
#conjuntoConfirm li{margin-block:10px;overflow-wrap:anywhere}
@media(max-width:600px){#conjuntoConfirm .conjunto-review-summary{grid-template-columns:1fr}}

/* H31 C2: seleção de datas e confirmação de exclusão. */
#horarioExcluirDialog{z-index:10000}
#horarioExcluirDialog .card{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;min-width:0;overflow-wrap:anywhere}
#horarioExcluirDialog fieldset{min-width:0;margin:12px 0;padding:12px;border:1px solid var(--line,#ccd0d5);border-radius:10px}
#horarioExcluirDialog fieldset>label{display:flex;align-items:flex-start;gap:8px;margin-block:12px}
#horarioExcluirDialog input[type=checkbox],#horarioExcluirDialog input[type=radio]{flex-shrink:0}
#horarioExcluirAtalhos,#horarioExcluirDialog .horario-excluir-actions{display:flex;flex-wrap:wrap;gap:8px}
#horarioExcluirDialog .btn{white-space:normal}
#horarioExcluirResumo{position:sticky;top:0;z-index:1;background:var(--surface,#1b2637);border-block:1px solid var(--line,#ccd0d5);padding-block:8px}
#horarioExcluirDialog .horario-excluir-warning,#horarioExcluirErro{color:#b42318;font-weight:700}

/* H31d: seletor de duas semanas somente no app do professor. */
.prof-week-switch{display:flex;flex-wrap:nowrap;gap:8px;margin:12px 0;width:100%;min-width:0}.prof-week-switch[hidden]{display:none!important}.prof-week-switch>.btn{flex:1 1 0;min-width:0;white-space:nowrap;padding:10px 8px;margin:0}.prof-week-switch>.btn[aria-pressed="true"]{border-color:#ff8a00}

/* H32: somente os novos diálogos de edição e exclusão do aluno. */
#studentEditDialog>.card,#studentEditReview>.card,#studentDeleteDialog>.card{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto}
#studentEditDialog .student-h32-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#studentEditDialog .field,#studentEditReview .field,#studentDeleteDialog .field{min-width:0}
#studentEditDialog input,#studentEditReview textarea,#studentDeleteDialog input:not([type=checkbox]),#studentDeleteDialog textarea{width:100%}
#studentEditDialog fieldset{min-width:0;margin:12px 0;padding:12px;border:1px solid var(--line,#9ca3af);border-radius:10px}
#studentEditDialog #studentEditEmailWarning{padding:12px;border:1px solid var(--line,#9ca3af);border-radius:10px;overflow-wrap:anywhere}
#studentEditReview table{width:100%;min-width:0;table-layout:fixed}
#studentEditReview th,#studentEditReview td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#studentDeleteDialog .student-h32-warning{color:#ff9b8e;font-weight:700}
#studentDeleteDialog #studentDeleteSubmit{background:#a71919;color:#fff;border-color:#a71919}
#studentEditDialog .row,#studentEditReview .row,#studentDeleteDialog .row{flex-wrap:wrap;gap:8px}
#studentEditDialog button,#studentEditReview button,#studentDeleteDialog button{white-space:normal}
@media(max-width:600px){#studentEditDialog .student-h32-fields{grid-template-columns:minmax(0,1fr)}#studentEditReview th,#studentEditReview td{padding:8px 5px;font-size:13px}}
/* H82: Admin no celular (opcao A) - unidade em faixa de lado a lado no topo; Menu vai para a barra inferior. */
@media(max-width:900px), (pointer:coarse){
 body[data-papel="admin"] #operational:has(#adminAppShortcuts:not([hidden])) .v212-mobile-menu-button{display:none!important}
 #adminAppShortcuts{padding-left:6px;padding-right:6px}
 body[data-papel="admin"] #operational:has(#adminAppShortcuts:not([hidden])) .main{padding-top:0!important}
}
/* H83: faixa da unidade de lado a lado tambem no computador (mesmas regras do H82). */
@media all{
 body[data-papel="admin"] .topbar{flex-direction:column-reverse!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:0!important}
 body[data-papel="admin"] .topbar .topbar-left{padding:16px 15px 14px}
 body[data-papel="admin"] .topbar .admin-top-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;box-sizing:border-box;margin:0!important;padding:12px 15px!important;background:var(--unit-accent,#f28a24)!important;color:#1a0e02}
 body[data-papel="admin"] .topbar .admin-unit-alert{order:-1;flex:1 1 auto!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;color:#1a0e02!important;text-align:left!important;animation:none!important}
 body[data-papel="admin"] .topbar .admin-unit-alert::before,body[data-papel="admin"] .topbar .admin-unit-alert::after{display:none!important}
 body[data-papel="admin"] .topbar .admin-unit-alert .admin-unit-warning{color:#1a0e02!important;font-size:10px!important;letter-spacing:.12em}
 body[data-papel="admin"] .topbar .admin-unit-alert b{color:#1a0e02!important;font-size:26px!important;line-height:1.1!important;margin-top:2px}
 body[data-papel="admin"] .topbar .admin-unit-alert .admin-unit-change{display:none!important}
 body[data-papel="admin"] .topbar #adminThemeQuick,body[data-papel="admin"] .topbar #adminLockBtn,body[data-papel="admin"] .topbar #help{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;box-shadow:none!important;background:rgba(26,14,2,.16)!important;color:#1a0e02!important;display:flex!important;align-items:center;justify-content:center;font-size:20px}
 body[data-papel="admin"] .topbar #adminLockBtn,body[data-papel="admin"] .topbar #help{font-size:0!important}
 body[data-papel="admin"] .topbar #adminLockBtn::before,body[data-papel="admin"] .topbar #help::before{content:"";width:21px;height:21px;background:currentColor;-webkit-mask:var(--h82-ico) center/contain no-repeat;mask:var(--h82-ico) center/contain no-repeat}
 body[data-papel="admin"] .topbar #adminLockBtn{--h82-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}
 body[data-papel="admin"] .topbar #help{--h82-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6V14'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E")}
 body[data-papel="admin"] .topbar .test-chip{display:none!important}
}
/* H290b: estilos da referência, limitados ao Perfil e suas quatro telas de documentos. */
body[data-papel="app"] #operational:has(.profile-preview.active)>nav{position:fixed;inset:auto 0 0;transform:none;max-width:none;width:100%;height:auto;min-height:65px;display:flex;justify-content:center;gap:0;padding:8px max(0px,calc((100vw - 480px)/2)) 10px;box-sizing:border-box;border:0;border-top:1px solid var(--line);border-radius:0;background:var(--page);box-shadow:none}
html:is([data-tema="light"],[data-tema="pink"]) body[data-papel="app"] #operational:has(.profile-preview.active)>nav{background:var(--surface)}
body[data-papel="app"] #operational:has(.profile-preview.active)>nav>button{min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;font-size:12px;font-weight:400;line-height:1.45;color:var(--muted)}
body[data-papel="app"] #operational:has(.profile-preview.active)>nav>button[data-go="profile"]{color:var(--brand)}
body[data-papel="app"] #operational:has(.profile-preview.active)>nav>button .ico{display:block;height:29px;line-height:29px;margin:0;font-size:20px}
body[data-papel="app"] #operational:has(.profile-preview.active)>nav>button .ico svg{width:20px;height:20px;vertical-align:middle}

body[data-papel="app"] #operational:has(.profile-preview.active){padding-left:0!important;max-width:none!important;width:100%!important;background:var(--bg)}
body[data-papel="app"] #operational:has(.profile-preview.active)>header{display:none}
body[data-papel="app"] #operational:has(.profile-preview.active)>main{width:100%;max-width:480px!important;box-sizing:border-box;margin:0 auto!important;padding:16px 16px 90px!important}
html[data-fonte] body[data-papel="app"] .profile-preview{max-width:none;margin:0;padding:0;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);--profile-ok-bg:#1f4d3a;--profile-ok:#7fe0a5;--profile-warn-bg:#4d3f12;--profile-warn:#ffd86b;--profile-bad-bg:#4d1f26;--profile-bad:#ff8a9a;--profile-no-bg:#4d2a1f;--profile-no:#ffb38a}
html:is([data-tema="light"],[data-tema="pink"]) body[data-papel="app"] .profile-preview{--profile-ok-bg:#dcf5e6;--profile-ok:#17653b;--profile-warn-bg:#fff3cc;--profile-warn:#7a5a00;--profile-bad-bg:#fde0e4;--profile-bad:#a0202f;--profile-no-bg:#fde8dc;--profile-no:#9a4210}
.profile-preview *{box-sizing:border-box}
.profile-preview[hidden],.profile-preview [hidden]{display:none!important}
#scr-profile.profile-preview>h1,#scr-profile.profile-preview>#profileAccess{display:none}
#scr-profile.profile-preview .profile-photo-card{display:flex;align-items:center;gap:12px;padding:0;margin:4px 0 18px;background:none;border:0;box-shadow:none}
#scr-profile.profile-preview .profile-photo{display:flex;align-items:center;justify-content:center;flex:none;width:58px;height:58px;border:3px solid var(--brand);background:#2a3444;color:#fff;font-size:16px;font-weight:700}
html[data-fonte] #scr-profile.profile-preview #profileName{font-size:19px;font-weight:700;line-height:1.45;margin:0}
html[data-tema][data-fonte] #scr-profile.profile-preview #profileCode{display:inline-block;max-width:none;margin:0;border:1px solid var(--brand);border-radius:10px;padding:1px 8px;background:none;color:var(--brand);font-size:13px;font-weight:400;line-height:1.45}
#scr-profile.profile-preview .pf-group,.profile-preview .profile-document-menu{background:var(--surface);border:0;border-radius:16px;overflow:hidden;box-shadow:0 1px 2px rgb(0 0 0 / .08)}
html[data-fonte] .profile-preview .shortcut{display:flex;align-items:center;gap:12px;width:100%;min-height:0;margin:0;padding:15px 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}
html[data-fonte] .profile-preview .shortcut:last-child{border-bottom:0}
html[data-fonte] .profile-preview .shortcut b{display:inline;font:inherit;color:inherit}
html[data-fonte] .profile-preview .shortcut .grow{min-width:0;flex:1;font:inherit;color:inherit}
#scr-profile.profile-preview .shortcut .grow>span{display:none}
html[data-tema][data-fonte] .profile-preview .shortcut .ico{display:block;flex:0 0 20px;width:20px;height:auto;border-radius:0;background:none;text-align:center;color:var(--brand);font-size:16px;font-weight:700;line-height:1.45}
html[data-fonte] .profile-preview .shortcut .arrow{flex:none;margin:0;color:inherit;font:inherit}
#scr-profile.profile-preview #myDataOpen .ico svg{display:none}
#scr-profile.profile-preview #myDataOpen .ico::before{content:'✎'}
html[data-fonte] #scr-profile.profile-preview #privacyCard{display:grid;grid-template-columns:34px minmax(0,1fr) 50px;gap:0 12px;padding:14px;cursor:default}
html[data-tema][data-fonte] #scr-profile.profile-preview #privacyLock{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--surface2);font-size:16px;font-weight:400}
#scr-profile.profile-preview .profile-public-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
html[data-fonte] #scr-profile.profile-preview .profile-public-title b{font-weight:700}
html[data-fonte] #scr-profile.profile-preview #privacyStatus{display:inline-block;flex:none;margin:0;padding:1px 7px;border-radius:8px;background:var(--surface2);color:var(--muted);font-size:11px;font-weight:700;line-height:1.45;white-space:nowrap}
html[data-fonte] #scr-profile.profile-preview #privacyStatus.is-on{background:rgba(249,115,22,.18);color:var(--brand)}
#scr-profile.profile-preview #privacySwitch{width:50px;height:28px;min-height:0;padding:4px;margin:0;border:0;border-radius:14px;background:#5b6b78;cursor:pointer}
#scr-profile.profile-preview #privacySwitch::before{width:20px;height:20px;transform:translateX(0)}
#scr-profile.profile-preview #privacySwitch[aria-checked="true"]{background:var(--brand)}
#scr-profile.profile-preview #privacySwitch[aria-checked="true"]::before{transform:translateX(22px)}
#scr-profile.profile-preview #privacySwitch:disabled{cursor:wait}
html[data-fonte] #scr-profile.profile-preview #privacyText{grid-column:2/-1;margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--muted);cursor:pointer}
html[data-fonte] #scr-profile.profile-preview #profileParqDate{display:inline;margin:0;color:var(--muted);font-size:13px;line-height:1.45}
#scr-profile.profile-preview [data-go="parq"] .arrow{display:none}
html[data-fonte] #scr-profile.profile-preview #healthStatus,html[data-fonte] .profile-preview #imageAuthorizationBadge{display:inline-block;flex:none;max-width:none;border-radius:10px;padding:2px 10px;font-size:13px;font-weight:700;line-height:1.45;white-space:nowrap;background:var(--surface2);color:var(--muted)}
html[data-fonte] #scr-profile.profile-preview #healthStatus.parq-current,html[data-fonte] .profile-preview #imageAuthorizationBadge.parq-current{background:var(--profile-ok-bg);color:var(--profile-ok)}
#scr-profile.profile-preview #healthStatus.parq-current::after{content:' ✓'}
html[data-fonte] #scr-profile.profile-preview #healthStatus.parq-soon{background:var(--profile-warn-bg);color:var(--profile-warn)}
html[data-fonte] #scr-profile.profile-preview #healthStatus.parq-expired{background:var(--profile-bad-bg);color:var(--profile-bad)}
html[data-fonte] .profile-preview #imageAuthorizationBadge.parq-expired{background:var(--profile-no-bg);color:var(--profile-no)}
#scr-profile.profile-preview .profile-theme-row{cursor:default}
#scr-profile.profile-preview .profile-theme-row>b{flex:1}
#scr-profile.profile-preview .tema-seg{display:flex;flex:none;margin:0;padding:0;gap:3px;background:none;border-radius:0}
html[data-fonte] #scr-profile.profile-preview .tema-seg-op{display:flex;flex:none;align-items:center;flex-direction:row;justify-content:center;gap:4px;min-width:0;min-height:0;margin:0;border:1.5px solid var(--line);border-radius:16px;padding:3px 5px;background:var(--surface2);box-shadow:none;color:var(--text);font:inherit;font-size:11.5px;font-weight:400;line-height:1.45;white-space:nowrap;cursor:pointer}
html[data-fonte] #scr-profile.profile-preview .tema-seg-op[aria-checked="true"]{border-color:var(--brand);color:var(--brand);font-weight:700}
html[data-fonte] #scr-profile.profile-preview .tema-seg-op>span:not(.theme-mini){font:inherit;color:inherit}
#scr-profile.profile-preview .theme-mini{display:block;position:relative;flex:none;width:18px;height:13px;padding:0;border:1px solid #8893a0;border-radius:4px;overflow:hidden;background:var(--mini-bg)}
#scr-profile.profile-preview .theme-mini i{position:absolute;left:3px;right:3px;top:2px;height:5px;border:0;border-radius:2px;background:var(--mini-card)}
#scr-profile.profile-preview .theme-mini::after{content:'';position:absolute;right:3px;bottom:2px;width:5px;height:3px;border-radius:1px;background:#ff6b00}
#scr-profile.profile-preview .theme-original{--mini-bg:#000000;--mini-card:#161616}
#scr-profile.profile-preview .theme-light{--mini-bg:#f3f4f6;--mini-card:#ffffff}
#scr-profile.profile-preview .theme-light i{outline:1px solid #d1d5db}
#scr-profile.profile-preview .theme-ocean{--mini-bg:#0f172a;--mini-card:#164e63}
html[data-tema][data-fonte] #scr-profile.profile-preview #logout{display:block;width:100%;min-height:0;margin:18px 0 0;border:1.5px solid #c0485e;border-radius:14px;padding:13px;background:none;color:#e0607a;font:inherit;font-weight:700;cursor:pointer}
html[data-fonte] #scr-profile.profile-preview .profile-documents-link,html[data-fonte] #scr-profile.profile-preview #deleteAccount{display:block;margin:26px auto 0;padding:2px 6px;background:none;border:0;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
html[data-fonte] #scr-profile.profile-preview #deleteAccount{margin-top:10px;color:#e0607a;opacity:.85}
html[data-fonte] .profile-document-screen.profile-preview .sheet-head{display:flex;align-items:center;gap:12px;position:static;min-height:0;margin:4px 0 14px;padding:0;border:0;background:none}
html[data-fonte] .profile-document-screen.profile-preview .sheet-head h1{margin:0;font-size:20px;font-weight:700;line-height:1.45}
html[data-fonte] .profile-document-screen.profile-preview .back{flex:none;width:38px;height:38px;min-height:0;padding:2px 6px;border:0;border-radius:10px;background:var(--surface2);color:inherit;font-size:20px;cursor:pointer}
html[data-fonte] .profile-document-screen.profile-preview .shortcut>b{flex:1}
html[data-fonte] .profile-document-screen.profile-preview #profileImageSummary{flex:none;color:var(--muted);font-size:13px;line-height:1.45}
html[data-fonte] .profile-document-screen.profile-preview>.sub{margin:0 2px 12px;color:var(--muted);font-size:13px;line-height:1.45}
html[data-fonte] .profile-document-screen.profile-preview #myAuthorizations{margin:0;padding:16px;border:0;border-radius:16px;background:var(--surface)}
html[data-fonte] .profile-document-screen.profile-preview .image-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}
html[data-fonte] .profile-document-screen.profile-preview .image-heading>b{font-size:17px;font-weight:700;line-height:1.45}
html[data-fonte] .profile-document-screen.profile-preview #myAuthorizations>p{font-size:14px;line-height:1.45;margin:0 0 10px}
html[data-fonte] .profile-document-screen.profile-preview #myAuthorizations>p.muted{margin:8px 0;color:var(--muted);font-size:13px}
html[data-fonte] .profile-document-screen.profile-preview #myAuthorizations>#imageAuthorizationStatus{margin:0}
html[data-fonte] .profile-preview .btn{display:block;width:100%;min-height:0;margin:12px 0 0;border:0;border-radius:12px;padding:13px;background:var(--surface2);color:var(--text);font:inherit;font-weight:700;line-height:1.45;cursor:pointer}
html[data-fonte] .profile-preview .btn.brand{background:var(--brand);color:#fff}
html[data-fonte] .profile-preview #changeImageAuthorization:not(.brand){border:1.5px solid #c0485e;background:none;color:#e0607a}
html[data-fonte] .profile-document-screen.profile-preview .profile-data-contact{margin:14px 2px;color:var(--muted);font-size:13px;line-height:1.45;text-align:left;overflow-wrap:anywhere}
.profile-document-screen.profile-preview .profile-data-contact a{color:inherit;text-decoration:none}
html[data-fonte] .profile-document-screen.profile-preview .profile-legal-text{max-height:none;overflow:visible;overflow-wrap:anywhere;white-space:pre-line;margin:0;border:0;border-radius:16px;padding:16px;background:var(--surface);font-size:14px;line-height:1.45}
.profile-document-screen.profile-preview>a.btn{text-align:center;text-decoration:none;white-space:normal}
html[data-fonte] .profile-preview #privacyConfirm>.card{max-width:400px;width:100%;margin:0;padding:16px;border:0;border-radius:16px;background:var(--surface)}
html[data-fonte] .profile-preview #privacyConfirmTitle{margin:0;font-size:17px;font-weight:700;line-height:1.45}
html[data-fonte] .profile-preview #privacyConfirm p{font-size:14px;line-height:1.45}
.profile-preview #imageAuthorizationConfirm{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:370px){#scr-profile.profile-preview .profile-theme-row{gap:8px}html[data-fonte] #scr-profile.profile-preview .tema-seg-op{font-size:10.5px;padding:3px 4px}}

/* H98: fechamento mensal em abas no celular (opcao A) */
#scr-monthlyclosing .mc98-tabs{display:none}
@media(max-width:768px){
#scr-monthlyclosing .mc263-top-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
#scr-monthlyclosing .mc263-top-actions .btn{min-height:46px;margin:0!important;align-self:stretch;transform:none;white-space:normal;line-height:1.2}
#scr-monthlyclosing .monthly-closing-kpis{gap:8px}
#scr-monthlyclosing .monthly-closing-kpis .kpi-card{padding:12px 14px;min-height:0}
#scr-monthlyclosing .monthly-closing-kpis .kpi-card b{font-size:20px;line-height:1.15;margin:4px 0 2px}
#scr-monthlyclosing .monthly-closing-kpis .monthly-closing-kpi-meta{font-size:11px}
#scr-monthlyclosing .mc98-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;position:sticky;top:0;z-index:5;margin:12px 0 0;padding:8px 0;background:var(--bg)}
#scr-monthlyclosing .mc98-tabs button{min-height:42px;padding:0 4px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font:inherit;font-size:13px;font-weight:800}
#scr-monthlyclosing .mc98-tabs button.on{border-color:var(--brand);background:#ef88291a;color:var(--brand)}
#scr-monthlyclosing[data-mc98-tab=resumo] [data-mc98-panel]:not([data-mc98-panel=resumo]),#scr-monthlyclosing[data-mc98-tab=aulas] [data-mc98-panel]:not([data-mc98-panel=aulas]),#scr-monthlyclosing[data-mc98-tab=valores] [data-mc98-panel]:not([data-mc98-panel=valores]),#scr-monthlyclosing[data-mc98-tab=ajustes] [data-mc98-panel]:not([data-mc98-panel=ajustes]){display:none!important}
#scr-monthlyclosing [data-mc98-panel]{margin-top:6px!important}
#scr-monthlyclosing .mc98-history{margin-top:12px!important}
#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) tr:has(td[colspan]){display:block!important;padding:12px 14px}
#scr-monthlyclosing :is(.mc263-entry-wrap,.mc263-rates-wrap,.mc263-summary-wrap) td{padding:0!important;border:0!important;width:auto!important;min-width:0}
#scr-monthlyclosing .mc263-summary-wrap tr{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:3px 12px;padding:12px 14px;border-bottom:1px solid var(--line)}
#scr-monthlyclosing .mc263-summary-wrap td{order:3;font-size:12px;color:var(--muted)}
#scr-monthlyclosing .mc263-summary-wrap td::before{font-weight:400}
#scr-monthlyclosing .mc263-summary-wrap td:nth-child(1){order:1;flex:1 1 60%;font-size:15px;color:var(--text)}
#scr-monthlyclosing .mc263-summary-wrap td:nth-child(9){order:2;flex:0 0 auto;font-size:16px}
#scr-monthlyclosing .mc263-summary-wrap td:nth-child(10){order:4;flex-basis:100%;margin-top:6px}
#scr-monthlyclosing .mc263-summary-wrap td:is(:nth-child(1),:nth-child(9))::before{content:none}
#scr-monthlyclosing .mc263-rates-wrap tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 10px;padding:12px 14px;border-bottom:1px solid var(--line)}
#scr-monthlyclosing .mc263-rates-wrap td::before{content:none!important}
#scr-monthlyclosing .mc263-rates-wrap td:nth-child(1){grid-column:1/-1}
#scr-monthlyclosing .mc263-rates-wrap td:nth-child(4){display:none!important}
#scr-monthlyclosing .mc263-rates-wrap td:nth-child(2) .row{flex-wrap:nowrap}
#scr-monthlyclosing .mc263-rates-wrap .mc263-rate-input{flex:1 1 auto;min-height:40px}
#scr-monthlyclosing .v332-payroll-filter{padding:0 0 10px!important}
#scr-monthlyclosing .v332-payroll-filter .form-grid{grid-template-columns:minmax(0,1fr) auto!important;gap:8px}
#scr-monthlyclosing .v332-payroll-filter small{font-size:11px}
#scr-monthlyclosing .mc263-entry-wrap tr{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:12px;border-bottom:1px solid var(--line)}
#scr-monthlyclosing .mc263-entry-wrap td{font-size:13px}
#scr-monthlyclosing .mc263-entry-wrap td::before{display:block;margin-bottom:3px;font-size:11px;font-weight:700;color:var(--muted)}
#scr-monthlyclosing .mc263-entry-wrap :is(input:not([type=checkbox]),select){min-height:38px;padding:6px 8px;font-size:13px;min-width:0!important}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(1){grid-area:1/1/2/4}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(3){grid-area:1/4/2/7}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(2){grid-area:3/3/4/5}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(4){grid-area:2/1/3/4}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(5){grid-area:2/4/3/7}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(6){grid-area:3/1/4/3}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(10){grid-area:3/5/4/7}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(7){grid-area:4/1/5/3}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(8){grid-area:4/3/5/5}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(9){grid-area:4/5/5/7}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(11){grid-area:5/1/6/6}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(12){grid-area:5/6/6/7;align-self:end}
#scr-monthlyclosing .mc263-entry-wrap td:nth-child(12) .btn{width:100%;min-height:38px;padding:0}
#scr-monthlyclosing .monthly-closing-split .card-title+.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
#scr-monthlyclosing .monthly-closing-split .card-title+.form-grid.three>.field:first-child{grid-column:1/-1}
#scr-monthlyclosing .monthly-closing-split .form-grid.three+.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
#scr-monthlyclosing .monthly-closing-split .form-grid.three label{font-size:12px}
#scr-monthlyclosing .monthly-closing-rules .notice{padding:10px 12px;font-size:13px}
}
/* H100b: Contato do estudio na barra inferior do aluno (folha que sobe de baixo). */
#studioContactDialog{align-items:end}
#studioContactDialog .card{width:min(100%,480px);border-radius:18px}
#studioContactDialog [hidden]{display:none!important}
#studioContactDialog h2{margin:4px 0 6px}
#studioContactDialog p{color:#aeb8c6;margin:0 0 14px;line-height:1.4}
.studio-contact-actions{display:flex;gap:10px;margin-bottom:10px}
.studio-contact-actions .btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:46px;margin:0}
.studio-contact-actions .studio-contact-wa{background:#25d366;border-color:#25d366;color:#06301a;font-weight:700}
#studioContactDialog .card>.btn{width:100%;margin:0}
/* H148: Início do Admin — cabeçalhos dos cards alinhados (título à esquerda, selo e › à direita) e botões no mesmo tamanho. */
body[data-papel="admin"] #scr-dashboard .card-title.ic-head{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px}
body[data-papel="admin"] #scr-dashboard .ic-head>div:first-child{flex:1 1 0;min-width:0;order:1}
body[data-papel="admin"] #scr-dashboard .ic-head>.badge,body[data-papel="admin"] #scr-dashboard .ic-head>.row:not(.dashboard-next-actions){order:2;flex:none;margin:0}
body[data-papel="admin"] #scr-dashboard .ic-head>.ic-chev{order:3;margin-left:0;width:18px;text-align:center}
body[data-papel="admin"] #scr-dashboard .ic-head>.dashboard-next-actions{order:4;flex:1 0 100%;margin:4px 0 0}
body[data-papel="admin"] #scr-dashboard .card-title .btn.sm{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;padding:0 14px;margin:0;white-space:nowrap;line-height:1.2}
body[data-papel="admin"] #v5NoticeCard>.card-title{display:flex!important;flex-direction:column;align-items:stretch;gap:12px;margin:0}
body[data-papel="admin"] #v5NoticeCard>.card-title>.row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
body[data-papel="admin"] #v5NoticeCard>.card-title>.row .btn{width:100%;min-height:44px;font-size:14px;box-shadow:none}
body[data-papel="admin"] .v5-pending-summary>div:first-child{flex:1;min-width:0}
body[data-papel="admin"] .v5-pending-summary>.row{flex:none;align-items:center;gap:10px;margin:0}
body[data-papel="admin"] #adminPendingArrow{font-size:0;line-height:1;width:18px;text-align:center}
body[data-papel="admin"] #adminPendingArrow::after{content:"\203A";display:inline-block;font-size:18px;color:var(--muted);transition:transform .2s}
body[data-papel="admin"] #v36PendingPurchaseCard.open #adminPendingArrow::after{transform:rotate(90deg)}
/* H149: Admin — botões padronizados. No celular, os botões de um mesmo grupo ficam na mesma linha, com a mesma altura e a mesma largura, e sem o brilho do laranja.
   Só aparência: nenhum id, texto ou ação muda. O botão invisível "Trocar unidade operacional" deixa de ocupar espaço na faixa da unidade. */
body[data-papel="admin"] :is(#scr-room,#scr-classes) .operation-unit-banner>[data-operation-switch],body[data-papel="admin"] .operation-unit-banner>.btn[style*="visibility:hidden"]{display:none}
@media(max-width:900px),(pointer:coarse){
body[data-papel="admin"] .btn.brand{box-shadow:none}
body[data-papel="admin"] :is(#scr-rentals>.section-head>.row,#studentsPilot .student-v128-head-actions,#scheduleActions,#gradePilot>.row):not([hidden]){display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;gap:10px!important;width:100%;flex:1 1 100%;max-width:100%;margin:0}
body[data-papel="admin"] #planModal .plan-modal-footer{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;gap:10px}
body[data-papel="admin"] #scheduleActions>.special-shortcut-wrap{display:flex;min-width:0}
body[data-papel="admin"] :is(#scr-rentals>.section-head>.row,#studentsPilot .student-v128-head-actions,#scheduleActions,#scheduleActions>.special-shortcut-wrap,#gradePilot>.row,#gradePilot .card-title>.row,#planModal .plan-modal-footer)>button.btn:not([hidden]),body[data-papel="admin"] :is(#adminWaitlistOpen,#catalogHistoryToggle,#studentsHistoryToggle):not([hidden]){display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:auto!important;min-height:44px!important;margin:0!important;padding:6px 10px!important;font-size:12px!important;line-height:1.2!important;text-align:center;white-space:normal!important;overflow-wrap:break-word}
body[data-papel="admin"] #gradePilot .card-title>.row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;width:100%;max-width:100%;margin:0}
body[data-papel="admin"] #gradePilot .card-title>.row>.field{min-width:0;margin:0}
body[data-papel="admin"] #gradePilot .card-title>.row :is(input,select){box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0}
body[data-papel="admin"] #productsPilot .product-category-title{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:12px}
body[data-papel="admin"] #productsPilot .product-category-title>div:first-child{flex:1 1 0;min-width:0}
body[data-papel="admin"] #productsPilot .product-category-title>.btn{flex:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;margin:0;padding:0 14px;font-size:12px;white-space:nowrap}
body[data-papel="admin"] #productsPilot .product-admin-list .list-item{display:flex;flex-direction:column;align-items:stretch;gap:10px}
body[data-papel="admin"] #productsPilot .product-admin-list .list-item>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin:0}
body[data-papel="admin"] #productsPilot .product-admin-list .list-item>.row>.btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:0 10px;font-size:12px}
body[data-papel="admin"] #scr-room .room78-head{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:10px!important}
body[data-papel="admin"] #scr-room .room78-head>strong{flex:1 1 100%;width:100%!important;margin:0!important}
body[data-papel="admin"] #scr-room .room78-head>.btn:not([hidden]){flex:1 1 0;min-width:0;height:auto!important;min-height:44px!important;padding:6px 8px!important;font-size:12px;line-height:1.2!important;white-space:normal!important}
body[data-papel="admin"] #studentsPilot>.toolbar{align-items:stretch;gap:10px}
body[data-papel="admin"] #studentsPilot>.toolbar>:is(input,select){box-sizing:border-box;min-height:44px;margin:0}
}
@media(max-width:768px){
body[data-papel="admin"] #gradePilot td.grade-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:10px}
body[data-papel="admin"] #gradePilot td.grade-actions>.btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:40px;margin:0;padding:6px 8px;font-size:11px;line-height:1.2;white-space:normal}
body[data-papel="admin"] #gradePilot td.grade-actions>.btn:last-child:nth-child(odd){grid-column:1/-1}
}
/* H162: Produtos do Admin no computador: cards do mesmo tamanho, selo e Editar/Inativar no rodapé */
#productsPilot .product-admin-list{align-content:start}
@media(min-width:901px) and (not (pointer:coarse)){
#productsPilot .product-admin-list .list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr auto;gap:0;min-height:112px;box-sizing:border-box}
#productsPilot .product-admin-list .list-item>div:first-child{display:contents}
#productsPilot .product-admin-list .list-item>div:first-child>:is(b,span){grid-column:1/-1}
#productsPilot .product-admin-list .list-item>div:first-child>span{line-height:1.45}
#productsPilot .product-admin-list .list-item>div:first-child>.product-unit-admin-tags,#productsPilot .product-admin-list .list-item>.row{grid-row:4;display:flex;align-items:center;align-self:stretch;margin:8px 0 0;padding-top:8px;border-top:1px solid var(--line)}
#productsPilot .product-admin-list .list-item>div:first-child>.product-unit-admin-tags{grid-column:1;min-width:0}
#productsPilot .product-admin-list .list-item>.row{grid-column:2;flex-wrap:nowrap;justify-content:flex-end;gap:6px}
}
/* H163: Alunos do Admin no celular: cada aluno vira um cartão, sem deslizar para o lado */
@media(max-width:900px),(pointer:coarse){
#studentsPilot>.table-wrap{overflow:visible;margin-bottom:12px;border:0;border-radius:0;background:none}
#studentsPilot>.table-wrap>table{display:block;min-width:0!important;width:100%}
#studentsPilot>.table-wrap>table>thead{display:none}
#studentsTable{display:grid;gap:10px}
#studentsTable>tr{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
#studentsTable>tr>td{display:block;min-width:0!important;max-width:none!important;padding:0;border:0;background:none;font-size:13px;font-weight:700;line-height:1.3;white-space:normal}
#studentsTable>tr>td:nth-child(n+2):nth-child(-n+5)::before{margin-right:5px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
#studentsTable>tr>td:nth-child(2)::before{content:'Modelo'}
#studentsTable>tr>td:nth-child(3)::before{content:'Saldo'}
#studentsTable>tr>td:nth-child(4)::before{content:'Giros'}
#studentsTable>tr>td:nth-child(5)::before{content:'Última aula'}
#studentsTable>tr>td:nth-child(1){grid-area:1/1/2/4;align-self:start;font-weight:400;overflow-wrap:anywhere}
#studentsTable>tr>td:nth-child(1)>b{font-size:15px}
#studentsTable>tr>td:nth-child(1)>.small{margin-top:2px;font-size:12px}
#studentsTable>tr>td:nth-child(2){grid-area:2/1/3/2}
#studentsTable>tr>td:nth-child(3){grid-area:2/2/3/3}
#studentsTable>tr>td:nth-child(4){grid-area:2/3/3/5}
#studentsTable>tr>td:nth-child(5){grid-area:3/1/4/4}
#studentsTable>tr>td:nth-child(6){grid-area:1/4/2/5;align-self:start;justify-self:end}
#studentsTable>tr>td:nth-child(7){grid-area:3/4/4/5;justify-self:end}
#studentsTable>tr>td:nth-child(7)>.btn{white-space:nowrap}
#studentsTable>tr>td:only-child{grid-area:auto/1/auto/-1;font-weight:400}
}
/* H166: menu lateral do Admin no computador sem barra de rolagem (acompanha a altura da pagina) */
@media(min-width:981px){
body[data-papel="admin"] .sidebar{height:auto;overflow:visible!important}
}
/* H169: Aulas studio do professor — um dia por vez (cores pelas variáveis dos temas) */
.ps-legend{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 0 2px;font-size:12.5px;color:var(--muted)}
.ps-legend>span{display:inline-flex;align-items:center;gap:6px}
.ps-tag{padding:2px 8px;border:1px solid;border-radius:8px;font-size:12px;font-weight:800}
.ps-tag.exchange{color:var(--blue-ink);border-color:var(--blue)}
.ps-tag.coverage{color:var(--danger-ink);border-color:var(--danger)}
.prof-week-switch .ps-week-range{display:block;margin-top:2px;font-size:11.5px;font-weight:600;opacity:.85}
.ps-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:2px 0 14px}
.ps-day{position:relative;min-height:56px;margin:0;padding:6px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer}
.ps-day span{font-size:11px;font-weight:800;letter-spacing:.04em}
.ps-day b{font-size:17px;line-height:1.1}
.ps-day.past{color:var(--muted)}
.ps-day.today::after{content:"";width:14px;height:3px;border-radius:2px;background:var(--brand)}
.ps-day.on{background:var(--brand);border-color:var(--brand);color:#111}
.ps-day.on.today::after{background:#111}
.ps-day-dot{position:absolute;top:-3px;right:-3px;width:10px;height:9px;border-radius:50%;background:#e5484d;box-shadow:0 0 0 2px var(--bg)}
.ps-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 2px 8px}
.ps-day-head h4{margin:0;font-size:18px;font-weight:900;color:var(--text)}
.ps-day-head h4 span{color:var(--brand-ink);font-weight:800}
.ps-day-head>span{font-size:13px;color:var(--muted)}
.ps-list{display:flex;flex-direction:column;gap:8px}
.ps-row{position:relative;display:flex;flex-direction:column;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text)}
.ps-main{display:flex;align-items:center;gap:12px;min-height:46px}
.ps-time{flex:0 0 52px;font-size:17px;font-weight:900;font-variant-numeric:tabular-nums}
.ps-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.ps-name{font-size:15px;font-weight:800;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-sub{font-size:12.5px;line-height:1.3;color:var(--muted)}
.ps-sub.danger{color:var(--danger-ink)}.ps-sub.warn{color:var(--warn-ink)}.ps-sub.ok{color:var(--ok-ink)}
.ps-inline{flex:0 0 auto;display:flex;gap:8px}
.ps-below{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ps-list .ps-btn{min-height:44px;margin:0;padding:0 13px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--text);font:inherit;font-size:15px;font-weight:800;white-space:nowrap;cursor:pointer}
.ps-list .ps-below .ps-btn{padding:0 8px}
.ps-list .ps-btn.exchange{color:var(--blue-ink);border-color:var(--blue)}
.ps-list .ps-btn.coverage,.ps-list .ps-btn.goto{color:var(--danger-ink);border-color:var(--danger)}
.ps-list .ps-btn.accept{background:var(--ok);border-color:var(--ok);color:#06140c}
.ps-row.own{border-color:var(--brand);background:rgb(var(--brand-rgb) / .08)}
.ps-row.own .ps-name{color:var(--brand-ink)}
.ps-row.past,.ps-row.cancelled{background:transparent}
.ps-row.past .ps-time,.ps-row.past .ps-name,.ps-row.cancelled .ps-time,.ps-row.cancelled .ps-name{color:var(--muted)}
.ps-row.pending{border-color:var(--warn)}
.ps-row.accepted{border-color:var(--ok);background:rgb(46 204 113 / .12)}
.ps-row.for-me{border-color:var(--danger);background:rgb(229 72 77 / .10)}

/* H170: Início do professor — só dias com aula, data embaixo do dia */
.prof-day h3 .prof-day-date{display:block;margin-top:3px;font-size:12px;font-weight:600;letter-spacing:0;color:var(--muted)}
.prof-day h3 .prof-day-date b{color:var(--brand-ink);font-weight:800}
.prof-week .prof-week-none{grid-column:1/-1;color:var(--text);font-size:15px;font-weight:700}

.sidebar .brand .logo{overflow:hidden}
.sidebar .brand .logo img[data-studio-logo]{width:100%;height:100%;object-fit:contain;display:block;border-radius:12px}

/* H225: aula especial em destaque na Reservas e botão longo sem espremer a coluna do professor. */
#scr-reserve .class-card>.btn,#scr-reserve .class-card>.actions{max-width:10.5em}
#scr-reserve .class-card.special{border-color:var(--brand,#ef8829);border-left-color:var(--brand,#ef8829)}
#scr-reserve .class-card.special.mine{border-left-color:var(--warn)}
#scr-reserve .class-card .special-tag{align-self:flex-start;background:var(--brand,#ef8829);color:#171717;font-size:10px;font-weight:800;letter-spacing:.05em;padding:2px 8px;border-radius:999px}

/* H234d: Ver sala — lista compacta (opção A). */
#adminHomeRoomDialog .room-a-sub{margin:0 0 6px;color:var(--muted);font-size:13px}
#adminHomeRoomDialog .room-a-bar{height:6px;border-radius:3px;background:var(--line);overflow:hidden;margin:10px 0 6px}
#adminHomeRoomDialog .room-a-bar i{display:block;height:100%;background:var(--brand,#ef8829)}
#adminHomeRoomDialog .room-a-list{margin-top:8px}
#adminHomeRoomDialog .room-a-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
#adminHomeRoomDialog .room-a-bike{min-width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;background:var(--brand,#ef8829);color:#171717}
#adminHomeRoomDialog .room-a-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#adminHomeRoomDialog .room-a-chip{font-size:11px;font-weight:700;padding:2px 10px;border-radius:999px;border:1px solid var(--line);white-space:nowrap}
#adminHomeRoomDialog .room-a-chip.ok{border-color:var(--ok);color:var(--ok)}
#adminHomeRoomDialog .room-a-chip.falta{border-color:var(--danger);color:var(--danger)}
#adminHomeRoomDialog .room-a-empty{color:var(--muted);margin:10px 0 0}

/* H237: Início do Admin no computador em duas colunas (opção G). */
@media (min-width:1100px){
#scr-dashboard .h237-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px;align-items:start}
#scr-dashboard .h237-col{display:flex;flex-direction:column;gap:14px;min-width:0}
#scr-dashboard .h237-col>*{margin:0!important}
#scr-dashboard .h237-right .dashboard-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
#scr-dashboard .h237-right .v5-notice-card .row{flex-wrap:wrap}
#scr-dashboard .h237-left #dashboardTodayInline,#scr-dashboard .h237-left .ic-card:not(.ic-open)>#dashboardTodayInline{display:block!important;margin:6px 0 12px}
.h237-today-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}
.h237-today-head small{color:var(--muted)}
.h237-aula{display:grid;grid-template-columns:56px minmax(0,1fr) 64px auto auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.h237-aula small{color:var(--muted);text-align:right}
.h237-aula.off{opacity:.6}
}

/* H238: lista de alunos da reserva manual. */
#adminHomeRoomDialog .h238-lista{display:grid;gap:6px;max-height:240px;overflow:auto}
#adminHomeRoomDialog .h238-op{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;width:100%;padding:9px 12px;border-radius:10px;border:1px solid var(--line);background:transparent;color:inherit;cursor:pointer}
#adminHomeRoomDialog .h238-op small{color:var(--muted);white-space:nowrap}
#adminHomeRoomDialog .h238-op.on{border:2px solid var(--brand,#ef8829)}
#adminHomeRoomDialog .h238-escolhido{margin:0;font-weight:700;color:var(--brand,#ef8829)}
#adminHomeRoomDialog .h238-escolhido:empty{display:none}

/* H239L: card Aulas — faixa de 7 dias, hora em destaque e selo de ocupação (todas as telas). */
#scr-dashboard .dashboard-classes-ops-card [data-dashboard-period]{display:none!important}
#scr-dashboard .dashboard-classes-ops-card #dashboardTodayInline,#scr-dashboard .ic-card:not(.ic-open)>#dashboardTodayInline{display:block!important;margin:8px 0 10px}
.h239-dias{display:flex;gap:6px;flex-wrap:nowrap;overflow:hidden;margin-bottom:10px}
.h239-dia{flex:1 1 0;min-width:46px;padding:6px 6px;border-radius:999px;border:1px solid var(--line);background:transparent;color:inherit;cursor:pointer;line-height:1.15;text-align:center}
.h239-dia b{display:block;font-size:12px;text-transform:capitalize}
.h239-dia small{font-size:11px;color:var(--muted)}
.h239-dia.on{background:var(--brand,#ef8829);border-color:var(--brand,#ef8829);color:#171717}
.h239-dia.on small{color:#171717}
.h239-resumo{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--muted);margin:2px 0 6px}
.h239-resumo b{color:var(--text,inherit)}
.h239-per{margin:12px 0 2px;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--muted);text-transform:uppercase}
.h239-aula{display:grid;grid-template-columns:64px minmax(0,1fr) auto auto auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.h239-aula.off{opacity:.5}
.h239-hora{display:inline-block;text-align:center;padding:4px 0;border-radius:8px;font-weight:800;background:rgba(239,136,41,.16);color:var(--brand,#ef8829)}
.h239-prof{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h239-selo{font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);white-space:nowrap;text-align:center}
.h239-selo.ok{border-color:var(--ok);color:var(--ok)}
.h239-selo.lot{border-color:var(--danger);color:var(--danger);background:rgba(239,113,128,.12)}
.h239-selo.off{color:var(--muted)}
@media(max-width:520px){.h239-dias{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}.h239-dia{flex:none}.h239-aula{grid-template-columns:56px minmax(0,1fr) auto;row-gap:6px}.h239-aula>.btn{grid-row:2}.h239-aula>.btn:first-of-type{grid-column:2;justify-self:start}.h239-aula>.btn:last-of-type:not(:first-of-type){grid-column:3}}

/* H240: topo da tela Aulas em 5 atalhos (S1). Originais escondidos (continuam no DOM); Regras/Escala só aparecem abertas.  Só no computador (≥1100 px); no celular/tablet a tela fica como antes. */
#h240Atalhos{display:none}
@media (min-width:1100px){
#h240Atalhos{display:block}
body[data-papel] #scr-classes.h240-on>.operation-unit-banner,body[data-papel] #scr-classes.h240-on>#adminWaitlistOpen,body[data-papel] #scr-classes.h240-on #gradePilot>.section-head>div:first-child,body[data-papel] #scr-classes.h240-on #scheduleActions>.h240-orig,body[data-papel] #scr-classes.h240-on #scheduleActions .h240-orig,body[data-papel] #scr-classes.h240-on #gradePilot>.row:has(#scheduleReload),body #scr-classes.h240-on>.operation-unit-banner,body #scr-classes.h240-on>#adminWaitlistOpen,body #scr-classes.h240-on #gradePilot>.section-head>div:first-child,body #scr-classes.h240-on #scheduleActions>.h240-orig,body #scr-classes.h240-on #scheduleActions .h240-orig,body #scr-classes.h240-on #gradePilot>.row:has(#scheduleReload){display:none!important}
#scr-classes.h240-on #v5ScheduleRules:not(.rc-open),#scr-classes.h240-on #escalaFds:not(.ef-open){display:none!important}
.h240{margin:0 0 16px}
.h240-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.h240-top h2{margin:0}
.h240-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:6px}
.h240-chip{font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px;border:1px solid var(--line)}
.h240-chip.u{border-color:var(--brand,#ef8829);color:var(--brand,#ef8829)}
.h240-chip.v{border-color:var(--ok,#4cc38a);color:var(--ok,#4cc38a)}
.h240-chip:empty{display:none}
.h240-tz{font-size:12px;color:var(--muted)}
.h240-refresh{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.h240-refresh small{color:var(--muted);font-weight:400}
.h240-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;align-items:stretch}
.h240-k{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;padding:8px 8px 7px;border-radius:12px;border:1px solid var(--line);background:var(--surface,rgba(255,255,255,.03));color:inherit;cursor:pointer;min-width:0}
.h240-k[hidden]{display:none}
.h240-k:hover{border-color:var(--brand,#ef8829)}
.h240-k b{font-size:13px}
.h240-k small{font-size:11px;color:var(--muted)}
.h240-ic{width:28px;height:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:2px}
.h240-ic.a1{background:rgba(97,169,255,.16);color:var(--blue,#61a9ff)}.h240-ic.a2{background:rgba(167,139,250,.18);color:#b79cff}.h240-ic.a3{background:rgba(242,188,75,.16);color:var(--warn,#f2bc4b)}.h240-ic.a4{background:rgba(76,195,138,.16);color:var(--ok,#4cc38a)}
.h240-k.feat{background:var(--brand,#ef8829);border-color:var(--brand,#ef8829);color:#171717}
.h240-k.feat small{color:#171717;opacity:.8}
.h240-k.feat .h240-ic{background:rgba(0,0,0,.14);color:#171717}
.h240-pills{display:grid;grid-template-columns:repeat(2,auto);justify-content:center;gap:3px}
.h240-pills span{font-size:10px;font-weight:700;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.06)}
.h240-pills i{font-style:normal;font-weight:400;color:var(--muted)}
}

/* H248: semanas do mês no Início do professor (4 a 6 botões com a data da segunda). */
.prof-week-switch.prof-week-month{gap:6px}.prof-week-switch.prof-week-month>.btn{padding:8px 2px;font-size:14px;line-height:1.15}.prof-week-switch.prof-week-month .ps-week-range{font-size:10.5px}
.sidebar .brand strong{font-size:15px!important;line-height:1.08;text-transform:uppercase;letter-spacing:.02em}
#scr-reserve .class-card .class-name{display:block;color:var(--brand,#ef8829);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;line-height:1.2;margin-bottom:2px;overflow-wrap:anywhere}
/* H260: faixa da unidade opcao B (todas as telas do Admin) */
:root{--h260-accent:var(--unit-accent,#f28a24);--h260-ink:color-mix(in srgb,var(--h260-accent) 62%,#fff)}
html:is([data-tema="light"],[data-tema="pink"]){--h260-ink:color-mix(in srgb,var(--h260-accent) 78%,#000)}
:root body[data-papel="admin"] header.topbar .admin-top-actions.admin-top-actions{background:color-mix(in srgb,var(--h260-accent) 14%,transparent)!important;border:1px solid color-mix(in srgb,var(--h260-accent) 55%,transparent)!important;border-radius:12px!important;margin:12px 15px 0!important;padding:8px 10px 8px 8px!important;width:auto!important;gap:8px!important;color:var(--h260-ink)!important}
:root body[data-papel="admin"] header.topbar .admin-top-actions .admin-unit-alert{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;color:var(--h260-ink)!important}
:root body[data-papel="admin"] header.topbar .admin-top-actions .admin-unit-alert b{order:-1;flex:0 0 auto;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--h260-accent)!important;color:#1a0e02!important;border-radius:999px;padding:5px 14px!important;margin:0!important;font-size:15px!important;line-height:1.2!important;font-weight:800;letter-spacing:.02em}
:root body[data-papel="admin"] header.topbar .admin-top-actions .admin-unit-alert .admin-unit-warning{color:var(--h260-ink)!important;font-size:12px!important;letter-spacing:.02em!important;text-transform:none!important;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
:root body[data-papel="admin"] header.topbar .admin-top-actions .admin-unit-warning::before{content:none!important;display:none!important}
:root body:has(#scr-monthlyclosing.active)[data-papel="admin"] header.topbar .admin-top-actions .admin-unit-warning::after{content:" · fechamento compartilhado"}
:root body[data-papel="admin"] header.topbar .admin-top-actions :is(#adminThemeQuick,#adminLockBtn,#help){flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:8px!important;background:transparent!important;border:1px solid color-mix(in srgb,var(--h260-accent) 55%,transparent)!important;color:var(--h260-ink)!important;font-size:16px}
:root body[data-papel="admin"] header.topbar .admin-top-actions :is(#adminLockBtn,#help){font-size:0!important}
:root body[data-papel="admin"] header.topbar .admin-top-actions :is(#adminLockBtn,#help)::before{width:17px!important;height:17px!important}
/* H260: fechamento mensal sem repeticao e com cards alinhados */
#scr-monthlyclosing .section-head{align-items:center;margin-top:0!important;padding-top:0!important}
#scr-monthlyclosing .mc263-top-actions{align-items:center}
#scr-monthlyclosing .mc263-top-actions .btn{margin:0!important;transform:none!important}
#scr-monthlyclosing .section-head p{margin:0}
#scr-monthlyclosing .monthly-closing-kpis{align-items:stretch}
#scr-monthlyclosing .monthly-closing-kpis .kpi-card{display:flex;flex-direction:column;justify-content:space-between;gap:4px}
#scr-monthlyclosing .monthly-closing-split{align-items:stretch}
#scr-monthlyclosing .monthly-closing-split>.card{display:flex;flex-direction:column;margin:0}
#scr-monthlyclosing .monthly-closing-split>.card .mc-no-checkin-rule{margin-top:auto}
#scr-monthlyclosing .monthly-closing-split .form-grid.three{gap:12px}
@media(min-width:769px){#scr-monthlyclosing .monthly-closing-split .field label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
#scr-monthlyclosing .monthly-closing-split :is(.field input,#mc263HolidayDate,#mc263AddHolidayBtn){height:40px;min-height:40px;box-sizing:border-box}
#scr-monthlyclosing .h260-side{display:flex;flex-direction:column;gap:inherit;min-width:0}
#scr-monthlyclosing .monthly-closing-split{gap:14px}
#scr-monthlyclosing .h260-side{gap:14px}
#scr-monthlyclosing .h260-side>.card{margin:0}
#scr-monthlyclosing details.h260-rules>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}
#scr-monthlyclosing details.h260-rules>summary::-webkit-details-marker{display:none}
#scr-monthlyclosing .h260-rules-count{color:var(--muted);font-size:12px;font-weight:700;white-space:nowrap}
#scr-monthlyclosing .h260-rules-count i{display:inline-block;font-style:normal;transition:transform .15s}
#scr-monthlyclosing details.h260-rules[open] .h260-rules-count i{transform:rotate(180deg)}
#scr-monthlyclosing details.h260-rules[open] .monthly-closing-rules{margin-top:12px}
#scr-monthlyclosing .h260-holidays{flex:1;display:flex;flex-direction:column}
#scr-monthlyclosing .h260-holidays .card-title{margin-bottom:10px}
#scr-monthlyclosing .h260-holidays-body{display:flex;flex-direction:column;flex:1;gap:8px}
#scr-monthlyclosing .h260-holidays-body>.row{display:flex;gap:8px;flex-wrap:nowrap}
#scr-monthlyclosing #mc263HolidayDate{flex:1;min-width:0}
#scr-monthlyclosing .h260-holidays .monthly-closing-holiday-list{margin-top:auto}
@media(max-width:768px){#scr-monthlyclosing .h260-side{gap:10px}#scr-monthlyclosing .monthly-closing-split>.card .mc-no-checkin-rule{margin-top:12px}}

/* H283: app do aluno no computador (opção C) - a barra inferior vira menu lateral fixo à esquerda; topo e conteúdo alinhados em 1120 px. Só computador com mouse; celular e tablet sem mudança. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational{--h283-side:232px;max-width:none!important;width:100%!important;box-sizing:border-box;padding-left:var(--h283-side)}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;transform:none!important;width:var(--h283-side)!important;max-width:none!important;height:100vh;box-sizing:border-box;display:flex!important;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;gap:4px;padding:24px 12px!important;border-top:0;border-right:1px solid var(--line);z-index:60}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav>button{flex:0 0 auto!important;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:48px;padding:0 14px;border-radius:12px;font-size:15px;text-align:left;cursor:pointer}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav>button[hidden]{display:none!important}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav>button .ico{margin:0;flex:none;line-height:0}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav>button:hover{background:var(--surface)}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>nav>button.on{background:rgb(239 136 41 / .12)}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>header{padding:16px 32px 14px!important}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>header>*{max-width:1120px;margin-left:auto;margin-right:auto;box-sizing:border-box}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational .header-row{grid-template-columns:62px 140px minmax(0,1fr)!important}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>header .test-note{text-align:center}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>main{padding:24px 32px 40px!important}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>main>.screen{max-width:720px;margin-left:auto;margin-right:auto}
body[data-papel="app"]:not(:has(#scr-history.active,#scr-coach-review.active,#scr-teacher.active #professorApp.open:not([hidden]),.profile-preview.active)) #operational>main>:is(#scr-shop,#scr-reserve){max-width:1120px}
}

/* H287 (substitui o H284): Início do aluno no computador em faixas de largura total (opção B) - "Oi" e frase do dia na mesma linha; Próxima aula com saldo/expiram à direita no mesmo card; Reservar · Comprar · Doar · Conquistas numa linha; O Studio · Equipe · Parceiros ao lado do resumo de aulas. Mesma condição do H283; celular e tablet sem mudança. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
body[data-papel="app"] #operational>main>#scr-home.active{display:grid!important;max-width:1120px!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-areas:none!important;grid-template-rows:none!important;grid-auto-flow:row dense;column-gap:16px;row-gap:16px;align-items:start}
body[data-papel="app"] #scr-home.active>*{grid-column:1/-1;grid-row:auto;min-width:0;margin-top:0;margin-bottom:0}
body[data-papel="app"] #scr-home.active>#hello{grid-column:1/span 6;align-self:end;margin:0}
body[data-papel="app"] #scr-home.active>#homeFrase{grid-column:7/-1!important;grid-row:1!important;align-self:center;justify-self:end;text-align:right;margin:0!important}
body[data-papel="app"] #scr-home.active>#nextClass>.card{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);column-gap:20px;row-gap:12px;margin:0}
body[data-papel="app"] #scr-home.active>#nextClass>.card>*{grid-column:1;margin:0}
body[data-papel="app"] #scr-home.active>#nextClass>.card>.home-divider{display:none}
body[data-papel="app"] #scr-home.active>#nextClass>.card>.home-credit-grid{grid-column:2;grid-row:1/span 3;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:12px;align-self:stretch}
body[data-papel="app"] #scr-home.active>#nextClass>.card>.home-credit-grid>.stat{height:100%;box-sizing:border-box}
body[data-papel="app"] #scr-home.active>#nextClass>.card>.home-expiry-note{grid-column:1/-1}
body[data-papel="app"] #scr-home.active>#homeRound{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:12px}
body[data-papel="app"] #scr-home.active>#homeRound>button{min-height:96px;padding:14px 8px;align-content:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;font-size:15px}
body[data-papel="app"] #scr-home.active>#homeRound>button:hover{border-color:var(--brand)}
body[data-papel="app"] #scr-home.active>#homeRound .ri{width:52px;height:52px}
body[data-papel="app"] #scr-home.active>#homeRound .ri svg{width:24px;height:24px}
body[data-papel="app"] #scr-home.active>.studio-home-row{grid-column:1/span 8;display:flex;gap:12px;align-self:stretch}
body[data-papel="app"] #scr-home.active>.studio-home-row>.studio-home-card{flex:1 1 0;margin:0;padding:12px 10px;min-height:60px;flex-direction:row;align-items:center;justify-content:center;gap:10px}
body[data-papel="app"] #scr-home.active>#homeCompleted{grid-column:9/-1;align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;min-height:60px;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:16px}
body[data-papel="app"] #scr-home.active:not(:has(>.studio-home-row>.studio-home-card:not([hidden])))>#homeCompleted{grid-column:1/-1}
}

/* H285: Planos e aulas no computador (opção C) - situação do aluno numa faixa no topo, planos mensais lado a lado e pacotes em linha embaixo. Mesma condição do H283. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
body[data-papel="app"] #scr-shop.active .shop-layout{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
body[data-papel="app"] #scr-shop.active :is(#wallet,#plans){display:contents!important}
body[data-papel="app"] #scr-shop.active #wallet>*{order:1;grid-column:span 3;margin:0!important;min-width:0;box-sizing:border-box}
body[data-papel="app"] #scr-shop.active #wallet>.notice{grid-column:1/-1}
body[data-papel="app"] #scr-shop.active #wallet>.card>h2{font-size:18px;margin-top:0}
body[data-papel="app"] #scr-shop.active #wallet>.h104-doar{align-self:stretch}
body[data-papel="app"] #scr-shop.active #plans>.shop-monthly{order:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:stretch}
body[data-papel="app"] #scr-shop.active #wallet>.h104-comece{order:3;grid-column:span 3;display:flex;flex-direction:column}
body[data-papel="app"] #scr-shop.active #wallet>.h104-comece>.h104-sub{margin:22px 0 10px;font-size:17px}
body[data-papel="app"] #scr-shop.active #wallet>.h104-comece>.h104-tiles{flex:1;grid-template-columns:1fr}
body[data-papel="app"] #scr-shop.active #plans>.shop-credits{order:3;grid-column:span 9;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:stretch}
body[data-papel="app"] #scr-shop.active .shop-layout:not(:has(#wallet>.h104-comece)) #plans>.shop-credits{grid-column:1/-1}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>:is(h3,.h104-secao-nota){grid-column:1/-1;margin-bottom:0}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>.h104-card{display:flex;flex-direction:column;margin:0}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>.h104-card>.btn{margin-top:auto}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>.h104-card>.h104-meta{margin-bottom:10px}
body[data-papel="app"] #scr-shop.active #plans>.h187-vazio{order:2;grid-column:1/-1}
body[data-papel="app"] #scr-shop.active .shop-history{order:4;grid-column:1/-1}
}

/* H288: Planos e aulas no computador mais compacto (complementa o H285) - cards mais baixos para caber com menos rolagem: título e subtítulo mais juntos, Seu plano mais largo e Doar mais estreito na faixa do topo, selo por cima da borda e botões mais baixos nos planos e pacotes. Mesma condição do H283; celular e tablet sem mudança. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
body[data-papel="app"] #scr-shop.active>h1{font-size:30px;margin:0 0 2px}
body[data-papel="app"] #scr-shop.active>.sub{margin:0 0 14px}
body[data-papel="app"] #scr-shop.active .shop-layout{gap:12px!important}
body[data-papel="app"] #scr-shop.active #wallet>.card{padding:12px 14px!important}
body[data-papel="app"] #scr-shop.active #wallet>#h132Pendentes h2{font-size:16px;margin:0 0 8px}
body[data-papel="app"] #scr-shop.active #wallet>#h132Pendentes .list-item{padding:6px 0}
body[data-papel="app"] .shop-layout:has(#wallet>#h106Plano):has(#wallet>#h104Doar) #wallet>#h106Plano{grid-column:span 4}
body[data-papel="app"] .shop-layout:has(#wallet>#h106Plano):has(#wallet>#h104Doar) #wallet>#h104Doar{grid-column:span 2}
body[data-papel="app"] .shop-layout:has(#wallet>#h106Plano):has(#wallet>#h104Doar):not(:has(#wallet>#h132Pendentes)) #wallet>#myCredits{grid-column:span 6}
body[data-papel="app"] #scr-shop.active #wallet>#h104Doar{flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:12px}
body[data-papel="app"] #scr-shop.active #wallet>#h104Doar .h104-doar-seta{display:none}
body[data-papel="app"] #scr-shop.active #h106Plano .h106-linha{margin:2px 0 0;font-size:14px}
body[data-papel="app"] #scr-shop.active #h106Plano .h106-pend{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;margin-top:8px;padding:8px 10px;font-size:13px}
body[data-papel="app"] #scr-shop.active #h106Plano .h106-pend>b{flex-basis:100%;font-size:14px}
body[data-papel="app"] #scr-shop.active #h106Plano .h106-pend>.btn{flex-basis:100%;margin:6px 0 0;min-height:32px;padding:0 12px;font-size:14px}
body[data-papel="app"] #scr-shop.active #h106Plano .h172-link{margin-top:4px;min-height:28px;font-size:14px}
body[data-papel="app"] #scr-shop.active #h106Plano>.btn{margin-top:8px;min-height:38px}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>.h104-secao{margin:6px 0 0;font-size:16px}
body[data-papel="app"] #scr-shop.active #plans>:is(.shop-monthly,.shop-credits)>.h104-secao-nota{margin:-6px 0 0}
body[data-papel="app"] #scr-shop.active #wallet>.h104-comece>.h104-sub{margin:6px 0 4px;font-size:16px}
body[data-papel="app"] #scr-shop.active #wallet>.h104-comece>.h104-secao-nota{margin:0 0 8px}
body[data-papel="app"] #scr-shop.active #plans .h104-card{position:relative;padding:12px 14px!important;overflow:visible}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-selo{position:absolute;top:-10px;left:12px;margin:0}
body[data-papel="app"] #scr-shop.active #plans .h104-top .h104-nome{margin-top:2px}
body[data-papel="app"] #scr-shop.active #plans .h104-meta{margin-top:2px;line-height:1.3}
body[data-papel="app"] #scr-shop.active #plans .h104-eco{margin-top:4px;line-height:1.3}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.btn{margin-top:auto;min-height:38px;padding-block:6px;font-size:15px}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-eco+.btn,body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-meta+.btn{margin-top:auto}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.btn::before{content:none}
body[data-papel="app"] #scr-shop.active #plans .h104-card{gap:0}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-eco,body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-meta{margin-bottom:10px}
body[data-papel="app"] #scr-shop.active #plans .h104-card>.h104-meta:has(+.h104-eco){margin-bottom:0}
body[data-papel="app"] #scr-shop.active .h104-tile{padding:10px 12px}
body[data-papel="app"] #scr-shop.active .h104-tile .btn{min-height:38px}
}

/* H286: Aulas studio do professor no computador (opção B) - a semana inteira em 7 colunas; no celular continua um dia por vez. */
.ps-week7{display:none}
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
#professorApp:has(#prof-panel-classes.active:not([hidden])) .prof-body{max-width:1280px;padding-left:24px;padding-right:24px}
#prof-panel-classes #profClassList>:is(.ps-days,.ps-day-head,.ps-list){display:none}
#prof-panel-classes .prof-week-switch{max-width:460px}
#prof-panel-classes .ps-week7{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:start;margin-top:6px}
.ps-week7 .ps-col{min-width:0}
.ps-week7 .ps-col-head{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 0;margin-bottom:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.ps-week7 .ps-col-head span{font-size:11px;font-weight:800;letter-spacing:.04em}
.ps-week7 .ps-col-head b{font-size:16px;line-height:1.1}
.ps-week7 .ps-col.past .ps-col-head{color:var(--muted)}
.ps-week7 .ps-col.today .ps-col-head{background:var(--brand);border-color:var(--brand);color:#111}
.ps-week7 .ps-list{gap:6px}
.ps-week7 .ps-row{padding:7px 8px;gap:6px;border-radius:12px}
.ps-week7 .ps-main{flex-wrap:wrap;gap:2px 8px;min-height:0;align-items:flex-start}
.ps-week7 .ps-time{flex:0 0 auto;font-size:15px}
.ps-week7 .ps-info{flex:1 1 100%}
.ps-week7 .ps-name{font-size:13px}
.ps-week7 .ps-sub{font-size:11.5px}
.ps-week7 .ps-inline{flex:1 1 100%;gap:4px}
.ps-week7 .ps-below{grid-template-columns:1fr;gap:4px}
.ps-week7 .ps-list .ps-btn{flex:1 1 0;min-width:0;min-height:30px;padding:0 4px;border-radius:9px;font-size:12px}
.ps-week7 .prof-empty-mini{font-size:12px;text-align:center;color:var(--muted);padding:8px 0}
}
#appSalesConfirm .field>label,label[for=adminHomeRefundReason],label[for=h144Motivo]{font-size:14px;font-weight:600;line-height:1.3}
#appSalesConfirm .field>label input,#adminHomeRefundReason,#h144Motivo{font-size:15px;font-weight:400;margin-top:6px;box-sizing:border-box;width:100%}
#appSalesConfirm .field>label input{height:42px;padding:0 12px}
#adminHomeRefundReason,#h144Motivo{padding:10px 12px;line-height:1.4}

/* H370: Ver sala — aluno tocável (ações) e fila de espera. */
#adminHomeRoomDialog .room-a-tap{cursor:pointer;border-radius:8px}
#adminHomeRoomDialog .room-a-tap:hover,#adminHomeRoomDialog .room-a-tap:focus-visible{background:var(--soft,rgba(127,127,127,.08));outline:none}
#adminHomeRoomDialog .room-a-fila-titulo{margin-top:14px;font-weight:700}
#adminHomeRoomDialog .room-a-pos{background:var(--line);color:inherit;font-size:12px}

/* H371: produto aberto pelo link compartilhado. */
.h371-alvo{outline:3px solid var(--brand,#ef8829);outline-offset:3px}

/* H384: miniaturas Turquesa/Pink e linha Tema com 5 opções (rótulo em cima, opções quebram em 2 linhas). */
#scr-profile.profile-preview .theme-turquesa{--mini-bg:#04090b;--mini-card:#0c1a1e}#scr-profile.profile-preview .theme-turquesa::after{background:#22d3ee}
#scr-profile.profile-preview .theme-pink{--mini-bg:#0b0509;--mini-card:#1e0e18}#scr-profile.profile-preview .theme-pink::after{background:#ff4fa3}
#scr-profile.profile-preview .profile-theme-row{flex-wrap:wrap;row-gap:12px}
#scr-profile.profile-preview .profile-theme-row .tema-seg{flex:1 1 100%;flex-wrap:wrap;gap:8px}
html[data-fonte] #scr-profile.profile-preview .profile-theme-row .tema-seg-op{padding:6px 10px}

/* H385: menu do Perfil do aluno no estilo do Menu administrativo — rótulos de seção, cada item em card próprio com borda, ícone de linha, título e subtítulo. Sem mudança de função. */
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-sec{margin:18px 4px 9px;color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-sec:first-of-type{margin-top:4px}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group{display:grid;gap:10px;background:none;border:0;border-radius:0;overflow:visible;box-shadow:none}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group>.shortcut,html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group>.shortcut:last-child{min-height:66px;padding:13px 16px;gap:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:none}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group>.shortcut:active{border-color:rgb(var(--brand-rgb) / .58);background:rgb(var(--brand-rgb) / .10)}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group .shortcut b{font-weight:600;color:var(--text)}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group .shortcut .grow>span,html[data-tema][data-fonte] #scr-profile.profile-preview #profileParqDate{display:block;margin-top:3px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.3}
html[data-tema][data-fonte] #scr-profile.profile-preview [data-go="parq"] .grow>br{display:none}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group .shortcut .arrow{display:none}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group .shortcut .ico,html[data-tema][data-fonte] #scr-profile.profile-preview #privacyLock{display:flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;padding:0;border-radius:0;background:none;color:var(--text);font-size:0;line-height:0}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group .shortcut .ico::before{content:'';width:24px;height:24px;background:currentColor;-webkit-mask:var(--pf-ico) center/contain no-repeat;mask:var(--pf-ico) center/contain no-repeat}
html[data-tema][data-fonte] #scr-profile.profile-preview #myDataOpen .ico svg{display:none}
html[data-tema][data-fonte] #scr-profile.profile-preview #privacyLock{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview #privacyCard:has(#privacySwitch[aria-checked="true"]) #privacyLock{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview #myDataOpen{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16v4Z'/%3E%3Cpath d='M13 7l4 4'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview [data-go="history"]{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview [data-go="purchases"]{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 4 6v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6l-2-4Z'/%3E%3Cpath d='M4 6h16M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview [data-go="parq"]{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 10h6M9 14h6M9 18h3'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview .profile-theme-row{--pf-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M12 3a9 9 0 0 1 0 18Z' fill='black'/%3E%3C/svg%3E")}
html[data-tema][data-fonte] #scr-profile.profile-preview #privacyCard{grid-template-columns:26px minmax(0,1fr) 50px;gap:0 14px;align-items:center}
html[data-tema][data-fonte] #scr-profile.profile-preview .profile-theme-row>b{font-weight:600}

/* H386: Tema como card fechado (mostra o tema atual); ao tocar abre as opções. */
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group>details.profile-theme-row,html[data-tema][data-fonte] #scr-profile.profile-preview .pf-group>details.profile-theme-row:last-child{display:block;padding:0}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-tema-sum{display:flex;align-items:center;gap:14px;min-height:64px;padding:13px 16px;list-style:none;cursor:pointer}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-tema-sum::-webkit-details-marker{display:none}
html[data-tema][data-fonte] #scr-profile.profile-preview .pf-tema-seta{flex:none;color:var(--muted);font-size:22px;line-height:1;transition:transform .2s}
html[data-tema][data-fonte] #scr-profile.profile-preview #temaCard[open] .pf-tema-seta{transform:rotate(90deg)}
html[data-tema][data-fonte] #scr-profile.profile-preview #temaCard .tema-seg{margin:0 16px 16px;flex-wrap:wrap;gap:8px}
html[data-tema][data-fonte] #scr-profile.profile-preview #temaCard .grow>b{font-weight:600}

/* H390: Ver sala — quadros, lista compacta com ações na linha, rodapé em 2 colunas */
#adminHomeRoomDialog .room-a-x{min-width:36px;font-size:20px;line-height:1;padding:4px 10px}
#adminHomeRoomDialog .room-a-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 4px}
#adminHomeRoomDialog .room-a-stats>*{background:var(--soft,rgba(127,127,127,.1));border:1px solid var(--line);border-radius:10px;padding:6px 4px;text-align:center;color:inherit;font:inherit;min-width:0}
#adminHomeRoomDialog .room-a-stats b{display:block;font-size:17px}
#adminHomeRoomDialog .room-a-stats small{display:block;font-size:11px;color:var(--muted)}
#adminHomeRoomDialog .room-a-stats button{cursor:pointer}
#adminHomeRoomDialog .room-a-tag{margin:12px 0 0;font-size:12px;color:var(--muted)}
#adminHomeRoomDialog .room-a-list{margin-top:4px}
#adminHomeRoomDialog .room-a-row{padding:6px 0;gap:8px}
#adminHomeRoomDialog .room-a-name small{color:var(--muted);font-size:12px}
#adminHomeRoomDialog .room-a-ic{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:transparent;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
#adminHomeRoomDialog .room-a-ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#adminHomeRoomDialog .room-a-ic.msg{color:#25a065;border-color:rgba(37,160,101,.45)}
#adminHomeRoomDialog .room-a-ic.cx{color:var(--danger,#e5484d);border-color:rgba(229,72,77,.45)}
#adminHomeRoomDialog .room-a-foot{display:flex;gap:8px;margin-top:12px}
#adminHomeRoomDialog .room-a-foot .btn{margin:0;flex:1 1 0;min-width:0;justify-content:center;text-align:center}
#adminHomeRoomDialog .room-a-foot .btn[hidden]{display:none}
