.office-address-header { position: relative; }

.office-address-toggle,
.guide-screen .detail-nav .office-address-toggle {
 position: absolute;
 inset-inline-end: 0;
 top: 50%;
 transform: translateY(-50%);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 7px;
 width: auto;
 height: 38px;
 padding: 0 13px;
 border: 1px solid #c8d8e6;
 border-radius: 10px;
 background: #f8fbfd;
 color: #24486a;
 font: 800 14px/1.2 Nunito, sans-serif;
 cursor: pointer;
}

.office-address-toggle:is(:hover, [aria-expanded=true]),
.guide-screen .detail-nav .office-address-toggle:is(:hover, [aria-expanded=true]) {
 background: #e7f0f9;
 border-color: #9bb7cd;
}

.office-address-toggle svg, .office-address-call svg { width: 16px; height: 16px; flex: none; }
.office-address-toggle:focus-visible, .office-address-close:focus-visible, .office-address-call:focus-visible {
 outline: 2px solid #0057ff;
 outline-offset: 3px;
}

.office-address-popover, .office-address-sheet {
 box-sizing: border-box;
 padding: 20px;
 border: 0;
 background: #fff;
 color: #101c3a;
 font-weight: 400;
}

.office-address-popover {
 position: absolute;
 z-index: 5;
 inset-inline-end: 0;
 top: calc(100% + 3px);
 width: min(345px, 100%);
 border-radius: 15px;
 box-shadow: 0 12px 36px rgba(13,39,67,.22);
}

.office-address-title { margin: 0 40px 8px 0; font-size: 22px; line-height: 1.2; font-weight: 900; }
.office-address-lines { color: #354f68; font-size: 15px; line-height: 1.5; font-style: normal; }
.office-address-lines div + div { font-weight: 800; }
.office-address-person {
 margin-top: 15px;
 padding-top: 12px;
 border-top: 1px solid #dbe6f0;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 2px;
 color: #354f68;
 font-size: 14px;
}

.office-address-call {
 min-height: 35px;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: #214b72;
 font-weight: 900;
 font-size: 17px;
 text-decoration: underline;
 text-underline-offset: 3px;
}

.office-address-close {
 position: absolute;
 top: 9px;
 right: 9px;
 width: 36px;
 height: 36px;
 padding: 0;
 border: 0;
 border-radius: 9px;
 background: transparent;
 color: #354f68;
 cursor: pointer;
 display: grid;
 place-items: center;
}

.office-address-close:hover { background: #eef5fb; }
.office-address-close svg { width: 17px; height: 17px; }

.guide-screen .detail-nav .office-address-toggle {
 right: 12px;
 height: 44px;
 padding: 0 8px;
 font-size: 13px;
 gap: 4px;
 border: 0;
 background: transparent;
}

.guide-screen .detail-nav .office-address-toggle svg { width: 14px; height: 14px; }
.guide-screen .detail-nav .office-address-sheet {
 position: fixed;
 inset: auto 0 0;
 width: 100%;
 max-width: none;
 max-height: 85dvh;
 margin: 0;
 padding: 21px 20px max(19px, env(safe-area-inset-bottom));
 border-radius: 18px 18px 0 0;
 box-shadow: 0 -12px 36px rgba(13,39,67,.17);
}

.office-address-sheet::backdrop { background: rgba(19,34,54,.37); }
.guide-screen .detail-nav .office-address-sheet .office-address-close {
 width: 44px;
 height: 44px;
 padding: 0;
}

@media (max-width: 520px) {
 .page-heading.office-address-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
 .page-heading .office-address-toggle { position: static; flex: none; transform: none; }
}
