/* Calendar-only organization. Tokens copied from Name (.heading159 / .name-intro-block160).
   No changes to customer calendars, title controls or territory picker. */
#workSettings #workPanel-schedule{font-size:15px;line-height:1.5;max-width:1100px;margin:0 auto}
#workPanel-schedule .calendar-block175{margin:15px 0;padding:13px;border:1px solid #ccdbe6;border-radius:10px;background:#f8fbff;min-width:0}
#workSettings #workPanel-schedule .calendar-heading175{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-height:46px;margin:0 0 14px;padding:7px 12px;border:2px solid #f02828;border-radius:14px;color:#182539;background:transparent;font-size:19px;font-weight:700;line-height:1.25;text-align:center}
#workPanel-schedule .calendar-help175,#workPanel-schedule .day-style-note168,#workPanel-schedule .work-note{font-size:14px;color:#5b6a7e;line-height:1.5;margin:8px 0 12px}
#workPanel-schedule .calendar-location175{font-weight:700;color:#17233a;margin:0 0 12px;overflow-wrap:anywhere}
#workSettings #workPanel-schedule button{width:auto;max-width:100%;min-height:39px;padding:8px 12px;font-size:15px;white-space:normal;overflow-wrap:anywhere}
#workPanel-schedule .areas126{margin:0;gap:14px}
#workPanel-schedule .areas126>.calendar-block175{margin:0}
#workPanel-schedule .area-steps126{margin:14px 0 0}
#workPanel-schedule .area-steps126 li{padding:0 0 16px 42px;min-height:64px}
#workPanel-schedule .area-steps126 li:last-child{padding-bottom:0;min-height:40px}
#workPanel-schedule .area-steps126 li:before{width:30px;height:30px;top:0}
#workPanel-schedule .area-steps126 li:after{left:14px;top:34px;bottom:8px}
#workPanel-schedule .area-steps126 strong{font-size:15px}
#workPanel-schedule .area-steps126 small{font-size:13px}
#workPanel-schedule .area-steps126 input{max-width:340px}
#workSettings #workPanel-schedule .area-row126 .area-name126{font-size:15px;min-height:39px;padding:4px 6px}
#workSettings #workPanel-schedule .area-row126 .area-delete126{font-size:13px;padding:6px 8px}
#workPanel-schedule #areaMessage125,#workPanel-schedule #scheduleMessage118{font-size:14px;margin:8px 0}
#workPanel-schedule #scheduleMessage118:empty{display:none}
#workPanel-schedule #workSchedule118{margin:0;min-width:0}
#workPanel-schedule .work-days118{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 18px}
#workSettings #workPanel-schedule .work-days118 label{display:flex;align-items:center;gap:6px;margin:0;padding:7px 9px;border:1px solid #ccdbe6;border-radius:6px;background:#fff;font-size:14px;cursor:pointer}
#workPanel-schedule .calendar-mode175{max-width:280px;margin:0 0 14px}
#workSettings #workPanel-schedule .calendar-mode175>label{font-weight:600}
#workSettings #legacyTimes173 h4{font-size:16px;line-height:1.5;margin:0 0 10px;font-weight:600}
#workPanel-schedule #legacyTimes173 .two-fields{grid-template-columns:repeat(2,minmax(0,160px));gap:14px;margin:0}
#workPanel-schedule #legacyTimes173 .work-note{max-width:680px}
#workPanel-schedule #customTimes173,#workPanel-schedule #exceptionCustom175{max-width:460px;margin:0 0 14px}
#workPanel-schedule .calendar-fields175{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px}
#workPanel-schedule .calendar-fields175>div{flex:0 1 250px;min-width:0;max-width:100%}
#workPanel-schedule .calendar-fields175>div:first-child{flex-basis:170px}
#workPanel-schedule #scheduleWeek118{max-width:780px;margin-top:14px;border:1px solid #ccdbe6;border-radius:6px;overflow:hidden;background:#fff}
#workPanel-schedule .schedule-row175{display:grid;grid-template-columns:110px 150px minmax(0,1fr);gap:12px;padding:7px 10px;font-size:14px}
#workPanel-schedule .schedule-row175+.schedule-row175{border-top:1px solid #e0e7ef}
#workPanel-schedule .schedule-row175>span:first-child{font-weight:600}
#workPanel-schedule .schedule-row175>span{min-width:0;overflow-wrap:anywhere}
#workPanel-schedule #scheduleExceptions118{max-width:780px;margin-top:14px}
#workPanel-schedule .exception-row175{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid #dce4ef}
#workPanel-schedule .exception-row175 span{overflow-wrap:anywhere;min-width:0}
#workSettings #workPanel-schedule .exception-row175 button,#workSettings #workPanel-schedule #dayStyleReset168{background:#e9f2ff;color:#1761b4;border:1px solid #c0d8f5;flex:none}
#workPanel-schedule .day-style-rows168{display:grid;gap:12px;max-width:780px}
#workPanel-schedule .day-style-row168{display:grid;grid-template-columns:130px 88px 75px minmax(80px,260px) 52px;gap:12px;align-items:center}
#workSettings #workPanel-schedule .day-style-row168 label{font-size:15px;margin:0}
#workPanel-schedule .day-style-row168 output{font-size:14px;text-align:right;white-space:nowrap}
#workPanel-schedule .day-style-preview-caption168{font-weight:600;font-size:15px;margin:16px 0 8px}
#workPanel-schedule .day-style-preview168{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:560px}
#workPanel-schedule .day-style-tile168{border:1px solid #ccdbe6;border-radius:6px;height:36px;min-height:36px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3px 5px;font-size:13px;text-align:center}
#workPanel-schedule .day-style-tile168 strong{font-size:16px}
#workPanel-schedule .day-style-actions168{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
@media(max-width:1000px){#workPanel-schedule .areas126{grid-template-columns:1fr}#workPanel-schedule .day-style-row168{grid-template-columns:110px 88px 70px minmax(60px,1fr) 48px;gap:8px}}
@media(max-width:560px){
 #workSettings #workPanel-schedule .calendar-heading175{font-size:17px}
 #workPanel-schedule .schedule-row175{grid-template-columns:85px minmax(0,1fr);gap:4px 10px}
 #workPanel-schedule .schedule-row175>span:last-child{grid-column:2}
 #workPanel-schedule .day-style-row168{grid-template-columns:minmax(0,1fr) 88px 52px;gap:6px 8px;border-bottom:1px solid #dce4ef;padding-bottom:10px}
 #workPanel-schedule .day-style-name168{grid-column:1/3}
 #workPanel-schedule .day-style-row168 input[type=color]{grid-column:3;width:52px}
 #workPanel-schedule .day-style-row168 input[type=range]{grid-column:2}
 #workPanel-schedule .day-style-preview168{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workPanel-schedule .exception-row175{flex-wrap:wrap}
}

/* v177: Compact, non-button live color samples; keep dynamically assigned backgrounds. */
#workPanel-schedule .day-style-preview168 .day-style-tile168{height:36px;min-height:36px;box-sizing:border-box;padding:3px 5px;min-width:0}
#workPanel-schedule .day-style-preview168 .day-style-tile168 span{font-size:13px;font-weight:400;line-height:1.2;white-space:nowrap;overflow:visible;text-align:center}
