
:root{
  --v16-bg:#F4F5F9;
  --v16-surface:#FFFFFF;
  --v16-line:#E5E2EA;
  --v16-purple:#4E1B78;
  --v16-purple-2:#6B2EA0;
  --v16-orange:#FF7A16;
  --v16-ink:#28232D;
  --v16-muted:#746D79;
}
/* V16: remove definitivamente creme/bege da área operacional. */
body[data-portal="staff"],body[data-portal="staff"] #staffView,body[data-portal="staff"] .v13-staff-view,body[data-portal="staff"] .v13-workspace,body[data-portal="staff"] .v13-main{background:var(--v16-bg)!important;color:var(--v16-ink)!important}
body[data-portal="staff"] .card,body[data-portal="staff"] .pf-student-panel,body[data-portal="staff"] .pf-catalog,body[data-portal="staff"] .pf-cart,body[data-portal="staff"] .v12-panel,body[data-portal="staff"] .pdv-history-card,body[data-portal="staff"] .table-wrap{background:var(--v16-surface)!important;border-color:var(--v16-line)!important}
body[data-portal="staff"] .pf-catalog,body[data-portal="staff"] .pf-cart,body[data-portal="staff"] .pf-student-panel{box-shadow:0 8px 24px -22px rgba(55,31,76,.28)!important}
body[data-portal="staff"] .pdv-search-hint{background:#F4EFF9!important;border-color:#E5D9EE!important;color:#62596A!important}
body[data-portal="staff"] .pf-student-stat{background:#F7F6FA!important;border-color:#E9E6EE!important}
body[data-portal="staff"] .pf-after-sale{background:#F3EDF8!important;border-color:#E3D7ED!important}
body[data-portal="staff"] .pf-cart-empty{color:#817A86!important}
body[data-portal="staff"] .pf-product{background:#fff!important}
body[data-portal="staff"] .pf-product-img{background-color:#F5F5F8!important}
body[data-portal="staff"] .pf-pdv-date-inline input,body[data-portal="staff"] .product-search,body[data-portal="staff"] .pf-search-line input{background:#fff!important}
/* Segurança contra dupla seleção: somente o botão efetivamente marcado pela lógica recebe o destaque. */
.v13-nav-btn{background:transparent!important;box-shadow:none!important}
.v13-nav-btn.active{background:linear-gradient(90deg,#FF7214,#FF941A)!important;color:#fff!important;box-shadow:0 8px 18px rgba(255,116,23,.22)!important}
/* Área de manutenção */
.v16-danger-zone{margin-top:18px;border:1px solid #F1C9C4!important;background:#FFF9F8!important}
.v16-danger-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}.v16-danger-head h3{margin:0 0 6px;color:#A5312B}.v16-danger-head p{margin:0;color:#75666A;font-size:12.5px;line-height:1.5;max-width:760px}.v16-danger-head span{white-space:nowrap;padding:6px 9px;border-radius:999px;background:#FFE9E6;color:#A5312B;font-size:11px;font-weight:900}.v16-danger-btn{background:#B93B33!important;border-color:#B93B33!important;color:#fff!important}.v16-danger-btn:disabled{opacity:.45!important}
@media(max-width:820px){
  /* O documento inteiro rola nativamente; nenhum card do PDV cria uma segunda rolagem. */
  html,body,#app,#staffView,.v13-staff-view,.v13-staff-shell,.v13-workspace,.v13-main{height:auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:visible!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:auto!important}
  body[data-portal="staff"] .v13-main{padding:8px 7px 24px!important}
  body[data-portal="staff"] .pdv-layout{display:flex!important;flex-direction:column!important;gap:7px!important}
  body[data-portal="staff"] .pdv-layout>.card{margin:0!important;border-radius:12px!important}
  /* Cliente/aluno: vira uma faixa compacta, sem textos redundantes. */
  body[data-portal="staff"] .pf-student-panel{padding:8px!important;min-height:0!important}
  body[data-portal="staff"] .pf-student-panel>label{font-size:12px!important;margin:0 0 5px!important}
  body[data-portal="staff"] .pf-search-line{gap:5px!important;margin:0!important}
  body[data-portal="staff"] .pf-search-line input{min-height:38px!important;height:38px!important;padding:7px 10px!important;font-size:12.5px!important}
  body[data-portal="staff"] .pf-search-line .btn{width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important}
  body[data-portal="staff"] .pdv-search-hint,body[data-portal="staff"] .pdv-empty-student-note{display:none!important}
  body[data-portal="staff"] .pf-student-id{margin-top:6px!important;padding:6px 0!important;gap:6px!important}
  body[data-portal="staff"] .pf-student-id .pf-avatar{width:30px!important;height:30px!important}
  body[data-portal="staff"] .pf-student-id b{font-size:11px!important}.pf-student-id span{font-size:8px!important}
  body[data-portal="staff"] .pf-student-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-top:4px!important}
  body[data-portal="staff"] .pf-student-stat{padding:5px 6px!important;border-radius:8px!important}
  body[data-portal="staff"] .pf-student-stat span{font-size:7.7px!important;line-height:1.1!important}
  body[data-portal="staff"] .pf-student-stat b{font-size:10.5px!important;margin-top:2px!important}
  /* Catálogo: barras horizontais compactas e produtos menores. */
  body[data-portal="staff"] .pf-catalog{padding:8px!important}
  body[data-portal="staff"] .pf-pdv-date-inline{margin-bottom:5px!important}
  body[data-portal="staff"] .pf-pdv-date-inline .field{margin:0!important;display:grid!important;grid-template-columns:auto minmax(130px,1fr)!important;gap:7px!important;align-items:center!important}
  body[data-portal="staff"] .pf-pdv-date-inline label{font-size:9px!important;margin:0!important;white-space:nowrap!important}
  body[data-portal="staff"] .pf-pdv-date-inline input{min-height:34px!important;height:34px!important;padding:5px 8px!important;font-size:11px!important}
  body[data-portal="staff"] .pf-catalog-toolbar{display:block!important;margin:0 0 7px!important}
  body[data-portal="staff"] .pdv-layout .chips{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:5px!important;padding:0 0 5px!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important}
  body[data-portal="staff"] .pdv-layout .chips::-webkit-scrollbar{display:none!important}
  body[data-portal="staff"] .pdv-layout .chip{flex:0 0 auto!important;padding:6px 9px!important;font-size:9.7px!important}
  body[data-portal="staff"] .pf-catalog-toolbar .product-search{width:100%!important;min-height:36px!important;height:36px!important;padding:6px 10px!important;font-size:11.5px!important}
  body[data-portal="staff"] .pf-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body[data-portal="staff"] .pf-product{border-radius:10px!important;box-shadow:none!important;contain:content!important}
  body[data-portal="staff"] .pf-product-img{height:72px!important}
  body[data-portal="staff"] .pf-product-info{padding:6px!important}
  body[data-portal="staff"] .pf-product-info b{font-size:9.8px!important;min-height:23px!important;line-height:1.15!important}
  body[data-portal="staff"] .pf-product-info span{font-size:11.2px!important;margin-top:3px!important}
  body[data-portal="staff"] .pf-fav{font-size:10px!important;padding:3px!important}
  /* Carrinho compacto; cresce apenas conforme os itens reais. */
  body[data-portal="staff"] .pf-cart{padding:9px!important;min-height:0!important}
  body[data-portal="staff"] .pf-cart-title{padding-bottom:7px!important}.pf-cart-title h3{font-size:14px!important}
  body[data-portal="staff"] .pf-cart-items{min-height:0!important;max-height:none!important}
  body[data-portal="staff"] .pf-cart-empty{height:62px!important;font-size:10.5px!important}
  body[data-portal="staff"] .pf-cart-row{padding:7px 0!important}.pf-cart-row b{font-size:10.5px!important}
  body[data-portal="staff"] .pf-totals{margin-top:7px!important;padding-top:6px!important}.pf-total-row{padding:3px 0!important;font-size:10.5px!important}.pf-total-row.grand{font-size:16px!important;padding-top:7px!important}
  body[data-portal="staff"] .pf-after-sale{margin:7px 0!important;padding:7px!important}.pf-after-sale span{font-size:8.5px!important}.pf-after-sale b{font-size:10.5px!important}
  body[data-portal="staff"] .pf-cart .btn.primary{min-height:42px!important;height:42px!important;font-size:12px!important}
  /* Menos trabalho de pintura durante o gesto de rolagem. */
  body[data-portal="staff"] .pf-product,body[data-portal="staff"] .pf-catalog,body[data-portal="staff"] .pf-cart,body[data-portal="staff"] .pf-student-panel{box-shadow:none!important;filter:none!important;backdrop-filter:none!important;transform:none!important;transition:none!important;animation:none!important}
  .v16-danger-head{display:block}.v16-danger-head span{display:inline-block;margin-top:8px}
}



#studentPickerOverlay.modal-overlay{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  z-index:2147483000!important;
  background:rgba(18,20,28,.62)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  overflow:auto!important;
  isolation:isolate!important;
}
#studentPickerOverlay .pdv-student-modal{
  position:relative!important;
  z-index:2147483001!important;
  width:min(1120px,96vw)!important;
  max-height:88vh!important;
  margin:auto!important;
  background:#fff!important;
  opacity:1!important;
  overflow:hidden!important;
  box-shadow:0 26px 80px rgba(0,0,0,.34)!important;
}
#studentPickerOverlay .modal-head,#studentPickerOverlay .modal-body,#studentPickerOverlay .pdv-student-table-wrap,#studentPickerOverlay table,#studentPickerOverlay tr,#studentPickerOverlay td,#studentPickerOverlay th{
  background-color:#fff!important;
  opacity:1!important;
}
#studentPickerOverlay .pdv-student-table-wrap{overflow:auto!important;max-height:66vh!important}
body:has(#studentPickerOverlay) .fast-pdv{visibility:hidden!important;pointer-events:none!important}
#studentPickerOverlay{visibility:visible!important;pointer-events:auto!important}
#studentPickerOverlay *{visibility:visible!important}
.pdv-pay-student{background:#078DA3!important;border-color:#078DA3!important;color:#fff!important;font-weight:900!important;min-width:92px!important}
.pdv-pay-student:hover{background:#066F81!important;border-color:#066F81!important}
.pdv-pay-student:disabled{opacity:.42!important;cursor:not-allowed!important}
@media(max-width:700px){
  #studentPickerOverlay.modal-overlay{padding:8px!important;align-items:flex-start!important}
  #studentPickerOverlay .pdv-student-modal{width:100%!important;max-height:94vh!important;margin-top:10px!important}
  #studentPickerOverlay .pdv-student-table-wrap{max-height:72vh!important}
}



/* V22 — somente enquadramento das artes aprovadas. Nenhuma lógica funcional alterada. */
.approved-auth-shell{
  width:min(1600px,96vw,calc(92vh * 1.784))!important;
  aspect-ratio:1.784/1!important;
}
.approved-auth-visual{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#F7F8FF!important;
}
.approved-auth-visual img,
.approved-auth-parent .approved-auth-visual img,
.approved-auth-operator .approved-auth-visual img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  scale:1!important;
}
@media(max-width:980px){
  .approved-auth-shell{width:100%!important;height:auto!important;aspect-ratio:auto!important}
  .approved-auth-visual{height:auto!important;aspect-ratio:1.115/1!important;background:#F7F8FF!important}
  .approved-auth-visual img,.approved-auth-parent .approved-auth-visual img,.approved-auth-operator .approved-auth-visual img{object-fit:contain!important;object-position:center center!important}
}
@media(max-width:560px){
  .approved-auth-visual{height:auto!important;aspect-ratio:1.115/1!important}
}



.fast-client-box{position:relative}
.fast-student-results{margin-top:8px;border:1px solid #D9DEE8;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 14px 26px rgba(20,26,44,.08);max-height:240px;overflow-y:auto}
.fast-student-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border:0;border-bottom:1px solid #EEF2F7;background:#fff;text-align:left;cursor:pointer}
.fast-student-option:last-child{border-bottom:0}
.fast-student-option:hover{background:#F7F4FF}
.fast-student-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.fast-student-main b{font-size:14px;color:#1F2430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fast-student-main small{font-size:11.5px;color:#6A7280}
.fast-student-side{text-align:right;display:flex;flex-direction:column;gap:2px;flex:0 0 auto}
.fast-student-side span{font-size:10px;color:#7A8392;text-transform:uppercase;letter-spacing:.04em}
.fast-student-side strong{font-size:12.5px;color:#3A245C}
.fast-student-empty{padding:14px 12px;color:#7A8392;font-size:12px}
.fast-product-copy small{display:block;font-size:11px;color:#7A8392;margin-top:2px}
.fast-client-selected{margin-top:8px}
@media(max-width:930px){
  .fast-student-results{max-height:190px}
  .fast-student-option{padding:11px 10px}
  .fast-student-main b{font-size:13px}
  .fast-student-main small{font-size:10.5px}
}



/* Em janelas menores, a sidebar deixa de reservar uma coluna inteira. */
@media(max-width:1180px){
  body[data-portal="staff"] #staffView .v13-staff-shell{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important}
  body[data-portal="staff"] #staffView .v13-workspace{width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important}
  body[data-portal="staff"] #staffView .v13-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(310px,86vw)!important;height:100dvh!important;transform:translateX(-104%)!important;transition:transform .18s ease!important;overflow-y:auto!important;z-index:110!important}
  body[data-portal="staff"] #staffView .v13-sidebar.open,
  body.v10-menu-open[data-portal="staff"] #staffView .v13-sidebar{transform:translateX(0)!important}
  body[data-portal="staff"] #staffView .v13-menu-toggle{display:grid!important;place-items:center!important}
  body[data-portal="staff"] #staffView .v13-menu-backdrop{display:block!important;position:fixed!important;inset:0!important;z-index:105!important;background:rgba(28,16,36,.45)!important;opacity:0!important;visibility:hidden!important;border:0!important}
  body[data-portal="staff"] #staffView .v13-menu-backdrop.open{opacity:1!important;visibility:visible!important}
  body[data-portal="staff"] #staffView .v13-main{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}
/* Pesquisa sem repintar/recriar o PDV inteiro. */
.fast-product{content-visibility:auto;contain-intrinsic-size:150px 120px}
.fast-products{align-content:start}
@media(max-width:820px){
  .fast-product{content-visibility:visible;contain:none}
}



/* Visual aprovado — aplicado por último para evitar heranças antigas. */
body[data-portal="staff"]:has(.fast-pdv) .staff-main{background:#F6F7FB!important;padding:14px!important}
.fast-pdv{grid-template-columns:330px minmax(0,1fr)!important;gap:12px!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;color:#16194A!important}
.fast-ticket,.fast-catalog{background:#fff!important;border:1px solid #E3E6F0!important;border-radius:14px!important;box-shadow:0 8px 28px rgba(53,38,112,.055)!important}
.fast-ticket{padding:14px!important}.fast-catalog{padding:14px!important}
.fast-quick-product{height:44px!important;border:1px solid #D8D7EA!important;border-radius:10px!important;overflow:hidden!important;margin-bottom:13px!important;grid-template-columns:36px 1fr 44px!important}
.fast-scan-icon{color:#3E1A8F!important}.fast-quick-product input{height:42px!important;color:#252653!important}.fast-quick-product button{height:42px!important;background:linear-gradient(135deg,#5B239C,#3F187D)!important;color:#fff!important;border-radius:0!important}
.fast-ticket-head{padding:3px 1px 10px!important;border-bottom:1px solid #ECECF4!important}.fast-ticket-head h3{font-size:17px!important;color:#171A4F!important}.fast-ticket-head span{color:#73779E!important}
.fast-ticket-empty{color:#73779E!important}.fast-ticket-price{color:#0093A0!important}.fast-ticket-summary{border-top:1px solid #E8E9F1!important}.fast-ticket-summary .grand{border-top:1px solid #E8E9F1!important}.fast-ticket-summary .grand span{color:#4B168F!important;font-weight:900!important}.fast-ticket-summary .grand b{color:#F06422!important;font-weight:900!important}
.fast-student-inline{margin-top:9px!important}.fast-client-search{padding:0!important;border:1px solid #D8D7EA!important;border-radius:9px!important;overflow:hidden!important;grid-template-columns:1fr 42px!important}.fast-client-search input{height:43px!important;border:0!important;padding:0 12px!important}.fast-client-search button{height:43px!important;background:linear-gradient(135deg,#5B239C,#3F187D)!important;color:#fff!important}
.fast-client-help{padding:10px 2px 3px!important;color:#777B9C!important;line-height:1.45!important}.fast-client-selected{margin:8px 0 0!important;border:1px solid #E4E5EF!important;border-radius:10px!important;background:#FAFAFD!important}
.fast-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:13px!important}.fast-shortcuts button{height:62px!important;border:1px solid #DCDDED!important;border-radius:9px!important;background:#fff!important;color:#4B168F!important}.fast-shortcuts button:nth-child(2){color:#0093A0!important}
.fast-catalog-top{margin-bottom:12px!important}.fast-date label{color:#1B2054!important;font-size:11px!important}.fast-date input{height:38px!important;min-height:38px!important;border:1px solid #D9DAEA!important;border-radius:9px!important;color:#292D67!important}.fast-catalog-status{color:#676CA0!important}.fast-reorder{background:linear-gradient(135deg,#5B239C,#3F187D)!important;color:#fff!important;border-radius:8px!important;padding:10px 15px!important}
.fast-categories{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:0 0 4px!important;scrollbar-width:none!important}.fast-categories::-webkit-scrollbar{display:none!important}.fast-category,.fast-category:first-child{flex:1 0 auto!important;min-width:112px!important;height:38px!important;border:1px solid transparent!important;border-radius:8px!important;background:#F2F1FB!important;color:#21185D!important;font-weight:800!important;font-size:10.5px!important}.fast-category:hover{border-color:#D9D4EF!important;background:#ECE9F8!important}.fast-category.active{background:linear-gradient(135deg,#5B239C,#3F187D)!important;color:#fff!important;border-color:#5B239C!important;box-shadow:0 5px 13px rgba(79,28,148,.16)!important;filter:none!important}
.fast-search{height:42px!important;border:1px solid #DADBEA!important;border-radius:9px!important;overflow:hidden!important;margin:8px 0 12px!important}.fast-search span{color:#4B168F!important}.fast-search input{height:40px!important;color:#313566!important}
.fast-products{grid-template-columns:repeat(6,minmax(118px,1fr))!important;gap:11px!important}.fast-product{padding:0!important;border:1px solid #E3E5EE!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 4px 13px rgba(47,39,94,.035)!important;transition:border-color .12s,box-shadow .12s,transform .12s!important}.fast-product:hover{border-color:#CBC6E3!important;box-shadow:0 8px 20px rgba(62,45,117,.075)!important;transform:translateY(-1px)!important}.fast-product-img{height:118px!important;background-color:#fff!important;background-size:contain!important;background-position:center!important;margin:7px 7px 0!important;border-radius:9px!important}.fast-product-img i{background:#4B168F!important;border-radius:999px!important;padding:3px 5px!important}.fast-product-copy{padding:8px 10px 10px!important}.fast-product-copy b{min-height:31px!important;font-size:11.5px!important;color:#171A4F!important;line-height:1.25!important}.fast-product-copy small{font-size:10px!important;color:#8A8EAA!important;margin-top:2px!important}.fast-product-copy span{font-size:14px!important;color:#0093A0!important;font-weight:900!important;margin-top:4px!important}.fast-product>em{display:none!important}.fast-product>small{left:9px!important;top:9px!important;border-radius:6px!important}.fast-selected-footer{border:1px solid #E4E5EF!important;border-radius:9px!important;background:#FAFAFD!important;color:#6D7194!important}.fast-selected-footer b{color:#4B168F!important}
@media(max-width:1500px){.fast-products{grid-template-columns:repeat(5,minmax(112px,1fr))!important}}@media(max-width:1250px){.fast-products{grid-template-columns:repeat(4,minmax(108px,1fr))!important}}@media(max-width:980px){.fast-pdv{display:block!important}.fast-products{grid-template-columns:repeat(4,minmax(92px,1fr))!important}}@media(max-width:620px){.fast-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.fast-product-img{height:88px!important}}@media(max-width:410px){.fast-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Alunos / Clientes — pesquisa avançada inspirada na estrutura solicitada, usando a identidade aprovada. */
.student-filter-card{margin:16px 0 18px;background:#fff;border:1px solid #E1E4EE;border-radius:15px;box-shadow:0 7px 24px rgba(53,38,112,.045);overflow:hidden}
.student-filter-head{min-height:64px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ECECF3;background:linear-gradient(180deg,#FFFFFF 0%,#FBFBFE 100%)}
.student-filter-head h2{margin:0;color:#21185D;font-size:18px}.student-filter-head p{margin:4px 0 0;color:#747894;font-size:12.5px}.student-negative-counter{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:#FFF4F1;border:1px solid #FFE0D8}.student-negative-counter span{color:#D9482F;font-size:18px;font-weight:900}.student-negative-counter small{color:#905347;font-weight:700}
.student-filter-row{display:grid;gap:14px;padding:15px 18px 0}.student-filter-row-top{grid-template-columns:1fr 1fr 1fr}.student-filter-row-bottom{grid-template-columns:1.05fr 1fr 1fr 1fr 1.12fr}.student-filter-card .field{margin:0}.student-filter-card .field label{font-size:11px;color:#30335E;font-weight:800;margin-bottom:6px}.student-filter-card input,.student-filter-card select{height:42px!important;min-height:42px!important;border:1px solid #DCDDEA!important;border-radius:9px!important;background:#fff!important;color:#242750!important;padding:0 11px!important}.student-filter-card input:focus,.student-filter-card select:focus{border-color:#7451B6!important;box-shadow:0 0 0 3px rgba(91,35,156,.08)!important;outline:0!important}
.student-filter-actions{display:flex;align-items:center;justify-content:center;gap:9px;padding:17px 18px 18px}.student-filter-submit{min-width:120px!important;background:linear-gradient(135deg,#5B239C,#3F187D)!important;border-color:#5B239C!important}.student-negative-period-panel{margin:16px 18px 0;padding:14px 15px;border:1px solid #E8DFF4;border-radius:12px;background:linear-gradient(135deg,#FBF8FF 0%,#F7FBFC 100%);display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(165px,.7fr) minmax(150px,.65fr) auto;gap:12px;align-items:end}.student-negative-period-copy{align-self:center}.student-negative-period-copy b{display:block;color:#3E1A78;font-size:13px}.student-negative-period-copy span{display:block;color:#737894;font-size:11px;margin-top:4px;line-height:1.35}.student-negative-month-field{margin:0!important}.student-negative-period-info{min-height:42px;display:flex;flex-direction:column;justify-content:center;padding:0 10px;border-left:1px solid #E5DDEC}.student-negative-period-info span{font-size:11.5px;color:#3E4164;font-weight:800}.student-negative-period-info small{font-size:10px;color:#7D8198;margin-top:3px}.student-negative-period-panel .btn{min-height:42px;white-space:nowrap}.student-list-summary{border:1px solid #E5E6EF!important;border-radius:12px!important;background:#FBFBFD!important}.student-results-card{border-radius:14px!important;border-color:#E2E4ED!important;overflow:hidden}.student-results-card table thead th{background:#F7F6FC!important;color:#302866!important;font-weight:800!important}.student-row-negative{background:#FFF9F7!important}.student-row-negative:hover{background:#FFF3EF!important}.student-row-negative .student-finance-value{color:#D53B2B!important}
@media(max-width:1200px){.student-filter-row-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.student-filter-row-top{grid-template-columns:repeat(2,minmax(0,1fr))}.student-negative-period-panel{grid-template-columns:1fr 180px 180px}.student-negative-period-panel .btn{grid-column:1/-1;width:100%}}@media(max-width:760px){.student-filter-head{align-items:flex-start}.student-filter-row-top,.student-filter-row-bottom{grid-template-columns:1fr!important}.student-filter-row{padding:12px 13px 0}.student-filter-actions{flex-direction:column;align-items:stretch;padding:14px 13px}.student-filter-actions .btn{width:100%}.student-negative-counter{flex:0 0 auto}.student-negative-period-panel{margin:12px 13px 0;grid-template-columns:1fr;align-items:stretch}.student-negative-period-info{border-left:0;border-top:1px solid #E5DDEC;padding:9px 0 0}.student-negative-period-panel .btn{grid-column:auto}}
.student-select-col{width:42px!important;text-align:center!important}.student-select-col input{width:17px;height:17px;accent-color:#5B239C;cursor:pointer}.student-negative-selection-tray{margin:14px 0 0;padding:14px 16px;border:1px solid #DED4EC;border-radius:13px;background:linear-gradient(135deg,#FBF8FF,#FFFFFF);box-shadow:0 10px 24px -22px rgba(67,34,105,.45)}.student-negative-selection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.student-negative-selection-head b{display:block;color:#3E1A78;font-size:13px}.student-negative-selection-head span{display:block;color:#737894;font-size:11px;margin-top:3px}.student-negative-selection-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:8px}.student-negative-selection-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid #E7E1EE;border-radius:10px;background:#fff}.student-negative-selection-item>div{min-width:0}.student-negative-selection-item b{display:block;color:#252047;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-negative-selection-item small{display:block;color:#777C93;font-size:10px;margin-top:3px}.student-negative-selection-item .btn{white-space:nowrap}@media(max-width:760px){.student-negative-selection-list{grid-template-columns:1fr}.student-negative-selection-item{align-items:flex-start}.student-negative-selection-item .btn{flex:none}.student-select-col{position:sticky;left:0;background:inherit;z-index:1}}



/* ============================================================
   V20 — VISUAL FINAL APROVADO
   Somente apresentação: login dos pais, login da equipe e home do responsável.
   IDs funcionais, data-attributes e regras da base permanecem preservados.
   ============================================================ */
:root{--v20-purple:#54239A;--v20-purple-dark:#2E126E;--v20-teal:#0AA2AA;--v20-orange:#FF6A18;--v20-navy:#141746;--v20-muted:#68708D;--v20-line:#DFE2ED;--v20-bg:#F8F7FB}
/* LOGIN */
#loginView.v20-auth{min-height:100dvh;padding:18px;background:radial-gradient(circle at 4% 4%,#EEE8FF 0,transparent 28%),linear-gradient(135deg,#F8F7FC 0%,#F4F5FA 100%);display:grid;place-items:center;font-family:Inter,"Segoe UI",Arial,sans-serif!important}
.v20-auth-shell{width:min(1600px,100%);min-height:min(900px,calc(100dvh - 36px));display:grid;grid-template-columns:minmax(0,1.72fr) minmax(500px,.98fr);background:#F7F7FC;border:1px solid #ECE9F4;border-radius:28px;overflow:hidden;box-shadow:0 28px 80px -32px rgba(42,23,86,.27)}
.v20-auth-visual{padding:0;min-width:0;overflow:hidden;background:#fff}.v20-auth-visual-image{width:100%;height:100%;min-height:860px;background-repeat:no-repeat;background-size:cover;background-position:center}.v20-auth-visual-image.parent{background-image:url('assets/login-pais-aprovado-v22.webp')}.v20-auth-visual-image.staff{background-image:url('assets/login-operador-aprovado-v22.webp')}
.v20-auth-side{display:flex;align-items:center;justify-content:center;padding:54px 40px;background:linear-gradient(180deg,#F9FAFE 0%,#F2F3FA 100%)}
.v20-auth-card{position:relative;width:min(100%,560px);min-height:790px;background:rgba(255,255,255,.92);border:1px solid rgba(68,48,126,.07);border-radius:25px;padding:34px 38px 30px;box-shadow:0 20px 55px -32px rgba(29,21,62,.23);display:flex;flex-direction:column;justify-content:center}
.v20-help-row{position:absolute;right:30px;top:25px;display:flex;align-items:center;gap:7px;font-size:13px;color:#34396C}.v20-help-row>span:first-child{width:22px;height:22px;border:2px solid #333C7D;border-radius:50%;display:grid;place-items:center;font-weight:900}.v20-help-row button{border:0;background:transparent;color:#5A2B94;font-size:11px;font-weight:800;cursor:pointer;margin-left:8px}.v20-parent-logo{text-align:center;margin:5px 0 22px}.v20-parent-logo img{width:300px;max-width:78%;height:auto;display:inline-block}.v20-staff-top{text-align:center;margin:-8px 0 8px}.v20-staff-top img{width:118px;height:auto}.v20-back{position:absolute;left:25px;top:24px;border:0;background:transparent;color:#5A2B94;font-size:11px;font-weight:800;cursor:pointer}
.v20-form{width:100%;max-width:460px;margin:0 auto}.v20-title{text-align:left;margin-bottom:24px}.v20-title h2{margin:0;color:var(--v20-navy);font-size:31px;line-height:1.08;letter-spacing:-.032em;font-weight:900}.v20-title p{margin:9px 0 0;color:#536089;font-size:16px;line-height:1.38}.v20-title.staff{text-align:center}.v20-title.staff h2{font-size:34px}.v20-title.staff p{font-size:16px}
.v20-form .field{margin-bottom:16px}.v20-form .field label{display:block;margin-bottom:7px;color:#171A45;font-size:12px;font-weight:850;text-transform:none;letter-spacing:0}.v20-input{height:54px;border:1px solid #CBD0E1;border-radius:10px;background:#fff;display:grid;grid-template-columns:45px 1fr 42px;align-items:center;overflow:hidden}.v20-input>span{display:grid;place-items:center;color:#42518B;font-size:20px}.v20-input>i{font-style:normal;color:#42518B;font-size:17px;display:grid;place-items:center}.v20-input input{height:52px!important;border:0!important;background:#fff!important;box-shadow:none!important;padding:0 8px!important;color:#25294D!important;font-size:14px!important;outline:none!important}.v20-input:focus-within{border-color:#6842B2;box-shadow:0 0 0 3px rgba(89,44,157,.08)}
.v20-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 18px}.v20-remember{display:flex;align-items:center;gap:8px;font-size:12px;color:#4E5578;font-weight:500;cursor:default}.v20-remember input{position:absolute;opacity:0;pointer-events:none}.v20-remember span{width:22px;height:22px;border:1.5px solid #343A75;border-radius:5px;background:#fff}.v20-options .link-btn{color:#3E1793!important;font-size:12px!important;font-weight:700!important}
.v20-primary{width:100%;height:56px;border:0;border-radius:10px;background:linear-gradient(90deg,#5B27A5 0%,#462080 100%);color:#fff;font-size:17px;font-weight:760;display:flex;align-items:center;justify-content:center;gap:22px;cursor:pointer;box-shadow:0 10px 22px rgba(73,32,131,.16)}.v20-primary span{font-size:24px;font-weight:400}.v20-first{margin-top:16px;width:100%;height:52px;border:1.5px solid #5C2DA1;border-radius:10px;background:#fff;color:#4A1F8D;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}.v20-first>span{font-size:20px}.v20-security{margin-top:28px;display:flex;justify-content:center;align-items:center;gap:8px;color:#69718E;font-size:12px}.v20-security>span{color:var(--v20-teal);font-size:20px}.v20-family-signature{text-align:center;margin-top:21px;color:#281073;font-family:"Segoe Script","Brush Script MT",cursive;font-size:18px}.v20-error{margin:15px auto 0;width:min(100%,460px);padding:10px 12px;border:1px solid #F0CBC5;border-radius:9px;background:#FFF4F2;color:#A23F32;font-size:12px;font-weight:700}
.v20-staff-roles{display:grid;grid-template-columns:repeat(4,1fr);margin-top:32px;padding-top:26px;border-top:1px solid #D7DBE6}.v20-staff-roles>div{text-align:center;border-right:1px solid #D7DBE6;color:#303860;padding:0 8px}.v20-staff-roles>div:last-child{border-right:0}.v20-staff-roles i{display:block;font-style:normal;color:#20255B;font-size:26px;margin-bottom:8px}.v20-staff-roles span{font-size:11.5px}.v20-staff-form{margin-top:0}
/* PORTAL DOS PAIS */
body[data-portal="family"]{background:#F7F6F4!important}.v13-family-view{min-height:100dvh!important;background:#F7F6F4!important;padding:14px 18px 22px!important}.v13-family-shell{width:min(1360px,100%)!important;min-height:calc(100dvh - 36px)!important;margin:0 auto!important;background:#fff!important;border:1px solid #ECE8E5!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 18px 60px -40px rgba(60,42,37,.22)!important}.v13-family-header{height:80px!important;padding:0 30px!important;background:#fff!important;border-bottom:1px solid #ECECF1!important;display:flex!important;align-items:center!important;gap:22px!important}.v13-family-brand{width:276px!important;flex:0 0 276px!important}.v13-family-brand img{width:224px!important;max-height:66px!important;object-fit:contain!important;object-position:left center!important}.v13-family-nav{display:flex!important;align-items:center!important;gap:12px!important;flex:1!important}.v13-family-nav button{height:48px!important;border:0!important;border-radius:9px!important;background:transparent!important;padding:0 15px!important;color:#25264D!important;font-size:14px!important;font-weight:720!important;display:flex!important;align-items:center!important;gap:9px!important}.v13-family-nav button span{font-size:20px!important;color:#2B2A61!important}.v13-family-nav button.active{background:#F3EEFB!important;color:#3B1985!important}.v13-family-user{margin-left:auto!important;display:flex!important;align-items:center!important;gap:15px!important}.v13-family-user-name{text-align:right!important}.v13-family-user-name b{font-size:13px!important;color:#17183A!important}.v13-family-user-name span{font-size:10.5px!important;color:#676C84!important}.v13-family-logout{height:42px!important;min-width:76px!important;border:1px solid #E9B8B1!important;border-radius:9px!important;background:#FFF8F7!important;color:#C53E32!important;font-size:13px!important;font-weight:800!important}.v13-family-main{padding:0 30px 18px!important;background:#fff!important}.pf-family-home-approved{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#16183F}.pf-family-hero-approved{height:250px;margin:0 -30px 0;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(480px,.94fr);background:#fff;overflow:hidden}.pf-family-hero-copy{padding:28px 0 18px 46px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:2}.pf-family-hero-copy h1{margin:0;color:#55239B;font-size:42px;line-height:1.05;letter-spacing:-.035em;font-weight:900}.pf-family-hero-copy p{margin:9px 0 17px;color:#67708E;font-size:15.5px;line-height:1.45}.pf-family-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.pf-family-hero-actions button{height:58px;min-width:150px;padding:0 16px;border:1px solid #DADBE8;border-radius:9px;background:#fff;color:#3D1B84;font-size:14px;font-weight:800;display:flex;align-items:center;gap:10px;cursor:pointer}.pf-hero-ico{width:38px;height:38px;border-radius:7px;display:grid;place-items:center;background:linear-gradient(135deg,#6B35B0,#432086);color:#fff;font-size:18px;box-shadow:0 6px 13px rgba(69,30,132,.17)}.pf-family-hero-photo{background-image:url('assets/portal-pais-hero-aprovado.webp');background-repeat:no-repeat;background-size:cover;background-position:center center;position:relative}.pf-family-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.75) 7%,rgba(255,255,255,0) 24%)}
.pf-family-section-heading{display:flex;align-items:end;justify-content:space-between;margin:0 -1px 12px;padding-top:3px;border-bottom:1px solid #ECECF1}.pf-family-section-heading h2{font-size:27px;margin:0 0 9px;color:#111536;letter-spacing:-.02em}.pf-family-section-heading span{font-size:11px;color:#68708B;margin-bottom:11px}.pf-family-kids-approved{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pf-family-kid-approved{border:1px solid #DEE0E9;border-radius:12px;background:#fff;padding:14px 18px 16px;box-shadow:0 7px 20px -18px rgba(30,26,67,.18)}.pf-kid-approved-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px}.pf-kid-approved-avatar{width:68px;height:68px;padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer}.pf-kid-approved-avatar .student-avatar{width:68px!important;height:68px!important}.pf-kid-approved-meta h3{font-size:14px;margin:0;color:#17193D;text-transform:uppercase;font-weight:900}.pf-kid-approved-meta p{margin:5px 0 0;color:#626A88;font-size:11.5px}.pf-kid-approved-status{align-self:start;margin-top:4px;border:1px solid #CBE9D7;border-radius:999px;background:#EAF8EF;color:#12804B;font-size:10px;font-weight:850;padding:6px 9px;display:flex;align-items:center;gap:6px}.pf-kid-approved-status i{width:7px;height:7px;border-radius:50%;background:#13A461}.pf-kid-approved-status.pending{background:#FFF6E9;border-color:#F1D6A7;color:#966213}.pf-kid-approved-status.pending i{background:#E3A433}.pf-kid-approved-balance-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:12px;margin-top:14px}.pf-kid-approved-balance,.pf-kid-approved-limit{min-height:76px;border:1px solid #E6E7EE;border-radius:8px;padding:11px 14px;background:#FAFBFD}.pf-kid-approved-balance.positive{background:linear-gradient(90deg,#EEF9F5,#F4FBF8)}.pf-kid-approved-balance.negative{background:linear-gradient(90deg,#FFF3F4,#FFF8F8)}.pf-kid-approved-balance span,.pf-kid-approved-limit span{display:block;color:#5E647C;font-size:11px;margin-bottom:5px}.pf-kid-approved-balance strong{display:block;font-size:27px;color:#087B5C;letter-spacing:-.02em}.pf-kid-approved-balance.negative strong{color:#D3272F}.pf-kid-approved-limit strong{display:block;font-size:15px;color:#16183C}.pf-kid-approved-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.pf-kid-approved-mini-grid>div{min-height:69px;border:1px solid #E6E7EE;border-radius:8px;padding:9px 11px;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto auto;column-gap:7px;align-items:center}.pf-kid-approved-mini-grid>div>span{grid-row:1/4;color:#5C27A2;font-size:20px}.pf-kid-approved-mini-grid small{font-size:9.5px;color:#747B94}.pf-kid-approved-mini-grid b{font-size:11.5px;color:#181A3D}.pf-kid-approved-mini-grid em{font-size:9px;color:#6E7590;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px}.pf-kid-approved-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.pf-kid-approved-actions button{height:44px;border:1px solid #D8DAE6;border-radius:8px;background:#fff;color:#3D1B84;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.pf-kid-approved-actions button.primary{background:linear-gradient(90deg,#5C29A1,#472080);border-color:#542695;color:#fff}.pf-kid-approved-pending{margin-top:13px;border:1px solid #F0D8AE;background:#FFF9EF;border-radius:9px;padding:13px;color:#79531A;display:flex;gap:8px;flex-direction:column;font-size:12px}.pf-family-lower-approved{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.pf-family-list-card{border:1px solid #E1E3EB;border-radius:12px;background:#fff;padding:10px 18px 8px}.pf-family-list-head{height:42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #E9EAF0}.pf-family-list-head h3{margin:0;font-size:14px;color:#17193D}.pf-family-list-head button{border:0;background:transparent;color:#4E208E;font-size:10.5px;font-weight:800;cursor:pointer}.pf-consumption-row,.pf-notice-row{width:100%;min-height:48px;border:0;border-bottom:1px solid #EEF0F4;background:transparent;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;text-align:left;padding:5px 0}.pf-consumption-row:last-child,.pf-notice-row:last-child{border-bottom:0}.pf-row-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#F0E9FC;color:#4D218F;font-size:10px;font-weight:900}.pf-row-copy{min-width:0}.pf-row-copy b{display:block;color:#202243;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pf-row-copy small{display:block;color:#737A92;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pf-consumption-row time,.pf-notice-row time{color:#747C96;font-size:9.5px;white-space:nowrap}.pf-consumption-row strong{color:#E12F32;font-size:11.5px;white-space:nowrap}.pf-notice-row{grid-template-columns:auto 1fr auto;cursor:pointer}.pf-notice-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#F0E9FC;color:#4D218F;font-size:17px}.pf-notice-icon.menu{background:#FFF0E6;color:#FF6A18}.pf-family-empty-row{padding:18px 4px;color:#7A8197;font-size:11px}.pf-family-approved-footer{min-height:50px;margin-top:10px;border-top:1px solid #ECECF2;display:flex;align-items:center;justify-content:space-between;gap:15px}.pf-family-approved-footer img{width:330px;max-height:44px;object-fit:contain;object-position:left center}.pf-family-approved-footer>div{color:#717994;font-size:9.5px}.pf-family-approved-footer>div span{color:var(--v20-teal);font-size:16px}.pf-family-empty-approved{padding:30px;border:1px dashed #D9DBE5;border-radius:10px;text-align:center;color:#777D93}
.v13-family-mobile-nav{display:none!important}
@media(max-width:1100px){.v13-family-brand{width:215px!important;flex-basis:215px!important}.v13-family-brand img{width:195px!important}.v13-family-nav{gap:4px!important}.v13-family-nav button{padding:0 9px!important;font-size:12px!important}.pf-family-hero-approved{grid-template-columns:1fr 46%;height:235px}.pf-family-hero-copy{padding-left:30px}.pf-family-hero-copy h1{font-size:35px}.pf-family-hero-actions button{min-width:125px;height:52px}.pf-family-kids-approved{grid-template-columns:1fr}.pf-family-kid-approved{padding:14px}.pf-family-lower-approved{grid-template-columns:1fr}}
@media(max-width:760px){#loginView.v20-auth{padding:0}.v20-auth-shell{min-height:100dvh;border-radius:0;grid-template-columns:1fr;box-shadow:none}.v20-auth-side{order:1;padding:18px 14px 24px}.v20-auth-card{min-height:auto;border-radius:18px;padding:28px 20px 22px}.v20-auth-visual{order:2;padding:0 14px 18px;background:linear-gradient(180deg,#F2F3FA,#F8F7FC)}.v20-auth-visual-image{min-height:0;height:auto;aspect-ratio:1.5/1;border-radius:18px;background-size:cover}.v20-auth-visual-image.parent{background-position:60% center}.v20-auth-visual-image.staff{background-position:58% center}.v20-help-row{right:18px;top:17px}.v20-help-row>span:nth-child(2){display:none}.v20-help-row button{font-size:10px}.v20-parent-logo{margin:7px 0 16px}.v20-parent-logo img{max-width:70%}.v20-title h2,.v20-title.staff h2{font-size:26px}.v20-title p,.v20-title.staff p{font-size:13px}.v20-options{align-items:flex-start}.v20-options .link-btn{font-size:11px!important}.v20-staff-roles{grid-template-columns:repeat(2,1fr);row-gap:18px}.v20-staff-roles>div:nth-child(2){border-right:0}.v20-security{margin-top:18px}.v20-family-signature{font-size:16px}.v20-back{top:18px;left:18px}.v20-staff-top img{width:95px}
.v13-family-view{padding:0!important}.v13-family-shell{border-radius:0!important;min-height:100dvh!important;border:0!important}.v13-family-header{height:68px!important;padding:0 14px!important;position:sticky!important;top:0!important;z-index:30!important}.v13-family-brand{width:auto!important;flex:1!important}.v13-family-brand img{width:170px!important;max-height:54px!important}.v13-family-nav{display:none!important}.v13-family-user-name{display:none!important}.v13-family-logout{min-width:58px!important;height:38px!important}.v13-family-main{padding:0 13px 84px!important}.pf-family-hero-approved{height:auto;min-height:390px;margin:0 -13px;display:flex;flex-direction:column-reverse;background:#fff}.pf-family-hero-photo{height:190px;background-position:center center}.pf-family-hero-photo:before{background:linear-gradient(0deg,#fff 0%,rgba(255,255,255,0) 28%)}.pf-family-hero-copy{padding:14px 16px 18px}.pf-family-hero-copy h1{font-size:31px}.pf-family-hero-copy p{font-size:13px;margin:7px 0 13px}.desktop-only{display:none}.pf-family-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pf-family-hero-actions button{min-width:0;height:49px;font-size:12px;padding:0 10px}.pf-hero-ico{width:32px;height:32px;font-size:15px}.pf-family-section-heading h2{font-size:22px}.pf-family-kids-approved{gap:11px}.pf-family-kid-approved{padding:12px 11px}.pf-kid-approved-avatar,.pf-kid-approved-avatar .student-avatar{width:54px!important;height:54px!important}.pf-kid-approved-meta h3{font-size:12px}.pf-kid-approved-meta p{font-size:9.5px;line-height:1.45}.pf-kid-approved-status{font-size:8px;padding:5px 7px}.pf-kid-approved-balance-grid{grid-template-columns:1fr 1fr;gap:8px}.pf-kid-approved-balance,.pf-kid-approved-limit{min-height:68px;padding:9px 10px}.pf-kid-approved-balance strong{font-size:21px}.pf-kid-approved-mini-grid{grid-template-columns:1fr;gap:6px}.pf-kid-approved-mini-grid>div{min-height:54px}.pf-kid-approved-actions{grid-template-columns:1fr 1fr}.pf-family-lower-approved{gap:11px;margin-top:12px}.pf-family-list-card{padding:8px 11px}.pf-consumption-row{grid-template-columns:auto 1fr auto}.pf-consumption-row time{display:none}.pf-family-approved-footer{flex-direction:column;align-items:flex-start;padding:10px 0}.pf-family-approved-footer img{width:250px}.v13-family-mobile-nav{display:grid!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;height:68px!important;grid-template-columns:repeat(5,1fr)!important;background:rgba(255,255,255,.97)!important;border-top:1px solid #E4E5EC!important;z-index:60!important;box-shadow:0 -8px 24px rgba(37,27,68,.06)!important}.v13-family-mobile-nav button{border:0!important;background:transparent!important;color:#656A82!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:17px!important}.v13-family-mobile-nav button small{font-size:9px!important}.v13-family-mobile-nav button.active{color:#4D218F!important;background:#F7F3FC!important}}
@media(max-width:420px){.v20-auth-card{padding-left:16px;padding-right:16px}.v20-parent-logo img{max-width:76%}.v20-options{gap:6px}.v20-remember{font-size:10.5px}.pf-family-hero-photo{height:170px}.pf-kid-approved-balance-grid{grid-template-columns:1fr}.pf-family-approved-footer>div{font-size:8.7px}}



body[data-portal="auth"]{margin:0!important;background:radial-gradient(circle at 12% 10%,rgba(107,49,189,.10),transparent 28%),radial-gradient(circle at 90% 90%,rgba(16,174,177,.08),transparent 24%),linear-gradient(135deg,#F8F8FF 0%,#F2F4FF 100%)!important;color:#0B164C!important;overflow-x:hidden!important}
body[data-portal="auth"] #app{padding:0!important;min-height:100vh!important}body[data-portal="auth"] #app:before,body[data-portal="auth"] #app:after,body[data-portal="auth"]:before,body[data-portal="auth"]:after{display:none!important}
.approved-auth{--aa-navy:#0B164C;--aa-purple:#5821A6;--aa-purple2:#6B31BD;--aa-teal:#10AEB1;min-height:100vh;display:grid;place-items:center;padding:22px 24px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;color:var(--aa-navy)}.approved-auth *{box-sizing:border-box}.approved-auth button,.approved-auth input{font:inherit}
.approved-auth-shell{width:min(1600px,96vw);height:min(890px,94vh);min-height:680px;display:grid;grid-template-columns:62.5% 37.5%;background:#F7F8FF;border:1px solid rgba(92,78,169,.12);border-radius:28px;overflow:hidden;box-shadow:0 24px 70px rgba(33,27,74,.12)}
.approved-auth-visual{position:relative;overflow:hidden;background:#DDD}.approved-auth-visual img{width:100%;height:100%;display:block;object-fit:cover;object-position:center center}.approved-auth-form-zone{position:relative;display:flex;align-items:center;justify-content:center;padding:48px 44px;background:linear-gradient(180deg,#F8F9FF 0%,#F5F7FF 100%)}
.approved-version{position:absolute;right:28px;top:18px;color:#546189;font-size:15px}.approved-auth-panel{width:min(520px,100%);background:rgba(255,255,255,.96);border:1px solid rgba(74,69,132,.10);border-radius:26px;box-shadow:0 16px 42px rgba(41,35,79,.08);padding:34px 38px 28px}.approved-operator-panel{padding-top:28px;padding-bottom:26px}
.approved-help{display:flex;justify-content:flex-end;align-items:center;gap:8px;color:#33446D;font-size:15px;margin-bottom:4px}.approved-help-badge{width:24px;height:24px;border:2px solid #29346E;border-radius:50%;display:grid;place-items:center;font-weight:900}.approved-parent-brand{display:block;margin:0 auto 20px;max-width:270px;width:72%;height:auto}.approved-team-icon{display:block;margin:0 auto 18px;width:98px;height:auto}
.approved-title h1{margin:0;color:#0D164D;font-size:clamp(32px,2.35vw,48px);line-height:1.08;letter-spacing:-1.2px;font-weight:850}.approved-title p{margin:10px 0 26px;color:#42517C;font-size:18px;line-height:1.42}.approved-title-operator{text-align:center}.approved-title-operator p{max-width:390px;margin-left:auto;margin-right:auto}
.approved-field{margin-bottom:17px}.approved-field label{display:block!important;color:#0D164D!important;font-size:15px!important;font-weight:800!important;margin-bottom:8px!important;text-transform:none!important;letter-spacing:0!important}.approved-input-wrap{height:56px;border:1.5px solid #C8D0E5;border-radius:11px;background:#FFF;display:flex;align-items:center;padding:0 16px;gap:12px;transition:.2s}.approved-input-wrap:focus-within{border-color:#7951C8;box-shadow:0 0 0 4px rgba(98,48,179,.08)}.approved-input-icon,.approved-eye{display:grid;place-items:center;color:#4F5F91;flex:0 0 auto}.approved-input-icon svg,.approved-eye svg{width:24px;height:24px;display:block}
body[data-portal="auth"] .approved-input-wrap input{border:0!important;outline:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;font-size:17px!important;color:#0D164D!important;background:transparent!important}.approved-input-wrap input::placeholder{color:#8B94B0!important}
.approved-inline-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 20px;color:#42517C;font-size:15px}.approved-check{display:flex!important;align-items:center;gap:9px;white-space:nowrap;color:#42517C!important;font-size:15px!important;font-weight:400!important;margin:0!important}.approved-check input{width:20px!important;height:20px!important;min-height:0!important;accent-color:var(--aa-purple)}.approved-link{border:0!important;background:transparent!important;color:#3718A3!important;font-weight:700!important;text-decoration:underline!important;white-space:nowrap;padding:0!important;min-height:0!important;cursor:pointer;box-shadow:none!important}
.approved-primary,.approved-secondary{width:100%;height:58px;border-radius:11px;font-size:19px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:14px}.approved-primary{border:0!important;color:#FFF!important;background:linear-gradient(90deg,#6C2EC0,#4D1D8E)!important;box-shadow:0 8px 18px rgba(82,31,157,.18)!important}.approved-primary b{font-size:24px;line-height:1;font-weight:400}.approved-secondary{margin-top:13px;border:1.8px solid #5D25A9!important;color:#4C1998!important;background:#FFF!important;box-shadow:none!important}.approved-secondary svg{width:24px;height:24px}
.approved-divider{height:1px;background:#D6DBEA;margin:30px 0 22px}.approved-roles{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:4px}.approved-role{text-align:center;padding:4px 8px 0;border-right:1px solid #D9DEEB;color:#31416F;font-size:14px}.approved-role:last-child{border-right:0}.approved-role svg{display:block;margin:0 auto 9px;width:30px;height:30px;color:#0F1953}.approved-role span{display:block}.approved-secure{display:flex;align-items:center;justify-content:center;gap:9px;color:#677394;font-size:14px;margin-top:24px}.approved-secure svg{width:22px;height:22px;color:var(--aa-teal)}.approved-signature{display:block;margin:18px auto 0;max-width:310px;width:86%;height:auto}.approved-secure-operator{margin-top:24px}.approved-error{margin-top:14px;padding:10px 12px;border-radius:9px;background:#FFF0EE;border:1px solid #F4C4BE;color:#A52F27;font-size:13px;font-weight:700}
.approved-portal-switch{display:block;margin:14px auto -8px;border:0!important;background:transparent!important;color:#5A2B94!important;font-size:12px!important;font-weight:700!important;text-decoration:underline;padding:5px 8px!important;min-height:0!important;box-shadow:none!important;opacity:1}.approved-portal-switch:hover{color:#3F1D70!important}
.approved-team-access-row{display:flex;justify-content:flex-end;margin:0 0 6px}.approved-team-access-top{border:0!important;background:transparent!important;color:#5A2B94!important;font-size:13px!important;font-weight:750!important;padding:4px 2px!important;min-height:0!important;box-shadow:none!important;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.approved-team-access-top:hover{color:#3F1D70!important}
@media(max-width:980px){.approved-auth{padding:12px}.approved-auth-shell{width:100%;height:auto;min-height:0;grid-template-columns:1fr;border-radius:22px}.approved-auth-form-zone{order:1;padding:24px 16px 18px}.approved-auth-visual{order:2;height:390px}.approved-auth-panel{max-width:620px;padding:26px 22px 24px;border-radius:22px}.approved-version{right:20px;top:12px;font-size:12px}.approved-parent-brand{max-width:230px;margin-bottom:14px}.approved-team-icon{width:82px;margin-bottom:12px}.approved-title h1{font-size:32px}.approved-title-parent h1{text-align:left}.approved-title p{font-size:16px;margin-bottom:20px}.approved-input-wrap{height:54px}.approved-primary,.approved-secondary{height:55px;font-size:17px}.approved-role{font-size:12px;padding:2px 4px}.approved-role svg{width:25px;height:25px}.approved-secure{margin-top:18px;font-size:12px}}
@media(max-width:560px){.approved-auth{padding:0;display:block;background:#F6F7FF}.approved-auth-shell{border-radius:0;min-height:100vh;border-left:0;border-right:0}.approved-auth-form-zone{padding:18px 10px 12px;min-height:100vh}.approved-auth-panel{padding:24px 18px 20px;border-radius:18px}.approved-team-access-top{font-size:12px!important}.approved-parent-brand{width:66%;max-width:220px}.approved-team-icon{width:78px}.approved-title h1,.approved-title-parent h1{font-size:28px;text-align:left}.approved-title-operator h1{text-align:center}.approved-title p{font-size:15px;line-height:1.38}.approved-field{margin-bottom:14px}.approved-field label{font-size:14px!important}.approved-input-wrap{height:51px;padding:0 13px}.approved-input-wrap input{font-size:15px!important}.approved-inline-row{font-size:12px;gap:8px}.approved-check{gap:6px;font-size:12px!important}.approved-check input{width:18px!important;height:18px!important}.approved-link{white-space:normal;text-align:right;font-size:12px!important}.approved-primary,.approved-secondary{height:52px;font-size:16px}.approved-divider{margin:22px 0 16px}.approved-roles{grid-template-columns:repeat(2,1fr);row-gap:15px}.approved-role:nth-child(2){border-right:0}.approved-role:nth-child(3),.approved-role:nth-child(4){border-top:1px solid #E4E7F0;padding-top:14px}.approved-auth-visual{height:310px}.approved-signature{max-width:260px}.approved-version{display:none}}

/* Refinamento visual: ícones consistentes, cartões sem avatares ilustrados e login na proporção aprovada. */
.family-nav-icon,.pf-hero-ico,.pf-mini-icon,.pf-kid-approved-actions button>svg,.pf-family-list-head h3>svg,.pf-notice-icon>svg,.pf-family-approved-footer>div>span>svg{display:inline-grid;place-items:center;flex:0 0 auto}
.family-nav-icon svg{width:20px;height:20px;display:block}.v13-family-mobile-nav .family-nav-icon svg{width:21px;height:21px}
.pf-hero-ico svg{width:21px;height:21px;display:block}.pf-mini-icon svg{width:20px;height:20px;display:block}
.pf-kid-approved-head{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}.pf-kid-approved-meta{min-width:0}.pf-kid-approved-meta h3{font-size:15px!important}.pf-kid-approved-meta p{line-height:1.45}
.pf-kid-approved-actions button>svg{width:17px;height:17px}.pf-kid-approved-actions button.primary>svg{width:18px;height:18px}
.pf-family-list-head h3{display:flex;align-items:center;gap:8px}.pf-family-list-head h3>svg{width:19px;height:19px;color:#55239B}.pf-notice-icon>svg{width:19px;height:19px}.pf-family-approved-footer>div>span{display:inline-flex;vertical-align:middle;margin-right:3px}.pf-family-approved-footer>div>span>svg{width:16px;height:16px}
.approved-auth-shell{width:min(1600px,96vw,calc(92vh * 1.78))!important;height:auto!important;min-height:0!important;aspect-ratio:1.78/1!important}.approved-auth-visual img{object-position:center center!important}.approved-auth-parent .approved-auth-visual img{object-fit:cover!important}
.approved-eye{width:34px;height:34px;border:0!important;background:transparent!important;padding:5px!important;margin:0!important;border-radius:8px!important;cursor:pointer!important;color:#4F5F91!important;box-shadow:none!important}.approved-eye:hover{background:#F1EEF9!important;color:#54239B!important}.approved-eye:focus-visible{outline:2px solid #7951C8!important;outline-offset:2px}.approved-eye.is-visible{color:#54239B!important}.approved-eye.is-visible:after{content:"";position:absolute;width:22px;height:1.5px;background:currentColor;transform:rotate(-42deg);border-radius:2px}.approved-eye{position:relative}
@media(max-width:980px){.approved-auth-shell{width:100%!important;height:auto!important;aspect-ratio:auto!important}.approved-auth-parent .approved-auth-visual img{object-fit:contain!important;background:#15131A!important}.pf-kid-approved-meta h3{font-size:13px!important}}


/* ============================================================
   PERFIL DO ALUNO — VISUAL PROFISSIONAL APROVADO (11/2026)
   Operador + área dos pais. Somente apresentação.
   ============================================================ */
.student-profile-modern{
  --profile-purple:#5b1aa8;
  --profile-purple-dark:#3d0f73;
  --profile-purple-soft:#f3eafe;
  --profile-orange:#ff6a32;
  --profile-orange-soft:#fff0e8;
  --profile-green:#3d9c20;
  --profile-green-soft:#eef9e9;
  --profile-blue:#1787cb;
  --profile-blue-soft:#eaf6fd;
  --profile-red:#d92c20;
  --profile-red-soft:#fff0ee;
  --profile-ink:#16133d;
  --profile-muted:#6e6a91;
  --profile-line:#e7e4f1;
  --profile-bg:#f8f9fd;
  background:#fff;
  border:1px solid var(--profile-line);
  border-radius:18px;
  box-shadow:0 10px 30px rgba(40,28,83,.06);
  overflow:hidden;
  color:var(--profile-ink);
}
.student-profile-modern-head{
  display:grid;
  grid-template-columns:minmax(260px,1.45fr) minmax(190px,.9fr) minmax(120px,.55fr) minmax(230px,.85fr);
  align-items:stretch;
  background:#fff;
  border-bottom:1px solid var(--profile-line);
  min-height:96px;
}
.student-profile-identity,.student-profile-head-data,.student-profile-balance{padding:20px 26px;display:flex;justify-content:center;flex-direction:column;min-width:0}
.student-profile-identity{justify-content:center}
.student-profile-head-data{border-left:1px solid var(--profile-line)}
.student-profile-head-data>span,.student-profile-balance small{display:block;color:var(--profile-muted);font-size:12px;font-weight:800;margin-bottom:7px}
.student-profile-head-data>b{font-size:14px;color:var(--profile-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.student-profile-modern .student-profile-name{margin:0;color:#4b1390;font-size:25px;font-weight:900;line-height:1.08;letter-spacing:-.02em}
.student-profile-code{font-size:13px;color:var(--profile-muted);margin-top:7px}
.profile-status{display:inline-flex!important;align-items:center;justify-content:center;width:max-content;border-radius:9px;padding:6px 14px!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.02em}
.profile-status.active{background:#dff3d5;color:#287d13}
.profile-status.inactive{background:var(--profile-red-soft);color:var(--profile-red)}
.student-profile-balance{border-left:1px solid var(--profile-line);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:15px;background:linear-gradient(135deg,#fbf7ff,#f4eafd)}
.profile-balance-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#ead9fb;color:#5c18a8;font-size:23px;font-weight:900}
.student-profile-balance b{display:block;color:#511594;font-size:26px;line-height:1;font-weight:900;letter-spacing:-.02em}
.student-profile-balance b.neg,.student-profile-balance b.negative{color:var(--profile-red)}
.student-profile-modern-body{background:linear-gradient(180deg,#fff 0,#fafbfe 100%)}
.student-profile-modern-tabs{display:flex;align-items:center;gap:36px;padding:0 22px;border-bottom:1px solid var(--profile-line);background:#fff}
.profile-tab{position:relative;display:flex;align-items:center;gap:9px;padding:17px 8px 15px;color:#625d82;font-size:14px;font-weight:800}
.profile-tab.active{color:#53149a}
.profile-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#ff7439,#ff5a2a)}
.profile-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px 20px 16px}
.profile-summary-card{min-height:84px;border-radius:14px;padding:14px 18px;display:flex;align-items:center;gap:15px;border:1px solid rgba(0,0,0,.025)}
.profile-summary-card .profile-summary-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:900;flex:0 0 auto}
.profile-summary-card small{display:block;font-size:12px;color:#3a365f;margin-bottom:5px}
.profile-summary-card b{display:block;font-size:22px;font-weight:900;line-height:1.05}
.profile-summary-card.purple{background:linear-gradient(135deg,#f4eafe,#fbf7ff)}
.profile-summary-card.purple .profile-summary-icon{background:#ead9fb;color:#5d18ac}.profile-summary-card.purple b{color:#5d18ac}
.profile-summary-card.green{background:linear-gradient(135deg,#eef9e8,#f8fdf5)}
.profile-summary-card.green .profile-summary-icon{background:#dff3d2;color:#3b9821}.profile-summary-card.green b{color:#2f8519}
.profile-summary-card.orange{background:linear-gradient(135deg,#fff0e5,#fff8f2)}
.profile-summary-card.orange .profile-summary-icon{background:#ffe1ce;color:#ff652c}.profile-summary-card.orange b{color:#d72b1f}
.profile-summary-card.blue{background:linear-gradient(135deg,#eaf6fd,#f7fcff)}
.profile-summary-card.blue .profile-summary-icon{background:#d9effb;color:#1488cc}.profile-summary-card.blue b{color:#14145c}
.negative-text{color:var(--profile-red)!important}
.profile-movement-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:12px 22px 12px;border-top:1px solid var(--profile-line)}
.profile-movement-head h3,.profile-data-panel-head h3{margin:0;color:#17133e;font-size:20px;font-family:var(--font-body);letter-spacing:-.01em}
.profile-movement-head p,.profile-data-panel-head p{margin:4px 0 0;color:var(--profile-muted);font-size:12px}
.profile-filter-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.profile-date-field{min-width:145px}.profile-date-field label{font-size:11px;color:#4a456e;margin-bottom:4px;text-transform:none;letter-spacing:0}.profile-date-field input{height:40px;border:1px solid #dcd9e8;border-radius:10px;padding:8px 10px;background:#fff;font-size:12px}
.student-profile-modern .btn.btn-accent{background:linear-gradient(135deg,#ff773d,#ff5b28);color:#fff;box-shadow:none;border-radius:10px}
.profile-timeline{position:relative;padding:6px 18px 14px 62px}
.profile-timeline:before{content:"";position:absolute;left:42px;top:14px;bottom:24px;width:3px;border-radius:99px;background:linear-gradient(180deg,#d9bdf7,#eadff6)}
.profile-timeline-row{position:relative;margin:0 0 8px}
.profile-timeline-marker{position:absolute;left:-47px;top:10px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;z-index:2;border:5px solid #fff;box-sizing:content-box;font-size:14px;font-weight:900}
.profile-timeline-row.purchase .profile-timeline-marker{background:#fff0e8;color:#ff632d}.profile-timeline-row.recharge .profile-timeline-marker,.profile-timeline-row.payment .profile-timeline-marker{background:#e9f8e4;color:#39971f}.profile-timeline-row.refund .profile-timeline-marker{background:#fff0ee;color:#d72b1f}.profile-timeline-row.other .profile-timeline-marker{background:#eef2ff;color:#4c45a7}
.profile-timeline-card{display:grid;grid-template-columns:110px 145px 170px 180px minmax(220px,1fr) 120px auto;gap:0;align-items:center;min-height:60px;background:#fff;border:1px solid #e5e2ed;border-radius:13px;box-shadow:0 3px 10px rgba(44,31,82,.025);overflow:hidden}
.profile-timeline-card>div{padding:10px 14px;min-width:0}
.profile-movement-type,.profile-movement-date,.profile-movement-cell{border-right:1px solid #ece9f2}
.profile-type-pill{display:inline-flex;align-items:center;justify-content:center;min-width:82px;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:900;letter-spacing:.02em}
.profile-type-pill.purchase{background:#fff0ee;color:#d72b1f}.profile-type-pill.recharge{background:#eaf8e6;color:#31871b}.profile-type-pill.payment{background:#eef1ff;color:#4c45a7}.profile-type-pill.refund{background:#fff0ee;color:#c4281e}.profile-type-pill.other{background:#f1f2f7;color:#5f5b75}
.profile-movement-date{font-size:12px;color:#231f4b}.profile-movement-date b{display:block}.profile-movement-date span{display:block;color:#77728f;margin-top:2px}
.profile-movement-cell span{display:block;color:#77728f;font-size:10px;margin-bottom:2px}.profile-movement-cell b{display:block;color:#1e1a44;font-size:11.5px;line-height:1.3;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-movement-cell.details b{white-space:normal}.profile-movement-cell.details small{display:block;color:#c52a20;margin-top:3px}
.profile-movement-value{justify-self:end;margin-right:12px;min-width:102px;text-align:center;border-radius:9px;padding:8px 11px!important;font-size:13px;font-weight:900}.profile-movement-value.positive{background:#e9f7e4;color:#258010}.profile-movement-value.negative{background:#fff0ee;color:#cf281e}.profile-movement-value.muted-value{opacity:.45;text-decoration:line-through}
.profile-cancel-btn{margin-right:10px;border:0;background:transparent;color:#d22d22;font-size:11px;font-weight:800;text-decoration:underline}
.profile-timeline-row.canceled .profile-timeline-card{opacity:.68;background:#fafafa}
.profile-movement-empty{margin:8px 22px 22px;border:1px dashed #dcd8e7;border-radius:14px;padding:28px;text-align:center;color:#6f6a8d;display:flex;flex-direction:column;gap:5px;align-items:center}.profile-empty-icon{font-size:22px;color:#5c18a8}
.profile-admin-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:14px 20px;border-top:1px solid var(--profile-line);background:#fff}
.profile-action-btn{border:1px solid #e2deeb;background:#fff;border-radius:11px;min-height:58px;padding:8px 9px;display:flex;align-items:center;justify-content:center;gap:8px;color:#4d4869;font-size:11.5px;font-weight:800;transition:.15s}.profile-action-btn svg{width:19px;height:19px;stroke:currentColor}.profile-action-btn:hover{border-color:#6d23b7;color:#5a18a6;background:#fbf7ff}.profile-action-btn.recharge{border-color:#d8ebd1;color:#2f8519;background:#f8fdf5}
.profile-data-panel{margin:8px 20px 20px;border:1px solid var(--profile-line);border-radius:14px;background:#fff;overflow:hidden}
.profile-data-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--profile-line)}
.profile-utility-actions,.profile-parent-actions{display:flex;gap:8px;flex-wrap:wrap}
.profile-data-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid var(--profile-line)}
.profile-data-item{padding:14px 18px;border-right:1px solid var(--profile-line);min-width:0}.profile-data-item:last-child{border-right:0}.profile-data-item>span{display:block;font-size:10.5px;color:#77728f;margin-bottom:5px}.profile-data-item>b{font-size:13px;color:#1b173f}.profile-data-item.blocked .badge{font-size:9px;padding:4px 7px}
.profile-guardians{padding:16px 18px}.profile-guardians h4{margin:0 0 10px;font-family:var(--font-body);font-size:14px;color:#17133e}.profile-guardian-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-guardian-card{border:1px solid #e7e4ef;border-radius:11px;padding:12px 14px;background:#fcfcfe}.profile-guardian-card>span{display:block;color:#77728f;font-size:10px;margin-bottom:3px}.profile-guardian-card>b{display:block;color:#2b2652;font-size:13px}.profile-guardian-card>small{display:block;color:#77728f;font-size:10.5px;margin-top:4px}.profile-guardian-actions{display:flex;gap:6px;margin-top:9px;flex-wrap:wrap}
.parent-profile-modern{box-shadow:none;border:0;border-radius:0}.parent-profile-modern .profile-admin-actions{display:none}.parent-profile-modern .profile-data-panel{margin-bottom:6px}.profile-parent-actions{justify-content:flex-end;padding-top:14px}.resp-profile-full-modal{max-width:1380px!important}.resp-profile-full-modal .modal-body{padding:12px!important;background:#f7f8fc}

@media(max-width:1350px){.profile-timeline-card{grid-template-columns:100px 130px 150px 150px minmax(180px,1fr) 112px auto}.profile-admin-actions{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.student-profile-modern-head{grid-template-columns:1.4fr 1fr 1fr}.student-profile-balance{grid-column:1/-1;border-left:0;border-top:1px solid var(--profile-line)}.profile-summary-grid{grid-template-columns:repeat(2,1fr)}.profile-timeline{padding-left:54px}.profile-timeline:before{left:36px}.profile-timeline-marker{left:-43px}.profile-timeline-card{grid-template-columns:110px 130px 1fr 110px}.profile-movement-cell:nth-of-type(4){display:none}.profile-movement-cell.details{grid-column:auto}.profile-data-grid{grid-template-columns:repeat(2,1fr)}.profile-data-item:nth-child(2){border-right:0}.profile-guardian-grid{grid-template-columns:1fr}}
@media(max-width:760px){.student-profile-modern{border-radius:12px}.student-profile-modern-head{grid-template-columns:1fr}.student-profile-head-data,.student-profile-balance{border-left:0;border-top:1px solid var(--profile-line)}.student-profile-identity,.student-profile-head-data,.student-profile-balance{padding:15px 16px}.student-profile-modern .student-profile-name{font-size:21px}.profile-summary-grid{grid-template-columns:1fr;padding:12px}.profile-movement-head{align-items:stretch;flex-direction:column;padding:12px 14px}.profile-filter-actions{justify-content:flex-start}.profile-date-field{flex:1;min-width:120px}.profile-timeline{padding:4px 10px 10px 45px}.profile-timeline:before{left:27px}.profile-timeline-marker{left:-36px;top:13px;width:28px;height:28px;border-width:4px}.profile-timeline-card{display:block;padding:9px 12px}.profile-timeline-card>div{padding:4px 0;border-right:0}.profile-movement-type{display:inline-block}.profile-movement-date{position:absolute;right:12px;top:10px;text-align:right}.profile-movement-cell{margin-top:3px}.profile-movement-value{margin:7px 0 0!important;width:max-content;min-width:0}.profile-cancel-btn{position:absolute;right:8px;bottom:8px}.profile-admin-actions{grid-template-columns:repeat(2,1fr);padding:12px}.profile-data-panel{margin:8px 12px 14px}.profile-data-panel-head{align-items:flex-start;flex-direction:column}.profile-data-grid{grid-template-columns:1fr}.profile-data-item{border-right:0;border-bottom:1px solid var(--profile-line)}.profile-data-item:last-child{border-bottom:0}.student-profile-modern-tabs{gap:18px;padding:0 12px}.profile-tab{font-size:12px}.resp-profile-full-modal .modal-body{padding:4px!important}}
.profile-timeline-marker svg{width:17px;height:17px}.profile-summary-icon svg{width:23px;height:23px}


/* ============================================================
   V17.10 — PORTAL DOS PAIS / PERFIL DO ALUNO — VISUAL SUTIL
   Apenas apresentação. Mantém dados, regras e handlers existentes.
   ============================================================ */
.parent-sidebar-v2{--pp-purple:#4b168d;--pp-purple-dark:#35105f;--pp-ink:#17133f;--pp-muted:#716c8f;--pp-line:#ebe8f2;--pp-bg:#f6f7fb;--pp-orange:#ff6d2d;--pp-green:#35842b}
.parent-shell-v2{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr);background:var(--pp-bg)}
.parent-sidebar-nav-v2{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#5a2097 0%,#3b116b 100%);padding:20px 13px;display:flex;flex-direction:column;color:#fff;z-index:15}
.parent-sidebar-brand-v2{padding:0 5px 20px}.parent-sidebar-brand-v2 img{display:block;width:100%;max-width:205px;height:auto;background:#fff;border-radius:16px;padding:10px;box-sizing:border-box}
.parent-sidebar-nav-v2 nav{display:flex;flex-direction:column;gap:5px}.parent-sidebar-nav-v2 nav button,.parent-sidebar-bottom-v2 button{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.92);display:flex;align-items:center;gap:13px;width:100%;padding:12px 13px;border-radius:10px;text-align:left;cursor:pointer;font:inherit}
.parent-sidebar-nav-v2 nav button span,.parent-sidebar-bottom-v2 button span{width:23px;height:23px;display:grid;place-items:center}.parent-sidebar-nav-v2 nav button svg,.parent-sidebar-bottom-v2 button svg{width:20px;height:20px}.parent-sidebar-nav-v2 nav button b,.parent-sidebar-bottom-v2 button b{font-size:14px;font-weight:700}
.parent-sidebar-nav-v2 nav button.active{background:linear-gradient(135deg,#ff7a2d,#ff6725);color:#fff;box-shadow:0 7px 18px rgba(29,8,58,.16)}
.parent-sidebar-bottom-v2{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.16)}
.parent-workspace-v2{min-width:0}.parent-topbar-v2{min-height:72px;background:#fff;border-bottom:1px solid #eceaf2;display:flex;align-items:center;justify-content:space-between;padding:0 28px;box-sizing:border-box;position:sticky;top:0;z-index:10}.parent-topbar-v2 h2{margin:0;color:var(--pp-ink);font-size:20px}.parent-topbar-v2 p{margin:3px 0 0;color:var(--pp-muted);font-size:12px}.parent-topbar-actions-v2{display:flex;align-items:center;gap:12px}.parent-date-chip-v2,.parent-user-chip-v2{height:42px;border:1px solid #e7e3f0;border-radius:11px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 13px;color:var(--pp-ink)}.parent-date-chip-v2 svg{width:18px;height:18px}.parent-date-chip-v2 b{font-size:13px}.parent-user-chip-v2>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f1e8fb;color:var(--pp-purple);font-weight:900}.parent-user-chip-v2 div{display:flex;flex-direction:column}.parent-user-chip-v2 b{font-size:12px}.parent-user-chip-v2 small{font-size:10px;color:var(--pp-muted)}
.parent-main-v2{padding:22px 26px 36px;min-width:0}.parent-main-v2 .pf-family-home-approved{max-width:none}
.parent-profile-page-v2{max-width:1420px;margin:0 auto;color:var(--pp-ink)}.parent-profile-breadcrumb{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.parent-profile-breadcrumb>button{border:1px solid #e5e1ed;background:#fff;color:var(--pp-ink);border-radius:9px;padding:9px 13px;cursor:pointer}.parent-profile-breadcrumb span{font-size:12px;color:var(--pp-muted)}.parent-profile-breadcrumb h1{margin:2px 0 2px;font-size:30px;letter-spacing:-.025em}.parent-profile-breadcrumb p{margin:0;color:var(--pp-muted);font-size:13px}
.parent-profile-student-head{background:#fff;border:1px solid #ece9f2;border-radius:15px;display:grid;grid-template-columns:1.3fr .9fr .75fr;align-items:center;min-height:84px;box-shadow:0 5px 18px rgba(48,31,81,.035);overflow:hidden}.parent-profile-student-head>div{padding:17px 22px}.parent-profile-student-head>div+div{border-left:1px solid #ece9f2}.parent-profile-student-head h2{margin:0;color:var(--pp-purple);font-size:23px}.parent-profile-student-head span{display:block;margin-top:4px;font-size:13px;color:#4d486a}.parent-profile-guardian small,.parent-profile-current-balance small{display:block;color:var(--pp-muted);font-size:11px;margin-bottom:6px}.parent-profile-guardian b{font-size:13px}.parent-profile-current-balance{background:linear-gradient(135deg,#fbf8ff,#f7f3fc)}.parent-profile-current-balance b{font-size:23px;color:var(--pp-purple)}
.parent-profile-panel-v2{margin-top:14px;background:#fff;border:1px solid #ece9f2;border-radius:16px;box-shadow:0 5px 18px rgba(48,31,81,.035);overflow:hidden}.parent-profile-tabline{display:flex;align-items:center;gap:40px;height:52px;padding:0 22px;border-bottom:1px solid #ece9f2}.parent-profile-tabline b{height:52px;display:flex;align-items:center;color:var(--pp-purple);border-bottom:3px solid var(--pp-orange);font-size:13px}.parent-profile-tabline span{font-size:13px;color:#625d7a;font-weight:600}
.parent-profile-summary-v2{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.parent-profile-summary-v2>div{min-height:70px;border-radius:13px;padding:13px 18px;display:flex;justify-content:center;flex-direction:column;border:1px solid rgba(80,56,117,.035)}.parent-profile-summary-v2 span{font-size:11px;color:#524e6c;margin-bottom:4px}.parent-profile-summary-v2 b{font-size:22px;line-height:1;color:var(--pp-ink)}.parent-profile-summary-v2 .soft-purple{background:linear-gradient(135deg,#f7f1fc,#fcfaff)}.parent-profile-summary-v2 .soft-purple b{color:var(--pp-purple)}.parent-profile-summary-v2 .soft-green{background:linear-gradient(135deg,#f5faf2,#fbfdf9)}.parent-profile-summary-v2 .soft-green b{color:#417b31}.parent-profile-summary-v2 .soft-orange{background:linear-gradient(135deg,#fff8f3,#fffdfb)}.parent-profile-summary-v2 .soft-orange b{color:#b94b2d}
.parent-profile-movement-head-v2{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:15px 18px 9px;border-top:1px solid #f0edf4}.parent-profile-movement-head-v2 h3{font-size:22px;margin:0 0 3px}.parent-profile-movement-head-v2 p{margin:0;color:var(--pp-muted);font-size:12px}.parent-profile-filters-v2{display:flex;align-items:flex-end;gap:9px}.parent-profile-filters-v2 label{font-size:11px;font-weight:700;color:#504b68;display:flex;align-items:center;gap:8px}.parent-profile-filters-v2 input,.parent-profile-filters-v2 select{height:40px;border:1px solid #ded9e8;border-radius:9px;background:#fff;color:#272243;padding:0 11px;min-width:155px}.parent-profile-filters-v2 .btn{height:40px;margin:0;background:var(--pp-orange)}
.parent-profile-timeline{position:relative;padding:5px 17px 14px 72px}.parent-profile-timeline:before{content:"";position:absolute;left:43px;top:14px;bottom:26px;width:2px;background:#ddd2ed}.parent-profile-timeline-row{position:relative;margin:0 0 9px}.parent-profile-marker{position:absolute;left:-48px;top:13px;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f7f3fb;border:4px solid #fff;color:var(--pp-purple);box-shadow:0 1px 7px rgba(62,32,101,.09);z-index:2}.parent-profile-marker svg{width:15px;height:15px}.parent-profile-timeline-row.recharge .parent-profile-marker,.parent-profile-timeline-row.payment .parent-profile-marker{color:#4b8b38;background:#f2f8ef}.parent-profile-tx-card{min-height:63px;display:grid;grid-template-columns:115px 125px minmax(280px,1fr) 130px;align-items:center;background:#fff;border:1px solid #e7e3ee;border-radius:12px;padding:0 13px;box-shadow:0 2px 8px rgba(53,34,87,.02)}.parent-profile-type span{display:inline-flex;align-items:center;justify-content:center;min-width:75px;padding:6px 9px;border-radius:8px;background:#f4edf9;color:var(--pp-purple);font-size:11px;font-weight:900}.parent-profile-timeline-row.recharge .parent-profile-type span,.parent-profile-timeline-row.payment .parent-profile-type span{background:#eff7ec;color:#407a31}.parent-profile-date{font-weight:700;font-size:12px;color:#48435f;border-left:1px solid #ece9f1;padding-left:15px}.parent-profile-main-detail{padding:8px 16px;border-left:1px solid #ece9f1}.parent-profile-main-detail>b{display:block;color:#17133f;font-size:15px;line-height:1.25;font-weight:900}.parent-profile-main-detail small{display:block;margin-top:5px;color:#837c99;font-size:10.5px;font-weight:500}.parent-profile-main-detail small i{font-style:normal;margin:0 5px;color:#c3bdcc}.parent-profile-main-detail em{display:block;margin-top:4px;color:#b84843;font-size:10px}.parent-profile-value{justify-self:end;min-width:92px;text-align:center;border-radius:9px;padding:7px 10px;font-weight:900;font-size:13px}.parent-profile-value.negative{background:#f7effa;color:var(--pp-purple)}.parent-profile-value.positive{background:#eef7eb;color:#2f7428}.parent-profile-timeline-row.canceled{opacity:.6}.parent-profile-empty{margin:15px 18px 22px;border:1px dashed #ddd7e7;border-radius:12px;padding:24px;text-align:center;color:#625c77}.parent-profile-empty b,.parent-profile-empty span{display:block}.parent-profile-empty span{margin-top:5px;font-size:12px}.parent-profile-footer-actions{display:flex;justify-content:flex-end;gap:8px;padding:8px 18px 18px}
@media(max-width:1100px){.parent-shell-v2{grid-template-columns:205px minmax(0,1fr)}.parent-sidebar-nav-v2{padding-inline:9px}.parent-sidebar-brand-v2 img{padding:8px}.parent-profile-tx-card{grid-template-columns:95px 105px minmax(220px,1fr) 115px}.parent-profile-summary-v2{grid-template-columns:1fr 1fr 1fr}.parent-topbar-v2{padding-inline:18px}.parent-main-v2{padding-inline:16px}}
@media(max-width:780px){.parent-shell-v2{display:block;padding-bottom:70px}.parent-sidebar-nav-v2{display:none}.parent-topbar-v2{position:relative;padding:10px 14px;min-height:64px}.parent-topbar-v2 p,.parent-date-chip-v2{display:none}.parent-user-chip-v2{height:38px;padding:0 9px}.parent-main-v2{padding:13px 10px 22px}.parent-profile-breadcrumb h1{font-size:24px}.parent-profile-breadcrumb>button{padding:8px 10px}.parent-profile-student-head{grid-template-columns:1fr}.parent-profile-student-head>div+div{border-left:0;border-top:1px solid #ece9f2}.parent-profile-summary-v2{grid-template-columns:1fr;padding:11px}.parent-profile-movement-head-v2{align-items:stretch;flex-direction:column}.parent-profile-filters-v2{align-items:stretch;flex-wrap:wrap}.parent-profile-filters-v2 label{flex:1;min-width:150px;flex-direction:column;align-items:flex-start}.parent-profile-filters-v2 input,.parent-profile-filters-v2 select{width:100%;min-width:0}.parent-profile-timeline{padding-left:48px;padding-right:10px}.parent-profile-timeline:before{left:26px}.parent-profile-marker{left:-37px}.parent-profile-tx-card{display:block;padding:10px 12px}.parent-profile-type,.parent-profile-date{display:inline-block;vertical-align:middle}.parent-profile-date{border-left:0;padding-left:10px}.parent-profile-main-detail{border-left:0;padding:9px 0 3px}.parent-profile-value{margin-top:7px;justify-self:auto;width:max-content}.parent-profile-tabline{gap:22px;padding-inline:13px}.parent-profile-footer-actions{justify-content:stretch}.parent-profile-footer-actions .btn{flex:1}.parent-sidebar-v2 .v13-family-mobile-nav{display:grid}}

.parent-topbar-logout-v2{height:38px;border:1px solid #e7e3f0;background:#fff;color:#5b5574;border-radius:9px;padding:0 11px;font-weight:700;cursor:pointer}.parent-topbar-logout-v2:hover{color:#4b168d;border-color:#d8cde8}
@media(max-width:780px){.parent-sidebar-v2 .v13-family-mobile-nav{display:flex!important;overflow-x:auto;grid-template-columns:none!important;justify-content:flex-start;gap:0}.parent-sidebar-v2 .v13-family-mobile-nav button{flex:0 0 88px;min-width:88px}.parent-topbar-logout-v2{width:38px;padding:0;font-size:0}.parent-topbar-logout-v2:after{content:"↪";font-size:17px}}


/* ============================================================
   V17.10 — CLIENTES/ALUNOS: fluxo Pesquisa -> Exibir -> Lista
   + dashboard com controles realmente funcionais
   ============================================================ */
.legacy-student-page-head{margin-bottom:14px}.legacy-student-page-actions{display:flex;gap:8px;align-items:center}.legacy-student-search-card,.legacy-student-results{background:#fff;border:1px solid #e4e2ec;border-radius:14px;box-shadow:0 4px 16px rgba(42,26,73,.035);overflow:hidden}.legacy-student-search-title{padding:13px 17px 10px;border-bottom:1px solid #eeeaf3}.legacy-student-search-title h2{margin:0;color:#17133e;font-size:18px}.legacy-student-search-title p{margin:7px 0 0;text-align:center;color:#625d78;font-size:12px}.legacy-filter-grid{display:grid;gap:18px;padding:14px 16px 0}.legacy-filter-grid.top{grid-template-columns:1fr 1fr 1fr}.legacy-filter-grid.bottom{grid-template-columns:1.05fr 1fr 1fr 1fr}.legacy-student-search-card .field{margin:0}.legacy-student-search-card .field label{font-size:11.5px;color:#25213f;font-weight:800;text-transform:none;letter-spacing:0;margin-bottom:6px}.legacy-student-search-card input,.legacy-student-search-card select{height:40px;border:1px solid #d9d6e3;border-radius:7px;background:#fff;padding:0 11px;color:#26213d}.legacy-more-filters{margin:12px 16px 0;border-top:1px solid #f0edf4;padding-top:8px}.legacy-more-filters summary{width:max-content;color:#5b248e;font-size:11.5px;font-weight:800;cursor:pointer;user-select:none}.legacy-more-filters-body{display:flex;align-items:flex-end;gap:8px;margin-top:10px}.legacy-more-filters-body .field{min-width:220px}.legacy-student-search-action{display:flex;justify-content:center;padding:12px 16px 16px}.legacy-student-search-action .btn{min-width:94px;border-radius:7px}.legacy-student-results{margin-top:14px}.legacy-student-results-head{background:linear-gradient(90deg,#f7f2fb,#fbf9fd);border-bottom:1px solid #e7e2ed;padding:12px 16px}.legacy-student-results-head h2{margin:0;color:#4d168d;font-size:18px}.legacy-student-results-head p{margin:4px 0 0;color:#5f5972;font-size:11.5px}.legacy-student-results-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px;border-bottom:1px solid #efecf3}.legacy-export-buttons{display:flex;gap:6px}.legacy-export-btn{height:32px;min-width:42px;border:1px solid #ddd8e6;border-radius:6px;background:#fff;font-size:10px;font-weight:900;cursor:pointer}.legacy-export-btn.excel{color:#2e7d32}.legacy-export-btn.pdf{color:#c62828}.legacy-results-search{display:flex;align-items:center;gap:7px;font-size:11px;color:#3d3853}.legacy-results-search input{height:32px;width:220px;border:1px solid #d7d3df;border-radius:5px;padding:0 9px}.legacy-student-table-wrap{overflow:auto}.legacy-student-table{width:100%;border-collapse:collapse;min-width:1100px;font-size:11.5px}.legacy-student-table th{background:#faf9fc;color:#28233e;font-size:10.5px;text-align:left;padding:10px 9px;border-bottom:1px solid #e7e3ec;white-space:nowrap}.legacy-student-table td{padding:10px 9px;border-bottom:1px solid #ece9f1;color:#332e49;vertical-align:middle}.legacy-student-table tbody tr:nth-child(odd){background:#fbfbfd}.legacy-student-table tbody tr:hover{background:#f7f2fb}.legacy-name-link{border:0;background:transparent;padding:0;color:#4f42ad;font:inherit;font-weight:700;text-align:left;cursor:pointer}.legacy-name-link:hover{text-decoration:underline;color:#6a1da8}.legacy-balance{font-variant-numeric:tabular-nums}.legacy-balance.neg{color:#c42b24}.legacy-balance.pos{color:#287a31}.legacy-balance.zero{color:#4f4a5e}
.v13-top-popover-wrap{position:relative}.v13-top-action{font:inherit;cursor:pointer}.v13-top-caret{font-size:12px;color:#7b748d;margin-left:4px}.v13-top-popover{position:absolute;right:0;top:calc(100% + 8px);width:190px;background:#fff;border:1px solid #e4dfeb;border-radius:12px;box-shadow:0 14px 35px rgba(31,19,56,.14);padding:8px;z-index:80;display:none}.v13-top-popover.open{display:block}.v13-top-popover>b{display:block;padding:8px 9px 7px;color:#3a3451;font-size:11px}.v13-top-popover button{display:block;width:100%;border:0;background:#fff;border-radius:8px;padding:9px 10px;text-align:left;color:#342d4c;font-size:12px;font-weight:700;cursor:pointer}.v13-top-popover button:hover{background:#f6f1fa;color:#5a1b93}.v13-top-popover.user{width:215px}.v13-popover-user{padding:8px 10px 9px;border-bottom:1px solid #eeeaf2;margin-bottom:4px}.v13-popover-user b,.v13-popover-user small{display:block}.v13-popover-user b{font-size:12px}.v13-popover-user small{margin-top:3px;color:#777188;font-size:10px}.v13-user-chip.v13-top-action{border:1px solid #e2dfea;text-align:left}.v12-mini-select-control{appearance:auto;cursor:pointer;border:1px solid #e2ddea!important;background:#fff!important;color:#514a68!important;padding:7px 28px 7px 10px!important;border-radius:10px!important}.v12-dash-date-button{border:1px solid #e3dfe9;cursor:pointer;text-align:left}.v12-dash-date-button:hover{border-color:#cfc2df;background:#fbf8fe}.v12-custom-period{display:flex;align-items:flex-end;gap:10px;background:#fff;border:1px solid #e5e1eb;border-radius:12px;padding:12px 14px;margin-bottom:14px}.v12-custom-period .field{margin:0;min-width:170px}.v12-custom-period input{height:38px}
@media(max-width:900px){.legacy-filter-grid.top,.legacy-filter-grid.bottom{grid-template-columns:1fr 1fr}.legacy-student-page-head{align-items:flex-start}.legacy-student-results-tools{align-items:stretch}.legacy-results-search input{width:180px}.v12-custom-period{flex-wrap:wrap}}
@media(max-width:620px){.legacy-filter-grid.top,.legacy-filter-grid.bottom{grid-template-columns:1fr}.legacy-student-page-head{display:block}.legacy-student-page-actions{margin-top:10px}.legacy-more-filters-body{align-items:stretch;flex-direction:column}.legacy-more-filters-body .field{min-width:0;width:100%}.legacy-student-results-tools{flex-direction:column}.legacy-results-search{justify-content:space-between}.legacy-results-search input{flex:1;width:auto}.v13-top-caret{display:none}.v13-top-popover{position:fixed;right:12px;top:68px}.v12-custom-period{display:grid;grid-template-columns:1fr}.v12-custom-period .field{min-width:0}}


/* V17_10 IMAGE QUALITY — FASE 1 + FASE 2 */
.approved-auth-visual img,.approved-parent-brand,.approved-team-icon,.approved-signature,.v13-family-brand img,.pf-family-approved-footer img{image-rendering:auto;-webkit-font-smoothing:antialiased;backface-visibility:hidden}
.pf-family-hero-photo{image-rendering:auto}


/* V17.10 FINAL APROVADA — filtros financeiros visíveis + cabeçalho limpo */
.v13-date-chip-static{cursor:default!important;user-select:none!important;pointer-events:none!important}
.legacy-financial-filter-row{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:end;margin-top:14px;padding:14px 16px;border-top:1px solid #EEE8F4;background:#FCFBFE;border-radius:0 0 12px 12px}
.legacy-financial-filter-row .field{margin:0!important}
.legacy-financial-situation select{min-height:42px!important}
.btn-negative-students{min-height:42px!important;border:1px solid #E9BDBA!important;background:#FFF7F7!important;color:#B52D29!important;border-radius:9px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;gap:9px!important;font-weight:800!important}
.btn-negative-students b{min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#F7D9D7;color:#A52723;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
.btn-negative-students:hover,.btn-negative-students.active{background:#FDEBEA!important;border-color:#DD8E89!important;color:#9F2521!important}
.btn-negative-students.active b{background:#C73630;color:#fff}
.legacy-clear-filters{min-height:42px!important}
@media(max-width:900px){.legacy-financial-filter-row{grid-template-columns:1fr 1fr}.legacy-financial-situation{grid-column:1/-1}.legacy-clear-filters,.btn-negative-students{width:100%!important}}


/* V17.10 — Meus filhos restaurado como tela própria */
.parent-children-page-v3{max-width:1420px;margin:0 auto;color:var(--pp-ink)}
.parent-children-head-v3{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.parent-children-head-v3 span{font-size:12px;color:var(--pp-muted)}.parent-children-head-v3 h1{margin:2px 0 4px;font-size:30px;letter-spacing:-.025em}.parent-children-head-v3 p{margin:0;color:var(--pp-muted);font-size:13px}.parent-children-head-v3>b{color:var(--pp-purple);font-size:13px;background:#f0e9f8;border:1px solid #e2d8ef;border-radius:999px;padding:7px 11px}
.parent-children-grid-v3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.parent-child-card-v3{background:#fff;border:1px solid #ece9f2;border-radius:15px;box-shadow:0 5px 18px rgba(48,31,81,.035);padding:18px}.parent-child-card-top-v3{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #efebf3}.parent-child-card-top-v3 h3{margin:0;color:var(--pp-purple);font-size:19px}.parent-child-card-top-v3 p{margin:4px 0 0;color:var(--pp-muted);font-size:12px}.parent-child-status-v3{font-size:10px;font-weight:900;color:#2f7b32;background:#edf7ed;border-radius:999px;padding:6px 9px}.parent-child-status-v3.pending{color:#8a5f13;background:#fff5df}
.parent-child-metrics-v3{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px}.parent-child-metrics-v3>div{border:1px solid #eeeaf3;background:#fbf9fd;border-radius:10px;padding:10px 11px}.parent-child-metrics-v3 small,.parent-child-last-v3 small{display:block;color:var(--pp-muted);font-size:10px;margin-bottom:4px}.parent-child-metrics-v3 b{font-size:14px}.parent-child-last-v3{margin-top:10px;border:1px solid #eeeaf3;border-radius:10px;padding:10px 11px}.parent-child-last-v3 b{font-size:12px}.parent-child-last-v3 span{display:block;margin-top:3px;color:var(--pp-muted);font-size:11px}.parent-child-actions-v3{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}.parent-child-actions-v3 .btn{min-width:116px}
@media(max-width:900px){.parent-children-grid-v3{grid-template-columns:1fr}.parent-child-metrics-v3{grid-template-columns:1fr 1fr}.parent-children-head-v3{align-items:flex-start;flex-direction:column}}


/* ============================================================
   V17.10C — Perfil do aluno no operador: leitura simplificada
   ============================================================ */
.student-profile-operator-clean{font-size:15px}
.student-profile-operator-clean .profile-head-clean{grid-template-columns:minmax(360px,1.35fr) minmax(390px,1.25fr) minmax(250px,.75fr);min-height:104px}
.student-profile-operator-clean .student-profile-identity,.student-profile-operator-clean .student-profile-guardian-main,.student-profile-operator-clean .profile-balance-clean{padding:20px 24px}
.student-profile-operator-clean .student-profile-name{font-size:29px;line-height:1.12}
.student-profile-operator-clean .student-profile-code{font-size:13px;margin-top:7px}
.student-profile-guardian-main{border-left:1px solid var(--profile-line);display:flex;flex-direction:column;justify-content:center;min-width:0}
.student-profile-guardian-main>span{font-size:11px;color:#7d7791;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.student-profile-guardian-main>b{font-size:17px;color:#211b45;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guardian-main-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px;color:#656078;font-size:12px}.guardian-main-meta strong{color:#252044}
.profile-balance-clean{border-left:1px solid var(--profile-line);display:flex;align-items:center;background:linear-gradient(135deg,#fbf8ff,#f6effd)}
.profile-balance-clean small{display:block;font-size:11px;color:#746d87;font-weight:800}.profile-balance-clean b{display:block;font-size:25px;margin:4px 0 8px}.profile-balance-clean .profile-status{display:inline-flex;font-size:10px}
.profile-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:20px 22px 0}.profile-section-title h3,.profile-actions-heading h3{margin:0;font-size:20px;color:#17133e}.profile-section-title p,.profile-actions-heading p{margin:4px 0 0;font-size:13px;color:#77728f}.profile-section-title>span{font-size:12px;font-weight:800;color:#6b6580}
.profile-summary-grid-clean{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 20px 18px}.profile-summary-grid-clean .profile-summary-card{min-height:86px}.profile-summary-grid-clean .profile-summary-card small{font-size:12px}.profile-summary-grid-clean .profile-summary-card b{font-size:23px}
.student-profile-operator-clean .profile-movement-head{padding:18px 22px 12px}.student-profile-operator-clean .profile-movement-head h3{font-size:21px}.student-profile-operator-clean .profile-movement-head p{font-size:13px}.student-profile-operator-clean .profile-date-field label{font-size:11px}.student-profile-operator-clean .profile-date-field input{font-size:13px}
.student-profile-operator-clean .profile-timeline{padding-top:8px}.student-profile-operator-clean .profile-timeline-card-clean{grid-template-columns:120px 140px minmax(320px,1fr) 140px auto;min-height:70px}.student-profile-operator-clean .profile-timeline-card>div{padding:12px 14px}.student-profile-operator-clean .profile-type-pill{font-size:11px}.student-profile-operator-clean .profile-movement-date b{font-size:14px}.student-profile-operator-clean .profile-movement-date span{font-size:11px}.student-profile-operator-clean .profile-movement-cell>span{font-size:10px}.student-profile-operator-clean .profile-movement-cell>b{font-size:14px;line-height:1.35}.student-profile-operator-clean .profile-movement-cell>small{font-size:11px;margin-top:5px;display:block;color:#8a8399}.student-profile-operator-clean .profile-movement-value{font-size:15px;font-weight:900}
.profile-actions-block{border-top:1px solid var(--profile-line);background:#fff;padding:18px 20px}.profile-actions-heading{margin-bottom:11px}.profile-admin-actions-clean{border:0;padding:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-admin-actions-clean .profile-action-btn{min-height:54px;font-size:13px}.profile-admin-actions-clean .profile-action-btn span{font-size:13px}
.profile-data-panel-clean{margin-top:16px}.profile-data-panel-clean .profile-data-panel-head h3{font-size:21px}.profile-data-panel-clean .profile-data-panel-head p{font-size:13px}.profile-registration-columns{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(520px,1.4fr);border-top:0}.profile-registration-section{padding:18px}.profile-registration-section+ .profile-registration-section{border-left:1px solid var(--profile-line)}.profile-registration-section h4{margin:0 0 12px;font-size:16px;color:#241d4b}.profile-data-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--profile-line);border-radius:10px;overflow:hidden}.profile-data-grid-clean .profile-data-item{padding:14px}.profile-data-grid-clean .profile-data-item span{font-size:11px}.profile-data-grid-clean .profile-data-item b{font-size:14px}.profile-data-grid-clean .profile-data-item.blocked{grid-column:1/-1}
.profile-guardian-grid-clean{grid-template-columns:1fr;gap:10px}.profile-guardian-card-clean{padding:14px 16px;background:#fff;border-color:#ded9e8}.profile-guardian-card-clean>span{font-size:10px;text-transform:uppercase;font-weight:800}.profile-guardian-card-clean>b{font-size:16px;margin-top:3px}.guardian-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin-top:12px}.guardian-contact-grid>div{min-width:0}.guardian-contact-grid small{display:block;font-size:10px;color:#817a91;margin-bottom:2px}.guardian-contact-grid strong{display:block;font-size:13px;color:#2c2747;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guardian-contact-grid .guardian-email{grid-column:1/-1}.profile-guardian-actions{margin-top:12px}
@media(max-width:1200px){.student-profile-operator-clean .profile-head-clean{grid-template-columns:1fr 1fr}.student-profile-operator-clean .profile-balance-clean{grid-column:1/-1;border-left:0;border-top:1px solid var(--profile-line)}.profile-registration-columns{grid-template-columns:1fr}.profile-registration-section+ .profile-registration-section{border-left:0;border-top:1px solid var(--profile-line)}.student-profile-operator-clean .profile-timeline-card-clean{grid-template-columns:110px 130px minmax(240px,1fr) 130px auto}}
@media(max-width:760px){.student-profile-operator-clean .profile-head-clean{grid-template-columns:1fr}.student-profile-guardian-main,.student-profile-operator-clean .profile-balance-clean{border-left:0;border-top:1px solid var(--profile-line)}.student-profile-operator-clean .student-profile-name{font-size:24px}.profile-summary-grid-clean{grid-template-columns:1fr}.profile-section-title{align-items:flex-start;flex-direction:column}.student-profile-operator-clean .profile-timeline-card-clean{display:block;padding:10px 12px}.profile-admin-actions-clean{grid-template-columns:1fr 1fr}.profile-registration-columns{display:block}.guardian-contact-grid{grid-template-columns:1fr}.guardian-contact-grid .guardian-email{grid-column:auto}}

/* ============================================================
   V17.10D — CLIENTES CADASTRADOS: PALETA LAVANDA APROVADA
   Alteração exclusivamente visual da lista de clientes/alunos.
   ============================================================ */
.legacy-student-results{
  background:#FFFFFF!important;
  border:1px solid #E2DDF1!important;
  border-radius:16px!important;
  box-shadow:0 6px 22px rgba(66,38,120,.045)!important;
}
.legacy-student-results-head{
  background:linear-gradient(90deg,#F7F4FC 0%,#F1ECFA 100%)!important;
  border-bottom:1px solid #E8E1F4!important;
  padding:15px 18px 14px!important;
}
.legacy-student-results-head h2{
  color:#35106F!important;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.legacy-student-results-head p{
  margin-top:5px!important;
  color:#5D5573!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
.legacy-student-results-tools{
  background:#FFFFFF!important;
  padding:11px 14px!important;
  border-bottom:1px solid #EEE9F6!important;
}
.legacy-export-btn{
  height:36px!important;
  min-width:48px!important;
  border:1px solid #DCD5EA!important;
  border-radius:8px!important;
  background:#FFFFFF!important;
  font-size:10.5px!important;
  box-shadow:0 1px 2px rgba(43,25,78,.025)!important;
}
.legacy-export-btn:hover{background:#FAF8FD!important;border-color:#CFC3E4!important}
.legacy-results-search{
  color:#21183A!important;
  font-size:12px!important;
  font-weight:800!important;
}
.legacy-results-search input{
  height:38px!important;
  width:260px!important;
  border:1px solid #D7CFE8!important;
  border-radius:10px!important;
  background:#FFFFFF!important;
  color:#2A2540!important;
  font-size:12.5px!important;
  padding:0 12px!important;
  outline:none!important;
}
.legacy-results-search input:focus{
  border-color:#8F70C5!important;
  box-shadow:0 0 0 3px rgba(94,43,154,.08)!important;
}
.legacy-student-table{
  font-size:12.5px!important;
  background:#FFFFFF!important;
}
.legacy-student-table th{
  background:#F2EFFA!important;
  color:#49415F!important;
  font-size:11px!important;
  font-weight:800!important;
  padding:12px 10px!important;
  border-bottom:1px solid #DDD6EC!important;
}
.legacy-student-table td{
  padding:12px 10px!important;
  border-bottom:1px solid #EAE5F2!important;
  color:#2B263D!important;
  background:transparent!important;
  line-height:1.35!important;
}
.legacy-student-table tbody tr,
.legacy-student-table tbody tr.student-row-negative{
  background:#FFFFFF!important;
}
.legacy-student-table tbody tr:nth-child(even),
.legacy-student-table tbody tr.student-row-negative:nth-child(even){
  background:#F8F6FC!important;
}
.legacy-student-table tbody tr:hover,
.legacy-student-table tbody tr.student-row-negative:hover{
  background:#F1ECFA!important;
}
.legacy-name-link{
  color:#4B1EAE!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.legacy-name-link:hover{
  color:#32107F!important;
  text-decoration:underline!important;
}
.legacy-balance{
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
}
.legacy-balance.neg,
.student-row-negative .student-finance-value{
  color:#D53224!important;
}
.legacy-balance.pos{color:#1F7A45!important}
.legacy-balance.zero{color:#5F5A6D!important}
.legacy-student-table input[type="checkbox"]{
  width:17px!important;
  height:17px!important;
  accent-color:#5C25A5!important;
}
@media(max-width:900px){
  .legacy-results-search input{width:210px!important}
  .legacy-student-table{font-size:12px!important}
}

/* ============================================================
   V17.10E — VENDAS + PDV NA PALETA LAVANDA APROVADA
   - Vendas segue a composição visual aprovada da referência 3.
   - PDV preserva o fluxo funcional e aproxima a estética da referência 2.
   ============================================================ */

/* ---------- VENDAS ---------- */
body[data-portal="staff"]:has(.sales-v18) .v13-main{
  background:
    radial-gradient(1100px 220px at 72% 0%,rgba(126,76,195,.11),transparent 64%),
    linear-gradient(180deg,#F8F6FC 0%,#F7F6FB 100%)!important;
  padding:22px 28px 30px!important;
}
.sales-v18{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#20163F;max-width:1550px;margin:0 auto}
.sales-v18-intro{padding:0 10px 18px}
.sales-v18-intro h1{margin:0 0 6px;font-size:31px;line-height:1.08;color:#261052;font-weight:900;letter-spacing:-.035em}
.sales-v18-intro p{margin:0;color:#5E5673;font-size:14px;line-height:1.55;max-width:980px}
.sales-v18-filters{display:grid;grid-template-columns:minmax(330px,1.55fr) minmax(210px,.8fr) minmax(190px,.72fr) minmax(210px,.8fr) 140px;gap:12px;align-items:center;background:#FFFFFF;border:1px solid #E2DDF1;border-radius:17px;padding:16px 18px;box-shadow:0 7px 24px rgba(70,38,120,.055)}
.sales-v18-search{height:52px;border:1px solid #D6CDE8;border-radius:12px;display:flex;align-items:center;background:#FFF;overflow:hidden;box-shadow:0 1px 2px rgba(49,31,84,.025)}
.sales-v18-search>span{width:48px;text-align:center;color:#6023A2;font-size:28px;line-height:1}
.sales-v18-search input{width:100%;height:50px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;font-size:14px;color:#302849;padding:0 12px 0 0}
.sales-v18-search input::placeholder{color:#756D86}
.sales-v18-filter{height:52px;border:1px solid #DAD2EA;border-radius:12px;display:flex;align-items:center;gap:9px;background:linear-gradient(180deg,#FFF,#FBFAFE);padding:0 12px;min-width:0}
.sales-filter-ico{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#F0E7FB;color:#6725A6;font-size:17px;flex:0 0 auto}
.sales-v18-filter>span:last-child{display:flex;flex-direction:column;min-width:0;flex:1}
.sales-v18-filter small{font-size:10.5px;font-weight:800;color:#362654;margin-bottom:1px}
.sales-v18-filter select{height:22px!important;min-height:22px!important;border:0!important;padding:0 23px 0 0!important;background-color:transparent!important;color:#312748!important;font-size:13px!important;font-weight:600!important;box-shadow:none!important;outline:0!important;width:100%}
.sales-v18-search-btn{height:52px;border:0;border-radius:12px;background:linear-gradient(135deg,#6722A5,#7C2BB5);color:#FFF;font-size:14px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 7px 17px rgba(96,31,156,.18)}
.sales-v18-search-btn:hover{filter:brightness(1.03);transform:translateY(-1px)}
.sales-v18-card{margin-top:17px;background:#FFF;border:1px solid #E2DDF1;border-radius:17px;box-shadow:0 7px 24px rgba(70,38,120,.045);overflow:hidden}
.sales-v18-card-head{display:flex;justify-content:space-between;align-items:center;padding:15px 21px;border-bottom:1px solid #ECE7F4;background:linear-gradient(90deg,#FFF 0%,#FCFBFE 100%)}
.sales-v18-card-head h2{margin:0;color:#2B145E;font-size:21px;font-weight:900;letter-spacing:-.02em}
.sales-v18-card-head p{margin:3px 0 0;color:#70677F;font-size:12px}
.sales-v18-export{height:39px;padding:0 15px;border:1px solid #D6CBE8;border-radius:10px;background:#FFF;color:#54228F;font-weight:850;display:flex;align-items:center;gap:8px;cursor:pointer}
.sales-v18-export:hover{background:#F8F4FC}
.sales-v18-table-wrap{overflow:auto;padding:0 20px}
.sales-v18-table{width:100%;border-collapse:collapse;min-width:930px;font-size:13px}
.sales-v18-table thead th{background:#EEE6FA;color:#4A237A;text-align:left;padding:11px 13px;font-size:11px;font-weight:900;letter-spacing:.015em;border-bottom:1px solid #DED3EE}
.sales-v18-table thead th:first-child{border-radius:9px 0 0 9px}.sales-v18-table thead th:last-child{border-radius:0 9px 9px 0;text-align:center}
.sales-v18-table td{padding:10px 13px;border-bottom:1px solid #ECE8F3;color:#2E2840;vertical-align:middle;background:#FFF}
.sales-v18-table tbody tr:nth-child(even) td{background:#FCFBFE}
.sales-v18-table tbody tr:hover td{background:#F7F3FC}
.sales-row-canceled{opacity:.56}.sales-row-canceled td{text-decoration:none!important}
.sales-student{display:flex;align-items:center;gap:10px;min-width:240px}.sales-student-ico{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#F2EAFB;color:#6B2AAA;font-size:20px;flex:0 0 auto}.sales-student b{display:block;color:#241944;font-size:13.5px;font-weight:900}.sales-student small{display:block;color:#746D82;font-size:11px;margin-top:2px}
.sales-v18-table .badge{border-radius:8px!important;padding:7px 10px!important;font-size:10.5px!important;font-weight:900!important;text-transform:uppercase!important;box-shadow:none!important}
.sales-v18-table .badge-amber{background:#F8EEDB!important;color:#875304!important;border:1px solid #F0DEC0!important}
.sales-v18-table .badge-green{background:#E8F5EC!important;color:#247C42!important;border:1px solid #D3EAD9!important}
.sales-v18-table .badge-blue{background:#E4F4F6!important;color:#067482!important;border:1px solid #D2ECEF!important}
.sales-v18-table .badge-coral{background:#FBECEA!important;color:#B94235!important;border:1px solid #F2D8D4!important}
.sales-desc{font-size:13px;color:#30283F}.sales-cancelled-note{display:block;color:#B84A3E;font-size:10px;font-weight:800;margin-top:3px}
.sales-value{font-size:15px;color:#5B2097;font-weight:900;white-space:nowrap}.sales-value.positive{color:#4F1D91}
.sales-v18-actions{width:40px;height:34px;border:1px solid #D9CDEB;border-radius:9px;background:#FBF9FE;color:#592294;font-weight:900;letter-spacing:2px;cursor:pointer}.sales-v18-actions:hover{background:#F0E8FA;border-color:#C4B1E0}.sales-v18-noaction{display:block;text-align:center;color:#A69CAF}
.sales-v18-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 17px;color:#625B70;font-size:12px}.sales-v18-pages{display:flex;gap:8px}.sales-v18-pages button{min-width:38px;height:38px;border:1px solid #D9CFEB;border-radius:10px;background:#FFF;color:#56218E;font-weight:850;cursor:pointer}.sales-v18-pages button.active{background:linear-gradient(135deg,#6722A5,#7A2AB2);border-color:#6722A5;color:#FFF}.sales-v18-pages button:disabled{opacity:.35;cursor:not-allowed}

/* ---------- PDV ---------- */
body[data-portal="staff"] .v17-pdv-focus{
  --pdv-purple:#55208F;
  --pdv-purple-dark:#35105F;
  --pdv-lav:#F2ECFA;
  --pdv-lav-2:#F8F5FC;
  --pdv-orange:#FF6B0B;
  --pdv-teal:#0299A7;
  --pdv-line:#DDD6EC;
  --pdv-bg:#F7F4FB;
  --pdv-ink:#231842;
}
body[data-portal="staff"] .v17-pdv-focus .v13-workspace,
body[data-portal="staff"] .v17-pdv-focus .v13-main{background:linear-gradient(180deg,#F8F6FC 0%,#F5F1FA 100%)!important}
body[data-portal="staff"] .v17-pdv-focus .v13-topbar{background:#FFF!important;border-bottom:1px solid #E8E1F2!important;box-shadow:0 3px 12px rgba(65,35,112,.025)!important}
body[data-portal="staff"] .v17-pdv-focus .v17-pdv-top-logo{display:none!important}
body[data-portal="staff"] .v17-pdv-focus .v13-top-title{display:block!important;border-left:0!important;padding-left:0!important;min-width:0!important}
body[data-portal="staff"] .v17-pdv-focus .v13-top-title h2{font-size:28px!important;color:#2C145D!important}
body[data-portal="staff"] .v17-pdv-focus .v13-top-title p{font-size:13px!important;color:#665C79!important}
body[data-portal="staff"] .v17-pdv-focus .v13-sidebar{background:linear-gradient(180deg,#531A7E 0%,#42145F 60%,#35104F 100%)!important;box-shadow:none!important}
body[data-portal="staff"] .v17-pdv-focus .v13-nav-btn.active{background:linear-gradient(135deg,#FF8A1E,#FF6B0B)!important;color:#FFF!important;box-shadow:0 6px 16px rgba(255,107,11,.21)!important;border-left:0!important}
body[data-portal="staff"] .v17-pdv-focus .v13-nav-btn:hover{background:rgba(255,255,255,.08)!important}
body[data-portal="staff"] .v17-pdv-focus .v13-main{padding:14px 18px 18px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-pdv{grid-template-columns:390px minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket,
body[data-portal="staff"] .v17-pdv-focus .fast-catalog{background:rgba(255,255,255,.96)!important;border:1px solid #DED6EC!important;border-radius:16px!important;box-shadow:0 7px 24px rgba(67,35,112,.055)!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket{padding:16px!important;top:86px!important;display:flex!important;flex-direction:column!important;min-height:calc(100vh - 112px)!important}
body[data-portal="staff"] .v17-pdv-focus .fast-catalog{padding:14px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-quick-product{display:none!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-head{padding:4px 2px 13px!important;border-bottom:1px solid #E9E4F1!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-head h3{font-size:19px!important;color:#421477!important}.v17-pdv-focus .fast-ticket-head span{background:#F1EAF9!important;color:#4F267D!important;border-radius:999px!important;padding:6px 9px!important;font-size:11px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-items{min-height:285px!important;max-height:36vh!important;flex:1!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-row{padding:12px 0!important;border-bottom-color:#ECE7F3!important}.v17-pdv-focus .fast-ticket-qty{background:#F1E9FA!important;color:#4F1E8D!important;border-radius:9px!important}.v17-pdv-focus .fast-ticket-name b{color:#241844!important;font-size:13px!important}.v17-pdv-focus .fast-ticket-name small{color:#6F687D!important}.v17-pdv-focus .fast-ticket-price{color:#049AA8!important;font-size:14px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-actions button{background:#FFF!important;border-color:#D8CEE8!important;color:#542190!important}.v17-pdv-focus .fast-ticket-actions button.danger{color:#E23A2D!important}
body[data-portal="staff"] .v17-pdv-focus .fast-ticket-summary{margin-top:auto!important;border-top:1px solid #E7E1EF!important;padding-top:9px!important}.v17-pdv-focus .fast-ticket-summary .grand{margin-top:3px!important;padding-top:12px!important}.v17-pdv-focus .fast-ticket-summary .grand span{color:#52208E!important;font-size:19px!important}.v17-pdv-focus .fast-ticket-summary .grand b{color:#FF5B00!important;font-size:29px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-client-search{border:1px solid #D7CDE7!important;border-radius:10px!important;background:#FFF!important;overflow:hidden!important}.v17-pdv-focus .fast-client-search button{background:linear-gradient(135deg,#6625A7,#54208F)!important;color:#FFF!important}.v17-pdv-focus .fast-client-search input{font-size:13px!important;color:#493F5D!important}
body[data-portal="staff"] .v17-pdv-focus .fast-client-help{font-size:11.5px!important;color:#675F78!important;line-height:1.45!important;padding:9px 3px 5px!important}
body[data-portal="staff"] .v17-pdv-focus .fast-shortcuts{gap:10px!important;margin-top:10px!important}.v17-pdv-focus .fast-shortcuts button{height:62px!important;border:1px solid #DCD3EA!important;border-radius:10px!important;background:#FFF!important;color:#4C207F!important;box-shadow:none!important}.v17-pdv-focus .fast-shortcuts span{font-size:12px!important}.v17-pdv-focus .fast-shortcuts b{background:#F1EAF8!important;color:#4D1E86!important}
body[data-portal="staff"] .v17-pdv-focus .fast-finalize{margin-top:12px!important;height:54px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,#FF6A00,#FF7E14)!important;color:#FFF!important;display:grid!important;grid-template-columns:34px 1fr 42px!important;align-items:center!important;gap:8px!important;padding:0 12px!important;font-size:15px!important;cursor:pointer!important;box-shadow:0 7px 17px rgba(255,105,0,.20)!important}.v17-pdv-focus .fast-finalize b{font-size:15px!important}.v17-pdv-focus .fast-finalize kbd{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:7px!important;padding:5px 6px!important;font-family:inherit!important;color:#FFF!important}.v17-pdv-focus .fast-finalize:hover{filter:brightness(1.03)!important}
body[data-portal="staff"] .v17-pdv-focus .fast-catalog-top{grid-template-columns:auto 1fr auto!important;gap:13px!important;align-items:end!important}.v17-pdv-focus .fast-date label{color:#2F2450!important;font-size:12px!important}.v17-pdv-focus .fast-date input{border-color:#D9CFE8!important;border-radius:9px!important;background:#FFF!important}.v17-pdv-focus .fast-catalog-status{color:#612499!important;font-size:11.5px!important;font-weight:700!important}.v17-pdv-focus .fast-reorder{background:linear-gradient(135deg,#6724A7,#55208F)!important;border-radius:10px!important;box-shadow:none!important}
body[data-portal="staff"] .v17-pdv-focus .fast-categories{gap:7px!important;margin:10px 0 11px!important}.v17-pdv-focus .fast-category{height:39px!important;background:#F3EEFA!important;border:1px solid #E6DFF0!important;border-radius:9px!important;color:#3E2466!important}.v17-pdv-focus .fast-category:hover{background:#EBE1F7!important}.v17-pdv-focus .fast-category.active{background:linear-gradient(135deg,#6C2CAD,#54218F)!important;color:#FFF!important;border-color:#6427A4!important;box-shadow:none!important}
body[data-portal="staff"] .v17-pdv-focus .fast-search{height:44px!important;border:1px solid #D8CFE7!important;border-radius:10px!important;background:#FFF!important;margin-bottom:13px!important}.v17-pdv-focus .fast-search span{color:#6325A2!important}.v17-pdv-focus .fast-search input{font-size:13px!important;color:#51465F!important}
body[data-portal="staff"] .v17-pdv-focus .fast-products{grid-template-columns:repeat(5,minmax(132px,1fr))!important;gap:10px!important}.v17-pdv-focus .fast-product{padding:7px!important;border:1px solid #DED7EA!important;border-radius:11px!important;background:#FFF!important;box-shadow:0 3px 11px rgba(58,35,94,.035)!important}.v17-pdv-focus .fast-product:hover{border-color:#BBA7D7!important;box-shadow:0 7px 18px rgba(69,43,108,.08)!important}.v17-pdv-focus .fast-product-img{height:120px!important;border-radius:8px!important;background-color:#FBFAFD!important}.v17-pdv-focus .fast-product-img i{background:#61249E!important}.v17-pdv-focus .fast-product-copy b{font-size:12px!important;line-height:1.25!important;color:#2A184B!important}.v17-pdv-focus .fast-product-copy small{font-size:10.5px!important;color:#777086!important}.v17-pdv-focus .fast-product-copy span{font-size:14.5px!important;color:#0299A7!important}
body[data-portal="staff"] .v17-pdv-focus .fast-selected-footer{background:#F7F2FB!important;border-color:#E1D8EC!important;color:#5E5572!important}

@media(max-width:1380px){
  .sales-v18-filters{grid-template-columns:1.35fr .8fr .72fr .8fr 125px}
  body[data-portal="staff"] .v17-pdv-focus .fast-pdv{grid-template-columns:350px minmax(0,1fr)!important}
  body[data-portal="staff"] .v17-pdv-focus .fast-products{grid-template-columns:repeat(4,minmax(120px,1fr))!important}
}
@media(max-width:1050px){
  .sales-v18-filters{grid-template-columns:1fr 1fr}.sales-v18-search{grid-column:1/-1}.sales-v18-search-btn{grid-column:2}.sales-v18-filter{min-width:0}
}
@media(max-width:760px){
  body[data-portal="staff"]:has(.sales-v18) .v13-main{padding:14px 10px 22px!important}.sales-v18-intro{padding:0 4px 12px}.sales-v18-intro h1{font-size:25px}.sales-v18-filters{grid-template-columns:1fr;padding:12px}.sales-v18-search,.sales-v18-search-btn{grid-column:auto}.sales-v18-card-head{align-items:flex-start}.sales-v18-export span{display:none}.sales-v18-footer{align-items:flex-start;gap:12px;flex-direction:column}.sales-v18-table-wrap{padding:0 10px}
  body[data-portal="staff"] .v17-pdv-focus .fast-finalize{position:sticky!important;bottom:8px!important;z-index:4!important}
}

/* V17.10F — perfil do operador: ações logo após identificação; transações em seguida */
.student-profile-operator-clean .profile-actions-block{margin:14px 0 16px;padding:14px 16px;border:1px solid #e7e0f0;border-radius:14px;background:#fff}
.student-profile-operator-clean .profile-actions-heading{margin-bottom:10px}
.student-profile-operator-clean .profile-actions-heading h3{margin:0 0 2px;font-size:16px}
.student-profile-operator-clean .profile-actions-heading p{margin:0;font-size:12px}
.student-profile-operator-clean .profile-admin-actions-clean{gap:8px}
.student-profile-operator-clean .profile-action-btn{min-height:48px;padding:10px 12px}
.student-profile-operator-clean .profile-transactions-title{margin-top:4px}
.student-profile-operator-clean .profile-summary-grid-clean{margin-bottom:14px}
.student-profile-operator-clean .profile-movement-head{margin-top:0}


/* V17.10G — dados cadastrais embutidos no perfil do aluno */
.student-profile-operator-clean .profile-head-clean{
  grid-template-columns:minmax(340px,1.2fr) minmax(390px,1.35fr) minmax(230px,.7fr);
}
.student-profile-operator-clean .profile-embedded-registration{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(420px,.9fr) minmax(560px,1.35fr);
  border-top:1px solid var(--profile-line);
  background:#fff;
}
.profile-embedded-student-data,.profile-embedded-guardians{padding:16px 22px}
.profile-embedded-guardians{border-left:1px solid var(--profile-line)}
.profile-embedded-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.profile-embedded-title h3{margin:0 0 2px;font-size:16px;color:#241d4b}
.profile-embedded-title p{margin:0;font-size:12px;color:#7c7590}
.profile-embedded-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e8e1f0;border-radius:10px;overflow:hidden;background:#fbfaff}
.profile-embedded-fields>div{padding:11px 12px;border-right:1px solid #ece6f2}
.profile-embedded-fields>div:nth-child(4){border-right:0}
.profile-embedded-fields span,.profile-embedded-guardian-row span{display:block;font-size:10px;color:#7c7590;margin-bottom:3px}
.profile-embedded-fields b{font-size:13px;color:#20183f}
.profile-embedded-fields .profile-embedded-blocked{grid-column:1/-1;border-top:1px solid #ece6f2;border-right:0}
.profile-embedded-guardian-list{display:flex;flex-direction:column;gap:7px}
.profile-embedded-guardian-row{display:grid;grid-template-columns:minmax(170px,1.3fr) 130px 150px minmax(180px,1.2fr) auto;align-items:center;gap:12px;padding:9px 10px;border:1px solid #e8e1f0;border-radius:10px;background:#fbfaff}
.profile-embedded-guardian-name small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#6f2dbd;font-weight:800;margin-bottom:2px}
.profile-embedded-guardian-name b,.profile-embedded-guardian-row strong{font-size:12px;color:#20183f;line-height:1.25;overflow-wrap:anywhere}
.profile-embedded-empty{padding:12px;border:1px dashed #ddd4e8;border-radius:10px;color:#7c7590;font-size:12px}
.student-profile-operator-clean .profile-actions-block{margin-top:14px}
@media(max-width:1200px){
  .student-profile-operator-clean .profile-embedded-registration{grid-template-columns:1fr}
  .profile-embedded-guardians{border-left:0;border-top:1px solid var(--profile-line)}
  .profile-embedded-guardian-row{grid-template-columns:minmax(180px,1.4fr) 130px 150px minmax(180px,1fr) auto}
}
@media(max-width:850px){
  .profile-embedded-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-embedded-fields>div{border-bottom:1px solid #ece6f2}
  .profile-embedded-guardian-row{grid-template-columns:1fr 1fr}
  .profile-embedded-guardian-email{grid-column:1/-1}
}
@media(max-width:560px){
  .profile-embedded-fields{grid-template-columns:1fr}
  .profile-embedded-guardian-row{grid-template-columns:1fr}
  .profile-embedded-guardian-email{grid-column:auto}
}


/* V17.10H - Perfil do aluno inspirado no modelo operacional anterior */
body[data-portal="staff"] .legacy-student-profile{font-family:Inter,Segoe UI,Arial,sans-serif;color:#24183d}
body[data-portal="staff"] .legacy-profile-panel{background:#fff;border:1px solid #ded9e8;border-top:3px solid #6b2ca0;border-radius:10px;overflow:hidden;box-shadow:0 4px 18px rgba(50,28,83,.045)}
body[data-portal="staff"] .legacy-profile-toprow{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:14px 16px 12px;border-bottom:1px solid #ebe7f0;background:linear-gradient(180deg,#fff 0%,#fcfaff 100%)}
body[data-portal="staff"] .legacy-profile-title h2{margin:0;color:#4f178d;font-size:22px;line-height:1.05;font-weight:900;letter-spacing:-.02em}body[data-portal="staff"] .legacy-profile-title p{margin:5px 0 0;color:#4e4860;font-size:12px}.legacy-code{color:#81778e}
body[data-portal="staff"] .legacy-profile-top-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:920px}.legacy-date-pair{display:flex;gap:5px}.legacy-date-pair input{height:34px;border:1px solid #d7d2df;border-radius:6px;padding:0 8px;color:#383047;background:#fff;font-size:11px}.legacy-profile-top-actions .btn{height:34px;padding:0 11px;border-radius:6px;font-size:11px;font-weight:800}.legacy-profile-top-actions .btn-primary{background:#55218f;color:#fff;border-color:#55218f}.legacy-profile-top-actions .btn-warning{background:#f28b22;color:#fff;border-color:#f28b22}
body[data-portal="staff"] .legacy-responsible-section{padding:14px 16px 10px}.legacy-responsible-section h3{margin:0 0 10px;font-size:14px;color:#2f2244}.legacy-responsible-grid{display:grid;grid-template-columns:1.25fr .8fr .9fr 1.5fr;gap:14px}.legacy-responsible-grid>div span,.legacy-registration-row span,.legacy-rules-row span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.035em;color:#7b7188;font-weight:800;margin-bottom:3px}.legacy-responsible-grid>div b,.legacy-registration-row b,.legacy-rules-row b{font-size:12px;color:#2d2637}.legacy-other-guardians{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px dashed #e3deea;font-size:10px;color:#72677f}.legacy-other-guardians button{border:1px solid #ddd5e7;background:#faf7fd;color:#55218f;border-radius:999px;padding:4px 7px;font-size:9px;cursor:pointer}
body[data-portal="staff"] .legacy-registration-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;padding:0 16px 12px}.status-active-text{color:#188347!important}.status-inactive-text{color:#c43d35!important}.legacy-options-title{padding:0 16px 7px;font-size:13px;font-weight:900;color:#342648}.legacy-options-row{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 14px}.legacy-option-btn{min-width:100px;height:62px;padding:7px 10px;border:1px solid #ded9e7;border-radius:7px;background:#fbfafd;color:#4a3d5b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:800;cursor:pointer}.legacy-option-btn svg{width:19px;height:19px;color:#6b2ca0}.legacy-option-btn:hover{border-color:#bca7d5;background:#f7f1fd}.legacy-option-btn.primary-option{background:#f1e8fb;border-color:#ccb4e5;color:#55218f}.legacy-rules-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 16px;padding:12px 0;border-top:1px solid #ece8f0}.legacy-period-selected{padding:10px 16px;border-top:1px solid #f0edf3;color:#6b2ca0;font-size:10.5px;background:#fdfbff}
body[data-portal="staff"] .legacy-current-balance{display:inline-flex;margin:14px 0 10px;background:#f1e8fb;color:#55218f;border:1px solid #ccb5e4;border-radius:6px;padding:8px 12px;font-weight:900;font-size:14px}.legacy-current-balance b{margin-left:5px}.legacy-profile-timeline{position:relative;padding-left:26px}.legacy-profile-timeline:before{content:'';position:absolute;left:10px;top:7px;bottom:8px;width:2px;background:#e7ddef}.legacy-profile-entry{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;margin-bottom:10px}.legacy-profile-entry-icon{position:relative;z-index:1;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#6b2ca0;color:#fff;font-size:12px}.legacy-profile-entry.consumo .legacy-profile-entry-icon{background:#f28b22}.legacy-profile-entry.credito .legacy-profile-entry-icon,.legacy-profile-entry.pagamento .legacy-profile-entry-icon{background:#1894a5}.legacy-profile-entry.estorno .legacy-profile-entry-icon{background:#d95149}.legacy-profile-entry-card{border:1px solid #e3dfe8;background:#fff;border-radius:7px;overflow:hidden}.legacy-profile-entry-head{min-height:35px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeeaf2}.legacy-profile-entry-head>b{font-size:12px;color:#40334e}.legacy-profile-entry-head>span{background:#6b2ca0;color:#fff;border-radius:4px;padding:5px 8px;font-size:9px;font-weight:800}.legacy-profile-entry.consumo .legacy-profile-entry-head>span{background:#f28b22}.legacy-profile-entry-body{padding:9px 10px;color:#3d3546;font-size:10.5px;line-height:1.5}.legacy-profile-entry-body strong{font-size:9px;color:#5d5268}.legacy-profile-entry-foot{display:flex;align-items:center;gap:8px;padding:0 10px 9px}.legacy-entry-value{display:inline-flex;padding:4px 7px;border-radius:4px;background:#efe9f7;color:#55218f;font-weight:900;font-size:9px}.legacy-entry-value.positive{background:#e7f5f0;color:#187a50}.legacy-entry-cancel{border:0;background:transparent;color:#c43d35;text-decoration:underline;font-size:9px;cursor:pointer}.legacy-cancelled-note{color:#c43d35;font-weight:900}.legacy-profile-entry.cancelled{opacity:.55}.legacy-profile-empty{padding:20px;border:1px dashed #d8cfdf;border-radius:8px;background:#fff;text-align:center;color:#746b80}
@media(max-width:1100px){body[data-portal="staff"] .legacy-profile-toprow{display:block}.legacy-profile-top-actions{margin-top:12px;justify-content:flex-start!important}.legacy-responsible-grid{grid-template-columns:1fr 1fr!important}}@media(max-width:680px){body[data-portal="staff"] .legacy-responsible-grid,.legacy-registration-row,.legacy-rules-row{grid-template-columns:1fr!important}.legacy-date-pair{width:100%}.legacy-date-pair input{min-width:0;flex:1}.legacy-option-btn{flex:1 1 30%}.legacy-profile-title h2{font-size:18px}}
