.y-doctor > .appointment-doctor-media {min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:12px}
.appointment-doctor-media > a {display:block}
.ydb .y-button.y-booking-link {display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-width:220px;max-width:100%;min-height:60px;padding:11px 12px 11px 24px;border:1px solid #287d63;border-radius:16px;background:linear-gradient(115deg,#196e55,#29896a);color:#fff;font-size:15px;font-weight:600;line-height:1.5;letter-spacing:.025em;text-decoration:none;box-shadow:0 8px 20px #236d5126;transition:background-color .18s,border-color .18s,box-shadow .18s}
.ydb .y-booking-link .y-booking-arrow {display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #ffffff30;border-radius:11px;background:#ffffff17;color:#fff;font-size:22px;font-weight:400;line-height:1}
.ydb .y-button.y-booking-link:hover {background:linear-gradient(115deg,#155e49,#21795d);border-color:#1b6a51;box-shadow:0 10px 24px #236d5133}
.ydb .y-button.y-booking-link:focus-visible {outline:3px solid #76baa0;outline-offset:4px}
.ydb .y-button.y-booking-link:active {box-shadow:0 3px 10px #236d5126}
.appointment-open {display:inline-flex;align-items:center;justify-content:center;align-self:stretch;gap:8px;min-height:44px;max-width:100%;padding:11px 16px;border:1px solid #a9dcd0;border-radius:12px;background:#eaf8f3;color:#176d5d;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;transition:background-color .15s,border-color .15s}
.appointment-open::before {content:"+";display:grid;place-items:center;flex:0 0 21px;height:21px;border-radius:7px;background:#d2eee3;color:#176d5d;font:600 18px/1 system-ui}
.appointment-open:hover {background:#daf1e8;border-color:#75bfa9}
.appointment-open:active {background:#cdeadd}
.appointment-dialog {position:fixed;inset:0;box-sizing:border-box;width:min(600px,calc(100% - 32px));height:fit-content;max-width:600px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:30px;border:1px solid #dfebe5;border-radius:22px;background:#fff;color:#213e38;box-shadow:0 22px 70px #163a3029;font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;resize:none;scroll-behavior:auto;text-align:left}
.appointment-dialog::backdrop {background:rgba(21,42,36,.42)}
.appointment-dialog *, .appointment-dialog *::before, .appointment-dialog *::after {box-sizing:border-box}
.appointment-dialog h2 {margin:0 38px 10px 0;font-size:clamp(21px,3vw,26px);font-weight:650;line-height:1.25;letter-spacing:-.025em;color:#213e38}
.appointment-dialog #appointment-notice {margin:0 0 20px;color:#62776f;font-size:14px;line-height:1.65}
.appointment-dialog .appointment-close {position:absolute;top:18px;right:18px;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;margin:0;border:1px solid #dce8e2;border-radius:50%;background:#f6f9f7;color:#5b746a;cursor:pointer}
.appointment-dialog .appointment-close:hover {background:#e8f4ed;color:#176d5d}
.appointment-close svg {width:16px;height:16px;pointer-events:none}
.appointment-dialog .appointment-context {display:grid;gap:8px;margin:0 0 20px;padding:14px 16px;border:1px solid #dcece3;border-radius:13px;background:#f2f8f4;overflow-wrap:anywhere}
.appointment-context div {display:grid;grid-template-columns:76px minmax(0,1fr);align-items:baseline;gap:12px}
.appointment-context dt {margin:0;color:#6b8176;font-size:12px;font-weight:500}
.appointment-context dd {margin:0;color:#294b3e;font-size:13px;font-weight:600;line-height:1.5}
.appointment-dialog form {margin:0;padding:0}
.appointment-dialog .appointment-details {min-width:0;margin:0;padding:0;border:0}
.appointment-dialog #appointment-zone {margin:0 0 16px;padding-left:11px;border-left:2px solid #bddfce;color:#62776f;font-size:12px;line-height:1.6}
.appointment-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}
.appointment-dialog label,.appointment-dialog .appointment-field {display:flex;flex-direction:column;min-width:0;margin:0;gap:7px;color:#3d574b;font-size:13px;font-weight:600;line-height:1.5}
.appointment-wide {grid-column:1/-1}
.appointment-dialog input,.appointment-dialog select {display:block;width:100%;min-width:0;max-width:100%;height:46px;min-height:46px;margin:0;padding:10px 12px;border:1px solid #cfdfd5;border-radius:10px;background:#fcfdfc;color:#213e38;font:400 16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:none;transition:border-color .15s,background-color .15s;resize:none}
.appointment-dialog select {cursor:pointer;padding-right:8px}
.appointment-dialog input:hover,.appointment-dialog select:hover {border-color:#95beaa}
.appointment-dialog input:focus,.appointment-dialog select:focus {border-color:#4e9d7d;background:#fff;outline:2px solid #d7eee1;outline-offset:1px}
.appointment-dialog input[type="date"] {appearance:none;-webkit-appearance:none}
.appointment-dialog input[type="date"]::-webkit-date-and-time-value {text-align:left}
.appointment-dialog fieldset:disabled {opacity:.6}
.appointment-dialog .appointment-submit {display:block;width:100%;min-height:48px;margin:22px 0 0;padding:12px 18px;border:1px solid #258365;border-radius:11px;background:#278567;color:white;font:600 15px/1.5 system-ui,sans-serif;cursor:pointer;box-shadow:0 3px 8px #225d4314;transition:background-color .15s}
.appointment-dialog .appointment-submit:hover {background:#1c7156}
.appointment-dialog .appointment-submit:disabled {opacity:.55;cursor:wait;box-shadow:none}
.appointment-dialog .appointment-status {margin:12px 0 0;color:#9d493b;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.appointment-dialog .appointment-status:empty {display:none}
.appointment-dialog :focus-visible,.appointment-open:focus-visible {outline:2px solid #287d62;outline-offset:3px}
.appointment-dialog [hidden] {display:none!important}
.appointment-select {position:relative;min-width:0}
.appointment-dialog .appointment-select-trigger {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;margin:0;padding:10px 12px;border:1px solid #cfdfd5;border-radius:10px;background:#fcfdfc;color:#213e38;font:400 15px/1.4 system-ui,sans-serif;text-align:left;cursor:pointer}
.appointment-dialog .appointment-select-trigger:hover {border-color:#95beaa}
.appointment-dialog .appointment-select-trigger[aria-expanded="true"] {border-color:#4e9d7d;outline:2px solid #d7eee1;outline-offset:1px}
.appointment-select-trigger.is-placeholder {color:#7c8b83!important}
.appointment-select-trigger::after {content:"";flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid #6d897a;border-bottom:1.5px solid #6d897a;transform:rotate(45deg) translateY(-2px)}
.appointment-select-trigger[aria-expanded="true"]::after {transform:rotate(225deg) translate(-2px,-2px)}
.appointment-dialog .appointment-select-options {position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:20;margin:0;padding:6px;list-style:none;max-height:240px;max-height:min(240px,40dvh);overflow-y:auto;overscroll-behavior:contain;border:1px solid #dce8e2;border-radius:12px;background:#fff;box-shadow:0 10px 28px #163a3026;text-align:left}
.appointment-select.opens-up .appointment-select-options {top:auto;bottom:calc(100% + 6px)}
.appointment-dialog .appointment-select-option {position:relative;margin:0;padding:10px 32px 10px 12px;border-radius:7px;color:#3d574b;font-size:14px;font-weight:400;line-height:1.5;cursor:pointer}
.appointment-dialog .appointment-select-option:hover,.appointment-dialog .appointment-select-option:focus {outline:none;background:#eff8f2;color:#176d5d}
.appointment-dialog .appointment-select-option[aria-selected="true"] {background:#e3f3e9;color:#176d5d;font-weight:600}
.appointment-select-option[aria-selected="true"]::after {content:"✓";position:absolute;right:12px}
.appointment-dialog .appointment-select-trigger:disabled {opacity:.6;cursor:wait}
.appointment-sr-only {position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px) {
 .ydb .y-button.y-booking-link {width:100%;min-width:0;max-width:360px;min-height:56px;padding-left:20px;gap:16px}
 .appointment-dialog {width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 20px 20px;border-radius:18px}
 .appointment-fields {gap:13px 12px}
 .appointment-dialog h2 {font-size:22px}
 .appointment-dialog .appointment-close {top:14px;right:14px}
 .appointment-context div {grid-template-columns:64px minmax(0,1fr);gap:10px}
}
@media(max-width:360px) {.appointment-fields {grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce) {.appointment-open,.appointment-dialog input,.appointment-dialog select,.appointment-dialog .appointment-submit,.ydb .y-button.y-booking-link {transition:none}}
