
.hcsp-schedule-shell{display:grid;gap:16px}
.hcsp-sched-toolbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:end;margin-bottom:12px}
.hcsp-sched-field{display:flex;flex-direction:column;gap:6px}
.hcsp-sched-field label{font-weight:600;font-size:13px;color:#475467}
.hcsp-sched-notice{margin:0 0 12px 0}
.hcsp-sched-form-wrap{border:1px solid #eaecf0;border-radius:14px;padding:14px;background:#fcfcfd}
.hcsp-sched-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hcsp-sched-calendar-wrap{margin-top:16px}
.hcsp-sched-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.hcsp-sched-title{font-weight:700;font-size:18px}
.hcsp-sched-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.hcsp-sched-day{border:1px solid #eaecf0;border-radius:14px;background:#fff;min-height:260px;display:flex;flex-direction:column}
.hcsp-sched-day-head{padding:10px 12px;border-bottom:1px solid #eaecf0;background:#f8fafc;border-radius:14px 14px 0 0}
.hcsp-sched-day-title{font-weight:700}
.hcsp-sched-day-sub{font-size:12px;color:#667085}
.hcsp-sched-day-body{padding:10px;display:grid;gap:8px}
.hcsp-sched-empty{font-size:13px;color:#98a2b3;padding:8px}
.hcsp-sched-event{border-radius:12px;padding:10px;cursor:pointer;border:1px solid transparent;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.hcsp-sched-event:hover{border-color:#98a2b3}
.hcsp-sched-event.available{background:#ecfdf3;color:#027a48}
.hcsp-sched-event.booked{background:#eff8ff;color:#175cd3}
.hcsp-sched-event.blocked{background:#fef3f2;color:#b42318}
.hcsp-sched-event.cancelled{background:#f2f4f7;color:#667085}
.hcsp-sched-event-time{font-weight:700;font-size:14px}
.hcsp-sched-event-meta{font-size:12px;line-height:1.35;margin-top:4px}
.hcsp-sched-actions-inline{display:flex;gap:8px;align-items:end}
.hcsp-sched-save-result{margin-top:10px}
.hcsp-doctor-portal .hcsp-card,.hcsp-provider-portal .hcsp-card{overflow:hidden}
@media (max-width: 1200px){
  .hcsp-sched-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hcsp-sched-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hcsp-sched-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 768px){
  .hcsp-sched-toolbar,.hcsp-sched-form-grid,.hcsp-sched-calendar{grid-template-columns:1fr}
  .hcsp-sched-calendar-head{flex-direction:column;align-items:flex-start}
}


.hcsp-sched-topgrid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:start}
.hcsp-recurring-wrap{background:#f9fafb}
.hcsp-rule-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hcsp-rule-list-wrap{margin-top:14px;border-top:1px solid #eaecf0;padding-top:12px}
.hcsp-rule-list{display:grid;gap:8px}
.hcsp-rule-row{display:block;text-align:left;border:1px solid #e4e7ec;border-radius:12px;padding:10px 12px;background:#fff;cursor:pointer}
.hcsp-rule-row:hover{border-color:#98a2b3}
.hcsp-rule-row-title{font-weight:700;font-size:13px}
.hcsp-rule-row-meta{font-size:12px;color:#667085;margin-top:3px}
.hcsp-sched-chip{display:inline-flex;padding:2px 8px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:11px;font-weight:600;margin-top:4px}
.hcsp-sched-mini-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.hcsp-sched-mini-actions .hcsp-btn{padding:4px 8px;font-size:12px}
.hcsp-sched-drag-hint{margin:0 0 10px 0}
.hcsp-sched-day-body{min-height:180px}
.hcsp-sched-day-body.hcsp-drop-target{outline:2px dashed #3b82f6;outline-offset:-6px;background:#f8fbff}
.hcsp-sched-event{user-select:none}
.hcsp-sched-event[draggable="true"]{cursor:grab}
.hcsp-sched-event.hcsp-dragging{opacity:.45}
@media (max-width: 1200px){
  .hcsp-sched-topgrid{grid-template-columns:1fr}
  .hcsp-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 768px){
  .hcsp-rule-grid{grid-template-columns:1fr}
}
