/* Daily Scheduler only. The desktop grid and other employee cards are untouched. */
.ms-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ms-heading .primary{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:13px}
.ms-heading .sc-icon,.ms-day-heading .sc-icon{width:17px;height:17px}
.ms-schedule{display:grid;gap:7px;margin:22px 0 18px;font-size:13px;color:var(--muted)}
.ms-schedule select{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;background:var(--panel-2);color:var(--text);font:inherit;font-size:16px}
.ms-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin-top:12px}
.ms-dates button{position:relative;min-width:0;min-height:66px;padding:7px 0 11px;border:1px solid transparent;border-radius:7px;background:none;color:var(--text);font:inherit;cursor:pointer}
.ms-dates button>span{display:block;font-size:11px;color:var(--muted)}
.ms-dates strong{display:block;margin-top:6px;font-size:17px;font-weight:600}
.ms-dates [aria-pressed=true]{background:var(--theme-cool-wash,#c9a86a14);border-color:var(--theme-cool,var(--brand))}
.ms-dates [aria-current=date]::after{content:"";position:absolute;bottom:5px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:var(--brand)}
.ms-dates button:hover{background:var(--theme-hover,var(--panel-2))}
.ms-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 12px}
.ms-day-heading h2{font-size:15px}
.ms-day-heading button{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding-inline:10px;font-size:13px;flex:none}
.ms-events{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.ms-shifts{display:grid;gap:10px}
.ms-shift{padding:12px 28px 12px 16px;background:var(--publication-pattern,linear-gradient(transparent,transparent)),linear-gradient(180deg,#ffffff08,#ffffff01 40%,#0000000a),var(--card-surface)}
.ms-shift-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 12px}
.ms-shift-top>strong{font-size:15px;font-weight:600;line-height:1.4;max-width:100%;overflow-wrap:break-word}
.ms-hours{font-size:14px;line-height:1.5;white-space:nowrap}
.ms-shift-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;font-size:13px;line-height:1.5;margin-top:5px;color:var(--theme-on-card,#c4cbc8)}
.ms-shift-name,.ms-shift-note{font-size:12px}
.ms-shift-note{display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.ms-shift-warning{display:inline-flex;align-items:center;gap:4px;color:var(--brand);font-size:12px}
.ms-shift-bottom .sc-icon{width:14px;height:14px}
#mobileManagerScheduler .ms-shift.publication-deleted{border:2px solid #a77978;background:var(--panel-2);color:var(--muted);box-shadow:none}
.ms-shift.publication-deleted::before{opacity:.55}
.ms-history{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.ms-status-section{margin-top:22px;padding:13px 12px 4px;background:var(--panel)}
.ms-status-section ul{list-style:none;padding:0;margin:8px 0 0}
.ms-status-section li{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:7px 0;font-size:13px;line-height:1.5}
.ms-status-section li+li{border-top:1px solid var(--line)}
.ms-status-section li>span:first-child{min-width:0;overflow-wrap:break-word}
.ms-status-section li>span:last-child{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:12px}
.ms-status-section .status-sample{width:20px}
@media(max-width:1099px){
 body.mobile-manager-scheduler #detailDialog .shift-editor{grid-template-columns:1fr}
 body.mobile-manager-scheduler #detailDialog :is(.shift-editor input,.shift-editor select,.publish-week select,.dialog-actions button){min-height:44px}
 body.mobile-manager-scheduler #detailDialog :is(.shift-editor input,.shift-editor select,.publish-week select){font-size:16px}
 body.mobile-manager-scheduler #detailDialog .dialog-actions{flex-wrap:wrap}
}
