:root {
    --ffcv-primary: #0B1F3A;
    --ffcv-secondary: #F57C00;
    --ffcv-accent: #C62828;
    --ffcv-white: #ffffff;
}

.ffcv-ceo,
.ffcv-ceo * {
    box-sizing: border-box;
}

.ffcv-ceo {
    overflow-x: hidden;
}

.ffcv-ceo img {
    max-width: 100%;
    height: auto;
}

.ffcv-ca-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--ffcv-primary);
}

body.ffcv-ca-standalone {
    margin: 0;
    background: #f6f7fb;
}

.ffcv-ca-standalone-shell {
    min-height: 100vh;
    padding: 24px 0 40px;
}

.ffcv-public-portal .ffcv-ca-wrap {
    max-width: 1200px;
}

.ffcv-public-hero {
    margin-bottom: 22px;
}

.ffcv-public-hero.ffcv-ceo-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 0% 0%, #1b4f96 0%, #0f2d56 44%, #0b1f3a 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.32);
}

.ffcv-public-hero.ffcv-ceo-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.22), transparent 34%);
    pointer-events: none;
}

.ffcv-public-brand {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ffcv-public-brand .ffcv-ca-logo {
    max-height: 78px;
    filter: drop-shadow(0 8px 20px rgba(11, 31, 58, 0.18));
}

.ffcv-public-brand-copy {
    display: grid;
    gap: 4px;
}

.ffcv-public-brand-kicker {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.ffcv-public-brand-copy h1 {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.1;
    color: #ffffff;
}

.ffcv-public-brand-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.ffcv-public-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ffcv-public-hero-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 360px;
    max-width: 440px;
    text-align: left;
    background: linear-gradient(140deg, #0b1f3a 0%, #123a72 62%, #1d4ed8 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.28);
    backdrop-filter: blur(2px);
}

.ffcv-public-hero .ffcv-ceo-pill {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.ffcv-public-hero .ffcv-ceo-pill--accent {
    background: rgba(245, 124, 0, 0.23);
    color: #fff7e6;
    border-color: rgba(255, 190, 117, 0.45);
}

.ffcv-public-hero #ffcv-close-session.ffcv-ceo-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.ffcv-public-hero-user__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex: 0 0 auto;
}

.ffcv-public-hero-user__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ffcv-public-hero-user__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.ffcv-public-hero-user strong {
    font-size: 19px;
    line-height: 1.2;
    color: #ffffff;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-public-hero-user small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.ffcv-public-statusbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.ffcv-public-user-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b1f3a 0%, #123a72 62%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(11, 31, 58, 0.3);
}

.ffcv-public-user-hero__identity {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.ffcv-public-user-hero__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.75);
}

.ffcv-public-user-hero__identity strong {
    font-size: 26px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-public-user-hero__identity p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.ffcv-public-user-hero__badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ffcv-public-statuscard {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ffcv-public-statuscard__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.ffcv-public-statuscard strong {
    font-size: 18px;
    color: #0b1f3a;
}

.ffcv-public-statuscard small {
    color: #64748b;
    line-height: 1.5;
}

.ffcv-public-grid {
    align-items: start;
}

.ffcv-public-card {
    min-height: 100%;
}

.ffcv-public-label {
    display: block;
    font-size: 12px;
    color: #475569;
    margin: 10px 0 6px;
    font-weight: 600;
}

.ffcv-public-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7dde7;
    border-radius: 12px;
    background: #ffffff;
    color: #0b1f3a;
}

.ffcv-public-select:disabled {
    background: #f8fafc;
    color: #64748b;
}

.ffcv-public-vote-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.ffcv-public-vote-buttons .ffcv-public-vote-btn {
    margin-right: 0;
    width: 100%;
    justify-content: center;
    display: inline-flex;
}

.ffcv-public-vote-btn--favor {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
}

.ffcv-public-vote-btn--contra {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

.ffcv-public-vote-btn--abstencion {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
}

.ffcv-public-vote-buttons .ffcv-public-vote-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.ffcv-public-vote-indicator {
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 6px;
    transition: all 0.2s ease;
}

.ffcv-public-vote-indicator__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    opacity: 0.85;
}

.ffcv-public-vote-indicator__title {
    font-size: 24px;
    line-height: 1.1;
}

.ffcv-public-vote-indicator__detail {
    font-size: 14px;
    line-height: 1.5;
}

.ffcv-public-vote-indicator--waiting {
    background: linear-gradient(135deg, #fff9e9 0%, #fff3cd 100%);
    border-color: #f8d68a;
    color: #9a5b00;
}

.ffcv-public-vote-indicator--active {
    background: linear-gradient(135deg, #eafbf1 0%, #d7f7e4 100%);
    border-color: #8edbb0;
    color: #166534;
    position: relative;
    animation: ffcvVotePulse 1.8s ease-in-out infinite;
}

.ffcv-public-vote-indicator--active::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    border: 2px solid rgba(34, 197, 94, 0.28);
    pointer-events: none;
    animation: ffcvVoteRing 1.8s ease-out infinite;
}

.ffcv-public-vote-indicator--loading {
    background: linear-gradient(135deg, #eef4ff 0%, #dde9ff 100%);
    border-color: #bfd2ff;
    color: #1d4ed8;
}

.ffcv-public-vote-indicator--error {
    background: linear-gradient(135deg, #fff0f0 0%, #ffe0e0 100%);
    border-color: #f2b1b1;
    color: #b91c1c;
}

.ffcv-public-feedback {
    margin-top: 16px;
}

.ffcv-public-feedback:empty {
    display: none;
}

.ffcv-public-docs-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 12px;
}

.ffcv-public-doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e5eaf3;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.ffcv-public-doc-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ffcv-public-doc-copy strong,
.ffcv-public-doc-copy .ffcv-ca-hint {
    min-width: 0;
}

.ffcv-public-doc-link {
    white-space: nowrap;
}

.ffcv-public-empty {
    max-width: 820px;
}

.ffcv-public-intro {
    margin-bottom: 22px;
}

.ffcv-public-access-card {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 58%, #fff5ec 100%);
}

.ffcv-public-access-copy {
    display: grid;
    gap: 10px;
}

.ffcv-public-access-highlights {
    display: grid;
    gap: 12px;
}

.ffcv-public-access-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e5eaf3;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.ffcv-public-access-item strong {
    display: block;
    font-size: 15px;
    color: #0b1f3a;
    margin-bottom: 4px;
}

.ffcv-public-access-item small {
    color: #64748b;
    line-height: 1.5;
}

.ffcv-ca-standalone-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #dde5ef;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ffcv-ca-standalone-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ffcv-ca-standalone-kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #4b5563;
}

.ffcv-ca-standalone-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--ffcv-primary);
}

.ffcv-ca-card--standalone {
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ffcv-ca-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ffcv-ca-logo {
    max-height: 60px;
    width: auto;
}

.ffcv-ca-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.ffcv-ca-card {
    background: var(--ffcv-white);
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.ffcv-ca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.ffcv-qr-reader {
    max-width: 280px;
}

.ffcv-hidden {
    display: none !important;
}

.ffcv-camera-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 100000;
}

.ffcv-camera-dialog {
    width: min(760px, 100%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', Arial, sans-serif;
    position: relative;
}

.ffcv-camera-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
}

.ffcv-camera-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
}

.ffcv-camera-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.ffcv-camera-viewport {
    position: relative;
    width: 100%;
}

.ffcv-camera-viewport .ffcv-qr-reader {
    width: 100%;
    max-width: none;
    min-height: 320px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #0f172a;
    overflow: hidden;
}

.ffcv-camera-viewport .ffcv-qr-reader video,
.ffcv-camera-viewport .ffcv-qr-reader canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 460px;
    object-fit: contain;
    border-radius: 12px;
}

