/* Notificaciones, pre eventos con votación y muro del evento (2026-10-13). */

/* Campana */
.notification-bell{position:relative}
.notification-bell b{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--secondary);color:#fff;font-size:.68rem;line-height:18px;text-align:center;font-weight:800;box-shadow:0 0 0 2px #fff}
.side-nav .nav-count{display:inline-block;margin-left:6px;min-width:20px;padding:0 6px;border-radius:999px;background:var(--secondary);color:#fff;font-size:.72rem;line-height:20px;text-align:center}

/* Página base */
.social-page{display:grid;gap:18px;max-width:1120px;margin:0 auto;width:100%}
.social-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.social-head h2{margin:2px 0 4px;font-size:clamp(1.5rem,3vw,2rem)}
.social-head p{margin:0;color:var(--muted);max-width:640px}
.social-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.social-layout>aside{display:grid;gap:14px}
.social-page .card h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:1.05rem}
.social-empty{display:grid;justify-items:center;gap:6px;padding:40px 16px;text-align:center;color:var(--muted);background:#fff;border:1px dashed var(--line);border-radius:20px}
.social-empty i{font-size:2rem;color:var(--primary)}
.social-switch{display:flex;align-items:center;gap:10px;padding:8px 0;cursor:pointer}
.social-switch input{width:18px;height:18px;accent-color:var(--primary)}
.social-switch i{color:var(--primary);margin-right:4px}

/* Notificaciones */
.notification-list{display:grid;gap:8px}
.notification-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--line);color:var(--text);text-decoration:none;transition:transform .15s}
.notification-row:hover{transform:translateY(-1px);border-color:#d8cdfb}
.notification-row.is-unread{background:#FBF8FF;border-color:#d8cdfb}
.notification-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--soft);color:var(--primary);font-size:1.1rem}
.notification-row.kind-votes .notification-icon{background:#E9F7FF;color:#1E9BFF}
.notification-row.kind-wall .notification-icon{background:#FFF0F8;color:var(--secondary)}
.notification-row.kind-rsvp .notification-icon{background:#E8FFF5;color:var(--success)}
.notification-row.kind-payments .notification-icon{background:#FFF7E0;color:#B7791F}
.notification-copy{display:grid;gap:3px;min-width:0}
.notification-copy strong{font-size:.96rem}
.notification-copy span{color:var(--muted);font-size:.88rem}
.notification-copy small{color:#9a97ad;font-size:.78rem}
.notification-dot{width:10px;height:10px;border-radius:50%;background:var(--secondary);margin-top:6px}
.notification-settings form{display:grid;gap:2px}
.notification-settings hr{border:0;border-top:1px solid var(--line);margin:8px 0}
.notification-settings .btn{margin-top:10px}

/* Pre eventos: lista */
.pre-intro{display:grid;gap:18px}
.pre-intro-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pre-intro-steps article{display:grid;gap:6px;padding:16px;border-radius:18px;background:var(--soft)}
.pre-intro-steps i{font-size:1.4rem;color:var(--primary)}
.pre-intro-steps span{color:var(--muted);font-size:.88rem}
.pre-intro>.btn{justify-self:start}
.pre-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.pre-list-card{display:grid;gap:6px;color:var(--text);text-decoration:none}
.pre-list-card strong{font-size:1.1rem}
.pre-list-card>span:last-child{color:var(--muted);font-size:.88rem}
.pre-status{justify-self:start;padding:3px 10px;border-radius:999px;font-size:.74rem;font-weight:800;background:#EEE;color:#555}
.pre-status.is-open{background:#E8FFF5;color:#0b7a55}

/* Pre eventos: formulario */
.pre-form{display:grid;gap:14px}
.pre-form-block h3 span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--gradient);color:#fff;font-size:.82rem}
.pre-form-block h3 small{margin-left:auto;color:var(--primary);font-weight:700;font-size:.82rem}
.pre-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pre-span-2{grid-column:span 2}
.pre-field{display:grid;gap:6px;font-weight:700;font-size:.88rem}
.pre-field input,.pre-field select,.pre-field textarea,.pre-row input,.pre-exp-tools input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;font-weight:500;background:#fff}
.pre-rows{display:grid;gap:8px}
.pre-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 40px;gap:8px;align-items:center}
.pre-row-remove{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}
.pre-add{margin-top:10px}
.pre-hint{display:block;margin:6px 0 0;color:var(--muted);font-size:.84rem}
.pre-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.pre-chip{padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-size:.84rem;cursor:pointer}
.pre-chip:hover{border-color:var(--primary);color:var(--primary)}
.pre-exp-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:10px 0}
.pre-exp-tools input{max-width:260px}
.pre-tabs{display:flex;flex-wrap:wrap;gap:6px}
.pre-tab{padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-weight:700;font-size:.86rem;cursor:pointer}
.pre-tab small{color:var(--muted);font-weight:600}
.pre-tab.is-active{background:var(--dark);border-color:var(--dark);color:#fff}
.pre-tab.is-active small{color:#cfcde0}
.pre-exp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-auto-rows:max-content;gap:10px;max-height:520px;overflow:auto;padding:2px}
/* 2026-10-13: sin esto las pestañas ocultas se veían igual y las tarjetas se aplastaban dentro del cuadro con scroll. */
.pre-exp-grid[hidden],.pre-exp-card[hidden]{display:none}
.pre-exp-card{min-height:max-content}
.pre-exp-card{position:relative;display:grid;grid-template-rows:auto 1fr;border:2px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;cursor:pointer}
.pre-exp-card input{position:absolute;opacity:0;pointer-events:none}
.pre-exp-card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--soft)}
.pre-exp-card span{display:grid;gap:2px;padding:10px}
.pre-exp-card strong{font-size:.88rem;line-height:1.2}
.pre-exp-card small{color:var(--muted);font-size:.74rem}
.pre-exp-card em{font-style:normal;font-weight:700;font-size:.8rem;color:var(--primary)}
.pre-exp-card>i{position:absolute;top:8px;right:8px;font-size:1.4rem;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.4);opacity:0}
.pre-exp-card:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 3px rgba(124,60,255,.15)}
.pre-exp-card:has(input:checked)>i{opacity:1;color:var(--primary);text-shadow:none;background:#fff;border-radius:50%}
.pre-submit{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding-right:72px}
.pre-submit .btn{box-shadow:var(--shadow)}

/* Pre eventos: resultados y acciones */
.pre-share-row{display:flex;flex-wrap:wrap;gap:8px}
.pre-share-row input{flex:1 1 260px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--soft)}
.btn-whatsapp{background:#25D366;color:#fff;border-color:#25D366}
.pre-results{display:grid;gap:18px}
.pre-result-block h4{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:.95rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pre-result-row{display:grid;gap:5px;padding:8px 0}
.pre-result-label{display:flex;align-items:center;gap:10px}
.pre-result-label img{width:44px;height:44px;border-radius:10px;object-fit:cover}
.pre-result-label span{display:grid;flex:1;min-width:0}
.pre-result-label small{color:var(--muted);font-size:.8rem}
.pre-result-label b{font-size:1.1rem}
.pre-result-row.is-leader .pre-result-label strong{color:var(--primary)}
.pre-result-row.is-leader .bi-trophy-fill{color:#FFB800}
.pre-result-bar{height:10px;border-radius:999px;background:var(--soft);overflow:hidden}
.pre-result-bar span{display:block;height:100%;border-radius:inherit;background:#cfc3f7;transition:width .3s}
.pre-result-row.is-leader .pre-result-bar span{background:var(--gradient)}
.pre-result-names{color:var(--muted);font-size:.8rem}
.pre-next ul{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:6px}
.pre-next li i{color:var(--primary);margin-right:4px}
.pre-next .btn,.pre-manage .btn{width:100%;justify-content:center}
.pre-next.is-done h3{color:var(--success)}
.pre-manage{display:grid;gap:8px}
.pre-danger{color:var(--danger)!important}
.pre-voters{display:flex;flex-wrap:wrap;gap:6px}
.pre-voters h3{width:100%}
.pre-voters span{padding:4px 10px;border-radius:999px;background:var(--soft);font-size:.84rem}
.pre-comments p{margin:0 0 8px}

/* Página para votar (pública, sin menú) */
/* 2026-10-20: sin menú lateral el armazón seguía con 2 columnas y la página quedaba en la columna de 280 px del menú. */
.shell:has(.vote-page){grid-template-columns:minmax(0,1fr)}
.vote-page{max-width:760px;margin:0 auto;display:grid;gap:16px;padding:8px 0 40px}
.vote-brand{display:flex;justify-content:space-between;align-items:center}
.vote-brand>a:first-child{display:flex;align-items:center;gap:8px;font-weight:900;font-size:1.2rem;color:var(--dark);text-decoration:none}
.vote-brand>a:first-child span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--gradient);color:#fff}
.vote-hero{padding:26px;border-radius:26px;background:linear-gradient(135deg,#7C3CFF,#FF3FA4);color:#fff;box-shadow:var(--shadow)}
.vote-hero .kicker{color:rgba(255,255,255,.85)}
.vote-hero h1{margin:6px 0 8px;font-size:clamp(1.7rem,5vw,2.4rem);line-height:1.1}
.vote-hero p{margin:0 0 12px;opacity:.95}
.vote-meta{display:flex;flex-wrap:wrap;gap:8px}
.vote-meta span{padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.18);font-size:.84rem;font-weight:700}
.vote-form{display:grid;gap:16px}
.vote-block{padding:20px;border-radius:22px;background:#fff;border:1px solid var(--line)}
.vote-block h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;font-size:1.15rem}
.vote-block h2 i{color:var(--primary)}
.vote-block h2 small{color:var(--muted);font-weight:600;font-size:.8rem}
.vote-options{display:grid;gap:8px}
.vote-options.is-experiences{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.vote-option{position:relative;display:flex;align-items:center;gap:12px;padding:14px 44px 14px 14px;border:2px solid var(--line);border-radius:16px;cursor:pointer;background:#fff}
.vote-options.is-experiences .vote-option{display:grid;padding:0 0 12px;overflow:hidden}
.vote-option input{position:absolute;opacity:0;pointer-events:none}
.vote-option img{width:100%;aspect-ratio:4/3;object-fit:cover}
.vote-option span{display:grid;gap:2px}
.vote-options.is-experiences .vote-option span{padding:0 12px}
.vote-option small{color:var(--muted);font-size:.8rem}
.vote-option em{font-style:normal;color:var(--primary);font-weight:700;font-size:.84rem}
.vote-option a{font-size:.82rem}
.vote-check{position:absolute;top:50%;right:14px;transform:translateY(-50%);font-size:1.4rem;color:var(--line)}
.vote-options.is-experiences .vote-check{top:10px;transform:none;background:#fff;border-radius:50%}
.vote-option:has(input:checked){border-color:var(--primary);background:#FBF8FF}
.vote-option:has(input:checked) .vote-check{color:var(--primary)}
.vote-who{display:grid;gap:10px}
.vote-who label{display:grid;gap:6px;font-weight:700;font-size:.88rem}
.vote-who input,.vote-who textarea{padding:12px;border:1px solid var(--line);border-radius:12px;font:inherit;font-weight:500}
.vote-who small{color:var(--muted)}
/* 2026-10-20: casilla de términos (cuenta por detrás) y chat del evento en la página de votar. */
.vote-who label.vote-legal{display:flex;align-items:flex-start;gap:10px;font-weight:500;font-size:.82rem;line-height:1.4;color:var(--muted)}
.vote-who label.vote-legal input{flex:none;width:18px;height:18px;margin:1px 0 0;padding:0;accent-color:var(--primary)}
.vote-who label.vote-legal a{color:var(--primary);font-weight:700}
.vote-page .vote-chat{display:flex;flex-direction:column;margin:0;scroll-margin-top:16px}
.vote-page .vote-chat .invitation-chat-sent{width:100%;box-sizing:border-box}
.vote-footer{text-align:center;color:var(--muted);font-size:.85rem}

/* Muro del evento */
.event-wall{display:grid;gap:14px;margin-top:18px}
.event-wall-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.event-wall-head h3{margin:2px 0 4px}
.event-wall-head p{margin:0;color:var(--muted);font-size:.9rem}
.event-wall-head p strong{color:var(--success)}
.event-wall-progress{width:160px;height:10px;border-radius:999px;background:var(--soft);overflow:hidden}
.event-wall-progress span{display:block;height:100%;background:var(--success);border-radius:inherit}
.event-wall-form{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px;border-radius:18px;background:var(--soft)}
.event-wall-form textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;resize:vertical;min-height:52px}
.event-wall-form-actions{grid-column:2;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.event-wall-task-toggle{display:flex;align-items:center;gap:6px;font-size:.88rem;font-weight:700;cursor:pointer}
.event-wall-task-toggle input{accent-color:var(--primary);width:17px;height:17px}
.event-wall-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--gradient);color:#fff;font-weight:800}
.event-wall-locked,.event-wall-empty{margin:0;padding:14px;border-radius:14px;background:var(--soft);color:var(--muted);text-align:center}
.event-wall-list{display:grid;gap:10px}
.event-wall-post{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:12px;border-radius:16px;border:1px solid var(--line);background:#fff}
.event-wall-post.is-host .event-wall-avatar{background:var(--dark)}
.event-wall-post.is-pinned{border-color:#FFD66B;background:#FFFCF2}
.event-wall-post.is-task{border-left:4px solid var(--primary)}
.event-wall-post.is-done{border-left-color:var(--success);opacity:.82}
.event-wall-post.is-done .event-wall-body>p{text-decoration:line-through;text-decoration-color:rgba(0,0,0,.3)}
.event-wall-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.event-wall-meta small{color:#9a97ad}
.event-wall-badge{padding:2px 8px;border-radius:999px;background:var(--dark);color:#fff;font-size:.7rem;font-weight:800}
.event-wall-badge.is-pin{background:#FFE7A3;color:#7a5600}
.event-wall-body>p{margin:4px 0 0;white-space:normal;word-break:break-word}
.event-wall-task-icon{color:var(--primary)}
.event-wall-post.is-done .event-wall-task-icon{color:var(--success)}
.event-wall-task-state{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;font-size:.82rem}
.event-wall-task-state span{padding:3px 10px;border-radius:999px;background:#EEF7FF;color:#1565a8}
.event-wall-task-state span.is-free{background:#FFF4E5;color:#9a5b00}
.event-wall-task-state span.is-done{background:#E8FFF5;color:#0b7a55}
.event-wall-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.event-wall-action{padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-size:.78rem;font-weight:700;color:var(--text);cursor:pointer}
.event-wall-action:hover{border-color:var(--primary);color:var(--primary)}
.event-wall-action.is-danger:hover{border-color:var(--danger);color:var(--danger)}

@media(max-width:900px){
  .social-layout{grid-template-columns:1fr}
  .pre-intro-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .pre-grid{grid-template-columns:1fr}
  .pre-span-2{grid-column:auto}
  .pre-row{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) 40px}
  .pre-intro-steps{grid-template-columns:1fr}
  .pre-exp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vote-hero{padding:20px;border-radius:20px}
  .vote-block{padding:16px}
  .vote-options.is-experiences{grid-template-columns:repeat(2,minmax(0,1fr))}
  .event-wall-form{grid-template-columns:1fr}
  .event-wall-form .event-wall-avatar{display:none}
  .event-wall-form-actions{grid-column:1}
}


/* Paso 1: "¿Quieres que tus invitados voten?" (2026-10-13). */
.start-vote{padding:14px 16px;border:1.5px solid #e3d9ff;border-radius:18px;background:#FBF9FF}
.start-vote-ask{display:flex;align-items:center;justify-content:space-between;gap:12px}
.start-vote-q{display:grid;gap:2px;min-width:0}
.start-vote-q b{display:flex;align-items:center;gap:7px;font-size:1rem;font-weight:900;color:var(--dark2)}
.start-vote-q b i{color:#7C3CFF}
.start-vote-q small{color:var(--muted);font-size:.8rem;line-height:1.35}
.start-vote-yesno{display:flex;flex:0 0 auto;gap:6px}
.start-vote .start-vote-yesno label{margin:0;cursor:pointer}
.start-vote-yesno input{position:absolute;opacity:0;pointer-events:none}
.start-vote-yesno span{display:inline-grid;place-items:center;min-width:54px;height:38px;padding:0 14px;border:1.5px solid #e3d9ff;border-radius:999px;background:#fff;color:var(--dark2);font-size:.86rem;font-weight:900}
.start-vote-yesno input:checked+span{border-color:#7C3CFF;background:#7C3CFF;color:#fff}
.start-vote-yesno input:focus-visible+span{outline:2px solid #7C3CFF;outline-offset:2px}
.start-vote-panel{display:grid;gap:12px;margin-top:14px;padding-top:14px;border-top:1px dashed #d9ccff}
.start-vote-panel[hidden]{display:none}
.start-vote-label{margin:0;font-size:.82rem;font-weight:900;color:var(--dark2)}
.start-vote-kinds{display:flex;flex-wrap:wrap;gap:8px}
.start-vote .start-vote-kind{margin:0;cursor:pointer}
.start-vote-kind input{position:absolute;opacity:0;pointer-events:none}
.start-vote-kind span{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1.5px solid #e3d9ff;border-radius:999px;background:#fff;font-size:.84rem;font-weight:800;color:var(--dark2)}
.start-vote-kind span i{color:#7C3CFF}
.start-vote-kind input:checked+span{border-color:#7C3CFF;background:#F1EAFF;color:#4B2BB3}
.start-vote-kind input:checked+span::after{content:"\2713";font-weight:900;color:#7C3CFF}
.start-vote-box{display:grid;gap:8px;padding:12px;border-radius:14px;background:#fff;border:1px solid #ece6fb}
.start-vote-box[hidden]{display:none}
.start-vote-box h4{display:flex;align-items:center;gap:6px;margin:0;font-size:.86rem;font-weight:900;color:var(--dark2)}
.start-vote-box h4 i{color:#7C3CFF}
.start-vote-box h4 small{color:var(--muted);font-weight:600}
.start-vote-box .pre-chips{margin:0}
.start-vote-add{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:0;border-radius:999px;background:#F1EAFF;color:#4B2BB3;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}
.start-vote .pre-exp-tools{margin:0}
.start-vote .pre-exp-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:360px}
.start-vote-more summary{cursor:pointer;font-size:.82rem;font-weight:800;color:#4B2BB3}
.start-vote-more summary small{color:var(--muted);font-weight:600}
.start-vote-more-grid{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:10px;margin-top:10px}
.start-vote-more-grid label{display:grid;gap:5px;font-size:.8rem;font-weight:800}
.start-vote-more-grid input,.start-vote-more-grid textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;font:inherit;font-weight:500;background:#fff}
/* 2026-10-20: aviso grande de qué falta para obtener el link (antes una línea chica gris). */
.start-vote-foot{display:flex;align-items:flex-start;gap:12px;margin-top:14px;padding:14px 16px;border:2px solid #FFB86B;border-radius:16px;background:#FFF6EC}
.start-vote-foot[hidden]{display:none}
.start-vote-foot > i{flex:none;font-size:1.6rem;line-height:1;color:#25D366}
.start-vote-foot div{display:grid;gap:4px}
.start-vote-foot b{font-size:1rem;line-height:1.35;color:#2A1A55}
.start-vote-foot b u{text-decoration-thickness:2px;text-underline-offset:3px}
.start-vote-foot small{font-size:.82rem;color:var(--muted)}
.start-vote-foot.is-ready{border-color:#25D366;background:#EEFBF2}
.start-vote-note{display:flex;align-items:center;gap:6px;margin:0;padding:9px 12px;border-radius:12px;background:#F1EAFF;color:#4B2BB3;font-size:.8rem;font-weight:700}
.start-vote-note[hidden]{display:none}
.is-vote-hidden{display:none!important}
.start-vote.has-vote{padding:0;background:none;border:0}
.start-vote-summary{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid #e3d9ff;border-radius:16px;background:#FBF9FF;color:var(--dark2);text-decoration:none}
.start-vote-summary>i{font-size:1.3rem;color:#7C3CFF}
.start-vote-summary>span:nth-child(2){flex:1;display:grid;gap:1px;min-width:0}
.start-vote-summary b{font-size:.9rem;font-weight:900}
.start-vote-summary small{color:var(--muted);font-size:.78rem}
.start-vote-go{display:inline-flex;align-items:center;gap:3px;color:#7C3CFF;font-size:.84rem;font-weight:900}
@media(max-width:560px){
  .start-vote{padding:12px}
  .start-vote-ask{flex-direction:column;align-items:stretch;gap:10px}
  .start-vote-yesno span{min-width:0;width:100%}
  .start-vote-yesno label{flex:1}
  .start-vote [data-vote-rows="date"] .pre-row{grid-template-columns:minmax(0,1fr) 40px;grid-template-areas:"date remove" "time time";row-gap:6px;padding-bottom:6px;border-bottom:1px dashed #ece6fb}
  .start-vote [data-vote-rows="date"] .pre-row input[type="date"]{grid-area:date}
  .start-vote [data-vote-rows="date"] .pre-row input[type="time"]{grid-area:time}
  .start-vote [data-vote-rows="date"] .pre-row .pre-row-remove{grid-area:remove}
  .start-vote .pre-row.is-place{grid-template-columns:minmax(0,1fr) 40px;grid-template-areas:"label remove" "detail detail"}
  .start-vote .pre-row.is-place input:first-child{grid-area:label}
  .start-vote .pre-row.is-place input:nth-child(2){grid-area:detail}
  .start-vote .pre-row.is-place .pre-row-remove{grid-area:remove}
  .start-vote .pre-exp-tools input{max-width:none}
  .start-vote .pre-tabs{flex-wrap:nowrap;overflow-x:auto;margin:0 -4px;padding:0 4px 2px;scrollbar-width:none}
  .start-vote .pre-tabs::-webkit-scrollbar{display:none}
  .start-vote .pre-tab{flex:0 0 auto;white-space:nowrap}
  .start-vote .pre-exp-card span{padding:8px}
  .start-vote .pre-exp-card strong{font-size:.82rem}
  .start-vote .pre-exp-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:340px}
  .start-vote-more-grid{grid-template-columns:1fr}
}
.pre-share.is-new{border:2px solid #7C3CFF;box-shadow:0 14px 30px rgba(124,60,255,.14)}
.pre-continue{margin-top:12px}
.pre-next .btn-ghost{margin-top:8px}
/* "Listo" contrae la votación del paso 1 a una línea (2026-10-13). */
.start-vote-done{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.start-vote-done .btn{min-width:140px}
.start-vote-error{flex:1;margin:0;color:#C2255C;font-size:.82rem;font-weight:700}
.start-vote-error[hidden]{display:none}
.start-vote.is-collapsed{padding:12px 14px}
.start-vote.is-collapsed .start-vote-ask,.start-vote.is-collapsed .start-vote-panel{display:none!important}
.start-vote-mini{display:flex;align-items:center;gap:10px}
.start-vote-mini[hidden]{display:none}
.start-vote-mini>i{font-size:1.25rem;color:#0CA678}
.start-vote-mini>span{flex:1;display:grid;gap:1px;min-width:0}
.start-vote-mini b{font-size:.9rem;font-weight:900;color:var(--dark2)}
.start-vote-mini small{color:var(--muted);font-size:.78rem;line-height:1.3}
.start-vote-edit{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:7px 13px;border:1.5px solid #e3d9ff;border-radius:999px;background:#fff;color:#4B2BB3;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}
@media(max-width:560px){.start-vote-done .btn{width:100%}}
/* Subcategorías de panoramas en una fila que se desliza, en computador y celular (2026-10-13). */
.start-vote .pre-exp-tools{flex-direction:column;align-items:stretch;gap:10px}
.start-vote .pre-exp-tools input{max-width:none}
.start-vote-tabs{position:relative;min-width:0;width:100%;max-width:100%;overflow:hidden}
.start-vote-tabs .pre-tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x proximity;padding:2px 2px 4px;scrollbar-width:none}
.start-vote-tabs .pre-tabs::-webkit-scrollbar{display:none}
.start-vote-tabs .pre-tab{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
.start-vote-tabs::before,.start-vote-tabs::after{content:"";position:absolute;top:0;bottom:4px;width:56px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:1}
.start-vote-tabs::before{left:0;background:linear-gradient(90deg,#fff 35%,rgba(255,255,255,0))}
.start-vote-tabs::after{right:0;background:linear-gradient(270deg,#fff 35%,rgba(255,255,255,0))}
.start-vote-tabs.can-prev::before,.start-vote-tabs.can-next::after{opacity:1}
.start-vote-tabs-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:32px;height:32px;margin-top:-17px;border:1.5px solid #e3d9ff;border-radius:50%;background:#fff;color:#7C3CFF;font-size:.9rem;cursor:pointer;box-shadow:0 6px 14px rgba(20,17,42,.14)}
.start-vote-tabs-arrow[hidden]{display:none}
.start-vote-tabs-arrow.is-prev{left:0}
.start-vote-tabs-arrow.is-next{right:0;animation:start-vote-nudge 1.6s ease-in-out 2}
@keyframes start-vote-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}
/* Campos de fecha y hora: todo el campo se toca, ícono más grande (2026-10-13). */
input[type="date"],input[type="time"],input[type="datetime-local"],input[type="month"]{cursor:pointer;min-height:44px}
input[type="date"]::-webkit-calendar-picker-indicator,input[type="time"]::-webkit-calendar-picker-indicator,input[type="datetime-local"]::-webkit-calendar-picker-indicator{width:22px;height:22px;padding:2px;cursor:pointer;opacity:.85}
@media(max-width:560px){input[type="date"],input[type="time"],input[type="datetime-local"]{font-size:16px}}
/* Con la votación activa, la comuna o región ocupa todo el ancho. */
.start-two.is-vote-solo{grid-template-columns:1fr}

/* 2026-10-20: mensaje obligatorio de la votación, con "Escríbelo por mí" (paso 1 y formulario de Decidamos juntos). */
.start-vote-message{display:grid;gap:7px;margin-top:14px}
.start-vote-message .start-vote-label small,.pre-field small{font-weight:700;color:var(--muted);font-size:.72rem}
.start-vote-message .message-writer,.pre-field .message-writer{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.start-vote-message .message-writer>span,.pre-field .message-writer>span{font-size:.74rem;font-weight:800;color:#5b2bd1}
.start-vote-message textarea{width:100%;min-height:78px;resize:vertical}
.start-vote-message textarea.is-missing{border-color:#e5484d;box-shadow:0 0 0 3px rgba(229,72,77,.15)}
.start-vote-message-note{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:.72rem}
.start-vote-message-note i{color:#25d366}
