.tt-workspace { display:grid; gap:14px; min-width:0; color:#102958; }
.tt-workspace .card { min-width:0; margin:0; }
.tt-hero { display:flex; align-items:center; gap:16px; flex-wrap:wrap; background:linear-gradient(110deg,#f6fbff,#e5efff 63%,#eadfff); }
.tt-hero>img { width:54px; height:54px; object-fit:contain; }
.tt-hero>div { flex:1; }
.tt-hero h1,.tt-calendar h2,.tt-settings-card h2 { color:#102453; margin:0 0 4px; }
.tt-hero p,.tt-calendar header p { margin:0; color:#466184; }
.tt-tabs,.tt-actions,.tt-period { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.tt-tabs button[aria-pressed=true] { background:#195cc4; color:white; }
.tt-period { justify-content:space-between; gap:12px; }
.tt-period .tt-field { width:min(100%,460px); }
.tt-field { display:grid; min-width:0; gap:4px; color:#213f67; font-size:13px; font-weight:700; }
.tt-field :is(input,select,textarea) { width:100%; min-width:0; min-height:38px; border:1px solid #b9cee9; border-radius:8px; background:#fdfdff; padding:7px 9px; font:inherit; color:#102958; }
.tt-field textarea { resize:vertical; }
.tt-controls,.tt-form,.tt-settings-card { display:grid; gap:12px; }
.tt-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.tt-filters { grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); }
.tt-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:12px 0; }
.tt-metrics .card { display:grid; grid-template-columns:1fr; gap:2px; padding:12px; background:#f2f7ff; }
.tt-metrics strong { font-size:23px; color:#103c80; }
.tt-metrics small,.tt-metrics span { color:#466184; font-size:12px; }
.tt-calendar>header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-bottom:12px; }
.tt-calendar>header .tt-actions { align-items:end; }
.tt-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
.tt-day { background:#f6f9ff; border:1px solid #d8e5f5; border-radius:10px; min-width:0; padding:5px; }
.tt-day>header { display:flex; flex-wrap:wrap; justify-content:space-between; gap:3px; padding:4px 3px 7px; color:#193b65; }
.tt-day>header span,.tt-empty-day { color:#4d6585; font-size:11px; }
.tt-empty-day { margin:7px 3px; }
.tt-lesson { width:100%; display:grid; gap:3px; min-width:0; text-align:left; border:1px solid #d9e3f0; border-left:4px solid var(--tt-lesson,#2464c6); border-radius:6px; padding:6px; margin-bottom:5px; background:white; color:#142e55; font:inherit; font-size:12px; overflow-wrap:anywhere; }
button.tt-lesson { cursor:pointer; }
button.tt-lesson:hover,button.tt-lesson:focus-visible { border-color:var(--tt-lesson,#2464c6); background:#edf5ff; }
.tt-lesson.is-cancelled { background:#f4f3f7; border-left-color:#657181; }
.tt-lesson strong { font-size:13px; line-height:1.15; }
.tt-time { font-variant-numeric:tabular-nums; font-weight:750; color:#163960; }
.tt-free { padding:5px; background:#e7f6f0; border-radius:6px; color:#145741; font-size:11px; display:grid; gap:2px; }
.tt-note { margin:9px 0; border-radius:9px; padding:10px 12px; background:#edf4ff; color:#355777; }
.tt-workspace [data-tt-body] { min-width:0; }
.tt-settings { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.tt-settings-card { align-content:start; }
.tt-settings-card p { margin:0; }
.tt-room-list,.tt-loads { list-style:none; margin:4px 0; padding:0; }
.tt-room-list li,.tt-loads li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 0; border-bottom:1px solid #d8e5f5; }
.tt-room-list li div { display:grid; gap:2px; }
.tt-loads { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr)); max-height:220px; overflow:auto; gap:0 12px; }
.tt-dialog { width:min(820px,100%); }
.tt-dialog :is(fieldset,legend) { min-width:0; }
.tt-weekdays,.tt-windows { display:flex; flex-wrap:wrap; gap:8px 14px; margin:0; border:1px solid #c6d9ef; border-radius:10px; padding:10px; }
.tt-weekdays label,.tt-check { display:flex; align-items:center; gap:6px; }
.tt-draft-groups>div { width:100%; max-height:200px; overflow:auto; display:grid; gap:7px; }
.tt-draft-groups input { flex:none; }
.tt-windows>div { flex-basis:100%; }
.tt-window { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:7px; padding:8px; margin:0 0 7px; background:#f1f6fe; border-radius:8px; }
.tt-window-days { grid-column:1/-1; margin:0; padding:7px 9px; border:1px solid #c6d9ef; border-radius:8px; }
.tt-window-days legend { padding:0 4px; color:#213f67; font-size:13px; font-weight:700; }
.tt-window-presets,.tt-window-day-options { display:flex; flex-wrap:wrap; gap:6px 10px; }
.tt-window-presets { margin-bottom:7px; }
.tt-window-presets .btn { padding:5px 8px; min-height:32px; }
.tt-window-day-options label { font-size:13px; }
.tt-form-error { padding:8px 10px; margin:0; color:#94152b; background:#fff0f2; border-radius:8px; }
.tt-issues { max-height:55vh; overflow:auto; padding-left:24px; }
.tt-issues li { padding:5px 0; }
.tt-review-pending { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; }
.tt-review-pending .btn { padding:5px 10px; min-height:32px; }
.tt-review-load { margin-top:7px; padding:10px; border:1px solid #d3e1f5; border-radius:8px; background:#f4f8ff; }
.tt-review-load .tt-field { max-width:340px; }
#timetable-print { display:none; }

/* Organización académica: tablero semanal y gestión de asignaciones. */
.org-icon { display:inline-block; width:20px; height:20px; flex:none; object-fit:contain; vertical-align:middle; }
#school-control.org-section-header { gap:9px; }
#school-control.org-section-header:not([hidden])+ #content { padding-top:10px; }
.org-banner { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; gap:18px;
 min-height:102px; min-width:0; padding:15px clamp(12px,2vw,27px); border-radius:15px; color:#0e1649;
 background:linear-gradient(110deg,#f2efff 4%,#e1ebff 43%,#8ac8fc 75%,#b894ff); }
.org-banner::before,.org-banner::after { content:""; position:absolute; z-index:-1; pointer-events:none;
 width:62%; height:168%; top:8%; right:-12%; border-radius:50% 0 0 0; transform:rotate(-15deg);
 background:linear-gradient(105deg,#47bbff75,#0954f9c0 54%,#8441ffb0); }
.org-banner::after { top:42%; right:-17%; background:linear-gradient(100deg,#77b5ff45,#7a6bffb0 65%,#b577ff); }
.org-banner--assignments { background:linear-gradient(105deg,#004ea9,#1537a6 58%,#6922d4); color:#fff; }
.org-banner--assignments::before { opacity:.69; }
.org-banner-icon { width:62px; height:62px; padding:9px; border-radius:15px; background:#f7f9ff;
 box-shadow:0 5px 13px #153b9250; }
.org-banner-copy { min-width:0; z-index:1; max-width:calc(100% - 240px); }
.org-banner h1 { margin:0; font-size:clamp(24px,3vw,39px); line-height:1.08; font-weight:850; letter-spacing:-.035em; color:inherit; }
.org-banner p { margin:5px 0 0; font-size:clamp(13px,1.3vw,16px); color:inherit; }
.org-banner-art { position:absolute; z-index:0; right:6%; top:50%; width:157px; height:94px; transform:translateY(-50%); }
.org-banner-art .org-icon { position:absolute; width:99px; height:90px; object-fit:contain; top:-2px; left:4px;
 filter:drop-shadow(0 7px 9px #2527a97a); transform:rotate(11deg); }
.org-banner-art .org-icon+ .org-icon { width:71px; height:71px; top:25px; left:73px; transform:rotate(-9deg); }
.org-banner--assignments .org-banner-art .org-icon { transform:rotate(-10deg); }
.org-module-tabs.school-tabs { padding:0; border:0; background:none; gap:7px; }
.org-module-tabs.school-tabs button { display:flex; align-items:center; justify-content:center; flex:0 1 175px; gap:8px;
 background:linear-gradient(#fff,#eff4ff); box-shadow:0 2px 4px #234ca51c; border:1px solid #d7e3f8; color:#152b54; font-size:14px; }
.org-module-tabs.school-tabs button[aria-current] { border-color:#1256e2; background:linear-gradient(115deg,#008be9,#142edb 76%,#6827e7); color:#fff; }
.org-subtabs.tt-tabs { gap:5px; }
.org-subtabs .btn { min-height:29px; padding:4px 10px; border-radius:8px; font-size:12px; }
.org-subtabs .org-icon { width:17px; height:17px; }
.org-assignments,.org-schedule-view { display:grid; gap:12px; min-width:0; container-type:inline-size; color:#112554; }
.org-timetable.tt-workspace { gap:8px; }
.org-metrics { min-width:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }
.org-metric { display:flex; align-items:center; min-width:0; gap:12px; padding:8px 13px; border-radius:13px;
 border:1px solid #dceafb; background:linear-gradient(120deg,#f1f9ff,#d6e9fc); box-shadow:0 2px 4px #2962ad13; }
.org-metric:nth-child(2) { background:linear-gradient(120deg,#f7f1ff,#e7defa); border-color:#e9e0fa; }
.org-metric:nth-child(3) { background:linear-gradient(120deg,#eafbf6,#c9f0e4); border-color:#d7f3ec; }
.org-metric:nth-child(4) { background:linear-gradient(120deg,#fff6e8,#ffe7cd); border-color:#faebda; }
.org-metric-icon { display:grid; place-items:center; width:47px; height:47px; flex:none; border-radius:50%; background:#ffffff85; }
.org-metric-icon .org-icon { width:33px; height:33px; }
.org-metric div { min-width:0; }
.org-metric div span { display:block; font-size:12px; font-weight:750; line-height:1.15; }
.org-metric strong { font-size:27px; line-height:1.12; }
.org-card.card { margin:0; min-width:0; border:1px solid #d8e4fa; border-radius:13px; padding:13px;
 background:linear-gradient(145deg,#fff,#f9fbff); box-shadow:0 3px 8px #193f9217; }
.org-card-title { display:flex; align-items:center; gap:9px; min-width:0; color:#101d49; font-size:clamp(16px,1.6vw,22px);
 margin:0; font-weight:850; letter-spacing:-.025em; overflow-wrap:anywhere; line-height:1.18; }
.org-card-title .org-icon { width:30px; height:30px; padding:3px; border-radius:8px; background:#eaf3ff; }
.org-main-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; gap:11px; align-items:end; }
.org-main-filters .btn,.org-quick-actions .btn,.org-assignment-actions .btn { align-items:center; justify-content:center; gap:7px; white-space:normal; }
.org-main-filters .btn-primary,.org-quick-actions .btn-primary { background:linear-gradient(115deg,#0788e6,#0d46df); }
.org-advanced { margin-top:6px; }
.org-advanced summary,.org-extra summary { cursor:pointer; color:#2148a1; font-weight:750; font-size:12px; }
.org-advanced[open] .tt-filters { padding-top:8px; }
.org-schedule-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(175px,18%); align-items:start; gap:12px; }
.org-schedule-aside,.org-quick-actions { display:grid; gap:9px; min-width:0; }
.org-schedule-aside .org-card-title { margin-bottom:9px; font-size:17px; }
.org-action-summary { margin:9px 0 0; font-size:12px; color:#355475; }
.org-legend { display:grid; gap:8px; margin:0; padding:0; list-style:none; font-size:12px; }
.org-legend li { display:flex; align-items:center; gap:8px; }
.org-legend li>span { width:32px; height:17px; flex:none; border-radius:6px; background:var(--lesson-bg,#dceafa); }
.org-calendar-heading { gap:7px 11px!important; }
.org-calendar-meta,.org-week-pick { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.org-calendar-meta .btn,.org-week-pick .btn { min-height:32px; padding:5px 8px; }
.org-calendar-meta .org-icon { width:17px; height:17px; }
.org-week-pick { width:100%; font-size:12px; color:#3a567b; }
.org-week-pick input { border:1px solid #bfceea; border-radius:7px; padding:4px 6px; min-height:32px; font:inherit; color:#112554; }
.org-status { display:inline-flex; align-items:center; gap:5px; max-width:100%; border-radius:999px; padding:4px 8px;
 background:#e9edf6; color:#394e72; font-weight:750; font-size:11px; overflow-wrap:anywhere; }
.org-status.is-live { background:#d9f4e9; color:#096039; }
.org-status.is-period { background:#ede4fc; color:#52239a; }
.org-status.is-pending { background:#ffedcc; color:#754306; }
.org-week-grid,.org-assignment-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; }
.org-week-grid { border:1px solid #dbe7fa; border-radius:10px; overflow:hidden; }
.org-week-time { width:94px; }
.org-week-grid :is(th,td) { white-space:normal; overflow-wrap:anywhere; text-align:center; padding:5px; }
.org-week-grid thead th { background:#edf1ff; color:#142754; text-transform:none; letter-spacing:0; font-size:12px; }
.org-week-grid thead th small { display:block; color:#466383; font-weight:500; font-size:10px; }
.org-week-grid tbody th { background:#eff4fd; color:#152954; font-size:12px; text-transform:none; letter-spacing:0; }
.org-week-grid tbody td { vertical-align:middle; background:#f8faff; text-align:start; }
.org-week-grid :is(th,td)+td,.org-week-grid thead th+th { border-left:1px solid #e4ecfa; }
.org-empty-slot { display:block; text-align:center; color:#68809d; }
[data-category=theory] { --lesson-bg:#ddebfc; --lesson-accent:#135aab; }
[data-category=practice] { --lesson-bg:#ede5fc; --lesson-accent:#68429f; }
[data-category=lab] { --lesson-bg:#f2e2fa; --lesson-accent:#7f3598; }
[data-category=support] { --lesson-bg:#d9f3eb; --lesson-accent:#0c7558; }
[data-category=reserved],.org-recess { --lesson-bg:#e8edf8; }
[data-category=cancelled] { --lesson-bg:#f9e4e9; --lesson-accent:#9a3157; }
.org-lesson { display:grid; gap:2px; width:100%; text-align:left; padding:5px 6px; border:1px solid transparent;
 border-left:3px solid var(--lesson-accent); border-radius:7px; background:var(--lesson-bg); color:#10234f;
 font:inherit; font-size:11px; line-height:1.16; cursor:pointer; overflow-wrap:anywhere; }
.org-lesson+.org-lesson { margin-top:4px; }
.org-lesson:hover,.org-lesson:focus-visible { border-color:var(--lesson-accent); }
.org-lesson strong { font-size:11.5px; }
.org-lesson small { font-size:10px; color:#3c5374; }
.org-lesson .org-icon { width:12px; height:12px; }
.org-recess { display:block; background:var(--lesson-bg); text-align:center; border-radius:6px; padding:4px; color:#264675; font-size:11px; font-weight:700; }
.org-week-agenda { display:none; }
.org-week-agenda .tt-lesson[data-category] { background:var(--lesson-bg); border-left-color:var(--lesson-accent); }
.org-week-agenda .org-recess { margin:3px 0 5px; }
.org-settings-period { margin-bottom:10px!important; }
.org-settings-period .tt-field { max-width:440px; }
.org-assignments { gap:14px; }
.org-assignments .org-card { padding:clamp(13px,2cqi,22px); }
.org-assignment-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.org-assignment-new>.org-assignment-heading { padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid #dfe9f7; }
.org-assignment-layout { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(215px,1fr); gap:18px; align-items:start; }
.org-assignment-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(96px,.65fr); gap:11px; min-width:0; }
.org-assignment-form .tt-field select,.org-register-filters .tt-field :is(select,input) {
 min-height:40px; border:1px solid #bbd0ee; border-radius:9px; padding:7px 9px; background:#fbfdff;
}
.org-subject-picker { position:relative; min-width:0; z-index:2; }
.org-subject-picker>label { display:block; margin-bottom:4px; font-size:13px; font-weight:750; color:#213f67; }
.org-subject-input { display:flex; gap:8px; align-items:center; padding:0 7px 0 11px; min-width:0;
 border:1px solid #a9c9ef; border-radius:10px; background:#f2f8ff; }
.org-subject-input:focus-within { border-color:#4b91e9; box-shadow:0 0 0 3px #cfe4ff; }
.org-subject-input .org-icon { width:22px; height:22px; }
.org-subject-input input { flex:1; min-width:0; width:100%; min-height:42px; padding:7px 1px; font:inherit; background:transparent;
 border:0; border-radius:0; box-shadow:none; }
.org-subject-input input:focus { outline:none; box-shadow:none; border:0; }
.org-subject-input [data-clear-subject] { min-height:28px; min-width:28px; padding:0; }
.org-subject-input [data-clear-subject][hidden] { display:none; }
.org-subject-results.staff-matches { top:calc(100% + 3px); z-index:12; }
.org-subject-results[hidden] { display:none; }
.org-subject-results [role=option] small { overflow-wrap:anywhere; }
.org-subject-status { margin:4px 0 0; font-size:12px; color:#405e84; }
.org-subject-status:empty { margin:0; }
.org-wide { grid-column:1/-1; }
.org-assignment-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; align-items:center; }
.org-assignment-actions .btn { background:linear-gradient(108deg,#0788dc,#154ec7); }
.org-assignment-actions .org-form-result { margin-inline-end:auto; }
.org-form-result { margin:0; color:#94172d; }
.org-extra { border:1px solid #becfeb; border-radius:8px; padding:7px 9px; background:#f8fbff; }
.org-extra summary span:not(:empty) { padding:2px 5px; border-radius:6px; margin-left:4px; background:#e1eaff; }
.org-extra-options { max-height:156px; overflow:auto; margin-top:5px; }
.org-extra-options :is(label,p) { display:block; margin:4px 0; padding:3px; font-size:12px; overflow-wrap:anywhere; }
.org-extra>.tt-field { margin-top:8px; }
.org-extra-options label:has(input:disabled) { color:#536887; }
.org-extra-options label small { margin-inline-start:6px; }
.org-assignment-students { min-width:0; padding:12px; border:1px solid #d5e3f7; border-radius:10px; background:#f6faff; }
.org-assignment-students h3 { display:flex; align-items:center; gap:6px; margin:0; font-size:15px; }
.org-assignment-students>p,.class-student-status { margin:5px 0; color:#405e84; font-size:12px; }
.class-student-status:empty,.class-student-results:empty { display:none; }
.class-student-results,.assignment-student-chips { list-style:none; padding:0; margin:8px 0 0; }
.class-student-results { display:grid; gap:6px; max-height:250px; overflow:auto; }
.class-student-results>li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:7px; padding:7px 9px;
 border:1px solid #dbe7f8; border-radius:8px; background:white; }
.class-student-results small { display:block; color:#4a6285; }
.class-student-results .btn { min-height:30px; padding:4px 8px; }
.class-student-picker { margin:7px 0; }
.org-chips { display:flex; flex-wrap:wrap; gap:5px; }
.org-chips:empty { display:none; }
.org-chips button { border:1px solid #cedcf5; border-radius:6px; background:#edf3ff; padding:4px 7px; text-align:start;
 color:#253d70; font:inherit; font-size:11px; overflow-wrap:anywhere; }
.org-assignment-summary { border:1px solid #d5e2f9; border-radius:12px; background:#f5f9ff; overflow:hidden; }
.org-assignment-summary h3 { display:flex; gap:7px; align-items:center; margin:0; background:linear-gradient(120deg,#dcecff,#e9e7fd);
 padding:10px 12px; font-size:15px; }
.org-assignment-summary dl { margin:0; padding:3px 12px; }
.org-assignment-summary dl>div { display:grid; grid-template-columns:auto 1fr; gap:2px 8px; padding:9px 0; }
.org-assignment-summary dl>div+div { border-top:1px solid #d4e2f7; }
.org-assignment-summary dl img { grid-row:1/3; align-self:center; }
.org-assignment-summary dt { font-size:11px; color:#4b6185; }
.org-assignment-summary dd { margin:0; grid-column:2; font-weight:800; overflow-wrap:anywhere; font-size:13px; }
.org-assignment-register>header { display:grid; gap:11px; margin-bottom:12px; }
.org-register-filters { display:grid; grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)); gap:8px; }
.org-register-count { margin:0; padding:4px 9px; border-radius:999px; background:#eaf2ff; font-size:12px; color:#2c4d78; }
.org-assignment-register .org-tablewrap { border:1px solid #dce7f7; border-radius:10px; overflow:hidden; }
.org-assignment-summary dd small,.org-assignment-code { display:block; margin-top:2px; color:#4a6285; font-size:11px; font-weight:600; }
.org-assignment-table tbody tr:hover { background:#f0f6ff; }
.org-assignment-table :is(td,th) { white-space:normal; overflow-wrap:anywhere; padding:7px 6px; text-align:start; font-size:12px; }
.org-assignment-table thead th { background:#e5efff; color:#162c55; text-transform:none; letter-spacing:0; }
.org-assignment-table:has(.org-row-actions) thead th:last-child { width:29%; }
.org-assignment-table thead th:nth-child(4),.org-assignment-table thead th:nth-child(5),.org-assignment-table thead th:nth-child(6) { width:10%; }
.org-row-actions { display:flex; flex-wrap:wrap; gap:4px; }
.org-row-actions .btn { font-size:11px; padding:4px 6px; min-height:27px; white-space:normal; }
.org-row-actions .org-icon { width:15px; height:15px; }
.org-row-actions .org-remove { color:#a3193e; background:#fff4f7; border-color:#f1bbcb; }
.assignment-removal-dialog.modal { width:min(100%,510px); border:1px solid #cdddf4; border-radius:16px; }
.assignment-removal-subject { display:flex; align-items:center; gap:10px; padding:12px;
 border:1px solid #d8e5f8; border-radius:10px; background:linear-gradient(120deg,#eef6ff,#f5f3ff); }
.assignment-removal-subject>.org-icon { width:32px; height:32px; }
.assignment-removal-subject small { display:block; color:#455e7f; }
.assignment-removal-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; }
.assignment-removal-details>div { min-width:0; padding:8px 10px; border-radius:8px; background:#f4f8fe; }
.assignment-removal-details dt { color:#455e7f; font-size:12px; }
.assignment-removal-details dd { margin:2px 0 0; font-weight:700; overflow-wrap:anywhere; }
.assignment-removal-note { margin:0; }
.assignment-removal-drafts { align-items:flex-start; padding:8px 10px; border:1px solid #d8e5f8; border-radius:8px; }
.assignment-removal-drafts input { flex:none; }
.assignment-removal-dialog .tt-actions .btn-primary { background:#a62946; color:white; }
.org-table-empty { text-align:center!important; color:#466484; background:#f5f8ff; }
@container (max-width:950px) {
 .org-schedule-layout { grid-template-columns:minmax(0,1fr); }
 .org-schedule-aside { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
}
@container (max-width:690px) {
 .org-week-desktop { display:none; }
 .org-week-agenda { display:block; }
 .org-week-agenda .tt-week { grid-template-columns:1fr; }
 .org-main-filters,.org-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
 .org-main-filters .btn { grid-column:1/-1; }
 .org-assignment-layout { grid-template-columns:1fr; }
 .org-assignment-table { display:block; }
 .org-assignment-register .org-tablewrap { border:0; }
 .org-assignment-table thead { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
 .org-assignment-table tbody { display:grid; gap:7px; }
 .org-assignment-table tr { display:grid; border:1px solid #dbe7f8; border-radius:9px; background:#fff; }
 .org-assignment-table td { display:grid; grid-template-columns:minmax(65px,28%) 1fr; align-items:start; gap:4px; }
 .org-assignment-table td[data-label]::before { content:attr(data-label); font-weight:750; color:#405f85; }
 .org-assignment-table td.org-table-empty { display:block; }
}
@container (max-width:430px) {
 .org-metric { padding:6px; gap:6px; }
 .org-metric-icon { width:32px; height:32px; }
 .org-metric-icon .org-icon { width:24px; height:24px; }
 .org-metric strong { font-size:22px; }
 .org-metric div span { font-size:11px; }
 .org-schedule-aside,.org-assignment-form { grid-template-columns:1fr; }
 .org-assignment-actions .btn { width:100%; }
 .org-register-filters { grid-template-columns:1fr 1fr; }
 .org-register-filters label:first-child { grid-column:1/-1; }
}
@media screen and (max-width:700px) {
 .org-banner-art { opacity:0; }
 .org-banner-copy { max-width:none; }
 .org-banner-icon { width:44px; height:44px; padding:5px; }
 .org-banner--schedule::before,.org-banner--schedule::after { opacity:.28; }
 .org-module-tabs.school-tabs button { flex:1 1 132px; font-size:12px; }
}

@media screen and (max-width:1050px) {
 .tt-week { grid-template-columns:1fr; gap:9px; }
 .tt-day { display:grid; gap:3px; }
 .tt-lesson { grid-template-columns:minmax(84px,.6fr) repeat(3,minmax(0,1fr)); align-items:center; gap:7px; }
}
@media screen and (max-width:620px) {
 .tt-settings,.tt-form-grid { grid-template-columns:1fr; }
 .tt-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tt-window,.tt-lesson { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .tt-metrics { grid-template-columns:1fr; }
 .tt-metrics .card { grid-template-columns:1fr auto; align-items:center; }
 .tt-metrics span { grid-column:1/-1; }
}
@media screen and (max-width:420px) {
 .tt-hero { gap:10px; }
 .tt-hero>div { flex-basis:calc(100% - 64px); }
 .tt-hero h1 { font-size:25px; }
 .tt-tabs .btn { flex:1 1 auto; white-space:normal; }
 .tt-workspace .card { padding:12px; }
}
@page timetable-page { size:letter landscape; margin:12mm; }
@media print {
 body:has(>#timetable-print)>:not(#timetable-print) { display:none!important; }
 html:has(#timetable-print),body:has(>#timetable-print) { background:white!important; margin:0; height:auto!important; overflow:visible!important; }
 #timetable-print { page:timetable-page; display:block; color:#102958; print-color-adjust:exact; }
 #timetable-print>header { display:flex; align-items:center; gap:12px; padding-bottom:10px; border-bottom:1px solid #205a9c; margin-bottom:12px; break-inside:avoid; }
 #timetable-print>header img { width:60px; height:60px; object-fit:contain; }
 #timetable-print h1 { font-size:19pt; margin:0; }
 #timetable-print p { margin:3px 0; }
 .tt-print-table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:9pt; line-height:1.26; }
 .tt-print-table thead { display:table-header-group; }
 .tt-print-table thead th { background:#e8f1fe; color:#173b65; }
 #timetable-print .tt-print-table :is(td,th) { text-align:left; padding:5px 6px; vertical-align:top; border-bottom:1px solid #ccdaed; overflow-wrap:anywhere; white-space:normal; }
 #timetable-print .tt-print-table tbody th { font:inherit; font-weight:700; text-transform:none; letter-spacing:normal; color:#102958; background:transparent; }
 .tt-print-table thead th:nth-child(1) { width:14%; }
 .tt-print-table thead th:nth-child(2) { width:13%; }
 .tt-print-table thead th:nth-child(3) { width:27%; }
 .tt-print-table thead th:nth-child(4) { width:16%; }
 .tt-print-table thead th:nth-child(5) { width:18%; }
 .tt-print-table tr { break-inside:avoid; }
 .tt-print-table tbody>tr:nth-child(even) { background:#f4f8fe; }
 .tt-print-table .tt-print-cancelled small { display:block; color:#8c1430; }
}

.tt-teacher-pending {
 color:#7a4b05;
 font-weight:700;
}

.tt-planning-palette { padding:10px 12px; border:1px solid #d3e1f5; border-radius:10px; background:#f3f7ff; }
.tt-palette-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; }
.tt-palette-head h3 { margin:0; font-size:14px; }
.tt-palette-head p,.tt-timeline-help { margin:3px 0; color:#466184; font-size:12px; }
.tt-palette-head input[type=search] { flex:0 1 230px; min-width:0; padding:6px 8px; border:1px solid #bacce6; border-radius:7px; background:#fff; color:#102958; font:inherit; font-size:12px; }
.tt-palette-scope { font-size:12px; color:#294e7c; }
.tt-palette-scope input { flex:none; }
.tt-palette-items .tt-palette-origin { color:#425c82; }
.tt-palette-items { display:flex; gap:6px; overflow-x:auto; padding:6px 2px 7px; }
.tt-palette-items button { display:flex; flex:none; max-width:250px; align-items:center; gap:7px; text-align:left; cursor:grab; padding:5px 8px; touch-action:pan-x; user-select:none; -webkit-user-select:none; }
.tt-palette-items button>span+span { min-width:0; }
.tt-palette-items button :is(strong,small) { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tt-palette-items button:active,.tt-timeline-lesson[data-tt-draggable]:active { cursor:grabbing; }
.tt-palette-items small { display:block; font-size:10px; font-weight:500; margin-top:2px; }
.tt-palette-items [hidden] { display:none; }
.tt-timeline-help { margin:8px 0; }
.tt-timeline-scroll { position:relative; isolation:isolate; overflow:auto; max-height:min(65vh,660px); border:1px solid #c7d9f2; border-radius:10px; margin-top:8px; }
.tt-timeline { display:grid; grid-template-columns:56px repeat(7,minmax(92px,1fr)); grid-template-rows:40px var(--tt-height); min-width:700px; background:#fff; }
.tt-timeline-heading,.tt-timeline-corner { position:sticky; top:0; z-index:4; display:grid; place-content:center; text-align:center;
 background:#edf4ff; color:#194171; border-left:1px solid #d6e2f4; border-bottom:1px solid #becfee; font-size:12px; }
.tt-timeline-heading small { color:#4b6287; font-size:10px; }
.tt-timeline-corner { left:0; z-index:5; font-weight:700; border-left:0; }
.tt-timeline-day,.tt-timeline-scale { position:relative; min-width:0; }
.tt-timeline-scale { position:sticky; left:0; z-index:3; background:#f8fbff; }
.tt-timeline-scale span { position:absolute; right:8px; padding-top:3px; font-size:11px; font-weight:600; color:#365782; }
.tt-timeline-day { border-left:1px solid #d6e2f4; background:repeating-linear-gradient(to bottom,#cfdbef 0 1px,
 transparent 1px 16.5px,#edf2f9 16.5px 17.5px,transparent 17.5px 33px,#edf2f9 33px 34px,
 transparent 34px 49.5px,#edf2f9 49.5px 50.5px,transparent 50.5px 66px); }
.tt-timeline-off { background-color:#f2f5fa; }
.tt-timeline-reserved { position:absolute; inset-inline:0; padding:3px 5px; overflow:hidden; pointer-events:none;
 background:repeating-linear-gradient(135deg,#e6edf8 0 6px,#f0f4fb 6px 12px); color:#465d80; font-size:10px; }
.tt-timeline-marker { position:absolute; inset-inline:0; z-index:3; height:16.5px; padding-inline:5px; pointer-events:none;
 border-top:2px solid #1268df; background:#bbd7fdd9; color:#123c7b; font-size:10px; font-weight:800; }
.tt-timeline-ghost { position:fixed; z-index:30; max-width:220px; padding:4px 8px; pointer-events:none;
 overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
 background:color-mix(in srgb,var(--subject-color,#2464c6) 20%,white); border:1px solid var(--subject-color,#2464c6);
 border-radius:6px; box-shadow:0 4px 10px #274e8b38; color:#123c7b; font-size:11px; font-weight:800; }
.tt-timeline-block { position:absolute; z-index:1; left:calc(var(--tt-lane) * 100% / var(--tt-lanes) + 2px);
 width:calc(100% / var(--tt-lanes) - 4px); overflow:hidden; border:1px solid color-mix(in srgb,var(--lesson-accent) 32%,white);
 border-left:3px solid var(--lesson-accent); border-radius:6px; background:var(--lesson-bg); }
.tt-timeline-block:focus-within,.tt-timeline-sizing { z-index:2; border-color:var(--lesson-accent); }
.tt-timeline-lesson { display:block; width:100%; height:100%; padding:3px 5px; text-align:left; border:0;
 background:transparent; color:#10234f; font:inherit; font-size:10px; line-height:1.2; cursor:pointer; }
.tt-timeline-lesson[data-tt-draggable] { height:calc(100% - 9px); cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none; }
.tt-timeline-lesson :is(strong,span,small) { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tt-timeline-lesson strong { font-size:11px; }
.tt-timeline-lesson small { color:#385175; }
.tt-timeline-lesson .tt-teacher-pending { color:#805417; }
.tt-timeline-block-short .tt-timeline-lesson { display:flex; align-items:center; gap:4px; padding-block:0; }
.tt-timeline-block-short .tt-timeline-lesson span { flex-shrink:0; }
.tt-timeline-block-short .tt-timeline-lesson small { display:none; }
.tt-timeline-grip { position:absolute; inset:auto 0 0; height:9px; width:100%; padding:0; border:0;
 display:grid; place-items:center; color:var(--lesson-accent); background:transparent;
 cursor:ns-resize; touch-action:none; user-select:none; -webkit-user-select:none; }
.tt-timeline-grip::after { content:""; width:16px; height:2px; border-radius:2px; background:currentColor; opacity:.58; }
.tt-timeline-grip:hover,.tt-timeline-grip:focus-visible { background:#fff9; }
.tt-timeline-grip:focus-visible,.tt-timeline-lesson:focus-visible { outline:2px solid var(--lesson-accent); outline-offset:-2px; }
.tt-timeline-sizing .tt-timeline-lesson { pointer-events:none; }

.org-schedule-aside .tt-planning-palette .tt-palette-head { display:grid; }
.org-schedule-aside .tt-palette-head input[type=search] { width:100%; }
.org-schedule-aside .tt-palette-items { display:grid; max-height:245px; overflow:auto; align-content:start; }
.org-schedule-aside .tt-palette-items :is(button,[data-tt-palette-item]) {
 display:flex; width:100%; min-width:0; max-width:none; white-space:normal; text-align:left; padding:6px 8px;
}
.org-schedule-aside .tt-palette-items :is(strong,small) { white-space:normal; overflow-wrap:anywhere; }
.org-schedule-aside .tt-palette-items [hidden] { display:none; }
.org-schedule-aside [data-tt-subject-status] { font-weight:700; }
.org-schedule-aside .tt-palette-items button { touch-action:none; }
.org-schedule-aside [data-tt-palette-item] { cursor:default; }
.tt-auto-subjects { min-inline-size:0; }
.tt-auto-subject-list { display:grid; gap:7px; max-height:42vh; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; }
.tt-dialog:has(.tt-auto-subject-list) { overscroll-behavior-y:contain; }
html:has(#modal .modal-screen .tt-auto-subject-list) { overflow-y:hidden; }
.tt-auto-subject { display:grid; grid-template-columns:minmax(0,1fr) minmax(92px,125px); align-items:center; gap:8px; padding:7px 9px; border-inline-start:3px solid var(--subject-color); background:var(--subject-soft); }
.tt-auto-subject :is(strong,small) { display:block; overflow-wrap:anywhere; }
.tt-auto-subject .tt-check { align-items:center; }
.tt-form section:has(.tt-proposal-list) h4 { margin:0 0 8px; }
.tt-proposal-list { max-height:38vh; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; }
.tt-proposal-list ul { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.tt-proposal-list li {
 display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:5px 16px;
 border:1px solid #d3e1f5; border-radius:8px; padding:9px 12px; background:#f4f8ff; overflow-wrap:anywhere;
}
.tt-proposal-list li span { display:block; color:#405c80; font-size:.875em; }

/* Horarios escolares */
@media (min-width:791px) {
 #school-control:has(>.org-banner--schedule) { margin:14px 22px 0; }
 #school-control:has(>.org-banner--schedule)+#content { padding-inline:22px; }
}
.org-banner--schedule {
 min-height:108px;
 color:#fff;
 background:linear-gradient(108deg,#0553d9 12%,#125fe9 42%,#40a0f7 71%,#8552f3);
}
.org-banner--schedule::before { background:linear-gradient(110deg,#009bee,#104df5 63%,#9551f6); }
.org-banner--schedule::after { opacity:.62; }
.org-banner--schedule .org-banner-icon { width:70px; height:70px; border-radius:17px; }
.org-banner--schedule .org-banner-art { right:5%; width:156px; }
.org-hero-calendar {
 position:absolute; top:12px; left:6px; width:100px; height:76px; padding:9px; display:grid;
 grid-template-columns:repeat(4,1fr); gap:4px; border-top:17px solid #9d7cf1;
 border-radius:10px; background:linear-gradient(130deg,#fff,#e9dfff);
 box-shadow:4px 4px 0 #7153d5,0 8px 13px #27257f66; transform:rotate(9deg) skewX(-4deg);
}
.org-hero-calendar i {
 position:absolute; top:-24px; left:16px; width:7px; height:18px; border-radius:9px;
 background:#f0eaff; box-shadow:20px 0 #f0eaff,40px 0 #f0eaff,60px 0 #f0eaff;
}
.org-hero-calendar b { background:linear-gradient(135deg,#d9c9fb,#ab92f3); border-radius:2px; }
.org-hero-clock {
 position:absolute; top:33px; right:2px; width:58px; aspect-ratio:1; border:5px solid #9b74f2; border-radius:50%;
 background:radial-gradient(circle,#fff 55%,#ded0ff);
 box-shadow:3px 3px 0 #593bd5,0 6px 11px #37258466; transform:rotate(9deg);
}
.org-hero-clock::before,.org-hero-clock::after {
 content:""; position:absolute; left:50%; bottom:50%; width:3px; height:15px; border-radius:2px;
 background:#633cdb; transform-origin:bottom center;
}
.org-hero-clock::after { height:10px; transform:rotate(-122deg); }
.org-section-header:has(.org-banner--schedule) .org-module-tabs button { flex-basis:clamp(145px,16vw,232px); min-height:40px; }
.org-timetable.org-timetable .org-card {
 border-color:#cddaf7; background:linear-gradient(150deg,#fcfdff,#f3f6ff);
 box-shadow:0 3px 6px #253b9a19;
}
.org-timetable .org-metric { border-color:#fff; box-shadow:0 2px 5px #264b9b27; }
.org-timetable .org-main-filters { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.86fr) auto; }
.org-filter-field { grid-template-columns:auto minmax(0,1fr); column-gap:8px; align-items:center; }
.org-filter-field>.org-icon { grid-row:1/3; width:24px; height:24px; }
.org-filter-field select { grid-column:2; min-height:34px; padding-block:4px; box-shadow:0 2px 5px #25498a14; }
.org-timetable .org-calendar-meta .btn,.org-timetable .org-quick-actions .btn-soft {
 background:linear-gradient(#fbfcff,#eaf0ff); border-color:#c6d6fb; color:#14265a;
}
.org-timetable .org-quick-actions .btn { display:flex; justify-content:flex-start; min-height:34px; padding:5px 10px; }
.org-timetable .org-quick-actions .org-quick-primary { background:linear-gradient(115deg,#0095ef,#123fe7 70%,#7b2bf5); }
.org-quick-primary>span { font-size:21px; line-height:1; }
.org-timetable .org-legend { border-top:1px solid #dbe4f7; padding-top:10px; }
.org-timetable .org-calendar-meta { flex-basis:100%; }
.org-timetable .org-week-pick { width:auto; }
.org-timetable .org-week-grid thead th,.org-timetable :is(.tt-timeline-heading,.tt-timeline-corner) {
 background:linear-gradient(#e1e6fc,#eef0ff); color:#18285c;
}
.org-timetable .org-week-grid tbody td { background:#f5f7ff; }
.org-timetable .org-week-grid tbody th { white-space:nowrap; font-variant-numeric:tabular-nums; }
.org-timetable .tt-timeline {
 grid-template-columns:68px repeat(var(--tt-days,7),minmax(94px,1fr));
 min-width:calc(68px + var(--tt-days,7) * 94px);
}
.org-timetable .tt-timeline-block { border-radius:9px; }
.org-timetable .tt-timeline-lesson strong { white-space:normal; }
.org-timetable .tt-timeline-lesson { padding-inline:7px; }
.org-timetable .tt-timeline-room { font-weight:650; }
.org-timetable .tt-timeline-block-short .tt-timeline-lesson strong { white-space:nowrap; }
#app .org-timetable :is(.org-lesson,.tt-timeline-block,.tt-lesson)[data-subject-identity]:not([data-category="cancelled"],.is-cancelled) {
 background:var(--subject-secondary);
}
#app .org-timetable :is(.org-lesson,.tt-timeline-block,.tt-lesson)[data-subject-identity]:not([data-category="cancelled"],.is-cancelled):hover {
 background:color-mix(in srgb,var(--subject-color) 23%,var(--subject-surface));
}
#app .shell .page .org-timetable .tt-palette-items .btn[data-subject-identity] {
 background:var(--subject-secondary); border-color:var(--subject-edge);
 border-inline-start:4px solid var(--subject-color); color:var(--subject-text);
}
#app .shell .page .org-timetable .tt-palette-items .btn[data-subject-identity]:hover {
 background:color-mix(in srgb,var(--subject-color) 23%,var(--subject-surface));
}
.org-class-detail.modal {
 width:min(100%,530px); padding:18px; border-radius:19px; border:1px solid #cddafb;
 color:#15265b; background:linear-gradient(145deg,#fff,#f4f6ff); box-shadow:0 12px 32px #19245850;
}
.modal-screen:has(>.org-class-detail) { background:#12264b38; }
.org-class-detail h3 { display:flex; align-items:center; gap:10px; font-size:21px; line-height:1.15; margin:0; }
.org-class-detail h3 .org-icon { width:43px; height:43px; padding:7px; border-radius:11px; background:#e3efff; }
.org-class-detail .org-class-subtitle { margin:-10px 0 12px; }
.org-class-facts { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.org-class-facts>div { display:flex; flex:1 1 auto; align-items:center; gap:8px; padding:8px; background:#e9f0ff; border-radius:10px; }
.org-class-facts dd { margin:0; font-weight:650; }
.org-class-session { padding:12px 0; margin-bottom:12px; border-block:1px solid #d6e1f6; }
.org-class-session .tt-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.org-class-session .tt-field:first-child { grid-column:1/-1; }
.org-class-session .tt-actions { justify-content:space-between; }
.org-class-session output { align-self:center; font-weight:650; }
.org-class-detail .tt-actions .btn { border-radius:10px; }
.org-class-detail .tt-actions .btn-primary { background:linear-gradient(110deg,#0088ef,#201ee8); }
.org-sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@container (max-width:790px) {
 .org-timetable .org-main-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .org-timetable .org-main-filters>.btn { grid-column:1/-1; }
}
@media (max-width:700px) {
 .org-banner--schedule .org-banner-icon { width:49px; height:49px; }
 .org-section-header:has(.org-banner--schedule) .org-module-tabs button { flex:1 1 132px; }
 .org-timetable .org-week-pick>span { flex-basis:100%; }
}
@media (max-width:480px) {
 .main:has(.org-banner--schedule)>.topbar { flex-wrap:wrap; }
 .main:has(.org-banner--schedule)>.topbar>.flex { flex:1 1 220px; }
 .main:has(.org-banner--schedule)>.topbar>.flex>div { min-width:0; }
 .main:has(.org-banner--schedule) .topbar-right { flex-wrap:wrap; max-width:100%; }
}

/* Organización académica */
.org-global-period {display:flex; justify-content:flex-end; padding-block:8px}
.org-global-period .tt-field {width:min(100%,360px); border:1px solid #c7d9f2; border-radius:12px; padding:8px 12px; background:#fff}
.org-module-tabs {display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr)}
.org-module-tabs button {justify-content:center; min-height:56px; white-space:normal}
.org-schedule-toolbar {
 display:grid;
 gap:12px;
 min-width:0;
 padding:14px;
 border-color:#bfd2ff;
 background:linear-gradient(135deg,#fcfdff,#f1f5ff 75%,#f7f9ff);
 box-shadow:0 4px 12px rgba(41,82,172,.09);
}
.org-toolbar-primary,.org-menu-actions {display:flex; flex-wrap:wrap; gap:9px}
.org-toolbar-primary:not(:has(button)) {display:none}
.org-schedule-toolbar .org-advanced {margin:0}
.org-schedule-toolbar summary {width:fit-content; color:#1444ce; font-size:13px}
.org-menu-actions {margin-block-start:8px}
.org-schedule-toolbar .btn {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:11px;
 min-height:44px;
 max-width:100%;
 padding:8px 16px;
 border:1px solid #c0d4ff;
 border-radius:13px;
 background:linear-gradient(160deg,#fff,#e8efff);
 box-shadow:0 4px 9px rgba(41,82,172,.14),inset 0 1px 0 rgba(255,255,255,.8);
 color:#122663;
 font-weight:750;
 text-align:start;
 white-space:normal;
}
.org-schedule-toolbar .btn:hover:not(:disabled) {
 border-color:#8fb2ff;
 box-shadow:0 5px 12px rgba(41,82,172,.24);
}
.org-schedule-toolbar .btn:disabled {opacity:.52; box-shadow:none}
.org-schedule-toolbar svg {display:block; flex:none; width:23px; height:23px; color:#0654ef}
.org-schedule-toolbar [data-tt-action="csv"] svg {color:#008458}
.org-schedule-toolbar :is([data-tt-action="generate"],[data-tt-action="history"]) svg {color:#6429df}
.org-schedule-toolbar .org-toolbar-primary-button {
 border-color:#354eda;
 background:linear-gradient(115deg,#0964d8,#2940df 50%,#751bd6);
 box-shadow:0 5px 11px rgba(55,62,205,.26);
 color:#fff;
}
.org-schedule-toolbar .org-toolbar-primary-button svg {color:inherit}
.org-schedule-toolbar [data-tt-action-summary] {
 display:flex;
 flex-wrap:wrap;
 justify-content:flex-end;
 gap:6px 14px;
 color:#31548a;
 font-size:13px;
}
.org-schedule-toolbar small span {display:inline-flex; align-items:center; gap:8px}
.org-schedule-toolbar small span + span {border-inline-start:1px solid #bfd2ff; padding-inline-start:14px}
.org-schedule-toolbar small svg {width:18px; height:18px}
.org-schedule-toolbar small span:first-child svg {color:inherit}
.org-schedule-toolbar small span:last-child svg {color:#008458}
.org-schedule-toolbar small .has-conflicts:last-child svg {color:#ae263d}
@container (max-width:500px) {
 .org-toolbar-primary,.org-menu-actions {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(132px,100%),1fr))}
 .org-schedule-toolbar .btn {justify-content:flex-start; padding-inline:9px; gap:7px}
 .org-schedule-toolbar .btn svg {width:20px; height:20px}
 .org-schedule-toolbar [data-tt-action-summary] {justify-content:flex-start}
 .org-schedule-toolbar small span + span {border-inline-start:0; padding-inline-start:0}
}
.org-schedule-layout.org-palette-closed {grid-template-columns:minmax(0,1fr)}
.org-palette-closed .org-schedule-aside {display:none}
.tt-timeline-conflict {outline:2px solid #ae263d; outline-offset:-2px}
.tt-auto-subject {grid-template-columns:minmax(0,1fr) repeat(2,minmax(72px,125px))}
.tt-auto-subjects > .tt-check {margin:4px 0 8px}
.org-assignment-dialog {width:min(960px,100%)}
.org-assignment-dialog fieldset {min-inline-size:0; border:1px solid #c7d9f2; border-radius:12px; padding:10px}
.tt-availability-grid {width:100%; border-collapse:collapse}
.tt-availability-grid td,.tt-availability-grid th {border:1px solid #dbe6f4; padding:7px; text-align:left}
.tt-window-tag {display:block; border-radius:6px; padding:3px 6px; margin-block:2px; color:#142d4f}
.tt-window-tag.available {background:#daf4e5}.tt-window-tag.preferred {background:#dcecff}
.tt-window-tag.blocked {background:#f9dfe3}.tt-window-tag.event {background:#ebe0fa}
.tt-window-tag.workday {background:#e9edf3}
@media(max-width:760px){
 .org-module-tabs {display:flex; overflow-x:auto; flex-wrap:nowrap}
 .org-module-tabs button {flex:0 0 145px}
 .org-global-period {justify-content:flex-start}
 .tt-auto-subject {grid-template-columns:minmax(0,1fr) minmax(80px,115px)}
 .tt-auto-subject .tt-check {grid-column:1/-1}
}
.org-calendar-events {display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; padding:0; list-style:none}
.org-calendar-events li {padding:5px 8px; border-radius:8px; background:#eef3ff; color:#23406c; font-size:.86rem}
.tt-palette-items progress {width:100%; accent-color:#2068c8}
.tt-saved-schedules > .tt-field {margin-bottom:.65rem;}
.tt-saved-schedules select {width:100%;}
.org-schedule-toolbar [data-tt-action="delete"] {color:#8f203a;border-color:#e1a9b5;background:#fff3f6;}
.org-schedule-toolbar [data-tt-action="delete"] svg {color:inherit;}
.org-schedule-toolbar [data-tt-action="delete"]:hover {background:#ffe4ec;}
.tt-saved-list {
 display: grid;
 gap: .5rem;
 max-height: 22rem;
 overflow-y: auto;
}
.tt-saved-list .btn {
 display: grid;
 gap: .2rem;
 white-space: normal;
 text-align: left;
}
.tt-saved-list [aria-pressed="true"] {
 border-color: #366dd6;
 background: #deebff;
}
.tt-saved-list small {
 color: #36537a;
}
