:root {
  --bg: #f5ead7;
  --paper: #fffaf0;
  --paper-strong: #fffdf8;
  --primary: #e88f82;
  --primary-soft: #ffd2c8;
  --secondary: #efb3bd;
  --mint: #bcd9cb;
  --accent: #c8a064;
  --ink: #4c4038;
  --muted: #8c8178;
  --line: rgba(91, 72, 58, .12);
  --glass: rgba(255, 255, 255, .58);
  --shadow: 0 24px 70px rgba(99, 74, 51, .18);
  --soft-shadow: 0 12px 34px rgba(108, 84, 65, .11);
  --radius: 28px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.82), transparent 24%),
    radial-gradient(circle at 85% 80%, rgba(239,179,189,.24), transparent 26%),
    linear-gradient(135deg, #f7eddd 0%, #f2e3cb 100%);
  overflow-x: hidden;
}

body[data-theme="elephant"] {
  --bg: #dbe7df;
  --paper: #fff9f6;
  --paper-strong: #fffef8;
  --primary: #e5a090;
  --primary-soft: #f3c3b2;
  --secondary: #99cdd8;
  --mint: #dae8e3;
  --accent: #cfd6c4;
  --ink: #657166;
  --muted: #7b877e;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(99, 169, 180, .35); outline-offset: 2px; }

.ambient { position: fixed; width: 380px; height: 380px; border-radius: 50%; filter: blur(30px); pointer-events: none; opacity: .45; }
.ambient-one { left: -180px; top: -120px; background: #ffe8cb; }
.ambient-two { right: -150px; bottom: -130px; background: var(--primary-soft); }

.prototype-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(280px, 410px) minmax(390px, 520px); justify-content: center; align-items: center; gap: 80px; padding: 44px 5vw; position: relative; z-index: 1; }
.prototype-panel { align-self: center; max-width: 370px; }
.eyebrow, .mini-label { margin: 0; letter-spacing: .17em; font-size: 10px; font-weight: 700; color: var(--primary); }
.prototype-panel h1 { margin: 12px 0 20px; font: 600 clamp(48px, 6vw, 74px)/.9 var(--font-display); letter-spacing: -.04em; }
.prototype-panel h1 em { color: var(--primary); font-weight: 600; }
.panel-copy { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 34px; max-width: 330px; }
.control-group { margin-top: 22px; }
.control-group > label, .control-group > span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 9px; }
select, input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 15px; background: rgba(255,255,255,.68); color: var(--ink); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 5px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; }
.segmented button { border: 0; background: transparent; padding: 10px; border-radius: 13px; cursor: pointer; font-weight: 600; }
.segmented button.active { background: var(--paper-strong); color: var(--primary); box-shadow: 0 5px 16px rgba(82,60,42,.1); }
.role-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.7); }
.role-note p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.role-note strong { color: var(--ink); }
.role-dot { width: 10px; height: 10px; background: #79ad83; border-radius: 50%; box-shadow: 0 0 0 5px rgba(121,173,131,.15); }
.signature { margin-top: 28px; color: rgba(76,64,56,.4); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.phone { width: min(100%, 440px); height: min(880px, calc(100vh - 40px)); min-height: 650px; padding: 12px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(224,211,193,.8)); border-radius: 49px; box-shadow: 0 35px 100px rgba(83,61,42,.27), inset 0 0 0 1px rgba(255,255,255,.8); position: relative; }
.phone-speaker { position: absolute; z-index: 20; top: 19px; left: 50%; transform: translateX(-50%); width: 84px; height: 5px; border-radius: 10px; background: rgba(71,57,47,.18); }
.app { height: 100%; overflow: hidden; position: relative; border-radius: 39px; background-color: var(--paper); background-image: linear-gradient(rgba(255,250,240,.50), rgba(255,250,240,.56)), url('./assets/globito/background.png'); background-size: cover; background-position: center top; box-shadow: inset 0 0 0 1px rgba(91,72,58,.07); }
body[data-theme="elephant"] .app { background-image: linear-gradient(rgba(255,255,255,.64), rgba(255,255,255,.7)), url('./assets/elefantico/background.png'); background-size: cover; background-position: center top; }
.app::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 7%, var(--primary-soft), transparent 18%), radial-gradient(circle at 8% 52%, rgba(255,255,255,.72), transparent 20%); opacity: .28; }
body[data-theme="elephant"] .app::before { background: radial-gradient(circle at 84% 8%, rgba(153,205,216,.3), transparent 20%), radial-gradient(circle at 8% 48%, rgba(243,195,178,.25), transparent 23%); opacity: .48; }
.app-header { height: 78px; padding: 24px 23px 10px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 5; background: linear-gradient(rgba(255,250,240,.62), rgba(255,250,240,.12)); backdrop-filter: blur(3px); }
.icon-button { border: 0; background: transparent; width: 38px; height: 38px; display: grid; place-content: center; gap: 4px; cursor: pointer; border-radius: 50%; }
.icon-button span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.icon-button span:nth-child(2) { width: 13px; }
.app-title { text-align: center; display: flex; flex-direction: column; gap: 3px; }
.app-title strong { font: 600 18px/1 var(--font-display); }
.avatar-button { position: relative; border: 0; background: var(--primary-soft); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 13px; font-weight: 700; }
.avatar-button i { position: absolute; right: 0; bottom: 1px; width: 10px; height: 10px; background: #7fb183; border: 2px solid var(--paper); border-radius: 50%; }
.view-container { height: calc(100% - 150px); position: relative; z-index: 2; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; scroll-behavior: smooth; }
.view-container::-webkit-scrollbar { display: none; }
.view { display: none; padding: 8px 20px 32px; animation: view-in .35s ease; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.home-hero { min-height: 424px; text-align: center; position: relative; padding-top: 10px; }
.baby-arch { width: 207px; height: 239px; border: 1px solid rgba(151,113,82,.5); border-radius: 105px 105px 9px 9px; margin: 10px auto 17px; padding: 9px; position: relative; background: rgba(255,255,255,.32); box-shadow: 0 18px 35px rgba(116,87,63,.08); }
.baby-arch::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(200,160,100,.18); border-radius: 110px 110px 12px 12px; }
.photo-placeholder { width: 100%; height: 100%; border-radius: 95px 95px 3px 3px; display: grid; place-content: center; background: linear-gradient(160deg, #fde5d9, #f4cfca 60%, #ead8bf); color: rgba(116,78,65,.7); position: relative; overflow: hidden; cursor: pointer; border: 0; padding: 0; font: inherit; }
.photo-placeholder:hover { filter: brightness(1.03); transform: translateY(-1px); }
.photo-placeholder::before, .photo-placeholder::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.25); }.photo-placeholder::before { width: 170px; height: 170px; left: -65px; bottom: -65px; }.photo-placeholder::after { width: 115px; height: 115px; right: -30px; top: -30px; }
.baby-silhouette { width: 78px; height: 78px; border-radius: 50%; display: grid; place-content: center; margin: auto; background: rgba(255,255,255,.45); font: 600 38px var(--font-display); transform: rotate(90deg); }
.tiny-heart { font-size: 24px; margin-bottom: 5px; }.photo-placeholder small { margin-top: 9px; font-size: 11px; letter-spacing: .08em; }
.hero-script { margin: 0 0 2px; font: italic 600 20px var(--font-display); color: var(--primary); }
.home-hero h2 { margin: 0; font: 600 26px/1.16 var(--font-display); }.home-hero h2 > span { color: var(--ink); }.home-hero h2 b { color: var(--primary); font-weight: 600; }
.due-date { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.daily-glance { margin: 0 0 24px; }.daily-glance h3, .section-heading h3 { margin: 3px 0 14px; font: 600 20px var(--font-display); }
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.glance-grid article { min-width: 0; padding: 14px 8px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.85); border-radius: 21px; box-shadow: var(--soft-shadow); }
.glance-grid span { display: block; font-size: 20px; margin-bottom: 5px; }.glance-grid strong, .glance-grid small { display: block; }.glance-grid strong { font-size: 11px; }.glance-grid small { font-size: 9px; margin-top: 3px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin: 27px 0 12px; }.section-heading.compact { margin-top: 4px; }.section-heading h3 { margin-bottom: 0; }
.text-button { border: 0; background: none; color: var(--primary); padding: 5px 0; cursor: pointer; font-size: 11px; font-weight: 700; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin-bottom: 18px; }
.quick-grid button { border: 1px solid rgba(255,255,255,.94); min-width: 0; min-height: 83px; padding: 10px 4px; border-radius: 21px; background: linear-gradient(145deg, rgba(255,255,255,.68), rgba(239,179,189,.3) 52%, rgba(188,217,203,.2)); backdrop-filter: blur(15px) saturate(135%); box-shadow: inset 2px 3px 3px rgba(255,255,255,.95), inset -3px -4px 8px rgba(128,183,193,.13), 0 10px 23px rgba(111,85,64,.13), 0 0 0 1px rgba(255,255,255,.24); cursor: pointer; position: relative; overflow: hidden; }
.quick-grid button::before { content: ""; position: absolute; width: 70px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.38); top: -9px; left: -8px; transform: rotate(-8deg); }
.quick-grid button span { display: grid; place-content: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.72), var(--primary-soft)); color: var(--primary); border: 1px solid rgba(255,255,255,.86); box-shadow: inset 1px 2px 2px rgba(255,255,255,.9), 0 5px 11px rgba(105,78,60,.12); position: relative; z-index: 1; }.quick-grid button small { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 9px; font-weight: 700; position: relative; z-index: 1; }
.soft-card { border: 1px solid rgba(255,255,255,.78); background: var(--glass); backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.emergency-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px; }.emergency-card h3 { margin: 2px 0; font: 600 16px var(--font-display); }.emergency-card p { margin: 0; font-size: 10px; color: var(--muted); }
.card-icon { width: 43px; height: 43px; border-radius: 15px; display: grid; place-content: center; font-size: 20px; }.card-icon.rose { background: var(--primary-soft); }
.round-action { border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.65); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; color: var(--primary); box-shadow: 0 5px 12px rgba(76,64,56,.08); }

