/* Inicio, tarjetas de grupo, ideas, encuestas y fechas especiales */
/* ---- ajustes v3.1 ---- */
.pn-hero { position: relative; }
.pn-edit { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); font-size: 17px; opacity: .6; display: grid; place-items: center; transition: opacity .15s ease, background-color .15s ease; }
.pn-edit:hover, .pn-edit:focus-visible { opacity: 1; background: var(--surface-2); }
.pn-date { text-transform: none; padding-right: 26px; }
.pn-date::first-letter { text-transform: uppercase; }
.pn-rel { color: var(--muted); font-weight: 700; }
.pn-who .pn-stk { margin-left: auto; margin-right: 6px; }
.pn-who .pn-stk .stack { transform: scale(.85); transform-origin: right center; }
.pn-who .pn-rec-b .who-group:first-child { margin-top: 0; }
.pn-foot { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.pn-foot .pn-leave { margin: 0; }
.panel .pn-card:empty, .panel .pn-card:not(:has(*)) { display: none; }

.room-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); margin: 4px 0 12px; cursor: pointer; }
.room-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.room-opt b { display: block; font-size: 15px; } .room-opt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }

.pn-roomhint { margin: 6px 4px 0; text-align: center; }

/* aire entre secciones del inicio */
div + .hub-h, button + .hub-h, section + .hub-h { margin-top: 28px; }

