/* Flow 01 bridge to design-system/tokens.css. Scoped trial, not approved platform tokens.
   Existing HMS controls/Arial retained; wizard styles are deliberately outside this scope. */
.setup-shell {
  max-width: 1100px;
  margin: auto;
  padding: var(--ds-space-6);
  color: var(--ds-ink);
  background: var(--ds-paper);
}
.setup-shell * {
  box-sizing: border-box;
  min-width: 0;
}
.setup-shell header {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-4);
  padding-bottom: var(--ds-space-6);
  border-bottom: 1px solid var(--ds-line);
}
.setup-shell h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: var(--ds-space-8) 0;
}
.setup-shell h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 var(--ds-space-3);
}
.setup-shell h3 {
  font-size: 18px;
}
.setup-shell p {
  line-height: 1.5;
}
.setup-shell a,
.setup-shell button,
.setup-shell summary {
  overflow-wrap: anywhere;
}
.setup-shell :focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.setup-shell h1:focus {
  outline: none;
}
.setup-shell button,
.setup-shell summary {
  min-height: var(--ds-touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  cursor: pointer;
}
.setup-shell button:disabled {
  opacity: 0.55;
  cursor: default;
}
.setup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  border-bottom: 1px solid var(--ds-line);
  margin-bottom: var(--ds-space-8);
  padding-bottom: var(--ds-space-3);
}
.setup-tabs a {
  padding: 12px 16px;
  border-radius: var(--ds-radius-control);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.setup-tabs [aria-current] {
  background: var(--ds-action-soft);
  color: var(--ds-action);
  font-weight: 700;
  text-decoration: none;
}
.setup-list {
  display: grid;
  gap: var(--ds-space-6);
  margin: var(--ds-space-6) 0;
}
.setup-property,
.setup-overview {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: var(--ds-space-6);
  padding: var(--ds-space-6) 0;
  border-bottom: 1px solid var(--ds-line);
}
.setup-property img,
.setup-overview img,
.setup-photo-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--ds-radius-panel);
  background: var(--ds-soft);
}
.setup-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--ds-muted);
}
.setup-meta {
  color: var(--ds-muted);
  font-size: 14px;
}
.setup-actions {
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
  align-items: center;
  margin: var(--ds-space-4) 0;
}
.setup-unit,
.setup-empty {
  padding: var(--ds-space-6);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  margin: var(--ds-space-4) 0;
}
.setup-shell details {
  border-top: 1px solid var(--ds-line);
  padding: 16px 0;
  margin-top: 16px;
}
.setup-shell summary {
  justify-content: flex-start;
  font-weight: 700;
}
.setup-shell summary:before {
  content: '＋';
  margin-right: 8px;
}
.setup-shell details[open] > summary:before {
  content: '−';
}
.setup-shell input,
.setup-shell select,
.setup-shell textarea {
  max-width: 100%;
  min-height: 44px;
}
.setup-shell label {
  display: grid;
  gap: 8px;
}
.setup-shell [role='alert']:not(:empty) {
  color: var(--ds-danger);
}
.setup-shell [data-section] > details {
  padding: 20px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
}
@media (max-width: 600px) {
  .setup-shell {
    padding: 16px;
  }
  .setup-shell h1 {
    font-size: 27px;
  }
  .setup-property,
  .setup-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .setup-property img,
  .setup-overview img,
  .setup-photo-fallback {
    max-height: 210px;
  }
  .setup-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .setup-tabs a {
    padding: 10px;
    font-size: 14px;
  }
  .setup-unit,
  .setup-empty {
    padding: 16px;
  }
  .setup-actions > * {
    max-width: 100%;
  }
  .setup-shell fieldset {
    min-width: 0;
    padding: 12px;
  }
  .setup-shell .form-grid {
    grid-template-columns: 1fr;
  }
}
/* Flow 06 uses shared DS tokens; no independent palette. */
.flow06 {
  padding-bottom: var(--ds-space-8);
}
.flow06 * {
  box-sizing: border-box;
  min-width: 0;
}
.flow06 h1 {
  font-size: 32px;
  margin: 0 0 var(--ds-space-2);
}
.flow06 h2 {
  font-size: 22px;
  margin: 0 0 var(--ds-space-4);
}
.flow06 p {
  line-height: 1.5;
}
.flow06 small {
  display: block;
  color: var(--ds-muted);
  line-height: 1.5;
}
.f06-heading {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-4);
  align-items: center;
  margin: var(--ds-space-6) 0;
}
.f06-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-6);
  margin-top: var(--ds-space-6);
}
.f06-card {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  padding: var(--ds-space-6);
}
.f06-property {
  padding: 0;
  overflow: hidden;
}
.f06-property > div {
  padding: var(--ds-space-6);
}
.f06-property > img,
.f06-photo-fallback {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--ds-soft);
}
.f06-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 32px;
}
.f06-status {
  display: grid;
  gap: var(--ds-space-2);
  font-size: 14px;
  color: var(--ds-muted);
}
.f06-actions {
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
  margin: var(--ds-space-4) 0;
}
.f06-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: var(--ds-space-6);
  margin-top: var(--ds-space-6);
  align-items: start;
}
.f06-layout > nav {
  display: grid;
  gap: var(--ds-space-2);
}
.f06-layout > nav a {
  padding: var(--ds-space-3);
  border-radius: var(--ds-radius-control);
  text-decoration: none;
  color: var(--ds-muted);
}
.f06-layout > nav [aria-current] {
  background: var(--ds-action-soft);
  color: var(--ds-action);
  font-weight: 700;
}
.f06-form {
  display: grid;
  gap: var(--ds-space-4);
}
.flow06 label {
  display: grid;
  gap: var(--ds-space-2);
  font-weight: 600;
}
.flow06 input:not([type='checkbox']):not([type='range']),
.flow06 textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ds-control-border);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-ink);
  padding: var(--ds-space-3);
  font: inherit;
}
.flow06 .f06-check {
  display: flex;
  align-items: center;
  font-weight: 400;
  gap: var(--ds-space-2);
  min-height: 44px;
}
.f06-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--ds-action);
}
.f06-info,
.f06-editor {
  padding: var(--ds-space-4);
  background: var(--ds-soft);
  border-radius: var(--ds-radius-control);
}
.f06-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ds-space-4);
}
.f06-days {
  display: flex;
  gap: var(--ds-space-3);
  flex-wrap: wrap;
}
.f06-footer {
  position: sticky;
  bottom: 0;
  background: var(--ds-paper);
  padding: var(--ds-space-4) 0;
  border-top: 1px solid var(--ds-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ds-space-3);
  z-index: 2;
}
.f06-policy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ds-space-6);
  padding: var(--ds-space-4) 0;
  border-bottom: 1px solid var(--ds-line);
}
.f06-stepper {
  display: flex;
  gap: var(--ds-space-2);
  align-items: center;
}
.f06-stepper input {
  max-width: 90px;
}
.f06-summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-4);
  padding: var(--ds-space-4) 0;
  border-bottom: 1px solid var(--ds-line);
  text-decoration: none;
  color: var(--ds-ink);
}
.f06-service {
  display: flex;
  align-items: center;
  gap: var(--ds-space-2);
  flex-wrap: wrap;
  padding: var(--ds-space-4) 0;
  border-bottom: 1px solid var(--ds-line);
}
.f06-service > div {
  flex: 1 1 150px;
}
.f06-editor {
  display: grid;
  gap: var(--ds-space-3);
  margin-top: var(--ds-space-4);
}
.flow06 [role='alert']:not(:empty) {
  color: var(--ds-danger);
}
.flow06 :focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.flow06 [hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .f06-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .flow06 h1 {
    font-size: 26px;
  }
  .f06-property-grid,
  .f06-layout,
  .f06-policy-row,
  .f06-grid2 {
    grid-template-columns: 1fr;
  }
  .f06-card {
    padding: var(--ds-space-4);
  }
  .f06-property {
    padding: 0;
  }
  .f06-layout > nav {
    display: flex;
    overflow-x: auto;
  }
  .f06-layout > nav a {
    flex: 0 0 auto;
  }
  .f06-footer {
    bottom: 74px;
    flex-wrap: wrap;
  }
  .f06-summary-row {
    font-size: 14px;
  }
  .f06-service .ds-button {
    font-size: 13px;
  }
  .f06-footer button {
    flex: 1;
  }
  .f06-property > div {
    padding: var(--ds-space-4);
  }
}

