/* Studio public pages (WP4.3): service cards, month calendar of radio inputs, slot list, price table.
   Tokens only, so light and dark themes stay in parity; logical properties; 44 px targets from 320 px. */
.studio .lead { font-size: 1.125rem; }
.studio .pre { white-space: pre-wrap; }
.studio .price { margin-block: .25rem; }
.service-grid, .option-list, .slot-list, .extra-list, .next-list { list-style: none; padding: 0; margin: 0; }
.service-card h3 { margin-block-end: 0; }
.currency-form { align-items: flex-end; }
.currency-form .field { margin: 0; }

/* facts */
.facts { display: grid; gap: .5rem; margin: 0; }
.facts > div { display: grid; gap: .125rem; }
.facts dt { font-weight: 700; color: var(--text-muted); font-size: .875rem; }
.facts dd { margin: 0; }
@media (min-width: 40em) { .facts > div { grid-template-columns: 11rem 1fr; gap: 1rem; } .facts dt { font-size: 1rem; } }

/* duration radios */
.option-list .choice { padding-block: .25rem; }

/* month calendar */
.cal-nav { display: flex; justify-content: space-between; gap: .5rem; margin-block-end: .5rem; }
.cal-nav-off { display: block; }
.cal-table { table-layout: fixed; }
.cal-table caption { font-size: 1.125rem; }
.cal-table th { text-align: center; padding: .375rem .125rem; background: none; border: 0; font-size: .875rem; }
.cal-table abbr { text-decoration: none; }
.cal-table td { position: relative; padding: .125rem; border: 0; text-align: center; }
.day-input { position: absolute; inset: .125rem; inline-size: calc(100% - .25rem); block-size: calc(100% - .25rem); margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.day-input:disabled { cursor: not-allowed; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-block-size: var(--tap); padding: .25rem 0; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font-weight: 700; line-height: 1.1; }
.day-state { font-size: .6875rem; font-weight: 400; }
.day-full, .day-closed, .day-unavailable, .day-past { border-style: dashed; color: var(--text-muted); font-weight: 400; background: repeating-linear-gradient(135deg, transparent 0 .3rem, var(--divider) .3rem .35rem); }
.day-input:not(:disabled):hover + .day { border-color: var(--btn-bg); }
.day-input:checked + .day { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.day-input:focus-visible + .day { outline: 3px solid var(--focus); outline-offset: 2px; }
.legend { font-size: .875rem; margin-block-start: .5rem; }
[data-slots-enhanced] .show-times-wrap { display: none; }

/* slots */
.slot-list { display: grid; gap: .5rem; }
.slot { display: flex; align-items: flex-start; gap: .75rem; min-block-size: var(--tap); padding: .5rem .75rem; border: 2px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.slot:has(input:checked) { border-color: var(--btn-bg); background: var(--info-bg); }
.slot label { flex: 1; margin: 0; font-weight: 400; cursor: pointer; }
.slot-time { display: block; font-weight: 700; font-size: 1.0625rem; }
.slot-note { display: block; font-size: .875rem; }
.next-list li { min-block-size: var(--tap); display: flex; align-items: center; }
@media (min-width: 40em) { .slot-list { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); } }

/* extras */
.extra { display: grid; grid-template-columns: 1fr 6rem; gap: .25rem 1rem; align-items: center; padding-block: .5rem; border-block-end: 1px solid var(--divider); }
.extra label { font-weight: 400; margin: 0; }
.extra .hint { grid-column: 1 / -1; margin: 0; }

/* price table */
.price-table .num { text-align: end; white-space: nowrap; }
.price-table tfoot th, .price-table tfoot td { background: var(--surface); }
.price-table .total th, .price-table .total td { font-size: 1.125rem; border-block-start: 2px solid var(--text); }

@media (forced-colors: active) {
  .day, .slot { border: 2px solid ButtonText; }
  .day-input:checked + .day, .slot:has(input:checked) { outline: 3px solid Highlight; forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .day-input:focus-visible + .day { outline: 3px solid Highlight; }
}
