body:has(#plansView:not(.hidden)){background:#f5f4eb;color:#222920;--accent:#405a43;--ink:#fff;--panel:#fff;--line:#d9ded2;--muted:#5e675c}body:has(#plansView[data-rubro=nails]:not(.hidden)){background:#fff2f4;color:#3d292f;--accent:#a34e78;--line:#ead9e1;--muted:#735e68}body:has(#plansView:not(.hidden)) .top{background:transparent}body:has(#plansView:not(.hidden)) .badge{border-color:var(--line);letter-spacing:0;text-transform:none}body:has(#plansView:not(.hidden)) .btn.sub{background:var(--accent);color:white}#plansView{padding-bottom:40px}#plansView .ts-hero{text-align:center;padding:26px 0 42px} .ts-switch{display:flex;width:244px;max-width:100%;margin:0 auto 30px;padding:4px;gap:4px;border-radius:99px;background:color-mix(in srgb,var(--accent) 12%,transparent)}.ts-switch button{flex:1;border:0;border-radius:99px;background:transparent;color:inherit;padding:10px 6px;font-size:14px;font-weight:650;white-space:nowrap}.ts-switch button[aria-pressed=true]{background:var(--accent);color:white}.ts-kicker{color:var(--accent);font-weight:650;font-size:13px;letter-spacing:.02em}.ts-hero h1{font-size:clamp(38px,7vw,76px);line-height:1.05;letter-spacing:-.055em;margin:12px auto;max-width:850px}.ts-hero h1 span,.ts-section h2 span{color:var(--accent)}.ts-intro{max-width:490px;margin:18px auto;color:var(--muted)}.ts-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.ts-showcase{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:28px;background:color-mix(in srgb,var(--accent) 9%,transparent);border-radius:26px;padding:clamp(16px,4vw,38px)}.ts-copy{text-align:center}.ts-copy h2,.ts-section h2,#plansTitle{font-size:clamp(27px,4vw,42px);line-height:1.12;letter-spacing:-.04em;text-align:center}.ts-demo{border:1px solid var(--line);background:white;border-radius:22px;overflow:hidden;box-shadow:0 12px 35px #0000000b}.ts-demo-cover{display:grid;place-items:center;gap:8px;background:var(--accent);color:white;padding:25px 12px;text-align:center}.ts-demo-cover>span:first-child{font-size:29px}.ts-demo-brand{font-size:25px;font-family:Georgia,serif}.ts-demo-body{padding:20px;color:#292929}.ts-demo-body h3{text-align:center;margin-top:0}.ts-demo-body label{font-size:12px}.ts-demo-body select{background:white;color:#292929;border:1px solid var(--line)}.ts-services{display:grid;gap:7px;margin-bottom:16px}.ts-services button,.ts-hours button{background:#fff;color:#292929;border:1px solid var(--line);border-radius:10px;padding:10px;text-align:left}.ts-services button[aria-pressed=true],.ts-hours button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,white)}.ts-services button span{display:block;font-size:12px;color:#666}.ts-hours{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}.ts-hours button{text-align:center}.ts-demo-body .btn{width:100%}.ts-section{text-align:center;padding:38px 0 10px}.ts-section>p{max-width:570px;margin:12px auto}.ts-features{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px;text-align:left}.ts-features article{background:white;border:1px solid var(--line);border-radius:16px;padding:18px}.ts-features article b{font-size:23px;color:var(--accent)}.ts-features article h3{margin:8px 0;font-size:16px}.ts-features article p{font-size:13px;color:var(--muted);margin:0}.ts-dashboard{max-width:650px;margin:20px auto;background:white;border:1px solid var(--line);border-radius:18px;text-align:left;padding:18px}.ts-dashboard-title{display:flex;justify-content:space-between;gap:12px}.ts-dashboard-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.ts-dashboard-row strong{color:var(--accent)}.ts-dashboard-row span{flex:1}.ts-dashboard-foot{font-size:12px;color:var(--muted);padding-top:16px}.ts-swatches{display:flex;justify-content:center;gap:10px;margin:22px}.ts-swatches span{width:40px;height:40px;border-radius:50%;background:var(--accent)}.ts-swatches span:nth-child(2){background:color-mix(in srgb,var(--accent) 50%,white)}.ts-swatches span:nth-child(3){background:#e5d6bf}.ts-swatches span:nth-child(4){background:#292929}.ts-faq details{text-align:left;max-width:650px;margin:10px auto;background:white;border-radius:12px;padding:14px}.ts-faq .btn{margin-top:16px}#plansView .plan-card{background:#fff;color:inherit;border-color:var(--line)}#plansView .plan-card .price{color:var(--accent)}#plansView .plan-card .limit,#plansView .plan-card .next-tier{color:var(--muted)}@media(max-width:650px){.ts-showcase{grid-template-columns:1fr;gap:10px}.ts-features{grid-template-columns:repeat(2,minmax(0,1fr))}.ts-features article{padding:13px}.ts-hero h1{font-size:40px}.ts-hero .tiny{font-size:12px}.ts-section{padding-top:27px}body:has(#plansView:not(.hidden)) .top .wrap{min-height:60px}}
/* v3.17: fotografía editorial por rubro; color de respaldo si la red falla. */
#plansView{--work-photo:url('https://images.pexels.com/photos/7518731/pexels-photo-7518731.jpeg?auto=compress&cs=tinysrgb&w=1200');--hero-paper:#f5f4eb;--photo-tint:rgba(64,90,67,.63)}
#plansView[data-rubro=nails]{--work-photo:url('https://images.pexels.com/photos/4783337/pexels-photo-4783337.jpeg?auto=compress&cs=tinysrgb&w=1200');--hero-paper:#fff2f4;--photo-tint:rgba(116,44,80,.65)}
#plansView .ts-hero{position:relative;isolation:isolate;border-radius:26px;padding-inline:12px;overflow:hidden}
#plansView .ts-hero::before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(180deg,var(--hero-paper) 0%,color-mix(in srgb,var(--hero-paper) 89%,transparent) 24%,color-mix(in srgb,var(--hero-paper) 85%,transparent) 70%,var(--hero-paper) 100%),var(--work-photo);background-size:cover;background-position:center 42%;pointer-events:none}
#plansView .ts-demo-cover{background-color:var(--accent);background-image:linear-gradient(var(--photo-tint),var(--photo-tint)),var(--work-photo);background-size:cover;background-position:center 48%;min-height:170px;text-shadow:0 1px 4px #0009}
@media(max-width:650px){#plansView .ts-hero{padding-inline:4px;border-radius:18px}#plansView .ts-demo-cover{min-height:150px}}

/* The booking example and comparison share the active category palette. */
body:has(#plansView:not(.hidden)) {
  background: #f2f1e7;
  --accent: #46553b;
  --panel: #fffdf6;
  --line: #d6dacb;
}
body:has(#plansView[data-rubro=nails]:not(.hidden)) {
  background: #fcf4ed;
  --accent: #8d4663;
  --panel: #fffcf7;
  --line: #ead9de;
}
#plansView {
  --hero-paper: #f2f1e7;
  --photo-tint: #273220a8;
  --surface: #fffdf6;
  --serif: Georgia, 'Times New Roman', serif;
}
#plansView[data-rubro=nails] {
  --hero-paper: #fcf4ed;
  --photo-tint: #552b44a8;
  --surface: #fffcf7;
}
#plansView .ts-hero {
  padding: clamp(18px, 5vw, 52px) clamp(12px, 4vw, 40px) clamp(35px, 7vw, 72px);
  border-radius: clamp(16px, 4vw, 52px);
}
#plansView .ts-hero::before {
  background-image:
    radial-gradient(ellipse at center, var(--hero-paper) 15%, color-mix(in srgb, var(--hero-paper) 79%, transparent) 73%, var(--hero-paper) 100%),
    var(--work-photo);
}
#plansView .ts-switch { max-width: 100%; width: min(100%, 216px); }
#plansView .ts-switch button { min-height: 44px; transition: background-color 180ms ease, color 180ms ease; }
#plansView .ts-kicker { font-size: .875rem; }
#plansView .ts-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7.4vw, 6rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.055em;
}
#plansView .ts-hero h1 span { font-style: italic; }
#plansView .ts-intro { font-size: 1.0625rem; line-height: 1.55; }
#plansView .ts-showcase {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 5vw, 65px);
  padding: clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--accent) 9%, var(--hero-paper));
  border-radius: 40px 18px 40px 18px;
}
#plansView[data-rubro=nails] .ts-showcase { border-radius: 18px 44px 18px 44px; }
#plansView .ts-copy, #plansView .ts-copy h2 { text-align: left; }
#plansView .ts-copy h2, #plansView .ts-section h2, #plansTitle {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
#plansView .ts-demo { background: var(--surface); border-radius: 24px; }
#plansView .ts-demo-cover {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  min-height: clamp(150px, 22vw, 220px);
  padding: 22px;
  text-align: left;
}
#plansView .ts-demo-cover [hidden] { display: none; }
#plansView .ts-demo-cover small { font-size: .875rem; }
#plansView .ts-demo-brand { font-size: clamp(1.7rem, 3.7vw, 2.4rem); }
#plansView .ts-demo-body label, #plansView .ts-demo-body > p.tiny { font-size: .875rem; }
#plansView .ts-hours button, #plansView .ts-services button, #plansView .ts-actions button { min-height: 44px; }
#plansView .ts-services button span { font-size: .8125rem; }
#plansView .ts-section { padding-block: clamp(36px, 6.5vw, 76px) 12px; }
#plansView .ts-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(16px, 5vw, 56px);
  row-gap: 0;
}
#plansView .ts-features article {
  padding: 15px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
#plansView .ts-features article b { display: none; }
#plansView .ts-features article h3 { font-size: 1rem; }
#plansView .ts-features article p { font-size: .9375rem; line-height: 1.5; }
#plansView .ts-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
#plansView .ts-dashboard, #plansView .ts-faq details, #plansView .plan-card { background: var(--surface); }
#plansView .ts-faq details { border: 1px solid var(--line); }
#plansView .ts-faq summary { min-height: 44px; padding-top: 10px; cursor: pointer; }
#plansView .ts-faq p { color: var(--muted); line-height: 1.5; }
#plansView button:focus-visible, #plansView summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 650px) {
  #plansView .ts-showcase { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 16px; }
  #plansView .ts-copy > :last-child { margin-bottom: 0; }
  #plansView .ts-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  #plansView .ts-hero h1 { font-size: 2.35rem; }
  #plansView .ts-demo-body { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #plansView .ts-switch button { transition: none; }
}
