.abby-studio {
  --studio-paper: #faf6ef;
  --studio-ink: #372d32;
  min-width: 0;
  margin: 0;
  color: var(--studio-ink);
  background: var(--studio-paper);
  border: 1px solid #69595755;
}
.studio-view { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e9dfd5; }
.abby-studio .studio-view video, .abby-studio .studio-view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: 0;
  border: 0;
  filter: none;
  transform: none;
}
.studio-view img { position: absolute; inset: 0; pointer-events: none; }
.abby-studio [hidden] { display: none !important; }
.studio-view[data-exploring] { touch-action: pan-y; cursor: grab; user-select: none; }
.studio-view[data-exploring]:active { cursor: grabbing; }
.studio-controls {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 1px 10px;
  border-top: 1px solid #69595740;
  background: var(--studio-paper);
  color: var(--studio-ink);
  font: 600 12px/1.2 system-ui, sans-serif;
}
.studio-controls button {
  min-height: 44px;
  padding: 6px 7px;
  background: transparent;
  color: inherit;
  border: 0;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.studio-controls button:hover { text-decoration: underline; text-underline-offset: 3px; }
.studio-controls :focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.studio-angle { display: flex; align-items: center; gap: 6px; min-width: 0; font: inherit; }
.studio-angle input { width: clamp(46px, 13vw, 105px); max-width: 100%; height: 44px; margin: 0; accent-color: #594354; }
.studio-note { margin: 0; padding: 6px 12px; background: var(--studio-paper); color: var(--studio-ink); font: 13px/1.4 system-ui,sans-serif; }
.studio-points { position: absolute; inset: 0; z-index: 2; pointer-events: none; container-type: inline-size; }

.studio-points .studio-surface {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  cursor: pointer;
}
/* The postcard covers the planner and the folio stands in front of the laptop. */
.studio-surface:is([data-service="travel-events"], [data-service="invoice-entry"]) { z-index: 1; }
.studio-points .studio-point {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.studio-point::before {
  content: '+';
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #fff8eb;
  border-radius: 50%;
  background: #42323e;
  box-shadow: 0 1px 4px #211c2570;
  color: white;
  font: 500 20px/1 system-ui, sans-serif;
}
.studio-point[aria-pressed="true"]::before { content: '•'; background: #fff9ed; color: #402e3e; outline: 1px solid #4b3942; }
.studio-point:focus-visible { outline: 2px solid white; outline-offset: -7px; border-radius: 50%; }
.studio-point::after {
  display: none;
  content: attr(data-label);
  position: absolute;
  bottom: calc(50% + 15px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 9px;
  border-radius: 3px;
  white-space: nowrap;
  background: #352b34;
  box-shadow: 0 2px 8px #3428382b;
  color: white;
  font: 600 12px/1.2 system-ui, sans-serif;
  pointer-events: none;
}
.studio-point[data-align="left"]::after { left: 12px; transform: none; }
.studio-point[data-align="right"]::after { left: auto; right: 12px; transform: none; }
/* A side label keeps to the room between its marker and the picture's edge, and wraps if it must. */
.studio-point[data-place="side"]::after { top: 50%; bottom: auto; left: calc(50% + 18px); transform: translateY(-50%); width: max-content; max-width: calc((100 - var(--x, 50)) * 1cqw - 48px); white-space: normal; }
.studio-point[data-place="side"][data-align="right"]::after { left: auto; right: calc(50% + 18px); max-width: calc(var(--x, 50) * 1cqw - 48px); }
@media (hover: hover) {
  .studio-point:hover::after, .studio-point.is-over::after { display: block; }
}
.studio-point:focus-visible::after, .studio-point[aria-pressed="true"]::after { display: block; }
.studio-view:not([data-exploring]) video[title] { cursor: pointer; }
.studio-point:focus-visible, .studio-point:hover, .studio-point.is-over { z-index: 3; }
.abby-studio .studio-controls { gap: 8px; padding: 3px 9px; }
.abby-studio .studio-explore { font-weight: 750; }
.abby-studio .studio-explore[aria-expanded="false"]::after { content: ' →'; margin-left: 3px; }
.abby-studio .studio-explore[aria-expanded="true"]::before { content: '← '; }
.abby-studio .studio-directory {
  border-top: 1px solid currentColor;
  padding: 8px clamp(10px, 2vw, 20px) 6px;
  color: var(--studio-ink);
  background: var(--studio-paper);
  font: 500 14px/1.45 system-ui, sans-serif;
  text-align: left;
}
.studio-directory-label { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; }
.studio-directory-label span { font-size: 11px; font-weight: 650; }
.abby-studio .studio-directory select {
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 0;
  background: var(--studio-paper);
  color: var(--studio-ink);
  font: 650 13px/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.studio-directory select:focus-visible, .studio-enquire:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.abby-studio .studio-detail { padding: 10px 0 2px; border-top: 1px solid currentColor; }
.abby-studio .studio-title { margin: 0 0 4px; color: inherit; font: 650 19px/1.2 system-ui, sans-serif; letter-spacing: -.025em; }
.abby-studio .studio-description { margin: 0; color: inherit; font: 400 14px/1.5 system-ui, sans-serif; }
.abby-studio .studio-enquire {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 2px;
  color: inherit;
  font: 650 13px/1.3 system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.studio-announcement { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
