.discipline-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.discipline-tabs button{border:0;border-radius:999px;padding:11px 17px;background:#dfe9f7;color:#021a53;font-weight:800;cursor:pointer}.discipline-tabs button.active{background:#021a53;color:white}.form-grid,.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:14px}.catalog fieldset{border:1px solid #cbd8e8;border-radius:12px;padding:12px}.catalog-item{display:flex;gap:8px;padding:7px;border-bottom:1px solid #edf2f7;font-size:14px}.panel-head,.case-title,.discipline-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.discipline-row{border:1px solid #d8e2ee;border-radius:14px;padding:16px;margin:10px 0;background:white}.discipline-row h3{margin:8px 0 4px}.discipline-row p{margin:4px 0}.discipline-row small{display:block}.case-open{cursor:pointer}.case-open:hover{border-color:#1d5aa6;box-shadow:0 5px 20px #021a5318}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status-dot{font-size:12px;font-weight:800;padding:6px 9px;border-radius:999px}.status-dot.ok{background:#dff5e8;color:#16754a}.status-dot.pending{background:#fff1ce;color:#8b5b00}.badge.danger,.btn.danger{background:#fee2e2;color:#991b1b}.stagebar{height:10px;background:#dce6f2;border-radius:99px;margin:14px 0 24px;overflow:hidden}.stagebar span{height:100%;display:block;background:linear-gradient(90deg,#021a53,#2e6fc2)}details{border:1px solid #d8e2ee;border-radius:14px;padding:16px;margin:18px 0}summary{font-weight:800;color:#021a53;cursor:pointer;margin-bottom:16px}.timeline article{border-left:4px solid #2e6fc2;padding:6px 12px;margin:12px 0}.document{display:inline-block;padding:10px 14px;margin:5px;border-radius:9px;background:#eaf2fb;color:#021a53;font-weight:700}.report-head{display:flex;align-items:center;gap:16px;border-bottom:5px solid #021a53;margin:25px 0 15px}.report-head img{width:60px}.empty{text-align:center;color:#667085;padding:30px}textarea{min-height:90px}.panel form input,.panel form textarea,.panel form select{margin-bottom:9px}.conduct-student{border:1px solid #b9c7d8;border-radius:14px;overflow:hidden;margin:16px 0;background:#fff}.conduct-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#021a53;color:#fff;padding:13px 16px}.conduct-head h3{margin:0 0 3px;font-size:18px}.conduct-total{font-weight:800;white-space:nowrap}.conduct-body{padding:4px 16px}.conduct-detail{padding:12px 0;border-top:1px solid #dbe3ed}.conduct-detail:first-child{border-top:0}.conduct-detail p{margin:4px 0}.conduct-meta{color:#5a6a80;font-size:13px}.section-picker-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 10px}.section-picker-head>div{display:flex;gap:12px}.link-button{border:0;background:none;color:#174a8b;font-weight:800;cursor:pointer;padding:5px}.section-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px;padding:14px;border:1px solid #cbd8e8;border-radius:14px;background:#f7faff}.section-choice{display:flex;align-items:center;gap:9px;border:1px solid #d7e2ef;border-radius:10px;background:#fff;padding:10px 12px;font-weight:800;color:#021a53;cursor:pointer}.section-choice input{width:18px;height:18px;margin:0}.batch-status{margin-top:16px;padding:12px 14px;border-radius:10px;background:#f3f6fa}.batch-status.busy{color:#174a8b;background:#e7f0fb;font-weight:800}.batch-status.ok{color:#116b42;background:#e8f7ef;font-weight:800}.batch-status.error{color:#9b1c1c;background:#feecec;font-weight:800}@media(max-width:800px){.form-grid,.case-grid,.catalog{grid-template-columns:1fr}.panel-head,.case-title,.discipline-row,.conduct-head{align-items:flex-start;flex-direction:column}.conduct-total{white-space:normal}}@media print{header,.hero,.tabs,.actions,button,.panel>h2,.panel>p,.field{display:none!important}.page,.panel{max-width:none;padding:0;border:0;box-shadow:none}#periodReport{display:block!important}.conduct-student{break-inside:avoid}}
