.order375-tools{display:flex;gap:4px;padding:8px;align-items:center;justify-content:flex-end}.order375-handle{cursor:grab!important;touch-action:none;font-size:20px!important}.order375-dragging{opacity:.55;outline:2px dashed #60a5fa}.wave375{display:grid;place-content:center;min-height:340px}.wave375 button{display:grid;justify-items:center;gap:10px;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.wave375 strong{font-size:28px}.wave375 small{color:var(--muted)}.device375{display:block;max-width:280px;overflow-wrap:anywhere;font-size:10px}.guide375 li{margin:10px 0;line-height:2}.academic375-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.academic375-bars{display:grid;gap:10px}.academic375-bar{display:flex;gap:12px;align-items:center}.academic375-bar span{min-width:150px}.academic375-bar meter{flex:1;min-width:80px;height:22px}.academic375-map{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.academic375-map label{display:grid;gap:5px}.academic375-wrap{overflow:auto}.academic375-wrap table{min-width:750px}
html[data-theme="dark"]{color-scheme:dark;--bg:#101827;--surface:#182337;--card:#182337;--text:#e7edf7;--muted:#aebcd0;--border:#34455e;--line:#34455e;--light:#202e44;--soft:#202e44}
html[data-theme="dark"] :is(.card,.card-head,.card-body,.modal,.modal-heading,dialog,.catalog-group,.catalog-group>summary,.catalog-controls,.catalog-group-tools,.teacher-card,.personnel-card,.presence-card,.program-card,.rule-card,.stat,.stats,.table-footer,.read-only-profile,.profile-photo-card,.personnel-access-guide,.permission-shortcuts,.form-grid,.settings-layout>section){background-color:#182337;color:#e7edf7;border-color:#34455e}
html[data-theme="dark"] :is(table,thead,tbody,tr,td,th,.entity-table,.university-slot-grid,.catalog-table,.slot-absent){background-color:#182337;color:#e7edf7;border-color:#34455e}
html[data-theme="dark"] :is(thead th,.catalog-group>summary,.card-head,.slot-enabled){background-color:#21324a;color:#edf3ff}
html[data-theme="dark"] :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea,option,.search-box,.topbar-search){background-color:#101a2b;color:#edf3ff;border-color:#4a5d78}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#9baac0}
html[data-theme="dark"] :is(.muted,.form-help,.card small,.card-body label,.compact-card-meta,.catalog-filter>span,.catalog-group-subtitle,.presence-card small,.table-footer,.entity-cell-label,.read-only-profile label){color:#b6c4d8}
html[data-theme="dark"] :is(.card h1,.card h2,.card h3,.card strong,.card b,.personnel-name,.personnel-title,.teacher-name,.catalog-group-title,.guide375 li,.guide375 p,.read-only-profile b,.presence-card p,.entity-table td,.rule-description){color:#e7edf7}
html[data-theme="dark"] :is(.btn:not(.primary):not(.danger),.pill:not(.green):not(.amber):not(.blue),.catalog-group-label){background-color:#25364f;color:#e7edf7;border-color:#4a5d78}
html[data-theme="dark"] :is(.notice,.notice.info,.form-info){background:#16334b;color:#d3edff;border-color:#326587}html[data-theme="dark"] .form-error{color:#ffaca7}html[data-theme="dark"] .danger{color:#ffb8b3}html[data-theme="dark"] .pill.green{background:#123d36;color:#a3f2cf}html[data-theme="dark"] .pill.amber{background:#45351c;color:#ffda91}html[data-theme="dark"] .pill.blue{background:#193653;color:#badbff}
html[data-theme="dark"] [style*="background: white"],html[data-theme="dark"] [style*="background:#fff"],html[data-theme="dark"] [style*="background: #fff"]{background-color:#182337!important;color:#e7edf7!important}
html[data-theme="dark"] :is(.university-slot-toggle,.slot-disabled,.slot-cell-actions){background:#25364f;color:#edf3ff}
@media(max-width:650px){.order375-tools{padding:5px}.academic375-bar span{min-width:100px}.wave375{min-height:280px}}

html[data-theme="dark"] :is(.r362-birthday-list article,.ws-sidebar-profile,.teacher-document-slot,.teacher-document-group,.s49-section,.s49-kpi,.chart-card,.md-filters,.rule-card,.slot-label,.ws-panel-guard,.mobile-drag-targets,.mobile-drag-targets button){background:#1c2b41!important;color:#e7edf7!important;border-color:#41536c!important}
html[data-theme="dark"] :is(.r362-birthday-list strong,.r362-birthday-list small,.program-card p,.program-card small,.rule-card p,.rule-card small,.presence-card label,.catalog-group-title strong,.catalog-group-meta,.slot-label,.slot-label small,.teacher-document-slot strong,.teacher-document-slot small,.ws-tabs button){color:#dce7f7!important}
html[data-theme="dark"] :is(.ws-kpi,.s49-kpi) :is(strong,p,small,span:not(.stat-icon)){color:#dce7f7!important}
html[data-theme="dark"] .r370-online .card-head{background:#1d3935!important;background-image:none!important;color:#e7edf7!important}
html[data-theme="dark"] :is(.table-wrap,.catalog-table-wrap,.ws-panel-body,.academic375-wrap){background:#182337;color:#e7edf7}
html[data-theme="dark"] #content table td{color:#e0e9f6!important}
html[data-theme="dark"] :is(.catalog-group-title small,.catalog-group-meta,.compact-card-meta span){color:#b7c9e2!important}
html[data-theme="dark"] .compact-card-meta span{background:#24364d!important;border-color:#41536c!important}
html[data-theme="dark"] .degree-associate{color:#b9ccff!important}html[data-theme="dark"] .degree-bachelor{color:#ffb4ad!important}
html[data-theme="dark"] :is(.rule-card,.rule-description,.rules-table) :is(p,small){color:#dce7f7!important}

.order375-target{outline:2px solid #f59e0b!important;outline-offset:2px}
/* Ordering belongs to each row's existing actions, without another grid cell. */
.order375-tools{display:inline-flex;flex:0 0 auto;gap:2px;padding:0;margin:0;align-items:center;justify-content:center;vertical-align:middle}
.order375-tools .btn{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;height:32px;min-height:32px;padding:4px!important;font-size:14px!important}
.order375-tools svg{width:17px;height:17px;flex-shrink:0}
.order375-tools .btn:focus-visible{outline:2px solid var(--ap-primary,#245d90);outline-offset:2px}
.personnel-row .personnel-actions{align-items:center;max-width:370px}
.teacher-profile-footer .row-actions,.entity-actions .row-actions{align-items:center;flex-wrap:wrap}
.ws-tabs{flex-wrap:wrap;gap:6px}
.ws-tabs button{flex:0 0 auto;white-space:nowrap}
.ws-tabs>span{margin-inline-start:auto}
@media(max-width:650px){.order375-tools .btn{width:36px;min-width:36px;height:38px;min-height:38px}.personnel-row .personnel-actions{max-width:100%}.ws-tabs{gap:5px}.ws-tabs button{padding:8px 10px;font-size:11px}.ws-tabs>span{width:100%;margin-inline-start:0}.academic375-wrap{max-width:100%}}
html[data-theme="dark"] #content .entity-cell-value{color:#e0e9f6!important}
html[data-theme="dark"] #content .entity-cell-value small{color:#b7c9e2!important}
html[data-theme="dark"] #content td :is(strong,small){color:#dce7f7!important}
