.schedule-page .profile-main { max-width:1200px; }
.schedule-intro { max-width:700px; margin:10px auto 34px; text-align:center; }
.schedule-intro .schedule-eyebrow { color:#b99c66; font-size:11px; letter-spacing:.24em; margin-bottom:12px; }
.schedule-intro h1 { font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:36px; letter-spacing:.12em; color:#ead4a7; margin-bottom:16px; }
.schedule-intro p { color:#c9c0b4; font-size:14px; line-height:1.9; }
.schedule-intro .schedule-legend { display:flex; justify-content:center; gap:20px; margin-top:22px; font-size:12px; }
.schedule-legend b { color:#d2c7a7; font-size:18px; margin-right:5px; font-weight:400; }
.ran-week { padding:0; color:#f0ece6; }
#ran-week-status { font-size:12px; color:#b9ad9a; margin:0 0 16px; }
.ran-week-dates { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.ran-week-dates button { appearance:none; padding:12px 2px; min-height:64px; border:1px solid #514332; border-radius:6px; background:#211912; color:#d3c8b6; font:14px/1.5 sans-serif; cursor:pointer; letter-spacing:0; }
.ran-week-dates button span,.ran-week-dates button small { display:block; }
.ran-week-dates button small { font-size:11px; margin-top:5px; }
.ran-week-dates button[aria-pressed="true"] { background:#d2b67d; color:#20170e; border-color:#d2b67d; }
.ran-week-day-heading { color:#e4cd9e; font-size:20px; margin:26px 0 16px!important; }
.ran-slot-scroll { width:100%; overflow:auto; border:1px solid #4c3e2d; border-radius:8px; }
.ran-slot-table { width:100%; border-collapse:separate; border-spacing:0; color:#e6ded1; font-family:sans-serif; letter-spacing:0; }
.ran-slot-table th,.ran-slot-table td { min-width:132px; padding:6px 12px; border-right:1px solid #4c3e2d; border-bottom:1px solid #4c3e2d; text-align:center; vertical-align:middle; }
.ran-slot-table tr:last-child>* { border-bottom:0; }
.ran-slot-table tr>*:last-child { border-right:0; }
.ran-slot-table thead th { background:#241c15; padding:20px 12px; }
.ran-slot-table th:first-child { position:sticky; left:0; min-width:78px; width:78px; z-index:1; background:#1d1612; font-size:12px; font-weight:400; white-space:nowrap; }
.ran-week-person { display:flex; flex-direction:column; align-items:center; color:#eee6d8!important; text-decoration:none; gap:6px; }
.ran-week-person img { width:72px; height:100px; object-fit:cover; border-radius:4px; }
.ran-week-person strong,.ran-week-person small { display:block; }
.ran-week-person strong { font-size:17px; font-weight:500; }
.ran-week-person small { color:#cdb581; font-size:10px; margin-top:3px; }
.ran-slot-shift { display:block; margin-top:10px; color:#b9ac96; font-size:12px; white-space:nowrap; }
.ran-slot-available { display:grid; place-items:center; min-height:44px; min-width:48px; border:1px solid #8d9c785c; background:#2a3323; border-radius:5px; color:#d4dfc4!important; font-size:24px; text-decoration:none; }
.ran-slot-available:hover { background:#3c4b30; }
.ran-slot-unavailable { display:block; color:#a18c78; font-size:22px; line-height:44px; }
.ran-slot-unknown { color:#c8aa70; font-size:12px; }
.ran-slot-closed,.ran-slot-outside { color:#716553; font-size:16px; }
.ran-week-empty { padding:36px 16px; color:#c5b9a6; text-align:center; border:1px solid #4c3e2d; border-radius:8px; }
.schedule-help { margin-top:24px; padding-top:20px; border-top:1px solid #4c3e2d; }
.schedule-help p { color:#b9ad9a; font-size:12px; line-height:1.9; margin-bottom:12px; }
.schedule-help a { display:inline-flex; min-height:44px; align-items:center; margin-right:24px; font-size:13px; }
.ran-slot-scroll:focus-visible,.ran-week-person:focus-visible,.ran-week-dates button:focus-visible,.ran-slot-available:focus-visible { outline:2px solid #f3d296; outline-offset:3px; }
.schedule-scroll-hint { display:none; }
@media(max-width:767px) {
 .schedule-page .profile-main { padding-inline:16px; }
 .schedule-intro { margin:6px auto 26px; }
 .schedule-intro h1 { font-size:28px; }
 .schedule-intro p { font-size:13px; }
 .schedule-intro .schedule-legend { gap:14px; }
 .ran-week-dates { gap:4px; }
 .ran-week-dates button { font-size:12px; min-height:60px; }
 .ran-week-day-heading { font-size:17px; margin-top:22px!important; }
 .ran-slot-table th,.ran-slot-table td { min-width:108px; padding:5px 8px; }
 .ran-slot-table th:first-child { min-width:60px; width:60px; font-size:11px; }
 .ran-slot-table thead th { padding:16px 8px; }
 .ran-week-person img { width:64px; height:90px; }
 .schedule-scroll-hint { display:block; color:#a59781; font-size:11px; text-align:right; margin:12px 0; }
}

.schedule-page .profile-breadcrumb { padding:16px 0 22px; }
.schedule-intro { margin:0 auto 26px; }
.schedule-intro h1 { margin-bottom:12px; }
.schedule-intro .schedule-legend { margin-top:16px; }
@media(min-width:801px) { .schedule-page .profile-header { padding-block:18px; } }

/* Profile view: only this therapist, with compact time cards. */
.profile-week { margin-top:48px; padding-top:32px; border-top:1px solid #51443b; scroll-margin-top:20px; }
.profile-week h2 { font-size:24px; color:#e4cd9e; margin-bottom:12px; }
.profile-week-intro { color:#c8beae; font-size:14px; margin-bottom:16px!important; }
.profile-week .ran-profile-day-state { font-size:10px; color:#b9ad99; margin-top:6px; }
.profile-week button[aria-pressed="true"] .ran-profile-day-state { color:#453823; }
.profile-week .ran-profile-shift { color:#c6b18c; font-size:13px; margin-bottom:16px; }
.ran-profile-slots { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; list-style:none; padding:0; margin:0; }
.ran-profile-slots li { min-width:0; }
.ran-profile-slots li>a,.ran-profile-slots li>span { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:64px; gap:5px; font-size:16px; line-height:1.3; border-radius:6px; }
.ran-profile-slots small { font-size:11px; }
.ran-profile-slots li>span { border:1px solid #453a2e; background:#191410; color:#8e806d; }
.ran-profile-slots .ran-slot-unknown { color:#c8aa70; }
@media(max-width:767px) {
 .profile-week { margin-top:36px; padding-top:28px; }
 .profile-week h2 { font-size:21px; }
 .ran-profile-slots { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
 .ran-profile-slots li>a,.ran-profile-slots li>span { min-height:60px; font-size:14px; }
 .profile-week .ran-profile-day-state { font-size:9px; }
}
@media(max-width:359px) { .ran-profile-slots { grid-template-columns:repeat(3,minmax(0,1fr)); } }
