.foot-reference {
  display:block; width:100%; overflow:hidden; margin:.65rem 0 .75rem; padding:0;
  background:#faf9f6; border:1px solid var(--line); border-radius:6px; color:var(--ink); cursor:pointer; text-align:left;
}
.foot-reference:hover,.foot-reference:focus-visible {border-color:#756f61}
.foot-reference:focus-visible,.foot-views button:focus-visible {outline:2px solid #574c38;outline-offset:2px}
.foot-photo {position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:2.5;background:#e5e2d9}
.foot-plate {position:absolute;inset-inline:0;top:50%;display:block;transform:translateY(-42%)}
.foot-photo-side .foot-plate {transform:translateY(-48%)}
.foot-plate img {display:block;width:100%;height:auto;max-width:none}
.foot-dimension {
  position:absolute;display:block;left:53.3%;top:37.7%;height:7.65%;width:0;
  border-left:1.5px solid #fff;filter:drop-shadow(0 1px 1.5px #302c24);
}
.foot-photo-side .foot-dimension {left:51%;top:46.15%;height:3.45%}
.foot-dimension::before,.foot-dimension::after {position:absolute;content:"";left:-5px;width:9px;border-top:1.5px solid white}
.foot-dimension::before {top:0}.foot-dimension::after {bottom:0}
.foot-dimension b {position:absolute;right:10px;top:50%;transform:translateY(-50%);padding:2px 6px;background:#302f2b;border-radius:3px;color:#fff;font:600 13px/1.3 var(--sans);white-space:nowrap}
.foot-reference-caption {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;color:var(--sub);font-size:13px}
.foot-reference-caption strong {font-weight:600;color:var(--ink)}
.foot-reference-caption strong span {margin-left:4px}
dialog.foot-detail-dialog {box-sizing:border-box;width:min(650px,calc(100vw - 24px));max-height:90vh;max-height:90dvh;padding:0;overflow:auto;border:1px solid #cbc7bf;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 22px 75px #25201838}
dialog.foot-detail-dialog::backdrop {background:rgba(32,29,24,.53)}
.foot-head {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line)}
.foot-head h2 {margin:0;font:500 clamp(1.15rem,4.4vw,1.55rem)/1.15 var(--serif,Georgia,serif)}
.foot-head .icon-button {flex:none;font-size:24px}
.foot-detail-body {padding:16px 22px 20px}
.foot-views {display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}
.foot-views button {padding:.42rem .7rem;font:500 .875rem/1.35 var(--sans);border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink);cursor:pointer}
.foot-views button[aria-pressed=true] {background:var(--ink);color:white;border-color:var(--ink)}
.foot-detail-body figure {margin:0}
.foot-visual {overflow:hidden;border-radius:5px;background:#f7f6f0}
.foot-visual .foot-photo,.foot-cut {display:block;width:100%;height:auto;aspect-ratio:520 / 286}
.foot-detail-body figcaption {margin:8px 0 15px;color:#544f46;font:400 .875rem/1.5 var(--sans)}
.foot-facts {margin:0;border-top:1px solid var(--line)}
.foot-facts div {display:grid;grid-template-columns:minmax(125px,.85fr) 2fr;gap:14px;margin:0;padding:9px 0;border-bottom:1px solid var(--line)}
.foot-facts div:last-child {border-bottom:0;padding-bottom:0}
.foot-facts dt,.foot-facts dd {margin:0;font:400 .93rem/1.45 var(--sans)}
.foot-facts dt {font-weight:600}.foot-facts dd {color:#514d44}
.apartment-foot-info {justify-self:start;display:inline-block;margin:0 0 .5rem}
@media(max-width:480px) {
 .foot-head,.foot-detail-body {padding:13px 14px}
 .foot-views {gap:4px}.foot-views button {padding:.45rem .5rem}
 .foot-facts div {display:block}.foot-facts dd {margin-top:3px}
}
