.feed-poll .body{padding:16px}.feed-poll h2{margin:10px 0 12px;font-size:19px;cursor:pointer}.feed-options{display:grid;gap:7px;margin-bottom:12px}.feed-options button{border:1px solid #e0e5eb;background:#fff;border-radius:10px;padding:9px 11px;text-align:left;font:inherit;color:#1f2937;cursor:pointer}.feed-options button:hover{border-color:#b8c4d1;background:#fafbfc}.poll-image-button{display:block;width:100%;border:0;background:none;padding:0;margin:3px 0 0;cursor:pointer}.poll-image-button img{display:block;width:100%;height:150px;object-fit:cover;border-radius:11px;background:#f2f4f7}.feed-poll .meta{padding-top:11px;border-top:1px solid #f0f2f4;margin-top:11px}.feed-poll .meta button{border:0;background:none;padding:0;color:#667085;font:inherit;font-size:13px;cursor:pointer}.poll-modal{position:fixed;inset:0;background:rgba(15,23,42,.48);z-index:300;display:none;align-items:center;justify-content:center;padding:22px}.poll-modal.show{display:flex}.modal-open{overflow:hidden}.poll-modal-card{position:relative;width:min(660px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.22)}.poll-modal-close{position:sticky;top:10px;float:right;z-index:2;margin:10px 12px 0 0;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;font-size:23px;cursor:pointer}.modal-poll{padding:20px}.modal-creator{display:flex;align-items:center;gap:10px;padding-right:42px}.modal-creator img{width:38px;height:38px;border-radius:50%;object-fit:cover}.modal-creator span{display:block;color:#667085;font-size:13px}.modal-poll h2{font-size:22px;line-height:1.3;margin:18px 0 14px}.modal-vote-form{display:grid;gap:8px}.modal-vote-form button{border:1px solid #dce3ea;background:#fff;border-radius:11px;padding:11px 13px;text-align:left;font:inherit;cursor:pointer}.modal-cover{width:100%;height:190px;object-fit:cover;border-radius:12px;margin-top:14px}.modal-counts{display:flex;gap:18px;color:#667085;font-size:13px;padding:12px 0;border-bottom:1px solid #edf0f3}.modal-results{display:grid;gap:11px}.modal-result>div:first-child{display:flex;justify-content:space-between}.result-track{height:8px;background:#eef1f4;border-radius:999px;overflow:hidden;margin-top:5px}.result-track i{display:block;height:100%;background:#0b2342;border-radius:999px}.modal-result.mine span{font-weight:700}.modal-discussion{padding-top:14px}.modal-discussion h3{margin:0 0 10px;font-size:17px}.comments-locked,.modal-note{padding:12px;border-radius:10px;background:#f7f8fa;color:#667085}.comment-form{display:flex;gap:8px;align-items:flex-end}.comment-form textarea{flex:1;min-height:62px;resize:vertical;border:1px solid #dce3ea;border-radius:10px;padding:10px;font:inherit}.comment-form button{border:0;border-radius:9px;background:#0b2342;color:#fff;padding:10px 13px}.comment-list{margin-top:14px}.comment{display:grid;grid-template-columns:34px 1fr;gap:9px;padding:11px 0;border-top:1px solid #f0f2f4}.comment img{width:34px;height:34px;border-radius:50%;object-fit:cover}.comment span{color:#667085;font-size:12px}.comment p{margin:4px 0 0}.modal-loading,.modal-error{padding:40px;text-align:center;color:#667085}@media(max-width:720px){.poll-modal{padding:0;align-items:flex-end}.poll-modal-card{width:100%;max-height:94vh;border-radius:18px 18px 0 0}.modal-poll{padding:16px}.modal-cover{height:150px}.poll-image-button img{height:125px}}
.profile-bio{color:#344054!important;max-width:560px}.profile-tabs a{color:#667085;text-decoration:none;padding:14px 0}.profile-tabs a.active{color:#111827;border-bottom:3px solid #0b2342;font-weight:700}.profile-poll-feed{margin-top:14px}.compact-settings textarea{width:100%;border:1px solid #dbe2ea;border-radius:10px;padding:10px;font:inherit;resize:vertical}.compact-settings label{font-weight:500!important}.compact-settings button{font-weight:700!important}
.modal-cover{display:none!important}.modal-poll h2{background:linear-gradient(135deg,#eef4ff,#eef9f4);border-radius:14px;padding:20px;position:relative}.modal-counts{color:#667085}.feed-poll{border-color:#e8ebef!important;box-shadow:none!important}
/* modal category gradient and richer interaction */
.modal-question-card{margin:16px 0!important}.modal-vote-form button{display:flex;align-items:center;gap:10px}.modal-result>div:first-child span{display:flex;align-items:center;gap:9px}.modal-result .choice-marker{font-style:normal}.demographics{margin-top:16px;border:1px solid #e8ebef;border-radius:12px;overflow:hidden}.demo-tabs{display:flex;overflow:auto;border-bottom:1px solid #edf0f3}.demo-tabs button{border:0;background:#fff;padding:10px 13px;color:#667085;cursor:pointer;white-space:nowrap}.demo-tabs button.active{color:#0b2342;font-weight:700;border-bottom:2px solid #0b2342}.demo-panel{display:none;padding:10px 13px}.demo-panel.active{display:block}.demo-row{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-bottom:1px solid #f1f3f5}.demo-row:last-child{border-bottom:0}.demo-row b{font-weight:650}.demo-row small{color:#7a8491;font-weight:400}.demo-note{font-size:11px;color:#89929e;padding:0 13px 10px;margin:0}.owner-tools{display:flex;justify-content:flex-end;gap:8px;padding:10px 0}.owner-tools button{border:1px solid #dce3ea;background:#fff;border-radius:9px;padding:7px 10px;cursor:pointer}.owner-tools .delete-poll-open{color:#c62828;border-color:#f0c6c6}.inline-edit{padding:12px;border:1px solid #e4e8ed;border-radius:11px;background:#fafbfc;display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:center}.inline-edit[hidden]{display:none}.inline-edit strong{grid-column:1/-1}.inline-edit select{border:1px solid #dce3ea;border-radius:8px;padding:9px;background:#fff}.inline-edit button{border:0;border-radius:8px;background:#0b2342;color:#fff;padding:9px 11px}.reply-toggle{border:0;background:none;color:#60748a;padding:3px 0;cursor:pointer;font-size:12px}.reply-form{display:flex;gap:7px;margin-top:7px}.reply-form[hidden]{display:none}.reply-form textarea{flex:1;min-height:42px;border:1px solid #dce3ea;border-radius:9px;padding:8px;font:inherit}.reply-form button{border:0;background:#0b2342;color:#fff;border-radius:8px;padding:7px 10px}.comment-thread{border-top:1px solid #f0f2f4}.comment-thread>.comment{border-top:0}.comment.reply{margin-left:42px;border-top:0;padding-top:7px}.comment.reply img{width:28px;height:28px}.comment.reply{grid-template-columns:28px 1fr}.modal-poll.category-relationships .modal-question-card{background:linear-gradient(135deg,#fff0f4,#f7e8f2);color:#7b294c}.modal-poll.category-money-finance .modal-question-card{background:linear-gradient(135deg,#edf9f0,#fff5d9);color:#267449}.modal-poll.category-work-careers .modal-question-card{background:linear-gradient(135deg,#edf5ff,#eef1f7);color:#3d6fa8}.modal-poll.category-business-entrepreneurship .modal-question-card{background:linear-gradient(135deg,#fff3e5,#edf4ff);color:#9b6221}.modal-poll.category-education .modal-question-card{background:linear-gradient(135deg,#fff8dd,#edf5ff);color:#9a7118}.modal-poll.category-technology .modal-question-card{background:linear-gradient(135deg,#e8f7ff,#edf0ff);color:#277da8}.modal-poll.category-sports .modal-question-card{background:linear-gradient(135deg,#eaf8ee,#eef8ff);color:#28764a}.modal-poll.category-entertainment .modal-question-card{background:linear-gradient(135deg,#f6edff,#ffeef8);color:#8142a9}.modal-poll.category-lifestyle .modal-question-card{background:linear-gradient(135deg,#eef9f1,#fff1e8);color:#39825b}.modal-poll.category-family-parenting .modal-question-card{background:linear-gradient(135deg,#fff0f2,#fff7e7);color:#a33d5b}.modal-poll.category-health-wellness .modal-question-card{background:linear-gradient(135deg,#eaf9f6,#eff7e9);color:#247a68}.modal-poll.category-society-culture .modal-question-card{background:linear-gradient(135deg,#f1efff,#edf6ff);color:#6253a6}.modal-poll.category-public-affairs .modal-question-card{background:linear-gradient(135deg,#eef1f5,#f6f1ff);color:#536176}.modal-poll.category-kenya-politics .modal-question-card{background:linear-gradient(135deg,#edf8f1,#fff0ef);color:#25764a}
@media(max-width:600px){.inline-edit{grid-template-columns:1fr}.comment.reply{margin-left:26px}.demo-tabs button{padding:9px 10px}}
.modal-result.mine .choice-marker{background:var(--cat,#0b2342);border-color:var(--cat,#0b2342);color:#fff}

/* Milestone 6: demographic result comparisons */
.demo-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 10px;background:#fff}.demo-title>div{display:flex;flex-direction:column;gap:2px}.demo-title strong{font-size:15px;color:#152238}.demo-title span,.demo-title small{font-size:12px;color:#778395}.demo-title small{white-space:nowrap;background:#f4f6f8;border-radius:999px;padding:5px 8px}.demo-panel{background:#fff}.demo-segment{padding:10px 0 14px;border-bottom:1px solid #eef1f4}.demo-segment:last-child{border-bottom:0}.demo-segment-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.demo-segment-head strong{font-size:13px;color:#24344a}.demo-segment-head span{font-size:11px;color:#7d8997;white-space:nowrap}.demo-choice-list{display:grid;gap:8px}.demo-choice-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.demo-choice-line>span{display:flex;align-items:center;gap:7px;min-width:0;color:#435166}.demo-choice-line>span i{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#f1f4f7;color:#40516a;font-style:normal;font-size:10px;font-weight:700}.demo-choice-line b{font-size:12px;color:#152238}.demo-choice-track{height:5px;background:#edf1f4;border-radius:999px;overflow:hidden;margin-left:29px}.demo-choice-track i{display:block;height:100%;border-radius:inherit;background:#0b2342}.demo-location-section+ .demo-location-section{margin-top:18px;padding-top:12px;border-top:1px solid #eef1f4}.demo-location-section h4{margin:0 0 7px;font-size:12px;color:#697688;font-weight:650}.demo-empty-state{display:flex;flex-direction:column;gap:3px;padding:14px;border-radius:10px;background:#f7f9fb;color:#6f7c8c}.demo-empty-state strong{font-size:12px;color:#435166}.demo-empty-state span{font-size:11px;line-height:1.45}.demo-note{line-height:1.45;background:#fafbfc;border-top:1px solid #f0f2f4;padding-top:9px}.modal-results+.demographics{margin-top:18px}
@media(max-width:600px){.demo-title{padding:12px 11px 9px}.demo-panel{padding:9px 11px}.demo-segment-head{align-items:flex-start}.demo-choice-line{font-size:11.5px}.demo-choice-track{margin-left:29px}}
/* M7 discussion */
.discussion-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.discussion-head h3{margin:0}.comment-sort{display:flex;padding:3px;background:#f4f6f8;border-radius:9px}.comment-sort-btn{border:0;background:transparent;color:#667085;border-radius:7px;padding:6px 9px;font:inherit;font-size:12px;cursor:pointer}.comment-sort-btn.active{background:#fff;color:#0b2342;box-shadow:0 1px 3px #0b172915}.comment-thread{padding:2px 0}.comment-thread.pinned{background:#fbfcff;border-radius:12px;padding:0 10px;margin:5px -10px}.comment-content{min-width:0}.comment-author-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.pinned-label{font-size:10px;color:#356fa8;background:#edf5ff;border-radius:999px;padding:2px 6px}.comment-actions{display:flex;align-items:center;gap:12px;margin-top:7px}.comment-actions button{border:0;background:none;padding:0;color:#667085;font:inherit;font-size:12px;cursor:pointer}.comment-actions .comment-like.liked{color:#e53935}.reply-list{margin-left:42px;border-left:2px solid #eef1f4;padding-left:12px}.reply-list .comment{grid-template-columns:30px 1fr;border-top:0;padding:8px 0}.reply-list .comment img{width:30px;height:30px}.comment-edit-form,.reply-form{margin-top:8px}.comment-edit-form textarea,.reply-form textarea{width:100%;min-height:54px;border:1px solid #dce3ea;border-radius:9px;padding:8px;font:inherit;resize:vertical}.comment-edit-form button,.reply-form button{margin-top:6px;border:0;border-radius:8px;background:#0b2342;color:#fff;padding:7px 10px;cursor:pointer}.comment-edit-form .comment-edit-cancel{background:#eef1f4;color:#344054;margin-left:5px}@media(max-width:720px){.reply-list{margin-left:26px;padding-left:9px}.comment-actions{gap:10px;flex-wrap:wrap}}

@import url('/assets/css/demographic-selects.css');
\n/* Demographic selector final override */
.demo-panel .demo-filter{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:12px 0 14px!important;padding:10px 12px!important;background:#f7f9fb!important;border:1px solid #e5eaf0!important;border-radius:12px!important}
.demo-panel .demo-filter label{margin:0!important;color:#667085!important;font-size:12px!important;font-weight:600!important}
.demo-panel select.demo-group-select{appearance:auto!important;-webkit-appearance:menulist!important;display:block!important;width:min(240px,60%)!important;min-width:170px!important;height:38px!important;margin:0!important;padding:0 10px!important;border:1px solid #cfd7e1!important;border-radius:10px!important;background:#fff!important;color:#172033!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;line-height:38px!important;box-shadow:none!important;outline:none!important}
.demo-panel select.demo-group-select:focus{border-color:#8293a8!important;box-shadow:0 0 0 3px rgba(11,35,66,.07)!important}
.demo-panel .demo-select-result{display:none!important}
.demo-panel .demo-select-result.active{display:block!important}
.demo-panel .demo-select-result[hidden]{display:none!important}
@media(max-width:560px){.demo-panel .demo-filter{align-items:stretch!important;flex-direction:column!important;gap:6px!important}.demo-panel select.demo-group-select{width:100%!important;min-width:0!important;max-width:none!important}}

/* Feed cleanup: choices belong in the poll modal, never in feed cards. */
.feed-options{display:none!important}
.feed-vote-cta{display:flex;justify-content:flex-end;margin:12px 0 2px}
.feed-vote-button{appearance:none;border:0!important;background:#0b2342!important;color:#fff!important;border-radius:999px!important;padding:9px 18px!important;font-size:13px!important;font-weight:750!important;line-height:1!important;cursor:pointer}
.feed-vote-button:hover{background:#12355f!important}
@media(max-width:720px){.feed-vote-cta{margin-top:10px}.feed-vote-button{padding:9px 17px!important}}
.poll-card-info-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0 10px}.poll-card-tags{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.poll-card-tags em,.poll-card-tags i{font-style:normal;font-size:12px;font-weight:900;border-radius:999px;padding:5px 9px}.poll-card-tags em{background:#eef3f8;color:#0b2342}.poll-card-tags i{background:#e8f7ef;color:#06743a}.poll-card-info-row .feed-vote-button{margin-left:auto;white-space:nowrap}.demo-choice.mine{background:#eef7ff;border-radius:10px;padding:7px 8px}.demo-choice.mine .choice-marker,.demo-choice.mine .demo-choice-line>span>i{background:#1687e8!important;color:#fff!important;border-color:#1687e8!important}.your-vote-label{display:inline-flex;margin-left:8px;padding:2px 7px;border-radius:999px;background:#1687e8;color:#fff;font-style:normal;font-size:10px;font-weight:900;vertical-align:middle}@media(max-width:560px){.poll-card-info-row{align-items:flex-start}.poll-card-tags{gap:5px}.poll-card-info-row .feed-vote-button{padding:8px 13px!important;font-size:12px!important}}

/* Milestone 7 discussion polish */
.comment-verified{display:inline-flex!important;width:15px!important;height:15px!important;min-width:15px!important;border-radius:50%!important;background:#1687e8!important;color:#fff!important;align-items:center!important;justify-content:center!important;font-size:10px!important;line-height:1!important;margin-left:4px!important;vertical-align:middle!important}
.comment-report-modal[hidden]{display:none!important}.comment-report-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px}.comment-report-backdrop{position:absolute;inset:0;background:rgba(9,25,46,.5)}.comment-report-card{position:relative;width:min(460px,100%);background:#fff;border-radius:18px;padding:18px;box-shadow:0 24px 70px rgba(10,35,65,.24);display:grid;gap:14px}.comment-report-card header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.comment-report-card header div{display:grid;gap:3px}.comment-report-card header small{color:#64748b}.comment-report-card header button{border:0;background:#f1f5f9;border-radius:50%;width:34px;height:34px;font-size:22px}.comment-report-card label{display:grid;gap:6px;font-weight:700;color:#19324f}.comment-report-card select,.comment-report-card textarea{width:100%;border:1px solid #d8e1eb;border-radius:10px;padding:10px;font:inherit;background:#fff}.comment-report-card textarea{min-height:92px;resize:vertical}.comment-report-actions{display:flex;justify-content:flex-end;gap:8px}.comment-report-actions button{border:0;border-radius:10px;padding:10px 15px;font-weight:800;cursor:pointer;background:#0b2342;color:#fff}.comment-report-actions .secondary{background:#eef3f8;color:#17314f}
@media(max-width:640px){.comment-report-modal{padding:10px;align-items:end}.comment-report-card{border-radius:18px 18px 10px 10px}.comment-actions{gap:10px;flex-wrap:wrap}.reply-list{margin-left:24px}}
