/* A lot on the map: a square slip, see-through enough to leave the map under it in sight, with the words
   set straight on it. */
.am-pin.am-summary-pin {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: max-content;
  max-width: 132px;
  height: auto;
  min-height: 22px;
  padding: 3px 6px;
  border: 0;
  border-radius: 0;
  background: rgb(11 39 51 / 78%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.am-summary-pin-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgb(255 255 255 / 80%);
  font-size: 11px;
  font-weight: 500;
}
.am-summary-pin-price {color:#fff;font-weight:750}
/* How many times the lot has failed to sell: a square at the end of the slip, the height of it and flush with
   its edge, in our own blue where the slip is dark. Under the pointer both step up one tone together: the slip
   takes that blue, and the square the bright of the slip's foot, so the edge runs on into it as one piece. */
.am-pin-fails {flex:none;align-self:stretch;display:grid;place-items:center;min-width:22px;margin:-3px -6px -3px 1px;padding:0 4px;background:rgb(4 108 156 / 94%);color:#fff;font-size:11.5px;font-style:normal;font-weight:800;line-height:1;transition:background-color .14s ease,color .14s ease}
.am-pin:not(.am-group):is(:hover,:focus-visible,[data-linked],[aria-pressed="true"]) .am-pin-fails {background:var(--am-pin-edge,#5fd3ff);color:#0b2733}
.am-pin.am-summary-pin:has(.am-pin-fails) {max-width:156px}
.am-pin.am-price-only:has(.am-pin-fails) {max-width:164px}
.am-pin-more {flex:none;color:#9fe3ff;font-size:11px;font-weight:650}
.am-pin.am-price-only {max-width:140px}
.am-price-only .am-summary-pin-type {display:none}
.am-pin.am-parcel-marker {max-width:176px}
.am-pin.am-group {
  width:var(--am-count-size,24px);height:var(--am-count-size,24px);border-radius:50%;padding:0;
  background:rgb(0 174 239 / 22%);border:1.5px solid rgb(4 108 156 / 76%);color:#112f3c;
  box-shadow:0 0 0 1px rgb(255 255 255 / 54%);
  font-size:clamp(11px,calc(var(--am-count-size,24px) * .32),14px);font-weight:750;line-height:1;
}
.am-pin.am-group {transition:background-color .14s ease,box-shadow .14s ease,border-color .14s ease}
.am-pin.am-group:is(:hover,:focus-visible,[data-linked],[aria-pressed="true"]) {
  background:rgb(0 174 239 / 44%);border-color:#046c9c;color:#0a232e;
  box-shadow:0 0 0 3px rgb(255 255 255 / 72%),0 4px 12px rgb(6 46 66 / 24%);
}
/* On the street map, where lots are counted only because there are too many to write out, a count is drawn solid:
   the pale circle that suits our own map is lost among streets and shop names. */
.am-crowded .am-pin.am-group {background:rgb(4 108 156 / 92%);border:2px solid #fff;box-shadow:0 2px 8px rgb(6 46 66 / 38%);color:#fff;font-weight:800}
.am-crowded .am-pin.am-group .am-group-count {color:#fff;text-shadow:none}
.am-crowded .am-pin.am-group:is(:hover,:focus-visible,[data-linked],[aria-pressed="true"]) {background:#0b2733;border-color:#fff}
.am-pin:not(.am-group,.am-summary-pin) {width:22px;height:22px;border:0;border-radius:0;background:rgb(11 39 51 / 78%);box-shadow:none;color:#fff}
.am-pin .icon {width:14px;height:14px}
/* Under the pointer, pointed to from the list, or chosen: the slip turns solid in our own blue, with a bright
   edge along its foot and a soft shadow that lifts it off the map. No frame is put round it. */
.am-pin:not(.am-group) {transition:background-color .14s ease,box-shadow .14s ease}
.am-pin:not(.am-group):is(:hover,:focus-visible,[data-linked],[aria-pressed="true"]) {
  z-index:5;background:#046c9c;color:#fff;
  box-shadow:inset 0 -2px 0 var(--am-pin-edge,#5fd3ff),0 6px 14px rgb(6 46 66 / 30%);
}
.am-pin:not(.am-group)[aria-pressed="true"] {background:#03527a}
.am-pin:not(.am-group):is(:hover,[data-linked],[aria-pressed="true"]) .am-summary-pin-type {color:#fff}
@media (prefers-reduced-motion:reduce) {.am-pin {transition:none !important}}
.am-lot-preview {
  position:absolute;
  z-index:4;
  top:var(--am-preview-top,8px);
  left:var(--am-preview-x,8px);
  width:min(300px,calc(100% - 16px));
  max-height:min(430px,var(--am-preview-available,calc(100% - 16px)));
  overflow:auto;
  overscroll-behavior:contain;
  pointer-events:auto;
  touch-action:pan-y;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff;
  color:#14303b;
  cursor:auto;
  box-shadow:0 10px 28px rgb(6 46 66 / 24%),0 0 0 1px rgb(6 46 66 / 8%);
  font-size:12px;
  line-height:1.45;
}
/* The summary a click opens is the card beside a marker (.am-card-* below), with a close button in its band,
   the lot's picture by its name, and a foot that leads on to the lot's own page. */
.am-lot-preview p {margin:0}
.am-preview-close {display:grid;place-items:center;flex:none;width:24px;height:24px;margin-inline:2px -6px;color:#fff}
.am-preview-close .icon {width:15px;height:15px}
.am-preview-close:hover,.am-preview-back:hover {background:rgb(255 255 255 / 16%)}
.am-preview-back {display:grid;place-items:center;flex:none;width:24px;height:24px;margin-inline:-6px 0;color:#fff}
.am-preview-back .icon {width:16px;height:16px}
.am-card-band .am-preview-back + span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-parcel-preview-item a:hover {background:#ebf3f6}
.am-card-body > img,.am-card-body > .am-case-thumb {float:right;width:46px;height:46px;margin:0 0 4px 8px;object-fit:cover}
.am-card-body > .am-case-thumb img {width:46px;height:46px;display:block;object-fit:cover}
.am-preview-footer {display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:7px 9px 7px 12px;border-top:1px solid #e8eef1;color:#4d636d;font-size:11.5px}
.am-preview-detail {display:inline-flex;align-items:center;gap:4px;min-height:26px;padding:3px 10px;background:#0b2733;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.am-preview-detail:hover {background:#046c9c}
/* Beside it, the button that keeps the lot among the saved ones: filled in once it is. */
.am-card-save {display:inline-flex;align-items:center;gap:5px;min-height:26px;margin-inline-end:auto;padding:3px 9px 3px 7px;border:1px solid #c9d5db;background:#fff;color:#33505c;font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer}
.am-card-save:hover {border-color:#046c9c;color:#046c9c}
.am-card-save .icon {width:13px;height:13px;flex:none}
.am-card-save[aria-pressed=true] {border-color:#046c9c;background:#e4f2f9;color:#046c9c}
.am-card-save[aria-pressed=true] .icon {fill:currentColor}
.am-preview-detail .icon {width:12px;height:12px;flex:none}
.am-price-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:5px 0 0}
.am-price-facts dt,.am-preview-areas dt {font-size:11px;font-weight:560;color:var(--muted)}
.am-price-facts dd,.am-preview-areas dd {margin:0;font-weight:720;font-variant-numeric:tabular-nums}
.am-price-facts dd {font-size:13px}
.am-price-facts .am-price-min {color:var(--forest)}
.am-lot-preview .am-price-facts {padding:4px 0;border-block:1px solid #dee6ea}
.am-preview-areas {display:flex;gap:2px 7px;flex-wrap:wrap;margin:3px 0 0}
.am-parcel-preview {display:flex;flex-direction:column;max-height:min(250px,56%,var(--am-preview-available,100%));padding:0;overflow:hidden}
.am-parcel-preview-heading {flex:none}
.am-parcel-preview-heading h3 {margin:0;font-size:13.5px;font-weight:750;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-parcel-preview-scroll {min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.am-parcel-preview-scroll:focus-visible {outline:2px solid var(--forest);outline-offset:-2px}
.am-parcel-preview-scroll ul {margin:0;padding:0;list-style:none}
.am-parcel-preview-item + .am-parcel-preview-item {border-top:1px solid #e8eef1}
.am-parcel-preview-item a {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1px 9px;padding:6px 12px}
.am-parcel-preview-item b {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33505c;font-weight:600}
.am-parcel-preview-item strong {color:#046c9c;font-size:13.5px;font-weight:800;font-variant-numeric:tabular-nums}
.am-parcel-preview-item .am-card-fail {margin:0}
.am-parcel-preview-item small {grid-column:1 / -1;color:#5a707a;font-size:11px}
.am-parcel-preview-actions {display:flex;align-items:center;justify-content:space-between;gap:6px;padding:3px 13px;border-top:1px solid #e8eef1;font-size:11px}
.am-parcel-preview-actions button {min-height:28px;margin-left:auto;color:var(--forest);font-size:12px;font-weight:700}
.am-parcel-preview-actions button:disabled {opacity:.65}
@media(max-width:760px) {
  .am-lot-preview {max-width:calc(100% - 16px);max-height:min(226px,var(--am-preview-available,calc(100% - 16px)))}
  .am-parcel-preview {max-height:min(198px,50%,var(--am-preview-available,100%))}
}

.am-area-prices {width:100%;border-collapse:collapse;margin:5px 0;color:#32444c;font-variant-numeric:tabular-nums;font-size:11px;line-height:1.45}
.am-area-prices caption {text-align:left;color:#52636a;font-size:10px;font-weight:600;padding-bottom:2px}
.am-area-prices th {text-align:left;font-weight:600}
.am-area-prices thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.am-area-prices td {text-align:right;white-space:normal;overflow-wrap:anywhere}
.am-area-prices td:last-child {padding-left:4px;color:#06608a;font-weight:700}
.am-area-prices tbody tr + tr {border-top:1px solid #e3eaec}
.am-parcel-preview-item .am-area-prices {grid-column:1 / -1;margin:2px 0 1px}
.am-price-choice {display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#344b54;font-size:11px;font-weight:600}
.am-price-choice[hidden] {display:none}
.am-price-mode {padding:1px 2px;border:1px solid #9db2bb;border-radius:3px;background:#fff;color:#055a81;font:inherit;cursor:pointer}
@media(max-width:530px){.map-home .am-map-footer {column-gap:5px}.map-home .am-map-footer:has(:is(.am-sale-legend,.am-sale-note):not([hidden])) .am-grouping{display:none}.map-home .am-map-footer .am-credit{margin-left:auto}.am-price-choice {font-size:10px;gap:3px}}
.am-area-missing {margin:4px 0;color:#5c696f;font-size:11px}
.am-pin-area {display:none}
.am-pin.am-with-area {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 5px;max-width:150px;text-align:left}
.am-pin.am-with-area:has(.am-pin-fails) {grid-template-columns:minmax(0,1fr) auto auto;max-width:174px}
/* A slip of two lines has a stub the height of both, with room to say what the number counts. */
.am-with-area .am-pin-fails {grid-column:3;grid-row:1 / span 2;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:28px;margin-left:2px}
.am-with-area .am-pin-fails::before {content:'유찰';font-size:9px;font-weight:650;letter-spacing:-.03em;line-height:1;opacity:.82}
.am-with-area:has(.am-pin-fails) .am-pin-area {grid-column:1 / 3}
.am-with-area .am-summary-pin-type {justify-self:start;max-width:100%}
.am-with-area .am-summary-pin-price {justify-self:end}
.am-with-area .am-pin-area {display:block;grid-column:1/-1;width:100%;overflow:hidden;text-overflow:ellipsis;color:rgb(255 255 255 / 74%);font-size:10px;font-weight:500;line-height:13px}
.am-area-source {margin-left:2px;color:#52646c;font-size:9px;font-weight:500}
.am-case-thumb {position:relative}
.am-case-thumb small {position:absolute;inset:auto 0 0;border-radius:0 0 3px 3px;background:#1a2930d9;color:white;text-align:center;font-size:8px;line-height:12px}
/* A lot's card, beside a marker under the pointer and in the summary a click opens. A dark band says what kind
   of place it is and how often it has failed to sell; the price stands in a block of our blue; and by it are
   the name, the appraisal and size, and a bar for how far under the appraisal the price is. */
.am-hover-card {
  position:absolute;z-index:6;width:max-content;min-width:min(268px,calc(100% - 16px));max-width:min(300px,calc(100% - 16px));
  background:#fff;box-shadow:0 10px 28px rgb(6 46 66 / 24%),0 0 0 1px rgb(6 46 66 / 8%);
  color:#14303b;font-size:12px;line-height:1.45;cursor:auto;
}
/* The pointer can be taken from a marker onto its card, and from a line of a list onto the card of that one
   lot, which stands beside the list (.am-side-card): what is on a card can be pressed. */
.am-side-card {z-index:8}
.am-hover-card[hidden] {display:none}
.am-stage[data-map-frame="pending"] > .am-hover-card {visibility:hidden}
.am-hover-card p,.am-hover-card ul {margin:0;padding:0}
.am-hover-card .am-card-strip > :is(img,span) {cursor:pointer}
.am-card-lots li > a {display:grid;grid-template-columns:minmax(64px,1fr) auto auto;gap:10px;align-items:center;padding:6px 12px;color:inherit;text-decoration:none}
.am-card-lots li:has(> a) {display:block;padding:0}
.am-card-lots li > a:hover,.am-card-lots li[data-side] > a,.am-parcel-preview-item[data-side] > a {background:#ebf3f6}
.am-card-band {display:flex;align-items:center;gap:8px;min-height:28px;padding:4px 11px;background:#0b2733;color:#fff;font-size:11.5px;font-weight:650}
.am-card-band > :first-child {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.am-card-named > :first-child {font-size:13.5px;font-weight:750;letter-spacing:-.02em}
.am-card-named > span {margin-inline-start:auto;flex:none;color:rgb(255 255 255 / 82%);font-weight:600}
.am-card-fail {flex:none;padding:1px 6px;background:#fbeee6;color:#a34112;font-size:11px;font-weight:750;white-space:nowrap}
.am-card-fail.am-card-new {background:#e6f4ea;color:#1c6b3a}
.am-card-band .am-card-fail {margin-inline-start:auto;background:#ffd166;color:#3b2a00}
.am-card-band .am-card-new {background:#bfe8cf;color:#134d2a}
.am-card-main {display:grid;grid-template-columns:auto minmax(0,1fr)}
.am-card-block {display:flex;flex-direction:column;justify-content:center;min-width:92px;padding:10px 11px;background:#046c9c;color:#fff}
.am-card-block small {color:rgb(255 255 255 / 80%);font-size:10.5px}
.am-card-block b {font-size:20px;line-height:1.15;font-weight:800;letter-spacing:-.04em;white-space:nowrap;font-variant-numeric:tabular-nums}
.am-card-block span {margin-top:6px;color:rgb(255 255 255 / 86%);font-size:10.5px;white-space:nowrap}
.am-card-body {min-width:0;padding:9px 12px 10px}
.am-card-title {display:block;margin:0;font-size:14.5px;line-height:1.3;font-weight:750;letter-spacing:-.03em;overflow-wrap:anywhere}
.am-card-facts {display:flex;align-items:center;margin-top:4px !important;color:#4d636d;font-size:11.5px;white-space:nowrap}
.am-card-facts i {width:1px;height:9px;margin-inline:7px;background:#c9d5db}
.am-card-bar {clear:both;height:5px;margin-top:8px !important;background:#e3eaee}
.am-card-bar i {display:block;height:100%;background:#046c9c}
.am-card-ratio {margin-top:3px !important;color:#4d636d;font-size:11px;text-align:right}
/* Under the price: the steps it came down by, as bars of the appraisal; and a row of the lot's pictures. */
.am-card-dday {margin-inline-start:5px;padding:0 4px;background:#fff;color:#a34112;font-size:10.5px;font-style:normal;font-weight:800}
.am-card-ladder {list-style:none;margin:0;padding:8px 12px 9px;border-top:1px solid #e8eef1}
.am-card-ladder li {display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:19px;color:#4d636d;font-size:11px}
.am-card-ladder s {display:block;height:8px;background:#cfdbe1;text-decoration:none}
.am-card-ladder b {min-width:58px;color:#14303b;font-size:11.5px;font-weight:720;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.am-card-ladder small {margin-inline-start:4px;font-size:10.5px;font-weight:700}
.am-card-now {color:#046c9c !important;font-weight:750}
.am-card-now s {background:#046c9c}
.am-card-now b {color:#046c9c;font-weight:820}
.am-card-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0 !important;padding:0 12px 10px !important}
.am-card-main + .am-card-strip {padding-top:9px !important;border-top:1px solid #e8eef1}
.am-card-strip > * {display:block;width:100%;height:46px}
.am-card-strip img {object-fit:cover;background:#e9eff2}
.am-card-strip i {background:#eef2f4}
.am-card-strip span {display:grid;place-items:center;background:#e9eff2;color:#4d636d;font-size:11px;font-weight:700}
.am-card-more {padding:5px 12px 7px !important;border-top:1px solid #e8eef1;color:#5a707a;font-size:11px}
.am-card-lots {list-style:none}
.am-card-lots li {display:grid;grid-template-columns:minmax(64px,1fr) auto auto;gap:10px;align-items:center;padding:6px 12px}
.am-card-lots li + li {border-top:1px solid #e8eef1}
.am-card-lots span:first-child {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33505c}
.am-card-lots b {color:#046c9c;font-size:13.5px;font-weight:800;font-variant-numeric:tabular-nums}
/* A public-sale property's card is the same, in the violet its marker has. */
.am-card-onbid .am-card-band {background:#2b1a66}
.am-card-onbid .am-card-block,.am-card-onbid .am-card-bar i {background:#5b3cc4}
/* On a phone or tablet there is no pointer to rest on a marker: a tap opens the summary, as a sheet along the
   foot of the map where a thumb reaches it, with everything on it large enough to press. A marker answers a
   finger a little beyond its own edge. */
@media (pointer:coarse),(max-width:620px) {
  .am-selection .am-lot-preview {
    left:8px !important;right:8px;top:auto !important;bottom:8px !important;width:auto;max-width:460px;margin-inline:auto;
    /* As tall as it needs to be, short of the map's own buttons: nothing on it is to be scrolled to. */
    max-height:var(--am-preview-available,calc(100% - 16px));
  }
  .am-selection .am-parcel-preview {max-height:min(64%,360px)}
  .am-card-band {min-height:36px;font-size:12.5px}
  .am-preview-close,.am-preview-back {width:36px;height:36px}
  .am-preview-close .icon,.am-preview-back .icon {width:18px;height:18px}
  .am-card-block {min-width:104px;padding-block:13px}
  .am-card-block b {font-size:22px}
  .am-card-title {font-size:16px}
  .am-preview-detail {min-height:40px;padding-inline:16px;font-size:14px}
  .am-card-save {min-height:40px;padding-inline:11px 14px;font-size:13.5px}
  .am-card-save .icon {width:16px;height:16px}
  .am-preview-footer {padding-block:9px}
  .am-parcel-preview-item a {padding-block:10px}
  .am-parcel-preview-actions button {min-height:40px}
  .am-pin:not(.am-group)::after {content:"";position:absolute;inset:-9px -6px}
}


/* The pictures in the summary a touch opens are the way into all of the lot's pictures. */
.am-lot-preview .am-card-strip > :is(img,span) {cursor:pointer}
/* A lot's photographs one to the screen (photo-viewer.js): dark, edge to edge, the photograph whole. */
dialog.photo-viewer {position:fixed;inset:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#05141b;color:#fff;overflow:hidden;box-shadow:none}
dialog.photo-viewer::backdrop {background:#05141b}
.pv-top {position:absolute;z-index:2;inset:0 0 auto;display:flex;align-items:center;gap:10px;padding:max(6px,env(safe-area-inset-top)) 6px 14px 16px;background:linear-gradient(rgb(5 20 27 / 82%),rgb(5 20 27 / 0%));pointer-events:none}
.pv-top b {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;letter-spacing:-.02em}
.pv-count {margin-inline-start:auto;flex:none;color:rgb(255 255 255 / 84%);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.pv-close {flex:none;display:grid;place-items:center;width:44px;height:44px;color:#fff;pointer-events:auto}
.pv-close:hover {background:rgb(255 255 255 / 14%)}
.pv-close .icon {width:22px;height:22px}
.pv-track {display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior:contain;scrollbar-width:none;outline:0}
.pv-track::-webkit-scrollbar {display:none}
.pv-track figure {flex:0 0 100%;box-sizing:border-box;width:100%;height:100%;margin:0;padding:56px 0 max(34px,env(safe-area-inset-bottom));scroll-snap-align:center;scroll-snap-stop:always}
.pv-track img {display:block;width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pv-nav {position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:44px;height:64px;margin-top:-32px;background:rgb(5 20 27 / 55%);color:#fff}
.pv-nav:hover {background:rgb(4 108 156 / 85%)}
.pv-nav:disabled {opacity:.25;cursor:default}
.pv-nav .icon {width:22px;height:22px}
.pv-prev {left:0}
.pv-next {right:0}
.pv-next .icon {transform:rotate(180deg)}
.pv-credit {position:absolute;z-index:2;inset:auto 0 0;margin:0;padding:8px 14px max(8px,env(safe-area-inset-bottom));color:rgb(255 255 255 / 66%);font-size:11px;text-align:center;pointer-events:none}
/* A finger slides the photographs; the buttons at the sides are for a pointer. */
@media (pointer:coarse) {.pv-nav {display:none}}
