/* Editable weekly timetable; scoped separately from the public schedule. */
.bp-timetable-editor { --timetable-line: #eadde0; --timetable-pink: #f7e6e9; min-width: 0; }
.bp-timetable-editor .bp-timetable-help { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #625a5d; }
.bp-timetable-editor .bp-timetable-scroll { max-width: 100%; overflow-x: auto; margin-bottom: 12px; border: 1px solid var(--timetable-line); border-radius: 8px; overscroll-behavior-x: contain; }
.bp-timetable-editor table.bp-timetable-table { width: 100%; min-width: 1120px; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; background: white; }
.bp-timetable-editor .bp-timetable-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bp-timetable-editor .bp-timetable-table th { padding: 14px 8px; background: var(--timetable-pink); color: #333; font-size: 13px; font-weight: 600; text-align: center; border: 0; border-right: 1px solid var(--timetable-line); }
.bp-timetable-editor .bp-timetable-table td { padding: 0 8px 12px; vertical-align: top; border: 0; border-right: 1px solid var(--timetable-line); background: white; }
.bp-timetable-editor .bp-timetable-table tr > :last-child { border-right: 0; }
.bp-timetable-editor .bp-timetable-entry { padding: 12px 0; margin: 0; border: 0; border-bottom: 1px solid var(--timetable-line); background: transparent; }
.bp-timetable-editor .bp-schedule-entry-list { display: block; margin: 0; padding: 0; }
.bp-timetable-editor .bp-timetable-entry input[type=text], .bp-timetable-editor .bp-timetable-entry textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 36px; margin: 0 0 3px; padding: 7px 6px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #333; box-shadow: none; font: inherit; font-size: 13px; line-height: 1.5; }
.bp-timetable-editor .bp-timetable-entry .bp-timetable-class_name { font-weight: 600; }
.bp-timetable-editor .bp-timetable-entry input:hover, .bp-timetable-editor .bp-timetable-entry textarea:hover { background: #faf6f7; border-color: var(--timetable-line); }
.bp-timetable-editor .bp-timetable-entry input:focus, .bp-timetable-editor .bp-timetable-entry textarea:focus { outline: 2px solid #d88f9b; outline-offset: -2px; background: white; border-color: transparent; box-shadow: none; }
.bp-timetable-editor .bp-timetable-entry input::placeholder { font-weight: 400; color: #81777b; opacity: 1; }
.bp-timetable-editor .bp-timetable-entry-tools { position: relative; padding-right: 38px; font-size: 11px; }
.bp-timetable-editor details { margin: 0; padding: 0; border: 0; background: none; }
.bp-timetable-editor summary { padding: 6px; cursor: pointer; color: #625a5d; font-size: 11px; }
.bp-timetable-editor [data-schedule-remove] { position: absolute; top: 0; right: 0; }
.bp-timetable-editor button { min-height: 32px; padding: 6px; margin: 0; border: 0; border-radius: 4px; background: transparent; color: #625a5d; font: inherit; font-size: 11px; cursor: pointer; box-shadow: none; }
.bp-timetable-editor button:hover { background: var(--timetable-pink); color: #333; }
.bp-timetable-editor [data-schedule-add] { width: 100%; margin-top: 10px; padding: 8px 4px; font-size: 12px; }
.bp-timetable-editor .bp-timetable-days { display: flex; gap: 6px; margin-bottom: 12px; }
.bp-timetable-editor .bp-timetable-days button { width: 36px; border: 1px solid var(--timetable-line); background: white; font-size: 13px; }
.bp-timetable-editor .bp-timetable-status { margin: 0; font-size: 12px; color: #625a5d; }
@media (max-width: 900px) {
 .bp-timetable-editor table.bp-timetable-table { min-width: 1470px; }
 .bp-timetable-editor .bp-timetable-entry input[type=text], .bp-timetable-editor .bp-timetable-entry textarea { font-size: 16px; }
 .bp-timetable-editor button, .bp-timetable-editor summary { min-height: 40px; }
}
/* The shared form skin has highly specific input borders; table cells stay quiet until focused. */
.bp-timetable-editor .bp-timetable-entry input[type=text], .bp-timetable-editor .bp-timetable-entry textarea { border-color: transparent !important; background: transparent !important; box-shadow: none !important; }
.bp-timetable-editor .bp-timetable-entry input:hover, .bp-timetable-editor .bp-timetable-entry textarea:hover { border-color: var(--timetable-line) !important; background: #faf6f7 !important; }
.bp-timetable-editor .bp-timetable-entry input:focus, .bp-timetable-editor .bp-timetable-entry textarea:focus { background: #fff !important; }