.flow06 input[type='range'] {
  accent-color: var(--ds-action);
  width: 100%;
  min-height: 44px;
}
.flow06 [data-variant='primary'] {
  background: var(--ds-action);
  color: var(--ds-paper);
  border-color: var(--ds-action);
}

.property-public-flow .location-tiles {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--ds-soft);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  cursor: crosshair;
}
.property-public-flow .location-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  pointer-events: none;
}
.property-public-flow .map-marker {
  position: absolute;
  color: var(--ds-action);
  font-size: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.property-public-flow .map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  margin: var(--ds-space-3) 0;
}
/* Flow 06 fidelity: approved prototype composition, shared DS controls/tokens. */
.property-fidelity .overview-body {
  padding-top: var(--ds-space-6);
}
.property-wizard-v12 {
  max-width: 760px;
  margin: auto;
  padding-bottom: var(--ds-space-6);
  color: var(--ds-ink);
  font: var(--ds-font-body, inherit);
}
.property-wizard-v12 * {
  box-sizing: border-box;
  min-width: 0;
}
.property-wizard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
  margin-bottom: var(--ds-space-6);
  font-size: 13px;
}
.property-wizard-top > a {
  color: var(--ds-action);
  font-weight: 650;
  text-decoration: none;
}
.property-wizard-top > span {
  background: var(--ds-action-soft);
  color: var(--ds-action);
  padding: 6px 12px;
  border-radius: var(--ds-radius-pill, 24px);
}
.property-progress-caption {
  display: flex;
  justify-content: space-between;
  gap: var(--ds-space-4);
  color: var(--ds-muted);
  font-size: 13px;
}
.property-step-progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: var(--ds-space-3) 0 var(--ds-space-4);
}
.property-step-progress > span {
  height: 4px;
  border-radius: 4px;
  background: var(--ds-line);
}
.property-step-progress > [data-done] {
  background: var(--ds-action);
}
.property-wizard-v12 h1 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 750;
  margin: 0 0 var(--ds-space-4);
}
.property-wizard-v12 h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}
.property-wizard-v12 h3 {
  font-size: 17px;
  margin: 0;
}
.property-wizard-v12 p {
  line-height: 1.5;
  margin: 0;
  color: var(--ds-muted);
  font-size: 14px;
}
.property-wizard-v12 small {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ds-muted);
  display: block;
}
.property-wizard-v12 .property-fields {
  min-height: 0;
  display: grid;
  gap: var(--ds-space-4);
  padding: var(--ds-space-6);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
}
.property-step-intro {
  display: grid;
  gap: var(--ds-space-2);
}
.property-wizard-v12 label {
  display: grid;
  gap: var(--ds-space-2);
  font-size: 14px;
  font-weight: 650;
}
.property-wizard-v12 input:not([type='checkbox']):not([type='radio']):not([type='file']),
.property-wizard-v12 textarea {
  border: 1px solid var(--ds-control-border);
  background: var(--ds-paper);
  color: var(--ds-ink);
  font: inherit;
  padding: 12px;
  min-height: 44px;
  width: 100%;
  border-radius: var(--ds-radius-control);
  margin: 0;
}
.property-wizard-v12 textarea {
  min-height: 96px;
  resize: vertical;
}
.property-wizard-v12 fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}
.property-wizard-v12 legend {
  font-size: 13px;
  font-weight: 650;
  margin-bottom: var(--ds-space-2);
  color: var(--ds-muted);
}
.property-types > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ds-space-2);
}
.property-wizard-v12 .property-type {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 8px;
  min-height: 96px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  cursor: pointer;
  font-size: 14px;
}
.property-type > span {
  font-size: 25px;
  color: var(--ds-action);
}
.property-type > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.property-type:has(input:checked) {
  background: var(--ds-action-soft);
  border: 2px solid var(--ds-action);
  padding: 17px 7px;
}
.property-type:has(input:focus-visible) {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.property-kind {
  display: flex;
  gap: var(--ds-space-4);
  flex-wrap: wrap;
}
.property-kind legend {
  width: 100%;
}
.property-wizard-v12 .property-kind label {
  display: flex;
  align-items: center;
  font-weight: 400;
}
.property-wizard-v12 input[type='radio'],
.property-wizard-v12 input[type='checkbox'] {
  accent-color: var(--ds-action);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.property-wizard-v12 .property-note {
  padding: var(--ds-space-4);
  border-radius: var(--ds-radius-control);
  background: var(--ds-action-soft);
  color: var(--ds-action);
  font-size: 13px;
}
.property-extra {
  border: 0;
  padding: 0;
  margin: 0;
}
.property-extra > summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--ds-action);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.property-extra > summary:before {
  content: '＋';
}
.property-extra[open] > summary:before {
  content: '−';
}
.property-extra > div,
.property-extra > label {
  margin-top: var(--ds-space-3);
}
.property-map {
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-soft);
}
.property-map > summary {
  cursor: pointer;
  color: var(--ds-action);
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.property-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ds-space-4);
}
.property-wizard-v12 .property-check {
  display: flex;
  align-items: flex-start;
  font-weight: 400;
}
.property-counters {
  display: grid;
}
.property-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--ds-space-4);
  padding: var(--ds-space-3) 0;
  border-bottom: 1px solid var(--ds-line);
  font-size: 14px;
}
.property-counter > div {
  display: flex;
  gap: var(--ds-space-2);
  align-items: center;
}
.property-wizard-v12 .property-counter input {
  width: 48px;
  padding: 4px;
  text-align: center;
  border: 0;
  appearance: textfield;
}
.property-counter input::-webkit-inner-spin-button {
  appearance: none;
}
.property-counter .ds-button {
  min-width: 44px;
  padding: 0;
}
.property-amenity-chips {
  display: flex;
  gap: var(--ds-space-2);
  flex-wrap: wrap;
}
.property-wizard-v12 .property-amenity-chips label {
  position: relative;
  cursor: pointer;
}
.property-amenity-chips input {
  position: absolute;
  opacity: 0;
}
.property-amenity-chips span {
  display: block;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  font-weight: 400;
}
.property-amenity-chips input:checked + span {
  background: var(--ds-action-soft);
  border-color: var(--ds-action);
  color: var(--ds-action);
  font-weight: 650;
}
.property-amenity-chips input:checked + span:before {
  content: '✓ ';
}
.property-amenity-chips input:focus-visible + span {
  outline: 3px solid var(--ds-focus);
  outline-offset: 2px;
}
.property-all-amenities .amenity-group {
  margin: var(--ds-space-4) 0;
}
.property-all-amenities .amenity-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ds-space-2);
}
.property-all-amenities .amenity-options label {
  display: flex;
  align-items: center;
  gap: var(--ds-space-2);
  min-height: 44px;
  font-weight: 400;
}
.property-wizard-v12 .upload-zone {
  border: 1px dashed var(--ds-control-border);
  padding: var(--ds-space-6);
  border-radius: var(--ds-radius-control);
  background: var(--ds-soft);
  color: var(--ds-action);
  text-align: center;
}
.property-wizard-v12 .upload-zone input {
  max-width: 100%;
  font-weight: 400;
}
.property-wizard-v12 .property-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ds-space-3);
}
.property-wizard-v12 .property-gallery > div {
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  padding: var(--ds-space-2);
}
.property-wizard-v12 .property-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--ds-radius-control);
}
.property-wizard-v12 .property-gallery button {
  font: inherit;
  font-size: 12px;
  min-height: 44px;
  padding: 6px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-action);
  margin: 4px 0;
}
.property-child-media {
  display: grid;
  gap: var(--ds-space-4);
  border-top: 1px solid var(--ds-line);
  padding-top: var(--ds-space-4);
}
.property-wizard-v12 .property-placement {
  display: grid;
  gap: var(--ds-space-3);
}
.property-wizard-v12 .property-placement-choice {
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  display: flex;
  align-items: center;
  gap: var(--ds-space-3);
  cursor: pointer;
}
.property-placement-choice:has(input:checked) {
  border-color: var(--ds-action);
  background: var(--ds-action-soft);
  box-shadow: inset 0 0 0 1px var(--ds-action);
}
.property-placement-choice > input {
  order: 3;
  margin-left: auto;
}
.property-placement-choice > span[aria-hidden] {
  color: var(--ds-action);
  font-size: 25px;
}
.property-placement-choice strong {
  display: block;
}
.property-placement-choice small {
  margin-top: 4px;
}
.property-catalog-options {
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-soft);
  display: grid;
  gap: var(--ds-space-4);
}
.property-wizard-v12 .property-switch {
  display: flex;
  align-items: center;
  gap: var(--ds-space-4);
  justify-content: space-between;
}
.property-wizard-v12 .property-switch input {
  appearance: none;
  width: 42px;
  height: 25px;
  border-radius: 16px;
  background: var(--ds-muted);
  position: relative;
  border: 0;
  cursor: pointer;
}
.property-switch input:checked {
  background: var(--ds-action);
}
.property-switch input:after {
  content: '';
  position: absolute;
  width: 19px;
  height: 19px;
  left: 3px;
  top: 3px;
  border-radius: 100%;
  background: var(--ds-paper);
  transition: transform 0.15s;
}
.property-switch input:checked:after {
  transform: translateX(17px);
}
.property-wizard-controls {
  position: sticky;
  bottom: 8px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: var(--ds-space-3);
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  margin-top: var(--ds-space-4);
}
.property-wizard-controls > div {
  display: flex;
  gap: var(--ds-space-2);
}
.property-fidelity [data-variant='primary'] {
  background: var(--ds-action);
  border-color: var(--ds-action);
  color: var(--ds-paper);
}
.property-review-cover {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--ds-radius-control);
}
.property-wizard-v12 #property-error:not(:empty) {
  padding: var(--ds-space-3);
  color: var(--ds-danger);
  background: var(--ds-paper);
}
.property-fidelity :focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.property-wizard-v12 [data-child] {
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  padding: var(--ds-space-4);
}
.property-wizard-v12 [data-child] > summary {
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.property-wizard-v12 [data-child] section {
  margin: var(--ds-space-3) 0;
}
.property-wizard-v12 .unit-steps {
  display: flex;
  gap: var(--ds-space-2);
}
.property-wizard-v12 .unit-steps button,
.property-wizard-v12 #add-property-unit,
.property-wizard-v12 [data-remove-unit] {
  font: inherit;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  color: var(--ds-action);
  background: var(--ds-paper);
}
.property-wizard-v12 .location-tiles {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--ds-radius-control);
  background: var(--ds-soft);
}
.property-wizard-v12 .location-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  pointer-events: none;
}
.property-wizard-v12 .map-marker {
  position: absolute;
  color: var(--ds-action);
  font-size: 28px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.property-wizard-v12 .map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  margin: var(--ds-space-3) 0;
}
.property-wizard-v12 .map-controls button {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-action);
}
@media (max-width: 640px) {
  .property-wizard-v12 .property-fields {
    padding: var(--ds-space-4);
  }
  .property-wizard-v12 h1 {
    font-size: 23px;
  }
  .property-wizard-v12 h2 {
    font-size: 19px;
  }
  .property-wizard-top {
    margin-bottom: var(--ds-space-4);
  }
  .property-wizard-top > span {
    font-size: 11px;
  }
  .property-type strong {
    font-size: 12px;
  }
  .property-wizard-controls {
    bottom: 74px;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
  }
  .property-wizard-controls > div {
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .property-wizard-controls #property-save {
    font-size: 12px;
    padding: 8px;
  }
  .property-wizard-controls [type='submit'] {
    flex: 1;
    min-width: 110px;
  }
  .property-wizard-v12 .property-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .property-all-amenities .amenity-options,
  .property-grid2 {
    grid-template-columns: 1fr;
  }
  .property-wizard-v12 .property-type {
    padding: 12px 4px;
  }
  .property-wizard-v12 .property-type:has(input:checked) {
    padding: 11px 3px;
  }
  .property-placement-choice strong {
    font-size: 14px;
  }
  .property-placement-choice small {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .property-switch input:after {
    transition: none;
  }
}
.property-wizard-v12 .property-type > input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.property-wizard-v12 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.f06-layout > nav {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  padding: var(--ds-space-3);
  border-radius: var(--ds-radius-panel);
}
.f06-initial-step {
  display: flex;
  align-items: center;
  gap: var(--ds-space-2);
  font-size: 14px;
  padding: var(--ds-space-3);
  color: var(--ds-muted);
}
.f06-initial-step[aria-current] {
  color: var(--ds-action);
  background: var(--ds-action-soft);
  border-radius: var(--ds-radius-control);
  font-weight: 700;
}
.f06-initial-step[aria-disabled] {
  opacity: 0.6;
}
.f06-initial-step b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ds-soft);
  flex-shrink: 0;
}
.f06-initial-unit {
  display: grid;
  gap: var(--ds-space-4);
  padding: var(--ds-space-4) 0;
  border: 0;
  border-bottom: 1px solid var(--ds-line);
}
.f06-initial-unit legend {
  font-size: 14px;
  color: var(--ds-muted);
}
.f06-initial-unit [data-weekend-fields] {
  display: grid;
  gap: var(--ds-space-4);
}
.f06-status {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
}
.f06-status > span {
  background: var(--ds-action-soft);
  padding: 6px 10px;
  border-radius: 24px;
  font-size: 12px;
  color: var(--ds-action);
}
.f06-property > img,
.f06-property > .f06-photo-fallback {
  height: 150px;
}
.f06-property-grid {
  gap: var(--ds-space-4);
}
.f06-property > div {
  padding: var(--ds-space-4);
}
.f06-summary-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ds-space-4);
  margin-bottom: var(--ds-space-6);
}
.f06-summary-top > section {
  display: grid;
  align-content: start;
  gap: var(--ds-space-3);
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
}
.f06-summary-top h2 {
  font-size: 18px;
}
.f06-summary-top p {
  margin: 0;
}
.f06-summary-row small {
  margin-top: 5px;
}
.f06-summary-row {
  align-items: center;
}
.flow06 .f06-heading h1 {
  font-weight: 750;
}
.flow06 .f06-card > h2,
.flow06 .f06-form > h2 {
  font-weight: 700;
}
@media (max-width: 640px) {
  .f06-summary-top {
    grid-template-columns: 1fr;
  }
  .f06-initial-step {
    white-space: nowrap;
  }
  .f06-layout > nav .f06-initial-step {
    flex: 0 0 auto;
  }
  .f06-property > .f06-photo-fallback,
  .f06-property > img {
    height: 155px;
  }
}
.property-placement-choice small {
  font-weight: 400;
}
.property-placement-choice > span[aria-hidden] {
  width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
}
.property-placement-choice > span:not([aria-hidden]) {
  flex: 1;
}
.property-wizard-controls #property-save:after {
  display: none;
}
@media (max-width: 640px) {
  .property-wizard-controls {
    align-items: center;
  }
  .property-wizard-controls > div {
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
  }
  .property-wizard-controls .ds-button {
    padding: 8px 10px;
    font-size: 13px;
    min-height: 44px;
  }
  .property-wizard-controls #property-save span {
    display: none;
  }
  .property-wizard-controls #property-save:after {
    display: inline;
    content: attr(data-mobile-label);
    font-size: 12px;
  }
  .property-wizard-controls [type='submit'] {
    min-width: 0;
    white-space: normal;
  }
  .property-wizard-controls #property-back {
    flex: 0 0 auto;
    align-self: center;
    max-height: 44px;
  }
  .property-placement-choice small {
    font-weight: 400;
  }
}
.property-wizard-v12 input:not([type='checkbox']):not([type='radio']):not([type='file']),
.property-wizard-v12 textarea {
  font-weight: 400;
}
/* Property cards: cover, identity, contents, owner tasks, then navigation. */
.flow06 .f06-property-v2 {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.flow06 .f06-property-v2 > .f06-cover {
  padding: 0;
  position: relative;
  background: var(--ds-soft);
}
.f06-cover-media {
  height: 180px;
  overflow: hidden;
  background: var(--ds-action-soft);
}
.f06-cover-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f06-no-photo {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ds-action-soft);
  color: var(--ds-muted);
  font-size: 13px;
}
.f06-no-photo .ds-identity-media {
  width: 54px;
  height: 54px;
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-action);
  flex: 0 0 54px;
}
.f06-no-photo .ds-identity-fallback svg {
  width: 32px;
  height: 32px;
}
.f06-photo-action {
  color: var(--ds-action);
  font-size: 13px;
  min-height: 28px;
  text-underline-offset: 3px;
}
.f06-card-menu {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
}
.flow06 .f06-more {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  color: var(--ds-ink);
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 26px;
  line-height: 1;
  box-shadow: var(--ds-small-shadow, none);
}
.f06-card-menu .ds-menu {
  font-size: 14px;
  min-width: 225px;
}
.flow06 .f06-property-v2 > .f06-property-body {
  padding: var(--ds-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-4);
  flex: 1;
}
.f06-property-body > header {
  display: grid;
  gap: var(--ds-space-2);
  padding: 0;
  margin: 0;
  border: 0;
}
.f06-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-2);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ds-muted);
}
.f06-state-ready {
  color: var(--ds-accent);
  font-size: 12px;
  font-weight: 600;
}
.f06-state-draft {
  background: var(--ds-warning-soft);
  color: var(--ds-warning);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
}
.flow06 .f06-property-v2 h2 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -0.4px;
  margin: 0;
}
.flow06 .f06-property-location {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ds-muted);
  margin: 0;
}
.flow06 .f06-property-capacity {
  font-size: 14px;
  margin: 0;
  color: var(--ds-ink);
}
.flow06 .f06-catalog-state {
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  color: var(--ds-muted);
}
.f06-unit-summary {
  list-style: none;
  margin: 0;
  padding: var(--ds-space-3);
  background: var(--ds-soft);
  border-radius: var(--ds-radius-control);
  display: grid;
  gap: 10px;
}
.f06-unit-summary > li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--ds-space-3);
  font-size: 13px;
}
.f06-unit-summary > li strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.f06-unit-summary > li span {
  font-size: 12px;
  color: var(--ds-muted);
  flex-shrink: 0;
}
.f06-tasks {
  background: var(--ds-warning-soft);
  border: 1px solid var(--ds-warning-soft);
  border-radius: var(--ds-radius-control);
  padding: var(--ds-space-3);
  display: grid;
  gap: var(--ds-space-2);
}
.f06-tasks-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ds-warning);
}
.f06-tasks-label > span {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  border-radius: 100%;
  font-weight: 700;
  font-size: 12px;
}
.f06-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-3);
  padding: 10px 0 2px;
  text-decoration: none;
  color: var(--ds-ink);
}
.f06-task + .f06-task {
  border-top: 1px solid var(--ds-line);
}
.f06-task strong {
  font-size: 14px;
  font-weight: 700;
  display: block;
}
.f06-task small {
  font-size: 12px;
  color: var(--ds-warning);
  margin-top: 4px;
}
.f06-task > span:last-child {
  font-size: 12px;
  color: var(--ds-action);
  font-weight: 700;
  flex-shrink: 0;
  text-align: right;
}
.f06-task:hover > span:last-child {
  text-decoration: underline;
}
.f06-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: var(--ds-space-2);
}
.f06-card-footer .ds-button {
  width: 100%;
  min-height: 44px;
}
.f06-property-body .f06-tasks:last-child {
  margin-top: auto;
}
.f06-property-v2 .f06-cover .f06-no-photo .ds-identity-media > img {
  width: 100%;
  height: 100%;
}
@media (max-width: 640px) {
  .f06-cover-media {
    height: 160px;
  }
  .flow06 .f06-property-v2 > .f06-property-body {
    padding: var(--ds-space-4);
    gap: var(--ds-space-3);
  }
  .flow06 .f06-property-v2 h2 {
    font-size: 21px;
  }
  .f06-task {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .f06-task > span:last-child {
    margin-left: auto;
  }
  .f06-card-menu {
    top: 10px;
    right: 10px;
  }
}
/* Compact property inventory: consistent rhythm without stretching short cards. */
.flow06 .f06-property-grid {
  align-items: start;
}
.flow06 .f06-property-v2 > .f06-property-body {
  padding: var(--ds-space-4);
  gap: var(--ds-space-3);
}
.f06-cover-media {
  height: 152px;
}
.flow06 .f06-property-v2 h2 {
  font-size: 21px;
  letter-spacing: -0.3px;
}
.f06-property-body > header {
  gap: 6px;
}
.f06-card-kicker {
  font-size: 12px;
}
.f06-state-ready {
  font-weight: 500;
}
.f06-unit-summary {
  padding: 0;
  background: transparent;
  gap: 0;
}
.f06-unit-summary > li {
  min-height: 32px;
  align-items: center;
  border-bottom: 1px solid var(--ds-line);
}
.f06-unit-summary > li:last-child {
  border-bottom: 0;
}
.f06-tasks {
  padding: var(--ds-space-3);
  gap: 4px;
  border-color: var(--ds-line);
  border-left: 3px solid var(--ds-warning);
}
.f06-task {
  min-height: 44px;
  padding: 8px 0;
  gap: 8px;
}
.f06-task strong {
  font-size: 13px;
}
.f06-task small {
  line-height: 1.4;
  margin-top: 3px;
}
.f06-card-footer {
  margin-top: 0;
  padding-top: var(--ds-space-3);
  border-top: 1px solid var(--ds-line);
}
.f06-card-footer .ds-button {
  background: var(--ds-paper);
  color: var(--ds-action);
  border-color: var(--ds-line);
}
.f06-property-body .f06-tasks:last-child {
  margin-top: 0;
}
.f06-photo-action {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.f06-no-photo {
  gap: 4px;
}
.f06-no-photo .ds-identity-media {
  height: 40px;
  width: 40px;
  flex-basis: 40px;
}
@media (max-width: 640px) {
  .f06-cover-media {
    height: 136px;
  }
  .flow06 .f06-property-v2 h2 {
    font-size: 20px;
  }
  .f06-card-kicker {
    gap: 6px;
  }
  .f06-state-ready {
    font-size: 12px;
  }
  .f06-task {
    flex-wrap: nowrap;
    align-items: center;
  }
  .f06-task > span:first-child {
    min-width: 0;
  }
  .f06-task > span:last-child {
    margin-left: 0;
  }
  .f06-unit-summary > li {
    font-size: 14px;
  }
  .f06-card-footer {
    padding-top: 12px;
  }
}
.flow06 .f06-tasks-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ds-warning-soft);
  border-color: var(--ds-warning-soft);
  color: var(--ds-ink);
  font-size: 14px;
  text-align: left;
}
.f06-tasks-trigger > strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ds-paper);
  color: var(--ds-warning);
  font-size: 12px;
}
.f06-tasks-trigger > span:last-child {
  margin-left: auto;
}
.f06-tasks-popup {
  padding: 12px;
  overflow: auto;
}
.f06-tasks-popup .f06-tasks {
  border: 0;
  background: var(--ds-paper);
  padding: 0;
}
.f06-tasks-popup .f06-task {
  flex-wrap: wrap;
}
.f06-tasks-popup .f06-task > span:last-child {
  margin-left: auto;
}
.f06-tasks-popup > [data-tasks-close] {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
}
.f06-tasks-popup .f06-task small {
  display: block;
  color: var(--ds-muted);
}
/* Flow 07: owner card; common DS surfaces and Flow 06 editing controls. */
.f07-card {
  display: grid;
  gap: var(--ds-space-6);
}
.f07-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--ds-space-6);
  align-items: start;
}
.f07-gallery {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.f07-main-photo {
  aspect-ratio: 16/10;
  border-radius: var(--ds-radius-panel);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ds-action-soft);
  color: var(--ds-muted);
}
.f07-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f07-thumbs {
  display: flex;
  gap: 8px;
  overflow: auto;
}
.f07-thumbs button {
  width: 72px;
  height: 56px;
  flex: 0 0 72px;
  border: 2px solid transparent;
  border-radius: var(--ds-radius-control);
  padding: 0;
  overflow: hidden;
  background: var(--ds-soft);
}
.f07-thumbs button[aria-pressed='true'] {
  border-color: var(--ds-action);
}
.f07-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f07-intro {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.flow06 .f07-intro h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0;
  overflow-wrap: anywhere;
}
.f07-intro p {
  margin: 0;
}
.f07-price {
  font-size: 26px;
  font-weight: 700;
}
.f07-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--ds-muted);
}
.f07-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.f07-status span {
  padding: 6px 10px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  font-size: 12px;
  background: var(--ds-paper);
}
.f07-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.f07-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--ds-line);
  padding-bottom: 8px;
}
.f07-tabs .ds-button {
  background: transparent;
  border-color: transparent;
  color: var(--ds-muted);
}
.f07-tabs .ds-button[aria-current] {
  background: var(--ds-action-soft);
  color: var(--ds-action);
  border-color: var(--ds-action-soft);
}
.f07-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-space-4);
  align-items: start;
}
.f07-block {
  padding: var(--ds-space-6);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
  min-width: 0;
}
.f07-block > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.flow06 .f07-block h2 {
  font-size: 19px;
  margin: 0;
}
.f07-block h3 {
  font-size: 16px;
}
.f07-block p {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.f07-description {
  white-space: pre-line;
}
.f07-value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ds-line);
  font-size: 14px;
}
.f07-value:last-child {
  border: 0;
}
.f07-value span {
  color: var(--ds-muted);
}
.f07-value strong {
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 0;
}
.f07-amenities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.f07-amenities li {
  background: var(--ds-soft);
  padding: 6px 10px;
  border-radius: var(--ds-radius-control);
  font-size: 14px;
}
.f07-editor {
  display: grid;
  gap: 16px;
}
.f07-editor [data-fields] {
  display: grid;
  gap: 16px;
}
.f07-editor input:not([type='checkbox']):not([type='radio']),
.f07-editor textarea {
  width: 100%;
  box-sizing: border-box;
}
.f07-editor .property-counters {
  display: grid;
  gap: 12px;
}
.f07-editor .property-counter {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.f07-editor .property-counter > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.f07-editor .property-counter input {
  width: 64px;
}
.f07-editor .property-counter button {
  min-width: 44px;
  min-height: 44px;
}
.f07-editor .amenity-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.f07-editor .amenity-choice input {
  width: auto;
}
.f07-block [data-editor] > .f06-card {
  padding: 0;
  border: 0;
  background: transparent;
}
.f07-block .f06-footer {
  position: static;
}
.f07-block:has([data-editor]) {
  grid-column: 1/-1;
}
.f07-card [data-card-error]:empty {
  display: none;
}
.f07-card [data-card-error] {
  color: var(--ds-danger);
  margin: 0;
}
.f07-card :focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .f07-hero,
  .f07-blocks {
    grid-template-columns: 1fr;
  }
  .f07-hero {
    gap: 20px;
  }
  .f07-card {
    gap: 20px;
  }
  .flow06 .f07-intro h1 {
    font-size: 25px;
  }
  .f07-block {
    padding: 16px;
  }
  .f07-tabs {
    gap: 0;
  }
  .f07-tabs .ds-button {
    padding: 10px 12px;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
  }
  .f07-block > header {
    gap: 8px;
  }
  .flow06 .f07-block h2 {
    font-size: 18px;
  }
  .f07-block > header .ds-button {
    font-size: 13px;
    padding: 8px 10px;
  }
  .f07-value {
    font-size: 14px;
    gap: 10px;
  }
  .f07-editor .property-counter {
    font-size: 14px;
  }
  .f07-editor .property-counter > div {
    gap: 4px;
  }
  .f07-editor .property-counter input {
    width: 52px;
  }
}
.flow06 .f07-intro h1 {
  font-weight: 750;
  letter-spacing: -0.5px;
}
.flow06 .f07-block h2 {
  font-weight: 700;
}
.f07-price small {
  display: inline;
}
.f07-card [data-card-notice]:empty {
  display: none;
}
.f07-card [data-card-notice] {
  margin: 0;
  color: var(--ds-action);
  font-size: 14px;
}
.f07-main-photo {
  aspect-ratio: 2/1;
}
.f07-intro {
  padding: var(--ds-space-6);
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
}
.f07-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px;
  background: var(--ds-soft);
  border-radius: var(--ds-radius-control);
}
.f07-stats > div {
  display: grid;
  gap: 6px;
  text-align: center;
}
.f07-stats strong {
  font-size: 20px;
  color: var(--ds-action);
}
.f07-stats span {
  font-size: 12px;
  color: var(--ds-muted);
}
.f07-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--ds-line);
}
.f07-rate .meta {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.f07-rate .ds-button {
  font-size: 13px;
}
.f07-tabs {
  padding: 4px;
  border: 1px solid var(--ds-line);
  background: var(--ds-paper);
  border-radius: var(--ds-radius-control);
}
.f07-tabs .ds-button {
  flex: 1;
}
.f07-blocks > [data-block='basic'] {
  grid-column: 1;
  grid-row: 1;
}
.f07-blocks > [data-block='capacity'] {
  grid-column: 1;
  grid-row: 2;
}
.f07-blocks > [data-block='amenities'] {
  grid-column: 2;
  grid-row: 1;
}
.f07-blocks > [data-block='location'] {
  grid-column: 2;
  grid-row: 2;
}
.f07-blocks > .f07-block:has([data-editor]) {
  grid-column: 1/-1;
  grid-row: auto;
}
@media (max-width: 760px) {
  .f07-intro {
    padding: 16px;
  }
  .f07-stats {
    padding: 12px;
  }
  .f07-blocks > [data-block] {
    grid-column: auto;
    grid-row: auto;
  }
  .f07-main-photo {
    aspect-ratio: 16/10;
  }
}
.f07-blocks:has([data-editor]) > [data-block] {
  grid-column: auto;
  grid-row: auto;
}
.f07-blocks:has([data-editor]) > .f07-block:has([data-editor]) {
  grid-column: 1/-1;
}
.f07-blocks > [data-block='complex'] {
  grid-column: 1/-1;
  grid-row: auto;
}
.f07-blocks:has([data-block='complex']) > [data-block] {
  grid-row: auto;
  grid-column: auto;
}
.f07-blocks:has([data-block='complex']) > [data-block='complex'] {
  grid-column: 1/-1;
}
/* Flow 07 editing uses the shared scrolling-dialog contract. */
.f07-modal {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  color: var(--ds-ink);
  background: var(--ds-paper);
  overflow: hidden;
}
.f07-modal[open] {
  display: flex;
  flex-direction: column;
}
.f07-modal .ds-modal-head {
  flex: 0 0 auto;
}
.f07-modal .ds-modal-head h2 {
  font-weight: 700;
}
.f07-modal [data-modal-close] {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 10px;
  flex-shrink: 0;
}
.f07-modal-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.f07-modal-content > .f06-card {
  display: contents;
}
.f07-modal-content > form,
.f07-modal-content > .f06-card > form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  margin: 0;
  overflow: hidden;
  max-height: 100%;
}
.f07-modal .ds-modal-body {
  overflow: auto;
  min-height: 0;
  display: grid;
  gap: 16px;
}
.f07-modal .ds-modal-footer {
  flex-shrink: 0;
  position: static;
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  background: var(--ds-paper);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.f07-modal .ds-modal-footer .ds-button {
  min-height: 44px;
}
.f07-modal .f06-form > div > h2 {
  display: none;
}
.f07-modal .f07-editor [data-fields] {
  display: grid;
  gap: 16px;
}
.f07-modal label {
  display: grid;
  gap: 8px;
}
.f07-modal .f06-check {
  display: flex;
}
.f07-modal .property-counter {
  display: flex;
}
.f07-modal [role='alert'] {
  color: var(--ds-danger);
}
@media (max-width: 760px) {
  .f07-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 24px);
  }
  .f07-modal .ds-modal-footer {
    flex-wrap: wrap;
  }
  .f07-modal .ds-modal-footer .ds-button {
    flex: 1;
  }
}
.f07-modal input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='hidden']),
.f07-modal textarea {
  font: inherit;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-ink);
  box-sizing: border-box;
  max-width: 100%;
}
.f07-modal .property-counter input {
  padding: 8px;
}
.f07-modal .ds-modal-body > [data-fields] {
  min-width: 0;
}
.f07-modal .ds-modal-body:focus-visible {
  outline: 2px solid var(--ds-focus);
  outline-offset: -2px;
}
.f07-discard {
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: var(--ds-warning-soft);
  flex-shrink: 0;
}
.f07-discard p {
  margin: 0;
  width: 100%;
  font-size: 14px;
}
.f07-discard .ds-button {
  min-height: 44px;
  font-size: 13px;
}
/* Property tabs precede the hero; on mobile they stay above the main HMS nav. */
@media (max-width: 760px) {
  .f07-card {
    padding-bottom: 80px;
  }
  .f07-card > .f07-tabs {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--f07-main-nav-height, 71px) + 8px);
    z-index: 21;
    margin: 0;
    box-shadow: var(--ds-dashboard-shadow);
    min-height: 52px;
    box-sizing: border-box;
  }
  .f07-tabs .ds-button {
    min-height: 44px;
  }
  .f07-card .f07-blocks :is(button, a, input, textarea) {
    scroll-margin-bottom: calc(var(--f07-main-nav-height, 71px) + 80px);
  }
  html:has(.f07-card) {
    scroll-padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  }
}
/* One hero surface groups media and the property summary. */
.f07-hero {
  padding: var(--ds-space-6);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
  gap: var(--ds-space-6);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.f07-hero .f07-intro {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.f07-hero .f07-gallery {
  align-content: start;
}
.f07-hero .f07-main-photo {
  aspect-ratio: 16/10;
}
.f07-hero .f07-gallery > .ds-button {
  align-self: start;
}
.f07-card > .f07-tabs {
  margin-top: -8px;
}
@media (max-width: 760px) {
  .f07-hero {
    padding: var(--ds-space-4);
    grid-template-columns: 1fr;
    gap: var(--ds-space-6);
  }
  .f07-hero .f07-intro {
    border-top: 1px solid var(--ds-line);
    padding-top: var(--ds-space-4);
  }
  .f07-card > .f07-tabs {
    margin-top: 0;
  }
}
.f07-services-panel > .f06-card {
  padding: 0;
  border: 0;
  background: transparent;
}
.f07-services-panel .f06-form {
  gap: 12px;
}
.f07-services-panel .f06-form > p:first-child {
  margin-top: 0;
  font-size: 14px;
  color: var(--ds-muted);
}
.f07-services-panel .f06-service {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.f07-services-panel .f06-service > div {
  flex: 1 1 100%;
}
.f07-services-panel .f06-service .ds-button {
  min-height: 44px;
  font-size: 13px;
  padding: 8px 12px;
}
.f07-services-panel .f06-service small {
  display: block;
  line-height: 1.5;
  margin-top: 4px;
}
.f07-services-panel [data-service-new] {
  width: 100%;
  min-height: 44px;
}
.f07-services-panel .f06-editor {
  padding: 12px;
}
.f07-services-panel .f06-editor input {
  max-width: 100%;
  box-sizing: border-box;
}
.f07-services-panel .f06-actions {
  flex-wrap: wrap;
}
/* Inventory: a single actionable status, compact content, and decorative complex layers. */
.flow06 .f06-card-kicker .f06-tasks-trigger {
  width: auto;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--ds-radius-pill, 24px);
  font-size: 12px;
  white-space: nowrap;
  gap: 8px;
}
.flow06 .f06-property-grid {
  padding-top: 12px;
  padding-right: 12px;
}
.flow06 .f06-property-stack {
  box-shadow:
    4px -4px 0 0 var(--ds-paper),
    4px -4px 0 1px var(--ds-line),
    8px -8px 0 0 var(--ds-soft),
    8px -8px 0 1px var(--ds-line);
}
.flow06 .f06-property-v2 .f06-card-kicker {
  min-height: 44px;
}
.flow06 .f06-property-v2 .f06-card-footer {
  margin-top: 0;
}
/* A native title link stretches across the card; secondary controls remain independent. */
.flow06 .f06-property-v2 {
  position: relative;
}
.flow06 .f06-card-link {
  color: inherit;
  text-decoration: none;
}
.flow06 .f06-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
.flow06 .f06-property-v2:has(.f06-card-link:focus-visible) {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.flow06 .f06-card-link:focus-visible {
  outline: none;
}
.flow06 .f06-property-v2 :is(.f06-card-menu, .f06-task-disclosure, .f06-photo-action) {
  position: relative;
  z-index: 2;
}
.flow06 .f06-property-v2 .f06-card-menu {
  position: absolute;
}
@media (hover: hover) {
  .flow06 .f06-property-v2:has(.f06-card-link:hover) {
    border-color: var(--ds-action);
  }
}
/* Shared Flow 06/07 payment and refund editor, following the approved refund composition. */
.f06-payment-fields {
  display: grid;
  gap: var(--ds-space-4);
}
.f06-payment-fields .ds-select,
.f06-form .ds-select {
  width: 100%;
  max-width: none;
}
.f06-refund-design {
  padding: var(--ds-space-4);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-dashboard-bg, var(--ds-paper));
  display: grid;
  gap: var(--ds-space-4);
}
.flow06 .f06-refund-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.f06-refund-toggle input {
  position: absolute;
  right: 0;
  width: 48px;
  height: 30px;
  opacity: 0;
  cursor: pointer;
}
.f06-refund-toggle > span {
  width: 48px;
  height: 28px;
  border-radius: var(--ds-radius-pill, 24px);
  background: var(--ds-muted);
  flex-shrink: 0;
  pointer-events: none;
  padding: 4px;
}
.f06-refund-toggle > span:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ds-paper);
}
.f06-refund-toggle input:checked + span {
  background: var(--ds-action);
}
.f06-refund-toggle input:checked + span:before {
  transform: translateX(20px);
}
.f06-refund-toggle input:focus-visible + span {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.f06-refund-design .f06-policy-row {
  align-items: center;
  padding: var(--ds-space-4) 0;
  gap: var(--ds-space-4);
}
.f06-threshold {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.f06-refund-design .f06-stepper {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
}
.f06-refund-design .f06-stepper .ds-button {
  min-width: 36px;
  min-height: 44px;
  padding: 4px;
  background: var(--ds-action-soft);
  border-color: transparent;
}
.flow06 .f06-refund-design .f06-stepper input {
  width: 48px;
  min-height: 44px;
  padding: 4px;
  border: 0;
  text-align: center;
  font-weight: 700;
  appearance: textfield;
}
.f06-stepper input::-webkit-inner-spin-button {
  appearance: none;
}
.flow06 .f06-percent {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--ds-soft);
  padding: 16px;
  border-radius: var(--ds-radius-control);
  color: var(--ds-muted);
}
.f06-percent output {
  color: var(--ds-action);
  font-weight: 750;
}
.f06-percent input {
  grid-column: 1/-1;
  width: 100%;
  min-height: 44px;
  accent-color: var(--ds-action);
}
.flow06 .f06-sim-days {
  display: grid;
  grid-template-columns: 1fr auto;
  color: var(--ds-muted);
}
.f06-sim-days input {
  grid-column: 1/-1;
  width: 100%;
  min-height: 44px;
  accent-color: var(--ds-action);
}
.f06-refund-result {
  padding: var(--ds-space-4);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-action-soft);
  display: grid;
  gap: 16px;
}
.f06-refund-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.f06-refund-result [data-refund-estimate] {
  font-size: 26px;
  color: var(--ds-action);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .f06-refund-design {
    padding: 12px;
  }
  .f06-refund-result > div {
    flex-wrap: wrap;
  }
  .f06-refund-design .f06-policy-row {
    grid-template-columns: 1fr;
  }
  .f06-refund-result [data-refund-estimate] {
    font-size: 24px;
  }
}
.f06-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.f06-segments legend {
  font-weight: 650;
  margin-bottom: 8px;
}
.flow06 .f06-segments label {
  position: relative;
  display: flex;
  flex: 1 1 160px;
  font-weight: 600;
}
.f06-segments input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.f06-segments span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  color: var(--ds-muted);
  background: var(--ds-paper);
}
.f06-segments input:checked + span {
  background: var(--ds-action-soft);
  border-color: var(--ds-action);
  color: var(--ds-action);
}
.f06-segments input:focus-visible + span {
  outline: 3px solid var(--ds-focus);
  outline-offset: 3px;
}
.f06-hold-control {
  display: grid;
  gap: 8px;
}
.f06-hold-control input[type='range'] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--ds-action);
}
.f06-hold-control output {
  font-weight: 700;
  color: var(--ds-action);
}
.f06-payment-fields .f06-sim-days output {
  color: var(--ds-action);
  font-weight: 700;
}
.flow06 .f06-form fieldset.f06-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.flow06 .f06-form .f06-segments label {
  flex: 1 1 160px;
  display: flex;
  margin: 0;
}
.f06-hold-control > label {
  display: grid !important;
  grid-template-columns: 1fr 88px;
  align-items: center;
}
.flow06 .f06-hold-control input[type='number'] {
  width: 88px;
  text-align: center;
}
.flow06 .f06-payment-fields .f06-sim-days input[type='number'] {
  width: 88px;
  text-align: center;
  justify-self: end;
  grid-column: 2;
}
.f06-hold-ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ds-muted);
}
/* Compact slider rows: values are readouts, with no duplicate manual fields. */
.f06-range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
}
.f06-range-heading output,
.f06-payment-fields [data-payment-percent] {
  color: var(--ds-action);
  font-weight: 750;
  white-space: nowrap;
}
.f06-payment-fields {
  gap: 12px;
}
.f06-payment-fields .f06-sim-days,
.f06-hold-control {
  gap: 4px;
}
.f06-payment-fields input[type='range'] {
  margin: 0;
  min-height: 36px;
}
.f06-payment-fields .f06-hold-ticks {
  font-size: 12px;
  line-height: 1.4;
}
.f06-payment-fields .f06-segments legend {
  margin-bottom: 6px;
}
/* Equal hierarchy for the percentage and duration slider headings. */
.flow06 .f06-payment-fields .f06-sim-days,
.flow06 .f06-range-heading {
  font-size: 14px;
  font-weight: 650;
  color: var(--ds-ink);
}
.flow06 .f06-range-heading strong {
  font-weight: 650;
}
/* Booking sections form independent stacks, so unequal card heights leave no row gaps. */
.f07-blocks:has(> .f07-booking-column) {
  gap: var(--ds-space-4);
  align-items: start;
}
.f07-booking-column {
  display: grid;
  gap: var(--ds-space-4);
  align-content: start;
  min-width: 0;
}
.f07-booking-column > .f07-block {
  margin: 0;
}
.f07-booking-column .f07-block > p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .f07-blocks:has(> .f07-booking-column),
  .f07-booking-column {
    gap: var(--ds-space-4);
  }
}
.f07-modal .f07-editor label.ds-choice {
  display: flex;
  align-items: center;
  gap: 12px;
}
.f07-modal [data-placement],
.f07-modal [data-request-option] {
  display: grid;
  gap: 16px;
}
.f07-modal [data-request-option] .ds-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.f07-modal [data-catalog-recipients] {
  margin: 0;
  padding-left: 24px;
}
/* Keep amenity controls and labels together inside card dialogs. */
.f07-modal .f07-editor .amenity-group {
  display: grid;
  gap: 12px;
}
.f07-modal .f07-editor .amenity-group h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}
.f07-modal .f07-editor .amenity-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.f07-modal .f07-editor .amenity-choice {
  display: grid;
  gap: 8px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  padding: 10px 12px;
  min-width: 0;
}
.f07-modal .f07-editor .amenity-choice > label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
}
.f07-modal .f07-editor .amenity-choice > label > input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
}
.f07-modal .f07-editor .amenity-choice:has(input:checked) {
  border-color: var(--ds-action);
  background: var(--ds-action-soft);
}
.f07-modal .f07-editor .amenity-more summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
@media (max-width: 700px) {
  .f07-modal .f07-editor .amenity-options {
    grid-template-columns: 1fr;
  }
}

