html.lpc-poll-voters-open,
html.lpc-poll-voters-open body{
    overflow:hidden;
}

.lpc-compose-poll-builder{
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:16px;
    border:1px solid var(--lpc-border);
    border-radius:16px;
    background:#F8FAFC;
}

.lpc-compose-poll-builder[hidden]{
    display:none;
}

.lpc-compose-poll-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}

.lpc-compose-poll-head>div{
    min-width:0;
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.lpc-compose-poll-head>div>span{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    flex:0 0 38px;
    border-radius:12px;
    color:var(--lpc-navy);
    background:rgba(248,184,97,.22);
}

.lpc-compose-poll-head svg{
    width:20px;
    height:20px;
}

.lpc-compose-poll-head>div>div{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.lpc-compose-poll-head strong{
    color:var(--lpc-navy-deep);
    font-size:15px;
    font-weight:600;
    line-height:1.35;
}

.lpc-compose-poll-head small{
    color:var(--lpc-muted);
    font-size:12.5px;
    line-height:1.45;
}

.lpc-app .lpc-compose-poll-head>button{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    flex:0 0 34px;
    padding:0;
    border:0;
    border-radius:10px;
    color:var(--lpc-muted);
    background:#EEF3F7;
}

.lpc-app .lpc-compose-poll-head>button:hover{
    color:var(--lpc-danger);
    background:#FCEDEE;
}

.lpc-app .lpc-compose-poll-head>button:disabled{
    cursor:not-allowed;
    opacity:.45;
}

.lpc-compose-poll-head>button svg{
    width:17px;
    height:17px;
}

.lpc-compose-poll-question{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:7px;
}

.lpc-compose-poll-question>span{
    color:var(--lpc-text);
    font-size:12px;
    font-weight:600;
}

.lpc-app .lpc-compose-poll-question input,
.lpc-app .lpc-compose-poll-option input,
.lpc-app .lpc-compose-poll-setting select,
.lpc-app .lpc-compose-poll-setting input[type="datetime-local"]{
    width:100%;
    min-width:0;
    border:1px solid var(--lpc-border-strong);
    border-radius:11px;
    color:var(--lpc-text);
    background:#fff;
    box-shadow:none;
    font-family:var(--lpc-font);
    font-size:13.5px;
    font-weight:500;
    outline:0;
    transition:border-color var(--lpc-fast) var(--lpc-ease),box-shadow var(--lpc-fast) var(--lpc-ease),background-color var(--lpc-fast) var(--lpc-ease);
}

.lpc-app .lpc-compose-poll-question input{
    min-height:44px;
    padding:10px 54px 10px 12px;
}

.lpc-app .lpc-compose-poll-question input:focus,
.lpc-app .lpc-compose-poll-option input:focus,
.lpc-app .lpc-compose-poll-setting select:focus,
.lpc-app .lpc-compose-poll-setting input[type="datetime-local"]:focus{
    border-color:var(--lpc-navy);
    box-shadow:0 0 0 3px var(--lpc-focus);
}

.lpc-compose-poll-question>small{
    position:absolute;
    right:11px;
    bottom:13px;
    color:var(--lpc-soft-text);
    font-size:11px;
    pointer-events:none;
}

.lpc-compose-poll-question>small b{
    font-weight:600;
}

.lpc-compose-poll-options{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.lpc-compose-poll-option{
    position:relative;
    display:grid;
    grid-template-columns:30px minmax(0,1fr) auto 32px;
    align-items:center;
    gap:8px;
}

.lpc-compose-poll-option-number{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:var(--lpc-navy);
    background:#EAF0F7;
    font-size:12px;
    font-weight:600;
}

.lpc-app .lpc-compose-poll-option input{
    min-height:42px;
    padding:9px 11px;
}

.lpc-compose-poll-option>small{
    min-width:44px;
    color:var(--lpc-soft-text);
    font-size:10.5px;
    text-align:right;
}

.lpc-compose-poll-option>small b{
    font-weight:600;
}

.lpc-app .lpc-compose-poll-option>button{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:9px;
    color:#7D8CA1;
    background:transparent;
}

.lpc-app .lpc-compose-poll-option>button:hover{
    color:var(--lpc-danger);
    background:#FCEDEE;
}

.lpc-compose-poll-option>button svg{
    width:16px;
    height:16px;
}

.lpc-app .lpc-compose-poll-add{
    min-height:40px;
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 11px;
    border:1px dashed #BCCBDA;
    border-radius:11px;
    color:var(--lpc-navy);
    background:#fff;
    font-size:12.5px;
    font-weight:600;
}

.lpc-app .lpc-compose-poll-add:hover{
    border-color:var(--lpc-navy);
    background:#F2F6FA;
}

.lpc-compose-poll-add svg{
    width:16px;
    height:16px;
}

.lpc-compose-poll-add small{
    color:var(--lpc-soft-text);
    font-size:10.5px;
    font-weight:500;
}

.lpc-compose-poll-settings{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}

.lpc-compose-poll-setting{
    min-width:0;
    min-height:66px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 11px;
    border:1px solid var(--lpc-border);
    border-radius:12px;
    background:#fff;
}

.lpc-compose-poll-setting>span{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.lpc-compose-poll-setting strong{
    color:var(--lpc-text);
    font-size:12.5px;
    font-weight:600;
}

.lpc-compose-poll-setting small{
    color:var(--lpc-soft-text);
    font-size:10.5px;
    line-height:1.35;
}

.lpc-app .lpc-compose-poll-setting select,
.lpc-app .lpc-compose-poll-setting input[type="datetime-local"]{
    width:auto;
    max-width:180px;
    min-height:38px;
    padding:7px 9px;
    font-size:12px;
}

.lpc-compose-poll-setting.is-toggle{
    cursor:pointer;
}

.lpc-compose-poll-setting.is-toggle input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.lpc-compose-poll-setting.is-toggle i{
    position:relative;
    width:38px;
    height:22px;
    flex:0 0 38px;
    border-radius:999px;
    background:#D6E0E9;
    transition:background-color var(--lpc-fast) var(--lpc-ease);
}

.lpc-compose-poll-setting.is-toggle i::after{
    content:"";
    position:absolute;
    top:3px;
    left:3px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(15,45,82,.18);
    transition:transform var(--lpc-fast) var(--lpc-ease);
}

.lpc-compose-poll-setting.is-toggle input:checked+i{
    background:var(--lpc-navy);
}

.lpc-compose-poll-setting.is-toggle input:checked+i::after{
    transform:translateX(16px);
}

.lpc-compose-poll-setting.is-toggle input:focus-visible+i{
    box-shadow:0 0 0 3px var(--lpc-focus);
}

.lpc-compose-poll-custom-end{
    grid-column:1/-1;
}

.lpc-compose-poll-custom-end[hidden]{
    display:none;
}

.lpc-compose-poll-lock{
    display:flex;
    align-items:flex-start;
    gap:9px;
    padding:10px 11px;
    border:1px solid #D3DFEB;
    border-radius:11px;
    color:var(--lpc-text);
    background:#EEF4FA;
}

.lpc-compose-poll-lock[hidden]{
    display:none;
}

.lpc-compose-poll-lock>svg{
    width:17px;
    height:17px;
    flex:0 0 17px;
    margin-top:1px;
    color:var(--lpc-navy);
}

.lpc-compose-poll-lock>span{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.lpc-compose-poll-lock strong{
    font-size:12px;
    font-weight:600;
}

.lpc-compose-poll-lock small{
    color:var(--lpc-muted);
    font-size:11px;
    line-height:1.4;
}

.lpc-compose-poll-builder.is-locked input,
.lpc-compose-poll-builder.is-locked select{
    cursor:not-allowed;
    color:#667991;
    background:#F2F5F8;
}

.lpc-poll-card{
    position:relative;
    margin:4px 14px 12px;
    padding:15px;
    border:1px solid #D5E0EA;
    border-radius:15px;
    background:#FAFCFE;
    overflow:hidden;
}

.lpc-poll-card.is-loading{
    pointer-events:none;
    opacity:.72;
}

.lpc-poll-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:13px;
}

.lpc-poll-head>div:first-child{
    min-width:0;
}

.lpc-poll-kicker{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-bottom:5px;
    color:var(--lpc-navy);
    font-size:10.5px;
    font-weight:600;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.lpc-poll-kicker svg{
    width:15px;
    height:15px;
}

.lpc-poll-head h3{
    margin:0;
    color:var(--lpc-navy-deep);
    font-size:17px;
    font-weight:600;
    line-height:1.38;
    overflow-wrap:anywhere;
}

.lpc-poll-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:5px;
    flex:0 0 auto;
}

.lpc-poll-badges span{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:4px 8px;
    border-radius:999px;
    color:#526A86;
    background:#EAF0F6;
    font-size:10.5px;
    font-weight:600;
    white-space:nowrap;
}

.lpc-poll-badges span.is-closed{
    color:#8F4145;
    background:#FBEDEF;
}

.lpc-poll-options{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.lpc-poll-option{
    position:relative;
    min-height:52px;
    display:grid;
    grid-template-columns:22px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:9px 11px;
    border:1px solid #D7E1EA;
    border-radius:12px;
    background:#fff;
    cursor:pointer;
    overflow:hidden;
    isolation:isolate;
    transition:border-color var(--lpc-fast) var(--lpc-ease),box-shadow var(--lpc-fast) var(--lpc-ease),transform var(--lpc-fast) var(--lpc-ease);
}

.lpc-poll-option:hover{
    border-color:#B8C8D8;
    box-shadow:0 4px 14px rgba(18,47,84,.05);
}

.lpc-poll-option.is-selected{
    border-color:rgba(14,45,123,.55);
    box-shadow:0 0 0 2px rgba(14,45,123,.07);
}

.lpc-poll-option input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.lpc-poll-choice-control{
    position:relative;
    z-index:2;
    width:19px;
    height:19px;
    display:grid;
    place-items:center;
    border:1.5px solid #AFC0D1;
    border-radius:50%;
    background:#fff;
}

.lpc-poll-card[data-poll-multiple="1"] .lpc-poll-choice-control{
    border-radius:6px;
}

.lpc-poll-option input:checked+.lpc-poll-choice-control{
    border-color:var(--lpc-navy);
    background:var(--lpc-navy);
}

.lpc-poll-option input:checked+.lpc-poll-choice-control::after{
    content:"";
    width:7px;
    height:4px;
    border-left:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:translateY(-1px) rotate(-45deg);
}

.lpc-poll-option input:focus-visible+.lpc-poll-choice-control{
    box-shadow:0 0 0 3px var(--lpc-focus);
}

.lpc-poll-option input:disabled+.lpc-poll-choice-control{
    opacity:.8;
}

.lpc-poll-option-label{
    position:relative;
    z-index:2;
    min-width:0;
    color:var(--lpc-text);
    font-size:13.5px;
    font-weight:600;
    line-height:1.35;
    overflow-wrap:anywhere;
}

.lpc-poll-option-result{
    position:relative;
    z-index:2;
    min-width:74px;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:1px;
}

.lpc-poll-option-result strong{
    color:var(--lpc-navy-deep);
    font-size:12px;
    font-weight:600;
}

.lpc-poll-option-result small{
    color:var(--lpc-soft-text);
    font-size:10px;
    white-space:nowrap;
}

.lpc-poll-result-fill{
    position:absolute;
    inset:0 auto 0 0;
    z-index:1;
    width:var(--lpc-poll-result,0%);
    background:rgba(14,45,123,.08);
    transition:width .35s var(--lpc-ease-soft);
}

.lpc-poll-card.is-closed .lpc-poll-option,
.lpc-poll-card.has-voted[data-poll-allow-change="0"] .lpc-poll-option{
    cursor:default;
}

.lpc-poll-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:12px;
    padding-top:11px;
    border-top:1px solid #E1E8EF;
}

.lpc-poll-meta{
    min-width:0;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:5px;
    color:var(--lpc-soft-text);
    font-size:10.5px;
    line-height:1.35;
}

.lpc-poll-meta strong{
    color:var(--lpc-muted);
    font-weight:600;
}

.lpc-poll-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    flex:0 0 auto;
}

.lpc-app .lpc-poll-submit,
.lpc-app .lpc-poll-clear,
.lpc-app .lpc-poll-voters-button{
    min-height:34px;
    padding:6px 10px;
    border-radius:9px;
    font-size:11.5px;
    font-weight:600;
}

.lpc-app .lpc-poll-submit{
    color:#fff;
    border:1px solid var(--lpc-navy);
    background:var(--lpc-navy);
}

.lpc-app .lpc-poll-submit:hover{
    border-color:var(--lpc-navy-deep);
    background:var(--lpc-navy-deep);
}

.lpc-app .lpc-poll-clear,
.lpc-app .lpc-poll-voters-button{
    color:var(--lpc-navy);
    border:1px solid #CCD9E5;
    background:#fff;
}

.lpc-app .lpc-poll-clear:hover,
.lpc-app .lpc-poll-voters-button:hover{
    border-color:#AFC2D4;
    background:#F0F5F9;
}

.lpc-poll-closed-note{
    color:var(--lpc-muted);
    font-size:11px;
    font-weight:600;
}

.lpc-poll-status{
    min-height:0;
    margin-top:0;
    color:var(--lpc-muted);
    font-size:11px;
    line-height:1.35;
}

.lpc-poll-status:not(:empty){
    margin-top:9px;
}

.lpc-poll-status.is-error{
    color:var(--lpc-danger);
}

.lpc-poll-voters-modal{
    position:fixed;
    inset:0;
    z-index:100120;
    display:grid;
    place-items:center;
    padding:20px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity var(--lpc-medium) var(--lpc-ease),visibility var(--lpc-medium) step-end;
}

.lpc-poll-voters-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition:opacity var(--lpc-medium) var(--lpc-ease),visibility 0s;
}

.lpc-poll-voters-backdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    border-radius:0;
    background:rgba(5,20,50,.55);
    backdrop-filter:blur(5px);
}

.lpc-poll-voters-dialog{
    position:relative;
    z-index:1;
    width:min(520px,100%);
    max-height:min(680px,calc(100dvh - 40px));
    display:flex;
    flex-direction:column;
    border:1px solid var(--lpc-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--lpc-shadow-float);
    overflow:hidden;
    transform:translateY(10px) scale(.985);
    transition:transform var(--lpc-medium) var(--lpc-ease-soft);
}

.lpc-poll-voters-modal.is-open .lpc-poll-voters-dialog{
    transform:none;
}

.lpc-poll-voters-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:16px;
    border-bottom:1px solid var(--lpc-border);
}

