@charset "UTF-8";
:root {
  --ink: #3d3437;
  --muted: #70636a;
  --rose: #956476;
  --rose-dark: #77485c;
  --blush: #f3e8e8;
  --cream: #faf8f5;
  --line: #ebe5e2;
  --white: #fff;
  --green: #557563;
  --shadow: 0 8px 35px #51333e06;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-size: 14px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd8f9e;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #c59aa8;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}
h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1.1px;
  margin-bottom: 12px;
}
h2 {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
small {
  font-size: 12px;
}
svg {
  display: block;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 19px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfd7d5;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  font-size: 14px;
}
textarea {
  resize: vertical;
}
input[readonly] {
  background: #faf7f5;
  color: var(--rose-dark);
}
button {
  border: 0;
  background: none;
  color: inherit;
}
.button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 43px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.primary {
  background: var(--rose);
  color: #fff;
}
.primary:hover {
  background: var(--rose-dark);
}
.secondary {
  border-color: #ddcdcf;
  background: #fff;
  color: var(--rose-dark);
}
.secondary:hover {
  background: #faf2f3;
}
.ghost {
  background: #f8f5f4;
  border-color: var(--line);
}
.whatsapp {
  background: #edf4ee;
  color: #3e6b50;
  border-color: #dce9df;
}
.small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 12px;
}
.wide {
  width: 100%;
}
.text-button,
.subtle-link {
  font-size: 12px;
  color: var(--rose);
  padding: 6px 0;
  line-height: 1.5;
}
.text-button:hover,
.subtle-link:hover {
  text-decoration: underline;
}
.danger {
  color: #a14b4b;
}
.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 25px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: #f6eded;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--rose);
  display: block;
  margin-bottom: 15px;
}
.hint {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.loading {
  padding: 80px;
  text-align: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 90px;
  max-width: 100%;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 245px;
  background: #fffdfb;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  padding: 37px 23px 20px;
  display: flex;
  flex-direction: column;
  z-index: 3;
  overflow-y: auto;
}
.sidebar .brand {
  width: 160px;
  margin: 0 auto 26px;
}
.sidebar-caption {
  font-size: 9px;
  color: #a09699;
  letter-spacing: 1.8px;
  margin: 0 0 17px 16px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
  flex-shrink: 0;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 14px 15px;
  border-radius: 8px;
  font-size: 12px;
  color: #7b7075;
  min-height: 45px;
}
.nav-item > span:first-child {
  font-size: 19px;
  color: #9c828c;
  width: 19px;
  text-align: center;
}
.nav-item.active {
  background: #f3e9ec;
  color: #895e6e;
  font-weight: 600;
}
.nav-item.active > span:first-child {
  color: #895e6e;
}
.nav-item:hover {
  background: #f8f2f3;
}
.count {
  background: #f2e4e7;
  color: #986177;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  white-space: nowrap;
}
.nav-item .count {
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  background: #f7f0ed;
  border-radius: 12px;
  margin: 28px 4px 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.sidebar-note > span:first-child {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a2868c;
}
.sidebar-note p {
  font:
    19px/1.4 Georgia,
    serif;
  color: #7d5d67;
  margin: 10px 0 0;
}
.note-flower {
  position: absolute;
  font-size: 90px;
  color: #dfc6cb;
  right: -20px;
  bottom: -26px;
}
.admin-main {
  margin-left: 245px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 80px;
  background: #fffdfb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 42px;
  gap: 20px;
}
.studio-status {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #84777d;
  font-size: 12px;
}
.studio-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #95ae94;
}
.topbar-date {
  margin-left: auto;
  color: #8b8185;
  font-size: 11px;
}
.avatar {
  background: #f0e5e7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #956376;
  font:
    18px Georgia,
    serif;
}
.content {
  max-width: 1500px;
  padding: 38px 42px 0;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 33px;
  margin-bottom: 8px;
}
.page-heading p {
  font-size: 12px;
  margin: 0;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.page-heading > .button {
  flex-shrink: 0;
}
.welcome-banner {
  background: #f1e5e3;
  border: 1px solid #eadcd9;
  min-height: 255px;
  border-radius: 16px;
  padding: 30px 36px;
  display: flex;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
}
.welcome-banner h2 {
  font-size: 29px;
  line-height: 1.25;
  color: #644c55;
  letter-spacing: -0.5px;
}
.welcome-banner p {
  font-size: 12px;
  margin: 12px 0;
  color: #8b737b;
}
.welcome-banner .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
}
.welcome-banner .text-button {
  font-size: 11px;
  font-weight: 600;
  color: #885d6c;
}
.banner-art {
  position: absolute;
  right: 4%;
  width: 260px;
  height: 260px;
  bottom: -20px;
  pointer-events: none;
  border: 1px solid #ddc6c0;
  border-radius: 140px 140px 0 0;
  background: #efddda;
}
.vase {
  width: 80px;
  height: 100px;
  border-radius: 15px 15px 30px 30px;
  background: repeating-linear-gradient(
    90deg,
    #cfaaa0 0,
    #cfaaa0 4px,
    #c9a295 5px,
    #d4b4a8 7px
  );
  position: absolute;
  bottom: 25px;
  left: 95px;
  transform: rotate(-3deg);
}
.banner-art > span {
  position: absolute;
  left: 29px;
  top: 5px;
  font: 150px Georgia;
  color: #997572;
  transform: rotate(-30deg);
}
.banner-art > i {
  position: absolute;
  right: 12px;
  top: 55px;
  font: 125px Georgia;
  color: #b08c7b;
  transform: rotate(20deg);
}
.banner-art > b {
  position: absolute;
  right: 25px;
  top: 4px;
  font: 45px Georgia;
  color: #a48173;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 0 0 25px;
}
.stats-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 23px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}
.stat p {
  font-size: 11px;
  margin: 0 0 14px;
}
.stat strong {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  display: block;
  margin: 0 0 9px;
  white-space: nowrap;
}
.stat small {
  font-size: 10px;
  color: #958b8f;
}
.stat-icon {
  width: 33px;
  height: 33px;
  background: #f6eef0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #aa8192;
  flex-shrink: 0;
  font-size: 18px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-size: 21px;
  margin: 0;
}
.section-heading p {
  font-size: 11px;
  margin: 6px 0 0;
}
.section-heading .text-button {
  font-size: 11px;
  white-space: nowrap;
}
.appointment-card {
  border-top: 1px solid #f1ecea;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 13px;
}
.appointment-card:last-child {
  padding-bottom: 0;
}
.client-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5e9e8;
  color: #aa7a87;
  font:
    20px Georgia,
    serif;
  flex-shrink: 0;
}
.appointment-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.appointment-info strong {
  font-size: 12px;
  font-weight: 600;
}
.appointment-info > span {
  font-size: 11px;
  color: #8b7c82;
}
.appointment-info small {
  font-size: 10px;
  color: #a1949a;
  line-height: 1.6;
}
.appointment-info .pending-text {
  color: #ab833b;
}
.appointment-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.appointment-actions .text-button {
  font-size: 10px;
}
.appointment-actions .button-row {
  margin: 3px 0;
}
.badge {
  display: inline-flex;
  font-size: 9px;
  line-height: 1.5;
  padding: 5px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.confirmed {
  background: #ecf3eb;
  color: #648269;
}
.pending {
  background: #fbf2e1;
  color: #a18444;
}
.cancelled,
.rejected {
  background: #f6e9e9;
  color: #a16464;
}
.neutral {
  background: #f2eeeb;
  color: #8b7779;
}
.bar-chart {
  padding-top: 8px;
}
.bar-item {
  margin: 0 0 22px;
}
.bar-item > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 11px;
  font-size: 11px;
  color: #89777f;
}
.bar-item strong {
  font-size: 11px;
  font-weight: 500;
  color: #79616d;
  white-space: nowrap;
}
.bar-item svg {
  width: 100%;
  height: 7px;
}
.gentle-note {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 19px;
  color: #a49099;
  font-size: 11px;
  line-height: 1.8;
}
.empty {
  text-align: center;
  padding: 35px 15px;
  color: var(--muted);
}
.empty-flower {
  font-size: 35px;
  color: #c5a5ae;
  display: inline-block;
  margin-bottom: 18px;
}
.empty h3 {
  font-size: 15px;
  color: #8e717e;
  margin: 0 0 8px;
}
.empty p {
  font-size: 12px;
  max-width: 330px;
  margin: 0 auto 16px;
}
.page-footer {
  font:
    16px Georgia,
    serif;
  color: #a08c94;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 25px 0 28px;
  margin-top: 15px;
}
.page-footer span {
  font:
    10px Arial,
    sans-serif;
  color: #b1a3a8;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: flex-end;
  margin-bottom: 8px;
}
.filters label {
  flex: 1 1 130px;
  margin-bottom: 12px;
  min-width: 110px;
  font-size: 10px;
}
.filters input,
.filters select {
  font-size: 12px;
  padding: 10px;
  min-height: 40px;
}
.filters > button {
  margin-bottom: 12px;
  min-height: 40px;
}
.filters label:has(input[type="number"]) {
  flex-basis: 100px;
  max-width: 150px;
}
.agenda-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items: start;
}
.calendar-panel {
  padding: 20px;
}
.calendar-panel h2 {
  font-size: 18px;
  text-transform: capitalize;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin: 10px 0 22px;
}
.day-name {
  text-align: center;
  font-size: 10px;
  color: #ac979f;
  padding: 10px 0;
}
.calendar-day {
  height: 44px;
  border-radius: 9px;
  font-size: 12px;
  position: relative;
}
.calendar-day small {
  position: absolute;
  bottom: 2px;
  left: calc(50% - 7px);
  font-size: 8px;
  width: 14px;
  color: var(--rose);
}
.calendar-day:hover {
  background: #f6ecef;
}
.calendar-day.today {
  border: 1px solid #d4b8c2;
}
.calendar-day.selected {
  background: var(--rose);
  color: #fff;
}
.calendar-day.selected small {
  color: #fff;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: #9a8a92;
  font-weight: 500;
  background: #faf7f6;
  padding: 15px;
}
td {
  padding: 18px 15px;
  border-bottom: 1px solid #f1ebe9;
}
td.amount {
  font-weight: 600;
  color: #806170;
}
tfoot {
  background: #faf5f5;
  font-weight: 600;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.catalog-visibility,
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.catalog-visibility {
  padding-bottom: 17px;
  margin-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
.category-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  text-align: left;
}
.category-filter.selected {
  color: var(--rose-dark);
  background: var(--blush);
  border-color: #cfaebc;
}
.treatment-group {
  margin-bottom: 30px;
}
.service-category {
  margin-bottom: 13px;
  white-space: normal;
}
.restore-service {
  margin-top: 10px;
}
.danger-button {
  color: #963e4a;
  border-color: #e2b8bf;
  background: #fff5f6;
}
.danger-button:hover {
  background: #f7e5e8;
}
dialog.service-modal[open] {
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
  overflow: hidden;
}
.service-modal .modal-heading {
  flex-shrink: 0;
}
.service-editor {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.service-fields {
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}
.service-editor .form-actions {
  flex-shrink: 0;
  flex-wrap: wrap;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.service-remove {
  margin-right: auto;
}
@media (max-width: 650px) {
  .service-editor .service-remove {
    flex-basis: 100%;
    margin-right: 0;
  }
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.service-illustration {
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ead9d4;
  position: relative;
  overflow: hidden;
}
.service-illustration:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 150px;
  border-radius: 70px 70px 0 0;
  border: 1px solid #c9a99f;
  bottom: -20px;
  transform: rotate(25deg);
}
.service-illustration > span {
  font:
    100px Georgia,
    serif;
  color: #af8a80;
  z-index: 1;
}
.service-illustration > small {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #967267;
}
.service-illustration.treatment-photo:before {
  display: none;
}
.service-illustration.treatment-photo {
  display: block;
  height: auto;
}
.treatment-photo > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.treatment-photo > small {
  background: #fff9f2ed;
  padding: 6px 9px;
  border-radius: 5px;
  color: #725356;
}
.choice-symbol.choice-thumbnail {
  display: block;
  width: 84px;
  height: 72px;
  min-width: 0;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0;
}
.choice-thumbnail > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 650px) {
  .choice-symbol.choice-thumbnail {
    width: 64px;
    height: 64px;
  }
}
.pattern-1 {
  background: #e6e4db;
}
.pattern-1 > span {
  color: #a5aa91;
}
.pattern-1:before {
  border-color: #b9bfac;
}
.pattern-2 {
  background: #ecdee6;
}
.pattern-2 > span {
  color: #b29aab;
}
.pattern-2:before {
  border-color: #c4abbc;
}
.service-body {
  padding: 23px;
}
.service-body .section-heading {
  align-items: start;
}
.service-body h2 {
  font-size: 23px;
}
.service-body .catalog-price {
  font-size: 13px;
  color: #9a6f7e;
  padding-top: 5px;
  white-space: nowrap;
}
.service-body > p {
  font-size: 12px;
  min-height: 42px;
}
.service-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9b8a91;
  margin-bottom: 20px;
}
.archived {
  opacity: 0.7;
}
.narrow {
  max-width: 750px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}
.week-fields label {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  font-size: 11px;
  margin-bottom: 12px;
}
.week-fields input {
  font-size: 12px;
}
.notice {
  border-left: 3px solid #c7a58c;
  padding: 13px 16px;
  background: #faf4ec;
  color: #93795f;
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0;
}
.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0e9e6;
  padding: 15px 0;
  font-size: 12px;
}
.compact-row strong {
  font-weight: 500;
}
.compact-row small {
  display: block;
  color: #9d8c93;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.6;
}
.schedule-detail {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.schedule-detail summary {
  font-size: 13px;
  cursor: pointer;
  color: #8d6376;
}
.schedule-detail summary small {
  display: block;
  font-size: 10px;
  margin: 8px 0 0 15px;
  color: #a28f98;
}
.notification.unread strong {
  font-weight: 600;
}
.notification.unread:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bc8a9f;
  flex-shrink: 0;
}
.notification > div {
  flex: 1;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-art {
  background: #eee0dc;
  padding: 40px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: "✳";
  font: 600px Georgia;
  color: #dfc8c2;
  position: absolute;
  right: -200px;
  bottom: -100px;
  pointer-events: none;
  opacity: 0.5;
}
.login-logo {
  display: block;
  width: clamp(180px, 18vw, 250px);
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.login-logo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.login-message {
  max-width: 620px;
}
.login-art > div {
  z-index: 1;
}
.login-art h1 {
  font-size: clamp(26px, 2.1vw, 38px);
  line-height: 1.4;
  letter-spacing: -0.6px;
  margin-bottom: 0;
  color: #6f4f5b;
}
.login-art p {
  font-size: 14px;
  color: #9c7d88;
}
.art-caption {
  font-size: 9px;
  letter-spacing: 2px;
  color: #a3858c;
  z-index: 1;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 50px 30px;
  background: #fdfbf9;
}
.login-card {
  width: 100%;
  max-width: 350px;
}
.login-card h2 {
  font-size: 34px;
  letter-spacing: -0.7px;
}
.login-card > p {
  font-size: 13px;
  margin-bottom: 32px;
}
.login-card .subtle-link {
  display: block;
  text-align: center;
  margin-top: 28px;
}
.login-card .button > span {
  margin-left: auto;
}
.public-layout {
  max-width: 1320px;
  margin: auto;
  padding: 0 65px;
}
.public-header {
  height: 112px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.public-intro {
  padding: 70px 0 60px;
  position: relative;
}
.public-intro h1 {
  font-size: 67px;
  letter-spacing: -2.5px;
  color: #59464d;
  line-height: 1.08;
}
.public-intro em {
  color: #a97889;
  font-weight: 400;
}
.public-intro p {
  font-size: 13px;
  line-height: 1.9;
  margin: 20px 0 0;
}
.intro-stamp {
  position: absolute;
  right: 85px;
  top: 105px;
  width: 140px;
  height: 140px;
  border: 1px solid #d5bdc1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #b18e9a;
  transform: rotate(12deg);
  font-size: 24px;
}
.intro-stamp span {
  font-size: 9px;
  letter-spacing: 3px;
  text-align: center;
  line-height: 1.8;
  padding: 10px;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  margin-bottom: 55px;
}
.step-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.step-heading > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font:
    17px Georgia,
    serif;
  color: #b3919e;
  background: #f0e4e7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.step-heading h2 {
  font-size: 25px;
  margin: 0 0 6px;
}
.step-heading p {
  font-size: 11px;
  margin: 0;
}
.public-services {
  display: grid;
  gap: 15px;
}
.treatment-choice {
  background: #fff;
  border: 1px solid #e7dedd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px;
  text-align: left;
  transition:
    border 0.15s,
    background 0.15s;
  width: 100%;
}
.treatment-choice.selected {
  border: 1.5px solid #b58b9d;
  background: #faf3f4;
}
.treatment-choice:hover {
  border-color: #b58b9d;
}
.choice-symbol {
  color: #b39693;
  font:
    44px Georgia,
    serif;
  min-width: 42px;
  text-align: center;
}
.treatment-choice > span:nth-child(2) {
  display: grid;
  gap: 8px;
  flex: 1;
}
.treatment-choice strong {
  font:
    22px Georgia,
    serif;
  color: #745764;
}
.treatment-choice small {
  font-size: 11px;
  line-height: 1.7;
  color: #9a8890;
}
.choice-meta {
  font-size: 12px;
  color: #a3788a;
  margin-top: 4px;
}
.choice-meta b {
  margin: 0 10px;
  color: #cfb6bf;
  font-weight: 400;
}
.choice-check {
  font-size: 20px;
  color: #b896a4;
}
.booking-panel {
  padding: 31px;
  border-radius: 15px;
}
.booking-step {
  padding-top: 25px;
  border-top: 1px solid var(--line);
  margin-top: 23px;
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 22px;
}
.slot {
  margin: 0;
  display: block;
  position: relative;
  font-weight: 400;
}
.slot input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
}
.slot span {
  display: block;
  min-width: 70px;
  text-align: center;
  padding: 11px;
  border: 1px solid #e6d9df;
  border-radius: 8px;
  color: #9a7184;
  font-size: 12px;
  cursor: pointer;
}
.slot input:checked + span {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.slot input:focus-visible + span {
  outline: 3px solid #b68e9e;
  outline-offset: 3px;
}
.booking-policy {
  text-align: center;
  font-size: 10px;
  line-height: 1.7;
  margin: 15px 0 0;
}
.public-help {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  gap: 23px;
  align-items: center;
}
.public-help > span {
  font-size: 33px;
  color: #bf9ba8;
}
.public-help h3 {
  font:
    20px Georgia,
    serif;
  margin: 0 0 7px;
}
.public-help p {
  font-size: 11px;
  margin: 0;
}
.public-help .text-button {
  margin-left: auto;
  white-space: nowrap;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 45px 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.public-footer .brand {
  width: 90px;
}
.public-footer p {
  font-size: 10px;
  margin: 0;
}
.public-footer > span {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #a7949b;
}
.manage-main {
  max-width: 750px;
  margin: 50px auto;
}
.manage-card {
  text-align: center;
  padding: 45px;
}
.confirmation-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  font-size: 30px;
  background: #f0e5e8;
  border-radius: 50%;
  color: #a5798c;
}
.manage-card h1 {
  font-size: 35px;
  line-height: 1.25;
}
.manage-card > p {
  font-size: 13px;
}
.booking-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: left;
  padding: 25px;
  background: #faf6f5;
  border-radius: 10px;
  gap: 28px;
  margin: 30px 0;
}
.booking-summary small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #b0929f;
  margin-bottom: 10px;
}
.booking-summary strong {
  font-size: 13px;
  font-weight: 500;
}
.manage-card > .button-row {
  justify-content: center;
}
.private-link {
  background: #faf7f5;
  text-align: left;
  padding: 23px;
  border-radius: 10px;
  margin: 27px 0;
}
.private-link h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.private-link p {
  font-size: 11px;
}
.private-link input {
  font-size: 12px;
}
.edit-booking {
  text-align: left;
  border-top: 1px solid var(--line);
  margin: 25px 0;
  padding-top: 20px;
}
.edit-booking summary {
  font:
    22px Georgia,
    serif;
  cursor: pointer;
  color: #9b7285;
  padding: 5px 0 20px;
}
dialog {
  border: 1px solid #e4d8da;
  border-radius: 16px;
  width: min(620px, calc(100% - 30px));
  max-height: 90vh;
  padding: 28px;
  box-shadow: 0 25px 80px #4b2d4a2e;
  color: var(--ink);
}
dialog::backdrop {
  background: #37242c65;
  backdrop-filter: blur(4px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-heading h2 {
  font-size: 27px;
  margin: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 25px 0 0;
}
.detail-client {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0 25px;
}
.detail-client h3 {
  margin: 0 0 5px;
}
.detail-client > div > span {
  color: var(--muted);
  font-size: 12px;
}
.detail-client > .badge {
  margin-left: auto;
}
.modal-extra {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 25px;
}
.modal-extra details {
  margin-top: 22px;
  font-size: 12px;
}
.modal-extra summary {
  cursor: pointer;
  color: var(--rose);
  padding: 10px 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 15px 23px;
  background: #576d5b;
  color: #fff;
  border-radius: 10px;
  z-index: 20;
  max-width: min(560px, 90vw);
  font-size: 13px;
  box-shadow: 0 10px 35px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  line-height: 1.6;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #9b5964;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 48px;
  }
  .welcome-banner {
    min-height: 280px;
  }
  .welcome-banner h2 {
    font-size: 34px;
  }
  .banner-art {
    right: 9%;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding: 30px 15px 15px;
  }
  .sidebar .brand {
    width: 145px;
  }
  .admin-main {
    margin-left: 210px;
  }
  .content {
    padding: 30px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 20px 14px;
  }
  .stat-icon {
    display: none;
  }
  .stat strong {
    font-size: 25px;
  }
  .dashboard-grid {
    gap: 17px;
    grid-template-columns: 1.2fr 1fr;
  }
  .panel {
    padding: 22px;
  }
  .appointment-card {
    gap: 10px;
  }
  .client-avatar {
    width: 34px;
    height: 34px;
  }
  .agenda-layout {
    grid-template-columns: 280px 1fr;
    gap: 17px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .banner-art {
    right: -25px;
  }
  .welcome-banner > div:first-child {
    position: relative;
    z-index: 1;
  }
  .welcome-banner {
    padding: 28px;
  }
  .public-layout {
    padding: 0 40px;
  }
  .booking-layout {
    gap: 35px;
  }
  .login-art {
    padding: 45px;
  }
  .login-art h1 {
    font-size: 29px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 180px;
    padding: 28px 10px 15px;
  }
  .sidebar .brand {
    width: 135px;
  }
  .nav-item {
    padding: 12px 10px;
    font-size: 11px;
    gap: 8px;
  }
  .admin-main {
    margin-left: 180px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .agenda-layout {
    grid-template-columns: 1fr;
  }
  .calendar-panel {
    max-width: 440px;
  }
  .stat-icon {
    display: grid;
  }
  .banner-art {
    opacity: 0.55;
  }
  .welcome-banner h2 {
    font-size: 27px;
  }
  .service-grid {
    gap: 15px;
  }
  .service-body {
    padding: 18px;
  }
  .service-body .section-heading {
    display: block;
  }
  .service-body h2 {
    margin-bottom: 8px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .public-intro h1 {
    font-size: 56px;
  }
  .public-layout {
    padding: 0 30px;
  }
  .intro-stamp {
    right: 25px;
  }
  .booking-layout {
    gap: 25px;
  }
  .booking-panel {
    padding: 24px;
  }
  .treatment-choice {
    padding: 20px 15px;
    gap: 12px;
  }
  .treatment-choice strong {
    font-size: 20px;
  }
  .choice-symbol {
    font-size: 33px;
    min-width: 32px;
  }
  .public-footer p {
    display: none;
  }
  .public-help {
    flex-wrap: wrap;
  }
  .public-help .text-button {
    margin-left: 0;
  }
  .login-art {
    padding: 35px;
  }
  .login-art h1 {
    font-size: 26px;
  }
}
@media (max-width: 850px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 32px;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 30px;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 20px 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #fffdfb;
  }
  .sidebar .brand {
    width: 112px;
    margin: 0 0 20px 8px;
  }
  .sidebar-caption,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    margin: 0 -16px;
    padding: 0 13px 12px;
    scrollbar-width: thin;
  }
  .nav-item {
    padding: 10px 12px;
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 11px;
    gap: 7px;
    min-height: 40px;
  }
  .nav-item > span:first-child {
    font-size: 16px;
  }
  .admin-main {
    margin: 0;
  }
  .topbar {
    height: 57px;
    padding: 0 20px;
  }
  .topbar-date {
    font-size: 10px;
  }
  .content {
    padding: 25px 17px 0;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading > .button {
    padding: 10px 14px;
    font-size: 11px;
    min-height: 38px;
  }
  .welcome-banner {
    min-height: 245px;
    padding: 26px 23px;
    margin-bottom: 18px;
  }
  .welcome-banner h2 {
    font-size: 25px;
  }
  .welcome-banner .eyebrow {
    font-size: 7px;
  }
  .welcome-banner p {
    font-size: 11px;
    max-width: 230px;
  }
  .banner-art {
    right: -135px;
    opacity: 0.45;
    width: 245px;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 18px 15px;
  }
  .stat p {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat-icon {
    display: none;
  }
  .stats-grid.three {
    grid-template-columns: 1fr;
  }
  .stats-grid.three .stat-icon {
    display: grid;
  }
  .stats-grid.three .stat {
    padding: 20px;
  }
  .dashboard-grid,
  .agenda-layout {
    gap: 0;
  }
  .panel {
    padding: 21px 17px;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 22px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .appointment-card {
    gap: 10px;
  }
  .appointment-actions {
    gap: 5px;
  }
  .appointment-actions .badge {
    font-size: 8px;
  }
  .appointment-info small {
    font-size: 9px;
  }
  .appointment-info > span {
    font-size: 10px;
  }
  .appointment-info strong {
    font-size: 12px;
  }
  .appointment-actions .button-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .appointment-actions .small {
    font-size: 10px;
  }
  .client-avatar {
    width: 31px;
    height: 31px;
    font-size: 17px;
  }
  .calendar-panel {
    max-width: none;
  }
  .calendar-day {
    height: 48px;
  }
  .filters {
    gap: 10px;
  }
  .filters label {
    flex-basis: 120px;
    min-width: 100px;
  }
  .filters > button {
    font-size: 11px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-illustration {
    height: 150px;
  }
  .service-body {
    padding: 23px;
  }
  .service-body .section-heading {
    display: flex;
  }
  .service-body h2 {
    font-size: 25px;
  }
  .form-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }
  .week-fields label {
    grid-template-columns: 75px 1fr;
    gap: 8px;
    font-size: 10px;
  }
  .week-fields input {
    padding: 12px 9px;
    font-size: 11px;
  }
  .page-footer span {
    font-size: 9px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 30px;
    min-height: 260px;
  }
  .login-art .login-logo {
    width: 165px;
    align-self: center;
  }
  .login-art h1 {
    font-size: 25px;
    line-height: 1.4;
  }
  .login-art > div > p,
  .art-caption {
    display: none;
  }
  .login-art:after {
    font-size: 400px;
    right: -100px;
    bottom: -150px;
  }
  .login-art .eyebrow {
    font-size: 8px;
  }
  .login-panel {
    padding: 40px 25px;
  }
  .login-card h2 {
    font-size: 31px;
  }
  .public-layout {
    padding: 0 21px;
  }
  .public-header {
    height: 97px;
  }
  .public-header .brand {
    width: 78px;
  }
  .public-header .subtle-link {
    font-size: 10px;
  }
  .public-intro {
    padding: 42px 0 38px;
  }
  .public-intro .eyebrow {
    font-size: 8px;
  }
  .public-intro h1 {
    font-size: 51px;
    line-height: 1.1;
    letter-spacing: -1.5px;
  }
  .public-intro p {
    font-size: 12px;
    max-width: 290px;
    margin-top: 20px;
  }
  .public-intro p br {
    display: none;
  }
  .intro-stamp {
    display: none;
  }
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 15px;
  }
  .step-heading h2 {
    font-size: 24px;
  }
  .step-heading > span {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .step-heading p {
    font-size: 10px;
  }
  .treatment-choice {
    padding: 21px 18px;
    gap: 17px;
  }
  .treatment-choice strong {
    font-size: 23px;
  }
  .choice-symbol {
    font-size: 35px;
  }
  .booking-panel {
    padding: 25px 20px;
  }
  .public-help {
    gap: 15px;
    padding: 27px 0;
  }
  .public-help > span {
    font-size: 27px;
  }
  .public-help h3 {
    font-size: 20px;
  }
  .public-help p {
    font-size: 10px;
    max-width: 250px;
  }
  .public-help .text-button {
    font-size: 11px;
  }
  .public-footer {
    padding: 32px 0;
    gap: 15px;
  }
  .public-footer > span {
    font-size: 7px;
  }
  .public-footer .brand {
    width: 78px;
  }
  .manage-main {
    margin: 25px auto;
  }
  .manage-card {
    padding: 28px 19px;
  }
  .manage-card h1 {
    font-size: 29px;
  }
  .booking-summary {
    padding: 20px;
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .booking-summary strong {
    font-size: 13px;
  }
  .manage-card > .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .private-link {
    padding: 19px;
  }
  .private-link input {
    font-size: 11px;
  }
  dialog {
    padding: 23px 18px;
    max-height: 90dvh;
  }
  .modal-heading h2 {
    font-size: 25px;
  }
  .detail-client {
    gap: 10px;
    flex-wrap: wrap;
  }
  .detail-client > .badge {
    margin-left: 0;
  }
  .form-actions .button {
    font-size: 12px;
    padding: 12px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Una sola interfaz; la navegación y los pasos se adaptan a la pantalla. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
input, select, textarea { min-width: 0; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
body:has(dialog[open]) { overflow: hidden; }
.mobile-menu-trigger, .mobile-bottom-nav, .booking-progress,
.mobile-booking-summary, .mobile-only, .login-mobile-message { display: none; }
.public-layout, .booking-layout > *, .treatment-choice > span:nth-child(2) { min-width: 0; }
.booking-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.treatment-choice strong, .appointment-info, .notification > div,
.compact-row > div, .booking-summary strong { overflow-wrap: anywhere; }
.public-category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.public-category-filters button {
  border: 1px solid var(--line); border-radius: 24px; padding: 10px 17px;
  min-height: 44px; font-size: 14px; background: #fff; color: var(--rose-dark);
}
.public-category-filters button[aria-pressed="true"] { background: var(--rose-dark); color: #fff; border-color: var(--rose-dark); }
.filter-disclosure > summary { cursor: pointer; font-size: 14px; color: var(--rose-dark); padding: 10px 0; }
.filter-disclosure[open] > summary { margin-bottom: 12px; }
.mobile-menu .nav-item { min-height: 48px; font-size: 15px; }
.mobile-menu > .button { margin-top: 12px; }
#modal-title { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  :root { font-size: 16px; }
  .button, .button.small, .icon-button, .text-button, .subtle-link,
  .category-filter, .nav-item { min-height: 44px; }
  .button, .button.small { font-size: 14px; padding: 12px 16px; }
  .text-button, .subtle-link { display: inline-flex; align-items: center; font-size: 14px; }
  .icon-button { width: 44px; height: 44px; flex-shrink: 0; }
  label { font-size: 14px; gap: 8px; line-height: 1.5; }
  input, select, textarea, .filters input, .filters select, .week-fields input, .private-link input {
    font-size: 16px; min-height: 48px; line-height: 1.4; padding: 12px; border-radius: 10px;
  }
  input[type="date"], input[type="time"] { min-inline-size: 0; }
  .hint, .section-heading p, .page-heading p, .booking-policy, .private-link p,
  .public-help p, .step-heading p, .treatment-choice small, .service-body p {
    font-size: 14px; line-height: 1.6; color: var(--muted);
  }
  .eyebrow { font-size: 10px; }
  h1, .page-heading h1 { font-size: clamp(28px, 6.5vw, 34px); line-height: 1.2; }
  h2, .section-heading h2 { font-size: 23px; }
  .section-heading { flex-wrap: wrap; align-items: flex-start; }
  .section-heading .text-button { white-space: normal; font-size: 14px; }
  .admin-layout { display: block; }
  .sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .topbar {
    position: sticky; top: 0; z-index: 5; min-height: 68px; height: auto;
    padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); gap: 12px;
  }
  .topbar .avatar, .topbar-date, .topbar-logout { display: none; }
  .studio-status { font-size: 13px; min-width: 0; flex: 1; line-height: 1.4; overflow-wrap: anywhere; }
  .studio-status i { flex-shrink: 0; }
  .mobile-menu-trigger { display: inline-flex; }
  .mobile-bottom-nav {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed;
    bottom: 0; left: 0; right: 0; z-index: 6; background: #fffdfb;
    border-top: 1px solid #d9cbd0; box-shadow: 0 -4px 20px #51333e0a;
    padding: 6px env(safe-area-inset-right) calc(6px + env(safe-area-inset-bottom)) env(safe-area-inset-left);
  }
  .mobile-bottom-nav button { min-height: 52px; position: relative; font-size: 13px; border-radius: 10px; color: var(--muted); padding: 14px 4px; }
  .mobile-bottom-nav button[aria-current="page"] { background: var(--blush); color: var(--rose-dark); font-weight: 700; }
  .mobile-bottom-nav .count { padding: 2px 5px; font-size: 10px; position: absolute; top: -2px; right: 8px; }
  .content { padding: 24px max(16px, env(safe-area-inset-right)) calc(88px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .page-heading { flex-wrap: wrap; margin-bottom: 22px; gap: 14px; }
  .page-heading .eyebrow { font-size: 10px; }
  .page-heading > .button { font-size: 14px; min-height: 46px; }
  .panel { padding: 20px 16px; margin-bottom: 18px; }
  .welcome-banner { min-height: 0; padding: 24px; }
  .welcome-banner h2 { font-size: 26px; }
  .welcome-banner .eyebrow { font-size: 10px; }
  .welcome-banner p { font-size: 14px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
  .stat { padding: 18px 14px; min-width: 0; }
  .stat p, .stat small { font-size: 12px; color: var(--muted); line-height: 1.5; }
  .stat strong { font-size: clamp(22px, 5.5vw, 30px); white-space: normal; overflow-wrap: anywhere; }
  .stat-icon { display: none; }
  .appointment-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 12px; padding: 20px 0; }
  .client-avatar { width: 36px; height: 36px; }
  .appointment-info strong { font-size: 15px; line-height: 1.5; }
  .appointment-info > span, .appointment-info small { font-size: 13px; line-height: 1.6; color: var(--muted); }
  .appointment-actions { grid-column: 1 / -1; width: 100%; margin: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  .appointment-actions .text-button { font-size: 14px; }
  .appointment-actions .button-row { flex-direction: row; width: 100%; margin: 0; gap: 12px; }
  .appointment-actions .button-row > button { flex: 1; min-height: 48px; font-size: 15px; }
  .badge, .appointment-actions .badge { font-size: 12px; white-space: normal; }
  .pending { color: #765918; }
  .confirmed { color: #3f6344; }
  .neutral { color: #6f575d; }
  .dashboard-grid, .agenda-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .calendar-panel { max-width: none; }
  .calendar-grid { gap: 2px; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .calendar-day { min-width: 0; height: 48px; font-size: 14px; }
  .calendar-day small { font-size: 10px; }
  .day-name { font-size: 12px; color: var(--muted); }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }
  .filters label, .filters label:has(input[type="number"]) { min-width: 0; max-width: none; margin: 0; font-size: 14px; }
  .filters > button { font-size: 14px; margin: 0; min-height: 48px; }
  .income-table, .income-table tbody, .income-table tfoot { display: block; width: 100%; white-space: normal; }
  .income-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .income-table tbody tr { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .income-table td { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 0; border: 0; font-size: 14px; overflow-wrap: anywhere; }
  .income-table td::before { content: attr(data-label); font-size: 12px; color: var(--muted); font-weight: 400; }
  .income-table td[data-label="Acciones"] { align-items: center; }
  .income-table tfoot tr { display: grid; padding: 12px; }
  .income-table tfoot td::before { display: none; }
  .table-scroll { overflow: visible; }
  .service-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
  .service-body { padding: 20px; }
  .service-body h2 { font-size: 24px; }
  .service-meta { font-size: 14px; flex-wrap: wrap; gap: 8px; }
  .category-filter { font-size: 13px; padding: 10px 13px; white-space: normal; }
  .week-fields label { display: flex; flex-direction: column; align-items: stretch; font-size: 14px; gap: 8px; }
  .schedule-detail summary, .notification { font-size: 14px; }
  .compact-row { gap: 12px; flex-wrap: wrap; }
  .compact-row small, .notification small { font-size: 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .login-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 100dvh; }
  .login-art { padding: 18px 24px; min-height: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; }
  .login-art .login-logo { width: 72px; }
  .login-art::after, .login-message, .art-caption { display: none; }
  .login-mobile-message { display: block; min-width: 0; color: var(--rose-dark); }
  .login-mobile-message summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-family: Georgia, serif; font-size: 18px; }
  .login-mobile-message p { font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
  .login-panel { padding: 28px 24px; align-items: start; }
  .login-card { max-width: 440px; }
  .login-card h2 { font-size: 30px; }
  .login-card > p { font-size: 14px; margin-bottom: 24px; }
  .public-layout { padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .public-header { height: 92px; }
  .public-header .brand { width: 66px; }
  .public-header .subtle-link { font-size: 14px; }
  .public-intro { padding: 28px 0 22px; }
  .public-intro .eyebrow { font-size: 10px; }
  .public-intro h1 { font-size: clamp(36px, 8.5vw, 48px); line-height: 1.12; letter-spacing: -1px; }
  .public-intro h1 br { display: none; }
  .public-intro p { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 600px; }
  .booking-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: sticky; top: 0; z-index: 3; gap: 6px; padding: 10px 0; margin-bottom: 18px; background: var(--cream); }
  .booking-progress button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px; border-radius: 10px; min-height: 66px; font-size: 13px; color: var(--muted); }
  .booking-progress b { border: 1px solid #d9c2cb; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; font-weight: 400; }
  .booking-progress [aria-current="step"] { background: var(--blush); color: var(--rose-dark); font-weight: 700; }
  .booking-progress [aria-current="step"] b { background: var(--rose-dark); color: #fff; border-color: var(--rose-dark); }
  .booking-layout { display: block; margin-bottom: 20px; }
  .step-heading { gap: 12px; margin-bottom: 20px; }
  .step-heading h2 { font-size: 25px; }
  .step-heading > span { display: none; }
  .public-category-filters { gap: 8px; }
  .public-category-filters button { padding: 9px 14px; }
  .catalog-image-note { margin-bottom: 16px; }
  .treatment-choice { gap: 12px; padding: 16px 12px; }
  .treatment-choice strong { font-size: 21px; line-height: 1.25; }
  .choice-symbol.choice-thumbnail { width: 56px; height: 70px; }
  .choice-check { font-size: 20px; flex-shrink: 0; }
  .booking-panel { padding: 22px 16px; }
  .mobile-booking-summary { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; background: #faf3f4; border-radius: 10px; margin: 0 0 22px; }
  .mobile-booking-summary strong { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
  .mobile-booking-summary .text-button { font-size: 14px; }
  .mobile-only { display: inline-flex; }
  .public-layout[data-booking-step="1"] .booking-panel,
  .public-layout[data-booking-step="2"] .booking-treatment-step,
  .public-layout[data-booking-step="2"] .booking-contact-step,
  .public-layout[data-booking-step="3"] .booking-treatment-step,
  .public-layout[data-booking-step="3"] .booking-time-step,
  .public-layout:not([data-booking-step="1"]) .public-intro { display: none; }
  .booking-contact-step .booking-step { border: 0; padding-top: 0; margin-top: 0; }
  .slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .slots > p { grid-column: 1 / -1; }
  .slot span { display: grid; place-items: center; min-width: 0; min-height: 48px; padding: 12px 6px; font-size: 15px; color: var(--rose-dark); }
  .slot input:checked + span { color: #fff; }
  .public-help { display: flex; flex-wrap: wrap; gap: 8px; }
  .public-help p { max-width: none; }
  .public-help .text-button { font-size: 14px; white-space: normal; }
  .public-footer > span { font-size: 10px; }
  .manage-main { margin: 24px 0; }
  .manage-card { padding: 24px 16px; }
  .manage-card h1 { font-size: 28px; }
  .manage-card > p, .booking-summary strong { font-size: 15px; }
  .booking-summary { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
  .booking-summary small { font-size: 11px; color: var(--muted); }
  .manage-card > .button-row { flex-direction: column; align-items: stretch; }
  .private-link { padding: 16px; }
  .private-link h3 { font-size: 16px; }
  dialog, dialog.service-modal[open] { width: calc(100% - 24px); max-width: 620px; max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 20px 16px; }
  .modal-heading { gap: 12px; margin-bottom: 20px; }
  .modal-heading h2 { font-size: 25px; }
  .form-actions { flex-wrap: wrap; gap: 10px; }
  .form-actions > .button { flex: 1; min-width: 120px; }
  .service-editor .form-actions { margin-top: 10px; padding-top: 12px; }
  .service-editor .service-remove { flex-basis: 100%; margin-right: 0; }
  .detail-client { flex-wrap: wrap; }
  .detail-client > .badge { margin-left: 0; }
  #toast { bottom: calc(85px + env(safe-area-inset-bottom)); font-size: 14px; width: max-content; max-width: calc(100vw - 32px); }
  .page-footer { gap: 12px; flex-wrap: wrap; }
  .page-footer span { font-size: 11px; }
}
@media (max-width: 359px) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .public-category-filters button { padding: 9px 11px; font-size: 13px; }
  .treatment-choice { gap: 10px; }
  .choice-symbol.choice-thumbnail { width: 48px; }
  .mobile-bottom-nav button { font-size: 12px; }
}

/* Directorio privado, importación y recuperación del nombre por WhatsApp. */
.client-search { display: flex; gap: 12px; align-items: end; margin: 24px 0 16px; }
.client-search label { flex: 1; margin: 0; min-width: 0; }
.client-list { display: grid; gap: 14px; margin: 20px 0; }
.client-card { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.client-card h3 { font-size: 23px; margin: 0 0 8px; overflow-wrap: anywhere; }
.client-card p { margin: 0 0 8px; }
.client-card small { color: var(--muted); }
.client-card .button-row { align-self: center; flex-wrap: wrap; }
.client-options { display: grid; max-height: 220px; overflow-y: auto; gap: 6px; margin-bottom: 12px; }
.client-option { display: grid; text-align: left; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); min-height: 56px; }
.client-option small { color: var(--muted); }
.client-option:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 2px; }
.import-rows { display: grid; gap: 10px; margin: 18px 0; }
.import-row { display: flex; flex-direction: row; align-items: start; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; margin: 0; }
.import-row > input[type="checkbox"] { width: 24px; height: 24px; min-height: 24px; flex: 0 0 24px; margin: 0; accent-color: var(--rose-dark); }
.import-row > span { display: grid; gap: 7px; overflow-wrap: anywhere; min-width: 0; }
.import-row small { font-weight: 400; color: var(--muted); }
.import-row.invalid { background: #fff5f2; }
.import-row.duplicate { background: var(--cream); }
.verification-code { font-size: 36px; letter-spacing: 6px; text-align: center; font-variant-numeric: tabular-nums; }
.contact-verification { background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 16px 0; }
.public-contact > .button { margin: 0 0 22px; white-space: normal; }
.weekday-builder { border: 1px solid var(--line); padding: 16px; border-radius: 10px; margin: 20px 0; min-width: 0; }
.slots { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.slot span { white-space: nowrap; }
@media (max-width: 900px) {
  .client-search, .client-card { flex-direction: column; align-items: stretch; }
  .client-card { padding: 16px; gap: 14px; }
  .client-card .button-row { align-self: stretch; gap: 10px; }
  .client-card .button-row > * { flex: 1; }
  .client-card small, .client-option small, .import-row small { font-size: 13px; }
  .client-card h3 { font-size: 22px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot span { font-size: 14px; padding: 12px 4px; }
}
