* { box-sizing: border-box; }
body { margin: 0; background: #f8f3ec; color: #263e35; font: 16px system-ui, sans-serif; }
main { max-width: 960px; margin: auto; }
header, .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
header { justify-content: space-between; }
nav { margin: 24px 0; }
h1, h2, .brand { font-family: Georgia, serif; }
h1 { font-size: clamp(36px, 7vw, 68px); letter-spacing: -.045em; line-height: 1.05; margin: 12px 0; }
h2 { margin-top: 0; }
.brand { font-size: 30px; font-weight: bold; }
.hero { background: #e0ebdf; padding: clamp(22px, 5vw, 52px); border-radius: 28px; margin-bottom: 18px; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.grid { display: grid; gap: 14px; }
.card { background: #fffdfa; border: 1px solid #dedbd1; border-radius: 20px; }
.card p, .muted { color: #4c5d53; }
button, select, input { font: inherit; }
button, select { padding: 10px 15px; border-radius: 14px; border: 1px solid #acb9ad; color: #263e35; background: #fffdfa; cursor: pointer; }
button:hover:not(:disabled) { background: #e0ebdf; }
button.primary, button.primary:hover:not(:disabled), nav button[aria-current="page"], nav button[aria-current="page"]:hover { background: #284d3d; color: white; border-color: #284d3d; }
.check { padding: 13px 0; border-bottom: 1px solid #dedbd1; }
.check input { margin-right: 10px; }
small { display: block; margin-top: 10px; }
ol { padding-left: 20px; }
.timer { font: 700 42px system-ui; font-variant-numeric: tabular-nums; }
a { color: #284d3d; }
footer { margin-top: 28px; font-size: 14px; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #98715a; outline-offset: 2px; }
[hidden] { display: none !important; }

:root { color-scheme: light; }
main { padding: clamp(16px, 4vw, 32px) clamp(14px, 4vw, 24px) 48px; }
header { border-bottom: 1px solid #d8dfd4; padding-bottom: 15px; }
nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
nav button, .button, button, select { min-height: 44px; }
nav button { padding-inline: 6px; }
button[aria-current="page"], .button:hover { background: #284d3d; color: #fff; border-color: #284d3d; }
button:disabled { cursor: default; opacity: .57; }
button.quiet { font-size: .9rem; }
.hero p { max-width: 42ch; line-height: 1.55; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.card { min-width: 0; padding: clamp(16px, 3.5vw, 24px); }
.card h2 { line-height: 1.16; margin-bottom: 10px; }
.card p, .card li { line-height: 1.5; }
.routine-card { display: flex; flex-direction: column; align-items: flex-start; }
.routine-card .button { margin-top: auto; }
.button { display: inline-flex; align-items: center; padding: 10px 15px; border: 1px solid #acb9ad; border-radius: 14px; text-decoration: none; }
.exercise { max-width: 700px; margin-inline: auto; }
.exercise h2 { margin-top: 16px; }
.today-movement { margin-bottom: 16px; }
.today-movement select { max-width: 100%; }
.today-movement li { margin-block: 8px; }
.recipe-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; margin-bottom: 12px; }
.recipe-fields input, .recipe-fields select { width: 100%; }
#bmi-form input { min-height: 44px; border: 1px solid #acb9ad; border-radius: 10px; padding: 8px 12px; font: inherit; }
#bmi-result { font-weight: 700; }
.recipe-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; }
.recipe-option { background: #fbfaf5; border: 1px solid #dedbd1; border-radius: 12px; padding: 14px; min-width: 0; }
.recipe-option h2 { font-size: 1.24rem; margin-bottom: 5px; }
.recipe-option small { margin-block: 0 8px; }
.recipe-overview p { margin-block: 5px; }
.recipe-result { margin-top: 8px; }
.recipe-result summary { font-size: .92rem; }
.recipe-nutrition { margin-top: 12px; }
.player { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #e7efe5; border-radius: 14px; overflow: hidden; }
.player p { text-align: center; padding: 12px; }
.player video { display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; background: #1c2e26; }
#exercise-review, #exercise-counter { border-top: 1px solid #dedbd1; margin-top: 18px; padding-top: 4px; }
.timer { display: block; margin: 6px 0 10px; }
fieldset { margin: 0; min-width: 0; border: 1px solid #c8d0c6; border-radius: 12px; }
.filters { display: grid; grid-template-columns: minmax(120px, .45fr) minmax(0, 1fr); align-items: center; gap: 12px; margin: 16px 0; }
.allergens { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.allergens label { display: flex; align-items: center; gap: 5px; min-height: 38px; }
.check { min-height: 48px; display: flex; align-items: center; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: #284d3d; }
input:not([type="checkbox"]), textarea { width: 100%; max-width: 100%; min-width: 0; }
input[type="search"], input[type="tel"], input[type="email"], input[type="password"], #reset-code, textarea {
  min-height: 44px; padding: 10px 12px; background: #fffdfa; color: #263e35;
  border: 1px solid #9eaea1; border-radius: 12px; font: inherit;
}
input[type="file"] { padding: 8px 0; }
label[for] { display: block; margin-bottom: 5px; }
label select { display: block; width: 100%; margin-top: 5px; }
summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-weight: 650; }
details { border-top: 1px solid #dedbd1; }
#results details:first-child { border-top: 0; }
#results details[open] { padding-bottom: 10px; }
#record-export { min-height: 110px; }
#maternity-phone { width: min(100%, 240px); }
.help { grid-column: 1 / -1; }
.account { margin-top: 14px; }
#account-panel form { display: grid; gap: 5px; max-width: 440px; }
#account-panel .row, #reset-form button { margin-block: 10px; }
code { overflow-wrap: anywhere; }
a:focus-visible, summary:focus-visible { outline: 3px solid #98715a; outline-offset: 3px; }
dialog { max-width: min(calc(100% - 24px), 480px); padding: 22px; background: #fffdfa; color: #263e35; border: 1px solid #acb9ad; border-radius: 18px; }
dialog::backdrop { background: rgb(26 45 34 / .55); }
@media (max-width: 520px) {
  nav { display: flex; gap: 6px; margin: 16px 0; }
  nav button { flex: 1 1 auto; padding-inline: 9px; font-size: .9rem; }
  .filters { grid-template-columns: 1fr; }
  .row { gap: 8px; }
  .exercise { scroll-margin: 12px; }
}

/* Vista c?lida de prueba, inspirada en la referencia de Max. */
body { background:#fff6f3; color:#49352f; }
.hero { background:#f9e5e2; }
.card { border-color:#ead8cf; box-shadow:0 3px 12px #633b2a0a; }
button.primary,button.primary:hover:not(:disabled),nav button[aria-current="page"],nav button[aria-current="page"]:hover { background:#b75666; border-color:#b75666; color:#fff; }
a { color:#874351; }
header { border-color:#ead8cf; }
#detail-stage { width:100%; }
@media(max-width:600px) { main { padding-bottom:100px; } nav { position:fixed; z-index:5; bottom:0; left:0; right:0; margin:0; padding:8px 6px max(8px,env(safe-area-inset-bottom)); background:#fff9f6; display:flex; overflow-x:auto; border-top:1px solid #ead8cf; } nav button { flex:0 0 auto; font-size:.78rem; padding:8px; } }

/* Colores elegibles: cálidos, con texto de alto contraste. */
.header-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.theme-label { display:flex !important; gap:7px; align-items:center; margin:0 !important; font-size:.9rem; font-weight:700; }
.theme-label select { width:auto; margin:0; min-height:44px; }
.faq-grid { display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); }
.faq-card details { padding:4px 0 12px; }
.faq-card details p { margin:0 0 10px; }
.notice { padding:14px 16px; border-left:4px solid #a74c5e; border-radius:8px; background:#fff2dd; color:#4d3930; line-height:1.5; }
html[data-theme="light"] body { background:#fff8f6; color:#49352f; }
html[data-theme="light"] .hero { background:#fae9e6; }
html[data-theme="medium"] body { background:#fae7e1; color:#3f292d; }
html[data-theme="medium"] .hero { background:#edc7c4; }
html[data-theme="medium"] .card { background:#fffaf7; border-color:#d8aca8; }
html[data-theme="medium"] header { border-color:#cfaaa5; }
html[data-theme="medium"] nav button[aria-current="page"], html[data-theme="medium"] button.primary { background:#a73851; border-color:#a73851; color:#fff; }
html[data-theme="dark"] { color-scheme:dark; }
html[data-theme="dark"] body { background:#281c24; color:#fff3f1; }
html[data-theme="dark"] .hero { background:#58333e; }
html[data-theme="dark"] .card,html[data-theme="dark"] dialog,html[data-theme="dark"] .recipe-option { background:#3c2b33; border-color:#87646b; color:#fff3f1; }
html[data-theme="dark"] .card p,html[data-theme="dark"] .muted { color:#f0dcd9; }
html[data-theme="dark"] button,html[data-theme="dark"] select,html[data-theme="dark"] input:not([type="checkbox"]),html[data-theme="dark"] textarea,html[data-theme="dark"] .button { background:#4e3942; color:#fff5f2; border-color:#ad8890; }
html[data-theme="dark"] button.primary,html[data-theme="dark"] nav button[aria-current="page"] { background:#cf6178; border-color:#cf6178; color:#1e1016; }
html[data-theme="dark"] a { color:#ffd3b7; }
html[data-theme="dark"] .notice { background:#503d35; color:#fff5ec; border-color:#e6a3ad; }
html[data-theme="dark"] header,html[data-theme="dark"] details { border-color:#80616a; }
@media(max-width:600px) {
 html[data-theme="medium"] nav { background:#fff7f4; border-color:#d8aca8; }
 html[data-theme="dark"] nav { background:#38262f; border-color:#80616a; }
 .header-actions { gap:6px; }
 .theme-label { font-size:.8rem; }
 .theme-label select { padding:7px; }
}

@media(min-width:601px) { nav { grid-template-columns:repeat(6,minmax(0,1fr)); } }

.section-heading { margin-top:34px; }
.resource-badge { display:inline-block; margin-bottom:10px; font-size:.8rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.contacts-list { display:grid; gap:10px; margin:14px 0; }
.contact-item { display:grid; gap:6px; padding:14px; border:1px solid #d8aca8; border-radius:14px; }
.contact-number { overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.contact-actions .button { min-height:44px; }
html[data-theme="dark"] .contact-item { border-color:#87646b; }
/* Botones legibles en tableta, sin cortar las palabras. */
@media (min-width:601px) and (max-width:850px) { nav { grid-template-columns:repeat(3,minmax(0,1fr)); } }
nav button { overflow-wrap:anywhere; }
#ingredient-pick { width:100%; margin-bottom:8px; }
#contraction-pain { display:block; min-width:115px; }

@media(min-width:851px) { nav { grid-template-columns:repeat(7,minmax(0,1fr)); } }
@media(max-width:600px) { nav button { font-size:.76rem; padding-inline:8px; } }

/* Las ocho secciones quedan visibles en celular, en dos filas. */
@media(min-width:851px) { nav { grid-template-columns:repeat(8,minmax(0,1fr)); } nav button { font-size:.86rem; } }
@media(min-width:601px) and (max-width:850px) { nav { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:600px) { main { padding-bottom:135px; } nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; overflow:visible; } nav button { min-width:0; min-height:44px; white-space:normal; line-height:1.1; font-size:clamp(.64rem,2.6vw,.76rem); padding:5px 2px; overflow-wrap:anywhere; } }

.baby-growth { margin-top:16px; }
#baby-list { display:grid; gap:8px; margin:12px 0; }
.pain-meter { position:relative; width:160px; height:94px; overflow:hidden; margin:12px 0; }
.pain-arc { position:absolute; top:8px; left:8px; width:144px; height:144px; border:12px solid #c85c76; border-bottom-color:transparent; border-left-color:#db9bab; border-right-color:#db9bab; border-radius:50%; }
.pain-needle { position:absolute; bottom:10px; left:50%; width:4px; height:60px; background:currentColor; transform-origin:50% 100%; border-radius:4px; }
.pain-meter span { position:absolute; bottom:0; right:3px; font-weight:700; }
@media(min-width:851px) { nav { grid-template-columns:repeat(9,minmax(0,1fr)); } nav button { font-size:.78rem; } }
@media(max-width:600px) { main { padding-bottom:180px; } nav { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Biblioteca y elecci?n de etapa */
.stage-feature { margin-bottom: 16px; }
.life-choices { display:flex; flex-wrap:wrap; gap:8px; }
.life-choices button { flex:1 1 190px; }
.library-topic { border-top:1px solid #bd9999; padding:14px 0; }
.library-topic summary { cursor:pointer; font-weight:700; font-size:1.05rem; }
#library-query, #library-category { width:100%; max-width:640px; }
#library-category { display:block; }
@media(min-width:851px) { nav { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:600px) { main { padding-bottom:225px; } }

.ingredient-suggestions { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.ingredient-suggestions:empty { display:none; }

/* Buscadores legibles en los tres colores */
.planning-space { margin: 16px 0; }
html[data-theme="dark"] .library-topic, html[data-theme="dark"] .library-topic summary, html[data-theme="dark"] #library-status, html[data-theme="dark"] #recipe-status, html[data-theme="dark"] #recipe-recognized { color: #fff5f2; }
html[data-theme="dark"] select option { background: #4e3942; color: #fff5f2; }
html[data-theme="dark"] input::placeholder { color: #e1cbd0; opacity: 1; }
html[data-theme="light"] .ingredient-suggestions button, html[data-theme="medium"] .ingredient-suggestions button { color: #3f292d; background: #fffaf7; }

#library-query, #ingredients, #baby-name-query { width:100%; min-height:44px; padding:10px 12px; border:1px solid #9eaca2; border-radius:12px; background:#fffdfa; color:#30202a; }
html[data-theme="dark"] #library-query, html[data-theme="dark"] #ingredients, html[data-theme="dark"] #baby-name-query { background:#4e3942; color:#fff5f2; }

.community-intro, .waitlist { border-radius:18px; padding:20px; margin-bottom:18px; background:#f8dedb; color:#452631; }
.community-benefits { display:grid; gap:8px; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.community-benefits p { padding:12px; background:#fffaf7; border-radius:12px; color:#452631; }
.waitlist { background:#fff4ed; }
.waitlist-consent { display:flex; gap:8px; align-items:flex-start; margin-top:12px; }
html[data-theme="dark"] .community-intro, html[data-theme="dark"] .waitlist { background:#58333e; color:#fff5f2; }
html[data-theme="dark"] .community-benefits p { background:#4e3942; color:#fff5f2; }

.vip-preview { border-radius:20px; padding:22px; margin:20px 0; background:#6e3348; color:#fff; }
.vip-preview p, .vip-preview small { color:#fff4f3 !important; }
.vip-badge { display:inline-block; background:#f5cfbb; color:#472338; padding:5px 10px; border-radius:20px; font-size:.78rem; font-weight:700; }
.vip-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:10px; }
.vip-grid article { display:flex; flex-direction:column; gap:6px; padding:14px; border-radius:14px; background:#fff7f1; color:#452631; }
.vip-grid article small { color:#59434a !important; margin:0; }
.vip-grid em { color:#8a4057; font-size:.8rem; font-style:normal; font-weight:700; }
.community-demo-header,.community-post-head { display:flex; gap:12px; align-items:center; margin:16px 0; }
.community-demo-header > span, .community-avatar { display:grid; place-items:center; border-radius:50%; width:44px; height:44px; background:#f0c3bd; color:#55283a; font-weight:bold; flex:none; }
.community-demo-header small,.community-post-head small { margin:3px 0 0; }
.community-post { border:1px solid #d6b1aa; border-radius:16px; padding:16px; margin:12px 0; background:#fff9f6; color:#39232b; }
.community-post h3 { margin:12px 0 5px; font-size:1.05rem; }
.community-thread { border-top:1px solid #ead1c9; padding-top:10px; }
.community-thread summary { cursor:pointer; color:#9b3551; font-weight:600; }
html[data-theme="dark"] .community-post { background:#4e3942; color:#fff5f2; }
html[data-theme="dark"] .community-thread summary { color:#ffc2cc; }

.community-profile-demo { margin:18px 0; padding:18px; border:1px solid #d9b6ad; border-radius:16px; }
#demo-post { width:100%; min-height:90px; padding:12px; font:inherit; border-radius:12px; }

.community-demo { margin-top:24px; padding-top:20px; border-top:1px solid #d9b6ad; }

.vip-preview { background:#a7354e; }

.routine-stage { margin-bottom:14px; }
.routine-stage h2 { font-size:1.2rem; }
.routine-stage select { max-width:420px; }
.routine-stage p { margin-bottom:0; font-size:.9rem; }

#demo-handle { width:100%; max-width:420px; min-height:44px; padding:10px 12px; border:1px solid #9eaca2; border-radius:12px; }

.community-demo-nav { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.community-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,270px); align-items:start; gap:18px; margin-top:20px; }
.community-feed,.community-directory { min-width:0; }
.community-directory { border:1px solid #d8aca8; border-radius:16px; padding:16px; background:#fff7f4; }
.directory-list { max-height:350px; overflow-y:auto; margin:10px 0; display:grid; gap:8px; }
.directory-person { display:flex; align-items:center; gap:8px; text-align:left; width:100%; padding:8px; }
.directory-person small { margin:4px 0 0; }
#directory-profile:not(:empty) { border-top:1px solid #d8aca8; padding-top:12px; }
html[data-theme="dark"] .community-directory { background:#4e3942; }
@media(max-width:650px) { .community-layout { grid-template-columns:1fr; } .community-directory { order:-1; } .directory-list { max-height:220px; } }

/* Imagen de rutinas: capa clara para conservar legibilidad de instrucciones y controles. */
.today-movement-visual { background-image:linear-gradient(90deg, rgba(255,250,247,.98) 0%, rgba(255,250,247,.96) 42%, rgba(255,250,247,.42) 100%), url("media/rutinas-gimnasio-mama.png"); background-size:cover; background-position:center right; }
html[data-theme="dark"] .today-movement-visual { background-image:linear-gradient(90deg, rgba(60,43,51,.98) 0%, rgba(60,43,51,.95) 45%, rgba(60,43,51,.6) 100%), url("media/rutinas-gimnasio-mama.png"); }
@media(max-width:600px) { .today-movement-visual { background-image:linear-gradient(90deg, rgba(255,250,247,.97) 0%, rgba(255,250,247,.91) 58%, rgba(255,250,247,.67) 100%), url("media/rutinas-gimnasio-mama.png"); } html[data-theme="dark"] .today-movement-visual { background-image:linear-gradient(90deg, rgba(60,43,51,.98), rgba(60,43,51,.82)), url("media/rutinas-gimnasio-mama.png"); } }

.home-quick { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.home-quick small { margin:0; }
.home-contractions { min-height:48px; }
#demo-post { display:block; margin-bottom:12px; }

.routine-hero { position:relative; overflow:hidden; min-height:260px; padding-right:45%; }
.routine-hero-art { position:absolute; right:0; bottom:0; width:48%; height:95%; object-fit:contain; object-position:right bottom; pointer-events:none; }
@media(max-width:600px) { .routine-hero { padding-right:24px; padding-bottom:180px; } .routine-hero-art { width:100%; height:180px; object-position:center bottom; } }

.routine-vip { display:flex; align-items:center; gap:20px; }
.routine-vip-copy { flex:1; min-width:0; }
.routine-vip-art { display:block; width:42%; max-width:340px; height:auto; flex:none; order:2; }
@media(max-width:600px) { .routine-vip { flex-direction:column; align-items:stretch; } .routine-vip-art { width:100%; max-width:380px; align-self:center; } }

.stage-welcome,.any-letter { background:linear-gradient(135deg,#fff9f4,#f5d8d1); border:1px solid #dcaaa9; }
html[data-theme="dark"] .stage-welcome,html[data-theme="dark"] .any-letter { background:#52333e; }
.any-letter { margin-bottom:20px; }

.profile-photo-demo { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin:16px 0; }
.profile-photo-demo img { width:88px; height:88px; border-radius:50%; object-fit:cover; border:3px solid #dfabb0; }
.profile-photo-demo img[hidden] { display:none; }
.profile-photo-demo input { max-width:100%; }

.library-search-row { display:flex; align-items:stretch; gap:8px; max-width:640px; }
.library-search-row #library-query { min-width:0; flex:1; }
.library-suggestion-toggle { flex:none; background:#a7354e; color:white; border:2px solid #a7354e; animation:library-pulse 2.2s ease-in-out infinite; }
@keyframes library-pulse { 50% { box-shadow:0 0 0 5px rgba(167,53,78,.22); } }
@media(prefers-reduced-motion:reduce) { .library-suggestion-toggle { animation:none; } }
#library-autocomplete { max-height:260px; overflow:auto; }

.home-shortcuts { margin-bottom:18px; }
.home-shortcuts h2 { font-size:1.35rem; margin:0 0 10px; }
.home-shortcuts-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.home-shortcuts-grid button { text-align:left; min-width:0; padding:13px; }
.home-shortcuts-grid button strong,.home-shortcuts-grid button small { display:block; }
.home-shortcuts-grid button small { margin-top:5px; color:inherit; }
@media(max-width:520px) { .home-shortcuts-grid { grid-template-columns:1fr; } }

body:not(.community-preview) .community-demo { display:none; }
body.community-preview .community-preview-link { display:none; }

.fertility-tool { margin:20px 0; padding:18px; border-radius:16px; border:1px solid #dfb5ae; background:rgba(255,255,255,.45); }
.fertility-tool label { display:block; margin-top:10px; }
.fertility-tool .life-choices { margin:14px 0; }
html[data-theme="dark"] .fertility-tool { background:#4e3942; }

.tests-feature { background:#f4d7ce; border:1px solid #dcaaa5; } .tests-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; } .tests-list button { text-align:left; min-height:110px; } .tests-list button strong,.tests-list button small { display:block; } #test-questions fieldset { margin:16px 0; border:1px solid #d7b6ae; border-radius:12px; padding:14px; } #test-questions label { display:block; padding:8px 0; } html[data-theme="dark"] .tests-feature { background:#52333e; }

#test-questions fieldset { display:grid; gap:8px; }
#test-questions label { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid #dec4bc; border-radius:12px; cursor:pointer; }
#test-questions label:has(input:checked) { border-color:#a7354e; background:#f7e0dd; }
#test-questions input[type="radio"] { appearance:auto; width:20px; height:20px; min-width:20px; margin:0; flex:none; accent-color:#a7354e; }
#test-result:not(:empty) { margin-top:20px; padding:16px; background:#f7e8db; border-radius:12px; }
html[data-theme="dark"] #test-questions label:has(input:checked),html[data-theme="dark"] #test-result:not(:empty) { background:#5b3947; }

.names-feature { background:#f8e7d3; border:1px solid #e6c6ae; } .names-results { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 24px; } .names-results button[aria-pressed="true"] { background:#a7354e; color:#fff; } html[data-theme="dark"] .names-feature { background:#523d36; }

#test-questions fieldset[hidden],.test-step-controls button[hidden] { display:none; } .test-step-controls { display:flex; gap:10px; flex-wrap:wrap; } #test-progress { font-weight:700; color:#a7354e; }

.cycle-shortcut{background:#fff1e3;border:1px solid #e7c6ae}.fertility-calendar{display:flex;gap:15px;flex-wrap:wrap}.fertility-calendar>p{width:100%}.cycle-month{flex:1;min-width:240px}.cycle-month h4{text-transform:capitalize}.cycle-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.cycle-grid span,.cycle-grid strong{padding:7px 2px;border-radius:8px}.cycle-possible{background:#ffe7a3;color:#322719}.cycle-period{background:#a7354e;color:white}html[data-theme="dark"] .cycle-shortcut{background:#523d36}

.cycle-possible{background:#bfe8cd;color:#17392c}.cycle-bleeding{box-shadow:inset 0 0 0 2px #ad64ae}.cycle-ovulation{background:#c5def8;color:#123551}.cycle-period{background:#a7354e;color:#fff}

.navigation-back{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.navigation-back button{padding:8px 12px}.due-tool{margin:14px 0;padding:14px;border:1px solid #dfb5ae;border-radius:12px}.due-tool label{display:block;margin:10px 0}.due-tool button{margin:10px 0}

.pain-arc { border-color:var(--pain-color,#f5f2ed); border-bottom-color:transparent; filter:drop-shadow(0 0 1px #9e8a89); transition:border-color .25s ease; }
@media(prefers-reduced-motion:reduce){.pain-arc{transition:none}}

/* Escala visible de intensidad: el color no indica urgencia clínica. */
.pain-arc { border:0; background:conic-gradient(from 270deg,#79c995 0deg,#2e9b66 50deg,#f1cf56 90deg,#e68b5a 125deg,#c73645 155deg,#a9192e 180deg,transparent 180deg); -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 13px),#000 calc(100% - 12px)); mask:radial-gradient(farthest-side,transparent calc(100% - 13px),#000 calc(100% - 12px)); filter:none; }

.profile-expanded:not(:empty){padding:18px;margin-top:15px;border-radius:14px;background:#fff0e8;border:1px solid #d8aca8}.profile-expanded button{margin-top:10px}html[data-theme="dark"] .profile-expanded:not(:empty){background:#503642}

.vip-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.vip-showcase-card{background:#fff8f4;color:#3e2028;border-radius:18px;padding:20px;overflow:hidden}.vip-showcase-card h2{font-size:1.35rem;margin:.5rem 0}.vip-showcase-card p{font-size:.95rem;line-height:1.45}.vip-mini{font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#a33653}.vip-gym img{width:100%;height:190px;object-fit:contain;object-position:bottom}.vip-chat{display:grid;gap:8px}.vip-chat div{background:#f4deda;border-radius:14px;padding:10px}.vip-chat small{display:block}.vip-book-list{display:grid;gap:8px;margin:12px 0}.vip-book-list span{background:#f2ded7;padding:11px;border-radius:10px;font-weight:700}@media(max-width:700px){.vip-showcase{grid-template-columns:1fr}.vip-gym{display:grid;grid-template-columns:1fr 120px;gap:8px}.vip-gym img{height:165px}}

/* VIP: stronger contrast and an image that fills the available space. */
.vip-preview .vip-showcase-card p,.vip-preview .vip-showcase-card small,.vip-preview .vip-showcase-card li{color:#482b31 !important}.vip-showcase-card{box-shadow:0 6px 18px rgba(62,20,32,.14)}.vip-showcase-card ul{padding-left:1.1rem;font-size:.9rem;line-height:1.5}.vip-gym-image{height:230px;overflow:hidden;position:relative;background:linear-gradient(145deg,#f7dbd7,#efd2c9);border-radius:14px}.vip-gym .vip-gym-image img{position:absolute;width:100%;height:100%;object-fit:contain;transform:scale(1.9);transform-origin:50% 60%}.vip-chat div{border-left:4px solid #b83c5e}.vip-reserve-link{display:inline-block;background:#ffdc73;color:#3c2221;font-weight:800;border-radius:12px;padding:14px 20px;text-decoration:none}.vip-reserve-link:hover{background:#ffe898}@media(max-width:700px){.vip-gym{display:block}.vip-gym-image{height:230px}.vip-gym .vip-gym-image img{transform:scale(2)}}

.vip-books{display:grid;gap:10px;margin:14px 0}.vip-book{display:flex;gap:12px;align-items:center;background:#f4e1db;border-radius:12px;padding:11px}.vip-book-cover{width:64px;min-width:64px;height:86px;background:linear-gradient(145deg,#bc6b78,#8f294c);border-radius:5px 10px 10px 5px;display:grid;place-items:center;font-size:1.8rem;color:#fff}.vip-book strong,.vip-book small{display:block}.vip-book button{margin-top:6px;font-size:.8rem}

.demo-comment-form{display:grid;gap:9px;margin-top:16px;padding:14px;border-radius:14px;background:var(--card, #f7ece8)}.demo-comment-form textarea{min-height:75px;width:100%}.demo-comment-form button{justify-self:start}

.routine-stage-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.routine-stage-buttons button{font-size:1.05rem;font-weight:700;text-align:left;min-height:58px;background:#f9e5ee;color:#572437;border:1px solid #d89bab}.routine-stage-buttons button.selected{background:#a7354e;color:white}.today-movement #movement-picks{list-style:none;padding:0;display:grid;gap:10px}.today-movement #movement-picks li{margin:0}.today-movement #movement-picks a{display:block;background:#fff9f6;color:#862746!important;border:1px solid #d8aaa7;border-radius:12px;padding:14px 16px;font-size:1.08rem;font-weight:700;text-decoration:none}.today-movement #movement-picks a:focus-visible{outline:3px solid #70283e}.today-movement-visual{background-image:none!important}@media(max-width:430px){.routine-stage-buttons{grid-template-columns:1fr}}
