/* D2 직원 첫 화면 (일정 우선) + 폰 하단 탭 */
.staff-home h2{margin-bottom:6px}
.sh-week-head{display:flex;align-items:center;gap:6px;margin:4px 0 8px}
.sh-week-head strong{flex:1;text-align:center;color:#173d56}
.sh-week-head button{margin:0;min-width:44px;min-height:40px;padding:6px 10px;border-radius:10px;background:#fff;color:#234d62;border:1px solid #d9e1e7}
.sh-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.sh-day{margin:0;padding:6px 0;min-height:62px;display:flex;flex-direction:column;align-items:center;gap:1px;border-radius:12px;background:#fff;color:#27485c;border:1px solid #d9e1e7}
.sh-day .sh-dow{font-size:12px}
.sh-day .sh-date{font-size:18px;font-weight:700}
.sh-day .sh-count{font-size:11px;min-height:16px;min-width:16px;border-radius:8px;background:#e5eef5;color:#234d62;padding:0 4px}
.sh-day .sh-count:empty{background:none}
.sh-day.is-today{border-color:#234d62}
.sh-day.is-selected{background:#234d62;color:#fff;border-color:#234d62}
.sh-day.is-selected .sh-count:not(:empty){background:#fff}
.sh-day-title{margin:14px 0 8px;font-size:17px}
.sh-list{display:grid;gap:8px}
.sh-empty{color:#5d7383;padding:14px;border:1px dashed #cbd9e6;border-radius:12px;text-align:center}
.studio .sh-card{margin:0;padding:12px;display:flex;gap:10px;padding:12px;border-radius:12px;background:#fff;border:1px solid #d9e1e7;border-left:5px solid #8aa4b6;cursor:default}
.sh-card[role=button]{cursor:pointer}
.sh-card[role=button]:active{background:#f1f6fa}
.studio .sh-card{border-left-width:5px}
.studio .sh-meeting{border-left-color:#7b61c9}.studio .sh-event{border-left-color:#d9822b}.studio .sh-install,.studio .sh-plan{border-left-color:#2f8a57}
.studio .sh-remove{border-left-color:#b5473a}.studio .sh-dispatch,.studio .sh-load{border-left-color:#2c6fa8}.studio .sh-request,.studio .sh-quote{border-left-color:#8a8f2c}
.sh-time{flex:0 0 64px;font-size:15px;font-weight:700;color:#173d56;font-variant-numeric:tabular-nums}
.sh-body{flex:1;min-width:0}
.sh-body strong{display:block;font-size:16px;overflow-wrap:anywhere}
.studio .sh-body p{margin:3px 0 0;font-size:14px;color:#425c6d}
.sh-type{display:inline-block;font-size:12px;padding:1px 8px;border-radius:999px;background:#edf3f8;color:#234d62;margin-bottom:2px}
.sh-weather{padding:4px 8px;border-radius:8px;background:#eef6ee}
.sh-weather[data-level=warn]{background:#fff4dc;color:#7a4b00}
.sh-weather[data-level=danger]{background:#fde3df;color:#8f1d12;font-weight:600}
.sh-sub{margin:18px 0 8px;font-size:15px;color:#425c6d}
.sh-quick{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.sh-quick button{margin:0;min-height:56px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:8px 12px;border-radius:12px;background:#fff;color:#173d56;border:1px solid #d9e1e7;font-weight:700}
.sh-quick small{font-weight:400;font-size:12px;color:#5d7383}
.sh-alerts{display:grid;gap:6px;margin-top:14px}
.sh-alerts button{margin:0;text-align:left;padding:10px 12px;border-radius:10px;background:#fff4dc;color:#5e3b00;border:1px solid #f0d49a;font-size:14px;white-space:normal}

/* 폰: 하단 탭, 긴 상단 메뉴는 '더보기'에서만 */
.work-bottom{display:none}
@media (max-width:760px){
  body.has-work-bottom{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  body.has-work-bottom #work-nav{display:none}
  body.has-work-bottom.work-more-open #work-nav{display:flex;flex-wrap:wrap;position:static}
  .work-bottom{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:950;background:#fff;border-top:1px solid #d9e1e7;padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
  .work-bottom button{flex:1;margin:0;min-height:52px;padding:4px 0;border:0;border-radius:10px;background:none;color:#5d7383;font-size:14px;font-weight:600}
  .work-bottom button[aria-pressed=true]{background:#e5eef5;color:#234d62}
  body.work-more-open .work-bottom button[data-tab=more]{background:#234d62;color:#fff}
  body.has-work-bottom #rm-zoom-bar{bottom:calc(70px + env(safe-area-inset-bottom))}
}
