#app .business-settings-overview {
  max-width: 76rem;
  gap: 1.5rem;
  align-items: start;
}
#app .business-settings-overview .settings-index-row {
  grid-template-columns: minmax(0,1fr) .6rem;
  gap: .2rem .6rem;
  min-height: 3.6rem;
  padding: .6rem .9rem;
}
#app .business-settings-overview .settings-index-row span,
#app .business-settings-overview .settings-index-row small { grid-column: 1; overflow-wrap: anywhere; }
#app .business-settings-overview .settings-index-row::after { grid-column: 2; grid-row: 1 / span 2; }
#app .business-settings-detail {
  display: grid;
  align-items: start;
  gap: .75rem 1.5rem;
  max-width: 67rem;
}
#app .business-settings-detail .settings-back {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
}
#app .business-settings-detail .settings-back::before { content: '←' / ''; }
#app .business-settings-nav { display: none; }
#app .business-settings-detail .settings-section,
#app .business-settings-detail .settings-section .panel { min-width: 0; width: 100%; }
#app .business-settings-detail [data-stripe] { grid-template-columns: minmax(0,1fr); width: 100%; }
#app .business-settings-detail [data-stripe] .field { width: 100%; }
#app .business-settings-detail [data-stripe] .field select { width: 100%; text-overflow: ellipsis; }
#app .business-settings-detail .panel > button,
#app .business-settings-detail .btn { min-height: 44px; }
#app .business-settings-detail .settings-facts div { padding-block: .6rem; }
#app .business-settings-detail .settings-facts div:first-child { padding-top: 0; }
@media (min-width: 860px) {
  #app .business-settings-overview { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
  #app .business-settings-detail { grid-template-columns: minmax(10rem,14rem) minmax(0,1fr); }
  #app .business-settings-nav { display: grid; gap: .85rem; }
  #app .business-settings-nav h3 { margin: 0 0 .25rem; padding-inline: .65rem; font-size: .85rem; color: #486158; }
  #app .business-settings-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .35rem .65rem;
    border-radius: .4rem;
    color: inherit;
    text-decoration: none;
    line-height: 1.25;
  }
  #app .business-settings-nav a:hover { text-decoration: underline; }
}
#app .business-settings-overview > section {
  min-width: 0;
  border: 1px solid var(--work-line,#7a8f87);
  border-radius: .85rem;
  overflow: hidden;
  background: white;
}
#app .business-settings-overview h2,
#app .business-settings-detail .settings-section h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #102f36;
  letter-spacing: -.025em;
}
#app .business-settings-overview h2 {
  padding: .65rem .85rem;
  margin: 0;
  background: #f8f9f3;
  border-bottom: 1px solid var(--work-line,#7a8f87);
}
#app .business-settings-overview .settings-index-list { border: 0; border-radius: 0; }
#app .settings-symbol { width: 2rem; height: 2rem; padding: .36rem; box-sizing: border-box; background: #d9f7e9; border-radius: .5rem; }
#app .business-settings-overview .settings-index-row small { color: #3d5a61; line-height: 1.35; }
#app .business-settings-overview .settings-index-row:hover { background: #effaf4; }
#app .business-settings-detail .settings-section h2 { justify-self: stretch; border-bottom: 1px solid var(--work-line,#7a8f87); padding-bottom: .8rem; }
#app .business-settings-detail .settings-section h2 .settings-symbol { background: #28dcaf; }
#app .business-settings-nav a[aria-current] { background: #d9f7e9; color: #102f36; font-weight: 700; box-shadow: inset 3px 0 #125b47; }
[data-settings-dialog] .settings-bank { border-block: 1px solid var(--work-line,#7a8f87); }
[data-settings-dialog] .settings-bank summary {
  min-height: 44px;
  align-content: center;
  padding: .5rem .1rem;
  cursor: pointer;
  font-weight: 650;
  color: #125b47;
}
[data-settings-dialog] .settings-bank-fields { display: grid; gap: .85rem; padding-bottom: .75rem; }
[data-settings-dialog] .settings-bank-fields p { margin: 0; }

@media (max-width: 600px) {
  #app .business-settings-overview { gap: .65rem; }
  #app .business-settings-overview h2 { padding: .3rem .65rem; gap: .45rem; font-size: 1rem; }
  #app .business-settings-overview .settings-symbol { width: 1.55rem; height: 1.55rem; padding: .23rem; }
  #app .business-settings-overview .settings-index-row {
    min-height: 44px;
    gap: .08rem .5rem;
    align-content: center;
    padding: .22rem .65rem;
  }
  #app .business-settings-overview .settings-index-row span { font-size: .94rem; line-height: 1.25; }
  #app .business-settings-overview .settings-index-row small { line-height: 1.2; }
  [data-settings-dialog] .bill-form:has(.settings-bank) { gap: .75rem; }
}

#app .settings-section :is([data-booking-editor],.booking-editor-sharing) {min-width: 0; width: 100%}
#app .booking-page-editor {gap: 0}
#app .booking-page-editor fieldset {min-inline-size: 0}
#app .booking-editor-section,
#app .booking-editor-sharing {border-bottom: 1px solid var(--work-line,#7a8f87)}
#app .booking-editor-section > summary,
#app .booking-editor-sharing > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .6rem 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
#app :is(.booking-editor-section,.booking-editor-sharing) > summary::-webkit-details-marker {display: none}
#app :is(.booking-editor-section,.booking-editor-sharing) > summary::after {
  content: '';
  flex: none;
  width: .48rem;
  height: .48rem;
  margin-inline-end: .3rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
#app :is(.booking-editor-section,.booking-editor-sharing)[open] > summary::after {transform: rotate(225deg)}
#app .booking-editor-fields {display: grid; gap: 1.15rem; padding: .2rem 0 1.25rem}
#app .booking-editor-fields legend {padding: 0; margin-bottom: .55rem; font-size: var(--type-ui); font-weight: 650}
#app .booking-editor-fields textarea {resize: vertical}
#app .booking-editor-hint,
#app .booking-image-status,
#app .booking-editor-footer p {margin: 0; color: var(--muted); line-height: 1.45; font-size: var(--type-meta)}
#app .booking-layout-options {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem}
#app .booking-layout-option,
#app .booking-palette-option {position: relative; min-width: 0; cursor: pointer}
#app :is(.booking-layout-option,.booking-palette-option) input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
}
#app .booking-layout-choice,
#app .booking-palette-option > span {
  border: 1px solid var(--control-edge,#668087);
  border-radius: .55rem;
  background: white;
}
#app .booking-layout-choice {display: grid; align-content: start; gap: .22rem; height: 100%; padding: .52rem}
#app .booking-layout-choice strong {font-size: var(--type-ui)}
#app .booking-layout-choice small {line-height: 1.3; font-weight: 400; color: #3d5a61; font-size: var(--type-meta)}
#app :is(.booking-layout-option,.booking-palette-option) input:checked + span {
  border-color: #125b47;
  box-shadow: inset 0 0 0 1px #125b47;
  background-color: #eff9f3;
}
#app :is(.booking-layout-option,.booking-palette-option) input:focus-visible + span {
  outline: 3px solid #125b47;
  outline-offset: 2px;
}
#app .booking-layout-sample {display: flex; align-items: center; gap: 8%; height: 2.8rem; padding: .45rem; border-radius: .2rem; background: #e2e9dc}
#app .booking-layout-sample i {display: block; width: 42%; height: 90%; background: #80907a}
#app .booking-layout-sample b {display: block; width: 38%; height: .2rem; background: #36533d; box-shadow: 0 .33rem 0 #36533d}
#app .sample-field b {order: -1}
#app .sample-studio {background: #52684f; align-items: flex-end; padding-bottom: .8rem}
#app .sample-studio i {display: none}
#app .sample-studio b {width: 65%; background: white; box-shadow: 0 .33rem 0 white}
#app .sample-journal {flex-direction: column-reverse; justify-content: space-between; gap: .4rem; padding-block: .4rem .25rem}
#app .sample-journal i {width: 94%; height: 48%}
#app .booking-palette-options {display: flex; gap: .35rem; flex-wrap: wrap}
#app .booking-palette-option > span {display: inline-flex; align-items: center; gap: .38rem; padding: .35rem .6rem; min-height: 44px; font-weight: 600; font-size: var(--type-ui)}
#app .booking-palette-option i {width: .88rem; height: .88rem; border-radius: 50%}
#app .booking-accent-controls {display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .35rem}
#app .booking-accent-controls [type=color] {width: 3rem; height: 2.75rem; border: 1px solid var(--control-edge,#668087); border-radius: .5rem; background: #fff; padding: .2rem; cursor: pointer}
#app .booking-accent-controls [name=booking_accent] {width: 8.3em; min-height: 44px; padding: .4rem .6rem; border: 1px solid var(--control-edge,#668087); border-radius: .5rem; font: inherit}
#app .booking-accent-controls .bill-link:disabled {color: var(--muted); opacity: .65; cursor: default}
#app .booking-image-field {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; padding-top: .9rem}
#app .booking-image-controls {flex: 1 1 13rem; min-width: 0}
#app .booking-image-controls input[type=file] {max-width: 100%; font-weight: 400}
#app .booking-image-actions {display: flex; flex-wrap: wrap; gap: .25rem .85rem}
#app .booking-image-actions [hidden], #app .booking-image-thumb[hidden] {display: none}
#app .booking-image-thumb {width: 6rem; height: 4rem; object-fit: cover; border-radius: .3rem; background: #f3f5ef}
#app .booking-image-thumb.thumb-logo {object-fit: contain}
#app .booking-image-status {flex: 1 0 100%}
#app .booking-page-editor [role=alert]:empty,
#app .booking-image-status:empty,
#app .booking-editor-footer p:empty {display: none}
#app .booking-editor-footer {display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding-top: 1rem}
#app .booking-editor-sharing {border-top: 1px solid var(--work-line,#7a8f87)}
#app .booking-editor-sharing [data-booking-share] {padding-block: .25rem 1rem}
#modal:has(.booking-editor-preview) {width: min(74rem,96vw); max-width: 100%; max-height: 95dvh}
.booking-editor-preview {display: grid; gap: .85rem; justify-items: start}
.booking-editor-preview iframe {width: 100%; height: 68dvh; border: 1px solid #a7b9ae; border-radius: .5rem; background: #fff}
@media (max-width: 480px) {
  #app .booking-layout-options {grid-template-columns: minmax(0,1fr)}
  #app .booking-layout-choice {grid-template-columns: 3.3rem 1fr; align-items: center; column-gap: .65rem; row-gap: .08rem}
  #app .booking-layout-sample {height: 2.4rem; grid-row: 1 / span 2}
  #app .booking-layout-choice strong {align-self: end}
  #app .booking-layout-choice small {align-self: start}
  #modal:has(.booking-editor-preview) {width: 100%}
}

#app .booking-update-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: .5rem;
}
#app .booking-update-toolbar small,
#app .booking-update-row time {color: var(--muted); font-size: var(--type-meta)}
#app .booking-update-row {border-top: 1px solid var(--work-line,#7a8f87)}
#app .booking-update-row > summary {
  display: list-item;
  padding: .7rem .15rem;
  min-height: 44px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
#app .booking-update-row > summary::marker {color: #426251}
#app .booking-update-row time {display: inline-block; margin-inline-start: .65rem}
#app .booking-update-fields {display: grid; gap: .7rem; padding: .15rem 0 .7rem}
#app .booking-update-fields [data-update-remove] {justify-self: start}
