.directions-page{padding:0 16px;margin:16px auto;max-width:672px;color:#246581}
.directions-panel{border:1px solid #bcebf1;border-radius:12px;padding:0 16px 12px;background:#fff;box-shadow:0 2px 8px rgba(0,155,164,.05)}
.directions-header{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:4px;min-height:42px;border-bottom:1px solid #d3edf1}
.directions-back{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#246581;font-family:inherit;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.directions-back::before{content:"";width:7px;height:7px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.directions-back:hover{color:#009ba4;text-decoration:none}
.directions-header h1{margin:0;text-align:center;font-size:14px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.direction-row{padding:16px 0 12px;display:flex;gap:12px;align-items:flex-start}
.direction-row + .direction-row{border-top:1px solid #d3edf1}
.direction-photo{position:relative;flex:0 0 42%;min-width:0}
.direction-photo img{display:block;width:100%;border-radius:5px;height:auto}
.direction-photo-without-image{flex-basis:28px;min-height:28px}
.direction-number{position:absolute;top:-7px;left:-5px;display:flex;align-items:center;justify-content:center;background:#009ba4;color:#fff;border:2px solid #fff;border-radius:50%;width:28px;height:28px;font-size:18px;font-weight:700;line-height:1}
.direction-photo-without-image .direction-number{top:0;left:0}
.direction-copy{min-width:0;overflow-wrap:anywhere;flex:1;padding-top:3px}
.direction-copy h2{margin:0 0 6px;font-size:16px;font-weight:700;line-height:1.5}
.direction-caption{margin:0;color:#4f819b;font-size:12px;font-weight:400;line-height:1.7;white-space:pre-wrap}
.direction-pending{margin:0;color:#4f819b;font-size:13px;line-height:1.7}
.stamp-location{background:#e8f7f9;border:1px solid #c4edf2;padding:10px 12px 12px;border-radius:8px}
.stamp-location h2{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#197f93;font-size:14px;font-weight:700;line-height:1.5}
.stamp-location-icon{flex:0 0 26px;width:26px;height:30px;color:#009ba4}
.stamp-location img{display:block;width:100%;height:auto;border-radius:5px}
@media(min-width:576px){.directions-panel{padding:0 24px 20px}.directions-header{min-height:54px}.directions-header h1{font-size:18px}.direction-row{padding:22px 0 18px;gap:20px}.direction-copy h2{font-size:20px}.direction-caption{font-size:15px}.stamp-location{padding:14px 16px 16px}.stamp-location h2{font-size:18px}}
@media(max-width:359px){.directions-page{padding:0 12px}.directions-panel{padding-right:12px;padding-left:12px}.directions-header{grid-template-columns:42px minmax(0,1fr) 42px}.directions-header h1{font-size:12px}.direction-row{gap:10px}.direction-copy h2{font-size:14px}.stamp-location{padding-right:10px;padding-left:10px}.stamp-location h2{font-size:12px;gap:8px}}
.directions-modal{z-index:10020}
.directions-modal-open .modal-backdrop{z-index:10010}
.directions-modal .modal-dialog{width:calc(100% - 32px);max-width:640px;margin:16px auto;min-height:calc(100% - 32px);max-height:calc(100% - 32px)}
.directions-modal .modal-content{border:0;border-radius:12px;box-shadow:0 8px 32px rgba(0,50,65,.2);color:#246581}
.directions-modal .modal-body{padding:0}
.directions-modal-close{position:absolute;top:8px;right:14px;z-index:2;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#fff;color:#246581;font-size:24px;line-height:1;cursor:pointer}
.directions-modal-close:hover{background:#e8f7f9}
.directions-modal-message{margin:0;padding:52px 24px 28px;text-align:center;font-size:14px;line-height:1.7}
@media(min-width:576px){.directions-modal-close{top:13px;right:22px}}
