.ga-student-search{display:flex;gap:10px;margin-bottom:20px}.ga-student-search input{flex:1;padding:12px 14px;border:1px solid #d7dee8;border-radius:8px;font-size:14px}.ga-students-table th{white-space:nowrap}.ga-students-table td{vertical-align:middle}.ga-student-name{display:flex;align-items:center;gap:11px;min-width:210px}.ga-student-name b,.ga-student-name small{display:block}.ga-student-name b{color:#17253b}.ga-student-name small{color:#8490a2;margin-top:3px;font-size:11px}.ga-list-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:10px;overflow:hidden;background:#e8eef7;display:grid;place-items:center;color:#1f589f;font-weight:900}.ga-list-avatar img{width:100%;height:100%;object-fit:cover}.ga-edit-link{display:inline-flex;padding:7px 12px;border-radius:7px;background:#eaf1fb;color:#15529b!important;font-weight:800;text-decoration:none}.ga-back-link{color:#43516a;text-decoration:none;font-weight:700}.ga-student-form{padding:0;display:grid;grid-template-columns:230px 1fr;overflow:hidden}.ga-form-photo{padding:28px;background:#f7f9fc;border-right:1px solid #e4e9f0;display:flex;flex-direction:column;gap:14px;align-items:center}.ga-photo-preview{width:170px;height:210px;border-radius:13px;overflow:hidden;background:#e5ebf3;display:grid;place-items:center;color:#8592a5;font-size:11px;font-weight:900}.ga-photo-preview img{width:100%;height:100%;object-fit:cover}.ga-upload{display:block;width:100%;padding:10px;border:1px dashed #9eacc0;border-radius:8px;text-align:center;color:#315887;font-weight:800;cursor:pointer;box-sizing:border-box}.ga-upload input{display:none}.ga-form-photo>a{font-size:12px;text-align:center}.ga-form-main{padding:28px}.ga-form-main h2{font-size:17px;margin:0 0 20px;color:#17253b}.ga-student-form label>span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:800;color:#68768b;margin-bottom:6px}.ga-student-form input,.ga-student-form select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #d5dde7;border-radius:8px;background:#fff;color:#17253b;min-height:42px}.ga-student-form input:focus,.ga-student-form select:focus{outline:0;border-color:#2763aa;box-shadow:0 0 0 3px #2763aa18}.ga-full{display:block;margin-bottom:16px}.ga-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ga-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:28px;padding-top:20px;border-top:1px solid #e4e9f0}.ga-form-actions>a{color:#667085;text-decoration:none}.ga-form-actions .ga-button{min-width:150px}@media(max-width:900px){.ga-student-form{grid-template-columns:1fr}.ga-form-photo{border-right:0;border-bottom:1px solid #e4e9f0}.ga-photo-preview{width:150px;height:180px}}@media(max-width:600px){.ga-form-grid{grid-template-columns:1fr}.ga-form-main{padding:20px}.ga-student-search{display:block}.ga-student-search button{width:100%;margin-top:8px}.ga-page-title .ga-button,.ga-back-link{display:inline-block;margin-top:14px}.ga-students-table th:nth-child(2),.ga-students-table td:nth-child(2),.ga-students-table th:nth-child(3),.ga-students-table td:nth-child(3),.ga-students-table th:nth-child(5),.ga-students-table td:nth-child(5){display:none}}

/* Relatórios e históricos integrados */
.ga-reports-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.ga-report-list{position:sticky;top:90px;padding:16px}.ga-report-list .ga-student-search{display:grid;grid-template-columns:1fr auto;margin-bottom:10px}.ga-report-count{display:block;font-size:11px;color:#7a879a;margin:8px 2px 12px;font-weight:800}.ga-report-students{display:flex;flex-direction:column;gap:6px;max-height:70vh;overflow:auto}.ga-report-student{display:block;padding:12px;border:1px solid #e3e8ef;border-radius:10px;text-decoration:none;background:#fff}.ga-report-student:hover,.ga-report-student.active{border-color:#2a65ac;background:#f1f6fd;box-shadow:0 4px 14px #153c6c12}.ga-report-student b,.ga-report-student span{display:block}.ga-report-student b{color:#16243a;font-size:13px}.ga-report-student span{color:#7d899a;font-size:11px;margin-top:4px}.ga-report-profile{min-width:0}.ga-report-empty{min-height:360px;background:#fff;border:1px dashed #cfd8e5;border-radius:16px;display:grid;place-items:center;align-content:center;text-align:center;padding:30px;color:#718096}.ga-report-empty b{font-size:20px;color:#26364e;margin-bottom:8px}.ga-report-empty span{max-width:460px}.ga-report-hero{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:18px;background:linear-gradient(135deg,#fff,#f5f8fc);border:1px solid #e1e7ef;border-radius:16px;padding:22px;margin-bottom:14px}.ga-report-avatar{width:78px;height:78px;border-radius:16px;overflow:hidden;background:#0b2854;color:#fff;display:grid;place-items:center;font-size:30px;font-weight:900}.ga-report-avatar img{width:100%;height:100%;object-fit:cover}.ga-report-hero h1{margin:3px 0 6px;font-size:25px}.ga-report-hero p{margin:0;color:#68768b}.ga-report-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.ga-report-mini-stats>div{background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:16px}.ga-report-mini-stats b,.ga-report-mini-stats span{display:block}.ga-report-mini-stats b{font-size:21px;color:#15253c}.ga-report-mini-stats span{font-size:11px;color:#7b8799;margin-top:5px}.ga-report-data{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:18px;overflow:hidden}.ga-report-data summary{cursor:pointer;padding:16px 20px;font-weight:900;color:#23344c;background:#f8fafc}.ga-report-profile-edit{padding:20px}.ga-report-profile-edit label>span,.ga-inline-history-form label{font-size:11px;font-weight:800;color:#65748a}.ga-report-profile-edit input,.ga-report-profile-edit select,.ga-inline-history-form input{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #d5dde7;border-radius:8px;background:#fff;min-height:39px}.ga-report-help{font-size:12px;color:#8a5d20;background:#fff8e8;border-radius:8px;padding:9px 12px}.ga-history-manager{display:flex;flex-direction:column;gap:18px}.ga-history-card{background:#fff;border:1px solid #e1e7ef;border-radius:15px;padding:20px;box-shadow:0 4px 14px #071a3807}.ga-history-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.ga-history-title span{font-size:10px;letter-spacing:1.3px;color:#8d6d0d;font-weight:900}.ga-history-title h2{font-size:18px;margin:3px 0 0}.ga-history-title>b{font-size:11px;background:#eef3f9;color:#55657a;padding:7px 10px;border-radius:999px}.ga-inline-history-form{display:grid;grid-template-columns:140px minmax(180px,1.4fr) 130px minmax(180px,1fr) auto;gap:10px;align-items:end;padding:14px;background:#f7f9fc;border:1px solid #e5eaf1;border-radius:11px;margin-bottom:15px}.ga-inline-history-form label{display:flex;flex-direction:column;gap:5px}.ga-inline-history-form label.wide{grid-column:span 2}.ga-inline-history-form>a{align-self:center;font-size:12px}.ga-row-actions{white-space:nowrap}.ga-row-actions a{display:inline-block;margin-right:8px;font-weight:800;text-decoration:none;color:#1d5ca7}.ga-row-actions a.danger{color:#c33f49}.ga-empty-history{color:#7c8899;margin:10px 0 0}.ga-history-manager .ga-table td{vertical-align:middle}.ga-student-form+.ga-card{margin-top:22px}.ga-student-form~.ga-history-manager{margin-top:22px}
@media(max-width:1100px){.ga-reports-layout{grid-template-columns:1fr}.ga-report-list{position:static}.ga-report-students{max-height:300px}.ga-inline-history-form{grid-template-columns:1fr 1fr}.ga-inline-history-form .ga-button{width:100%}}
@media(max-width:650px){.ga-report-hero{grid-template-columns:58px 1fr}.ga-report-avatar{width:58px;height:58px}.ga-report-hero .ga-edit-link{grid-column:1/-1;text-align:center}.ga-report-mini-stats{grid-template-columns:1fr}.ga-inline-history-form{grid-template-columns:1fr}.ga-inline-history-form label.wide{grid-column:auto}.ga-report-list .ga-student-search{grid-template-columns:1fr}.ga-report-list .ga-student-search button{margin-top:0}.ga-history-title{align-items:flex-start;flex-direction:column}}

/* Editor de foto do aluno */
.ga-photo-editor{width:100%;box-sizing:border-box;background:#fff;border:1px solid #dce3ec;border-radius:12px;padding:12px}.ga-photo-editor[hidden]{display:none!important}.ga-photo-editor-head{display:flex;flex-direction:column;gap:2px;margin-bottom:9px}.ga-photo-editor-head b{font-size:13px;color:#1c2c43}.ga-photo-editor-head span{font-size:10px;color:#23804b;font-weight:800}.ga-photo-editor canvas{display:block;width:100%;height:auto;aspect-ratio:34/42;touch-action:none;border-radius:9px;border:1px solid #d7dee8;cursor:grab;background:#eef2f6}.ga-photo-editor canvas:active{cursor:grabbing}.ga-photo-zoom{display:block;margin-top:10px}.ga-photo-zoom span{display:block;font-size:10px;font-weight:900;color:#65748a;margin-bottom:5px;text-transform:uppercase}.ga-photo-zoom input{width:100%}.ga-photo-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px}.ga-photo-editor-actions button{border:1px solid #ccd6e2;background:#f7f9fc;color:#315887;border-radius:7px;padding:7px 6px;font-size:10px;font-weight:800;cursor:pointer}.ga-photo-editor-actions button:last-child{grid-column:1/-1}.ga-photo-editor>small{display:block;margin-top:8px;line-height:1.35;color:#758296}.ga-delete-student{color:#b4232d!important;font-weight:800}.ga-delete-student-button{margin-left:auto}.ga-financial-form select{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #d5dde7;border-radius:8px;background:#fff;min-height:39px}.ga-month-total{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:11px 16px;text-align:right}.ga-month-total span,.ga-month-total b{display:block}.ga-month-total span{font-size:10px;color:#7a8798;font-weight:800}.ga-month-total b{font-size:20px;color:#173053;margin-top:2px}
/* Editor de foto v1.8.4 — remoção conservadora e correção manual */
.ga-photo-tolerance,.ga-photo-brush-size{display:grid;grid-template-columns:1fr auto;gap:5px 8px;align-items:center;margin-top:10px}.ga-photo-tolerance span,.ga-photo-brush-size span{grid-column:1/-1;font-size:10px;font-weight:900;color:#65748a;text-transform:uppercase}.ga-photo-tolerance input,.ga-photo-brush-size input{width:100%;min-height:auto}.ga-photo-tolerance output{font-size:10px;font-weight:900;color:#315887;min-width:24px;text-align:right}.ga-photo-tools{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.ga-photo-tools button{border:1px solid #ccd6e2;background:#f7f9fc;color:#315887;border-radius:7px;padding:8px 6px;font-size:10px;font-weight:800;cursor:pointer}.ga-photo-tools button:last-child{grid-column:1/-1}.ga-photo-tools button.active{background:#1f5fa9;color:#fff;border-color:#1f5fa9}.ga-photo-editor canvas.ga-brush-active{cursor:crosshair}.ga-photo-editor-actions button:last-child{grid-column:auto}.ga-photo-editor-actions{grid-template-columns:1fr 1fr 1fr}
.ga-photo-editor-actions{grid-template-columns:1fr 1fr}.ga-photo-editor-actions button:last-child{grid-column:auto}
