.settings-day-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.settings-day-actions .button{padding:7px 10px;font-size:.76rem}@media(max-width:760px){.settings-day-actions{grid-column:2;justify-content:flex-start}}
.schedule-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.master-class-fields{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--blush)}
.schedule-days{display:grid;gap:20px}.schedule-day{min-width:0}.schedule-day>header{padding:11px 14px;background:var(--wine);color:#fff;border-radius:10px 10px 0 0}.schedule-day h3{margin:0;font-size:1rem}.schedule-day .table-wrap{border-radius:0 0 10px 10px}.schedule-day-table{table-layout:fixed}.schedule-day-table th:nth-child(1){width:17%}.schedule-day-table th:nth-child(3){width:9%}.schedule-day-table th:nth-child(4){width:23%}.schedule-day-table td:first-child{white-space:nowrap}.schedule-day-table td:nth-child(2)>strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-day-table td:nth-child(2) small{display:block;margin-top:3px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-day-table td[data-label="Status"]{padding-left:7px;padding-right:7px}.schedule-operational-row td{background:#fbf4f7}
.schedule-workflow{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.schedule-workflow>div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.schedule-workflow>div>strong{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eee8eb;color:var(--muted)}.schedule-workflow span{display:grid;gap:3px}.schedule-workflow small{color:var(--muted);line-height:1.35}.schedule-workflow .active{border-color:var(--rose);background:#fff8fb}.schedule-workflow .active>strong,.schedule-workflow .complete>strong{background:var(--wine);color:#fff}
.schedule-conflicts,.schedule-clear{margin-bottom:18px;padding:14px 16px;border-radius:12px}.schedule-conflicts{border:1px solid #e5a8ae;background:#fff1f2;color:#8b2430}.schedule-conflicts p{margin:5px 0}.schedule-conflicts ul{margin:8px 0 0;padding-left:20px}.schedule-clear{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #b9ddca;background:#edf8f2;color:var(--green)}.schedule-clear span{font-size:.82rem}.schedule-conflict-row td{background:#fff0f1!important}.schedule-conflict-badge{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:99px;background:var(--red);color:#fff;font-size:.66rem;font-weight:800}
.schedule-day-table .table-actions{flex-wrap:nowrap;gap:5px}
.schedule-day-table .table-actions .button{min-height:30px;padding:5px 8px;font-size:.72rem}
.schedule-row-actions{display:grid;gap:7px;align-items:start}
.schedule-public-toggle{display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;font-size:.68rem;font-weight:750;color:var(--wine);cursor:pointer}
.schedule-public-toggle input{width:15px;height:15px;min-width:15px;margin:0;accent-color:var(--wine)}
.schedule-public-toggle span{line-height:1.2}
.schedule-sync-meta{display:flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin:-10px 0 18px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font-size:.78rem;line-height:1.35}
.schedule-sync-meta strong{color:var(--ink)}
.schedule-working-card{width:100%;margin-top:16px;min-width:0}
@media(max-width:1100px){
  .schedule-header-actions{width:100%;justify-content:flex-start}
  .schedule-header-actions .button{flex:1 1 190px;min-width:0;white-space:normal;text-align:center}
  .schedule-day-table{table-layout:fixed}
  .schedule-day-table th:nth-child(1){width:20%}
  .schedule-day-table th:nth-child(2){width:47%}
  .schedule-day-table th:nth-child(3){width:10%}
  .schedule-day-table th:nth-child(4){width:23%}
  .schedule-day-table td:first-child{width:auto;white-space:normal}
}
@media(max-width:760px){
  .schedule-header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .schedule-header-actions .button{width:100%;min-height:44px;padding:9px 10px;font-size:.78rem;line-height:1.25}
  .schedule-day>header{padding:10px 12px}
  .schedule-day .table-wrap{overflow:visible;border:0;background:transparent}
  .schedule-day-table,.schedule-day-table tbody{display:block;width:100%}
  .schedule-day-table thead{display:none}
  .schedule-day-table tbody{display:grid;gap:9px;padding-top:9px}
  .schedule-day-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
  .schedule-day-table tbody tr td{display:block;width:auto!important;min-width:0;padding:0;border:0;background:transparent!important;overflow-wrap:anywhere}
  .schedule-day-table tbody tr td:nth-child(2)>strong,.schedule-day-table tbody tr td:nth-child(2) small{white-space:normal;overflow:visible;text-overflow:clip}
  .schedule-day-table tbody tr td::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:.58rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
  .schedule-day-table tbody tr td[data-label="Event"]{grid-column:1/-1;grid-row:1}
  .schedule-day-table tbody tr td[data-label="Time"]{grid-column:1;grid-row:2}
  .schedule-day-table tbody tr td[data-label="Status"]{grid-column:2;grid-row:2;justify-self:end}
  .schedule-day-table tbody tr td[data-label="Actions"]{grid-column:1/-1;grid-row:3}
  .schedule-day-table .table-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .schedule-day-table .table-actions .button{width:100%;min-width:0}
  .schedule-conflict-badge{margin:5px 0 0;white-space:normal}
  .schedule-sync-meta{display:block;width:100%;margin-top:-5px}
}
@media(max-width:430px){
  .schedule-header-actions{grid-template-columns:1fr}
  .schedule-workflow>div{grid-template-columns:30px minmax(0,1fr);padding:11px}
  .schedule-workflow>div>strong{width:28px;height:28px}
  .schedule-day-table tbody tr{grid-template-columns:1fr}
  .schedule-day-table tbody tr td[data-label]{grid-column:1;grid-row:auto;justify-self:stretch}
}
@media(max-width:860px){.schedule-workflow{grid-template-columns:1fr}.schedule-clear{align-items:flex-start;flex-direction:column}}
@media print{
  @page{size:A4 portrait;margin:10mm}
  body.printing-schedule{background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.printing-schedule .sidebar,body.printing-schedule .topbar,body.printing-schedule .schedule-header-actions,body.printing-schedule .schedule-workflow,body.printing-schedule .schedule-conflicts,body.printing-schedule .schedule-clear,body.printing-schedule .schedule-sync-meta{display:none!important}
  body.printing-schedule .app-shell,body.printing-schedule .workspace{display:block!important}
  body.printing-schedule .page{max-width:none!important;margin:0!important;padding:0!important}
  body.printing-schedule .page-header{margin:0 0 8mm!important}
  body.printing-schedule .page-header h1{font-size:25pt!important}
  body.printing-schedule .schedule-working-card{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
  body.printing-schedule .schedule-working-card .section-title .status{display:none!important}
  body.printing-schedule .schedule-days{gap:7mm!important}
  body.printing-schedule .schedule-day{break-inside:auto;page-break-inside:auto}
  body.printing-schedule .schedule-day>header{background:var(--wine)!important;color:#fff!important}
  body.printing-schedule .schedule-day-table{display:table!important;width:100%!important;font-size:9pt!important;table-layout:fixed!important}
  body.printing-schedule .schedule-day-table thead{display:table-header-group!important}
  body.printing-schedule .schedule-day-table tbody{display:table-row-group!important}
  body.printing-schedule .schedule-day-table tr{display:table-row!important;break-inside:avoid;page-break-inside:avoid}
  body.printing-schedule .schedule-day-table th,body.printing-schedule .schedule-day-table td{display:table-cell!important;padding:7px 8px!important;border-bottom:1px solid #ddd!important}
  body.printing-schedule .schedule-day-table th:nth-child(1){width:24%!important}
  body.printing-schedule .schedule-day-table th:nth-child(2){width:76%!important}
  body.printing-schedule .schedule-day-table th:nth-child(n+3),body.printing-schedule .schedule-day-table td[data-label="Status"],body.printing-schedule .schedule-day-table td[data-label="Actions"]{display:none!important}
  body.printing-schedule .schedule-day-table td::before{display:none!important}
  body.printing-schedule .schedule-day-table td:nth-child(2)>strong,body.printing-schedule .schedule-day-table td:nth-child(2) small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  body.printing-schedule .table-wrap{overflow:visible!important;border-color:#cfc4ca!important}
}
