.owner-playground { margin-top: var(--content-space); padding-bottom: var(--section-space); --owner-ink: #22321e; --owner-line: #ced7c5; }
.owner-playground [hidden] { display: none !important; }
.owner-console { position: relative; padding: clamp(16px, 3vw, 38px); border: 8px solid #263026; border-radius: 24px; background: #edf1e8; color: var(--owner-ink); box-shadow: 3px 4px 0 #73816c, 0 28px 80px #9ac13715; }
.owner-console::after { content: ''; position: absolute; bottom: -21px; height: 16px; left: -2.5%; right: -2.5%; border: 1px solid #a9b5a2; border-radius: 2px 2px 50% 50%; background: linear-gradient(#d7dfd1, #899980); }
.owner-playground button { cursor: pointer; text-align: left; color: inherit; }
.owner-playground button:disabled { cursor: default; }
.owner-playground :is(button, a):focus-visible { outline: 3px solid #618b29; outline-offset: 4px; }
.owner-console-header { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-bottom: 24px; border-bottom: 1px solid var(--owner-line); }
.owner-console-header img { width: 126px; height: auto; }
.owner-console-header > span { color: #596850; }
.owner-console-header button { margin-left: auto; min-height: 44px; padding: 10px 16px; border: 1px solid var(--owner-line); border-radius: 100px; background: transparent; }
.owner-console-header button:hover { background: white; }
.owner-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-block: 24px; }
.owner-toolbar .tour-tabs { margin: 0; gap: 6px; justify-content: flex-start; }
.owner-toolbar .tour-tabs button { min-height: 44px; padding: 12px 20px; border-color: var(--owner-line); transition: none; }
.owner-toolbar .tour-tabs button[aria-selected=true] { background: var(--owner-ink); color: #dcff77; border-color: var(--owner-ink); }
.owner-now { display: flex; align-items: center; gap: 12px; color: #596850; }
.owner-now strong { color: var(--owner-ink); min-width: 80px; }
.owner-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.owner-metrics > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border: 1px solid var(--owner-line); border-radius: 12px; background: #f9fbf5; }
.owner-metrics > div:last-child { background: #dcff77; border-color: #c1dc78; }
.owner-workspace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.owner-reservations { display: flex; flex-direction: column; min-width: 0; }
.owner-list-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.owner-list-heading > span { color: #596850; }
.owner-visit-list { display: grid; gap: 10px; }
.owner-visit { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 18px; border: 1px solid var(--owner-line); border-radius: 12px; background: #fafcf7; transition: background .2s, border-color .2s, box-shadow .2s; }
.owner-visit:hover { border-color: #66864e; background: white; box-shadow: 0 5px 15px #34492b12; }
.owner-visit[aria-pressed=true] { border-color: #5c7a3a; background: #e3efcb; box-shadow: inset 3px 0 #5c7a3a; }
.owner-visit-avatar { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c0d199; border-radius: 50%; background: #eff5e3; }
.owner-visit-name, .owner-visit-summary { display: grid; gap: 7px; }
.owner-visit-name > span { color: #596850; }
.owner-visit-summary { justify-items: end; }
.owner-status { display: inline-flex; align-items: center; gap: 7px; color: #55634c; }
.owner-status::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #87947d; }
[data-state=active] [data-visit-status]::before, [data-code-state=active] [data-owner-code-label]::before { background: #468525; box-shadow: 0 0 0 3px #6b982619; }
[data-state=ended] [data-visit-status]::before, [data-code-state=ended] [data-owner-code-label]::before { background: #b14e40; }
.owner-time-controls { margin-top: auto; padding-top: 24px; }
.owner-time-controls > span { display: block; margin-bottom: 12px; color: #596850; }
.owner-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 5px; border: 1px solid var(--owner-line); border-radius: 100px; }
.owner-phases button { text-align: center; min-height: 44px; padding: 12px 8px; border: 0; border-radius: 100px; background: transparent; }
.owner-phases button[aria-pressed=true] { background: var(--owner-ink); color: #dcff77; }
.owner-phases button:hover:not([aria-pressed=true]) { background: #dce5d1; }
.owner-detail { min-width: 0; padding: 24px; border: 1px solid var(--owner-line); border-radius: 16px; background: white; }
.owner-detail > span { color: #596850; }
.owner-detail h4 { margin: 8px 0 0; }
.owner-booking-facts { margin: 18px 0; }
.owner-booking-facts > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding-block: 10px; border-bottom: 1px solid #e2e8dc; }
.owner-booking-facts dt { align-self: center; color: #596850; }
.owner-booking-facts dd { margin: 0; }
.owner-extend { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 44px; padding: 12px 16px; border: 1px solid #c9d8b4; border-radius: 8px; background: #f1f6e9; }
.owner-extend:hover { background: #e3efcb; }
.owner-extend[aria-pressed=true] { border-color: #688343; }
.owner-extend .icon { display: block; }
.owner-extend[aria-pressed=true] .toggle-vertical { display: none; }
.owner-entry { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0; }
.owner-entry > div:first-child { display: grid; gap: 9px; }
.owner-entry strong { font-variant-numeric: tabular-nums; }
.owner-entry > div > span:last-child { color: #596850; }
.owner-door { width: 66px; height: 106px; flex-shrink: 0; position: relative; perspective: 350px; border: 5px solid #3f5330; background: #1e2b1a; box-shadow: 3px 3px 0 #98aa83; }
.owner-door-leaf { position: absolute; inset: 0; border: 1px solid #a1b886; background: #728d52; transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.owner-door.is-open .owner-door-leaf { transform: rotateY(-65deg); }
.owner-door-leaf i { position: absolute; top: 41%; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #f2786a; box-shadow: 0 0 0 4px #293d20; transition: background .3s; }
[data-code-state=active] .owner-door-leaf i { background: #baff6f; }
.owner-door-leaf b { position: absolute; top: 63%; right: 7px; width: 3px; height: 12px; background: #dceabe; border-radius: 2px; }
.owner-try { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; width: 100%; padding: 12px; border: 0; border-radius: 100px; background: #dcff77; }
.owner-try:hover { background: #ccef66; }
.owner-feedback { margin-top: 14px; min-height: 4.35em; color: #596850; }
.owner-calendar-scale { position: relative; height: 1.45em; margin: 0 18px 10px; color: #596850; }
.owner-calendar-scale span { position: absolute; left: 0; }
.owner-calendar-scale span:nth-child(2) { left: 44.444%; translate: -50% 0; }
.owner-calendar-scale span:last-child { left: auto; right: 0; }
.owner-calendar-track { position: relative; grid-column: 1 / -1; display: block; height: 30px; border-radius: 5px; background: repeating-linear-gradient(90deg, #6e875126 0 1px, transparent 1px 22.222%), #edf2e6; }
.owner-calendar-booking { position: absolute; top: 4px; bottom: 4px; left: var(--booking-start); width: var(--booking-length); border-radius: 4px; background: #93b75e; transition: width .35s; }
[aria-pressed=true] .owner-calendar-booking { background: #476c2e; }
.owner-calendar-now { position: absolute; z-index: 1; top: -3px; bottom: -3px; left: var(--calendar-now); width: 2px; background: #b64c3c; transition: left .35s; }
.owner-access-code { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--owner-line); color: #596850; }
.owner-access-code b { color: var(--owner-ink); }
.owner-tour-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--text-space); margin-top: var(--content-space); }
.owner-tour-footer p span { color: #b7bcbc; }
.owner-tour-footer .button { background: #dcff77; color: #22321e; }
.owner-visit-picker { display: none; }
@media (max-width: 1050px) {
  .owner-workspace { gap: 16px; }
  .owner-visit { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; }
  .owner-visit-avatar { display: none; }
  .owner-detail { padding: 20px; }
  .owner-metrics > div { display: grid; gap: 8px; padding: 14px; }
}
@media (max-width: 760px) {
  .owner-console { border-width: 3px; border-radius: 18px; padding: 16px; }
  .owner-console::after { display: none; }
  .owner-console-header { gap: 8px 12px; padding-bottom: 16px; }
  .owner-console-header img { width: 100px; }
  .owner-console-header button { margin-left: 0; }
  .owner-toolbar { margin-block: 18px; }
  .owner-toolbar .tour-tabs { width: 100%; gap: 4px; }
  .owner-toolbar .tour-tabs button { flex: 1; padding: 12px 7px; text-align: center; }
  .owner-workspace { grid-template-columns: 1fr; gap: 24px; }
  .owner-metrics { gap: 6px; margin-bottom: 20px; }
  .owner-metrics > div { padding: 10px; align-content: space-between; }
  .owner-visit { padding: 14px 12px; }
  .owner-visit-summary { max-width: 95px; text-align: right; }
  .owner-list-heading > span { display: none; }
  .owner-playground.is-interactive[data-view=overview] .owner-visit-list { display: none; }
  .owner-playground[data-view=overview] .owner-visit-picker { display: grid; gap: 10px; }
  .owner-visit-picker select { width: 100%; height: max(52px, calc(1.6em + 26px)); padding: 12px; border: 1px solid #688343; border-radius: 8px; color: var(--owner-ink); background: #fafcf7; font-size: max(16px, 1em); }
  .owner-playground select:focus-visible { outline: 3px solid #618b29; outline-offset: 4px; }
  .owner-detail { padding: 18px; }
  .owner-feedback { min-height: 0; }
  .owner-tour-footer .button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .owner-playground *, .owner-playground *::before { transition: none !important; }
}
