/* All layout rules are scoped to the Lv1 multi-record dialog. */
.edu493-modal .modal-box {width:min(1180px,calc(100vw - 32px));max-width:1180px;}
.edu493 {color:#203653;font-size:14px;}
.edu493 [hidden] {display:none !important;}
.edu493 h3,.edu493 p {margin:0;}
.edu493-intro {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;}
.edu493-intro p,.edu493-evaluation p {font-size:12px;color:#627591;line-height:1.6;margin:7px 0;}
.edu493-intro > button {flex:none;}
#edu493Notice:not(:empty) {padding:10px 12px;background:#edf5ff;border:1px solid #b6cff1;border-radius:6px;margin-bottom:12px;white-space:pre-line;}
#edu493Notice.edu493-error {background:#fff1ef;border-color:#edb0a6;color:#923527;}
.edu493-workspace {display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:start;}
.edu493-list {padding:12px;background:#f6f8fc;border:1px solid #d9e1ec;border-radius:8px;}
.edu493-list h3 {font-size:14px;padding:0 2px 12px;}
#edu493Rows {max-height:420px;overflow:auto;scrollbar-gutter:stable;}
.edu493 .edu493-row {display:block;width:100%;text-align:left;border:1px solid transparent;border-radius:6px;background:transparent;padding:10px;margin:0 0 5px;color:#263e5f;cursor:pointer;}
.edu493-row b,.edu493-row span,.edu493-row small {display:block;overflow-wrap:anywhere;}
.edu493-row span,.edu493-row small {margin-top:4px;font-size:12px;color:#65748a;}
.edu493 .edu493-row.selected {background:#fff;border-color:#6b8ccf;box-shadow:0 1px 3px #24437312;}
.edu493-row:hover {background:#edf2fb;}
#edu493Pager {display:flex;align-items:center;justify-content:center;gap:10px;margin-top:10px;}
.edu493-editor {min-width:0;border:1px solid #d9e1ec;border-radius:8px;padding:16px;}
.edu493-editor-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
.edu493-editor-head h3 {font-size:15px;overflow-wrap:anywhere;}
.edu493 .edu493-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;}
.edu493 .edu493-fields > label {display:flex;flex-direction:column;gap:6px;margin:0;min-width:0;font-size:12px;font-weight:600;}
.edu493 .edu493-fields > label > span {line-height:18px;min-height:18px;}
.edu493 .edu493-fields input:not([type=checkbox]),.edu493 .edu493-fields select {width:100%;height:38px;min-height:38px;max-height:38px;margin:0;box-sizing:border-box;padding:7px 10px;font:inherit;font-size:13px;}
.edu493 .edu493-fields input[type=file] {padding:6px;height:40px;max-height:40px;}
.edu493 .edu493-fields textarea {width:100%;min-height:90px;box-sizing:border-box;margin:0;padding:10px;resize:vertical;font:inherit;font-size:13px;}
.edu493 .edu493-fields small {font-weight:400;color:#65748a;line-height:1.5;}
.edu493 .edu493-wide {grid-column:1 / -1;}
.edu493 .edu493-fields > .edu493-check {flex-direction:row;align-items:center;justify-content:flex-start;align-self:end;min-height:38px;gap:8px;}
.edu493 .edu493-check input[type=checkbox] {width:16px;height:16px;min-height:16px;margin:0;flex:0 0 16px;}
.edu493-file {display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #e5ebf3;}
.edu493-file > span {flex:1;min-width:0;overflow-wrap:anywhere;}
.edu493-file small {display:block;color:#68788e;font-size:11px;margin-top:3px;}
.edu493-file > .btn {flex:none;}
.edu493-empty {padding:14px 0;color:#6b7890;font-size:12px;line-height:1.7;}
.edu493-evaluation {border:1px solid #d9e1ec;border-radius:8px;padding:14px;margin-top:16px;}
.edu493-evaluation summary {cursor:pointer;font-weight:600;}
.edu493-evaluation > button {margin-top:12px;}
.edu493-actions {display:flex;align-items:center;gap:10px;border-top:1px solid #e0e6ef;margin-top:18px;padding-top:14px;}
.edu493-actions > span {flex:1;color:#65748a;font-size:12px;}
.edu493 .btn {white-space:nowrap;min-height:36px;}
.edu493 button:focus-visible,.edu493 a:focus-visible {outline:2px solid #355fb2;outline-offset:2px;}
@media(max-width:760px) {
 .edu493-workspace {grid-template-columns:1fr;}
 #edu493Rows {max-height:180px;}
 .edu493-actions {flex-wrap:wrap;}
 .edu493-actions > span {flex-basis:100%;}
}
@media(max-width:480px) {
 .edu493 .edu493-fields {grid-template-columns:1fr;}
 .edu493-intro {flex-direction:column;}
 .edu493-file {flex-wrap:wrap;}
 .edu493-file > span {flex-basis:100%;}
}
/* Override the older shared control rule only inside this dialog. */
#modal.edu493-modal .modal-box {width:min(1180px,calc(100vw - 32px)) !important;max-width:1180px !important;}
#modal #edu493Form .edu493-fields :is(input,select):not([type=checkbox],[type=file]) {height:38px !important;min-height:38px !important;max-height:38px !important;margin:0 !important;}
#modal #edu493Form .edu493-fields input[type=file] {height:auto !important;min-height:38px !important;max-height:none !important;margin:0 !important;}
#modal #edu493Form .edu493-check input[type=checkbox] {width:16px !important;height:16px !important;min-height:16px !important;margin:0 !important;}
@media(max-width:760px) {
 #modal #edu493Form .edu493-fields :is(input,select):not([type=checkbox],[type=file]) {height:44px !important;min-height:44px !important;max-height:44px !important;}
}
