:root{--bg-main: #f8fafc;--bg-sidebar: #ffffff;--primary: #0066cc;--text-main: #1e293b;--border-color: #e2e8f0}.admin-layout{display:flex;min-height:100dvh;background-color:var(--bg-main);font-family:Inter,sans-serif}@media (max-width: 768px){.admin-layout{flex-direction:column}}.sidebar{width:250px;min-width:250px;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;padding:1rem;position:sticky;top:0;overflow-y:auto}.brand{display:flex;flex-direction:column;gap:4px}.brand span{font-size:.72rem;font-weight:700;color:#94a3b8}.nav-menu{display:flex;flex-direction:column;gap:.4rem;margin-top:1.5rem}.nav-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:none;background:transparent;border-radius:12px;color:#64748b;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.nav-menu button:hover{background:#f1f5f9;color:var(--primary)}.nav-menu button.active{background:#eff6ff;color:var(--primary);font-weight:700}.sidebar-logout{margin-top:1.2rem;width:100%;border:1px solid #fecaca;background:#fff;color:#dc2626;border-radius:12px;padding:12px 14px;display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer;transition:all .2s ease}.sidebar-logout:hover{background:#fef2f2;border-color:#ef4444}@media (max-width: 768px){.sidebar{width:100%;min-width:100%;height:auto;border-right:none;border-bottom:1px solid #e2e8f0;padding:1rem}.nav-menu{gap:.35rem}.nav-menu button{padding:11px 12px;font-size:.9rem}.sidebar-logout{margin-top:1rem}}.admin-main,.orador-main{flex:1;padding:0rem 3rem;background:#f8fafc;width:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden}.content-header{margin-bottom:1.4rem}.content-header.with-refresh{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:start}.btn-manual-refresh{margin-top:0;display:inline-flex;align-items:center;gap:8px;width:fit-content;grid-column:2;grid-row:1 / span 2;justify-self:end;align-self:start;border:1px solid #cbd5e1;background:#fff;color:#334155;padding:8px 12px;border-radius:10px;cursor:pointer;font-weight:600;transition:background-color .2s,border-color .2s,color .2s}.content-header.with-refresh .btn-manual-refresh{grid-column:2;grid-row:1 / span 2;justify-self:end;align-self:start}.btn-manual-refresh:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8;color:#0f172a}.btn-manual-refresh:disabled{opacity:.6;cursor:not-allowed}.mobile-header-menu{display:none;background:none;border:none;color:var(--primary);cursor:pointer;padding:8px 12px;border-radius:6px;transition:.2s;position:fixed;top:16px;right:16px;z-index:500}.mobile-header-menu:hover{background:#0066cc1a}@media (max-width: 768px){.mobile-header-menu{display:flex;align-items:center;justify-content:center}.content-header{display:flex;flex-direction:column;gap:12px;margin-bottom:1rem;margin-top:0}.content-header h1{font-size:1.8rem;margin:0}.panel-subtitle{font-size:.9rem;margin:0}.content-header.with-refresh .btn-manual-refresh{margin-top:0;align-self:flex-end}}.dashboard-tabs-bar{background:#fff;border-radius:14px}.dashboard-tabs-bar .tabs-left{flex-wrap:wrap;overflow-x:visible;overflow-y:visible;padding-bottom:0}.dashboard-tabs-bar button{white-space:normal;flex:initial}.dashboard-tabs-bar button.btn-unclassified{background:#f8fafc;color:#6b7280;border:2px dashed #cbd5f5}.dashboard-tabs-bar button.btn-unclassified.active{background:#f8fafc;color:#475569;border:2px dashed #cbd5f5;box-shadow:inset 0 0 0 1px #cbd5f5}@media (max-width: 768px){.dashboard-tabs-bar{display:flex;flex-direction:column;gap:1rem;align-items:flex-end}.dashboard-tabs-bar .tabs-left{order:1}.dashboard-tabs-bar .questions-summary-badges{order:2;margin-top:.5rem}}.tab-live-label{display:inline-flex;align-items:center;gap:8px}.tab-live-dot{width:7px;height:7px;border-radius:50%;background:#ef4444;box-shadow:0 0 #ef444473;animation:tabLiveDotPulse 1.5s infinite}@keyframes tabLiveDotPulse{0%{box-shadow:0 0 #ef444473}70%{box-shadow:0 0 0 8px #ef444400}to{box-shadow:0 0 #ef444400}}.questions-summary-badge.direct{background:#dbeafe;color:#1d4ed8}.dashboard-cards-container{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding-right:8px}.dashboard-cards-container::-webkit-scrollbar{width:8px}.dashboard-cards-container::-webkit-scrollbar-track{background:transparent}.dashboard-cards-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.dashboard-cards-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.questions-masonry-grid{display:flex;margin-left:-1.5rem;width:auto}.questions-masonry-column{padding-left:1.5rem;background-clip:padding-box}.questions-masonry-column>.q-card{margin-bottom:1.5rem}.q-card{background:#fff;border-radius:14px;padding:1.2rem;border:1px dashed #dbeafe;box-shadow:0 2px 6px #0000000a;display:flex;flex-direction:column;align-self:start;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,opacity .2s ease;animation:cardEnter .35s ease}.time-tag{font-size:.7rem;color:#94a3b8;display:flex;align-items:center;gap:4px}.q-text{font-size:.95rem;color:#334155;margin:8px 0 12px;line-height:1.38;min-height:0;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.category-pill{padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600}.done-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.btn-respond{border:1px solid #93c5fd;background:#eff6ff;color:#1d4ed8;padding:7px 12px;border-radius:9px;cursor:pointer;font-size:.8rem;font-weight:600}.btn-respond:hover{background:#dbeafe;border-color:#60a5fa}.q-card:hover{border:1px solid #93c5fd;transform:translateY(-2px);box-shadow:0 10px 24px #1e40af14}.q-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.moderator-origin-tag{background:#fef3c7;color:#92400e;border:1px solid #f59e0b}.q-card-header-actions{display:inline-flex;align-items:center;gap:8px}.btn-participant-info{width:28px;height:28px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.btn-participant-info:hover{border-color:#93c5fd;color:#1d4ed8;background:#eff6ff}.q-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.moderator-response-preview{margin:0 0 12px;padding:10px;border-radius:10px;background:#f0f9ff;border:1px solid #bae6fd;color:#0f172a;font-size:.85rem;line-height:1.35;text-align:left;width:100%;box-sizing:border-box;cursor:pointer;font-family:inherit;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}.moderator-response-preview:hover{background:#e0f2fe;border-color:#7dd3fc}.assign-actions-bottom{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;max-height:84px;overflow-y:auto;align-content:flex-start;padding-right:4px;scrollbar-width:thin}.btn-category-select{padding:6px 12px;border-radius:20px;border:1px solid;background:transparent;color:var(--cat-color, #334155);font-size:.75rem;cursor:pointer;transition:.2s;flex:0 0 auto;white-space:nowrap}.btn-category-select:hover{background:#94a3b824;color:var(--cat-color, #334155)}.no-categories{font-size:.8rem;color:#94a3b8;font-style:italic}.q-card-todos{border:1px dashed #dbeafe;box-shadow:0 2px 6px #0000000a;padding:1.1rem;border-radius:14px;background:#fff;opacity:1}.q-card-unclassified{border:2px dashed #cbd5f5}.status-pill{font-size:.7rem;padding:4px 10px;border-radius:20px;font-weight:600}.status-pill.no-category{background:#e5e7eb;color:#6b7280}.q-card-todos .q-text{font-size:1rem;margin-top:6px}.q-card-todos .time-tag{margin-top:10px}.q-card-categorized{animation:categoryPulse .6s ease}.q-card.q-card-archiving{animation:archiveOut .42s ease forwards!important;pointer-events:none}@keyframes categoryPulse{0%{transform:scale(1);box-shadow:0 0 #06c0}35%{transform:scale(1.015);box-shadow:0 10px 24px #06c3}to{transform:scale(1);box-shadow:0 0 #06c0}}@keyframes archiveOut{0%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}to{opacity:0;transform:translateY(14px) scale(.95);filter:blur(1.5px)}}.q-card-footer{margin-top:8px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px}.q-card-footer-assign{flex-direction:column;align-items:stretch;gap:8px}.q-card-footer-assign .done-actions{justify-content:flex-end}.q-card-footer-recategorize{flex-direction:column;align-items:stretch;gap:8px}.q-card-footer-recategorize .done-actions{justify-content:flex-end}.q-card-footer-recategorize .recategorize-section{align-items:flex-start}.recategorize-section{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.btn-recategorize-toggle{border:1px solid #cbd5e1;background:#fff;color:#475569;padding:6px 10px;border-radius:8px;width:fit-content;max-width:100%;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;transition:transform .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,background-color .2s ease}.btn-recategorize-toggle:hover{border-color:#93c5fd;color:#1d4ed8}.btn-recategorize-toggle:active{transform:translateY(1px) scale(.98)}.btn-recategorize-toggle.is-open{border-color:#60a5fa;color:#1d4ed8;background:#eff6ff;box-shadow:0 6px 16px #3b82f62e}.btn-recategorize-toggle .recat-icon{transition:transform .32s ease}.btn-recategorize-toggle.is-open .recat-icon{transform:rotate(180deg)}.recategorize-options{display:flex;flex-wrap:wrap;gap:10px;overflow:visible;max-height:none;padding:2px 0;scrollbar-width:thin;animation:recategorizeIn .28s cubic-bezier(.2,.7,.2,1);transform-origin:top left}.recategorize-options .btn-category-select{min-width:max-content;background:#fff;border-width:1px;border-style:solid;border-radius:999px;padding:7px 12px;justify-content:center;overflow:visible;text-overflow:clip;box-shadow:0 1px 2px #0f172a0f}.recategorize-options .btn-category-select:hover{transform:translateY(-1px);box-shadow:0 6px 14px #3b82f629}.recategorize-options .btn-remove-category{border-color:#fda4af;color:#be123c;background:#fff1f2;border-style:dashed;font-weight:700}.recategorize-options .btn-remove-category:hover{border-color:#fb7185;color:#9f1239;background:#ffe4e6;box-shadow:0 6px 14px #e11d4833}@keyframes recategorizeIn{0%{opacity:0;transform:translateY(-6px) scale(.97);filter:blur(.8px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.btn-archive{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;padding:7px 12px;border-radius:9px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600}.btn-archive:hover{border-color:#94a3b8;background:#eef2ff}.btn-archive:disabled{opacity:.65;cursor:not-allowed}.floating-create-question-btn{position:fixed;right:2rem;bottom:2rem;border:none;border-radius:999px;background:#1d4ed8;color:#fff;font-weight:700;font-size:.95rem;padding:.9rem 1.3rem;box-shadow:0 14px 28px #1d4ed84d;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;z-index:25}.floating-create-question-btn:hover{transform:translateY(-2px);background:#1e40af;box-shadow:0 18px 30px #1e40af59}.floating-create-question-btn:active{transform:translateY(0)}.create-question-modal{width:min(640px,100%);max-height:88vh;background:#fff;border-radius:12px;border:1px solid #dbe1ec;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 60px #0f172a40;animation:modalEnter .2s ease}.create-question-modal-body{padding:1.5rem;flex:1;min-height:0;overflow-y:auto}.create-question-input-wrap{width:92%;background:#f4f4f5;border:1px solid #e5e7eb;border-radius:14px;padding:.75rem;margin:0 auto}.create-question-input-wrap textarea{width:100%;border:none;background:transparent;resize:none;min-height:76px;max-height:120px;font-size:.95rem;line-height:1.4;color:#111827;overflow-y:auto}.create-question-input-wrap .response-display-text{width:100%;min-height:76px;font-size:.95rem;color:#111827;word-wrap:break-word;white-space:pre-wrap;line-height:1.4}.create-question-categories{margin-top:.85rem}.create-question-optional-toggle{border:1px dashed #93c5fd;background:#eff6ff;color:#1d4ed8;border-radius:10px;padding:10px 12px;width:100%;text-align:left;font-size:.85rem;font-weight:700;cursor:pointer}.create-question-optional-toggle.is-open{border-style:solid;background:#dbeafe}.create-question-optional-wrap{margin-top:10px}.create-question-optional-email-wrap{display:flex;flex-direction:column;gap:8px}.create-question-optional-email-wrap label{font-size:.8rem;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.05em}.create-question-optional-email-wrap input{width:95%;border:1px solid #d1d5db;background:#fff;border-radius:10px;height:42px;padding:0 12px;font-size:.95rem;color:#111827}.create-question-optional-email-wrap input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.create-question-categories p{margin:0 0 10px;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#6b7280}.create-question-categories-list{display:flex;gap:10px;flex-wrap:wrap}.create-question-category-pill{border-radius:999px;border:1px solid;background:transparent;padding:8px 14px;font-size:.94rem;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.create-question-category-pill:hover{transform:translateY(-1px);box-shadow:0 8px 16px #0f172a14}.create-question-category-pill.is-active{box-shadow:0 10px 20px #0f172a24}.create-question-modal-body .error-message,.create-question-modal-body .success-message{border-radius:8px;padding:12px 14px;margin-bottom:16px;font-size:.95rem;line-height:1.4}.create-question-modal-body .error-message{background:#fee2e2;border:1px solid #fca5a5;color:#b91c1c}.create-question-modal-body .success-message{background:#ecfdf5;border:1px solid #86efac;color:#166534}.create-question-input-wrap .char-counter{text-align:right;color:#6b7280;margin-top:8px;font-size:.8rem}.participant-info-modal{width:min(560px,100%)}.participant-info-body{display:flex;flex-direction:column;gap:0}.participant-info-panel{margin:0;border:1px solid #dbe1ec;background:#f8fafc;border-radius:10px;padding:12px;color:#1f2937;line-height:1.45}.participant-info-panel p{margin:0;color:#0f172a;font-size:.94rem;line-height:1.5;overflow-wrap:anywhere}.participant-info-panel p+p{margin-top:8px}.participant-info-label-question{color:#1d4ed8}.participant-info-label-response{color:#0f766e}.admin-menu-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:999}.admin-menu-backdrop.active{display:block}.admin-menu-modal{display:none;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fffffff2;border-radius:14px;box-shadow:0 10px 40px #0003;z-index:1000;animation:scaleIn .3s ease;max-height:70vh;max-width:90vw;width:320px;overflow-y:auto;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.admin-menu-modal.active{display:flex;flex-direction:column}.admin-menu-header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border-color);flex-shrink:0}.admin-menu-header h3{margin:0;font-size:1.1rem;color:var(--primary)}.admin-menu-close{background:none;border:none;cursor:pointer;color:#94a3b8;padding:4px;line-height:1;transition:.2s}.admin-menu-close:hover{color:var(--primary)}.admin-menu-nav{display:flex;flex-direction:column;gap:0;padding:8px}.admin-menu-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border:none;background:none;border-radius:8px;color:#64748b;cursor:pointer;font-size:.9rem;font-weight:500;transition:.2s;text-align:left}.admin-menu-item:hover{background:#f0f4f8;color:var(--primary)}.admin-menu-item.active{background:#eff6ff;color:var(--primary);font-weight:600}@keyframes scaleIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@media (max-width: 900px){.admin-main{padding:1.4rem}.floating-create-question-btn{right:1rem;bottom:1rem}.create-question-modal-header h2{font-size:1.4rem}}@media (max-width: 768px){.admin-main{padding:1rem}}.btn-recategorize{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:10px;padding:.55rem .9rem;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-recategorize:hover{background:#f8fafc}.btn-recategorize.active{background:#eff6ff;border-color:#3b82f6;color:#2563eb}.btn-recategorize-icon{width:30px;height:30px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.btn-recategorize-icon:hover{background:#f8fafc;color:var(--primary);border-color:#cbd5e1}.btn-recategorize-icon.active{background:#eff6ff;color:var(--primary);border-color:#93c5fd}.settings-container{padding:2rem 0}.settings-header{margin-bottom:2rem}.settings-header h1{margin:0;font-size:2.7rem;color:#0f172a;line-height:1.1}.settings-header p{margin-top:10px;color:#6b7280;font-size:1rem}.settings-grid{display:block}.settings-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.5rem;box-shadow:0 10px 30px #0f172a0d}.settings-card-header{display:flex;align-items:center;gap:14px;margin-bottom:1.5rem}.settings-icon{width:42px;height:42px;border-radius:12px;background:#eff6ff;color:#2563eb;display:flex;align-items:center;justify-content:center}.settings-card-header h2{margin:0;font-size:1.1rem;color:#0f172a}.settings-card-header span{color:#64748b;font-size:.88rem}.settings-form-group{margin-bottom:1.4rem}.settings-form-group label{display:block;margin-bottom:8px;font-size:.72rem;font-weight:700;color:#94a3b8;letter-spacing:.05em}.settings-form-group input,.settings-form-group textarea{width:95%;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px;font-size:.95rem;transition:.2s;resize:vertical}.settings-form-group input:focus,.settings-form-group textarea:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f626}.settings-preview{margin-top:1rem}.preview-label{display:inline-block;margin-bottom:10px;color:#64748b;font-size:.82rem;font-weight:600}.preview-box{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:14px;padding:1.4rem}.preview-box h2{margin:0;color:#0f172a;font-size:1.8rem}.preview-box p{margin-top:10px;color:#64748b;line-height:1.5}.btn-save-settings{margin-top:1.5rem;border:none;background:#06c;color:#fff;padding:12px 18px;border-radius:12px;font-weight:700;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:.2s}.btn-save-settings:hover{background:#05a;transform:translateY(-1px)}.settings-success{margin-top:1rem;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;padding:12px;border-radius:12px;font-size:.9rem}@media (max-width: 1024px){.settings-grid{grid-template-columns:1fr}}@media (max-width: 768px){.settings-header h1{font-size:2rem}.settings-card{padding:1.2rem}}.mobile-page-container{min-height:100vh;background-color:#fcfcfc;display:flex;flex-direction:column;align-items:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:18px 16px 28px;justify-content:flex-start;overflow-x:hidden}.mobile-page-container,.mobile-page-container *{box-sizing:border-box}.brand-header{width:100%;max-width:450px;padding:25px 0;color:#005bb5;font-weight:700;font-size:18px;text-align:left}.main-content{width:100%;max-width:450px;margin-top:6px;display:flex;flex-direction:column;gap:20px}.intro-text{text-align:center;margin-bottom:4px}.title{font-size:32px;font-weight:800;color:#000;margin-bottom:12px;letter-spacing:-.5px}.description{font-size:16px;color:#4a4a4a;line-height:1.4}.form-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 8px 30px #0000000a}.form-card>*+*{margin-top:18px}.fields-grid{display:grid;gap:14px;margin-top:0;margin-bottom:0}.field-block{display:flex;flex-direction:column;gap:8px}.field-block label,.input-group label{font-size:13px;font-weight:700;color:#2f2f2f;letter-spacing:.2px}.field-block input,.field-block select{width:100%;border:1px solid #d8e0ea;border-radius:10px;height:46px;padding:0 12px;font-size:15px;color:#1f2933;background:#f8fafc;outline:none;transition:border-color .2s ease}.field-block input:focus,.field-block select:focus{border-color:#06c}.field-block select:disabled{cursor:not-allowed;opacity:.75}.canton-hint{font-size:12px;color:#6b7280}.canton-hint.success{color:#166534;font-weight:600}.required-asterisk{color:#c71f37;margin-left:2px}.status-message{display:flex;align-items:center;gap:8px;border-radius:12px;padding:12px 14px;margin-top:14px;font-size:14px;font-weight:600;border:1px solid transparent;animation:feedbackIn .35s ease}.status-message.success{background:linear-gradient(135deg,#dcfce7,#ecfdf5);color:#166534;border-color:#86efac}.status-message.error{background:#fff1f2;color:#9f1239;border-color:#fecdd3}.status-message.is-closing{animation:feedbackOut .35s ease forwards}@keyframes feedbackIn{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes feedbackOut{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-8px) scale(.98)}}.input-group{background-color:#f3f3f3;border-radius:12px;padding:18px;position:relative;margin:0}.input-group textarea{width:100%;height:150px;background:transparent;border:none;outline:none;resize:none;font-size:18px;color:#222;margin-top:8px}.char-counter{text-align:right;font-size:13px;color:#8e8e8e;margin-top:8px}.moderation-notice{display:flex;align-items:center;gap:10px;margin:0;color:#666;font-size:14px}.info-icon-wrapper{width:28px;height:28px;border-radius:999px;background:#0066cc1f;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.privacy-notice-trigger{border:0;background:transparent;color:#06c;font-size:13px;font-weight:700;padding:0;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.privacy-consent-text{margin:-2px 0 0 38px;color:#5f6b7a;font-size:13px;line-height:1.45}.privacy-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#080f1a94;display:flex;align-items:center;justify-content:center;padding:20px;z-index:50}.privacy-modal{width:min(100%,420px);max-height:min(76vh,620px);background:#fff;border-radius:18px;box-shadow:0 24px 64px #00000047;overflow:hidden;display:flex;flex-direction:column}.privacy-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 14px;border-bottom:1px solid #e8edf3}.privacy-modal-header h2{margin:0;font-size:17px;line-height:1.25;color:#132033}.privacy-modal-close{border:0;background:#f1f5f9;color:#334155;width:32px;height:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.privacy-modal-body{padding:16px 18px 18px;overflow:auto}.privacy-modal-body p{margin:0;color:#334155;font-size:14px;line-height:1.6;white-space:pre-wrap}.privacy-notice-list{margin:0;padding-left:18px;color:#334155;font-size:14px;line-height:1.6}.privacy-notice-list li+li{margin-top:10px}.privacy-notice-link{color:#06c;font-weight:700;text-decoration:underline;text-underline-offset:2px;word-break:break-word}.privacy-notice-link:hover{color:#004c99}.submit-button{width:100%;background-color:#06c;color:#fff;border:none;padding:16px;border-radius:12px;font-size:17px;font-weight:600;display:flex;justify-content:center;align-items:center;gap:8px;cursor:pointer}@media (min-width: 768px){.mobile-page-container{background-color:#f0f2f5;justify-content:center;padding:32px 24px}.brand-header{position:absolute;top:20px;left:40px}.main-content{background:#fff;padding:48px 52px;border-radius:30px;box-shadow:0 20px 40px #0000001a;max-width:860px;margin-top:0;gap:26px}.form-card{box-shadow:none;padding:0}.fields-grid{grid-template-columns:1fr 1fr;column-gap:18px;row-gap:16px}.field-block.full-width{grid-column:1 / -1}.input-group textarea{height:185px}.privacy-modal{width:min(100%,460px)}}.spinner{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.admin-layout{display:flex;min-height:100vh;background-color:#f8fafc;font-family:Inter,sans-serif}.sidebar{width:260px;background:#fff;border-right:1px solid #e2e8f0;padding:2rem 1.5rem}.brand h2{font-size:1.2rem;color:#06c;margin:0}.nav-menu button.active{background:#eff6ff;color:#06c;font-weight:600}.admin-main{flex:1;padding:0rem 3rem;background:#f8fafc;width:100%}.categories-container{display:grid;grid-template-columns:1fr 360px;gap:2rem;align-items:start}.section-header h2{font-size:2.7rem;line-height:1.1;color:#0f172a;margin:0}.section-header p{color:#6b7280;margin:10px 0 1.6rem;font-size:1rem}.stats-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:1.2rem;color:#1e293b;font-weight:700}.category-inline-error{margin:0 0 1rem;padding:10px 12px;border-radius:10px;border:1px solid #fecdd3;background:#fff1f2;color:#9f1239;font-size:.9rem}.badge-count{background:#dbeafe;color:#2563eb;border:1px solid #bfdbfe;padding:5px 10px;border-radius:999px;font-size:.75rem;letter-spacing:.02em}.grid-list{display:flex;flex-direction:column;gap:.9rem}.category-item-card{background:#fff;padding:1rem 1.1rem;border-radius:14px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e2e8f0;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;animation:categoryEnter .28s ease}.category-item-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 8px 18px #1e40af14}.cat-info{display:flex;align-items:center;gap:.9rem;min-width:0;flex:1}.cat-actions{display:inline-flex;align-items:center;gap:8px;margin-left:12px;flex:0 0 auto}.cat-color-badge{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;border:1px solid;flex:0 0 auto;font-size:1rem;font-weight:800;letter-spacing:.02em}.cat-info h3{font-size:1rem;margin:0;color:#1e293b;line-height:1.2}.cat-info span{font-size:.82rem;color:#94a3b8}.btn-delete-cat{width:36px;height:36px;border-radius:10px;border:1px solid #fecaca;background:#fff;color:#f87171;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.cat-info+.btn-edit-cat,.btn-edit-cat{width:36px;height:36px;border-radius:10px;border:1px solid #bfdbfe;background:#fff;color:#2563eb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.btn-edit-cat:hover{color:#1d4ed8;border-color:#60a5fa;background:#eff6ff;transform:translateY(-1px)}.btn-delete-cat:hover{color:#dc2626;border-color:#ef4444;background:#fee2e2;transform:translateY(-1px)}.empty-placeholder{border:2px dashed #cbd5e1;border-radius:14px;padding:2.4rem 1rem;text-align:center;color:#94a3b8;background:#fff}.category-form-aside{position:sticky;top:2rem}.category-form-aside,.category-form-aside *{box-sizing:border-box}.form-sticky-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 12px 28px #0f172a12;padding:1.4rem}.form-sticky-card h3{margin:0 0 1.1rem;font-size:1.12rem;color:#0f172a}.form-editing-label{margin:-.3rem 0 1rem;color:#1d4ed8;font-size:.83rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:8px 10px}.input-group label,.selection-group label{display:block;font-size:.7rem;font-weight:700;letter-spacing:.05em;color:#94a3b8;margin-bottom:8px;text-transform:uppercase}.input-group input{display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:1.2rem;transition:border-color .2s ease,box-shadow .2s ease}.input-group input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f62e}.color-preview-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 .9rem}.color-preview-label{font-size:.78rem;color:#64748b;font-weight:600}.color-preview-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:700;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-manual-row{display:grid;grid-template-columns:56px 1fr;gap:10px;margin-bottom:1.4rem}.color-preset-row{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin-bottom:.9rem}.color-dot-btn{width:100%;height:24px;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.color-dot-btn:hover{transform:translateY(-1px)}.color-dot-btn.active{border-color:#0f172a;box-shadow:0 0 0 2px #dbeafe}.color-manual-row input[type=color]{width:56px;height:44px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;padding:4px;cursor:pointer}.color-manual-row input[type=text]{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;font-size:.9rem}.color-manual-row input[type=text]:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f62e}.btn-create-main{width:100%;padding:12px;background:#06c;color:#fff;border:none;border-radius:10px;font-weight:700;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}.btn-create-main:hover{background:#005bb4;transform:translateY(-1px);box-shadow:0 10px 20px #0066cc40}.btn-cancel-edit{width:100%;margin-top:8px;padding:10px;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:10px;cursor:pointer;font-weight:600}.btn-cancel-edit:hover{background:#f8fafc}.form-info-footer{margin-top:1rem;display:flex;align-items:flex-start;gap:8px;color:#94a3b8;font-size:.75rem;line-height:1.4}.confirm-modal{width:100%;max-width:430px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 20px 50px #0f172a40;padding:1.2rem}@keyframes categoryEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1100px){.admin-layout{flex-direction:column}.sidebar{width:100%;border-right:none;border-bottom:1px solid #e2e8f0;padding:1rem;display:flex;align-items:center;gap:2rem}.brand{flex:0 0 auto}.nav-menu{margin-top:0;flex-direction:row;gap:.5rem}.admin-main{padding:1.5rem}.categories-container{grid-template-columns:1fr}.category-form-aside{position:static}}:root{--bg-main: #ffffff;--bg-sidebar: #ffffff;--primary: #0066cc;--text-main: #1e293b;--border-color: #e2e8f0}.admin-layout{display:flex;min-height:100dvh;background-color:var(--bg-main);font-family:Inter,sans-serif;overflow:visible}.sidebar{width:260px;background:var(--bg-sidebar);border-right:1px solid var(--border-color);padding:2rem 1.5rem;flex-shrink:0;overflow-y:auto;max-height:100dvh}.brand h2{font-size:1.2rem;color:var(--primary);margin:0}.brand span{font-size:.7rem;font-weight:700;color:#94a3b8}.nav-menu{margin-top:2rem;display:flex;flex-direction:column;gap:.5rem}.nav-menu button{display:flex;align-items:center;gap:10px;padding:12px;border:none;background:none;border-radius:8px;color:#64748b;cursor:pointer;transition:.3s}.nav-menu button.active{background:#eff6ff;color:var(--primary);font-weight:600}.admin-main{flex:1;padding:0rem 3rem;background:#fff;width:100%;display:flex;flex-direction:column;min-height:100dvh;overflow:visible}.content-header{background:#fff;border-radius:14px;padding:1rem 1.2rem;box-shadow:none;margin-bottom:1.4rem}.content-header h1{margin:0;font-size:2.7rem;line-height:1.1;color:#0f172a}.panel-subtitle{margin:10px 0 0;color:#6b7280;font-size:1.05rem;line-height:1.45}.api-error{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:1rem;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;padding:10px 14px;border-radius:10px}.api-error button{border:1px solid #fb7185;background:#fff;color:#9f1239;padding:6px 10px;border-radius:8px;cursor:pointer}.api-error button:hover{background:#ffe4e6}.tabs-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:2rem;border-bottom:1px solid var(--border-color);padding-bottom:10px}.history-tabs-bar{background:#fff;border-radius:14px}.history-tabs-bar .tabs-left{flex-wrap:wrap;overflow-x:visible;overflow-y:visible;padding-bottom:0}.history-tabs-bar button{white-space:normal;flex:initial}.history-tabs-bar button.btn-unclassified{background:#f8fafc;color:#6b7280;border:2px dashed #cbd5f5}.history-tabs-bar button.btn-unclassified.active{background:#f8fafc;color:#475569;border:2px dashed #cbd5f5;box-shadow:inset 0 0 0 1px #cbd5f5}@media (max-width: 768px){.history-tabs-bar{display:flex;flex-direction:column;gap:1rem;align-items:flex-end}.history-tabs-bar .tabs-left{order:1}.history-tabs-bar .questions-summary-badges{order:2;margin-top:.5rem}}.tabs-left{display:flex;flex-wrap:nowrap;gap:10px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;scrollbar-width:thin}@media (max-width: 768px){.tabs-left{order:1}}.tabs-bar button{padding:8px 16px;border:none;background:#fff;border-radius:20px;cursor:pointer;color:#64748b;border:1px solid var(--border-color);white-space:nowrap;flex:0 0 auto}.tabs-bar button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.questions-summary-badges{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0}.questions-summary-badge{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:#e5e7eb;color:#4b5563;font-size:.95rem;font-weight:700;line-height:1}.questions-summary-badge.unclassified{background:#fee2e2;color:#b91c1c}.questions-summary-badge.category{border:1px solid #cbd5e1}.history-cards-container{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding-right:8px;padding-bottom:10px}.history-cards-container::-webkit-scrollbar{width:8px}.history-cards-container::-webkit-scrollbar-track{background:transparent}.history-cards-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.history-cards-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.history-search-bar{display:none}.history-masonry-grid{display:flex;margin-left:-1.5rem;width:auto}.history-masonry-column{padding-left:1.5rem;background-clip:padding-box}.history-masonry-column>.history-card{margin-bottom:1.5rem}.history-badge{font-size:.7rem;font-weight:700;color:#4b5563;background:#e5e7eb;padding:3px 10px;border-radius:2px;text-transform:uppercase}.empty-placeholder{border:2px dashed #cbd5e1;border-radius:14px;padding:2.4rem 1rem;width:min(100%,520px);min-height:220px;margin:0 auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#94a3b8;background:#fff}.empty-placeholder p{margin:10px 0 0}.history-card{background:#fff;border-radius:16px;padding:1.4rem;border:2px dashed #cbd5f5;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,opacity .2s ease;animation:cardEnter .35s ease}.history-card:hover{border:2px dashed #93c5fd;transform:translateY(-2px);box-shadow:0 8px 24px #0f172a14}.history-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.history-meta{display:flex;flex-direction:column;gap:4px}.origin-tag{display:inline-flex;align-items:center;width:fit-content;padding:4px 10px;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.history-origin-tag{background:#fef3c7;color:#92400e;border:1px solid #f59e0b}.history-card-text{font-size:.95rem;color:#334155;margin:12px 0 18px;line-height:1.4}.moderator-response-preview{margin:0 0 14px;padding:10px;border-radius:10px;border:1px solid #dbe8f7;background:#f8fbff;color:#0f172a;font-size:.85rem;line-height:1.35;text-align:left;width:100%;cursor:pointer;font-family:inherit;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:2;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.moderator-response-preview:hover{background:#f1f6fd;border-color:#b9d1ed}.moderator-response-preview:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.history-card-footer{display:flex;gap:8px;flex-direction:row-reverse}.btn-history-respond{display:flex;align-items:center;gap:6px;border:1px solid #93c5fd;background:#eff6ff;color:#1d4ed8;padding:7px 12px;border-radius:9px;cursor:pointer;font-size:.8rem;font-weight:600}.btn-history-respond:hover{background:#dbeafe;border-color:#60a5fa}.btn-delete-question{display:flex;align-items:center;gap:6px;background:#fff;color:#b91c1c;border:1px solid #fca5a5;padding:7px 14px;border-radius:10px;font-size:.8rem;cursor:pointer;transition:.2s}.btn-delete-question:hover{background:#fee2e2;border-color:#ef4444}.confirm-warning{margin:12px 0 0;color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:10px 12px;font-size:.9rem}.create-question-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:40}.create-question-modal{width:min(640px,100%);background:#fff;border-radius:12px;border:1px solid #dbe1ec;overflow:hidden;box-shadow:0 30px 60px #0f172a40;animation:modalEnter .2s ease}@keyframes modalEnter{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.create-question-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.2rem 1.5rem;border-bottom:1px solid #e2e8f0}.create-question-modal-header h2{margin:0;font-size:1.75rem;color:#1f2937}.create-question-modal-close{border:none;background:transparent;font-size:1.7rem;line-height:1;color:#6b7280;cursor:pointer}.create-question-modal-close:disabled{cursor:not-allowed;opacity:.55}.create-question-modal-body{padding:1.5rem}.question-modal-original{margin:0 0 12px;padding:12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#1f2937;line-height:1.4}.create-question-feedback{padding:10px 12px;border-radius:10px;font-size:.9rem;margin-bottom:12px}.create-question-feedback.error{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}.create-question-feedback.success{background:#ecfdf5;border:1px solid #86efac;color:#166534}.create-question-input-wrap{background:#f4f4f5;border:1px solid #e5e7eb;border-radius:14px;padding:1rem}.create-question-input-wrap textarea{width:100%;border:none;background:transparent;resize:none;min-height:120px;font-size:1.15rem;color:#111827}.create-question-input-wrap textarea:focus{outline:none}.create-question-char-counter{margin-top:8px;text-align:right;font-size:.8rem;color:#6b7280}.create-question-modal-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e2e8f0;padding:1rem 1.5rem}.btn-create-question-cancel,.btn-create-question-save,.btn-create-question-delete{border-radius:10px;border:1px solid;font-weight:700;padding:10px 16px;font-size:.95rem;cursor:pointer}.btn-create-question-cancel{border-color:#d1d5db;background:#fff;color:#374151}.btn-create-question-save{border-color:#1d4ed8;background:#1d4ed8;color:#fff}.btn-create-question-delete{margin-right:auto;border-color:#fca5a5;background:#fff1f2;color:#be123c}.btn-create-question-save:disabled,.btn-create-question-cancel:disabled,.btn-create-question-delete:disabled{opacity:.6;cursor:not-allowed}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:999}.confirm-modal{width:100%;max-width:420px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 20px 50px #0f172a40;padding:1.2rem}.confirm-modal h3{margin:0;font-size:1.05rem;color:#0f172a}.confirm-modal p{margin:.7rem 0 0;color:#475569;line-height:1.4}.confirm-modal-actions{margin-top:1rem;display:flex;justify-content:flex-end;gap:8px}.btn-confirm-cancel,.btn-confirm-delete{border-radius:8px;padding:8px 12px;font-size:.85rem;font-weight:600;cursor:pointer;border:1px solid transparent}.btn-confirm-cancel{background:#f8fafc;color:#334155;border-color:#cbd5e1}.btn-confirm-cancel:hover{background:#f1f5f9}.btn-confirm-delete{background:#dc2626;color:#fff}.btn-confirm-delete:hover{background:#b91c1c}.btn-restore-green{display:flex;align-items:center;gap:6px;background:#3b82f6;color:#fff;border:none;padding:7px 14px;border-radius:10px;font-size:.8rem;cursor:pointer;transition:.2s}.btn-restore-green:hover{background:#16a34a;transform:scale(1.03)}.anon-tag{font-size:.7rem;font-weight:700;color:#3b82f6;background:#eff6ff;padding:2px 8px;border-radius:4px}.history-time{font-size:.7rem;color:#94a3b8;display:flex;align-items:center;gap:4px}.category-pill{padding:4px 12px;border-radius:20px;font-size:.7rem;font-weight:600}.history-status-unclassified{padding:4px 10px;border-radius:20px;font-size:.7rem;font-weight:700;color:#64748b;background:#f1f5f9;border:1px dashed #cbd5e1}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes cardEnter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media (max-width: 1200px){.history-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 1100px){.admin-layout{flex-direction:column}.sidebar{width:100%;border-right:none;border-bottom:1px solid var(--border-color);padding:1rem;display:flex;align-items:center;gap:2rem}.brand{flex:0 0 auto}.nav-menu{margin-top:0;flex-direction:row;flex-wrap:nowrap;gap:.5rem;overflow-x:auto;width:100%}.admin-main{padding:1.5rem}.history-grid{grid-template-columns:1fr}.history-search-bar{width:100%}.create-question-modal-header h2{font-size:1.4rem}}.qr-container{min-height:100vh;background:linear-gradient(180deg,#f2f5f9,#e7edf5);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;padding:32px 16px;width:100%;box-sizing:border-box;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.qr-title{font-size:36px;font-weight:700;color:#1f2937}.qr-title span{color:#2563eb}.qr-card{background:#f8fafc;padding:40px;border-radius:24px;box-shadow:0 25px 60px #00000014;display:flex;flex-direction:column;align-items:center;width:min(370px,100%);box-sizing:border-box}.qr-inner{background:#e5e7eb8a;padding:30px;border-radius:16px;width:100%;box-sizing:border-box}.qr-box{width:min(300px,100%);aspect-ratio:1 / 1}.qr-box canvas{width:100%!important;height:100%!important;display:block}.qr-steps{display:flex;gap:60px;flex-wrap:wrap;justify-content:center;width:100%;max-width:900px}.qr-step{width:220px}.icon-box{width:40px;height:40px;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;color:#2563eb}.qr-step h3{font-size:15px;margin:8px 0;color:#111827}.qr-step p{font-size:13px;color:#6b7280}.qr-badge{margin-top:20px;display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#e0edff,#dbeafe);color:#1d4ed8;padding:8px 16px;border-radius:999px;font-size:12px;font-weight:600;box-shadow:0 4px 10px #2563eb26}.live-dot{width:6px;height:6px;background:#eb2525;border-radius:50%;animation:pulse 1.5s infinite}@keyframes pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(2);opacity:0}to{opacity:0}}@media (max-width: 900px){.qr-steps{gap:28px}.qr-step{width:min(260px,100%)}}@media (max-width: 640px){.qr-container{justify-content:flex-start;gap:20px;padding:18px 12px 32px}.qr-title{font-size:28px;line-height:1.2}.qr-card{width:100%;max-width:360px;padding:18px;border-radius:18px;margin-top:-2px}.qr-inner{width:100%;padding:14px}.qr-box{margin:0 auto;width:min(250px,100%)}.qr-badge{margin-top:14px;padding:7px 12px;font-size:11px}.qr-steps{gap:16px}.qr-step{width:100%;max-width:330px}}.qa-main .q-card{padding:2rem;min-height:320px}.qa-main .origin-tag{display:inline-flex;align-items:center;width:fit-content;padding:4px 10px;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.qa-main .qa-origin-tag{margin-bottom:8px;background:#fef3c7;color:#92400e;border:1px solid #f59e0b}.qa-main .q-text{font-size:1.1rem;margin:8px 0 16px;line-height:1.5;display:block;white-space:normal;word-wrap:break-word;flex-grow:1}.qa-main .qa-response-block{margin-top:16px;border-top:1px dashed #dbeafe;padding-top:16px;flex-grow:1}.qa-main .qa-response-trigger{width:100%;border:none;background:transparent;text-align:left;cursor:pointer;border-radius:10px;transition:background-color .2s ease;display:flex;flex-direction:column}.qa-main .qa-response-trigger:hover{background:#f8fafc}.qa-main .qa-response-trigger:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.qa-main .qa-response-label{margin:0 0 8px;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:700}.qa-main .qa-response-block .moderator-response-preview{margin:0;line-height:1.5;font-size:1rem;color:#1f2937;display:block;min-height:120px;word-wrap:break-word;white-space:normal}@media (max-width: 980px){.qa-tabs-actions{width:100%;justify-content:space-between;margin-left:0}.qa-refresh-wrap{margin-left:0}}.user-manager-shell{display:flex;flex-direction:column;gap:1.5rem;height:100%;min-height:0;overflow:hidden;padding:0 0 1rem}.user-manager-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.user-manager-header h1{margin:0;font-size:2.7rem;line-height:1.05;color:#0f172a}.user-manager-header p{margin-top:10px;color:#64748b;font-size:1rem;line-height:1.5;max-width:700px}.user-manager-stats{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.user-manager-stats span{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:10px 14px;font-size:.85rem;font-weight:600;color:#334155;box-shadow:0 4px 12px #0f172a0a}.user-manager-alert{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;padding:14px 16px;border-radius:14px;font-size:.92rem}.user-manager-grid{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.user-manager-list-card{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:20px;overflow:hidden;padding:1.4rem}.user-manager-card-title{display:flex;align-items:center;gap:10px;margin-bottom:1.2rem;color:#0f172a}.user-manager-card-title h2{margin:0;font-size:1.08rem}.user-manager-empty{border:2px dashed #dbe4f0;border-radius:16px;padding:2rem;text-align:center;color:#64748b;background:#f8fafc}.user-manager-cards{flex:1;overflow-y:auto;display:grid;gap:1rem;padding-right:6px}.user-manager-cards::-webkit-scrollbar{width:8px}.user-manager-cards::-webkit-scrollbar-track{background:transparent}.user-manager-cards::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.user-manager-cards::-webkit-scrollbar-thumb:hover{background:#94a3b8}.user-card{border:1px solid #e2e8f0;border-radius:16px;padding:1rem;background:#fff;height:fit-content;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.user-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 10px 24px #2563eb14}.user-card-top{display:flex;align-items:center;gap:12px}.user-avatar{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;font-weight:800;font-size:1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 8px 18px #2563eb33}.user-info{min-width:0}.user-info h3{margin:0;font-size:.95rem;color:#0f172a;word-break:break-word}.role-badge{margin-top:6px;display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.role-viewer{background:#eff6ff;color:#2563eb}.role-admin{background:#fef3c7;color:#b45309}.role-superadmin{background:#ede9fe;color:#7c3aed}.user-card-categories{margin-top:1rem}.user-card-categories p{margin:0 0 10px;font-size:.75rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.user-tags{display:flex;flex-wrap:wrap;gap:8px}.user-category-pill{padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:600}.user-no-categories{color:#94a3b8;font-size:.82rem}.user-card-actions{margin-top:1rem;display:flex;flex-wrap:wrap;gap:10px}.user-role-select{height:40px;border:1px solid #dbe4f0;border-radius:10px;padding:0 14px;background:#fff;font-size:.9rem;color:#0f172a;min-width:180px;transition:border-color .2s ease,box-shadow .2s ease}.user-role-select:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f626}.btn-manage-categories,.user-delete-btn{height:40px;border-radius:10px;padding:0 14px;font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:.2s ease}.btn-manage-categories{border:1px solid #bfdbfe;background:#fff;color:#2563eb}.btn-manage-categories:hover{background:#eff6ff;border-color:#60a5fa}.user-delete-btn{border:1px solid #fecaca;background:#fff;color:#ef4444}.user-delete-btn:hover{background:#fef2f2;border-color:#ef4444}.user-category-selector{margin-top:1rem;display:flex;flex-wrap:wrap;gap:10px}.user-category-chip{border-radius:999px;padding:8px 12px;background:#f8fafc;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:1px solid #e2e8f0;color:#64748b;opacity:.75}.user-category-chip:hover{opacity:1;border-color:var(--category-color);color:var(--category-color);transform:translateY(-1px)}.user-category-chip.selected{background:color-mix(in srgb,var(--category-color) 12%,white);border-color:var(--category-color);color:var(--category-color);opacity:1;box-shadow:0 4px 12px #0f172a0f}@media (max-width: 768px){.user-manager-header{flex-direction:column}.user-manager-header h1{font-size:2rem}.user-manager-stats{width:100%}.user-card-actions{flex-direction:column}.user-role-select,.btn-manage-categories,.user-delete-btn{width:100%}}.user-manager-cards{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:1rem;padding-right:6px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8fafc;color:#1e293b;font-family:Inter,sans-serif}.login-surface{width:min(1120px,100%);display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:stretch}.login-hero,.login-card{border-radius:16px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 28px #0f172a0f}.login-hero{padding:48px;display:flex;flex-direction:column;justify-content:space-between;gap:28px}.login-badge{width:fit-content;display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;border:1px solid #bfdbfe;color:#1d4ed8;background:#eff6ff;font-size:.85rem;font-weight:600;letter-spacing:.02em}.login-hero h1{margin:0;max-width:14ch;font-size:2.8rem;line-height:1;letter-spacing:-.03em;color:#0f172a}.login-hero p{max-width:58ch;margin:0;color:#475569;font-size:1rem;line-height:1.6}.login-hero-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.login-hero-points div{padding:16px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.login-hero-points strong{display:block;margin-bottom:8px;color:#0f172a;font-size:.95rem}.login-hero-points span{display:block;color:#64748b;font-size:.9rem;line-height:1.5}.login-card{padding:40px;display:flex;flex-direction:column;justify-content:center}.login-card h2{margin:0 0 8px;font-size:1.8rem;color:#0f172a}.login-card p{margin:0 0 24px;color:#64748b;font-size:.95rem}.login-form{display:grid;gap:18px}.login-form label{display:grid;gap:8px;color:#475569;font-weight:600;font-size:.9rem}.login-form label span{display:inline-flex;align-items:center;gap:8px;color:#1e293b}.login-form input{height:48px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#1e293b;padding:0 14px;outline:none;font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.login-form input::placeholder{color:#94a3b8}.login-form input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #eff6ff}.login-error{padding:12px 14px;border-radius:10px;border:1px solid #fecdd3;background:#fff1f2;color:#be123c;font-size:.9rem}.login-submit{height:48px;border:none;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#06c,#0052a3);color:#fff;font-weight:700;letter-spacing:.02em;cursor:pointer;font-size:.95rem;transition:opacity .2s ease,transform .2s ease}.login-submit:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.login-submit:disabled{opacity:.6;cursor:progress}.login-footer{margin-top:20px;text-align:center;border-top:1px solid #e2e8f0;padding-top:16px}.login-footer p{margin:0;color:#64748b;font-size:.9rem}.login-footer a{color:#06c;text-decoration:none;font-weight:600;transition:color .2s ease}.login-footer a:hover{color:#0052a3;text-decoration:underline}.route-loading-shell{min-height:100vh;display:grid;place-items:center;background:#f8fafc}.route-loading-card{padding:18px 20px;border-radius:12px;background:#fff;color:#1e293b;border:1px solid #e2e8f0;box-shadow:0 12px 28px #0f172a0f}@media (max-width: 960px){.login-surface{grid-template-columns:1fr;gap:24px}.login-hero h1{max-width:none}.login-hero-points{grid-template-columns:1fr}}@media (max-width: 640px){.login-page{padding:16px}.login-hero,.login-card{border-radius:14px;padding:24px}.login-hero h1{font-size:2rem}.login-surface{gap:16px}}.signup-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8fafc;color:#1e293b;font-family:Inter,sans-serif}.signup-surface{width:min(1120px,100%);display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:stretch}.signup-hero{padding:48px;display:flex;flex-direction:column;justify-content:space-between;gap:28px;border-radius:16px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 28px #0f172a0f}.signup-badge{width:fit-content;display:inline-flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;border:1px solid #bfdbfe;color:#1d4ed8;background:#eff6ff;font-size:.85rem;font-weight:600;letter-spacing:.02em}.signup-hero h1{margin:0;max-width:14ch;font-size:2.8rem;line-height:1;letter-spacing:-.03em;color:#0f172a}.signup-hero p{max-width:58ch;margin:0;color:#475569;font-size:1rem;line-height:1.6}.signup-hero-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.signup-hero-points div{padding:16px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0}.signup-hero-points strong{display:block;margin-bottom:8px;color:#0f172a;font-size:.95rem}.signup-hero-points span{display:block;color:#64748b;font-size:.9rem;line-height:1.5}.signup-card{padding:40px;display:flex;flex-direction:column;justify-content:center;border-radius:16px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 28px #0f172a0f}.signup-card h2{margin:0 0 8px;font-size:1.8rem;color:#0f172a}.signup-card p{margin:0 0 24px;color:#64748b;font-size:.95rem}.signup-success{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:20px 0}.success-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#dcfce7;border-radius:50%;font-size:28px;color:#16a34a;font-weight:700}.signup-success h2{margin:0;color:#166534}.signup-success p{margin:0;color:#475569;font-size:.95rem}.success-note{padding:12px;border-radius:10px;background:#f0fdf4;border-left:3px solid #16a34a;color:#15803d;font-size:.9rem;line-height:1.5}.success-redirect{margin-top:8px;color:#9ca3af;font-size:.85rem}.signup-form{display:grid;gap:18px}.signup-form label{display:grid;gap:8px;color:#475569;font-weight:600;font-size:.9rem}.signup-form label span{display:inline-flex;align-items:center;gap:8px;color:#1e293b}.signup-form input{height:48px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#1e293b;padding:0 14px;outline:none;font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.signup-form input::placeholder{color:#94a3b8}.signup-form input:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #eff6ff}.signup-form input:disabled{background:#f1f5f9;color:#94a3b8}.signup-error{padding:12px 14px;border-radius:10px;border:1px solid #fecdd3;background:#fff1f2;color:#be123c;font-size:.9rem}.signup-submit{height:48px;border:none;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#06c,#0052a3);color:#fff;font-weight:700;letter-spacing:.02em;cursor:pointer;font-size:.95rem;transition:opacity .2s ease,transform .2s ease;margin-top:8px}.signup-submit:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.signup-submit:disabled{opacity:.6;cursor:progress}.signup-footer{margin-top:16px;text-align:center;border-top:1px solid #e2e8f0;padding-top:16px}.signup-footer p{margin:0;color:#64748b;font-size:.9rem}.signup-footer a{color:#06c;text-decoration:none;font-weight:600;transition:color .2s ease}.signup-footer a:hover{color:#0052a3;text-decoration:underline}@media (max-width: 960px){.signup-surface{grid-template-columns:1fr;gap:24px}.signup-hero h1{max-width:none}.signup-hero-points{grid-template-columns:1fr}}@media (max-width: 640px){.signup-page{padding:16px}.signup-hero,.signup-card{border-radius:14px;padding:24px}.signup-hero h1{font-size:2rem}.signup-surface{gap:16px}}.reports-container{display:flex;flex-direction:column;gap:1.5rem;height:100%;min-height:0;overflow:hidden;padding-bottom:1rem}.reports-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}.reports-header h1{margin:0;font-size:2.7rem;line-height:1.1;color:#0f172a}.reports-header p{margin-top:10px;color:#6b7280;font-size:1rem;line-height:1.5}.reports-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-export{border:1px solid #bfdbfe;background:#fff;color:#2563eb;padding:11px 16px;border-radius:12px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-weight:600;transition:background-color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}.btn-export:hover{background:#eff6ff;border-color:#60a5fa;transform:translateY(-1px);box-shadow:0 6px 16px #2563eb1f}.reports-filters{display:flex;flex-wrap:wrap;gap:14px;padding:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:16px}.reports-filters select{min-width:180px;padding:11px 14px;border-radius:12px;border:1px solid #dbe3ee;background:#f8fafc;color:#334155;font-size:.95rem;transition:border-color .2s ease,box-shadow .2s ease}.reports-filters select:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f626}.report-card{background:#fff;border-radius:14px;padding:.95rem 1rem;border:1px solid #e2e8f0;box-shadow:0 2px 6px #0f172a0a;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.report-card:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 8px 18px #2563eb14}.report-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.report-card-top h3{margin:0;font-size:1rem;color:#0f172a}.report-status{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe;padding:4px 10px;border-radius:999px;font-size:.68rem;font-weight:700;white-space:nowrap}.participant-info{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.participant-info span{background:#f8fafc;color:#475569;border:1px solid #e2e8f0;padding:4px 8px;border-radius:999px;font-size:.72rem;font-weight:500}.report-question{font-size:.9rem;line-height:1.45;color:#334155;margin:0 0 .8rem}.report-meta{display:flex;flex-wrap:wrap;gap:8px}.report-meta span{display:inline-flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:4px 8px;font-size:.72rem;color:#64748b}.report-moderator{margin-top:.7rem;font-size:.75rem;color:#475569}.report-response{margin-top:.8rem;padding-top:.8rem;border-top:1px dashed #dbeafe}.response-label{display:inline-flex;align-items:center;gap:6px;background:#ecfdf5;color:#059669;border:1px solid #a7f3d0;padding:4px 10px;border-radius:999px;font-size:.7rem;font-weight:700;margin-bottom:8px}.report-response p{margin:0;font-size:.88rem;line-height:1.45;color:#334155}@media (max-width: 768px){.reports-header{flex-direction:column}.reports-header h1{font-size:2rem}.reports-actions{width:100%}.btn-export{flex:1;justify-content:center}.reports-filters{flex-direction:column}.reports-filters select{width:100%}.report-card-top{flex-direction:column;align-items:flex-start}}.reports-wrapper{flex:1;min-height:0;overflow:hidden}.reports-list{height:100%;overflow-y:auto;overflow-x:hidden;padding-right:6px;display:flex;flex-direction:column;gap:1rem}.reports-list::-webkit-scrollbar{width:8px}.reports-list::-webkit-scrollbar-track{background:transparent}.reports-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.reports-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}