.ffcv-camera-frame {
    position: absolute;
    inset: 10% 12%;
    border: 2px dashed rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.24);
    pointer-events: none;
}

.ffcv-camera-hint {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
    text-align: center;
}

.ffcv-camera-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.ffcv-scan-alert {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 20;
    background: rgba(15, 23, 42, 0.46);
}

.ffcv-scan-alert__content {
    width: min(440px, 100%);
    background: #ffffff;
    border: 1px solid #f3c3c3;
    border-radius: 14px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.24);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.ffcv-scan-alert__content strong {
    color: #a32828;
    font-size: 16px;
}

.ffcv-scan-alert__content p {
    margin: 0;
    color: #334155;
}

.ffcv-ca-result {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
}

.ffcv-ca-result.success {
    background: #e7f8ef;
    color: #1d7a3a;
    border: 1px solid #bfe8cc;
}

.ffcv-ca-result.error {
    background: #ffe8e8;
    color: #a32828;
    border: 1px solid #f5bcbc;
}

.ffcv-ca-result.info {
    background: #eef4ff;
    color: #1e40af;
    border: 1px solid #c9d8ff;
}

.ffcv-scan-status-top {
    margin-top: 0;
    margin-bottom: 12px;
    position: sticky;
    top: 8px;
    z-index: 3;
}

.ffcv-ca-list {
    list-style: none;
    padding-left: 0;
}

.ffcv-ca-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ffcv-ca-list button {
    background: var(--ffcv-primary);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.ffcv-ca-primary-btn {
    background: var(--ffcv-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
}

.ffcv-ca-accent {
    color: var(--ffcv-secondary);
}

.ffcv-ca-offline {
    background: #fff7e6;
    border: 1px solid #ffd9a0;
    color: #a85a00;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: none;
}

.ffcv-ca-list button[disabled] {
    background: #aaa;
    cursor: not-allowed;
}

.ffcv-ca-summary {
    margin-top: 12px;
    background: #f6f8ff;
    border: 1px solid #dce3ff;
    padding: 10px 12px;
    border-radius: 8px;
}

.ffcv-ca-summary ul {
    margin: 0;
    padding-left: 18px;
}

#ffcv-audit-live-feed {
    max-height: 240px;
    overflow-y: auto;
}

#ffcv-audit-live-feed ul {
    margin: 0;
    padding-left: 18px;
}

#ffcv-audit-live-feed li {
    margin: 0 0 6px;
    line-height: 1.35;
}

#ffcv-audit-live-feed small {
    color: #5f6b85;
}

.ffcv-vote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.ffcv-vote-buttons button {
    margin-right: 8px;
    padding: 6px 12px;
}

.ffcv-dashboard-premium__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.ffcv-dashboard-premium__header-copy {
    min-width: 0;
}

.ffcv-dashboard-premium__subtitle {
    margin: 4px 0 0;
    color: #5f6b85;
    font-size: 14px;
    line-height: 1.4;
}

.ffcv-dashboard-premium__live-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.ffcv-dashboard-premium__live-state.is-offline {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.ffcv-dashboard-premium__live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: ffcvPulseLive 1.5s ease-in-out infinite;
}

.ffcv-dashboard-premium__live-state.is-offline .ffcv-dashboard-premium__live-dot {
    background: #f43f5e;
    box-shadow: none;
    animation: none;
}

@keyframes ffcvPulseLive {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.ffcv-ca-critical-alert {
    margin: 14px 0 18px;
    border: 1px solid #ef4444;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #881337;
    border-radius: 12px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.15);
}

.ffcv-dashboard-premium__kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ffcv-dashboard-premium__kpi-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #e3ebff;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.ffcv-dashboard-premium__kpi-card span {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.ffcv-dashboard-premium__kpi-card strong {
    font-size: 34px;
    line-height: 1;
    color: #0f172a;
}

.ffcv-dashboard-premium__kpi-card small {
    color: #64748b;
    font-size: 12px;
}

