/* M5 ANKIETY 1.0.0 — POL.FAN theme, isolated CSS */
.m5poll-home,.m5poll-page{font-family:inherit;color:#183459}
.m5poll-home{background:#fff;border:1px solid #d7e4f6;border-radius:18px;box-shadow:0 10px 30px rgba(24,45,91,.07);padding:18px;margin:16px 0 24px}
.m5poll-home-header{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e4eaf6;padding-bottom:12px;margin-bottom:16px}
.m5poll-home-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#e6e7ff,#d5e9ff);font-size:24px}
.m5poll-home-header h2{font-size:21px;font-weight:900;margin:0!important;color:#113b70!important}.m5poll-home-header small{font-size:12px;color:#68829b}
.m5poll-card{background:#f9fbff;border:1px solid #e0e9f7;border-radius:16px;padding:18px;box-sizing:border-box;width:100%;min-width:0}
.m5poll-card-head{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:9px}
.m5poll-pill,.m5poll-status-live,.m5poll-status-ended,.m5poll-mode{font-size:11px;line-height:1.4;font-weight:800;padding:5px 9px;border-radius:15px}
.m5poll-pill{background:#e7dcff;color:#732fd5}.m5poll-status-live{background:#dff6e8;color:#087b45}.m5poll-status-ended{background:#f0f1f5;color:#596981}.m5poll-mode{color:#566d86;background:#edf2f8}
.m5poll-card h3{font-size:22px!important;line-height:1.25!important;margin:9px 0 7px!important;color:#173960!important;font-weight:900!important;overflow-wrap:anywhere}.m5poll-card h3 a{text-decoration:none!important;color:inherit!important}
.m5poll-description{color:#526e8a;font-size:14px;line-height:1.5;white-space:pre-wrap;margin:4px 0 15px}
.m5poll-vote-form fieldset,.m5poll-option-fieldset,.m5poll-vote-mode{border:0;padding:0;margin:12px 0 16px;min-width:0}
.m5poll-vote-form legend,.m5poll-option-fieldset legend,.m5poll-vote-mode legend{font-size:12px;font-weight:800;color:#5c718c;margin-bottom:10px}
.m5poll-choice{display:flex;gap:10px;align-items:flex-start;background:white;border:1px solid #dce6f5;border-radius:10px;padding:12px;margin-bottom:8px;cursor:pointer;color:#18395a;font-size:14px}
.m5poll-choice:hover{border-color:#884cef;background:#f8f5ff}.m5poll-choice input{accent-color:#8036d9;width:17px;height:17px;flex:none;margin:0}
.m5poll-btn{display:inline-flex;justify-content:center;align-items:center;text-align:center;border:0;background:linear-gradient(110deg,#167af4,#8b22d8);border-radius:10px;padding:11px 18px;color:#fff!important;font-weight:850;font-size:13px;text-decoration:none!important;cursor:pointer;box-shadow:0 5px 14px #643ed81f}
.m5poll-btn:hover{filter:brightness(1.08)}.m5poll-btn:focus-visible{outline:3px solid #eda8ff;outline-offset:2px}
.m5poll-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:13px;border-top:1px solid #e2e9f4;padding-top:12px;color:#637c96;font-size:12px}.m5poll-footer a{font-weight:800;color:#234dcd;text-decoration:none}
.m5poll-result{margin:13px 0}.m5poll-result-top{display:flex;justify-content:space-between;gap:14px;color:#233c5b;font-size:13px}.m5poll-result-top strong{white-space:nowrap;color:#4330bd}.m5poll-result-top small{font-weight:500;color:#7990a5}
.m5poll-track{height:11px;background:#e4eaf5;border-radius:20px;overflow:hidden;margin-top:7px}.m5poll-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,#3388ee,#9635da);transition:width .25s ease}
.m5poll-result.is-mine .m5poll-track{outline:1px solid #9165e9}.m5poll-note,.m5poll-no-active{font-size:13px;color:#536b86;margin:9px 0}.m5poll-all{display:flex;align-items:center;justify-content:center;border-radius:11px;background:#edf3fd;color:#1356c1;text-decoration:none;font-size:13px;font-weight:850;padding:12px 16px;margin-top:14px}
.m5poll-all:hover{background:#e2eaff}
.m5poll-page{max-width:1120px;margin:24px auto;padding:0 18px 45px;box-sizing:border-box}.m5poll-page h2{font-size:22px;color:#14365d;margin:22px 0 12px}.m5poll-page-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;padding:25px;border-radius:18px;background:linear-gradient(110deg,#10264a,#2b1763);color:#fff;margin-bottom:22px}
.m5poll-page-hero small{font-size:10px;letter-spacing:.12em;color:#d7c3fa;font-weight:900}.m5poll-page-hero h1{font-size:30px!important;font-weight:900;color:#fff!important;margin:5px 0!important}.m5poll-page-hero p{color:#e0dcfc;margin:0;font-size:14px}
.m5poll-page .m5poll-card{background:white}.m5poll-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,385px),1fr));gap:14px}
.m5poll-empty,.m5poll-privacy{padding:16px;background:#f3f6fd;border:1px solid #e0e7f4;border-radius:12px;color:#526b89;font-size:14px}
.m5poll-pagination{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:24px;font-size:13px}.m5poll-pagination a,.m5poll-back{color:#2469ce;font-weight:800;text-decoration:none}.m5poll-detail{max-width:820px}.m5poll-detail>.m5poll-card{margin-top:14px}
.m5poll-voters{background:white;padding:20px;border-radius:16px;border:1px solid #dfe7f3;margin-top:18px}.m5poll-voters h2{margin-top:0}.m5poll-voters>p{font-size:13px;color:#61778e}.m5poll-voter{display:grid;grid-template-columns:minmax(110px,1fr) minmax(110px,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e7ecf5;font-size:13px}.m5poll-voter a{font-weight:800;color:#145dba}.m5poll-voter span{color:#364e69}.m5poll-voter small{color:#7589a4}
.m5poll-admin-box{border:1px solid #e1e8f2;background:#fff;border-radius:16px;padding:22px;margin:18px 0;box-shadow:0 4px 18px #132c5610}
.m5poll-admin-box h2{margin:0 0 14px!important}.m5poll-admin-box>small{font-size:12px;color:#71849c}
.m5poll-alert{background:#fff6da;color:#674f12;border:1px solid #edc56b;padding:12px 15px;border-radius:9px;font-size:13px}.m5poll-alert.error{background:#ffedef;color:#a41b31;border-color:#f0a5ad}.m5poll-alert.ok{background:#eaf8ee;color:#15743c;border-color:#a1ddb3}
.m5poll-home-toggle{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0}.m5poll-home-toggle label{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}
.m5poll-admin .m5poll-field{display:block;color:#254e78;font-weight:800;font-size:13px;margin:12px 0}.m5poll-admin .m5poll-field input,.m5poll-admin .m5poll-field textarea,.m5poll-admin .m5poll-field select,.m5poll-option-row input{width:100%;margin-top:6px;border:1px solid #ccdaed;border-radius:9px;padding:11px;box-sizing:border-box;font:inherit;background:#fff;color:#183459;font-weight:400}
.m5poll-admin .m5poll-field small{display:block;font-weight:400;margin-top:5px;color:#6b8096}.m5poll-required{color:#ec3463}.m5poll-option-fieldset{border:1px solid #e2e9f5;border-radius:10px;padding:15px;max-width:780px}
.m5poll-option-row{display:flex;gap:8px;align-items:end;margin-bottom:9px}.m5poll-option-row label{display:block;flex:1;font-size:12px;font-weight:800;color:#647f98}.m5poll-option-row button{height:42px;min-width:38px;background:#fff0f1;color:#b61937;border:1px solid #f3bec5;border-radius:9px;cursor:pointer;font-size:20px}
.m5poll-option-row button:disabled{opacity:.4;cursor:default}.m5poll-secondary{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:9px;border:1px solid #cce0f6;background:#f4f8fe;color:#1557a2!important;text-decoration:none;font-size:12px;font-weight:800;cursor:pointer}
#m5poll-option-count{display:block;color:#6c7e95;font-size:12px;margin-top:9px}.m5poll-admin-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:900px}.m5poll-vote-mode{border:1px solid #e2e9f5;border-radius:10px;padding:15px}.m5poll-vote-mode label{display:flex;align-items:start;gap:8px;margin:8px 0;font-size:13px;color:#2a4463}.m5poll-vote-mode input{accent-color:#8640e4}.m5poll-actions{display:flex;align-items:center;gap:14px;margin:12px 0}
.m5poll-admin-table-wrap{overflow-x:auto}.m5poll-admin-table{border-collapse:collapse;width:100%;font-size:13px}.m5poll-admin-table th,.m5poll-admin-table td{border-bottom:1px solid #e2eaf4;padding:12px 10px;text-align:left}.m5poll-admin-table th{color:#6b839a;text-transform:uppercase;font-size:10px;letter-spacing:.04em}.m5poll-admin-table a{color:#1467ba}.m5poll-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.m5poll-row-actions form{margin:0}.m5poll-delete{background:#fff0f0;border:1px solid #efbdc3;color:#b5213a;padding:10px 12px;border-radius:9px;cursor:pointer;font-weight:800;font-size:12px}
.m5poll-back-light{color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800;border:1px solid #ffffff50;padding:9px 12px;border-radius:10px}
@media(max-width:650px){.m5poll-home{padding:12px}.m5poll-card{padding:14px}.m5poll-admin-box{padding:14px}.m5poll-page-hero{padding:18px}.m5poll-page-hero h1{font-size:24px!important}.m5poll-voter{grid-template-columns:1fr}.m5poll-admin-cols{grid-template-columns:1fr}.m5poll-page{padding:0 10px 30px}.m5poll-card h3{font-size:19px!important}}

/* Embedded as a native subsection of M5 USERPROFILE /admin. */
.m5poll-admin-embedded{max-width:none;width:100%;margin:0;padding:0;box-sizing:border-box}
.m5poll-admin-embedded .m5poll-admin-box{margin:14px 0}