.lpc-poll-voters-head>div{
    min-width:0;
}

.lpc-poll-voters-head>div>span{
    color:var(--lpc-amber-text);
    font-size:10px;
    font-weight:600;
    letter-spacing:.055em;
}

.lpc-poll-voters-head h2{
    margin:2px 0 2px;
    color:var(--lpc-navy-deep);
    font-size:19px;
    font-weight:600;
}

.lpc-poll-voters-head p{
    margin:0;
    color:var(--lpc-muted);
    font-size:11.5px;
}

.lpc-app .lpc-poll-voters-head>button{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    flex:0 0 34px;
    padding:0;
    border-radius:10px;
    color:var(--lpc-muted);
    background:#EEF3F7;
}

.lpc-poll-voters-head>button svg{
    width:17px;
    height:17px;
}

.lpc-poll-voters-state{
    padding:18px 16px;
    color:var(--lpc-muted);
    font-size:12px;
    text-align:center;
}

.lpc-poll-voters-list{
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
}

.lpc-poll-voter-row{
    display:grid;
    grid-template-columns:44px minmax(0,1fr) minmax(0,180px) 16px;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border-bottom:1px solid #ECF0F4;
    color:inherit;
    text-decoration:none;
    transition:background-color var(--lpc-fast) var(--lpc-ease);
}

