:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --primary: #6750a4;
  --lavender: #c9b5e0;
  --cream: #fcf9ec;
  --navy: #00105b;
  --white: #ffffff;
  --canvas: var(--cream);
  --ink: var(--navy);
  --muted: #535371;
  --line: #e6dff0;
  --primary-hover: #543c8f;
  --lavender-soft: #f2ecf8;
  --focus: var(--primary);
  --radius: 18px;
  --brand: #6750a4;
  --surface: var(--white);
  --soft: var(--cream);
  --on-primary: var(--white);
  --inverse: var(--navy);
  --on-inverse: var(--white);
  --field-line: #b9accb;
  --danger: #a02124;
  --success: #17694f;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --primary: #b9a4f6;
  --primary-hover: #cdbcff;
  --lavender: #4b3f74;
  --lavender-soft: #2b2542;
  --navy: #ece9f6;
  --canvas: #14121c;
  --surface: #1e1b2b;
  --soft: #262236;
  --ink: #ece9f6;
  --muted: #b0aac6;
  --line: #363049;
  --on-primary: #1a1033;
  --inverse: #ece9f6;
  --on-inverse: #14121c;
  --field-line: #5c5478;
  --danger: #ff8f92;
  --success: #6fd3a8;
}
.theme-toggle .theme-light, :root[data-theme="dark"] .theme-toggle .theme-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-light { display: contents; }
.theme-toggle .theme-dark { display: contents; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.5; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
h1 { font-size: clamp(2.05rem, 4vw, 3rem); font-weight: 650; letter-spacing: -.055em; }
h2 { font-size: 1.31rem; font-weight: 660; letter-spacing: -.035em; }
p { color: var(--muted); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
svg { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.skip { position: fixed; z-index: 50; top: 10px; left: 10px; padding: 10px 18px; background: var(--surface); transform: translateY(-170%); }
.skip:focus { transform: none; }
.brand { display: inline-flex; align-items: center; max-width: 100%; }
.brand img { height: auto; max-width: 100%; display: block; }
.btn {
  min-height: 43px; border-radius: 999px; padding: 9px 18px; font-weight: 610;
  display: inline-flex; justify-content: center; align-items: center; gap: 9px;
  border: 1px solid transparent; white-space: normal; letter-spacing: -.01em;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.secondary { background: var(--lavender-soft); color: var(--primary); }
.btn.secondary:hover { background: var(--lavender); color: var(--navy); }
.btn.white { background: var(--surface); color: var(--primary); }
.btn.white:hover { background: var(--lavender-soft); }
.btn.quiet { color: var(--ink); background: transparent; border-color: var(--line); }
.btn.wide { width: 100%; }
.btn.google { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn.google::before { content: "G"; color: var(--primary); font-weight: 760; font-size: 1.12em; }
.btn.google:hover, .btn.quiet:hover { background: var(--canvas); }
.text-btn, .icon-btn { color: var(--primary); border: 0; background: transparent; min-height: 42px; padding: 7px 3px; font-weight: 600; }
.text-btn:hover { text-decoration: underline; }
.icon-btn { width: 42px; border-radius: 50%; flex: none; background: var(--canvas); color: var(--ink); }
.icon-btn:hover { background: var(--line); }
.mark, .face { width: 42px; height: 42px; border-radius: 13px; display: inline-grid; place-items: center; flex: none; font-weight: 680; }
.face { position: relative; overflow: hidden; border-radius: 50%; font-size: .83rem; }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.accent { color: var(--primary); background: var(--lavender-soft); }
.lavender { color: var(--navy); background: var(--lavender); }
.cream { color: var(--primary); background: var(--soft); border: 1px solid var(--line); }
.navy { color: var(--on-inverse); background: var(--inverse); }
.eyebrow { display: block; color: var(--primary); font-weight: 650; font-size: .87rem; }
.chip { display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-size: .74rem; font-weight: 630; }
.chip.soft { background: var(--lavender-soft); color: var(--navy); }
.chip.green { background: #e6f6ed; color: #16634a; }
.chip.amber { background: #fff0df; color: #824100; }
.loading, .access { display: grid; place-items: center; padding: 24px; }
.access { min-height: 80vh; }
.loading { min-height: 100svh; }
.loading-heart {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lavender-soft);
  color: var(--primary);
}
.loading-heart svg { width: 48px; height: 48px; animation: loading-heartbeat 1.35s ease-in-out infinite; }
@keyframes loading-heartbeat {
  0%, 48%, 100% { transform: scale(1); }
  19% { transform: scale(1.18); }
  34% { transform: scale(1.08); }
}
.access .card { width: min(100%, 525px); display: grid; gap: 16px; }
.access .brand { background: var(--primary); padding: 12px 16px; border-radius: 12px; justify-self: start; }

.access-onboarding {
  min-height: 100svh;
  place-items: center;
  padding: 20px 16px;
}
.access-create-family {
  background-color: var(--primary-hover);
  background-image: linear-gradient(180deg, #6750a440, #543c8fb0 350px, var(--primary-hover) 530px), url("/assets/familia-fondo.webp");
  background-position: center, 88% top;
  background-size: cover, max(100%, 645px) auto;
  background-repeat: no-repeat;
}
.access-onboarding .card {
  padding: clamp(20px, 5vw, 36px);
  gap: 12px;
  border-radius: 22px;
  box-shadow: 0 18px 54px #21133d37;
}
.access-onboarding h1 { color: var(--primary); font-size: clamp(1.9rem, 4vw, 2.7rem); margin-top: 4px; }
.access-onboarding form { margin-top: 6px; }
.access-onboarding > .card > .text-btn { justify-self: center; padding-inline: 12px; }
@media (min-width: 760px) {
  .access-create-family {
    background-image: linear-gradient(90deg, #352165bc, #6750a463 55%, #6750a429 100%), url("/assets/familia-fondo.webp");
    background-position: center, right 42%;
    background-size: cover;
  }
}

.auth { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.auth-cover { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--white); padding: 18px 19px; display: flex; flex-direction: column; }
.auth-cover :focus-visible, .family-hero :focus-visible { outline-color: var(--white); }
.cover-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; z-index: 2; }
.cover-top .brand img { width: 116px; }
.cover-link { color: var(--white); font-weight: 560; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.cover-link svg, .mobile-demo svg { width: 16px; height: 16px; }
.cover-copy, .cover-art { display: none; }
.cover-copy { position: relative; margin-top: clamp(55px, 9vh, 130px); z-index: 1; }
.cover-copy p { color: var(--cream); margin-top: 23px; max-width: 33ch; font-size: clamp(1rem, 1.45vw, 1.25rem); }
.cover-copy .cover-title { color: var(--white); font-size: clamp(3.15rem, 6.15vw, 6.4rem); font-weight: 640; letter-spacing: -.065em; line-height: .98; margin: 0; }
.cover-art { width: min(100%, 530px); align-self: center; height: clamp(235px, 35vh, 410px); position: relative; margin-top: auto; padding-top: 20px; }
.halo { position: absolute; width: 78%; aspect-ratio: 1; left: 12%; top: 5%; background: var(--primary-hover); border: 1px solid var(--lavender); border-radius: 50%; }
.device { position: absolute; inset: 16% 17% auto 19%; aspect-ratio: 1.42; transform: rotate(-9deg); border-radius: 27px; background: var(--cream); border: 7px solid #120c3b; padding: 9% 6% 5%; display: flex; flex-direction: column; align-items: center; gap: clamp(5px, 1vw, 12px); box-shadow: 0 20px 38px #080c3975; }
.device-bar { position: absolute; top: 4%; width: 23%; height: 3%; border-radius: 999px; background: var(--navy); }
.device-heart { display: grid; place-items: center; border-radius: 30%; width: 24%; aspect-ratio: 1; background: var(--primary); color: var(--on-primary); }
.device-heart svg, .float-icon svg { width: 52%; height: 52%; }
.device-line { width: 52%; height: 4%; background: var(--primary); border-radius: 20px; }
.device-line.small { width: 35%; height: 3%; background: var(--lavender); }
.device-dock { width: 65%; flex: 1; display: flex; align-items: flex-end; justify-content: space-around; }
.device-dock span { color: var(--primary); display: grid; place-items: center; width: 26%; aspect-ratio: 1; border-radius: 25%; background: var(--lavender-soft); }
.device-dock svg { width: 53%; height: 53%; }
.float-card { position: absolute; right: 0; top: 20%; display: flex; gap: 10px; align-items: center; background: var(--surface); padding: 12px 16px 12px 11px; border-radius: 16px; color: var(--ink); box-shadow: 0 9px 20px #120c3b3b; transform: rotate(4deg); }
.float-card small, .float-card strong { display: block; }
.float-card small { color: var(--muted); line-height: 1.3; font-size: .72rem; }
.float-icon { position: absolute; left: 9%; top: 67%; width: 13%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; background: var(--lavender); color: var(--navy); transform: rotate(-16deg); }
.auth-pane { padding: 15px 19px 26px; display: flex; flex-direction: column; background: var(--surface); }
.auth-tabs { display: flex; flex-wrap: wrap; align-self: center; justify-content: center; gap: 4px; padding: 4px; border-radius: 26px; background: var(--canvas); }
.auth-tabs a { color: var(--muted); min-height: 44px; border-radius: 999px; font-weight: 600; font-size: .87rem; padding: 10px 12px; }
.auth-tabs a[aria-current] { color: var(--primary); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.auth-inner { width: min(100%, 385px); margin: auto; padding: 24px 0 12px; }
.auth-inner h1 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin: 9px 0; letter-spacing: -.05em; }
.auth-inner > p { margin-bottom: 18px; }
.auth-recovery { text-align: center; margin-top: 5px; }
.auth-tablet .tablet-family-link { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; }
.auth-tablet .auth-foot { font-size: .98rem; }
.auth-inner label, .access-onboarding label, #modal form[data-form="createAdult"] label { font-size: 1rem; }
.auth-inner input:not([type="checkbox"]), .access-onboarding input, #modal form[data-form="createAdult"] input { min-height: 52px; font-size: 1.0625rem; }
.auth-inner .btn, .access-onboarding .btn, #modal form[data-form="createAdult"] .btn { min-height: 52px; }
.auth-inner .text-btn, .access-onboarding .text-btn { min-height: 44px; }
.form-field { display: grid; gap: 6px; }
.field-hint { color: var(--muted); font-size: .9rem; }
.password-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.password-control .password-toggle { min-height: 44px; padding-inline: 5px; font-size: .92rem; }
@media (min-width: 760px) {
  .auth:not(.auth-tablet) { grid-template-rows: 1fr; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); }
  .auth:not(.auth-tablet) .auth-cover { min-height: 670px; padding: clamp(25px, 5vw, 74px); }
  .auth:not(.auth-tablet) .cover-copy, .auth:not(.auth-tablet) .cover-art { display: block; }
  .auth:not(.auth-tablet) .cover-top .brand img { width: 135px; }
  .auth:not(.auth-tablet) .auth-pane { padding: 25px clamp(24px, 5vw, 80px); }
  .auth:not(.auth-tablet) .auth-tabs { align-self: end; }
}
form { display: grid; gap: 15px; }
label { display: grid; gap: 7px; font-weight: 610; font-size: .92rem; overflow-wrap: anywhere; }
input:not([type="checkbox"]), textarea, select {
  width: 100%; min-width: 0; padding: 11px 13px; min-height: 46px; border: 1px solid var(--field-line);
  border-radius: 11px; color: var(--ink); background: var(--surface); font-size: 1rem; font-weight: 420;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; }
.divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 13px; color: var(--muted); margin: 16px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); }
.auth-foot { margin: 14px 0 0 !important; text-align: center; }
.mobile-demo { display: none; }
.form-error, .error { color: var(--danger); font-weight: 570; overflow-wrap: anywhere; }
.form-error:empty { display: none; }

.demo-bar { min-height: 49px; padding: 6px clamp(12px, 3vw, 36px); background: var(--lavender-soft); color: var(--navy); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 16px; font-size: .82rem; }
.demo-bar > div, .demo-bar nav, .demo-bar a { display: flex; align-items: center; gap: 7px; }
.demo-bar > div span { color: var(--muted); }
.demo-bar nav a { background: transparent; color: var(--navy); border: 0; border-radius: 999px; padding: 6px 11px; min-height: 34px; font-size: inherit; }
.demo-bar nav a[aria-current] { color: var(--on-primary); font-weight: 620; background: var(--primary); }
.demo-bar a svg { width: 14px; height: 14px; }
.shell { min-height: 100svh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.demo-bar + .shell { min-height: calc(100svh - 49px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 23px 14px 13px; }
.side-head { display: grid; gap: 13px; justify-items: center; margin: 0 9px 26px; }
/* The white logo works as a mask, so it shows in the brand colour and follows the theme. */
.side-head .brand { background-color: var(--primary); -webkit-mask: url("/assets/logoweb-blanco.png") left center / contain no-repeat; mask: url("/assets/logoweb-blanco.png") left center / contain no-repeat; }
.side-head .brand img { opacity: 0; }
.side-head .brand img { width: 113px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar button, .sidebar nav a, .adult-top nav a { border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 9px 11px; border-radius: 10px; font-weight: 560; text-align: left; }
.sidebar button:hover, .sidebar nav a:hover, .adult-top nav a:hover { background: var(--canvas); }
.sidebar button[aria-current], .sidebar nav a[aria-current], .adult-top nav a[aria-current] { color: var(--primary); background: var(--lavender-soft); font-weight: 660; }
.side-bottom { margin-top: auto; padding-top: 25px; display: grid; }
.workspace { min-width: 0; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px clamp(18px, 4vw, 49px); min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.breadcrumb { font-size: .92rem; font-weight: 620; }
.top-account { display: flex; align-items: center; gap: 11px; }
.top-account .face { width: 35px; height: 35px; }
.account-name { font-size: .87rem; font-weight: 610; }
.main { width: min(100%, 1350px); margin-inline: auto; padding: 29px clamp(18px, 4vw, 49px) 50px; }
.intro { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.intro h1, .tablet-inbox h1 { color: var(--primary); }
.intro > div > p { margin-top: 6px; }
.family-hero { min-height: 245px; position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: var(--white); border-radius: 23px; padding: clamp(22px, 3.5vw, 43px); display: flex; align-items: center; }
.family-hero > div:first-child { position: relative; z-index: 1; max-width: 62%; }
.family-hero div > span:first-child { color: var(--cream); font-size: .87rem; font-weight: 600; }
.family-hero h2 { margin: 7px 0 8px; font-size: clamp(1.77rem, 3.7vw, 3.2rem); letter-spacing: -.052em; }
.family-hero p { color: var(--cream); line-height: 1.4; max-width: 33ch; }
.family-hero .btn { margin-top: 19px; }
.family-tablet-status { margin-top: 16px; }
/* Cards stacked in a page always keep some air between them. */
.main > .card + .card { margin-top: 16px; }
.family-tablet-title { display: flex; align-items: center; gap: 10px; }
.family-tablet-title small { display: block; margin-top: 4px; color: var(--muted); }
.family-tablet-readings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
  gap: 8px;
  margin: 0;
}
.family-tablet-readings > div { min-width: 0; padding: 10px 12px; background: var(--canvas); border-radius: 12px; }
.family-tablet-readings dt { color: var(--muted); font-size: .85rem; }
.family-tablet-readings dd { margin: 3px 0 0; font-weight: 650; }
.family-tablet-readings .chip { white-space: normal; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: min(46%, 430px); }
.hero-orbit { position: absolute; top: -19%; right: -14%; width: 103%; aspect-ratio: 1; background: var(--primary-hover); border: 1px solid var(--lavender); border-radius: 50%; }
.hero-orbit::after { content: ""; position: absolute; inset: 15%; border: 1px solid var(--primary); border-radius: 50%; }
.hero-art .hero-heart, .hero-art .hero-icon { display: grid; place-items: center; position: absolute; aspect-ratio: 1; }
.hero-art svg { width: 49%; height: 49%; }
.hero-art .hero-heart { background: var(--lavender-soft); color: var(--primary); border-radius: 28%; width: 31%; top: 23%; left: 44%; transform: rotate(-12deg); }
.hero-heart svg { fill: currentColor; }
.hero-art .hero-chat { background: var(--lavender); color: var(--navy); border-radius: 28%; width: 18%; top: 17%; left: 22%; transform: rotate(-11deg); }
.hero-art .hero-bell { background: var(--cream); color: var(--navy); border-radius: 28%; width: 17%; top: 57%; left: 72%; transform: rotate(16deg); }
.quick { margin: 24px 0; }
.quick h2 { margin: 0 0 12px; }
.action-grid, .overview-grid, .plan-grid, .metric-grid { display: grid; gap: 14px; }
.action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.action-grid .empty { grid-column: 1 / -1; }
.action-tile, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.action-tile { text-align: left; color: var(--ink); min-height: 94px; padding: 13px; display: flex; align-items: center; gap: 10px; }
.action-tile > svg:last-child { margin-left: auto; color: var(--muted); width: 15px; height: 15px; }
.action-tile strong, .action-tile small { display: block; }
.action-tile small { color: var(--muted); font-size: .76rem; line-height: 1.25; margin-top: 3px; }
.action-tile:hover, .metric:hover { background: var(--lavender-soft); border-color: var(--lavender); }
.overview-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; margin-top: 20px; }
.vertical { display: grid; gap: 14px; }
.card { min-width: 0; padding: clamp(14px, 2vw, 23px); }
.card-head { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; min-height: 40px; }
.card-head .text-btn { font-size: .88rem; }
.list { display: grid; }
.row, .message { border-top: 1px solid var(--line); min-width: 0; }
.row:first-child, .message:first-child { border-top: 0; }
.row { display: flex; align-items: center; gap: 11px; min-height: 65px; padding: 9px 0; }
.row-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.row .text-btn { font-size: .85rem; flex: none; }
.row small, .item-top small { display: block; font-size: .81rem; color: var(--muted); }
.row strong, .item-top strong { display: block; line-height: 1.3; }
.item-top { display: flex; gap: 10px; align-items: center; }
.msg-type { margin-left: auto; }
.message { padding: 13px 0; }
.message p { margin-top: 9px; padding-left: 52px; color: var(--ink); overflow-wrap: anywhere; white-space: pre-wrap; }
.message .btn { margin: 9px 0 0 52px; }
.message-response { margin: 9px 0 0 52px; }
.empty { display: grid; justify-items: start; gap: 6px; border-radius: 13px; background: var(--soft); padding: 19px; }
.empty p { font-size: .9rem; }
.plan-grid, .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { display: flex; gap: 10px; align-items: center; min-height: 33px; font-size: .93rem; }
.plan .enabled svg { color: var(--success); }
.plan .disabled { color: var(--muted); }
.metric { display: flex; text-align: left; color: var(--ink); align-items: center; gap: 12px; }
.metric strong { display: block; font-size: 1.65rem; line-height: 1; margin-bottom: 4px; }
.metric small { color: var(--muted); }
.metric > svg { margin-left: auto; width: 15px; }
.settings { max-width: 780px; }
.settings form > button { justify-self: start; }
.toggle-row { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.toggle-row:first-child { border-top: 0; }
.toggle-row small { display: block; color: var(--muted); font-size: .85rem; font-weight: 420; }
.tablet-settings-form { max-width: 42rem; }
.profile-form { max-width: 32rem; }
.profile-form > .btn { justify-self: start; min-height: 48px; }
.profile-photo-field { display: grid; gap: 7px; font-weight: 610; font-size: .92rem; }
.photo-picker { position: relative; min-width: 0; }
.photo-picker input.photo-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
.photo-picker-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(9px, 3vw, 15px);
  min-height: 74px;
  padding: clamp(9px, 3vw, 13px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--lavender-soft);
  cursor: pointer;
}
.photo-picker-control:hover { border-color: var(--primary); }
.photo-picker-input:focus-visible + .photo-picker-control { outline: 3px solid var(--focus); outline-offset: 3px; }
.photo-picker-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 11px;
  background: var(--surface);
  color: var(--primary);
}
.profile-photo-field .photo-picker-thumb { border-radius: 50%; }
.photo-picker-thumb .face.profile-photo { width: 100%; height: 100%; color: var(--primary); background: var(--surface); }
.photo-picker-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-picker-copy { min-width: 0; display: grid; gap: 2px; }
.photo-picker-copy strong { font-size: 1rem; color: var(--primary); }
.photo-picker-filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 450; color: var(--muted); }
.photo-picker-filename:empty { display: none; }
.photo-picker-add { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--primary); background: var(--surface); }
.photo-picker-add svg { width: 17px; height: 17px; }
.tablet-tone-controls { display: grid; gap: 9px; }
.tablet-settings-form > .btn { min-height: 48px; }
@media (min-width: 480px) {
  .tablet-tone-controls { grid-template-columns: minmax(0, 1fr) auto; }
  .tablet-settings-form > .btn { justify-self: start; }
}
.switch { flex: none; appearance: none; background: #77718a; cursor: pointer; border: 0; border-radius: 100px; width: 46px; height: 27px; margin: 0; position: relative; }
.switch::after { content: ""; position: absolute; background: var(--white); width: 21px; height: 21px; border-radius: 50%; left: 3px; top: 3px; transition: transform .18s; }
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(19px); }

.adult-shell { min-height: 100svh; display: flex; flex-direction: column; }
.adult-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) clamp(16px, 5vw, 65px) 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.tablet-brand {
  width: clamp(97px, 14vw, 135px);
  aspect-ratio: 1512 / 358;
  flex: none;
  background-color: var(--primary);
  -webkit-mask: url("/assets/logoweb-blanco.png") center / contain no-repeat;
  mask: url("/assets/logoweb-blanco.png") center / contain no-repeat;
}
.adult-top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.adult-top nav a { min-height: 49px; font-size: 1rem; padding-inline: 15px; }
.adult-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 35px clamp(16px, 5vw, 56px) 55px; }
.adult-main .btn { min-height: 48px; }
.adult-dock {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 12px clamp(13px, 5vw, 56px) max(12px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.adult-dock-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; max-width: 760px; margin-inline: auto; }
.adult-dock .btn { min-height: 64px; font-size: 1.2rem; }
.adult-dock .btn svg { width: 24px; height: 24px; }
html:has(.adult-dock) { scroll-padding-bottom: 110px; }
body:has(.adult-dock) #toast { bottom: calc(104px + env(safe-area-inset-bottom)); }
.tablet-inbox { max-width: 760px; margin-inline: auto; }
.tablet-inbox h1 { font-size: clamp(2rem, 5vw, 3.3rem); overflow-wrap: anywhere; }
.adult-greeting { padding: 6px 0 clamp(20px, 4vw, 34px); }
.tablet-inbox h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); }
.tablet-message-list { display: grid; gap: 16px; margin-top: 14px; }
.tablet-message, .tablet-message-empty {
  min-width: 0;
  padding: clamp(16px, 3vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tablet-message-empty { margin-top: 14px; font-size: 1.15rem; }
.tablet-message {
  display: grid;
  grid-template-columns: clamp(68px, 23%, 150px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
}
.tablet-message header { display: grid; justify-items: center; gap: 5px; text-align: center; }
.face.tablet-message-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(44px, 9vw, 64px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 2px;
  overflow: hidden;
  border-radius: 50%;
  color: var(--primary);
  background: var(--lavender-soft);
  font-size: 1.05rem;
  font-weight: 650;
}
.tablet-message h3 { font-size: clamp(.96rem, 2.2vw, 1.15rem); overflow-wrap: anywhere; }
.tablet-message small { color: var(--muted); font-size: clamp(.8rem, 1.8vw, .9rem); }
.tablet-message-content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(12px, 3vw, 24px);
}
.tablet-message p {
  color: var(--ink);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tablet-message .tablet-audio-hint { color: var(--muted); font-size: clamp(1.15rem, 2.6vw, 1.35rem); }
.tablet-message-photo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--lavender-soft);
  color: var(--primary);
  cursor: zoom-in;
}
.tablet-message-photo img {
  display: block;
  width: 100%;
  max-height: 60svh;
  object-fit: contain;
  border-radius: inherit;
}
.tablet-photo-status { padding: 12px; font-weight: 650; }
.tablet-message-photo + p { margin-top: 12px; }
.tablet-message-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: auto; }
.tablet-message :is(p, .tablet-message-photo) + .tablet-message-actions { padding-top: 16px; }
.tablet-message-actions .btn, .tablet-response-choices .btn { min-height: 52px; font-size: 1.08rem; }
.tablet-message-actions .btn { padding-inline: clamp(12px, 3vw, 20px); }
.tablet-general-reply { margin-top: 24px; }
.voice-controls { display: grid; justify-items: stretch; gap: 8px; }
.voice-controls .btn { min-height: 64px; font-size: 1.16rem; }
.voice-controls .btn[data-recording] { background: var(--primary); color: var(--on-primary); }
.voice-controls + [type="submit"] { width: 100%; min-height: 56px; font-size: 1.1rem; }
#record-status:empty { display: none; }
.tablet-response-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tablet-response-choices .btn { padding-inline: 6px; }
.tablet-response-choices .btn[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.adult-main .row strong { font-size: 1.18rem; }
.adult-main .card h2 { font-size: 1.45rem; }
dialog { width: min(calc(100% - 25px), 560px); max-height: calc(100% - 25px); border: 1px solid var(--line); border-radius: 23px; padding: clamp(19px, 4vw, 27px); color: var(--ink); background: var(--surface); }
dialog::backdrop { background: #00105b87; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.modal-head h2 { font-size: 1.65rem; }
.modal-description { margin-bottom: 15px; }
dialog form > button { justify-self: start; }
.inline-actions, .record-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
dialog .inline-actions { margin-top: 13px; }
.record-tools span { font-size: .85rem; color: var(--muted); }
.asset-frame { background: var(--canvas); border-radius: 12px; text-align: center; }
.asset-frame img { display: block; max-width: 100%; max-height: 65vh; margin-inline: auto; border-radius: 12px; }
.asset-frame audio { display: block; width: 100%; }
.asset-caption { margin-top: 13px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
dialog.photo-viewer[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: max(12px, env(safe-area-inset-top)) clamp(10px, 2vw, 22px) max(12px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 0;
}
.photo-viewer .modal-head { justify-content: center; margin: 0; text-align: center; overflow-wrap: anywhere; }
.photo-viewer .modal-head h2 { font-size: clamp(1.15rem, 3vw, 1.65rem); }
.photo-viewer-body { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.photo-viewer .asset-frame { display: grid; place-items: center; min-height: 0; }
.photo-viewer .asset-frame img { width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: contain; }
.photo-viewer .asset-caption { max-height: 20svh; overflow: auto; text-align: center; font-size: 1.15rem; }
.photo-viewer-close { justify-self: center; width: min(100%, 340px); min-height: 58px; font-size: 1.25rem; }
.reply-options { display: grid; gap: 10px; }
.reply-options .btn { min-height: 54px; font-size: 1.12rem; }
.alarm-content { display: grid; gap: 13px; justify-items: center; text-align: center; }
.alarm-content .mark { width: 70px; height: 70px; }
.alarm-content .mark svg { width: 36px; height: 36px; }
.alarm-content h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.alarm-content .btn { min-height: 58px; font-size: 1.2rem; }
.call-options { display: grid; gap: 10px; }
.call-option { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; font-size: 1.15rem; }
.call-option:hover { background: var(--lavender-soft); }
.call-option > span:not(.face):not(.mark) { flex: 1; display: grid; gap: 2px; }
.call-option small { color: var(--muted); font-size: .95rem; }
.call-option .face, .call-option .mark { width: 52px; height: 52px; }
.call-option > svg:last-child { color: var(--primary); }
.call-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #120f26; color: var(--white); }
.call-dialog::backdrop { background: #120f26; }
.call-incoming { min-height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px 20px; text-align: center; }
.call-incoming .face { width: 120px; height: 120px; font-size: 2.3rem; margin-bottom: 8px; }
.call-incoming p { color: #d9d2f0; font-size: 1.25rem; }
.call-incoming h2 { color: var(--white); font-size: clamp(2rem, 6vw, 3.2rem); }
.call-answer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; margin-top: 26px; }
.call-answer-actions .btn { min-height: 76px; font-size: 1.3rem; color: var(--white); }
.call-answer-actions .btn svg { width: 28px; height: 28px; }
.btn.call-accept { background: #1f8a4c; }
.btn.call-accept:hover { background: #18703d; }
.btn.call-reject, .btn.call-end { background: #c62f3a; color: var(--white); }
.btn.call-reject:hover, .btn.call-end:hover { background: #a4232d; }
.call-screen { position: relative; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.call-status { position: absolute; inset: 0 0 auto; z-index: 1; padding: 40px 20px; text-align: center; color: var(--white); font-size: clamp(1.5rem, 4vw, 2.2rem); }
.call-status:empty { display: none; }
.call-grid { display: grid; gap: 8px; padding: 8px; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); }
.call-grid[data-count="2"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.call-grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.call-tile { position: relative; min-height: 0; overflow: hidden; border-radius: 18px; background: #221d42; }
.call-tile video { display: block; width: 100%; height: 100%; object-fit: contain; }
.call-peer-state { position: absolute; inset: 0; display: grid; place-items: center; color: #d9d2f0; font-size: 1.25rem; }
.call-peer-state:empty { display: none; }
.call-name { position: absolute; left: 12px; bottom: 12px; padding: 5px 13px; border-radius: 999px; background: #000000a6; font-weight: 650; }
.call-self { position: absolute; z-index: 2; right: 16px; bottom: calc(110px + env(safe-area-inset-bottom)); width: clamp(96px, 20vw, 190px); aspect-ratio: 3 / 4; object-fit: cover; border: 2px solid #ffffff66; border-radius: 14px; background: #000; transform: scaleX(-1); }
.call-controls { display: flex; justify-content: center; gap: 12px; padding: 14px 16px max(14px, env(safe-area-inset-bottom)); }
.call-controls .btn { min-width: 76px; min-height: 76px; flex-direction: column; gap: 4px; border-radius: 20px; font-size: .95rem; }
.call-controls .btn svg { width: 28px; height: 28px; }
.btn.call-toggle { background: #ffffff24; color: var(--white); }
.btn.call-toggle[aria-pressed="true"] { background: var(--white); color: #120f26; }
#toast { position: fixed; z-index: 15; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--inverse); color: var(--on-inverse); border-radius: 13px; padding: 11px 19px; width: max-content; max-width: calc(100% - 28px); font-weight: 590; pointer-events: none; opacity: 0; transition: opacity .15s; }
#toast.show { opacity: 1; }
#toast.toast-error { background: #831f23; }

@media (max-width: 1110px) {
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { grid-template-columns: 197px minmax(0, 1fr); }
  .overview-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
@media (max-width: 850px) {
  .overview-grid { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 164px minmax(0, 1fr); }
  .sidebar { padding-inline: 9px; }
  .metric { padding: 12px; gap: 8px; }
  .metric > svg { display: none; }
}
@media (max-width: 675px) {
  .shell { display: flex; flex-direction: column; }
  /* The logo bar and the section bar stay at the top. The logo bar clears the notch or status bar; the side insets cover a phone held sideways. */
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 6; padding: 10px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); padding-top: max(10px, env(safe-area-inset-top)); }
  .side-head { gap: 11px; display: flex; align-items: center; margin: 0 0 8px; padding-right: 65px; }
  .side-head .brand img { width: 90px; }
  .sidebar nav { grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); overflow-x: auto; justify-content: start; }
  .sidebar nav a, .adult-top nav a { min-height: 45px; gap: 6px; font-size: .84rem; padding-inline: 7px; justify-content: center; }
  .sidebar nav svg, .adult-top nav svg { width: 17px; height: 17px; }
  .side-bottom { position: absolute; padding: 0; right: max(7px, env(safe-area-inset-right)); top: max(5px, calc(env(safe-area-inset-top) - 5px)); }
  .sidebar .nav-quiet { font-size: 0; min-height: 40px; }
  .sidebar .nav-quiet:first-child:not(:last-child) { display: none; }
  .topbar { position: sticky; top: var(--sticky-top, 0px); z-index: 5; min-height: 49px; padding: 6px max(15px, env(safe-area-inset-right)) 6px max(15px, env(safe-area-inset-left)); }
  .top-account .face { width: 29px; height: 29px; font-size: .74rem; }
  .main { padding: 20px max(13px, env(safe-area-inset-right)) 32px max(13px, env(safe-area-inset-left)); }
  .family-hero { min-height: 201px; }
  .family-hero > div:first-child { max-width: 86%; }
  .hero-art { opacity: .45; width: 37%; }
  .action-tile { min-height: 77px; padding: 9px; gap: 7px; }
  .action-tile > svg:last-child { display: none; }
  .action-grid, .metric-grid { gap: 8px; }
  .plan-grid { grid-template-columns: 1fr; }
  .metric { display: grid; justify-items: start; }
  .metric small { font-size: .75rem; display: block; line-height: 1.2; }
  .adult-top { padding-inline: 11px; gap: 8px; }
  .adult-top nav { width: 100%; justify-content: center; }
  .adult-top nav a { flex: 1; min-height: 48px; }
  .adult-main { padding: 18px 13px 32px; }
  .demo-bar { padding-inline: 10px; }
  .demo-bar > div span { display: none; }
}
@media (max-width: 380px) {
  .row { flex-wrap: wrap; gap: 7px; }
  .row-copy { min-width: min(110px, 100%); }
  .sidebar nav a { gap: 4px; font-size: .77rem; padding-inline: 4px; }
  .auth-tabs a { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-heart svg { animation: none; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

.sidebar nav a:hover, .adult-top nav a:hover, .metric:hover, .demo-bar nav a:hover { text-decoration: none; }
a.text-btn { display: inline-flex; align-items: center; }

/* Missed calls */
.missed-calls { margin-bottom: 18px; }
.missed-call { flex-wrap: wrap; }
.missed-call .row-copy { flex: 1; min-width: 160px; }
.tablet-missed { margin: 0 0 22px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 20px; background: var(--surface); }
.tablet-missed .row-copy strong { font-size: clamp(1.2rem, 2.6vw, 1.45rem); }
.tablet-missed .row-copy small { font-size: 1.05rem; }
.tablet-missed .btn { min-height: 56px; font-size: 1.1rem; }
.push-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.push-offer .row-copy { flex: 1; min-width: 200px; display: grid; gap: 4px; }
.push-offer .row-copy strong { font-size: 1.1rem; }
.push-offer .row-copy small { color: var(--muted); line-height: 1.45; }
.adult-shell .push-offer .row-copy strong { font-size: clamp(1.2rem, 2.6vw, 1.45rem); }
.adult-shell .push-offer .row-copy small { font-size: 1.05rem; }
.adult-top .theme-toggle { width: 52px; min-height: 52px; }
.adult-top .theme-toggle svg { width: 26px; height: 26px; }
:root[data-theme="dark"] .chip.green { background: #173a2c; color: #8be0b9; }
:root[data-theme="dark"] .chip.amber { background: #3d2c14; color: #f5c07a; }
/* "Ver cómo está": the tablet notice is small and quiet; the family sees the photo in a dialog. */
.check-in-notice { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--lavender-soft); color: var(--muted); font-size: .9rem; font-weight: 560; }
.check-in-notice svg { width: 17px; height: 17px; color: var(--primary); }
.check-in-view { display: grid; gap: 10px; justify-items: center; min-height: 120px; align-content: center; }
.check-in-photo { display: block; width: 100%; max-height: 60vh; object-fit: contain; border-radius: 14px; background: var(--soft); }
.check-in-status { margin: 0; color: var(--muted); text-align: center; }
@media (max-width: 675px) {
  .check-in-notice { order: 3; font-size: .82rem; }
}
.call-incoming .call-auto-note { font-size: 1.05rem; color: #d9d2f0; opacity: .85; }
/* Medicamentos */
.medication-note { margin: -6px 0 18px; font-size: .88rem; }
.routine-times, .routine-days { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.routine-times legend, .routine-days legend { width: 100%; margin-bottom: 6px; font-weight: 600; }
.routine-days legend small { font-weight: 450; color: var(--muted); }
.routine-times input { width: auto; flex: 1 1 110px; }
.day-chip { position: relative; }
.day-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day-chip span { display: inline-grid; place-items: center; min-width: 50px; min-height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; }
.day-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.day-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.alarm-medication .alarm-details { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--ink); font-weight: 600; }
.alarm-actions { display: grid; gap: 12px; width: 100%; margin-top: 8px; }
.alarm-actions .btn { min-height: 64px; font-size: clamp(1.1rem, 2.6vw, 1.35rem); }
.btn.help { background: #c62f3a; color: var(--white); }
.btn.help:hover { background: #a4232d; }
.routine-notify { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.routine-notify legend { margin-bottom: 6px; font-weight: 600; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 500; }
.check-row input { width: 20px; height: 20px; accent-color: var(--primary); }
/* With "Toda la familia" checked, the individual choices do not apply. */
.routine-notify:has([name="notifyAll"]:checked) .notify-people { opacity: .45; pointer-events: none; }
.notify-people { display: grid; gap: 8px; }

/* ¿Cómo estás hoy? */
.mood-today { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mood-answer { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; min-width: 160px; }
.mood-answer small, .mood-copy { color: var(--muted); }
/* Last 7 days of "¿Cómo estás hoy?": a row of days, each with a coloured mark, and a count that works as the legend. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mood-history { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mood-history h3 { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mood-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.mood-day { display: grid; justify-items: center; gap: 6px; }
.mood-weekday { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.mood-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; }
.mood-dot svg { width: 17px; height: 17px; }
.mood-day.good .mood-dot, .mood-key.good { background: #e6f6ed; color: #16634a; }
.mood-day.meh .mood-dot, .mood-key.meh { background: #fff0df; color: #824100; }
.mood-day.talk .mood-dot, .mood-key.talk { background: #fde0e2; color: #a3222d; }
.mood-day.none .mood-dot, .mood-key.none { border: 2px dashed var(--line); }
.mood-day.off .mood-dot { background: var(--soft); opacity: .6; }
.mood-day.off .mood-weekday { opacity: .55; }
.mood-summary { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.mood-summary span { display: inline-flex; align-items: center; gap: 6px; }
.mood-key { width: 10px; height: 10px; border-radius: 50%; }
.mood-key.good { background: #2f9e6e; } .mood-key.meh { background: #e08a1e; } .mood-key.talk { background: #d0434f; }
:root[data-theme="dark"] .mood-day.good .mood-dot { background: #173a2c; color: #8be0b9; }
:root[data-theme="dark"] .mood-day.meh .mood-dot { background: #3d2c14; color: #f5c07a; }
:root[data-theme="dark"] .mood-day.talk .mood-dot { background: #42191d; color: #f3a3aa; }
.mood-form { display: grid; gap: 14px; }
