/* Prende Colegios 3.1 · timetable layouts; every colour has a written label. */
#pc-portal .pc-schedule{min-width:0}
#pc-portal .pc-schedule-demo{margin-bottom:20px}
#pc-portal .pc-schedule-today{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 27px;border:1px solid #c7dfd7;border-radius:13px;background:linear-gradient(115deg,#edf7f1,#f7fbf8);margin-bottom:20px}
#pc-portal .pc-schedule-today .pc-eyebrow{display:block;margin-bottom:9px}
#pc-portal .pc-schedule-today h2{font-size:21px;letter-spacing:-.65px}
#pc-portal .pc-schedule-today p{font-size:12px;color:var(--pc-muted);margin-top:8px}
#pc-portal .pc-schedule-filters .pc-link{align-self:center;margin-left:auto;padding:9px}
#pc-portal .pc-schedule-controls{padding:23px;display:flex;justify-content:space-between;align-items:center;gap:20px}
#pc-portal .pc-schedule-navigation{display:flex;align-items:center;gap:17px;min-width:0}
#pc-portal .pc-schedule-navigation h2{text-transform:capitalize}
#pc-portal .pc-schedule-navigation>button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--pc-line)!important;border-radius:8px;background:white;color:var(--pc-text);font-size:24px;line-height:1;flex-shrink:0}
#pc-portal .pc-schedule-navigation>button:hover{background:var(--pc-mint)}
#pc-portal .pc-schedule-views{display:flex;padding:4px;background:#f0f5f3;border:1px solid #e5ede8;border-radius:8px;gap:3px}
#pc-portal .pc-schedule-views button{background:transparent;color:var(--pc-muted);padding:7px 14px;border-radius:5px;font-size:11px;white-space:nowrap}
#pc-portal .pc-schedule-views button[aria-pressed=true]{background:white;color:var(--pc-navy);font-weight:750;box-shadow:0 2px 7px #213d2c0d}
#pc-portal .pc-schedule-legend{display:flex;gap:10px 16px;flex-wrap:wrap;padding:0 23px 17px;color:#516971;font-size:10px}
#pc-portal .pc-schedule-legend span{display:flex;align-items:center;gap:6px}
#pc-portal .pc-schedule-legend i{width:7px;height:7px;border-radius:50%;display:block}
#pc-portal .pc-schedule-legend .pc-schedule-legend-excluded{color:#696c6e;margin-left:auto}
#pc-portal .pc-schedule-grid-scroll{overflow-x:auto;overscroll-behavior-inline:contain;width:100%;scrollbar-width:thin;scrollbar-color:#bfd1cb #f6f9f8}
#pc-portal .pc-schedule-month{min-width:735px}
#pc-portal .pc-schedule-week-labels,#pc-portal .pc-schedule-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
#pc-portal .pc-schedule-week-labels{background:#f9fbfa;border-top:1px solid var(--pc-line);border-bottom:1px solid var(--pc-line)}
#pc-portal .pc-schedule-week-labels>div{font-size:10px;font-weight:650;padding:13px 12px;color:var(--pc-muted)}
#pc-portal .pc-schedule-cell{padding:9px 7px 10px;border-right:1px solid #e6edeb;border-bottom:1px solid #e6edeb;min-height:144px;min-width:0;background:white}
#pc-portal .pc-schedule-cell:nth-child(7n){border-right:0}
#pc-portal .pc-schedule-cell.is-other-month{background:#f7f9f8}
#pc-portal .pc-schedule-cell.is-other-month .pc-schedule-date{color:#75868b}
#pc-portal .pc-schedule-cell.is-today{background:#f0f8f4;box-shadow:inset 0 3px var(--pc-teal)}
#pc-portal .pc-schedule-date{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:3px 5px 8px;color:var(--pc-text);font-size:11px;font-weight:650;background:transparent;text-align:left}
#pc-portal .pc-schedule-date>span{font-size:9px;background:var(--pc-teal);color:white;padding:2px 5px;border-radius:4px}
#pc-portal .pc-schedule-event{display:block;width:100%;text-align:left;margin:4px 0 0;border:1px solid #e3e9e8!important;border-left:3px solid var(--class-color,#315bc6)!important;padding:11px 12px;border-radius:7px;background:#fff;color:var(--pc-text);line-height:1.45;overflow-wrap:anywhere;transition:background .15s,box-shadow .15s}
#pc-portal .pc-schedule-event:hover{background:#f5f9f7;box-shadow:0 3px 12px #2140380a}
#pc-portal .pc-schedule-event strong{display:block;font-size:12px;font-weight:700;margin:3px 0}
#pc-portal .pc-schedule-event small{display:block;font-size:10px;color:#50646b}
#pc-portal .pc-schedule-time{display:flex;justify-content:space-between;gap:6px;color:#425a65;font-size:10px;font-weight:600;font-variant-numeric:tabular-nums}
#pc-portal .pc-schedule-time>span{font-weight:650;color:#856218;font-size:9px}
#pc-portal .pc-schedule-event.is-compact{padding:6px 6px;border-radius:5px}
#pc-portal .pc-schedule-event.is-compact strong{font-size:10px;margin:3px 0 2px}
#pc-portal .pc-schedule-event.is-compact small{font-size:9px;line-height:1.4}
#pc-portal .pc-schedule-event.is-compact .pc-schedule-time{font-size:9px;display:block}
#pc-portal .pc-schedule-event.is-compact .pc-schedule-time>span{margin-left:4px}
#pc-portal .pc-schedule-event.is-excluded{background:repeating-linear-gradient(135deg,#fcfaf5,#fcfaf5 8px,#f8f6f0 8px,#f8f6f0 9px);border-left-color:#99844e!important;border-style:dashed!important}
#pc-portal .pc-schedule-exclusion{display:block;font-size:9px;color:#795f21;margin-top:5px}
#pc-portal .pc-schedule-more{display:block;padding:7px 4px 2px;font-size:9px}
#pc-portal .pc-schedule-mobile-agenda{display:none}
#pc-portal .pc-schedule-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:1080px;border-top:1px solid var(--pc-line);min-height:380px}
#pc-portal .pc-schedule-week-day{padding:10px;border-right:1px solid var(--pc-line);min-width:0}
#pc-portal .pc-schedule-week-day:last-child{border:0}
#pc-portal .pc-schedule-week-day.is-today{background:#f2f9f5}
#pc-portal .pc-schedule-week-date{display:block;background:transparent;color:var(--pc-text);text-align:left;width:100%;padding:8px 3px 15px}
#pc-portal .pc-schedule-week-date strong{display:block;font-size:12px}
#pc-portal .pc-schedule-week-date span{display:block;margin-top:3px;font-size:10px;color:var(--pc-muted)}
#pc-portal .pc-schedule-no-class{font-size:10px;color:#77878c;text-align:center;padding:20px 0}
#pc-portal .pc-schedule-agenda{padding:23px;border-top:1px solid var(--pc-line)}
#pc-portal .pc-schedule-day-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:17px}
#pc-portal .pc-schedule-day-title .pc-eyebrow{display:block;margin-bottom:5px}
#pc-portal .pc-schedule-day-title h2{font-size:19px;text-transform:capitalize}
#pc-portal .pc-schedule-agenda-list{display:grid;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
#pc-portal .pc-schedule-agenda-list .pc-empty{grid-column:1/-1}
#pc-portal .pc-schedule-blocks{margin-top:22px}
#pc-portal .pc-schedule-blocks>summary{padding:19px 23px;font-size:13px;font-weight:650;cursor:pointer;color:var(--pc-navy)}
#pc-portal .pc-schedule-blocks>summary span{font-size:10px;margin-left:7px;padding:2px 6px;background:#edf3f0;border-radius:4px}
#pc-portal .pc-schedule-footnote{font-size:11px;color:var(--pc-muted);margin-top:16px}
#pc-portal .pc-schedule-dialog{width:min(680px,calc(100vw - 30px));max-height:90vh;overflow:auto;padding:31px;border:0;border-radius:15px;background:white;color:var(--pc-text);box-shadow:0 20px 100px #102f3b40}
#pc-portal .pc-schedule-dialog::backdrop{background:#0b252970;backdrop-filter:blur(3px)}
#pc-portal .pc-schedule-dialog>h2{font-size:24px;margin-right:30px}
#pc-portal .pc-schedule-close{position:absolute;right:15px;top:15px;width:31px;height:31px;border-radius:50%;font-size:23px;background:#f0f5f2;color:var(--pc-muted);line-height:1}
#pc-portal .pc-schedule-form-intro{margin-top:12px;font-size:12px}
#pc-portal .pc-schedule-form-note{margin:18px 0}
#pc-portal .pc-schedule-color-preview{display:inline-flex;align-self:flex-start;align-items:center;min-width:160px;padding:8px 13px;border-radius:7px;font-size:12px;font-weight:650}
#pc-portal .pc-schedule-day-dialog{margin-top:15px}
#pc-portal .pc-schedule-day-dialog>.pc-muted{font-size:12px;margin-bottom:13px}
#pc-portal .pc-schedule-event-detail{margin-top:17px}
#pc-portal .pc-schedule-event-detail dl{margin:20px 0}
#pc-portal .pc-schedule-event-detail dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;border-bottom:1px solid var(--pc-line);padding:10px 0;font-size:12px}
#pc-portal .pc-schedule-event-detail dt{color:var(--pc-muted)}
#pc-portal .pc-schedule-event-detail dd{margin:0;overflow-wrap:anywhere}
#pc-portal .pc-schedule-event-detail .pc-actions{margin-top:20px}
#pc-portal .pc-schedule-event-detail .pc-note p{margin-top:7px}
@media(max-width:1050px){#pc-portal .pc-schedule-controls{padding:18px;gap:14px;flex-wrap:wrap}#pc-portal .pc-schedule-legend{padding:0 18px 16px}#pc-portal .pc-schedule-today{padding:20px}#pc-portal .pc-schedule-legend .pc-schedule-legend-excluded{margin-left:0}}
@media(max-width:700px){#pc-portal .pc-schedule .pc-heading{display:block}#pc-portal .pc-schedule .pc-heading>.pc-btn{margin-top:15px}#pc-portal .pc-schedule-today{padding:18px;align-items:start;gap:13px}#pc-portal .pc-schedule-today h2{font-size:18px}#pc-portal .pc-schedule-today p{font-size:11px}#pc-portal .pc-schedule-today .pc-btn{padding:9px;font-size:10px}#pc-portal .pc-schedule-controls{gap:14px}#pc-portal .pc-schedule-navigation{width:100%;justify-content:space-between;gap:8px}#pc-portal .pc-schedule-navigation h2{font-size:16px}#pc-portal .pc-schedule-views{width:100%}#pc-portal .pc-schedule-views button{flex:1}#pc-portal .pc-schedule-legend{gap:8px 13px}#pc-portal .pc-schedule-mobile-agenda{display:block}#pc-portal .pc-schedule-agenda{padding:18px}#pc-portal .pc-schedule-agenda-list{grid-template-columns:1fr}#pc-portal .pc-schedule-day-title h2{font-size:16px}#pc-portal .pc-schedule-dialog{padding:25px 20px}#pc-portal .pc-schedule-dialog>h2{font-size:22px}#pc-portal .pc-schedule-event-detail dl>div{grid-template-columns:75px minmax(0,1fr);gap:10px}#pc-portal .pc-schedule-filters .pc-link{margin-left:0}#pc-portal .pc-schedule-blocks>summary{padding:18px}}
@media(prefers-reduced-motion:reduce){#pc-portal .pc-schedule-event{transition:none}}
@media print{#pc-portal .pc-schedule-dialog,#pc-portal .pc-schedule-controls button,#pc-portal .pc-schedule-views,#pc-portal .pc-schedule-today>.pc-btn{display:none!important}#pc-portal .pc-schedule-grid-scroll{overflow:visible}#pc-portal .pc-schedule-month,#pc-portal .pc-schedule-week{min-width:0}#pc-portal .pc-schedule-event{break-inside:avoid}}

#pc-portal .pc-schedule-today-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0;justify-content:flex-end}
#pc-portal .pc-schedule-filter-actions{display:flex;gap:5px;flex-wrap:wrap;align-self:flex-end;margin-left:auto}
#pc-portal .pc-schedule-filter-actions .pc-link{margin-left:0;white-space:nowrap}
#pc-portal .pc-schedule-filter-actions button:disabled{opacity:.5;cursor:default}
#pc-portal .pc-schedule-refresh-help{margin:-7px 0 21px;font-size:11px;line-height:1.6;color:var(--pc-muted)}
#pc-portal .pc-schedule-status{font-size:12px;line-height:1.6;margin-top:14px;color:var(--pc-teal)}
#pc-portal .pc-schedule-status:empty{display:none}
#pc-portal .pc-schedule[aria-busy=true]{cursor:progress}
@media(max-width:700px){#pc-portal .pc-schedule-today-actions{justify-content:flex-start}#pc-portal .pc-schedule-today{flex-wrap:wrap}#pc-portal .pc-schedule-filter-actions{margin-left:0;width:100%}#pc-portal .pc-schedule-refresh-help{margin-top:0}}
@media print{#pc-portal .pc-schedule-today-actions,#pc-portal .pc-schedule-filter-actions,#pc-portal .pc-schedule-refresh-help,#pc-portal .pc-schedule-status{display:none!important}}
