:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#203047;background:#f4f6fa}*{box-sizing:border-box}body{margin:0}.top{background:#13253c;color:#fff;padding:17px 0}.top strong{font-size:24px;letter-spacing:-1px}.top span{color:#55c8b2}.wrap{max-width:1150px;margin:auto;padding:0 22px}.bar,.between,.actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.narrow{max-width:780px;padding-top:35px;padding-bottom:70px}.panel{background:white;border:1px solid #e3e8f0;border-radius:17px;padding:28px;margin-bottom:19px;box-shadow:0 5px 30px #182c4610}h1{font-size:29px;margin:8px 0 13px;letter-spacing:-.6px}h2{font-size:21px}p{line-height:1.55;color:#617085}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#237b8e}.note{padding:15px;background:#eaf4f6;border-radius:9px;font-size:14px;line-height:1.6;margin:25px 0}label{display:block;font-weight:650;margin:17px 0 8px;font-size:14px}label b{color:#bc394a}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;padding:12px;border:1px solid #cfd7e3;border-radius:8px;background:white;color:#253650;font:inherit}textarea{min-height:110px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #5bb9c7}button{border:none;border-radius:9px;padding:12px 19px;font-weight:700;cursor:pointer;font:inherit;font-weight:700}.primary{background:#1c5c7e;color:white}.secondary{background:#eaf0f4;color:#29415a}.primary:hover{background:#17445f}button:disabled{opacity:.5;cursor:default}#start{margin-top:16px}.error{color:#ad2639;font-size:13px;min-height:18px}.progress{background:#e8ecf2;height:9px;border-radius:20px;overflow:hidden;margin-top:25px}.progress #fill{height:100%;width:0;background:#249c9c;transition:width .2s}.between{margin-top:8px;color:#67798b}.question{border-bottom:1px solid #eef1f5;padding:9px 0 22px}.question:last-child{border:0}.option{display:flex;gap:10px;align-items:flex-start;padding:8px 10px;border:1px solid #e4e9ef;border-radius:8px;margin:7px 0;cursor:pointer}.option:hover{background:#f7fafc}.option input{margin-top:4px}.option span{font-size:14px}.actions{justify-content:flex-end}.actions #back{margin-right:auto}.small{font-size:12px;color:#6b7886}.tag{font-size:12px;padding:5px 9px;background:#edf4f7;border-radius:20px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.tabs button.active{background:#1c5c7e;color:white}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.metric{padding:20px;border-radius:12px;background:#f4f7fa}.metric strong{display:block;font-size:26px;margin-bottom:5px}.metric small{color:#657890}.chartbar{height:14px;background:#e7eff2;border-radius:15px;overflow:hidden}.chartbar div{height:100%;background:#20a19f}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:10px;border-bottom:1px solid #e7eaf0}th{color:#536477;background:#f6f8fa}.row{display:flex;gap:10px;align-items:center}.row>*{flex:1}.muted{color:#66788b}.pill{display:inline-block;padding:4px 9px;border-radius:30px;background:#e9f1f4;color:#236b77;font-size:12px}.danger{color:#ad2639}.question-editor{border:1px solid #e1e8ef;padding:14px;border-radius:10px;margin:12px 0}.link{color:#1d6589;cursor:pointer;text-decoration:underline}.tablewrap{overflow:auto}@media(max-width:690px){.panel{padding:18px}.grid{grid-template-columns:repeat(2,1fr)}.row{flex-direction:column}.row>*{width:100%}h1{font-size:24px}}
/* NRSurvey 0.5 | Fluent-inspired business UI, matching NR Sentinel conventions */
:root{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;background:#f3f5f9;color:#202d3c;--blue:#1761a0;--navy:#182a43;--border:#dfe5ec;--muted:#68778a;--shadow:0 2px 10px #1e31470a}body{background:#f3f5f9;color:#273546} .top{background:#192b43;border-bottom:1px solid #314760;padding:12px 0}.top .wrap{max-width:1500px}.top strong{font-size:19px;font-weight:650;letter-spacing:-.3px;display:flex;align-items:center;gap:8px}.top strong>span:not(.brand-mark){color:inherit}.top small{font-size:12px;font-weight:400;letter-spacing:0;color:#b9c8d8;margin-left:8px}.brand-mark{display:inline-grid;place-items:center;width:31px;height:31px;background:#2479c1;color:white!important;border-radius:5px;font-size:18px}.wrap{max-width:1500px;padding:0 30px}.top .bar{min-height:39px}h1{font-size:27px;font-weight:650;letter-spacing:-.55px}h2{font-size:20px;font-weight:650}h3{font-size:16px;font-weight:650}p{color:#6e7885}.eyebrow{color:#57718d;font-size:10px;font-weight:750;letter-spacing:1.25px}.panel{border-radius:7px;border-color:#dfe5ec;box-shadow:var(--shadow);padding:23px}.between{color:inherit}.pill{border-radius:4px;background:#e8f0fa;color:#276292;padding:6px 10px;font-weight:600}.tabs{gap:0;border-bottom:1px solid #d9e2ed;margin-bottom:18px}.tabs button{background:transparent;color:#65768a;border-radius:0;padding:14px 17px;font-size:13px;border-bottom:3px solid transparent;font-weight:600}.tabs button.active{color:#1761a0;border-bottom-color:#1761a0;background:#eaf1fa}.tabs button:hover{background:#edf1f7}.primary{background:#1767ad;border-radius:5px;font-weight:600}.primary:hover{background:#0b528f}.secondary{background:#eef2f6;color:#294661;border:1px solid #d9e1ea;border-radius:5px;font-weight:600}button{border-radius:5px;font-size:13px;padding:10px 15px}input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:5px;border-color:#d2dbe5;font-size:13px;padding:10px 11px}input:focus,textarea:focus,select:focus{outline:2px solid #a8d2fa;outline-offset:0}label{font-size:13px;color:#3f4d61}.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--border);border-radius:7px;padding:22px 25px;margin-bottom:18px}.dash-hero h2{margin:5px 0 4px;font-size:22px}.dash-hero p{margin:0;font-size:13px}.demo-banner{font-size:11px;font-weight:700;letter-spacing:.5px;background:#fff1d5;color:#885b09;border:1px solid #f1d797;padding:8px 12px;border-radius:4px;white-space:nowrap}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.dashboard-stat{position:relative;background:white;border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:7px;padding:20px 20px 16px;box-shadow:var(--shadow);min-width:0}.stat-kicker{display:block;font-size:12px;color:#647589;font-weight:600;margin-bottom:12px}.stat-val{font-weight:650;font-size:32px;letter-spacing:-1px;display:block;line-height:1.15;color:#22334a}.stat-foot{display:block;color:#8894a3;font-size:11px;margin-top:12px}.dash-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:17px}.chart-panel{background:white;border:1px solid var(--border);border-radius:7px;padding:22px 23px;margin-bottom:16px;box-shadow:var(--shadow);min-width:0}.dash-charts .chart-panel{margin:0}.chart-panel.wide{grid-column:span 2}.chart-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:21px}.chart-heading h3{margin:4px 0 0}.chart-heading .eyebrow{font-size:10px}.caption-muted{font-size:12px;color:#8291a3}.score-bars{height:205px;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:16px;align-items:end;border-bottom:1px solid #dce4ed;padding:6px 14px 0}.score-column{height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:5px;font-size:11px;font-weight:600;color:#63768a;min-width:0}.score-pole{width:100%;max-width:57px;border-radius:4px 4px 0 0;min-height:2px}.score-value{color:#3b536e;font-size:11px}.donut{width:184px;height:184px;border-radius:50%;display:grid;place-items:center;margin:5px auto 18px}.donut-center{display:grid;place-items:center;width:123px;height:123px;border-radius:50%;background:white;font-weight:700;font-size:30px;color:#283f56}.donut-legend{display:grid;gap:11px}.donut-key{display:flex;align-items:center;gap:8px;color:#5c6d82;font-size:12px}.donut-key i{width:10px;height:10px;border-radius:2px}.donut-key b{margin-left:auto;color:#22374d}.rank-row{margin-bottom:15px}.rank-label{display:flex;gap:12px;justify-content:space-between;font-size:12px;color:#52647a;margin-bottom:7px}.rank-label strong{color:#2c435b}.rank-track{background:#ecf1f6;height:9px;border-radius:3px;overflow:hidden}.rank-fill{height:100%;border-radius:3px}.question-analytics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.q-chart{border:1px solid #e6ebf0;border-radius:5px;padding:16px}.q-chart h4{margin:0 0 15px;font-size:13px;color:#283d54}.q-progress{display:grid;grid-template-columns:minmax(0,1fr) 40% 42px;gap:8px;align-items:center;font-size:11px;color:#60748b;margin:10px 0}.q-progress>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.q-progress b{text-align:right;color:#3c5870}.q-progress-track{height:7px;background:#eaf0f6;border-radius:3px;overflow:hidden}.q-progress-track div{height:100%;background:#2377b7;border-radius:3px}.comment-controls{display:flex;gap:12px;margin-bottom:10px}.comment-controls input{flex:2}.comment-controls select{flex:1}.feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.feedback-card{background:#fafbfd;border:1px solid #e5eaf0;border-left:3px solid #7d9ab9;border-radius:5px;padding:15px 17px}.feedback-tag{font-size:10px;font-weight:700;padding:4px 7px;border-radius:3px;background:#e7f1fc;color:#28649b;display:inline-block}.feedback-tag.preserve{background:#e4f5ef;color:#1d8069}.feedback-tag.gaps{background:#fff0ec;color:#b15c4e}.feedback-tag.ideas{background:#f2edff;color:#7253aa}.feedback-tag.strengths{background:#e7f4fb;color:#257595}.feedback-text{font-size:13px;line-height:1.5;color:#304256;margin:12px 0}.feedback-question{display:block;font-size:11px;color:#7a8a9c}.comment-pagination{display:flex;gap:12px;justify-content:flex-end;align-items:center;margin-top:15px;font-size:12px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;background:#eaf1f8;border:1px solid #d7e3ef;padding:18px 20px;border-radius:6px;margin:22px 0}.preview-toolbar strong{font-size:16px}.preview-toolbar p{margin:5px 0 0}.preview-section{background:#fff;border:1px solid var(--border);padding:23px 26px;margin:18px 0;border-radius:7px}.preview-section h3{font-size:17px;border-bottom:1px solid #e8edf2;margin:0 0 10px;padding-bottom:14px}.preview-question{padding:20px 0;border-bottom:1px solid #edf1f5}.preview-question:last-child{border:0}.preview-question-title{font-size:14px;color:#2d4156;font-weight:650;margin-bottom:8px}.question-status{font-size:10px;padding:3px 6px;border-radius:3px;background:#f2f5f8;color:#6e7a86;display:inline-block;margin-bottom:12px}.question-status.is-required{background:#eaf2fc;color:#2665a2}.preview-options{display:flex;flex-direction:column;gap:4px}.preview-option{display:flex;align-items:center;gap:9px;margin:0;padding:6px 0;font-weight:400}.preview-scale{display:flex;gap:9px;flex-wrap:wrap}.preview-scale .preview-option{border:1px solid #e1e7ee;padding:7px;border-radius:4px}.preview-question textarea{min-height:70px}.tab[hidden],#admin[hidden],#login[hidden]{display:none!important}
@media(max-width:950px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-charts{grid-template-columns:1fr}.chart-panel.wide{grid-column:span 1}.question-analytics{grid-template-columns:1fr}}@media(max-width:650px){.wrap{padding:0 14px}.dash-hero{flex-direction:column;align-items:flex-start}.dashboard-metrics{grid-template-columns:1fr 1fr}.feedback-grid{grid-template-columns:1fr}.comment-controls{flex-direction:column}.chart-panel{padding:17px}.preview-section{padding:16px}.score-bars{gap:5px;padding:0 2px}.stat-val{font-size:25px}}

/* NRSurvey 0.6 — Quantidade e percentual nas perguntas */
.q-progress{grid-template-columns:minmax(0,1fr) minmax(100px,35%) 110px}.q-progress b{font-variant-numeric:tabular-nums;white-space:nowrap}.participant-count{background:#f0f5fb;border:1px solid #d9e4ef;border-radius:5px;min-height:40px;display:flex;align-items:center;padding:0 12px;font-weight:650;color:#215b92}@media(max-width:650px){.q-progress{grid-template-columns:1fr 32% 100px;gap:5px;font-size:10px}}

/* Filtros exclusivos da aba Indicadores */
body:has(#tab-surveys.active) #dashboard-filters,
body:has(#tab-invites.active) #dashboard-filters,
body:has(#tab-preview.active) #dashboard-filters {
    display: none;
}