/* agenda del inicio */
.ag-card { position: relative; display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: transform .18s var(--spring); }
.ag-card:active { transform: scale(.985); }
.ag-card.is-pend { flex-wrap: wrap; border: 1.5px solid color-mix(in srgb, var(--primary) 28%, transparent); }
.ag-tile { flex: none; width: 46px; height: 50px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #fff; background: var(--grad); }
.ag-tile i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.ag-tile b { font-size: 21px; font-weight: 800; margin-top: 3px; }
.ag-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.ag-tx b { font-size: 16.5px; font-weight: 800; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-tx small { font-size: 13.5px; font-weight: 600; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ag-chip { margin-top: 2px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: hsl(var(--h) 85% 93%); color: hsl(var(--h) 55% 30%); }
.ag-chip.is-loose { background: var(--primary-soft); color: var(--primary); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ag-chip:not(.is-loose) { background: hsl(var(--h) 40% 24%); color: hsl(var(--h) 80% 82%); } }
:root[data-theme="dark"] .ag-chip:not(.is-loose) { background: hsl(var(--h) 40% 24%); color: hsl(var(--h) 80% 82%); }
.ag-st { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: color-mix(in srgb, var(--ok) 16%, var(--surface)); color: var(--ok); }
.ag-st.maybe { background: var(--sun-soft); color: #B7791F; }
.ag-resp { flex-basis: 100%; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-top: 2px; }
.ag-resp button { padding: 11px 6px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; font-size: 15px; color: var(--ink); background: var(--surface-2); cursor: pointer; }
.ag-resp .ag-yes { color: #fff; background: var(--grad); }
.ag-all { display: block; margin: 10px auto 0; padding: 8px 16px; border: 0; background: none; font: inherit; font-weight: 800; font-size: 14px; color: var(--primary); cursor: pointer; }
.ag-empty { padding: 16px; border-radius: 18px; background: var(--surface); color: var(--muted); font-weight: 600; text-align: center; box-shadow: var(--shadow); }

/* ---- carteles de color (avisos, festivos, fechas especiales) y tarjeta de idea en Inicio ---- */
.aviso { padding: 10px 6px 10px 14px; gap: 12px; border-radius: 22px; border-width: 1.5px; min-width: 0; }
.aviso .aviso-ic { font-size: 30px; line-height: 1; flex: none; display: grid; place-items: center; min-width: 34px; }
.aviso .aviso-b { font-weight: 700; font-size: 15px; line-height: 1.3; padding: 4px 0; min-width: 0; overflow-wrap: anywhere; }
.aviso.big .aviso-b b { font-weight: 800; display: block; }
.aviso .aviso-b small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--muted); }
.aviso-flag { width: 34px; height: 24px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.aviso-go { flex: none; border: 0; border-radius: 14px; padding: 11px 16px; font: inherit; font-weight: 800; font-size: 15px; background: rgba(255,255,255,.7); color: var(--ink, inherit); cursor: pointer; }
.aviso.tone-lilac { background: #ecebff; border-color: #d0cdf6; }
.aviso.tone-warm { background: #fdf1d8; border-color: #f0d28a; }
.aviso.tone-mint { background: #e3f6ea; border-color: #b6e3c6; }
.aviso.tone-sky { background: #e2f1fd; border-color: #b7dcf5; }
:root[data-theme="dark"] .aviso.tone-lilac { background: #2a2850; border-color: #403d78; }
:root[data-theme="dark"] .aviso.tone-warm { background: #3b3220; border-color: #6b5a2c; }
:root[data-theme="dark"] .aviso.tone-mint { background: #1f3a2b; border-color: #35614a; }
:root[data-theme="dark"] .aviso.tone-sky { background: #1d3447; border-color: #34576f; }
:root[data-theme="dark"] .aviso-go { background: rgba(255,255,255,.12); }
.idea-card { padding: 16px 18px; margin: 0 0 12px; }
.idc-h { display: flex; align-items: center; gap: 8px; }
.idc-h .muted { margin-left: auto; font-size: 14px; }
.idc-k { font-weight: 800; letter-spacing: .06em; font-size: 13px; color: var(--muted); }
.idc-t { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-weight: 800; font-size: 20px; line-height: 1.25; padding: 10px 0 12px; color: inherit; cursor: pointer; }
.idc-q { margin: 8px 0 10px; font-size: 16px; }
.idc-av { margin: 0 0 12px; }
.idc-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.idc-r button { border: 1.5px solid var(--line, rgba(0,0,0,.12)); background: var(--card, #fff); border-radius: 16px; padding: 13px 4px; font: inherit; font-weight: 700; font-size: 15px; color: inherit; cursor: pointer; transition: transform .12s; }
.idc-r button:active { transform: scale(.96); }
.idc-r button.on { border-color: var(--brand, #5b5bf0); background: rgba(91, 91, 240, .1); color: var(--brand, #5b5bf0); }
.idc-f { margin-top: 12px; font-size: 14px; }

/* ---- resumen de Gastos: dos tarjetas ---- */
.sum-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 4px; }
.sum-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; border-radius: 22px; background: var(--card, #fff); border: 1.5px solid var(--line, rgba(0,0,0,.08)); box-shadow: var(--shadow); min-width: 0; }
.sum-card .sc-l { font-size: 13px; font-weight: 700; color: var(--muted); }
.sum-card b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.sum-card .sc-s { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.sum-card.mine { background: var(--grad, linear-gradient(135deg, #5b5bf5, #9b59f5)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px rgba(91, 91, 245, .28); }
.sum-card.mine .sc-l { color: rgba(255,255,255,.82); }
.sc-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255,255,255,.3); margin-top: 8px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: #fff; border-radius: 6px; }

/* Entrar con Google */
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.g-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }
.asst-map { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--primary); color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none; }
.rank-row.zero .rank-n { color: var(--muted); font-weight: 600; } .rank-row.zero { opacity: .72; }
.att-row.silent { display: flex; align-items: center; gap: 10px; padding: 8px 0; opacity: .7; }
.att-row.silent .att-tag { margin-left: auto; font-weight: 700; color: var(--muted); }
.ph-stage { position: relative; }
.ph-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(20,16,40,.55); color: #fff; font-size: 26px; line-height: 1; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.ph-nav.prev { left: 8px; } .ph-nav.next { right: 8px; } .ph-nav:disabled { opacity: .25; cursor: default; }
.ph-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 2px; } .ph-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line, rgba(128,128,128,.4)); } .ph-dots i.on { background: var(--primary); width: 18px; border-radius: 4px; }
.ag-cal { flex: none; height: 28px; padding: 0 8px; border-radius: 14px; border: 0; background: var(--primary-soft, rgba(99,91,255,.12)); color: var(--primary); font-weight: 800; font-size: 13px; cursor: pointer; margin-right: 6px; } .ag-cal.on { background: color-mix(in srgb, var(--ok) 16%, var(--surface)); color: var(--ok); }

.wx-chip.still { animation: none; }

/* Idea y encuesta comparten formato (cabecera, título, opciones, pie); solo cambia el color del tipo */
.card.idea-card, .card.poll-card { --k: var(--sun); display: flex; flex-direction: column; gap: 0; padding: 16px 18px; margin: 0 0 12px;
  border: 1px solid color-mix(in srgb, var(--k) 40%, var(--line)); background-image: linear-gradient(90deg, color-mix(in srgb, var(--k) 14%, transparent), transparent 55%); }
.card.poll-card { --k: #14B8A6; }
.idc-h, .poll-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.idc-k, .poll-k { flex: 1; font-weight: 800; letter-spacing: .06em; font-size: 13px; text-transform: uppercase; color: color-mix(in srgb, var(--k) 62%, var(--ink)); }
.idc-h .muted, .poll-h .muted { margin-left: 0; font-size: 14px; }
.idc-t, .poll-q { font-size: 20px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; padding: 10px 0 12px; }
.poll-card .poll-opt { margin-bottom: 8px; border-radius: 16px; }
.poll-card .poll-row { padding: 13px 14px; font-size: 15px; font-weight: 700; }
.poll-card .poll-t { font-weight: 700; }
.poll-card .poll-opt.mine, .idc-r button.on { border-color: var(--k); }
.poll-card .poll-opt.mine, .idc-r button.on { background: color-mix(in srgb, var(--k) 16%, var(--surface)); color: inherit; }
.poll-bar { background: color-mix(in srgb, var(--k, #14B8A6) 22%, transparent); }
.idc-f, .poll-f { margin-top: 12px; font-size: 14px; }
.poll-card .poll-f .muted { font-size: 14px; }
.idea-card .q-bar i { background: linear-gradient(90deg, var(--k), color-mix(in srgb, var(--k) 65%, #fff)); }
.idc-r button { background: var(--surface); }
/* Idea y encuesta: fondo liso (sin degradado) con borde del color del tipo; respuestas con los mismos colores que los planes */
.card.idea-card, .card.poll-card { background-image: none; background-color: var(--surface); border: 1.5px solid color-mix(in srgb, var(--k) 75%, var(--line)); }
.idc-r button { border: 0; background: color-mix(in srgb, var(--rc) 13%, transparent); color: var(--rc); font-weight: 800; }
.idc-r button.on { border: 0; background: var(--rc); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--rc) 30%, transparent); }
/* Ausencias/visitas = mismo formato que cumpleaños: sin barra lateral, el color de la persona va en el aro de la foto */
.abs-row { border-left: 0; width: 100%; text-align: left; padding: 8px; }
.abs-row.mine:active { background: var(--surface-2); }
.bd-list .mini-h { padding: 6px 8px 2px; }
/* Ausencias: un color por tipo (no por persona; a la persona ya la dice el nombre) y sin barra lateral */
.k-vacaciones, .k-fuera, .k-ocupado, .k-otro { --mc: var(--away); } /* toda ausencia en rojo; el tipo es solo el motivo */
.cf-bar.away { box-shadow: none; background: color-mix(in srgb, var(--mc) 22%, var(--surface)); color: color-mix(in srgb, var(--mc) 78%, var(--ink)); }
.cf-bar.away.cl { box-shadow: none; }
.cf-legend .d.k-vacaciones, .cf-legend .d.k-fuera, .cf-legend .d.k-ocupado { background: var(--mc); }
/* Paso "¿Cómo quieres que te hable?" y variantes en Ajustes */
.ob-dia { display: grid; gap: 10px; margin-top: 26px; }
.ob-dia-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line); text-align: left; transition: border-color .15s, background-color .15s, transform .15s; }
.ob-dia-opt b { font-size: 18px; font-weight: 800; }
.ob-dia-opt small { color: var(--muted); font-size: 14px; font-weight: 600; }
.ob-dia-opt.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.ob-dia-opt:active { transform: scale(.98); }
.sub-h { margin: 18px 4px 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lang-list .pick-row small { margin-left: auto; margin-right: 10px; }
/* Inicio con varios grupos: estado en texto (Voy / Quizá / Organizas), títulos hasta 2 líneas, subtítulo de "con invitados" */
.ag-st { width: auto; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; letter-spacing: .01em; white-space: nowrap; }
.ag-st.mine { background: var(--primary-soft, rgba(99,91,255,.12)); color: var(--primary); }
.ag-tx b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hub-sub { margin: -4px 4px 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.ag-tx small { white-space: normal; }
.ag-cal { width: 32px; height: 32px; padding: 0; flex: none; }
.ag-tx b { overflow-wrap: anywhere; -webkit-line-clamp: 3; }
/* aviso de novedades de OTROS grupos: píldora aparte del nombre del grupo actual */
.group-btn { flex-wrap: wrap; row-gap: 4px; }
.gb-dot { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; background: #FFF1E6; color: #C2570C; font-size: 12px; font-weight: 800; }
.gb-dot .i { width: 13px; height: 13px; }
:root[data-theme=dark] .gb-dot { background: rgba(249,115,22,.18); color: #FDBA74; }

/* ---- Inicio más cálido: tarjetas de grupo con portada y foto ---- */
.hub { background: radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 60%), radial-gradient(90% 50% at 100% 12%, color-mix(in srgb, #F97316 7%, transparent), transparent 60%); }
.hub-lead { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.hub-groups { gap: 16px; }
.hub-card.hc { display: block; padding: 0; overflow: hidden; border-radius: 26px; }
.hc-cover { display: block; height: 72px; background: radial-gradient(90% 140% at 15% 0%, hsl(var(--h) 90% 76%), transparent 70%), linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 45) 85% 66%)); background-size: cover; background-position: center; position: relative; }
.hc-top { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 8px; z-index: 1; }
.hc-bell { background: rgba(255,255,255,.88); color: #4a4a68; width: 34px; height: 34px; backdrop-filter: blur(6px); }
.hc-bell.on { color: var(--primary); }
.hc-top .hub-badge { box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.hc-body { display: flex; gap: 14px; align-items: flex-start; padding: 0 16px 16px; }
.hc-av { flex: none; width: 64px; height: 64px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 26px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 45) 85% 62%)); border: 4px solid var(--surface); box-shadow: 0 4px 14px rgba(0,0,0,.12); position: relative; z-index: 2; }
.hc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-body .hub-tx { padding-top: 8px; }
.hc-body .hub-tx b { font-size: 19px; }
/* foto de grupo en los ajustes */
.gph { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gph-pv { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 26px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 45) 85% 62%)); }
.gph-pv img { width: 100%; height: 100%; object-fit: cover; }
.gph-btn { width: auto; padding: 0 16px; min-height: 40px; cursor: pointer; }

/* encuadrar la foto del grupo */
.fr-wrap { display: grid; place-items: center; gap: 14px; padding: 4px 0 8px; }
.fr-cv { width: 240px; height: 240px; border-radius: 50%; touch-action: none; cursor: grab; background: var(--surface-2); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.fr-cv:active { cursor: grabbing; }
.fr-zoom { width: min(280px, 80vw); accent-color: var(--primary); }
.hub-act { display: flex; align-items: center; gap: 10px; }
.add-row .chev { margin-left: auto; color: var(--muted); font-size: 20px; }
.menu-item .muted.small, .menu-item small { font-size: 12.5px; }

/* ---- propuestas de tarjeta de grupo (.hub-groups.v2: teñida con el color del grupo) ---- */
.hub-groups.v2 .hc-cover { display: contents; }
.hub-groups.v2 .hc-top { top: 14px; right: 14px; }
.hub-groups.v2 .hc-bell { background: var(--surface-2); backdrop-filter: none; }
.hub-groups.v2 .hc-body { padding: 18px 16px; align-items: center; }
.hub-groups.v2 .hc-av { margin-top: 0; }
.hub-groups.v2 .hub-tx { padding: 0 84px 0 0; }
.hub-groups.v2 .hc-body .hub-tx b { font-size: 18px; }
/* v2: tarjeta teñida con el color del grupo */
.hub-groups.v2 .hub-card.hc { background: color-mix(in srgb, hsl(var(--h) 90% 60%) 9%, var(--surface)); box-shadow: none; border: 1.5px solid color-mix(in srgb, hsl(var(--h) 80% 60%) 30%, var(--line)); }
.hub-groups.v2 .hc-av { width: 60px; height: 60px; border: 0; box-shadow: 0 3px 10px color-mix(in srgb, hsl(var(--h) 80% 50%) 35%, transparent); }
.hub-groups.v2 .hc-body .hub-tx b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }

/* invitado: entrar solo con el nombre, tarjetas de «guarda tu cuenta» y cumple */
.guest-box { margin-bottom: 4px; }
.guest-or { text-align: center; margin: 14px 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.guest-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid color-mix(in srgb, var(--primary) 30%, var(--line)); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); box-shadow: none; }
.guest-card > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.guest-card b { font-size: 15px; }
.guest-card span { font-size: 13px; color: var(--muted); font-weight: 600; }
.guest-card .btn { flex: none; width: auto; padding: 0 16px; min-height: 40px; }
.bday-pick { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.bday-pick select { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 12px; font: inherit; }
.avatar.logo-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* invitado: texto «o entra con tu cuenta» legible sobre el violeta, foto opcional, cartel fijo */
.guest-or { display: table; margin: 14px auto 10px; padding: 5px 14px; border-radius: 999px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow); }
.gu-ph { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gu-pick { cursor: pointer; }
.gu-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); border: 1.5px dashed var(--line); overflow: hidden; }
.gu-av .i { width: 24px; height: 24px; }
.gu-av img { width: 100%; height: 100%; object-fit: cover; }
/* chat del plan en la cabecera (pestaña Gastos) */
.ch-fab.hd { position: relative; right: auto; bottom: auto; width: 42px; height: 42px; box-shadow: none; }

/* ---- fechas especiales (Halloween, Navidad, Acción de Gracias…): naranja, como en Friends ---- */
.cf-ev[class*="k-"].sp .ev-date { background: linear-gradient(135deg, #F5B942, #F59E0B); color: #4A3200; box-shadow: 0 6px 14px rgba(245, 158, 11, .3); }
.cf-cell.special:not(.bday) { background: var(--sun-soft); }
.cf-cell.special:not(.bday):not(.today) .n { color: #B07A00; font-weight: 800; }
html[data-theme="dark"] .cf-cell.special:not(.bday):not(.today) .n { color: var(--sun); }
.d.sp { background: var(--sun); }
.pn-tile.mu { background: linear-gradient(135deg, var(--muchos), var(--muchos-2)); box-shadow: 0 8px 18px color-mix(in srgb, var(--muchos) 32%, transparent); }
.pn-tile.sp { background: linear-gradient(135deg, #F5B942, #F59E0B); color: #4A3200; box-shadow: 0 8px 18px rgba(245, 158, 11, .32); }

/* ausencias en rojo; «recibo visitas» en verde y «de visita» en turquesa (solo grupos con features.visitas) */
.k-recibo { --mc: #10A37F; } .k-visita { --mc: #0E8FB0; }
.abs-row { box-shadow: none; } /* sin barra lateral */
.abs-row.k-recibo .muted, .abs-row.k-visita .muted { color: var(--mc); font-weight: 700; }
.sp-day { display: flex; gap: 12px; align-items: center; background: var(--sun-soft); }
.sp-day .sp-ic { font-size: 26px; line-height: 1; } .sp-day b { color: #7A5200; font-weight: 800; }
html[data-theme="dark"] .sp-day b { color: var(--sun); }

/* Inicio sin grupos: sugerencia de grupo, discreta y completa */
.hx-suggest { display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; padding: 14px 16px; border-radius: 20px; background: var(--surface); border: 1px dashed var(--line); }
.hx-sg-ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); font-size: 20px; }
.hx-sg-tx { flex: 1; min-width: 0; } .hx-sg-tx b { display: block; font-size: 15px; } .hx-sg-tx small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.hx-sg-btn { flex: none; padding: 8px 14px; font-size: 13px; min-height: 0; }
a.btn, a.btn:hover { text-decoration: none; }
.hx-suggest { flex-wrap: wrap; }
.hx-sg-tx { flex: 1 1 170px; }
.hx-sg-btn { margin-left: 54px; }
@media (min-width: 520px) { .hx-sg-btn { margin-left: 0; } }
.link-box.small { font-size: 12.5px; padding: 8px 12px; opacity: .8; }
.hx-lock { font-size: .7em; margin-right: 8px; vertical-align: .12em; }
/* Lugar del plan: casas y sitios frecuentes */
.place-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.place-chip { padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.place-chip.nudge { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.addr-inline { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 12px; border-radius: 16px; background: var(--surface-2); }
.addr-share { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.addr-share { flex-direction: row; justify-content: flex-start; }
.addr-share input[type=checkbox] { width: 18px; height: 18px; min-height: 0; flex: none; margin: 0; padding: 0; accent-color: var(--primary); }
.addr-share span { text-align: left; }

/* Hitos (Barcelona Team): tarjeta descartable en Inicio, lista y formulario */
.hito-new { position: relative; padding: 0; overflow: hidden; }
.hito-open { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 44px 10px 10px; background: none; border: 0; text-align: left; color: var(--ink); font: inherit; cursor: pointer; }
.hito-th { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.hito-th.ph { display: grid; place-items: center; background: var(--primary-soft); font-size: 26px; }
.hito-tx { display: flex; flex-direction: column; min-width: 0; }
.hito-tx b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hito-tx small { color: var(--muted); }
.hito-x { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 15px; cursor: pointer; }
.hito-row { margin-top: 8px; }
.hito-list { display: flex; flex-direction: column; gap: 14px; }
.hito-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hito-img { display: block; width: 100%; max-height: 360px; object-fit: cover; background: var(--surface-2); }
.hito-b { padding: 12px 14px 14px; }
.hito-t { font-weight: 800; font-size: 17px; color: var(--ink); }
.hito-m { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.hito-m .hito-del { margin-left: auto; }
.hito-all { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.hito-rx { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.hito-e { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 17px; cursor: pointer; }
.hito-e b { font-size: 13px; color: var(--muted); }
.hito-e.on { border-color: var(--primary); background: var(--primary-soft); }
.hito-e.on b { color: var(--primary); }
.hito-form { display: flex; flex-direction: column; gap: 4px; }
.hito-up { display: grid; place-items: center; min-height: 150px; border: 2px dashed var(--line); border-radius: 18px; background: var(--surface); color: var(--primary); text-align: center; cursor: pointer; overflow: hidden; margin-bottom: 8px; }
.hito-up small { display: block; color: var(--muted); font-weight: 500; }
.hito-up img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.hito-up.has { border-style: solid; }
.hito-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hito-chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; cursor: pointer; }
.hito-chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }

.hito-new .hito-rx { margin: 0; padding: 0 12px 12px; }
/* cuenta nueva sin grupos: las 3 formas de empezar, dentro del Inicio */
.hx-start { display: grid; gap: 12px; }
.hx-start .gate-card, .hx-join { padding: 14px 16px; border-radius: 20px; }
.hx-start .gate-card small, .hx-join small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.hx-start .gate-card.hero small { color: rgba(255,255,255,.85); }
.hx-suggest + .hx-join { margin-top: 12px; }
@media (min-width: 1024px) { .hx-start { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .hx-start { padding-bottom: 76px; } }
/* mismas medidas que «¿Tenés un grupo de siempre?»: en el Inicio todas las tarjetas hablan igual */
.hx-start .gate-card b, .hx-join b { font-size: 15px; }
.hx-start .gate-card small, .hx-join small { font-size: 12.5px; line-height: 1.35; }
.hx-start .gate-ic, .hx-join .gate-ic { width: 42px; height: 42px; border-radius: 14px; font-size: 20px; }
.hx-join { border: 1px dashed var(--line); box-shadow: none; }
/* «Te escribieron»: mensajes sin leer */
.hx-msg { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hx-msg + .hx-msg { margin-top: 8px; }
.hx-msg-ic { width: 40px; height: 40px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); font-size: 19px; }
.hx-msg-tx { flex: 1; min-width: 0; } .hx-msg-tx b { display: block; font-size: 15px; } .hx-msg-tx small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hx-msg-tx strong { color: var(--ink); font-weight: 600; }
.hx-msg-n { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--primary); color: #fff; font: 700 12px/22px inherit; text-align: center; font-style: normal; }
/* Tus grupos: solo los que entran enteros, flechitas ‹ › y puntitos */
.hx-gw { display: flex; align-items: center; gap: 4px; }
.hx-gw .hx-gs { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: var(--colw, 64px); column-gap: 12px; margin: 0; padding: 6px 0 8px; overflow-x: auto; }
.hx-gw .hx-gp { width: auto; scroll-snap-align: start; }
.hx-gw .hx-gn { max-width: 100%; }
.hx-ga { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--primary); font: 800 17px/1 inherit; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(20,21,43,.08); cursor: pointer; padding: 0; margin-top: -22px; }
.hx-ga[hidden] { display: none; }
.hx-ga:disabled { opacity: .3; box-shadow: none; cursor: default; }
.hx-gd { display: flex; justify-content: center; gap: 5px; margin-top: 2px; min-height: 6px; }
.hx-gd i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s; }
.hx-gd i.on { width: 16px; background: var(--primary); }
.ag-tile.pic { display: grid; place-items: center; font-size: 22px; background: hsl(var(--h, 250) 70% 92%); overflow: hidden; }
.ag-tile.pic img { width: 100%; height: 100%; object-fit: cover; }
.hx-pl .ag-g { color: var(--primary); font-weight: 700; }
.hx-pl .ag-tx small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* en el teléfono, que el «+» flotante nunca tape la fila de grupos ni sus flechas */
@media (max-width: 1023px) { .hub.hx .hx-main { padding-bottom: 92px; } }
.hx-gw .hx-gc { width: min(62px, 100%); height: auto; aspect-ratio: 1; }
.hx-gw .hx-gc img { border-radius: inherit; }
.hx-gw .hx-gs { padding-left: 0; padding-right: 0; }

/* Cuenta nueva: «¿Qué hacemos?» con ideas que se tocan, y un plan de ejemplo */
.hx-welcome { background: var(--grad); color: #fff; border-radius: 26px; padding: 18px 16px; margin-bottom: 18px; }
.hx-welcome h2 { font-size: 19px; font-weight: 800; margin: 0; color: #fff; } .hx-welcome p { font-size: 13.5px; opacity: .92; margin: 4px 0 0; }
.hx-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hx-idea { background: #fff; color: var(--ink); border: 0; border-radius: 14px; padding: 10px 13px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hx-ghost { opacity: .6; border: 1.5px dashed var(--line); pointer-events: none; }
.hx-ex { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hx-start.sm .gate-card { background: transparent; border: 1.5px dashed var(--line); box-shadow: none; }

.att-row.silent { opacity: 1; } .att-row .att-tag { display: block; margin: 1px 0 0; font-size: 12px; font-weight: 600; color: var(--muted); }

/* Inicio: «Tus saldos» */
.hx-bal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.hx-bal-hd { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.hx-bal-hd:first-child { border-top: 0; }
.hx-bal-hd small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hx-bal-hd b { font-size: 22px; }
.hx-bal-hd.pos { background: color-mix(in srgb, var(--ok, #1a8f4c) 9%, transparent); color: var(--ok, #1a8f4c); }
.hx-bal-hd.neg { background: color-mix(in srgb, var(--danger, #d64545) 9%, transparent); color: var(--danger, #d64545); }
.hx-bal-ar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; flex: none; }
.hx-bal-hd.pos .hx-bal-ar { background: var(--ok, #1a8f4c); } .hx-bal-hd.neg .hx-bal-ar { background: var(--danger, #d64545); }
.hx-bal { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; }
.hx-bal-hd + .hx-bal { border-top: 1px solid var(--line); }
.hx-bal-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--primary-soft, #eceaff); display: grid; place-items: center; font-size: 19px; flex: none; }
.hx-bal-n { flex: 1; font-weight: 700; font-size: 15px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-bal-v { font-size: 15px; flex: none; }
.hx-bal.pos .hx-bal-v { color: var(--ok, #1a8f4c); } .hx-bal.neg .hx-bal-v { color: var(--danger, #d64545); }
.hx-bal i { font-style: normal; color: var(--muted); font-size: 20px; }

.att-nm { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.att-nm:active { opacity: .6; }
.hx-bal-ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
/* Inicio con menú abajo */
.hub.hx { padding-bottom: 110px; }
.hx-tab .hx-main { padding-bottom: 110px; }
.hx-join { display: block; margin: 6px 0 0; font-weight: 700; }
.hx-empty { color: var(--muted); font-weight: 600; text-align: center; padding: 26px 10px; }
.hx-seg { display: grid; grid-template-columns: 1fr 1fr; background: color-mix(in srgb, var(--primary) 7%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 4px; margin: 6px 0 14px; }
.hx-seg button { border: 0; background: none; padding: 10px; border-radius: 12px; font: inherit; font-weight: 700; color: var(--muted); }
.hx-seg .on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.hc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; margin-top: 8px; }
.hc-h { display: flex; justify-content: space-between; align-items: center; font-size: 17px; margin-bottom: 8px; }
.hc-n { border: 0; background: none; font-size: 26px; color: var(--primary); padding: 0 10px; }
.hc-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.hc-w { font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.hc-d { position: relative; border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); padding: 10px 0; border-radius: 12px; }
.hc-d.t { color: var(--primary); }
.hc-d.s { background: var(--primary); color: #fff; }
.hc-d.e::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--primary); }
.hc-d.s.e::after { background: #fff; }
.hx-bal-ok { display: flex; align-items: center; gap: 12px; padding: 14px; font-size: 22px; }
.hx-bal-ok b { display: block; font-size: 16px; } .hx-bal-ok small { color: var(--muted); font-weight: 600; font-size: 13px; }
.hx .fab { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 28px); } /* encima del menú de abajo */
@media (min-width: 1024px) { .hx .fab { bottom: 32px; } }
.hub.hx .nav-in { grid-template-columns: repeat(4, 1fr); }
.hx-empty-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hx-pl-top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; font-weight: 700; color: var(--muted); }
.hx-newplan { border: 0; background: linear-gradient(135deg, #5b5bf0, #8b5cf6); color: #fff; font: inherit; font-weight: 800; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.hx-prop { text-align: center; padding: 18px; } .hx-prop p { margin: 0 0 10px; color: var(--ink); font-weight: 700; }
.hub.hx .nav-in { grid-template-columns: repeat(3, 1fr); }
.hx-s-inv .hub-list { margin-top: 12px; }
/* Inicio: grupos redondos con aro, enlace visible, menú compacto */
.hx-gh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-gh .hub-h { margin: 0; }
.hx-linkbtn { border: 0; background: var(--primary-soft); color: var(--primary); font: inherit; font-weight: 800; font-size: 13px; padding: 8px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.hx-gw .hx-gc { width: min(62px, 100%); border-radius: 50%; border: 2px solid var(--primary); padding: 2px; background: var(--surface); box-sizing: border-box; }
.hx-gw .hx-gc img { border-radius: 50%; }
.hx-gw .hx-gp.add .hx-gc { border: 2px dashed color-mix(in srgb, var(--primary) 45%, transparent); background: none; color: var(--primary); }
.hx-gw .hx-gn { text-align: center; white-space: normal; overflow: hidden; font-size: 12px; line-height: 1.3; max-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; } /* hasta 2 líneas: «Barcelona Te…» ya no queda cortado a la mitad */
.hub.hx .hx-sec + .hx-sec, .hub.hx .hx-s-inv { margin-top: 20px; }
@media (max-width: 1023px) { .hub.hx .nav-in { width: min(calc(100vw - 48px), 340px); } }

/* encabezado de grupo: foto + nombre como título, «‹ Inicio» para volver */
.topbar.gh .gh-back { margin-bottom: 8px; }
.gh-t { display: flex; align-items: center; gap: 12px; font-size: 28px; line-height: 1.1; margin: 0; }
.gh-av { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--primary); padding: 2px; background: var(--surface); box-sizing: border-box; }
.gh-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.gh-n { min-width: 0; overflow-wrap: anywhere; }
.gh-s { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ======================= microanimaciones ======================= */
@keyframes fx-bounce { 0% { transform: scale(1); } 35% { transform: scale(.88); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes fx-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fx-beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(1); } 42% { transform: scale(1.07); } 56% { transform: scale(1); } }
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fx-bounce { animation: fx-bounce .42s cubic-bezier(.3, 1.4, .5, 1); }
.fx-pop { animation: fx-pop .5s cubic-bezier(.3, 1.5, .5, 1) both; display: inline-block; }
.hx-cd.beat, .vb-d.beat { animation: fx-beat 1.5s ease-in-out .8s 3; transform-origin: center; }
/* al tocar: las tarjetas y los círculos se hunden un poco y vuelven con rebote */
.hx-gp .hx-gc, .hx-pl, .hx-hero, .hx-bal, .hx-inv, .bal-pill { transition: scale .22s cubic-bezier(.3, 1.6, .5, 1); }
.hx-gp:active .hx-gc { scale: .9; } .hx-pl:active, .hx-hero:active, .hx-bal:active, .hx-inv:active, .bal-pill:active { scale: .97; }
/* Inicio: las secciones entran una tras otra */
.hub.hx.enter > header, .hub.hx.enter > section, .hub.hx.enter > div, .hub.hx.enter .hx-main > * { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.hub.hx.enter > section:nth-of-type(1), .hub.hx.enter .hx-main > *:nth-child(1) { animation-delay: .04s; } .hub.hx.enter > div:nth-of-type(1), .hub.hx.enter .hx-main > *:nth-child(2) { animation-delay: .09s; }
.hub.hx.enter > section:nth-of-type(2), .hub.hx.enter .hx-main > *:nth-child(3) { animation-delay: .14s; } .hub.hx.enter > section:nth-of-type(n+3), .hub.hx.enter .hx-main > *:nth-child(n+4) { animation-delay: .2s; }
/* pantallas vacías: un destello que flota un par de veces */
.empty::before, .hx-empty::before { content: '✨'; display: block; font-size: 28px; margin-bottom: 6px; animation: fx-float 2.2s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .fx-bounce, .fx-pop, .hx-cd.beat, .vb-d.beat, .empty::before, .hx-empty::before, .hub.hx.enter > *, .hub.hx.enter .hx-main > * { animation: none !important; } .hx-gp .hx-gc, .hx-pl, .hx-hero, .hx-bal, .hx-inv, .bal-pill { transition: none; } }

/* tarjeta «Lo próximo» (clara, con bloque de fecha) */
.hx-hero.v-b { grid-template-columns: auto 1fr; align-items: start; gap: 6px 14px; padding: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(91,91,245,.12); }
.hx-hero.v-b::after { display: none; }
.hx-hero.v-b.urgent { border-color: var(--primary); box-shadow: 0 8px 28px rgba(91,91,245,.28); }
.v-b .vb-d { display: grid; place-items: center; width: 58px; padding: 8px 0; border-radius: 16px; color: #fff; background: var(--grad); line-height: 1; }
.v-b .vb-d small { font-size: 11px; font-weight: 800; letter-spacing: .06em; } .v-b .vb-d b { font-size: 26px; margin-top: 2px; }
.v-b .vb-m { display: grid; gap: 3px; min-width: 0; } .v-b .vb-k { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); }
.v-b h2 { padding-right: 0; font-size: 20px; margin: 0; color: var(--ink); } .v-b .hx-w { color: var(--muted); font-size: 14px; }
.v-b .vb-r { grid-column: 1 / -1; }
.v-b .hx-acts { width: 100%; margin: 4px 0 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.v-b .hx-acts:not(.ask) { display: flex; }
.v-b .hx-acts button { background: var(--surface-2); color: var(--ink); padding: 12px 8px; font-size: 15px; }
.v-b .hx-acts button.y { background: var(--grad); color: #fff; }
.v-b .hx-acts button.n { background: transparent; color: var(--muted); }
.v-b .hx-pill { background: var(--primary-soft); color: var(--primary); }
.v-b .hx-acts .ag-cal { background: var(--surface-2); color: var(--ink); }

/* «Lo próximo» ya respondido: etiqueta con fondo propio (en la tarjeta clara el blanco no se veía) y botón de calendario con texto */
.hx-hero.v-b .hx-pill, .hx-hero.v-b .hx-pill.mine, .hx-hero.v-b .hx-pill.ok, .hx-hero.v-b .hx-pill.soft { background: var(--primary-soft); color: var(--primary); font-weight: 800; padding: 9px 14px; border-radius: 12px; }
.v-b .hx-acts:not(.ask) { align-items: center; gap: 8px; }
.v-b .hx-acts .vb-cal { flex: 1; min-width: 0; height: auto; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; justify-content: center; text-align: center; }
.v-b .hx-acts .vb-cal.on { color: var(--ok, #1a8f5b); background: color-mix(in srgb, #1a8f5b 12%, transparent); }

/* Inicio: tu respuesta arriba y, debajo, una etiqueta pequeña con tu rol (antes «Organizas» parecía otra respuesta) */
.hx-stack { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.hx-org { font-size: 11px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.v-b .hx-org, .hx-hero .hx-org { color: var(--primary); }
@media (max-width: 899px) { .hx-main { padding-bottom: 110px; } } /* el botón + no tapa el último plan */
.v-b .hx-stack { align-items: flex-start; }
.hito-chip.on::before { content: '✓ '; }