.ffcv-dashboard-premium__kpi-card--accent {
    background: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 100%);
    border-color: #1d4ed8;
}

.ffcv-dashboard-premium__kpi-card--accent span,
.ffcv-dashboard-premium__kpi-card--accent strong,
.ffcv-dashboard-premium__kpi-card--accent small {
    color: #ffffff;
}

.ffcv-dashboard-premium__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 14px;
}

.ffcv-dashboard-premium__vote-layout {
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.ffcv-dashboard-premium__chart-panel {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.ffcv-dashboard-premium__donut {
    --ffcv-favor: 0;
    --ffcv-contra: 0;
    --ffcv-abst: 0;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #ffffff 50px, transparent 51px),
        conic-gradient(
            #22c55e 0 calc(var(--ffcv-favor) * 1%),
            #ef4444 calc(var(--ffcv-favor) * 1%) calc((var(--ffcv-favor) + var(--ffcv-contra)) * 1%),
            #f59e0b calc((var(--ffcv-favor) + var(--ffcv-contra)) * 1%) 100%
        );
    border: 1px solid #dbe7ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    display: grid;
    place-items: center;
    text-align: center;
}

.ffcv-dashboard-premium__donut span {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.ffcv-dashboard-premium__donut small {
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ffcv-dashboard-premium__vote-state {
    font-size: 13px;
    color: #334155;
    text-align: center;
    font-weight: 700;
}

.ffcv-dashboard-premium__bars {
    display: grid;
    gap: 10px;
}

.ffcv-dashboard-premium__bar-row {
    display: grid;
    gap: 4px;
}

.ffcv-dashboard-premium__bar-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.ffcv-dashboard-premium__bar-track {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ffcv-dashboard-premium__bar-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: width 220ms ease;
}

#ffcv-bar-favor {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

#ffcv-bar-contra {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

#ffcv-bar-abstencion {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.ffcv-dashboard-premium__meta {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.ffcv-dashboard-premium__export-card button,
.ffcv-vote-buttons button,
#ffcv-export-csv {
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.ffcv-vote-buttons button:hover,
#ffcv-export-csv:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.18);
}

.ffcv-vote-buttons button.is-processing {
    opacity: 0.7;
    pointer-events: none;
    transform: scale(0.98);
}

.ffcv-ca-result.is-flash {
    animation: ffcvFlashResult 240ms ease-in-out;
}

@keyframes ffcvFlashResult {
    0% {
        transform: scale(0.98);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .ffcv-dashboard-premium__header {
        grid-template-columns: 1fr;
        justify-items: flex-start;
    }

    .ffcv-dashboard-premium__kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ffcv-dashboard-premium__grid,
    .ffcv-dashboard-premium__vote-layout {
        grid-template-columns: 1fr;
    }

    .ffcv-ca-wrap {
        padding: 12px;
    }

    .ffcv-ca-standalone-shell {
        padding-top: 12px;
    }

    .ffcv-public-hero-meta {
        width: 100%;
        align-items: stretch;
    }

    .ffcv-public-brand {
        width: 100%;
        align-items: flex-start;
    }

    .ffcv-public-brand-copy h1 {
        font-size: 22px;
    }

    .ffcv-public-hero-user {
        min-width: 0;
        max-width: none;
        text-align: left;
    }

    .ffcv-public-access-card {
        grid-template-columns: 1fr;
    }

    .ffcv-ca-standalone-brand {
        align-items: flex-start;
        padding: 16px;
    }

    .ffcv-ca-standalone-title {
        font-size: 24px;
    }

    .ffcv-ca-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-public-vote-buttons {
        grid-template-columns: 1fr;
    }

    .ffcv-public-user-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-public-user-hero__identity strong {
        font-size: 20px;
        white-space: normal;
    }

    .ffcv-public-doc-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-public-doc-link {
        width: 100%;
        justify-content: center;
    }

    .ffcv-public-vote-indicator__title {
        font-size: 20px;
    }
}

/* Panel ejecutivo */
.ffcv-ceo {
    background: #f6f7fb;
    min-height: 100vh;
    padding: 24px 0;
}

.ffcv-ceo .ffcv-ca-wrap {
    max-width: 1200px;
}

.ffcv-ceo-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 55%, #e9f1ff 100%);
    color: var(--ffcv-primary);
    padding: 28px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #e5eaf3;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.ffcv-ceo-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ffcv-ceo-brand img {
    height: 56px;
    width: auto;
}

.ffcv-ceo-brand h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.ffcv-ceo-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5b6b82;
    margin: 0 0 6px;
}

.ffcv-ceo-subtitle {
    margin: 6px 0 0;
    color: #5b6b82;
}

.ffcv-ceo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ffcv-ceo-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-left: 10px;
    border-left: 1px solid #dbe3ef;
}

.ffcv-ceo-user-name {
    font-weight: 600;
    color: #0b1f3a;
}

.ffcv-ceo-user-logout {
    font-size: 12px;
    color: #1e40af;
    text-decoration: underline;
}

.ffcv-ceo-index {
    margin: 18px 0 24px;
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    flex-wrap: wrap;
}

.ffcv-ceo-index p {
    margin: 4px 0 0;
    color: #64748b;
}

.ffcv-ceo-index-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ffcv-ceo-index-links a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    background: #eef4ff;
    padding: 6px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.ffcv-ceo-index-links a.is-active {
    background: var(--ffcv-secondary);
    color: #ffffff;
}

.ffcv-ceo-accordion {
    display: grid;
    gap: 12px;
}

.ffcv-ceo-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 12px;
}

.ffcv-ceo-accordion-item summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.ffcv-ceo-accordion-item summary::-webkit-details-marker {
    display: none;
}

.ffcv-ceo-accordion-meta {
    display: flex;
    gap: 14px;
    color: #475569;
    font-size: 12px;
    flex-wrap: wrap;
}