.lpc-poll-voter-row:hover{
    background:#F7F9FC;
}

.lpc-poll-voter-row img{
    width:44px;
    height:44px;
    border-radius:50%;
    object-fit:cover;
}

.lpc-poll-voter-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:1px;
}

.lpc-poll-voter-copy strong{
    overflow:hidden;
    color:var(--lpc-navy-deep);
    font-size:12.5px;
    font-weight:600;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lpc-poll-voter-copy small{
    overflow:hidden;
    color:var(--lpc-soft-text);
    font-size:10.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lpc-poll-voter-choices{
    min-width:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:4px;
}

.lpc-poll-voter-choices span{
    max-width:100%;
    overflow:hidden;
    padding:4px 7px;
    border-radius:999px;
    color:var(--lpc-navy);
    background:#EDF3F8;
    font-size:9.5px;
    font-weight:600;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.lpc-poll-voter-chevron{
    color:#9AABBC;
    font-size:20px;
    line-height:1;
}

.lpc-poll-voters-footer{
    display:flex;
    justify-content:center;
    padding:10px 14px;
    border-top:1px solid var(--lpc-border);
    background:#FAFBFD;
}

.lpc-app .lpc-poll-voters-footer button{
    min-height:36px;
    padding:7px 13px;
    border:1px solid #CBD8E4;
    border-radius:9px;
    color:var(--lpc-navy);
    background:#fff;
    font-size:11.5px;
    font-weight:600;
}

@media (max-width:700px){
    .lpc-compose-poll-builder{
        gap:12px;
        padding:13px;
        border-radius:14px;
    }

    .lpc-compose-poll-settings{
        grid-template-columns:1fr;
    }

    .lpc-compose-poll-custom-end{
        grid-column:auto;
    }

    .lpc-compose-poll-setting{
        min-height:62px;
    }

    .lpc-poll-card{
        margin:3px 10px 10px;
        padding:12px;
        border-radius:13px;
    }

    .lpc-poll-head{
        flex-direction:column;
        gap:8px;
    }

    .lpc-poll-badges{
        justify-content:flex-start;
    }

    .lpc-poll-head h3{
        font-size:15px;
    }

    .lpc-poll-footer{
        align-items:flex-start;
        flex-direction:column;
    }

    .lpc-poll-actions{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    .lpc-app .lpc-poll-submit{
        margin-left:auto;
    }

    .lpc-poll-voters-modal{
        align-items:end;
        padding:0;
    }

    .lpc-poll-voters-dialog{
        width:100%;
        max-height:min(78dvh,720px);
        border-radius:18px 18px 0 0;
        transform:translateY(24px);
    }

    .lpc-poll-voter-row{
        grid-template-columns:40px minmax(0,1fr) 16px;
        gap:9px;
        padding:10px 12px;
    }

    .lpc-poll-voter-row img{
        width:40px;
        height:40px;
    }

    .lpc-poll-voter-choices{
        grid-column:2/3;
        justify-content:flex-start;
        margin-top:-3px;
    }

    .lpc-poll-voter-chevron{
        grid-column:3;
        grid-row:1/3;
    }
}

@media (max-width:420px){
    .lpc-compose-poll-option{
        grid-template-columns:26px minmax(0,1fr) 28px;
        gap:6px;
    }

    .lpc-compose-poll-option>small{
        display:none;
    }

    .lpc-compose-poll-setting{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .lpc-compose-poll-setting.is-toggle{
        flex-direction:row;
        align-items:center;
    }

    .lpc-app .lpc-compose-poll-setting select,
    .lpc-app .lpc-compose-poll-setting input[type="datetime-local"]{
        width:100%;
        max-width:none;
    }

    .lpc-poll-option{
        grid-template-columns:20px minmax(0,1fr);
        gap:8px;
    }

    .lpc-poll-option-result{
        grid-column:2;
        min-width:0;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        gap:8px;
    }

    .lpc-poll-option-result small{
        white-space:normal;
    }
}

@media (prefers-reduced-motion:reduce){
    .lpc-poll-result-fill,
    .lpc-poll-option,
    .lpc-poll-voters-dialog,
    .lpc-poll-voters-modal,
    .lpc-compose-poll-setting.is-toggle i,
    .lpc-compose-poll-setting.is-toggle i::after{
        transition:none;
    }
}
