: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;
}

.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;
}

.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-vote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

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

@media (max-width: 600px) {
    .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-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;
}

.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: block;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.ffcv-ceo-table--historico .ffcv-ceo-table-head,
.ffcv-ceo-table--historico .ffcv-ceo-table-row {
    grid-template-columns: minmax(240px, 2.1fr) 110px 110px minmax(260px, 1.6fr) 110px minmax(240px, 1.4fr);
    min-width: 1080px;
    width: max-content;
    min-width: 100%;
}

.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-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;
}

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

.ffcv-ceo-table--team .ffcv-ceo-table-head,
.ffcv-ceo-table--team .ffcv-ceo-table-row {
    grid-template-columns: minmax(240px, 2fr) minmax(180px, 1.2fr) minmax(220px, 1.6fr) 110px minmax(220px, 1.3fr);
}

.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__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__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__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.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: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

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

.ffcv-day__table-actions {
    display: flex;
}

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

.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__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__table-head,
    .ffcv-day__table-row {
        grid-template-columns: 1fr;
    }
}