.ffcv-ceo-btn {
    background: var(--ffcv-primary);
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.ffcv-ceo-btn--ghost {
    background: #ffffff;
    color: var(--ffcv-primary);
    border: 1px solid #cfd8e3;
    box-shadow: none;
}

.ffcv-ceo-btn--danger {
    background: #b91c1c;
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.3);
}

.ffcv-ceo-btn--danger:hover {
    background: #991b1b;
}

.ffcv-ceo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ffcv-ceo-stat {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ffcv-ceo-stat strong {
    font-size: 22px;
    color: #0b1f3a;
}

.ffcv-ceo-stat small {
    color: #64748b;
}

.ffcv-day-stat-details {
    margin-top: 8px;
    border-top: 1px dashed #d9e2ef;
    padding-top: 8px;
}

.ffcv-day-stat-details summary {
    cursor: pointer;
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.ffcv-day-stat-details summary::-webkit-details-marker {
    display: none;
}

.ffcv-day-stat-details summary::before {
    content: '▸';
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.2s ease;
}

.ffcv-day-stat-details[open] summary::before {
    transform: rotate(90deg);
}

.ffcv-day-stat-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    max-height: 220px;
    overflow: auto;
    display: grid;
    gap: 6px;
}

.ffcv-day-stat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    padding: 8px 10px;
}

.ffcv-day-stat-list li strong {
    font-size: 13px;
    color: #0b1f3a;
}

.ffcv-day-stat-list li small {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.ffcv-day-stat-empty {
    margin: 8px 0 0;
    font-size: 12px;
    color: #64748b;
}

.ffcv-ceo-message {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 600;
}

.ffcv-ceo-message--success {
    background: #e7f8ef;
    color: #1d7a3a;
    border: 1px solid #cdeed9;
}

.ffcv-ceo-message--error {
    background: #ffe8e8;
    color: #a32828;
    border: 1px solid #f3c3c3;
}

.ffcv-ceo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.ffcv-ceo-card,
.ffcv-ceo-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ffcv-ceo-flow-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ffcv-ceo-flow-card .ffcv-ceo-btn {
    margin-top: 8px;
    align-self: flex-start;
}

.ffcv-ceo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ffcv-ceo-pill {
    background: #eef4ff;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.ffcv-ceo-pill--accent {
    background: #fff3e6;
    color: #b45309;
}

.ffcv-ceo-highlight {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.ffcv-ceo-meta {
    color: #64748b;
    margin: 0;
}

.ffcv-ceo-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.ffcv-ceo-form--inline {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    align-items: end;
}

.ffcv-ceo-form--two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffcv-ceo-form--two-col textarea,
.ffcv-ceo-form--two-col .ffcv-ceo-form-check,
.ffcv-ceo-form--two-col button {
    grid-column: 1 / -1;
}

.ffcv-ceo-form label {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 4px;
}

.ffcv-ceo-form input,
.ffcv-ceo-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d7dde7;
    border-radius: 10px;
    background: #ffffff;
}

.ffcv-ceo-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ffcv-submit-feedback {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: #f8fbff;
    color: #0b1f3a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.ffcv-submit-feedback.is-visible {
    display: flex;
}

.ffcv-submit-feedback__spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    border-top-color: var(--ffcv-secondary);
    animation: ffcvSpin 0.85s linear infinite;
    flex: 0 0 auto;
}

.ffcv-submit-feedback__title {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.ffcv-submit-feedback__text {
    display: block;
    font-size: 13px;
    color: #475569;
}

.ffcv-submit-feedback--inline {
    margin-bottom: 12px;
}

.ffcv-is-submitting button,
.ffcv-is-submitting input[type="submit"],
.ffcv-is-submitting .button {
    opacity: 0.65;
    pointer-events: none;
}

.ffcv-ceo-wizard {
    margin-top: 12px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(145deg, #ffffff 0%, #f6f8ff 50%, #fff7ee 100%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.ffcv-ceo-wizard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.ffcv-ceo-wizard-meta {
    display: flex;
    align-items: center;
}

.ffcv-ceo-wizard-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
}

.ffcv-ceo-wizard-step {
    border: 1px solid #d7dde7;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ffcv-ceo-wizard-step.is-active {
    background: var(--ffcv-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.ffcv-ceo-wizard-panel {
    display: none;
    animation: ffcvFadeIn 0.2s ease-in-out;
}

.ffcv-ceo-wizard-panel.is-active {
    display: block;
}

@keyframes ffcvSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ffcvVotePulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 12px 28px rgba(21, 128, 61, 0.12);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 16px 34px rgba(21, 128, 61, 0.22);
    }
}

@keyframes ffcvVoteRing {
    0% {
        opacity: 0.72;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.015);
    }
    100% {
        opacity: 0;
        transform: scale(1.02);
    }
}

@keyframes ffcvFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ffcv-ceo-section {
    margin-bottom: 24px;
}

.ffcv-ceo-section {
    scroll-margin-top: 20px;
}

.ffcv-ceo-section:target {
    outline: 3px solid var(--ffcv-secondary);
    outline-offset: 6px;
    border-radius: 16px;
}

.ffcv-ceo-section-head h2 {
    margin: 0 0 6px 0;
}

.ffcv-ceo-section-head p {
    margin: 0;
}

.ffcv-ceo-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.ffcv-ceo-section-head p {
    margin: 0;
    color: #64748b;
}

.ffcv-ceo-table {
    display: grid;
    gap: 10px;
}

.ffcv-ceo-table-head,
.ffcv-ceo-table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    align-items: center;
    min-width: 0;
}

/* Tabla de miembros cargados: distribución de columnas */
.ffcv-ceo-table > .ffcv-ceo-table-head:has(> span:nth-child(5)),
.ffcv-ceo-table > .ffcv-ceo-table-row:not(.ffcv-ceo-table-row--updated) {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 120px);
}

