/* 진료시간 및 예약: 오늘 진료하는 원장님 + 원장님별 진료일정 (피그마 2-5 수정안 5-1·5-2·5-3) */
.visit-schedule .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.location-page .visit-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* 사진: 원본 비율 그대로, 원장님별 확대·위치 (피그마 값) */
.schedule-photo{position:relative;display:block;flex:none;overflow:hidden;border-radius:50%;background:#dde3ec}
.schedule-photo img{position:absolute;max-width:none;height:auto;width:var(--w);left:var(--l);top:var(--t)}
.schedule-photo.sch-khj{--w:108.42%;--l:-2.59%;--t:5.37%}
.schedule-photo.sch-kdw{--w:149.28%;--l:-27.06%;--t:-13.59%}
.schedule-photo.sch-bmj{--w:147.76%;--l:-26.14%;--t:-27.22%}
.schedule-photo.sch-kdy{--w:128.21%;--l:-16.3%;--t:-5.77%}
.schedule-photo.is-today.sch-khj{--w:113.27%;--l:-3.15%;--t:6.8%}
.schedule-photo.is-today.sch-kdw{--w:160.08%;--l:-31.43%;--t:-16.67%}
.schedule-photo.is-today.sch-bmj{--w:157.86%;--l:-30.69%;--t:-30%}
.schedule-photo.is-today.sch-kdy{--w:138.96%;--l:-21.15%;--t:-8.33%}

/* 오늘 진료하는 원장님 */
.visit-today{background:#fff;padding:120px 0}
#main .visit-today h2,#main .visit-schedule h2{font-size:45px;line-height:1.25;letter-spacing:-1px;color:#222}
.visit-today h2{margin-bottom:50px}
.visit-today-card{display:flex;align-items:center;gap:40px;min-height:208px;padding:44px 50px;border-radius:30px;background:#f3f5f9}
.visit-today-date{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:12px;width:250px}
.visit-today-date>span{padding:2px 12px;border-radius:500px;background:#dce4ee;color:#15346d;font-size:17px;font-weight:700;line-height:1.5;letter-spacing:-.2px}
.visit-today-date strong{font-size:34px;line-height:1.25;letter-spacing:-.5px;color:#222}
.visit-today-date p{font-size:16px;letter-spacing:-.2px;color:#666}
.visit-today-line{flex:none;width:1px;height:120px;background:#dce4ee}
.visit-today-list{display:flex;flex:1;gap:16px;min-width:0;margin:0;padding:0;list-style:none}
.visit-today-list li{display:flex;flex:1;align-items:center;gap:14px;min-width:0;padding:12px 16px 12px 12px;border-radius:20px;background:#fff}
.visit-today-list li.is-off{opacity:.5}
.visit-today-list .schedule-photo{width:60px;height:60px}
.visit-today-list div{display:flex;flex-direction:column;gap:4px;min-width:0;letter-spacing:-.2px}
.visit-today-list strong{font-size:20px;line-height:1.2;color:#222}
.visit-today-list div span{font-size:16px;font-weight:500;color:#555}
.visit-today-list .is-off div span{font-weight:400;color:#777}

/* 진료일정 안내 */
.visit-schedule{background:#f3f5f9;padding:140px 0}
.visit-schedule h2{margin-bottom:30px}
.schedule-picker{display:flex;align-items:center;gap:20px;margin-bottom:100px;padding:20px 30px;border:1px solid #e3e7ee;border-radius:20px;background:#fff}
.schedule-picker-label{display:flex;flex:none;flex-direction:column;gap:6px;letter-spacing:-.2px}
.schedule-picker-label strong{font-size:17px;line-height:1.2;color:#222}
.schedule-picker-label span{font-size:14px;line-height:1.2;color:#777}
.schedule-picker-line{flex:none;width:1px;height:40px;background:#d9dfe8}
.schedule-picker-list{display:flex;flex-wrap:wrap;gap:15px}
.schedule-chip{display:flex;align-items:center;gap:12px;width:219px;padding:8px 22px 8px 14px;border:1.5px solid #d9dfe8;border-radius:999px;background:#fff;text-align:left;transition:border-color .2s,background-color .2s}
.schedule-chip[aria-pressed="true"]{border-color:#15346d;background:#eaf0fa}
.schedule-check{flex:none;width:20px;height:20px;border:1.5px solid #c5ccd6;border-radius:50%;background:#fff no-repeat center/12px 9px}
.schedule-chip[aria-pressed="true"] .schedule-check{border-color:#15346d;background-color:#15346d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4.5 4.3 7.8 11 1'/%3E%3C/svg%3E")}
.schedule-chip .schedule-photo{width:44px;height:44px}
.schedule-chip-text{display:flex;flex-direction:column;gap:2px;min-width:0;letter-spacing:-.2px;white-space:nowrap}
.schedule-chip-text strong{font-size:16px;line-height:1.2;color:#222}
.schedule-chip-text small{font-size:13px;line-height:1.2;color:#555}
@media(hover:hover){.schedule-chip:hover{border-color:#15346d}}

.schedule-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:35px}
.schedule-nav{display:flex;align-items:center;gap:18px}
.schedule-nav strong{font-size:34px;line-height:1.2;letter-spacing:-.75px;color:#222;white-space:nowrap}
.schedule-nav button{flex:none;width:46px;height:46px;border:1px solid #d9dfe8;border-radius:50%;background:#fff no-repeat center/24px 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6 8.5 12l6 6'/%3E%3C/svg%3E")}
.schedule-nav .schedule-next{transform:scaleX(-1)}
.schedule-nav strong[data-mode="week"]{min-width:312px;text-align:center}
.schedule-nav button:disabled{opacity:.35;cursor:default}
.schedule-tabs{display:flex;flex:none;padding:5px;border-radius:500px;background:#fff}
.schedule-tabs button{padding:12px 28px;border-radius:500px;font-size:17px;font-weight:500;line-height:1.2;letter-spacing:-.2px;color:#666}
.schedule-tabs button[aria-selected="true"]{background:#15346d;color:#fff;font-weight:600}

.schedule-legend{display:flex;flex-wrap:wrap;gap:8px 26px;margin:0 0 16px;padding:0;list-style:none;font-size:15px;line-height:1.2;letter-spacing:-.2px;color:#555}
.schedule-legend li{display:flex;align-items:center;gap:8px}
.schedule-legend li::before{content:"";width:10px;height:10px;border-radius:50%;background:#222}
.schedule-legend .is-today{color:#2f63c4;font-weight:600}
.schedule-legend .is-today::before{width:16px;height:16px;border:2px solid #2f63c4;border-radius:4px;background:none;box-sizing:border-box}
.schedule-legend .is-off::before{background:#b0b7c3}

.schedule-scroll{overflow-x:auto;border:1px solid #e3e7ee;border-radius:20px;background:#fff}
.schedule-scroll table{width:100%;border-collapse:collapse;table-layout:fixed;letter-spacing:-.2px}
.schedule-scroll thead th{padding:22px 4px;background:#15346d;color:#fff;font-size:17px;font-weight:600;line-height:1.2;text-align:center;white-space:nowrap}
.schedule-scroll thead th.is-sat{color:#b9d4ff}
.schedule-scroll thead th.is-sun{color:#ffb4b4}
.schedule-scroll thead th em{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:4px;background:#fff;color:#2f63c4;font-size:12px;font-style:normal;font-weight:700;vertical-align:2px;padding-top:2px;padding-bottom:2px}

/* 주간 표 */
.schedule-week thead th:first-child{width:260px;padding-left:30px;text-align:left}
.schedule-week thead th.is-past{color:rgb(255 255 255 / 55%)}
.schedule-week thead th.is-today{background:#2f63c4;color:#fff}
.schedule-week tbody tr+tr{border-top:1px solid #e3e7ee}
.schedule-week tbody th{padding:14px 10px 14px 24px;text-align:left;font-weight:700}
.sch-doc{display:flex;align-items:center;gap:14px}
.schedule-week tbody th .schedule-photo{width:64px;height:64px;border-radius:16px}
.sch-doc>span{display:flex;flex-direction:column;gap:2px;font-size:20px;line-height:1.2;color:#222;white-space:nowrap}
.schedule-week tbody th small{font-size:14px;font-weight:500;color:#15346d}
.schedule-week td{padding:14px 6px;border-left:1px solid #eef1f5;vertical-align:middle}
.schedule-week td.is-today{background:rgb(47 99 196 / 6%);box-shadow:inset 2px 0 #2f63c4,inset -2px 0 #2f63c4}
.schedule-week tbody tr:last-child td.is-today{box-shadow:inset 2px 0 #2f63c4,inset -2px 0 #2f63c4,inset 0 -2px #2f63c4}
.sch-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:78px;border-radius:14px;font-size:19px;font-weight:600;line-height:1.2;color:#222;text-align:center}
.sch-cell b{font-weight:600}
.sch-cell span{color:#666}
.sch-cell.is-off{background:#f3f5f9;color:#b0b7c3;padding:0 6px;word-break:keep-all}
.sch-cell.is-empty{color:#c5ccd6}
.schedule-week td.is-past .sch-cell{opacity:.4}

/* 월간 달력 */
.schedule-month thead th{padding:16px 4px;font-size:15px}
.schedule-month td{height:160px;padding:14px 16px;border:1px solid #e3e7ee;border-width:0 0 1px 1px;vertical-align:top}
.schedule-month tr td:first-child{border-left:0}
.schedule-month tbody tr:last-child td{border-bottom:0}
.schedule-month.is-single td{height:120px}
.schedule-month td.is-blank{background:#fafbfc}
.schedule-month td.is-past{background:#f6f7f9}
.schedule-month td.is-past>*{opacity:.45}
.schedule-month td.is-today{background:#f0f4fc;box-shadow:inset 0 0 0 2px #2f63c4}
.sch-date{display:flex;align-items:center;gap:6px;margin-bottom:15px;font-size:16px;font-weight:700;line-height:1.2;color:#222}
.schedule-month td.is-sun .sch-date{color:#d64545}
.schedule-month td.is-sat .sch-date{color:#2f63c4}
.sch-date em{padding:2px 6px;border-radius:4px;background:#2f63c4;color:#fff;font-size:11px;font-style:normal;font-weight:700}
.schedule-month ul{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}
.schedule-month li{display:flex;gap:6px;font-size:14px;line-height:1.35;white-space:nowrap}
.schedule-month li span{flex:none;width:44px;font-weight:500;color:#555}
.schedule-month li b{font-weight:600;color:#222;overflow:hidden;text-overflow:ellipsis}
.schedule-month li.is-off span,.schedule-month li.is-off b{color:#b0b7c3;font-weight:400}
.sch-month-one{display:block;font-size:16px;font-weight:600;line-height:1.3;color:#222}
.sch-month-one.is-off{font-size:15px;font-weight:400;color:#999}
.schedule-month td.is-offday:not(.is-today){background:#f6f7f9}
.schedule-note{margin-top:16px;font-size:16px;line-height:1.6;letter-spacing:-.2px;color:#666}

/* 태블릿 */
@media(max-width:1279.98px){
 .visit-today{padding:88px 0}.visit-schedule{padding:88px 0}
 #main .visit-today h2,#main .visit-schedule h2{font-size:30px;letter-spacing:-.5px}
 .visit-today h2{margin-bottom:32px}
 .visit-today-card{flex-wrap:wrap;gap:24px;padding:32px;border-radius:20px}
 .visit-today-date{width:100%;gap:8px}.visit-today-date strong{font-size:28px}
 .visit-today-line{display:none}
 .visit-today-list{flex-basis:100%;gap:12px}
 .visit-today-list li{gap:12px;padding:10px 14px 10px 10px;border-radius:16px}
 .visit-today-list .schedule-photo{width:52px;height:52px}
 .visit-today-list strong{font-size:18px}.visit-today-list div span{font-size:15px}
 .schedule-picker{flex-wrap:wrap;gap:16px;margin-bottom:64px;padding:20px 24px}
 .schedule-picker-line{display:none}
 .schedule-picker-list{width:100%;gap:12px}
 .schedule-chip{flex:1 1 200px;width:auto}
 .schedule-nav strong{font-size:26px}
 .schedule-nav{gap:14px}.schedule-nav button{width:40px;height:40px}
 .schedule-nav strong[data-mode="week"]{min-width:236px}
 .schedule-tabs button{padding:10px 22px;font-size:16px}
 .schedule-scroll table{min-width:900px}
 .schedule-week thead th:first-child{width:200px;padding-left:20px}
 .schedule-week tbody th{padding-left:16px}.sch-doc{gap:10px}
 .schedule-week tbody th .schedule-photo{width:52px;height:52px;border-radius:14px}
 .sch-doc>span{font-size:18px}
 .schedule-scroll thead th{font-size:15px;padding:18px 4px}
 .sch-cell{height:70px;font-size:16px}
 .schedule-month td{height:140px;padding:12px}
}
/* 모바일 */
@media(max-width:767.98px){
 .visit-today{padding:64px 0}.visit-schedule{padding:64px 0}
 #main .visit-today h2,#main .visit-schedule h2{font-size:28px;letter-spacing:-.2px}
 .visit-today h2{margin-bottom:24px}.visit-schedule h2{margin-bottom:20px}
 .visit-today-card{gap:18px;padding:24px 18px;border-radius:16px}
 .visit-today-date>span{font-size:13px;padding:1px 10px}.visit-today-date strong{font-size:24px}.visit-today-date p{font-size:14px}
 .visit-today-list{flex-direction:column;gap:8px}
 .visit-today-list .schedule-photo{width:46px;height:46px}
 .visit-today-list strong{font-size:16px}.visit-today-list div span{font-size:14px}
 .schedule-picker{gap:12px;margin-bottom:44px;padding:16px;border-radius:16px}
 .schedule-picker-label{flex-direction:row;align-items:baseline;gap:8px}
 .schedule-picker-label strong{font-size:15px}.schedule-picker-label span{font-size:12px}
 .schedule-picker-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .schedule-chip{gap:10px;padding:6px 16px 6px 10px}
 .schedule-chip .schedule-photo{width:38px;height:38px}
 .schedule-chip-text strong{font-size:15px}.schedule-chip-text small{font-size:12px}
 .schedule-bar{flex-wrap:wrap;gap:16px;margin-bottom:22px}
 .schedule-nav{gap:10px}.schedule-nav strong{font-size:20px;letter-spacing:-.4px}
 .schedule-nav strong[data-mode="week"]{min-width:184px}
 .schedule-nav button{width:34px;height:34px;background-size:20px 20px}
 .schedule-tabs{width:100%}.schedule-tabs button{flex:1;padding:9px 10px;font-size:14px}
 .schedule-legend{gap:6px 16px;font-size:12px}
 .schedule-scroll{border-radius:14px}
 .schedule-scroll table{min-width:700px}
 .schedule-week thead th:first-child{width:128px;padding-left:14px}
 .schedule-week tbody th{position:sticky;left:0;z-index:1;padding:10px 8px 10px 12px;background:#fff}.sch-doc{gap:8px}
 .schedule-week thead th:first-child{position:sticky;left:0;z-index:2}
 .schedule-week tbody th .schedule-photo{width:36px;height:36px;border-radius:10px}
 .sch-doc>span{font-size:15px}.schedule-week tbody th small{font-size:11px}
 .schedule-scroll thead th{font-size:13px;padding:14px 2px}
 .schedule-scroll thead th em{margin-left:4px;font-size:10px;padding:1px 4px}
 .schedule-week td{padding:8px 3px}
 .sch-cell{height:58px;border-radius:10px;font-size:14px}
 .schedule-month td{height:118px;padding:8px}
 .schedule-month.is-single td{height:84px}
 .sch-date{margin-bottom:8px;font-size:13px}
 .schedule-month li{flex-direction:column;gap:0;font-size:12px}
 .schedule-month li span{width:auto}
 .sch-month-one{font-size:13px}.sch-month-one.is-off{font-size:13px}
 .schedule-note{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.schedule-chip{transition:none}}
.schedule-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
@media(hover:hover){.schedule-note a:hover{color:#15346d}}
