:root{--green:#234f28;--green2:#2f7d32;--bg:#f3f6f1;--border:#d8e4d5;--text:#24332a;--muted:#66736b;--red:#a52c2c;--amber:#9a6b00}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;background:linear-gradient(135deg,var(--green),var(--green2));color:#fff}.brand{color:#fff;text-decoration:none;font-weight:850;font-size:1.08rem}.brand-logo{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:rgba(255,255,255,.16);box-shadow:0 3px 10px rgba(0,0,0,.16);overflow:hidden}.brand-logo img{display:block;width:100%;height:100%;object-fit:cover}.brand-stack{display:flex;flex-direction:column;min-width:0}.brand-subtitle{display:block;color:rgba(255,255,255,.84);font-size:.72rem;font-weight:700;line-height:1.05;white-space:nowrap}.module{margin-left:12px;padding:4px 9px;background:#ffffff25;border-radius:999px}.userbox{display:flex;gap:10px;align-items:center;font-size:.9rem}.userbox a{color:#fff}.role{text-transform:capitalize;background:#fff;color:var(--green);padding:3px 8px;border-radius:999px}.app-nav{position:relative;z-index:30;padding:8px 20px;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 4px 14px #234f2808}.app-nav-inner{display:flex;align-items:center;gap:9px;max-width:1280px;margin:0 auto}.nav-dropdown{position:relative;min-width:210px}.nav-dropdown summary{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title arrow" "current arrow";column-gap:14px;align-items:center;min-height:48px;padding:7px 12px;border:1px solid #d8e4d5;border-radius:10px;background:linear-gradient(180deg,#fff,#f7faf6);color:var(--green);cursor:pointer;list-style:none;box-shadow:0 3px 9px #234f2807;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.nav-dropdown summary::-webkit-details-marker{display:none}.nav-dropdown summary:after{content:"⌄";grid-area:arrow;color:#708076;font-size:1rem;font-weight:900;transition:transform .15s ease}.nav-dropdown[open] summary:after{transform:rotate(180deg)}.nav-dropdown summary>span{grid-area:title;font-size:.86rem;font-weight:900;line-height:1.1}.nav-dropdown summary>small{grid-area:current;display:block;margin-top:3px;color:#748078;font-size:.68rem;font-weight:700;line-height:1.1}.nav-dropdown.active-group summary{border-color:#9fbd9b;background:#f2f8f1;box-shadow:inset 3px 0 0 var(--green2),0 3px 9px #234f2807}.nav-dropdown[open] summary,.nav-dropdown summary:hover{border-color:#91b18d;background:#f4f9f3}.nav-dropdown-menu{position:absolute;top:calc(100% + 7px);left:0;z-index:50;display:grid;min-width:260px;padding:7px;border:1px solid #d7e3d4;border-radius:12px;background:#fff;box-shadow:0 15px 34px #1d3f2426}.nav-link{display:block;padding:9px 11px;border-radius:8px;color:#315738;text-decoration:none;font-size:.85rem;font-weight:760;line-height:1.2}.nav-link:hover{background:#edf5eb;color:#1f5228}.nav-link.active{background:var(--green);color:#fff}.nav-link:focus-visible,.nav-dropdown summary:focus-visible{outline:3px solid #8fbe9050;outline-offset:2px}@media(max-width:760px){.app-nav{padding:8px 10px}.app-nav-inner{align-items:stretch;flex-direction:column;gap:6px}.nav-dropdown{min-width:0;width:100%}.nav-dropdown summary{min-height:44px}.nav-dropdown-menu{position:static;min-width:0;margin-top:5px;box-shadow:none}.nav-dropdown summary>small{font-size:.66rem}}.container{max-width:1280px;margin:0 auto;padding:24px}h1{color:var(--green);margin-top:0}h2,h3{color:#315b35}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 8px 24px #234f2810}.card h2,.card h3{margin-top:0}.metric{font-size:2rem;font-weight:900;color:var(--green)}.muted{color:var(--muted)}.flash{padding:12px 14px;border-radius:10px;margin:0 0 18px}.flash.ok{background:#e3f6e5;color:#1e6329}.flash.error{background:#fde5e5;color:#862323}.flash.warn{background:#fff1c9;color:#745000}.btn,button{display:inline-block;border:0;border-radius:9px;background:var(--green2);color:white;padding:10px 14px;font-weight:800;cursor:pointer;text-decoration:none}.btn.secondary,button.secondary{background:#63716a}.btn.danger,button.danger{background:var(--red)}.btn.small,button.small{padding:6px 9px;font-size:.85rem}form.inline{display:inline}label{display:block;font-weight:750;margin:.8rem 0 .3rem}input,select,textarea{width:100%;padding:10px;border:1px solid #bdccba;border-radius:8px;background:#fff;font:inherit}textarea{min-height:100px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--border);border-radius:14px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px 11px;border-bottom:1px solid #e5ece3;vertical-align:top}th{background:#edf5eb;color:var(--green);position:sticky;top:0}tr:last-child td{border-bottom:0}.badge{display:inline-block;padding:3px 8px;border-radius:999px;font-size:.8rem;font-weight:800;background:#e8eee6}.badge.ok{background:#dff4e2;color:#25632d}.badge.warn{background:#fff0bf;color:#765500}.badge.error{background:#fbdede;color:#8a2525}.badge.info{background:#e1edf9;color:#27547c}.day-period{white-space:nowrap;font-weight:800}.coverage{border-left:4px solid #d0dacd}.coverage.assigned{border-left-color:#2f7d32}.coverage.pending{border-left-color:#cc8a00}.coverage.completed{border-left-color:#2d6da3}.empty{padding:30px;text-align:center;color:var(--muted)}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#edf1ec;padding:2px 5px;border-radius:5px}.note{background:#fff8dc;border-left:5px solid #d2aa32;padding:12px 14px;border-radius:8px;margin:12px 0}.danger-note{background:#fde8e8;border-left:5px solid #a52c2c;padding:12px 14px;border-radius:8px;margin:12px 0}footer{text-align:center;color:var(--muted);padding:28px}@media(max-width:820px){.topbar{align-items:flex-start;gap:10px;padding:12px;flex-direction:column}.userbox{flex-wrap:wrap;justify-content:flex-start}.container{padding:14px}th,td{padding:8px;font-size:.9rem}}
.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.section-heading h2{margin-bottom:4px}.section-heading p{margin:0}.guard-board td{min-width:210px}.guard-board td:first-child{min-width:105px}.guard-list{display:flex;flex-direction:column;gap:8px}.guard-person{border:1px solid #dbe5d8;border-left:4px solid #7c8a80;border-radius:10px;padding:8px 10px;background:#fbfcfb}.guard-person.free{border-left-color:#2f7d32;background:#f4fbf4}.guard-person.busy{border-left-color:#2d6da3;background:#f3f8fc}.guard-person.absent{border-left-color:#a52c2c;background:#fff5f5}.guard-person.specific{border-left-color:#6b63a5;background:#f7f6fc}.guard-person-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}.guard-detail{font-size:.86rem;color:var(--muted);margin-top:5px}.coverage-summary-list{display:flex;flex-direction:column;gap:8px}.coverage-summary-item{padding:8px;border:1px solid #e0e8de;border-radius:9px;background:#fbfcfb}.compact-guards{display:flex;flex-wrap:wrap;gap:7px}.guard-chip{display:inline-flex;flex-direction:column;gap:1px;border:1px solid #d6e1d3;border-left:4px solid #7c8a80;border-radius:9px;padding:6px 9px;background:#fafcfa;font-weight:750}.guard-chip small{font-size:.72rem;font-weight:700;color:var(--muted)}.guard-chip.free{border-left-color:#2f7d32;background:#f4fbf4}.guard-chip.busy{border-left-color:#2d6da3;background:#f3f8fc}.guard-chip.absent{border-left-color:#a52c2c;background:#fff2f2}.guard-chip.specific{border-left-color:#6b63a5;background:#f7f6fc}@media(max-width:700px){.guard-board table{min-width:920px}.section-heading .btn{width:100%;text-align:center}}
.teacher-name-link{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor}.teacher-name-link:hover{color:var(--green2);border-bottom-style:solid}.schedule-controls{margin-bottom:18px}.schedule-selector-grid{grid-template-columns:minmax(280px,620px)}.schedule-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:18px 0 10px}.schedule-title h2{margin:0}.schedule-title p{margin:.25rem 0}.weekly-schedule-wrap{overflow:auto}.weekly-schedule{table-layout:fixed;min-width:1060px}.weekly-schedule th:first-child{width:112px}.weekly-schedule th:not(:first-child){width:190px;text-align:center}.weekly-schedule td{height:108px;padding:7px;vertical-align:top;background:#fff}.weekly-schedule .schedule-period{position:sticky;left:0;z-index:2;background:#edf5eb;color:var(--green);text-align:left}.schedule-period span{font-size:.78rem;color:var(--muted);font-weight:700}.schedule-slot-list{display:flex;flex-direction:column;gap:6px}.schedule-entry{display:flex;flex-direction:column;gap:2px;border:1px solid #dce5da;border-left:5px solid #7c8a80;border-radius:9px;padding:7px 8px;background:#fafcfa;line-height:1.2}.schedule-entry strong{font-size:.88rem}.schedule-entry span{font-size:.79rem}.schedule-entry small{font-size:.72rem;color:var(--muted)}.schedule-entry.teaching{border-left-color:#2f7d32;background:#f3faf3}.schedule-entry.guard-general{border-left-color:#2d6da3;background:#f2f7fc}.schedule-entry.guard-specific{border-left-color:#6b63a5;background:#f6f4fc}.schedule-entry.recess{border-left-color:#cc8a00;background:#fff8e7}.schedule-entry.other{border-left-color:#7c8a80;background:#f7f8f7}.schedule-free{display:block;text-align:center;color:#9aa49d;font-size:.78rem;padding-top:30px}.break-row td{background:#fffdf5}.schedule-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px;font-size:.85rem;color:var(--muted)}.schedule-legend span{display:inline-flex;align-items:center;gap:6px}.legend{width:13px;height:13px;border-radius:3px;background:#7c8a80}.legend.teaching{background:#2f7d32}.legend.guard-general{background:#2d6da3}.legend.guard-specific{background:#6b63a5}.legend.recess{background:#cc8a00}.legend.other{background:#7c8a80}@media(max-width:700px){.weekly-schedule{min-width:980px}.schedule-controls .actions .btn,.schedule-controls .actions button{flex:1;text-align:center}}@media print{body{background:#fff}.topbar,.app-nav,.no-print,footer{display:none!important}.container{max-width:none;padding:0}h1{display:none}.weekly-schedule-wrap{overflow:visible;border:0}.weekly-schedule{min-width:0;font-size:9px}.weekly-schedule th:first-child{width:75px}.weekly-schedule th:not(:first-child){width:auto}.weekly-schedule td{height:82px;padding:3px}.schedule-entry{padding:4px;border-radius:4px}.schedule-entry strong{font-size:9px}.schedule-entry span,.schedule-entry small{font-size:8px}.schedule-title{margin:0 0 8px}.schedule-free{padding-top:18px}}

.version-badge{display:inline-block;margin-left:8px;padding:3px 8px;border:1px solid #ffffff55;background:#ffffff18;color:#fff;border-radius:999px;font-size:.78rem;font-weight:850;vertical-align:middle}.login-version{display:inline-block;margin:-4px 0 14px;padding:4px 9px;border-radius:999px;background:#edf5eb;color:var(--green);font-size:.82rem;font-weight:850}footer strong{color:var(--green)}

/* 1.8 · Importación por formatos */
.import-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.import-choice{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.import-choice.featured{border:2px solid #78a77a;background:linear-gradient(155deg,#fff 0%,#f0f8ef 100%);box-shadow:0 16px 36px #234f2820}.import-choice.legacy{background:#fafbfa}.format-kicker{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#dff3e0;color:#25632d;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.format-kicker.secondary{background:#e1edf9;color:#27547c}.muted-kicker{background:#ecefed;color:#63716a}.format-icon{display:grid;place-items:center;width:54px;height:54px;margin:16px 0 10px;border-radius:16px;background:linear-gradient(135deg,#234f28,#45a04b);color:#fff;font-size:.9rem;font-weight:950;letter-spacing:.06em;box-shadow:0 10px 20px #234f2830}.format-icon.csv{background:linear-gradient(135deg,#27547c,#4b89b9)}.format-icon.old{background:linear-gradient(135deg,#63716a,#8a9790)}.import-choice h2{margin-bottom:6px}.import-choice p{line-height:1.5}.import-choice form{width:100%}.feature-list{margin:4px 0 18px;padding:0;list-style:none}.feature-list li{position:relative;padding:5px 0 5px 22px;color:var(--muted)}.feature-list li:before{content:'✓';position:absolute;left:0;color:var(--green2);font-weight:950}.last-import-card{margin-top:18px}.last-import-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.last-import-grid>div{padding:12px;border:1px solid var(--border);border-radius:11px;background:#f8faf7;min-width:0}.last-import-grid span{display:block;color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.last-import-grid strong{display:block;overflow-wrap:anywhere}.import-format-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,.6fr)}.import-format-card.featured{border:2px solid #78a77a;background:linear-gradient(155deg,#fff,#f1f8f0)}

/* 1.8 · Horario semanal visual */
.schedule-controls{padding:13px 16px;margin-bottom:16px}.schedule-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.schedule-selector{flex:1;max-width:700px}.schedule-selector label{margin-top:0}.schedule-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.schedule-hero{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:18px;margin:0 0 18px;padding:20px 22px;border-radius:20px;background:linear-gradient(130deg,#173d21 0%,#2f7d32 62%,#4e9b51 100%);color:#fff;box-shadow:0 18px 42px #234f2830;overflow:hidden;position:relative}.schedule-hero:after{content:'';position:absolute;width:240px;height:240px;right:-90px;top:-130px;border-radius:50%;background:#ffffff12}.schedule-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:#ffffff20;border:1px solid #ffffff45;font-size:1.5rem;font-weight:950;box-shadow:inset 0 1px 0 #ffffff33}.schedule-identity{position:relative;z-index:1}.schedule-eyebrow{display:block;font-size:.74rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#d7eed8;margin-bottom:4px}.schedule-identity h2{color:#fff;font-size:1.65rem;margin:0}.schedule-identity p{margin:5px 0 0;color:#e3f2e4}.schedule-stats{display:flex;gap:9px;position:relative;z-index:1}.schedule-stat{min-width:112px;padding:11px 12px;border-radius:14px;background:#ffffff16;border:1px solid #ffffff30;backdrop-filter:blur(4px)}.schedule-stat strong{display:block;font-size:1.35rem;line-height:1}.schedule-stat span{display:block;margin-top:5px;font-size:.7rem;line-height:1.2;color:#e5f3e6}.schedule-board{border-radius:18px;box-shadow:0 12px 30px #234f2817}.weekly-schedule-wrap{border-radius:18px;border-color:#cfdccc}.weekly-schedule{table-layout:fixed;min-width:1160px;background:#fff}.weekly-schedule th:first-child{width:112px}.weekly-schedule th:not(:first-child){width:208px}.weekly-schedule thead th{position:sticky;top:0;z-index:4;padding:12px 9px;background:#eaf3e8;text-align:center;border-bottom:2px solid #cbdac8}.weekly-schedule thead .time-column{left:0;z-index:6;background:#dcebd9;text-align:left}.time-column span,.day-heading span{display:block;font-size:.68rem;letter-spacing:.08em;color:#718075}.time-column strong,.day-heading strong{display:block;margin-top:2px;font-size:.92rem;color:var(--green)}.weekly-schedule td{height:126px;padding:8px;vertical-align:top;background:#fff;border-right:1px solid #edf1ec}.weekly-schedule td.today-column,.weekly-schedule th.today-column{background:#f1f8ef}.weekly-schedule .day-heading.today-column{box-shadow:inset 0 -3px 0 #2f7d32}.weekly-schedule .schedule-period{position:sticky;left:0;z-index:3;background:#eef5ec;color:var(--green);text-align:center;border-right:2px solid #d1dfce}.schedule-period .period-number{display:block;font-size:.73rem;color:#68766b}.schedule-period strong{display:block;font-size:1rem;margin-top:8px}.schedule-period small{display:block;font-size:.72rem;color:var(--muted);margin-top:1px}.schedule-slot-list{display:flex;flex-direction:column;gap:7px}.schedule-entry{display:flex;flex-direction:column;gap:6px;border:1px solid #dce5da;border-left:0;border-top:4px solid #7c8a80;border-radius:12px;padding:8px 9px;background:#fafcfa;line-height:1.18;box-shadow:0 4px 12px #24332a0b;transition:transform .16s ease,box-shadow .16s ease}.schedule-entry:hover{transform:translateY(-1px);box-shadow:0 7px 16px #24332a16}.schedule-entry strong{font-size:.86rem;color:#26342a}.schedule-entry-top{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.schedule-type-pill{display:inline-flex;padding:3px 6px;border-radius:999px;background:#ffffffb8;font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.schedule-room{max-width:105px;text-align:right;color:#5f6c62;font-size:.65rem;font-weight:750;line-height:1.15}.schedule-groups{display:flex;flex-wrap:wrap;gap:4px}.schedule-groups span{display:inline-flex;padding:3px 6px;border-radius:6px;background:#fff;border:1px solid #d9e5d6;font-size:.67rem;font-weight:850;color:#415344}.schedule-note{font-size:.67rem;color:var(--muted)}.schedule-entry.teaching{border-top-color:#2f7d32;background:linear-gradient(155deg,#f7fcf7,#eef8ed)}.schedule-entry.guard-general{border-top-color:#2d6da3;background:linear-gradient(155deg,#f6faff,#eaf3fb)}.schedule-entry.guard-specific{border-top-color:#6b63a5;background:linear-gradient(155deg,#faf9ff,#f0eefb)}.schedule-entry.recess{border-top-color:#cc8a00;background:linear-gradient(155deg,#fffdf7,#fff4d9)}.schedule-entry.other{border-top-color:#7c8a80;background:linear-gradient(155deg,#fbfcfb,#f1f4f1)}.schedule-no-direct{height:100%;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed #dbe3d9;border-radius:11px;background:linear-gradient(145deg,#fbfcfb,#f6f8f5);color:#929d95;text-align:center}.schedule-no-direct span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf1ec;font-weight:900}.schedule-no-direct strong{max-width:125px;font-size:.7rem;font-weight:750;line-height:1.2}.break-row td{background:#fffdf7}.break-row td.today-column{background:#fff9e9}.break-row .schedule-period{background:#fff3ce}.schedule-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:15px;padding:11px 14px;border-radius:12px;background:#fff;border:1px solid var(--border);font-size:.82rem;color:var(--muted)}.legend.no-direct{background:#edf1ec;border:1px dashed #aeb9b0}

@media(max-width:1050px){.import-choice-grid{grid-template-columns:1fr 1fr}.import-choice.legacy{grid-column:1/-1}.last-import-grid{grid-template-columns:repeat(3,1fr)}.schedule-hero{grid-template-columns:auto 1fr}.schedule-stats{grid-column:1/-1}.schedule-stat{flex:1}}
@media(max-width:700px){.import-choice-grid,.import-format-grid{grid-template-columns:1fr}.import-choice.legacy{grid-column:auto}.last-import-grid{grid-template-columns:1fr 1fr}.schedule-toolbar{align-items:stretch;flex-direction:column}.schedule-toolbar-actions .btn,.schedule-toolbar-actions button{flex:1;text-align:center}.schedule-hero{grid-template-columns:auto 1fr;padding:16px}.schedule-avatar{width:58px;height:58px;border-radius:18px}.schedule-identity h2{font-size:1.2rem}.schedule-stats{overflow:auto}.schedule-stat{min-width:110px}.weekly-schedule{min-width:1080px}}
@media print{.schedule-hero{padding:8px 10px;margin-bottom:8px;background:#fff!important;color:#222;border:1px solid #aaa;box-shadow:none}.schedule-avatar{width:42px;height:42px;color:#222;border-color:#aaa}.schedule-identity h2,.schedule-identity p,.schedule-eyebrow{color:#222}.schedule-stats{margin-left:auto}.schedule-stat{padding:5px 7px;color:#222;border-color:#aaa;background:#fff}.schedule-stat strong{font-size:12px}.schedule-stat span{font-size:7px;color:#333}.schedule-entry{box-shadow:none;padding:4px 5px;gap:2px;border-radius:5px}.schedule-entry:hover{transform:none}.schedule-entry-top{display:block}.schedule-type-pill{font-size:6px}.schedule-room{font-size:6px;max-width:none;text-align:left}.schedule-groups span{font-size:6px;padding:1px 3px}.schedule-no-direct{min-height:70px;background:#fff;border-color:#ccc}.schedule-no-direct strong{font-size:7px}.weekly-schedule td{height:78px}.weekly-schedule thead th{position:static}.weekly-schedule .schedule-period{position:static}}


/* 1.9 · Accesos del profesorado */
button:disabled,.btn:disabled{opacity:.48;cursor:not-allowed}.teacher-access-form{margin-top:7px}.teacher-save-form{display:inline}.access-button{background:#27547c}.account-role{display:block;margin-top:5px;color:var(--muted);font-size:.72rem}.password-change-card{margin-top:8vh;border-top:5px solid var(--green2)}.password-change-card h1{margin-top:13px}.password-change-card .login-version{margin-top:20px}.teacher-access-form button,.teacher-save-form button{width:100%}

/* 2.0 · Aulas libres */
.room-free-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:22px 24px;border-radius:20px;background:linear-gradient(130deg,#173d21 0%,#2f7d32 64%,#55a359 100%);color:#fff;box-shadow:0 18px 42px #234f2830;position:relative;overflow:hidden}.room-free-hero:after{content:'';position:absolute;width:240px;height:240px;right:-95px;top:-145px;border-radius:50%;background:#ffffff13}.room-free-hero>div{position:relative;z-index:1}.room-free-hero h2{margin:3px 0 4px;color:#fff;font-size:1.55rem}.room-free-hero p{margin:0;color:#e0f0e1}.room-free-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.room-free-hero-actions .btn{background:#ffffff18;border:1px solid #ffffff38}.room-free-controls{padding:15px 17px;margin-bottom:18px}.room-filter-grid{grid-template-columns:minmax(170px,.7fr) minmax(230px,1fr) minmax(230px,1fr)}.room-filter-options{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px}.room-filter-options label{display:inline-flex;align-items:center;gap:7px;margin:0;font-weight:700;color:var(--muted)}.room-filter-options input,.room-toggle input{width:auto}.room-period-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.room-period-card{padding:0;overflow:hidden}.room-period-card.is-break{border-color:#ead79b;background:#fffdf7}.room-period-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px}.room-period-heading h2{margin:2px 0 0;font-size:1.22rem}.room-period-label{display:block;color:var(--muted);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.room-availability-count{display:flex;align-items:baseline;gap:5px;padding:8px 12px;border-radius:13px;background:#e8f5e7;color:#245d2a}.room-availability-count strong{font-size:1.65rem;line-height:1}.room-availability-count span{font-size:.75rem;font-weight:900;text-transform:uppercase}.room-progress{height:7px;margin:0 18px;background:#edf1ec;border-radius:999px;overflow:hidden}.room-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f7d32,#64ad68)}.room-card-meta{display:flex;justify-content:space-between;gap:12px;padding:8px 18px 12px;color:var(--muted);font-size:.75rem}.free-room-list{display:flex;flex-wrap:wrap;gap:8px;padding:2px 18px 19px}.free-room-chip{display:inline-flex;flex-direction:column;gap:2px;min-width:140px;max-width:230px;padding:8px 10px;border:1px solid #cfe0cd;border-left:4px solid #2f7d32;border-radius:10px;background:linear-gradient(145deg,#f8fcf7,#edf7ec)}.free-room-chip strong{font-size:.82rem;color:#29482d;line-height:1.2}.free-room-chip small{font-size:.65rem;color:var(--muted);line-height:1.15}.free-room-chip.special{border-left-color:#2d6da3;background:linear-gradient(145deg,#f7fbff,#eaf3fb)}.free-room-chip.administration,.free-room-chip.service,.free-room-chip.other{border-left-color:#7c8a80;background:linear-gradient(145deg,#fbfcfb,#f0f3ef)}.room-none-free{margin:2px 18px 19px;padding:20px;text-align:center;border:1px dashed #d5ddd3;border-radius:11px;color:var(--muted);background:#fafbfa}.room-legend{align-items:center}.legend.room-classroom{background:#2f7d32}.legend.room-special{background:#2d6da3}.legend.room-other{background:#7c8a80}.room-catalog-table td{vertical-align:middle}.room-toggle{display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 9px;border:1px solid var(--border);border-radius:9px;background:#fafcfa;white-space:nowrap}.room-toggle span{font-size:.78rem;font-weight:800}.room-catalog-table select,.room-catalog-table input{min-width:170px}
@media(max-width:900px){.room-period-grid{grid-template-columns:1fr}.room-filter-grid{grid-template-columns:1fr 1fr}.room-filter-grid>div:last-child{grid-column:1/-1}}
@media(max-width:650px){.room-free-hero{align-items:flex-start;flex-direction:column;padding:18px}.room-free-hero-actions{width:100%}.room-free-hero-actions .btn{flex:1;text-align:center}.room-filter-grid{grid-template-columns:1fr}.room-filter-grid>div:last-child{grid-column:auto}.free-room-chip{min-width:calc(50% - 4px);max-width:none}.room-catalog-table{min-width:900px}}
@media print{.room-free-hero{padding:10px 12px;background:#fff!important;color:#222;border:1px solid #999;box-shadow:none}.room-free-hero h2,.room-free-hero p,.room-free-hero .schedule-eyebrow{color:#222}.room-period-grid{grid-template-columns:1fr 1fr;gap:8px}.room-period-card{box-shadow:none}.free-room-list{gap:4px;padding:2px 8px 8px}.free-room-chip{min-width:100px;padding:4px 6px}.free-room-chip strong{font-size:7px}.free-room-chip small{font-size:6px}.room-period-heading{padding:8px}.room-progress,.room-card-meta{margin-left:8px;margin-right:8px}.room-availability-count strong{font-size:14px}}

/* 2.1 · Configurador integral de guardias */
.guard-config-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:20px;padding:23px 25px;border-radius:20px;background:linear-gradient(132deg,#142f63 0%,#153e9b 62%,#2358be 100%);color:#fff;box-shadow:0 18px 42px #153e9b2d;position:relative;overflow:hidden}.guard-config-intro:after{content:'';position:absolute;width:270px;height:270px;border-radius:50%;right:-115px;top:-170px;background:#ffd44f24}.guard-config-intro>div,.guard-config-intro>.btn{position:relative;z-index:1}.guard-config-intro h2{margin:3px 0 5px;color:#fff;font-size:1.55rem}.guard-config-intro p{margin:0;color:#e6edff}.guard-config-intro .schedule-eyebrow{color:#ffd85f}.guard-config-intro .btn{background:#ffd24c;color:#102d70}.guard-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:22px}.guard-config-option{display:grid;grid-template-columns:62px 1fr;align-items:stretch;min-height:76px;text-decoration:none;color:#102f83;border:1px solid #d9e2f5;border-radius:13px;background:#fff;box-shadow:0 7px 20px #1235740d;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.guard-config-option:hover{transform:translateY(-2px);box-shadow:0 12px 26px #12357418;border-color:#f0c63d}.guard-config-option.active{border-color:#f0c63d;box-shadow:0 12px 28px #e0b72f22;background:linear-gradient(90deg,#fffdf3,#fff)}.guard-config-number{display:grid;place-items:center;background:#ffd34f;color:#0d3191;font-size:1.38rem;font-weight:500}.guard-config-option>span:last-child{display:flex;flex-direction:column;justify-content:center;padding:10px 14px}.guard-config-option strong{display:inline-block;width:max-content;max-width:100%;font-size:1rem;text-transform:uppercase;letter-spacing:.015em;border-bottom:4px solid #ffd34f;line-height:1.24}.guard-config-option small{display:block;margin-top:5px;color:#6e7890;font-size:.73rem;line-height:1.25}.config-section{margin-top:16px}.assignment-order-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}.assignment-order-row{display:grid;grid-template-columns:34px 1fr 90px;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d9e3d7;border-radius:11px;background:#fafcfa}.order-handle{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#edf2ec;color:#6d796f;font-weight:900}.order-check{display:flex;align-items:center;gap:9px;margin:0}.order-check input{width:auto}.order-check span{font-weight:800}.order-position{min-width:0;text-align:center}.priority-table{max-height:520px}.priority-table input{max-width:110px}.signature-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin-top:16px}.signature-options label{display:flex;align-items:flex-start;gap:9px;margin:0;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:#fafcfa}.signature-options input{width:auto;margin-top:2px}.duty-card{border-top:5px solid #2d6da3}.duty-card.recess-duty{border-top-color:#cc8a00}.duty-card.general-duty{border-top-color:#2d6da3}.guard-person .badge{max-width:250px;white-space:normal;text-align:right}.config-section .table-wrap input[type=checkbox]{width:auto}.config-section .table-wrap input,.config-section .table-wrap select{min-width:100px}.config-section small.muted{display:block;margin-top:4px}.config-section textarea{min-height:82px}
@media(max-width:850px){.guard-config-grid{grid-template-columns:1fr}.guard-config-option{min-height:68px}.signature-options{grid-template-columns:1fr}.guard-config-intro{align-items:flex-start;flex-direction:column}.guard-config-intro .btn{width:100%;text-align:center}}
@media(max-width:520px){.guard-config-option{grid-template-columns:52px 1fr}.guard-config-number{font-size:1.2rem}.guard-config-option strong{font-size:.86rem}.assignment-order-row{grid-template-columns:28px 1fr 68px}.guard-config-intro{padding:18px}}
@media print{.guard-config-grid,.guard-config-intro .btn{display:none}.guard-config-intro{background:#fff!important;color:#222;border:1px solid #999;box-shadow:none}.guard-config-intro h2,.guard-config-intro p{color:#222}}

/* 2.2 · Reparto por guardias con alumnado y reasignación manual */
.student-guard-count{background:#e8efff;color:#173f8c;border:1px solid #cbd9f6;white-space:nowrap}
.current-guard-assignment{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.manual-assignment-form{display:grid;grid-template-columns:minmax(230px,1fr) auto;gap:7px;align-items:end;margin-top:7px;padding-top:8px;border-top:1px dashed #d9e3d7}
.manual-assignment-form .compact-label{grid-column:1/-1;margin:0;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}
.manual-assignment-form select{min-width:300px}
.manual-unassign-form{margin-top:6px}
.guard-person-head .student-guard-count{margin-left:auto}
@media(max-width:700px){.manual-assignment-form{grid-template-columns:1fr}.manual-assignment-form button{width:100%}.manual-assignment-form select{min-width:0}.guard-person-head .student-guard-count{margin-left:0}}

/* 2.2 · Rediseño estable de Aulas libres */
.room-free-page{display:block}.room-free-controls{padding:18px 20px}.room-filter-form{display:block}.room-filter-main{display:grid;grid-template-columns:minmax(175px,220px) minmax(320px,1fr) auto;gap:16px;align-items:end}.room-filter-field label{margin:0 0 6px}.room-filter-buttons{display:flex;gap:8px;align-items:center;padding-bottom:1px}.room-filter-buttons .btn,.room-filter-buttons button{white-space:nowrap}.room-filter-secondary{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid #e2e9df}.room-option{display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 11px;border:1px solid #dbe5d8;border-radius:10px;background:#f8faf8;color:#536158;font-size:.84rem;font-weight:800}.room-option input{width:auto;margin:0}.room-config-link{margin-left:auto;color:var(--green);font-weight:850;text-decoration:none;border-bottom:1px dotted currentColor}.room-period-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:9px;margin:0 0 20px}.room-period-selector-item{display:flex;min-height:82px;flex-direction:column;justify-content:center;gap:2px;padding:11px 12px;border:1px solid #d8e4d5;border-radius:12px;background:#fff;color:var(--text);text-decoration:none;box-shadow:0 5px 16px #234f280b;transition:.15s ease}.room-period-selector-item:hover{transform:translateY(-2px);border-color:#79a879;box-shadow:0 9px 22px #234f2814}.room-period-selector-item strong{color:var(--green);font-size:.9rem}.room-period-selector-item span{font-size:.72rem;color:var(--muted)}.room-period-selector-item em{margin-top:3px;color:#2f7d32;font-size:.72rem;font-style:normal;font-weight:900}.room-period-selector-item.active{border:2px solid #2f7d32;background:linear-gradient(145deg,#f7fcf6,#e9f6e8);padding:10px 11px}.room-period-selector-item.is-break{border-color:#e5d09a;background:#fffdf7}.room-period-selector-item.is-break.active{border-color:#c58a00;background:#fff8e4}.room-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:4px 0 12px}.room-results-heading h2{margin:0}.room-results-heading p{margin:4px 0 0}.room-total-badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e8f2e7;color:#285e2e;font-size:.78rem;font-weight:900;white-space:nowrap}.room-period-grid{display:flex;flex-direction:column;gap:16px}.room-period-card{padding:0;overflow:hidden}.room-period-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px 13px;background:linear-gradient(90deg,#fbfdfb,#fff)}.room-period-card.is-break .room-period-heading{background:linear-gradient(90deg,#fffaf0,#fff)}.room-period-time{display:flex;align-items:center;gap:13px}.room-period-time .room-period-label{display:inline-grid;place-items:center;min-width:74px;padding:7px 10px;border-radius:9px;background:#e8f3e7;color:#285f2e;font-size:.75rem}.room-period-card.is-break .room-period-time .room-period-label{background:#fff0c5;color:#805900}.room-period-time h3{margin:0;font-size:1.18rem}.room-period-stats{display:flex;gap:8px;flex-wrap:wrap}.room-stat{display:inline-flex;align-items:baseline;gap:5px;padding:7px 10px;border-radius:10px;font-size:.76rem;font-weight:850}.room-stat strong{font-size:1.2rem}.room-stat.free{background:#e5f5e5;color:#245f2b}.room-stat.busy{background:#edf1f4;color:#56626b}.room-progress{height:6px;margin:0;background:#edf1ec;border-radius:0}.room-progress span{display:block;height:100%;background:linear-gradient(90deg,#2f7d32,#6ab56d)}.room-groups{display:flex;flex-direction:column;gap:16px;padding:17px 20px 21px}.room-group{display:block}.room-group-title{display:flex;align-items:center;gap:9px;margin-bottom:9px}.room-group-title h4{margin:0;color:#3e5443;font-size:.86rem;text-transform:uppercase;letter-spacing:.035em}.room-group-title span{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#edf2ec;color:#536058;font-size:.72rem;font-weight:900}.free-room-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:8px;padding:0}.free-room-chip{display:flex;min-width:0;max-width:none;min-height:44px;align-items:center;padding:9px 11px;border:1px solid #cfe0cd;border-left:5px solid #2f7d32;border-radius:9px;background:#f5fbf4}.free-room-chip strong{font-size:.8rem;line-height:1.2;overflow-wrap:anywhere}.free-room-chip.special{border-left-color:#2d6da3;background:#f2f7fc}.free-room-chip.administration,.free-room-chip.service,.free-room-chip.other{border-left-color:#7c8a80;background:#f6f8f6}.room-none-free{margin:18px 20px 21px}.room-legend{padding:3px 2px 0}.room-free-hero-actions .btn{color:#fff}.room-free-hero-actions .btn:hover{background:#ffffff2c}
@media(max-width:900px){.room-filter-main{grid-template-columns:1fr 1fr}.room-filter-buttons{grid-column:1/-1}.room-config-link{margin-left:0}.room-period-selector{grid-template-columns:repeat(3,minmax(0,1fr))}.free-room-list{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
@media(max-width:620px){.room-filter-main{grid-template-columns:1fr}.room-filter-buttons{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.room-filter-buttons .btn,.room-filter-buttons button{text-align:center}.room-filter-secondary{align-items:stretch;flex-direction:column}.room-option{width:100%}.room-period-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.room-results-heading{align-items:flex-start;flex-direction:column}.room-period-heading{align-items:flex-start;flex-direction:column}.room-period-time{align-items:flex-start;flex-direction:column;gap:5px}.room-period-stats{width:100%}.room-stat{flex:1;justify-content:center}.room-groups{padding:14px}.free-room-list{grid-template-columns:1fr 1fr}.room-free-hero-actions{display:grid;grid-template-columns:1fr 1fr}.room-free-hero-actions .btn{text-align:center}}
@media(max-width:400px){.room-period-selector{grid-template-columns:1fr}.free-room-list{grid-template-columns:1fr}.room-filter-buttons,.room-free-hero-actions{grid-template-columns:1fr}}
@media print{.room-period-selector,.room-free-controls{display:none!important}.room-period-card{break-inside:avoid}.room-groups{padding:8px}.free-room-list{grid-template-columns:repeat(4,1fr)}.free-room-chip{min-height:28px;padding:4px 5px}.free-room-chip strong{font-size:7px}.room-period-heading{padding:7px 9px}.room-period-stats{font-size:7px}.room-results-heading{margin:0 0 5px}}
.coverage-manage-link{display:inline-block;margin-top:6px;color:#245f2b;font-size:.75rem;font-weight:900;text-decoration:none;border-bottom:1px dotted currentColor}.coverage-manage-link:hover{border-bottom-style:solid}.coverage:target{outline:3px solid #f2c94c;outline-offset:-2px;background:#fffdf2}.coverage-summary-item .student-guard-count{margin-left:4px}
.assignment-fixed-rule{display:flex;flex-direction:column;gap:5px;margin:12px 0 14px;padding:14px 16px;border:1px solid #cbd9f6;border-left:5px solid #2458ad;border-radius:11px;background:#f3f7ff;color:#193f80}.assignment-fixed-rule strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.045em}.assignment-fixed-rule span{font-weight:850}.assignment-fixed-rule small{margin-top:3px;color:#5d6e8b}
/* 2.3 · Reasignación manual y contadores de guardias con alumnado */
.manual-assignment-help{display:block;grid-column:1/-1;margin:-2px 0 2px;color:var(--muted);font-size:.73rem;line-height:1.3}.student-guard-count{font-variant-numeric:tabular-nums}.coverage-manage-link{display:inline-block;margin-top:5px;font-weight:850;color:var(--green2);text-decoration:none;border-bottom:1px dotted currentColor}.coverage-manage-link:hover{border-bottom-style:solid}.current-guard-assignment{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}

/* 2.4 · Cuadrante por una sola hora */
.guard-day-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:18px}.guard-date-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.guard-date-form label{margin:0 0 5px}.guard-date-form input{min-width:170px}.guard-day-name{display:flex;flex-direction:column;justify-content:center;min-width:115px;padding:7px 12px;border-left:3px solid var(--green2)}.guard-day-name span{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:850}.guard-day-name strong{color:var(--green);font-size:1.05rem}.guard-day-actions{display:flex;gap:8px;flex-wrap:wrap}
.guard-hour-layout{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;align-items:start}.guard-hour-selector{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:0 8px 24px #234f2810;position:sticky;top:12px}.guard-hour-tab{position:relative;display:flex;min-height:105px;padding:11px 8px;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--green);text-decoration:none;border-bottom:1px solid var(--border);transition:.16s ease}.guard-hour-tab:last-child{border-bottom:0}.guard-hour-tab:hover{background:#edf5eb}.guard-hour-tab.active{background:linear-gradient(145deg,#276f32,#3e9a48);color:#fff;box-shadow:inset 5px 0 0 #f2c94c}.guard-hour-tab.break:not(.active){background:#fffaf0}.guard-hour-tab.break.active{background:linear-gradient(145deg,#a06b00,#d49717)}.guard-hour-time{font-size:.78rem;font-weight:800;opacity:.9}.guard-hour-tab strong{font-size:1.65rem;line-height:1;margin:4px 0}.guard-hour-tab small{font-size:.67rem;font-weight:750;line-height:1.15}.guard-hour-tab b{position:absolute;top:7px;right:6px;min-width:22px;padding:2px 5px;border-radius:999px;background:#fff1c9;color:#745000;font-size:.62rem}.guard-hour-tab.active b{background:#fff;color:#7a5300}
.guard-hour-panel{min-width:0}.guard-hour-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;border:1px solid var(--border);border-radius:16px 16px 0 0;background:linear-gradient(135deg,#fff,#f0f7ef)}.guard-hour-kicker{display:block;color:var(--green2);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.075em}.guard-hour-header h2{margin:3px 0;color:var(--green);font-size:2rem}.guard-hour-header p{margin:0;color:var(--muted)}.guard-hour-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.guard-hour-summary span{display:flex;flex-direction:column;min-width:105px;padding:9px 11px;border:1px solid #d6e3d4;border-radius:10px;background:#fff;color:var(--muted);font-size:.72rem}.guard-hour-summary strong{font-size:1.35rem;color:var(--green)}.guard-hour-summary span.warn{border-color:#ead49a;background:#fff9e8}.guard-hour-summary span.warn strong{color:#8b6100}.guard-hour-summary span.ok{border-color:#bcdabb;background:#f3fbf3}
.guard-teacher-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:8px;padding:12px;border-left:1px solid var(--border);border-right:1px solid var(--border);background:#f7faf6}.guard-teacher-strip .guard-person{margin:0;min-height:76px;display:flex;flex-direction:column;justify-content:space-between}.guard-teacher-strip .guard-person-head strong{line-height:1.2}.guard-teacher-strip .badge{margin-top:5px;align-self:flex-start;max-width:100%;white-space:normal}
.guard-active-table-wrap{overflow:auto;background:#fff;border:1px solid var(--border);border-radius:0 0 14px 14px}.guard-active-table{min-width:1180px;table-layout:auto}.guard-active-table th{position:sticky;top:0;z-index:1;text-align:center;white-space:nowrap;padding:11px 9px;background:#e8f2e6;border-bottom:2px solid #b8ceb4}.guard-active-table td{vertical-align:middle;padding:11px 10px}.guard-active-table td:nth-child(1){width:115px;text-align:center}.guard-active-table td:nth-child(2){min-width:210px}.guard-active-table td:nth-child(3){min-width:155px}.guard-active-table td:nth-child(4){width:105px;text-align:center}.guard-active-table td:nth-child(5){min-width:285px}.guard-active-table td:nth-child(6){width:90px;text-align:center}.guard-active-table td:nth-child(7){width:112px;text-align:center}.guard-active-table td:nth-child(8){min-width:205px}.guard-active-table td small{display:block;margin-top:4px;color:var(--muted);font-size:.72rem}.guard-active-table .coverage{border-left:0}.guard-active-table .coverage.pending td:first-child{border-left:5px solid #cc8a00}.guard-active-table .coverage.assigned td:first-child{border-left:5px solid #2f7d32}.guard-active-table .coverage.completed td:first-child{border-left:5px solid #2d6da3}.guard-duty-row{background:#fbfcfb}.guard-duty-row td:first-child{border-left:5px solid #6b63a5}.room-pill{display:inline-flex;justify-content:center;align-items:center;min-height:30px;padding:5px 8px;border-radius:8px;background:#e7f2e5;color:var(--green);font-weight:850;font-size:.8rem}.muted-room{background:#eef0ee;color:#68736c}.student-count-box{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 7px;border:2px solid #8eb38c;border-radius:8px;background:#f6fbf5;color:var(--green);font-weight:950;font-variant-numeric:tabular-nums}.signature-state{display:inline-flex;justify-content:center;min-width:78px;padding:7px 9px;border-radius:8px;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.signature-state.signed{background:#dff4e2;color:#25632d}.signature-state.pending{background:#fff0bf;color:#765500}.sign-button{background:#268f9f}.guard-assignment-cell{position:relative}.hour-assignment-form{display:grid;grid-template-columns:minmax(190px,1fr) auto;gap:6px;align-items:center}.hour-assignment-form select{margin:0;padding:8px;font-size:.82rem}.hour-assignment-form button{white-space:nowrap}.guard-assignment-cell form.inline{display:inline-block;margin-top:5px}.task-cell details{border:1px solid #dbe5d8;border-radius:8px;background:#fafcfa}.task-cell summary{cursor:pointer;padding:7px 9px;color:var(--green);font-weight:850}.task-cell details div{padding:0 9px 9px;font-size:.82rem;line-height:1.35}.task-cell>small{margin-top:7px}.guard-hour-footer-note{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:12px;padding:12px 15px;border-radius:10px;background:#fff8dc;border-left:5px solid #d2aa32;font-size:.84rem}.guard-hour-footer-note span{color:var(--muted)}
@media(max-width:900px){.guard-hour-layout{grid-template-columns:1fr}.guard-hour-selector{position:static;flex-direction:row;overflow-x:auto;border-radius:12px}.guard-hour-tab{flex:0 0 98px;min-height:86px;border-bottom:0;border-right:1px solid var(--border)}.guard-hour-tab.active{box-shadow:inset 0 5px 0 #f2c94c}.guard-hour-header{align-items:flex-start;flex-direction:column}.guard-hour-summary{justify-content:flex-start}.guard-day-toolbar{align-items:stretch}.guard-day-actions{width:100%}.guard-day-actions .btn,.guard-day-actions button{flex:1;text-align:center}}
@media(max-width:600px){.guard-date-form{display:grid;grid-template-columns:1fr auto}.guard-date-form>div:first-child{grid-column:1/-1}.guard-day-name{min-width:0}.guard-hour-header{padding:16px}.guard-hour-header h2{font-size:1.55rem}.guard-hour-summary span{min-width:88px}.guard-teacher-strip{grid-template-columns:1fr}.guard-active-table{min-width:1080px}.guard-day-actions .btn,.guard-day-actions button{flex:1 1 100%}}
@media print{.guard-hour-layout{grid-template-columns:1fr}.guard-hour-selector{display:none}.guard-hour-header{border-radius:0}.guard-active-table{min-width:0;font-size:8px}.guard-active-table th,.guard-active-table td{padding:4px}.guard-teacher-strip{grid-template-columns:repeat(3,1fr)}.hour-assignment-form,.guard-assignment-cell form.inline{display:none!important}}


/* 2.5 · Funciones según profesores de guardia libres */
.duty-scenario-help{border-left:6px solid #2458ad}.duty-scenario-help>p{max-width:920px;line-height:1.55}.scenario-example{margin:14px 0;padding:12px 14px;border-radius:10px;background:#f3f7ff;color:#193f80}.scenario-add-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}.scenario-add-form label{margin:0 0 5px}.scenario-count-input{display:flex;align-items:center;gap:9px}.scenario-count-input input{width:90px;font-size:1.05rem;font-weight:900;text-align:center}.scenario-count-input span{font-weight:800;color:var(--muted)}
.duty-scenario-list{display:flex;flex-direction:column;gap:18px}.duty-scenario-card{position:relative;padding:0;overflow:hidden;border-color:#b9c9ee}.duty-scenario-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 18px;border-bottom:2px solid #2458ad;background:linear-gradient(135deg,#fff,#f5f7ff);color:#153b8f}.duty-scenario-header>div{display:flex;flex-direction:column;gap:3px}.duty-scenario-header span{font-weight:950;letter-spacing:.03em}.duty-scenario-header small{color:#627398;font-weight:700}.duty-scenario-count{display:inline-flex;align-items:center;gap:9px;min-width:88px;justify-content:center;padding:8px 13px;border:3px solid #153b8f;border-radius:9px;background:#fff;font-size:1.25rem}.duty-scenario-count span{font-size:1.35rem}.duty-scenario-form{padding:0 18px 16px}.duty-scenario-actions{display:flex;flex-direction:column}.duty-scenario-action{display:grid;grid-template-columns:55px minmax(0,1fr) 130px;gap:14px;align-items:start;padding:14px 0;border-bottom:1px solid #cbd6f2}.duty-scenario-action:last-child{border-bottom:0}.duty-position{padding-top:29px;color:#153b8f;font-size:1.18rem;font-weight:900;text-align:center}.duty-action-fields label{margin:0 0 4px;color:#153b8f;font-size:.76rem;text-transform:uppercase;letter-spacing:.045em}.duty-action-fields input{border:0;border-bottom:2px solid #2458ad;border-radius:0;padding:8px 4px;color:#123a94;font-size:1.05rem}.duty-action-fields textarea{min-height:58px;margin-top:0}.description-label{margin-top:10px!important}.duty-action-options{display:flex;flex-direction:column;gap:7px;padding-top:23px}.duty-action-options label{display:flex;align-items:center;gap:7px;margin:0;font-size:.82rem}.duty-action-options input{width:auto}.scenario-delete-form{position:absolute;right:18px;bottom:16px}.duty-scenario-form>.actions{padding-right:150px}
@media(max-width:720px){.duty-scenario-action{grid-template-columns:42px minmax(0,1fr)}.duty-action-options{grid-column:2;flex-direction:row;padding-top:0}.scenario-delete-form{position:static;margin:0 18px 16px}.duty-scenario-form>.actions{padding-right:0}.duty-scenario-header{align-items:flex-start}.duty-scenario-header small{max-width:230px}}

/* 2.6 · Editor visible de funciones de recreo */
.recess-task-editor-list{display:flex;flex-direction:column;gap:16px}
.recess-task-editor{padding:0;overflow:hidden;border-top:5px solid #2f7d32}
.recess-task-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:linear-gradient(135deg,#f5faf4,#fff);border-bottom:1px solid var(--border)}
.recess-task-editor-heading h3{margin:3px 0 0;color:var(--green);font-size:1.15rem}
.recess-task-number{display:block;color:var(--muted);font-size:.73rem;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
.recess-professor-badge{display:inline-flex;align-items:center;justify-content:center;min-width:112px;padding:8px 12px;border:2px solid #2f7d32;border-radius:999px;background:#fff;color:var(--green);font-size:.83rem;font-weight:900;white-space:nowrap}
.recess-task-editor-grid{display:grid;grid-template-columns:minmax(280px,2fr) minmax(150px,.65fr) minmax(130px,.55fr);gap:15px;padding:18px 20px 8px}
.recess-task-editor-grid label{margin:0 0 6px;color:var(--green)}
.recess-task-editor-grid input,.recess-task-editor-grid textarea{margin:0;background:#fff}
.recess-task-editor-grid input:focus,.recess-task-editor-grid textarea:focus{outline:3px solid #2f7d3226;border-color:#2f7d32}
.recess-task-editor-grid small{line-height:1.3}
.recess-field-description{grid-column:1/-1}
.recess-field-description textarea{min-height:76px;resize:vertical}
.recess-count-input{font-size:1.2rem;font-weight:950;text-align:center;color:var(--green);border-width:2px!important}
.recess-field-order input{font-weight:850;text-align:center}
.recess-task-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px 18px}
.recess-task-switches{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.recess-task-switches label{display:inline-flex;align-items:center;gap:8px;margin:0;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:#fafcfa;font-size:.84rem}
.recess-task-switches input{width:auto;margin:0}
.recess-task-editor-footer button{min-width:190px}
@media(max-width:850px){
  .recess-task-editor-grid{grid-template-columns:1fr 1fr}
  .recess-field-name,.recess-field-description{grid-column:1/-1}
}
@media(max-width:560px){
  .recess-task-editor-heading,.recess-task-editor-footer{align-items:stretch;flex-direction:column}
  .recess-professor-badge{align-self:flex-start}
  .recess-task-editor-grid{grid-template-columns:1fr;padding:15px}
  .recess-field-name,.recess-field-count,.recess-field-order,.recess-field-description{grid-column:auto}
  .recess-task-editor-footer{padding:8px 15px 16px}
  .recess-task-editor-footer button{width:100%;min-width:0}
}


/* 2.6 · Presentación clara de guardias de recreo */
.guard-chip.recess{border-left-color:#cc8a00;background:#fff8e7}
.guard-person.recess{border-left-color:#cc8a00;background:#fff8e7}
.dashboard-recess-row td{background:#fffdf5}
.dashboard-recess-row .day-period{border-left:5px solid #cc8a00}
.guard-duty-row.recess-duty-row td:first-child{border-left-color:#cc8a00}
.guard-duty-row.recess-duty-row{background:#fffdf7}
.guard-duty-row.fixed-duty-row td:first-child{border-left-color:#6b63a5}

/* 2.6 · Edición y credenciales masivas de profesorado */
.bulk-teacher-panel{display:block;margin-top:18px;padding:16px 18px;border:1px solid #cbdcc8;border-left:6px solid var(--green2);border-radius:14px;background:linear-gradient(135deg,#f7fbf6,#fff);box-shadow:0 7px 20px #234f280b}
.bulk-teacher-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid #dfe9dc}
.bulk-select-all{display:inline-flex;align-items:center;gap:9px;margin:0;color:var(--green);font-weight:900}.bulk-select-all input,.teacher-row-checkbox{width:20px;height:20px;margin:0;accent-color:var(--green2)}
#selected-teacher-count{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border-radius:999px;background:#e8f2e7;color:var(--green);font-size:.8rem;white-space:nowrap}
.bulk-teacher-actions{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:16px;margin-top:14px}
.bulk-action-card{min-width:0;padding:14px;border:1px solid #dbe6d8;border-radius:12px;background:#fff;box-shadow:0 3px 10px #234f2808}
.bulk-action-title{margin:0 0 12px;color:var(--green);font-size:.9rem;font-weight:900;line-height:1.25;text-transform:uppercase;letter-spacing:.035em}
.bulk-action-controls{display:grid;gap:10px;align-items:start}
.gender-controls{grid-template-columns:minmax(150px,1fr) auto;align-items:start}
.bulk-gender-select-wrap{min-width:0}.bulk-gender-select-wrap select{width:100%;margin:0}.bulk-gender-select-wrap small{display:block;margin:5px 2px 0;color:#68736b;font-size:.75rem;line-height:1.2}
.bulk-action-controls button{min-height:44px;margin:0;white-space:normal;line-height:1.2}
.credentials-controls{grid-template-columns:1fr 1fr}
.danger-outline{background:#fff!important;color:#a02f2f!important;border:2px solid #c95858!important}.danger-outline:hover{background:#fff3f3!important}
.bulk-teacher-help{margin:12px 0 0!important;line-height:1.45}.teacher-select-column{width:52px!important;min-width:52px!important;text-align:center!important}.teacher-table td.teacher-select-column{vertical-align:middle}.teacher-table-wrap{scroll-margin-top:16px}
.teacher-table select[name="gender"]{min-width:92px;width:100%;padding-left:12px;padding-right:34px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1150px){.bulk-teacher-actions{grid-template-columns:1fr}.credentials-controls{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.bulk-teacher-summary{align-items:flex-start;flex-direction:column}.gender-controls,.credentials-controls{grid-template-columns:1fr}.bulk-action-controls button{width:100%}}

/* 2.6 · Incorporaciones puntuales al cuadrante */
.guard-person.manual-extra-guard{border-left-color:#2b67a3;background:linear-gradient(145deg,#f5f9fd,#eef5fb)}
.manual-guard-badge{background:#dfeefd!important;color:#245582!important;border:1px solid #bfd7ef}
.manual-guard-remove{margin-top:8px;align-self:flex-start}
.manual-guard-remove button{padding:5px 9px;font-size:.75rem}
.manual-guard-add-card{grid-column:1/-1!important;min-height:0!important;padding:15px 16px!important;border:2px dashed #9eb99b!important;border-left:5px solid var(--green2)!important;background:linear-gradient(135deg,#fbfdfb,#f1f7f0)!important}
.manual-guard-add-card>strong{color:var(--green);font-size:.95rem}
.manual-guard-add-card>small{display:block;margin-top:3px;color:var(--muted);font-size:.76rem}
.manual-guard-add-form{display:grid;grid-template-columns:minmax(300px,1fr) auto;gap:9px;align-items:end;margin-top:10px}
.manual-guard-add-form select{margin:0;min-width:0;background:#fff}
.manual-guard-add-form button{min-height:43px;white-space:nowrap}
.manual-guard-add-form button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:700px){.manual-guard-add-form{grid-template-columns:1fr}.manual-guard-add-form button{width:100%}}
@media print{.manual-guard-add-card,.manual-guard-remove,.manual-guard-badge{display:none!important}}

/* 2.6 · Navegación profesional compacta */
.app-nav{
  position:relative;
  z-index:60;
  padding:0 20px;
  background:#fff;
  border-bottom:1px solid #dbe5d8;
  box-shadow:0 5px 16px rgba(35,79,40,.07);
}
.app-nav-inner{
  display:block;
  max-width:1280px;
  margin:0 auto;
}
.app-nav-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:58px;
}
.nav-primary-links,.nav-dropdowns{
  display:flex;
  align-items:center;
  gap:4px;
}
.nav-main-link,.nav-menu>summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#35563a;
  font-size:.9rem;
  font-weight:790;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  list-style:none;
  transition:background .14s ease,color .14s ease,box-shadow .14s ease;
}
.nav-main-link:hover,.nav-menu>summary:hover{
  background:#f0f6ef;
  color:#1f5b2a;
}
.nav-main-link.active,.nav-menu.active-group>summary{
  background:#e8f3e7;
  color:#1f672c;
  box-shadow:inset 0 0 0 1px #c9ddc6;
}
.nav-main-link.active::after,.nav-menu.active-group>summary::after{
  content:"";
  position:absolute;
  left:13px;
  right:13px;
  bottom:-10px;
  height:3px;
  border-radius:999px 999px 0 0;
  background:#2f7d32;
}
.nav-menu{
  position:relative;
  min-width:0;
}
.nav-menu>summary::-webkit-details-marker{display:none}
.nav-menu>summary::marker{content:""}
.nav-chevron{
  width:7px;
  height:7px;
  margin:-3px 0 0 9px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  opacity:.65;
  transition:transform .16s ease,margin .16s ease;
}
.nav-menu[open] .nav-chevron{
  margin-top:3px;
  transform:rotate(225deg);
}
.nav-menu-panel{
  position:absolute;
  top:calc(100% + 9px);
  right:0;
  z-index:90;
  display:grid;
  min-width:238px;
  padding:7px;
  border:1px solid #d8e4d5;
  border-radius:13px;
  background:#fff;
  box-shadow:0 18px 45px rgba(26,59,31,.20),0 2px 8px rgba(26,59,31,.08);
  animation:navPanelIn .13s ease-out;
}
.nav-menu-panel::before{
  content:"";
  position:absolute;
  top:-6px;
  right:24px;
  width:11px;
  height:11px;
  border-left:1px solid #d8e4d5;
  border-top:1px solid #d8e4d5;
  background:#fff;
  transform:rotate(45deg);
}
.nav-menu-link{
  position:relative;
  display:flex;
  align-items:center;
  min-height:39px;
  padding:8px 12px;
  border-radius:8px;
  color:#36543b;
  font-size:.88rem;
  font-weight:720;
  line-height:1.2;
  text-decoration:none;
}
.nav-menu-link:hover{
  background:#f0f6ef;
  color:#1f5d29;
}
.nav-menu-link.active{
  padding-left:17px;
  background:#e7f2e6;
  color:#1e652a;
  font-weight:850;
}
.nav-menu-link.active::before{
  content:"";
  position:absolute;
  left:7px;
  width:4px;
  height:19px;
  border-radius:999px;
  background:#2f7d32;
}
.nav-main-link:focus-visible,.nav-menu>summary:focus-visible,.nav-menu-link:focus-visible,.mobile-nav-toggle:focus-visible{
  outline:3px solid rgba(47,125,50,.24);
  outline-offset:2px;
}
.mobile-nav-toggle{display:none}
@keyframes navPanelIn{
  from{opacity:0;transform:translateY(-5px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:900px){
  .app-nav{padding:8px 12px}
  .mobile-nav-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:44px;
    padding:0 13px;
    border:1px solid #d6e2d3;
    border-radius:10px;
    background:#f7faf6;
    color:#28522f;
    font-size:.9rem;
    font-weight:850;
  }
  .mobile-nav-chevron{
    width:8px;
    height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:transform .16s ease;
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-chevron{transform:rotate(225deg)}
  .app-nav-content{
    display:none;
    min-height:0;
    padding:8px 0 2px;
  }
  .app-nav-content.mobile-open{
    display:grid;
    gap:7px;
  }
  .nav-primary-links,.nav-dropdowns{
    display:grid;
    gap:5px;
  }
  .nav-main-link,.nav-menu>summary{
    justify-content:space-between;
    width:100%;
    min-height:42px;
    padding:0 13px;
    border:1px solid transparent;
  }
  .nav-main-link.active,.nav-menu.active-group>summary{border-color:#c9ddc6}
  .nav-main-link.active::after,.nav-menu.active-group>summary::after{display:none}
  .nav-menu-panel{
    position:static;
    min-width:0;
    margin:5px 0 3px;
    padding:5px;
    border-radius:10px;
    box-shadow:none;
    background:#f8faf7;
    animation:none;
  }
  .nav-menu-panel::before{display:none}
  .nav-menu-link{min-height:38px;padding-left:18px}
  .nav-menu-link.active{padding-left:22px}
}

@media print{.app-nav{display:none!important}}

/* 2.6 · Menú visual compacto en una sola franja — restauración segura */
.app-nav{
  position:relative;
  z-index:60;
  padding:8px 14px;
  background:linear-gradient(180deg,#fbfdfb 0%,#f4f8f3 100%);
  border-bottom:1px solid #dbe5d8;
  box-shadow:0 5px 14px rgba(35,79,40,.06);
}
.app-nav .app-nav-inner{
  display:block;
  max-width:1280px;
  margin:0 auto;
}
.app-nav .app-nav-grid-layout{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 4px;
  scrollbar-width:thin;
  scrollbar-color:#c7d8c4 transparent;
}
.app-nav .app-nav-grid-layout::-webkit-scrollbar{height:7px}
.app-nav .app-nav-grid-layout::-webkit-scrollbar-thumb{background:#c7d8c4;border-radius:999px}
.app-nav .app-nav-grid-layout::-webkit-scrollbar-track{background:transparent}
.app-nav .app-nav-section{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.app-nav .app-nav-section-title{
  margin:0;
  padding:6px 10px;
  border:1px solid #d8e4d5;
  border-radius:999px;
  background:#edf4eb;
  color:#315b35;
  font-size:.72rem;
  font-weight:900;
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.app-nav .nav-tile-grid{
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
}
.app-nav .nav-tile{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-width:0;
  min-height:50px;
  padding:8px 12px;
  border:1px solid #d8e4d5;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fafcf9 100%);
  box-shadow:0 4px 12px rgba(35,79,40,.08),0 1px 3px rgba(35,79,40,.04);
  color:#1f5631;
  text-align:left;
  text-decoration:none;
  white-space:nowrap;
  flex:0 0 auto;
  overflow:hidden;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;
}
.app-nav .nav-tile:hover{
  transform:translateY(-1px);
  border-color:#bcd0b9;
  background:linear-gradient(180deg,#fff 0%,#f6fbf5 100%);
  box-shadow:0 7px 16px rgba(35,79,40,.12),0 2px 5px rgba(35,79,40,.05);
}
.app-nav .nav-tile.active{
  border-color:#8caf87;
  background:linear-gradient(180deg,#fff 0%,#edf6ec 100%);
  box-shadow:0 7px 16px rgba(35,79,40,.13),inset 0 -3px 0 rgba(47,125,50,.35);
}
.app-nav .nav-tile:focus-visible{
  outline:3px solid rgba(47,125,50,.22);
  outline-offset:2px;
}
.app-nav .nav-tile-icon-wrap{
  position:relative;
  display:grid;
  place-items:center;
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  min-height:30px !important;
  max-width:30px !important;
  max-height:30px !important;
  flex:0 0 30px !important;
  overflow:hidden;
}
.app-nav .nav-tile-icon-bg{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 50% 42%,#eef4ec 0%,#e4ece2 68%,#dbe5d9 100%);
}
.app-nav .nav-tile-icon{
  position:relative;
  display:grid;
  place-items:center;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  overflow:hidden;
  color:#1f5631;
}
.app-nav .nav-tile-icon svg{
  display:block !important;
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  flex:0 0 18px !important;
  overflow:visible;
}
.app-nav .nav-tile-label{
  display:block;
  min-height:0;
  color:#195130;
  font-size:.80rem;
  font-weight:850;
  line-height:1.05;
  white-space:nowrap;
}
.app-nav .nav-tile-underline{display:none}

@media(max-width:900px){
  .app-nav{padding:8px 10px}
  .app-nav .app-nav-grid-layout{gap:12px}
  .app-nav .app-nav-section{gap:8px}
  .app-nav .app-nav-section-title{padding:5px 9px;font-size:.68rem}
  .app-nav .nav-tile{min-height:46px;padding:7px 10px;border-radius:12px}
  .app-nav .nav-tile-label{font-size:.76rem}
}
@media(max-width:560px){
  .app-nav{padding:7px 8px}
  .app-nav .app-nav-grid-layout{gap:10px}
  .app-nav .nav-tile-grid{gap:6px}
  .app-nav .nav-tile{min-height:42px;padding:6px 9px}
  .app-nav .nav-tile-label{font-size:.72rem}
  .app-nav .app-nav-section-title{display:none}
}
@media print{.app-nav{display:none!important}}

/* 2.6 · Menú por pestañas funcionales en una sola franja */
.app-nav-tabs{
  padding:8px 14px;
  background:linear-gradient(180deg,#fbfdfb 0%,#f4f8f3 100%);
  border-bottom:1px solid #dbe5d8;
  box-shadow:0 5px 14px rgba(35,79,40,.06);
}
.app-nav-tabs .app-nav-inner{
  display:flex;
  align-items:center;
  gap:12px;
  max-width:1280px;
  margin:0 auto;
  min-width:0;
}
.app-nav-tabs .nav-group-tabs{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}
.app-nav-tabs .nav-group-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0;
  padding:8px 12px;
  border:1px solid #d4e1d1;
  border-radius:12px;
  background:#eef5ec;
  color:#315b35;
  box-shadow:none;
  font-size:.72rem;
  font-weight:900;
  line-height:1.05;
  letter-spacing:.035em;
  text-transform:uppercase;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.app-nav-tabs .nav-group-tab:hover{
  background:#e5f0e3;
  border-color:#b9ceb5;
}
.app-nav-tabs .nav-group-tab.active{
  background:linear-gradient(135deg,#245b2e,#34813a);
  border-color:#245b2e;
  color:#fff;
  box-shadow:0 5px 12px rgba(35,79,40,.18);
}
.app-nav-tabs .nav-group-tab:focus-visible{
  outline:3px solid rgba(47,125,50,.22);
  outline-offset:2px;
}
.app-nav-tabs .nav-group-panels{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
}
.app-nav-tabs .nav-group-panel{
  min-width:0;
}
.app-nav-tabs .nav-group-panel[hidden]{display:none!important}
.app-nav-tabs .nav-group-panel.active{display:block}
.app-nav-tabs .nav-tile-grid{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 4px;
  scrollbar-width:thin;
  scrollbar-color:#c7d8c4 transparent;
}
.app-nav-tabs .nav-tile-grid::-webkit-scrollbar{height:6px}
.app-nav-tabs .nav-tile-grid::-webkit-scrollbar-thumb{background:#c7d8c4;border-radius:999px}
.app-nav-tabs .nav-tile-grid::-webkit-scrollbar-track{background:transparent}
.app-nav-tabs .nav-tile{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-height:46px;
  padding:7px 11px;
  border:1px solid #d8e4d5;
  border-radius:13px;
  background:linear-gradient(180deg,#fff 0%,#fafcf9 100%);
  box-shadow:0 3px 9px rgba(35,79,40,.08);
  color:#1f5631;
  text-decoration:none;
  white-space:nowrap;
  flex:0 0 auto;
  overflow:hidden;
}
.app-nav-tabs .nav-tile:hover{
  transform:translateY(-1px);
  border-color:#bcd0b9;
  background:#f5faf4;
  box-shadow:0 6px 13px rgba(35,79,40,.11);
}
.app-nav-tabs .nav-tile.active{
  border-color:#8caf87;
  background:#edf6ec;
  box-shadow:inset 0 -3px 0 rgba(47,125,50,.34),0 5px 12px rgba(35,79,40,.11);
}
.app-nav-tabs .nav-tile-icon-wrap{
  position:relative;
  display:grid;
  place-items:center;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  flex:0 0 30px!important;
  overflow:hidden;
}
.app-nav-tabs .nav-tile-icon-bg{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 50% 42%,#eef4ec 0%,#e4ece2 68%,#dbe5d9 100%);
}
.app-nav-tabs .nav-tile-icon,
.app-nav-tabs .nav-tile-icon svg{
  position:relative;
  display:block!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  max-width:18px!important;
  max-height:18px!important;
  flex:0 0 18px!important;
  overflow:hidden;
}
.app-nav-tabs .nav-tile-label{
  min-height:0;
  color:#195130;
  font-size:.79rem;
  font-weight:850;
  line-height:1.05;
  white-space:nowrap;
}
.app-nav-tabs .nav-tile-underline{display:none}

@media(max-width:900px){
  .app-nav-tabs{padding:7px 10px}
  .app-nav-tabs .app-nav-inner{align-items:stretch;flex-direction:column;gap:7px}
  .app-nav-tabs .nav-group-tabs{overflow-x:auto;padding-bottom:2px}
  .app-nav-tabs .nav-group-tab{min-height:36px;padding:6px 10px;font-size:.68rem}
  .app-nav-tabs .nav-tile{min-height:42px;padding:6px 9px}
  .app-nav-tabs .nav-tile-label{font-size:.74rem}
}
@media(max-width:560px){
  .app-nav-tabs .nav-group-tabs{gap:5px}
  .app-nav-tabs .nav-group-tab{padding:6px 8px;font-size:.64rem}
  .app-nav-tabs .nav-tile-grid{gap:6px}
  .app-nav-tabs .nav-tile{padding:6px 8px}
  .app-nav-tabs .nav-tile-label{font-size:.71rem}
}

/* 2.7 · Reserva semanal de espacios */
.space-booking-page{display:flex;flex-direction:column;gap:18px}
.space-booking-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:20px;background:linear-gradient(130deg,#173d21 0%,#2f7d32 65%,#55a359 100%);color:#fff;box-shadow:0 18px 42px #234f2830;position:relative;overflow:hidden}
.space-booking-hero:after{content:"";position:absolute;width:260px;height:260px;right:-100px;top:-165px;border-radius:50%;background:#ffffff12}
.space-booking-hero>div{position:relative;z-index:1}.space-booking-hero h2{margin:3px 0 4px;color:#fff;font-size:1.55rem}.space-booking-hero p{margin:0;color:#e0f0e1}.space-booking-hero .schedule-eyebrow{color:#f0d278}.space-booking-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.space-booking-hero-actions .btn{background:#ffffff18;border:1px solid #ffffff38}
.space-booking-controls{padding:15px 17px}.space-booking-filter{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,.45fr) auto;gap:14px;align-items:end}.space-booking-filter label{margin-top:0}.space-booking-filter-action{display:flex;align-items:end}.space-booking-filter-action button{min-height:43px}
.space-manager-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(460px,1.22fr);gap:16px}.space-manager-card{border-top:5px solid #2f7d32}.space-manager-card h3{margin-bottom:4px}.space-manager-card p{margin-top:0}.space-manager-form{display:grid;gap:9px}.space-manager-form label{margin:0}.space-manager-form.permanent{grid-template-columns:1fr 1fr}.space-manager-full{grid-column:1/-1}
.space-week-wrap{border-radius:16px;box-shadow:0 10px 28px #234f2810}.space-week-table{min-width:1180px;table-layout:fixed}.space-week-table thead th{text-align:center;position:sticky;top:0;z-index:3}.space-week-table thead th span{display:block;margin-top:2px;color:var(--muted);font-size:.72rem}.space-period-column{width:135px;position:sticky!important;left:0;z-index:4!important;background:#edf5eb!important}.space-period-column strong,.space-period-column span{display:block}.space-period-column span{margin-top:4px;color:var(--muted);font-size:.73rem}.space-week-table td{height:150px;padding:9px;background:#fff;vertical-align:top}.space-break-row td{background:#fffdf5}.space-slot{position:relative;border-left:4px solid #d7dfd5}.space-slot strong,.space-slot small{display:block}.space-slot strong{margin-top:7px;line-height:1.2}.space-slot small{margin-top:4px;color:var(--muted);line-height:1.25}.space-slot-free{border-left-color:#63a566;background:#f8fcf7!important}.space-slot-reservation{border-left-color:#2d6da3;background:#f4f8fc!important}.space-slot-permanent{border-left-color:#6b63a5;background:#f8f6fc!important}.space-slot-block{border-left-color:#a52c2c;background:#fff6f6!important}.space-slot-timetable{border-left-color:#7b8a80;background:#f8faf8!important}.space-slot-past{opacity:.72}.space-status-label{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;background:#ecefed;color:#5f6b63;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.space-status-label.free{background:#dff4e2;color:#25632d}.space-status-label.reserved{background:#e1edf9;color:#27547c}.space-status-label.permanent{background:#e9e5f8;color:#564c8d}.space-status-label.blocked{background:#fbdede;color:#8a2525}.space-status-label.past{background:#ecefed;color:#677169}.space-reserve-details{margin-top:9px}.space-reserve-details summary{display:inline-flex;align-items:center;padding:6px 9px;border-radius:8px;background:#2f7d32;color:#fff;font-size:.76rem;font-weight:850;cursor:pointer;list-style:none}.space-reserve-details summary::-webkit-details-marker{display:none}.space-reserve-details form{display:grid;gap:7px;margin-top:7px;padding:8px;border:1px solid #d8e4d5;border-radius:9px;background:#fff}.space-reserve-details input{padding:7px;font-size:.76rem}.space-inline-action{margin-top:8px}.space-inline-action button{font-size:.7rem}.space-booking-legend{display:flex;gap:14px;flex-wrap:wrap;padding:0 4px;color:var(--muted);font-size:.8rem}.space-booking-legend span{display:inline-flex;align-items:center;gap:6px}.space-booking-legend i{width:13px;height:13px;border-radius:4px}.space-legend-free{background:#63a566}.space-legend-reserved{background:#2d6da3}.space-legend-permanent{background:#6b63a5}.space-legend-blocked{background:#a52c2c}.space-legend-timetable{background:#7b8a80}
@media(max-width:950px){.space-manager-grid{grid-template-columns:1fr}.space-booking-filter{grid-template-columns:1fr 1fr}.space-booking-filter-action{grid-column:1/-1}.space-booking-filter-action button{width:100%}.space-booking-hero{align-items:flex-start;flex-direction:column}.space-booking-hero-actions{width:100%}.space-booking-hero-actions .btn{flex:1;text-align:center}}
@media(max-width:620px){.space-booking-filter,.space-manager-form.permanent{grid-template-columns:1fr}.space-booking-filter-action,.space-manager-full{grid-column:auto}.space-week-table td{height:135px}.space-booking-hero{padding:18px}.space-booking-hero h2{font-size:1.3rem}}
@media print{.space-booking-hero{padding:10px 12px;background:#fff!important;color:#222;border:1px solid #999;box-shadow:none}.space-booking-hero h2,.space-booking-hero p,.space-booking-hero .schedule-eyebrow{color:#222}.space-week-wrap{overflow:visible;border:0}.space-week-table{min-width:0;font-size:8px}.space-week-table td{height:90px;padding:4px}.space-period-column{width:80px}.space-reserve-details,.space-inline-action{display:none!important}}

/* 2.7 · Editor robusto de funciones de guardia sin alumnado */
.general-duty-block-list{display:flex;flex-direction:column;gap:18px;margin-top:18px}
.general-duty-block{position:relative;padding:0;overflow:hidden;border-color:#b9c9ee;border-top:5px solid #2458ad}
.general-duty-block-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;background:linear-gradient(135deg,#fff,#f4f7ff);border-bottom:1px solid #cbd6f2}
.general-duty-block-header h3{margin:3px 0 4px;color:#153b8f;font-size:1.18rem}
.general-duty-block-header p{margin:0;color:#627398;line-height:1.35}
.general-duty-block-kicker{display:block;color:#2458ad;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.055em}
.general-duty-block-count{display:grid;place-items:center;min-width:58px;height:58px;padding:0 12px;border:3px solid #153b8f;border-radius:13px;background:#fff;color:#153b8f;font-size:1.45rem;font-weight:950;box-shadow:0 5px 13px #153b8f16}
.general-duty-block-form{display:block!important;padding:18px 20px 8px!important;visibility:visible!important;opacity:1!important}
.general-duty-action-list{display:flex!important;flex-direction:column!important;gap:12px!important;visibility:visible!important}
.general-duty-action-card{display:block!important;margin:0!important;padding:14px 16px 16px!important;border:1px solid #cbd6f2!important;border-radius:12px!important;background:#fbfcff!important;min-width:0!important;visibility:visible!important}
.general-duty-action-card legend{padding:0 8px;color:#153b8f;font-size:.82rem;font-weight:950}
.general-duty-action-grid{display:grid!important;grid-template-columns:minmax(250px,1fr) minmax(150px,.32fr)!important;gap:14px!important;align-items:start!important;visibility:visible!important}
.general-duty-main-field,.general-duty-description-field,.general-duty-signature-field{display:block!important;min-width:0!important;visibility:visible!important;opacity:1!important}
.general-duty-main-field label,.general-duty-description-field label{display:block!important;margin:0 0 6px!important;color:#153b8f!important;font-size:.76rem!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.general-duty-main-field input,.general-duty-description-field textarea{display:block!important;width:100%!important;min-width:0!important;visibility:visible!important;opacity:1!important;background:#fff!important;color:#173b81!important;border:1px solid #b8c9ed!important;border-radius:9px!important;padding:10px 11px!important;font-size:.98rem!important}
.general-duty-description-field{grid-column:1/-1}
.general-duty-description-field textarea{min-height:72px!important;resize:vertical!important}
.general-duty-signature-field{padding-top:24px}
.general-duty-signature-field label{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:10px 11px!important;border:1px solid #d7dff1!important;border-radius:9px!important;background:#fff!important;color:#294a8a!important;font-size:.84rem!important;font-weight:850!important;white-space:nowrap!important}
.general-duty-signature-field input{display:inline-block!important;width:18px!important;height:18px!important;margin:0!important;visibility:visible!important;accent-color:#2458ad!important}
.general-duty-block-footer{display:flex;justify-content:flex-start;padding-top:14px}
.general-duty-block-footer button{min-width:200px}
.general-duty-delete-form{display:flex!important;justify-content:flex-end!important;padding:0 20px 18px!important;margin:0!important;visibility:visible!important}
.general-duty-delete-form button{margin:0!important}
@media(max-width:720px){.general-duty-block-header{align-items:flex-start}.general-duty-action-grid{grid-template-columns:1fr!important}.general-duty-description-field{grid-column:auto}.general-duty-signature-field{padding-top:0}.general-duty-block-form{padding:14px!important}.general-duty-delete-form{padding:0 14px 14px!important}.general-duty-block-footer button{width:100%}}

/* 2.7 · Reglas fijas de reparto presentadas sin falsos controles */
.fixed-assignment-section{overflow:hidden;border-top:5px solid #2f7d32}
.fixed-assignment-section.recess-assignment-section{border-top-color:#c49a31}
.fixed-assignment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid #e0e9de}
.fixed-assignment-heading h2{margin:4px 0 6px;color:var(--green)}
.fixed-assignment-heading p{margin:0;color:var(--muted);line-height:1.45}
.fixed-assignment-kicker{display:block;color:#2f7d32;font-size:.76rem;font-weight:950;text-transform:uppercase;letter-spacing:.055em}
.recess-assignment-section .fixed-assignment-kicker{color:#94701d}
.fixed-assignment-badge{display:inline-flex;align-items:center;justify-content:center;min-width:106px;padding:8px 12px;border-radius:999px;background:#e6f2e5;color:#245d2a;font-size:.78rem;font-weight:900;white-space:nowrap}
.fixed-assignment-badge.recess{background:#fff3ce;color:#73570d}
.fixed-assignment-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}
.fixed-assignment-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:start;padding:15px;border:1px solid #dbe6d8;border-radius:13px;background:linear-gradient(145deg,#fff,#f7faf6)}
.fixed-assignment-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#234f28,#3d8e40);color:#fff;font-size:1.05rem;font-weight:950;box-shadow:0 7px 14px #234f2820}
.recess-assignment-section .fixed-assignment-number{background:linear-gradient(135deg,#8b6819,#c49a31)}
.fixed-assignment-step strong{display:block;margin:1px 0 5px;color:#294a2e;line-height:1.25}
.fixed-assignment-step p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.42}
.fixed-assignment-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border-left:5px solid #2d6da3;border-radius:9px;background:#f0f6fb;color:#315b78}
.fixed-assignment-note strong{color:#214f70}
@media(max-width:900px){.fixed-assignment-steps{grid-template-columns:1fr}.fixed-assignment-step{grid-template-columns:38px minmax(0,1fr)}}
@media(max-width:600px){.fixed-assignment-heading{flex-direction:column}.fixed-assignment-badge{align-self:flex-start}.fixed-assignment-section{padding:15px}.fixed-assignment-step{padding:12px}}

/* 2.7 · Panel único de reglas automáticas de reparto */
.assignment-rule-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.assignment-rule-panel{padding:17px;border:1px solid #dbe6d8;border-radius:14px;background:linear-gradient(145deg,#fff,#f7faf6)}
.assignment-rule-panel.recess-rule-panel{border-color:#eadfbf;background:linear-gradient(145deg,#fff,#fffaf0)}
.assignment-rule-panel h3{margin:0 0 13px;color:#294a2e;font-size:1.05rem}
.assignment-rule-list{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;counter-reset:rule}
.assignment-rule-list li{position:relative;padding-left:42px;counter-increment:rule}
.assignment-rule-list li::before{content:counter(rule);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#234f28,#3d8e40);color:#fff;font-size:.88rem;font-weight:950}
.recess-rule-panel .assignment-rule-list li::before{background:linear-gradient(135deg,#8b6819,#c49a31)}
.assignment-rule-list strong{display:block;margin-bottom:3px;color:#294a2e;line-height:1.25}
.assignment-rule-list span{display:block;color:var(--muted);font-size:.84rem;line-height:1.4}
.assignment-rule-footnote{margin:15px 0 0;padding:10px 12px;border-radius:9px;background:#edf5eb;color:#315b35;font-size:.82rem;font-weight:750}
.recess-rule-panel .assignment-rule-footnote{background:#fff3ce;color:#73570d}
.administrative-exception-note{padding:13px 15px;border-left:5px solid #2d6da3;border-radius:9px;background:#f0f6fb;color:#315b78}
.administrative-exception-note strong{display:block;margin-bottom:3px;color:#214f70}
.administrative-exception-note p{margin:0;line-height:1.42}
@media(max-width:900px){.assignment-rule-columns{grid-template-columns:1fr}}

/* 2.8 · Sustituciones temporales de profesorado */
.substitution-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.substitution-tabs a{display:flex;align-items:center;gap:10px;min-height:54px;padding:8px 16px;border:1px solid #d5e1d2;border-radius:13px;background:#fff;color:var(--green);text-decoration:none;font-weight:850;box-shadow:0 5px 14px #234f2809}
.substitution-tabs a strong{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f2cc4d;color:#173d21;font-size:1rem}
.substitution-tabs a.active{border-color:#8eb489;background:#f0f7ef;box-shadow:inset 0 -3px 0 var(--green2),0 8px 18px #234f2810}
.substitution-tabs a:hover{background:#f6faf5;border-color:#a9c4a5}
.substitution-history-note{border-left-color:#2d6da3;background:#f2f6ff}
.substitution-card{border-top:5px solid var(--green2)}
.substitute-mode-fieldset{margin:16px 0;padding:14px;border:1px solid var(--border);border-radius:12px;background:#fafcfa}
.substitute-mode-fieldset legend{padding:0 7px;color:var(--green);font-weight:900}
.substitute-mode-fieldset .room-toggle{margin-right:10px;margin-bottom:7px}
.substitution-list{display:flex;flex-direction:column;gap:14px}
.active-substitution-card{border-left:6px solid #cc8a00}
.active-substitution-card h2{margin:8px 0 3px}
.active-substitution-card .section-heading{align-items:center}
@media(max-width:700px){.substitution-tabs{display:grid;grid-template-columns:1fr}.substitution-tabs a{width:100%}.active-substitution-card .student-guard-count{margin-top:8px}}

/* 2.8 · Relaciones visibles entre titulares y sustitutos */
.teacher-table tr.teacher-substituted-row td{background:#fff4f4;border-bottom-color:#efcece}
.teacher-table tr.teacher-substituted-row td:first-child{box-shadow:inset 5px 0 0 #b33b3b}
.teacher-table tr.teacher-substituted-row input,.teacher-table tr.teacher-substituted-row select{background:#fffafa;border-color:#dbb9b9}
.teacher-table tr.teacher-substitute-row td{background:#f4faf3;border-bottom-color:#d4e6d1}
.teacher-table tr.teacher-substitute-row td:first-child{box-shadow:inset 5px 0 0 #2f7d32}
.teacher-name-cell{min-width:260px}
.substitution-relation{display:block;margin-top:7px;padding:5px 8px;border-radius:8px;font-size:.72rem;font-weight:750;line-height:1.3}
.substitution-relation.substituted{background:#fbdede;color:#8a2525}
.substitution-relation.substitute{background:#dff4e2;color:#25632d}
.substitution-relation strong{font-weight:950}
.substitute-name-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}
@media(max-width:700px){.substitute-name-grid{grid-template-columns:1fr}.teacher-name-cell{min-width:220px}}

/* 2.8 · Navegación profesional por áreas */
.app-nav-professional{
  position:relative;
  z-index:60;
  padding:0;
  background:#fff;
  border-bottom:1px solid #d8e4d5;
  box-shadow:0 7px 22px rgba(35,79,40,.08);
}
.app-nav-professional .app-nav-inner{
  display:block;
  max-width:1280px;
  margin:0 auto;
}
.app-nav-professional .nav-primary-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:9px 16px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbf7 100%);
}
.app-nav-professional .nav-home-button,
.app-nav-professional .nav-area-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  margin:0;
  padding:9px 15px;
  border:1px solid #d5e2d2;
  border-radius:12px;
  background:#f3f8f1;
  color:#2d5834;
  box-shadow:none;
  font:inherit;
  font-size:.82rem;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.app-nav-professional .nav-home-button:hover,
.app-nav-professional .nav-area-button:hover{
  transform:translateY(-1px);
  background:#eaf4e7;
  border-color:#aec8a9;
  color:#1f5f2a;
}
.app-nav-professional .nav-home-button.active,
.app-nav-professional .nav-area-button.active{
  background:linear-gradient(135deg,#245b2e,#34813a);
  border-color:#245b2e;
  color:#fff;
  box-shadow:0 7px 16px rgba(35,79,40,.20);
}
.app-nav-professional .nav-primary-icon{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:8px;
  background:#e5efe2;
  flex:0 0 24px;
}
.app-nav-professional .nav-home-button.active .nav-primary-icon{background:rgba(255,255,255,.18)}
.app-nav-professional .nav-primary-icon svg{
  width:15px!important;
  height:15px!important;
  max-width:15px!important;
  max-height:15px!important;
}
.app-nav-professional .nav-area-tabs{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  overflow-x:auto;
  padding:1px 1px 3px;
  scrollbar-width:thin;
  scrollbar-color:#c8d8c5 transparent;
}
.app-nav-professional .nav-area-tabs::-webkit-scrollbar{height:5px}
.app-nav-professional .nav-area-tabs::-webkit-scrollbar-thumb{background:#c8d8c5;border-radius:999px}
.app-nav-professional .nav-area-chevron{
  width:7px;
  height:7px;
  margin:-3px 0 0 3px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  opacity:.7;
  transition:transform .16s ease,margin .16s ease;
}
.app-nav-professional .nav-area-button.active .nav-area-chevron{
  margin-top:3px;
  transform:rotate(225deg);
}
.app-nav-professional .nav-home-button:focus-visible,
.app-nav-professional .nav-area-button:focus-visible,
.app-nav-professional .nav-submenu-link:focus-visible{
  outline:3px solid rgba(47,125,50,.24);
  outline-offset:2px;
}
.app-nav-professional .nav-secondary-row{
  padding:10px 16px 12px;
  border-top:1px solid #e0e9de;
  background:linear-gradient(180deg,#f5f9f4 0%,#edf4eb 100%);
  transition:max-height .2s ease,opacity .18s ease,padding .2s ease,border-width .2s ease;
}
.app-nav-professional .nav-secondary-row.is-collapsed{
  max-height:0;
  overflow:hidden;
  opacity:0;
  padding-top:0;
  padding-bottom:0;
  border-top-width:0;
}
.app-nav-professional .nav-submenu-panel{
  display:flex;
  align-items:stretch;
  gap:9px;
  flex-wrap:wrap;
}
.app-nav-professional .nav-submenu-panel[hidden]{display:none!important}
.app-nav-professional .nav-submenu-link{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:175px;
  min-height:54px;
  padding:8px 12px;
  border:1px solid #d5e2d2;
  border-radius:12px;
  background:#fff;
  color:#284e2f;
  box-shadow:0 4px 12px rgba(35,79,40,.07);
  text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease;
}
.app-nav-professional .nav-submenu-link:hover{
  transform:translateY(-1px);
  border-color:#aac3a6;
  background:#fbfdfb;
  box-shadow:0 7px 16px rgba(35,79,40,.11);
}
.app-nav-professional .nav-submenu-link.active{
  border-color:#84aa80;
  background:#f1f8ef;
  box-shadow:inset 4px 0 0 #2f7d32,0 6px 15px rgba(35,79,40,.10);
}
.app-nav-professional .nav-submenu-icon{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  min-width:34px;
  min-height:34px;
  border-radius:10px;
  background:radial-gradient(circle at 50% 42%,#eef4ec 0%,#e2ece0 100%);
  overflow:hidden;
}
.app-nav-professional .nav-submenu-icon svg{
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  min-height:19px!important;
  max-width:19px!important;
  max-height:19px!important;
}
.app-nav-professional .nav-submenu-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:3px;
}
.app-nav-professional .nav-submenu-copy strong{
  color:#24532d;
  font-size:.82rem;
  line-height:1.1;
}
.app-nav-professional .nav-submenu-copy small{
  color:#6d796f;
  font-size:.68rem;
  line-height:1.15;
  white-space:normal;
}
@media(max-width:900px){
  .app-nav-professional .nav-primary-row{padding:8px 10px;gap:7px}
  .app-nav-professional .nav-home-button,.app-nav-professional .nav-area-button{min-height:39px;padding:8px 11px;font-size:.76rem}
  .app-nav-professional .nav-secondary-row{padding:9px 10px 10px}
  .app-nav-professional .nav-submenu-link{flex:1 1 190px;min-width:165px}
}
@media(max-width:600px){
  .app-nav-professional .nav-primary-row{align-items:stretch;flex-direction:column}
  .app-nav-professional .nav-home-button{align-self:flex-start}
  .app-nav-professional .nav-area-tabs{width:100%;padding-bottom:3px}
  .app-nav-professional .nav-area-button{flex:0 0 auto}
  .app-nav-professional .nav-submenu-panel{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .app-nav-professional .nav-submenu-link{min-width:0;min-height:50px;padding:7px 8px}
  .app-nav-professional .nav-submenu-copy small{display:none}
  .app-nav-professional .nav-submenu-copy strong{font-size:.76rem}
  .app-nav-professional .nav-submenu-icon{width:30px;height:30px;min-width:30px;min-height:30px}
  .app-nav-professional .nav-submenu-icon svg{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important}
}
@media(max-width:390px){
  .app-nav-professional .nav-submenu-panel{grid-template-columns:1fr}
}
@media print{.app-nav-professional{display:none!important}}

/* ===== Editor visual de horarios ===== */
.schedule-editor-intro{display:flex;justify-content:space-between;gap:18px;align-items:center}
.schedule-editor-intro h2{margin:4px 0 6px}
.editor-hero .schedule-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.editor-legend-stats .schedule-stat strong{font-size:1.4rem}
.schedule-editor-board .weekly-schedule td{vertical-align:top}
.schedule-editor-cell{position:relative;min-width:180px;background:#fbfcfb}
.schedule-editor-cell.is-selected{box-shadow:inset 0 0 0 2px rgba(31,90,55,.28);background:#f5faf4}
.schedule-editor-cell.is-source{box-shadow:inset 0 0 0 2px #c49a31;background:#fffaf0}
.editor-cell-tools{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px;align-items:center}
.editor-tool-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:1px solid #c7d4c4;background:#fff;color:#24532d;text-decoration:none;font-size:.88rem;font-weight:800;line-height:1;box-shadow:0 1px 2px rgba(31,90,55,.06);padding:0;cursor:pointer}
.editor-tool-btn:hover{background:#f2f7f1;border-color:#9eb79d}
.editor-tool-btn.apply{background:#24532d;color:#fff;border-color:#24532d}
.editor-tool-btn.danger{background:#b42323!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#8f1d1d!important;font-size:1.05rem;font-weight:950;text-shadow:0 1px 1px rgba(0,0,0,.18)}
.editor-tool-btn.danger:hover{background:#941b1b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#7d1717!important}
.editor-tool-btn.danger:focus-visible{outline:3px solid rgba(180,35,35,.25);outline-offset:2px}
.editor-slot-list .schedule-entry{padding:10px 11px;position:relative}
.editor-entry-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;color:#536256;font-size:.78rem}
.editor-entry-edit{display:inline-flex;margin-top:8px;color:#24532d;font-size:.77rem;font-weight:700;text-decoration:none}
.editor-empty-slot{min-height:110px;gap:4px;padding:12px}
.editor-empty-slot small{color:#718173}
.editor-clipboard-state{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:#f5f8f4;border:1px solid #d2ddd0;color:#24532d}
.editor-clipboard-state.move{border-color:#d7c06a;background:#fff8de}
.editor-clipboard-state.swap{border-color:#9eb79d;background:#eef5ed}
.editor-slot-panel{margin-top:20px}
.editor-slot-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}
.editor-slot-panel-head h2{margin:4px 0 0}
.editor-slot-panel-head h2 small{display:block;margin-top:5px;font-size:.9rem;color:#69786c;font-weight:600}
.editor-slot-panel-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.95fr);gap:18px}
.editor-existing-entries h3,.editor-form-card h3{margin-top:0}
.editor-entry-list{display:flex;flex-direction:column;gap:12px}
.editor-entry-card{border:1px solid #d8e3d5;border-left:5px solid #9fb89b;border-radius:16px;padding:14px;background:#fff;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.editor-entry-card.active{box-shadow:0 0 0 2px rgba(31,90,55,.18)}
.editor-entry-card.teaching{border-left-color:#c55e5e;background:#fff8f8}
.editor-entry-card.guard-general{border-left-color:#d5b54d;background:#fffbed}
.editor-entry-card.guard-specific{border-left-color:#5db2d4;background:#f5fbfe}
.editor-entry-card.recess{border-left-color:#7bb06f;background:#f7fcf5}
.editor-card-lines{display:flex;flex-direction:column;gap:4px;margin-top:8px;color:#58675b;font-size:.88rem}
.editor-form-card{border:1px solid #d8e3d5;border-radius:18px;background:#fbfcfb;padding:18px}
.editor-entry-form{display:flex;flex-direction:column;gap:14px}
.editor-form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.schedule-editor-grid .schedule-period{background:#f6f9f5}
@media(max-width:1100px){.editor-slot-panel-grid{grid-template-columns:1fr}.schedule-editor-intro{flex-direction:column;align-items:flex-start}}
@media(max-width:760px){.editor-form-grid-2{grid-template-columns:1fr}.editor-slot-panel-head{flex-direction:column}.editor-hero .schedule-stats{grid-template-columns:1fr}}

/* ===== Tipos de ausencia ===== */
.absence-form{display:flex;flex-direction:column;gap:16px;margin-top:16px}
.absence-type-selector{padding:18px;border:1px solid #dbe5d8;border-radius:18px;background:linear-gradient(180deg,#fbfdfb 0%,#f6faf5 100%)}
.absence-type-selector h3{margin:0 0 4px}
.absence-type-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.absence-type-option{margin:0;cursor:pointer;display:block}
.absence-type-option>input{position:absolute;opacity:0;pointer-events:none}
.absence-type-card{display:flex;flex-direction:column;gap:14px;min-height:198px;padding:18px;border:2px solid #d8e4d5;border-radius:18px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;box-shadow:0 4px 14px rgba(35,79,40,.04)}
.absence-type-card-top{display:flex;gap:14px;align-items:flex-start}
.absence-type-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;font-size:1rem;font-weight:900;letter-spacing:.03em;flex:0 0 48px;box-shadow:inset 0 -2px 0 rgba(0,0,0,.06)}
.absence-type-card.internal .absence-type-icon{background:linear-gradient(180deg,#eaf4fb 0%,#dcecf7 100%);color:#2b6486}
.absence-type-card.real .absence-type-icon{background:linear-gradient(180deg,#fff3d8 0%,#ffe7af 100%);color:#8a6200}
.absence-type-heading{display:flex;flex-direction:column;gap:6px}
.absence-type-card strong{font-size:1.08rem;color:#28552f;line-height:1.2}
.absence-type-card small{color:#5f7063;line-height:1.45;font-size:.93rem}
.absence-type-tags{display:flex;flex-wrap:wrap;gap:8px}
.absence-type-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f2f6f1;border:1px solid #d8e4d5;color:#4d6052;font-size:.78rem;font-weight:700}
.absence-type-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:6px}
.absence-type-footer em{font-style:normal;font-size:.86rem;font-weight:800}
.absence-type-card.internal .absence-type-footer em{color:#2d6486}
.absence-type-card.real .absence-type-footer em{color:#8a6200}
.absence-type-cta{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:9px 14px;border-radius:12px;background:#f4f7f3;border:1px solid #d4dfd1;color:#28552f;font-size:.85rem;font-weight:800;transition:all .18s ease}
.absence-type-option:hover .absence-type-card{transform:translateY(-2px);border-color:#b8cdb5;box-shadow:0 10px 22px rgba(35,79,40,.09)}
.absence-type-option:hover .absence-type-cta{background:#edf4eb}
.absence-type-option>input:checked + .absence-type-card{border-color:#2f7d32;box-shadow:0 0 0 3px rgba(47,125,50,.12),0 12px 26px rgba(35,79,40,.10);background:linear-gradient(180deg,#ffffff 0%,#f7fbf6 100%)}
.absence-type-option>input:checked + .absence-type-card.internal{border-color:#39769a;box-shadow:0 0 0 3px rgba(57,118,154,.12),0 12px 24px rgba(35,79,40,.08);background:linear-gradient(180deg,#ffffff 0%,#f4f9fc 100%)}
.absence-type-option>input:checked + .absence-type-card.real{border-color:#c79b27;box-shadow:0 0 0 3px rgba(199,155,39,.14),0 12px 24px rgba(35,79,40,.08);background:linear-gradient(180deg,#ffffff 0%,#fffaf0 100%)}
.absence-type-option>input:checked + .absence-type-card .absence-type-cta{background:#2f7d32;border-color:#2f7d32;color:#fff}
.absence-type-option>input:checked + .absence-type-card.internal .absence-type-cta{background:#39769a;border-color:#39769a;color:#fff}
.absence-type-option>input:checked + .absence-type-card.real .absence-type-cta{background:#c79b27;border-color:#c79b27;color:#fff}
.absence-type-help{margin:0}
@media(max-width:760px){.absence-type-grid{grid-template-columns:1fr}.absence-type-card{min-height:0;padding:16px}.absence-type-card-top{gap:12px}.absence-type-icon{width:42px;height:42px;flex-basis:42px}.absence-type-footer{flex-direction:column;align-items:flex-start}.absence-type-cta{min-width:0;width:100%}}

/* ===== Módulo Informática · armarios de ordenadores ===== */
.computer-booking-page{display:flex;flex-direction:column;gap:16px}
.computer-hero{border-left:6px solid #2f7d32}
.computer-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:8px;background:#edf4eb;border:1px solid #d5e1d2;border-radius:16px}
.computer-tabs a{padding:10px 15px;border-radius:12px;color:#315b35;text-decoration:none;font-weight:850}
.computer-tabs a:hover{background:#fff}.computer-tabs a.active{background:#2f7d32;color:#fff;box-shadow:0 5px 12px rgba(35,79,40,.18)}
.computer-cabinet-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border:1px solid #d5e1d2;border-left:6px solid #2f7d32;border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(35,79,40,.07)}
.computer-cabinet-summary>div{display:flex;flex-direction:column;gap:4px}.computer-cabinet-summary strong{font-size:1.18rem;color:#28552f}.computer-cabinet-summary span{color:#68766b}.computer-cabinet-summary.disabled{border-left-color:#a52c2c;background:#fff8f8}.computer-cabinet-summary.disabled small{color:#8a2525}
.computer-manager-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:16px;align-items:start}.computer-manager-layout>.card:last-child{grid-column:1/-1}
.computer-cabinet-list{display:flex;flex-direction:column;gap:8px;margin-top:14px;max-height:520px;overflow:auto}
.computer-cabinet-row{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:12px 14px;border:1px solid #d8e4d5;border-radius:13px;color:#28552f;text-decoration:none;background:#fbfdfb}.computer-cabinet-row strong{font-size:.96rem}.computer-cabinet-row span{font-size:.8rem;color:#68766b}.computer-cabinet-row em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;font-size:.72rem;font-weight:850;padding:5px 8px;border-radius:999px;background:#dff4e2;color:#25632d}.computer-cabinet-row:hover,.computer-cabinet-row.active{border-color:#89aa86;background:#f1f7f0}.computer-cabinet-row.active{box-shadow:inset 4px 0 0 #2f7d32}.computer-cabinet-row.disabled{background:#fff7f7;border-color:#e8cece}.computer-cabinet-row.disabled em{background:#fbdede;color:#8a2525}
.computer-week-table .space-slot-unavailable{background:#fff1f1;border-color:#e7cccc}.computer-week-table .space-slot-unavailable strong{color:#8a2525}
.computer-week-table .space-reserve-details form+hr{border:0;border-top:1px solid #dce5da;margin:10px 0}.computer-week-table .space-reserve-details select{margin-bottom:7px}
@media(max-width:900px){.computer-manager-layout{grid-template-columns:1fr}.computer-cabinet-summary{align-items:flex-start;flex-direction:column}.computer-manager-layout>.card:last-child{grid-column:auto}}
@media(max-width:600px){.computer-tabs{display:grid;grid-template-columns:1fr 1fr}.computer-tabs a{text-align:center}.computer-manager-layout{gap:12px}}

/* ===== Módulo integrado de permisos y justificantes · v3.0 ===== */
.permission-page-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:8px;border:1px solid #d9e5d6;border-radius:16px;background:#f7faf6}.permission-page-tabs a{padding:10px 14px;border-radius:12px;color:#2c5934;text-decoration:none;font-weight:800}.permission-page-tabs a:hover{background:#edf5eb}.permission-page-tabs a.active{background:#2f7d32;color:#fff;box-shadow:0 5px 12px rgba(35,79,40,.16)}
.permission-case-hero,.permission-month-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.permission-case-hero h2,.permission-month-hero h2{margin:4px 0 6px}.permission-case-grid{grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr)}
.permission-status{font-size:.82rem;padding:7px 11px}.permission-status.pending_documents{background:#fff1c9;color:#765500}.permission-status.submitted{background:#e1edf9;color:#27547c}.permission-status.needs_correction{background:#fde7c7;color:#854e00}.permission-status.approved{background:#dff4e2;color:#25632d}.permission-status.rejected{background:#fbdede;color:#8a2525}.permission-status.exempt{background:#ece8fa;color:#5b438d}.permission-status.cancelled{background:#e9ece9;color:#606760}
.permission-doc-checks{border:1px solid #d8e4d5;border-radius:14px;padding:12px 14px;background:#fafcf9}.permission-doc-checks legend{font-weight:850;color:#315b35;padding:0 6px}.permission-doc-checks label{font-weight:600;margin:8px 0}.permission-summary{display:grid;grid-template-columns:150px 1fr;gap:8px 12px}.permission-summary dt{font-weight:850;color:#315b35}.permission-summary dd{margin:0}
.permission-doc-list{display:flex;flex-direction:column;gap:9px}.permission-doc-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:10px 12px;border:1px solid #e0e8de;border-radius:12px;background:#fafcf9}.permission-doc-list a{font-weight:800;color:#2b6134;text-decoration:none}.permission-doc-list small{color:#69766d}
.permission-resolution{margin-top:18px}.permission-case-cards{display:flex;flex-direction:column;gap:12px}.permission-case-card{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:17px 18px;border:1px solid #d9e5d6;border-left:5px solid #5d9b64;border-radius:17px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 6px 18px rgba(35,79,40,.06)}.permission-case-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(35,79,40,.10)}.permission-case-card h3{margin:4px 0 5px;color:#28552f}.permission-case-card p{margin:0;color:#647168}.permission-ref{font-size:.76rem;font-weight:900;color:#527058;letter-spacing:.04em}.permission-card-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:180px}.permission-filter{display:grid;grid-template-columns:minmax(220px,340px);margin-bottom:14px}
.permission-profile-card .schedule-selector{max-width:520px;margin-bottom:18px}.permission-balance{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;margin:15px 0 20px}.permission-balance>div{padding:14px;border:1px solid #d9e5d6;border-radius:15px;background:#f8fbf7;text-align:center}.permission-balance span{display:block;color:#677468;font-size:.82rem}.permission-balance strong{display:block;color:#2f7d32;font-size:1.8rem}
.permission-calendar{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:1px;border:1px solid #d8e4d5;background:#d8e4d5;border-radius:14px;overflow:auto}.permission-calendar>.weekday{padding:9px;background:#2f7d32;color:#fff;font-weight:850;text-align:center}.permission-calendar>.weekday.weekend{background:#527e55}.permission-day{min-height:115px;padding:8px;background:#fff}.permission-day.outside{background:#f2f4f1;color:#9aa39b}.permission-day>strong{display:block;margin-bottom:7px}.permission-calendar-event{display:block;margin:4px 0;padding:5px 7px;border-radius:8px;background:#eef6ec;color:#28552f;font-size:.72rem;font-weight:750}.permission-calendar-event.granted{background:#dff4e2}.permission-calendar-event.pending{background:#fff1c9}
.permission-resolution-inline{min-width:330px}.permission-resolution-inline input{margin-bottom:8px}.permission-month-grid{margin-top:18px}.month-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin:16px 0}.month-summary>div{padding:14px;border-radius:15px;border:1px solid #d8e4d5;background:#fff;text-align:center}.month-summary span{display:block;color:#69766d}.month-summary strong{font-size:1.7rem;color:#2f7d32}.month-summary .accepted{background:#f2fbf2}.month-summary .rejected{background:#fff5f5}.month-summary .pending{background:#fffaf0}
@media(max-width:900px){.permission-case-grid{grid-template-columns:1fr}.permission-case-card{flex-direction:column}.permission-card-meta{align-items:flex-start;min-width:0}.permission-resolution-inline{min-width:0;width:100%}.permission-calendar{grid-template-columns:repeat(7,minmax(95px,1fr))}.month-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.permission-case-hero,.permission-month-hero{flex-direction:column}.permission-summary{grid-template-columns:1fr}.permission-doc-list>div{grid-template-columns:1fr}.permission-balance{grid-template-columns:1fr}.permission-page-tabs{display:grid;grid-template-columns:1fr 1fr}.permission-calendar{grid-template-columns:repeat(7,minmax(82px,1fr))}.month-summary{grid-template-columns:1fr 1fr}}

/* ===== Cierres mensuales · corrección visual v3.0.1 ===== */
.monthly-overview-card{padding:24px}
.monthly-overview-heading{align-items:flex-end;margin-bottom:22px}
.monthly-course-selector{width:min(220px,100%);flex:0 0 auto}
.monthly-course-selector label{margin:0 0 7px;color:#2d5033;font-size:.9rem}
.monthly-course-selector select{min-height:46px;font-weight:800;background:#fff}
.permission-month-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px;margin-top:20px}
.month-card{position:relative;display:flex;flex-direction:column;gap:14px;min-height:205px;padding:18px;border:1px solid #d8e4d5;border-left:5px solid #d0a129;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%);color:#24332a;text-decoration:none;box-shadow:0 7px 20px rgba(35,79,40,.07);overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.month-card::after{content:"";position:absolute;right:-34px;top:-42px;width:112px;height:112px;border-radius:50%;background:rgba(208,161,41,.07);pointer-events:none}
.month-card:hover{transform:translateY(-2px);border-color:#c8d8c5;box-shadow:0 12px 26px rgba(35,79,40,.12)}
.month-card.closed{border-left-color:#2f7d32;background:linear-gradient(180deg,#fff 0%,#f6fbf5 100%)}
.month-card.closed::after{background:rgba(47,125,50,.07)}
.month-card.empty-month{opacity:.88}
.month-card-top{display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.month-card-calendar{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#fff2c9;color:#8b6500;font-size:.96rem;font-weight:900;border:1px solid #ecd895;box-shadow:inset 0 -2px 0 rgba(139,101,0,.08)}
.month-card.closed .month-card-calendar{background:#e2f2e3;color:#25632d;border-color:#bdd8c0}
.month-card-title{display:flex;flex-direction:column;gap:3px;min-width:0}
.month-card-title strong{font-size:1.05rem;color:#28552f;line-height:1.18}
.month-card-title small{font-size:.76rem;color:#788379}
.month-card-count{display:flex;align-items:baseline;gap:8px;padding:13px 14px;border-radius:14px;background:#f7f9f6;border:1px solid #e0e8de}
.month-card-count strong{font-size:2rem;line-height:1;color:#2f7d32}
.month-card-count span{font-size:.86rem;font-weight:750;color:#68756a}
.month-card-status{display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:850;color:#745700}
.month-card-status.closed{color:#25632d}
.month-card-status .status-dot{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#d0a129;box-shadow:0 0 0 4px rgba(208,161,41,.12)}
.month-card-status.closed .status-dot{background:#2f7d32;box-shadow:0 0 0 4px rgba(47,125,50,.12)}
.month-card-action{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;border-top:1px solid #e3eae1;color:#2f6337;font-size:.83rem;font-weight:900}
.month-card-action span{font-size:1.05rem;transition:transform .16s ease}
.month-card:hover .month-card-action span{transform:translateX(3px)}
@media(max-width:760px){.monthly-overview-card{padding:18px}.monthly-overview-heading{align-items:stretch}.monthly-course-selector{width:100%}.permission-month-grid{grid-template-columns:1fr 1fr;gap:12px}.month-card{min-height:190px;padding:15px}.month-card-calendar{width:42px;height:42px;flex-basis:42px}.month-card-title strong{font-size:.94rem}.month-card-count strong{font-size:1.7rem}}
@media(max-width:520px){.permission-month-grid{grid-template-columns:1fr}.month-card{min-height:170px}.month-card-count{padding:11px 12px}}

/* ===== Calendario público de asuntos propios — diseño completo V3.0 ===== */
.permission-public-calendar{background:#fff;border:1px solid #dce8d7;border-radius:22px;box-shadow:0 18px 50px rgba(35,79,40,.10);overflow:hidden;margin-bottom:28px}
.permission-calendar-toolbar{display:grid;grid-template-columns:160px minmax(0,1fr) 160px;align-items:center;gap:18px;padding:24px 26px;border-bottom:1px solid #e3ece1;background:linear-gradient(135deg,#fbfdf9 0%,#eef6ec 100%)}
.permission-calendar-heading{text-align:center}.permission-calendar-heading>span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:900;color:#6c806e}.permission-calendar-heading h2{margin:4px 0 0;color:#28552f;font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.1}
.permission-calendar-nav{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:13px;background:#fff;color:#28552f;font-weight:850;text-decoration:none;border:1px solid #d7e5d4;box-shadow:0 5px 14px rgba(35,79,40,.08);transition:transform .16s ease,box-shadow .16s ease}.permission-calendar-nav:last-child{justify-self:end}.permission-calendar-nav:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(35,79,40,.12)}
.permission-calendar-note{padding:13px 20px;background:#fffdf5;border-bottom:1px solid #eee7cf;color:#59665b;font-size:.86rem}.permission-calendar-note strong{color:#28552f}
.permission-calendar-legend{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:13px 18px;background:#fcfdfb;border-bottom:1px solid #edf2eb;color:#526154;font-size:.82rem}.permission-calendar-legend span{display:inline-flex;align-items:center;gap:7px}.pc-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.pc-dot.day0{background:#22a35a}.pc-dot.day1{background:#36a9c9}.pc-dot.day2{background:#3b82f6}.pc-dot.day3{background:#8b5cf6}.pc-dot.day4{background:#f59e0b}.pc-dot.day5{background:#dc4545}.pc-outline{width:12px;height:12px;border-radius:3px;border:2px solid #7c3aed;display:inline-block;background:#fff}
.permission-calendar-scroll{width:100%;overflow-x:auto;background:#dfe8dc}
.permission-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(124px,1fr));gap:1px;min-width:868px;background:#dfe8dc}
.pc-weekday{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px;background:#28552f;color:#fff;text-transform:uppercase;letter-spacing:.07em;font-size:.75rem;font-weight:900}.pc-weekday.weekend{background:#47744b}
.pc-day{position:relative;min-height:150px;padding:10px;background:#fff;overflow:hidden}.pc-day.weekend-day{background:#fbfcfa}.pc-day.outside{background:#f2f5f1;color:#9aa39b}.pc-day.today{box-shadow:inset 0 0 0 3px #d7b35e;z-index:1}
.pc-day-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.pc-day-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:.92rem;font-weight:900;color:#34483a}.pc-day.today .pc-day-number{background:#28552f;color:#fff}.pc-today-label{padding:3px 7px;border-radius:999px;background:#fff2bf;color:#785b00;font-size:.67rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.pc-day-events{display:grid;gap:6px}.pc-event{display:block;margin:0;padding:8px 9px;border-radius:10px;border-left:4px solid #22a35a;background:#e7f8ed;color:#166534;text-decoration:none;font-size:.75rem;line-height:1.25;box-shadow:0 2px 7px rgba(35,79,40,.06);overflow:hidden}.pc-event:hover{filter:brightness(.985);transform:translateY(-1px)}.pc-event strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.79rem}.pc-event small{display:block;margin-top:2px;opacity:.84;font-size:.68rem}.pc-event.day1{border-left-color:#36a9c9;background:#e8f8fc;color:#155e75}.pc-event.day2{border-left-color:#3b82f6;background:#eaf3ff;color:#164b8b}.pc-event.day3{border-left-color:#8b5cf6;background:#f1ecff;color:#5b21b6}.pc-event.day4{border-left-color:#f59e0b;background:#fff5dc;color:#92400e}.pc-event.day5{border-left-color:#dc4545;background:#ffeded;color:#922828}.pc-event.unexpected{outline:2px solid #7c3aed;outline-offset:-2px}
.pc-event-footer{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}.pc-status,.pc-tag,.pc-mode{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:rgba(255,255,255,.76);font-size:.58rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.pc-status.granted{color:#166534}.pc-status.denied,.pc-status.revoked{color:#991b1b}.pc-status.pending{color:#164b8b}.pc-status.withdrawn{color:#596273}.pc-tag{color:#6d28d9}
.pc-more{display:block;width:100%;margin:1px 0 0;padding:7px 8px;border:1px dashed #9bb49a;border-radius:9px;background:#f4f8f3;color:#28552f;font-size:.69rem;font-weight:900;text-align:center;cursor:pointer;box-shadow:none}.pc-more:hover{background:#eaf2e8}
.permission-calendar-modal{display:none;position:fixed;inset:0;z-index:9999;background:rgba(18,34,24,.58);padding:24px;align-items:center;justify-content:center}.permission-calendar-modal.open{display:flex}.permission-calendar-modal-open{overflow:hidden}
.permission-calendar-modal-card{width:min(740px,96vw);max-height:86vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.permission-calendar-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:#28552f;color:#fff}.permission-calendar-modal-head small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;font-weight:850;opacity:.8}.permission-calendar-modal-head h2{margin:3px 0 0;color:#fff;font-size:1.25rem}.permission-calendar-modal-close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:1.5rem;line-height:1;box-shadow:none;cursor:pointer}
.permission-calendar-modal-body{display:grid;gap:10px;padding:17px 18px 20px}.pc-modal-event{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:13px 14px;border-radius:13px;border-left:5px solid #22a35a;background:#e7f8ed;color:#166534;text-decoration:none;box-sizing:border-box}.pc-modal-event.day1{border-left-color:#36a9c9;background:#e8f8fc;color:#155e75}.pc-modal-event.day2{border-left-color:#3b82f6;background:#eaf3ff;color:#164b8b}.pc-modal-event.day3{border-left-color:#8b5cf6;background:#f1ecff;color:#5b21b6}.pc-modal-event.day4{border-left-color:#f59e0b;background:#fff5dc;color:#92400e}.pc-modal-event.day5{border-left-color:#dc4545;background:#ffeded;color:#922828}.pc-modal-event.unexpected{outline:2px solid #7c3aed;outline-offset:-2px}.pc-modal-event-main{min-width:0}.pc-modal-event-main strong{display:block;font-size:.9rem}.pc-modal-event-main small{display:block;margin-top:3px;font-size:.77rem;color:inherit;opacity:.86}.pc-modal-event-tags{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;min-width:150px}.pc-modal-event .pc-status,.pc-modal-event .pc-tag,.pc-modal-event .pc-mode{font-size:.63rem;padding:4px 7px}
@media(max-width:800px){.permission-calendar-toolbar{grid-template-columns:1fr 1fr;padding:18px 14px}.permission-calendar-heading{grid-column:1/-1;grid-row:1}.permission-calendar-nav{grid-row:2}.permission-calendar-nav:last-child,.permission-calendar-nav:first-child{justify-self:stretch}.permission-calendar-legend{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.permission-calendar-grid{grid-template-columns:repeat(7,minmax(96px,1fr));min-width:672px}.pc-day{min-height:125px;padding:7px}.pc-modal-event{align-items:flex-start;flex-direction:column}.pc-modal-event-tags{justify-content:flex-start;min-width:0}}
@media(max-width:520px){.permission-calendar-note{font-size:.78rem}.permission-calendar-nav{font-size:.76rem;padding:9px 10px}.pc-event small{display:none}.permission-calendar-modal{padding:10px}.permission-calendar-modal-card{max-height:92vh}}

/* ===== Versión 3.0.1 · Calendario de asuntos propios ===== */
.permission-public-calendar{
  background:#fff;
  border:1px solid #d9e5d7;
  border-radius:20px;
  box-shadow:0 14px 42px rgba(35,79,40,.08);
  overflow:hidden;
}
.permission-calendar-note{
  padding:12px 18px;
  background:#fff;
  border-bottom:1px solid #e5ece3;
}
.permission-calendar-legend{
  min-height:48px;
  padding:11px 18px;
  gap:18px;
  background:#fff;
  color:#536177;
  font-size:.83rem;
  border-bottom:1px solid #dfe8e0;
}
.permission-calendar-legend .pc-sv{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  color:#536177;
  font-size:.78rem;
  font-weight:950;
}
.permission-calendar-scroll{background:#dfe7e4}
.permission-calendar-grid{
  grid-template-columns:repeat(7,minmax(170px,1fr));
  min-width:1190px;
  gap:1px;
  background:#dfe7e4;
}
.pc-weekday{
  min-height:52px;
  padding:12px 10px;
  background:#eaf3e7;
  color:#fff;
  font-size:.76rem;
  font-weight:950;
  letter-spacing:.09em;
  text-shadow:0 1px 0 rgba(47,93,54,.05);
}
.pc-weekday.weekend{background:#eaf3e7}
.pc-day{
  min-height:175px;
  padding:12px 11px;
  background:#fff;
}
.pc-day.weekend-day{background:#fff}
.pc-day.outside{background:#f1f4f8;color:#9aa39b}
.pc-day-top{margin-bottom:9px}
.pc-day-number{
  display:block;
  width:auto;
  height:auto;
  border-radius:0;
  color:#344258;
  font-size:1rem;
  line-height:1;
  font-weight:950;
}
.pc-day.today .pc-day-number{
  display:grid;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#28552f;
  color:#fff;
}
.pc-day-events{gap:6px}
.pc-event{
  padding:9px 10px;
  border-radius:10px;
  border-left-width:5px;
  font-size:.74rem;
  line-height:1.23;
  box-shadow:none;
}
.pc-event strong{
  font-size:.79rem;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.pc-event small{
  display:block;
  margin-top:2px;
  font-size:.68rem;
  line-height:1.2;
  opacity:.84;
}
.pc-event-footer{margin-top:6px}
.pc-status,.pc-tag,.pc-mode{
  padding:2px 7px;
  font-size:.58rem;
  line-height:1.15;
}
.pc-more{
  margin-top:1px;
  padding:8px 9px;
  border:0;
  border-radius:9px;
  background:#2f7d32;
  color:#fff;
  font-size:.7rem;
  font-weight:950;
  box-shadow:none;
}
.pc-more:hover{background:#285f2c;color:#fff}
.pc-event.day0{border-left-color:#22a35a;background:#e4f6e9;color:#166534}
.pc-event.day1{border-left-color:#36a9c9;background:#e7f6fb;color:#155e75}
.pc-event.day2{border-left-color:#3b82f6;background:#e9f2ff;color:#164b8b}
.pc-event.day3{border-left-color:#8b5cf6;background:#f0ebff;color:#5b21b6}
.pc-event.day4{border-left-color:#f59e0b;background:#fff3d4;color:#92400e}
.pc-event.day5{border-left-color:#dc4545;background:#ffebeb;color:#922828}
.pc-event.unexpected{outline:2px solid #7c3aed;outline-offset:-2px}
@media(max-width:900px){
  .permission-calendar-grid{grid-template-columns:repeat(7,minmax(145px,1fr));min-width:1015px}
  .pc-day{min-height:160px}
}
@media(max-width:600px){
  .permission-calendar-grid{grid-template-columns:repeat(7,minmax(118px,1fr));min-width:826px}
  .pc-day{min-height:145px;padding:8px}
  .permission-calendar-legend{justify-content:flex-start;gap:13px}
  .pc-event small{display:block}
}

/* 3.0.4 · Cuadrante compacto sin desplazamiento horizontal */
.guard-hour-layout{grid-template-columns:82px minmax(0,1fr);gap:12px}
.guard-hour-selector{border-radius:12px}
.guard-hour-tab{min-height:78px;padding:8px 5px}
.guard-hour-tab.active{box-shadow:inset 4px 0 0 #f2c94c}
.guard-hour-time{font-size:.68rem}
.guard-hour-tab strong{font-size:1.22rem;margin:3px 0}
.guard-hour-tab small{font-size:.59rem}
.guard-hour-tab b{top:5px;right:4px;padding:2px 4px;font-size:.52rem}
.guard-hour-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.live-period-badge,.manual-period-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:.74rem;font-weight:850;white-space:nowrap}
.live-period-badge{background:#e4f5e7;color:#25632d}
.live-period-badge i{width:8px;height:8px;border-radius:50%;background:#2f9c46;box-shadow:0 0 0 4px rgba(47,156,70,.13);animation:guard-live-pulse 1.8s infinite}
.manual-period-badge{background:#fff0bf;color:#765500}
@keyframes guard-live-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.72);opacity:.55}}
.guard-hour-header-actions .guard-hour-summary{max-width:100%}
.compact-guard-table-wrap{overflow:visible}
.compact-guard-table{width:100%;min-width:0!important;table-layout:fixed}
.compact-guard-table th,.compact-guard-table td{padding:10px 8px}
.compact-guard-table th:nth-child(1),.compact-guard-table td:nth-child(1){width:92px;text-align:center}
.compact-guard-table th:nth-child(2),.compact-guard-table td:nth-child(2){width:24%}
.compact-guard-table th:nth-child(3),.compact-guard-table td:nth-child(3){width:auto}
.compact-guard-table th:nth-child(4),.compact-guard-table td:nth-child(4){width:78px;text-align:center}
.compact-guard-table th:nth-child(5),.compact-guard-table td:nth-child(5){width:106px;text-align:center}
.compact-guard-table th:nth-child(6),.compact-guard-table td:nth-child(6){width:142px;text-align:center}
.compact-guard-table td{overflow-wrap:anywhere}
.guard-session-cell>strong{display:block;line-height:1.18}
.guard-session-cell .absence-reason{display:block;margin-top:4px}
.guard-session-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.guard-session-meta span,.guard-session-meta strong{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef4ec;color:#355b3b;font-size:.72rem;line-height:1.15}
.guard-session-meta strong{background:#e3efe1;color:#234f28}
.compact-assignment-form{display:flex;flex-direction:column;gap:6px}
.compact-assignment-form select{width:100%;min-width:0;padding:8px 9px;font-size:.78rem;text-overflow:ellipsis}
.compact-assignment-actions{display:flex;gap:6px;flex-wrap:wrap}
.compact-assignment-actions button{flex:1 1 auto}
.guard-signature-cell small{display:block;margin-top:4px}
.guard-row-actions{display:flex;flex-direction:column;align-items:center;gap:7px}
.detail-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;background:#426f7b;font-size:.75rem;padding:8px 9px}
.detail-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ffd76a;box-shadow:0 0 0 3px rgba(255,215,106,.2)}
.guard-detail-dialog{width:min(720px,calc(100vw - 28px));max-height:88vh;padding:0;border:0;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 24px 70px rgba(24,52,31,.28);overflow:auto}
.guard-detail-dialog::backdrop{background:rgba(20,39,25,.5);backdrop-filter:blur(2px)}
.guard-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#f5faf4,#fff)}
.guard-dialog-header h3{margin:3px 0 0}
.dialog-close{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border-radius:50%;background:#eef3ed;color:#315b35;font-size:1.35rem;line-height:1}
.guard-dialog-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 20px 0}
.guard-dialog-summary>div{display:flex;flex-direction:column;gap:4px;padding:11px;border:1px solid #dbe5d8;border-radius:11px;background:#fafcfa}
.guard-dialog-summary span{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.guard-dialog-summary strong{font-size:.92rem}
.guard-dialog-task{padding:18px 20px}
.guard-dialog-task h4{margin:0 0 10px;color:#315b35}
.task-content{padding:14px;border:1px solid #dbe5d8;border-radius:11px;background:#fafcfa;line-height:1.5}
.compact-empty{padding:18px}
.guard-dialog-management{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--border);background:#f7faf6}
.dialog-checkbox{display:flex;align-items:center;gap:8px;margin:0;flex:1 1 280px}
.dialog-checkbox input{width:auto;margin:0}
.guard-dialog-management small{flex-basis:100%;margin:0;color:var(--muted)}
@media(max-width:1120px){
  .guard-hour-header{align-items:flex-start}
  .guard-hour-header-actions{align-items:flex-start}
  .guard-hour-summary{justify-content:flex-start}
  .compact-guard-table th:nth-child(2),.compact-guard-table td:nth-child(2){width:22%}
  .compact-guard-table th:nth-child(6),.compact-guard-table td:nth-child(6){width:125px}
}
@media(max-width:900px){
  .guard-hour-layout{grid-template-columns:1fr}
  .guard-hour-selector{position:static;flex-direction:row;overflow-x:auto}
  .guard-hour-tab{flex:0 0 78px;min-height:70px;border-bottom:0;border-right:1px solid var(--border)}
  .guard-hour-tab.active{box-shadow:inset 0 4px 0 #f2c94c}
  .compact-guard-table thead{display:none}
  .compact-guard-table,.compact-guard-table tbody{display:block}
  .compact-guard-table tr{display:grid;grid-template-columns:90px minmax(0,1.2fr) minmax(0,1fr);gap:0;margin:10px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}
  .compact-guard-table td,.compact-guard-table td:nth-child(n){display:block;width:auto;text-align:left;padding:10px 12px;border-bottom:1px solid #e5ece3}
  .compact-guard-table td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#6b776e;font-size:.65rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
  .compact-guard-table td:nth-child(1){grid-row:span 2;text-align:center}
  .compact-guard-table td:nth-child(4),.compact-guard-table td:nth-child(5),.compact-guard-table td:nth-child(6){border-bottom:0}
  .guard-row-actions{align-items:stretch}
}
@media(max-width:650px){
  .compact-guard-table tr{grid-template-columns:1fr}
  .compact-guard-table td:nth-child(1){grid-row:auto;text-align:left}
  .guard-dialog-summary{grid-template-columns:1fr}
  .guard-dialog-management{align-items:stretch;flex-direction:column}
  .guard-dialog-management button{width:100%}
}
@media print{
  .guard-hour-layout{grid-template-columns:1fr}
  .compact-guard-table{font-size:8px}
  .compact-guard-table th:nth-child(6),.compact-guard-table td:nth-child(6){display:none}
  .compact-guard-table th,.compact-guard-table td{padding:4px}
}
.compact-guard-table td:nth-child(n){min-width:0}

/* 3.0.5 · Listado desplegable compacto del profesorado de guardia */
.guard-hour-layout{grid-template-columns:74px minmax(0,1fr)}
.guard-hour-tab{min-height:72px;padding:7px 4px}
.guard-hour-tab strong{font-size:1.12rem}
.guard-roster-dropdown{border-left:1px solid var(--border);border-right:1px solid var(--border);background:#f8fbf7}
.guard-roster-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-height:54px;padding:9px 14px;cursor:pointer;list-style:none;background:linear-gradient(180deg,#fbfdfb,#f5f9f4);color:var(--text);border-bottom:1px solid var(--border);transition:background .16s ease}
.guard-roster-summary::-webkit-details-marker{display:none}
.guard-roster-summary:hover{background:#f0f7ef}
.guard-roster-summary-title{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--green)}
.guard-roster-summary-title strong{font-size:.88rem}
.guard-roster-summary-title b{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#dfeedd;color:#245b2b;font-size:.76rem}
.guard-roster-summary-names{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#536458;font-size:.82rem;font-weight:650}
.guard-roster-summary-action{display:flex;align-items:center;gap:8px;color:#36613b;font-size:.75rem;font-weight:850;white-space:nowrap}
.guard-roster-summary-action i{display:block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}
.guard-roster-close-text{display:none}
.guard-roster-dropdown[open] .guard-roster-open-text{display:none}
.guard-roster-dropdown[open] .guard-roster-close-text{display:inline}
.guard-roster-dropdown[open] .guard-roster-summary-action i{transform:rotate(225deg) translate(-1px,-1px)}
.guard-roster-dropdown-body{padding:10px 14px 13px;background:#fff;border-bottom:1px solid var(--border)}
.guard-roster-list{display:flex;flex-direction:column;border:1px solid #dbe5d8;border-radius:12px;overflow:hidden;background:#fff}
.guard-roster-row{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(180px,1fr) 112px auto;align-items:center;gap:12px;min-height:43px;padding:7px 10px;border-bottom:1px solid #e5ece3;border-left:4px solid #7c8a80}
.guard-roster-row:last-child{border-bottom:0}
.guard-roster-row.free{border-left-color:#2f7d32;background:#fbfefb}
.guard-roster-row.busy{border-left-color:#2d6da3;background:#f8fbfd}
.guard-roster-row.absent{border-left-color:#a52c2c;background:#fff8f8}
.guard-roster-row.specific{border-left-color:#6b63a5;background:#fbfaff}
.guard-roster-row.recess{border-left-color:#cc8a00;background:#fffdf7}
.guard-roster-person{display:flex;flex-direction:column;min-width:0}
.guard-roster-person .teacher-name-link,.guard-roster-person>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:850}
.guard-roster-person small{margin-top:2px;color:#7b6200;font-size:.66rem;font-weight:800}
.guard-roster-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#45584a;font-size:.76rem;font-weight:750}
.guard-roster-history{justify-self:end;padding:5px 8px;border-radius:999px;background:#edf3ff;color:#174993;font-size:.7rem;font-weight:850;white-space:nowrap}
.guard-roster-remove{margin:0}
.guard-roster-remove button{padding:5px 8px;font-size:.68rem}
.guard-roster-row-spacer{width:1px}
.guard-roster-manual-add{display:grid;grid-template-columns:minmax(190px,.65fr) minmax(380px,1.35fr);align-items:end;gap:14px;margin-top:10px;padding:11px 12px;border:1px dashed #9eb99b;border-radius:12px;background:linear-gradient(135deg,#fbfdfb,#f1f7f0)}
.guard-roster-manual-add>div{display:flex;flex-direction:column;gap:3px}
.guard-roster-manual-add strong{color:var(--green);font-size:.83rem}
.guard-roster-manual-add small{color:var(--muted);font-size:.7rem;line-height:1.3}
.guard-roster-manual-add .manual-guard-add-form{display:grid;grid-template-columns:minmax(250px,1fr) auto;gap:7px;align-items:center}
.guard-roster-manual-add select{margin:0;padding:8px 9px;font-size:.76rem}
.guard-roster-manual-add button{padding:8px 13px;white-space:nowrap}
@media(max-width:1050px){
  .guard-roster-row{grid-template-columns:minmax(190px,1fr) minmax(150px,.9fr) 105px auto}
  .guard-roster-manual-add{grid-template-columns:1fr}
}
@media(max-width:760px){
  .guard-hour-layout{grid-template-columns:1fr}
  .guard-roster-summary{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:9px 10px}
  .guard-roster-summary-title strong{display:none}
  .guard-roster-summary-names{font-size:.76rem}
  .guard-roster-summary-action span{display:none!important}
  .guard-roster-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:8px 9px}
  .guard-roster-status{grid-column:1;white-space:normal}
  .guard-roster-history{grid-column:2;grid-row:1}
  .guard-roster-remove,.guard-roster-row-spacer{grid-column:2;grid-row:2}
  .guard-roster-manual-add .manual-guard-add-form{grid-template-columns:1fr}
}
@media print{.guard-roster-dropdown{display:none!important}}

/* v3.0.6 · Cambio rápido entre tramos del cuadrante */
.guard-hour-panel{position:relative;transition:opacity .14s ease,transform .14s ease}
.guard-hour-panel.is-loading{opacity:.58;pointer-events:none}
.guard-hour-panel.is-loading::after{content:'Cargando tramo…';position:absolute;top:14px;right:14px;z-index:30;padding:8px 12px;border:1px solid #c8d8c5;border-radius:999px;background:rgba(255,255,255,.96);color:#24532d;font-size:.78rem;font-weight:850;box-shadow:0 5px 15px rgba(35,79,40,.12)}
@media(prefers-reduced-motion:reduce){.guard-hour-panel{transition:none}.guard-hour-tab{scroll-behavior:auto}}

/* ===== Gestión de asuntos propios 3.0.9 ===== */
.personal-manage-hero{display:flex;align-items:stretch;justify-content:space-between;gap:24px;padding:24px 26px;background:linear-gradient(135deg,#fff 0%,#f5faf4 100%)}
.personal-manage-hero-copy{max-width:820px}.personal-manage-hero h2{margin:5px 0 8px;font-size:1.75rem;color:#28552f}.personal-manage-hero p{margin:0;color:#607064;line-height:1.55}
.personal-manage-main-button{display:flex;flex-direction:column;justify-content:center;min-width:255px;padding:18px 22px;border-radius:18px;background:linear-gradient(135deg,#2f7d32 0%,#245f29 100%);color:#fff;text-decoration:none;box-shadow:0 10px 24px rgba(35,79,40,.22);transition:transform .16s ease,box-shadow .16s ease}
.personal-manage-main-button:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(35,79,40,.28)}.personal-manage-button-label{text-transform:uppercase;letter-spacing:.06em;font-size:.72rem;font-weight:900;opacity:.8}.personal-manage-main-button strong{font-size:1.65rem;margin:4px 0}.personal-manage-main-button small{color:rgba(255,255,255,.86)}
.personal-manage-actions{display:flex;flex-direction:column;gap:12px;min-width:300px;max-width:350px}.personal-manage-actions .personal-manage-main-button{min-width:0}.personal-manage-manual-help{margin-top:12px!important;font-size:.9rem}.personal-manage-manual-date{padding:13px 14px;border:1px solid #d7e2d4;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(35,79,40,.07)}.personal-manage-manual-date label{display:block;margin:0 0 7px;color:#355a3b;font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.personal-manage-manual-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.personal-manage-manual-row input[type=date]{min-width:0;margin:0}.personal-manage-manual-row button{margin:0;white-space:nowrap}.personal-manage-manual-date>small{display:block;margin-top:7px;color:#708075;line-height:1.35}
.personal-priority-rules h3{margin:0 0 14px;color:#28552f}.personal-priority-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.personal-priority-grid>div{display:flex;gap:12px;padding:15px;border:1px solid #dce7da;border-radius:15px;background:#f9fbf8}.personal-priority-grid>div>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#2f7d32;color:#fff;font-weight:900}.personal-priority-grid p{margin:0;color:#607064;line-height:1.4}.personal-priority-grid strong{color:#28552f}
.personal-pending-overview .section-heading,.personal-day-requests .section-heading{align-items:flex-start}.personal-other-date,.personal-limit-editor{min-width:220px}.personal-other-date summary,.personal-limit-editor summary{cursor:pointer;color:#2f6f35;font-weight:800;padding:9px 12px;border:1px solid #cfe0cb;border-radius:11px;background:#f5f9f4}.personal-other-date form,.personal-limit-editor form{margin-top:10px;padding:12px;border:1px solid #dbe5d8;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(35,79,40,.08)}
.personal-requests-table{min-width:900px}.personal-requests-table th{white-space:nowrap}.personal-requests-table td{vertical-align:middle}.personal-requests-table td:first-child strong{display:block;color:#28552f}.personal-requests-table td:first-child small{display:block;color:#708075;margin-top:3px}.personal-used-count{display:inline-grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:12px;font-size:1.08rem;font-weight:900;border:1px solid #cfe0cb;background:#edf7ec;color:#236b31}.personal-used-count.day1{background:#e8f6fa;color:#27758b}.personal-used-count.day2{background:#eaf2ff;color:#2b65a7}.personal-used-count.day3{background:#f0ebff;color:#654aa7}.personal-used-count.day4{background:#fff2dc;color:#9a6100}.personal-used-count.day5{background:#fdeaea;color:#a43a3a}
.personal-day-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px}.personal-day-header h2{margin:5px 0 7px;color:#28552f}.personal-day-header p{margin:0;color:#607064}.personal-back-link{display:inline-flex;margin-bottom:12px;color:#2f6f35;text-decoration:none;font-weight:800}.personal-day-status{display:flex;flex-direction:column;min-width:230px;padding:15px 18px;border-radius:15px;border:1px solid #cfe0cb}.personal-day-status.ready{background:#eef8ed;color:#296a30}.personal-day-status.exceptional{background:#fff8e7;border-color:#ead69d;color:#806000}.personal-day-status span{font-size:.82rem;margin-top:3px}
.personal-day-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:0 0 18px}.personal-day-summary>div{display:flex;flex-direction:column;padding:17px 18px;border:1px solid #d9e5d6;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(35,79,40,.06)}.personal-day-summary span{color:#657368;font-size:.82rem;font-weight:700}.personal-day-summary strong{font-size:1.8rem;color:#28552f;margin:3px 0}.personal-day-summary small{color:#78847b}
.personal-resolve-day{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:6px solid #2f7d32;background:#f5faf4}.personal-resolve-day.exceptional{display:block;border-left-color:#c08b16;background:#fffaf0}.personal-resolve-day h3{margin:0 0 5px;color:#28552f}.personal-resolve-day p{margin:0;color:#607064}.personal-resolve-day.exceptional label{margin-top:12px}.personal-resolve-day.exceptional button{margin-top:12px}
.personal-order-cell{text-align:center;font-weight:900;font-size:1.05rem;color:#2f6f35}.personal-request-note{display:block;margin-top:7px;padding:5px 8px;border-radius:8px;background:#f4f7f3;color:#5d6b60;font-size:.78rem}.personal-individual-actions{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}.personal-individual-actions details summary{cursor:pointer;padding:7px 10px;border:1px solid #e1bcbc;border-radius:9px;color:#a03e3e;font-weight:800;font-size:.82rem}.personal-individual-actions details form{display:flex;flex-direction:column;gap:7px;min-width:230px;margin-top:7px;padding:9px;border:1px solid #ead1d1;border-radius:10px;background:#fff8f8}.unexpected-row{background:#fffaf0}.personal-requests-table.day-detail td:nth-child(4) small{display:block;margin-top:4px;color:#78847b}
@media(max-width:1050px){.personal-manage-hero{flex-direction:column}.personal-manage-actions{min-width:0;max-width:none;width:100%}.personal-manage-main-button{min-width:0}.personal-priority-grid{grid-template-columns:1fr}.personal-day-summary{grid-template-columns:repeat(2,1fr)}.personal-resolve-day{flex-direction:column;align-items:flex-start}.personal-day-header{align-items:flex-start;flex-direction:column}.personal-day-status{min-width:0;width:100%}}
@media(max-width:620px){.personal-manage-hero{padding:18px}.personal-manage-manual-row{grid-template-columns:1fr}.personal-manage-manual-row button{width:100%}.personal-day-summary{grid-template-columns:1fr}.personal-other-date,.personal-limit-editor{min-width:0;width:100%}.personal-pending-overview .section-heading,.personal-day-requests .section-heading{flex-direction:column}.personal-requests-table-wrap{overflow-x:auto}}

/* ===== Revisión compacta de expedientes · v3.0.10 ===== */
.permission-review-hero{padding:18px 22px}
.permission-review-hero h2{font-size:1.55rem;margin:4px 0 7px}
.permission-review-headline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#5f6d62}
.permission-review-headline span{display:inline-flex;align-items:center;gap:6px}
.permission-review-headline span+span::before{content:"·";color:#9aaa9b;margin-right:2px}
.permission-review-status{display:flex;align-items:flex-start}
.permission-review-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.65fr);gap:18px;align-items:start;margin-top:18px}
.permission-review-documents,.permission-decision-card{margin:0}
.permission-review-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}
.permission-review-section-head h2{margin:4px 0 4px}
.permission-review-section-head p{margin:0}
.permission-document-count{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 11px;border-radius:999px;background:#edf4eb;color:#2d6035;font-size:.8rem;font-weight:850}
.permission-review-file-list{display:flex;flex-direction:column;gap:10px}
.permission-review-file{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border:1px solid #dce6da;border-radius:15px;background:#fbfdfb;transition:border-color .15s ease,box-shadow .15s ease}
.permission-review-file:hover{border-color:#b7cdb4;box-shadow:0 7px 16px rgba(35,79,40,.07)}
.permission-file-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e8f1e6;color:#2c6135;font-size:.72rem;font-weight:900;letter-spacing:.03em}
.permission-file-icon.pdf{background:#fce7e7;color:#952b2b}.permission-file-icon.jpg,.permission-file-icon.jpeg,.permission-file-icon.png,.permission-file-icon.webp{background:#e4eff9;color:#2f628e}.permission-file-icon.doc,.permission-file-icon.docx{background:#e8ecfa;color:#405999}
.permission-file-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.permission-file-copy strong{color:#28552f;overflow-wrap:anywhere}.permission-file-copy small{color:#718075;font-size:.78rem}
.permission-file-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.permission-no-documents{display:flex;flex-direction:column;gap:5px;padding:18px;border:1px dashed #dbb65d;border-radius:15px;background:#fffaf0;color:#725300}.permission-no-documents span{color:#766a49}
.permission-annex-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding:13px 14px;border:1px solid #d9e4d7;border-radius:15px;background:#f4f8f3}.permission-annex-row>div:first-child{display:flex;flex-direction:column;gap:3px}.permission-annex-row small{color:#6d7a6f}
.permission-add-document{margin-top:14px;border:1px solid #dce6da;border-radius:14px;background:#fafcf9}.permission-add-document summary{cursor:pointer;padding:12px 14px;font-weight:800;color:#315b35}.permission-add-document form{padding:0 14px 14px}
.permission-decision-card{position:sticky;top:14px;border-top:5px solid #2f7d32}.permission-decision-card h2{margin:4px 0 14px}.permission-decision-facts{display:grid;grid-template-columns:90px 1fr;gap:7px 10px;margin:0 0 16px}.permission-decision-facts dt{font-size:.78rem;font-weight:850;color:#6b786e}.permission-decision-facts dd{margin:0;font-weight:700;color:#2c3c30;overflow-wrap:anywhere}
.permission-decision-form{display:flex;flex-direction:column;gap:10px}.permission-decision-form label{margin:0}.permission-decision-form textarea{min-height:98px;margin:0 0 2px}
.permission-decision-button{width:100%;min-height:47px;border-radius:13px;font-weight:900;font-size:.96rem}.permission-decision-button.approve{background:#2f7d32}.permission-decision-button.correction{background:#d4a321;color:#fff}.permission-decision-button.reject{background:#a92e2e}
.permission-decision-waiting,.permission-decision-result{display:flex;flex-direction:column;gap:6px;padding:14px;border-radius:14px;background:#fff8e2;border:1px solid #ead38d;color:#755800}.permission-decision-result.approved{background:#eef8ed;border-color:#b8d7b5;color:#27602e}.permission-decision-result.rejected{background:#fff1f1;border-color:#e4bdbd;color:#8c2929}.permission-decision-result.needs_correction{background:#fff7e9;border-color:#e8ca8c;color:#7f5600}
.permission-admin-details{margin-top:18px;padding:0;overflow:hidden}.permission-admin-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;color:#2f5f36}.permission-admin-details>summary::-webkit-details-marker{display:none}.permission-admin-details>summary>span:first-child{display:flex;flex-direction:column;gap:3px}.permission-admin-details>summary small{font-weight:500;color:#6f7c71}.permission-details-chevron{width:11px;height:11px;border-right:2px solid #527058;border-bottom:2px solid #527058;transform:rotate(45deg);transition:transform .16s ease;margin-right:5px}.permission-admin-details[open] .permission-details-chevron{transform:rotate(225deg)}
.permission-admin-details-body{padding:0 18px 18px;border-top:1px solid #e2e9e0}.permission-review-summary{padding-top:16px;grid-template-columns:190px minmax(0,1fr)}
.permission-admin-editor{margin-top:16px;border:1px solid #dce6da;border-radius:14px;background:#fafcf9}.permission-admin-editor>summary{cursor:pointer;padding:12px 14px;font-weight:800;color:#315b35}.permission-admin-edit-form{padding:0 14px 14px;display:flex;flex-direction:column;gap:10px}
.permission-inspection-summary{border-top-color:#5a7290}
@media(max-width:1000px){.permission-review-layout{grid-template-columns:1fr}.permission-decision-card{position:static}.permission-review-file{grid-template-columns:44px minmax(0,1fr)}.permission-file-actions{grid-column:1/-1;justify-content:flex-start;padding-left:56px}}
@media(max-width:650px){.permission-review-hero{padding:15px}.permission-review-section-head,.permission-annex-row{flex-direction:column;align-items:flex-start}.permission-review-file{grid-template-columns:40px minmax(0,1fr);padding:11px}.permission-file-icon{width:40px;height:40px}.permission-file-actions{padding-left:0}.permission-file-actions .btn,.permission-file-actions button{flex:1 1 auto;text-align:center}.permission-decision-facts,.permission-review-summary{grid-template-columns:1fr}.permission-decision-facts dt{margin-top:5px}.permission-admin-details>summary{padding:14px}}

/* 3.0.11 · Entornos visuales por perfil, bloqueo y pizarra compartida */
body.role-docente{--green:#234f28;--green2:#2f7d32;--bg:#f3f6f1;--border:#d8e4d5;--profile-primary:#2f7d32;--profile-dark:#234f28;--profile-soft:#edf5eb;--profile-border:#b9d0b5;--profile-accent:#c49a31}
body.role-jefatura{--green:#194f70;--green2:#26739a;--bg:#f1f7fa;--border:#d3e2ea;--profile-primary:#26739a;--profile-dark:#194f70;--profile-soft:#eef7fb;--profile-border:#afd0df;--profile-accent:#d49a2d}
body.role-admin{--green:#503049;--green2:#7a476f;--bg:#f8f3f7;--border:#e2d4de;--profile-primary:#7a476f;--profile-dark:#503049;--profile-soft:#f7eff5;--profile-border:#d8bcd1;--profile-accent:#d5a33b}
body.role-inspeccion{--green:#394650;--green2:#596875;--bg:#f3f5f6;--border:#d8dde1;--profile-primary:#596875;--profile-dark:#394650;--profile-soft:#f0f3f5;--profile-border:#c8d0d6;--profile-accent:#c29338}
body.profile-board{--green:#075257;--green2:#0f7478;--bg:#eef7f6;--border:#c8e1e1;--profile-primary:#0f7478;--profile-dark:#075257;--profile-soft:#e9f7f7;--profile-border:#9ecfd1;--profile-accent:#e3a62f;background:#eef7f6}
body.screen-locked{--green:#3d454b;--green2:#5f6870;--bg:#f2f3f4;--border:#d8dcdf;--profile-primary:#5f6870;--profile-dark:#3d454b;--profile-soft:#f1f3f4;--profile-border:#cbd1d5;--profile-accent:#d09a32}
body[class*="role-"] .topbar,body.profile-board .topbar,body.screen-locked .topbar{background:linear-gradient(135deg,var(--profile-dark),var(--profile-primary));box-shadow:0 4px 15px color-mix(in srgb,var(--profile-dark) 24%,transparent)}
body[class*="role-"] .role,body.profile-board .role,body.screen-locked .role{color:var(--profile-dark)}
body[class*="role-"] h1,body[class*="role-"] h2,body[class*="role-"] h3,body.profile-board h1,body.profile-board h2,body.profile-board h3{color:var(--profile-dark)}
/* Los botones base ya usan --green2, definido por cada perfil. No forzar aquí el fondo de todo <button>: los controles compuestos (localizador, calendario, sonido, editor, etc.) necesitan conservar su propio fondo y contraste. */
body[class*="role-"] .btn:not(.secondary):not(.danger),body.profile-board .btn:not(.secondary):not(.danger){background:var(--profile-primary)}
body[class*="role-"] .app-nav-professional .nav-area-button.active,body.profile-board .app-nav-professional .nav-area-button.active{background:var(--profile-primary)!important;border-color:var(--profile-primary)!important;color:#fff!important;box-shadow:0 5px 14px color-mix(in srgb,var(--profile-primary) 22%,transparent)!important}
body[class*="role-"] .app-nav-professional .nav-submenu-link.active,body.profile-board .app-nav-professional .nav-submenu-link.active{border-color:var(--profile-primary)!important;box-shadow:inset 4px 0 0 var(--profile-primary),0 4px 13px color-mix(in srgb,var(--profile-primary) 12%,transparent)!important;background:var(--profile-soft)!important}
body[class*="role-"] .app-nav-professional .nav-submenu-icon,body.profile-board .app-nav-professional .nav-submenu-icon{background:var(--profile-soft)!important;border-color:var(--profile-border)!important}
body.profile-board .topbar{border-bottom:4px solid var(--profile-accent)}
body.profile-board .module{background:#fff;color:var(--profile-dark);font-weight:900}
body.profile-board .version-badge{background:var(--profile-accent);color:#253233}
.topbar-lock-form{margin:0}.topbar-action{display:inline-flex!important;align-items:center;justify-content:center;padding:6px 10px!important;border:1px solid #ffffff66!important;border-radius:9px!important;background:#ffffff1c!important;color:#fff!important;font:inherit!important;font-weight:800!important;text-decoration:none;cursor:pointer}.topbar-action:hover{background:#ffffff32!important}
.lock-screen-card{max-width:650px;margin:40px auto;text-align:center;padding:32px}.lock-screen-icon{display:grid;place-items:center;width:82px;height:82px;margin:0 auto 18px;border-radius:24px;background:var(--profile-soft);border:2px solid var(--profile-border);font-size:2.4rem}.lock-screen-form{max-width:430px;margin:22px auto 0;text-align:left}.lock-mode-note{border-left-color:#6b747b;background:#f1f3f4}.board-mode-note{border-left-color:var(--profile-primary);background:var(--profile-soft)}
.board-profile-help{border-left:6px solid #0f7478;background:linear-gradient(135deg,#f3fbfb,#fff)}
.board-readonly-note{border-left-color:#0f7478;background:#eaf8f8}
.board-sign-details{min-width:190px}.board-sign-details>summary{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:9px;background:#0f7478;color:#fff;font-size:.82rem;font-weight:850;cursor:pointer;list-style:none}.board-sign-details>summary::-webkit-details-marker{display:none}.board-sign-form{position:relative;z-index:6;display:flex;flex-direction:column;gap:7px;min-width:270px;margin-top:8px;padding:13px;border:1px solid #9ecfd1;border-radius:13px;background:#fff;box-shadow:0 14px 30px #164c5030;text-align:left}.board-sign-form label{margin:0;font-size:.75rem}.board-sign-form input{padding:8px}.board-sign-form button{align-self:flex-start;background:#0f7478!important}
.profile-board .guard-hour-header{border-top-color:#0f7478}.profile-board .guard-hour-tab.active{background:#0f7478!important;border-color:#0f7478!important}.profile-board .live-period-badge{background:#dff4f3;color:#075257}.profile-board .guard-roster-dropdown{border-color:#9ecfd1}.profile-board .guard-roster-summary{background:#effafa}
@media(max-width:760px){.topbar-action{padding:5px 8px!important}.board-sign-form{min-width:220px}.lock-screen-card{margin:15px auto;padding:22px}}
body.role-guest{--green:#234f28;--green2:#2f7d32;--bg:#f3f6f1;--border:#d8e4d5;--profile-primary:#2f7d32;--profile-dark:#234f28;--profile-soft:#edf5eb;--profile-border:#b9d0b5;--profile-accent:#c49a31}

/* 3.0.13 · Navegación semanal, calendario lectivo y modo pizarra */
.guard-week-navigation{
  display:grid;
  grid-template-columns:118px repeat(5,minmax(105px,1fr)) 118px;
  gap:2px;
  margin:0 0 16px;
  border:1px solid var(--profile-border,var(--border));
  border-radius:16px;
  overflow:hidden;
  background:var(--profile-border,var(--border));
  box-shadow:0 8px 22px rgba(35,79,40,.07);
}
.guard-week-navigation a{min-width:0;text-decoration:none}
.guard-week-day,.guard-week-arrow{
  min-height:78px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  background:#fff8dc;
  color:#173e48;
  transition:background .16s ease,transform .16s ease,color .16s ease;
}
.guard-week-day:hover,.guard-week-arrow:hover{background:#fff0b5;color:#113f48}
.guard-week-day span,.guard-week-arrow span{font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.guard-week-day strong{font-size:1.75rem;line-height:1;margin:4px 0 1px;font-variant-numeric:tabular-nums}
.guard-week-day small{min-height:1em;font-size:.67rem;color:inherit;opacity:.78}
.guard-week-arrow strong{font-size:1.9rem;line-height:1;margin-top:5px}
.guard-week-day.active{background:var(--profile-primary,#2f7d32);color:#fff;box-shadow:inset 0 -4px 0 var(--profile-accent,#d6aa32)}
.guard-week-day.today:not(.active){box-shadow:inset 0 -4px 0 var(--profile-primary,#2f7d32)}
body.profile-board .guard-week-day,body.profile-board .guard-week-arrow{background:#fff4c8;color:#124e54}
body.profile-board .guard-week-day.active{background:#16818a;color:#fff}

/* En la pizarra las acciones se mantienen dentro de su columna sin superponerse. */
body.profile-board .compact-guard-table th:nth-child(5),body.profile-board .compact-guard-table td:nth-child(5){width:132px}
body.profile-board .compact-guard-table th:nth-child(6),body.profile-board .compact-guard-table td:nth-child(6){width:108px}
body.profile-board .board-sign-details{width:100%;min-width:0}
body.profile-board .board-sign-details>summary{width:100%;min-width:0;box-sizing:border-box;white-space:normal;line-height:1.08;padding:8px 6px}
body.profile-board .guard-row-actions{min-width:0;overflow:hidden}
body.profile-board .guard-row-actions .badge{display:flex;align-items:center;justify-content:center;max-width:100%;width:100%;box-sizing:border-box;white-space:normal;line-height:1.08;padding:6px 5px;font-size:.66rem}
body.profile-board .detail-button{white-space:normal;line-height:1.08;padding:7px 5px}
body.profile-board .board-sign-form{position:fixed;z-index:10000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(390px,calc(100vw - 30px));min-width:0;margin:0;padding:18px}
body.profile-board .board-sign-details[open]::before{content:'';position:fixed;inset:0;z-index:9999;background:rgba(13,45,48,.48);backdrop-filter:blur(2px)}

/* Los calendarios mensuales muestran únicamente días lectivos de lunes a viernes. */
.permission-calendar-grid{grid-template-columns:repeat(5,minmax(155px,1fr))!important;min-width:775px!important}
.permission-calendar{grid-template-columns:repeat(5,minmax(110px,1fr))!important}
.pc-weekday{color:#28552f;text-shadow:none}
@media(max-width:900px){
  .guard-week-navigation{grid-template-columns:82px repeat(5,minmax(88px,1fr)) 82px;overflow-x:auto}
  .guard-week-day,.guard-week-arrow{min-height:67px;padding:7px 5px}
  .guard-week-day strong{font-size:1.42rem}
  .permission-calendar-grid{grid-template-columns:repeat(5,minmax(132px,1fr))!important;min-width:660px!important}
}
@media(max-width:650px){
  .guard-week-navigation{display:flex;overflow-x:auto;border-radius:12px}
  .guard-week-day{flex:0 0 88px}.guard-week-arrow{flex:0 0 66px}
  .permission-calendar-grid{grid-template-columns:repeat(5,minmax(112px,1fr))!important;min-width:560px!important}
}

.official-calendar-import{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,360px);gap:24px;align-items:center;padding:20px;border:1px solid #d7e4d4;border-left:6px solid #2f7d32;border-radius:17px;background:linear-gradient(135deg,#f8fcf7,#fffdf4)}
.official-calendar-import h2{margin:3px 0 7px}.official-calendar-import p{margin:0;color:var(--muted);line-height:1.45}
.official-calendar-import form{display:grid;grid-template-columns:1fr;gap:8px;padding:14px;border-radius:14px;background:#fff;border:1px solid #dde7db}
.official-calendar-import form label{margin:0}.official-calendar-import form select{margin:0}.official-calendar-import form button{width:100%}
.permission-exclusion-settings>hr{margin:24px 0;border:0;border-top:1px solid var(--border)}
@media(max-width:760px){.official-calendar-import{grid-template-columns:1fr;padding:16px}}


/* 3.0.14 · Selección previa del calendario oficial */
.calendar-selection-panel{display:block!important}
.calendar-selection-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
.calendar-selection-heading h2{margin:4px 0 6px}
.calendar-selection-heading p{max-width:820px;margin:0;color:var(--muted)}
.calendar-year-selector{display:grid;grid-template-columns:minmax(150px,190px);gap:6px;flex:0 0 auto;min-width:190px}
.calendar-year-selector label{margin:0}
.calendar-block-selection{margin-top:18px}
.calendar-selection-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:#fff}
.calendar-selection-actions .muted{margin-left:auto}
.calendar-block-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.calendar-block-choice{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;margin:0;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#fff;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
.calendar-block-choice:hover{transform:translateY(-1px);border-color:var(--profile-border,#a9c2a5);box-shadow:0 7px 16px rgba(35,79,40,.09)}
.calendar-block-choice>input{position:absolute;opacity:0;pointer-events:none}
.calendar-block-check{display:grid;place-items:center;width:26px;height:26px;border:2px solid #aebcaf;border-radius:8px;background:#fff}
.calendar-block-check::after{content:'✓';opacity:0;color:#fff;font-size:.95rem;font-weight:950;transform:scale(.6);transition:opacity .12s ease,transform .12s ease}
.calendar-block-choice>input:checked+.calendar-block-check{border-color:var(--profile-primary,var(--green2));background:var(--profile-primary,var(--green2))}
.calendar-block-choice>input:checked+.calendar-block-check::after{opacity:1;transform:scale(1)}
.calendar-block-choice:has(input:checked){border-color:var(--profile-border,#9fbd9b);background:var(--profile-soft,#f4f9f3);box-shadow:inset 4px 0 0 var(--profile-primary,var(--green2))}
.calendar-block-choice.is-imported{opacity:.72;cursor:default;background:#f4f6f4}
.calendar-block-choice.is-imported:hover{transform:none;box-shadow:none;border-color:var(--border)}
.calendar-block-choice.is-imported .calendar-block-check{border-color:#a9b2ab;background:#e2e6e2}
.calendar-block-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.calendar-block-copy strong{color:var(--profile-dark,var(--green));line-height:1.2}
.calendar-block-copy small{color:var(--muted);font-weight:700}
.calendar-block-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:.69rem;font-weight:900;white-space:nowrap}
.calendar-block-status.new{background:#e1edf9;color:#27547c}
.calendar-block-status.inactive{background:#fff0bf;color:#765500}
.calendar-block-status.active{background:#dff4e2;color:#25632d}
.calendar-import-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.calendar-import-footer p{margin:0}
@media(max-width:850px){.calendar-selection-heading{flex-direction:column}.calendar-year-selector{width:100%;grid-template-columns:1fr}.calendar-block-list{grid-template-columns:1fr}.calendar-selection-actions .muted{width:100%;margin-left:0}.calendar-import-footer{align-items:stretch;flex-direction:column}.calendar-import-footer button{width:100%}}

/* 3.0.14 · Contraste legible en todos los menús de perfil */
body[class*="role-"] .app-nav-professional .nav-home-button:not(.active),
body[class*="role-"] .app-nav-professional .nav-area-button:not(.active),
body.profile-board .app-nav-professional .nav-home-button:not(.active),
body.profile-board .app-nav-professional .nav-area-button:not(.active),
body.screen-locked .app-nav-professional .nav-home-button:not(.active),
body.screen-locked .app-nav-professional .nav-area-button:not(.active){background:var(--profile-soft)!important;border-color:var(--profile-border)!important;color:var(--profile-dark)!important}
body[class*="role-"] .app-nav-professional .nav-home-button:not(.active):hover,
body[class*="role-"] .app-nav-professional .nav-area-button:not(.active):hover,
body.profile-board .app-nav-professional .nav-home-button:not(.active):hover,
body.profile-board .app-nav-professional .nav-area-button:not(.active):hover{background:#fff!important;color:var(--profile-dark)!important;box-shadow:0 5px 13px color-mix(in srgb,var(--profile-primary) 14%,transparent)!important}
body[class*="role-"] .app-nav-professional .nav-submenu-link,
body.profile-board .app-nav-professional .nav-submenu-link,
body.screen-locked .app-nav-professional .nav-submenu-link{background:#fff!important;color:var(--profile-dark)!important;border-color:var(--profile-border)!important}
body[class*="role-"] .app-nav-professional .nav-submenu-link.active,
body.profile-board .app-nav-professional .nav-submenu-link.active{background:var(--profile-soft)!important;color:var(--profile-dark)!important}
body[class*="role-"] .permission-page-tabs a:not(.active),
body[class*="role-"] .computer-tabs a:not(.active),
body[class*="role-"] .substitution-tabs a:not(.active),
body.profile-board .permission-page-tabs a:not(.active),
body.profile-board .computer-tabs a:not(.active){background:#fff!important;color:var(--profile-dark)!important;border-color:var(--profile-border)!important}
body[class*="role-"] .permission-page-tabs a.active,
body[class*="role-"] .computer-tabs a.active,
body[class*="role-"] .substitution-tabs a.active,
body.profile-board .permission-page-tabs a.active,
body.profile-board .computer-tabs a.active{background:var(--profile-primary)!important;color:#fff!important;border-color:var(--profile-primary)!important}

/* 3.0.15 · Cambio de perfil entre profesor y equipo directivo */
.topbar-brand-group{display:flex;align-items:center;gap:0;min-width:0}
.profile-mode-switch{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid rgba(255,255,255,.42);border-radius:12px;background:rgba(255,255,255,.12);white-space:nowrap}
.profile-mode-label{padding:0 5px 0 7px;color:rgba(255,255,255,.86);font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em}
.profile-mode-option{min-height:30px;margin:0;padding:5px 9px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#fff!important;font-size:.76rem!important;font-weight:850!important;box-shadow:none!important}
.profile-mode-option:hover{background:rgba(255,255,255,.16)!important}
.profile-mode-option.active{background:#fff!important;color:var(--profile-dark,var(--green))!important;box-shadow:0 2px 8px rgba(0,0,0,.13)!important}
.profile-mode-unavailable{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid rgba(255,255,255,.38);border-radius:9px;background:rgba(255,255,255,.10);color:rgba(255,255,255,.9);font-size:.72rem;font-weight:750}
.profile-switch-help{border-left:6px solid var(--profile-primary,var(--green2));background:linear-gradient(135deg,var(--profile-soft,#f5faf4),#fff)}
body.role-docente .profile-mode-switch{border-color:rgba(255,255,255,.5)}
@media(max-width:1050px){.topbar{align-items:flex-start}.userbox{flex-wrap:wrap;justify-content:flex-end}.profile-mode-switch{order:3;width:100%;justify-content:center}.profile-mode-label{margin-right:auto}}
@media(max-width:760px){.topbar-brand-group{flex-wrap:wrap}.profile-mode-switch{order:0;width:100%;justify-content:flex-start}.profile-mode-option{flex:1}.profile-mode-label{display:none}.profile-mode-unavailable{width:100%;justify-content:center}}

/* ===== Asuntos propios 3.0.16: renuncias y autorización conjunta ===== */
.personal-day-bulk-actions{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin:18px 0}
.personal-grant-all-day,.personal-resolve-day{margin:0;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.personal-grant-all-day{border:1px solid #b8d4b5;background:linear-gradient(180deg,#f8fcf7 0%,#eef8ec 100%);box-shadow:0 8px 22px rgba(35,79,40,.08)}
.personal-grant-all-day h3{margin:3px 0 6px;color:#215c2c}
.personal-grant-all-day button{width:100%;font-size:1rem;padding:13px 16px;background:#2f7d32}
.personal-grant-all-day.exceptional{border-color:#d6c58e;background:linear-gradient(180deg,#fffdf6 0%,#fff7df 100%)}
.personal-grant-all-day.unavailable{border-color:#dfc9a2;background:#fffaf1;color:#6f5b31}
.personal-withdrawal-notice{display:flex;flex-direction:column;gap:3px;margin-top:10px;padding:10px 12px;border-radius:12px;font-size:.88rem}
.personal-withdrawal-notice.pending{background:#fff4cf;border-left:4px solid #d19c14;color:#715000}
.personal-withdrawal-notice.denied{background:#fff0f0;border-left:4px solid #b73b3b;color:#7f2929}
.personal-withdrawal-notice.approved{background:#eaf7e8;border-left:4px solid #2f7d32;color:#245c28}
.personal-withdrawal-manager{width:100%;padding:12px;border:1px solid #efd48b;border-radius:14px;background:#fff9e7}
.personal-withdrawal-manager-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.personal-withdrawal-manager-actions form,.personal-withdrawal-day-resolution form{display:flex;flex-direction:column;gap:6px}
.personal-withdrawal-manager-actions input,.personal-withdrawal-day-resolution input{min-width:0}
.personal-withdrawal-request,.personal-manager-revoke{width:100%}
.personal-withdrawal-request summary,.personal-manager-revoke summary{cursor:pointer;font-weight:800;color:#7b302f}
.personal-withdrawal-request form,.personal-manager-revoke form{margin-top:10px;padding:12px;border-radius:12px;background:#fafafa}
.personal-withdrawal-day-resolution{display:flex;flex-direction:column;gap:8px;min-width:220px}
.personal-day-request-card{align-items:flex-start}
.personal-day-request-main{min-width:0;flex:1}
.personal-day-card-actions{justify-content:flex-end;flex-wrap:wrap}
@media(max-width:900px){.personal-day-bulk-actions{grid-template-columns:1fr}.personal-withdrawal-manager-actions{grid-template-columns:1fr}}

/* ===== Panel principal 3.0.17 ===== */
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;padding:22px 24px;border:1px solid var(--profile-border,var(--border));border-radius:20px;background:linear-gradient(135deg,#fff 0%,var(--profile-soft,#edf5eb) 100%);box-shadow:0 12px 30px color-mix(in srgb,var(--profile-dark,#234f28) 8%,transparent)}
.dashboard-welcome h2{margin:4px 0 6px;font-size:1.65rem}.dashboard-welcome p{margin:0;color:var(--muted);font-size:.98rem}.dashboard-eyebrow{display:block;color:var(--profile-primary,var(--green2));font-size:.75rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.dashboard-primary-action{flex:0 0 auto;padding:12px 18px}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-metrics.teacher-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1040px}
.dashboard-metric-card{position:relative;display:grid;grid-template-columns:48px 1fr 20px;gap:13px;align-items:center;min-height:126px;padding:18px;border:1px solid var(--profile-border,var(--border));border-radius:18px;background:#fff;color:var(--text);text-decoration:none;box-shadow:0 8px 22px color-mix(in srgb,var(--profile-dark,#234f28) 7%,transparent);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.dashboard-metric-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--metric-tone,var(--profile-primary,#2f7d32))}.dashboard-metric-card:hover{transform:translateY(-2px);border-color:var(--metric-tone,var(--profile-primary,#2f7d32));box-shadow:0 14px 28px color-mix(in srgb,var(--profile-dark,#234f28) 12%,transparent)}
.dashboard-metric-card.tone-absence{--metric-tone:#b95858;--metric-soft:#fff0f0}.dashboard-metric-card.tone-guards{--metric-tone:#39769a;--metric-soft:#eef7fb}.dashboard-metric-card.tone-documents{--metric-tone:#765f9c;--metric-soft:#f5f1fa}.dashboard-metric-card.tone-personal-days{--metric-tone:#bd8a20;--metric-soft:#fff8e5}
.dashboard-metric-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--metric-soft,var(--profile-soft,#edf5eb));color:var(--metric-tone,var(--profile-primary,#2f7d32))}.dashboard-metric-icon svg{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important}.dashboard-metric-copy{display:flex;flex-direction:column;min-width:0}.dashboard-metric-label{font-size:.9rem;font-weight:800;color:#536158}.dashboard-metric-copy strong{font-size:2.05rem;line-height:1;color:var(--metric-tone,var(--profile-dark,#234f28));margin:5px 0}.dashboard-metric-copy small{font-size:.76rem;line-height:1.25;color:var(--muted)}.dashboard-metric-arrow{font-size:2rem;line-height:1;color:var(--metric-tone,var(--profile-primary,#2f7d32));opacity:.55}
.dashboard-duty-section{margin-top:22px;padding:22px;border:1px solid var(--profile-border,var(--border));border-radius:22px;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--profile-soft,#edf5eb) 48%,#fff) 100%);box-shadow:0 12px 30px color-mix(in srgb,var(--profile-dark,#234f28) 7%,transparent)}
.dashboard-duty-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.dashboard-duty-heading h2{margin:4px 0 4px;font-size:1.55rem}.dashboard-duty-heading p{margin:0;color:var(--muted)}
.dashboard-duty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-duty-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dbe4d8;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 17px rgba(35,79,40,.055)}.dashboard-duty-card.is-current{border-color:var(--profile-primary,#2f7d32);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-primary,#2f7d32) 15%,transparent),0 10px 22px rgba(35,79,40,.1)}.dashboard-duty-card.is-break .dashboard-duty-card-head{background:#fff8e5}
.dashboard-duty-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;background:#f5f9f4;border-bottom:1px solid #e0e8de}.dashboard-period-mark{display:flex;flex-direction:column;gap:2px}.dashboard-period-mark strong{font-size:1.05rem;color:var(--profile-dark,var(--green))}.dashboard-period-mark span{font-size:.76rem;color:var(--muted);font-weight:700}.dashboard-period-badges{display:flex;align-items:center;gap:6px}.dashboard-count-badge,.dashboard-now-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:.68rem;font-weight:900;white-space:nowrap}.dashboard-count-badge{background:#eaf1e8;color:#49604d}.dashboard-now-badge{background:var(--profile-primary,#2f7d32);color:#fff}
.dashboard-duty-people{display:flex;flex-direction:column;gap:0;padding:4px 12px}.dashboard-duty-person{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 10px;gap:10px;align-items:center;padding:10px 2px;border-bottom:1px solid #edf1ec}.dashboard-duty-person:last-child{border-bottom:0}.dashboard-person-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#eaf2e8;color:#2c5932;font-size:.72rem;font-weight:900}.dashboard-person-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-person-copy a,.dashboard-person-copy strong{color:#26382b;font-size:.87rem;font-weight:850;line-height:1.16;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-person-copy a:hover{text-decoration:underline}.dashboard-person-copy small{color:var(--muted);font-size:.72rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-state-dot{width:9px;height:9px;border-radius:50%;background:#7b8b7f}.dashboard-duty-person.state-free .dashboard-person-avatar{background:#e6f5e8;color:#23632d}.dashboard-duty-person.state-free .dashboard-state-dot{background:#37a24b}.dashboard-duty-person.state-busy .dashboard-person-avatar{background:#e5f0fa;color:#245f88}.dashboard-duty-person.state-busy .dashboard-state-dot{background:#3a84bd}.dashboard-duty-person.state-absent .dashboard-person-avatar{background:#fdeaea;color:#8b2e2e}.dashboard-duty-person.state-absent .dashboard-state-dot{background:#c94d4d}.dashboard-duty-person.state-recess .dashboard-person-avatar{background:#fff2ce;color:#8a6200}.dashboard-duty-person.state-recess .dashboard-state-dot{background:#d99a18}.dashboard-duty-empty{padding:22px 6px;text-align:center;color:var(--muted);font-size:.82rem}
.dashboard-fixed-functions{margin-top:auto;border-top:1px solid #e2e9e0;background:#fafcf9}.dashboard-fixed-functions summary{padding:10px 14px;color:#5f5b87;font-size:.75rem;font-weight:850;cursor:pointer;list-style:none}.dashboard-fixed-functions summary::-webkit-details-marker{display:none}.dashboard-fixed-functions summary:after{content:' +';font-weight:900}.dashboard-fixed-functions[open] summary:after{content:' −'}.dashboard-fixed-list{display:flex;flex-direction:column;gap:7px;padding:0 14px 12px}.dashboard-fixed-list div{display:flex;justify-content:space-between;gap:10px;font-size:.75rem}.dashboard-fixed-list strong{color:#3e463f}.dashboard-fixed-list span{color:var(--muted);text-align:right}
.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:16px;margin-top:18px}.dashboard-bottom-grid.teacher-bottom-grid{grid-template-columns:1fr}.dashboard-card-heading h2{margin:4px 0 0}.dashboard-action-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.dashboard-action-links>a{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-areas:'icon title' 'icon subtitle';column-gap:10px;align-items:center;min-height:76px;padding:12px;border:1px solid #dce5d9;border-radius:14px;background:#fbfcfb;color:#2d4932;text-decoration:none;transition:background .15s ease,border-color .15s ease,transform .15s ease}.dashboard-action-links>a:hover{transform:translateY(-1px);border-color:var(--profile-border,#b9d0b5);background:var(--profile-soft,#edf5eb)}.dashboard-action-links>a>span{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--profile-soft,#edf5eb)}.dashboard-action-links>a>span svg{width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important}.dashboard-action-links>a>strong{grid-area:title;font-size:.85rem}.dashboard-action-links>a>small{grid-area:subtitle;color:var(--muted);font-size:.7rem;line-height:1.18}.dashboard-import-card h2{margin:4px 0 14px}.dashboard-import-file{display:flex;gap:12px;align-items:flex-start;padding:13px;border:1px solid #dfe7dd;border-radius:14px;background:#fafcf9}.dashboard-import-file>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--profile-soft,#edf5eb)}.dashboard-import-file>span svg{width:22px!important;height:22px!important}.dashboard-import-file div{display:flex;flex-direction:column;min-width:0}.dashboard-import-file strong{font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-import-file small{margin-top:4px;color:var(--muted);font-size:.72rem;line-height:1.3}
@media(max-width:1100px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics.teacher-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.dashboard-duty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-action-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-welcome,.dashboard-duty-heading{align-items:flex-start;flex-direction:column}.dashboard-primary-action,.dashboard-duty-heading .btn{width:100%;text-align:center}.dashboard-metrics,.dashboard-metrics.teacher-dashboard-metrics{grid-template-columns:1fr}.dashboard-metric-card{min-height:108px}.dashboard-duty-section{padding:14px}.dashboard-duty-grid{grid-template-columns:1fr}.dashboard-bottom-grid{grid-template-columns:1fr}.dashboard-action-links{grid-template-columns:1fr}.dashboard-duty-person{grid-template-columns:34px minmax(0,1fr) 10px}.dashboard-person-avatar{width:34px;height:34px}}

/* ===== Solicitudes de asuntos propios 3.0.18 ===== */
.personal-request-browser{padding:22px;border-radius:22px;background:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--profile-soft,#edf5eb) 48%,#fff) 100%)}
.personal-request-browser-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.personal-request-browser-head h2{margin:4px 0 5px}.personal-request-browser-head p{margin:0;max-width:760px;color:var(--muted);line-height:1.45}.personal-request-total-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));font-size:.8rem;font-weight:900;white-space:nowrap}
.personal-request-selector-form{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.7fr) auto;gap:12px;align-items:end}.personal-request-selector-form label{margin-top:0}.personal-request-selector-form button{min-height:44px}.personal-teacher-search-wrap,.personal-teacher-select-wrap{min-width:0}
.personal-request-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;margin-top:18px;padding:34px;border:1px dashed var(--profile-border,var(--border));border-radius:22px;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--profile-soft,#edf5eb) 40%,#fff) 100%);text-align:center}.personal-request-empty-icon{display:grid;place-items:center;width:74px;height:74px;border-radius:24px;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));font-size:1.25rem;font-weight:950;box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--profile-dark,#234f28) 12%,transparent)}.personal-request-empty-state h2{margin:16px 0 6px}.personal-request-empty-state p{margin:0;max-width:560px;color:var(--muted)}
.personal-selected-teacher-card{display:grid;grid-template-columns:66px minmax(220px,.8fr) minmax(420px,1.5fr);gap:18px;align-items:center;margin-top:18px;padding:20px;border:1px solid var(--profile-border,var(--border));border-radius:22px;background:#fff;box-shadow:0 10px 26px color-mix(in srgb,var(--profile-dark,#234f28) 7%,transparent)}.personal-selected-avatar{display:grid;place-items:center;width:66px;height:66px;border-radius:20px;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));font-size:1.55rem;font-weight:950}.personal-selected-copy{display:flex;flex-direction:column;min-width:0}.personal-selected-copy>span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.personal-selected-copy h2{margin:3px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.personal-selected-copy small{color:var(--muted)}.personal-selected-stats{display:grid;grid-template-columns:repeat(5,minmax(74px,1fr));gap:9px}.personal-selected-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:72px;padding:8px;border:1px solid #dce5d9;border-radius:14px;background:#fafcfa}.personal-selected-stats>div.warn{border-color:#ead3a0;background:#fff8e6}.personal-selected-stats strong{font-size:1.35rem;line-height:1;color:var(--profile-dark,var(--green))}.personal-selected-stats span{margin-top:5px;color:var(--muted);font-size:.7rem;font-weight:800;text-align:center}
.personal-request-filters{display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) auto;gap:12px;align-items:end;margin-top:14px}.personal-request-filters label{margin-top:0}.personal-request-filters .actions{margin:0;align-items:center}.personal-request-results-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:22px 0 10px}.personal-request-results-head h2{margin:0 0 3px}.personal-request-results-head p{margin:0}.personal-request-results-head>span{color:var(--muted);font-size:.82rem;font-weight:800}
.personal-request-compact-list{display:flex;flex-direction:column;gap:11px}.personal-request-compact-card{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(170px,auto);gap:16px;align-items:center;min-height:122px;padding:14px 18px}.personal-request-date-block{display:flex;flex-direction:column;align-items:center;justify-content:center;width:66px;height:82px;border-radius:17px;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));line-height:1}.personal-request-date-block strong{font-size:1.8rem}.personal-request-date-block span{margin-top:4px;font-size:.72rem;font-weight:950;letter-spacing:.06em}.personal-request-date-block small{margin-top:4px;color:var(--muted);font-size:.67rem;font-weight:800}.personal-request-compact-card .personal-day-request-main h3{margin:3px 0}.personal-request-compact-card .personal-day-request-main p{margin:5px 0 3px}.personal-request-compact-card .permission-card-meta{align-items:flex-end;min-width:150px}.personal-request-compact-card .personal-day-card-actions{justify-content:flex-end;margin-top:10px}.personal-request-action-details{position:relative}.personal-request-action-details>summary{cursor:pointer;padding:6px 9px;border:1px solid #d6e1d3;border-radius:9px;background:#f7faf6;color:var(--profile-dark,var(--green));font-size:.78rem;font-weight:850;list-style:none}.personal-request-action-details>summary::-webkit-details-marker{display:none}.personal-request-action-details>form,.personal-request-action-details>div{margin-top:8px;padding:10px;border:1px solid #dbe5d8;border-radius:11px;background:#fff;box-shadow:0 8px 20px rgba(35,79,40,.08)}.personal-request-pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:18px}.personal-request-pagination span{color:var(--muted);font-size:.85rem}
@media(max-width:1000px){.personal-request-selector-form{grid-template-columns:1fr 1.4fr}.personal-request-selector-form button{grid-column:1/-1}.personal-selected-teacher-card{grid-template-columns:58px 1fr}.personal-selected-avatar{width:58px;height:58px}.personal-selected-stats{grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr))}.personal-request-compact-card{grid-template-columns:64px minmax(0,1fr)}.personal-request-compact-card .permission-card-meta{grid-column:2;align-items:flex-start}.personal-request-compact-card .personal-day-card-actions{justify-content:flex-start}}
@media(max-width:720px){.personal-request-browser-head{flex-direction:column}.personal-request-selector-form,.personal-request-filters{grid-template-columns:1fr}.personal-request-selector-form button,.personal-request-filters .actions{grid-column:auto}.personal-selected-teacher-card{grid-template-columns:50px 1fr;padding:15px}.personal-selected-avatar{width:50px;height:50px;border-radius:16px;font-size:1.2rem}.personal-selected-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-selected-stats>div:last-child:nth-child(odd){grid-column:1/-1}.personal-request-compact-card{grid-template-columns:54px minmax(0,1fr);gap:11px;padding:12px}.personal-request-date-block{width:52px;height:70px;border-radius:14px}.personal-request-date-block strong{font-size:1.45rem}.personal-request-compact-card .permission-card-meta{grid-column:1/-1;align-items:flex-start}.personal-request-pagination{justify-content:space-between;flex-wrap:wrap}.personal-request-pagination .btn{flex:1;text-align:center}}

/* ===== Copias de seguridad y gestión del curso académico · v3.0.19 ===== */
.academic-year-readonly{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #cbd9c8;border-radius:13px;background:#f7faf6}.academic-year-readonly strong{font-size:1.15rem;color:#24532d}.academic-year-readonly span{padding:5px 10px;border-radius:999px;background:#e5f2e3;color:#2f6a36;font-size:.8rem;font-weight:800}
.settings-course-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-course-card h2{margin:4px 0 7px}.settings-course-card p{margin:0;color:#637067}
.course-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin-bottom:20px;border:1px solid #d8e4d5;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f4f8f3 100%);box-shadow:0 10px 28px rgba(35,79,40,.08)}.course-admin-hero h1{margin:4px 0 8px;color:#24532d}.course-admin-hero p{margin:0;max-width:780px;color:#617066}.course-status-pill{min-width:190px;padding:14px 18px;border-radius:17px;text-align:center;border:1px solid #cbd9c8;background:#fff}.course-status-pill span{display:block;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.course-status-pill strong{display:block;margin-top:4px;font-size:1.4rem}.course-status-pill.open{background:#edf8eb;color:#285f30;border-color:#b9d5b7}.course-status-pill.closed{background:#fff5dd;color:#805b00;border-color:#ebd08a}
.course-backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.course-tool-card{display:flex;align-items:flex-start;gap:16px;padding:22px}.course-tool-card h2{margin:0 0 7px}.course-tool-card p{margin:0 0 14px;color:#647168;line-height:1.45}.course-tool-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:16px;font-size:1rem;font-weight:950}.course-tool-card.safe .course-tool-icon{background:#e6f3e4;color:#286031}.course-tool-card.restore .course-tool-icon{background:#fff0df;color:#9a5817}.course-tool-card details{margin-top:8px}.course-tool-card details>summary{cursor:pointer;color:#285b31}.danger-confirm-form{display:flex;flex-direction:column;gap:10px;margin-top:15px;padding:16px;border:1px solid #e2c9c4;border-radius:15px;background:#fffafa}.danger-confirm-form label{margin:0}.danger-confirm-form .note{margin:3px 0}
.course-lifecycle-card{padding:24px}.course-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.course-flow span{padding:7px 11px;border-radius:999px;background:#f0f3ef;color:#778178;font-size:.78rem;font-weight:850}.course-flow span.active{background:#2f7d32;color:#fff}.course-flow i{font-style:normal;color:#a1aba2}.course-current-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.course-current-summary div{padding:14px;border:1px solid #dae5d7;border-radius:15px;background:#fafcf9}.course-current-summary span{display:block;color:#69776d;font-size:.78rem}.course-current-summary strong{display:block;margin-top:3px;color:#24532d;font-size:1.5rem}
.course-action-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px;border-radius:18px;border:1px solid #d8e3d5}.course-action-panel h3{margin:0 0 7px}.course-action-panel p{margin:0;color:#637067;line-height:1.45}.close-course-panel{background:#fff8f5;border-color:#e7c9bf}.archive-panel{background:#f5faf3}.open-course-panel{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);margin-top:16px;background:#fffaf0;border-color:#e6d29d}.open-course-form{margin-top:0}.compact-list{margin:10px 0 0;padding-left:20px;color:#607066}.compact-list li{margin:5px 0}.course-history-card{margin-top:20px}.course-history-card h2{margin-top:0}.course-history-card .code{word-break:break-all}
@media(max-width:1050px){.course-current-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.open-course-panel{grid-template-columns:1fr}.course-backup-grid{grid-template-columns:1fr}}
@media(max-width:720px){.course-admin-hero,.settings-course-card,.course-action-panel{flex-direction:column;display:flex;align-items:stretch}.course-status-pill{min-width:0}.course-current-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.course-tool-card{flex-direction:column}.course-flow{margin-top:12px}.course-lifecycle-card{padding:17px}.course-admin-hero{padding:19px}.course-action-panel .actions{align-items:stretch}.course-action-panel .btn{width:100%;justify-content:center}}
.course-closed-screen{max-width:850px;margin:50px auto;padding:38px;text-align:center}.course-closed-screen h1{margin:7px 0 12px;color:#24532d}.course-closed-screen>p{max-width:680px;margin:0 auto 22px;color:#617066;line-height:1.55}.course-closed-icon{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 16px;border-radius:50%;background:#e8f4e5;color:#2f7d32;font-size:2.3rem;font-weight:950}.course-closed-screen .actions{justify-content:center}

/* ===== Plantilla del curso · v3.0.20 ===== */
.staff-course-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:18px;padding:24px 26px;border:1px solid #d6e2d3;border-radius:22px;background:linear-gradient(135deg,#fbfdfb 0%,#eef6ec 100%);box-shadow:0 12px 28px rgba(35,79,40,.08)}
.staff-course-hero h1{margin:4px 0 8px}.staff-course-hero p{margin:0;max-width:820px;color:#627165}
.staff-course-stats{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.staff-course-stats>div{min-width:104px;padding:13px 15px;border:1px solid #d6e2d3;border-radius:16px;background:#fff;text-align:center}.staff-course-stats strong{display:block;color:#24542d;font-size:1.45rem}.staff-course-stats span{display:block;color:#6a796d;font-size:.78rem;font-weight:750}.staff-course-stats .staff-confirmation-stat.confirmed{background:#eaf7e9;border-color:#add0aa}.staff-course-stats .staff-confirmation-stat.pending{background:#fff8df;border-color:#e4cc76}
.staff-import-card,.staff-preview-card,.staff-existing-card,.staff-confirm-card{margin-top:18px}.staff-import-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:14px}.staff-import-form button{height:48px}
.staff-preview-counts{display:flex;gap:8px;flex-wrap:wrap}.staff-preview-toolbar,.staff-bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid #d8e4d5;border-radius:15px;background:#f7faf6;margin-bottom:14px}.staff-preview-toolbar strong,.staff-bulk-toolbar>strong{margin-left:auto;color:#24542d}.staff-bulk-toolbar .actions{margin-left:auto}
.staff-preview-table th:first-child,.staff-preview-table td:first-child,.course-staff-table th:first-child,.course-staff-table td:first-child{width:42px;text-align:center}.staff-preview-table td,.course-staff-table td{vertical-align:middle}.staff-preview-table td small,.course-staff-table td small{display:block;margin-top:4px;color:#6c7b70}.staff-preview-row.new{background:#f7fcf6}.staff-preview-row.existing{background:#fbfcfb}.staff-preview-row.conflict{background:#fff7f7}.staff-preview-row input[type=checkbox],.course-staff-table input[type=checkbox]{width:20px;height:20px}
.staff-confirm-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border-left:6px solid #d4ad32}.staff-confirm-card.confirmed{border-left-color:#3e9144;background:linear-gradient(135deg,#fff 0%,#f0f8ef 100%)}.staff-confirm-card.pending{background:linear-gradient(135deg,#fff 0%,#fff9e7 100%)}.staff-confirm-card h2{margin:4px 0 6px}.staff-confirm-card p{margin:0;color:#657468}.staff-confirm-card .actions{flex:0 0 auto}
.staff-filter-form{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto auto;gap:12px;align-items:end;margin:14px 0 18px}.staff-filter-form .btn,.staff-filter-form button{height:46px}.course-staff-table tr.staff-inactive{background:#faf7f7}.course-staff-table tr.staff-inactive strong{color:#7a3b3b}.course-staff-table tr.staff-active strong{color:#24542d}
@media(max-width:920px){.staff-course-hero{align-items:flex-start;flex-direction:column}.staff-course-stats{justify-content:flex-start}.staff-import-form,.staff-filter-form{grid-template-columns:1fr 1fr}.staff-confirm-card{align-items:flex-start;flex-direction:column}.staff-confirm-card .actions{width:100%}.staff-confirm-card .actions .btn,.staff-confirm-card .actions form,.staff-confirm-card .actions button{width:100%}}
@media(max-width:620px){.staff-import-form,.staff-filter-form{grid-template-columns:1fr}.staff-course-stats{width:100%}.staff-course-stats>div{flex:1 1 90px}.staff-preview-toolbar strong,.staff-bulk-toolbar>strong,.staff-bulk-toolbar .actions{width:100%;margin-left:0}.staff-bulk-toolbar .actions{display:grid;grid-template-columns:1fr 1fr}.staff-bulk-toolbar .actions button{width:100%}}

/* ===== v3.0.21 · Pizarra despejada y ficha documental ===== */
body.profile-board main>h1{margin-bottom:10px}
body.profile-board .guard-week-navigation{margin-top:0}
.permission-document-profile{padding:24px}
.permission-profile-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.permission-profile-intro h2{margin:5px 0 8px}
.permission-profile-intro p{max-width:850px;margin:0;color:#617066;line-height:1.5}
.permission-profile-completeness{display:flex;flex-direction:column;gap:4px;min-width:230px;padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:#f7faf6}
.permission-profile-completeness strong{font-size:.96rem}.permission-profile-completeness span{font-size:.8rem;color:#66746a;line-height:1.35}
.permission-profile-completeness.complete{background:#eef8ef;border-color:#bdd9c0;color:#24602e}.permission-profile-completeness.incomplete{background:#fff7e5;border-color:#e7d295;color:#7b5b08}
.permission-profile-teacher-selector{max-width:720px;margin-bottom:22px;padding:16px;border-radius:16px;background:var(--profile-soft,#f5f8f4);border:1px solid var(--profile-border,var(--border))}
.permission-profile-form{display:flex;flex-direction:column;gap:18px}
.permission-profile-section{padding:18px;border:1px solid var(--border);border-radius:18px;background:#fff}
.permission-profile-section-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-bottom:14px}
.permission-profile-section-heading h3{margin:0}.permission-profile-section-heading p{margin:0;color:#6a776d;font-size:.88rem}
.permission-profile-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.permission-profile-quota{padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:#fafcf9}
.permission-profile-quota>summary{cursor:pointer;font-weight:850;color:var(--profile-dark,var(--green));list-style:none}
.permission-profile-quota>summary::-webkit-details-marker{display:none}.permission-profile-quota>summary::after{content:'▾';float:right}.permission-profile-quota[open]>summary::after{transform:rotate(180deg)}
.permission-profile-quota .quota-grid{margin-top:14px}
.permission-profile-actions{justify-content:flex-end}
.permission-review-status{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.teacher-permission-profile-link{display:inline-flex;margin:6px 0}
@media(max-width:820px){.permission-profile-intro{flex-direction:column}.permission-profile-completeness{width:100%;min-width:0}.permission-profile-section-heading{flex-direction:column;align-items:flex-start}.permission-document-profile{padding:18px}}

/* ===== Gestión de espacios · v3.0.22 ===== */
.space-management-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:24px 26px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,#f6faf5 0%,#fff 72%);box-shadow:0 12px 28px rgba(35,79,40,.07)}
.space-management-hero h1{margin:4px 0 7px}.space-management-hero p{max-width:850px;margin:0;color:var(--muted)}
.space-management-stats{display:flex;gap:10px;flex-wrap:wrap}.space-management-stats span{display:flex;flex-direction:column;min-width:112px;padding:13px 16px;border:1px solid #d5e1d3;border-radius:16px;background:#fff;color:var(--muted);font-size:.8rem}.space-management-stats strong{color:var(--green);font-size:1.45rem}
.space-create-card,.space-filter-card{margin-bottom:18px}.space-create-form{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(220px,.8fr) minmax(300px,1fr) auto;gap:14px;align-items:end}.space-create-form>div,.space-filter-form>div{min-width:0}.space-inline-toggle{display:flex;align-items:center;gap:9px;margin:0 0 11px;padding:11px 13px;border:1px solid #d8e3d5;border-radius:13px;background:#f8faf7}.space-inline-toggle input{width:auto;margin:0}
.space-filter-form{display:grid;grid-template-columns:minmax(260px,1fr) minmax(210px,.65fr) minmax(170px,.5fr) auto;gap:14px;align-items:end}.space-filter-form .actions{margin:0;white-space:nowrap}
.space-management-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:16px}.space-management-card{display:flex;flex-direction:column;border:1px solid #d5e1d3;border-left:6px solid #2f7d32;border-radius:19px;background:#fff;box-shadow:0 8px 22px rgba(35,79,40,.07);overflow:hidden}.space-management-card.inactive{border-left-color:#9a6d27;background:#fffdfa;opacity:.94}.space-management-edit-form{display:flex;flex-direction:column;gap:12px;padding:18px}.space-management-edit-form>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.space-type-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#edf4eb;color:#315b35;font-size:.78rem;font-weight:850}.space-card-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.space-card-options label{display:flex;align-items:center;gap:8px;margin:0;padding:9px 10px;border:1px solid #dbe5d8;border-radius:11px;background:#f8faf7;font-size:.84rem}.space-card-options input{width:auto;margin:0}.space-usage-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.space-usage-summary span{display:flex;flex-direction:column;padding:9px;border-radius:11px;background:#f3f7f2;color:var(--muted);font-size:.73rem}.space-usage-summary strong{color:var(--green);font-size:1.05rem}.space-management-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding:12px 18px;border-top:1px solid #e1e9df;background:#f8faf7}.space-management-card-footer form{margin:0}.space-management-card-footer button:disabled{cursor:not-allowed}
.board-sign-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.board-sign-actions button{align-self:auto!important}.board-sign-actions .sign-cancel-button{background:#6d7b72!important;color:#fff!important}
@media(max-width:980px){.space-create-form,.space-filter-form{grid-template-columns:1fr 1fr}.space-management-hero{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.space-create-form,.space-filter-form,.space-card-options{grid-template-columns:1fr}.space-management-grid{grid-template-columns:1fr}.space-management-card-footer{align-items:stretch;flex-direction:column}.space-management-card-footer button{width:100%}.space-management-stats{width:100%}.space-management-stats span{flex:1}}

/* ===== Clasificación y filtro de espacios v3.0.24 ===== */
.space-booking-filter{grid-template-columns:minmax(210px,.7fr) minmax(260px,1fr) minmax(170px,.48fr) auto}
.space-booking-type-chip{display:inline-flex;margin:4px 0 5px;padding:6px 11px;border:1px solid rgba(255,255,255,.30);border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:.78rem;font-weight:850}
.space-type-badge{background:#edf4eb;color:#315b35}
.free-room-chip.group_classroom{border-left-color:#2f7d32;background:#f5fbf4}
.free-room-chip.split_classroom{border-left-color:#c49a31;background:#fffaf0}
.free-room-chip.laboratory{border-left-color:#7a4fa3;background:#faf6ff}
.free-room-chip.special{border-left-color:#2d6da3;background:#f2f7fc}
.legend.room-group-classroom{background:#2f7d32}
.legend.room-split-classroom{background:#c49a31}
.legend.room-laboratory{background:#7a4fa3}
.legend.room-special{background:#2d6da3}
@media(max-width:1120px){.space-booking-filter{grid-template-columns:1fr 1fr}.space-booking-filter-action{grid-column:1/-1}.space-booking-filter-action button{width:100%}}
@media(max-width:620px){.space-booking-filter{grid-template-columns:1fr}.space-booking-filter-action{grid-column:auto}}


/* ===== v3.0.25 · detalle de ausencia solo para opciones «Otra…» ===== */
.absence-detail-field{display:none;margin-top:16px;padding:16px 18px;border:1px solid #d9e4d6;border-radius:16px;background:#fbfdfb}
.absence-detail-field.is-visible{display:block}
.absence-form:has(input[name="absence_choice"][value="internal:other"]:checked) .absence-detail-field,
.absence-form:has(input[name="absence_choice"][value="real:other"]:checked) .absence-detail-field{display:block}
.absence-detail-field label{display:block;margin-bottom:8px;font-weight:850;color:#28552f}
.absence-detail-field input{width:100%}
.absence-detail-field small{display:block;margin-top:7px}

/* Restauración de base de datos — v3.0.27 */
.restore-database-details{margin-top:14px;border:1px solid #ead0d0;border-radius:16px;background:#fffafa;overflow:hidden}
.restore-database-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer;color:#7d2929;background:#fff2f2;list-style:none}
.restore-database-details>summary::-webkit-details-marker{display:none}
.restore-database-details>summary span{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#a14a4a}
.restore-database-form{padding:16px;display:flex;flex-direction:column;gap:14px}
.restore-form-step{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:start;padding:14px;border:1px solid #e1e8df;border-radius:14px;background:#fff}
.restore-step-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f3e2e2;color:#842f2f;font-weight:900}
.restore-form-step>div{display:flex;flex-direction:column;gap:7px}
.restore-form-step label{margin:0;font-weight:800;color:#2b3b2e}
.restore-form-step small{color:#6b786d;line-height:1.35}
.restore-form-step input[type=file],.restore-form-step input[type=text],.restore-form-step input[type=password],.restore-form-step input:not([type]){width:100%}
.confirmation-step{border-color:#e0b7b7;background:#fffafa}
.confirmation-step input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.restore-inline-error{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:12px;border-left:5px solid #b53030;background:#ffeaea;color:#8b2020}
.restore-inline-error span{font-size:.9rem}
@media(max-width:640px){.restore-form-step{grid-template-columns:1fr}.restore-step-number{width:28px;height:28px}.restore-database-details>summary{align-items:flex-start;flex-direction:column}}


/* Restauración fiable — v3.0.28 */
.restore-checkbox-confirm{display:flex!important;align-items:flex-start;gap:12px;margin:0;padding:14px 16px;border:2px solid #e0c8c8;border-radius:14px;background:#fffafa;cursor:pointer}
.restore-checkbox-confirm input[type=checkbox]{width:22px;height:22px;min-width:22px;margin:2px 0 0;accent-color:#b62f2f}
.restore-checkbox-confirm span{display:flex;flex-direction:column;gap:5px}
.restore-checkbox-confirm strong{font-size:1rem;color:#632525;line-height:1.25}
.restore-checkbox-confirm small{color:#756565;line-height:1.4}
.restore-checkbox-confirm:has(input:checked){border-color:#b62f2f;background:#fff1f1;box-shadow:0 0 0 3px rgba(182,47,47,.10)}

/* 3.0.29 · Localizador de profesorado */
.locator-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;border-left:6px solid var(--profile-primary,var(--green2))}
.locator-intro h1{margin:4px 0 8px}.locator-intro p{max-width:850px;margin:0;color:var(--muted);line-height:1.48}
.locator-search-card{margin-bottom:18px}.locator-search-form{display:grid;grid-template-columns:minmax(380px,1.5fr) minmax(170px,.55fr) minmax(210px,.7fr) auto;gap:14px;align-items:end}.locator-search-form label{margin:0 0 6px}.locator-search-form button{min-height:45px;padding-inline:22px}.locator-teacher-field{min-width:0}.locator-teacher-field input{margin-bottom:8px}.locator-teacher-field select{margin:0}.locator-teacher-field small{display:block;margin:6px 2px 0}
.locator-empty-state{text-align:center;padding:42px 20px}.locator-empty-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 14px;border-radius:22px;background:var(--profile-soft,#edf5eb);border:2px solid var(--profile-border,#b9d0b5);color:var(--profile-primary,var(--green2));font-size:2rem;font-weight:950}.locator-empty-state h2{margin:0 0 7px}.locator-empty-state p{margin:0;color:var(--muted)}
.locator-result-card{position:relative;overflow:hidden;margin-bottom:18px;border:1px solid var(--profile-border,var(--border));border-left:7px solid #7b8980;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(35,79,40,.09)}.locator-result-card::after{content:"";position:absolute;right:-70px;top:-85px;width:220px;height:220px;border-radius:50%;background:color-mix(in srgb,var(--profile-primary,var(--green2)) 7%,transparent);pointer-events:none}.locator-result-card.status-teaching{border-left-color:#2f7d32}.locator-result-card.status-coverage{border-left-color:#2d6da3}.locator-result-card.status-guard{border-left-color:#775fa5}.locator-result-card.status-absent{border-left-color:#a52c2c}.locator-result-card.status-activity{border-left-color:#b68013}.locator-result-card.status-free{border-left-color:#7b8980}
.locator-result-head{position:relative;z-index:1;display:flex;justify-content:space-between;gap:22px;align-items:flex-start;padding:22px 24px;border-bottom:1px solid var(--border)}.locator-person{display:flex;align-items:center;gap:15px;min-width:0}.locator-avatar{display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;border-radius:20px;background:var(--profile-soft,#edf5eb);border:2px solid var(--profile-border,#b9d0b5);color:var(--profile-dark,var(--green));font-size:1.15rem;font-weight:950}.locator-person h2{margin:5px 0 2px;font-size:1.55rem}.locator-person p{margin:0;color:var(--muted)}.locator-status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.035em}.status-absent .locator-status-pill{background:#fde5e5;color:#8b2828}.status-coverage .locator-status-pill{background:#e4effa;color:#285a85}.status-guard .locator-status-pill{background:#eeeafa;color:#5d4a8d}.status-activity .locator-status-pill{background:#fff1c9;color:#7a5800}
.locator-period-summary{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:210px;padding:11px 14px;border-radius:14px;background:var(--profile-soft,#f3f7f2);color:var(--profile-dark,var(--green));text-align:right}.locator-period-summary span{font-size:.83rem;color:var(--muted)}
.locator-location-main{position:relative;z-index:1;padding:24px;text-align:center}.locator-location-kicker{display:block;color:var(--muted);font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.locator-location-main h3{margin:7px 0 5px;font-size:2rem;line-height:1.15}.locator-location-main p{margin:0;color:var(--muted);font-size:1.02rem}.locator-detail-list{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:9px;padding:0 24px 22px}.locator-detail-list span{display:inline-flex;padding:8px 11px;border:1px solid var(--profile-border,var(--border));border-radius:999px;background:var(--profile-soft,#f4f8f3);color:var(--profile-dark,var(--green));font-size:.83rem;font-weight:750}
.locator-timeline-card{margin-bottom:20px}.locator-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.locator-timeline-item{display:flex;gap:11px;align-items:center;min-height:74px;padding:11px 12px;border:1px solid var(--border);border-left:5px solid #7b8980;border-radius:14px;background:#fbfcfb;color:inherit;text-decoration:none;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.locator-timeline-item:hover{transform:translateY(-2px);border-color:var(--profile-border,var(--border));box-shadow:0 8px 18px rgba(35,79,40,.08)}.locator-timeline-item.active{box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-primary,var(--green2)) 14%,transparent);border-color:var(--profile-primary,var(--green2))}.locator-timeline-item.status-teaching{border-left-color:#2f7d32}.locator-timeline-item.status-coverage{border-left-color:#2d6da3}.locator-timeline-item.status-guard{border-left-color:#775fa5}.locator-timeline-item.status-absent{border-left-color:#a52c2c}.locator-timeline-item.status-activity{border-left-color:#b68013}.locator-timeline-time{display:flex;flex-direction:column;flex:0 0 auto;min-width:54px}.locator-timeline-time strong{color:var(--profile-dark,var(--green));font-size:1rem}.locator-timeline-time small{color:var(--muted);font-size:.68rem}.locator-timeline-content{display:flex;flex-direction:column;min-width:0}.locator-timeline-content strong{font-size:.82rem;color:var(--text)}.locator-timeline-content small{margin-top:3px;color:var(--muted);font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1000px){.locator-search-form{grid-template-columns:1fr 1fr}.locator-teacher-field{grid-column:1/-1}.locator-search-form button{width:100%}.locator-intro{align-items:flex-start;flex-direction:column}.locator-result-head{align-items:flex-start;flex-direction:column}.locator-period-summary{align-items:flex-start;min-width:0;width:100%;text-align:left}}
@media(max-width:620px){.locator-search-form{grid-template-columns:1fr}.locator-teacher-field{grid-column:auto}.locator-result-head{padding:17px}.locator-person{align-items:flex-start}.locator-avatar{width:52px;height:52px;flex-basis:52px;border-radius:16px}.locator-person h2{font-size:1.23rem}.locator-location-main{padding:20px 16px}.locator-location-main h3{font-size:1.55rem}.locator-detail-list{justify-content:flex-start;padding:0 16px 18px}.locator-timeline{grid-template-columns:1fr}}
@media print{.locator-search-card,.locator-intro .btn{display:none!important}.locator-result-card{box-shadow:none}.locator-timeline-item{break-inside:avoid}}

/* ===== Localizar profesor: consulta inmediata del día actual v3.0.30 ===== */
.locator-intro-quick{padding:18px 20px}
.locator-intro-quick h1{margin:3px 0 5px}
.locator-intro-quick p{max-width:760px}
.locator-now-box{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:150px;padding:11px 14px;border:1px solid var(--profile-border,var(--border));border-radius:15px;background:var(--profile-soft,#f3f7f2);color:var(--profile-dark,var(--green));text-align:right}
.locator-now-box>span{font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.locator-now-box>strong{font-size:1.55rem;line-height:1}
.locator-now-box .btn{margin-top:5px}
.locator-search-card-quick{padding:18px 20px}
.locator-search-form-quick{display:grid;grid-template-columns:minmax(420px,1fr) auto;gap:14px;align-items:end}
.locator-search-form-quick .locator-submit-button{min-height:46px;padding-inline:25px}
.locator-today-periods{margin-top:17px;padding-top:15px;border-top:1px solid var(--border)}
.locator-today-periods-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.locator-today-periods-head>div{display:flex;align-items:baseline;gap:9px}.locator-today-periods-head strong{color:var(--profile-dark,var(--green));font-size:.96rem}.locator-today-periods-head span{color:var(--muted);font-size:.8rem}
.locator-current-period-note{display:inline-flex!important;align-items:center;padding:5px 9px;border-radius:999px;background:var(--profile-soft,#edf5eb);border:1px solid var(--profile-border,var(--border));color:var(--profile-dark,var(--green))!important;font-size:.74rem!important;font-weight:850}
.locator-period-buttons{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:thin;scrollbar-color:var(--profile-border,var(--border)) transparent}
.locator-period-button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:112px;min-height:62px;padding:9px 11px;border:1px solid var(--border);border-left:4px solid #7b8980;border-radius:13px;background:#fff;color:var(--text);text-decoration:none;cursor:pointer;box-shadow:0 2px 7px rgba(35,79,40,.035);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}
button.locator-period-button{font:inherit;text-align:left}
.locator-period-button:hover{transform:translateY(-1px);border-color:var(--profile-border,var(--border));box-shadow:0 6px 13px rgba(35,79,40,.075)}
.locator-period-button strong{color:var(--profile-dark,var(--green));font-size:.9rem;line-height:1.05}.locator-period-button>span{color:var(--muted);font-size:.68rem;white-space:nowrap}.locator-period-button>small{max-width:100%;margin-top:3px;color:var(--muted);font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.locator-period-button>em{position:absolute;right:7px;top:7px;padding:3px 6px;border-radius:999px;background:#0f7f82;color:#fff;font-size:.58rem;font-style:normal;font-weight:900;text-transform:uppercase;letter-spacing:.035em}
.locator-period-button.active{border-color:var(--profile-primary,var(--green2));background:var(--profile-soft,#f4f8f3);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-primary,var(--green2)) 13%,transparent)}
.locator-period-button.current:not(.active){border-color:#0f7f82}
.locator-period-button.status-teaching{border-left-color:#2f7d32}.locator-period-button.status-coverage{border-left-color:#2d6da3}.locator-period-button.status-guard{border-left-color:#775fa5}.locator-period-button.status-absent{border-left-color:#a52c2c}.locator-period-button.status-activity{border-left-color:#b68013}.locator-period-button.status-free{border-left-color:#7b8980}
@media(max-width:760px){.locator-intro-quick{align-items:stretch}.locator-now-box{align-items:flex-start;width:100%;text-align:left}.locator-search-form-quick{grid-template-columns:1fr}.locator-search-form-quick .locator-submit-button{width:100%}.locator-today-periods-head{align-items:flex-start;flex-direction:column}.locator-period-button{min-width:104px}}

/* ===== Mejoras 3.0.31: perfil, notificaciones, subsanación y trazabilidad ===== */
.topbar-notifications{position:relative}
.notifications-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,#f7fbf6,#eef6ec)}
.notifications-hero h2{margin:.25rem 0}.notifications-hero p{margin:0;color:#647267;max-width:780px}
.notification-filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.notification-filters a{padding:10px 16px;border-radius:999px;text-decoration:none;color:#315a38;background:#f2f6f1;border:1px solid #d6e1d3;font-weight:800}
.notification-filters a.active{background:#2e7d32;color:#fff;border-color:#2e7d32}
.notification-list{display:flex;flex-direction:column;gap:12px}
.notification-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid #d9e4d6;border-left:6px solid #829b84;box-shadow:0 5px 16px rgba(35,79,40,.05)}
.notification-card.is-unread{box-shadow:0 7px 22px rgba(35,79,40,.1)}
.notification-card.type-success{border-left-color:#2f8a43}.notification-card.type-warning{border-left-color:#d5a525}.notification-card.type-error{border-left-color:#c94242}.notification-card.type-document{border-left-color:#347da3}
.notification-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf4eb;color:#2d6436;font-size:.75rem}
.notification-copy h3{margin:0;color:#244b2b}.notification-title-row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.notification-title-row time{white-space:nowrap;color:#738176;font-size:.82rem}.notification-copy p{margin:6px 0 0;color:#58665b;line-height:1.45}.notification-actions form{margin:0}.notification-cleanup{margin-top:18px}
.dashboard-notifications{margin-bottom:20px;border-left:6px solid #3d7da1}.dashboard-notifications-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.dashboard-notifications-head h2{margin:.2rem 0 0}.dashboard-notification-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.dashboard-notification-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;text-decoration:none;color:#263c2b;padding:12px;border-radius:14px;background:#f8faf7;border:1px solid #dbe5d8}.dashboard-notification-item:hover{background:#f1f7ef}.dashboard-notification-mark{width:9px;height:9px;border-radius:50%;background:#6c8c70}.dashboard-notification-item.type-warning .dashboard-notification-mark{background:#d5a525}.dashboard-notification-item.type-error .dashboard-notification-mark{background:#c94242}.dashboard-notification-item.type-success .dashboard-notification-mark{background:#2f8a43}.dashboard-notification-item.type-document .dashboard-notification-mark{background:#347da3}.dashboard-notification-item strong,.dashboard-notification-item small{display:block}.dashboard-notification-item small{color:#69766b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-notification-item time{font-size:.78rem;color:#748077;white-space:nowrap}
.profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;background:linear-gradient(135deg,#f7fbf6,#eef6ec)}.profile-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:#dfeedd;color:#285d31;font-weight:900;font-size:1.45rem;border:2px solid #bed4ba}.profile-hero h2{margin:.2rem 0}.profile-hero p{margin:0;color:#667468}.profile-completion{text-align:right;min-width:150px}.profile-completion strong,.profile-completion span{display:block}.profile-completion strong{font-size:1.7rem;color:#2e7137}.profile-completion div{height:8px;border-radius:999px;background:#dfe7dc;margin-top:8px;overflow:hidden}.profile-completion i{display:block;height:100%;background:#2e7d32;border-radius:inherit}.profile-missing-note{margin:14px 0;padding:12px 15px;border-radius:14px;background:#fff6dc;border-left:5px solid #d4a526}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px}.profile-details-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-name-grid{grid-template-columns:1fr 1.4fr}.profile-form small{display:block;color:#718074;margin-top:4px}.profile-side{display:flex;flex-direction:column;gap:18px}.profile-security-card,.profile-use-card{height:max-content}.profile-use-card ul{margin:10px 0 0;padding-left:22px;line-height:1.8}
.permission-correction-alert{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0;padding:20px;border-radius:18px;background:#fff4d5;border:1px solid #e5c96f;border-left:7px solid #d3a620}.permission-correction-alert h2{margin:.3rem 0}.permission-correction-alert p{margin:0;color:#655526}.permission-file-description{display:block;color:#526a78;font-size:.82rem;margin-top:3px}
.permission-timeline-card{margin-top:18px}.permission-timeline{list-style:none;margin:0;padding:0 0 0 18px;position:relative}.permission-timeline:before{content:"";position:absolute;left:25px;top:6px;bottom:8px;width:2px;background:#d8e3d5}.permission-timeline li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:0 0 18px}.permission-timeline-dot{position:relative;z-index:1;margin-top:3px;width:16px;height:16px;border-radius:50%;background:#6d8c70;border:4px solid #fff;box-shadow:0 0 0 2px #b9cdb6}.permission-timeline li.event-approved .permission-timeline-dot,.permission-timeline li.event-submitted .permission-timeline-dot{background:#2f8a43}.permission-timeline li.event-rejected .permission-timeline-dot{background:#c94242}.permission-timeline li.event-needs_correction .permission-timeline-dot,.permission-timeline li.event-correction_submitted .permission-timeline-dot{background:#d5a525}.permission-timeline li.event-pdf .permission-timeline-dot{background:#347da3}.permission-timeline time{display:block;font-size:.8rem;color:#748177}.permission-timeline strong{display:block;color:#294d30;margin-top:2px}.permission-timeline p{margin:4px 0;color:#59675b}.permission-timeline small{color:#7b877d}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}.profile-details-grid{grid-template-columns:1fr 1fr}.notification-card{grid-template-columns:30px minmax(0,1fr)}.notification-actions{grid-column:2}.notifications-hero,.permission-correction-alert{align-items:flex-start;flex-direction:column}.notification-title-row{flex-direction:column;gap:4px}}
@media(max-width:620px){.profile-hero{grid-template-columns:auto 1fr}.profile-completion{grid-column:1/-1;text-align:left}.profile-details-grid,.profile-name-grid{grid-template-columns:1fr}.dashboard-notification-list{grid-template-columns:1fr}.notification-card{padding:14px}.notification-title-row time{white-space:normal}}
.dashboard-notification-empty{grid-column:1/-1;display:flex;flex-direction:column;gap:3px;padding:14px;border-radius:14px;background:#f6faf5;color:#55705a;border:1px dashed #cbdac8}.dashboard-notification-empty span{font-size:.9rem;color:#718074}
.permission-card-deadline{display:inline-flex;margin-top:7px;padding:5px 9px;border-radius:999px;background:#fff1c7;color:#7a5a00;font-weight:800}

/* ===== 3.0.32 · Mensajería y perfiles de personal ===== */
body.role-personal_no_docente{--green:#29465c;--green2:#486b88;--bg:#f1f5f8;--border:#d3e0e8;--profile-primary:#486b88;--profile-dark:#29465c;--profile-soft:#edf4f8;--profile-border:#b7ccda;--profile-accent:#d0a23b}
body.role-ordenanza{--green:#6c3d12;--green2:#a3631f;--bg:#fbf5ec;--border:#eadbc6;--profile-primary:#a3631f;--profile-dark:#6c3d12;--profile-soft:#fff4e4;--profile-border:#dfc29b;--profile-accent:#287c72}
body.role-personal_no_docente .module,body.role-ordenanza .module{background:rgba(255,255,255,.94);color:var(--profile-dark);font-weight:900}
body.role-personal_no_docente .version-badge,body.role-ordenanza .version-badge{background:var(--profile-accent);color:#fff}
.dashboard-metric-card.tone-messages{--metric:#456d8e;--metric-soft:#edf5fa}

.message-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;padding:10px;border:1px solid var(--border);border-radius:18px;background:#fff}
.message-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:13px;color:var(--profile-dark,var(--green));font-weight:850;text-decoration:none;border:1px solid transparent}
.message-tabs a.active{background:var(--profile-primary,var(--green2));color:#fff;box-shadow:0 5px 14px color-mix(in srgb,var(--profile-primary,var(--green2)) 20%,transparent)}
.message-inbox-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.message-inbox-head h2{margin:4px 0}.message-inbox-head p{margin:0;color:#68766b}
.message-thread-cards{display:flex;flex-direction:column;gap:11px}
.message-thread-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:15px 17px;border:1px solid var(--border);border-radius:18px;background:#fff;color:#26342a;text-decoration:none;box-shadow:0 4px 13px rgba(31,70,39,.05);transition:.16s ease}
.message-thread-card:hover{transform:translateY(-1px);border-color:var(--profile-border,var(--border));box-shadow:0 8px 20px rgba(31,70,39,.09)}
.message-thread-card.unread{border-left:5px solid var(--profile-primary,var(--green2));background:linear-gradient(90deg,var(--profile-soft,#f2f7f1),#fff 26%)}
.message-thread-avatar,.message-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--profile-soft,#edf5eb);color:var(--profile-dark,var(--green));border:2px solid var(--profile-border,var(--border));font-weight:900}
.message-thread-avatar{width:48px;height:48px}.message-avatar{width:38px;height:38px;flex:0 0 38px}
.message-thread-content{min-width:0;display:flex;flex-direction:column;gap:4px}.message-thread-meta{display:flex;gap:12px;align-items:baseline;justify-content:space-between}.message-thread-meta strong{font-size:1.02rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-thread-meta time{color:#778278;font-size:.8rem;white-space:nowrap}.message-thread-people{font-weight:750;color:var(--profile-dark,var(--green));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-thread-content small{color:#69766b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:var(--profile-primary,var(--green2));color:#fff;font-weight:900}.message-thread-arrow{font-size:1.8rem;color:#8a978b}
.message-empty{display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.message-compose-card{max-width:980px}.message-compose-form{display:flex;flex-direction:column;gap:15px}.message-compose-form textarea,.message-reply-card textarea{resize:vertical;min-height:120px}
.message-thread-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.message-thread-head h2{margin:4px 0}.message-thread-head p{margin:0;color:#667469}
.message-thread-list{display:flex;flex-direction:column;gap:13px;max-width:1050px;margin:0 auto 18px}.message-bubble{max-width:min(760px,88%);padding:14px 16px;border-radius:19px;border:1px solid var(--border);box-shadow:0 4px 12px rgba(31,70,39,.05)}.message-bubble.theirs{align-self:flex-start;background:#fff;border-bottom-left-radius:6px}.message-bubble.mine{align-self:flex-end;background:var(--profile-soft,#edf5eb);border-color:var(--profile-border,var(--border));border-bottom-right-radius:6px}.message-bubble header{display:flex;gap:10px;align-items:center;margin-bottom:9px}.message-bubble header div{display:flex;flex-direction:column}.message-bubble header time{font-size:.75rem;color:#738075}.message-body{line-height:1.55;overflow-wrap:anywhere}.message-reply-card{max-width:1050px;margin:0 auto}
@media(max-width:760px){.message-inbox-head,.message-thread-head{align-items:flex-start;flex-direction:column}.message-thread-card{grid-template-columns:42px minmax(0,1fr) auto;padding:12px}.message-thread-avatar{width:40px;height:40px}.message-thread-meta{align-items:flex-start;flex-direction:column;gap:2px}.message-bubble{max-width:96%}.message-tabs a{flex:1}}

/* 3.0.34 · adjuntos de mensajería */
.message-attachment-field{padding:14px 16px;border:1px dashed var(--profile-border,var(--border));border-radius:15px;background:var(--profile-soft,#f7faf6)}
.message-attachment-field.compact{margin-top:13px}.message-attachment-field .optional{font-size:.75rem;font-weight:700;color:#718074}.message-attachment-field input[type=file]{margin-top:7px;background:#fff}
.message-attachments{display:flex;flex-direction:column;gap:7px;margin-top:12px}.message-attachments a{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:12px;border:1px solid var(--profile-border,var(--border));background:rgba(255,255,255,.72);color:var(--profile-dark,var(--green));text-decoration:none;min-width:0}.message-attachments a:hover{background:#fff}.message-file-icon{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--profile-primary,var(--green2));color:#fff;font-weight:900;flex:0 0 31px}.message-attachments a>span:last-child{display:flex;flex-direction:column;min-width:0}.message-attachments strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-attachments small{color:#728075;font-size:.74rem}

/* 3.0.34 · créditos del entorno */
.environment-credit{white-space:nowrap}.login-author{margin:-6px 0 16px;color:var(--muted);font-size:.84rem}.login-author strong{color:var(--green)}
@media(max-width:700px){.environment-credit{display:block;margin-top:4px;white-space:normal}}

/* 3.0.35 · avisos en directo durante una guardia */
.guard-sound-status{position:fixed;right:22px;bottom:22px;z-index:950;display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border-radius:999px;border:1px solid #d7b25a;background:#fff8dc;color:#6d5207;font-weight:850;box-shadow:0 10px 28px rgba(45,57,43,.18);cursor:pointer}.guard-sound-status.is-active{border-color:#76a77f;background:#edf8ef;color:#235b31}.guard-sound-status.needs-attention{animation:guardSoundPulse 1s ease-in-out infinite}.guard-sound-status span:first-child{font-size:1.05rem}
@keyframes guardSoundPulse{0%,100%{transform:scale(1);box-shadow:0 10px 28px rgba(45,57,43,.18)}50%{transform:scale(1.035);box-shadow:0 12px 34px rgba(190,119,17,.34)}}
.guard-live-alert[hidden]{display:none}.guard-live-alert{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:rgba(20,31,22,.68);backdrop-filter:blur(5px)}.guard-live-alert-card{width:min(820px,96vw);max-height:88vh;overflow:auto;display:grid;grid-template-columns:84px minmax(0,1fr);gap:22px;padding:30px;border-radius:25px;background:#fff;border:5px solid #d39b21;box-shadow:0 28px 90px rgba(0,0,0,.42)}.guard-live-alert-icon{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:#d39b21;color:#fff;font-size:3.2rem;line-height:1;font-weight:950;box-shadow:0 0 0 10px #fff1c5}.guard-live-alert-kicker{display:block;color:#a16c00;font-size:.78rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.guard-live-alert-copy h2{margin:5px 0 15px;font-size:clamp(1.7rem,4vw,2.55rem);color:#263d2a}.guard-live-alert-messages{display:flex;flex-direction:column;gap:10px}.guard-live-alert-messages article{padding:14px 16px;border-radius:15px;background:#fff8df;border:1px solid #e8cf87}.guard-live-alert-messages article strong{display:block;color:#785600;margin-bottom:5px}.guard-live-alert-messages article p{margin:0;color:#303a31;font-size:1.05rem;line-height:1.45}.guard-live-alert-messages article small{display:block;margin-top:8px;color:#647065;font-weight:750}.guard-live-alert-instruction{margin:16px 0;padding:12px 14px;border-radius:13px;background:#eef6ec;color:#285333}.guard-live-alert-copy>button{font-size:1.05rem;padding:13px 18px}.guard-live-alert-open{overflow:hidden}
@media(max-width:680px){.guard-sound-status{right:10px;bottom:10px;max-width:calc(100vw - 20px)}.guard-live-alert{padding:12px}.guard-live-alert-card{grid-template-columns:1fr;padding:22px;border-width:4px}.guard-live-alert-icon{width:62px;height:62px;font-size:2.5rem}.guard-live-alert-copy h2{font-size:1.65rem}}


/* ===== Versión 3.0.36: presencia y último acceso de usuarios ===== */
.user-presence-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:22px}.user-presence-heading h2{margin:0 0 5px}.user-presence-heading p{margin:0;max-width:820px}.user-online-summary{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 14px;border-radius:999px;background:#edf7ed;border:1px solid #bad5ba;color:#215f2c}.user-online-summary strong{font-size:1.15rem}.presence-dot,.presence-badge i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#2f9b48;box-shadow:0 0 0 4px rgba(47,155,72,.13)}
.user-admin-table{min-width:1180px}.user-presence-cell{min-width:165px}.presence-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;font-size:.8rem;font-weight:850}.presence-badge.online{background:#e7f6e9;color:#236331;border:1px solid #b5dab9}.presence-badge.online i{animation:presencePulse 1.8s infinite}.presence-badge.offline{background:#f1f3f2;color:#667169;border:1px solid #d5dbd7}.presence-badge.offline i{background:#909a93;box-shadow:none}.presence-activity-text{display:block;margin-top:6px;color:#748077;font-size:.72rem;line-height:1.3}.user-last-login-cell{min-width:135px}.user-last-login-cell strong{font-size:.82rem;color:#34483a;white-space:nowrap}@keyframes presencePulse{0%,100%{box-shadow:0 0 0 3px rgba(47,155,72,.13)}50%{box-shadow:0 0 0 7px rgba(47,155,72,0)}}
@media(max-width:760px){.user-presence-heading{align-items:flex-start;flex-direction:column}.user-online-summary{align-self:flex-start}}

/* ===== Versión 3.0.37: configuración por secciones y directorio filtrable ===== */
.settings-section-tabs{display:flex;gap:8px;margin:0 0 20px;padding:6px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(35,79,40,.08)}
.settings-tab{flex:1;background:transparent;color:var(--green);border:1px solid transparent;padding:12px 16px}
.settings-tab:hover{background:#f1f6ef}.settings-tab.active{background:var(--green);color:#fff;box-shadow:0 5px 12px rgba(35,79,40,.18)}
.settings-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;margin-left:7px;padding:0 7px;border-radius:999px;background:rgba(255,255,255,.2);font-size:.78rem}
.settings-tab:not(.active) .settings-tab-count{background:#e8f0e5;color:var(--green)}
.settings-panel[hidden]{display:none!important}.settings-panel.active{animation:settingsPanelIn .16s ease-out}
@keyframes settingsPanelIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
.user-create-card{margin-top:16px}.user-create-card summary{cursor:pointer;padding:2px 0;color:var(--green)}
.user-directory-card{margin-top:16px;padding:16px}.user-directory-card label{margin:0 0 5px;font-size:.78rem;color:#52645a}
.user-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(7,minmax(130px,1fr));gap:10px;align-items:end}
.user-filter-grid input,.user-filter-grid select{min-height:42px}.user-filter-search{min-width:0}
.user-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 12px;padding-bottom:12px;border-bottom:1px solid #e2eae0}
.user-result-summary{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.user-result-summary strong{font-size:1.25rem;color:var(--green)}
.compact-actions{margin-top:0;gap:7px}.compact-actions button{padding:8px 11px;font-size:.82rem}
.user-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:11px 13px;border:1px solid #d6e3d3;border-radius:12px;background:#f6faf5}
.user-bulk-bar>div:first-of-type{color:#405347}.user-bulk-bar strong{font-size:1.08rem;color:var(--green)}
.user-admin-table-wrap{margin-top:0}.user-admin-table{min-width:1480px}.user-admin-table th,.user-admin-table td{padding:8px;vertical-align:middle}
.user-admin-table th{font-size:.78rem;white-space:nowrap}.user-admin-table input,.user-admin-table select{min-width:130px;padding:8px;font-size:.82rem}
.user-admin-table td:nth-child(2) input{min-width:185px}.user-admin-table td:nth-child(3) input{min-width:210px}.user-admin-table td:nth-child(6) select{min-width:210px}
.user-select-column{width:42px!important;min-width:42px!important;text-align:center!important}.user-select-column input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0;accent-color:var(--green2)}
.user-row-selected td{background:#f2f8ef}.user-row-selected td:first-child{box-shadow:inset 4px 0 0 var(--green2)}
.user-active-select{min-width:112px!important}.user-modify-cell{min-width:190px}.user-modify-cell input{min-width:150px!important;margin-bottom:5px}.user-modify-cell button{width:100%}
.user-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}.user-pagination button{padding:8px 12px}.user-pagination span{color:#56665c;font-size:.88rem}
#user-no-results td{padding:0}.empty-state{padding:30px;text-align:center;color:var(--muted)}
@media(max-width:1180px){.user-filter-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.user-filter-search{grid-column:span 2}}
@media(max-width:760px){.settings-section-tabs{position:sticky;top:0;z-index:20}.settings-tab{padding:10px 8px;font-size:.82rem}.user-filter-grid{grid-template-columns:1fr 1fr}.user-filter-search{grid-column:1/-1}.user-filter-actions,.user-bulk-bar{align-items:stretch;flex-direction:column}.user-filter-actions .actions,.user-bulk-bar .actions{width:100%}.user-filter-actions button,.user-bulk-bar button{flex:1}.user-pagination{justify-content:space-between}.user-presence-heading{margin-top:4px}}

/* 3.0.38 · Directorio de usuarios sin desplazamiento interno y contraste accesible */
.settings-management-page .container{max-width:1580px}
.settings-section-tabs{display:flex;gap:12px;margin-bottom:22px;padding:9px;border:1px solid var(--profile-border,var(--border));border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(40,32,38,.08)}
.settings-section-tabs .settings-tab{min-height:54px;background:#fff!important;color:var(--profile-dark,var(--green))!important;-webkit-text-fill-color:var(--profile-dark,var(--green))!important;border:2px solid var(--profile-border,var(--border))!important;box-shadow:none!important;opacity:1!important}
.settings-section-tabs .settings-tab:hover{background:var(--profile-soft,#f4f7f3)!important;color:var(--profile-dark,var(--green))!important;-webkit-text-fill-color:var(--profile-dark,var(--green))!important;border-color:var(--profile-primary,var(--green2))!important}
.settings-section-tabs .settings-tab.active,.settings-section-tabs .settings-tab[aria-selected="true"]{background:var(--profile-primary,var(--green2))!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--profile-primary,var(--green2))!important;box-shadow:0 6px 15px color-mix(in srgb,var(--profile-primary,var(--green2)) 24%,transparent)!important}
.settings-section-tabs .settings-tab.active *,.settings-section-tabs .settings-tab[aria-selected="true"] *{color:#fff!important;-webkit-text-fill-color:#fff!important}
.settings-section-tabs .settings-tab:not(.active):not([aria-selected="true"]) .settings-tab-count{background:var(--profile-soft,#edf5eb)!important;color:var(--profile-dark,var(--green))!important;-webkit-text-fill-color:var(--profile-dark,var(--green))!important;border:1px solid var(--profile-border,var(--border))}
.settings-section-tabs .settings-tab.active .settings-tab-count,.settings-section-tabs .settings-tab[aria-selected="true"] .settings-tab-count{background:rgba(255,255,255,.24)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(255,255,255,.34)}
.settings-panel[data-settings-panel="users"] .schedule-eyebrow{color:var(--profile-dark,var(--green))!important;opacity:1!important}
.settings-panel[data-settings-panel="users"] button:not(.settings-tab){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1}
.settings-panel[data-settings-panel="users"] button.secondary{background:#4f5e56!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.settings-panel[data-settings-panel="users"] button.secondary:hover{background:#35433b!important}
.settings-panel[data-settings-panel="users"] button.danger{background:#9c2929!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.settings-panel[data-settings-panel="users"] button:disabled{opacity:.5!important}

.user-admin-table-wrap{margin-top:0;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important}
.user-admin-table{display:block;width:100%;min-width:0!important;border-collapse:separate}
.user-admin-table thead{display:none}
.user-admin-table tbody{display:grid;gap:12px}
.user-admin-table tr[data-user-row]{display:grid;grid-template-columns:44px repeat(12,minmax(0,1fr));gap:11px 12px;align-items:end;width:100%;padding:14px;border:1px solid var(--profile-border,var(--border));border-left:5px solid var(--profile-primary,var(--green2));border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(35,42,37,.055)}
.user-admin-table tr[data-user-row]:hover{border-color:var(--profile-primary,var(--green2));box-shadow:0 9px 24px rgba(35,42,37,.09)}
.user-admin-table tr[data-user-row].user-row-selected{background:linear-gradient(90deg,var(--profile-soft,#f2f7f1),#fff 32%);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-primary,var(--green2)) 13%,transparent)}
.user-admin-table tr[data-user-row] td{display:block;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;vertical-align:bottom}
.user-admin-table tr[data-user-row] td::before{content:attr(data-label);display:block;margin:0 0 5px;color:#52645a;font-size:.7rem;font-weight:900;line-height:1.15;letter-spacing:.035em;text-transform:uppercase}
.user-admin-table tr[data-user-row] td:nth-child(1){grid-column:1;grid-row:1 / span 2;align-self:stretch;display:flex;align-items:flex-start;justify-content:center;padding-top:24px!important}
.user-admin-table tr[data-user-row] td:nth-child(1)::before{display:none}
.user-admin-table tr[data-user-row] td:nth-child(2){grid-column:2 / span 3;grid-row:1}
.user-admin-table tr[data-user-row] td:nth-child(3){grid-column:5 / span 3;grid-row:1}
.user-admin-table tr[data-user-row] td:nth-child(4){grid-column:8 / span 2;grid-row:1}
.user-admin-table tr[data-user-row] td:nth-child(5){grid-column:10 / span 2;grid-row:1}
.user-admin-table tr[data-user-row] td:nth-child(7){grid-column:12 / span 2;grid-row:1}
.user-admin-table tr[data-user-row] td:nth-child(6){grid-column:2 / span 4;grid-row:2}
.user-admin-table tr[data-user-row] td:nth-child(8){grid-column:6 / span 3;grid-row:2}
.user-admin-table tr[data-user-row] td:nth-child(9){grid-column:9 / span 2;grid-row:2}
.user-admin-table tr[data-user-row] td:nth-child(10){grid-column:11 / span 3;grid-row:2}
.user-admin-table tr[data-user-row] input,.user-admin-table tr[data-user-row] select{width:100%;min-width:0!important;margin:0;padding:8px 9px;font-size:.8rem}
.user-admin-table .user-select-checkbox{width:21px!important;height:21px;margin:0;accent-color:var(--profile-primary,var(--green2))}
.user-admin-table .user-presence-cell{min-width:0}.user-admin-table .presence-badge{max-width:100%;white-space:nowrap}.user-admin-table .presence-activity-text{white-space:normal}
.user-admin-table .user-last-login-cell{min-width:0}.user-admin-table .user-last-login-cell strong{display:block;min-height:38px;padding:9px 10px;border:1px solid #d8e2d6;border-radius:8px;background:#f8faf7;font-size:.78rem;line-height:1.25;white-space:normal}
.user-admin-table .user-modify-cell{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end;min-width:0!important}
.user-admin-table .user-modify-cell::before{grid-column:1/-1}
.user-admin-table .user-modify-cell input{min-width:0!important;margin:0!important}
.user-admin-table .user-modify-cell button{width:auto;min-width:74px;min-height:38px;margin:0}
.user-admin-table #user-no-results{display:block;padding:0;border:0;background:transparent}
.user-admin-table #user-no-results td{display:block;padding:28px!important;border:1px dashed var(--profile-border,var(--border))!important;border-radius:15px;background:#fff!important}

@media(max-width:1120px){
 .settings-management-page .container{max-width:none}
 .user-admin-table tr[data-user-row]{grid-template-columns:42px repeat(6,minmax(0,1fr))}
 .user-admin-table tr[data-user-row] td:nth-child(1){grid-column:1;grid-row:1 / span 4}
 .user-admin-table tr[data-user-row] td:nth-child(2){grid-column:2 / span 3;grid-row:1}
 .user-admin-table tr[data-user-row] td:nth-child(3){grid-column:5 / span 3;grid-row:1}
 .user-admin-table tr[data-user-row] td:nth-child(4){grid-column:2 / span 2;grid-row:2}
 .user-admin-table tr[data-user-row] td:nth-child(5){grid-column:4 / span 2;grid-row:2}
 .user-admin-table tr[data-user-row] td:nth-child(7){grid-column:6 / span 2;grid-row:2}
 .user-admin-table tr[data-user-row] td:nth-child(6){grid-column:2 / span 3;grid-row:3}
 .user-admin-table tr[data-user-row] td:nth-child(8){grid-column:5 / span 3;grid-row:3}
 .user-admin-table tr[data-user-row] td:nth-child(9){grid-column:2 / span 2;grid-row:4}
 .user-admin-table tr[data-user-row] td:nth-child(10){grid-column:4 / span 4;grid-row:4}
}
@media(max-width:700px){
 .settings-section-tabs{gap:7px;padding:6px}.settings-section-tabs .settings-tab{min-height:48px;padding:9px 7px;font-size:.78rem}
 .user-admin-table tr[data-user-row]{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}
 .user-admin-table tr[data-user-row] td:nth-child(1){grid-column:1;grid-row:1 / span 9;padding-top:22px!important}
 .user-admin-table tr[data-user-row] td:nth-child(n+2){grid-column:2;grid-row:auto}
 .user-admin-table .user-modify-cell{grid-template-columns:1fr}.user-admin-table .user-modify-cell button{width:100%}
}
body.settings-management-page{overflow-x:hidden}
.settings-panel[data-settings-panel="users"],.user-directory-card{min-width:0;overflow:visible}

/* 3.0.39 · Competencia Digital Docente e idiomas */
.profile-competencies-section{margin-top:22px;padding-top:20px;border-top:1px solid #dce5d9}
.profile-competencies-section h3{margin:0 0 4px;color:var(--profile-dark,var(--green));font-size:1.08rem}
.professional-competence-grid{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(420px,1.5fr);gap:18px;align-items:start}
.digital-competence-field,.language-competencies-field{padding:16px;border:1px solid var(--profile-border,var(--border));border-radius:16px;background:#fbfcfb}
.language-competencies-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.language-competencies-heading label{margin:0}
.language-competencies-list{display:flex;flex-direction:column;gap:9px}
.language-competency-row{display:grid;grid-template-columns:minmax(150px,1.25fr) minmax(100px,.6fr) auto;gap:8px;align-items:center}
.language-competency-row select,.language-competency-row button{margin:0}
.teacher-competencies-admin-card{max-width:1050px;margin:18px auto 0}
.teacher-competencies-hero{max-width:1050px;margin-left:auto;margin-right:auto}
.user-competencies-cell{min-width:0}
.user-competency-summary{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:7px}
.competency-chip{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid #cdddc9;border-radius:999px;background:#f4f8f2;color:#315637;font-size:.69rem;font-weight:850;line-height:1.1}
.competency-chip.digital{border-color:#d7c1d1;background:#f8f0f6;color:#65395d}
.competency-empty{display:block;color:#768179;font-size:.74rem;line-height:1.3}
.user-competencies-edit{display:inline-flex!important;width:auto!important;min-height:31px!important;padding:6px 9px!important;font-size:.7rem!important}

/* La nueva celda 10 muestra competencias y la 11 conserva las acciones. */
.user-admin-table tr[data-user-row] td:nth-child(10){grid-column:11 / span 3;grid-row:2}
.user-admin-table tr[data-user-row] td:nth-child(11){grid-column:2 / span 12;grid-row:3}

@media(max-width:1100px){
 .professional-competence-grid{grid-template-columns:1fr}
 .user-admin-table tr[data-user-row] td:nth-child(10){grid-column:4 / span 4;grid-row:4}
 .user-admin-table tr[data-user-row] td:nth-child(11){grid-column:2 / span 6;grid-row:5}
}
@media(max-width:620px){
 .language-competency-row{grid-template-columns:1fr}
 .language-competencies-heading{align-items:flex-start;flex-direction:column}
 .language-competencies-heading button{width:100%}
 .user-admin-table tr[data-user-row] td:nth-child(10),.user-admin-table tr[data-user-row] td:nth-child(11){grid-column:2;grid-row:auto}
}
@media(max-width:1120px){
 .user-admin-table tr[data-user-row] td:nth-child(10){grid-column:4 / span 4;grid-row:4}
 .user-admin-table tr[data-user-row] td:nth-child(11){grid-column:2 / span 6;grid-row:5}
}
@media(max-width:700px){
 .user-admin-table tr[data-user-row] td:nth-child(10),.user-admin-table tr[data-user-row] td:nth-child(11){grid-column:2;grid-row:auto}
}
.teacher-competencies-link{margin-top:6px}

/* 3.0.40 · Cabecera compacta, botones con iconos y gestión avanzada de mensajería */
.ui-icon{width:1.05em;height:1.05em;flex:0 0 auto;display:inline-block;vertical-align:-.16em}
.icon-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;white-space:nowrap}

.topbar{gap:18px;flex-wrap:nowrap;min-height:76px}
.topbar-brand-group{flex:0 0 auto;gap:10px;white-space:nowrap}
.topbar .brand,.topbar .module,.topbar .version-badge,.topbar-user-name,.topbar-role{white-space:nowrap;line-height:1.15}
.topbar .module{display:inline-flex;align-items:center;margin-left:0;padding:7px 12px;flex:0 0 auto}
.topbar-user-name{display:inline-block;max-width:225px;overflow:hidden;text-overflow:ellipsis;font-weight:750}
.topbar-role{display:inline-flex;align-items:center;min-height:38px;padding:7px 13px;border-radius:999px;text-transform:none;font-weight:850;flex:0 0 auto}
.userbox{min-width:0;flex:1;justify-content:flex-end;gap:8px;flex-wrap:nowrap}
.profile-mode-switch{flex:0 0 auto}
.topbar-action{min-height:40px;padding:8px 12px!important;border:1px solid transparent!important;background:#fff!important;color:var(--profile-dark,var(--green))!important;gap:7px;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.13)!important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.topbar-action:hover{transform:translateY(-1px);box-shadow:0 6px 15px rgba(0,0,0,.18)!important;filter:saturate(1.08)}
.topbar-action .ui-icon{width:18px;height:18px}
.topbar-messages{background:#e5f2fb!important;color:#174f72!important}
.topbar-notifications{background:#fff0c9!important;color:#6f4b00!important}
.topbar-profile{background:#e5f5ec!important;color:#1f6245!important}
.topbar-password{background:#eee8fa!important;color:#55377a!important}
.topbar-lock,.topbar-unlock{background:#edf0f2!important;color:#34454f!important}
.topbar-exit{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid #ffd5d5;border-radius:9px;background:#fff1f1;color:#8b2424!important;font-weight:850;text-decoration:none;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.11)}
.topbar-exit:hover{background:#ffe3e3;transform:translateY(-1px)}
.topbar-exit .ui-icon{width:18px;height:18px}

.message-tabs a{gap:8px;white-space:nowrap}
.message-tabs .ui-icon{width:18px;height:18px}
.message-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.message-thread-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.message-thread-head-actions form{margin:0}
.message-inbox-tools{display:grid;grid-template-columns:minmax(320px,1.25fr) minmax(360px,1fr);gap:20px;align-items:end;margin-bottom:16px;padding:16px 18px}
.message-search-form{display:grid;grid-template-columns:minmax(240px,1fr) auto;grid-template-areas:"label label" "field buttons";gap:7px 9px;align-items:center}
.message-search-form>label{grid-area:label;margin:0;color:var(--profile-dark,var(--green));font-size:.82rem}
.message-search-control{grid-area:field;position:relative;min-width:0}
.message-search-control>.ui-icon{position:absolute;left:12px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#6b786f;pointer-events:none}
.message-search-control input{height:42px;padding-left:40px;margin:0}
.message-search-buttons{grid-area:buttons;display:flex;gap:7px;align-items:center}
.message-search-buttons .btn,.message-search-buttons button{min-height:42px;margin:0}
.message-bulk-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;min-width:0;padding-left:20px;border-left:1px solid var(--border)}
.message-select-all{display:inline-flex;align-items:center;gap:7px;margin:0;white-space:nowrap;font-size:.82rem}
.message-select-all input,.message-thread-select input{width:20px;height:20px;margin:0;accent-color:var(--profile-primary,var(--green2))}
.message-bulk-actions strong{min-width:92px;color:var(--muted);font-size:.78rem;white-space:nowrap}
.message-bulk-actions button{min-height:42px}
.message-search-result{margin:0 0 12px;color:var(--muted);font-weight:750}

.message-thread-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--border);border-radius:18px;background:#fff;color:#26342a;box-shadow:0 4px 13px rgba(31,70,39,.05);transition:.16s ease}
.message-thread-card:hover{transform:translateY(-1px);border-color:var(--profile-border,var(--border));box-shadow:0 8px 20px rgba(31,70,39,.09)}
.message-thread-card.unread{border-left:5px solid var(--profile-primary,var(--green2));background:linear-gradient(90deg,var(--profile-soft,#f2f7f1),#fff 26%)}
.message-thread-select{display:grid;place-items:center;width:30px;height:46px;margin:0;cursor:pointer}
.message-thread-main{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;min-width:0;padding:5px 2px;color:inherit;text-decoration:none;border-radius:13px}
.message-thread-main:focus-visible{outline:3px solid color-mix(in srgb,var(--profile-primary,var(--green2)) 30%,transparent);outline-offset:2px}
.message-thread-delete{margin:0}
.message-thread-delete button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #e7b8b8;background:#fff5f5!important;color:#982d2d!important;border-radius:12px;box-shadow:none}
.message-thread-delete button:hover{background:#ffe6e6!important;border-color:#d98f8f}
.message-thread-delete .ui-icon{width:19px;height:19px}
.message-thread-content{min-width:0}
.message-thread-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.message-thread-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.message-thread-meta time{white-space:nowrap}
.message-thread-people,.message-thread-content>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.message-empty{grid-column:1/-1}

@media(max-width:1600px){
 .topbar{flex-wrap:wrap}
 .topbar-brand-group{width:auto}
 .userbox{width:100%;flex-basis:100%;justify-content:flex-end;flex-wrap:wrap}
}
@media(max-width:1050px){
 .topbar{align-items:flex-start}
 .topbar-brand-group{flex-wrap:nowrap}
 .userbox{justify-content:flex-start}
 .profile-mode-switch{order:0;width:auto}
 .profile-mode-label{margin-right:0}
 .message-inbox-tools{grid-template-columns:1fr}
 .message-bulk-actions{justify-content:flex-start;padding:14px 0 0;border-left:0;border-top:1px solid var(--border)}
}
@media(max-width:760px){
 .topbar-brand-group{width:100%;overflow-x:auto;padding-bottom:2px}
 .topbar .module,.topbar .version-badge{flex:0 0 auto}
 .topbar-user-name{max-width:100%}
 .topbar-action span,.topbar-exit span{display:none}
 .topbar-action,.topbar-exit{min-width:42px;padding:8px 10px!important}
 .profile-mode-switch{order:0;width:100%;justify-content:flex-start}
 .message-thread-head{flex-direction:column}
 .message-thread-head-actions{justify-content:flex-start;width:100%}
 .message-search-form{grid-template-columns:1fr;grid-template-areas:"label" "field" "buttons"}
 .message-search-buttons>*{flex:1;text-align:center}
 .message-bulk-actions{align-items:stretch;flex-wrap:wrap}
 .message-bulk-actions button{width:100%}
 .message-thread-card{grid-template-columns:auto minmax(0,1fr) auto;padding:9px}
 .message-thread-main{grid-template-columns:42px minmax(0,1fr) auto;gap:10px}
 .message-thread-avatar{width:40px;height:40px}
 .message-thread-meta{align-items:flex-start;flex-direction:column;gap:2px}
 .message-thread-delete button{width:38px;height:38px}
}

/* 3.0.41 · Accesos docentes prioritarios en escritorio y móvil */
.topbar-priority-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.topbar-priority{border-width:2px!important;font-weight:900!important}
.topbar-guard-board{background:#dff3ff!important;border-color:#a8d8ef!important;color:#0b5373!important}
.topbar-report-absence{background:#fff0d9!important;border-color:#efc98e!important;color:#7a3f00!important}
.topbar-priority:hover{filter:saturate(1.12) brightness(.99)}
.topbar-priority .ui-icon{width:19px;height:19px}

@media(max-width:760px){
  .topbar-password{display:none!important}
  .topbar-priority-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .topbar-priority-actions .topbar-action{width:100%;min-width:0;min-height:48px;padding:10px 12px!important}
  .topbar-priority-actions .topbar-action span{display:inline!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-priority-actions .ui-icon{width:20px;height:20px}
  body{padding-bottom:8px}
}

@media(max-width:430px){
  .topbar-priority-actions{grid-template-columns:1fr}
  .topbar-priority-actions .topbar-action{justify-content:flex-start}
}

/* v3.0.45 · correo de aplicación y calendario de asuntos propios */
.mail-direction-settings{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:12px 0 16px;
}
.mail-direction-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:16px;
  border:1px solid #d7c8d5;
  border-radius:16px;
  background:#fff;
}
.mail-direction-card.outgoing{border-left:5px solid #6f3f69;background:#fbf7fb}
.mail-direction-card.incoming{border-left:5px solid #2f6b57;background:#f6fbf8}
.mail-direction-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:#5e3158;
  color:#fff;
  font-size:1.35rem;
  font-weight:900;
  line-height:1;
}
.mail-direction-card.incoming .mail-direction-icon{background:#2f6b57}
.mail-direction-card label{margin-top:0;color:#332a31;font-weight:800}
.mail-direction-card small{display:block;margin-top:6px;color:#54635d;line-height:1.35}

.personal-request-card{max-width:1180px;margin-inline:auto}
.request-date-picker{
  margin:18px 0;
  padding:18px;
  border:1px solid #d9cfd7;
  border-radius:18px;
  background:#fbfafb;
}
.request-date-picker-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:14px;
}
.request-date-picker-heading label{margin:0;color:#42243e;font-size:1.05rem;font-weight:850}
.request-date-picker-heading p{margin:5px 0 0;color:#5f6b66;max-width:720px;line-height:1.4}
.request-selected-date{
  flex:0 0 auto;
  min-width:230px;
  padding:12px 14px;
  border-radius:14px;
  background:#5e3158;
  color:#fff;
  text-align:center;
  box-shadow:0 7px 18px rgba(56,25,52,.16);
}
.request-selected-date span{display:block;font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;opacity:.9}
.request-selected-date strong{display:block;margin-top:4px;font-size:.96rem;text-transform:none}
.request-calendar-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px;color:#4d5954;font-size:.88rem}
.request-calendar-legend span{display:inline-flex;align-items:center;gap:6px}
.request-calendar-legend i{display:inline-block;width:14px;height:14px;border-radius:4px;border:1px solid #c9bdc7;background:#fff}
.request-calendar-legend i.blocked{background:#ece8eb;border-color:#c9c1c7}
.request-calendar-legend i.selected{background:#6f3f69;border-color:#6f3f69}
.request-calendar-legend i.available{background:#f7fbf8;border-color:#7fa995}
.request-calendar-months{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.request-calendar-month{
  min-width:0;
  padding:14px;
  border:1px solid #ded5dc;
  border-radius:16px;
  background:#fff;
  box-shadow:0 4px 12px rgba(35,25,33,.05);
}
.request-calendar-month h3{margin:0 0 10px;color:#5e3158;text-align:center;font-size:1rem}
.request-calendar-month h3 span{font-weight:600;color:#68736e}
.request-calendar-weekdays,.request-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.request-calendar-weekdays{margin-bottom:5px}
.request-calendar-weekdays span{text-align:center;color:#68736e;font-size:.73rem;font-weight:800}
.request-calendar-blank{min-height:48px}
button.request-calendar-day{
  min-height:48px;
  width:100%;
  padding:5px 2px;
  border:1px solid #bdd0c5;
  border-radius:10px;
  background:#f7fbf8;
  color:#244c3f;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:1px;
  cursor:pointer;
}
button.request-calendar-day:hover:not(:disabled){transform:translateY(-1px);background:#e9f5ee;border-color:#4f8b72}
button.request-calendar-day span{font-weight:850;line-height:1}
button.request-calendar-day small{font-size:.54rem;line-height:1.05;font-weight:700;text-align:center}
button.request-calendar-day.is-today:not(:disabled){box-shadow:inset 0 0 0 2px #bd8550}
button.request-calendar-day.is-selected,
button.request-calendar-day.is-selected:hover{
  background:#6f3f69;
  border-color:#6f3f69;
  color:#fff;
  box-shadow:0 5px 12px rgba(73,35,68,.24);
}
button.request-calendar-day:disabled{
  opacity:1;
  cursor:not-allowed;
  background:#ece8eb;
  border-color:#ddd6db;
  color:#9a9298;
}
button.request-calendar-day.is-weekend:disabled{background:#f4f2f3;color:#b2abb0}
button.request-calendar-day.is-blocked:disabled{background:#eadfe4;color:#774f61;border-color:#d6c0ca}
.request-date-warning{
  margin-top:14px;
  padding:11px 13px;
  border-radius:12px;
  background:#fff3d8;
  border:1px solid #e1bd68;
  color:#6b4b12;
  font-weight:700;
}

@media (max-width:900px){
  .mail-direction-settings,.request-calendar-months{grid-template-columns:1fr}
  .request-date-picker-heading{flex-direction:column}
  .request-selected-date{width:100%;min-width:0}
}
@media (max-width:520px){
  .request-date-picker{padding:12px;margin-inline:-4px}
  .request-calendar-month{padding:10px}
  .request-calendar-weekdays,.request-calendar-days{gap:3px}
  .request-calendar-blank,button.request-calendar-day{min-height:43px}
  button.request-calendar-day small{display:none}
  .mail-direction-card{grid-template-columns:36px minmax(0,1fr);padding:13px}
  .mail-direction-icon{width:36px;height:36px}
}

/* 3.0.46 · tareas vinculadas a asuntos propios */
.personal-tasks-panel{grid-column:1/-1;margin-top:2px;border:1px solid #c9d9f5;border-radius:16px;background:#f7faff;overflow:hidden}
.personal-tasks-panel>summary{display:flex;align-items:center;gap:12px;padding:13px 15px;cursor:pointer;list-style:none;color:#173b81;background:linear-gradient(135deg,#edf4ff,#f8fbff);transition:background .18s ease,box-shadow .18s ease}
.personal-tasks-panel>summary::-webkit-details-marker{display:none}.personal-tasks-panel>summary:hover{background:#e8f1ff;box-shadow:inset 0 0 0 1px #a9c4f2}
.personal-tasks-panel.has-tasks{border-color:#b8d9c0;background:#f7fcf8}.personal-tasks-panel.has-tasks>summary{color:#245d35;background:linear-gradient(135deg,#eaf7ed,#f8fcf8)}.personal-tasks-panel.has-tasks>summary:hover{background:#e1f3e5;box-shadow:inset 0 0 0 1px #9fcbaa}
.personal-tasks-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#2f67c7;color:#fff;flex:0 0 38px;box-shadow:0 6px 14px rgba(47,103,199,.22)}.personal-tasks-panel.has-tasks .personal-tasks-icon{background:#2f7d45;box-shadow:0 6px 14px rgba(47,125,69,.2)}.personal-tasks-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.personal-tasks-summary-copy{display:flex;flex-direction:column;min-width:0;line-height:1.25}.personal-tasks-summary-copy strong{font-size:.94rem}.personal-tasks-summary-copy small{margin-top:3px;color:#53677f;font-size:.78rem;font-weight:650}.personal-tasks-panel.has-tasks .personal-tasks-summary-copy small{color:#52705a}
.personal-tasks-count{margin-left:auto;padding:5px 9px;border-radius:999px;background:#fff;color:#214f9a;border:1px solid #c1d3ef;font-size:.73rem;font-weight:900;white-space:nowrap}.personal-tasks-panel.has-tasks .personal-tasks-count{color:#28633a;border-color:#b7d5be}
.personal-tasks-chevron{font-size:1.35rem;font-weight:900;transition:transform .18s ease}.personal-tasks-panel[open] .personal-tasks-chevron{transform:rotate(180deg)}
.personal-tasks-body{padding:16px;border-top:1px solid #d9e5f7;background:#fff}.personal-tasks-panel.has-tasks .personal-tasks-body{border-top-color:#d8e9dc}
.personal-tasks-explanation{display:flex;flex-direction:column;gap:3px;padding:11px 13px;margin-bottom:14px;border-radius:12px;background:#f3f7fd;color:#2e4f77}.personal-tasks-explanation strong{font-size:.84rem}.personal-tasks-explanation span{font-size:.78rem;line-height:1.4}
.personal-tasks-form{display:grid;gap:13px}.personal-tasks-form label{margin:0}.personal-tasks-form textarea{min-height:104px;resize:vertical;background:#fff}
.personal-task-upload-field{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px dashed #9db7df;border-radius:13px;background:#f7faff}.personal-task-upload-field>span{display:flex;flex-direction:column;gap:3px}.personal-task-upload-field strong{color:#173b81}.personal-task-upload-field small{color:#62738a;font-size:.73rem}.personal-task-upload-field input[type=file]{max-width:48%;margin:0;background:#fff}
.personal-task-save-button{display:inline-flex;align-items:center;gap:7px;background:#245fbd!important;color:#fff!important;border-color:#245fbd!important}.personal-task-save-button:hover{background:#174b9d!important;border-color:#174b9d!important}
.personal-task-file-list{margin-top:16px;padding-top:14px;border-top:1px solid #e1e8f1}.personal-task-file-list h4{margin:0 0 9px;color:#344b68;font-size:.85rem}.personal-task-file-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #edf1f5}.personal-task-file-row:first-of-type{border-top:0}.personal-task-file-row>a{display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-decoration:none;color:#173b81}.personal-task-file-row>a>span:last-child{display:flex;flex-direction:column;min-width:0}.personal-task-file-row a strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.personal-task-file-row a small{color:#6b7888;font-size:.72rem}.personal-task-file-type{display:grid;place-items:center;width:42px;height:32px;padding:0 5px;border-radius:9px;background:#e8f0ff;color:#2459aa;font-size:.66rem;font-weight:950;flex:0 0 42px}
.guard-task-files{margin-top:14px;padding-top:13px;border-top:1px solid #dce6da}.guard-task-files h5{margin:0 0 8px;color:#315b35;font-size:.83rem}.guard-task-files a{display:flex;align-items:center;gap:10px;margin-top:7px;padding:9px 11px;border:1px solid #d5e3d2;border-radius:11px;background:#fff;color:#245d35;text-decoration:none}.guard-task-files a:hover{background:#f2f8f1}.guard-task-files a>span:last-child{display:flex;flex-direction:column;min-width:0}.guard-task-files a strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guard-task-files a small{color:#718074;font-size:.72rem}.guard-task-file-type{display:grid;place-items:center;width:40px;height:31px;border-radius:8px;background:#e6f2e7;color:#2f6c3d;font-size:.65rem;font-weight:950;flex:0 0 40px}
@media(max-width:720px){.personal-tasks-panel>summary{align-items:flex-start;padding:12px}.personal-tasks-icon{width:34px;height:34px;flex-basis:34px}.personal-tasks-count{display:none}.personal-tasks-chevron{margin-left:auto}.personal-tasks-body{padding:13px}.personal-task-upload-field{align-items:stretch;flex-direction:column}.personal-task-upload-field input[type=file]{max-width:none;width:100%}.personal-task-file-row{align-items:flex-start}.personal-task-file-row form{flex:0 0 auto}}


/* 3.0.49 · editor de funciones de recreo desplegable */
.recess-duty-editor{
  margin-top:.65rem;
  max-width:100%;
}
.recess-duty-editor>summary::-webkit-details-marker{display:none}
.recess-duty-editor>summary::marker{content:""}
.recess-duty-toggle{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  width:max-content;
  max-width:100%;
  padding:.55rem .82rem;
  border:1px solid #6f3f67;
  border-radius:10px;
  background:#6f3f67;
  color:#fff;
  font-weight:850;
  line-height:1.1;
  cursor:pointer;
  box-shadow:0 5px 12px rgba(111,63,103,.16);
  list-style:none;
}
.recess-duty-toggle::before{content:"✎";font-size:.9rem}
.recess-duty-toggle::after{content:"▾";font-size:.75rem;transition:transform .16s ease}
.recess-duty-editor[open]>.recess-duty-toggle::after{transform:rotate(180deg)}
.recess-duty-toggle:hover{background:#5f3458;border-color:#5f3458}
.recess-duty-toggle:focus-visible{outline:3px solid rgba(111,63,103,.26);outline-offset:2px}
.recess-duty-editor-body{
  width:min(100%,560px);
  margin-top:.55rem;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:.55rem;
  padding:.75rem;
  border:1px solid rgba(122,74,112,.22);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,247,250,.94));
}
.recess-duty-change-form{
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:.5rem;
  align-items:stretch;
}
.recess-duty-change-form label{margin:0;color:#5f3458;font-size:.78rem;font-weight:850}
.recess-duty-change-form select{
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:.72rem 2.4rem .72rem .9rem;
  font-size:.94rem;
  line-height:1.25;
  font-weight:800;
  color:#342334;
  background:#fff;
  border:1px solid #9b7894;
  border-radius:11px;
}
.recess-duty-save-button{
  margin:0;
  width:max-content;
  min-width:145px;
  white-space:nowrap;
  justify-self:start;
  background:#6f3f67;
  color:#fff;
  border-color:#6f3f67;
}
.recess-duty-reset-form{margin:0}
.recess-duty-reset-form .secondary{
  margin:0;
  color:#fff;
  background:#5c6870;
  border-color:#5c6870;
}
.recess-duty-manual-note{color:#65465f;font-weight:700}
@media (max-width:720px){
  .recess-duty-toggle{width:100%;justify-content:center}
  .recess-duty-editor-body{width:100%}
  .recess-duty-change-form button,
  .recess-duty-reset-form button{width:100%}
  .recess-duty-save-button{justify-self:stretch;min-width:0}
  .recess-duty-reset-form{width:100%}
}

/* 3.0.51 · Centro hoy */
.center-today-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) auto;grid-template-areas:"copy date" "actions actions";gap:20px;margin-bottom:18px;padding:26px;border-radius:24px;overflow:hidden;color:#fff;background:linear-gradient(135deg,#193f26 0%,#28783a 58%,#3f954d 100%);box-shadow:0 20px 45px rgba(31,82,43,.22)}
.center-today-hero.has-attention{background:linear-gradient(135deg,#4d2e20 0%,#8a4c20 54%,#b27025 100%)}
.center-today-hero:after{content:"";position:absolute;right:-105px;top:-165px;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.09)}
.center-today-hero-copy,.center-today-date-nav,.center-today-quick-actions{position:relative;z-index:1}.center-today-hero-copy{grid-area:copy;min-width:0}.center-today-kicker{display:block;margin-bottom:5px;color:#d8efd9;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.12em}.center-today-hero.has-attention .center-today-kicker{color:#ffe0b4}.center-today-hero h2{margin:0 0 7px;color:#fff;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.08}.center-today-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.88);font-size:1rem}.center-today-update{display:flex;align-items:center;gap:8px;margin-top:13px;color:rgba(255,255,255,.78);font-size:.75rem;font-weight:750}.center-today-live-dot{width:9px;height:9px;border-radius:50%;background:#baf3c0;box-shadow:0 0 0 5px rgba(186,243,192,.14)}
.center-today-date-nav{grid-area:date;display:flex;align-items:center;gap:8px;align-self:start;padding:8px;border:1px solid rgba(255,255,255,.24);border-radius:16px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px)}.center-today-date-arrow{display:grid;place-items:center;width:39px;height:43px;border-radius:11px;background:rgba(255,255,255,.13);color:#fff;text-decoration:none;font-size:1.7rem;font-weight:800}.center-today-date-arrow:hover{background:rgba(255,255,255,.24)}.center-today-date-form{margin:0}.center-today-date-form label{margin:0 0 2px;color:rgba(255,255,255,.72);font-size:.63rem;text-transform:uppercase;letter-spacing:.08em}.center-today-date-form input{width:145px;margin:0;padding:7px 9px;border:0;background:#fff;color:#2e362f;font-weight:850}.center-today-today-button{align-self:stretch;display:grid;place-items:center;margin:0;background:#fff;color:#315c37}
.center-today-quick-actions{grid-area:actions;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.center-today-quick-actions>a{display:flex;align-items:center;gap:11px;min-width:0;padding:13px 14px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.13);color:#fff;text-decoration:none;transition:transform .15s ease,background .15s ease}.center-today-quick-actions>a:hover{transform:translateY(-2px);background:rgba(255,255,255,.22)}.center-today-quick-actions svg{width:29px;height:29px;flex:0 0 29px}.center-today-quick-actions span{display:flex;flex-direction:column;min-width:0}.center-today-quick-actions strong{font-size:.85rem}.center-today-quick-actions small{margin-top:2px;color:rgba(255,255,255,.73);font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.center-today-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.center-today-metric{position:relative;display:flex;flex-direction:column;min-width:0;padding:15px 16px;border:1px solid #d8e4d5;border-radius:16px;background:#fff;color:#26362b;text-decoration:none;box-shadow:0 7px 20px rgba(35,79,40,.07);overflow:hidden}.center-today-metric:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#5d8e66}.center-today-metric>span{color:#6a786e;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.center-today-metric strong{margin:4px 0 1px;color:#234f28;font-size:1.75rem;line-height:1}.center-today-metric small{color:#6d786f;font-size:.68rem}.center-today-metric.tone-danger:before{background:#bd3e3e}.center-today-metric.tone-danger strong{color:#a52c2c}.center-today-metric.tone-absence:before{background:#985784}.center-today-metric.tone-guard:before{background:#2d6da3}.center-today-metric.tone-ok:before{background:#2f7d32}.center-today-metric.tone-space:before{background:#b67b17}.center-today-metric.tone-online:before{background:#2c9287}
.center-today-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.75fr);gap:16px;margin-bottom:16px}.center-today-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.center-today-section-head h2{margin:0;color:#284c2e;font-size:1.22rem}.center-today-section-head>.center-today-kicker,.center-today-section-head>div>.center-today-kicker{color:#78927c}.center-today-section-head>a:not(.btn){color:#3c6943;font-size:.75rem;font-weight:850;text-decoration:none}.center-today-section-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:#edf4eb;color:#315b35;font-weight:950}.center-today-attention-list{display:flex;flex-direction:column;gap:8px}.center-today-attention-item{display:grid;grid-template-columns:39px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dfe8dc;border-left:5px solid #78927c;border-radius:13px;background:#fbfcfb}.center-today-attention-item.tone-danger{border-left-color:#b93737;background:#fffafa}.center-today-attention-item.tone-warning{border-left-color:#c58a19;background:#fffdf7}.center-today-attention-item.tone-task{border-left-color:#79557a;background:#fdfafe}.center-today-attention-item.tone-permission{border-left-color:#2d6da3;background:#f8fbff}.center-today-attention-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#eef2ed;color:#35533a;font-weight:950}.tone-danger .center-today-attention-icon{background:#f8dddd;color:#922626}.tone-warning .center-today-attention-icon{background:#fff0c7;color:#805900}.tone-task .center-today-attention-icon{background:#efe4ef;color:#684162}.tone-permission .center-today-attention-icon{background:#dfebf7;color:#285783}.center-today-attention-item strong{display:block;color:#27372c;font-size:.84rem}.center-today-attention-item p{margin:2px 0 0;color:#69766d;font-size:.74rem;line-height:1.3}.center-today-attention-item>a{white-space:nowrap;padding:7px 9px;border-radius:9px;background:#edf4eb;color:#315b35;text-decoration:none;font-size:.72rem;font-weight:900}.center-today-attention-item>a span{font-size:1rem}.center-today-empty-state{display:flex;align-items:center;gap:13px;padding:22px;border:1px dashed #cbdac7;border-radius:14px;background:#f9fcf8}.center-today-empty-state>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dff2df;color:#2d7737;font-size:1.3rem;font-weight:950}.center-today-empty-state strong{display:block;color:#315b35}.center-today-empty-state p{margin:3px 0 0;color:#6c786f;font-size:.78rem}.center-today-empty-state.compact{grid-column:1/-1}
.center-today-period-time{padding:6px 9px;border-radius:9px;background:#edf4eb;color:#44644a;font-size:.72rem;font-weight:900}.center-today-current-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:10px}.center-today-current-summary span{padding:10px;border-radius:11px;background:#f1f5f0;color:#647068;font-size:.7rem;text-align:center}.center-today-current-summary strong{display:block;color:#315b35;font-size:1.3rem}.center-today-current-people{display:flex;flex-direction:column;gap:7px}.center-today-person-row{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #dfe7dc;border-radius:11px;background:#fbfcfb;color:#29372e;text-decoration:none}.center-today-person-row.is-pending{border-color:#e4c3c3;background:#fff9f9}.center-today-person-row.is-covering{border-color:#bdd8bc;background:#f8fcf7}.center-today-person-row.is-duty{border-color:#d9d4e9;background:#fbfaff}.center-today-person-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e9f1e7;color:#315b35;font-size:.72rem;font-weight:950;flex:0 0 31px}.is-pending .center-today-person-mark{background:#f8dddd;color:#922626}.is-duty .center-today-person-mark{background:#ebe8f5;color:#5f588b}.center-today-person-row>span:last-child{display:flex;flex-direction:column;min-width:0}.center-today-person-row strong{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.center-today-person-row small{color:#6c786f;font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.center-today-full-button{display:block;margin-top:11px;text-align:center;background:#315b35}.center-today-small-empty{padding:14px;border:1px dashed #d5dfd2;border-radius:11px;color:#748078;background:#fafcfa;font-size:.76rem;text-align:center}
.center-today-absence-card{margin-bottom:16px}.center-today-absence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.center-today-absence-item{padding:13px;border:1px solid #dce6d9;border-radius:14px;background:#fcfdfc}.center-today-absence-item header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.center-today-absence-item header>div{display:flex;flex-direction:column;min-width:0}.center-today-absence-item header strong{color:#2d4e33;font-size:.86rem}.center-today-absence-item header small{margin-top:2px;color:#6c786f;font-size:.69rem}.center-today-task-badge{padding:4px 7px;border-radius:999px;font-size:.62rem;font-weight:900;white-space:nowrap}.center-today-task-badge.ready{background:#dff2df;color:#2d7036}.center-today-task-badge.missing{background:#f7dedb;color:#91342b}.center-today-coverage-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:11px}.center-today-coverage-stats span{padding:7px 4px;border-radius:9px;background:#f0f4ef;color:#6b766e;font-size:.61rem;text-align:center}.center-today-coverage-stats strong{display:block;color:#315b35;font-size:1rem}.center-today-coverage-stats span.pending strong{color:#a46d00}.center-today-absence-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:9px}.center-today-absence-actions a{padding:5px 8px;border-radius:8px;background:#edf4eb;color:#315b35;text-decoration:none;font-size:.66rem;font-weight:850}
.center-today-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}.center-today-simple-list{display:flex;flex-direction:column}.center-today-simple-list>a{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #e7ece5;color:#2b3a30;text-decoration:none}.center-today-simple-list>a:last-child{border-bottom:0}.center-today-simple-list time{display:grid;place-items:center;min-height:35px;border-radius:9px;background:#edf4eb;color:#315b35;font-size:.7rem;font-weight:950}.center-today-simple-list a>span{display:flex;flex-direction:column;min-width:0}.center-today-simple-list strong{font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.center-today-simple-list small{margin-top:2px;color:#6e7a71;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.center-today-simple-list b{color:#869488;font-size:1.2rem}.center-today-services-grid{grid-template-columns:minmax(0,.95fr) minmax(0,.75fr) minmax(0,1.3fr)}.center-today-online-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.center-today-online-list>div{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border-radius:10px;background:#f6faf5}.center-today-online-dot{width:9px;height:9px;border-radius:50%;background:#35a35b;box-shadow:0 0 0 4px rgba(53,163,91,.12);flex:0 0 9px}.center-today-online-list>div>span:last-child{display:flex;flex-direction:column;min-width:0}.center-today-online-list strong{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.center-today-online-list small{color:#6f7b72;font-size:.61rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.center-today-timeline{display:flex;flex-direction:column}.center-today-timeline-item{display:grid;grid-template-columns:42px 13px minmax(0,1fr);gap:8px;align-items:start;padding:7px 0;color:#2a3b2f;text-decoration:none}.center-today-timeline-item time{padding-top:2px;color:#758178;font-size:.64rem;font-weight:850}.center-today-timeline-dot{position:relative;width:10px;height:10px;margin-top:3px;border-radius:50%;background:#78927c}.center-today-timeline-dot:after{content:"";position:absolute;top:11px;left:4px;width:2px;height:31px;background:#e0e8dd}.center-today-timeline-item:last-child .center-today-timeline-dot:after{display:none}.center-today-timeline-item.tone-warning .center-today-timeline-dot{background:#c28a21}.center-today-timeline-item.tone-absence .center-today-timeline-dot{background:#985784}.center-today-timeline-item.tone-guard .center-today-timeline-dot{background:#2d6da3}.center-today-timeline-item.tone-permission .center-today-timeline-dot{background:#6a63a1}.center-today-timeline-item.tone-task .center-today-timeline-dot{background:#79557a}.center-today-timeline-item.tone-space .center-today-timeline-dot{background:#b67b17}.center-today-timeline-item.tone-ok .center-today-timeline-dot{background:#2f7d32}.center-today-timeline-item>span:last-child{display:flex;flex-direction:column;min-width:0}.center-today-timeline-item strong{font-size:.71rem}.center-today-timeline-item small{margin-top:2px;color:#6f7b72;font-size:.62rem;line-height:1.3}
@media(max-width:1120px){.center-today-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.center-today-main-grid{grid-template-columns:1fr}.center-today-secondary-grid,.center-today-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.center-today-timeline-card{grid-column:1/-1}}
@media(max-width:760px){.center-today-hero{grid-template-columns:1fr;grid-template-areas:"copy" "date" "actions";padding:19px}.center-today-date-nav{justify-self:stretch}.center-today-date-form{flex:1}.center-today-date-form input{width:100%}.center-today-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.center-today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.center-today-attention-item{grid-template-columns:35px minmax(0,1fr)}.center-today-attention-item>a{grid-column:2;justify-self:start}.center-today-absence-grid,.center-today-secondary-grid,.center-today-services-grid{grid-template-columns:1fr}.center-today-timeline-card{grid-column:auto}.center-today-online-list{grid-template-columns:1fr}.center-today-coverage-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:430px){.center-today-quick-actions{grid-template-columns:1fr}.center-today-metrics{grid-template-columns:1fr 1fr}.center-today-date-arrow{width:35px}.center-today-hero h2{font-size:1.55rem}}


/* 3.0.52 · contraste reforzado y presencia digital escalable */
.center-today-hero.has-attention{
  background:linear-gradient(135deg,#3f2018 0%,#713719 55%,#934f1b 100%);
}
body[class*="role-"] .center-today-hero h2,
body.profile-board .center-today-hero h2{
  color:#fff!important;
  text-shadow:0 2px 3px rgba(31,15,9,.24);
}
body[class*="role-"] .center-today-hero .center-today-kicker,
body.profile-board .center-today-hero .center-today-kicker{
  color:#ffe6bd!important;
}
.center-today-hero p{color:#fff!important}
.center-today-update{color:#fff3e7!important}
.center-today-date-form label{color:#fff1df!important}
.center-today-quick-actions>a{
  background:rgba(255,255,255,.15);
  border-color:rgba(255,255,255,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.center-today-quick-actions strong{color:#fff!important}
.center-today-quick-actions small{color:#fff0e2!important}
.center-today-date-arrow{background:rgba(255,255,255,.18);color:#fff!important}
.center-today-online-overview{display:grid;gap:12px}
.center-today-online-total{
  position:relative;
  display:grid;
  grid-template-columns:auto auto 1fr;
  grid-template-areas:"pulse number label" ". note note";
  align-items:center;
  column-gap:10px;
  padding:15px 16px;
  border:1px solid #cfe1d0;
  border-radius:15px;
  background:linear-gradient(145deg,#f8fcf7,#edf7ee);
}
.center-today-online-pulse{grid-area:pulse;width:13px;height:13px;border-radius:50%;background:#2f9c55;box-shadow:0 0 0 6px rgba(47,156,85,.13)}
.center-today-online-total>strong{grid-area:number;color:#20572d;font-size:2rem;line-height:1;font-variant-numeric:tabular-nums}
.center-today-online-total>span:not(.center-today-online-pulse){grid-area:label;color:#294b31;font-size:.88rem;font-weight:900}
.center-today-online-total>small{grid-area:note;margin-top:2px;color:#68766c;font-size:.66rem}
.center-today-online-role-chips{display:flex;flex-wrap:wrap;gap:6px}
.center-today-online-role-chips>span{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #d8e6d6;border-radius:999px;background:#fff;color:#526158;font-size:.66rem;font-weight:800}
.center-today-online-role-chips strong{color:#245d32;font-size:.72rem}
.center-today-online-details{margin-top:12px;border:1px solid #d9e5d7;border-radius:13px;background:#fff;overflow:hidden}
.center-today-online-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;color:#315b35;cursor:pointer;list-style:none;font-size:.76rem;font-weight:900;background:#f7faf6}
.center-today-online-details>summary::-webkit-details-marker{display:none}
.center-today-online-details>summary:after{content:"⌄";margin-left:auto;color:#6e7c72;font-size:1rem;transition:transform .15s ease}
.center-today-online-details[open]>summary:after{transform:rotate(180deg)}
.center-today-online-details>summary b{display:grid;place-items:center;min-width:28px;height:25px;padding:0 7px;border-radius:999px;background:#e2f1e3;color:#286336;font-size:.7rem}
.center-today-online-browser{padding:10px;border-top:1px solid #e2e9e0}
.center-today-online-browser input{margin:0 0 9px;padding:9px 10px;font-size:.76rem;background:#fff}
.center-today-online-list{display:grid;grid-template-columns:1fr;gap:6px;max-height:330px;overflow:auto;padding-right:3px;scrollbar-width:thin}
.center-today-online-list>div{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid #e5ece3;border-radius:10px;background:#f9fbf8}
.center-today-online-list>div[hidden]{display:none!important}
.center-today-online-list>div>span:last-child{display:flex;flex-direction:column;min-width:0}
.center-today-online-list strong{font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.center-today-online-list small{color:#6f7b72;font-size:.61rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.center-today-online-no-results{margin:0;padding:15px;color:#718077;font-size:.72rem;text-align:center}
@media(max-width:760px){
  .center-today-online-total{grid-template-columns:auto auto 1fr;padding:13px}
  .center-today-online-list{max-height:280px}
}

/* 3.0.53 · alumnado y localizador */
.student-admin-hero,.student-locator-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;padding:23px 25px;border-radius:22px;background:linear-gradient(132deg,#173d21 0%,#285f32 58%,#3c7f45 100%);color:#fff;box-shadow:0 18px 42px rgba(35,79,40,.22)}
.student-admin-hero h2,.student-locator-hero h2{margin:3px 0 5px;color:#fff;font-size:1.6rem}.student-admin-hero p,.student-locator-hero p{margin:0;color:#e7f3e8}.student-admin-hero .schedule-eyebrow,.student-locator-hero .schedule-eyebrow{color:#d9bf70}.student-admin-hero .btn,.student-locator-hero .btn{flex:0 0 auto;background:#fff;color:#214f2b;border:1px solid rgba(255,255,255,.45)}
.student-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.student-stat{display:flex;align-items:center;gap:12px;padding:15px 17px;border:1px solid #d5e2d3;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(35,79,40,.08)}.student-stat strong{font-size:1.65rem;color:#285f32}.student-stat span{color:#627269;font-size:.82rem;font-weight:850;line-height:1.2}
.student-admin-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;margin-bottom:20px}.student-import-card,.student-filter-card{margin:0}.student-import-card p{margin-top:0}.student-import-replace{display:flex;align-items:flex-start;gap:9px;margin-top:13px;padding:11px 12px;border:1px solid #d9e4d7;border-radius:11px;background:#f8fbf7;font-weight:700}.student-import-replace input{width:auto;margin-top:2px}.student-filter-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr) minmax(130px,.45fr);gap:10px;align-items:end}.student-filter-form label{margin-top:0}.student-filter-form .actions{grid-column:1/-1;margin-top:2px}
.student-list-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:18px 2px 12px}.student-list-heading h2{margin:2px 0 0}.student-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.student-admin-card{display:flex;flex-direction:column;gap:12px;padding:15px;border:1px solid #d5e2d3;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(35,79,40,.07)}.student-admin-card.is-inactive{opacity:.72;background:#fafafa}.student-admin-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.student-admin-card-head strong{display:block;color:#26372b;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-admin-card-head small{display:block;margin-top:2px;color:#758078;font-size:.72rem}.student-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f1e6;border:2px solid #b9d0b6;color:#285f32;font-weight:950;flex:0 0 42px}.student-avatar.large{width:64px;height:64px;flex-basis:64px;font-size:1.35rem}.student-admin-form label{margin:.45rem 0 .25rem;font-size:.75rem;color:#607068}.student-admin-form input,.student-admin-form select{margin:0;padding:8px 9px;font-size:.82rem}.student-inline-fields{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(160px,1fr);gap:9px}.student-link-state{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:2px}.student-link-state a{color:#285f32;font-weight:850;text-decoration:none}.student-admin-actions{display:flex;align-items:center;gap:8px;margin-top:auto}.student-admin-actions form{margin:0}.student-empty{grid-column:1/-1}.student-pagination{display:flex;justify-content:center;gap:7px;margin:20px 0}.student-pagination a{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid #d4e0d2;border-radius:10px;background:#fff;color:#285f32;text-decoration:none;font-weight:850}.student-pagination a.active{background:#285f32;color:#fff;border-color:#285f32}
.student-locator-search-card{margin-bottom:18px}.student-locator-search-form{display:grid;grid-template-columns:minmax(300px,1.5fr) minmax(220px,.8fr) auto;gap:13px;align-items:end}.student-locator-search-form label{margin-top:0}.student-locator-search-form .actions{margin:0}.student-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.student-result-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;border:1px solid #d5e2d3;border-radius:14px;background:#fff;color:#25362a;text-decoration:none;box-shadow:0 7px 18px rgba(35,79,40,.06);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.student-result-card:hover{transform:translateY(-2px);border-color:#94b791;box-shadow:0 12px 24px rgba(35,79,40,.12)}.student-result-card strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.student-result-card small{display:block;margin-top:3px;color:#6e7b72}.student-result-arrow{color:#8ca08f;font-size:1.6rem;font-weight:700}.student-location-profile{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:17px 19px;border:1px solid #d3e1d1;border-radius:17px;background:#fff}.student-location-identity{display:flex;align-items:center;gap:14px;min-width:0}.student-location-identity h2{margin:2px 0 3px;font-size:1.35rem}.student-location-identity p{margin:0;color:#66736b}.student-period-selector{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px 17px}.student-period-selector h2{margin:2px 0 0;font-size:1.05rem}.student-period-selector form{min-width:min(420px,100%)}.student-period-selector select{margin:0;font-weight:800}.student-location-main{display:flex;align-items:center;gap:18px;margin-bottom:12px;padding:22px 24px;border-radius:19px;background:linear-gradient(130deg,#183f23,#2f733c);color:#fff;box-shadow:0 15px 34px rgba(35,79,40,.18)}.student-location-main.is-split{background:linear-gradient(130deg,#66451c,#a26a20)}.student-location-main.is-none{background:linear-gradient(130deg,#48544b,#69756d)}.student-location-main h2{margin:3px 0 4px;color:#fff;font-size:1.55rem}.student-location-main p{margin:0;color:#eef7ef;font-size:1.05rem;font-weight:750}.student-location-main .schedule-eyebrow{color:#f0d37c}.student-location-symbol{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:rgba(255,255,255,.16);color:#fff;font-size:2rem;font-weight:900;flex:0 0 58px}.student-location-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.student-location-options article{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #d5e2d3;border-radius:14px;background:#fff}.student-location-options strong,.student-location-options small{display:block}.student-location-options small{margin-top:3px;color:#6b786f}.student-room-chip{display:grid;place-items:center;min-width:82px;min-height:38px;padding:7px 9px;border-radius:10px;background:#e8f3e6;color:#285f32;font-size:.78rem;font-weight:900;text-align:center}.student-day-timeline{margin-top:16px}.student-day-timeline h2{margin:2px 0 14px}.student-timeline-list{display:flex;flex-direction:column;gap:7px}.student-timeline-row{display:grid;grid-template-columns:115px minmax(0,1fr) auto;align-items:center;gap:13px;padding:11px 12px;border:1px solid #dde6db;border-radius:12px;background:#fbfcfb;color:#2c3b30;text-decoration:none}.student-timeline-row:hover,.student-timeline-row.active{border-color:#95b793;background:#f0f7ef}.student-timeline-row>span:nth-child(2) strong,.student-timeline-row>span:nth-child(2) small{display:block}.student-timeline-row>span:nth-child(2) small{margin-top:2px;color:#6e7b72}.student-timeline-time{font-weight:900;color:#285f32}.student-timeline-time small{display:block;margin-top:2px;color:#7b887e;font-size:.68rem}.student-timeline-count{padding:4px 8px;border-radius:999px;background:#edf3eb;color:#516256;font-size:.72rem;font-weight:850;white-space:nowrap}.student-locator-empty{display:grid;place-items:center;text-align:center;min-height:280px;padding:35px;border:1px dashed #cbdac8;border-radius:18px;background:#f9fbf8}.student-locator-empty .student-location-symbol{background:#e7f0e5;color:#285f32}.student-locator-empty h2{margin:15px 0 5px}.student-locator-empty p{margin:0;color:#69766d}
@media(max-width:900px){.student-admin-grid,.student-card-grid,.student-result-grid,.student-location-options{grid-template-columns:1fr}.student-filter-form{grid-template-columns:1fr 1fr}.student-filter-form .actions{grid-column:1/-1}.student-locator-search-form{grid-template-columns:1fr 1fr}.student-locator-search-form .actions{grid-column:1/-1}.student-stat-grid{grid-template-columns:1fr}.student-period-selector{align-items:stretch;flex-direction:column}.student-period-selector form{min-width:0;width:100%}}
@media(max-width:620px){.student-admin-hero,.student-locator-hero,.student-location-profile{align-items:stretch;flex-direction:column}.student-admin-hero .btn,.student-locator-hero .btn,.student-location-profile .btn{width:100%;text-align:center}.student-filter-form,.student-locator-search-form,.student-inline-fields{grid-template-columns:1fr}.student-filter-form .actions,.student-locator-search-form .actions{grid-column:auto}.student-admin-card-head{grid-template-columns:auto minmax(0,1fr)}.student-admin-card-head>.badge{grid-column:1/-1;justify-self:start}.student-location-main{align-items:flex-start;padding:18px}.student-location-symbol{width:48px;height:48px;flex-basis:48px;font-size:1.55rem}.student-timeline-row{grid-template-columns:88px minmax(0,1fr)}.student-timeline-count{grid-column:2;justify-self:start}.student-result-grid{grid-template-columns:1fr}}

/* 3.0.54 · sin alumnado y agrupación manual de coberturas */
.coverage-grouping-panel{margin:0 0 14px;border:1px solid #d5dfd3;border-radius:14px;background:#fff;box-shadow:0 7px 18px #234f280b;overflow:hidden}
.coverage-grouping-panel>summary{display:grid;grid-template-columns:38px auto 1fr;align-items:center;gap:10px;padding:12px 15px;cursor:pointer;list-style:none;color:#315b35}
.coverage-grouping-panel>summary::-webkit-details-marker{display:none}
.coverage-grouping-panel>summary>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#e8f2e6;color:#2f7d32;font-size:1.25rem;font-weight:900}
.coverage-grouping-panel>summary strong{font-size:.94rem}.coverage-grouping-panel>summary small{color:#6a776d;font-size:.78rem}
.coverage-grouping-panel[open]>summary{border-bottom:1px solid #e1e8df;background:#f7faf6}
.coverage-grouping-form{display:grid;grid-template-columns:minmax(250px,1fr) auto;align-items:center;gap:14px;padding:14px 15px}
.coverage-grouping-form button{min-height:43px;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;background:#5e3158;color:#fff;border:1px solid #4b2746;box-shadow:0 6px 14px rgba(94,49,88,.18)}.coverage-grouping-form button:disabled{background:#d9d0d7;color:#756b73;border-color:#c9bec6;box-shadow:none;cursor:not-allowed}
.coverage-grouping-help{display:flex;flex-direction:column;justify-content:center;min-height:43px}.coverage-grouping-help strong{color:#5e3158}.coverage-grouping-help small{color:#6a776d;margin-top:3px}
.coverage-room-cell{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.coverage-group-check{position:relative;display:grid;place-items:center;width:30px;height:30px;margin:0;border:1px solid #a9bca5;border-radius:8px;background:#fff;cursor:pointer;flex:0 0 30px}
.coverage-group-check input{position:absolute;opacity:0;pointer-events:none}.coverage-group-check>span[aria-hidden]{opacity:0;color:#fff;font-weight:950}
.coverage-group-check:has(input:checked){background:#2f7d32;border-color:#2f7d32}.coverage-group-check:has(input:checked)>span[aria-hidden]{opacity:1}
.grouped-coverage-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eee4ec;color:#63365d;font-size:.7rem;font-weight:900;white-space:nowrap}
.grouped-coverage-note{display:block;margin-top:7px;color:#6f3f67!important;font-weight:800}
.coverage-quick-actions{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.coverage-no-students-quick,.coverage-ungroup-quick{margin:0}
.no-students-icon-button,.coverage-ungroup-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 12px!important;border-radius:10px;border:1px solid #8f2b2b!important;background:#a52c2c!important;color:#fff!important;box-shadow:0 5px 12px rgba(91,31,31,.16)!important;font-size:.78rem;font-weight:900;line-height:1}
.no-students-icon-button span{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(255,255,255,.16);font-size:.95rem;line-height:1;color:#fff!important}.no-students-icon-button strong{color:#fff!important;white-space:nowrap;font:inherit}.no-students-icon-button.reactivate{background:#2f6f38!important;border-color:#245c2c!important;color:#fff!important;box-shadow:0 5px 12px rgba(33,92,37,.18)!important}
.coverage-ungroup-button{width:40px;height:40px;padding:0!important}
.coverage-ungroup-button{background:#6f3f67!important;border-color:#57304f!important;color:#fff!important;font-size:1.15rem}
.no-students-icon-button:hover,.coverage-ungroup-button:hover{transform:translateY(-1px);filter:brightness(1.08)}
.no-students-icon-button:focus-visible,.coverage-ungroup-button:focus-visible{outline:3px solid rgba(47,125,50,.28);outline-offset:2px}
.no-students-status{background:#dcecf8!important;color:#174f78!important;border:1px solid #a7c9df;font-weight:900}
.grouped-task-sections{display:grid;gap:9px}.grouped-task-sections article{padding:10px 11px;border:1px solid #dbe5d8;border-radius:10px;background:#fafcfa}.grouped-task-sections article strong{display:block;color:#315b35}.grouped-task-sections article p{margin:7px 0 0;line-height:1.4}.grouped-task-sections article small{display:block;margin-top:5px;color:#6f7b72}
@media(max-width:900px){.coverage-grouping-form{grid-template-columns:1fr}.coverage-grouping-form button{width:100%;justify-content:center}}
@media(max-width:620px){.coverage-grouping-panel>summary{grid-template-columns:34px 1fr}.coverage-grouping-panel>summary small{grid-column:2}.coverage-grouping-form{grid-template-columns:1fr}.coverage-grouping-form button{grid-column:auto}.coverage-room-cell{justify-content:flex-start}.coverage-quick-actions{justify-content:flex-start}}


/* 3.0.57 · sesión segura y separación de avisos por perfil */
.session-idle-warning{position:fixed;right:20px;bottom:20px;z-index:1200;display:grid;grid-template-columns:auto minmax(190px,1fr) auto auto;align-items:center;gap:12px;max-width:min(720px,calc(100vw - 40px));padding:14px 16px;border:1px solid #d7b35b;border-radius:16px;background:#fffaf0;color:#382d16;box-shadow:0 18px 50px rgba(55,42,14,.22)}
.session-idle-warning[hidden]{display:none!important}.session-idle-warning-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f6df9b;font-size:1.25rem}.session-idle-warning-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.session-idle-warning-copy strong{color:#47330c;font-size:.94rem}.session-idle-warning-copy span{color:#6f5a2d;font-size:.8rem;font-weight:750}.session-idle-continue{margin:0;background:#2f7d32;color:#fff;white-space:nowrap}.session-idle-exit{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:9px;background:#6a716c;color:#fff;text-decoration:none;font-weight:850;white-space:nowrap}
.session-security-settings{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(150px,210px);align-items:center;gap:12px 16px;margin-top:18px;padding:16px;border:1px solid #d5e0d3;border-radius:15px;background:linear-gradient(135deg,#f8fbf7,#f2f7f1)}.session-security-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e4efe2;color:#285f31;font-size:1.25rem}.session-security-copy h3{margin:0 0 3px;color:#315b35}.session-security-copy p{margin:0;color:#66736b;font-size:.84rem;line-height:1.35}.session-security-control label{margin:0 0 5px}.session-security-control select{margin:0}.session-security-settings>small{grid-column:2/-1;color:#6a756d}
@media(max-width:720px){.session-idle-warning{left:12px;right:12px;bottom:12px;grid-template-columns:auto 1fr}.session-idle-warning .session-idle-continue,.session-idle-warning .session-idle-exit{width:100%}.session-idle-warning .session-idle-continue{grid-column:1/-1}.session-idle-warning .session-idle-exit{grid-column:1/-1}.session-security-settings{grid-template-columns:auto 1fr}.session-security-control{grid-column:1/-1}.session-security-settings>small{grid-column:1/-1}}


/* 3.0.59 · Entradas tardías y salidas anticipadas por grupo */
.group-access-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:18px;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#315b35,#477d4c);color:#fff;box-shadow:0 16px 36px #234f2821}.group-access-hero.porter{background:linear-gradient(135deg,#6c3d12,#a3631f)}.group-access-hero h2{margin:3px 0 5px;color:#fff;font-size:1.55rem}.group-access-hero p{margin:0;color:#eef7ee}.group-access-hero.porter p{color:#fff5e9}.group-access-kicker{display:block;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.09em;color:#d8edda}.group-access-hero.porter .group-access-kicker{color:#ffe5bb}.group-access-date-nav{display:flex;align-items:end;gap:8px;flex:0 0 auto}.group-access-date-nav>a:not(.btn){display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#ffffff24;color:#fff;text-decoration:none;font-size:1.9rem;font-weight:900}.group-access-date-nav form{margin:0}.group-access-date-nav label{margin:0 0 4px;color:#fff;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}.group-access-date-nav input{min-width:155px;margin:0;background:#fff;color:#26352a;font-weight:800}.group-access-form-card{margin-bottom:18px}.group-access-form-card .group-access-kicker,.group-access-board .group-access-kicker{color:#5d765f}.group-access-form{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(170px,.75fr) minmax(220px,1fr) minmax(240px,1.15fr) auto;gap:12px;align-items:end}.group-access-form label{margin:0 0 6px}.group-access-form select,.group-access-form input{margin:0;min-height:44px}.group-access-form button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.group-access-board{padding:0;overflow:hidden}.group-access-board-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid #e0e9de}.group-access-board-head h2{margin:2px 0 0}.group-access-live{display:inline-flex;align-items:center;gap:7px;color:#5f6f63;font-size:.78rem;font-weight:800}.group-access-live i{display:block;width:9px;height:9px;border-radius:50%;background:#4e9858;box-shadow:0 0 0 5px #4e985817}.group-access-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.group-access-column{min-width:0;padding:18px 20px 22px}.group-access-column+.group-access-column{border-left:1px solid #e0e9de}.group-access-column>header{display:flex;align-items:center;gap:11px;margin-bottom:13px}.group-access-column h3{margin:0;color:#29482d}.group-access-column header small{display:block;margin-top:2px;color:#758177;font-size:.72rem}.group-access-type-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;font-size:1.25rem;font-weight:950}.group-access-column.type-late_entry .group-access-type-icon{background:#e6f0ff;color:#23558e}.group-access-column.type-early_exit .group-access-type-icon{background:#fff0db;color:#915511}.group-access-list{display:flex;flex-direction:column;gap:9px}.group-access-item{position:relative;padding:13px 14px;border:1px solid #dce7da;border-radius:13px;background:#fbfdfb}.group-access-column.type-late_entry .group-access-item{border-left:5px solid #4d7fb5}.group-access-column.type-early_exit .group-access-item{border-left:5px solid #c67d28}.group-access-item-main{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.group-access-item-main strong{font-size:1rem;color:#263c29}.group-access-item-main span{color:#52645a;font-size:.82rem;font-weight:800;text-align:right}.group-access-item p{margin:8px 0 0;color:#66736b;font-size:.82rem}.group-access-item form{margin-top:9px}.group-access-empty{padding:22px;border:1px dashed #d8e2d6;border-radius:12px;text-align:center;color:#738077;background:#fafcfa}.group-access-empty strong,.group-access-empty span{display:block}.group-access-empty span{margin-top:3px;font-size:.78rem}.porter-board .group-access-item-main strong{font-size:1.08rem}.porter-board .group-access-item-main span{font-size:.9rem}.porter-access-home{margin-bottom:18px;border-left:6px solid #a3631f}.porter-access-home-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.porter-access-home-head h2{margin:3px 0 0}.porter-access-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.porter-access-home-column{padding:14px;border:1px solid #e7dccd;border-radius:14px;background:#fffdf9}.porter-access-home-column h3{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;color:#5c3b1d}.porter-access-home-column h3 span{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:#f2e4d0;color:#6c3d12;font-size:.8rem}.porter-access-home-item{padding:10px 11px;border-radius:10px;background:#fff;border:1px solid #eadfce;margin-top:7px}.porter-access-home-item strong,.porter-access-home-item span,.porter-access-home-item small{display:block}.porter-access-home-item strong{color:#382d23}.porter-access-home-item span{margin-top:2px;color:#6b5948;font-size:.8rem;font-weight:800}.porter-access-home-item small{margin-top:4px;color:#7a6a5b}.porter-access-empty{margin:0;padding:10px;color:#7a7065;text-align:center}.porter-access-home-column.type-late_entry{border-top:4px solid #4d7fb5}.porter-access-home-column.type-early_exit{border-top:4px solid #c67d28}
@media(max-width:1050px){.group-access-form{grid-template-columns:repeat(2,minmax(0,1fr))}.group-access-form button{width:100%}}
@media(max-width:720px){.group-access-hero{align-items:stretch;flex-direction:column;padding:17px}.group-access-date-nav{align-items:end;flex-wrap:wrap}.group-access-date-nav form{flex:1 1 150px}.group-access-date-nav input{min-width:0}.group-access-columns,.porter-access-home-grid{grid-template-columns:1fr}.group-access-column+.group-access-column{border-left:0;border-top:1px solid #e0e9de}.group-access-form{grid-template-columns:1fr}.group-access-item-main{align-items:flex-start;flex-direction:column;gap:3px}.group-access-item-main span{text-align:left}.porter-access-home-head{align-items:flex-start;flex-direction:column}.porter-access-home-head .btn{width:100%;text-align:center}}

/* 3.0.60 · Centro hoy simplificado y navegación de Dirección */
.center-today-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.center-today-metric.tone-task:before{background:#79557a}
.center-today-metric.tone-task strong{color:#684162}
.center-today-metric.tone-access:before{background:#4d7fb5}
.center-today-metric.tone-access strong{color:#295f94}
.center-today-coverage-stats{grid-template-columns:repeat(3,1fr)}
.center-today-access-card{margin-bottom:16px;border-top:5px solid #4d7fb5}
.center-today-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.center-today-access-column{min-width:0;padding:13px;border:1px solid #dce6d9;border-radius:14px;background:#fcfdfc}
.center-today-access-column>header{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.center-today-access-column>header>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;font-size:1.2rem;font-weight:950;flex:0 0 36px}
.center-today-access-column.late-entry>header>span{background:#e6f0ff;color:#23558e}
.center-today-access-column.early-exit>header>span{background:#fff0db;color:#915511}
.center-today-access-column header div{display:flex;flex-direction:column;min-width:0}
.center-today-access-column header strong{color:#29482d;font-size:.88rem}
.center-today-access-column header small{color:#758177;font-size:.68rem}
.center-today-access-column>a{display:grid;grid-template-columns:minmax(90px,.55fr) minmax(0,1fr);gap:5px 12px;align-items:center;margin-top:7px;padding:9px 10px;border:1px solid #e0e8de;border-radius:10px;background:#fff;color:#2d4b32;text-decoration:none}
.center-today-access-column>a strong{font-size:.78rem}
.center-today-access-column>a>span{color:#53645a;font-size:.72rem;font-weight:800;text-align:right}
.center-today-access-column>a small{grid-column:1/-1;color:#718077;font-size:.66rem}
.center-today-access-column>p{margin:0;padding:11px;border:1px dashed #d9e3d7;border-radius:10px;color:#748078;background:#fafcfa;font-size:.72rem;text-align:center}
.center-today-secondary-module{margin:18px 0;border:1px solid #d8e4d5;border-radius:17px;background:#fff;box-shadow:0 8px 24px #234f2810;overflow:hidden}
.center-today-secondary-module>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;list-style:none;background:linear-gradient(180deg,#fbfdfb,#f2f7f1)}
.center-today-secondary-module>summary::-webkit-details-marker{display:none}
.center-today-secondary-module>summary>span{display:flex;flex-direction:column;min-width:0}
.center-today-secondary-module>summary strong{color:#2e5234;font-size:.94rem}
.center-today-secondary-module>summary small{margin-top:2px;color:#6f7b72;font-size:.69rem}
.center-today-secondary-module>summary>b{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:10px;background:#e9f2e7;color:#315b35;font-size:.72rem;white-space:nowrap}
.center-today-secondary-module>summary>b:after{content:'⌄';font-size:.95rem}
.center-today-secondary-module[open]>summary>b:after{transform:rotate(180deg)}
.center-today-secondary-body{padding:16px;border-top:1px solid #e1e9df;background:#f8fbf7}
.center-today-secondary-body>.center-today-secondary-grid:first-child{margin-top:0}
.group-access-scope-note{max-width:760px;margin:6px 0 0;font-size:.78rem}

@media(max-width:1050px){
  .center-today-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .center-today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .center-today-access-grid{grid-template-columns:1fr}
  .center-today-access-column>a{grid-template-columns:1fr}
  .center-today-access-column>a>span{text-align:left}
  .center-today-secondary-module>summary{align-items:flex-start;flex-direction:column}
  .center-today-secondary-module>summary>b{width:100%;justify-content:center}
}
@media(max-width:480px){.center-today-metrics{grid-template-columns:1fr}}

/* 3.0.62 · guardado de contraseña y sincronización de usuario */
.user-password-form{display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:6px;align-items:center;margin-top:7px;padding-top:7px;border-top:1px solid #e3e8e1}.user-password-form input{margin:0;min-width:0!important}.user-password-form small{grid-column:1/-1;color:#6a756d;font-size:.68rem;line-height:1.2}.user-password-form button{white-space:nowrap;margin:0}@media(max-width:760px){.user-password-form{grid-template-columns:1fr}.user-password-form button{width:100%}}

/* 3.0.63 · contraseña visible y confirmación de guardado */
.password-visibility-field{position:relative;display:flex;align-items:center;width:100%}.password-visibility-field input{width:100%;padding-right:48px!important;margin:0}.password-visibility-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:34px;min-width:38px;padding:0!important;border-radius:8px!important;background:#edf5eb!important;color:#24552c!important;border:1px solid #bdd2b9!important;box-shadow:none!important;font-size:1rem;line-height:1;cursor:pointer}.password-visibility-toggle:hover{background:#dcebd9!important}.password-visibility-toggle:focus-visible{outline:3px solid rgba(47,125,50,.28);outline-offset:1px}.user-password-form{display:grid;gap:6px;margin-top:8px}.user-password-form .password-visibility-field{min-width:190px}.user-password-success{margin:0 0 16px;font-weight:850}

/* 3.0.70 · estimación previa de asuntos propios */
.personal-day-estimate{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:stretch;margin-top:16px;padding:16px;border:1px solid #cfd8d2;border-radius:16px;background:#f7faf8}
.personal-day-estimate-score{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:14px;background:#e8f3ed;padding:14px;color:#204f39}
.personal-day-estimate-score span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.personal-day-estimate-score strong{font-size:2.25rem;line-height:1.05;margin:.2rem 0}.personal-day-estimate-score small{font-weight:800}
.personal-day-estimate-copy{display:flex;flex-direction:column;justify-content:center;gap:5px}.personal-day-estimate-copy p{margin:0;color:#31433a}.personal-day-estimate-copy small{color:#5b6b63}
.personal-day-estimate[data-level="medium"] .personal-day-estimate-score{background:#fff3d8;color:#6b4a00}.personal-day-estimate[data-level="low"] .personal-day-estimate-score{background:#fde9e7;color:#7d2822}.personal-day-estimate[data-level="individual"] .personal-day-estimate-score{background:#e9eef8;color:#304b75}
@media(max-width:680px){.personal-day-estimate{grid-template-columns:1fr}.personal-day-estimate-score{flex-direction:row;gap:10px}.personal-day-estimate-score strong{font-size:1.7rem}}


/* v3.0.71 · Calendario de solicitud AP: estados inequívocos y alto contraste */
.request-date-picker{
  background:#f3f1f3;
  border-color:#d8d1d6;
  box-shadow:0 8px 24px rgba(48,35,45,.06);
}
.request-calendar-month{
  background:#fff;
  border-color:#d9d3d7;
  box-shadow:0 5px 16px rgba(48,35,45,.06);
}
.request-calendar-month h3{color:#315d38}
.request-calendar-weekdays span{color:#4f5d55}
.request-calendar-legend i.available{background:#2f7d32;border-color:#246329}
.request-calendar-legend i.blocked{background:#c74747;border-color:#a93232}
.request-calendar-legend i.selected{background:#234f78;border-color:#193b5b}
button.request-calendar-day:not(:disabled){
  background:#2f7d32 !important;
  border-color:#246329 !important;
  color:#fff !important;
  box-shadow:0 2px 5px rgba(27,91,39,.16) !important;
}
button.request-calendar-day:hover:not(:disabled){
  background:#276c2b !important;
  border-color:#1f5923 !important;
  transform:translateY(-1px);
}
button.request-calendar-day:not(:disabled) span,
button.request-calendar-day:not(:disabled) small{color:#fff !important}
button.request-calendar-day:disabled,
button.request-calendar-day.is-weekend:disabled,
button.request-calendar-day.is-blocked:disabled{
  background:#c74747 !important;
  border-color:#aa3434 !important;
  color:#fff !important;
  opacity:1 !important;
  box-shadow:none !important;
}
button.request-calendar-day:disabled span,
button.request-calendar-day:disabled small{color:#fff !important}
button.request-calendar-day.is-weekend:disabled{background:#b95353 !important;border-color:#9f4444 !important}
button.request-calendar-day.is-blocked:disabled{background:#bb3f4d !important;border-color:#9e303d !important}
button.request-calendar-day.is-selected,
button.request-calendar-day.is-selected:hover{
  background:#234f78 !important;
  border-color:#193b5b !important;
  color:#fff !important;
  box-shadow:0 0 0 3px #f1c75b,0 5px 12px rgba(35,79,120,.24) !important;
}
button.request-calendar-day.is-today:not(:disabled){
  box-shadow:inset 0 0 0 3px #f1c75b,0 2px 5px rgba(27,91,39,.16) !important;
}
.request-selected-date{background:#234f78}

/* 3.0.87 · Configurador de guardias integrado con la identidad visual del perfil */
.guard-config-intro{
  background:linear-gradient(135deg,var(--profile-dark,var(--green)) 0%,var(--profile-primary,var(--green2)) 100%);
  border:1px solid color-mix(in srgb,var(--profile-primary,var(--green2)) 70%,#fff);
  color:#fff;
  box-shadow:0 14px 34px color-mix(in srgb,var(--profile-dark,var(--green)) 18%,transparent);
}
.guard-config-intro:after{
  background:color-mix(in srgb,var(--profile-soft,#f7eff5) 17%,transparent);
}
.guard-config-intro h2{color:#fff}
.guard-config-intro p{color:rgba(255,255,255,.86)}
.guard-config-intro .schedule-eyebrow{color:rgba(255,255,255,.78)}
.guard-config-intro .btn{
  background:#fff!important;
  color:var(--profile-dark,var(--green))!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:0 5px 15px rgba(0,0,0,.10);
}
.guard-config-intro .btn:hover{background:var(--profile-soft,#f7eff5)!important}
.guard-config-grid{gap:12px}
.guard-config-option{
  color:var(--profile-dark,var(--green));
  border-color:var(--profile-border,var(--border));
  background:#fff;
  box-shadow:0 7px 20px color-mix(in srgb,var(--profile-dark,var(--green)) 7%,transparent);
}
.guard-config-option:hover{
  border-color:var(--profile-primary,var(--green2));
  box-shadow:0 11px 24px color-mix(in srgb,var(--profile-dark,var(--green)) 12%,transparent);
}
.guard-config-option.active{
  border-color:var(--profile-primary,var(--green2));
  background:linear-gradient(90deg,var(--profile-soft,#f7eff5),#fff 72%);
  box-shadow:inset 4px 0 0 var(--profile-primary,var(--green2)),0 10px 24px color-mix(in srgb,var(--profile-dark,var(--green)) 10%,transparent);
}
.guard-config-number{
  background:var(--profile-soft,#f7eff5);
  color:var(--profile-primary,var(--green2));
  border-right:1px solid var(--profile-border,var(--border));
  font-weight:850;
}
.guard-config-option.active .guard-config-number{
  background:var(--profile-primary,var(--green2));
  color:#fff;
  border-right-color:var(--profile-primary,var(--green2));
}
.guard-config-option strong{
  color:var(--profile-dark,var(--green));
  border-bottom:0;
  text-transform:none;
  letter-spacing:0;
  font-size:1rem;
}
.guard-config-option small{color:var(--muted)}
.config-section{border-color:var(--profile-border,var(--border))}
.config-section h2,.config-section h3{color:var(--profile-dark,var(--green))}
.config-section .section-heading{border-bottom-color:var(--profile-border,var(--border))}
.fixed-assignment-badge{background:var(--profile-soft,#f7eff5);color:var(--profile-dark,var(--green));border-color:var(--profile-border,var(--border))}
.assignment-order-row,.signature-options label{border-color:var(--profile-border,var(--border));background:color-mix(in srgb,var(--profile-soft,#f7eff5) 45%,#fff)}
.order-handle{background:var(--profile-soft,#f7eff5);color:var(--profile-primary,var(--green2))}
.duty-card,.duty-card.general-duty,.duty-card.recess-duty{border-top-color:var(--profile-primary,var(--green2))}
/* 3.0.89 · Mi documentación */
.my-documents-hero{align-items:center}.my-documents-count{min-width:130px;text-align:center;padding:14px 18px;border-radius:18px;background:rgba(255,255,255,.62);border:1px solid rgba(31,90,55,.12)}.my-documents-count strong{display:block;font-size:2rem;color:var(--brand,#1f5a37)}.my-documents-count span{font-size:.82rem;color:#68746d}.my-documents-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.my-documents-grid{display:grid;gap:12px}.my-document-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px}.my-document-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:#edf3eb}.my-document-icon.personal{background:#f1eaf1}.my-document-body h3{margin:2px 0 4px}.my-document-body p{margin:0 0 4px;color:#5e6b63}.my-document-body small{color:#87928b}.my-document-type{font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#6b3b5e}.my-document-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:700px){.my-document-card{grid-template-columns:auto 1fr}.my-document-actions{grid-column:1/-1;justify-content:flex-start}.my-documents-count{display:none}}


/* 3.0.90 · Corrección transversal de contraste por perfil
   Evita que los colores sólidos del perfil pisen controles compuestos con texto oscuro. */
body[class*="role-"] button.locator-period-button,body.profile-board button.locator-period-button{
  background:#fff;
  color:var(--text);
}
body[class*="role-"] button.locator-period-button.active,body.profile-board button.locator-period-button.active{
  background:var(--profile-soft,#f4f8f3);
  color:var(--profile-dark,var(--green));
}
body[class*="role-"] button.locator-period-button strong,body.profile-board button.locator-period-button strong{color:var(--profile-dark,var(--green))}
body[class*="role-"] button.locator-period-button>span,body.profile-board button.locator-period-button>span{color:var(--ui-muted,var(--muted))}
body[class*="role-"] button.locator-period-button>em,body.profile-board button.locator-period-button>em{color:#fff}

/* ===== Horario del profesorado · vista compacta uniforme ===== */
.schedule-view-board .weekly-schedule{
    width:100%;
    min-width:900px;
    table-layout:fixed;
}
.schedule-view-board .weekly-schedule th:first-child{width:92px}
.schedule-view-board .weekly-schedule th:not(:first-child){width:auto}
.schedule-view-board .weekly-schedule tbody tr{height:116px}
.schedule-view-board .weekly-schedule td{
    position:relative;
    height:116px;
    min-height:116px;
    max-height:116px;
    padding:6px;
    vertical-align:top;
    overflow:visible;
}
.schedule-view-board .schedule-slot-compact{
    position:relative;
    height:102px;
    min-height:102px;
    max-height:102px;
}
.schedule-view-board .schedule-entry-compact{
    box-sizing:border-box;
    height:102px;
    min-height:102px;
    max-height:102px;
    padding:7px 8px 25px;
    gap:4px;
    overflow:hidden;
    transform:none;
}
.schedule-view-board .schedule-entry-compact:hover{transform:none}
.schedule-view-board .schedule-entry-title{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    min-height:2.05em;
    max-height:2.05em;
    line-height:1.03;
    font-size:.82rem;
    overflow-wrap:anywhere;
}
.schedule-view-board .schedule-entry-top{min-width:0;align-items:center}
.schedule-view-board .schedule-type-pill{
    max-width:58%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    padding:2px 5px;
    font-size:.56rem;
}
.schedule-view-board .schedule-room{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-width:30px;
    max-width:52px;
    min-height:20px;
    padding:2px 6px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    border:1px solid #d4dfd1;
    border-radius:999px;
    background:#fff;
    color:#526057;
    font-size:.62rem;
    font-weight:850;
}
.schedule-compact-meta{display:flex;min-width:0;align-items:center;gap:3px;flex-wrap:nowrap;overflow:hidden}
.schedule-group-compact{
    display:inline-flex;
    align-items:center;
    flex:0 0 auto;
    max-width:54px;
    padding:2px 5px;
    border:1px solid #d9e5d6;
    border-radius:6px;
    background:#fff;
    color:#415344;
    font-size:.61rem;
    font-weight:850;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.schedule-details{
    position:absolute;
    z-index:30;
    right:7px;
    left:auto;
    bottom:6px;
    margin:0;
}
.schedule-details>summary{
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    min-width:28px;
    min-height:28px;
    padding:0;
    border:1px solid #c8d8c5;
    border-radius:50%;
    background:#fff;
    color:var(--green,#2f7d32);
    box-shadow:0 3px 9px rgba(35,50,40,.10);
    cursor:pointer;
    list-style:none;
    user-select:none;
}
.schedule-details>summary::-webkit-details-marker{display:none}
.schedule-details-plus{display:block;font-size:1.18rem;font-weight:800;line-height:1;transition:transform .16s ease}
.schedule-details[open] .schedule-details-plus{transform:rotate(45deg)}
.schedule-details>summary:hover{background:#eef7ec;border-color:#a8c7a4}
.schedule-entry-compact{padding-bottom:40px!important;position:relative}
.schedule-entry-compact .schedule-compact-meta{position:absolute;left:9px;bottom:10px;right:9px;min-width:0}
.schedule-slot-compact:has(.schedule-details) .schedule-entry-compact .schedule-compact-meta{right:48px}
.schedule-entry-compact .schedule-group-compact{max-width:54px;padding:3px 7px;border-radius:999px;background:#fff;color:#344b39;font-size:.64rem}
.schedule-slot-compact{position:relative;min-height:100%}
.schedule-slot-compact .schedule-details>summary{width:30px;height:30px;min-width:30px;min-height:30px;border:1px solid #b9cfb6;background:#fff;color:#2f7d32;box-shadow:0 3px 10px rgba(35,50,40,.12)}
.schedule-slot-compact .schedule-details>summary:active{transform:scale(.94)}

.schedule-details-panel{
    position:absolute;
    z-index:60;
    right:-7px;
    left:auto;
    top:34px;
    bottom:auto;
    width:min(310px,75vw);
    max-height:300px;
    overflow:auto;
    padding:8px;
    border:1px solid #c9d5c6;
    border-radius:12px;
    background:#fff;
    box-shadow:0 14px 34px rgba(30,48,35,.22);
    color:#26342a;
    text-align:left;
}
.schedule-detail-item{
    padding:8px 9px;
    border:1px solid #e1e7df;
    border-left:4px solid #7c8a80;
    border-radius:9px;
    background:#fbfcfb;
}
.schedule-detail-item+.schedule-detail-item{margin-top:7px}
.schedule-detail-item.teaching{border-left-color:#2f7d32}
.schedule-detail-item.guard-general{border-left-color:#2d6da3}
.schedule-detail-item.guard-specific{border-left-color:#6b63a5}
.schedule-detail-item.recess{border-left-color:#cc8a00}
.schedule-detail-heading{display:flex;justify-content:space-between;gap:9px;align-items:flex-start}
.schedule-detail-heading strong{font-size:.77rem;line-height:1.2}
.schedule-detail-heading span{flex:0 0 auto;color:#68766b;font-size:.58rem;font-weight:850;text-transform:uppercase}
.schedule-detail-item p{margin:5px 0 0;color:#526057;font-size:.68rem;line-height:1.25}
.schedule-view-board .schedule-no-direct{
    box-sizing:border-box;
    height:102px;
    min-height:102px;
    max-height:102px;
}
@media(max-width:1050px){
    .schedule-view-board .weekly-schedule{min-width:840px}
    .schedule-view-board .weekly-schedule th:first-child{width:82px}
}
@media(max-width:700px){
    .schedule-view-board .weekly-schedule{min-width:800px}
    .schedule-view-board .weekly-schedule tbody tr,
    .schedule-view-board .weekly-schedule td{height:108px;min-height:108px;max-height:108px}
    .schedule-view-board .schedule-slot-compact,
    .schedule-view-board .schedule-entry-compact,
    .schedule-view-board .schedule-no-direct{height:94px;min-height:94px;max-height:94px}
    .schedule-view-board .schedule-entry-compact{padding-bottom:23px}
}
@media print{
    .schedule-view-board .weekly-schedule{min-width:0;width:100%}
    .schedule-view-board .weekly-schedule tbody tr,
    .schedule-view-board .weekly-schedule td{height:72px;min-height:72px;max-height:72px}
    .schedule-view-board .schedule-slot-compact,
    .schedule-view-board .schedule-entry-compact,
    .schedule-view-board .schedule-no-direct{height:64px;min-height:64px;max-height:64px}
    .schedule-view-board .schedule-entry-compact{padding:3px 4px;gap:1px}
    .schedule-view-board .schedule-entry-title{font-size:7px;min-height:2em;max-height:2em}
    .schedule-view-board .schedule-type-pill,.schedule-view-board .schedule-room,.schedule-group-compact{font-size:5.5px;padding:1px 2px}
    .schedule-details{display:none!important}
}
.schedule-view-board .weekly-schedule td:nth-child(n+5) .schedule-details-panel{left:auto;right:-7px}
.schedule-view-board .weekly-schedule td:has(.schedule-details[open]){z-index:50}

.schedule-view-board .weekly-schedule tbody tr:nth-last-child(-n+4) .schedule-details-panel{top:auto;bottom:34px}

/* ===== Contraste de la cabecera del horario del profesorado =====
   Los perfiles redefinen globalmente h2/h3 con --profile-dark. En el hero
   del horario el fondo es oscuro, por lo que la identidad debe conservar
   texto claro independientemente del perfil activo. Solo aplica en pantalla
   para no alterar la versión de impresión. */
@media screen {
  body[class*="role-"] .schedule-hero .schedule-identity h2,
  body.profile-board .schedule-hero .schedule-identity h2,
  body.screen-locked .schedule-hero .schedule-identity h2 {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 1px 2px rgba(0,0,0,.16);
  }
  body[class*="role-"] .schedule-hero .schedule-identity p,
  body.profile-board .schedule-hero .schedule-identity p,
  body.screen-locked .schedule-hero .schedule-identity p {
    color:#eaf6eb !important;
    -webkit-text-fill-color:#eaf6eb !important;
  }
  body[class*="role-"] .schedule-hero .schedule-eyebrow,
  body.profile-board .schedule-hero .schedule-eyebrow,
  body.screen-locked .schedule-hero .schedule-eyebrow {
    color:#dff1e0 !important;
    -webkit-text-fill-color:#dff1e0 !important;
  }
}


/* MDC TEST ENVIRONMENT 2026 */
body.test-environment{
  background:#fff7ed !important;
}
.ui-test-banner{
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  padding:9px 18px;
  background:#c2410c !important;
  color:#fff !important;
  border-bottom:3px solid #7c2d12;
  box-shadow:0 2px 8px rgba(124,45,18,.22);
  font-size:.86rem;line-height:1.3;
  text-align:center;
}
.ui-test-banner strong{
  display:inline-flex;align-items:center;gap:6px;
  padding:3px 9px;border-radius:999px;
  background:#7c2d12;color:#fff;font-weight:800;letter-spacing:.05em;
  white-space:nowrap;
}
body.test-environment .topbar{
  background:#9a3412 !important;
  border-bottom-color:#fb923c !important;
}
body.test-environment .topbar .module{
  background:#fdba74 !important;
  color:#431407 !important;
}
body.test-environment .version-badge{
  background:#7c2d12;color:#fff;border-radius:999px;padding:3px 7px;opacity:1 !important;
}
body.test-environment::after{
  content:"ENTORNO DE PRUEBAS";
  position:fixed;right:14px;bottom:14px;z-index:9999;
  padding:7px 12px;border-radius:999px;
  background:#c2410c;color:#fff;
  border:2px solid #fff;
  box-shadow:0 4px 16px rgba(124,45,18,.3);
  font-size:.72rem;font-weight:800;letter-spacing:.06em;
  pointer-events:none;
}
.test-login-label{
  display:inline-block;margin:2px 0 10px;padding:5px 10px;border-radius:999px;
  background:#ffedd5;color:#9a3412;border:1px solid #fdba74;
  font-size:.78rem;font-weight:800;letter-spacing:.06em;
}
@media(max-width:700px){
  .ui-test-banner{padding:8px 10px;font-size:.78rem}
  body.test-environment::after{right:8px;bottom:8px;font-size:.66rem;padding:6px 9px}
}

/* 3.0.91 · Contraste del hero de Entradas y salidas.
   Los perfiles redefinen globalmente h2 con --profile-dark; en este hero
   el fondo es oscuro y el título debe permanecer claro en cualquier rol. */
@media screen {
  body[class*="role-"] .group-access-hero h2,
  body.profile-board .group-access-hero h2,
  body.screen-locked .group-access-hero h2 {
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
    text-shadow:0 1px 2px rgba(0,0,0,.14);
  }
}

/* ========================================================================
   v3.0.92 · Horarios: tarjetas estables, sin solapamientos
   ======================================================================== */
.schedule-view-board .schedule-slot-compact{
    position:relative;
    height:104px;
    min-height:104px;
    max-height:104px;
}
.schedule-view-board .schedule-entry-compact{
    position:relative!important;
    display:grid!important;
    grid-template-rows:22px 38px 32px!important;
    height:104px!important;
    min-height:104px!important;
    max-height:104px!important;
    box-sizing:border-box!important;
    gap:3px!important;
    padding:6px 8px!important;
    overflow:hidden!important;
}
.schedule-view-board .schedule-entry-top{
    min-width:0;
    height:22px;
    align-items:center;
}
.schedule-view-board .schedule-entry-title{
    display:-webkit-box!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    min-height:0!important;
    max-height:38px!important;
    line-height:1.12!important;
    font-size:.82rem!important;
    overflow:hidden!important;
    overflow-wrap:anywhere;
    align-self:start;
}
.schedule-view-board .schedule-compact-meta{
    position:static!important;
    display:flex!important;
    align-content:flex-end;
    align-items:flex-end;
    flex-wrap:wrap!important;
    gap:3px!important;
    max-height:32px;
    min-width:0;
    overflow:hidden!important;
    padding-right:0;
}
.schedule-view-board .schedule-slot-compact.has-more .schedule-compact-meta{padding-right:37px}
.schedule-view-board .schedule-group-compact{
    flex:0 0 auto;
    max-width:none!important;
    padding:2px 6px!important;
    border-radius:999px!important;
    background:#fff!important;
    color:#344b39!important;
    font-size:.60rem!important;
    line-height:1.15;
    white-space:nowrap;
}
.schedule-more-btn{
    position:absolute;
    right:7px;
    bottom:7px;
    z-index:4;
    display:grid!important;
    place-items:center;
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #b9cfb6!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#2f7d32!important;
    box-shadow:0 3px 10px rgba(35,50,40,.10)!important;
    font-size:1.16rem!important;
    line-height:1!important;
    font-weight:900!important;
    cursor:pointer;
}
.schedule-more-btn:hover{background:#edf7eb!important;border-color:#96bd91!important}
.schedule-more-btn:active{transform:scale(.94)}

/* Un único visor de detalle fuera de la celda. Evita popovers superpuestos. */
.schedule-detail-backdrop{
    display:none;
    position:fixed;
    inset:0;
    z-index:11998;
    background:rgba(18,31,22,.48);
    backdrop-filter:blur(2px);
}
.schedule-detail-backdrop.is-open{display:block}
.schedule-detail-sheet{
    position:fixed;
    left:50%;
    bottom:50%;
    z-index:11999;
    width:min(620px,88vw);
    max-height:min(72vh,680px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #d7e0d5;
    border-radius:22px;
    background:#fff;
    box-shadow:0 22px 60px rgba(0,0,0,.24);
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,calc(50% + 24px)) scale(.98);
    transition:transform .16s ease,opacity .16s ease;
}
.schedule-detail-sheet.is-open{
    opacity:1;
    pointer-events:auto;
    transform:translate(-50%,50%) scale(1);
}
.schedule-detail-sheet-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 16px 10px;
    border-bottom:1px solid #e8ece7;
}
.schedule-detail-sheet-head strong{color:#223f2b;font-size:1.03rem}
.schedule-detail-close{
    border:0!important;
    border-radius:999px!important;
    background:#eef2ed!important;
    color:#263c2d!important;
    padding:9px 13px!important;
    font-weight:900!important;
    box-shadow:none!important;
}
.schedule-detail-sheet-body{
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding:10px 16px 18px;
}
body.schedule-detail-open{overflow:hidden}

/* Horario del profesor en móvil: un día cada vez, no una tabla encogida. */
.teacher-mobile-schedule{display:none}
.teacher-mobile-tabs{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
    padding:5px;
    margin:0 0 12px;
    border:1px solid #d4dfd1;
    border-radius:16px;
    background:#edf3eb;
}
.teacher-mobile-tab{
    min-width:0!important;
    min-height:42px!important;
    padding:9px 2px!important;
    border:0!important;
    border-radius:12px!important;
    background:transparent!important;
    color:#52675a!important;
    box-shadow:none!important;
    font-size:.75rem!important;
    font-weight:900!important;
}
.teacher-mobile-tab[aria-selected="true"]{background:#1f5c33!important;color:#fff!important}
.teacher-mobile-day[hidden]{display:none!important}
.teacher-mobile-day-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:10px 2px 8px;color:#244f31}
.teacher-mobile-day-title strong{font-size:1.08rem}.teacher-mobile-day-title span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#738078;font-size:.76rem}
.teacher-mobile-list{display:grid;gap:9px}
.teacher-mobile-period{display:grid;grid-template-columns:72px minmax(0,1fr);gap:9px;align-items:stretch}
.teacher-mobile-time{display:flex;flex-direction:column;justify-content:center;text-align:center;padding:9px 4px;border:1px solid #d6e2d2;border-radius:14px;background:#edf5ea;color:#52705a}
.teacher-mobile-time span{font-size:.72rem;font-weight:850}.teacher-mobile-time strong{margin:3px 0;color:#1e5a32;font-size:.98rem}.teacher-mobile-time small{font-size:.71rem}
.teacher-mobile-period.is-break .teacher-mobile-time{background:#fff4d8;border-color:#efd79c}
.teacher-mobile-class{min-width:0;padding:11px 12px;border:1px solid #d5e0d2;border-top:4px solid #7c8a80;border-radius:15px;background:#fff;box-shadow:0 2px 7px rgba(33,68,42,.04)}
.teacher-mobile-class.teaching{border-top-color:#2f7d32;background:linear-gradient(155deg,#fbfefb,#f2f8f1)}
.teacher-mobile-class.guard-general{border-top-color:#2d6da3;background:#f4f9fd}.teacher-mobile-class.guard-specific{border-top-color:#6b63a5;background:#f8f6fd}.teacher-mobile-class.recess{border-top-color:#cc8a00;background:#fffaf0}
.teacher-mobile-class-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.teacher-mobile-room{display:inline-flex;align-items:center;justify-content:center;min-width:34px;max-width:64px;height:24px;padding:0 8px;border:1px solid #d0dccd;border-radius:999px;background:#fff;color:#526057;font-size:.7rem;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.teacher-mobile-class h3{margin:8px 0 8px;color:#213d2a;font-size:1rem;line-height:1.22;overflow-wrap:anywhere}
.teacher-mobile-groups{display:flex;flex-wrap:wrap;gap:4px}.teacher-mobile-groups span{padding:4px 7px;border:1px solid #d8e3d5;border-radius:999px;background:#fff;color:#344b39;font-size:.72rem;font-weight:850}
.teacher-mobile-more{margin-top:9px!important;width:100%!important;padding:9px 12px!important;border:1px solid #cfdbcc!important;border-radius:10px!important;background:#eef6ec!important;color:#285b32!important;box-shadow:none!important;font-size:.78rem!important;font-weight:900!important}
.teacher-mobile-empty{display:grid;place-items:center;min-height:82px;border:1px dashed #d5dfd2;border-radius:14px;background:#fafcf9;color:#819087;font-size:.84rem}

@media screen and (max-width:800px){
    .teacher-mobile-schedule{display:block;margin:0 0 18px}
    body .schedule-board.schedule-view-board{display:none!important}
    .schedule-detail-sheet{
        left:0;
        right:0;
        bottom:0;
        width:auto;
        max-height:min(76dvh,680px);
        border-radius:24px 24px 0 0;
        opacity:1;
        transform:translateY(105%);
        transition:transform .18s ease;
    }
    .schedule-detail-sheet.is-open{transform:translateY(0)}
    .schedule-detail-sheet-body{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media print{
    .teacher-mobile-schedule,.schedule-detail-backdrop,.schedule-detail-sheet,.schedule-more-btn{display:none!important}
    body .schedule-board.schedule-view-board{display:block!important}
}

.topbar .brand-stack{min-width:0}.topbar .brand{display:block;max-width:min(42vw,520px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .brand-logo{box-shadow:0 4px 14px rgba(0,0,0,.16)}.login-card{text-align:center}.login-logo-wrap{display:flex;justify-content:center;margin-bottom:14px}.login-logo{width:92px;height:92px;border-radius:50%;object-fit:cover;box-shadow:0 8px 24px rgba(35,79,40,.14)}

/* 3.0.100 · Reservabilidad independiente y contraste de Reserva de espacios */
.space-inline-toggle span{display:flex;flex-direction:column;gap:2px}.space-inline-toggle span strong{color:var(--green);font-size:.84rem}.space-inline-toggle span small{color:var(--muted);font-size:.72rem;font-weight:650}.space-inline-toggle-reservable{border-color:#b8d7ba;background:#f1f9f1}.space-management-stats{flex-wrap:wrap}.space-reservability-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-radius:13px;border:1px solid #d9e3d7}.space-reservability-panel>div{min-width:0}.space-reservability-panel strong,.space-reservability-panel small{display:block}.space-reservability-panel small{margin-top:3px;font-size:.72rem}.space-reservability-panel.is-reservable{background:#edf8ef;border-color:#b8d8bc}.space-reservability-panel.is-reservable strong{color:#245f30}.space-reservability-panel.is-reservable small{color:#5b7460}.space-reservability-panel.is-not-reservable{background:#fff3f2;border-color:#e5bcbc}.space-reservability-panel.is-not-reservable strong{color:#8d2929}.space-reservability-panel.is-not-reservable small{color:#826060}.space-reservability-panel .reservable-enable{background:#2f7d32!important;color:#fff!important}.space-card-options{grid-template-columns:repeat(3,minmax(0,1fr))}.space-card-options label span{display:flex;flex-direction:column;gap:2px}.space-card-options label strong{color:#34483a;font-size:.8rem}.space-card-options label small{color:var(--muted);font-size:.68rem;font-weight:600}.space-create-form{grid-template-columns:minmax(240px,1.25fr) minmax(190px,.7fr) minmax(210px,.8fr) minmax(210px,.8fr) auto}.space-filter-form{grid-template-columns:minmax(220px,1.1fr) minmax(170px,.65fr) minmax(190px,.72fr) minmax(150px,.55fr) auto}.space-booking-hero h2{color:#fff!important;-webkit-text-fill-color:#fff!important}.space-booking-hero p{color:#e0f0e1!important;-webkit-text-fill-color:#e0f0e1!important}.space-booking-hero .space-booking-type-chip{color:#fff!important;-webkit-text-fill-color:#fff!important}.space-booking-hero .schedule-eyebrow{color:#f0d278!important;-webkit-text-fill-color:#f0d278!important}@media(max-width:1100px){.space-create-form,.space-filter-form{grid-template-columns:1fr 1fr}.space-create-form button,.space-filter-form .actions{grid-column:1/-1}.space-create-form button{width:100%}}@media(max-width:760px){.space-card-options{grid-template-columns:1fr}.space-reservability-panel{align-items:stretch;flex-direction:column}.space-reservability-panel button{width:100%}.space-create-form,.space-filter-form{grid-template-columns:1fr}.space-create-form button,.space-filter-form .actions{grid-column:auto}}


/* 3.0.102 · Gestión masiva e intuitiva de espacios reservables */
.space-bulk-card{margin-bottom:18px;padding:0;overflow:hidden;border:1px solid #cfdccb;box-shadow:0 10px 28px rgba(35,79,40,.08)}
.space-bulk-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #dce6d9;background:linear-gradient(135deg,#f6faf5,#fff)}
.space-bulk-heading h2{margin:4px 0 5px;color:var(--green)}
.space-bulk-heading p{margin:0}
.space-bulk-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.space-bulk-summary span{display:flex;flex-direction:column;min-width:105px;padding:10px 12px;border:1px solid #d7e3d4;border-radius:13px;background:#fff;color:var(--muted);font-size:.72rem}
.space-bulk-summary strong{font-size:1.25rem;color:var(--green)}
.space-bulk-form{display:block}
.space-bulk-toolbar{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(170px,.65fr) minmax(200px,.75fr) auto;gap:12px;align-items:end;padding:14px 18px;background:#fbfdfb;border-bottom:1px solid #e0e8de}
.space-bulk-toolbar label{margin:0 0 5px;font-size:.78rem}
.space-bulk-toolbar input,.space-bulk-toolbar select{margin:0}
.space-bulk-select-actions{display:flex;gap:7px;align-items:center;padding-bottom:1px}
.space-bulk-select-actions button{white-space:nowrap}
.space-bulk-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:8px;max-height:520px;overflow:auto;padding:14px 18px;background:#f7faf6}
.space-bulk-item{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"check main" "check tags";column-gap:10px;row-gap:6px;align-items:center;margin:0;padding:10px 11px;border:1px solid #d8e3d5;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.space-bulk-item:hover{border-color:#9fbc9b;box-shadow:0 4px 12px rgba(35,79,40,.08);transform:translateY(-1px)}
.space-bulk-item:has(input:checked){border-color:#4f8a55;background:#f1f8f0;box-shadow:inset 0 0 0 1px #4f8a55}
.space-bulk-item>input{grid-area:check;width:20px;height:20px;margin:0;accent-color:var(--green2)}
.space-bulk-item-main{grid-area:main;display:flex;flex-direction:column;min-width:0}
.space-bulk-item-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263b2a;font-size:.88rem}
.space-bulk-item-main small{margin-top:2px;color:var(--muted);font-size:.68rem;font-weight:650}
.space-bulk-item-tags{grid-area:tags;display:flex;gap:5px;flex-wrap:wrap}
.space-bulk-tag{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:.62rem;font-weight:850;border:1px solid transparent}
.space-bulk-tag.is-on{background:#e5f5e8;color:#22602c;border-color:#b8d7bd}
.space-bulk-tag.is-off{background:#fff0f0;color:#8a2d2d;border-color:#e5c0c0}
.space-bulk-tag.free.is-on{background:#edf3fb;color:#315e85;border-color:#c8d9ea}
.space-bulk-tag.free.is-off{background:#f1f2f2;color:#667069;border-color:#d8dcda}
.space-bulk-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-top:1px solid #dce5da;background:#fff}
.space-bulk-selection-status{display:flex;flex-direction:column;min-width:120px}
.space-bulk-selection-status strong{color:var(--green);font-size:.9rem}
.space-bulk-selection-status span{color:var(--muted);font-size:.7rem}
.space-bulk-operation-groups{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap;justify-content:flex-end}
.space-bulk-operation-group{display:flex;align-items:center;gap:6px;padding:6px;border:1px solid #d9e3d7;border-radius:12px;background:#f8faf7}
.space-bulk-operation-group>span{padding:0 5px;color:var(--muted);font-size:.68rem;font-weight:800;white-space:nowrap}
.space-bulk-action{margin:0;padding:8px 11px;font-size:.76rem;white-space:nowrap}
.space-bulk-action.enable{background:#2f7d32!important;color:#fff!important}
.space-bulk-action.disable{background:#9b3a3a!important;color:#fff!important}
.space-bulk-action.secondary-action{background:#5e6d64!important;color:#fff!important}
.space-advanced-details{margin-top:18px;border:1px solid #d8e3d5;border-radius:16px;background:#fff;overflow:hidden}
.space-advanced-details>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;cursor:pointer;list-style:none;background:linear-gradient(180deg,#fbfdfb,#f2f7f1)}
.space-advanced-details>summary::-webkit-details-marker{display:none}
.space-advanced-details>summary>span{display:flex;flex-direction:column;min-width:0}
.space-advanced-details>summary strong{color:#315b35;font-size:.9rem}
.space-advanced-details>summary small{margin-top:2px;color:var(--muted);font-size:.7rem}
.space-advanced-details>summary>b{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:10px;background:#e8f1e6;color:#315b35;font-size:.72rem;white-space:nowrap}
.space-advanced-details>summary>b:after{content:'⌄';font-size:.9rem}
.space-advanced-details[open]>summary>b:after{transform:rotate(180deg)}
.space-advanced-body{padding:18px;background:#f8faf7}
.space-advanced-body>.space-create-card,.space-advanced-body>.space-filter-card{margin-top:0}
@media(max-width:1150px){.space-bulk-toolbar{grid-template-columns:1fr 1fr}.space-bulk-select-actions{grid-column:1/-1}.space-bulk-footer{align-items:flex-start;flex-direction:column}.space-bulk-operation-groups{justify-content:flex-start;width:100%}}
@media(max-width:720px){.space-bulk-heading{flex-direction:column}.space-bulk-summary{width:100%;justify-content:flex-start}.space-bulk-toolbar{grid-template-columns:1fr}.space-bulk-select-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}.space-bulk-list{grid-template-columns:1fr;max-height:460px;padding:10px}.space-bulk-operation-groups{flex-direction:column}.space-bulk-operation-group{display:grid;grid-template-columns:1fr 1fr}.space-bulk-operation-group>span{grid-column:1/-1;padding:0 2px}.space-bulk-action{width:100%}.space-advanced-details>summary{align-items:flex-start;flex-direction:column}.space-advanced-details>summary>b{width:100%;justify-content:center}}


/* 3.0.103 · Edición intuitiva de aulas y espacios */
.space-section-nav{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:20px 0 12px;padding:18px 20px;border:1px solid #d7e2d4;border-radius:16px;background:linear-gradient(135deg,#f4f9f3,#fff)}
.space-section-nav h2{margin:4px 0 5px;color:var(--green)}
.space-section-nav p{margin:0;color:var(--muted)}
.space-section-nav-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.space-edit-list-card{padding:0;overflow:hidden}
.space-edit-filter-form{display:grid;grid-template-columns:minmax(240px,1.2fr) minmax(160px,.65fr) minmax(150px,.6fr) minmax(140px,.55fr) auto;gap:10px;align-items:end;padding:14px 16px;border-bottom:1px solid #e0e8de;background:#fbfdfb}
.space-edit-filter-form label{margin:0 0 5px;font-size:.76rem}
.space-edit-filter-form input,.space-edit-filter-form select{margin:0}
.space-edit-filter-actions{display:flex;gap:6px;align-items:center}
.space-edit-filter-actions .btn,.space-edit-filter-actions button{white-space:nowrap}
.space-edit-list-summary{padding:9px 16px;border-bottom:1px solid #e6ece4;color:var(--muted);font-size:.76rem;background:#fff}
.space-edit-list-summary strong{color:var(--green);font-size:.92rem}
.space-edit-list{display:flex;flex-direction:column;background:#f7faf6}
.space-edit-row{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(300px,1fr) minmax(150px,.55fr) auto;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid #e1e8df;background:#fff}
.space-edit-row:last-child{border-bottom:0}
.space-edit-row:hover{background:#fbfdfb}
.space-edit-row.inactive{background:#fffaf1;opacity:.88}
.space-edit-row-name{display:flex;flex-direction:column;min-width:0}
.space-edit-row-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263b2a;font-size:.9rem}
.space-edit-row-name small{margin-top:2px;color:var(--muted);font-size:.68rem;font-weight:650}
.space-edit-row-status{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.space-edit-row-usage{display:flex;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:.68rem;white-space:nowrap}
.space-edit-button{min-width:78px;text-align:center}
.space-inline-editor{margin:0 0 14px;padding:0;overflow:hidden;border:2px solid #8fb48a;box-shadow:0 12px 30px rgba(35,79,40,.10)}
.space-inline-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #dce6d9;background:linear-gradient(135deg,#edf6eb,#fff)}
.space-inline-editor-head h3{margin:8px 0 4px;color:var(--green);font-size:1.18rem}
.space-inline-editor-head p{margin:0}
.space-inline-edit-form{padding:18px 20px}
.space-inline-edit-fields{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);gap:12px}
.space-inline-edit-fields label{margin-top:0}
.space-inline-edit-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.space-editor-usage{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;padding:10px;border-radius:12px;background:#f4f7f3}
.space-editor-usage span{display:flex;align-items:baseline;gap:4px;padding:5px 9px;border-radius:9px;background:#fff;color:var(--muted);font-size:.7rem}
.space-editor-usage strong{color:var(--green);font-size:.95rem}
.space-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.space-editor-danger-zone{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid #eadfda;background:#fffafa}
.space-editor-danger-zone form{margin:0}
#anadir-espacio{margin-top:18px}
@media(max-width:1100px){.space-edit-filter-form{grid-template-columns:1fr 1fr}.space-edit-filter-actions{grid-column:1/-1}.space-edit-row{grid-template-columns:minmax(180px,1fr) minmax(260px,1fr) auto}.space-edit-row-usage{display:none}}
@media(max-width:760px){.space-section-nav{flex-direction:column}.space-section-nav-actions{width:100%;justify-content:flex-start}.space-section-nav-actions .btn{flex:1;text-align:center}.space-edit-filter-form{grid-template-columns:1fr}.space-edit-filter-actions{grid-column:auto}.space-edit-filter-actions>*{flex:1;text-align:center}.space-edit-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.space-edit-row-status{grid-column:1/-1;grid-row:2}.space-inline-editor-head{flex-direction:column}.space-inline-edit-fields,.space-inline-edit-options{grid-template-columns:1fr}.space-editor-danger-zone{justify-content:stretch}.space-editor-danger-zone form,.space-editor-danger-zone button{width:100%}}

/* 3.0.105 · acceso público a horarios */



/* 3.0.113 · Eliminación completa de expedientes por Equipo Directivo */
.permission-case-main-link{display:block;min-width:0;flex:1 1 auto;color:inherit;text-decoration:none}
.permission-case-main-link>div{min-width:0}
.permission-case-delete-link{margin-top:2px;align-self:flex-end}
.permission-case-delete-card{margin-top:18px;border:1px solid #e4c7ad;border-left:6px solid #a54d16;background:linear-gradient(180deg,#fffdf9,#fff8ef)}
.permission-case-delete-card h2{color:#7d3511!important}
.permission-delete-warning{margin:10px 0 16px;padding:12px 14px;border:1px solid #edcfaa;border-radius:13px;background:#fff4df;color:#734314}
.permission-delete-warning strong{display:block;margin-bottom:3px}
.permission-delete-warning p{margin:0;line-height:1.45}
.permission-case-delete-form{max-width:900px}
.permission-delete-mode{margin:0 0 14px;padding:12px;border:1px solid #e3d4c4;border-radius:14px;background:#fff}
.permission-delete-mode legend{padding:0 6px;font-weight:900;color:#63351f}
.permission-delete-mode label{display:flex;align-items:flex-start;gap:10px;margin:0;padding:11px;border-radius:11px;cursor:pointer}
.permission-delete-mode label+label{margin-top:6px}
.permission-delete-mode label:hover{background:#faf7f3}
.permission-delete-mode label.danger-option{background:#fff5f2}
.permission-delete-mode input{width:auto;flex:0 0 auto;margin-top:3px}
.permission-delete-mode span{display:flex;flex-direction:column;gap:2px}
.permission-delete-mode small{color:#6e746f;font-weight:500;line-height:1.35}
.permission-delete-confirm{display:flex;align-items:center;gap:9px;margin-top:12px;padding:10px 12px;border-radius:11px;background:#fff3f3;color:#7c2929}
.permission-delete-confirm input{width:auto;margin:0}
@media(max-width:900px){.permission-case-main-link{width:100%}.permission-case-delete-link{align-self:flex-start}}


/* 3.0.114 · Solicitudes pendientes de asuntos propios por profesor */
.personal-pending-heading{align-items:flex-start;gap:18px}.personal-pending-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.personal-pending-summary span{display:inline-flex;align-items:baseline;gap:5px;padding:8px 11px;border:1px solid #d8e4d5;border-radius:999px;background:#f7faf6;color:#56665b;font-size:.78rem;font-weight:750;white-space:nowrap}.personal-pending-summary strong{color:var(--green);font-size:1rem}.personal-pending-teacher-filter{margin:14px 0 18px;padding:16px 18px;border:1px solid #d8e4d5;border-radius:15px;background:linear-gradient(180deg,#fbfdfb,#f4f8f3)}.personal-pending-teacher-filter>label{margin:0 0 7px;color:#315b35}.personal-pending-teacher-row{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:9px;align-items:center}.personal-pending-teacher-row select{margin:0}.personal-pending-teacher-filter small{display:block;margin-top:7px;color:var(--muted)}.personal-pending-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:115px;padding:22px;border:1px dashed #cbd9c8;border-radius:15px;background:#fafcfa;text-align:center;color:var(--muted)}.personal-pending-empty-state strong{color:#315b35;font-size:1rem}.personal-pending-empty-state.ok{background:#f4fbf4;border-color:#bddcbe}.personal-selected-teacher-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 10px;padding:0 2px}.personal-selected-teacher-heading h3{margin:3px 0 0}.personal-requests-table-filtered td:first-child strong{display:block}.personal-requests-table-filtered td:first-child small{display:block;margin-top:3px;color:#7a877e}.personal-requests-table td small{display:block;margin-top:3px}
@media(max-width:720px){.personal-pending-heading{flex-direction:column}.personal-pending-summary{justify-content:flex-start}.personal-pending-teacher-row{grid-template-columns:1fr}.personal-pending-teacher-row .btn{width:100%;text-align:center}.personal-selected-teacher-heading{align-items:flex-start;flex-direction:column}.personal-requests-table-filtered{min-width:760px}}

/* 3.0.115 · Vista previa del profesorado pendiente en la fecha de gestión */
.personal-manage-actions{max-width:460px}
.personal-manage-date-roster{padding:14px 15px;border:1px solid #cbdcc8;border-radius:15px;background:linear-gradient(180deg,#f9fcf8,#f2f8f1);box-shadow:0 6px 18px rgba(35,79,40,.07)}
.personal-manage-date-roster-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.personal-manage-date-roster-heading>div{display:flex;flex-direction:column;min-width:0}.personal-manage-date-roster-heading span{color:#355a3b;font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.personal-manage-date-roster-heading strong{margin-top:2px;color:#234f28;font-size:1.05rem}.personal-manage-date-roster-heading>b{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#e2f1df;color:#24592b;font-size:.72rem;white-space:nowrap}
.personal-manage-roster-summary{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.personal-manage-roster-summary:empty{display:none}.personal-manage-roster-summary span{padding:3px 7px;border-radius:999px;background:#fff;border:1px solid #d7e3d4;color:#617067;font-size:.66rem;font-weight:800}
.personal-manage-roster-list{display:flex;flex-wrap:wrap;gap:7px;max-height:170px;overflow:auto;margin-top:10px;padding-right:3px}.personal-manage-person-chip{display:flex;flex-direction:column;gap:1px;max-width:100%;padding:7px 9px;border:1px solid #c9dcc6;border-radius:11px;background:#fff;color:#2d4f33}.personal-manage-person-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.75rem}.personal-manage-person-chip small{color:#748078;font-size:.61rem;font-weight:800}.personal-manage-person-chip.kind-unexpected{border-color:#e4c77d;background:#fffaf0}.personal-manage-person-chip.kind-withdrawal{border-color:#ddb9b9;background:#fff7f7}.personal-manage-roster-empty{width:100%;padding:11px;border:1px dashed #c8d7c5;border-radius:10px;color:#6e7d72;background:#fff;text-align:center;font-size:.75rem}.personal-manage-date-roster>small{display:block;margin-top:9px;color:#718076;font-size:.68rem;line-height:1.35}
@media(max-width:1050px){.personal-manage-actions{max-width:none}.personal-manage-roster-list{max-height:none}}

/* 3.0.119 · anulación de firmas por Equipo Directivo */
.guard-unsign-form{display:block;margin-top:6px}.guard-unsign-button{background:#fff4d6!important;color:#765000!important;border:1px solid #e7c76b!important;box-shadow:none!important}.guard-unsign-button:hover{background:#ffeab0!important}

/* 3.0.123 · Aviso visible cuando falta profesorado programado de guardia */
.guard-hour-summary .danger{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}
.guard-absent-alert{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:13px 15px;border:1px solid #f2b8b8;border-left:6px solid #b42318;border-radius:14px;background:#fff1f1;color:#7f1d1d;box-shadow:0 5px 16px rgba(127,29,29,.07)}
.guard-absent-alert-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#b42318;color:#fff;font-size:1.1rem;font-weight:950}
.guard-absent-alert-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.guard-absent-alert-copy strong{font-size:.94rem}.guard-absent-alert-copy span{font-weight:800}.guard-absent-alert-copy small{color:#9b4a4a}
.guard-absent-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#b42318;color:#fff;font-size:.72rem;font-weight:950;letter-spacing:.05em}
.guard-roster-row.absent{background:#fff4f4!important;border-color:#efc0c0!important}.guard-roster-row.absent .guard-roster-person a,.guard-roster-row.absent .guard-roster-person strong{color:#8f1d1d!important}
@media(max-width:700px){.guard-absent-alert{align-items:flex-start}.guard-absent-alert-copy span{font-size:.88rem}}

/* 3.0.124 · Centro de avisos del Equipo Directivo por áreas */
.notification-hubs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.notification-hub{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:92px;padding:15px 16px;border:1px solid #d6e1d3;border-radius:18px;background:#fff;color:#2d4932;text-decoration:none;box-shadow:0 6px 18px rgba(35,79,40,.06);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.notification-hub:hover{transform:translateY(-1px);border-color:#a9c2a6;box-shadow:0 10px 24px rgba(35,79,40,.1)}
.notification-hub.active{border-color:#2f7d32;box-shadow:inset 0 0 0 2px rgba(47,125,50,.1),0 10px 24px rgba(35,79,40,.09)}
.notification-hub-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf5eb;color:#285e31;font-size:1.25rem;font-weight:900}
.notification-hub-copy{min-width:0}.notification-hub-copy strong{display:block;color:#315738;font-size:1rem}.notification-hub-copy small{display:block;margin-top:4px;color:#6f7b72;font-size:.75rem;line-height:1.25}
.notification-hub>b{display:grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border-radius:999px;background:#edf5eb;color:#285e31;font-size:.92rem}
.notification-hub.hub-messages .notification-hub-icon{background:#e6f2fb;color:#175879}.notification-hub.hub-messages>b{background:#e6f2fb;color:#175879}
.notification-hub.hub-absences .notification-hub-icon{background:#fff0e1;color:#8a4c12}.notification-hub.hub-absences>b{background:#fff0e1;color:#8a4c12}
.notification-hub.hub-personal .notification-hub-icon{background:#f2eaf2;color:#74406b}.notification-hub.hub-personal>b{background:#f2eaf2;color:#74406b}
.notification-hub.hub-other .notification-hub-icon{background:#fff4cf;color:#795900}.notification-hub.hub-other>b{background:#fff4cf;color:#795900}
.notification-manager-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.notification-manager-shortcuts a{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #d5e0d3;border-radius:999px;background:#f8faf7;color:#49644d;text-decoration:none;font-size:.82rem;font-weight:800}
.notification-manager-shortcuts a.active{background:#315f38;color:#fff;border-color:#315f38}
.notification-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:18px 2px 10px}.notification-section-heading h2{margin:2px 0 0}.notification-section-heading p{max-width:760px;margin:0;color:#6c786f;font-size:.86rem;line-height:1.4;text-align:right}
.notification-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 5px}.notification-context span,.notification-context em{display:inline-flex;padding:3px 8px;border-radius:999px;font-size:.68rem;font-weight:850;font-style:normal}.notification-context span{background:#edf3eb;color:#426247}.notification-context em{background:#f4eff4;color:#76516f}
.notification-card.is-routine{border-left-color:#b8a6b5;background:linear-gradient(90deg,#fbf8fb,#fff 25%)}
@media(max-width:1180px){.notification-hubs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.notification-hubs{grid-template-columns:1fr}.notification-hub{min-height:78px}.notification-section-heading{align-items:flex-start;flex-direction:column}.notification-section-heading p{text-align:left}.notification-manager-shortcuts{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.notification-manager-shortcuts a{white-space:nowrap}}

/* 2026-10-13 · Orden operativo del cuadrante de guardias */
.guard-active-table .guard-order-section td{padding:8px 12px!important;background:#f4f6f4;border-top:2px solid #d9e0d8;border-bottom:1px solid #dfe5df;text-align:left!important;color:#465149;font-size:.78rem;letter-spacing:.01em}
.guard-active-table .guard-order-section td strong{display:inline-block;margin-right:8px;color:#263c2a;font-size:.82rem}
.guard-active-table .guard-order-section td small{display:inline!important;margin:0!important;color:#6d776f;font-size:.74rem}
.guard-active-table .coverage-order-section td{background:#edf6eb;border-top-color:#b8d3b4}
.guard-active-table .duty-order-section td{background:#f2f0f8;border-top-color:#c6bee2}
.guard-active-table .exception-order-section td{background:#f7f3ec;border-top-color:#dcc9aa}
@media(max-width:760px){.guard-active-table .guard-order-section td small{display:block!important;margin-top:2px!important}}
@media print{.guard-active-table .guard-order-section td{font-size:7px;padding:3px 4px!important}.guard-active-table .guard-order-section td strong{font-size:7px}.guard-active-table .guard-order-section td small{font-size:6.5px}}

/* MDC · Materias por color en horarios del profesorado · 2026-10-16 */
.schedule-entry.teaching.subject-hue-0,.teacher-mobile-class.teaching.subject-hue-0,.schedule-detail-item.teaching.subject-hue-0{--subject-h:0;border-top-color:hsl(0 63% 42%);background:linear-gradient(155deg,hsl(0 82% 98%),hsl(0 62% 91%))}
.schedule-entry.teaching.subject-hue-0 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-0 .schedule-type-pill{background:hsl(0 70% 88%);color:hsl(0 48% 25%)}
.schedule-entry.teaching.subject-hue-1,.teacher-mobile-class.teaching.subject-hue-1,.schedule-detail-item.teaching.subject-hue-1{--subject-h:1;border-top-color:hsl(1 63% 42%);background:linear-gradient(155deg,hsl(1 82% 98%),hsl(1 62% 91%))}
.schedule-entry.teaching.subject-hue-1 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-1 .schedule-type-pill{background:hsl(1 70% 88%);color:hsl(1 48% 25%)}
.schedule-entry.teaching.subject-hue-2,.teacher-mobile-class.teaching.subject-hue-2,.schedule-detail-item.teaching.subject-hue-2{--subject-h:2;border-top-color:hsl(2 63% 42%);background:linear-gradient(155deg,hsl(2 82% 98%),hsl(2 62% 91%))}
.schedule-entry.teaching.subject-hue-2 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-2 .schedule-type-pill{background:hsl(2 70% 88%);color:hsl(2 48% 25%)}
.schedule-entry.teaching.subject-hue-3,.teacher-mobile-class.teaching.subject-hue-3,.schedule-detail-item.teaching.subject-hue-3{--subject-h:3;border-top-color:hsl(3 63% 42%);background:linear-gradient(155deg,hsl(3 82% 98%),hsl(3 62% 91%))}
.schedule-entry.teaching.subject-hue-3 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-3 .schedule-type-pill{background:hsl(3 70% 88%);color:hsl(3 48% 25%)}
.schedule-entry.teaching.subject-hue-4,.teacher-mobile-class.teaching.subject-hue-4,.schedule-detail-item.teaching.subject-hue-4{--subject-h:4;border-top-color:hsl(4 63% 42%);background:linear-gradient(155deg,hsl(4 82% 98%),hsl(4 62% 91%))}
.schedule-entry.teaching.subject-hue-4 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-4 .schedule-type-pill{background:hsl(4 70% 88%);color:hsl(4 48% 25%)}
.schedule-entry.teaching.subject-hue-5,.teacher-mobile-class.teaching.subject-hue-5,.schedule-detail-item.teaching.subject-hue-5{--subject-h:5;border-top-color:hsl(5 63% 42%);background:linear-gradient(155deg,hsl(5 82% 98%),hsl(5 62% 91%))}
.schedule-entry.teaching.subject-hue-5 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-5 .schedule-type-pill{background:hsl(5 70% 88%);color:hsl(5 48% 25%)}
.schedule-entry.teaching.subject-hue-6,.teacher-mobile-class.teaching.subject-hue-6,.schedule-detail-item.teaching.subject-hue-6{--subject-h:6;border-top-color:hsl(6 63% 42%);background:linear-gradient(155deg,hsl(6 82% 98%),hsl(6 62% 91%))}
.schedule-entry.teaching.subject-hue-6 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-6 .schedule-type-pill{background:hsl(6 70% 88%);color:hsl(6 48% 25%)}
.schedule-entry.teaching.subject-hue-7,.teacher-mobile-class.teaching.subject-hue-7,.schedule-detail-item.teaching.subject-hue-7{--subject-h:7;border-top-color:hsl(7 63% 42%);background:linear-gradient(155deg,hsl(7 82% 98%),hsl(7 62% 91%))}
.schedule-entry.teaching.subject-hue-7 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-7 .schedule-type-pill{background:hsl(7 70% 88%);color:hsl(7 48% 25%)}
.schedule-entry.teaching.subject-hue-8,.teacher-mobile-class.teaching.subject-hue-8,.schedule-detail-item.teaching.subject-hue-8{--subject-h:8;border-top-color:hsl(8 63% 42%);background:linear-gradient(155deg,hsl(8 82% 98%),hsl(8 62% 91%))}
.schedule-entry.teaching.subject-hue-8 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-8 .schedule-type-pill{background:hsl(8 70% 88%);color:hsl(8 48% 25%)}
.schedule-entry.teaching.subject-hue-9,.teacher-mobile-class.teaching.subject-hue-9,.schedule-detail-item.teaching.subject-hue-9{--subject-h:9;border-top-color:hsl(9 63% 42%);background:linear-gradient(155deg,hsl(9 82% 98%),hsl(9 62% 91%))}
.schedule-entry.teaching.subject-hue-9 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-9 .schedule-type-pill{background:hsl(9 70% 88%);color:hsl(9 48% 25%)}
.schedule-entry.teaching.subject-hue-10,.teacher-mobile-class.teaching.subject-hue-10,.schedule-detail-item.teaching.subject-hue-10{--subject-h:10;border-top-color:hsl(10 63% 42%);background:linear-gradient(155deg,hsl(10 82% 98%),hsl(10 62% 91%))}
.schedule-entry.teaching.subject-hue-10 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-10 .schedule-type-pill{background:hsl(10 70% 88%);color:hsl(10 48% 25%)}
.schedule-entry.teaching.subject-hue-11,.teacher-mobile-class.teaching.subject-hue-11,.schedule-detail-item.teaching.subject-hue-11{--subject-h:11;border-top-color:hsl(11 63% 42%);background:linear-gradient(155deg,hsl(11 82% 98%),hsl(11 62% 91%))}
.schedule-entry.teaching.subject-hue-11 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-11 .schedule-type-pill{background:hsl(11 70% 88%);color:hsl(11 48% 25%)}
.schedule-entry.teaching.subject-hue-12,.teacher-mobile-class.teaching.subject-hue-12,.schedule-detail-item.teaching.subject-hue-12{--subject-h:12;border-top-color:hsl(12 63% 42%);background:linear-gradient(155deg,hsl(12 82% 98%),hsl(12 62% 91%))}
.schedule-entry.teaching.subject-hue-12 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-12 .schedule-type-pill{background:hsl(12 70% 88%);color:hsl(12 48% 25%)}
.schedule-entry.teaching.subject-hue-13,.teacher-mobile-class.teaching.subject-hue-13,.schedule-detail-item.teaching.subject-hue-13{--subject-h:13;border-top-color:hsl(13 63% 42%);background:linear-gradient(155deg,hsl(13 82% 98%),hsl(13 62% 91%))}
.schedule-entry.teaching.subject-hue-13 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-13 .schedule-type-pill{background:hsl(13 70% 88%);color:hsl(13 48% 25%)}
.schedule-entry.teaching.subject-hue-14,.teacher-mobile-class.teaching.subject-hue-14,.schedule-detail-item.teaching.subject-hue-14{--subject-h:14;border-top-color:hsl(14 63% 42%);background:linear-gradient(155deg,hsl(14 82% 98%),hsl(14 62% 91%))}
.schedule-entry.teaching.subject-hue-14 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-14 .schedule-type-pill{background:hsl(14 70% 88%);color:hsl(14 48% 25%)}
.schedule-entry.teaching.subject-hue-15,.teacher-mobile-class.teaching.subject-hue-15,.schedule-detail-item.teaching.subject-hue-15{--subject-h:15;border-top-color:hsl(15 63% 42%);background:linear-gradient(155deg,hsl(15 82% 98%),hsl(15 62% 91%))}
.schedule-entry.teaching.subject-hue-15 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-15 .schedule-type-pill{background:hsl(15 70% 88%);color:hsl(15 48% 25%)}
.schedule-entry.teaching.subject-hue-16,.teacher-mobile-class.teaching.subject-hue-16,.schedule-detail-item.teaching.subject-hue-16{--subject-h:16;border-top-color:hsl(16 63% 42%);background:linear-gradient(155deg,hsl(16 82% 98%),hsl(16 62% 91%))}
.schedule-entry.teaching.subject-hue-16 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-16 .schedule-type-pill{background:hsl(16 70% 88%);color:hsl(16 48% 25%)}
.schedule-entry.teaching.subject-hue-17,.teacher-mobile-class.teaching.subject-hue-17,.schedule-detail-item.teaching.subject-hue-17{--subject-h:17;border-top-color:hsl(17 63% 42%);background:linear-gradient(155deg,hsl(17 82% 98%),hsl(17 62% 91%))}
.schedule-entry.teaching.subject-hue-17 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-17 .schedule-type-pill{background:hsl(17 70% 88%);color:hsl(17 48% 25%)}
.schedule-entry.teaching.subject-hue-18,.teacher-mobile-class.teaching.subject-hue-18,.schedule-detail-item.teaching.subject-hue-18{--subject-h:18;border-top-color:hsl(18 63% 42%);background:linear-gradient(155deg,hsl(18 82% 98%),hsl(18 62% 91%))}
.schedule-entry.teaching.subject-hue-18 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-18 .schedule-type-pill{background:hsl(18 70% 88%);color:hsl(18 48% 25%)}
.schedule-entry.teaching.subject-hue-19,.teacher-mobile-class.teaching.subject-hue-19,.schedule-detail-item.teaching.subject-hue-19{--subject-h:19;border-top-color:hsl(19 63% 42%);background:linear-gradient(155deg,hsl(19 82% 98%),hsl(19 62% 91%))}
.schedule-entry.teaching.subject-hue-19 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-19 .schedule-type-pill{background:hsl(19 70% 88%);color:hsl(19 48% 25%)}
.schedule-entry.teaching.subject-hue-20,.teacher-mobile-class.teaching.subject-hue-20,.schedule-detail-item.teaching.subject-hue-20{--subject-h:20;border-top-color:hsl(20 63% 42%);background:linear-gradient(155deg,hsl(20 82% 98%),hsl(20 62% 91%))}
.schedule-entry.teaching.subject-hue-20 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-20 .schedule-type-pill{background:hsl(20 70% 88%);color:hsl(20 48% 25%)}
.schedule-entry.teaching.subject-hue-21,.teacher-mobile-class.teaching.subject-hue-21,.schedule-detail-item.teaching.subject-hue-21{--subject-h:21;border-top-color:hsl(21 63% 42%);background:linear-gradient(155deg,hsl(21 82% 98%),hsl(21 62% 91%))}
.schedule-entry.teaching.subject-hue-21 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-21 .schedule-type-pill{background:hsl(21 70% 88%);color:hsl(21 48% 25%)}
.schedule-entry.teaching.subject-hue-22,.teacher-mobile-class.teaching.subject-hue-22,.schedule-detail-item.teaching.subject-hue-22{--subject-h:22;border-top-color:hsl(22 63% 42%);background:linear-gradient(155deg,hsl(22 82% 98%),hsl(22 62% 91%))}
.schedule-entry.teaching.subject-hue-22 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-22 .schedule-type-pill{background:hsl(22 70% 88%);color:hsl(22 48% 25%)}
.schedule-entry.teaching.subject-hue-23,.teacher-mobile-class.teaching.subject-hue-23,.schedule-detail-item.teaching.subject-hue-23{--subject-h:23;border-top-color:hsl(23 63% 42%);background:linear-gradient(155deg,hsl(23 82% 98%),hsl(23 62% 91%))}
.schedule-entry.teaching.subject-hue-23 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-23 .schedule-type-pill{background:hsl(23 70% 88%);color:hsl(23 48% 25%)}
.schedule-entry.teaching.subject-hue-24,.teacher-mobile-class.teaching.subject-hue-24,.schedule-detail-item.teaching.subject-hue-24{--subject-h:24;border-top-color:hsl(24 63% 42%);background:linear-gradient(155deg,hsl(24 82% 98%),hsl(24 62% 91%))}
.schedule-entry.teaching.subject-hue-24 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-24 .schedule-type-pill{background:hsl(24 70% 88%);color:hsl(24 48% 25%)}
.schedule-entry.teaching.subject-hue-25,.teacher-mobile-class.teaching.subject-hue-25,.schedule-detail-item.teaching.subject-hue-25{--subject-h:25;border-top-color:hsl(25 63% 42%);background:linear-gradient(155deg,hsl(25 82% 98%),hsl(25 62% 91%))}
.schedule-entry.teaching.subject-hue-25 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-25 .schedule-type-pill{background:hsl(25 70% 88%);color:hsl(25 48% 25%)}
.schedule-entry.teaching.subject-hue-26,.teacher-mobile-class.teaching.subject-hue-26,.schedule-detail-item.teaching.subject-hue-26{--subject-h:26;border-top-color:hsl(26 63% 42%);background:linear-gradient(155deg,hsl(26 82% 98%),hsl(26 62% 91%))}
.schedule-entry.teaching.subject-hue-26 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-26 .schedule-type-pill{background:hsl(26 70% 88%);color:hsl(26 48% 25%)}
.schedule-entry.teaching.subject-hue-27,.teacher-mobile-class.teaching.subject-hue-27,.schedule-detail-item.teaching.subject-hue-27{--subject-h:27;border-top-color:hsl(27 63% 42%);background:linear-gradient(155deg,hsl(27 82% 98%),hsl(27 62% 91%))}
.schedule-entry.teaching.subject-hue-27 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-27 .schedule-type-pill{background:hsl(27 70% 88%);color:hsl(27 48% 25%)}
.schedule-entry.teaching.subject-hue-28,.teacher-mobile-class.teaching.subject-hue-28,.schedule-detail-item.teaching.subject-hue-28{--subject-h:28;border-top-color:hsl(28 63% 42%);background:linear-gradient(155deg,hsl(28 82% 98%),hsl(28 62% 91%))}
.schedule-entry.teaching.subject-hue-28 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-28 .schedule-type-pill{background:hsl(28 70% 88%);color:hsl(28 48% 25%)}
.schedule-entry.teaching.subject-hue-29,.teacher-mobile-class.teaching.subject-hue-29,.schedule-detail-item.teaching.subject-hue-29{--subject-h:29;border-top-color:hsl(29 63% 42%);background:linear-gradient(155deg,hsl(29 82% 98%),hsl(29 62% 91%))}
.schedule-entry.teaching.subject-hue-29 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-29 .schedule-type-pill{background:hsl(29 70% 88%);color:hsl(29 48% 25%)}
.schedule-entry.teaching.subject-hue-30,.teacher-mobile-class.teaching.subject-hue-30,.schedule-detail-item.teaching.subject-hue-30{--subject-h:30;border-top-color:hsl(30 63% 42%);background:linear-gradient(155deg,hsl(30 82% 98%),hsl(30 62% 91%))}
.schedule-entry.teaching.subject-hue-30 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-30 .schedule-type-pill{background:hsl(30 70% 88%);color:hsl(30 48% 25%)}
.schedule-entry.teaching.subject-hue-31,.teacher-mobile-class.teaching.subject-hue-31,.schedule-detail-item.teaching.subject-hue-31{--subject-h:31;border-top-color:hsl(31 63% 42%);background:linear-gradient(155deg,hsl(31 82% 98%),hsl(31 62% 91%))}
.schedule-entry.teaching.subject-hue-31 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-31 .schedule-type-pill{background:hsl(31 70% 88%);color:hsl(31 48% 25%)}
.schedule-entry.teaching.subject-hue-32,.teacher-mobile-class.teaching.subject-hue-32,.schedule-detail-item.teaching.subject-hue-32{--subject-h:32;border-top-color:hsl(32 63% 42%);background:linear-gradient(155deg,hsl(32 82% 98%),hsl(32 62% 91%))}
.schedule-entry.teaching.subject-hue-32 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-32 .schedule-type-pill{background:hsl(32 70% 88%);color:hsl(32 48% 25%)}
.schedule-entry.teaching.subject-hue-33,.teacher-mobile-class.teaching.subject-hue-33,.schedule-detail-item.teaching.subject-hue-33{--subject-h:33;border-top-color:hsl(33 63% 42%);background:linear-gradient(155deg,hsl(33 82% 98%),hsl(33 62% 91%))}
.schedule-entry.teaching.subject-hue-33 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-33 .schedule-type-pill{background:hsl(33 70% 88%);color:hsl(33 48% 25%)}
.schedule-entry.teaching.subject-hue-34,.teacher-mobile-class.teaching.subject-hue-34,.schedule-detail-item.teaching.subject-hue-34{--subject-h:34;border-top-color:hsl(34 63% 42%);background:linear-gradient(155deg,hsl(34 82% 98%),hsl(34 62% 91%))}
.schedule-entry.teaching.subject-hue-34 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-34 .schedule-type-pill{background:hsl(34 70% 88%);color:hsl(34 48% 25%)}
.schedule-entry.teaching.subject-hue-35,.teacher-mobile-class.teaching.subject-hue-35,.schedule-detail-item.teaching.subject-hue-35{--subject-h:35;border-top-color:hsl(35 63% 42%);background:linear-gradient(155deg,hsl(35 82% 98%),hsl(35 62% 91%))}
.schedule-entry.teaching.subject-hue-35 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-35 .schedule-type-pill{background:hsl(35 70% 88%);color:hsl(35 48% 25%)}
.schedule-entry.teaching.subject-hue-36,.teacher-mobile-class.teaching.subject-hue-36,.schedule-detail-item.teaching.subject-hue-36{--subject-h:36;border-top-color:hsl(36 63% 42%);background:linear-gradient(155deg,hsl(36 82% 98%),hsl(36 62% 91%))}
.schedule-entry.teaching.subject-hue-36 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-36 .schedule-type-pill{background:hsl(36 70% 88%);color:hsl(36 48% 25%)}
.schedule-entry.teaching.subject-hue-37,.teacher-mobile-class.teaching.subject-hue-37,.schedule-detail-item.teaching.subject-hue-37{--subject-h:37;border-top-color:hsl(37 63% 42%);background:linear-gradient(155deg,hsl(37 82% 98%),hsl(37 62% 91%))}
.schedule-entry.teaching.subject-hue-37 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-37 .schedule-type-pill{background:hsl(37 70% 88%);color:hsl(37 48% 25%)}
.schedule-entry.teaching.subject-hue-38,.teacher-mobile-class.teaching.subject-hue-38,.schedule-detail-item.teaching.subject-hue-38{--subject-h:38;border-top-color:hsl(38 63% 42%);background:linear-gradient(155deg,hsl(38 82% 98%),hsl(38 62% 91%))}
.schedule-entry.teaching.subject-hue-38 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-38 .schedule-type-pill{background:hsl(38 70% 88%);color:hsl(38 48% 25%)}
.schedule-entry.teaching.subject-hue-39,.teacher-mobile-class.teaching.subject-hue-39,.schedule-detail-item.teaching.subject-hue-39{--subject-h:39;border-top-color:hsl(39 63% 42%);background:linear-gradient(155deg,hsl(39 82% 98%),hsl(39 62% 91%))}
.schedule-entry.teaching.subject-hue-39 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-39 .schedule-type-pill{background:hsl(39 70% 88%);color:hsl(39 48% 25%)}
.schedule-entry.teaching.subject-hue-40,.teacher-mobile-class.teaching.subject-hue-40,.schedule-detail-item.teaching.subject-hue-40{--subject-h:40;border-top-color:hsl(40 63% 42%);background:linear-gradient(155deg,hsl(40 82% 98%),hsl(40 62% 91%))}
.schedule-entry.teaching.subject-hue-40 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-40 .schedule-type-pill{background:hsl(40 70% 88%);color:hsl(40 48% 25%)}
.schedule-entry.teaching.subject-hue-41,.teacher-mobile-class.teaching.subject-hue-41,.schedule-detail-item.teaching.subject-hue-41{--subject-h:41;border-top-color:hsl(41 63% 42%);background:linear-gradient(155deg,hsl(41 82% 98%),hsl(41 62% 91%))}
.schedule-entry.teaching.subject-hue-41 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-41 .schedule-type-pill{background:hsl(41 70% 88%);color:hsl(41 48% 25%)}
.schedule-entry.teaching.subject-hue-42,.teacher-mobile-class.teaching.subject-hue-42,.schedule-detail-item.teaching.subject-hue-42{--subject-h:42;border-top-color:hsl(42 63% 42%);background:linear-gradient(155deg,hsl(42 82% 98%),hsl(42 62% 91%))}
.schedule-entry.teaching.subject-hue-42 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-42 .schedule-type-pill{background:hsl(42 70% 88%);color:hsl(42 48% 25%)}
.schedule-entry.teaching.subject-hue-43,.teacher-mobile-class.teaching.subject-hue-43,.schedule-detail-item.teaching.subject-hue-43{--subject-h:43;border-top-color:hsl(43 63% 42%);background:linear-gradient(155deg,hsl(43 82% 98%),hsl(43 62% 91%))}
.schedule-entry.teaching.subject-hue-43 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-43 .schedule-type-pill{background:hsl(43 70% 88%);color:hsl(43 48% 25%)}
.schedule-entry.teaching.subject-hue-44,.teacher-mobile-class.teaching.subject-hue-44,.schedule-detail-item.teaching.subject-hue-44{--subject-h:44;border-top-color:hsl(44 63% 42%);background:linear-gradient(155deg,hsl(44 82% 98%),hsl(44 62% 91%))}
.schedule-entry.teaching.subject-hue-44 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-44 .schedule-type-pill{background:hsl(44 70% 88%);color:hsl(44 48% 25%)}
.schedule-entry.teaching.subject-hue-45,.teacher-mobile-class.teaching.subject-hue-45,.schedule-detail-item.teaching.subject-hue-45{--subject-h:45;border-top-color:hsl(45 63% 42%);background:linear-gradient(155deg,hsl(45 82% 98%),hsl(45 62% 91%))}
.schedule-entry.teaching.subject-hue-45 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-45 .schedule-type-pill{background:hsl(45 70% 88%);color:hsl(45 48% 25%)}
.schedule-entry.teaching.subject-hue-46,.teacher-mobile-class.teaching.subject-hue-46,.schedule-detail-item.teaching.subject-hue-46{--subject-h:46;border-top-color:hsl(46 63% 42%);background:linear-gradient(155deg,hsl(46 82% 98%),hsl(46 62% 91%))}
.schedule-entry.teaching.subject-hue-46 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-46 .schedule-type-pill{background:hsl(46 70% 88%);color:hsl(46 48% 25%)}
.schedule-entry.teaching.subject-hue-47,.teacher-mobile-class.teaching.subject-hue-47,.schedule-detail-item.teaching.subject-hue-47{--subject-h:47;border-top-color:hsl(47 63% 42%);background:linear-gradient(155deg,hsl(47 82% 98%),hsl(47 62% 91%))}
.schedule-entry.teaching.subject-hue-47 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-47 .schedule-type-pill{background:hsl(47 70% 88%);color:hsl(47 48% 25%)}
.schedule-entry.teaching.subject-hue-48,.teacher-mobile-class.teaching.subject-hue-48,.schedule-detail-item.teaching.subject-hue-48{--subject-h:48;border-top-color:hsl(48 63% 42%);background:linear-gradient(155deg,hsl(48 82% 98%),hsl(48 62% 91%))}
.schedule-entry.teaching.subject-hue-48 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-48 .schedule-type-pill{background:hsl(48 70% 88%);color:hsl(48 48% 25%)}
.schedule-entry.teaching.subject-hue-49,.teacher-mobile-class.teaching.subject-hue-49,.schedule-detail-item.teaching.subject-hue-49{--subject-h:49;border-top-color:hsl(49 63% 42%);background:linear-gradient(155deg,hsl(49 82% 98%),hsl(49 62% 91%))}
.schedule-entry.teaching.subject-hue-49 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-49 .schedule-type-pill{background:hsl(49 70% 88%);color:hsl(49 48% 25%)}
.schedule-entry.teaching.subject-hue-50,.teacher-mobile-class.teaching.subject-hue-50,.schedule-detail-item.teaching.subject-hue-50{--subject-h:50;border-top-color:hsl(50 63% 42%);background:linear-gradient(155deg,hsl(50 82% 98%),hsl(50 62% 91%))}
.schedule-entry.teaching.subject-hue-50 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-50 .schedule-type-pill{background:hsl(50 70% 88%);color:hsl(50 48% 25%)}
.schedule-entry.teaching.subject-hue-51,.teacher-mobile-class.teaching.subject-hue-51,.schedule-detail-item.teaching.subject-hue-51{--subject-h:51;border-top-color:hsl(51 63% 42%);background:linear-gradient(155deg,hsl(51 82% 98%),hsl(51 62% 91%))}
.schedule-entry.teaching.subject-hue-51 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-51 .schedule-type-pill{background:hsl(51 70% 88%);color:hsl(51 48% 25%)}
.schedule-entry.teaching.subject-hue-52,.teacher-mobile-class.teaching.subject-hue-52,.schedule-detail-item.teaching.subject-hue-52{--subject-h:52;border-top-color:hsl(52 63% 42%);background:linear-gradient(155deg,hsl(52 82% 98%),hsl(52 62% 91%))}
.schedule-entry.teaching.subject-hue-52 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-52 .schedule-type-pill{background:hsl(52 70% 88%);color:hsl(52 48% 25%)}
.schedule-entry.teaching.subject-hue-53,.teacher-mobile-class.teaching.subject-hue-53,.schedule-detail-item.teaching.subject-hue-53{--subject-h:53;border-top-color:hsl(53 63% 42%);background:linear-gradient(155deg,hsl(53 82% 98%),hsl(53 62% 91%))}
.schedule-entry.teaching.subject-hue-53 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-53 .schedule-type-pill{background:hsl(53 70% 88%);color:hsl(53 48% 25%)}
.schedule-entry.teaching.subject-hue-54,.teacher-mobile-class.teaching.subject-hue-54,.schedule-detail-item.teaching.subject-hue-54{--subject-h:54;border-top-color:hsl(54 63% 42%);background:linear-gradient(155deg,hsl(54 82% 98%),hsl(54 62% 91%))}
.schedule-entry.teaching.subject-hue-54 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-54 .schedule-type-pill{background:hsl(54 70% 88%);color:hsl(54 48% 25%)}
.schedule-entry.teaching.subject-hue-55,.teacher-mobile-class.teaching.subject-hue-55,.schedule-detail-item.teaching.subject-hue-55{--subject-h:55;border-top-color:hsl(55 63% 42%);background:linear-gradient(155deg,hsl(55 82% 98%),hsl(55 62% 91%))}
.schedule-entry.teaching.subject-hue-55 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-55 .schedule-type-pill{background:hsl(55 70% 88%);color:hsl(55 48% 25%)}
.schedule-entry.teaching.subject-hue-56,.teacher-mobile-class.teaching.subject-hue-56,.schedule-detail-item.teaching.subject-hue-56{--subject-h:56;border-top-color:hsl(56 63% 42%);background:linear-gradient(155deg,hsl(56 82% 98%),hsl(56 62% 91%))}
.schedule-entry.teaching.subject-hue-56 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-56 .schedule-type-pill{background:hsl(56 70% 88%);color:hsl(56 48% 25%)}
.schedule-entry.teaching.subject-hue-57,.teacher-mobile-class.teaching.subject-hue-57,.schedule-detail-item.teaching.subject-hue-57{--subject-h:57;border-top-color:hsl(57 63% 42%);background:linear-gradient(155deg,hsl(57 82% 98%),hsl(57 62% 91%))}
.schedule-entry.teaching.subject-hue-57 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-57 .schedule-type-pill{background:hsl(57 70% 88%);color:hsl(57 48% 25%)}
.schedule-entry.teaching.subject-hue-58,.teacher-mobile-class.teaching.subject-hue-58,.schedule-detail-item.teaching.subject-hue-58{--subject-h:58;border-top-color:hsl(58 63% 42%);background:linear-gradient(155deg,hsl(58 82% 98%),hsl(58 62% 91%))}
.schedule-entry.teaching.subject-hue-58 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-58 .schedule-type-pill{background:hsl(58 70% 88%);color:hsl(58 48% 25%)}
.schedule-entry.teaching.subject-hue-59,.teacher-mobile-class.teaching.subject-hue-59,.schedule-detail-item.teaching.subject-hue-59{--subject-h:59;border-top-color:hsl(59 63% 42%);background:linear-gradient(155deg,hsl(59 82% 98%),hsl(59 62% 91%))}
.schedule-entry.teaching.subject-hue-59 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-59 .schedule-type-pill{background:hsl(59 70% 88%);color:hsl(59 48% 25%)}
.schedule-entry.teaching.subject-hue-60,.teacher-mobile-class.teaching.subject-hue-60,.schedule-detail-item.teaching.subject-hue-60{--subject-h:60;border-top-color:hsl(60 63% 42%);background:linear-gradient(155deg,hsl(60 82% 98%),hsl(60 62% 91%))}
.schedule-entry.teaching.subject-hue-60 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-60 .schedule-type-pill{background:hsl(60 70% 88%);color:hsl(60 48% 25%)}
.schedule-entry.teaching.subject-hue-61,.teacher-mobile-class.teaching.subject-hue-61,.schedule-detail-item.teaching.subject-hue-61{--subject-h:61;border-top-color:hsl(61 63% 42%);background:linear-gradient(155deg,hsl(61 82% 98%),hsl(61 62% 91%))}
.schedule-entry.teaching.subject-hue-61 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-61 .schedule-type-pill{background:hsl(61 70% 88%);color:hsl(61 48% 25%)}
.schedule-entry.teaching.subject-hue-62,.teacher-mobile-class.teaching.subject-hue-62,.schedule-detail-item.teaching.subject-hue-62{--subject-h:62;border-top-color:hsl(62 63% 42%);background:linear-gradient(155deg,hsl(62 82% 98%),hsl(62 62% 91%))}
.schedule-entry.teaching.subject-hue-62 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-62 .schedule-type-pill{background:hsl(62 70% 88%);color:hsl(62 48% 25%)}
.schedule-entry.teaching.subject-hue-63,.teacher-mobile-class.teaching.subject-hue-63,.schedule-detail-item.teaching.subject-hue-63{--subject-h:63;border-top-color:hsl(63 63% 42%);background:linear-gradient(155deg,hsl(63 82% 98%),hsl(63 62% 91%))}
.schedule-entry.teaching.subject-hue-63 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-63 .schedule-type-pill{background:hsl(63 70% 88%);color:hsl(63 48% 25%)}
.schedule-entry.teaching.subject-hue-64,.teacher-mobile-class.teaching.subject-hue-64,.schedule-detail-item.teaching.subject-hue-64{--subject-h:64;border-top-color:hsl(64 63% 42%);background:linear-gradient(155deg,hsl(64 82% 98%),hsl(64 62% 91%))}
.schedule-entry.teaching.subject-hue-64 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-64 .schedule-type-pill{background:hsl(64 70% 88%);color:hsl(64 48% 25%)}
.schedule-entry.teaching.subject-hue-65,.teacher-mobile-class.teaching.subject-hue-65,.schedule-detail-item.teaching.subject-hue-65{--subject-h:65;border-top-color:hsl(65 63% 42%);background:linear-gradient(155deg,hsl(65 82% 98%),hsl(65 62% 91%))}
.schedule-entry.teaching.subject-hue-65 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-65 .schedule-type-pill{background:hsl(65 70% 88%);color:hsl(65 48% 25%)}
.schedule-entry.teaching.subject-hue-66,.teacher-mobile-class.teaching.subject-hue-66,.schedule-detail-item.teaching.subject-hue-66{--subject-h:66;border-top-color:hsl(66 63% 42%);background:linear-gradient(155deg,hsl(66 82% 98%),hsl(66 62% 91%))}
.schedule-entry.teaching.subject-hue-66 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-66 .schedule-type-pill{background:hsl(66 70% 88%);color:hsl(66 48% 25%)}
.schedule-entry.teaching.subject-hue-67,.teacher-mobile-class.teaching.subject-hue-67,.schedule-detail-item.teaching.subject-hue-67{--subject-h:67;border-top-color:hsl(67 63% 42%);background:linear-gradient(155deg,hsl(67 82% 98%),hsl(67 62% 91%))}
.schedule-entry.teaching.subject-hue-67 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-67 .schedule-type-pill{background:hsl(67 70% 88%);color:hsl(67 48% 25%)}
.schedule-entry.teaching.subject-hue-68,.teacher-mobile-class.teaching.subject-hue-68,.schedule-detail-item.teaching.subject-hue-68{--subject-h:68;border-top-color:hsl(68 63% 42%);background:linear-gradient(155deg,hsl(68 82% 98%),hsl(68 62% 91%))}
.schedule-entry.teaching.subject-hue-68 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-68 .schedule-type-pill{background:hsl(68 70% 88%);color:hsl(68 48% 25%)}
.schedule-entry.teaching.subject-hue-69,.teacher-mobile-class.teaching.subject-hue-69,.schedule-detail-item.teaching.subject-hue-69{--subject-h:69;border-top-color:hsl(69 63% 42%);background:linear-gradient(155deg,hsl(69 82% 98%),hsl(69 62% 91%))}
.schedule-entry.teaching.subject-hue-69 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-69 .schedule-type-pill{background:hsl(69 70% 88%);color:hsl(69 48% 25%)}
.schedule-entry.teaching.subject-hue-70,.teacher-mobile-class.teaching.subject-hue-70,.schedule-detail-item.teaching.subject-hue-70{--subject-h:70;border-top-color:hsl(70 63% 42%);background:linear-gradient(155deg,hsl(70 82% 98%),hsl(70 62% 91%))}
.schedule-entry.teaching.subject-hue-70 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-70 .schedule-type-pill{background:hsl(70 70% 88%);color:hsl(70 48% 25%)}
.schedule-entry.teaching.subject-hue-71,.teacher-mobile-class.teaching.subject-hue-71,.schedule-detail-item.teaching.subject-hue-71{--subject-h:71;border-top-color:hsl(71 63% 42%);background:linear-gradient(155deg,hsl(71 82% 98%),hsl(71 62% 91%))}
.schedule-entry.teaching.subject-hue-71 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-71 .schedule-type-pill{background:hsl(71 70% 88%);color:hsl(71 48% 25%)}
.schedule-entry.teaching.subject-hue-72,.teacher-mobile-class.teaching.subject-hue-72,.schedule-detail-item.teaching.subject-hue-72{--subject-h:72;border-top-color:hsl(72 63% 42%);background:linear-gradient(155deg,hsl(72 82% 98%),hsl(72 62% 91%))}
.schedule-entry.teaching.subject-hue-72 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-72 .schedule-type-pill{background:hsl(72 70% 88%);color:hsl(72 48% 25%)}
.schedule-entry.teaching.subject-hue-73,.teacher-mobile-class.teaching.subject-hue-73,.schedule-detail-item.teaching.subject-hue-73{--subject-h:73;border-top-color:hsl(73 63% 42%);background:linear-gradient(155deg,hsl(73 82% 98%),hsl(73 62% 91%))}
.schedule-entry.teaching.subject-hue-73 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-73 .schedule-type-pill{background:hsl(73 70% 88%);color:hsl(73 48% 25%)}
.schedule-entry.teaching.subject-hue-74,.teacher-mobile-class.teaching.subject-hue-74,.schedule-detail-item.teaching.subject-hue-74{--subject-h:74;border-top-color:hsl(74 63% 42%);background:linear-gradient(155deg,hsl(74 82% 98%),hsl(74 62% 91%))}
.schedule-entry.teaching.subject-hue-74 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-74 .schedule-type-pill{background:hsl(74 70% 88%);color:hsl(74 48% 25%)}
.schedule-entry.teaching.subject-hue-75,.teacher-mobile-class.teaching.subject-hue-75,.schedule-detail-item.teaching.subject-hue-75{--subject-h:75;border-top-color:hsl(75 63% 42%);background:linear-gradient(155deg,hsl(75 82% 98%),hsl(75 62% 91%))}
.schedule-entry.teaching.subject-hue-75 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-75 .schedule-type-pill{background:hsl(75 70% 88%);color:hsl(75 48% 25%)}
.schedule-entry.teaching.subject-hue-76,.teacher-mobile-class.teaching.subject-hue-76,.schedule-detail-item.teaching.subject-hue-76{--subject-h:76;border-top-color:hsl(76 63% 42%);background:linear-gradient(155deg,hsl(76 82% 98%),hsl(76 62% 91%))}
.schedule-entry.teaching.subject-hue-76 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-76 .schedule-type-pill{background:hsl(76 70% 88%);color:hsl(76 48% 25%)}
.schedule-entry.teaching.subject-hue-77,.teacher-mobile-class.teaching.subject-hue-77,.schedule-detail-item.teaching.subject-hue-77{--subject-h:77;border-top-color:hsl(77 63% 42%);background:linear-gradient(155deg,hsl(77 82% 98%),hsl(77 62% 91%))}
.schedule-entry.teaching.subject-hue-77 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-77 .schedule-type-pill{background:hsl(77 70% 88%);color:hsl(77 48% 25%)}
.schedule-entry.teaching.subject-hue-78,.teacher-mobile-class.teaching.subject-hue-78,.schedule-detail-item.teaching.subject-hue-78{--subject-h:78;border-top-color:hsl(78 63% 42%);background:linear-gradient(155deg,hsl(78 82% 98%),hsl(78 62% 91%))}
.schedule-entry.teaching.subject-hue-78 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-78 .schedule-type-pill{background:hsl(78 70% 88%);color:hsl(78 48% 25%)}
.schedule-entry.teaching.subject-hue-79,.teacher-mobile-class.teaching.subject-hue-79,.schedule-detail-item.teaching.subject-hue-79{--subject-h:79;border-top-color:hsl(79 63% 42%);background:linear-gradient(155deg,hsl(79 82% 98%),hsl(79 62% 91%))}
.schedule-entry.teaching.subject-hue-79 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-79 .schedule-type-pill{background:hsl(79 70% 88%);color:hsl(79 48% 25%)}
.schedule-entry.teaching.subject-hue-80,.teacher-mobile-class.teaching.subject-hue-80,.schedule-detail-item.teaching.subject-hue-80{--subject-h:80;border-top-color:hsl(80 63% 42%);background:linear-gradient(155deg,hsl(80 82% 98%),hsl(80 62% 91%))}
.schedule-entry.teaching.subject-hue-80 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-80 .schedule-type-pill{background:hsl(80 70% 88%);color:hsl(80 48% 25%)}
.schedule-entry.teaching.subject-hue-81,.teacher-mobile-class.teaching.subject-hue-81,.schedule-detail-item.teaching.subject-hue-81{--subject-h:81;border-top-color:hsl(81 63% 42%);background:linear-gradient(155deg,hsl(81 82% 98%),hsl(81 62% 91%))}
.schedule-entry.teaching.subject-hue-81 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-81 .schedule-type-pill{background:hsl(81 70% 88%);color:hsl(81 48% 25%)}
.schedule-entry.teaching.subject-hue-82,.teacher-mobile-class.teaching.subject-hue-82,.schedule-detail-item.teaching.subject-hue-82{--subject-h:82;border-top-color:hsl(82 63% 42%);background:linear-gradient(155deg,hsl(82 82% 98%),hsl(82 62% 91%))}
.schedule-entry.teaching.subject-hue-82 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-82 .schedule-type-pill{background:hsl(82 70% 88%);color:hsl(82 48% 25%)}
.schedule-entry.teaching.subject-hue-83,.teacher-mobile-class.teaching.subject-hue-83,.schedule-detail-item.teaching.subject-hue-83{--subject-h:83;border-top-color:hsl(83 63% 42%);background:linear-gradient(155deg,hsl(83 82% 98%),hsl(83 62% 91%))}
.schedule-entry.teaching.subject-hue-83 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-83 .schedule-type-pill{background:hsl(83 70% 88%);color:hsl(83 48% 25%)}
.schedule-entry.teaching.subject-hue-84,.teacher-mobile-class.teaching.subject-hue-84,.schedule-detail-item.teaching.subject-hue-84{--subject-h:84;border-top-color:hsl(84 63% 42%);background:linear-gradient(155deg,hsl(84 82% 98%),hsl(84 62% 91%))}
.schedule-entry.teaching.subject-hue-84 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-84 .schedule-type-pill{background:hsl(84 70% 88%);color:hsl(84 48% 25%)}
.schedule-entry.teaching.subject-hue-85,.teacher-mobile-class.teaching.subject-hue-85,.schedule-detail-item.teaching.subject-hue-85{--subject-h:85;border-top-color:hsl(85 63% 42%);background:linear-gradient(155deg,hsl(85 82% 98%),hsl(85 62% 91%))}
.schedule-entry.teaching.subject-hue-85 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-85 .schedule-type-pill{background:hsl(85 70% 88%);color:hsl(85 48% 25%)}
.schedule-entry.teaching.subject-hue-86,.teacher-mobile-class.teaching.subject-hue-86,.schedule-detail-item.teaching.subject-hue-86{--subject-h:86;border-top-color:hsl(86 63% 42%);background:linear-gradient(155deg,hsl(86 82% 98%),hsl(86 62% 91%))}
.schedule-entry.teaching.subject-hue-86 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-86 .schedule-type-pill{background:hsl(86 70% 88%);color:hsl(86 48% 25%)}
.schedule-entry.teaching.subject-hue-87,.teacher-mobile-class.teaching.subject-hue-87,.schedule-detail-item.teaching.subject-hue-87{--subject-h:87;border-top-color:hsl(87 63% 42%);background:linear-gradient(155deg,hsl(87 82% 98%),hsl(87 62% 91%))}
.schedule-entry.teaching.subject-hue-87 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-87 .schedule-type-pill{background:hsl(87 70% 88%);color:hsl(87 48% 25%)}
.schedule-entry.teaching.subject-hue-88,.teacher-mobile-class.teaching.subject-hue-88,.schedule-detail-item.teaching.subject-hue-88{--subject-h:88;border-top-color:hsl(88 63% 42%);background:linear-gradient(155deg,hsl(88 82% 98%),hsl(88 62% 91%))}
.schedule-entry.teaching.subject-hue-88 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-88 .schedule-type-pill{background:hsl(88 70% 88%);color:hsl(88 48% 25%)}
.schedule-entry.teaching.subject-hue-89,.teacher-mobile-class.teaching.subject-hue-89,.schedule-detail-item.teaching.subject-hue-89{--subject-h:89;border-top-color:hsl(89 63% 42%);background:linear-gradient(155deg,hsl(89 82% 98%),hsl(89 62% 91%))}
.schedule-entry.teaching.subject-hue-89 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-89 .schedule-type-pill{background:hsl(89 70% 88%);color:hsl(89 48% 25%)}
.schedule-entry.teaching.subject-hue-90,.teacher-mobile-class.teaching.subject-hue-90,.schedule-detail-item.teaching.subject-hue-90{--subject-h:90;border-top-color:hsl(90 63% 42%);background:linear-gradient(155deg,hsl(90 82% 98%),hsl(90 62% 91%))}
.schedule-entry.teaching.subject-hue-90 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-90 .schedule-type-pill{background:hsl(90 70% 88%);color:hsl(90 48% 25%)}
.schedule-entry.teaching.subject-hue-91,.teacher-mobile-class.teaching.subject-hue-91,.schedule-detail-item.teaching.subject-hue-91{--subject-h:91;border-top-color:hsl(91 63% 42%);background:linear-gradient(155deg,hsl(91 82% 98%),hsl(91 62% 91%))}
.schedule-entry.teaching.subject-hue-91 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-91 .schedule-type-pill{background:hsl(91 70% 88%);color:hsl(91 48% 25%)}
.schedule-entry.teaching.subject-hue-92,.teacher-mobile-class.teaching.subject-hue-92,.schedule-detail-item.teaching.subject-hue-92{--subject-h:92;border-top-color:hsl(92 63% 42%);background:linear-gradient(155deg,hsl(92 82% 98%),hsl(92 62% 91%))}
.schedule-entry.teaching.subject-hue-92 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-92 .schedule-type-pill{background:hsl(92 70% 88%);color:hsl(92 48% 25%)}
.schedule-entry.teaching.subject-hue-93,.teacher-mobile-class.teaching.subject-hue-93,.schedule-detail-item.teaching.subject-hue-93{--subject-h:93;border-top-color:hsl(93 63% 42%);background:linear-gradient(155deg,hsl(93 82% 98%),hsl(93 62% 91%))}
.schedule-entry.teaching.subject-hue-93 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-93 .schedule-type-pill{background:hsl(93 70% 88%);color:hsl(93 48% 25%)}
.schedule-entry.teaching.subject-hue-94,.teacher-mobile-class.teaching.subject-hue-94,.schedule-detail-item.teaching.subject-hue-94{--subject-h:94;border-top-color:hsl(94 63% 42%);background:linear-gradient(155deg,hsl(94 82% 98%),hsl(94 62% 91%))}
.schedule-entry.teaching.subject-hue-94 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-94 .schedule-type-pill{background:hsl(94 70% 88%);color:hsl(94 48% 25%)}
.schedule-entry.teaching.subject-hue-95,.teacher-mobile-class.teaching.subject-hue-95,.schedule-detail-item.teaching.subject-hue-95{--subject-h:95;border-top-color:hsl(95 63% 42%);background:linear-gradient(155deg,hsl(95 82% 98%),hsl(95 62% 91%))}
.schedule-entry.teaching.subject-hue-95 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-95 .schedule-type-pill{background:hsl(95 70% 88%);color:hsl(95 48% 25%)}
.schedule-entry.teaching.subject-hue-96,.teacher-mobile-class.teaching.subject-hue-96,.schedule-detail-item.teaching.subject-hue-96{--subject-h:96;border-top-color:hsl(96 63% 42%);background:linear-gradient(155deg,hsl(96 82% 98%),hsl(96 62% 91%))}
.schedule-entry.teaching.subject-hue-96 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-96 .schedule-type-pill{background:hsl(96 70% 88%);color:hsl(96 48% 25%)}
.schedule-entry.teaching.subject-hue-97,.teacher-mobile-class.teaching.subject-hue-97,.schedule-detail-item.teaching.subject-hue-97{--subject-h:97;border-top-color:hsl(97 63% 42%);background:linear-gradient(155deg,hsl(97 82% 98%),hsl(97 62% 91%))}
.schedule-entry.teaching.subject-hue-97 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-97 .schedule-type-pill{background:hsl(97 70% 88%);color:hsl(97 48% 25%)}
.schedule-entry.teaching.subject-hue-98,.teacher-mobile-class.teaching.subject-hue-98,.schedule-detail-item.teaching.subject-hue-98{--subject-h:98;border-top-color:hsl(98 63% 42%);background:linear-gradient(155deg,hsl(98 82% 98%),hsl(98 62% 91%))}
.schedule-entry.teaching.subject-hue-98 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-98 .schedule-type-pill{background:hsl(98 70% 88%);color:hsl(98 48% 25%)}
.schedule-entry.teaching.subject-hue-99,.teacher-mobile-class.teaching.subject-hue-99,.schedule-detail-item.teaching.subject-hue-99{--subject-h:99;border-top-color:hsl(99 63% 42%);background:linear-gradient(155deg,hsl(99 82% 98%),hsl(99 62% 91%))}
.schedule-entry.teaching.subject-hue-99 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-99 .schedule-type-pill{background:hsl(99 70% 88%);color:hsl(99 48% 25%)}
.schedule-entry.teaching.subject-hue-100,.teacher-mobile-class.teaching.subject-hue-100,.schedule-detail-item.teaching.subject-hue-100{--subject-h:100;border-top-color:hsl(100 63% 42%);background:linear-gradient(155deg,hsl(100 82% 98%),hsl(100 62% 91%))}
.schedule-entry.teaching.subject-hue-100 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-100 .schedule-type-pill{background:hsl(100 70% 88%);color:hsl(100 48% 25%)}
.schedule-entry.teaching.subject-hue-101,.teacher-mobile-class.teaching.subject-hue-101,.schedule-detail-item.teaching.subject-hue-101{--subject-h:101;border-top-color:hsl(101 63% 42%);background:linear-gradient(155deg,hsl(101 82% 98%),hsl(101 62% 91%))}
.schedule-entry.teaching.subject-hue-101 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-101 .schedule-type-pill{background:hsl(101 70% 88%);color:hsl(101 48% 25%)}
.schedule-entry.teaching.subject-hue-102,.teacher-mobile-class.teaching.subject-hue-102,.schedule-detail-item.teaching.subject-hue-102{--subject-h:102;border-top-color:hsl(102 63% 42%);background:linear-gradient(155deg,hsl(102 82% 98%),hsl(102 62% 91%))}
.schedule-entry.teaching.subject-hue-102 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-102 .schedule-type-pill{background:hsl(102 70% 88%);color:hsl(102 48% 25%)}
.schedule-entry.teaching.subject-hue-103,.teacher-mobile-class.teaching.subject-hue-103,.schedule-detail-item.teaching.subject-hue-103{--subject-h:103;border-top-color:hsl(103 63% 42%);background:linear-gradient(155deg,hsl(103 82% 98%),hsl(103 62% 91%))}
.schedule-entry.teaching.subject-hue-103 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-103 .schedule-type-pill{background:hsl(103 70% 88%);color:hsl(103 48% 25%)}
.schedule-entry.teaching.subject-hue-104,.teacher-mobile-class.teaching.subject-hue-104,.schedule-detail-item.teaching.subject-hue-104{--subject-h:104;border-top-color:hsl(104 63% 42%);background:linear-gradient(155deg,hsl(104 82% 98%),hsl(104 62% 91%))}
.schedule-entry.teaching.subject-hue-104 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-104 .schedule-type-pill{background:hsl(104 70% 88%);color:hsl(104 48% 25%)}
.schedule-entry.teaching.subject-hue-105,.teacher-mobile-class.teaching.subject-hue-105,.schedule-detail-item.teaching.subject-hue-105{--subject-h:105;border-top-color:hsl(105 63% 42%);background:linear-gradient(155deg,hsl(105 82% 98%),hsl(105 62% 91%))}
.schedule-entry.teaching.subject-hue-105 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-105 .schedule-type-pill{background:hsl(105 70% 88%);color:hsl(105 48% 25%)}
.schedule-entry.teaching.subject-hue-106,.teacher-mobile-class.teaching.subject-hue-106,.schedule-detail-item.teaching.subject-hue-106{--subject-h:106;border-top-color:hsl(106 63% 42%);background:linear-gradient(155deg,hsl(106 82% 98%),hsl(106 62% 91%))}
.schedule-entry.teaching.subject-hue-106 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-106 .schedule-type-pill{background:hsl(106 70% 88%);color:hsl(106 48% 25%)}
.schedule-entry.teaching.subject-hue-107,.teacher-mobile-class.teaching.subject-hue-107,.schedule-detail-item.teaching.subject-hue-107{--subject-h:107;border-top-color:hsl(107 63% 42%);background:linear-gradient(155deg,hsl(107 82% 98%),hsl(107 62% 91%))}
.schedule-entry.teaching.subject-hue-107 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-107 .schedule-type-pill{background:hsl(107 70% 88%);color:hsl(107 48% 25%)}
.schedule-entry.teaching.subject-hue-108,.teacher-mobile-class.teaching.subject-hue-108,.schedule-detail-item.teaching.subject-hue-108{--subject-h:108;border-top-color:hsl(108 63% 42%);background:linear-gradient(155deg,hsl(108 82% 98%),hsl(108 62% 91%))}
.schedule-entry.teaching.subject-hue-108 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-108 .schedule-type-pill{background:hsl(108 70% 88%);color:hsl(108 48% 25%)}
.schedule-entry.teaching.subject-hue-109,.teacher-mobile-class.teaching.subject-hue-109,.schedule-detail-item.teaching.subject-hue-109{--subject-h:109;border-top-color:hsl(109 63% 42%);background:linear-gradient(155deg,hsl(109 82% 98%),hsl(109 62% 91%))}
.schedule-entry.teaching.subject-hue-109 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-109 .schedule-type-pill{background:hsl(109 70% 88%);color:hsl(109 48% 25%)}
.schedule-entry.teaching.subject-hue-110,.teacher-mobile-class.teaching.subject-hue-110,.schedule-detail-item.teaching.subject-hue-110{--subject-h:110;border-top-color:hsl(110 63% 42%);background:linear-gradient(155deg,hsl(110 82% 98%),hsl(110 62% 91%))}
.schedule-entry.teaching.subject-hue-110 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-110 .schedule-type-pill{background:hsl(110 70% 88%);color:hsl(110 48% 25%)}
.schedule-entry.teaching.subject-hue-111,.teacher-mobile-class.teaching.subject-hue-111,.schedule-detail-item.teaching.subject-hue-111{--subject-h:111;border-top-color:hsl(111 63% 42%);background:linear-gradient(155deg,hsl(111 82% 98%),hsl(111 62% 91%))}
.schedule-entry.teaching.subject-hue-111 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-111 .schedule-type-pill{background:hsl(111 70% 88%);color:hsl(111 48% 25%)}
.schedule-entry.teaching.subject-hue-112,.teacher-mobile-class.teaching.subject-hue-112,.schedule-detail-item.teaching.subject-hue-112{--subject-h:112;border-top-color:hsl(112 63% 42%);background:linear-gradient(155deg,hsl(112 82% 98%),hsl(112 62% 91%))}
.schedule-entry.teaching.subject-hue-112 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-112 .schedule-type-pill{background:hsl(112 70% 88%);color:hsl(112 48% 25%)}
.schedule-entry.teaching.subject-hue-113,.teacher-mobile-class.teaching.subject-hue-113,.schedule-detail-item.teaching.subject-hue-113{--subject-h:113;border-top-color:hsl(113 63% 42%);background:linear-gradient(155deg,hsl(113 82% 98%),hsl(113 62% 91%))}
.schedule-entry.teaching.subject-hue-113 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-113 .schedule-type-pill{background:hsl(113 70% 88%);color:hsl(113 48% 25%)}
.schedule-entry.teaching.subject-hue-114,.teacher-mobile-class.teaching.subject-hue-114,.schedule-detail-item.teaching.subject-hue-114{--subject-h:114;border-top-color:hsl(114 63% 42%);background:linear-gradient(155deg,hsl(114 82% 98%),hsl(114 62% 91%))}
.schedule-entry.teaching.subject-hue-114 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-114 .schedule-type-pill{background:hsl(114 70% 88%);color:hsl(114 48% 25%)}
.schedule-entry.teaching.subject-hue-115,.teacher-mobile-class.teaching.subject-hue-115,.schedule-detail-item.teaching.subject-hue-115{--subject-h:115;border-top-color:hsl(115 63% 42%);background:linear-gradient(155deg,hsl(115 82% 98%),hsl(115 62% 91%))}
.schedule-entry.teaching.subject-hue-115 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-115 .schedule-type-pill{background:hsl(115 70% 88%);color:hsl(115 48% 25%)}
.schedule-entry.teaching.subject-hue-116,.teacher-mobile-class.teaching.subject-hue-116,.schedule-detail-item.teaching.subject-hue-116{--subject-h:116;border-top-color:hsl(116 63% 42%);background:linear-gradient(155deg,hsl(116 82% 98%),hsl(116 62% 91%))}
.schedule-entry.teaching.subject-hue-116 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-116 .schedule-type-pill{background:hsl(116 70% 88%);color:hsl(116 48% 25%)}
.schedule-entry.teaching.subject-hue-117,.teacher-mobile-class.teaching.subject-hue-117,.schedule-detail-item.teaching.subject-hue-117{--subject-h:117;border-top-color:hsl(117 63% 42%);background:linear-gradient(155deg,hsl(117 82% 98%),hsl(117 62% 91%))}
.schedule-entry.teaching.subject-hue-117 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-117 .schedule-type-pill{background:hsl(117 70% 88%);color:hsl(117 48% 25%)}
.schedule-entry.teaching.subject-hue-118,.teacher-mobile-class.teaching.subject-hue-118,.schedule-detail-item.teaching.subject-hue-118{--subject-h:118;border-top-color:hsl(118 63% 42%);background:linear-gradient(155deg,hsl(118 82% 98%),hsl(118 62% 91%))}
.schedule-entry.teaching.subject-hue-118 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-118 .schedule-type-pill{background:hsl(118 70% 88%);color:hsl(118 48% 25%)}
.schedule-entry.teaching.subject-hue-119,.teacher-mobile-class.teaching.subject-hue-119,.schedule-detail-item.teaching.subject-hue-119{--subject-h:119;border-top-color:hsl(119 63% 42%);background:linear-gradient(155deg,hsl(119 82% 98%),hsl(119 62% 91%))}
.schedule-entry.teaching.subject-hue-119 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-119 .schedule-type-pill{background:hsl(119 70% 88%);color:hsl(119 48% 25%)}
.schedule-entry.teaching.subject-hue-120,.teacher-mobile-class.teaching.subject-hue-120,.schedule-detail-item.teaching.subject-hue-120{--subject-h:120;border-top-color:hsl(120 63% 42%);background:linear-gradient(155deg,hsl(120 82% 98%),hsl(120 62% 91%))}
.schedule-entry.teaching.subject-hue-120 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-120 .schedule-type-pill{background:hsl(120 70% 88%);color:hsl(120 48% 25%)}
.schedule-entry.teaching.subject-hue-121,.teacher-mobile-class.teaching.subject-hue-121,.schedule-detail-item.teaching.subject-hue-121{--subject-h:121;border-top-color:hsl(121 63% 42%);background:linear-gradient(155deg,hsl(121 82% 98%),hsl(121 62% 91%))}
.schedule-entry.teaching.subject-hue-121 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-121 .schedule-type-pill{background:hsl(121 70% 88%);color:hsl(121 48% 25%)}
.schedule-entry.teaching.subject-hue-122,.teacher-mobile-class.teaching.subject-hue-122,.schedule-detail-item.teaching.subject-hue-122{--subject-h:122;border-top-color:hsl(122 63% 42%);background:linear-gradient(155deg,hsl(122 82% 98%),hsl(122 62% 91%))}
.schedule-entry.teaching.subject-hue-122 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-122 .schedule-type-pill{background:hsl(122 70% 88%);color:hsl(122 48% 25%)}
.schedule-entry.teaching.subject-hue-123,.teacher-mobile-class.teaching.subject-hue-123,.schedule-detail-item.teaching.subject-hue-123{--subject-h:123;border-top-color:hsl(123 63% 42%);background:linear-gradient(155deg,hsl(123 82% 98%),hsl(123 62% 91%))}
.schedule-entry.teaching.subject-hue-123 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-123 .schedule-type-pill{background:hsl(123 70% 88%);color:hsl(123 48% 25%)}
.schedule-entry.teaching.subject-hue-124,.teacher-mobile-class.teaching.subject-hue-124,.schedule-detail-item.teaching.subject-hue-124{--subject-h:124;border-top-color:hsl(124 63% 42%);background:linear-gradient(155deg,hsl(124 82% 98%),hsl(124 62% 91%))}
.schedule-entry.teaching.subject-hue-124 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-124 .schedule-type-pill{background:hsl(124 70% 88%);color:hsl(124 48% 25%)}
.schedule-entry.teaching.subject-hue-125,.teacher-mobile-class.teaching.subject-hue-125,.schedule-detail-item.teaching.subject-hue-125{--subject-h:125;border-top-color:hsl(125 63% 42%);background:linear-gradient(155deg,hsl(125 82% 98%),hsl(125 62% 91%))}
.schedule-entry.teaching.subject-hue-125 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-125 .schedule-type-pill{background:hsl(125 70% 88%);color:hsl(125 48% 25%)}
.schedule-entry.teaching.subject-hue-126,.teacher-mobile-class.teaching.subject-hue-126,.schedule-detail-item.teaching.subject-hue-126{--subject-h:126;border-top-color:hsl(126 63% 42%);background:linear-gradient(155deg,hsl(126 82% 98%),hsl(126 62% 91%))}
.schedule-entry.teaching.subject-hue-126 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-126 .schedule-type-pill{background:hsl(126 70% 88%);color:hsl(126 48% 25%)}
.schedule-entry.teaching.subject-hue-127,.teacher-mobile-class.teaching.subject-hue-127,.schedule-detail-item.teaching.subject-hue-127{--subject-h:127;border-top-color:hsl(127 63% 42%);background:linear-gradient(155deg,hsl(127 82% 98%),hsl(127 62% 91%))}
.schedule-entry.teaching.subject-hue-127 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-127 .schedule-type-pill{background:hsl(127 70% 88%);color:hsl(127 48% 25%)}
.schedule-entry.teaching.subject-hue-128,.teacher-mobile-class.teaching.subject-hue-128,.schedule-detail-item.teaching.subject-hue-128{--subject-h:128;border-top-color:hsl(128 63% 42%);background:linear-gradient(155deg,hsl(128 82% 98%),hsl(128 62% 91%))}
.schedule-entry.teaching.subject-hue-128 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-128 .schedule-type-pill{background:hsl(128 70% 88%);color:hsl(128 48% 25%)}
.schedule-entry.teaching.subject-hue-129,.teacher-mobile-class.teaching.subject-hue-129,.schedule-detail-item.teaching.subject-hue-129{--subject-h:129;border-top-color:hsl(129 63% 42%);background:linear-gradient(155deg,hsl(129 82% 98%),hsl(129 62% 91%))}
.schedule-entry.teaching.subject-hue-129 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-129 .schedule-type-pill{background:hsl(129 70% 88%);color:hsl(129 48% 25%)}
.schedule-entry.teaching.subject-hue-130,.teacher-mobile-class.teaching.subject-hue-130,.schedule-detail-item.teaching.subject-hue-130{--subject-h:130;border-top-color:hsl(130 63% 42%);background:linear-gradient(155deg,hsl(130 82% 98%),hsl(130 62% 91%))}
.schedule-entry.teaching.subject-hue-130 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-130 .schedule-type-pill{background:hsl(130 70% 88%);color:hsl(130 48% 25%)}
.schedule-entry.teaching.subject-hue-131,.teacher-mobile-class.teaching.subject-hue-131,.schedule-detail-item.teaching.subject-hue-131{--subject-h:131;border-top-color:hsl(131 63% 42%);background:linear-gradient(155deg,hsl(131 82% 98%),hsl(131 62% 91%))}
.schedule-entry.teaching.subject-hue-131 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-131 .schedule-type-pill{background:hsl(131 70% 88%);color:hsl(131 48% 25%)}
.schedule-entry.teaching.subject-hue-132,.teacher-mobile-class.teaching.subject-hue-132,.schedule-detail-item.teaching.subject-hue-132{--subject-h:132;border-top-color:hsl(132 63% 42%);background:linear-gradient(155deg,hsl(132 82% 98%),hsl(132 62% 91%))}
.schedule-entry.teaching.subject-hue-132 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-132 .schedule-type-pill{background:hsl(132 70% 88%);color:hsl(132 48% 25%)}
.schedule-entry.teaching.subject-hue-133,.teacher-mobile-class.teaching.subject-hue-133,.schedule-detail-item.teaching.subject-hue-133{--subject-h:133;border-top-color:hsl(133 63% 42%);background:linear-gradient(155deg,hsl(133 82% 98%),hsl(133 62% 91%))}
.schedule-entry.teaching.subject-hue-133 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-133 .schedule-type-pill{background:hsl(133 70% 88%);color:hsl(133 48% 25%)}
.schedule-entry.teaching.subject-hue-134,.teacher-mobile-class.teaching.subject-hue-134,.schedule-detail-item.teaching.subject-hue-134{--subject-h:134;border-top-color:hsl(134 63% 42%);background:linear-gradient(155deg,hsl(134 82% 98%),hsl(134 62% 91%))}
.schedule-entry.teaching.subject-hue-134 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-134 .schedule-type-pill{background:hsl(134 70% 88%);color:hsl(134 48% 25%)}
.schedule-entry.teaching.subject-hue-135,.teacher-mobile-class.teaching.subject-hue-135,.schedule-detail-item.teaching.subject-hue-135{--subject-h:135;border-top-color:hsl(135 63% 42%);background:linear-gradient(155deg,hsl(135 82% 98%),hsl(135 62% 91%))}
.schedule-entry.teaching.subject-hue-135 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-135 .schedule-type-pill{background:hsl(135 70% 88%);color:hsl(135 48% 25%)}
.schedule-entry.teaching.subject-hue-136,.teacher-mobile-class.teaching.subject-hue-136,.schedule-detail-item.teaching.subject-hue-136{--subject-h:136;border-top-color:hsl(136 63% 42%);background:linear-gradient(155deg,hsl(136 82% 98%),hsl(136 62% 91%))}
.schedule-entry.teaching.subject-hue-136 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-136 .schedule-type-pill{background:hsl(136 70% 88%);color:hsl(136 48% 25%)}
.schedule-entry.teaching.subject-hue-137,.teacher-mobile-class.teaching.subject-hue-137,.schedule-detail-item.teaching.subject-hue-137{--subject-h:137;border-top-color:hsl(137 63% 42%);background:linear-gradient(155deg,hsl(137 82% 98%),hsl(137 62% 91%))}
.schedule-entry.teaching.subject-hue-137 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-137 .schedule-type-pill{background:hsl(137 70% 88%);color:hsl(137 48% 25%)}
.schedule-entry.teaching.subject-hue-138,.teacher-mobile-class.teaching.subject-hue-138,.schedule-detail-item.teaching.subject-hue-138{--subject-h:138;border-top-color:hsl(138 63% 42%);background:linear-gradient(155deg,hsl(138 82% 98%),hsl(138 62% 91%))}
.schedule-entry.teaching.subject-hue-138 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-138 .schedule-type-pill{background:hsl(138 70% 88%);color:hsl(138 48% 25%)}
.schedule-entry.teaching.subject-hue-139,.teacher-mobile-class.teaching.subject-hue-139,.schedule-detail-item.teaching.subject-hue-139{--subject-h:139;border-top-color:hsl(139 63% 42%);background:linear-gradient(155deg,hsl(139 82% 98%),hsl(139 62% 91%))}
.schedule-entry.teaching.subject-hue-139 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-139 .schedule-type-pill{background:hsl(139 70% 88%);color:hsl(139 48% 25%)}
.schedule-entry.teaching.subject-hue-140,.teacher-mobile-class.teaching.subject-hue-140,.schedule-detail-item.teaching.subject-hue-140{--subject-h:140;border-top-color:hsl(140 63% 42%);background:linear-gradient(155deg,hsl(140 82% 98%),hsl(140 62% 91%))}
.schedule-entry.teaching.subject-hue-140 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-140 .schedule-type-pill{background:hsl(140 70% 88%);color:hsl(140 48% 25%)}
.schedule-entry.teaching.subject-hue-141,.teacher-mobile-class.teaching.subject-hue-141,.schedule-detail-item.teaching.subject-hue-141{--subject-h:141;border-top-color:hsl(141 63% 42%);background:linear-gradient(155deg,hsl(141 82% 98%),hsl(141 62% 91%))}
.schedule-entry.teaching.subject-hue-141 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-141 .schedule-type-pill{background:hsl(141 70% 88%);color:hsl(141 48% 25%)}
.schedule-entry.teaching.subject-hue-142,.teacher-mobile-class.teaching.subject-hue-142,.schedule-detail-item.teaching.subject-hue-142{--subject-h:142;border-top-color:hsl(142 63% 42%);background:linear-gradient(155deg,hsl(142 82% 98%),hsl(142 62% 91%))}
.schedule-entry.teaching.subject-hue-142 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-142 .schedule-type-pill{background:hsl(142 70% 88%);color:hsl(142 48% 25%)}
.schedule-entry.teaching.subject-hue-143,.teacher-mobile-class.teaching.subject-hue-143,.schedule-detail-item.teaching.subject-hue-143{--subject-h:143;border-top-color:hsl(143 63% 42%);background:linear-gradient(155deg,hsl(143 82% 98%),hsl(143 62% 91%))}
.schedule-entry.teaching.subject-hue-143 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-143 .schedule-type-pill{background:hsl(143 70% 88%);color:hsl(143 48% 25%)}
.schedule-entry.teaching.subject-hue-144,.teacher-mobile-class.teaching.subject-hue-144,.schedule-detail-item.teaching.subject-hue-144{--subject-h:144;border-top-color:hsl(144 63% 42%);background:linear-gradient(155deg,hsl(144 82% 98%),hsl(144 62% 91%))}
.schedule-entry.teaching.subject-hue-144 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-144 .schedule-type-pill{background:hsl(144 70% 88%);color:hsl(144 48% 25%)}
.schedule-entry.teaching.subject-hue-145,.teacher-mobile-class.teaching.subject-hue-145,.schedule-detail-item.teaching.subject-hue-145{--subject-h:145;border-top-color:hsl(145 63% 42%);background:linear-gradient(155deg,hsl(145 82% 98%),hsl(145 62% 91%))}
.schedule-entry.teaching.subject-hue-145 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-145 .schedule-type-pill{background:hsl(145 70% 88%);color:hsl(145 48% 25%)}
.schedule-entry.teaching.subject-hue-146,.teacher-mobile-class.teaching.subject-hue-146,.schedule-detail-item.teaching.subject-hue-146{--subject-h:146;border-top-color:hsl(146 63% 42%);background:linear-gradient(155deg,hsl(146 82% 98%),hsl(146 62% 91%))}
.schedule-entry.teaching.subject-hue-146 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-146 .schedule-type-pill{background:hsl(146 70% 88%);color:hsl(146 48% 25%)}
.schedule-entry.teaching.subject-hue-147,.teacher-mobile-class.teaching.subject-hue-147,.schedule-detail-item.teaching.subject-hue-147{--subject-h:147;border-top-color:hsl(147 63% 42%);background:linear-gradient(155deg,hsl(147 82% 98%),hsl(147 62% 91%))}
.schedule-entry.teaching.subject-hue-147 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-147 .schedule-type-pill{background:hsl(147 70% 88%);color:hsl(147 48% 25%)}
.schedule-entry.teaching.subject-hue-148,.teacher-mobile-class.teaching.subject-hue-148,.schedule-detail-item.teaching.subject-hue-148{--subject-h:148;border-top-color:hsl(148 63% 42%);background:linear-gradient(155deg,hsl(148 82% 98%),hsl(148 62% 91%))}
.schedule-entry.teaching.subject-hue-148 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-148 .schedule-type-pill{background:hsl(148 70% 88%);color:hsl(148 48% 25%)}
.schedule-entry.teaching.subject-hue-149,.teacher-mobile-class.teaching.subject-hue-149,.schedule-detail-item.teaching.subject-hue-149{--subject-h:149;border-top-color:hsl(149 63% 42%);background:linear-gradient(155deg,hsl(149 82% 98%),hsl(149 62% 91%))}
.schedule-entry.teaching.subject-hue-149 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-149 .schedule-type-pill{background:hsl(149 70% 88%);color:hsl(149 48% 25%)}
.schedule-entry.teaching.subject-hue-150,.teacher-mobile-class.teaching.subject-hue-150,.schedule-detail-item.teaching.subject-hue-150{--subject-h:150;border-top-color:hsl(150 63% 42%);background:linear-gradient(155deg,hsl(150 82% 98%),hsl(150 62% 91%))}
.schedule-entry.teaching.subject-hue-150 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-150 .schedule-type-pill{background:hsl(150 70% 88%);color:hsl(150 48% 25%)}
.schedule-entry.teaching.subject-hue-151,.teacher-mobile-class.teaching.subject-hue-151,.schedule-detail-item.teaching.subject-hue-151{--subject-h:151;border-top-color:hsl(151 63% 42%);background:linear-gradient(155deg,hsl(151 82% 98%),hsl(151 62% 91%))}
.schedule-entry.teaching.subject-hue-151 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-151 .schedule-type-pill{background:hsl(151 70% 88%);color:hsl(151 48% 25%)}
.schedule-entry.teaching.subject-hue-152,.teacher-mobile-class.teaching.subject-hue-152,.schedule-detail-item.teaching.subject-hue-152{--subject-h:152;border-top-color:hsl(152 63% 42%);background:linear-gradient(155deg,hsl(152 82% 98%),hsl(152 62% 91%))}
.schedule-entry.teaching.subject-hue-152 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-152 .schedule-type-pill{background:hsl(152 70% 88%);color:hsl(152 48% 25%)}
.schedule-entry.teaching.subject-hue-153,.teacher-mobile-class.teaching.subject-hue-153,.schedule-detail-item.teaching.subject-hue-153{--subject-h:153;border-top-color:hsl(153 63% 42%);background:linear-gradient(155deg,hsl(153 82% 98%),hsl(153 62% 91%))}
.schedule-entry.teaching.subject-hue-153 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-153 .schedule-type-pill{background:hsl(153 70% 88%);color:hsl(153 48% 25%)}
.schedule-entry.teaching.subject-hue-154,.teacher-mobile-class.teaching.subject-hue-154,.schedule-detail-item.teaching.subject-hue-154{--subject-h:154;border-top-color:hsl(154 63% 42%);background:linear-gradient(155deg,hsl(154 82% 98%),hsl(154 62% 91%))}
.schedule-entry.teaching.subject-hue-154 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-154 .schedule-type-pill{background:hsl(154 70% 88%);color:hsl(154 48% 25%)}
.schedule-entry.teaching.subject-hue-155,.teacher-mobile-class.teaching.subject-hue-155,.schedule-detail-item.teaching.subject-hue-155{--subject-h:155;border-top-color:hsl(155 63% 42%);background:linear-gradient(155deg,hsl(155 82% 98%),hsl(155 62% 91%))}
.schedule-entry.teaching.subject-hue-155 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-155 .schedule-type-pill{background:hsl(155 70% 88%);color:hsl(155 48% 25%)}
.schedule-entry.teaching.subject-hue-156,.teacher-mobile-class.teaching.subject-hue-156,.schedule-detail-item.teaching.subject-hue-156{--subject-h:156;border-top-color:hsl(156 63% 42%);background:linear-gradient(155deg,hsl(156 82% 98%),hsl(156 62% 91%))}
.schedule-entry.teaching.subject-hue-156 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-156 .schedule-type-pill{background:hsl(156 70% 88%);color:hsl(156 48% 25%)}
.schedule-entry.teaching.subject-hue-157,.teacher-mobile-class.teaching.subject-hue-157,.schedule-detail-item.teaching.subject-hue-157{--subject-h:157;border-top-color:hsl(157 63% 42%);background:linear-gradient(155deg,hsl(157 82% 98%),hsl(157 62% 91%))}
.schedule-entry.teaching.subject-hue-157 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-157 .schedule-type-pill{background:hsl(157 70% 88%);color:hsl(157 48% 25%)}
.schedule-entry.teaching.subject-hue-158,.teacher-mobile-class.teaching.subject-hue-158,.schedule-detail-item.teaching.subject-hue-158{--subject-h:158;border-top-color:hsl(158 63% 42%);background:linear-gradient(155deg,hsl(158 82% 98%),hsl(158 62% 91%))}
.schedule-entry.teaching.subject-hue-158 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-158 .schedule-type-pill{background:hsl(158 70% 88%);color:hsl(158 48% 25%)}
.schedule-entry.teaching.subject-hue-159,.teacher-mobile-class.teaching.subject-hue-159,.schedule-detail-item.teaching.subject-hue-159{--subject-h:159;border-top-color:hsl(159 63% 42%);background:linear-gradient(155deg,hsl(159 82% 98%),hsl(159 62% 91%))}
.schedule-entry.teaching.subject-hue-159 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-159 .schedule-type-pill{background:hsl(159 70% 88%);color:hsl(159 48% 25%)}
.schedule-entry.teaching.subject-hue-160,.teacher-mobile-class.teaching.subject-hue-160,.schedule-detail-item.teaching.subject-hue-160{--subject-h:160;border-top-color:hsl(160 63% 42%);background:linear-gradient(155deg,hsl(160 82% 98%),hsl(160 62% 91%))}
.schedule-entry.teaching.subject-hue-160 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-160 .schedule-type-pill{background:hsl(160 70% 88%);color:hsl(160 48% 25%)}
.schedule-entry.teaching.subject-hue-161,.teacher-mobile-class.teaching.subject-hue-161,.schedule-detail-item.teaching.subject-hue-161{--subject-h:161;border-top-color:hsl(161 63% 42%);background:linear-gradient(155deg,hsl(161 82% 98%),hsl(161 62% 91%))}
.schedule-entry.teaching.subject-hue-161 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-161 .schedule-type-pill{background:hsl(161 70% 88%);color:hsl(161 48% 25%)}
.schedule-entry.teaching.subject-hue-162,.teacher-mobile-class.teaching.subject-hue-162,.schedule-detail-item.teaching.subject-hue-162{--subject-h:162;border-top-color:hsl(162 63% 42%);background:linear-gradient(155deg,hsl(162 82% 98%),hsl(162 62% 91%))}
.schedule-entry.teaching.subject-hue-162 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-162 .schedule-type-pill{background:hsl(162 70% 88%);color:hsl(162 48% 25%)}
.schedule-entry.teaching.subject-hue-163,.teacher-mobile-class.teaching.subject-hue-163,.schedule-detail-item.teaching.subject-hue-163{--subject-h:163;border-top-color:hsl(163 63% 42%);background:linear-gradient(155deg,hsl(163 82% 98%),hsl(163 62% 91%))}
.schedule-entry.teaching.subject-hue-163 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-163 .schedule-type-pill{background:hsl(163 70% 88%);color:hsl(163 48% 25%)}
.schedule-entry.teaching.subject-hue-164,.teacher-mobile-class.teaching.subject-hue-164,.schedule-detail-item.teaching.subject-hue-164{--subject-h:164;border-top-color:hsl(164 63% 42%);background:linear-gradient(155deg,hsl(164 82% 98%),hsl(164 62% 91%))}
.schedule-entry.teaching.subject-hue-164 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-164 .schedule-type-pill{background:hsl(164 70% 88%);color:hsl(164 48% 25%)}
.schedule-entry.teaching.subject-hue-165,.teacher-mobile-class.teaching.subject-hue-165,.schedule-detail-item.teaching.subject-hue-165{--subject-h:165;border-top-color:hsl(165 63% 42%);background:linear-gradient(155deg,hsl(165 82% 98%),hsl(165 62% 91%))}
.schedule-entry.teaching.subject-hue-165 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-165 .schedule-type-pill{background:hsl(165 70% 88%);color:hsl(165 48% 25%)}
.schedule-entry.teaching.subject-hue-166,.teacher-mobile-class.teaching.subject-hue-166,.schedule-detail-item.teaching.subject-hue-166{--subject-h:166;border-top-color:hsl(166 63% 42%);background:linear-gradient(155deg,hsl(166 82% 98%),hsl(166 62% 91%))}
.schedule-entry.teaching.subject-hue-166 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-166 .schedule-type-pill{background:hsl(166 70% 88%);color:hsl(166 48% 25%)}
.schedule-entry.teaching.subject-hue-167,.teacher-mobile-class.teaching.subject-hue-167,.schedule-detail-item.teaching.subject-hue-167{--subject-h:167;border-top-color:hsl(167 63% 42%);background:linear-gradient(155deg,hsl(167 82% 98%),hsl(167 62% 91%))}
.schedule-entry.teaching.subject-hue-167 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-167 .schedule-type-pill{background:hsl(167 70% 88%);color:hsl(167 48% 25%)}
.schedule-entry.teaching.subject-hue-168,.teacher-mobile-class.teaching.subject-hue-168,.schedule-detail-item.teaching.subject-hue-168{--subject-h:168;border-top-color:hsl(168 63% 42%);background:linear-gradient(155deg,hsl(168 82% 98%),hsl(168 62% 91%))}
.schedule-entry.teaching.subject-hue-168 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-168 .schedule-type-pill{background:hsl(168 70% 88%);color:hsl(168 48% 25%)}
.schedule-entry.teaching.subject-hue-169,.teacher-mobile-class.teaching.subject-hue-169,.schedule-detail-item.teaching.subject-hue-169{--subject-h:169;border-top-color:hsl(169 63% 42%);background:linear-gradient(155deg,hsl(169 82% 98%),hsl(169 62% 91%))}
.schedule-entry.teaching.subject-hue-169 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-169 .schedule-type-pill{background:hsl(169 70% 88%);color:hsl(169 48% 25%)}
.schedule-entry.teaching.subject-hue-170,.teacher-mobile-class.teaching.subject-hue-170,.schedule-detail-item.teaching.subject-hue-170{--subject-h:170;border-top-color:hsl(170 63% 42%);background:linear-gradient(155deg,hsl(170 82% 98%),hsl(170 62% 91%))}
.schedule-entry.teaching.subject-hue-170 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-170 .schedule-type-pill{background:hsl(170 70% 88%);color:hsl(170 48% 25%)}
.schedule-entry.teaching.subject-hue-171,.teacher-mobile-class.teaching.subject-hue-171,.schedule-detail-item.teaching.subject-hue-171{--subject-h:171;border-top-color:hsl(171 63% 42%);background:linear-gradient(155deg,hsl(171 82% 98%),hsl(171 62% 91%))}
.schedule-entry.teaching.subject-hue-171 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-171 .schedule-type-pill{background:hsl(171 70% 88%);color:hsl(171 48% 25%)}
.schedule-entry.teaching.subject-hue-172,.teacher-mobile-class.teaching.subject-hue-172,.schedule-detail-item.teaching.subject-hue-172{--subject-h:172;border-top-color:hsl(172 63% 42%);background:linear-gradient(155deg,hsl(172 82% 98%),hsl(172 62% 91%))}
.schedule-entry.teaching.subject-hue-172 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-172 .schedule-type-pill{background:hsl(172 70% 88%);color:hsl(172 48% 25%)}
.schedule-entry.teaching.subject-hue-173,.teacher-mobile-class.teaching.subject-hue-173,.schedule-detail-item.teaching.subject-hue-173{--subject-h:173;border-top-color:hsl(173 63% 42%);background:linear-gradient(155deg,hsl(173 82% 98%),hsl(173 62% 91%))}
.schedule-entry.teaching.subject-hue-173 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-173 .schedule-type-pill{background:hsl(173 70% 88%);color:hsl(173 48% 25%)}
.schedule-entry.teaching.subject-hue-174,.teacher-mobile-class.teaching.subject-hue-174,.schedule-detail-item.teaching.subject-hue-174{--subject-h:174;border-top-color:hsl(174 63% 42%);background:linear-gradient(155deg,hsl(174 82% 98%),hsl(174 62% 91%))}
.schedule-entry.teaching.subject-hue-174 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-174 .schedule-type-pill{background:hsl(174 70% 88%);color:hsl(174 48% 25%)}
.schedule-entry.teaching.subject-hue-175,.teacher-mobile-class.teaching.subject-hue-175,.schedule-detail-item.teaching.subject-hue-175{--subject-h:175;border-top-color:hsl(175 63% 42%);background:linear-gradient(155deg,hsl(175 82% 98%),hsl(175 62% 91%))}
.schedule-entry.teaching.subject-hue-175 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-175 .schedule-type-pill{background:hsl(175 70% 88%);color:hsl(175 48% 25%)}
.schedule-entry.teaching.subject-hue-176,.teacher-mobile-class.teaching.subject-hue-176,.schedule-detail-item.teaching.subject-hue-176{--subject-h:176;border-top-color:hsl(176 63% 42%);background:linear-gradient(155deg,hsl(176 82% 98%),hsl(176 62% 91%))}
.schedule-entry.teaching.subject-hue-176 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-176 .schedule-type-pill{background:hsl(176 70% 88%);color:hsl(176 48% 25%)}
.schedule-entry.teaching.subject-hue-177,.teacher-mobile-class.teaching.subject-hue-177,.schedule-detail-item.teaching.subject-hue-177{--subject-h:177;border-top-color:hsl(177 63% 42%);background:linear-gradient(155deg,hsl(177 82% 98%),hsl(177 62% 91%))}
.schedule-entry.teaching.subject-hue-177 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-177 .schedule-type-pill{background:hsl(177 70% 88%);color:hsl(177 48% 25%)}
.schedule-entry.teaching.subject-hue-178,.teacher-mobile-class.teaching.subject-hue-178,.schedule-detail-item.teaching.subject-hue-178{--subject-h:178;border-top-color:hsl(178 63% 42%);background:linear-gradient(155deg,hsl(178 82% 98%),hsl(178 62% 91%))}
.schedule-entry.teaching.subject-hue-178 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-178 .schedule-type-pill{background:hsl(178 70% 88%);color:hsl(178 48% 25%)}
.schedule-entry.teaching.subject-hue-179,.teacher-mobile-class.teaching.subject-hue-179,.schedule-detail-item.teaching.subject-hue-179{--subject-h:179;border-top-color:hsl(179 63% 42%);background:linear-gradient(155deg,hsl(179 82% 98%),hsl(179 62% 91%))}
.schedule-entry.teaching.subject-hue-179 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-179 .schedule-type-pill{background:hsl(179 70% 88%);color:hsl(179 48% 25%)}
.schedule-entry.teaching.subject-hue-180,.teacher-mobile-class.teaching.subject-hue-180,.schedule-detail-item.teaching.subject-hue-180{--subject-h:180;border-top-color:hsl(180 63% 42%);background:linear-gradient(155deg,hsl(180 82% 98%),hsl(180 62% 91%))}
.schedule-entry.teaching.subject-hue-180 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-180 .schedule-type-pill{background:hsl(180 70% 88%);color:hsl(180 48% 25%)}
.schedule-entry.teaching.subject-hue-181,.teacher-mobile-class.teaching.subject-hue-181,.schedule-detail-item.teaching.subject-hue-181{--subject-h:181;border-top-color:hsl(181 63% 42%);background:linear-gradient(155deg,hsl(181 82% 98%),hsl(181 62% 91%))}
.schedule-entry.teaching.subject-hue-181 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-181 .schedule-type-pill{background:hsl(181 70% 88%);color:hsl(181 48% 25%)}
.schedule-entry.teaching.subject-hue-182,.teacher-mobile-class.teaching.subject-hue-182,.schedule-detail-item.teaching.subject-hue-182{--subject-h:182;border-top-color:hsl(182 63% 42%);background:linear-gradient(155deg,hsl(182 82% 98%),hsl(182 62% 91%))}
.schedule-entry.teaching.subject-hue-182 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-182 .schedule-type-pill{background:hsl(182 70% 88%);color:hsl(182 48% 25%)}
.schedule-entry.teaching.subject-hue-183,.teacher-mobile-class.teaching.subject-hue-183,.schedule-detail-item.teaching.subject-hue-183{--subject-h:183;border-top-color:hsl(183 63% 42%);background:linear-gradient(155deg,hsl(183 82% 98%),hsl(183 62% 91%))}
.schedule-entry.teaching.subject-hue-183 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-183 .schedule-type-pill{background:hsl(183 70% 88%);color:hsl(183 48% 25%)}
.schedule-entry.teaching.subject-hue-184,.teacher-mobile-class.teaching.subject-hue-184,.schedule-detail-item.teaching.subject-hue-184{--subject-h:184;border-top-color:hsl(184 63% 42%);background:linear-gradient(155deg,hsl(184 82% 98%),hsl(184 62% 91%))}
.schedule-entry.teaching.subject-hue-184 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-184 .schedule-type-pill{background:hsl(184 70% 88%);color:hsl(184 48% 25%)}
.schedule-entry.teaching.subject-hue-185,.teacher-mobile-class.teaching.subject-hue-185,.schedule-detail-item.teaching.subject-hue-185{--subject-h:185;border-top-color:hsl(185 63% 42%);background:linear-gradient(155deg,hsl(185 82% 98%),hsl(185 62% 91%))}
.schedule-entry.teaching.subject-hue-185 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-185 .schedule-type-pill{background:hsl(185 70% 88%);color:hsl(185 48% 25%)}
.schedule-entry.teaching.subject-hue-186,.teacher-mobile-class.teaching.subject-hue-186,.schedule-detail-item.teaching.subject-hue-186{--subject-h:186;border-top-color:hsl(186 63% 42%);background:linear-gradient(155deg,hsl(186 82% 98%),hsl(186 62% 91%))}
.schedule-entry.teaching.subject-hue-186 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-186 .schedule-type-pill{background:hsl(186 70% 88%);color:hsl(186 48% 25%)}
.schedule-entry.teaching.subject-hue-187,.teacher-mobile-class.teaching.subject-hue-187,.schedule-detail-item.teaching.subject-hue-187{--subject-h:187;border-top-color:hsl(187 63% 42%);background:linear-gradient(155deg,hsl(187 82% 98%),hsl(187 62% 91%))}
.schedule-entry.teaching.subject-hue-187 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-187 .schedule-type-pill{background:hsl(187 70% 88%);color:hsl(187 48% 25%)}
.schedule-entry.teaching.subject-hue-188,.teacher-mobile-class.teaching.subject-hue-188,.schedule-detail-item.teaching.subject-hue-188{--subject-h:188;border-top-color:hsl(188 63% 42%);background:linear-gradient(155deg,hsl(188 82% 98%),hsl(188 62% 91%))}
.schedule-entry.teaching.subject-hue-188 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-188 .schedule-type-pill{background:hsl(188 70% 88%);color:hsl(188 48% 25%)}
.schedule-entry.teaching.subject-hue-189,.teacher-mobile-class.teaching.subject-hue-189,.schedule-detail-item.teaching.subject-hue-189{--subject-h:189;border-top-color:hsl(189 63% 42%);background:linear-gradient(155deg,hsl(189 82% 98%),hsl(189 62% 91%))}
.schedule-entry.teaching.subject-hue-189 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-189 .schedule-type-pill{background:hsl(189 70% 88%);color:hsl(189 48% 25%)}
.schedule-entry.teaching.subject-hue-190,.teacher-mobile-class.teaching.subject-hue-190,.schedule-detail-item.teaching.subject-hue-190{--subject-h:190;border-top-color:hsl(190 63% 42%);background:linear-gradient(155deg,hsl(190 82% 98%),hsl(190 62% 91%))}
.schedule-entry.teaching.subject-hue-190 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-190 .schedule-type-pill{background:hsl(190 70% 88%);color:hsl(190 48% 25%)}
.schedule-entry.teaching.subject-hue-191,.teacher-mobile-class.teaching.subject-hue-191,.schedule-detail-item.teaching.subject-hue-191{--subject-h:191;border-top-color:hsl(191 63% 42%);background:linear-gradient(155deg,hsl(191 82% 98%),hsl(191 62% 91%))}
.schedule-entry.teaching.subject-hue-191 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-191 .schedule-type-pill{background:hsl(191 70% 88%);color:hsl(191 48% 25%)}
.schedule-entry.teaching.subject-hue-192,.teacher-mobile-class.teaching.subject-hue-192,.schedule-detail-item.teaching.subject-hue-192{--subject-h:192;border-top-color:hsl(192 63% 42%);background:linear-gradient(155deg,hsl(192 82% 98%),hsl(192 62% 91%))}
.schedule-entry.teaching.subject-hue-192 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-192 .schedule-type-pill{background:hsl(192 70% 88%);color:hsl(192 48% 25%)}
.schedule-entry.teaching.subject-hue-193,.teacher-mobile-class.teaching.subject-hue-193,.schedule-detail-item.teaching.subject-hue-193{--subject-h:193;border-top-color:hsl(193 63% 42%);background:linear-gradient(155deg,hsl(193 82% 98%),hsl(193 62% 91%))}
.schedule-entry.teaching.subject-hue-193 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-193 .schedule-type-pill{background:hsl(193 70% 88%);color:hsl(193 48% 25%)}
.schedule-entry.teaching.subject-hue-194,.teacher-mobile-class.teaching.subject-hue-194,.schedule-detail-item.teaching.subject-hue-194{--subject-h:194;border-top-color:hsl(194 63% 42%);background:linear-gradient(155deg,hsl(194 82% 98%),hsl(194 62% 91%))}
.schedule-entry.teaching.subject-hue-194 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-194 .schedule-type-pill{background:hsl(194 70% 88%);color:hsl(194 48% 25%)}
.schedule-entry.teaching.subject-hue-195,.teacher-mobile-class.teaching.subject-hue-195,.schedule-detail-item.teaching.subject-hue-195{--subject-h:195;border-top-color:hsl(195 63% 42%);background:linear-gradient(155deg,hsl(195 82% 98%),hsl(195 62% 91%))}
.schedule-entry.teaching.subject-hue-195 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-195 .schedule-type-pill{background:hsl(195 70% 88%);color:hsl(195 48% 25%)}
.schedule-entry.teaching.subject-hue-196,.teacher-mobile-class.teaching.subject-hue-196,.schedule-detail-item.teaching.subject-hue-196{--subject-h:196;border-top-color:hsl(196 63% 42%);background:linear-gradient(155deg,hsl(196 82% 98%),hsl(196 62% 91%))}
.schedule-entry.teaching.subject-hue-196 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-196 .schedule-type-pill{background:hsl(196 70% 88%);color:hsl(196 48% 25%)}
.schedule-entry.teaching.subject-hue-197,.teacher-mobile-class.teaching.subject-hue-197,.schedule-detail-item.teaching.subject-hue-197{--subject-h:197;border-top-color:hsl(197 63% 42%);background:linear-gradient(155deg,hsl(197 82% 98%),hsl(197 62% 91%))}
.schedule-entry.teaching.subject-hue-197 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-197 .schedule-type-pill{background:hsl(197 70% 88%);color:hsl(197 48% 25%)}
.schedule-entry.teaching.subject-hue-198,.teacher-mobile-class.teaching.subject-hue-198,.schedule-detail-item.teaching.subject-hue-198{--subject-h:198;border-top-color:hsl(198 63% 42%);background:linear-gradient(155deg,hsl(198 82% 98%),hsl(198 62% 91%))}
.schedule-entry.teaching.subject-hue-198 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-198 .schedule-type-pill{background:hsl(198 70% 88%);color:hsl(198 48% 25%)}
.schedule-entry.teaching.subject-hue-199,.teacher-mobile-class.teaching.subject-hue-199,.schedule-detail-item.teaching.subject-hue-199{--subject-h:199;border-top-color:hsl(199 63% 42%);background:linear-gradient(155deg,hsl(199 82% 98%),hsl(199 62% 91%))}
.schedule-entry.teaching.subject-hue-199 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-199 .schedule-type-pill{background:hsl(199 70% 88%);color:hsl(199 48% 25%)}
.schedule-entry.teaching.subject-hue-200,.teacher-mobile-class.teaching.subject-hue-200,.schedule-detail-item.teaching.subject-hue-200{--subject-h:200;border-top-color:hsl(200 63% 42%);background:linear-gradient(155deg,hsl(200 82% 98%),hsl(200 62% 91%))}
.schedule-entry.teaching.subject-hue-200 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-200 .schedule-type-pill{background:hsl(200 70% 88%);color:hsl(200 48% 25%)}
.schedule-entry.teaching.subject-hue-201,.teacher-mobile-class.teaching.subject-hue-201,.schedule-detail-item.teaching.subject-hue-201{--subject-h:201;border-top-color:hsl(201 63% 42%);background:linear-gradient(155deg,hsl(201 82% 98%),hsl(201 62% 91%))}
.schedule-entry.teaching.subject-hue-201 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-201 .schedule-type-pill{background:hsl(201 70% 88%);color:hsl(201 48% 25%)}
.schedule-entry.teaching.subject-hue-202,.teacher-mobile-class.teaching.subject-hue-202,.schedule-detail-item.teaching.subject-hue-202{--subject-h:202;border-top-color:hsl(202 63% 42%);background:linear-gradient(155deg,hsl(202 82% 98%),hsl(202 62% 91%))}
.schedule-entry.teaching.subject-hue-202 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-202 .schedule-type-pill{background:hsl(202 70% 88%);color:hsl(202 48% 25%)}
.schedule-entry.teaching.subject-hue-203,.teacher-mobile-class.teaching.subject-hue-203,.schedule-detail-item.teaching.subject-hue-203{--subject-h:203;border-top-color:hsl(203 63% 42%);background:linear-gradient(155deg,hsl(203 82% 98%),hsl(203 62% 91%))}
.schedule-entry.teaching.subject-hue-203 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-203 .schedule-type-pill{background:hsl(203 70% 88%);color:hsl(203 48% 25%)}
.schedule-entry.teaching.subject-hue-204,.teacher-mobile-class.teaching.subject-hue-204,.schedule-detail-item.teaching.subject-hue-204{--subject-h:204;border-top-color:hsl(204 63% 42%);background:linear-gradient(155deg,hsl(204 82% 98%),hsl(204 62% 91%))}
.schedule-entry.teaching.subject-hue-204 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-204 .schedule-type-pill{background:hsl(204 70% 88%);color:hsl(204 48% 25%)}
.schedule-entry.teaching.subject-hue-205,.teacher-mobile-class.teaching.subject-hue-205,.schedule-detail-item.teaching.subject-hue-205{--subject-h:205;border-top-color:hsl(205 63% 42%);background:linear-gradient(155deg,hsl(205 82% 98%),hsl(205 62% 91%))}
.schedule-entry.teaching.subject-hue-205 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-205 .schedule-type-pill{background:hsl(205 70% 88%);color:hsl(205 48% 25%)}
.schedule-entry.teaching.subject-hue-206,.teacher-mobile-class.teaching.subject-hue-206,.schedule-detail-item.teaching.subject-hue-206{--subject-h:206;border-top-color:hsl(206 63% 42%);background:linear-gradient(155deg,hsl(206 82% 98%),hsl(206 62% 91%))}
.schedule-entry.teaching.subject-hue-206 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-206 .schedule-type-pill{background:hsl(206 70% 88%);color:hsl(206 48% 25%)}
.schedule-entry.teaching.subject-hue-207,.teacher-mobile-class.teaching.subject-hue-207,.schedule-detail-item.teaching.subject-hue-207{--subject-h:207;border-top-color:hsl(207 63% 42%);background:linear-gradient(155deg,hsl(207 82% 98%),hsl(207 62% 91%))}
.schedule-entry.teaching.subject-hue-207 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-207 .schedule-type-pill{background:hsl(207 70% 88%);color:hsl(207 48% 25%)}
.schedule-entry.teaching.subject-hue-208,.teacher-mobile-class.teaching.subject-hue-208,.schedule-detail-item.teaching.subject-hue-208{--subject-h:208;border-top-color:hsl(208 63% 42%);background:linear-gradient(155deg,hsl(208 82% 98%),hsl(208 62% 91%))}
.schedule-entry.teaching.subject-hue-208 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-208 .schedule-type-pill{background:hsl(208 70% 88%);color:hsl(208 48% 25%)}
.schedule-entry.teaching.subject-hue-209,.teacher-mobile-class.teaching.subject-hue-209,.schedule-detail-item.teaching.subject-hue-209{--subject-h:209;border-top-color:hsl(209 63% 42%);background:linear-gradient(155deg,hsl(209 82% 98%),hsl(209 62% 91%))}
.schedule-entry.teaching.subject-hue-209 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-209 .schedule-type-pill{background:hsl(209 70% 88%);color:hsl(209 48% 25%)}
.schedule-entry.teaching.subject-hue-210,.teacher-mobile-class.teaching.subject-hue-210,.schedule-detail-item.teaching.subject-hue-210{--subject-h:210;border-top-color:hsl(210 63% 42%);background:linear-gradient(155deg,hsl(210 82% 98%),hsl(210 62% 91%))}
.schedule-entry.teaching.subject-hue-210 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-210 .schedule-type-pill{background:hsl(210 70% 88%);color:hsl(210 48% 25%)}
.schedule-entry.teaching.subject-hue-211,.teacher-mobile-class.teaching.subject-hue-211,.schedule-detail-item.teaching.subject-hue-211{--subject-h:211;border-top-color:hsl(211 63% 42%);background:linear-gradient(155deg,hsl(211 82% 98%),hsl(211 62% 91%))}
.schedule-entry.teaching.subject-hue-211 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-211 .schedule-type-pill{background:hsl(211 70% 88%);color:hsl(211 48% 25%)}
.schedule-entry.teaching.subject-hue-212,.teacher-mobile-class.teaching.subject-hue-212,.schedule-detail-item.teaching.subject-hue-212{--subject-h:212;border-top-color:hsl(212 63% 42%);background:linear-gradient(155deg,hsl(212 82% 98%),hsl(212 62% 91%))}
.schedule-entry.teaching.subject-hue-212 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-212 .schedule-type-pill{background:hsl(212 70% 88%);color:hsl(212 48% 25%)}
.schedule-entry.teaching.subject-hue-213,.teacher-mobile-class.teaching.subject-hue-213,.schedule-detail-item.teaching.subject-hue-213{--subject-h:213;border-top-color:hsl(213 63% 42%);background:linear-gradient(155deg,hsl(213 82% 98%),hsl(213 62% 91%))}
.schedule-entry.teaching.subject-hue-213 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-213 .schedule-type-pill{background:hsl(213 70% 88%);color:hsl(213 48% 25%)}
.schedule-entry.teaching.subject-hue-214,.teacher-mobile-class.teaching.subject-hue-214,.schedule-detail-item.teaching.subject-hue-214{--subject-h:214;border-top-color:hsl(214 63% 42%);background:linear-gradient(155deg,hsl(214 82% 98%),hsl(214 62% 91%))}
.schedule-entry.teaching.subject-hue-214 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-214 .schedule-type-pill{background:hsl(214 70% 88%);color:hsl(214 48% 25%)}
.schedule-entry.teaching.subject-hue-215,.teacher-mobile-class.teaching.subject-hue-215,.schedule-detail-item.teaching.subject-hue-215{--subject-h:215;border-top-color:hsl(215 63% 42%);background:linear-gradient(155deg,hsl(215 82% 98%),hsl(215 62% 91%))}
.schedule-entry.teaching.subject-hue-215 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-215 .schedule-type-pill{background:hsl(215 70% 88%);color:hsl(215 48% 25%)}
.schedule-entry.teaching.subject-hue-216,.teacher-mobile-class.teaching.subject-hue-216,.schedule-detail-item.teaching.subject-hue-216{--subject-h:216;border-top-color:hsl(216 63% 42%);background:linear-gradient(155deg,hsl(216 82% 98%),hsl(216 62% 91%))}
.schedule-entry.teaching.subject-hue-216 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-216 .schedule-type-pill{background:hsl(216 70% 88%);color:hsl(216 48% 25%)}
.schedule-entry.teaching.subject-hue-217,.teacher-mobile-class.teaching.subject-hue-217,.schedule-detail-item.teaching.subject-hue-217{--subject-h:217;border-top-color:hsl(217 63% 42%);background:linear-gradient(155deg,hsl(217 82% 98%),hsl(217 62% 91%))}
.schedule-entry.teaching.subject-hue-217 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-217 .schedule-type-pill{background:hsl(217 70% 88%);color:hsl(217 48% 25%)}
.schedule-entry.teaching.subject-hue-218,.teacher-mobile-class.teaching.subject-hue-218,.schedule-detail-item.teaching.subject-hue-218{--subject-h:218;border-top-color:hsl(218 63% 42%);background:linear-gradient(155deg,hsl(218 82% 98%),hsl(218 62% 91%))}
.schedule-entry.teaching.subject-hue-218 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-218 .schedule-type-pill{background:hsl(218 70% 88%);color:hsl(218 48% 25%)}
.schedule-entry.teaching.subject-hue-219,.teacher-mobile-class.teaching.subject-hue-219,.schedule-detail-item.teaching.subject-hue-219{--subject-h:219;border-top-color:hsl(219 63% 42%);background:linear-gradient(155deg,hsl(219 82% 98%),hsl(219 62% 91%))}
.schedule-entry.teaching.subject-hue-219 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-219 .schedule-type-pill{background:hsl(219 70% 88%);color:hsl(219 48% 25%)}
.schedule-entry.teaching.subject-hue-220,.teacher-mobile-class.teaching.subject-hue-220,.schedule-detail-item.teaching.subject-hue-220{--subject-h:220;border-top-color:hsl(220 63% 42%);background:linear-gradient(155deg,hsl(220 82% 98%),hsl(220 62% 91%))}
.schedule-entry.teaching.subject-hue-220 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-220 .schedule-type-pill{background:hsl(220 70% 88%);color:hsl(220 48% 25%)}
.schedule-entry.teaching.subject-hue-221,.teacher-mobile-class.teaching.subject-hue-221,.schedule-detail-item.teaching.subject-hue-221{--subject-h:221;border-top-color:hsl(221 63% 42%);background:linear-gradient(155deg,hsl(221 82% 98%),hsl(221 62% 91%))}
.schedule-entry.teaching.subject-hue-221 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-221 .schedule-type-pill{background:hsl(221 70% 88%);color:hsl(221 48% 25%)}
.schedule-entry.teaching.subject-hue-222,.teacher-mobile-class.teaching.subject-hue-222,.schedule-detail-item.teaching.subject-hue-222{--subject-h:222;border-top-color:hsl(222 63% 42%);background:linear-gradient(155deg,hsl(222 82% 98%),hsl(222 62% 91%))}
.schedule-entry.teaching.subject-hue-222 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-222 .schedule-type-pill{background:hsl(222 70% 88%);color:hsl(222 48% 25%)}
.schedule-entry.teaching.subject-hue-223,.teacher-mobile-class.teaching.subject-hue-223,.schedule-detail-item.teaching.subject-hue-223{--subject-h:223;border-top-color:hsl(223 63% 42%);background:linear-gradient(155deg,hsl(223 82% 98%),hsl(223 62% 91%))}
.schedule-entry.teaching.subject-hue-223 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-223 .schedule-type-pill{background:hsl(223 70% 88%);color:hsl(223 48% 25%)}
.schedule-entry.teaching.subject-hue-224,.teacher-mobile-class.teaching.subject-hue-224,.schedule-detail-item.teaching.subject-hue-224{--subject-h:224;border-top-color:hsl(224 63% 42%);background:linear-gradient(155deg,hsl(224 82% 98%),hsl(224 62% 91%))}
.schedule-entry.teaching.subject-hue-224 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-224 .schedule-type-pill{background:hsl(224 70% 88%);color:hsl(224 48% 25%)}
.schedule-entry.teaching.subject-hue-225,.teacher-mobile-class.teaching.subject-hue-225,.schedule-detail-item.teaching.subject-hue-225{--subject-h:225;border-top-color:hsl(225 63% 42%);background:linear-gradient(155deg,hsl(225 82% 98%),hsl(225 62% 91%))}
.schedule-entry.teaching.subject-hue-225 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-225 .schedule-type-pill{background:hsl(225 70% 88%);color:hsl(225 48% 25%)}
.schedule-entry.teaching.subject-hue-226,.teacher-mobile-class.teaching.subject-hue-226,.schedule-detail-item.teaching.subject-hue-226{--subject-h:226;border-top-color:hsl(226 63% 42%);background:linear-gradient(155deg,hsl(226 82% 98%),hsl(226 62% 91%))}
.schedule-entry.teaching.subject-hue-226 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-226 .schedule-type-pill{background:hsl(226 70% 88%);color:hsl(226 48% 25%)}
.schedule-entry.teaching.subject-hue-227,.teacher-mobile-class.teaching.subject-hue-227,.schedule-detail-item.teaching.subject-hue-227{--subject-h:227;border-top-color:hsl(227 63% 42%);background:linear-gradient(155deg,hsl(227 82% 98%),hsl(227 62% 91%))}
.schedule-entry.teaching.subject-hue-227 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-227 .schedule-type-pill{background:hsl(227 70% 88%);color:hsl(227 48% 25%)}
.schedule-entry.teaching.subject-hue-228,.teacher-mobile-class.teaching.subject-hue-228,.schedule-detail-item.teaching.subject-hue-228{--subject-h:228;border-top-color:hsl(228 63% 42%);background:linear-gradient(155deg,hsl(228 82% 98%),hsl(228 62% 91%))}
.schedule-entry.teaching.subject-hue-228 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-228 .schedule-type-pill{background:hsl(228 70% 88%);color:hsl(228 48% 25%)}
.schedule-entry.teaching.subject-hue-229,.teacher-mobile-class.teaching.subject-hue-229,.schedule-detail-item.teaching.subject-hue-229{--subject-h:229;border-top-color:hsl(229 63% 42%);background:linear-gradient(155deg,hsl(229 82% 98%),hsl(229 62% 91%))}
.schedule-entry.teaching.subject-hue-229 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-229 .schedule-type-pill{background:hsl(229 70% 88%);color:hsl(229 48% 25%)}
.schedule-entry.teaching.subject-hue-230,.teacher-mobile-class.teaching.subject-hue-230,.schedule-detail-item.teaching.subject-hue-230{--subject-h:230;border-top-color:hsl(230 63% 42%);background:linear-gradient(155deg,hsl(230 82% 98%),hsl(230 62% 91%))}
.schedule-entry.teaching.subject-hue-230 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-230 .schedule-type-pill{background:hsl(230 70% 88%);color:hsl(230 48% 25%)}
.schedule-entry.teaching.subject-hue-231,.teacher-mobile-class.teaching.subject-hue-231,.schedule-detail-item.teaching.subject-hue-231{--subject-h:231;border-top-color:hsl(231 63% 42%);background:linear-gradient(155deg,hsl(231 82% 98%),hsl(231 62% 91%))}
.schedule-entry.teaching.subject-hue-231 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-231 .schedule-type-pill{background:hsl(231 70% 88%);color:hsl(231 48% 25%)}
.schedule-entry.teaching.subject-hue-232,.teacher-mobile-class.teaching.subject-hue-232,.schedule-detail-item.teaching.subject-hue-232{--subject-h:232;border-top-color:hsl(232 63% 42%);background:linear-gradient(155deg,hsl(232 82% 98%),hsl(232 62% 91%))}
.schedule-entry.teaching.subject-hue-232 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-232 .schedule-type-pill{background:hsl(232 70% 88%);color:hsl(232 48% 25%)}
.schedule-entry.teaching.subject-hue-233,.teacher-mobile-class.teaching.subject-hue-233,.schedule-detail-item.teaching.subject-hue-233{--subject-h:233;border-top-color:hsl(233 63% 42%);background:linear-gradient(155deg,hsl(233 82% 98%),hsl(233 62% 91%))}
.schedule-entry.teaching.subject-hue-233 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-233 .schedule-type-pill{background:hsl(233 70% 88%);color:hsl(233 48% 25%)}
.schedule-entry.teaching.subject-hue-234,.teacher-mobile-class.teaching.subject-hue-234,.schedule-detail-item.teaching.subject-hue-234{--subject-h:234;border-top-color:hsl(234 63% 42%);background:linear-gradient(155deg,hsl(234 82% 98%),hsl(234 62% 91%))}
.schedule-entry.teaching.subject-hue-234 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-234 .schedule-type-pill{background:hsl(234 70% 88%);color:hsl(234 48% 25%)}
.schedule-entry.teaching.subject-hue-235,.teacher-mobile-class.teaching.subject-hue-235,.schedule-detail-item.teaching.subject-hue-235{--subject-h:235;border-top-color:hsl(235 63% 42%);background:linear-gradient(155deg,hsl(235 82% 98%),hsl(235 62% 91%))}
.schedule-entry.teaching.subject-hue-235 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-235 .schedule-type-pill{background:hsl(235 70% 88%);color:hsl(235 48% 25%)}
.schedule-entry.teaching.subject-hue-236,.teacher-mobile-class.teaching.subject-hue-236,.schedule-detail-item.teaching.subject-hue-236{--subject-h:236;border-top-color:hsl(236 63% 42%);background:linear-gradient(155deg,hsl(236 82% 98%),hsl(236 62% 91%))}
.schedule-entry.teaching.subject-hue-236 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-236 .schedule-type-pill{background:hsl(236 70% 88%);color:hsl(236 48% 25%)}
.schedule-entry.teaching.subject-hue-237,.teacher-mobile-class.teaching.subject-hue-237,.schedule-detail-item.teaching.subject-hue-237{--subject-h:237;border-top-color:hsl(237 63% 42%);background:linear-gradient(155deg,hsl(237 82% 98%),hsl(237 62% 91%))}
.schedule-entry.teaching.subject-hue-237 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-237 .schedule-type-pill{background:hsl(237 70% 88%);color:hsl(237 48% 25%)}
.schedule-entry.teaching.subject-hue-238,.teacher-mobile-class.teaching.subject-hue-238,.schedule-detail-item.teaching.subject-hue-238{--subject-h:238;border-top-color:hsl(238 63% 42%);background:linear-gradient(155deg,hsl(238 82% 98%),hsl(238 62% 91%))}
.schedule-entry.teaching.subject-hue-238 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-238 .schedule-type-pill{background:hsl(238 70% 88%);color:hsl(238 48% 25%)}
.schedule-entry.teaching.subject-hue-239,.teacher-mobile-class.teaching.subject-hue-239,.schedule-detail-item.teaching.subject-hue-239{--subject-h:239;border-top-color:hsl(239 63% 42%);background:linear-gradient(155deg,hsl(239 82% 98%),hsl(239 62% 91%))}
.schedule-entry.teaching.subject-hue-239 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-239 .schedule-type-pill{background:hsl(239 70% 88%);color:hsl(239 48% 25%)}
.schedule-entry.teaching.subject-hue-240,.teacher-mobile-class.teaching.subject-hue-240,.schedule-detail-item.teaching.subject-hue-240{--subject-h:240;border-top-color:hsl(240 63% 42%);background:linear-gradient(155deg,hsl(240 82% 98%),hsl(240 62% 91%))}
.schedule-entry.teaching.subject-hue-240 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-240 .schedule-type-pill{background:hsl(240 70% 88%);color:hsl(240 48% 25%)}
.schedule-entry.teaching.subject-hue-241,.teacher-mobile-class.teaching.subject-hue-241,.schedule-detail-item.teaching.subject-hue-241{--subject-h:241;border-top-color:hsl(241 63% 42%);background:linear-gradient(155deg,hsl(241 82% 98%),hsl(241 62% 91%))}
.schedule-entry.teaching.subject-hue-241 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-241 .schedule-type-pill{background:hsl(241 70% 88%);color:hsl(241 48% 25%)}
.schedule-entry.teaching.subject-hue-242,.teacher-mobile-class.teaching.subject-hue-242,.schedule-detail-item.teaching.subject-hue-242{--subject-h:242;border-top-color:hsl(242 63% 42%);background:linear-gradient(155deg,hsl(242 82% 98%),hsl(242 62% 91%))}
.schedule-entry.teaching.subject-hue-242 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-242 .schedule-type-pill{background:hsl(242 70% 88%);color:hsl(242 48% 25%)}
.schedule-entry.teaching.subject-hue-243,.teacher-mobile-class.teaching.subject-hue-243,.schedule-detail-item.teaching.subject-hue-243{--subject-h:243;border-top-color:hsl(243 63% 42%);background:linear-gradient(155deg,hsl(243 82% 98%),hsl(243 62% 91%))}
.schedule-entry.teaching.subject-hue-243 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-243 .schedule-type-pill{background:hsl(243 70% 88%);color:hsl(243 48% 25%)}
.schedule-entry.teaching.subject-hue-244,.teacher-mobile-class.teaching.subject-hue-244,.schedule-detail-item.teaching.subject-hue-244{--subject-h:244;border-top-color:hsl(244 63% 42%);background:linear-gradient(155deg,hsl(244 82% 98%),hsl(244 62% 91%))}
.schedule-entry.teaching.subject-hue-244 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-244 .schedule-type-pill{background:hsl(244 70% 88%);color:hsl(244 48% 25%)}
.schedule-entry.teaching.subject-hue-245,.teacher-mobile-class.teaching.subject-hue-245,.schedule-detail-item.teaching.subject-hue-245{--subject-h:245;border-top-color:hsl(245 63% 42%);background:linear-gradient(155deg,hsl(245 82% 98%),hsl(245 62% 91%))}
.schedule-entry.teaching.subject-hue-245 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-245 .schedule-type-pill{background:hsl(245 70% 88%);color:hsl(245 48% 25%)}
.schedule-entry.teaching.subject-hue-246,.teacher-mobile-class.teaching.subject-hue-246,.schedule-detail-item.teaching.subject-hue-246{--subject-h:246;border-top-color:hsl(246 63% 42%);background:linear-gradient(155deg,hsl(246 82% 98%),hsl(246 62% 91%))}
.schedule-entry.teaching.subject-hue-246 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-246 .schedule-type-pill{background:hsl(246 70% 88%);color:hsl(246 48% 25%)}
.schedule-entry.teaching.subject-hue-247,.teacher-mobile-class.teaching.subject-hue-247,.schedule-detail-item.teaching.subject-hue-247{--subject-h:247;border-top-color:hsl(247 63% 42%);background:linear-gradient(155deg,hsl(247 82% 98%),hsl(247 62% 91%))}
.schedule-entry.teaching.subject-hue-247 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-247 .schedule-type-pill{background:hsl(247 70% 88%);color:hsl(247 48% 25%)}
.schedule-entry.teaching.subject-hue-248,.teacher-mobile-class.teaching.subject-hue-248,.schedule-detail-item.teaching.subject-hue-248{--subject-h:248;border-top-color:hsl(248 63% 42%);background:linear-gradient(155deg,hsl(248 82% 98%),hsl(248 62% 91%))}
.schedule-entry.teaching.subject-hue-248 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-248 .schedule-type-pill{background:hsl(248 70% 88%);color:hsl(248 48% 25%)}
.schedule-entry.teaching.subject-hue-249,.teacher-mobile-class.teaching.subject-hue-249,.schedule-detail-item.teaching.subject-hue-249{--subject-h:249;border-top-color:hsl(249 63% 42%);background:linear-gradient(155deg,hsl(249 82% 98%),hsl(249 62% 91%))}
.schedule-entry.teaching.subject-hue-249 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-249 .schedule-type-pill{background:hsl(249 70% 88%);color:hsl(249 48% 25%)}
.schedule-entry.teaching.subject-hue-250,.teacher-mobile-class.teaching.subject-hue-250,.schedule-detail-item.teaching.subject-hue-250{--subject-h:250;border-top-color:hsl(250 63% 42%);background:linear-gradient(155deg,hsl(250 82% 98%),hsl(250 62% 91%))}
.schedule-entry.teaching.subject-hue-250 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-250 .schedule-type-pill{background:hsl(250 70% 88%);color:hsl(250 48% 25%)}
.schedule-entry.teaching.subject-hue-251,.teacher-mobile-class.teaching.subject-hue-251,.schedule-detail-item.teaching.subject-hue-251{--subject-h:251;border-top-color:hsl(251 63% 42%);background:linear-gradient(155deg,hsl(251 82% 98%),hsl(251 62% 91%))}
.schedule-entry.teaching.subject-hue-251 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-251 .schedule-type-pill{background:hsl(251 70% 88%);color:hsl(251 48% 25%)}
.schedule-entry.teaching.subject-hue-252,.teacher-mobile-class.teaching.subject-hue-252,.schedule-detail-item.teaching.subject-hue-252{--subject-h:252;border-top-color:hsl(252 63% 42%);background:linear-gradient(155deg,hsl(252 82% 98%),hsl(252 62% 91%))}
.schedule-entry.teaching.subject-hue-252 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-252 .schedule-type-pill{background:hsl(252 70% 88%);color:hsl(252 48% 25%)}
.schedule-entry.teaching.subject-hue-253,.teacher-mobile-class.teaching.subject-hue-253,.schedule-detail-item.teaching.subject-hue-253{--subject-h:253;border-top-color:hsl(253 63% 42%);background:linear-gradient(155deg,hsl(253 82% 98%),hsl(253 62% 91%))}
.schedule-entry.teaching.subject-hue-253 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-253 .schedule-type-pill{background:hsl(253 70% 88%);color:hsl(253 48% 25%)}
.schedule-entry.teaching.subject-hue-254,.teacher-mobile-class.teaching.subject-hue-254,.schedule-detail-item.teaching.subject-hue-254{--subject-h:254;border-top-color:hsl(254 63% 42%);background:linear-gradient(155deg,hsl(254 82% 98%),hsl(254 62% 91%))}
.schedule-entry.teaching.subject-hue-254 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-254 .schedule-type-pill{background:hsl(254 70% 88%);color:hsl(254 48% 25%)}
.schedule-entry.teaching.subject-hue-255,.teacher-mobile-class.teaching.subject-hue-255,.schedule-detail-item.teaching.subject-hue-255{--subject-h:255;border-top-color:hsl(255 63% 42%);background:linear-gradient(155deg,hsl(255 82% 98%),hsl(255 62% 91%))}
.schedule-entry.teaching.subject-hue-255 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-255 .schedule-type-pill{background:hsl(255 70% 88%);color:hsl(255 48% 25%)}
.schedule-entry.teaching.subject-hue-256,.teacher-mobile-class.teaching.subject-hue-256,.schedule-detail-item.teaching.subject-hue-256{--subject-h:256;border-top-color:hsl(256 63% 42%);background:linear-gradient(155deg,hsl(256 82% 98%),hsl(256 62% 91%))}
.schedule-entry.teaching.subject-hue-256 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-256 .schedule-type-pill{background:hsl(256 70% 88%);color:hsl(256 48% 25%)}
.schedule-entry.teaching.subject-hue-257,.teacher-mobile-class.teaching.subject-hue-257,.schedule-detail-item.teaching.subject-hue-257{--subject-h:257;border-top-color:hsl(257 63% 42%);background:linear-gradient(155deg,hsl(257 82% 98%),hsl(257 62% 91%))}
.schedule-entry.teaching.subject-hue-257 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-257 .schedule-type-pill{background:hsl(257 70% 88%);color:hsl(257 48% 25%)}
.schedule-entry.teaching.subject-hue-258,.teacher-mobile-class.teaching.subject-hue-258,.schedule-detail-item.teaching.subject-hue-258{--subject-h:258;border-top-color:hsl(258 63% 42%);background:linear-gradient(155deg,hsl(258 82% 98%),hsl(258 62% 91%))}
.schedule-entry.teaching.subject-hue-258 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-258 .schedule-type-pill{background:hsl(258 70% 88%);color:hsl(258 48% 25%)}
.schedule-entry.teaching.subject-hue-259,.teacher-mobile-class.teaching.subject-hue-259,.schedule-detail-item.teaching.subject-hue-259{--subject-h:259;border-top-color:hsl(259 63% 42%);background:linear-gradient(155deg,hsl(259 82% 98%),hsl(259 62% 91%))}
.schedule-entry.teaching.subject-hue-259 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-259 .schedule-type-pill{background:hsl(259 70% 88%);color:hsl(259 48% 25%)}
.schedule-entry.teaching.subject-hue-260,.teacher-mobile-class.teaching.subject-hue-260,.schedule-detail-item.teaching.subject-hue-260{--subject-h:260;border-top-color:hsl(260 63% 42%);background:linear-gradient(155deg,hsl(260 82% 98%),hsl(260 62% 91%))}
.schedule-entry.teaching.subject-hue-260 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-260 .schedule-type-pill{background:hsl(260 70% 88%);color:hsl(260 48% 25%)}
.schedule-entry.teaching.subject-hue-261,.teacher-mobile-class.teaching.subject-hue-261,.schedule-detail-item.teaching.subject-hue-261{--subject-h:261;border-top-color:hsl(261 63% 42%);background:linear-gradient(155deg,hsl(261 82% 98%),hsl(261 62% 91%))}
.schedule-entry.teaching.subject-hue-261 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-261 .schedule-type-pill{background:hsl(261 70% 88%);color:hsl(261 48% 25%)}
.schedule-entry.teaching.subject-hue-262,.teacher-mobile-class.teaching.subject-hue-262,.schedule-detail-item.teaching.subject-hue-262{--subject-h:262;border-top-color:hsl(262 63% 42%);background:linear-gradient(155deg,hsl(262 82% 98%),hsl(262 62% 91%))}
.schedule-entry.teaching.subject-hue-262 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-262 .schedule-type-pill{background:hsl(262 70% 88%);color:hsl(262 48% 25%)}
.schedule-entry.teaching.subject-hue-263,.teacher-mobile-class.teaching.subject-hue-263,.schedule-detail-item.teaching.subject-hue-263{--subject-h:263;border-top-color:hsl(263 63% 42%);background:linear-gradient(155deg,hsl(263 82% 98%),hsl(263 62% 91%))}
.schedule-entry.teaching.subject-hue-263 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-263 .schedule-type-pill{background:hsl(263 70% 88%);color:hsl(263 48% 25%)}
.schedule-entry.teaching.subject-hue-264,.teacher-mobile-class.teaching.subject-hue-264,.schedule-detail-item.teaching.subject-hue-264{--subject-h:264;border-top-color:hsl(264 63% 42%);background:linear-gradient(155deg,hsl(264 82% 98%),hsl(264 62% 91%))}
.schedule-entry.teaching.subject-hue-264 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-264 .schedule-type-pill{background:hsl(264 70% 88%);color:hsl(264 48% 25%)}
.schedule-entry.teaching.subject-hue-265,.teacher-mobile-class.teaching.subject-hue-265,.schedule-detail-item.teaching.subject-hue-265{--subject-h:265;border-top-color:hsl(265 63% 42%);background:linear-gradient(155deg,hsl(265 82% 98%),hsl(265 62% 91%))}
.schedule-entry.teaching.subject-hue-265 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-265 .schedule-type-pill{background:hsl(265 70% 88%);color:hsl(265 48% 25%)}
.schedule-entry.teaching.subject-hue-266,.teacher-mobile-class.teaching.subject-hue-266,.schedule-detail-item.teaching.subject-hue-266{--subject-h:266;border-top-color:hsl(266 63% 42%);background:linear-gradient(155deg,hsl(266 82% 98%),hsl(266 62% 91%))}
.schedule-entry.teaching.subject-hue-266 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-266 .schedule-type-pill{background:hsl(266 70% 88%);color:hsl(266 48% 25%)}
.schedule-entry.teaching.subject-hue-267,.teacher-mobile-class.teaching.subject-hue-267,.schedule-detail-item.teaching.subject-hue-267{--subject-h:267;border-top-color:hsl(267 63% 42%);background:linear-gradient(155deg,hsl(267 82% 98%),hsl(267 62% 91%))}
.schedule-entry.teaching.subject-hue-267 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-267 .schedule-type-pill{background:hsl(267 70% 88%);color:hsl(267 48% 25%)}
.schedule-entry.teaching.subject-hue-268,.teacher-mobile-class.teaching.subject-hue-268,.schedule-detail-item.teaching.subject-hue-268{--subject-h:268;border-top-color:hsl(268 63% 42%);background:linear-gradient(155deg,hsl(268 82% 98%),hsl(268 62% 91%))}
.schedule-entry.teaching.subject-hue-268 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-268 .schedule-type-pill{background:hsl(268 70% 88%);color:hsl(268 48% 25%)}
.schedule-entry.teaching.subject-hue-269,.teacher-mobile-class.teaching.subject-hue-269,.schedule-detail-item.teaching.subject-hue-269{--subject-h:269;border-top-color:hsl(269 63% 42%);background:linear-gradient(155deg,hsl(269 82% 98%),hsl(269 62% 91%))}
.schedule-entry.teaching.subject-hue-269 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-269 .schedule-type-pill{background:hsl(269 70% 88%);color:hsl(269 48% 25%)}
.schedule-entry.teaching.subject-hue-270,.teacher-mobile-class.teaching.subject-hue-270,.schedule-detail-item.teaching.subject-hue-270{--subject-h:270;border-top-color:hsl(270 63% 42%);background:linear-gradient(155deg,hsl(270 82% 98%),hsl(270 62% 91%))}
.schedule-entry.teaching.subject-hue-270 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-270 .schedule-type-pill{background:hsl(270 70% 88%);color:hsl(270 48% 25%)}
.schedule-entry.teaching.subject-hue-271,.teacher-mobile-class.teaching.subject-hue-271,.schedule-detail-item.teaching.subject-hue-271{--subject-h:271;border-top-color:hsl(271 63% 42%);background:linear-gradient(155deg,hsl(271 82% 98%),hsl(271 62% 91%))}
.schedule-entry.teaching.subject-hue-271 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-271 .schedule-type-pill{background:hsl(271 70% 88%);color:hsl(271 48% 25%)}
.schedule-entry.teaching.subject-hue-272,.teacher-mobile-class.teaching.subject-hue-272,.schedule-detail-item.teaching.subject-hue-272{--subject-h:272;border-top-color:hsl(272 63% 42%);background:linear-gradient(155deg,hsl(272 82% 98%),hsl(272 62% 91%))}
.schedule-entry.teaching.subject-hue-272 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-272 .schedule-type-pill{background:hsl(272 70% 88%);color:hsl(272 48% 25%)}
.schedule-entry.teaching.subject-hue-273,.teacher-mobile-class.teaching.subject-hue-273,.schedule-detail-item.teaching.subject-hue-273{--subject-h:273;border-top-color:hsl(273 63% 42%);background:linear-gradient(155deg,hsl(273 82% 98%),hsl(273 62% 91%))}
.schedule-entry.teaching.subject-hue-273 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-273 .schedule-type-pill{background:hsl(273 70% 88%);color:hsl(273 48% 25%)}
.schedule-entry.teaching.subject-hue-274,.teacher-mobile-class.teaching.subject-hue-274,.schedule-detail-item.teaching.subject-hue-274{--subject-h:274;border-top-color:hsl(274 63% 42%);background:linear-gradient(155deg,hsl(274 82% 98%),hsl(274 62% 91%))}
.schedule-entry.teaching.subject-hue-274 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-274 .schedule-type-pill{background:hsl(274 70% 88%);color:hsl(274 48% 25%)}
.schedule-entry.teaching.subject-hue-275,.teacher-mobile-class.teaching.subject-hue-275,.schedule-detail-item.teaching.subject-hue-275{--subject-h:275;border-top-color:hsl(275 63% 42%);background:linear-gradient(155deg,hsl(275 82% 98%),hsl(275 62% 91%))}
.schedule-entry.teaching.subject-hue-275 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-275 .schedule-type-pill{background:hsl(275 70% 88%);color:hsl(275 48% 25%)}
.schedule-entry.teaching.subject-hue-276,.teacher-mobile-class.teaching.subject-hue-276,.schedule-detail-item.teaching.subject-hue-276{--subject-h:276;border-top-color:hsl(276 63% 42%);background:linear-gradient(155deg,hsl(276 82% 98%),hsl(276 62% 91%))}
.schedule-entry.teaching.subject-hue-276 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-276 .schedule-type-pill{background:hsl(276 70% 88%);color:hsl(276 48% 25%)}
.schedule-entry.teaching.subject-hue-277,.teacher-mobile-class.teaching.subject-hue-277,.schedule-detail-item.teaching.subject-hue-277{--subject-h:277;border-top-color:hsl(277 63% 42%);background:linear-gradient(155deg,hsl(277 82% 98%),hsl(277 62% 91%))}
.schedule-entry.teaching.subject-hue-277 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-277 .schedule-type-pill{background:hsl(277 70% 88%);color:hsl(277 48% 25%)}
.schedule-entry.teaching.subject-hue-278,.teacher-mobile-class.teaching.subject-hue-278,.schedule-detail-item.teaching.subject-hue-278{--subject-h:278;border-top-color:hsl(278 63% 42%);background:linear-gradient(155deg,hsl(278 82% 98%),hsl(278 62% 91%))}
.schedule-entry.teaching.subject-hue-278 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-278 .schedule-type-pill{background:hsl(278 70% 88%);color:hsl(278 48% 25%)}
.schedule-entry.teaching.subject-hue-279,.teacher-mobile-class.teaching.subject-hue-279,.schedule-detail-item.teaching.subject-hue-279{--subject-h:279;border-top-color:hsl(279 63% 42%);background:linear-gradient(155deg,hsl(279 82% 98%),hsl(279 62% 91%))}
.schedule-entry.teaching.subject-hue-279 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-279 .schedule-type-pill{background:hsl(279 70% 88%);color:hsl(279 48% 25%)}
.schedule-entry.teaching.subject-hue-280,.teacher-mobile-class.teaching.subject-hue-280,.schedule-detail-item.teaching.subject-hue-280{--subject-h:280;border-top-color:hsl(280 63% 42%);background:linear-gradient(155deg,hsl(280 82% 98%),hsl(280 62% 91%))}
.schedule-entry.teaching.subject-hue-280 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-280 .schedule-type-pill{background:hsl(280 70% 88%);color:hsl(280 48% 25%)}
.schedule-entry.teaching.subject-hue-281,.teacher-mobile-class.teaching.subject-hue-281,.schedule-detail-item.teaching.subject-hue-281{--subject-h:281;border-top-color:hsl(281 63% 42%);background:linear-gradient(155deg,hsl(281 82% 98%),hsl(281 62% 91%))}
.schedule-entry.teaching.subject-hue-281 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-281 .schedule-type-pill{background:hsl(281 70% 88%);color:hsl(281 48% 25%)}
.schedule-entry.teaching.subject-hue-282,.teacher-mobile-class.teaching.subject-hue-282,.schedule-detail-item.teaching.subject-hue-282{--subject-h:282;border-top-color:hsl(282 63% 42%);background:linear-gradient(155deg,hsl(282 82% 98%),hsl(282 62% 91%))}
.schedule-entry.teaching.subject-hue-282 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-282 .schedule-type-pill{background:hsl(282 70% 88%);color:hsl(282 48% 25%)}
.schedule-entry.teaching.subject-hue-283,.teacher-mobile-class.teaching.subject-hue-283,.schedule-detail-item.teaching.subject-hue-283{--subject-h:283;border-top-color:hsl(283 63% 42%);background:linear-gradient(155deg,hsl(283 82% 98%),hsl(283 62% 91%))}
.schedule-entry.teaching.subject-hue-283 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-283 .schedule-type-pill{background:hsl(283 70% 88%);color:hsl(283 48% 25%)}
.schedule-entry.teaching.subject-hue-284,.teacher-mobile-class.teaching.subject-hue-284,.schedule-detail-item.teaching.subject-hue-284{--subject-h:284;border-top-color:hsl(284 63% 42%);background:linear-gradient(155deg,hsl(284 82% 98%),hsl(284 62% 91%))}
.schedule-entry.teaching.subject-hue-284 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-284 .schedule-type-pill{background:hsl(284 70% 88%);color:hsl(284 48% 25%)}
.schedule-entry.teaching.subject-hue-285,.teacher-mobile-class.teaching.subject-hue-285,.schedule-detail-item.teaching.subject-hue-285{--subject-h:285;border-top-color:hsl(285 63% 42%);background:linear-gradient(155deg,hsl(285 82% 98%),hsl(285 62% 91%))}
.schedule-entry.teaching.subject-hue-285 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-285 .schedule-type-pill{background:hsl(285 70% 88%);color:hsl(285 48% 25%)}
.schedule-entry.teaching.subject-hue-286,.teacher-mobile-class.teaching.subject-hue-286,.schedule-detail-item.teaching.subject-hue-286{--subject-h:286;border-top-color:hsl(286 63% 42%);background:linear-gradient(155deg,hsl(286 82% 98%),hsl(286 62% 91%))}
.schedule-entry.teaching.subject-hue-286 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-286 .schedule-type-pill{background:hsl(286 70% 88%);color:hsl(286 48% 25%)}
.schedule-entry.teaching.subject-hue-287,.teacher-mobile-class.teaching.subject-hue-287,.schedule-detail-item.teaching.subject-hue-287{--subject-h:287;border-top-color:hsl(287 63% 42%);background:linear-gradient(155deg,hsl(287 82% 98%),hsl(287 62% 91%))}
.schedule-entry.teaching.subject-hue-287 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-287 .schedule-type-pill{background:hsl(287 70% 88%);color:hsl(287 48% 25%)}
.schedule-entry.teaching.subject-hue-288,.teacher-mobile-class.teaching.subject-hue-288,.schedule-detail-item.teaching.subject-hue-288{--subject-h:288;border-top-color:hsl(288 63% 42%);background:linear-gradient(155deg,hsl(288 82% 98%),hsl(288 62% 91%))}
.schedule-entry.teaching.subject-hue-288 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-288 .schedule-type-pill{background:hsl(288 70% 88%);color:hsl(288 48% 25%)}
.schedule-entry.teaching.subject-hue-289,.teacher-mobile-class.teaching.subject-hue-289,.schedule-detail-item.teaching.subject-hue-289{--subject-h:289;border-top-color:hsl(289 63% 42%);background:linear-gradient(155deg,hsl(289 82% 98%),hsl(289 62% 91%))}
.schedule-entry.teaching.subject-hue-289 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-289 .schedule-type-pill{background:hsl(289 70% 88%);color:hsl(289 48% 25%)}
.schedule-entry.teaching.subject-hue-290,.teacher-mobile-class.teaching.subject-hue-290,.schedule-detail-item.teaching.subject-hue-290{--subject-h:290;border-top-color:hsl(290 63% 42%);background:linear-gradient(155deg,hsl(290 82% 98%),hsl(290 62% 91%))}
.schedule-entry.teaching.subject-hue-290 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-290 .schedule-type-pill{background:hsl(290 70% 88%);color:hsl(290 48% 25%)}
.schedule-entry.teaching.subject-hue-291,.teacher-mobile-class.teaching.subject-hue-291,.schedule-detail-item.teaching.subject-hue-291{--subject-h:291;border-top-color:hsl(291 63% 42%);background:linear-gradient(155deg,hsl(291 82% 98%),hsl(291 62% 91%))}
.schedule-entry.teaching.subject-hue-291 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-291 .schedule-type-pill{background:hsl(291 70% 88%);color:hsl(291 48% 25%)}
.schedule-entry.teaching.subject-hue-292,.teacher-mobile-class.teaching.subject-hue-292,.schedule-detail-item.teaching.subject-hue-292{--subject-h:292;border-top-color:hsl(292 63% 42%);background:linear-gradient(155deg,hsl(292 82% 98%),hsl(292 62% 91%))}
.schedule-entry.teaching.subject-hue-292 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-292 .schedule-type-pill{background:hsl(292 70% 88%);color:hsl(292 48% 25%)}
.schedule-entry.teaching.subject-hue-293,.teacher-mobile-class.teaching.subject-hue-293,.schedule-detail-item.teaching.subject-hue-293{--subject-h:293;border-top-color:hsl(293 63% 42%);background:linear-gradient(155deg,hsl(293 82% 98%),hsl(293 62% 91%))}
.schedule-entry.teaching.subject-hue-293 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-293 .schedule-type-pill{background:hsl(293 70% 88%);color:hsl(293 48% 25%)}
.schedule-entry.teaching.subject-hue-294,.teacher-mobile-class.teaching.subject-hue-294,.schedule-detail-item.teaching.subject-hue-294{--subject-h:294;border-top-color:hsl(294 63% 42%);background:linear-gradient(155deg,hsl(294 82% 98%),hsl(294 62% 91%))}
.schedule-entry.teaching.subject-hue-294 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-294 .schedule-type-pill{background:hsl(294 70% 88%);color:hsl(294 48% 25%)}
.schedule-entry.teaching.subject-hue-295,.teacher-mobile-class.teaching.subject-hue-295,.schedule-detail-item.teaching.subject-hue-295{--subject-h:295;border-top-color:hsl(295 63% 42%);background:linear-gradient(155deg,hsl(295 82% 98%),hsl(295 62% 91%))}
.schedule-entry.teaching.subject-hue-295 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-295 .schedule-type-pill{background:hsl(295 70% 88%);color:hsl(295 48% 25%)}
.schedule-entry.teaching.subject-hue-296,.teacher-mobile-class.teaching.subject-hue-296,.schedule-detail-item.teaching.subject-hue-296{--subject-h:296;border-top-color:hsl(296 63% 42%);background:linear-gradient(155deg,hsl(296 82% 98%),hsl(296 62% 91%))}
.schedule-entry.teaching.subject-hue-296 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-296 .schedule-type-pill{background:hsl(296 70% 88%);color:hsl(296 48% 25%)}
.schedule-entry.teaching.subject-hue-297,.teacher-mobile-class.teaching.subject-hue-297,.schedule-detail-item.teaching.subject-hue-297{--subject-h:297;border-top-color:hsl(297 63% 42%);background:linear-gradient(155deg,hsl(297 82% 98%),hsl(297 62% 91%))}
.schedule-entry.teaching.subject-hue-297 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-297 .schedule-type-pill{background:hsl(297 70% 88%);color:hsl(297 48% 25%)}
.schedule-entry.teaching.subject-hue-298,.teacher-mobile-class.teaching.subject-hue-298,.schedule-detail-item.teaching.subject-hue-298{--subject-h:298;border-top-color:hsl(298 63% 42%);background:linear-gradient(155deg,hsl(298 82% 98%),hsl(298 62% 91%))}
.schedule-entry.teaching.subject-hue-298 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-298 .schedule-type-pill{background:hsl(298 70% 88%);color:hsl(298 48% 25%)}
.schedule-entry.teaching.subject-hue-299,.teacher-mobile-class.teaching.subject-hue-299,.schedule-detail-item.teaching.subject-hue-299{--subject-h:299;border-top-color:hsl(299 63% 42%);background:linear-gradient(155deg,hsl(299 82% 98%),hsl(299 62% 91%))}
.schedule-entry.teaching.subject-hue-299 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-299 .schedule-type-pill{background:hsl(299 70% 88%);color:hsl(299 48% 25%)}
.schedule-entry.teaching.subject-hue-300,.teacher-mobile-class.teaching.subject-hue-300,.schedule-detail-item.teaching.subject-hue-300{--subject-h:300;border-top-color:hsl(300 63% 42%);background:linear-gradient(155deg,hsl(300 82% 98%),hsl(300 62% 91%))}
.schedule-entry.teaching.subject-hue-300 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-300 .schedule-type-pill{background:hsl(300 70% 88%);color:hsl(300 48% 25%)}
.schedule-entry.teaching.subject-hue-301,.teacher-mobile-class.teaching.subject-hue-301,.schedule-detail-item.teaching.subject-hue-301{--subject-h:301;border-top-color:hsl(301 63% 42%);background:linear-gradient(155deg,hsl(301 82% 98%),hsl(301 62% 91%))}
.schedule-entry.teaching.subject-hue-301 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-301 .schedule-type-pill{background:hsl(301 70% 88%);color:hsl(301 48% 25%)}
.schedule-entry.teaching.subject-hue-302,.teacher-mobile-class.teaching.subject-hue-302,.schedule-detail-item.teaching.subject-hue-302{--subject-h:302;border-top-color:hsl(302 63% 42%);background:linear-gradient(155deg,hsl(302 82% 98%),hsl(302 62% 91%))}
.schedule-entry.teaching.subject-hue-302 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-302 .schedule-type-pill{background:hsl(302 70% 88%);color:hsl(302 48% 25%)}
.schedule-entry.teaching.subject-hue-303,.teacher-mobile-class.teaching.subject-hue-303,.schedule-detail-item.teaching.subject-hue-303{--subject-h:303;border-top-color:hsl(303 63% 42%);background:linear-gradient(155deg,hsl(303 82% 98%),hsl(303 62% 91%))}
.schedule-entry.teaching.subject-hue-303 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-303 .schedule-type-pill{background:hsl(303 70% 88%);color:hsl(303 48% 25%)}
.schedule-entry.teaching.subject-hue-304,.teacher-mobile-class.teaching.subject-hue-304,.schedule-detail-item.teaching.subject-hue-304{--subject-h:304;border-top-color:hsl(304 63% 42%);background:linear-gradient(155deg,hsl(304 82% 98%),hsl(304 62% 91%))}
.schedule-entry.teaching.subject-hue-304 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-304 .schedule-type-pill{background:hsl(304 70% 88%);color:hsl(304 48% 25%)}
.schedule-entry.teaching.subject-hue-305,.teacher-mobile-class.teaching.subject-hue-305,.schedule-detail-item.teaching.subject-hue-305{--subject-h:305;border-top-color:hsl(305 63% 42%);background:linear-gradient(155deg,hsl(305 82% 98%),hsl(305 62% 91%))}
.schedule-entry.teaching.subject-hue-305 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-305 .schedule-type-pill{background:hsl(305 70% 88%);color:hsl(305 48% 25%)}
.schedule-entry.teaching.subject-hue-306,.teacher-mobile-class.teaching.subject-hue-306,.schedule-detail-item.teaching.subject-hue-306{--subject-h:306;border-top-color:hsl(306 63% 42%);background:linear-gradient(155deg,hsl(306 82% 98%),hsl(306 62% 91%))}
.schedule-entry.teaching.subject-hue-306 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-306 .schedule-type-pill{background:hsl(306 70% 88%);color:hsl(306 48% 25%)}
.schedule-entry.teaching.subject-hue-307,.teacher-mobile-class.teaching.subject-hue-307,.schedule-detail-item.teaching.subject-hue-307{--subject-h:307;border-top-color:hsl(307 63% 42%);background:linear-gradient(155deg,hsl(307 82% 98%),hsl(307 62% 91%))}
.schedule-entry.teaching.subject-hue-307 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-307 .schedule-type-pill{background:hsl(307 70% 88%);color:hsl(307 48% 25%)}
.schedule-entry.teaching.subject-hue-308,.teacher-mobile-class.teaching.subject-hue-308,.schedule-detail-item.teaching.subject-hue-308{--subject-h:308;border-top-color:hsl(308 63% 42%);background:linear-gradient(155deg,hsl(308 82% 98%),hsl(308 62% 91%))}
.schedule-entry.teaching.subject-hue-308 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-308 .schedule-type-pill{background:hsl(308 70% 88%);color:hsl(308 48% 25%)}
.schedule-entry.teaching.subject-hue-309,.teacher-mobile-class.teaching.subject-hue-309,.schedule-detail-item.teaching.subject-hue-309{--subject-h:309;border-top-color:hsl(309 63% 42%);background:linear-gradient(155deg,hsl(309 82% 98%),hsl(309 62% 91%))}
.schedule-entry.teaching.subject-hue-309 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-309 .schedule-type-pill{background:hsl(309 70% 88%);color:hsl(309 48% 25%)}
.schedule-entry.teaching.subject-hue-310,.teacher-mobile-class.teaching.subject-hue-310,.schedule-detail-item.teaching.subject-hue-310{--subject-h:310;border-top-color:hsl(310 63% 42%);background:linear-gradient(155deg,hsl(310 82% 98%),hsl(310 62% 91%))}
.schedule-entry.teaching.subject-hue-310 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-310 .schedule-type-pill{background:hsl(310 70% 88%);color:hsl(310 48% 25%)}
.schedule-entry.teaching.subject-hue-311,.teacher-mobile-class.teaching.subject-hue-311,.schedule-detail-item.teaching.subject-hue-311{--subject-h:311;border-top-color:hsl(311 63% 42%);background:linear-gradient(155deg,hsl(311 82% 98%),hsl(311 62% 91%))}
.schedule-entry.teaching.subject-hue-311 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-311 .schedule-type-pill{background:hsl(311 70% 88%);color:hsl(311 48% 25%)}
.schedule-entry.teaching.subject-hue-312,.teacher-mobile-class.teaching.subject-hue-312,.schedule-detail-item.teaching.subject-hue-312{--subject-h:312;border-top-color:hsl(312 63% 42%);background:linear-gradient(155deg,hsl(312 82% 98%),hsl(312 62% 91%))}
.schedule-entry.teaching.subject-hue-312 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-312 .schedule-type-pill{background:hsl(312 70% 88%);color:hsl(312 48% 25%)}
.schedule-entry.teaching.subject-hue-313,.teacher-mobile-class.teaching.subject-hue-313,.schedule-detail-item.teaching.subject-hue-313{--subject-h:313;border-top-color:hsl(313 63% 42%);background:linear-gradient(155deg,hsl(313 82% 98%),hsl(313 62% 91%))}
.schedule-entry.teaching.subject-hue-313 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-313 .schedule-type-pill{background:hsl(313 70% 88%);color:hsl(313 48% 25%)}
.schedule-entry.teaching.subject-hue-314,.teacher-mobile-class.teaching.subject-hue-314,.schedule-detail-item.teaching.subject-hue-314{--subject-h:314;border-top-color:hsl(314 63% 42%);background:linear-gradient(155deg,hsl(314 82% 98%),hsl(314 62% 91%))}
.schedule-entry.teaching.subject-hue-314 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-314 .schedule-type-pill{background:hsl(314 70% 88%);color:hsl(314 48% 25%)}
.schedule-entry.teaching.subject-hue-315,.teacher-mobile-class.teaching.subject-hue-315,.schedule-detail-item.teaching.subject-hue-315{--subject-h:315;border-top-color:hsl(315 63% 42%);background:linear-gradient(155deg,hsl(315 82% 98%),hsl(315 62% 91%))}
.schedule-entry.teaching.subject-hue-315 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-315 .schedule-type-pill{background:hsl(315 70% 88%);color:hsl(315 48% 25%)}
.schedule-entry.teaching.subject-hue-316,.teacher-mobile-class.teaching.subject-hue-316,.schedule-detail-item.teaching.subject-hue-316{--subject-h:316;border-top-color:hsl(316 63% 42%);background:linear-gradient(155deg,hsl(316 82% 98%),hsl(316 62% 91%))}
.schedule-entry.teaching.subject-hue-316 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-316 .schedule-type-pill{background:hsl(316 70% 88%);color:hsl(316 48% 25%)}
.schedule-entry.teaching.subject-hue-317,.teacher-mobile-class.teaching.subject-hue-317,.schedule-detail-item.teaching.subject-hue-317{--subject-h:317;border-top-color:hsl(317 63% 42%);background:linear-gradient(155deg,hsl(317 82% 98%),hsl(317 62% 91%))}
.schedule-entry.teaching.subject-hue-317 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-317 .schedule-type-pill{background:hsl(317 70% 88%);color:hsl(317 48% 25%)}
.schedule-entry.teaching.subject-hue-318,.teacher-mobile-class.teaching.subject-hue-318,.schedule-detail-item.teaching.subject-hue-318{--subject-h:318;border-top-color:hsl(318 63% 42%);background:linear-gradient(155deg,hsl(318 82% 98%),hsl(318 62% 91%))}
.schedule-entry.teaching.subject-hue-318 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-318 .schedule-type-pill{background:hsl(318 70% 88%);color:hsl(318 48% 25%)}
.schedule-entry.teaching.subject-hue-319,.teacher-mobile-class.teaching.subject-hue-319,.schedule-detail-item.teaching.subject-hue-319{--subject-h:319;border-top-color:hsl(319 63% 42%);background:linear-gradient(155deg,hsl(319 82% 98%),hsl(319 62% 91%))}
.schedule-entry.teaching.subject-hue-319 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-319 .schedule-type-pill{background:hsl(319 70% 88%);color:hsl(319 48% 25%)}
.schedule-entry.teaching.subject-hue-320,.teacher-mobile-class.teaching.subject-hue-320,.schedule-detail-item.teaching.subject-hue-320{--subject-h:320;border-top-color:hsl(320 63% 42%);background:linear-gradient(155deg,hsl(320 82% 98%),hsl(320 62% 91%))}
.schedule-entry.teaching.subject-hue-320 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-320 .schedule-type-pill{background:hsl(320 70% 88%);color:hsl(320 48% 25%)}
.schedule-entry.teaching.subject-hue-321,.teacher-mobile-class.teaching.subject-hue-321,.schedule-detail-item.teaching.subject-hue-321{--subject-h:321;border-top-color:hsl(321 63% 42%);background:linear-gradient(155deg,hsl(321 82% 98%),hsl(321 62% 91%))}
.schedule-entry.teaching.subject-hue-321 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-321 .schedule-type-pill{background:hsl(321 70% 88%);color:hsl(321 48% 25%)}
.schedule-entry.teaching.subject-hue-322,.teacher-mobile-class.teaching.subject-hue-322,.schedule-detail-item.teaching.subject-hue-322{--subject-h:322;border-top-color:hsl(322 63% 42%);background:linear-gradient(155deg,hsl(322 82% 98%),hsl(322 62% 91%))}
.schedule-entry.teaching.subject-hue-322 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-322 .schedule-type-pill{background:hsl(322 70% 88%);color:hsl(322 48% 25%)}
.schedule-entry.teaching.subject-hue-323,.teacher-mobile-class.teaching.subject-hue-323,.schedule-detail-item.teaching.subject-hue-323{--subject-h:323;border-top-color:hsl(323 63% 42%);background:linear-gradient(155deg,hsl(323 82% 98%),hsl(323 62% 91%))}
.schedule-entry.teaching.subject-hue-323 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-323 .schedule-type-pill{background:hsl(323 70% 88%);color:hsl(323 48% 25%)}
.schedule-entry.teaching.subject-hue-324,.teacher-mobile-class.teaching.subject-hue-324,.schedule-detail-item.teaching.subject-hue-324{--subject-h:324;border-top-color:hsl(324 63% 42%);background:linear-gradient(155deg,hsl(324 82% 98%),hsl(324 62% 91%))}
.schedule-entry.teaching.subject-hue-324 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-324 .schedule-type-pill{background:hsl(324 70% 88%);color:hsl(324 48% 25%)}
.schedule-entry.teaching.subject-hue-325,.teacher-mobile-class.teaching.subject-hue-325,.schedule-detail-item.teaching.subject-hue-325{--subject-h:325;border-top-color:hsl(325 63% 42%);background:linear-gradient(155deg,hsl(325 82% 98%),hsl(325 62% 91%))}
.schedule-entry.teaching.subject-hue-325 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-325 .schedule-type-pill{background:hsl(325 70% 88%);color:hsl(325 48% 25%)}
.schedule-entry.teaching.subject-hue-326,.teacher-mobile-class.teaching.subject-hue-326,.schedule-detail-item.teaching.subject-hue-326{--subject-h:326;border-top-color:hsl(326 63% 42%);background:linear-gradient(155deg,hsl(326 82% 98%),hsl(326 62% 91%))}
.schedule-entry.teaching.subject-hue-326 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-326 .schedule-type-pill{background:hsl(326 70% 88%);color:hsl(326 48% 25%)}
.schedule-entry.teaching.subject-hue-327,.teacher-mobile-class.teaching.subject-hue-327,.schedule-detail-item.teaching.subject-hue-327{--subject-h:327;border-top-color:hsl(327 63% 42%);background:linear-gradient(155deg,hsl(327 82% 98%),hsl(327 62% 91%))}
.schedule-entry.teaching.subject-hue-327 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-327 .schedule-type-pill{background:hsl(327 70% 88%);color:hsl(327 48% 25%)}
.schedule-entry.teaching.subject-hue-328,.teacher-mobile-class.teaching.subject-hue-328,.schedule-detail-item.teaching.subject-hue-328{--subject-h:328;border-top-color:hsl(328 63% 42%);background:linear-gradient(155deg,hsl(328 82% 98%),hsl(328 62% 91%))}
.schedule-entry.teaching.subject-hue-328 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-328 .schedule-type-pill{background:hsl(328 70% 88%);color:hsl(328 48% 25%)}
.schedule-entry.teaching.subject-hue-329,.teacher-mobile-class.teaching.subject-hue-329,.schedule-detail-item.teaching.subject-hue-329{--subject-h:329;border-top-color:hsl(329 63% 42%);background:linear-gradient(155deg,hsl(329 82% 98%),hsl(329 62% 91%))}
.schedule-entry.teaching.subject-hue-329 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-329 .schedule-type-pill{background:hsl(329 70% 88%);color:hsl(329 48% 25%)}
.schedule-entry.teaching.subject-hue-330,.teacher-mobile-class.teaching.subject-hue-330,.schedule-detail-item.teaching.subject-hue-330{--subject-h:330;border-top-color:hsl(330 63% 42%);background:linear-gradient(155deg,hsl(330 82% 98%),hsl(330 62% 91%))}
.schedule-entry.teaching.subject-hue-330 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-330 .schedule-type-pill{background:hsl(330 70% 88%);color:hsl(330 48% 25%)}
.schedule-entry.teaching.subject-hue-331,.teacher-mobile-class.teaching.subject-hue-331,.schedule-detail-item.teaching.subject-hue-331{--subject-h:331;border-top-color:hsl(331 63% 42%);background:linear-gradient(155deg,hsl(331 82% 98%),hsl(331 62% 91%))}
.schedule-entry.teaching.subject-hue-331 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-331 .schedule-type-pill{background:hsl(331 70% 88%);color:hsl(331 48% 25%)}
.schedule-entry.teaching.subject-hue-332,.teacher-mobile-class.teaching.subject-hue-332,.schedule-detail-item.teaching.subject-hue-332{--subject-h:332;border-top-color:hsl(332 63% 42%);background:linear-gradient(155deg,hsl(332 82% 98%),hsl(332 62% 91%))}
.schedule-entry.teaching.subject-hue-332 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-332 .schedule-type-pill{background:hsl(332 70% 88%);color:hsl(332 48% 25%)}
.schedule-entry.teaching.subject-hue-333,.teacher-mobile-class.teaching.subject-hue-333,.schedule-detail-item.teaching.subject-hue-333{--subject-h:333;border-top-color:hsl(333 63% 42%);background:linear-gradient(155deg,hsl(333 82% 98%),hsl(333 62% 91%))}
.schedule-entry.teaching.subject-hue-333 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-333 .schedule-type-pill{background:hsl(333 70% 88%);color:hsl(333 48% 25%)}
.schedule-entry.teaching.subject-hue-334,.teacher-mobile-class.teaching.subject-hue-334,.schedule-detail-item.teaching.subject-hue-334{--subject-h:334;border-top-color:hsl(334 63% 42%);background:linear-gradient(155deg,hsl(334 82% 98%),hsl(334 62% 91%))}
.schedule-entry.teaching.subject-hue-334 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-334 .schedule-type-pill{background:hsl(334 70% 88%);color:hsl(334 48% 25%)}
.schedule-entry.teaching.subject-hue-335,.teacher-mobile-class.teaching.subject-hue-335,.schedule-detail-item.teaching.subject-hue-335{--subject-h:335;border-top-color:hsl(335 63% 42%);background:linear-gradient(155deg,hsl(335 82% 98%),hsl(335 62% 91%))}
.schedule-entry.teaching.subject-hue-335 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-335 .schedule-type-pill{background:hsl(335 70% 88%);color:hsl(335 48% 25%)}
.schedule-entry.teaching.subject-hue-336,.teacher-mobile-class.teaching.subject-hue-336,.schedule-detail-item.teaching.subject-hue-336{--subject-h:336;border-top-color:hsl(336 63% 42%);background:linear-gradient(155deg,hsl(336 82% 98%),hsl(336 62% 91%))}
.schedule-entry.teaching.subject-hue-336 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-336 .schedule-type-pill{background:hsl(336 70% 88%);color:hsl(336 48% 25%)}
.schedule-entry.teaching.subject-hue-337,.teacher-mobile-class.teaching.subject-hue-337,.schedule-detail-item.teaching.subject-hue-337{--subject-h:337;border-top-color:hsl(337 63% 42%);background:linear-gradient(155deg,hsl(337 82% 98%),hsl(337 62% 91%))}
.schedule-entry.teaching.subject-hue-337 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-337 .schedule-type-pill{background:hsl(337 70% 88%);color:hsl(337 48% 25%)}
.schedule-entry.teaching.subject-hue-338,.teacher-mobile-class.teaching.subject-hue-338,.schedule-detail-item.teaching.subject-hue-338{--subject-h:338;border-top-color:hsl(338 63% 42%);background:linear-gradient(155deg,hsl(338 82% 98%),hsl(338 62% 91%))}
.schedule-entry.teaching.subject-hue-338 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-338 .schedule-type-pill{background:hsl(338 70% 88%);color:hsl(338 48% 25%)}
.schedule-entry.teaching.subject-hue-339,.teacher-mobile-class.teaching.subject-hue-339,.schedule-detail-item.teaching.subject-hue-339{--subject-h:339;border-top-color:hsl(339 63% 42%);background:linear-gradient(155deg,hsl(339 82% 98%),hsl(339 62% 91%))}
.schedule-entry.teaching.subject-hue-339 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-339 .schedule-type-pill{background:hsl(339 70% 88%);color:hsl(339 48% 25%)}
.schedule-entry.teaching.subject-hue-340,.teacher-mobile-class.teaching.subject-hue-340,.schedule-detail-item.teaching.subject-hue-340{--subject-h:340;border-top-color:hsl(340 63% 42%);background:linear-gradient(155deg,hsl(340 82% 98%),hsl(340 62% 91%))}
.schedule-entry.teaching.subject-hue-340 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-340 .schedule-type-pill{background:hsl(340 70% 88%);color:hsl(340 48% 25%)}
.schedule-entry.teaching.subject-hue-341,.teacher-mobile-class.teaching.subject-hue-341,.schedule-detail-item.teaching.subject-hue-341{--subject-h:341;border-top-color:hsl(341 63% 42%);background:linear-gradient(155deg,hsl(341 82% 98%),hsl(341 62% 91%))}
.schedule-entry.teaching.subject-hue-341 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-341 .schedule-type-pill{background:hsl(341 70% 88%);color:hsl(341 48% 25%)}
.schedule-entry.teaching.subject-hue-342,.teacher-mobile-class.teaching.subject-hue-342,.schedule-detail-item.teaching.subject-hue-342{--subject-h:342;border-top-color:hsl(342 63% 42%);background:linear-gradient(155deg,hsl(342 82% 98%),hsl(342 62% 91%))}
.schedule-entry.teaching.subject-hue-342 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-342 .schedule-type-pill{background:hsl(342 70% 88%);color:hsl(342 48% 25%)}
.schedule-entry.teaching.subject-hue-343,.teacher-mobile-class.teaching.subject-hue-343,.schedule-detail-item.teaching.subject-hue-343{--subject-h:343;border-top-color:hsl(343 63% 42%);background:linear-gradient(155deg,hsl(343 82% 98%),hsl(343 62% 91%))}
.schedule-entry.teaching.subject-hue-343 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-343 .schedule-type-pill{background:hsl(343 70% 88%);color:hsl(343 48% 25%)}
.schedule-entry.teaching.subject-hue-344,.teacher-mobile-class.teaching.subject-hue-344,.schedule-detail-item.teaching.subject-hue-344{--subject-h:344;border-top-color:hsl(344 63% 42%);background:linear-gradient(155deg,hsl(344 82% 98%),hsl(344 62% 91%))}
.schedule-entry.teaching.subject-hue-344 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-344 .schedule-type-pill{background:hsl(344 70% 88%);color:hsl(344 48% 25%)}
.schedule-entry.teaching.subject-hue-345,.teacher-mobile-class.teaching.subject-hue-345,.schedule-detail-item.teaching.subject-hue-345{--subject-h:345;border-top-color:hsl(345 63% 42%);background:linear-gradient(155deg,hsl(345 82% 98%),hsl(345 62% 91%))}
.schedule-entry.teaching.subject-hue-345 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-345 .schedule-type-pill{background:hsl(345 70% 88%);color:hsl(345 48% 25%)}
.schedule-entry.teaching.subject-hue-346,.teacher-mobile-class.teaching.subject-hue-346,.schedule-detail-item.teaching.subject-hue-346{--subject-h:346;border-top-color:hsl(346 63% 42%);background:linear-gradient(155deg,hsl(346 82% 98%),hsl(346 62% 91%))}
.schedule-entry.teaching.subject-hue-346 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-346 .schedule-type-pill{background:hsl(346 70% 88%);color:hsl(346 48% 25%)}
.schedule-entry.teaching.subject-hue-347,.teacher-mobile-class.teaching.subject-hue-347,.schedule-detail-item.teaching.subject-hue-347{--subject-h:347;border-top-color:hsl(347 63% 42%);background:linear-gradient(155deg,hsl(347 82% 98%),hsl(347 62% 91%))}
.schedule-entry.teaching.subject-hue-347 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-347 .schedule-type-pill{background:hsl(347 70% 88%);color:hsl(347 48% 25%)}
.schedule-entry.teaching.subject-hue-348,.teacher-mobile-class.teaching.subject-hue-348,.schedule-detail-item.teaching.subject-hue-348{--subject-h:348;border-top-color:hsl(348 63% 42%);background:linear-gradient(155deg,hsl(348 82% 98%),hsl(348 62% 91%))}
.schedule-entry.teaching.subject-hue-348 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-348 .schedule-type-pill{background:hsl(348 70% 88%);color:hsl(348 48% 25%)}
.schedule-entry.teaching.subject-hue-349,.teacher-mobile-class.teaching.subject-hue-349,.schedule-detail-item.teaching.subject-hue-349{--subject-h:349;border-top-color:hsl(349 63% 42%);background:linear-gradient(155deg,hsl(349 82% 98%),hsl(349 62% 91%))}
.schedule-entry.teaching.subject-hue-349 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-349 .schedule-type-pill{background:hsl(349 70% 88%);color:hsl(349 48% 25%)}
.schedule-entry.teaching.subject-hue-350,.teacher-mobile-class.teaching.subject-hue-350,.schedule-detail-item.teaching.subject-hue-350{--subject-h:350;border-top-color:hsl(350 63% 42%);background:linear-gradient(155deg,hsl(350 82% 98%),hsl(350 62% 91%))}
.schedule-entry.teaching.subject-hue-350 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-350 .schedule-type-pill{background:hsl(350 70% 88%);color:hsl(350 48% 25%)}
.schedule-entry.teaching.subject-hue-351,.teacher-mobile-class.teaching.subject-hue-351,.schedule-detail-item.teaching.subject-hue-351{--subject-h:351;border-top-color:hsl(351 63% 42%);background:linear-gradient(155deg,hsl(351 82% 98%),hsl(351 62% 91%))}
.schedule-entry.teaching.subject-hue-351 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-351 .schedule-type-pill{background:hsl(351 70% 88%);color:hsl(351 48% 25%)}
.schedule-entry.teaching.subject-hue-352,.teacher-mobile-class.teaching.subject-hue-352,.schedule-detail-item.teaching.subject-hue-352{--subject-h:352;border-top-color:hsl(352 63% 42%);background:linear-gradient(155deg,hsl(352 82% 98%),hsl(352 62% 91%))}
.schedule-entry.teaching.subject-hue-352 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-352 .schedule-type-pill{background:hsl(352 70% 88%);color:hsl(352 48% 25%)}
.schedule-entry.teaching.subject-hue-353,.teacher-mobile-class.teaching.subject-hue-353,.schedule-detail-item.teaching.subject-hue-353{--subject-h:353;border-top-color:hsl(353 63% 42%);background:linear-gradient(155deg,hsl(353 82% 98%),hsl(353 62% 91%))}
.schedule-entry.teaching.subject-hue-353 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-353 .schedule-type-pill{background:hsl(353 70% 88%);color:hsl(353 48% 25%)}
.schedule-entry.teaching.subject-hue-354,.teacher-mobile-class.teaching.subject-hue-354,.schedule-detail-item.teaching.subject-hue-354{--subject-h:354;border-top-color:hsl(354 63% 42%);background:linear-gradient(155deg,hsl(354 82% 98%),hsl(354 62% 91%))}
.schedule-entry.teaching.subject-hue-354 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-354 .schedule-type-pill{background:hsl(354 70% 88%);color:hsl(354 48% 25%)}
.schedule-entry.teaching.subject-hue-355,.teacher-mobile-class.teaching.subject-hue-355,.schedule-detail-item.teaching.subject-hue-355{--subject-h:355;border-top-color:hsl(355 63% 42%);background:linear-gradient(155deg,hsl(355 82% 98%),hsl(355 62% 91%))}
.schedule-entry.teaching.subject-hue-355 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-355 .schedule-type-pill{background:hsl(355 70% 88%);color:hsl(355 48% 25%)}
.schedule-entry.teaching.subject-hue-356,.teacher-mobile-class.teaching.subject-hue-356,.schedule-detail-item.teaching.subject-hue-356{--subject-h:356;border-top-color:hsl(356 63% 42%);background:linear-gradient(155deg,hsl(356 82% 98%),hsl(356 62% 91%))}
.schedule-entry.teaching.subject-hue-356 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-356 .schedule-type-pill{background:hsl(356 70% 88%);color:hsl(356 48% 25%)}
.schedule-entry.teaching.subject-hue-357,.teacher-mobile-class.teaching.subject-hue-357,.schedule-detail-item.teaching.subject-hue-357{--subject-h:357;border-top-color:hsl(357 63% 42%);background:linear-gradient(155deg,hsl(357 82% 98%),hsl(357 62% 91%))}
.schedule-entry.teaching.subject-hue-357 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-357 .schedule-type-pill{background:hsl(357 70% 88%);color:hsl(357 48% 25%)}
.schedule-entry.teaching.subject-hue-358,.teacher-mobile-class.teaching.subject-hue-358,.schedule-detail-item.teaching.subject-hue-358{--subject-h:358;border-top-color:hsl(358 63% 42%);background:linear-gradient(155deg,hsl(358 82% 98%),hsl(358 62% 91%))}
.schedule-entry.teaching.subject-hue-358 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-358 .schedule-type-pill{background:hsl(358 70% 88%);color:hsl(358 48% 25%)}
.schedule-entry.teaching.subject-hue-359,.teacher-mobile-class.teaching.subject-hue-359,.schedule-detail-item.teaching.subject-hue-359{--subject-h:359;border-top-color:hsl(359 63% 42%);background:linear-gradient(155deg,hsl(359 82% 98%),hsl(359 62% 91%))}
.schedule-entry.teaching.subject-hue-359 .schedule-type-pill,.teacher-mobile-class.teaching.subject-hue-359 .schedule-type-pill{background:hsl(359 70% 88%);color:hsl(359 48% 25%)}
.legend.teaching{background:linear-gradient(90deg,#d85f5f,#d8b85f,#65b879,#5f8fd8,#9a67d8)!important}

/* MDC · Resaltado de sesiones del mismo color · 2026-10-16 */
.schedule-entry.teaching,
.teacher-mobile-class.teaching,
.schedule-detail-item.teaching{
    cursor:pointer;
    transition:opacity .16s ease,filter .16s ease,transform .16s ease,box-shadow .16s ease,outline-color .16s ease
}
.schedule-color-focus-active .schedule-color-muted{
    opacity:.22!important;
    filter:grayscale(.72) saturate(.35)
}
.schedule-color-focus-active .schedule-color-match{
    opacity:1!important;
    filter:none!important;
    transform:translateY(-2px);
    outline:3px solid hsl(var(--subject-h,205) 72% 34% / .58);
    outline-offset:2px;
    box-shadow:0 8px 20px rgba(20,45,30,.20)!important;
    position:relative;
    z-index:2
}
.schedule-color-focus-active .schedule-color-match::after{
    content:"";
    position:absolute;
    inset:3px;
    border:1px solid rgba(255,255,255,.82);
    border-radius:inherit;
    pointer-events:none
}
.schedule-entry.teaching:focus-visible,
.teacher-mobile-class.teaching:focus-visible,
.schedule-detail-item.teaching:focus-visible{
    outline:3px solid rgba(34,92,52,.48);
    outline-offset:2px
}
@media (prefers-reduced-motion:reduce){
    .schedule-entry.teaching,
    .teacher-mobile-class.teaching,
    .schedule-detail-item.teaching{transition:none}
}
@media print{
    .schedule-color-focus-active .schedule-color-muted,
    .schedule-color-focus-active .schedule-color-match{
        opacity:1!important;
        filter:none!important;
        transform:none!important;
        outline:0!important;
        box-shadow:none!important
    }
}

/* MDC · Cabecera sin búsqueda y navegación adaptable · ACE v2 */
.mdc-main-nav-reflow{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 14px!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
.mdc-main-nav-reflow>a,.mdc-main-nav-reflow>div{min-width:0!important;flex:0 1 auto!important}
.mdc-user-summary-safe{min-width:0!important;max-width:min(360px,32vw)!important;overflow:hidden!important}
.mdc-user-summary-safe>*{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mdc-header-row-safe{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:1180px){.mdc-user-summary-safe{max-width:240px!important}.mdc-main-nav-reflow{gap:6px 10px!important}}
@media(max-width:900px){.mdc-user-summary-safe{max-width:100%!important}.mdc-main-nav-reflow{justify-content:flex-start!important}}

/* MDC_PROFILE_DROPDOWN_20261029_V1 · Solo presentación, sin cambiar perfiles ni permisos. */
body .topbar .profile-mode-switch.mdc-profile-compact{
  display:flex!important;align-items:center!important;flex:0 0 auto!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
  padding:3px 4px!important;overflow:visible!important;flex-wrap:nowrap!important;
  gap:0!important;white-space:nowrap!important;
}
body .topbar .profile-mode-switch.mdc-profile-compact > .profile-mode-option,
body .topbar .profile-mode-switch.mdc-profile-compact > .profile-mode-label{
  display:none!important;
}
body .topbar .profile-mode-switch .mdc-profile-choice{
  display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;
  min-width:0;max-width:100%;white-space:nowrap!important;
  color:#fff!important;font-weight:700!important;font-size:.81rem!important;
}
body .topbar .profile-mode-switch .mdc-profile-choice select{
  display:block!important;box-sizing:border-box!important;
  min-width:150px!important;width:clamp(150px,15.8vw,218px)!important;
  max-width:min(218px,calc(100vw - 60px))!important;
  min-height:35px!important;margin:0!important;padding:6px 28px 6px 11px!important;
  border:1px solid rgba(255,255,255,.7)!important;border-radius:9px!important;
  color:#1e4e32!important;background-color:#fff!important;
  font:700 .87rem/1.25 system-ui,-apple-system,Segoe UI,Arial,sans-serif!important;
  text-overflow:ellipsis;cursor:pointer;
}
body .topbar .profile-mode-switch .mdc-profile-choice select:focus-visible{
  outline:3px solid #f5d368!important;outline-offset:2px!important;
}
body .topbar .profile-mode-switch .mdc-profile-choice select:disabled{opacity:.75;cursor:wait}
@media(max-width:760px){
  body .topbar .profile-mode-switch.mdc-profile-compact{order:0!important;flex:0 1 auto!important}
  body .topbar .profile-mode-switch .mdc-profile-choice{font-size:.78rem!important}
  body .topbar .profile-mode-switch .mdc-profile-choice select{width:min(190px,calc(100vw - 125px))!important;min-width:132px!important}
}
@media print{body .topbar .profile-mode-switch.mdc-profile-compact{display:none!important}}

/* MDC_PROFILE_DARK_FIX_20261029: mejora visual del selector, sin alterar los perfiles. */
body .topbar form.profile-mode-switch .mdc-profile-choice select,
body .topbar .profile-mode-switch .mdc-profile-choice select {
  background-color:#205738!important;
  background-image:linear-gradient(135deg,rgba(255,255,255,.07),rgba(0,0,0,.06))!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:11px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
  padding:7px 13px!important;
  font-weight:750!important;
  min-width:155px!important;
  cursor:pointer;
  color-scheme:dark;
}
body .topbar .profile-mode-switch .mdc-profile-choice select option {
  background:#205738!important;color:#fff!important;
}
body .topbar .profile-mode-switch .mdc-profile-choice select:hover {
  background-color:#2d6c47!important;
  border-color:rgba(255,255,255,.62)!important;
}
body .topbar .profile-mode-switch .mdc-profile-choice select:focus-visible {
  outline:2px solid #f3d37e!important;outline-offset:2px!important;
}
@media(max-width:720px){
 body .topbar .profile-mode-switch .mdc-profile-choice select {min-width:125px!important;width:min(185px,45vw)!important;font-size:.82rem!important;}
}

/* MDC_UI_PERFILES_GUARDIAS_20261029_V1
   Ajuste VISUAL: no cambia permisos, estados, asignaciones ni formularios.
   Formulario de perfiles activo: teacher=azul; tic=turquesa; management=ciruela.
*/
body .topbar form.profile-mode-switch.mdc-profile-compact,
body .topbar .profile-mode-switch.mdc-profile-compact {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-height: 51px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 9px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(255,255,255,.48) !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09) !important;
  white-space: nowrap !important;
  overflow: visible !important;
}
body .topbar .profile-mode-switch.mdc-profile-compact .mdc-profile-choice {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  font-size: .87rem !important;
  font-weight: 800 !important;
  color: #fff !important;
}
body .topbar .profile-mode-switch.mdc-profile-compact .mdc-profile-choice > span {
  display: inline-block !important;
  flex: 0 0 auto !important;
  color: #fff !important;
  font-size: .85rem !important;
  font-weight: 850 !important;
  letter-spacing: .01em !important;
}
body .topbar .profile-mode-switch.mdc-profile-compact .mdc-profile-choice > select,
body .topbar form.profile-mode-switch .mdc-profile-choice > select {
  box-sizing: border-box !important;
  display: block !important;
  flex: 0 1 auto !important;
  width: clamp(174px,18vw,232px) !important;
  min-width: 174px !important;
  max-width: min(232px,calc(100vw - 108px)) !important;
  min-height: 39px !important;
  height: 39px !important;
  margin: 0 !important;
  padding: 7px 35px 7px 14px !important;
  border: 1px solid rgba(255,255,255,.52) !important;
  border-radius: 20px !important;
  background-color: #764464 !important; /* equipo directivo, valor por defecto */
  background-image: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 1px 3px rgba(0,0,0,.10) !important;
  color: #fff !important;
  color-scheme: dark;
  line-height: 1.25 !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  cursor: pointer;
}
/* Color determinado por la opción efectivamente seleccionada (sin scripts ni permisos nuevos). */
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="teacher"]:checked) {
  background-color: #2b609b !important;
}
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="management"]:checked) {
  background-color: #764464 !important;
}
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="tic"]:checked) {
  background-color: #087c79 !important;
}
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="teacher"]:checked):hover {background-color:#3577bc !important;}
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="management"]:checked):hover {background-color:#93567d !important;}
body .topbar .profile-mode-switch .mdc-profile-choice > select:has(option[value="tic"]:checked):hover {background-color:#119d98 !important;}
body .topbar .profile-mode-switch .mdc-profile-choice > select option {color:#fff !important;background:#32443a !important;}
body .topbar .profile-mode-switch .mdc-profile-choice > select:focus-visible {outline:3px solid #f3d37e !important;outline-offset:2px !important;}
@media(max-width:650px) {
  body .topbar form.profile-mode-switch.mdc-profile-compact,
  body .topbar .profile-mode-switch.mdc-profile-compact {
    flex: 0 1 auto !important;
    width: auto !important;
    min-height: 47px !important;
    max-width: 100% !important;
    padding: 5px 7px !important;
  }
  body .topbar .profile-mode-switch.mdc-profile-compact .mdc-profile-choice {gap:7px !important;}
  body .topbar .profile-mode-switch.mdc-profile-compact .mdc-profile-choice > select {
    width: min(205px,calc(100vw - 110px)) !important;
    min-width: 130px !important;
    max-width: min(205px,calc(100vw - 110px)) !important;
    min-height: 37px !important;
    height: 37px !important;
    font-size: .82rem !important;
  }
}

/* GUARDIAS: una celda real de tabla, no un flex-container que rompe su ancho.
   El aula larga puede ocupar varias líneas, pero el botón siempre va debajo. */
.guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell {
  display: table-cell !important;
  position: static !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  width: 198px !important;
  min-width: 198px !important;
  max-width: 238px !important;
  padding: 10px 9px !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell > .room-pill {
  display: inline-flex !important;
  vertical-align: middle !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.25 !important;
  text-align: center !important;
  padding: 6px 9px !important;
}
.guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell > .coverage-group-check {
  display: inline-grid !important;
  vertical-align: middle !important;
  margin: 0 6px 5px 0 !important;
}
.guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell > .grouped-coverage-badge {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 5px 0 !important;
}
.guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell > button[data-dialog-open] {
  display: block !important;
  position: static !important;
  float: none !important;
  box-sizing: border-box !important;
  clear: both !important;
  width: max-content !important;
  min-width: 111px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 31px !important;
  margin: 9px auto 0 !important;
  padding: 6px 10px !important;
  white-space: nowrap !important;
  text-align: center !important;
  line-height: 1.2 !important;
  font-size: .79rem !important;
  font-weight: 800 !important;
}
@media print {
  body .topbar .profile-mode-switch.mdc-profile-compact {display: none !important;}
  .guard-hour-panel .guard-active-table tr.coverage > td.coverage-room-cell > button[data-dialog-open]{display:none !important;}
}

/* Respaldo del color mediante el estado detectado desde las opciones visibles. */
body .topbar .profile-mode-switch[data-mdc-tone="teacher"] .mdc-profile-choice > select {
  background-color:#2b609b !important;
}
body .topbar .profile-mode-switch[data-mdc-tone="tic"] .mdc-profile-choice > select {
  background-color:#087c79 !important;
}
body .topbar .profile-mode-switch[data-mdc-tone="management"] .mdc-profile-choice > select {
  background-color:#764464 !important;
}

/* MDC_FIX_UI_TIC_GUARDIAS_20261029_V2
   Cambio visual: los colores identifican el perfil activo y el aula tiene espacio real. */
body .topbar form.profile-mode-switch.mdc-profile-compact{
  min-height:53px!important; padding:7px 11px!important;gap:9px!important;
  border-radius:999px!important;flex:0 1 auto!important;max-width:100%!important;
  background:rgba(255,255,255,.1)!important;
  border:1px solid rgba(255,255,255,.6)!important;
}
body .topbar form.profile-mode-switch.mdc-profile-compact .mdc-profile-choice{
  display:flex!important;align-items:center!important;gap:11px!important;
}
body .topbar form.profile-mode-switch .mdc-profile-choice select{
  min-width:177px!important;width:clamp(177px,18vw,226px)!important;
  max-width: min(226px,calc(100vw - 116px))!important;
  height:40px!important;min-height:40px!important;
  border:1px solid rgba(255,255,255,.6)!important;
  border-radius:999px!important;
  padding:7px 34px 7px 13px!important;
  color:#fff!important;
  background:#764464!important;
  box-shadow:inset 0 1px 0 #ffffff16!important;
  font-weight:800!important;
  -webkit-text-fill-color:#fff;
}
body .topbar form.profile-mode-switch[data-mdc-tone="teacher"] .mdc-profile-choice select { background-color:#245a98!important; }
body .topbar form.profile-mode-switch[data-mdc-tone="management"] .mdc-profile-choice select { background-color:#764464!important; }
body .topbar form.profile-mode-switch[data-mdc-tone="tic"] .mdc-profile-choice select { background-color:#aa4e16!important; }
body .topbar form.profile-mode-switch .mdc-profile-choice select option {background:#2f3840!important;color:#fff!important;}
@media(max-width:650px){
 body .topbar form.profile-mode-switch.mdc-profile-compact{padding:5px 8px!important;min-height:47px!important;}
 body .topbar form.profile-mode-switch .mdc-profile-choice{gap:7px!important;}
 body .topbar form.profile-mode-switch .mdc-profile-choice select{
   min-width:136px!important;width:min(200px,calc(100vw - 125px))!important;
   height:36px!important;min-height:36px!important;
 }
}
/* Corrección real: la tabla de guardias fijaba Aula a 92px (table-layout:fixed).
   Ensanchamos tanto el TH como el TD; corregir solo el contenido no basta. */
@media screen and (min-width:901px){
 body .guard-hour-panel .guard-active-table.compact-guard-table th:first-child,
 body .guard-hour-panel .guard-active-table.compact-guard-table tr.coverage > td.coverage-room-cell{
   width:172px!important;min-width:172px!important;max-width:172px!important;
 }
}
body .guard-hour-panel .guard-active-table.compact-guard-table tr.coverage > td.coverage-room-cell{
  box-sizing:border-box!important;
  padding:9px 8px!important;
  text-align:center!important;
  vertical-align:middle!important;
  overflow-wrap:break-word!important;
  overflow:hidden!important;
  position:static!important;
}
body .guard-hour-panel .guard-active-table.compact-guard-table td.coverage-room-cell > .coverage-group-check{
  display:inline-grid!important;vertical-align:middle!important;margin:0 auto 5px!important;
}
body .guard-hour-panel .guard-active-table.compact-guard-table td.coverage-room-cell > .room-pill{
  display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;
  box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
  height:auto!important;min-height:34px!important;margin:0 auto!important;
  padding:6px 5px!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  line-height:1.2!important;text-align:center!important;
}
body .guard-hour-panel .guard-active-table.compact-guard-table td.coverage-room-cell > .grouped-coverage-badge{
  display:block!important;width:max-content!important;max-width:100%!important;margin:6px auto!important;
}
body .guard-hour-panel .guard-active-table.compact-guard-table td.coverage-room-cell > button[data-dialog-open]{
  display:block!important;position:static!important;float:none!important;clear:both!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  margin:8px auto 0!important;padding:7px 4px!important;
  font-size:.78rem!important;line-height:1.2!important;font-weight:800!important;
  white-space:nowrap!important;text-align:center!important;transform:none!important;
}
/* En modo tarjeta, la columna Aula ocupa la fila disponible; sin cortar etiquetas. */
@media(max-width:900px){
 body .guard-hour-panel .compact-guard-table tr.coverage > td.coverage-room-cell{
  width:auto!important;max-width:none!important;min-width:0!important;
 }
 body .guard-hour-panel .compact-guard-table tr.coverage > td.coverage-room-cell > button[data-dialog-open]{
  width:min(155px,100%)!important;
 }
}
@media print{body .guard-hour-panel td.coverage-room-cell > button[data-dialog-open]{display:none!important;}}
@media (min-width:651px) and (max-width:900px){
 body .guard-hour-panel .compact-guard-table tr.coverage{
   grid-template-columns:170px minmax(0,1.2fr) minmax(0,1fr)!important;
 }
 body .guard-hour-panel .compact-guard-table tr.coverage > td.coverage-room-cell{
   width:170px!important;max-width:170px!important;min-width:170px!important;
   grid-row:span 2!important;
 }
}

/* MDC_PROFILE_BUTTONS_20261029_V1 */
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  padding:4px 8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18) !important;
}
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready .profile-mode-label,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready .mdc-profile-choice,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready .mdc-profile-choice > span,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready .mdc-profile-choice > select{
  display:none !important;
}
body .topbar form.profile-mode-switch .mdc-profile-buttons{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}
body .topbar form.profile-mode-switch .mdc-profile-buttons::before{
  content:"Perfil";
  color:#ffffff !important;
  font-weight:800 !important;
  font-size:.9rem !important;
  margin-right:2px !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn{
  appearance:none !important;
  -webkit-appearance:none !important;
  border:1px solid rgba(255,255,255,.25) !important;
  color:#ffffff !important;
  padding:8px 14px !important;
  min-height:40px !important;
  border-radius:999px !important;
  font-size:.93rem !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  cursor:pointer !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15) !important;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease, background-color .12s ease !important;
  white-space:nowrap !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn:hover{transform:translateY(-1px);filter:brightness(1.04)}
body .topbar form.profile-mode-switch .mdc-profile-btn:focus-visible{outline:3px solid #f3d37e !important;outline-offset:2px !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="teacher"]{background:#245a98 !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="management"]{background:#764464 !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="tic"]{background:#aa4e16 !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn.is-active{
  box-shadow:0 0 0 2px rgba(255,255,255,.92), inset 0 1px 0 rgba(255,255,255,.18) !important;
  filter:brightness(1.02) !important;
}
@media (max-width: 1180px){
  body .topbar form.profile-mode-switch.mdc-profile-buttons-ready{padding:4px 6px !important;}
  body .topbar form.profile-mode-switch .mdc-profile-buttons{gap:6px !important;}
  body .topbar form.profile-mode-switch .mdc-profile-btn{padding:7px 12px !important;font-size:.88rem !important;min-height:38px !important;}
}
@media (max-width: 880px){
  body .topbar form.profile-mode-switch .mdc-profile-buttons::before{display:none !important;}
  body .topbar form.profile-mode-switch .mdc-profile-btn{padding:7px 10px !important;font-size:.83rem !important;}
}

/* MDC_PROFILE_ICON_SAFE_20261029_V2 · CSS puro, sin observadores JavaScript */
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.12) !important;
  border-radius: 999px !important;
  overflow: visible !important;
}
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready > .mdc-profile-choice,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready > .profile-mode-label,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready > .profile-mode-option,
body .topbar form.profile-mode-switch.mdc-profile-buttons-ready .mdc-profile-dropdown {
  display: none !important;
}
body .topbar form.profile-mode-switch .mdc-profile-buttons {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
body .topbar form.profile-mode-switch .mdc-profile-buttons::before {
  display: none !important;
  content: none !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  line-height: 1 !important;
  font-size: 0 !important;
  color: transparent !important;
  overflow: visible !important;
  cursor: pointer !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 23px 23px !important;
  transition: transform .12s ease, filter .12s ease !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="teacher"] {
  background-color: #245a98 !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%2010%2010-5%2010%205-10%205-10-5Z%22%2F%3E%3Cpath%20d%3D%22M6%2012v5c3%203%209%203%2012%200v-5%22%2F%3E%3Cpath%20d%3D%22M22%2010v6%22%2F%3E%3C%2Fsvg%3E") !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="tic"] {
  background-color: #aa4e16 !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2021h8M12%2017v4%22%2F%3E%3C%2Fsvg%3E") !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="management"] {
  background-color: #764464 !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010Z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-4%22%2F%3E%3C%2Fsvg%3E") !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn.is-active {
  box-shadow: 0 0 0 2px #ffffff, inset 0 1px 0 rgba(255,255,255,.2) !important;
  filter: brightness(1.06) !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.12) !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn:focus-visible {
  outline: 3px solid #ffe17c !important;
  outline-offset: 3px !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn::after {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  left: 50% !important;
  content: "";
  display: block !important;
  width: max-content !important;
  max-width: 200px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  font: 700 13px/1.2 system-ui,-apple-system,Segoe UI,sans-serif !important;
  color: #ffffff !important;
  background: #1d2923 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.3) !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  transform: translate(-50%,-3px) !important;
  transition: opacity .12s ease, transform .12s ease !important;
  z-index: 10000 !important;
}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="teacher"]::after {content: "Profesor" !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="tic"]::after {content: "TIC" !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn[data-tone="management"]::after {content: "Equipo directivo" !important;}
body .topbar form.profile-mode-switch .mdc-profile-btn:hover::after,
body .topbar form.profile-mode-switch .mdc-profile-btn:focus-visible::after {
  opacity: 1 !important;
  transform: translate(-50%,0) !important;
}
@media (max-width: 1020px) {
  body .topbar form.profile-mode-switch .mdc-profile-buttons {gap: 6px !important;}
  body .topbar form.profile-mode-switch .mdc-profile-btn {width: 40px !important;min-width:40px !important;height:40px !important;min-height:40px !important;}
}

/* MDC_HEADER_COLOR_PROFILE_20261029_V1
   Cambia únicamente el fondo de la cabecera, sin JavaScript ni modificaciones a la lógica de perfiles.
   :has() determina la selección real en los botones ya existentes.
*/

/* Color inicial según el rol de la sesión; no se aplica al bloqueo de pantalla ni al perfil Sala. */
body.role-docente:not(.screen-locked) > header.topbar,
body.role-docente:not(.screen-locked) .topbar {
  background: linear-gradient(120deg,#153f6b 0%,#245a98 100%) !important;
}
body:is(.role-admin,.role-jefatura):not(.screen-locked) > header.topbar,
body:is(.role-admin,.role-jefatura):not(.screen-locked) .topbar {
  background: linear-gradient(120deg,#4d2e51 0%,#764464 100%) !important;
}

/* La elección activa en los botones manda por encima del rol base de la cuenta. */
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch .mdc-profile-btn[data-tone="teacher"].is-active) .topbar,
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch[data-mdc-tone="teacher"]) .topbar {
  background: linear-gradient(120deg,#153f6b 0%,#245a98 100%) !important;
}
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch .mdc-profile-btn[data-tone="management"].is-active) .topbar,
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch[data-mdc-tone="management"]) .topbar {
  background: linear-gradient(120deg,#4d2e51 0%,#764464 100%) !important;
}
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch .mdc-profile-btn[data-tone="tic"].is-active) .topbar,
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch[data-mdc-tone="tic"]) .topbar {
  background: linear-gradient(120deg,#71360f 0%,#9b4d1c 100%) !important;
}

/* Respaldo CSS puro si los botones aún no se han construido al cargar el HTML. */
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch select option[value="teacher"]:checked) .topbar {
  background: linear-gradient(120deg,#153f6b 0%,#245a98 100%) !important;
}
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch select option[value="management"]:checked) .topbar {
  background: linear-gradient(120deg,#4d2e51 0%,#764464 100%) !important;
}
body:not(.profile-board):not(.screen-locked):has(.profile-mode-switch select option[value="tic"]:checked) .topbar {
  background: linear-gradient(120deg,#71360f 0%,#9b4d1c 100%) !important;
}

