/* Booking and studio workspace, using the site design tokens. */
.app-section { margin-bottom: clamp(60px, 8vw, 115px); }
.app-section :is(h2,h3) { text-wrap: initial; }
.page-account .intro-grid, .page-studio-admin .intro-grid { padding-block: clamp(26px, 4vw, 55px); }
.page-account .intro h1, .page-studio-admin .intro h1 { font-size: clamp(47px, 6.5vw, 95px); }
.page-booking .intro-grid { padding-block: clamp(22px, 2.8vw, 40px) clamp(24px, 3vw, 44px); }
.page-booking .intro h1 { font-size: clamp(45px, 6.15vw, 88px); }
.book-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .85fr); gap: clamp(18px, 3.3vw, 49px); align-items: start; }
.book-main, .book-summary, .app-card, .book-receipt { border: 1px solid var(--line); background: var(--paper); border-radius: 4px; padding: clamp(17px, 2.8vw, 36px); }
.book-summary { background: #efeeeb; }
.book-summary h2, .book-main h2, .app-card h2 { font-size: clamp(27px, 3.2vw, 48px); }
.book-progress { list-style: none; display: flex; padding: 0; margin: 0 0 28px; border-bottom: 1px solid var(--line); gap: 10px 22px; flex-wrap: wrap; }
.book-progress li { position: relative; color: var(--muted); font-size: 11px; font-weight: 600; min-height: 30px; padding-bottom: 8px; }
.book-progress li[aria-current="step"] { color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.book-fields { display: grid; gap: 14px; }
.book-fields .segment { width: fit-content; }
.field { display: grid; gap: 6px; min-width: 0; color: var(--ink); font-size: 12px; font-weight: 650; }
.field :is(input,select,textarea) {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #aaa9a1;
  background: var(--white); border-radius: 3px; color: var(--ink); font: 500 14px/1.4 var(--text);
}
.field textarea { resize: vertical; }
.tick { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.55; }
.tick input { flex: none; accent-color: var(--ink); width: 17px; height: 17px; margin-top: 2px; }
.app-form { display: grid; gap: 13px; }
.app-form > .button { width: fit-content; }
.app-form .button:disabled, .app-dialog .button:disabled { opacity: .48; cursor: default; transform: none; }
.book-summary form { margin-top: 19px; }
.book-summary .button[type="submit"] { width: 100%; }
.booking-choice { margin-top: 10px; color: var(--muted); }
.booking-membership { margin-top: 9px; font-weight: 650; font-size: 12px; }
.booking-calendar { display: flex; align-items: end; gap: 11px; flex-wrap: wrap; }
.booking-calendar input { min-width: 178px; }
.tz-note { color: var(--muted); font-size: 11px; padding-bottom: 12px; }
.available-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-button { border: 1px solid var(--line); border-radius: 3px; background: var(--white); font-weight: 650; min-height: 43px; min-width: 72px; }
.slot-button:hover { border-color: var(--ink); }
.slot-button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.app-status { color: var(--muted); min-height: 1em; font-size: 13px; }
.app-status:empty { display: none; }
.app-status.is-error { color: #8a2f2a; }
.book-contact { padding-top: 10px; display: flex; flex-wrap: wrap; gap: 2px 13px; }
.book-receipt { grid-column: 1/-1; max-width: 730px; }
.book-receipt > * + * { margin-top: 12px; }
.guest-code { display: block; font: 600 13px/1.55 monospace; overflow-wrap: anywhere; padding: 12px; background: var(--stone); }
.app-panel-head { display: flex; align-items: end; gap: 17px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 15px; }
.auth-grid, .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.auth-grid { align-items: start; }
.app-card summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-weight: 650; }
.app-card summary + form { margin-top: 12px; }
.guest-panel, .account-list, [data-account-home] > form { margin-top: 17px; }
.guest-panel > h3 + p { margin-top: 8px; }
.inline-form { display: flex; align-items: end; flex-wrap: wrap; margin-top: 12px; }
.inline-form .field { flex: 1; min-width: min(230px, 100%); }
.inline-form .button { min-height: 44px; }
.account-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.account-row:last-child { border-bottom: 0; }
.app-card h3 + div > p:first-child { margin-top: 10px; }
.account-meta { color: var(--muted); font-size: 12px; }
.row-actions, .studio-tabs { display: flex; gap: 6px 12px; flex-wrap: wrap; }
.row-actions .button { font-size: 11px; min-height: 36px; padding: 7px 10px; }
.choice-list { margin: 0; border: 1px solid var(--line); }
.choice-list legend { padding: 0 5px; font-size: 12px; font-weight: 650; }
.choice-list > div { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.app-dialog { width: min(540px,calc(100% - 30px)); }
.app-dialog .available-times { margin: 12px 0; }
.app-dialog .app-status { margin-bottom: 9px; }
.admin-login { max-width: 520px; }
.studio-section { margin-top: 18px; }
.studio-tabs a { min-height: 40px; display: inline-flex; align-items: center; color: var(--muted); }
.studio-offers { border-top: 1px solid var(--line); }
.offer-fields { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; padding: 12px; background: var(--stone); }
.offer-fields .button { width: fit-content; min-height: 38px; align-self: end; }
#studio-block { margin-block: 15px 8px; }
.inquiry-message { white-space: pre-line; overflow-wrap: anywhere; margin-block: 6px; max-width: 68ch; }
.account-shortcut { font-size: 11px; font-weight: 650; text-decoration: none; min-height: 42px; display: inline-flex; align-items: center; }
.account-shortcut:hover { text-decoration: underline; }
.footer-bottom .actions { gap: 14px; }

.plan-index-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 16px 0 20px; text-decoration: none; border-top: 1px solid var(--line); }
.plan-index-row:hover h3 { text-decoration: underline; }
.plan-index-row p { color: var(--muted); max-width: 75ch; margin-top: 7px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,3.8vw,54px); }
.article-grid article { border-top: 1px solid var(--line); padding-block: 17px 10px; }
.article-grid h3 { margin-top: 9px; }
.article-grid p + p, .article-grid h3 + p { margin-top: 10px; color: var(--muted); }
.guide-section .section-head { margin-bottom: clamp(22px, 3vw, 40px); }
.page-blog .guide-section { padding-top: clamp(8px, 1.5vw, 20px); }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.2vw, 46px);
}
.guide-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.guide-card-image {
  overflow: hidden;
  aspect-ratio: 1.4;
  border-radius: 3px;
  background: var(--fog);
  margin-bottom: clamp(14px, 1.7vw, 24px);
}
.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .42s var(--ease), scale .42s var(--ease);
}
.cover-studio-treatment img { object-position: center 49%; }
.cover-eride-smart-dual-closeup img { object-position: center 37%; }
.guide-card-title {
  margin-top: 8px;
  font-size: clamp(27px, 3.05vw, 44px);
  text-wrap: initial;
  overflow-wrap: break-word;
}
.guide-card-description { margin-block: 10px 13px; max-width: 42ch; color: var(--muted); }
.guide-card-read {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 33px;
  margin-top: auto;
  font-size: 12px;
  font-weight: 650;
}
.guide-card > a:is(:hover, :focus-visible) .guide-card-read { text-decoration: underline; }
.guide-card > a:is(:hover, :focus-visible) .guide-card-read .arrow { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .guide-card > a:hover .guide-card-image img { scale: 1.035; }
}
.photo-intro:has(.guide-cover) h1 { font-size: clamp(45px, 6vw, 91px); max-width: 13ch; }
.guide-content {
  display: grid;
  grid-template-columns: minmax(175px, .58fr) minmax(0, 1.42fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: start;
  max-width: 1100px;
}
.guide-content .text-article { max-width: none; min-width: 0; }
.guide-contents { position: sticky; top: calc(var(--masthead-offset, var(--header-height)) + 20px); padding-top: 13px; border-top: 1px solid var(--line); }
.guide-contents ul { margin: 6px 0 0; padding: 0; list-style: none; }
.guide-contents a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
}
.guide-contents a:is(:hover, :focus-visible) { text-decoration: underline; }
.guide-content .text-article section:target { border-top-color: var(--ink); }
.text-article { max-width: min(var(--frame), 770px, 100% - 2 * var(--gutter)); }
.text-article section { border-top: 1px solid var(--line); padding-block: 20px 27px; }
.text-article h2 { font-size: clamp(26px,3.3vw,49px); }
.text-article p, .text-article .button { margin-top: 13px; }
.studio-hours { margin: 7px 0; padding-left: 0; list-style: none; font-size: 12px; }
.partner-row p { margin-block: 8px; }
.result-gallery { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 25px; }
.result-pair > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.privacy-banner { position: fixed; z-index: 16; right: var(--gutter); bottom: 15px; width: min(560px,100% - 2 * var(--gutter)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 10px 24px rgb(0 0 0 / 13%); padding: 15px; font-size: 12px; }
.privacy-banner .actions, #site-privacy .actions { margin-top: 11px; }
.privacy-banner .button { min-height: 38px; font-size: 11px; padding-inline: 9px; }
.footer-help { text-decoration: underline; padding: 0; min-height: 33px; font-size: 12px; color: #e6e2d9; text-align: left; border: 0; background: transparent; }
.search-consult { margin-left: 15px; }
.site-help .assistant-topics { flex-wrap: wrap; margin-block: 13px; }
.site-help form > button { min-height: 42px; }
.help-reply { margin-top: 16px; }
.help-reply:empty { display: none; }
@media (max-width: 730px) {
  .article-grid, .result-gallery { grid-template-columns: minmax(0,1fr); }
  .guide-grid, .guide-content { grid-template-columns: minmax(0, 1fr); }
  .guide-grid { gap: 28px; }
  .guide-contents { position: static; }
  .photo-intro:has(.guide-cover) h1 { font-size: clamp(42px, 10vw, 67px); }
  .privacy-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) { .masthead-inner .account-shortcut { display: none; } }
@media (max-width: 730px) {
  .book-layout, .auth-grid { grid-template-columns: minmax(0,1fr); }
  .book-summary { padding: 18px; }
  .app-panel-head > .field { max-width: 170px; }
  .row-actions { width: 100%; }
}
@media (max-width: 450px) {
  .form-grid, .offer-fields { grid-template-columns: 1fr; }
  .guest-code { font-size: 11px; }
}

