/* Team calendar: comfortable touch targets and quiet Apple-inspired hierarchy. */
.team-schedule-shell{display:grid;gap:18px}
.team-schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.team-schedule-toolbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.team-schedule-toolbar button,.team-schedule-admin button{min-height:44px}
.team-schedule-period{font-weight:700;font-size:15px;letter-spacing:-.015em}
.team-schedule-toggle{display:inline-flex;gap:4px;background:#f5f6f7;padding:4px;border-radius:13px}
.team-schedule-toggle button{border:0;background:transparent;border-radius:10px;padding:9px 14px;color:#555;font-weight:600}
.team-schedule-toggle button[aria-pressed=true]{background:#fff;color:#005bb5;box-shadow:0 1px 4px #00000012}
.team-schedule-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.team-schedule-day{border:1px solid #e6e8eb;background:#fff;border-radius:15px;min-width:0;min-height:142px;padding:11px;display:flex;flex-direction:column;gap:8px}
.team-schedule-dayhead{font-size:12px;font-weight:700;color:#5a616d;margin-bottom:3px}
.team-schedule-day.team-today{border-color:#7fb8fa;background:#f7fbff}
.team-schedule-day.team-sunday{background:#f6f9fd}
.team-schedule-empty{font-size:12px;color:#858b95}
.team-shift{background:#edf5ff;color:#194d80;border-radius:10px;padding:9px 8px;font-size:11px;line-height:1.35;position:relative;overflow-wrap:anywhere;display:grid;gap:3px}
.team-shift strong{font-weight:700;color:#153f69}
.team-shift-rest{background:#f4f4f5;color:#596169}
.team-shift .team-draft{display:inline-block;color:#ad6114;font-weight:700}
.team-schedule-remove{position:absolute;top:3px;right:3px;min-width:28px;min-height:28px;border:0;border-radius:6px;background:#fff9;color:#a4292e;font-weight:800}
.team-schedule-upcoming{display:grid;gap:0}
.team-schedule-row{display:grid;grid-template-columns:minmax(90px,1fr) 2fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #ebecef;font-size:13px}
.team-schedule-row small{color:#6c7280}
.team-schedule-admin{display:grid;gap:14px;border:1px solid #e3e7ed;border-radius:17px;padding:17px;background:#fff}
.team-schedule-settings{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
.team-schedule-settings label{display:grid;gap:5px;font-size:12px;font-weight:600;color:#4a525e}
.team-schedule-settings input{min-height:43px;max-width:145px;width:100%;border-radius:10px;border:1px solid #d1d5dd;padding:9px 10px;font:inherit;color:#242933;background:#fff}
.team-schedule-stafflist{display:flex;gap:8px;flex-wrap:wrap}
.team-schedule-staff{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #e2e5eb;border-radius:12px;min-height:48px;font-size:13px}
.team-schedule-staff input{width:18px;height:18px}
.team-schedule-staff small{color:#7b8390}
.team-schedule-hint{color:#68707d;font-size:12px;line-height:1.5}
.team-schedule-actions{display:flex;gap:8px;flex-wrap:wrap}
.team-schedule-actions button{min-height:46px}
@media(max-width:1000px){.team-schedule-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 .team-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .team-schedule-day{min-height:95px;padding:10px}
 .team-schedule-toolbar{align-items:flex-start}
 .team-schedule-toolbar-actions{width:100%}
 .team-schedule-row{grid-template-columns:85px minmax(0,1fr);gap:5px}
 .team-schedule-row small{grid-column:2}
 .team-schedule-settings label{flex:1 1 85px}
 .team-schedule-staff{flex:1 1 155px}
 .team-schedule-actions button{flex:1 1 150px}
}
@media(max-width:355px){.team-schedule-grid{grid-template-columns:1fr}.team-schedule-day{min-height:70px}}
@media(prefers-reduced-motion:reduce){.team-schedule-toggle button{transition:none}}

.team-conflict{display:block;color:#a83b20;font-weight:750;font-size:11px;line-height:1.35}