.glass-card { border: 1px solid rgba(255,255,255,.86); background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,255,255,.3)); backdrop-filter: blur(18px); box-shadow: inset 0 2px 1px rgba(255,255,255,.9), 0 15px 34px rgba(102,75,55,.12); }
.birth-card { margin: -2px 0 22px; padding: 17px; border-radius: 27px; position: relative; overflow: hidden; }
.birth-card::before { content: ""; position: absolute; width: 180px; height: 60px; left: -12px; top: -36px; border-radius: 50%; background: rgba(255,255,255,.46); transform: rotate(-7deg); }
.birth-card-head { display: flex; justify-content: space-between; align-items: start; position: relative; }.birth-card-head h3 { margin: 3px 0 13px; font: 600 20px var(--font-display); }.demo-chip { font-size: 7px; padding: 5px 7px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); }
.birth-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; position: relative; }.birth-rows > div { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 10px; border-radius: 17px; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.75); }.birth-rows > div > span { grid-row: 1/3; width: 28px; height: 28px; border-radius: 10px; display: grid; place-content: center; background: var(--primary-soft); color: var(--primary); }.birth-rows small { font-size: 7px; color: var(--muted); }.birth-rows strong { font: 600 12px var(--font-display); }
.progress-ring { width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; border: 4px solid rgba(232,143,130,.18); border-top-color: var(--primary); color: var(--primary); font-size: 8px; font-weight: 700; }
.checklist-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border-radius: 17px; background: rgba(255,255,255,.46); margin-bottom: 9px; }.checklist-tabs button { border: 0; border-radius: 13px; padding: 9px; background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; }.checklist-tabs button.active { background: rgba(255,255,255,.82); color: var(--primary); box-shadow: 0 5px 13px rgba(85,64,49,.09); }
.checklist-panel { display: none; border-radius: 22px; padding: 4px 12px; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.72); }.checklist-panel.active { display: block; }.check-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; min-height: 43px; border-bottom: 1px solid var(--line); }.check-item:last-child { border-bottom: 0; }.check-item input { position: absolute; opacity: 0; pointer-events: none; }.check-item .custom-check { width: 23px; height: 23px; border: 1px solid rgba(154,128,106,.18); border-radius: 9px; display: grid; place-content: center; background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,255,255,.35)); box-shadow: inset 0 1px 1px #fff, 0 4px 9px rgba(82,63,49,.08); cursor: pointer; }.check-item input:checked + .custom-check { background: linear-gradient(145deg, var(--primary-soft), var(--mint)); color: white; }.check-item input:checked + .custom-check::after { content: "✓"; font-size: 11px; }.check-item input:checked ~ strong { color: var(--muted); text-decoration: line-through; }.check-item strong { font-size: 9px; }.check-item button { border: 0; background: none; color: var(--muted); cursor: pointer; }.add-list-item { width: 100%; margin-top: 8px; padding: 9px; border-radius: 15px; border: 1px dashed rgba(184,130,116,.3); background: rgba(255,255,255,.32); color: var(--primary); font-size: 9px; font-weight: 700; cursor: pointer; }
.first-sight-card { display: grid; grid-template-columns: 105px 1fr; gap: 13px; align-items: stretch; padding: 11px; margin: 19px 0 24px; }.ultrasound-frame { min-height: 126px; border-radius: 58px 58px 8px 8px; display: grid; place-content: center; text-align: center; background: linear-gradient(150deg, #9b948d, #615f5d); color: rgba(255,255,255,.78); border: 4px solid rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(84,65,53,.15); }.ultrasound-frame span { font-size: 27px; }.ultrasound-frame small { margin-top: 5px; font-size: 7px; }.first-sight-card > div:last-child { padding: 9px 7px 7px 0; }.first-sight-card h3 { margin: 5px 0 6px; font: 600 16px/1.1 var(--font-display); }.first-sight-card p { margin: 0 0 8px; color: var(--muted); font-size: 8px; line-height: 1.45; }
.trusted-contacts { display: grid; gap: 8px; padding-bottom: 4px; }.contact-card { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.82); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.28)); box-shadow: inset 0 1px 1px #fff, 0 9px 18px rgba(79,61,48,.08); }.contact-avatar { width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; background: linear-gradient(145deg, var(--primary-soft), rgba(255,255,255,.7)); font: 600 15px var(--font-display); }.contact-card strong,.contact-card small { display: block; }.contact-card strong { font-size: 10px; }.contact-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }.contact-actions { display: flex; gap: 4px; }.contact-actions button { width: 30px; height: 30px; border-radius: 11px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.52); cursor: pointer; color: var(--primary); }

