/* Apoio ao Professor - v5.7: camada de disciplinas, compatível com CSS anteriores */
.v57-topline,.v57-suggest-head,.v57-list-head,.v57-custom-title{display:flex;align-items:center;justify-content:space-between;gap:15px}
.v57-topline{margin:0 0 15px}.v57-topline h3,.v57-suggest-head h3,.v57-list-head h3,.v57-custom-title h3{color:#163653;font-size:1.2rem;margin:0;font-weight:800;letter-spacing:-.018em;line-height:1.3}
.v57-topline p,.v57-suggest-head p{margin:5px 0 0;color:#657f92;font-size:.87rem;line-height:1.5}
.v57-badge{padding:8px 12px;border:1px solid #cae6dc;background:#e7f6f0;color:#0c7369;border-radius:999px;white-space:nowrap;font-size:.78rem;font-weight:800}
.v57-suggest-box{padding:21px 23px;background:#f7fafb;border:1px solid #d7e5ed;border-radius:16px;margin-bottom:16px}
.v57-suggest-head{margin-bottom:15px}.v57-suggest-icon{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e2f2ee;color:#117d74;font-size:1.45rem}
.v57-stage-row{display:flex;align-items:flex-end;gap:15px;margin-bottom:18px}.v57-stage-row .v57-field{flex:0 1 355px}.v57-stage-row>small{color:#668296;max-width:420px;font-size:.8rem;line-height:1.45;margin-bottom:7px}
.v57-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#173650;font-size:.85rem;font-weight:750}.v57-field input,.v57-field select{box-sizing:border-box;display:block;width:100%;height:44px;min-width:0;padding:9px 12px;border:1px solid #cbdbe5;border-radius:10px;background:#fff;color:#263f5a;font-size:.94rem;font-weight:450}.v57-field input:focus,.v57-field select:focus{outline:2px solid #a2dcd2;border-color:#0d8075;outline-offset:0}
.v57-suggest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v57-option{box-sizing:border-box;display:flex;gap:9px;align-items:center;min-height:42px;padding:10px 11px;border:1px solid #d9e5ec;background:#fff;border-radius:10px;font-size:.84rem;color:#23445f;line-height:1.4;cursor:pointer}.v57-option span{flex:1}.v57-option input{accent-color:#0d8074;flex:none;width:17px;height:17px;margin:0}.v57-option.is-selected{background:#e8f5f1;border-color:#95cebe;color:#11695d}.v57-option.is-existing{background:#f2f5f7;color:#8597a8;cursor:default}.v57-option small{font-size:.65rem;color:#638c7e}
.v57-select-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:13px 0 12px}.v57-select-actions .btn{min-height:34px;padding:7px 10px;font-size:.78rem}.v57-select-actions span{font-size:.78rem;color:#6c8293;margin-left:auto}.v57-add-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #e1e9ee;padding-top:12px}.v57-add-actions .btn{min-height:43px}.v57-add-actions small{color:#647e91;font-size:.78rem;line-height:1.4}
.v57-custom-box{background:white;border:1px solid #dbe6ed;border-radius:14px;padding:17px 20px;margin-bottom:19px}.v57-custom-title{margin-bottom:13px}.v57-custom-title small{font-size:.78rem;color:#71899c}.v57-custom-form{display:flex;gap:10px;align-items:flex-end}.v57-custom-form .v57-field{flex:1}.v57-custom-form .btn{height:44px;white-space:nowrap}
.v57-error{background:#fff3ef;border:1px solid #edbfbb;border-radius:10px;color:#aa3730;padding:11px;font-size:.83rem;margin:0 0 12px}.v57-list-head{margin:0 0 12px}.v57-list-head span{font-size:.8rem;color:#73899c}
.v57-empty{border:1px dashed #bed9d3;border-radius:12px;background:#fdfefe;padding:24px 12px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:8px}.v57-empty span{color:#139083;font-size:1.7rem}.v57-empty strong{color:#173750}.v57-empty p{margin:0;font-size:.84rem;color:#72879c}
.v57-subject-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v57-subject-card{background:#fff;border:1px solid #dae5ec;border-radius:12px;min-width:0;overflow:hidden;box-shadow:0 3px 12px #183f5108}.v57-subject-summary{display:flex;gap:11px;align-items:center;padding:11px 12px}.v57-subject-color{background:var(--tone,#137a72);border-radius:7px;width:11px;align-self:stretch;flex:none}.v57-subject-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.v57-subject-info strong{font-size:.95rem;color:#1b3855;overflow-wrap:anywhere}.v57-subject-info small{color:#7890a1;font-size:.77rem}.v57-subject-actions{display:flex;gap:6px;flex:none}.v57-subject-actions .btn{min-height:35px;font-size:.79rem;padding:7px 10px}
.v57-edit-panel{background:#f8fafc;border-top:1px solid #e0e8ed;padding:13px 14px}.v57-edit-grid{margin-bottom:11px}.v57-edit-grid .field{margin:0}.v57-edit-grid input{min-height:43px}.v57-palette-label{color:#1a3a56;font-size:.83rem;font-weight:750;margin:8px 0}.v57-palette{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 15px}.v57-swatch{width:27px;height:27px;border-radius:50%;background:var(--swatch);border:3px solid #fff;box-shadow:0 0 0 1px #b9cbd6;cursor:pointer}.v57-swatch.active{box-shadow:0 0 0 2px #0f8076,0 0 0 4px #fff}.v57-swatch:focus-visible{outline:3px solid #153855;outline-offset:3px}
.v57-advanced-toggle{border:0;background:transparent;color:#15506b;font-size:.82rem;font-weight:750;text-align:left;cursor:pointer;padding:8px 0}.v57-advanced-toggle>span{color:#0b8478;margin-right:6px}.v57-advanced-fields{display:flex;flex-direction:column;gap:11px;border-top:1px solid #dfe8ed;margin-top:4px;padding-top:12px}.v57-advanced-fields .field{margin:0}.v57-advanced-fields .field input{max-width:200px}.v57-advanced-fields small{color:#688295;font-size:.78rem;line-height:1.45}.v57-check{display:flex;gap:8px;align-items:center;font-size:.83rem;color:#27495e}.v57-check input{accent-color:#0c8074;width:17px;height:17px}
.v57-note{border-left:3px solid #91cbba;background:#eef7f2;color:#397467;border-radius:10px;padding:11px 13px;margin-top:16px;font-size:.82rem;line-height:1.45}
@media(min-width:1100px) and (max-height:840px){.v57-suggest-box{padding:15px 18px}.v57-option{min-height:39px;padding:8px 10px}.v57-suggest-grid{gap:7px}.v57-custom-box{padding:13px 17px}}
@media(max-width:1100px){.v57-suggest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v57-custom-title{align-items:flex-start;flex-direction:column;gap:3px}}
@media(max-width:770px){.v57-stage-row{align-items:stretch;flex-direction:column;gap:7px}.v57-stage-row .v57-field{flex:auto}.v57-stage-row>small{margin-bottom:3px}.v57-suggest-box{padding:14px 13px}.v57-custom-box{padding:15px 13px}.v57-subject-cards{grid-template-columns:1fr}.v57-add-actions>.btn{width:100%}.v57-custom-form{flex-wrap:wrap}.v57-custom-form>.v57-field{flex:1 1 100%}.v57-custom-form>.btn{width:100%}.v57-subject-summary{flex-wrap:wrap}.v57-subject-actions{margin-left:auto}.v57-topline h3{font-size:1.08rem}}
@media(max-width:440px){.v57-suggest-grid{grid-template-columns:1fr}.v57-option{min-height:40px}.v57-select-actions span{width:100%;margin-left:0}.v57-topline{align-items:flex-start}.v57-badge{font-size:.72rem;padding:6px 8px}.v57-suggest-icon{display:none}}
@media print{.v57-suggest-box,.v57-custom-box,.v57-subject-actions,.v57-edit-panel{display:none!important}}
