:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #17232a;
  background: #f5f7f7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, textarea, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #1c837b; outline-offset: 2px; }
.shell { min-height: 100vh; }
.topbar { background: #fff; border-bottom: 1px solid #dce2e2; }
.topbar-inner { max-width: 1160px; min-height: 72px; margin: auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; color: #631e30; white-space: nowrap; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; background: #751e32; color: #fff; font-size: 20px; font-weight: 800; border-radius: 6px; }
.brand small { display: block; color: #697780; font-size: 11px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.top-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.person { font-size: 13px; color: #52626b; margin-right: 4px; }
.notice { background: #fff0db; border-bottom: 1px solid #e5d4b6; color: #6a4718; font-size: 12px; }
.notice-inner { max-width: 1160px; margin: auto; padding: 9px 24px; display: flex; gap: 10px; align-items: center; }
.notice strong { letter-spacing: .3px; white-space: nowrap; }
main { max-width: 1160px; margin: auto; padding: 32px 24px 80px; }
.eyebrow { color: #8c1e35; text-transform: uppercase; letter-spacing: 1.2px; font-size: 12px; font-weight: 700; margin: 0 0 8px; }
h1 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; font-weight: 750; }
h2 { font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
h3 { font-size: 16px; line-height: 1.35; margin: 0; }
p { line-height: 1.5; }
.muted { color: #63727b; }
.lead { margin: 0; color: #52626b; max-width: 720px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 26px; }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn { border: 1px solid #cbd5d7; border-radius: 6px; min-height: 38px; padding: 8px 14px; background: #fff; color: #203039; font-weight: 700; transition: background .15s, border-color .15s; }
.btn:hover { background: #edf2f2; border-color: #9caeb1; }
.btn-primary { background: #761e33; color: #fff; border-color: #761e33; }
.btn-primary:hover { background: #5f182a; border-color: #5f182a; }
.btn-soft { background: #eff6f4; color: #0b5d59; border-color: #bad5d1; }
.btn-soft:hover { background: #e2f0ed; }
.btn-plain { background: transparent; border-color: transparent; }
.btn-plain:hover { background: #f3f5f5; border-color: #e5e9e9; }
.btn-small { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.link-button { border: 0; background: none; color: #771f35; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.grid-courses, .grid-accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.choice-card { border: 1px solid #d8e0e0; background: #fff; border-radius: 7px; padding: 20px; min-height: 144px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 8px; width: 100%; }
.choice-card:hover { border-color: #8c2b41; box-shadow: 0 3px 12px #253c4612; }
.choice-card .choice-title { font-size: 18px; font-weight: 700; color: #17232a; }
.choice-card .choice-foot { margin-top: auto; color: #7b2639; font-size: 13px; font-weight: 700; }
.login-layout { max-width: 900px; margin: 38px auto; }
.login-layout h1 { font-size: 34px; }
.login-intro { padding-bottom: 28px; border-bottom: 1px solid #d9e1e1; margin-bottom: 26px; }
.email-form { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 420px; }
.email-form label { font-size: 14px; font-weight: 700; }
.email-form input { width: 100%; min-height: 42px; border: 1px solid #b9c8cb; border-radius: 5px; padding: 9px 11px; background: #fff; color: #17232a; }
.email-form select { width: 100%; min-height: 42px; border: 1px solid #b9c8cb; border-radius: 5px; padding: 9px 11px; background: #fff; }
.metrics { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.metric-number { font-size: 27px; font-weight: 800; color: #0d675f; white-space: nowrap; }
.progress { height: 9px; width: min(100%, 350px); background: #dae5e4; border-radius: 4px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: #148376; transition: width .25s; }
.section-heading { border-top: 1px solid #d8e1e1; padding-top: 21px; margin: 28px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.list { border: 1px solid #dce4e4; border-radius: 7px; background: #fff; overflow: hidden; }
.list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 19px; border-bottom: 1px solid #e4e9e9; }
.list-row:last-child { border-bottom: 0; }
.list-row h3 { margin: 0 0 5px; }
.row-meta { font-size: 12px; color: #60717a; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-block; padding: 3px 7px; border-radius: 4px; background: #eef2f3; color: #435761; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.tag-ok { background: #dff2eb; color: #086448; }
.tag-partial { background: #fff0da; color: #89520b; }
.tag-extension { background: #e9edf8; color: #384976; }
.row-action { display: flex; align-items: center; gap: 10px; }
.empty { color: #65767d; padding: 24px; }
.unit-header { padding-bottom: 23px; border-bottom: 1px solid #dce4e4; }
.unit-header .row-meta { margin: 12px 0 0; }
.question-section { padding: 27px 0 13px; border-bottom: 1px solid #dce4e4; }
.question-section > h2 { margin-bottom: 20px; }
.question { padding: 0 0 26px; margin: 0; border: 0; min-width: 0; }
.question + .question { padding-top: 22px; border-top: 1px solid #edf0f0; }
.question legend { font-size: 15px; font-weight: 700; line-height: 1.5; padding: 0; max-width: 850px; }
.required { color: #a22941; margin-left: 3px; }
.question-help { color: #687881; font-size: 12px; margin: 3px 0 13px; }
.scale, .options { display: flex; gap: 8px; flex-wrap: wrap; }
.option { position: relative; display: inline-flex; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option span { display: grid; place-items: center; min-width: 42px; height: 40px; border: 1px solid #bbc9cc; border-radius: 5px; background: #fff; color: #2b444c; font-weight: 700; padding: 0 10px; }
.option input:checked + span { background: #0a7069; color: #fff; border-color: #0a7069; }
.option input:focus-visible + span { outline: 3px solid #1c837b; outline-offset: 2px; }
.scale-choice { min-height: 40px; height: auto !important; display: flex !important; gap: 5px; flex-direction: column; text-align: center; }
.scale-choice small { max-width: 110px; font-size: 11px; line-height: 1.25; font-weight: 500; white-space: normal; }
.clear-answer { margin-top: 10px; }
textarea { width: min(100%, 750px); min-height: 100px; resize: vertical; border: 1px solid #b9c8cb; border-radius: 5px; padding: 11px 12px; background: #fff; color: #17232a; }
.unit-actions { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 24px; padding: 14px 0; background: #f5f7f7; border-top: 1px solid #d6e0e0; }
.save-state { font-size: 13px; font-weight: 700; color: #5c6b73; }
.save-state.pendente { color: #8c5515; }
.save-state.salvo { color: #087153; }
.save-state.erro { color: #a12d3a; }
.save-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.form-error { color: #9d2b3f; font-weight: 700; font-size: 13px; margin-top: 10px; min-height: 20px; }
.summary-band { padding: 20px 0; border-top: 1px solid #dce4e4; }
.summary-band strong { font-size: 19px; }
.summary-list { margin: 12px 0 0; padding-left: 19px; color: #53646d; line-height: 1.75; }
.result { padding: 20px 0; border-top: 2px solid #0b756b; margin-top: 22px; }
.admin-band { padding: 0 0 28px; border-top: 1px solid #d8e1e1; margin-top: 30px; }
.admin-steps, .admin-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.admin-steps span { padding: 9px 14px; border-radius: 6px; background: #edf2f2; }
.admin-steps [aria-current], .admin-tabs [aria-current] { background: #7e1935; color: #fff; font-weight: 700; }
.admin-review { display: grid; grid-template-columns: minmax(100px, 180px) minmax(0, 1fr); gap: 12px; max-width: 850px; }
.admin-review dt { font-weight: 700; }
.admin-review dd { margin: 0; overflow-wrap: anywhere; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; background: #fff; font-size: 13px; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e3e9e9; vertical-align: top; }
.admin-table th { background: #edf2f2; color: #485c64; }
.admin-table small { display: block; color: #697780; margin-top: 3px; }
.campaign-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.campaign-actions .btn { white-space: nowrap; }
.campaign-content { display: grid; gap: 4px; font-size: 12px; line-height: 1.35; }
.campaign-content span { white-space: nowrap; }
.publication-dialog { box-sizing: border-box; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #bbc8cb; border-radius: 8px; padding: 24px; color: #162b32; }
.publication-dialog::backdrop { background: #0008; }
.publication-dialog label { display: grid; gap: 6px; }
.publication-dialog input { width: 100%; min-width: 0; box-sizing: border-box; }
.publication-qr { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.publication-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; max-width: 1000px; }
.admin-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.admin-form label:has(input[type="checkbox"]) { display: flex; align-items: center; }
.admin-form input:not([type="checkbox"]), .admin-form select, .admin-form textarea { width: 100%; border: 1px solid #b9c8cb; border-radius: 5px; padding: 9px; background: #fff; color: #17232a; min-height: 39px; }
.admin-form textarea { min-height: 84px; }
.admin-form-actions { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.admin-editor { display: grid; grid-template-columns: minmax(250px, 38%) minmax(0, 1fr); gap: 24px; }
.admin-outline { max-height: 650px; overflow: auto; padding-right: 12px; border-right: 1px solid #dce4e4; }
.admin-outline details { padding: 8px 0; border-bottom: 1px solid #e0e6e6; }
.admin-outline summary { cursor: pointer; font-weight: 700; }
.admin-outline li { margin: 7px 0; font-size: 12px; }
.admin-outline ul { padding-left: 17px; }
.admin-outline .link-button { text-align: left; font-size: 12px; }
.admin-edit-pane h3 { margin-bottom: 14px; }
.admin-edit-pane .admin-form { grid-template-columns: 1fr 1fr; }
.admin-edit-pane .admin-form label:has(textarea) { grid-column: 1 / -1; }
.admin-preview { padding: 15px 0; border-top: 1px solid #dce4e4; }
.editor-wide { grid-column: 1 / -1; }
.editor-choices { border: 0; border-top: 1px solid #dce4e4; margin: 0; padding: 14px 0; min-width: 0; }
.editor-choices legend { font-size: 13px; font-weight: 700; padding: 0 8px 0 0; }
.editor-choices label { margin: 8px 0; }
.editor-option { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.editor-option input { min-width: 0; flex: 1; }
.editor-option button { flex: 0 0 38px; height: 38px; }
.editor-scale-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-scale-preview span { font-size: 12px; padding: 6px 0; margin-right: 12px; }
.admin-edit-pane [hidden] { display: none !important; }
.admin-edit-pane label, .admin-outline summary { overflow-wrap: anywhere; }
.student-shell { font-size: 14px; }
.student-shell main { max-width: 1040px; padding: 20px 20px 76px; }
.student-shell .topbar-inner { max-width: 1040px; min-height: 58px; padding: 8px 20px; }
.student-shell .brand-mark { width: 32px; height: 32px; font-size: 18px; }
.student-shell .notice-inner { max-width: 1040px; padding: 6px 20px; flex-wrap: wrap; gap: 4px 10px; }
.student-shell h1 { font-size: 24px; margin-bottom: 6px; overflow-wrap: anywhere; }
.student-shell h2 { font-size: 18px; }
.student-shell h3 { font-size: 15px; }
.student-shell .eyebrow { letter-spacing: 0; font-size: 11px; margin-bottom: 6px; }
.student-shell .notice strong { letter-spacing: 0; }
.student-shell .page-head { margin-bottom: 16px; gap: 12px; }
.student-shell .metrics { margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.student-shell .metric-number { font-size: 22px; }
.student-shell .progress { height: 6px; width: min(100%, 260px); }
.student-shell .section-heading { margin: 18px 0 8px; padding-top: 12px; }
.student-shell .list-row { padding: 11px 12px; gap: 12px; }
.student-shell .list-row h3 { margin-bottom: 3px; }
.student-shell .choice-card { padding: 14px; min-height: 116px; }
.student-shell .unit-header { padding-bottom: 14px; }
.student-shell .unit-header .eyebrow { margin-top: 14px !important; }
.student-shell .question-section { padding: 18px 0 8px; }
.student-shell .question-section > h2 { margin-bottom: 14px; }
.student-shell .question { padding-bottom: 18px; }
.student-shell .question + .question { padding-top: 16px; }
.student-shell .question legend { font-size: 14px; overflow-wrap: anywhere; }
.student-shell .question-help { margin-bottom: 9px; }
.answer-count { font-size: 12px; font-weight: 700; white-space: nowrap; color: #52626b; }
.question-position { font-size: 12px; font-weight: 700; color: #63727b; white-space: nowrap; }
.academic-context { margin-top: 5px; gap: 4px 12px; }
.student-shell .option span { min-height: 44px; height: auto; }
.student-shell .unit-actions { margin-top: 16px; padding: 10px 0; }
@media (max-width: 680px) {
  .student-shell main { padding: 16px 12px 92px; }
  .student-shell .topbar-inner { padding: 8px 12px; flex-wrap: wrap; gap: 4px 10px; }
  .student-shell .top-actions { width: 100%; justify-content: flex-start; gap: 4px; }
  .student-shell .person { width: auto; text-align: left; max-width: 100%; overflow-wrap: anywhere; }
  .student-shell .btn { min-height: 44px; padding: 8px 12px; }
  .student-shell .notice-inner { padding: 6px 12px; font-size: 11px; }
  .student-shell h1, .student-shell .login-layout h1 { font-size: 22px; }
  .student-shell .page-head { gap: 10px; }
  .student-shell .page-head-actions .btn { font-size: 13px; }
  .student-shell .row-action { gap: 8px; }
  .student-shell .list-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .student-shell .row-action { flex-direction: column; align-items: flex-end; }
  .student-shell .tag { font-size: 10px; padding: 3px 5px; }
  .student-shell .row-meta { font-size: 11px; gap: 4px; overflow-wrap: anywhere; }
  .student-shell .scale { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .student-shell .scale .option, .student-shell .scale-choice { width: 100%; }
  .student-shell .scale-choice { padding: 7px 4px; min-height: 64px; }
  .student-shell .scale-choice small { max-width: 100%; font-size: 11px; }
  .student-shell .options .option span { white-space: normal; overflow-wrap: anywhere; }
  .student-shell textarea, .student-shell .email-form input, .student-shell .email-form select { font-size: 16px; }
  .student-shell .unit-actions { flex-direction: row; align-items: center; gap: 8px; }
  .student-shell .save-tools { width: auto; }
  .student-shell .login-layout { margin: 12px auto; }
}
@media (max-width: 680px) { .admin-edit-pane .admin-form { grid-template-columns: 1fr; } .admin-form-actions { flex-wrap: wrap; } }
@media (max-width: 760px) { .admin-editor { grid-template-columns: 1fr; } .admin-outline { max-height: 320px; border-right: 0; border-bottom: 1px solid #dce4e4; } }
.result h2 { color: #075c56; }
.entry-page { background: #fff; color: #23343b; min-height: 100vh; }
.module-indicator { display: inline-block; margin-top: 7px; padding: 4px 7px; background: #e5f0eb; color: #225845; border-radius: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1.3; }
.entry-brand .module-indicator { display: inline-block; color: #fff; background: #ffffff1f; font-size: 11px; font-weight: 700; }
.microsoft-placeholder { max-width: 760px; padding: 48px 24px; }
.microsoft-placeholder h1 { font-size: 24px; line-height: 1.4; overflow-wrap: anywhere; }
.microsoft-placeholder p { color: #596770; }
.entry-brand-trigger { display: block; padding: 0; border: 0; background: transparent; border-radius: 0; }
.entry-brand-trigger:disabled { opacity: 1; cursor: default; }
#avulso-panel[hidden] { display: none; }
#institucional-form[hidden] { display: none; }
#institucional-form { margin-top: 20px; }
#institucional-form input { width: 100%; min-height: 44px; font-size: 16px; border: 1px solid #b9c8cb; border-radius: 5px; padding: 9px 11px; }
.microsoft-placeholder .btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; text-decoration: none; }
.microsoft-entry-grid { max-width: 1100px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; }
.avulso-panel { border-left: 1px solid #dce4e4; padding-left: 28px; min-width: 0; }
.avulso-panel h2 { font-size: 20px; }
.avulso-panel .email-form { margin: 16px 0 0; }
.avulso-panel input[type="email"] { width: 100%; min-height: 44px; font-size: 16px; }
.avulso-panel fieldset { border: 0; margin: 14px 0 0; padding: 0; }
.avulso-panel .avulso-choice { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.avulso-panel input[type="radio"] { width: 18px; min-height: 18px; }
.avulso-panel [role="status"] { font-size: 13px; }
.avulso-panel [hidden] { display: none; }
@media (max-width: 680px) {
  .microsoft-entry-grid { grid-template-columns: minmax(0,1fr); padding: 28px 16px; gap: 24px; }
  .avulso-panel { border-left: 0; border-top: 1px solid #dce4e4; padding: 24px 0 0; }
}
.entry-header { margin: auto; padding: 14px max(24px, calc((100% - 1072px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(110deg, #390406 0%, #620608 40%, #a30b0e 100%); }
.entry-brand { color: #791c32; text-decoration: none; font-size: 24px; font-weight: 800; }
.entry-brand span { display: block; font-size: 11px; font-weight: 500; color: #596770; margin-top: 3px; }
.entry-brand img { display: block; width: 205px; height: auto; max-width: 100%; }
.entry-admin { color: #fff; font-size: 13px; text-underline-offset: 4px; padding: 12px 0; }
.entry-main { max-width: none; padding: 0; margin: 0; }
.entry-hero { position: relative; min-height: 330px; overflow: hidden; background: #541828; display: flex; align-items: center; }
.entry-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.entry-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(65,9,25,.94),rgba(81,13,31,.76) 43%,rgba(25,22,22,.12)); }
.entry-hero-content { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: auto; padding: 42px 24px; color: #fff; }
.entry-kicker { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: 0; margin: 0 0 10px; }
.entry-hero-content .entry-kicker { color: #f2d79b; }
.entry-hero h1 { font-size: 52px; margin: 0 0 10px; line-height: 1.1; letter-spacing: 0; }
.entry-hero h1 span { color: #f2cb75; }
.entry-hero h2 { font-size: 22px; font-weight: 500; margin: 0; }
.entry-hero-content > p:last-child { max-width: 360px; font-size: 16px; line-height: 1.6; margin: 20px 0 0; }
.entry-access { max-width: 680px; padding: 30px 24px 24px; margin: auto; }
.entry-access-heading .entry-kicker { color: #791c32; }
.entry-access-heading h2 { font-size: 23px; margin: 0 0 8px; }
.entry-access-heading > p:last-child { color: #596770; font-size: 14px; line-height: 1.5; margin: 0 0 22px; }
.entry-form { max-width: none; margin: 0; }
.entry-campaigns { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.entry-campaigns legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.entry-form .entry-campaign { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #d5dddf; border-radius: 6px; margin: 8px 0; cursor: pointer; }
.entry-campaign:has(input:checked) { border-color: #791c32; background: #fbf5f6; }
.entry-form .entry-campaign input { accent-color: #791c32; width: 18px; height: 18px; min-height: 0; padding: 0; flex: 0 0 18px; margin: 0; }
.entry-campaign strong { display: block; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.entry-campaign small { display: block; color: #617078; font-size: 12px; margin-top: 3px; font-weight: 400; }
.entry-form > label { font-size: 13px; }
.entry-form > input { width: 100%; min-height: 46px; font-size: 16px; }
.entry-form > button { min-height: 46px; width: 100%; margin-top: 4px; }
.entry-homologation { color: #6f5627; background: #fcf6e9; border-left: 3px solid #c29843; padding: 10px 12px; font-size: 11px; line-height: 1.6; margin: 18px 0 0; }
.entry-footer { max-width: 1120px; margin: auto; padding: 18px 24px; border-top: 1px solid #e7ebec; font-size: 11px; color: #617078; display: flex; justify-content: space-between; gap: 12px; }
.entry-actions { display: flex; align-items: center; gap: 16px; }
.admin-login { max-width: 480px; margin: 48px auto; padding: 24px; }
.admin-login h1 { font-size: 28px; }
.entry-campaign-page .entry-hero { min-height: 190px; }
.entry-campaign-page .entry-hero-content { padding: 24px; }
.entry-campaign-page .entry-hero h1 { font-size: 36px; }
.entry-campaign-page .entry-access { max-width: 800px; }
.consultation-status { padding: 8px 0; }
.consultation-status p { margin: 0 0 10px; }
.consultation-meter { display: block; width: 100%; height: 10px; accent-color: #791c32; }
.campaign-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.campaign-options .choice-card { width: 100%; min-width: 0; text-align: left; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .entry-campaign-page .entry-header { padding: 10px 16px; }
  .entry-campaign-page .entry-brand img { width: 140px; }
  .entry-campaign-page .entry-hero { min-height: 140px; }
  .entry-campaign-page .entry-hero-content { padding: 18px 16px; }
  .entry-campaign-page .entry-hero h1 { font-size: 30px; }
  .entry-campaign-page .entry-hero h2 { font-size: 17px; }
  .entry-campaign-page .entry-access { padding: 20px 16px; }
  .entry-actions { gap: 10px; }
}
@media (max-width: 680px) {
  .entry-header { padding: 12px 16px; gap: 10px; }
  .entry-brand { font-size: 22px; }
  .entry-brand img { width: 160px; }
  .entry-brand span { max-width: 165px; font-size: 10px; }
  .entry-admin { font-size: 12px; }
  .entry-hero { min-height: 245px; }
  .entry-hero img { object-position: 54% 43%; }
  .entry-hero::after { background: rgba(65,9,25,.65); }
  .entry-hero-content { padding: 28px 16px; }
  .entry-hero h1 { font-size: 38px; }
  .entry-hero h2 { font-size: 19px; }
  .entry-hero-content > p:last-child { font-size: 14px; max-width: 280px; margin-top: 16px; }
  .entry-access { padding: 24px 16px; }
  .entry-access-heading h2 { font-size: 21px; }
  .entry-footer { padding: 16px; flex-wrap: wrap; }
}
.report-filters { margin-bottom: 12px; }
.admin-navigation { display: flex; gap: 8px; padding: 12px 24px; max-width: 1160px; margin: auto; border-bottom: 1px solid #d4dede; background: #fff; }
.admin-nav-group { position: relative; }
.admin-nav-group summary { cursor: pointer; padding: 11px 16px; border-radius: 6px; color: #304c55; font-weight: 700; list-style-position: inside; }
.admin-nav-group.is-current summary, .admin-nav-group[open] summary { background: #75182f; color: #fff; }
.admin-nav-group summary:focus-visible { outline: 3px solid #1c837b; outline-offset: 2px; }
.admin-submenu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 40; min-width: 260px; padding: 6px; background: #fff; border: 1px solid #cbd7d7; box-shadow: 0 6px 18px #17232a20; border-radius: 6px; }
.admin-submenu a { display: block; padding: 11px 12px; color: #253f48; text-decoration: none; border-radius: 4px; }
.admin-submenu a:hover, .admin-submenu a:focus-visible { background: #edf3f3; }
.admin-submenu a[aria-current="page"] { background: #f6e9ed; color: #75182f; font-weight: 700; }
.admin-breadcrumb { color: #526b72; font-size: 12px; margin: 0 0 10px; }
.usuarios-page:not([data-secao="setores"]) #setores-editor { display: none; }
.usuarios-page[data-secao="setores"] #usuarios-lista,
.usuarios-page[data-secao="setores"] #usuario-editor,
.usuarios-page[data-secao="setores"] #escolas-editor { display: none; }
@media (max-width: 680px) {
  .admin-navigation { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; }
  .admin-submenu { position: static; min-width: 0; margin-top: 4px; box-shadow: none; }
  .admin-nav-group summary { padding: 11px 12px; }
}
.report-view { display: flex; flex-wrap: wrap; gap: 14px; border: 0; padding: 0; margin: 0; }
.report-view label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.report-bars { margin-top: 20px; }
.report-bar-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(200px, 2fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid #d5dfe0; }
.report-bar-title { min-width: 0; overflow-wrap: anywhere; }
.report-bar-title small { display: block; margin-top: 4px; color: #536970; }
.report-bar-body { display: grid; align-content: center; gap: 5px; font-size: 13px; }
.report-bar-track { height: 14px; background: #dce7e8; overflow: hidden; }
.report-bar-track span { display: block; height: 100%; background: #007b80; }
@media (max-width: 680px) { .report-bar-row { grid-template-columns: minmax(0,1fr); gap: 8px; } }
.report-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 16px; padding: 20px 0; border-top: 1px solid #ccd7d7; border-bottom: 1px solid #ccd7d7; }
.report-metrics strong { display: block; font-size: 25px; margin-top: 6px; }
.report-metrics span { display: block; font-size: 13px; }
#relatorio-impressao { display: none; }
.student-shell.has-finish-bar main { padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px)); }
.survey-finish-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid #c4cece; box-shadow: 0 -3px 12px #17232a18; padding-bottom: env(safe-area-inset-bottom, 0px); }
.survey-finish-bar > div { max-width: 1040px; margin: auto; padding: 12px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.survey-finish-bar span { font-size: 13px; color: #40575e; }
.btn-finish { background: #ffd34e; border: 2px solid #8b5b00; color: #302113; font-weight: 800; text-transform: uppercase; min-height: 46px; flex-shrink: 0; }
.btn-finish:hover { background: #ffe080; }
.has-finish-bar .unit-actions { position: static; }
@media (max-width: 480px) {
  .survey-finish-bar > div { padding: 10px 12px; gap: 10px; }
  .survey-finish-bar span { font-size: 11px; }
  .survey-finish-bar .btn-finish { padding: 11px 12px; font-size: 13px; }
}
@media print {
  @page { size: A4 portrait; margin: 7mm; }
  html:root { background: white; }
  body.imprimindo-participacao { background: white; color: #111; }
  body.imprimindo-participacao #resultados-app > * { display: none !important; }
  body.imprimindo-participacao #resultados-app > #relatorio-impressao { display: block !important; font: 8pt Arial, sans-serif; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .participacao-header { display: flex; align-items: center; gap: 4mm; border-bottom: 2px solid #75152c; padding-bottom: 2mm; }
  .participacao-header > strong { color: #75152c; font-size: 15pt; min-width: 31mm; }
  .participacao-header small { font-size: 7.5pt; }
  .participacao-header h1 { font-size: 12pt; margin: 0 0 1mm; }
  .participacao-header h2 { font-size: 9pt; margin: 0; }
  .participacao-header p { margin: 1mm 0 0; }
  .participacao-contexto { font-size: 7pt; margin: 2mm 0; }
  .participacao-tabela { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 7.3pt; }
  .participacao-tabela thead { display: table-header-group; }
  .participacao-tabela tr { break-inside: avoid; page-break-inside: avoid; }
  .participacao-tabela th, .participacao-tabela td { padding: .6mm .6mm; border: 1px solid #999; overflow-wrap: anywhere; vertical-align: middle; }
  .participacao-tabela thead th { background: #fbe5d6; text-align: center; }
  .participacao-tabela tbody th { text-align: left; font-weight: normal; }
  .participacao-tabela td { text-align: right; font-variant-numeric: tabular-nums; }
  .participacao-cursos thead tr:first-child > :first-child { width: 8%; text-align: left; }
  .participacao-cursos thead tr:first-child > :nth-child(2) { width: 32%; }
  .participacao-tabela:not(.participacao-cursos) thead tr:first-child > :first-child { width: 40%; }
  .participacao-tabela .grupo-1 { background: #fff1e8; }
  .participacao-tabela .participacao-total { background: #fbe5d6; border-top: 2px solid #333; font-weight: bold; }
  .participacao-tabela .participacao-total th { font-weight: bold; }
  .participacao-subtitulo { font-size: 9pt; margin: 3mm 0 1.5mm; break-after: avoid; }
  .participacao-total-geral { font-size: 8pt; margin: 2mm 0; }
  .participacao-notas { font-size: 6.5pt; line-height: 1.2; margin-top: 2mm; break-inside: avoid; }
  .survey-finish-bar { display: none; }
  .participacao-notas p { margin: 1.5mm 0; }
}
.dev-tool { margin-top: 34px; padding-top: 14px; border-top: 1px dashed #ccd7d7; color: #687982; font-size: 12px; }
@media (max-width: 680px) {
  .topbar-inner { padding: 10px 16px; align-items: flex-start; }
  .top-actions { gap: 2px; }
  .person { width: 100%; text-align: right; margin: 0 0 2px; }
  .notice-inner { padding: 9px 16px; align-items: flex-start; }
  main { padding: 25px 16px 70px; }
  h1, .login-layout h1 { font-size: 26px; }
  .page-head { flex-direction: column; gap: 16px; }
  .page-head-actions { justify-content: flex-start; }
  .list-row { grid-template-columns: 1fr; gap: 12px; }
  .row-action { justify-content: space-between; }
  .metrics { flex-wrap: wrap; gap: 8px 14px; }
  .progress { width: 100%; }
  .unit-actions { align-items: flex-start; flex-direction: column; }
  .save-tools { width: 100%; }
}