.section-intro { padding: 18px 5px 10px; }.section-intro h2 { margin: 5px 0 7px; font: 600 30px/1.05 var(--font-display); }.section-intro p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.active-timer { margin: 15px 0; padding: 17px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; background: linear-gradient(145deg, rgba(204,228,223,.72), rgba(255,255,255,.58)); }
.timer-orbit { width: 49px; height: 49px; display: grid; place-content: center; border-radius: 50%; background: rgba(255,255,255,.67); color: var(--primary); font-size: 23px; box-shadow: inset 0 0 0 5px rgba(255,255,255,.22); }.status-pill { display: inline-block; font-size: 7px; letter-spacing: .12em; font-weight: 700; color: #59816b; background: rgba(121,173,131,.17); border-radius: 20px; padding: 4px 7px; }.status-pill.light { background: rgba(255,255,255,.2); color: inherit; }
.active-timer h3 { margin: 4px 0 0; font-size: 12px; }.active-timer p { margin: 2px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }.stop-button { border: 0; color: #9d5c57; background: rgba(255,255,255,.54); border-radius: 13px; padding: 9px 10px; font-size: 9px; font-weight: 700; cursor: pointer; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.glass-action { min-height: 114px; border-radius: 26px; border: 1px solid rgba(255,255,255,.85); background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(239,179,189,.21)); box-shadow: inset 0 2px 2px rgba(255,255,255,.8), 0 12px 24px rgba(94,70,52,.12); cursor: pointer; text-align: left; padding: 17px; position: relative; overflow: hidden; }
.glass-action::after { content: ""; position: absolute; top: -15px; left: -10px; width: 85%; height: 45%; border-radius: 50%; background: rgba(255,255,255,.34); transform: rotate(-7deg); }.glass-action span { position: relative; z-index: 1; display: grid; place-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-soft); font-size: 21px; margin-bottom: 12px; }.glass-action strong,.glass-action small { display: block; position: relative; z-index: 1; }.glass-action strong { font-size: 13px; }.glass-action small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.filter-chip, .source-chip { border: 1px solid var(--line); border-radius: 50px; padding: 6px 10px; background: rgba(255,255,255,.5); font-size: 9px; color: var(--muted); white-space: nowrap; }
.timeline-list article { display: grid; grid-template-columns: 39px 10px 1fr; gap: 9px; min-height: 54px; position: relative; }.timeline-list article:not(:last-child)::after { content: ""; position: absolute; left: 43px; top: 25px; bottom: -2px; width: 1px; background: var(--line); }.timeline-list time { font-size: 9px; color: var(--muted); padding-top: 2px; }.timeline-dot { width: 9px; height: 9px; border-radius: 50%; z-index: 1; }.timeline-dot.mint { background: #89b9a4; }.timeline-dot.peach { background: #e9ad91; }.timeline-dot.rose { background: #d88d9e; }.timeline-list strong, .timeline-list small { display: block; }.timeline-list strong { font-size: 11px; }.timeline-list small { margin-top: 3px; font-size: 9px; color: var(--muted); }
.product-list { display: grid; gap: 8px; }.product-card { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.54); border: 1px solid rgba(255,255,255,.75); }.product-card > span { width: 35px; height: 35px; display: grid; place-content: center; border-radius: 13px; background: var(--primary-soft); }.product-card strong,.product-card small { display: block; }.product-card strong { font-size: 10px; }.product-card small { font-size: 8px; color: var(--muted); margin-top: 3px; }.delete-button { border: 0; background: none; color: #b17a75; cursor: pointer; font-size: 15px; }.readonly-badge { font-size: 8px; color: var(--muted); }

.memories-intro { text-align: center; padding-inline: 12px; }.upload-memory { margin: 15px 0 17px; border: 1px dashed rgba(184,130,116,.45); border-radius: 25px; min-height: 91px; display: grid; grid-template-columns: 45px 1fr; align-content: center; column-gap: 12px; padding: 15px 18px; cursor: pointer; background: rgba(255,255,255,.42); }.upload-icon { grid-row: 1 / 3; width: 43px; height: 43px; display: grid; place-content: center; background: var(--primary-soft); color: var(--primary); border-radius: 50%; font-size: 22px; }.upload-memory strong,.upload-memory small { display: block; }.upload-memory strong { align-self: end; font-size: 12px; }.upload-memory small { align-self: start; font-size: 9px; color: var(--muted); }
.milestone-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }.milestone-strip button { border: 0; background: transparent; padding: 0; cursor: pointer; }.milestone-strip span { width: 48px; height: 48px; display: grid; place-content: center; margin: auto; border-radius: 50%; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--soft-shadow); color: var(--primary); font-size: 21px; }.milestone-strip small { display: block; margin-top: 6px; font-size: 8px; }
.memory-card { border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.58); box-shadow: var(--soft-shadow); }.featured-memory { display: grid; grid-template-columns: 40% 60%; min-height: 207px; }.memory-photo { position: relative; }.waiting-photo { display: grid; place-content: center; color: rgba(91,66,54,.7); background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.55) 0 25%, transparent 26%), linear-gradient(155deg, var(--primary-soft), #ead8bd); }.waiting-photo::after { content: "♡"; position: absolute; font: 600 70px var(--font-display); color: rgba(255,255,255,.35); left: 50%; top: 50%; transform: translate(-50%,-50%); }.waiting-photo span { font: 600 37px var(--font-display); z-index: 1; }.waiting-photo small { z-index: 1; text-align: center; }.memory-copy { padding: 18px 16px; }.date-chip { font-size: 8px; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }.memory-copy h3 { margin: 7px 0 7px; font: 600 18px var(--font-display); }.memory-copy p { margin: 0 0 11px; font-size: 9px; line-height: 1.5; color: var(--muted); }
.book-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 16px; margin-top: 16px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #a88470, #6f645c); }.book-card h3 { margin: 3px 0; font: 600 15px var(--font-display); }.book-card p { margin: 0; font-size: 8px; line-height: 1.4; opacity: .75; }.book-card .mini-label { color: #f7d8cc; }.book-stack { width: 45px; height: 55px; position: relative; }.book-stack span { position: absolute; inset: 3px; border-radius: 4px 12px 12px 4px; background: #f0d2c6; transform: rotate(-6deg); }.book-stack span:nth-child(2) { background: #fff1df; transform: rotate(3deg); }.book-stack strong { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; color: #ba8b7e; }

.health-intro { background: linear-gradient(145deg, rgba(128,183,193,.17), rgba(255,255,255,.1)); border-radius: 27px; padding: 20px; margin-bottom: 12px; }.next-appointment { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 15px; border-radius: 23px; color: #fff; background: linear-gradient(135deg, #e7a697, #f3c3b2); box-shadow: var(--soft-shadow); }.appointment-date { width: 48px; height: 55px; display: grid; place-content: center; text-align: center; border-radius: 16px; background: rgba(255,255,255,.24); }.appointment-date strong { font: 600 24px/1 var(--font-display); }.appointment-date span { font-size: 7px; letter-spacing: .15em; }.next-appointment h3 { font-size: 12px; margin: 5px 0 2px; }.next-appointment p { margin: 0; font-size: 9px; opacity: .82; }
.health-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 11px; }.health-metrics article { padding: 12px 8px; background: rgba(255,255,255,.56); border-radius: 18px; text-align: center; border: 1px solid rgba(255,255,255,.75); }.health-metrics span,.health-metrics small,.health-metrics strong { display: block; }.health-metrics span { color: var(--primary); }.health-metrics small { font-size: 7px; color: var(--muted); margin: 4px 0 3px; }.health-metrics strong { font-size: 9px; }
.medical-filter { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin-bottom: 10px; }.medical-filter label { font-size: 8px; color: var(--muted); }.medical-filter input { margin-top: 3px; padding: 8px 9px; border-radius: 12px; font-size: 9px; }.medical-filter button { cursor: pointer; }
.document-list { display: grid; gap: 8px; }.document-card { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.8); display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; }.doc-icon { width: 38px; height: 43px; display: grid; place-content: center; border-radius: 11px; background: var(--primary-soft); color: var(--primary); }.document-card strong,.document-card small { display: block; }.document-card strong { font-size: 10px; }.document-card small { font-size: 8px; color: var(--muted); margin-top: 2px; }.document-card button { border: 0; background: none; cursor: pointer; color: var(--primary); }.empty-state { text-align: center; padding: 20px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); font-size: 10px; }
.download-report { width: 100%; margin-top: 11px; padding: 13px; display: grid; grid-template-columns: 36px 1fr; text-align: left; gap: 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(128,183,193,.18)); cursor: pointer; box-shadow: var(--soft-shadow); }.download-report > span { width: 34px; height: 34px; display: grid; place-content: center; background: var(--primary); color: white; border-radius: 12px; }.download-report strong,.download-report small { display: block; }.download-report strong { font-size: 10px; }.download-report small { font-size: 8px; color: var(--muted); margin-top: 3px; }
.medicine-list { display: grid; gap: 8px; }.medicine-card { display: grid; grid-template-columns: 1fr auto; padding: 12px 13px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); }.medicine-card strong,.medicine-card small { display: block; }.medicine-card strong { font-size: 10px; }.medicine-card small { font-size: 8px; color: var(--muted); margin-top: 3px; }.medicine-card .tag { align-self: center; }
.vaccine-list { display: grid; gap: 7px; }.vaccine-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px; background: rgba(255,255,255,.49); border-radius: 17px; }.vaccine-check { width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid var(--line); }.vaccine-check.pending { border-color: var(--primary); box-shadow: inset 0 0 0 5px var(--paper); background: var(--primary); }.vaccine-list strong,.vaccine-list small { display: block; }.vaccine-list strong { font-size: 9px; }.vaccine-list small { font-size: 7px; color: var(--muted); margin-top: 2px; }.tag { padding: 4px 6px; background: rgba(232,143,130,.16); color: #a46861; border-radius: 20px; font-size: 7px; }.tag.muted { background: rgba(90,90,90,.06); color: var(--muted); }

.mother-hero { text-align: center; padding: 27px 21px 22px; border-radius: 30px; background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.6), transparent 25%), linear-gradient(150deg, #f5d2cc, #eedfcf); position: relative; overflow: hidden; }.mother-hero::before { content: "♡"; position: absolute; right: -10px; bottom: -37px; color: rgba(255,255,255,.28); font: 600 150px var(--font-display); }.mother-hero h2 { margin: 7px 0; font: 600 29px/1.03 var(--font-display); }.mother-hero p { font-size: 10px; color: var(--muted); margin: 0 auto 13px; max-width: 250px; }.lock-badge { display: inline-flex; font-size: 8px; font-weight: 700; padding: 6px 9px; border-radius: 20px; background: rgba(255,255,255,.5); }
.mood-card { margin: 14px 0; padding: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; }.mood-card h3 { margin: 3px 0 0; font: 600 16px var(--font-display); }.moods { display: flex; gap: 3px; }.moods button { border: 0; background: rgba(255,255,255,.6); border-radius: 50%; width: 27px; height: 27px; cursor: pointer; font-size: 11px; }.moods button.selected { background: var(--primary); color: white; }
.mother-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.mother-grid button { min-height: 98px; padding: 14px; text-align: left; border: 1px solid rgba(255,255,255,.82); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(239,179,189,.18)); cursor: pointer; }.mother-grid span { display: grid; place-content: center; width: 32px; height: 32px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); margin-bottom: 10px; }.mother-grid strong,.mother-grid small { display: block; }.mother-grid strong { font-size: 10px; }.mother-grid small { font-size: 8px; color: var(--muted); margin-top: 3px; }
.journal-card { margin: 14px 0; padding: 19px; border-radius: 25px; background: #fffaf2; border: 1px solid rgba(188,155,119,.18); box-shadow: var(--soft-shadow); }.journal-card h3 { margin: 7px 0; font: italic 600 20px var(--font-display); }.journal-card > p { margin: 0 0 15px; font: italic 600 14px/1.45 var(--font-display); color: #78685c; }.journal-card > div { display: flex; justify-content: space-between; align-items: center; }.journal-card time { font-size: 8px; color: var(--muted); }
.primary-button,.secondary-button { border: 0; border-radius: 16px; padding: 12px 17px; font-weight: 700; font-size: 11px; cursor: pointer; }.primary-button { background: var(--primary); color: white; box-shadow: 0 9px 20px rgba(194,116,105,.2); }.view > .primary-button { width: 100%; }
.secondary-button { color: var(--muted); background: rgba(90,90,90,.06); }

.bottom-nav { position: absolute; z-index: 10; left: 12px; right: 12px; bottom: 9px; height: 66px; display: flex; align-items: center; justify-content: space-around; padding: 7px; border: 1px solid rgba(255,255,255,.82); background: rgba(255,255,255,.72); backdrop-filter: blur(22px); border-radius: 25px; box-shadow: 0 12px 30px rgba(78,57,41,.14); }
.nav-button { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; border-radius: 17px; display: grid; place-content: center; gap: 2px; cursor: pointer; color: var(--muted); }.nav-button span { font-size: 18px; line-height: 1; }.nav-button small { font-size: 7px; font-weight: 700; }.nav-button.active { background: linear-gradient(145deg, rgba(255,255,255,.9), var(--primary-soft)); color: var(--ink); box-shadow: inset 0 1px 0 white, 0 5px 15px rgba(88,64,48,.12); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(48,39,33,.24); opacity: 0; pointer-events: none; transition: .3s; backdrop-filter: blur(2px); }.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.settings-drawer { position: fixed; z-index: 31; right: 0; top: 0; bottom: 0; width: min(390px, 92vw); background: var(--paper); padding: 34px 25px; box-shadow: -20px 0 60px rgba(66,48,35,.2); transform: translateX(105%); transition: transform .35s ease; }.settings-drawer.open { transform: none; }.drawer-head { display: flex; justify-content: space-between; align-items: center; }.drawer-head h2 { margin: 4px 0 0; font: 600 28px var(--font-display); }.icon-button.close { font-size: 30px; font-weight: 300; }.settings-profile { margin: 27px 0 18px; padding: 15px; display: flex; gap: 12px; align-items: center; border-radius: 21px; background: var(--primary-soft); }.profile-mark { width: 43px; height: 43px; border-radius: 50%; display: grid; place-content: center; background: rgba(255,255,255,.65); font-weight: 700; }.settings-profile strong,.settings-profile small { display: block; }.settings-profile strong { font-size: 12px; }.settings-profile small { font-size: 9px; color: var(--muted); margin-top: 3px; }.settings-row { width: 100%; display: grid; grid-template-columns: 31px 1fr auto; gap: 10px; align-items: center; padding: 14px 4px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }.settings-row > span { width: 31px; height: 31px; border-radius: 11px; display: grid; place-content: center; background: rgba(255,255,255,.7); }.settings-row strong,.settings-row small { display: block; }.settings-row strong { font-size: 11px; }.settings-row small { font-size: 8px; color: var(--muted); margin-top: 3px; }.settings-row b { font-size: 18px; font-weight: 400; color: var(--muted); }.drawer-signature { position: absolute; bottom: 25px; left: 25px; right: 25px; text-align: center; font-size: 9px; color: var(--muted); }

.app-modal { width: min(410px, calc(100vw - 28px)); max-height: 86vh; overflow: auto; border: 1px solid rgba(255,255,255,.9); border-radius: 28px; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(57,43,33,.33); }.app-modal::backdrop { background: rgba(52,41,33,.35); backdrop-filter: blur(3px); }.app-modal form { padding: 23px; }.modal-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 19px; }.modal-head h2 { margin: 4px 0 0; font: 600 24px var(--font-display); }.modal-close { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(90,90,90,.06); font-size: 22px; cursor: pointer; }.app-modal label { display: block; margin-top: 12px; font-size: 10px; font-weight: 700; }.app-modal input,.app-modal select,.app-modal textarea { margin-top: 6px; font-size: 11px; background: rgba(255,255,255,.75); }.app-modal textarea { min-height: 92px; resize: vertical; }.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.form-note { padding: 10px; border-radius: 13px; background: rgba(128,183,193,.1); color: var(--muted); font-size: 9px; line-height: 1.5; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }.memory-preview { width: 100%; height: 150px; border-radius: 20px; background: var(--primary-soft) center/cover no-repeat; display: none; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 50px; background: #4f4741; color: white; font-size: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.22); transition: .25s; white-space: nowrap; }.toast.show { opacity: 1; transform: translate(-50%,0); }
input[type="file"].is-compressing { opacity: .65; }
.auth-panel { margin-top: 18px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.76); }
.auth-debug { margin: 10px 0; padding: 9px 11px; border-radius: 12px; background: #fff0f1; color: #8b3942; border: 1px solid #e8aeb5; font-size: 11px; line-height: 1.35; }
.public-mode { background: var(--paper); }
.public-mode .ambient, .public-mode .prototype-panel, .public-mode .phone-speaker { display: none; }
.public-mode .prototype-shell { display: block; min-height: 100dvh; padding: 0; }
.public-mode .phone { width: 100%; max-width: none; height: 100dvh; min-height: 600px; padding: 0; border-radius: 0; background: var(--paper); box-shadow: none; }
.public-mode .app { border-radius: 0; }
.auth-panel strong { display: block; margin: 4px 0 2px; font-size: 10px; }
.auth-panel .text-button { font-size: 9px; }
.family-activation { position: relative; z-index: 4; margin: 0 20px 8px; padding: 15px; border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(243,195,178,.42)); border: 1px solid rgba(255,255,255,.92); box-shadow: inset 2px 3px 4px rgba(255,255,255,.9), 0 10px 24px rgba(109,78,61,.12); }
.family-activation h2 { margin: 4px 0 6px; font: 600 19px var(--font-display); }
.family-activation p { margin: 0 0 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.family-activation .primary-button { width: 100%; }
.family-activation-status { margin-top: 10px; padding: 9px; border-radius: 12px; background: rgba(255,240,241,.9); color: #8b3942; border: 1px solid #e8aeb5; font-size: 8px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.family-panel-modal { width: min(470px, calc(100vw - 28px)); max-height: min(760px, calc(100dvh - 28px)); overflow: auto; }
.family-tabs { display:flex; gap:6px; overflow-x:auto; padding:8px 0 10px; scrollbar-width:thin; }
.family-tab { flex:0 0 auto; border:1px solid rgba(255,255,255,.82); border-radius:14px; padding:8px 11px; background:rgba(255,255,255,.5); color:var(--muted); font:600 9px var(--font-body); cursor:pointer; }
.family-tab.active { background:linear-gradient(145deg,#f7c5be,#eaa39a); color:#704e54; box-shadow:inset 1px 2px 3px rgba(255,255,255,.9),0 4px 8px rgba(110,77,72,.12); }
.family-section { padding:6px 0 4px; }
.family-section > .mini-label { display:block; margin-bottom:9px; }
.family-inline-actions { display:flex; flex-wrap:wrap; gap:7px; margin:10px 0; }
.security-form { display:grid; gap:7px; padding:10px; border-radius:16px; background:rgba(255,255,255,.42); border:1px solid rgba(255,255,255,.68); }
.security-form .primary-button { margin-top:3px; }
.family-inline-actions button { flex:1 1 145px; }
.family-slots { display:grid; gap:8px; margin:8px 0 14px; }
.family-slot { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:9px; padding:10px; border-radius:16px; background:rgba(255,255,255,.54); border:1px solid rgba(255,255,255,.8); }
.family-slot.is-active { background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(232,246,239,.58)); }
.family-slot p { margin:2px 0 4px; color:var(--muted); font-size:8px; }
.family-slot small { color:var(--muted); font-size:7px; }
.family-slot-status { align-self:start; font-size:7px; color:var(--primary); white-space:nowrap; }
.family-slot-actions { display:flex; gap:7px; }
.family-slot-actions .text-button { font-size:8px; padding:0; }
.family-invite-form, .permission-card, .drive-status, .security-note { margin-top:10px; padding:11px; border-radius:16px; background:rgba(255,255,255,.46); border:1px solid rgba(255,255,255,.7); }
.family-invite-form h3 { margin:0 0 8px; font-size:12px; }
.permission-card p { margin:6px 0 0; color:var(--muted); font-size:8px; line-height:1.45; }
.permission-editor, .invite-result { margin-top:10px; padding:11px; border-radius:16px; background:rgba(255,255,255,.46); border:1px solid rgba(255,255,255,.7); }
.permission-checklist { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin:8px 0; }
.permission-check { display:flex; align-items:center; gap:5px; margin:0; padding:6px; border-radius:10px; background:rgba(255,255,255,.55); font-size:8px; }
.permission-check input { width:auto; margin:0; }
.invite-result pre { white-space:pre-wrap; font:8px/1.45 var(--font-body); color:var(--ink); margin:8px 0; }
.invite-result small { color:var(--muted); font-size:7px; line-height:1.4; }
.theme-previews { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:10px 0; }
.theme-preview { display:grid; gap:4px; text-align:left; padding:12px; border-radius:17px; border:1px solid rgba(255,255,255,.8); background:rgba(255,255,255,.56); color:var(--ink); cursor:pointer; }
.theme-preview span { font-size:24px; letter-spacing:5px; }.theme-preview strong { font-size:10px; }.theme-preview small { color:var(--muted); font-size:8px; }
.theme-preview.selected { outline:2px solid var(--primary); box-shadow:0 5px 12px rgba(110,77,72,.14); }
.stage-settings { margin:5px 0 13px; padding:11px; border-radius:17px; background:rgba(255,255,255,.46); border:1px solid rgba(255,255,255,.72); }
.stage-settings > p, .stage-born-confirm p { margin:4px 0 9px; color:var(--muted); font-size:8px; line-height:1.45; }
.stage-options { display:grid; gap:7px; }.stage-option { display:flex; align-items:center; gap:8px; margin:0; padding:9px; border-radius:13px; background:rgba(255,255,255,.58); font-size:8px; cursor:pointer; }.stage-option input { width:auto; margin:0; }.stage-option strong,.stage-option small { display:block; }.stage-option small { color:var(--muted); margin-top:2px; font-size:7px; }.stage-option:has(input:checked) { outline:2px solid rgba(216,145,133,.7); background:rgba(255,237,232,.72); }
.stage-born-confirm { margin-top:9px; padding-top:9px; border-top:1px solid rgba(112,80,68,.1); }.stage-born-confirm label { font-size:8px; }
.drive-status { display:grid; gap:3px; margin-bottom:8px; }
.drive-status small, .security-note { color:var(--muted); font-size:8px; line-height:1.45; }

/* Lenguaje de controles de cristal del tema Globito */
.glass-action, .upload-memory, .filter-chip, .round-action, .calendar-button, .download-report,
.primary-button, .secondary-button, .add-list-item, .checklist-tabs button.active,
.mother-grid button, .moods button, .settings-row > span, .contact-actions button, .milestone-strip span,
.folder-strip button, .photo-dashboard article > button, .memory-download, .ultrasound-card > button,
.doctor-notes button, .session-actions button, .modal-close, .bottom-nav, .nav-button.active {
  border: 1px solid rgba(255,255,255,.92);
  background-image: linear-gradient(145deg, rgba(255,255,255,.76), rgba(251,162,171,.24) 55%, rgba(188,217,203,.22));
  backdrop-filter: blur(16px) saturate(135%);
  box-shadow: inset 2px 3px 3px rgba(255,255,255,.94), inset -3px -4px 8px rgba(153,205,216,.12), 0 9px 21px rgba(109,78,61,.12);
}
.glass-action:active, .primary-button:active, .secondary-button:active, .round-action:active { transform: translateY(1px) scale(.985); box-shadow: inset 2px 3px 6px rgba(111,83,68,.1); }
.daily-actions .glass-action { min-height: 142px; padding: 12px; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 7px; align-content: end; }
.daily-actions .glass-action img { position: absolute; top: 4px; right: 4px; width: 75px; height: 75px; object-fit: contain; opacity: .7; filter: drop-shadow(0 5px 7px rgba(121,84,65,.12)); }
.daily-actions .glass-action > span { grid-row: 1/3; align-self: center; margin: 0; }
.daily-actions .glass-action strong,.daily-actions .glass-action small { align-self: end; }
.daily-actions .glass-action small { align-self: start; }
.calendar-button { width: 62px; min-height: 45px; border-radius: 15px; display: grid; place-content: center; gap: 2px; color: white; cursor: pointer; }.calendar-button small { font-size: 6px; }

.memory-browser { margin: 18px 0; }.folder-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 94px; gap: 8px; overflow-x: auto; padding: 2px 1px 10px; scrollbar-width: none; }.folder-strip::-webkit-scrollbar { display:none; }.folder-strip button { min-height: 92px; border: 1px solid rgba(255,255,255,.88); border-radius: 22px; padding: 10px; background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(239,179,189,.18)); box-shadow: inset 1px 2px 2px white, 0 8px 17px rgba(90,66,51,.09); cursor: pointer; text-align: left; }.folder-strip button.active { outline: 2px solid rgba(232,143,130,.28); }.folder-strip span { width: 33px; height: 33px; display:grid; place-content:center; border-radius: 12px; background: var(--primary-soft); color:var(--primary); font:600 13px var(--font-display); }.folder-strip strong,.folder-strip small { display:block; }.folder-strip strong { margin-top:7px; font-size:9px; }.folder-strip small { color:var(--muted); font-size:7px; margin-top:2px; }
.photo-dashboard { display:grid; gap:8px; margin-top:6px; }.photo-dashboard article { display:grid; grid-template-columns: 59px 1fr auto auto; gap:8px; align-items:center; padding:8px; border-radius:18px; background:rgba(255,255,255,.62); border:1px solid rgba(255,255,255,.82); }.sample-photo { width:59px; height:67px; border-radius:27px 27px 7px 7px; background: var(--primary-soft) center/contain no-repeat; }.sample-photo.bunny-one { background-image:url('./assets/globito/bunny-sitting.png'); }.sample-photo.bunny-two { background-image:url('./assets/globito/bunny-rattle.png'); }.photo-dashboard span,.photo-dashboard strong,.photo-dashboard small { display:block; }.photo-dashboard span { color:var(--primary); font-size:6px; }.photo-dashboard strong { margin:3px 0; font-size:9px; }.photo-dashboard small { color:var(--muted); font-size:7px; }.photo-dashboard label { font-size:7px; color:var(--muted); }.photo-dashboard label input { width:auto; }.photo-dashboard article>button { width:28px;height:28px;border:1px solid white;border-radius:10px;background:var(--glass);color:var(--primary);cursor:pointer; }
.memory-download { width:28px;height:28px;display:grid;place-content:center;border:1px solid white;border-radius:10px;background:var(--glass);color:var(--primary);text-decoration:none; }
.ultrasound-card { display:grid;grid-template-columns:60px 1fr auto;gap:11px;align-items:center;border-radius:22px;padding:11px;margin-top:11px; }.ultrasound-preview { width:60px;height:68px;border-radius:26px 26px 7px 7px;display:grid;place-content:center;background:linear-gradient(150deg,#9a9189,#615b57);color:white;font:600 18px var(--font-display); }.ultrasound-card h3 { margin:3px 0;font:600 14px var(--font-display); }.ultrasound-card p { margin:0;color:var(--muted);font-size:8px; }.ultrasound-card>button { width:30px;height:30px;border:1px solid white;border-radius:11px;background:rgba(255,255,255,.6);color:var(--primary);cursor:pointer; }
.doctor-notes { margin:11px 0;padding:14px;border-radius:21px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center; }.doctor-notes h3 { margin:3px 0;font:600 15px var(--font-display); }.doctor-notes p { margin:0;color:var(--muted);font-size:8px;line-height:1.45; }.doctor-notes button { border:0;background:transparent;color:var(--primary);font-size:9px;font-weight:700;cursor:pointer; }

.activity-modal form,.letter-modal form { position:relative;overflow:hidden; }.modal-character { position:absolute;right:-13px;top:-6px;width:96px;height:96px;opacity:.32;pointer-events:none; }.modal-character img { width:100%;height:100%;object-fit:contain; }.activity-modal .modal-head,.letter-modal .modal-head { padding-right:65px; }.session-actions { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px; }.session-actions button { border:1px solid rgba(255,255,255,.9);border-radius:15px;padding:10px;background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(251,162,171,.2));box-shadow:inset 1px 2px 2px white,0 6px 13px rgba(90,66,51,.09);color:var(--primary);font-size:9px;font-weight:700;cursor:pointer; }.book-option { display:flex!important;align-items:center;gap:7px;padding:10px;border-radius:14px;background:rgba(255,255,255,.5); }.book-option input { width:auto;margin:0!important; }.letter-modal textarea { min-height:170px; }

/* El fondo sigue visible, pero las superficies de lectura conservan contraste. */
.checklist-panel { background: rgba(255,255,255,.72); border-color: rgba(255,255,255,.88); }
.contact-card { background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,255,255,.54)); border-color: rgba(255,255,255,.92); }
.health-intro { background: linear-gradient(145deg, rgba(204,228,223,.72), rgba(255,255,255,.7)); border: 1px solid rgba(255,255,255,.88); backdrop-filter: blur(12px); }
.journal-card { background: rgba(255,250,242,.9); border-color: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.photo-dashboard article, .document-card, .medicine-card, .vaccine-list article { background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(11px); }
.section-intro h2, .section-intro h3, .section-intro p, .home-hero h2, .hero-script, .due-date { text-shadow: 0 1px 5px rgba(255,255,255,.92); }

/* Segundo universo visual: Elefantico */
body[data-theme="elephant"] .prototype-panel h1 em,
body[data-theme="elephant"] .mini-label,
body[data-theme="elephant"] .text-button { color: #d98f82; }
body[data-theme="elephant"] .app-header { background: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.2)); }
body[data-theme="elephant"] .glass-card,
body[data-theme="elephant"] .soft-card { background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(218,235,227,.48)); border-color: rgba(255,255,255,.94); }
body[data-theme="elephant"] .nav-button.active,
body[data-theme="elephant"] .primary-button,
body[data-theme="elephant"] .mother-grid button { background-image: linear-gradient(145deg, rgba(255,255,255,.9), rgba(243,195,178,.58) 58%, rgba(153,205,216,.24)); color: var(--ink); }
body[data-theme="elephant"] .health-intro { background: linear-gradient(145deg, rgba(218,235,227,.82), rgba(255,255,255,.78)); }
body[data-theme="elephant"] .next-appointment { background: linear-gradient(135deg, #e6a193, #f3c3b2 58%, #edb7aa); }

.mini-calendar { padding: 15px; border-radius: 25px; margin: 12px 0; }
.calendar-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.calendar-head h3 { margin:3px 0 0; font:600 18px var(--font-display); }
.calendar-week,.calendar-days { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; }
.calendar-week { margin-bottom:5px; color:var(--muted); font-size:7px; font-weight:700; }
.calendar-days button,.calendar-days .empty { min-width:0; height:29px; border:0; border-radius:10px; background:rgba(255,255,255,.48); font-size:8px; color:var(--ink); position:relative; }
.calendar-days button { cursor:pointer; }
.calendar-days button:hover { background:rgba(255,255,255,.9); }
.calendar-days .has-appointment { color:white; font-weight:700; background:linear-gradient(145deg,#e3a091,#f3c3b2); box-shadow:0 5px 12px rgba(181,112,99,.2); }
.calendar-days .has-appointment i { position:absolute; bottom:3px; left:50%; width:3px; height:3px; transform:translateX(-50%); border-radius:50%; background:white; }
.calendar-event { margin-top:10px; padding:8px 10px; border-radius:13px; background:rgba(243,195,178,.24); display:flex; align-items:center; gap:7px; font-size:8px; }
.calendar-event span { width:7px; height:7px; border-radius:50%; background:#e5a090; }

.prenatal-track { display:grid; grid-auto-flow:column; grid-auto-columns:86px; gap:8px; overflow-x:auto; padding:2px 1px 10px; scrollbar-width:none; }
.prenatal-track::-webkit-scrollbar { display:none; }
.prenatal-track button { min-height:90px; padding:10px; text-align:left; border:1px solid rgba(255,255,255,.92); border-radius:21px; background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(218,235,227,.5)); box-shadow:inset 1px 2px 2px white,0 8px 17px rgba(90,66,51,.08); cursor:pointer; }
.prenatal-track button:nth-child(3n+2) { background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(153,205,216,.25)); }
.prenatal-track button:nth-child(3n) { background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(243,195,178,.3)); }
.prenatal-track span { width:29px; height:29px; display:grid; place-content:center; border-radius:50%; background:rgba(255,255,255,.75); color:var(--primary); font:600 13px var(--font-display); }
.prenatal-track strong,.prenatal-track small { display:block; }
.prenatal-track strong { margin-top:8px; font-size:9px; }.prenatal-track small { margin-top:2px; font-size:7px; color:var(--muted); }
.doctor-notes ul { margin:7px 0 0; padding-left:14px; color:var(--muted); font-size:8px; line-height:1.55; }

.daily-prayer { margin:14px 0; padding:13px; border-radius:25px; display:grid; grid-template-columns:68px 1fr; gap:11px; align-items:center; overflow:hidden; }
.prayer-elephant { width:68px; height:78px; border-radius:28px 28px 10px 10px; background:rgba(243,195,178,.25); overflow:hidden; }
.prayer-elephant img { width:100%; height:100%; object-fit:contain; }
.daily-prayer h3 { margin:4px 0; font:600 15px/1.15 var(--font-display); }
.daily-prayer p { margin:0; font-size:8px; color:var(--muted); line-height:1.5; }

.elephant-modal .modal-character { opacity:.38; width:104px; height:104px; }
.dialog-content { padding:23px; position:relative; overflow:hidden; }
.pregnancy-folders { display:grid; grid-template-columns:repeat(9,1fr); gap:3px; margin:5px 0 12px; }
.pregnancy-folders button { min-width:0; height:30px; border:1px solid rgba(255,255,255,.9); border-radius:10px; background:rgba(218,235,227,.55); color:var(--ink); font-size:8px; cursor:pointer; }
.pregnancy-folders button.active { background:linear-gradient(145deg,#f3c3b2,#fff); color:#a76b62; box-shadow:0 5px 12px rgba(160,105,93,.12); }
.diary-folders { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-bottom:12px; }
.diary-folders button { padding:10px 7px; border:1px solid rgba(255,255,255,.92); border-radius:15px; background:rgba(218,235,227,.48); font-size:8px; font-weight:700; }
.diary-folders button.active { background:rgba(243,195,178,.55); }.diary-folders small { display:block; margin-top:3px; font-size:6px; color:var(--muted); }
.diary-entry-list { display:grid; gap:8px; margin-bottom:13px; }
.diary-entry-list article { padding:11px; border-radius:16px; background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.9); }
.diary-entry-list span,.diary-entry-list strong { display:block; }.diary-entry-list span { font-size:6px; color:var(--primary); }.diary-entry-list strong { margin:4px 0; font:600 12px var(--font-display); }.diary-entry-list p { margin:0; color:var(--muted); font-size:8px; line-height:1.45; }
.dialog-content > .primary-button { width:100%; }
.birth-rows > div > .birth-icon { width:36px; height:36px; border-radius:13px; font-size:18px; font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif; line-height:1; border:1px solid rgba(255,255,255,.9); box-shadow:inset 2px 2px 3px rgba(255,255,255,.9), inset -3px -4px 6px rgba(112,90,80,.12), 0 6px 12px rgba(93,70,57,.13); }
.birth-rows > div { grid-template-columns:36px 1fr; }
.birth-icon.icon-date { background:linear-gradient(145deg,#f7d3c8,#efaaa1); color:#a96d66; }.birth-icon.icon-time { background:linear-gradient(145deg,#d7cced,#a99ac9); color:#6f628d; }.birth-icon.icon-weight { background:linear-gradient(145deg,#f4dfa8,#e5bd63); color:#95733d; }.birth-icon.icon-height { background:linear-gradient(145deg,#cde7df,#96cfc0); color:#4e887c; }
.birth-edit { margin-top:12px; }
.reminder-actions { display:flex; flex-direction:column; gap:5px; }.reminder-actions .stop-button { min-width:58px; }
.reminder-settings { margin:9px 0 15px; padding:12px; border-radius:19px; }.reminder-settings .two-fields { margin-top:5px; }.reminder-settings label { font-size:8px; }.reminder-settings input,.reminder-settings select { margin-top:4px; padding:8px 9px; border-radius:12px; font-size:9px; }
.growth-panel { margin:14px 0; padding:13px; border-radius:23px; }.growth-summary { display:flex; justify-content:space-between; gap:8px; padding:10px; border-radius:14px; background:rgba(255,255,255,.6); font-size:8px; }.growth-summary strong { color:var(--primary); text-align:right; }.growth-table-wrap { overflow-x:auto; margin-top:9px; }.growth-table { width:100%; border-collapse:collapse; font-size:7px; }.growth-table th { color:var(--muted); font-weight:700; text-align:left; padding:6px 4px; border-bottom:1px solid var(--line); }.growth-table td { padding:7px 4px; border-bottom:1px solid rgba(91,72,58,.07); white-space:nowrap; }
.book-selection { display:grid; gap:7px; margin:13px 0; }.book-selection label { display:flex; align-items:center; gap:8px; margin:0; padding:10px; border-radius:14px; background:rgba(255,255,255,.65); font-size:9px; }.book-selection input { width:auto; margin:0; }.book-preview-page { min-height:105px; display:grid; place-content:center; text-align:center; border-radius:20px; background:linear-gradient(145deg,#f6d7cd,#f6e8d9 55%,#d8e9e1); border:1px solid rgba(255,255,255,.92); box-shadow:inset 2px 3px 4px rgba(255,255,255,.9); }.book-preview-page span { font-size:24px; color:#d99285; }.book-preview-page strong { font:600 16px var(--font-display); }.book-preview-page small { margin-top:5px; color:var(--muted); font-size:8px; }
body[data-theme="elephant"] .birth-icon.icon-date { background:linear-gradient(145deg,#f6c7ba,#e79c8d); } body[data-theme="elephant"] .birth-icon.icon-time { background:linear-gradient(145deg,#dcd3ee,#b4a4d0); } body[data-theme="elephant"] .birth-icon.icon-weight { background:linear-gradient(145deg,#f5e3b1,#e9c676); } body[data-theme="elephant"] .birth-icon.icon-height { background:linear-gradient(145deg,#cfe9df,#a5d5c5); }

/* Iconos bebé en relieve: una familia visual coherente para toda la app */
.baby-icon {
  display: inline-grid !important;
  place-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 21px;
  line-height: 1;
  color: #6d5b67;
  background: linear-gradient(145deg, rgba(255,255,255,.96), #f7c4bd 50%, #e7a099);
  border: 1px solid rgba(255,255,255,.96);
  box-shadow: inset 2px 2px 3px rgba(255,255,255,.98), inset -3px -4px 6px rgba(125,83,77,.18), 0 7px 13px rgba(112,77,65,.2);
  text-shadow: 0 1px 1px rgba(255,255,255,.75), 0 2px 2px rgba(94,67,64,.16);
}
.baby-icon::selection { background: transparent; }
.icon-feed, .icon-smile, .icon-belly { background: linear-gradient(145deg,#fff5e8,#f5b8b4 54%,#e99b9c); }
.icon-bottle, .icon-month, .icon-letter { background: linear-gradient(145deg,#f8f4ff,#c9b9e7 52%,#a899cf); }
.icon-diaper, .icon-feet, .icon-diary { background: linear-gradient(145deg,#f4fff8,#b9dfcf 52%,#8fc4b4); }
.icon-sleep, .icon-waiting, .icon-year, .icon-postpartum { background: linear-gradient(145deg,#fff9df,#f2d28e 52%,#dfb968); }
.icon-crawl, .icon-steps, .icon-blood { background: linear-gradient(145deg,#fff4eb,#f0b79e 52%,#df927f); }
.icon-calendar, .icon-weight, .icon-height { background: linear-gradient(145deg,#eefcff,#a9dbe1 52%,#78b9c8); }
.quick-grid button span.baby-icon { width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 14px; font-size: 22px; }
.daily-actions .glass-action > span.baby-icon { width: 42px; height: 42px; border-radius: 15px; font-size: 23px; }
.milestone-strip span.baby-icon { width: 51px; height: 51px; border-radius: 17px; font-size: 25px; }
.folder-strip span.baby-icon { width: 38px; height: 38px; border-radius: 13px; font-size: 21px; }
.health-metrics span.baby-icon { width: 38px; height: 38px; margin: 0 auto; border-radius: 13px; font-size: 21px; }
.calendar-button span.baby-icon { width: 27px; height: 27px; border-radius: 10px; font-size: 17px; }
.mother-grid span.baby-icon { width: 40px; height: 40px; border-radius: 14px; font-size: 22px; margin-bottom: 10px; }
.moods button { display: grid; place-content: center; font-size: 16px; box-shadow: inset 1px 2px 2px rgba(255,255,255,.9), 0 4px 9px rgba(100,76,65,.14); }
.moods button.mood-calm { background: linear-gradient(145deg,#f0fcff,#addde4); }
.moods button.mood-happy { background: linear-gradient(145deg,#fff8dd,#f2d28d); }
.moods button.mood-tired { background: linear-gradient(145deg,#f8f2ff,#cbbce7); }
.moods button.mood-tender { background: linear-gradient(145deg,#fff1f5,#f3b0b9); }
.nav-button span.baby-icon { width: 30px; height: 30px; border-radius: 11px; font-size: 16px; margin: 0 auto 1px; }
.settings-row > span.baby-icon { width: 31px; height: 31px; border-radius: 11px; font-size: 16px; }

@media (max-width: 900px) {
  body { background: var(--paper); }
  .ambient,.prototype-panel { display: none; }
  .prototype-shell { display: block; padding: 0; min-height: 100vh; }
  .phone { width: 100%; max-width: none; height: 100dvh; min-height: 600px; border-radius: 0; padding: 0; background: var(--paper); box-shadow: none; }
  .phone-speaker { display: none; }.app { border-radius: 0; }
  .app-header { padding-top: max(18px, env(safe-area-inset-top)); height: calc(69px + env(safe-area-inset-top)); }
  .view-container { height: calc(100% - 140px - env(safe-area-inset-top)); }
  .bottom-nav { bottom: max(7px, env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  .view { padding-inline: 15px; }.home-hero { transform: scale(.94); transform-origin: top center; margin-bottom: -22px; }.app-header { padding-inline: 17px; }.bottom-nav { left: 7px; right: 7px; }.nav-button small { font-size: 6px; }
}

@media print {
  body * { visibility: hidden !important; }
  .view[data-view="health"], .view[data-view="health"] * { visibility: visible !important; }
  .phone, .app, .view-container, .view[data-view="health"] { position: static; display: block !important; width: 100%; height: auto; overflow: visible; box-shadow: none; padding: 0; }
  .app-header,.bottom-nav,.mother-only,.download-report { display: none !important; }
}