.f07-block .f07-help {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ds-muted);
  margin: 12px 0 0;
}
.f07-block .f07-help a {
  color: var(--ds-action);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.f07-policy-summary {
  margin-top: 12px;
}
.f07-policy-summary .f07-value {
  align-items: center;
  gap: 16px;
}
.f07-policy-summary .f07-value strong {
  white-space: nowrap;
}
.f07-policy-notes {
  border-top: 1px solid var(--ds-line);
  padding-top: 16px;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.f07-policy-notes p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ds-muted);
  margin: 0;
}
.f07-complex-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
}
.f07-complex-hero > div:first-child {
  display: grid;
  gap: 12px;
}
.f07-complex-cover {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--ds-radius-control);
}
.f07-complex-placeholder,
.f07-unit-placeholder {
  display: grid;
  place-items: center;
  background: var(--ds-action-soft);
  color: var(--ds-muted);
  border-radius: var(--ds-radius-control);
  text-align: center;
  font-size: 12px;
  padding: 12px;
}
.f07-complex-placeholder {
  height: 240px;
}
.f07-complex-units {
  background: var(--ds-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  padding: 24px;
}
.f07-complex-unit {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--ds-line);
}
.f07-complex-unit > img,
.f07-unit-placeholder {
  width: 104px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--ds-radius-control);
}
.f07-complex-unit h3 {
  margin: 0 0 6px;
  font-size: 18px;
  overflow-wrap: anywhere;
}
.f07-complex-unit p {
  margin: 4px 0;
}
.f07-complex-unit-price {
  display: grid;
  gap: 12px;
  text-align: right;
}
.f07-complex-unit-price strong {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .f07-complex-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .f07-complex-cover {
    height: 200px;
  }
  .f07-complex-units {
    padding: 16px;
  }
  .f07-complex-unit {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }
  .f07-complex-unit > img,
  .f07-unit-placeholder {
    width: 80px;
    height: 80px;
  }
  .f07-complex-unit-price {
    grid-column: 1/-1;
    text-align: left;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .f07-complex-unit-price .ds-button {
    width: 100%;
  }
  .f07-complex-unit h3 {
    font-size: 16px;
  }
}
/* Card actions must fit both long shared-scope labels and narrow viewports. */
.f07-card .f07-block .ds-button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.f07-card .f07-block .ds-button-label {
  white-space: normal;
}
.f07-card .f07-block > header {
  flex-wrap: wrap;
  align-items: flex-start;
}
.f07-card .f07-block > header h2 {
  flex: 1 1 180px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.f07-card .f07-value > div {
  min-width: 0;
  flex: 1;
}
/* Native type radios stay compact; the entire card provides the touch target. */
.f07-modal .type-card > input[type='radio'] {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  padding: 0;
  margin: 0;
  flex: none;
}
.f07-scope-section {
  padding: 20px 0;
  border-top: 1px solid var(--ds-line);
}
.f07-scope-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.f07-scope-section h3 {
  margin: 0;
  font-size: 16px;
}
.f07-scope-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.f07-scope-group {
  margin-top: 24px;
}
.f07-scope-group > h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0 0 12px;
}
.f07-scope-section h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}
.f07-scope-summary {
  margin: 12px 0 8px;
  line-height: 1.6;
}
.f07-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.f07-mode-row .meta {
  margin: 4px 0;
}
.f07-mode-row > div {
  flex: 1 1 150px;
}
/* Complex overview follows a stable semantic sequence instead of card auto-placement. */
.f07-overview-group {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.f07-overview-group > h2 {
  font-size: 20px;
  font-weight: 650;
  margin: 8px 0 0;
}
.f07-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.f07-overview-grid > .f07-block {
  min-width: 0;
  margin: 0;
}
.f07-complex [data-block='inheritance'] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.f07-complex [data-block='inheritance'] > header {
  grid-column: 1/-1;
}
.f07-complex [data-block='inheritance'] > .f07-scope-group {
  margin-top: 0;
  min-width: 0;
}
@media (max-width: 760px) {
  .f07-overview-grid,
  .f07-complex [data-block='inheritance'] {
    grid-template-columns: 1fr;
  }
  .f07-overview-grid {
    gap: 16px;
  }
  .f07-complex [data-block='inheritance'] {
    gap: 24px;
  }
  .f07-overview-group > h2 {
    font-size: 18px;
  }
}
.f07-complex [data-block='inheritance']:has([data-scope-empty]) {
  grid-template-columns: 1fr;
}

/* Booking Page link in the property card (booking-links.js) */
.f07-booking-links {
  display: grid;
  gap: var(--ds-space-3);
  min-width: 0;
}
/* Single cabin: one full-width row under the photo and the summary. */
.f07-hero > .f07-booking-links {
  grid-column: 1 / -1;
  padding-top: var(--ds-space-4);
  border-top: 1px solid var(--ds-line);
}
.f07-complex .f07-booking-links {
  margin-top: var(--ds-space-4);
  padding: var(--ds-space-5) var(--ds-space-6);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
}
.f07-booking-links h2 {
  margin: 0;
  font-size: var(--ds-text-lg);
}
.f07-booking-links-added {
  margin: 0;
  color: var(--ds-status-booked-ink);
  font-size: var(--ds-text-sm);
  font-weight: var(--ds-weight-semibold);
}
.f07-booking-links-units summary {
  cursor: pointer;
  font-size: var(--ds-text-sm);
  color: var(--ds-muted);
}
.f07-booking-links-units[open] {
  display: grid;
  gap: var(--ds-space-4);
}
.f07-booking-links-off {
  display: grid;
  gap: var(--ds-space-2);
  justify-items: start;
}
.f07-booking-links-off p {
  margin: 0;
}
/* Photo management sits on the photo instead of a full-width button under it. */
.f07-gallery,
.f07-complex-hero > div:first-child {
  position: relative;
}
.f07-gallery > [data-edit='photos'],
.f07-complex-hero [data-edit='shared-photos'] {
  position: absolute;
  top: var(--ds-space-3);
  right: var(--ds-space-3);
  width: auto;
  min-height: 0;
  padding: var(--ds-space-2) var(--ds-space-4);
  font-size: var(--ds-text-sm);
  background: var(--ds-paper);
  box-shadow: var(--ds-overlay-shadow);
}
@media (max-width: 700px) {
  .f07-complex .f07-booking-links {
    padding: var(--ds-space-4);
  }
}
/* Phones: the property card is a focused screen — the main bottom menu steps aside and the card tabs take the
   bottom edge (back via «← Мої хатинки»). The card measures the menu height, so hidden it is 0 and the tabs sit low. */
@media (max-width: 760px) {
  #app:has(.f07-card) .overview-mobile-nav {
    display: none;
  }
  #app:has(.f07-card) .f07-card > .f07-tabs {
    bottom: calc(var(--ds-space-2) + var(--ds-safe-bottom));
  }
}
.f07-booking-link {
  display: grid;
  gap: var(--ds-space-2);
}
.f07-booking-address-row .ds-info-sheet-row {
  min-height: 0;
  padding: var(--ds-space-2) 0;
  border-bottom: 0;
}
.f07-booking-address-row .ds-info-sheet-label {
  font-size: var(--ds-text-sm);
}
.f07-booking-address {
  display: grid;
  gap: var(--ds-space-3);
}
.f07-booking-address > p {
  margin: 0;
}
.f07-booking-address .ds-field {
  max-width: none;
}
.f07-booking-address-offer {
  justify-self: start;
}

.setup-logo img {
  display: block;
  width: auto;
  height: 28px;
}