.ffcv-ceo-table > div > div {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-ceo-table-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.ffcv-ceo-table-row {
    background: #f9fafc;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #eef2f7;
}

.ffcv-ceo-table-row--updated {
    background: #ecfdf3;
    border-color: #86efac;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.16);
}

.ffcv-ceo-table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ffcv-ceo-row-update-status {
    display: none;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #166534;
}

.ffcv-ceo-row-update-status.is-visible {
    display: inline-flex;
}

.ffcv-ceo-table--historico {
    display: grid;
    gap: 8px;
    overflow: hidden;
    width: 100%;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-head,
.ffcv-ceo-table--historico .ffcv-ceo-table-row {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.6fr) minmax(0, 0.6fr) minmax(0, 0.62fr) minmax(0, 1.45fr);
    width: 100%;
    min-width: 0;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-head > span,
.ffcv-ceo-table--historico .ffcv-ceo-table-row > div {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-head {
    font-size: 10.5px;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-row {
    font-size: 12px;
    padding: 10px;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-head > span:nth-child(2),
.ffcv-ceo-table--historico .ffcv-ceo-table-head > span:nth-child(3),
.ffcv-ceo-table--historico .ffcv-ceo-table-head > span:nth-child(4),
.ffcv-ceo-table--historico .ffcv-ceo-table-row > div:nth-child(2),
.ffcv-ceo-table--historico .ffcv-ceo-table-row > div:nth-child(3),
.ffcv-ceo-table--historico .ffcv-ceo-table-row > div:nth-child(4) {
    text-align: center;
}

.ffcv-ceo-cell-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ffcv-ceo-cell-meta strong,
.ffcv-ceo-cell-meta small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffcv-ceo-cell-meta small {
    color: #64748b;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-actions {
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    gap: 6px;
    overflow-x: auto;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-actions > * {
    flex: 0 0 auto;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-actions form {
    margin: 0;
}

.ffcv-ceo-table--members .ffcv-ceo-table-head,
.ffcv-ceo-table--members .ffcv-ceo-table-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 120px);
}

.ffcv-ceo-table--members .ffcv-ceo-table-row > div:nth-child(4) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-ceo-table--historico .ffcv-ceo-link,
.ffcv-ceo-table--historico button.ffcv-ceo-link {
    white-space: nowrap;
    font-size: 12px;
}

.ffcv-ceo-table--team .ffcv-ceo-table-head,
.ffcv-ceo-table--team .ffcv-ceo-table-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr) minmax(0, 1.28fr) minmax(0, 0.62fr) minmax(0, 1.28fr);
}

.ffcv-ceo-table--team .ffcv-ceo-cell-meta {
    display: grid;
    gap: 2px;
    align-items: start;
}

.ffcv-ceo-table--team .ffcv-ceo-table-head > span:nth-child(4),
.ffcv-ceo-table--team .ffcv-ceo-table-row > div:nth-child(4) {
    text-align: center;
}

.ffcv-ceo-card-head--centered {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 6px;
}

.ffcv-ceo-meta--centered {
    text-align: center;
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head,
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row {
    grid-template-columns: 56px minmax(0, 2fr) minmax(0, 0.62fr) minmax(0, 0.78fr) minmax(0, 1fr) minmax(0, 1fr);
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head > span,
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row > div {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head {
    font-size: 10.5px;
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row {
    font-size: 12px;
    align-items: center;
    border: 1px solid #e4ebf5;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    padding: 12px 14px;
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row:hover {
    transform: translateY(-1px);
    border-color: #d4dfef;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
}

.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head > span:nth-child(1),
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head > span:nth-child(3),
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head > span:nth-child(4),
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row > div:nth-child(1),
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row > div:nth-child(3),
.ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-row > div:nth-child(4) {
    text-align: center;
}

.ffcv-ceo-inline-hidden-form {
    display: none !important;
}

.ffcv-ceo-punto-title-col {
    display: flex;
    align-items: center;
}

.ffcv-ceo-punto-title-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 1px solid #cfd9e8;
    border-radius: 12px;
    padding: 0 12px;
    background: #ffffff;
    color: #0b1f3a;
    font-size: 14px;
    font-family: 'Inter', 'Roboto', 'Open Sans', Arial, sans-serif;
}

.ffcv-ceo-punto-select {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid #d7dde7;
    border-radius: 10px;
    background: #ffffff;
    color: #0b1f3a;
    font-size: 14px;
    line-height: 1.2;
    font-family: 'Open Sans', Arial, sans-serif;
}

.ffcv-ceo-punto-select:disabled {
    background: #f8fafc;
    color: #64748b;
    border-color: #d7dde7;
}

.ffcv-ceo-punto-title-input:focus,
.ffcv-ceo-punto-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.ffcv-ceo-punto-status {
    display: grid;
    gap: 2px;
    white-space: normal;
    line-height: 1.15;
}

.ffcv-ceo-punto-status span {
    font-weight: 700;
    color: #0f2a52;
}

.ffcv-ceo-punto-status small {
    color: #64748b;
    font-size: 11px;
}

.ffcv-ceo-punto-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.ffcv-ceo-punto-save {
    font-weight: 700;
}

@media (max-width: 900px) {
    .ffcv-ceo-table--wizard-puntos .ffcv-ceo-table-head {
        display: none;
    }

    .ffcv-ceo-table--wizard-puntos .ffcv-ceo-punto-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .ffcv-ceo-table--wizard-puntos .ffcv-ceo-punto-row > div {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: grid;
        gap: 6px;
    }

    .ffcv-ceo-table--wizard-puntos .ffcv-ceo-punto-row > div::before {
        content: attr(data-label);
        font-size: 10.5px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
        font-weight: 700;
    }

    .ffcv-ceo-punto-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.ffcv-ceo-report {
    display: grid;
    gap: 16px;
}

.ffcv-ceo-report-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.ffcv-ceo-report-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ffcv-ceo-report-card strong {
    font-size: 22px;
    color: var(--ffcv-primary);
}

.ffcv-ceo-progress {
    background: #e2e8f0;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.ffcv-ceo-progress-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.ffcv-ceo-link {
    background: none;
    border: none;
    color: var(--ffcv-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.ffcv-ceo-link--danger {
    color: #b91c1c;
}

.ffcv-ceo-card--assistant {
    background: linear-gradient(140deg, #ffffff 0%, #f2f6ff 60%, #fff4ea 100%);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.ffcv-ceo-card--assistant::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(245, 124, 0, 0.18), transparent 60%);
    pointer-events: none;
}

.ffcv-ceo-assistant-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #475569;
    display: grid;
    gap: 6px;
}

.ffcv-ceo-assistant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ffcv-ceo-guide {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ffcv-ceo-guide-title {
    margin: 0 0 10px;
    font-weight: 700;
    color: #0b1f3a;
    font-size: 14px;
}

.ffcv-ceo-guide-steps {
    display: grid;
    gap: 8px;
}

.ffcv-ceo-guide-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1e293b;
}

.ffcv-ceo-guide-step input {
    accent-color: var(--ffcv-secondary);
    width: 16px;
    height: 16px;
}

.ffcv-ceo-guide-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.ffcv-ceo-checklist {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.ffcv-ceo-checklist--hero {
    border: 2px solid var(--ffcv-secondary);
    background: #fff7e6;
    box-shadow: 0 12px 24px rgba(245, 124, 0, 0.18);
}

.ffcv-ceo-checklist--hero .ffcv-ceo-guide-title {
    font-size: 15px;
}

.ffcv-ceo-checklist-items {
    display: grid;
    gap: 8px;
}

.ffcv-ceo-checklist--horizontal .ffcv-ceo-checklist-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ffcv-ceo-checklist--horizontal .ffcv-ceo-checklist-item {
    white-space: nowrap;
}

.ffcv-ceo-checklist-item {
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
}

.ffcv-ceo-checklist-item.is-done {
    background: #e7f8ef;
    color: #1d7a3a;
    border-color: #cdeed9;
}

.ffcv-ceo-checklist-item.is-missing {
    background: #ffe8e8;
    color: #a32828;
    border-color: #f3c3c3;
}

@media (max-width: 900px) {
    .ffcv-ceo-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-ceo-user {
        align-items: flex-start;
        border-left: none;
        padding-left: 0;
    }

    .ffcv-ceo-index {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Pantalla grande de votaciones */
.ffcv-votes-screen {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2b46 0%, #0b1526 40%, #070d18 100%);
    color: #ffffff;
    padding: 48px 24px;
    font-family: 'Open Sans', Arial, sans-serif;
}

.ffcv-votes-screen__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ffcv-votes-screen__topbar {
    display: flex;
    justify-content: flex-end;
}

.ffcv-votes-screen__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #111827;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.ffcv-votes-screen__back:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);
    color: #0f172a;
}

.ffcv-votes-screen__header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ffcv-votes-screen__header img {
    height: 72px;
    width: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}

.ffcv-votes-screen__kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.7);
}

.ffcv-votes-screen__header h1 {
    margin: 0;
    font-size: 36px;
}

.ffcv-votes-screen__card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.ffcv-votes-screen__card h2 {
    margin: 0 0 12px;
    font-size: 34px;
}

.ffcv-votes-screen__status {
    margin: 0 0 24px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.ffcv-votes-screen__status.is-error {
    color: #ffb4b4;
}

.ffcv-votes-screen__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.ffcv-votes-screen__result {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ffcv-votes-screen__result span {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.ffcv-votes-screen__result strong {
    font-size: 48px;
}

.ffcv-votes-screen__result--favor {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.4);
}

.ffcv-votes-screen__result--contra {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.45);
}

.ffcv-votes-screen__result--abstencion {
    background: rgba(251, 191, 36, 0.18);
    border-color: rgba(251, 191, 36, 0.4);
}

.ffcv-votes-screen__result--unanimidad {
    background: rgba(14, 116, 144, 0.22);
    border-color: rgba(14, 116, 144, 0.5);
}

.ffcv-votes-screen__footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    text-align: center;
    font-size: 18px;
}

.ffcv-votes-screen__footer span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.ffcv-votes-screen__footer strong {
    font-size: 30px;
}

.ffcv-votes-screen__hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

@media (max-width: 900px) {
    .ffcv-votes-screen__topbar {
        justify-content: stretch;
    }

    .ffcv-votes-screen__back {
        width: 100%;
    }

    .ffcv-votes-screen__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-votes-screen__card h2 {
        font-size: 26px;
    }

    .ffcv-votes-screen__result strong {
        font-size: 36px;
    }
}

/* Panel día de asamblea */
.ffcv-day {
    background: #f4f6fb;
    min-height: 100vh;
    padding: 32px 0 48px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #0b1f3a;
}

.ffcv-day__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ffcv-day__header {
    background: #0b1f3a;
    color: #ffffff;
    padding: 22px 26px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.25);
}

.ffcv-day__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ffcv-day__brand img {
    height: 54px;
    width: auto;
}

.ffcv-day__kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.ffcv-day__subtitle {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.ffcv-day__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ffcv-day__btn {
    background: #f57c00;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.ffcv-day__btn--ghost {
    background: #ffffff;
    color: #0b1f3a;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ffcv-day__message {
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
}

.ffcv-day__message--success {
    background: #e6f6ee;
    color: #1d7a3a;
    border: 1px solid #cbead7;
}

.ffcv-day__message--error {
    background: #ffe8e8;
    color: #a32828;
    border: 1px solid #f3c3c3;
}

.ffcv-day__message--inline {
    width: 100%;
    margin: 0 0 8px;
}

.ffcv-day__card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e8ecf3;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.ffcv-day__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ffcv-day__pill {
    background: #e8f0ff;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.ffcv-day__pill--accent {
    background: #fff1e2;
    color: #b45309;
}

.ffcv-day__highlight {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
}

.ffcv-day__meta {
    margin: 0;
    color: #64748b;
}

.ffcv-day__asamblea-data {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.ffcv-day__asamblea-field {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e6ecf8;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.ffcv-day__asamblea-field span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.ffcv-day__asamblea-field strong {
    font-size: 15px;
    color: #0f172a;
}

.ffcv-day__conv-selector {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #dbe7fb;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    display: grid;
    gap: 10px;
}

.ffcv-day__conv-selector-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ffcv-day__conv-selector-head label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.ffcv-day__conv-selector-head small {
    color: #475569;
    font-size: 12px;
}

.ffcv-day__conv-selector-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ffcv-day__conv-option {
    position: relative;
    margin: 0;
}

.ffcv-day__conv-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ffcv-day__conv-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #c6d5ef;
    background: #ffffff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.ffcv-day__conv-option input:checked + span {
    background: #0b1f3a;
    color: #ffffff;
    border-color: #0b1f3a;
    box-shadow: 0 8px 16px rgba(11, 31, 58, 0.22);
}

.ffcv-day__conv-selector-actions {
    display: flex;
    justify-content: flex-end;
}

.ffcv-day__sync-note {
    margin: 12px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #dbe7fb;
    background: #f8fbff;
    color: #0f172a;
}

.ffcv-day__sync-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.42);
    animation: ffcvPulseLive 1.6s ease-in-out infinite;
}

.ffcv-day__sync-note.is-live .ffcv-day__sync-dot {
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.42);
}

.ffcv-day__sync-note.is-stale .ffcv-day__sync-dot {
    background: #dc2626;
    box-shadow: none;
    animation: none;
}

.ffcv-day__sync-note.is-syncing .ffcv-day__sync-dot {
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.38);
}

.ffcv-day__sync-note strong {
    font-size: 13px;
}

.ffcv-day__sync-note small {
    font-size: 12px;
    color: #64748b;
}

.ffcv-day__timer {
    margin-top: 14px;
    border: 1px solid #dbe7fb;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    padding: 12px 14px;
    display: grid;
    gap: 10px;
}

.ffcv-day__timer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ffcv-day__timer-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: #334155;
}

.ffcv-day__timer-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid #bfd6ff;
    background: #ffffff;
    color: #1e40af;
    font-weight: 700;
    font-size: 11px;
}

.ffcv-day__timer-clock {
    font-size: clamp(28px, 5.2vw, 42px);
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}

.ffcv-day__timer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ffcv-day__timer-actions form {
    margin: 0;
}

.ffcv-day__timer--standalone {
    margin-top: 0;
}

.ffcv-day__meta--orden-intro {
    margin-bottom: 12px;
}

.ffcv-day__grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ffcv-day__card--orden {
    order: 1;
}

.ffcv-day__card--asambleas {
    order: 3;
}

.ffcv-day__card--finalizacion {
    order: 4;
}

.ffcv-day__table {
    display: grid;
    gap: 10px;
}

.ffcv-day__table-head,
.ffcv-day__table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    align-items: center;
}

.ffcv-day__table-head {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.ffcv-day__table-row {
    background: #f9fafc;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #eef2f7;
    font-size: 14px;
}

.ffcv-day__table-head > span,
.ffcv-day__table-row > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ffcv-day__table--asambleas .ffcv-day__table-head,
.ffcv-day__table--asambleas .ffcv-day__table-row {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.58fr) minmax(0, 0.66fr) minmax(0, 0.62fr) minmax(0, 1.05fr);
}

.ffcv-day__table--orden .ffcv-day__table-head,
.ffcv-day__table--orden .ffcv-day__table-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.5fr) minmax(0, 0.78fr) minmax(0, 1.67fr);
}

.ffcv-day__table--orden .ffcv-day__table-row {
    align-items: flex-start;
}

.ffcv-day__table--orden .ffcv-day__table-row[data-ffcv-punto-expanded="0"] {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.ffcv-day__table--orden .ffcv-day__table-row[data-ffcv-punto-expanded="1"] {
    background: #f2f7ff;
    border-color: #cfdef6;
}

.ffcv-day__table--asambleas .ffcv-day__table-head > span:nth-child(2),
.ffcv-day__table--asambleas .ffcv-day__table-head > span:nth-child(3),
.ffcv-day__table--asambleas .ffcv-day__table-head > span:nth-child(4),
.ffcv-day__table--asambleas .ffcv-day__table-row > div:nth-child(2),
.ffcv-day__table--asambleas .ffcv-day__table-row > div:nth-child(3),
.ffcv-day__table--asambleas .ffcv-day__table-row > div:nth-child(4),
.ffcv-day__table--orden .ffcv-day__table-head > span:nth-child(2),
.ffcv-day__table--orden .ffcv-day__table-row > div:nth-child(2) {
    text-align: center;
}

.ffcv-day__table--asambleas .ffcv-day__table-actions {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.ffcv-day__table--asambleas .ffcv-day__table-actions > * {
    flex: 0 0 auto;
}

.ffcv-day__table--asambleas .ffcv-day__table-actions form {
    margin: 0;
}

.ffcv-day__table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.ffcv-day__table--orden .ffcv-day__table-actions form {
    width: 100%;
    max-width: 100%;
}

.ffcv-day__point-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ffcv-day__point-summary {
    cursor: pointer;
    border-radius: 10px;
    padding: 2px 4px;
}

.ffcv-day__point-summary:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.ffcv-day__point-summary.is-expanded {
    cursor: default;
}

.ffcv-day__point-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef4ff;
    border: 1px solid #d8e5ff;
    color: #1e40af;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ffcv-day__point-order-form {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ffcv-day__point-order-form label {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.ffcv-day__point-order-form input {
    width: 84px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-weight: 700;
}

.ffcv-day__vote-config-form {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dbe4f2;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    overflow: hidden;
}

.ffcv-day__vote-config-form label {
    display: block;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.ffcv-day__vote-config-form select {
    width: 100%;
    border: 1px solid #d7dde7;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.2;
    background: #ffffff;
    color: #0b1f3a;
    font-family: 'Open Sans', Arial, sans-serif;
}

.ffcv-day__vote-config-form select:focus,
.ffcv-day__media-form select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.ffcv-day__vote-config-form select:disabled,
.ffcv-day__media-form select:disabled {
    background: #f8fafc;
    color: #64748b;
    border-color: #d7dde7;
}

.ffcv-day__vote-config-form [data-ffcv-manual-fields] {
    display: grid;
    gap: 8px;
}

.ffcv-day__mode-checks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ffcv-day__mode-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d7dde7;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

.ffcv-day__mode-check input {
    margin: 0;
}

.ffcv-day__vote-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ffcv-day__vote-buttons .ffcv-day__btn,
.ffcv-day__vote-buttons .ffcv-day__link--cta {
    min-width: 160px;
    justify-content: center;
}

.ffcv-day__table--orden .ffcv-day__table-actions {
    align-items: stretch;
}

.ffcv-day__link {
    background: none;
    border: none;
    padding: 0;
    color: #0b1f3a;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.ffcv-day__link--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #d7dde7;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    text-decoration: none;
}

.ffcv-day__manual-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.ffcv-day__manual-chip {
    display: grid;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #dbe4f2;
    background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
}

.ffcv-day__manual-chip em {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    color: #64748b;
}

.ffcv-day__manual-chip strong {
    font-size: 16px;
    color: #0b1f3a;
    line-height: 1;
}

.ffcv-day__manual-form-inline {
    display: grid;
    gap: 10px;
}

.ffcv-day__manual-help {
    margin: 0 0 8px;
    font-size: 12px;
    color: #64748b;
}

.ffcv-day__manual-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

.ffcv-day__manual-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.ffcv-day__manual-toggle input {
    margin: 0;
}

.ffcv-day__manual-field {
    display: grid;
    width: 88px;
    flex: 0 0 88px;
    min-width: 88px;
    overflow: hidden;
    justify-items: center;
    text-align: center;
    gap: 5px;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid #dbe4f2;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.ffcv-day__manual-field span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    white-space: nowrap;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ffcv-day__manual-field input {
    width: 56px;
    max-width: 56px;
    min-width: 56px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 4px;
    font-weight: 700;
    font-size: 13px;
    color: #0b1f3a;
    background: #ffffff;
    text-align: center;
    font-variant-numeric: tabular-nums;
    appearance: textfield;
    -moz-appearance: textfield;
}

.ffcv-day__manual-field input::-webkit-outer-spin-button,
.ffcv-day__manual-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ffcv-day__form-feedback {
    display: none;
    margin-top: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #f3c3c3;
    background: #fff1f1;
    color: #a32828;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.ffcv-day__form-feedback.is-error {
    display: block;
}

.ffcv-day__manual-field input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.14);
}

.ffcv-day__manual-field input.is-locked {
    background: #f1f5f9;
    color: #334155;
}

.ffcv-day__manual-field input[readonly]:not(.is-locked) {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

.ffcv-day__inline-form {
    margin-top: 14px;
}

.ffcv-day__reset {
    margin: 10px 0 18px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: #fff6f0;
    border: 1px solid #ffe0c7;
}

.ffcv-day__reset label {
    font-size: 12px;
    color: #92400e;
}

.ffcv-day__reset textarea {
    border-radius: 10px;
    border: 1px solid #f5caa4;
    padding: 8px 10px;
    font-family: inherit;
}

.ffcv-day__media-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.ffcv-day__media-form label {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 4px;
}

.ffcv-day__media-form input,
.ffcv-day__media-form select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d7dde7;
}

.ffcv-day__media-form select {
    font-size: 14px;
    line-height: 1.2;
    background: #ffffff;
    color: #0b1f3a;
    font-family: 'Open Sans', Arial, sans-serif;
}

.ffcv-day__hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.ffcv-day__media-list {
    display: grid;
    gap: 10px;
}

.ffcv-day__media-item {
    background: #f9fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ffcv-day__media-item small {
    display: block;
    color: #94a3b8;
    margin-top: 4px;
}

.ffcv-day__media-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ffcv-day__link--danger {
    color: #b91c1c;
}

.ffcv-day__assistant {
    background: linear-gradient(120deg, rgba(11, 31, 58, 0.98) 0%, rgba(15, 40, 82, 0.96) 45%, rgba(16, 54, 115, 0.92) 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 18px 36px rgba(9, 20, 38, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.ffcv-day__assistant::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(245, 124, 0, 0.35), transparent 55%);
    pointer-events: none;
}

.ffcv-day__assistant-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.ffcv-day__assistant-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.ffcv-day__assistant-subtitle {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.ffcv-day__assistant-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.ffcv-day__assistant-steps {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.ffcv-day__assistant-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ffcv-day__assistant-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.ffcv-day__assistant-step span {
    height: 34px;
    width: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(245, 124, 0, 0.9);
    color: #ffffff;
    font-weight: 700;
}

.ffcv-day__assistant-step strong {
    display: block;
    font-size: 15px;
}

.ffcv-day__assistant-step p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.ffcv-day__assistant-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .ffcv-day__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-day__manual-summary,
    .ffcv-day__manual-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .ffcv-day__manual-field {
        width: 82px;
        flex-basis: 82px;
        min-width: 82px;
    }

    .ffcv-day__table-head,
    .ffcv-day__table-row {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }

    .ffcv-day__timer-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ffcv-day__conv-selector-head,
    .ffcv-day__conv-selector-actions {
        justify-content: flex-start;
    }

    .ffcv-day__conv-selector-options {
        width: 100%;
    }

    .ffcv-day__conv-option,
    .ffcv-day__conv-option span {
        width: 100%;
    }

    .ffcv-day__timer-actions .ffcv-day__btn {
        width: 100%;
        justify-content: center;
    }
}