@import url('brand-tokens.css');

/* ORCA UI foundation — dashboard minimalista */
:root {
  --deep-space-blue: #06253d;
  --ivory-mist: #f8f4e3;
  --burnt-peach: #e66c3f;
  --steel-blue: #2d7dd2;
  --lavender-grey: #848fa5;
  --ink: #172536;
  --muted: #536174;
  --paper: var(--color-surface-canvas, #f4f8f9);
  --line: #e1e3e9;
  --navy: var(--deep-space-blue);
  --teal: var(--steel-blue);
  --white: #ffffff;
  --surface-soft: #fafbfc;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(6, 37, 61, .025), 0 4px 12px rgba(6, 37, 61, .025);
}

body { background: var(--color-surface-canvas, #f4f8f9) !important; color: var(--color-text-primary, #172536); font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif); font-size: 14px; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid rgba(45, 125, 210, .42); outline-offset: 2px; }
aside:where(#app-sidebar) { width: 256px; overflow-y: auto; padding: 26px 14px 18px; background: var(--deep-space-blue); box-shadow: 2px 0 12px rgba(6, 37, 61, .08); }
.brand { padding: 0 10px; font-size: 24px; letter-spacing: 2.6px; }
.brand small, .profile small { color: #bbcad2; opacity: 1; }
nav { gap: 3px; margin-top: 36px; }
nav a, nav span { padding: 10px 12px; border-radius: 8px; font-size: 13px; transition: background .16s ease, color .16s ease; }
nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
nav a.is-active { background: rgba(45,125,210,.26); color: #fff; box-shadow: inset 3px 0 0 var(--steel-blue); }
.nav-section { padding: 14px 0; border-top-color: rgba(255,255,255,.12); }
.nav-section > span { color: #9eb4c1; font-size: 9px; letter-spacing: 1.1px; }
.profile { display: grid; gap: 3px; padding: 16px 10px 4px; border-top-color: rgba(255,255,255,.12); font-size: 13px; }
.profile > strong { color: #fff; font-size: 13px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 7px; }
.profile-links a { color: #c8d6de; font-size: 11px; font-weight: 700; text-decoration: none; }
.profile-links a:hover { color: #fff; text-decoration: underline; }
.profile-links .profile-logout { color: #f0b5a0; }

main { max-width: none; min-height: 100vh; margin-left: 256px; padding: 34px 42px 52px; }
main.auth { background: linear-gradient(135deg, #f5f7fa 0%, var(--ivory-mist) 100%); }
.auth-card { border: 1px solid var(--line); border-top: 4px solid var(--steel-blue); box-shadow: var(--shadow-card); }
.auth-brand { color: var(--deep-space-blue); font-size: 24px; font-weight: 850; letter-spacing: 2.4px; }
.auth-brand small { display: block; margin-top: 2px; color: var(--lavender-grey); font-size: 10px; font-weight: 750; letter-spacing: .7px; }
.auth-heading { margin: 26px 0 20px; }
.auth-heading .eyebrow { margin-bottom: 5px; }
.auth-heading h1 { margin: 0; }
.auth-form { gap: 14px; }
.auth-form label { display: grid; gap: 6px; color: var(--deep-space-blue); }
.auth-form input { margin: 0; }
.auth-form button { margin: 4px 0 0; }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; }
.auth-links a, .back-link { color: var(--steel-blue); font-size: 12px; font-weight: 750; text-decoration: none; }
.auth-links a:hover, .back-link:hover { text-decoration: underline; }
.auth-test-access { display: block; margin-top: 16px; color: var(--lavender-grey); font-size: 10px; }
.access-request-card { border-top-color: var(--deep-space-blue); }
.access-request-card .auth-heading { margin-bottom: 18px; }
.access-request-card .access-request-form { margin-top: 0; }
.access-request-card .access-consents { margin-top: 2px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.access-request-card .access-request-form button { margin: 0; background: var(--steel-blue); }
.access-request-card .back-link { margin-top: 18px; }
.access-confirmation-card { display: grid; gap: 0; align-content: start; }
.auth-confirmation-copy { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.access-confirmation-card .button { width: auto; min-width: 160px; margin: 0; }
.access-flow-card { border-top-color: var(--deep-space-blue); }
.auth-flow-copy { margin: -4px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.access-flow-card .back-link { display: inline-flex; width: max-content; margin-top: 18px; }
header { margin-bottom: 26px; }
h1 { color: var(--deep-space-blue); font-size: clamp(26px, 3vw, 34px); line-height: 1.18; letter-spacing: -.65px; }
h2 { color: var(--deep-space-blue); font-size: 18px; letter-spacing: -.2px; }
h3 { color: var(--deep-space-blue); }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-header .button { width: auto; min-width: 150px; margin: 0; }
.eyebrow { color: var(--steel-blue); font-size: 10px; letter-spacing: 1.3px; }
header p:not(.eyebrow), .panel p { color: var(--muted); }

.panel, .import-section { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.panel { padding: 20px; overflow: visible; }
.import-section { padding: 22px; background: var(--white); }
.import-card, .criterion, .operational-group, .competency-panel { border-color: var(--line); background: var(--surface-soft); }

/* Resumo de métricas: padrão dos cards compactos do dashboard de referência. */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.cards article { display: grid; gap: 5px; min-height: 118px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.cards article > span, .cards article > small { color: var(--muted); font-size: 12px; font-weight: 650; }
.cards article > strong { color: var(--deep-space-blue); font-size: 28px; line-height: 1.12; letter-spacing: -.5px; }
.cards article > small { font-weight: 500; }
.dashboard-page-header { margin-bottom: 18px; }
.dashboard-page-header .button { min-width: 132px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 14px; }
.dashboard-grid .panel { margin: 0; min-height: 180px; }
.dashboard-status h2, .dashboard-next-step h2 { margin-bottom: 18px; }
.dashboard-status dl { display: grid; gap: 12px; margin: 0; }
.dashboard-status dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dashboard-status dl div:last-child { padding-bottom: 0; border: 0; }
.dashboard-status dt { color: var(--muted); }
.dashboard-status dd { margin: 0; color: var(--deep-space-blue); font-weight: 750; text-align: right; }
.dashboard-next-step { display: grid; align-content: start; gap: 12px; background: var(--surface-soft); }
.dashboard-next-step p { margin: 0; font-size: 13px; }
.dashboard-next-step a { display: inline-flex; align-items: center; width: max-content; min-height: 34px; padding: 7px 10px; border-radius: 7px; background: #edf3fb; color: var(--steel-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.dashboard-next-step a:hover { text-decoration: underline; }

/* Diretório de supervisores */
.supervisor-create-panel { padding: 0; margin-bottom: 14px; }
.supervisor-create-panel details > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; color: var(--deep-space-blue); cursor: pointer; list-style: none; }
.supervisor-create-panel details > summary::-webkit-details-marker { display: none; }
.supervisor-create-panel summary span { display: grid; gap: 1px; }
.supervisor-create-panel summary small { color: var(--muted); font-size: 11px; font-weight: 500; }
.supervisor-create-panel summary i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #cbdcf1; border-radius: 50%; color: var(--steel-blue); font-size: 19px; font-style: normal; line-height: 1; }
.supervisor-create-panel details[open] > summary { border-bottom: 1px solid var(--line); }
.supervisor-create-panel details[open] > summary i { transform: rotate(45deg); }
.supervisor-create-panel form { padding: 18px; }
.supervisors-directory { padding: 0; overflow: hidden; }
.directory-heading { margin: 0; padding: 18px; border-bottom: 1px solid var(--line); }
.directory-heading h2 { margin: 0; }
.directory-result-count { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.directory-search { margin: 0; }
.supervisors-directory .table-wrap { border: 0; border-radius: 0; }
.supervisors-table thead th { background: var(--surface-soft); }
.supervisors-table tbody td { padding-top: 15px; padding-bottom: 15px; }
.supervisors-table .empty { margin: 0; text-align: left; }

/* Perfil do Supervisor */
.profile-header { display: grid; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.profile-header > div { align-items: center; }
.profile-header h1 { font-size: clamp(28px, 3vw, 38px); }
.profile-header h1 + p, .profile-header p { color: var(--muted); }
.profile-header .button { min-width: 140px; }
.my-page-header { margin-bottom: 2px; }
.my-page-header > div { justify-content: flex-start; }
.profile-summary { margin: 18px 0 14px; padding: 20px; border: 1px solid #cbdcf1; border-radius: var(--radius); background: #f5f9fe; box-shadow: none; }
.profile-summary h2 { font-size: 20px; }
.profile-summary .profile-score { min-width: 164px; padding: 10px 14px; border-radius: 9px; background: var(--steel-blue); color: #fff; }
.profile-summary .profile-score strong, .profile-summary .profile-score span { color: #fff; }
.profile-summary .profile-score strong { font-size: 32px; }
.profile-summary .profile-score span { opacity: .88; }
.profile-metrics { gap: 12px; margin-bottom: 14px; }
.profile-metrics article { min-height: 98px; padding: 16px; border-top-width: 3px; box-shadow: none; }
.profile-metrics strong { font-size: 25px; }
.profile-grid { gap: 14px; }
.profile-grid .panel, .profile-history { box-shadow: none; }
.profile-section-heading { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.profile-data { gap: 14px 20px; }
.profile-data div { padding-bottom: 10px; border-bottom: 1px solid #edf0f4; }
.profile-data dt { color: var(--lavender-grey); font-size: 10px; letter-spacing: .55px; text-transform: uppercase; }
.profile-data dd { color: var(--deep-space-blue); }
.competency-score-list { gap: 0; }
.competency-score-list div { align-items: center; padding: 11px 0; }
.competency-score-list strong { min-width: 62px; justify-content: center; }
.profile-radars { margin: 14px 0; }
.profile-radars .section-heading { margin-bottom: 14px; }
.profile-visual-grid { gap: 14px; }
.profile-visual-grid > article { border-color: var(--line); background: var(--white); }
.profile-history { padding: 0; overflow: hidden; }
.profile-history > .eyebrow, .profile-history > h2 { margin-left: 20px; margin-right: 20px; }
.profile-history > .eyebrow { margin-top: 20px; }
.profile-history > h2 { margin-bottom: 16px; }
.profile-history .table-wrap { border-width: 1px 0 0; border-radius: 0; }
.profile-history .table-wrap table { min-width: 760px; }
.profile-danger-zone { box-shadow: none; }
.recognition-panel { padding: 0; overflow: hidden; box-shadow: none; }
.recognition-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.recognition-heading h2 { margin: 0; }
.recognition-create { position: relative; }
.recognition-create > summary { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 8px 16px; box-sizing: border-box; list-style: none; cursor: pointer; }
.recognition-create > summary::-webkit-details-marker { display: none; }
.recognition-create[open] > summary { margin-bottom: 12px; }
.recognition-form { display: grid; gap: 12px; width: min(520px, 70vw); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.recognition-form label, .recognition-cancel label { display: grid; gap: 6px; color: var(--deep-space-blue); font-size: 12px; font-weight: 750; }
.recognition-form input, .recognition-form textarea, .recognition-cancel textarea { width: 100%; margin: 0; box-sizing: border-box; }
.recognition-form button { justify-self: end; width: auto; min-width: 150px; margin: 0; }
.recognition-list { display: grid; }
.recognition-card { padding: 18px 20px; border-top: 1px solid var(--line); }
.recognition-card:first-child { border-top: 0; }
.recognition-card.is-cancelled { background: var(--surface-soft); }
.recognition-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.recognition-card h3 { margin: 0; color: var(--deep-space-blue); font-size: 16px; }
.recognition-card-heading div > span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.recognition-card > p, .recognition-cancellation p { white-space: pre-line; overflow-wrap: anywhere; }
.recognition-card > p { margin: 12px 0 0; }
.recognition-cancellation { margin-top: 14px; padding: 12px; border-left: 3px solid var(--burnt-peach); background: var(--ivory-mist); }
.recognition-cancellation strong, .recognition-cancellation span { display: block; }
.recognition-cancellation span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.recognition-cancellation p { margin: 8px 0 0; }
.recognition-cancel { margin-top: 14px; }
.recognition-cancel summary { width: fit-content; color: var(--burnt-peach); font-size: 12px; font-weight: 750; cursor: pointer; }
.recognition-cancel form { display: grid; gap: 10px; max-width: 560px; margin-top: 10px; }
.recognition-cancel button { width: fit-content; margin: 0; }
@media (max-width: 700px) { .recognition-heading { align-items: stretch; flex-direction: column; }.recognition-create > summary { width: 100%; box-sizing: border-box; }.recognition-form { width: 100%; box-sizing: border-box; }.recognition-card-heading { flex-direction: column; }.recognition-form button { width: 100%; } }

/* Avaliação */
.evaluation-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.evaluation-context { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; }
.evaluation-context div { display: grid; gap: 2px; min-width: 120px; padding: 8px 10px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.evaluation-context dt { color: var(--lavender-grey); font-size: 9px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.evaluation-context dd { margin: 0; color: var(--deep-space-blue); font-size: 12px; font-weight: 750; }
.evaluation-block { gap: 14px; padding: 20px; box-shadow: none; }
.evaluation-block .block-header { padding-bottom: 12px; }
.evaluation-block .block-header .muted { margin: 0; }
.competency-panel { gap: 13px; padding: 18px; border-radius: var(--radius); }
.competency-panel > .eyebrow { margin: 0; }
.competency-panel > p:not(.eyebrow) { margin: -7px 0 0; font-size: 12px; }
.comment-field > small { color: var(--lavender-grey); font-size: 10px; font-weight: 700; }
.likert-five { gap: 7px; }
.likert-five label { min-height: 76px; border-color: var(--line); background: var(--white); }
.likert-five span { width: 28px; height: 28px; background: #eef3fb; color: var(--deep-space-blue); }
.likert-five label:has(input:checked) { border-color: var(--steel-blue); background: #edf3fb; box-shadow: 0 0 0 2px rgba(45, 125, 210, .13); }
.likert-five label:has(input:checked) span { background: var(--steel-blue); }
.comment-field { padding-top: 2px; }
.development-action-field { border-color: #bcd7f4; border-left-color: var(--steel-blue); background: #f5f9fe; }
.evaluation-actions { position: sticky; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; padding: 12px 18px; box-shadow: 0 8px 24px rgba(6, 37, 61, .12); }
.evaluation-actions > span { color: var(--muted); font-size: 12px; }
.evaluation-actions > div { display: flex; gap: 8px; }
.evaluation-actions button { width: auto; min-width: 150px; margin: 0; }
.security-dialog { border-radius: var(--radius); box-shadow: 0 22px 60px rgba(6, 37, 61, .25); }
.security-dialog::backdrop { background: rgba(6, 37, 61, .64); }

input, select, textarea { border-color: #d9dee8; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--steel-blue); box-shadow: 0 0 0 3px rgba(45, 125, 210, .13); }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, summary:focus-visible { outline: 3px solid rgba(45, 125, 210, .45); outline-offset: 3px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 8px 16px; box-sizing: border-box; vertical-align: middle; line-height: 1.25; border-radius: 8px; background: var(--color-brand-accent-warm, #ea580c); color: #fff; font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif); font-weight: 700; box-shadow: var(--shadow-button-warm, 0 4px 14px rgba(234, 88, 12, 0.28)); transition: transform .12s ease, background .15s ease, color .15s ease; }
button:hover, .button:hover { background: var(--color-brand-accent-warm-hover, #c2410c); color: var(--white); }
button:active, .button:active { transform: translateY(1px); }
.compact-button, button.compact-button, .button.compact-button { min-height: 32px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; line-height: 1.25; }
.secondary { background: var(--color-brand-action-subtle, #edf5fb); color: var(--color-brand-action, #1164b4); border: 1px solid rgba(17, 100, 180, 0.25); box-shadow: none; }
.secondary:hover { background: #dceafe; color: var(--color-brand-action-hover, #0c4d8c); }
button.danger, .danger { background: var(--burnt-peach); }
button.danger:hover, .danger:hover { background: #cc5930; color: var(--white); }

/* Links de ação em tabelas: impedem que o estilo legado de link reduza o contraste no hover. */
table td > a.button:hover { color: var(--white); text-decoration: none; }
table td > a.button.secondary:hover { color: #174e84; }

table { font-size: 13px; }
th { padding: 11px 12px; color: var(--deep-space-blue); font-size: 11px; font-weight: 800; letter-spacing: .55px; }
td { padding: 12px; border-bottom-color: var(--line); }
tbody tr:hover { background: #fafcff; }
.table-wrap { border: 1px solid var(--line); border-radius: 10px; }
.table-wrap table { overflow: hidden; }

.flash { border: 1px solid transparent; box-shadow: var(--shadow-card); }
.success { background: #e8f5ee; color: #176b45; border-color: #c7e8d4; }
.error { background: #fff0eb; color: #a74320; border-color: #f5c7b7; }
.empty { padding: 30px 18px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
form[aria-busy="true"] button:disabled { cursor: wait; opacity: .72; }

.profile-metrics article, .development-summary-card, .my-page-follow-up article { border-color: var(--line); box-shadow: var(--shadow-card); }
.profile-metrics article, .my-page-follow-up article { border-top-color: var(--steel-blue); }
.development-summary-card.selected { border-color: #bcd7f4; border-top-color: var(--steel-blue); background: #f4f8fd; }
.development-summary-card.selected strong, .my-page-follow-up strong { color: var(--steel-blue); }
.my-page-follow-up { gap: 14px; }
.my-page-follow-up article { min-height: 186px; padding: 18px; }
.my-page-follow-up .button { min-height: 34px; padding: 7px 10px; font-size: 12px; }

/* Ciclos: fluxo único, visual compacto e ações alinhadas. */
.cycles-page-header { margin-bottom: 18px; }
.cycle-create-panel, .cycle-list-panel, .cycle-assignment-panel { margin-bottom: 14px; box-shadow: var(--shadow-card); }
.cycle-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.cycle-panel-heading h2, .cycle-panel-heading h3, .cycle-panel-heading .eyebrow { margin: 0; }
.cycle-panel-heading .eyebrow { margin-bottom: 4px; }
.cycle-create-panel { background: var(--white); }
.cycle-create-panel fieldset, .cycle-assignment-panel fieldset { background: var(--surface-soft); border-color: var(--line); }
.cycle-create-panel legend, .cycle-assignment-panel legend { color: var(--deep-space-blue); font-size: 13px; }
.cycle-controls label, .assignment-search { color: var(--deep-space-blue); font-size: 12px; font-weight: 750; }
.cycle-form-actions { display: flex; justify-content: flex-end; }
.cycle-form-actions button { width: auto; min-width: 155px; margin: 0; }
.cycle-list-panel { padding: 0; overflow: hidden; }
.cycle-list-panel > .cycle-panel-heading { padding: 18px 20px 14px; }
.cycle-list-panel > .table-wrap { border-width: 1px 0 0; border-radius: 0; overflow-x: auto; }
.cycles-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.cycles-table thead th {
  background: #f7faff;
  color: var(--deep-space-blue);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 12px 14px;
  border-bottom: 1px solid #cbdcf1;
  white-space: nowrap;
}
.cycles-table td {
  vertical-align: middle;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e3e9;
  font-size: 13px;
  white-space: nowrap;
}
.cycles-table td:first-child { color: var(--deep-space-blue); font-weight: 700; }
/* Alinhamento perfeito de métricas numéricas e prazos (TH e TD correspondentes) */
.cycles-table thead th:nth-child(4),
.cycles-table td:nth-child(4) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--deep-space-blue);
}
.cycles-table thead th:nth-child(5),
.cycles-table td:nth-child(5),
.cycles-table thead th:nth-child(6),
.cycles-table td:nth-child(6),
.cycles-table thead th:nth-child(7),
.cycles-table td:nth-child(7) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  color: var(--deep-space-blue);
}
.cycles-table thead th:nth-child(8),
.cycles-table td:nth-child(8) {
  text-align: center;
}
.cycles-table td.cycle-actions-cell,
.cycles-table thead th:last-child {
  text-align: right;
  padding-right: 18px;
}

.status-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.cycle-status-select {
  height: 32px;
  padding: 0 24px 0 10px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .4px;
  border: 1px solid #cbdcf1;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--deep-space-blue);
  cursor: pointer;
  margin: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cycle-status-select--aberto {
  border-color: #2d7dd2;
  background-color: #f0f7ff;
  color: #174f85;
}
.cycle-status-select--encerrado {
  border-color: #d1d5db;
  background-color: #f9fafb;
  color: #4b5563;
}
.cycle-status-select--rascunho {
  border-color: #fcd34d;
  background-color: #fffbeb;
  color: #92400e;
}
.cycle-status-select--cancelado {
  border-color: #fca5a5;
  background-color: #fef2f2;
  color: #991b1b;
}
.status-save-btn {
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin: 0;
  white-space: nowrap;
}
.cycles-table .compact-button {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cycle-empty-cell { padding: 28px 20px !important; color: var(--muted); text-align: left; }
.cycle-assignment-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cycle-assignment-heading .eyebrow, .cycle-assignment-heading h2 { margin: 0; }
.cycle-assignment-heading .eyebrow { margin-bottom: 4px; }
.cycle-assignment-heading dl { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; }
.cycle-assignment-heading dl div { display: grid; gap: 2px; min-width: 132px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.cycle-assignment-heading dt { color: var(--lavender-grey); font-size: 9px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.cycle-assignment-heading dd { margin: 0; color: var(--deep-space-blue); font-size: 12px; font-weight: 750; }
.cycle-assignment-panel .assignment-form { margin-top: 16px; }
.cycle-assignment-panel .assigned-list { margin-top: 18px; padding-top: 16px; }
.cycle-assignment-panel .assigned-list > .cycle-panel-heading { margin-bottom: 10px; }
.cycle-assignment-panel .assigned-list h3 { font-size: 15px; }
.cycle-assignment-panel .supervisor-picker label { border-color: var(--line); }
.cycle-assignment-panel .supervisor-picker label:hover { border-color: #a8caeb; background: #f7fbff; }

/* Avaliador: duas listas diretas, com ênfase apenas no próximo passo. */
.evaluator-page-header { margin-bottom: 18px; }
.evaluation-list-block { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.evaluation-list-block .list-block-header { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.evaluation-list-block .list-block-header h2, .evaluation-list-block .list-block-header .eyebrow { margin: 0; }
.evaluation-list-block .list-block-header .eyebrow { margin-bottom: 4px; }
.evaluation-list-block .table-wrap { border-width: 0; border-radius: 0; }
.evaluator-evaluations-table td { vertical-align: middle; }
.evaluator-evaluations-table td:first-child { color: var(--deep-space-blue); }
.evaluator-evaluations-table td:last-child { text-align: right; }
.evaluator-evaluations-table .compact-button { min-width: 104px; }
.evaluation-empty-cell { padding: 30px 20px !important; color: var(--muted); text-align: left; }
.count-badge { min-width: 32px; min-height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--steel-blue); color: #fff; font-size: 14px; font-weight: 800; }
.count-badge.neutral { background: #edf3fb; color: #205e9c; }
.status-badge { border-radius: 999px; padding: 5px 9px; font-size: 10px; letter-spacing: .25px; }
.status-badge.pending { background: var(--ivory-mist); color: var(--deep-space-blue); }
.status-badge.sent { background: #edf3fb; color: #205e9c; }

/* Catálogo de ações: formulário e itens do catálogo no mesmo padrão ORCA. */
.catalog-create-panel { box-shadow: var(--shadow-card); }
.catalog-create-panel > .eyebrow { margin-bottom: 4px; }
.catalog-create-panel h2 { margin-bottom: 18px; }
.catalog-action-form > label, .catalog-main-fields label, .catalog-detail-fields label { color: var(--deep-space-blue); }
.catalog-main-fields.catalog-main-fields-without-code { grid-template-columns: minmax(180px, .8fr) minmax(240px, 1.4fr); }
.catalog-action-form fieldset { border-color: var(--line); background: var(--surface-soft); }
.catalog-action-form legend { color: var(--deep-space-blue); }
.catalog-competency-picker label { border: 1px solid transparent; background: var(--white); }
.catalog-competency-picker label:hover { border-color: #bcd7f4; background: #f7fbff; }
.competency-picker .competency-option small { display: none; }
.competency-picker .competency-option:hover small, .competency-picker .competency-option:focus-within small { display: block; }
.catalog-action-form > label.catalog-status { border-color: var(--line); background: var(--surface-soft); color: var(--deep-space-blue); }
.catalog-action-form > label.catalog-status input { accent-color: var(--steel-blue); }
.catalog-action-list { gap: 10px; }
.catalog-action-item { border-color: var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); }
.catalog-action-item summary { padding: 15px 16px; }
.catalog-action-item summary span { color: var(--deep-space-blue); }
.catalog-action-item summary span b { color: var(--steel-blue); }
.catalog-action-item summary .active { background: #edf3fb; color: #205e9c; }
.catalog-action-item summary .inactive { background: #fff0eb; color: #a74320; }
.catalog-action-item form { border-top-color: #cbdcf1; }

/* Parâmetros operacionais: planilha com foco visual na célula em edição. */
.operational-page-header { margin-bottom: 18px; }
.spreadsheet-panel { border-color: var(--line); box-shadow: var(--shadow-card); }
.spreadsheet-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(360px, 430px) minmax(220px, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 20px;
  justify-content: stretch;
  background: #f7faff;
  border-bottom: 1px solid #cbdcf1;
  border-radius: 12px 12px 0 0;
}
.spreadsheet-toolbar > * { min-width: 0; }

form.spreadsheet-month,
.spreadsheet-month {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}
.spreadsheet-month label,
.operational-segment-filter legend,
.operational-search-group label {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: var(--deep-space-blue);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 14px;
  height: 14px;
  box-sizing: border-box;
}
.spreadsheet-month input[type="month"] {
  width: 100%;
  height: 42px;
  line-height: 42px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #cbdcf1;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-space-blue);
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(6,37,61,.03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.spreadsheet-month input[type="month"]:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(45, 125, 210, .18);
}

.operational-segment-filter {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.slicer-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  width: 100%;
  height: 42px;
  padding: 3px;
  border: 1px solid #cbdcf1;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 1px 2px rgba(6,37,61,.04);
  box-sizing: border-box;
}
.segment-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 0;
  height: 100%;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.segment-option:hover {
  background: #f3f7fc;
  color: var(--deep-space-blue);
}
.segment-option.active {
  background: var(--steel-blue);
  color: var(--white);
  box-shadow: 0 1px 4px rgba(45, 125, 210, .25);
}
.segment-indicator {
  display: none;
  font-size: 11px;
  font-weight: 900;
}
.segment-option.active .segment-indicator {
  display: inline;
}
.segment-option:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--steel-blue);
  outline-offset: 1px;
}

.operational-search-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.search-input-box {
  position: relative;
  width: 100%;
  height: 42px;
  box-sizing: border-box;
}
.search-input-box .search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}
.operational-search { width: 100%; max-width: none; min-width: 0; box-sizing: border-box; }
.search-input-box .operational-search {
  height: 42px;
  line-height: 42px;
  margin: 0;
  padding: 0 12px 0 34px;
  border: 1px solid #cbdcf1;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-space-blue);
  font-size: 13px;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(6,37,61,.03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-input-box .operational-search:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(45, 125, 210, .18);
}
.search-input-box .operational-search::placeholder {
  color: #8da2b5;
  font-size: 12px;
}

@media (max-width: 1100px) { .spreadsheet-toolbar { grid-template-columns: minmax(0, 1fr); }.spreadsheet-month label, .operational-segment-filter, .operational-search { width: 100%; } }
@media (max-width: 620px) { .slicer-group { display: grid; grid-template-columns: 1fr; height: auto; width: 100%; }.segment-option { height: 38px; justify-content: flex-start; padding: 0 12px; }.operational-segment-filter { width: 100%; } }
.spreadsheet-table thead th, .spreadsheet-table thead th:first-child { background: #edf3fb; color: var(--deep-space-blue); }
.spreadsheet-table th:first-child, .spreadsheet-table td:first-child { background: var(--white); }
.spreadsheet-table tbody tr:hover td, .spreadsheet-table tbody tr:hover td:first-child { background: #f7fbff; }
.spreadsheet-table input { background: #f8fbff; }
.spreadsheet-table input:focus { outline-color: rgba(45, 125, 210, .42); border-color: var(--steel-blue); }
.spreadsheet-footer { border-top-color: #cbdcf1; background: #f7faff; }
.spreadsheet-footer span.dirty { color: #a74320; }

/* Ranking: hierarquia entre posição, pessoa e nota sem ruído visual. */
.ranking-page-header { margin-bottom: 18px; }
.ranking-panel { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.ranking-filter { margin: 0; padding: 16px 20px; border-bottom: 1px solid #cbdcf1; background: #f7faff; }
.ranking-filter label { color: var(--deep-space-blue); font-size: 12px; }
.ranking-heading { margin: 0; padding: 18px 20px 14px; }
.ranking-heading .eyebrow, .ranking-heading h2 { margin: 0; }
.ranking-heading .eyebrow { margin-bottom: 4px; }
.ranking-panel > .table-wrap { border-width: 1px 0 0; border-radius: 0; }
.ranking-table td { vertical-align: middle; }
.ranking-table td:nth-child(2) { color: var(--deep-space-blue); }
.ranking-table th:last-child, .ranking-table td:last-child { text-align: left; }
.ranking-position { min-width: 34px; background: #edf3fb; color: #205e9c; }
.ranking-top-position { background: var(--steel-blue); color: #fff; }
.ranking-status { color: var(--muted); font-size: 12px; }
.ranking-table .ranking-score, .pairs-table .ranking-score { background: linear-gradient(90deg, var(--burnt-peach) 0%, var(--steel-blue) 52%, var(--deep-space-blue) 100%); background-position: var(--ranking-score-position, 50%) 50%; background-size: 400% 100%; }
.ranking-segmented { margin: 0 20px 18px; }
.ranking-segmented a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 0; margin: 0; padding: 9px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.ranking-segmented a:hover { background: #edf3fb; color: #205e9c; }
.ranking-segmented a[aria-selected="true"] { background: var(--steel-blue); color: var(--white); }
.ranking-view[hidden] { display: none !important; }
.ranking-pair-names { min-width: 230px; }
.ranking-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid #cbdcf1; }
.ranking-pagination span { color: var(--muted); font-size: 13px; }
.ranking-pagination a { width: auto; min-width: 0; margin: 0; text-decoration: none; }
@media (max-width: 620px) { .ranking-pagination { justify-content: space-between; }.ranking-segmented { display: grid; grid-template-columns: 1fr; width: auto; }.ranking-segmented a { width: 100%; } }

/* Duplas: mantém a comparação central e deixa métricas complementares sob demanda. */
.pairs-page-header { margin-bottom: 18px; }
.pairs-page-panel { overflow: hidden; }
.pairs-formation-panel { margin: 0; border: 0; border-radius: 0; background: var(--white); }
.pairs-formation-panel .ranking-heading { padding: 0 0 14px; }
.elite-summary { gap: 7px; margin-bottom: 14px; }
.elite-summary span { border: 1px solid #cbdcf1; background: #f7faff; color: var(--muted); }
.elite-summary b, .pair-metrics b { color: var(--steel-blue); }
.pairs-segmented { border-color: var(--line); background: #f7faff; }
.pairs-segmented button:hover { background: #edf3fb; color: #205e9c; }
.pairs-segmented button[aria-selected="true"]:hover { background: var(--steel-blue); color: var(--white); }
.pairs-view-heading { padding-top: 2px; }
.pairs-view-heading h3 { color: var(--deep-space-blue); }
.pairs-table td { vertical-align: middle; }
.pairs-table td:nth-child(3), .pairs-table td:nth-child(4) { color: var(--deep-space-blue); font-weight: 750; }
.pairs-table th:nth-child(4), .pairs-table td:nth-child(4), .persisted-scores-table th:last-child, .persisted-scores-table td:last-child { text-align: left; }
.pair-metrics { background: #f7faff; }
.pair-metrics div { border-color: #cbdcf1; }

/* Modelo individual: critérios e execuções em blocos operacionais compactos. */
.model-page-header { margin-bottom: 18px; }
.model-run-panel, .model-runs-panel { box-shadow: var(--shadow-card); }
.model-panel-heading { margin-bottom: 16px; }
.model-panel-heading .eyebrow, .model-panel-heading h2 { margin: 0; }
.model-panel-heading .eyebrow { margin-bottom: 4px; }
.model-run-panel .model-form > label:first-child { width: min(360px, 100%); color: var(--deep-space-blue); }
.model-scope-option { width: max-content; margin: 2px 0 0; padding: 8px 10px; border: 1px solid #cbdcf1; border-radius: 8px; background: #f7faff; color: var(--deep-space-blue); }
.model-scope-option input { accent-color: var(--steel-blue); }
.criteria-selection-actions { margin: 4px 0 0; }
.criteria-grid { margin: 0; }
.criterion { border-color: var(--line); background: var(--surface-soft); }
.criterion:hover { border-color: #bcd7f4; background: #f7fbff; }
.criterion.unavailable { background: #f4f6f9; }
.criterion-selection b { color: var(--deep-space-blue); }
.criterion-selection small { color: var(--lavender-grey); }
.weight-bounds { padding-top: 2px; }
.weight-bounds label { color: var(--muted); font-size: 11px; }
.model-run-actions { display: flex; justify-content: flex-end; }
.model-run-actions button { width: auto; min-width: 210px; margin: 0; }
.model-runs-panel { padding: 0; overflow: hidden; }
.model-runs-panel > .model-panel-heading { padding: 18px 20px 0; }
.model-runs-panel > .table-wrap { border-width: 1px 0 0; border-radius: 0; }
.model-runs-table td { vertical-align: middle; }
.model-runs-table td:first-child { color: var(--deep-space-blue); font-weight: 750; }
.model-runs-table td:last-child a { color: var(--steel-blue); font-weight: 750; text-decoration: none; }
.model-runs-table td:last-child a:hover { text-decoration: underline; }

/* Resultado do modelo: leitura da equipe e do resultado sem competição entre blocos. */
.team-profile-header { border-color: #cbdcf1; background: #f7faff; box-shadow: var(--shadow-card); }
.team-profile-meta span { border: 1px solid #cbdcf1; background: var(--white); color: var(--lavender-grey); }
.team-profile-header .eyebrow, .chart-switcher .eyebrow, .persisted-scores-header .eyebrow, .weights-distribution > .eyebrow { display: none; }
.team-profile-header .muted, .persisted-scores-header .muted, .weights-distribution > .muted { display: none; }
.team-profile-header h2, .chart-switcher h2, .persisted-scores-header h2 { margin: 0; }
.team-profile-meta b { color: var(--deep-space-blue); }
.analysis-summary { gap: 12px; }
.analysis-summary article { border-color: var(--line); border-top-color: var(--steel-blue); box-shadow: var(--shadow-card); }
.analysis-summary strong { color: var(--deep-space-blue); }
.chart-switcher { border-color: var(--line); background: var(--white); box-shadow: var(--shadow-card); }
.chart-switcher h2 { color: var(--deep-space-blue); }
.chart-segmented { border-color: var(--line); background: #f7faff; }
.chart-segmented button:hover { background: #edf3fb; color: #205e9c; }
.analysis-panel { border-color: var(--line); box-shadow: var(--shadow-card); }
.analysis-panel > .eyebrow { margin-bottom: 4px; }
.radar-grid section { border-color: #cbdcf1; background: #f9fbff; }
.weights-distribution { border-top-color: #cbdcf1; }
.persisted-scores { border-color: var(--line); box-shadow: var(--shadow-card); }
.persisted-scores-header { border-bottom-color: #cbdcf1; }
.persisted-scores-table td:last-child { color: var(--steel-blue); }

/* Administração: atalhos claros e métricas de acesso em um único padrão. */
.administration-page-header { margin-bottom: 18px; }
.admin-nav { gap: 12px; margin-bottom: 16px; }
.admin-nav a, .admin-nav a:nth-child(2), .admin-nav a:nth-child(3) { min-height: 112px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--steel-blue); border-radius: var(--radius); background: var(--white); color: var(--deep-space-blue); box-shadow: var(--shadow-card); transition: border-color .16s ease, background .16s ease; }
.admin-nav a:nth-child(3) { border-top-color: var(--deep-space-blue); }
.admin-nav a:hover { border-color: #a8caeb; background: #f7fbff; }
.admin-nav small { color: var(--muted); opacity: 1; font-size: 12px; }
.metrics { gap: 12px; }
.metric { border-color: var(--line); border-top: 3px solid #cbdcf1; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.metric small { color: var(--muted); font-size: 11px; font-weight: 700; }
.metric strong { color: var(--deep-space-blue); font-size: 27px; }

/* Solicitações de acesso: filtros e tabela permanecem integralmente no painel. */
.access-requests-header { margin-bottom: 18px; }
.access-requests-panel { padding: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.access-requests-filter { display: grid !important; grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) 128px !important; gap: 10px; align-items: end; margin-bottom: 16px; }
.access-requests-filter input, .access-requests-filter select, .access-requests-filter button { margin: 0; }
.access-requests-filter button { min-width: 0; }
.access-requests-table-wrap { width: 100%; overflow-x: auto; border-color: var(--line); }
.access-requests-table { min-width: 980px; }
.access-requests-table td { vertical-align: middle; white-space: normal; }
.access-requests-table td:first-child { min-width: 200px; color: var(--deep-space-blue); }
.access-requests-table td:first-child small { display: block; margin-top: 3px; color: var(--muted); }
.access-requests-table td:nth-child(4) { min-width: 150px; }
.access-requests-table td:nth-child(5) { min-width: 155px; }
.access-request-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #edf3fb; color: #205e9c; font-size: 10px; font-weight: 800; white-space: nowrap; }
.access-request-actions { min-width: 155px; }
.access-request-reviewer { color: var(--muted); font-size: 12px; }
.access-requests-empty { padding: 28px 16px !important; color: var(--muted); }
@media (max-width: 700px) { .access-requests-filter { grid-template-columns: 1fr !important; } .access-requests-panel { padding: 14px; } }

/* Usuários, solicitações de perfil e auditoria: sem vazamento de tabelas ou controles. */
.users-management-header, .audit-page-header { margin-bottom: 18px; }
.users-create-panel, .users-list-panel, .profile-change-panel, .audit-panel { box-shadow: var(--shadow-card); }
.users-create-panel { padding: 0; overflow: hidden; }
.users-create-panel .create-user > summary { padding: 16px 18px; color: var(--steel-blue); font-weight: 750; }
.users-create-panel .create-user[open] > summary { border-bottom: 1px solid #cbdcf1; }
.users-create-panel .create-user > form { padding: 18px; }
.users-list-panel, .profile-change-panel, .audit-panel { padding: 16px; overflow: hidden; }
.users-filter { display: grid !important; grid-template-columns: minmax(250px, 1fr) minmax(140px, 180px) minmax(140px, 180px) 110px !important; gap: 10px; align-items: end; margin-bottom: 16px; }
.users-filter input, .users-filter select, .users-filter button { margin: 0; }
.users-filter button { min-width: 0; }
.users-table-wrap, .profile-change-table-wrap { width: 100%; overflow-x: auto; border-color: var(--line); }
.users-table { min-width: 1030px; }
.users-table td { vertical-align: middle; white-space: normal; }
.users-table td:first-child { min-width: 190px; }
.users-table td:first-child a { color: var(--deep-space-blue); font-weight: 800; text-decoration: none; }
.users-table td:first-child a:hover { color: var(--steel-blue); text-decoration: underline; }
.users-table td small, .profile-change-table td small { display: block; margin-top: 3px; color: var(--muted); }
.users-table td:last-child { width: 130px; min-width: 130px; }
.users-table .user-actions { width: max-content; min-width: 0; }
.users-table .user-actions[open] { width: 290px; min-width: 290px; }
.profile-change-panel > h2 { margin: 0 0 14px; }
.profile-change-table { min-width: 860px; }
.profile-change-table td { vertical-align: top; white-space: normal; }
.profile-change-table td:nth-child(1) { min-width: 170px; }
.profile-change-table td:nth-child(3) { min-width: 180px; }
.profile-change-actions { min-width: 230px; }
.profile-change-actions form { display: grid; gap: 8px; margin: 0; }
.profile-change-actions form + form { margin-top: 10px; padding-top: 10px; border-top: 1px solid #cbdcf1; }
.profile-change-actions button { margin: 0; }
.audit-search { display: grid !important; grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 170px)) 110px !important; gap: 10px; align-items: end; margin-bottom: 16px; }
.audit-search input, .audit-search select, .audit-search button { margin: 0; }
.audit-search button { min-width: 0; }
.audit-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.audit-table { min-width: 1120px; }
.audit-table td { vertical-align: middle; white-space: normal; }
@media (max-width: 850px) { .users-filter, .audit-search { grid-template-columns: 1fr !important; } }

/* Detalhe do usuário: dados de acesso consultáveis sem competir com as auditorias. */
.user-detail-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.user-detail-header > p:last-child { margin: 5px 0 0; color: var(--muted); }
.user-profile-panel, .user-detail-table-panel { box-shadow: var(--shadow-card); }
.user-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.user-detail-heading .eyebrow, .user-detail-heading h2 { margin: 0; }
.user-detail-heading .eyebrow { margin-bottom: 4px; }
.user-detail-heading form { display: block; }
.user-detail-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.user-detail-data div { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid #edf0f4; }
.user-detail-data dt, .user-scopes > span { color: var(--lavender-grey); font-size: 10px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.user-detail-data dd { margin: 0; color: var(--deep-space-blue); font-size: 13px; font-weight: 700; }
.user-scopes { display: grid; gap: 7px; margin-top: 16px; }
.user-scopes > div { display: flex; flex-wrap: wrap; gap: 6px; }
.user-detail-table-panel { padding: 0; overflow: hidden; }
.user-detail-table-panel > .user-detail-heading { padding: 18px 20px 0; }
.user-detail-table-wrap { border-width: 1px 0 0; border-radius: 0; }
.user-detail-table-wrap table { min-width: 720px; }
.user-detail-table-wrap td { white-space: normal; vertical-align: middle; }
.user-detail-empty { padding: 28px 20px !important; color: var(--muted); }
@media (max-width: 700px) { .user-detail-heading { align-items: stretch; flex-direction: column; } .user-detail-heading button { width: 100%; } .user-detail-data { grid-template-columns: 1fr; } }

/* Qualificações pendentes: revisão documental concentrada na decisão. */
.pending-qualifications-header { margin-bottom: 18px; }
.pending-qualifications-panel { padding: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.pending-qualifications-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.pending-qualifications-table { min-width: 920px; width: 100%; border-collapse: collapse; }
.pending-qualifications-table thead th {
  background: #f7faff;
  color: var(--deep-space-blue);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 12px 16px;
  border-bottom: 1px solid #cbdcf1;
}
.pending-qualifications-table td {
  vertical-align: middle;
  white-space: normal;
  padding: 14px 16px;
  border-bottom: 1px solid #e1e3e9;
  font-size: 13px;
}
.pending-qualifications-table td:first-child { min-width: 170px; color: var(--deep-space-blue); font-weight: 600; }
.pending-qualifications-table td:nth-child(2) { min-width: 180px; }
.pending-qualifications-table td:nth-child(3) { min-width: 150px; color: var(--muted); font-size: 12px; }
.pending-qualifications-table td:last-child { min-width: 280px; max-width: 320px; }

.qualification-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--steel-blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  background: #edf3fb;
  transition: background .15s ease, color .15s ease;
}
.qualification-download:hover {
  background: #dceafe;
  color: #174f85;
  text-decoration: none;
}

.qualification-decision-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  width: 100%;
  max-width: 280px;
}
.qualification-decision-form textarea {
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 64px;
  margin: 0;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--deep-space-blue);
  background: var(--white);
  border: 1px solid #cbdcf1;
  border-radius: 7px;
  box-sizing: border-box;
  resize: none;
  box-shadow: inset 0 1px 2px rgba(6, 37, 61, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.qualification-decision-form textarea::placeholder {
  color: #8da2b5;
  font-size: 11.5px;
}
.qualification-decision-form textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.18);
}
.qualification-decision-actions,
.qualification-decision-form > div {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.qualification-decision-form button {
  flex: 1;
  min-width: 0;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.qualification-decision-form button[value="VALIDAR"],
.qualification-decision-form .btn-validate {
  background: var(--steel-blue, #2d7dd2);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(45, 125, 210, 0.25);
}
.qualification-decision-form button[value="VALIDAR"]:hover,
.qualification-decision-form .btn-validate:hover {
  background: #2062aa;
}
.qualification-decision-form button[value="REJEITAR"],
.qualification-decision-form button.danger,
.qualification-decision-form .btn-reject {
  background: #dc3545;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.22);
}
.qualification-decision-form button[value="REJEITAR"]:hover,
.qualification-decision-form button.danger:hover,
.qualification-decision-form .btn-reject:hover {
  background: #b02a37;
}
.pending-qualifications-empty { padding: 28px 16px !important; color: var(--muted); text-align: center; }

/* Minha conta: cadastro, segurança e sessões em níveis visuais distintos. */
.account-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-header > p:last-child { margin: 5px 0 0; color: var(--muted); }
.account-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.account-panel { box-shadow: var(--shadow-card); }
.account-panel-heading { margin-bottom: 16px; }
.account-panel-heading .eyebrow, .account-panel-heading h2 { margin: 0; }
.account-panel-heading .eyebrow { margin-bottom: 4px; }
.account-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-form label { display: grid; gap: 5px; color: var(--deep-space-blue); }
.account-form input, .account-form select { margin: 0; min-width: 0; }
.account-form button { width: auto; min-width: 140px; margin: 0; }
.account-details-form label:first-child { grid-column: 1 / -1; }
.account-details-form button { grid-column: 1 / -1; }
.account-form:not(.account-details-form) button { grid-column: 1 / -1; }
.account-sessions-panel { padding: 0; overflow: hidden; }
.account-sessions-panel > .account-panel-heading { padding: 18px 20px 0; }
.account-sessions-table-wrap { border-width: 1px 0 0; border-radius: 0; }
.account-sessions-table-wrap table { min-width: 760px; }
.account-sessions-table-wrap td { vertical-align: middle; white-space: normal; }
.account-sessions-table-wrap td:first-child { min-width: 210px; color: var(--deep-space-blue); }
.account-sessions-table-wrap td:first-child small { display: block; margin-top: 3px; color: var(--steel-blue); font-weight: 750; }
.account-empty { padding: 28px 20px !important; color: var(--muted); }
.account-scopes { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); }
.account-profile-request { grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr); }
.account-profile-request-status { margin: 14px 0 0; font-size: 12px; }
@media (max-width: 700px) { .account-settings-grid, .account-form, .account-profile-request { grid-template-columns: 1fr; } .account-form button { width: 100%; } }

/* Qualificações: trilha, envio e histórico com o mesmo ritmo visual. */
.qualifications-page-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.qualifications-page-header .page-back-link { margin-top: 12px; }
.qualification-progress { box-shadow: var(--shadow-card); }
.qualification-progress .section-heading { margin-bottom: 16px; }
.qualification-add-panel { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.qualification-add-panel details > summary { padding: 16px 18px; color: var(--steel-blue); cursor: pointer; }
.qualification-add-panel details[open] > summary { border-bottom: 1px solid #cbdcf1; }
.qualification-add-panel .qualification-form { padding: 18px; }
.qualification-add-panel .qualification-form label { color: var(--deep-space-blue); }
.qualification-add-panel .qualification-form button { width: auto; min-width: 210px; margin: 0; }
.qualification-history-panel { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.qualification-history-panel > h2 { margin: 0; padding: 18px 20px 14px; }
.qualification-history-panel > .table-wrap { border-width: 1px 0 0; border-radius: 0; }
.qualification-history-panel td:last-child a { color: var(--steel-blue); font-weight: 750; text-decoration: none; }
.qualification-history-panel td:last-child a:hover { text-decoration: underline; }

/* Notificações: uma linha por evento, com leitura rápida e sem ruído visual. */
.notifications-page-header { margin-bottom: 18px; }
.notifications-panel { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.notifications-table-wrap { width: 100%; overflow-x: auto; }
.notifications-table { min-width: 680px; }
.notifications-table th { padding: 13px 18px; }
.notifications-table td { padding: 14px 18px; vertical-align: middle; white-space: normal; }
.notification-date { width: 185px; color: var(--lavender-grey); font-size: 12px; font-variant-numeric: tabular-nums; }
.notifications-table td:nth-child(2) { width: 135px; }
.notification-kind { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; text-transform: capitalize; }
.notification-message strong, .notification-message small { display: block; }
.notification-message strong { color: var(--deep-space-blue); font-size: 13px; }
.notification-message small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.notifications-empty { padding: 32px 18px !important; color: var(--muted); text-align: center; }

/* Resultados: consolidado por ciclo com detalhes disponíveis sob demanda. */
.evaluation-results-header { margin-bottom: 18px; }
.evaluation-results-panel { padding: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
.evaluation-results-filter { display: flex; align-items: end; gap: 10px; width: min(420px, 100%); margin-bottom: 16px; }
.evaluation-results-filter label { display: grid; flex: 1; gap: 5px; color: var(--deep-space-blue); }
.evaluation-results-filter select, .evaluation-results-filter button { margin: 0; }
.evaluation-results-filter button { width: auto; min-width: 106px; }
.evaluation-results-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.evaluation-results-table { min-width: 820px; }
.evaluation-results-table td { vertical-align: middle; white-space: normal; }
.evaluation-results-table td:first-child { min-width: 180px; color: var(--deep-space-blue); }
.evaluation-results-table td:last-child { width: 150px; }
.evaluation-result-details summary { color: var(--steel-blue); font-size: 12px; font-weight: 800; }
.evaluation-result-details ul { min-width: 230px; }
.evaluation-results-empty { padding: 30px 16px !important; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .evaluation-results-filter { display: grid; width: 100%; } .evaluation-results-filter button { width: 100%; } }

/* Conteúdo: títulos devem orientar; textos de apoio só ficam onde são necessários. */
main:not(.auth) > header > p:not(.eyebrow) { display: none; }
main:not(.auth) > header { margin-bottom: 22px; }
main:not(.auth) > header.page-header .eyebrow { display: none; }
main:not(.auth) > header.page-header { align-items: center; min-height: 42px; }
.section-heading .muted, .block-header .muted, .section-title p:last-child { max-width: 680px; font-size: 12px; }
.import-card p { min-height: 0; margin-bottom: 12px; font-size: 12px; }

/* Estados, indicadores e gráficos usam somente a paleta ORCA. */
details summary, .admin-back, .profile-link, .supervisor-identity a:hover { color: var(--steel-blue); }
.type-badge, .audit-code, .profile-link, .ranking-position, .qualification-progress .section-heading strong { background: #edf3fb; color: #205e9c; }
.score-badge:not(.empty-score), .score-badge:not(.empty-score) small, .model-history-score, .model-history-score small { color: #fff !important; }
.score-badge.high, .model-history-score, .qualification-card.is-active .qualification-card-mark { background: var(--steel-blue); color: #fff; }
.score-badge.medium { background: var(--deep-space-blue); color: #fff; }
.score-badge.low { background: #a84322; color: #fff; }
.model-history-score { display: inline-flex; align-items: baseline; min-height: 32px; padding: 7px 10px; border-radius: 8px; font-size: 16px; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1; }
.model-history-score small { font-size: 11px; font-weight: 850; line-height: 1; }
.supervisors-table .score-badge.score-gradient { background: linear-gradient(90deg, var(--burnt-peach) 0%, var(--steel-blue) 52%, var(--deep-space-blue) 100%); background-position: var(--ranking-score-position, 50%) 50%; background-size: 400% 100%; }
.profile-history .score-badge, .profile-history .model-history-score { box-sizing: border-box; min-height: 32px; padding: 7px 10px; font-size: 16px; font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1; }
.profile-history .score-badge small, .profile-history .model-history-score small { font-size: 11px; font-weight: 850; line-height: 1; }
.development-status.aguardando-validacao, .qualification-card.is-pending, .qualification-card.is-pending .qualification-card-mark { background: var(--ivory-mist); color: var(--deep-space-blue); }
.development-card.is-overdue, .development-status.cancelada, .qualification-card.is-rejected, .qualification-card.is-rejected .qualification-card-mark { background: #fff0eb; color: #a74320; }
.development-status.em-andamento, .development-status.reaberta, .development-status.concluida { background: #edf3fb; color: #205e9c; }
.development-card.is-complete, .qualification-card.is-active { border-color: #bcd7f4; background: #f6f9fd; }
.qualification-card.is-active small { color: #205e9c; }
.chart-segmented button[aria-pressed="true"], .pairs-segmented button[aria-selected="true"] { background: var(--steel-blue); color: var(--white); }
.chart-segmented button[aria-pressed="true"]:hover { background: var(--steel-blue); color: var(--white); }
.dispersion-track { background: #e9edf4; }
.dispersion-track i { background: linear-gradient(90deg, #8dbcea, var(--steel-blue)); }
.monthly-chart-key .effective, .monthly-chart-key .embarkations { background: var(--steel-blue); }
.monthly-chart-key .interrupted { background: var(--burnt-peach); }
.development-category, .development-evidence a, .competency-picker b, .catalog-competency-picker b { color: var(--steel-blue); }
.development-card footer, .development-evidence, .development-evidence-submit, .development-validation-form, .development-history, .development-no-evidence { border-top-color: rgba(45, 125, 210, .28); }
.development-card, .development-card.is-complete { gap: 12px; border-top-color: var(--steel-blue); }
.development-card-content { gap: 9px; }
.development-card-content .development-description { margin: 0; color: var(--deep-space-blue); font-size: 13px; line-height: 1.45; }
.development-card-content .development-action-title { margin: 0; color: var(--deep-space-blue); font-size: 13px; font-weight: 800; }
.development-requirements { display: grid; gap: 7px; margin: 0; }
.development-requirements div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.development-requirements dt { color: var(--lavender-grey); font-size: 10px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; }
.development-requirements dd { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.development-card footer { padding-top: 10px; }
.development-evidence { padding-top: 10px; }

/* Avaliador: revisão direta, sem textos auxiliares repetidos. */
.evaluator-development-header { margin-bottom: 18px; }
.evaluator-development-list { padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.evaluator-development-list + .evaluator-development-list { margin-top: 14px; }
.evaluator-development-list .list-block-header { margin: 0; padding: 17px 18px 14px; border-bottom: 1px solid var(--line); }
.evaluator-development-list .table-wrap { border: 0; border-radius: 0; }
.evaluator-development-list .development-work-table { min-width: 820px; }
.evaluator-development-list .development-work-table th, .evaluator-development-list .development-work-table td { padding: 11px 14px; }
.evaluator-development-list .development-work-table th:last-child,
.evaluator-development-list .development-work-table td:last-child { width: 100px; min-width: 100px; text-align: left; white-space: nowrap; }
.evaluator-development-list .compact-button { min-width: 0; padding: 7px 10px; }
.evaluator-development-list .evaluator-development-table { min-width: 820px; }
.development-review-trigger { min-width: 0; padding: 7px 10px; }
.development-review-dialog { width: min(460px, calc(100vw - 32px)); max-width: none; margin: auto; padding: 0; border: 1px solid #bcd7f4; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 22px 60px rgba(6, 37, 61, .28); }
.development-review-dialog::backdrop { background: rgba(6, 37, 61, .48); }
.development-review-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.development-review-dialog-header .eyebrow, .development-review-dialog-header h2 { margin: 0; }
.development-review-dialog-header .eyebrow { margin-bottom: 4px; }
.development-review-dialog-header h2 { font-size: 16px; }
.development-review-close { width: auto; min-width: 0; margin: 0; padding: 7px 10px; }
.development-review-dialog-content { display: grid; gap: 10px; padding: 16px 18px 18px; }
.development-review-dialog-content .development-evidence, .development-review-dialog-content .development-no-evidence { padding-top: 0; border-top: 0; }
.development-review-dialog-content .development-validation-form { gap: 8px; padding-top: 10px; }
.development-review-dialog-content .development-validation-form textarea { min-height: 76px; }
.development-review-dialog-content .development-validation-form button { width: auto; min-width: 0; margin: 0; padding: 8px 10px; }

/* Notas sempre mantêm contraste integral, incluindo o denominador / 5. */
.competency-score-list strong, .analysis-summary strong:has(small) { display: inline-flex; align-items: baseline; gap: 3px; width: max-content; padding: 5px 8px; border-radius: 7px; background: var(--steel-blue); color: #fff !important; }
.competency-score-list strong { justify-self: end; }
.competency-score-list strong small, .analysis-summary strong small { color: #fff !important; }
.analysis-summary .analysis-final-score { display: inline-flex; gap: 3px; width: auto; padding: 0; border-radius: 0; background: transparent; color: var(--deep-space-blue) !important; }
.analysis-summary .analysis-final-score small { color: var(--muted) !important; }

/* Gráficos: séries e escalas alinhadas à paleta ORCA. */
.radar-chart svg polygon[stroke="#087c78"], .profile-radar-chart svg polygon[stroke="#087c78"] { fill: #2d7dd230 !important; stroke: var(--steel-blue) !important; }
.radar-chart svg polygon[stroke="#2f6f9f"] { fill: #06253d26 !important; stroke: var(--deep-space-blue) !important; }
.radar-chart svg circle[fill="#087c78"], .profile-radar-chart svg circle[fill="#087c78"] { fill: var(--steel-blue) !important; }
.radar-chart svg circle[fill="#2f6f9f"] { fill: var(--deep-space-blue) !important; }
.radar-chart svg line, .profile-radar-chart svg line { stroke: #d7dce5 !important; }
.radar-chart svg polygon[stroke="#dce5e2"], .profile-radar-chart svg polygon[stroke="#dce5e2"] { stroke: #d7dce5 !important; }
.radar-label { fill: var(--deep-space-blue) !important; }
.radar-value { fill: var(--deep-space-blue) !important; }
.monthly-operations-chart svg rect[fill="#087c78"] { fill: var(--steel-blue) !important; }
.monthly-operations-chart svg rect[fill="#d4824a"] { fill: var(--burnt-peach) !important; }
.monthly-operations-chart svg rect[fill="#2f6f9f"] { fill: var(--deep-space-blue) !important; }
.monthly-operations-chart svg line { stroke: #d7dce5 !important; }
.monthly-axis { fill: var(--muted) !important; }
.monthly-chart-key .effective { background: var(--steel-blue) !important; }
.monthly-chart-key .interrupted { background: var(--burnt-peach) !important; }
.monthly-chart-key .embarkations { background: var(--deep-space-blue) !important; }
.stacked-bar span:nth-child(6n+1), .chart-legend span:nth-child(6n+1) i { --series-color: var(--deep-space-blue); }
.stacked-bar span:nth-child(6n+2), .chart-legend span:nth-child(6n+2) i { --series-color: var(--steel-blue); }
.stacked-bar span:nth-child(6n+3), .chart-legend span:nth-child(6n+3) i { --series-color: var(--burnt-peach); }
.stacked-bar span:nth-child(6n+4), .chart-legend span:nth-child(6n+4) i { --series-color: var(--lavender-grey); }
.stacked-bar span:nth-child(6n+5), .chart-legend span:nth-child(6n+5) i { --series-color: #315c84; }
.stacked-bar span:nth-child(6n), .chart-legend span:nth-child(6n) i { --series-color: #8f523c; }
.correlation-scale { background: linear-gradient(90deg, #f6dfd5 0 50%, #dceafb 50% 100%); }
.correlation-scale i { background: var(--steel-blue); }
.correlation-scale i.negative { background: var(--burnt-peach); }
.correlation-matrix td.positive-strong { background: var(--steel-blue); }
.correlation-matrix td.positive-medium { background: #bcd7f4; color: var(--deep-space-blue); }
.correlation-matrix td.negative-strong { background: #a84322; }
.correlation-matrix td.negative-medium { background: #f2c0ae; color: var(--deep-space-blue); }
.correlation-matrix td.neutral { background: #e5e8ef; color: var(--deep-space-blue); }
.correlation-matrix td.unavailable { background: var(--surface-soft); color: var(--lavender-grey); }

@media (max-width: 850px) {
  aside:where(#app-sidebar) { width: auto; overflow-y: visible; }
  aside:where(#app-sidebar) .profile { display: grid; margin-top: 14px; padding-top: 14px; }
  aside:where(#app-sidebar) .profile-links { margin-top: 5px; }
  main { margin-left: 0; padding: 24px 20px 36px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .directory-heading { align-items: stretch; flex-direction: column; }
  .directory-search { width: 100%; }
  .profile-header > div { align-items: flex-start; }
  .profile-visual-grid { grid-template-columns: 1fr; }
  .evaluation-page-header { align-items: flex-start; flex-direction: column; }
  .evaluation-context { justify-content: flex-start; }
}

@media (max-width: 560px) {
  main { padding: 20px 14px 30px; }
  .panel, .import-section { padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .page-header { align-items: stretch; flex-direction: column; }
  .page-header .button { width: 100%; }
  .dashboard-status dl div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .dashboard-status dd { text-align: left; }
  .profile-summary { align-items: stretch; }
  .profile-summary .profile-score { width: 100%; justify-items: start; }
  .profile-grid { grid-template-columns: 1fr; }
  .evaluation-context { display: grid; width: 100%; grid-template-columns: 1fr; }
  .evaluation-context div { min-width: 0; }
  .evaluation-actions, .evaluation-actions > div { align-items: stretch; flex-direction: column; }
  .evaluation-actions button { width: 100%; }
  .evaluator-evaluations-table .compact-button { width: 100%; min-width: 0; }
}

/* Entrada autenticada: navegação horizontal e foco na próxima atividade. */
.app-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); align-items: center; gap: 24px; min-height: 70px; padding: 0 42px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(6,37,61,.02); backdrop-filter: blur(12px); }
.app-brand { color: var(--deep-space-blue); font-size: 21px; font-weight: 900; letter-spacing: 2.2px; text-decoration: none; }
.app-brand small { margin-left: 8px; color: var(--lavender-grey); font-size: 10px; font-weight: 750; letter-spacing: .45px; }
.app-navigation { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; }
.app-navigation > a, .header-more > summary { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border-radius: 7px; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; list-style: none; }
.app-navigation > a:hover, .header-more > summary:hover { background: #edf3fb; color: var(--steel-blue); }
.app-navigation > a.is-active { color: var(--steel-blue); background: #edf3fb; box-shadow: none; }
.header-more { position: relative; }
.header-more > summary::-webkit-details-marker, .account-menu > summary::-webkit-details-marker { display: none; }
.header-more > div { position: absolute; top: calc(100% + 8px); right: 0; display: grid; min-width: 205px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 12px 28px rgba(6,37,61,.13); }
.header-more > div a { padding: 8px 9px; border-radius: 6px; color: var(--deep-space-blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-more > div a:hover { background: #edf3fb; color: var(--steel-blue); }
.app-account { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.app-notifications { position: relative; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #edf3fb; color: var(--steel-blue); font-size: 0; text-decoration: none; }
.app-notifications::before { content: '◌'; font-size: 21px; line-height: 1; }
.app-notifications b { position: absolute; top: -4px; right: -5px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--burnt-peach); color: var(--white); font-size: 9px; }
.account-menu { position: relative; }
.account-menu > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.account-menu > summary span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--deep-space-blue); color: var(--white); font-size: 12px; font-weight: 850; }
.account-menu > summary b { max-width: 130px; overflow: hidden; color: var(--deep-space-blue); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-menu > div { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 175px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 12px 28px rgba(6,37,61,.13); }
.account-menu > div small { padding: 1px 8px 8px; color: var(--lavender-grey); font-size: 10px; font-weight: 750; }
.account-menu > div a { padding: 8px; border-radius: 6px; color: var(--deep-space-blue); font-size: 12px; font-weight: 750; text-decoration: none; }
.account-menu > div a:hover { background: #edf3fb; color: var(--steel-blue); }
.app-nav-toggle { display: none; width: auto; min-width: 0; margin: 0; padding: 7px 10px; font-size: 12px; }
main:not(.auth) { max-width: 1440px; min-height: calc(100vh - 70px); margin: 0 auto; padding: 34px 42px 52px; }
.welcome-home { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(420px, 1.1fr); min-height: min(670px, calc(100vh - 156px)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.welcome-home-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(42px, 7vw, 96px); }
.welcome-home-copy .eyebrow { margin: 0 0 13px; }
.welcome-home h1 { margin: 0; font-size: clamp(34px, 4vw, 52px); }
.welcome-home h2 { max-width: 520px; margin: 10px 0 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.14; letter-spacing: -.7px; }
.welcome-summary { max-width: 450px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin-top: 30px; }
.welcome-actions .button { width: auto; min-width: 190px; margin: 0; }
.welcome-actions > a:not(.button) { color: var(--steel-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.welcome-actions > a:not(.button):hover { text-decoration: underline; }
.welcome-indicators { display: flex; flex-wrap: wrap; gap: 26px; margin: 42px 0 0; }
.welcome-indicators div { display: grid; gap: 1px; }
.welcome-indicators dt { color: var(--lavender-grey); font-size: 10px; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.welcome-indicators dd { margin: 0; color: var(--deep-space-blue); font-size: 21px; font-weight: 850; }
.welcome-home-image { position: relative; min-height: 100%; margin: 0; background: var(--deep-space-blue); }
.welcome-home-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,37,61,.18), transparent 45%), linear-gradient(0deg, rgba(6,37,61,.16), transparent 45%); pointer-events: none; }
.welcome-home-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }

@media (max-width: 850px) {
  .app-header { grid-template-columns: 1fr auto auto; gap: 12px; min-height: 62px; padding: 0 20px; }
  .app-brand small, .account-menu > summary b { display: none; }
  .app-nav-toggle { display: inline-flex; }
  .app-navigation { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 2px; padding: 12px 20px 16px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 24px rgba(6,37,61,.09); }
  .app-navigation.is-open { display: flex; }
  .app-navigation > a, .header-more > summary { justify-content: flex-start; }
  .header-more > div { position: static; margin: 0 0 4px; box-shadow: none; }
  main:not(.auth) { min-height: calc(100vh - 62px); margin: 0; padding: 24px 20px 36px; }
  .welcome-home { grid-template-columns: 1fr; min-height: 0; }
  .welcome-home-copy { order: 2; padding: 42px 36px; }
  .welcome-home-image { order: 1; min-height: 300px; }
}

@media (max-width: 560px) {
  .app-header { padding: 0 14px; }
  .app-brand { font-size: 19px; }
  .welcome-home-copy { padding: 32px 24px 36px; }
  .welcome-home-image { min-height: 230px; }
  .welcome-actions { align-items: stretch; flex-direction: column; gap: 13px; }
  .welcome-actions .button { width: 100%; }
  .welcome-indicators { gap: 18px; margin-top: 32px; }
}

/* Navegação lateral para os módulos autenticados. */
aside:where(#app-sidebar) { position: fixed; inset: 0 auto 0 0; width: 256px; padding: 26px 14px 18px; background: var(--deep-space-blue); }
aside:where(#app-sidebar) .brand { display: block; color: var(--white); text-decoration: none; }
aside:where(#app-sidebar) nav { display: grid; gap: 3px; margin-top: 36px; }
aside:where(#app-sidebar) nav a { display: block; color: #dce7ed; text-decoration: none; }
aside:where(#app-sidebar) nav a:hover { background: rgba(255,255,255,.09); color: var(--white); }
aside:where(#app-sidebar) nav a.is-active { background: rgba(45,125,210,.26); color: var(--white); box-shadow: inset 3px 0 0 var(--steel-blue); }
main:not(.auth) { max-width: none; min-height: 100vh; margin: 0 0 0 256px; padding: 34px 42px 52px; }
.welcome-home { min-height: min(670px, calc(100vh - 86px)); }

@media (max-width: 850px) {
  aside:where(#app-sidebar) { position: static; width: auto; padding: 18px 20px; }
  aside:where(#app-sidebar) nav { display: flex; overflow-x: auto; margin-top: 16px; }
  aside:where(#app-sidebar) nav a { white-space: nowrap; }
  aside:where(#app-sidebar) .profile { display: none; }
  main:not(.auth) { min-height: auto; margin: 0; padding: 24px 20px 36px; }
}

@media (max-width: 560px) {
  aside:where(#app-sidebar) { padding: 16px 14px; }
  main:not(.auth) { padding: 20px 14px 30px; }
}

/* Página inicial: apresentação institucional, sem comportamento de dashboard. */
.welcome-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-card); }
.welcome-presentation { grid-template-columns: minmax(400px, .92fr) minmax(520px, 1.08fr); min-height: min(550px, calc(100vh - 170px)); border: 0; border-radius: 0; background: var(--white); box-shadow: none; overflow: visible; }
.welcome-presentation .welcome-home-copy { position: relative; z-index: 1; padding: clamp(50px, 6vw, 84px) clamp(38px, 5vw, 80px); }
.welcome-presentation .mare-title { margin: 0; color: var(--steel-blue); font-size: clamp(38px, 4.5vw, 58px); letter-spacing: 3.5px; }
.welcome-presentation h2 { margin-top: 8px; font-size: clamp(27px, 3vw, 42px); }
.welcome-presentation .welcome-summary { max-width: 490px; margin-top: 20px; font-size: 14px; }
.welcome-profile-action { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; margin-top: 30px; }
.welcome-profile-action > span { width: 100%; color: var(--lavender-grey); font-size: 12px; font-weight: 750; }
.welcome-profile-action > small { width: 100%; max-width: 470px; margin-top: -2px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.welcome-profile-action .button { width: auto; min-width: 190px; margin: 0; }
.welcome-profile-action > a:not(.button) { color: var(--steel-blue); font-size: 12px; font-weight: 800; text-decoration: none; }
.welcome-profile-action > a:not(.button):hover { text-decoration: underline; }
.welcome-context-notice { max-width: 440px; margin: 16px 0 0; color: #9a6524; font-size: 12px; }
.welcome-presentation .welcome-home-image { min-height: 0; margin: 22px 22px 22px 0; border-radius: 12px; overflow: hidden; }
.welcome-presentation .welcome-home-image::after { background: linear-gradient(90deg, rgba(6,37,61,.08), transparent 48%); }
.welcome-presentation .welcome-home-image img { object-position: 68% center; }
.mare-value { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 30px 0 0; padding: 0; }
.mare-value div { display: grid; gap: 4px; padding: 0 14px 0 0; border: 0; }
.mare-value div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.mare-value strong { color: var(--deep-space-blue); font-size: 12px; letter-spacing: .45px; text-transform: uppercase; }
.mare-value span { color: var(--muted); font-size: 12px; line-height: 1.42; }
.mare-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; margin: 0; padding: 24px clamp(24px, 5vw, 76px) 28px; border-top: 1px solid var(--line); border-bottom: 0; background: var(--white); color: var(--deep-space-blue); }
.mare-flow span { font-size: 12px; font-weight: 800; }
.mare-flow i { color: var(--steel-blue); font-style: normal; font-weight: 800; }

/* Etapas do ciclo: sequência visual leve e mais convidativa que uma linha de texto. */
.mare-flow { justify-content: center; }
.mare-flow span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; min-height: 46px; padding: 9px 14px 9px 9px; border: 1px solid #cbdcf1; border-radius: 9px; background: #f7faff; box-shadow: none; }
.mare-flow span::before { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #edf3fb; color: var(--steel-blue); font-size: 10px; font-weight: 900; }
.mare-flow span:nth-of-type(1)::before { content: '1'; }
.mare-flow span:nth-of-type(2)::before { content: '2'; }
.mare-flow span:nth-of-type(3)::before { content: '3'; }
.mare-flow span:nth-of-type(4)::before { content: '4'; }
.mare-flow span:nth-of-type(5)::before { content: '5'; }
.mare-flow i { display: grid; place-items: center; width: 18px; color: var(--steel-blue); font-size: 15px; }

@media (max-width: 850px) {
  .welcome-presentation { min-height: 0; }
  .welcome-presentation .welcome-home-copy { order: 1; }
  .welcome-presentation .welcome-home-image { order: 2; margin: 0; border-radius: 0; min-height: 260px; }
  .mare-value { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 560px) {
  .welcome-presentation .welcome-home-copy { padding: 34px 24px; }
  .welcome-profile-action { align-items: stretch; flex-direction: column; }
  .welcome-profile-action .button { width: 100%; }
  .mare-value { grid-template-columns: 1fr; gap: 14px; padding: 0 2px; }
  .mare-flow { justify-content: flex-start; gap: 6px 9px; padding: 18px 20px 22px; }
  .mare-flow i:nth-of-type(3) { flex-basis: 100%; height: 0; overflow: hidden; }
}

/* Jornada MARÉ: a trilha é o elemento institucional protagonista da abertura. */
.mare-journey { padding: 32px clamp(24px, 5vw, 76px) 42px; border-top: 0; background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%); }
.mare-journey header { max-width: 610px; margin: 0 auto; text-align: center; }
.mare-journey header .eyebrow { margin-bottom: 7px; }
.mare-journey header h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); }
.mare-journey header p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 338px; margin: 28px 0 0; padding: 0; list-style: none; }
.mare-journey > .journey-track { margin-top: 0; }
.journey-wave { position: absolute; inset: 18px 2% auto; width: 96%; height: 214px; overflow: visible; }
.journey-segment { fill: none; stroke: url(#mare-wave); stroke-linecap: round; stroke-width: 12; opacity: .23; transition: opacity .28s ease, stroke-width .28s ease; }
.journey-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; min-width: 0; padding: 0 10px; color: var(--deep-space-blue); cursor: default; outline: none; transition: transform .24s ease; }
.journey-step > div { max-width: 180px; text-align: center; }
.journey-step h3 { margin: 0; color: var(--deep-space-blue); font-size: 15px; }
.journey-step p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; opacity: .8; transition: opacity .24s ease, color .24s ease; }
.journey-node { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 7px; width: 58px; height: 58px; padding: 6px; border: 2px solid #bcd7f4; border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px rgba(6,37,61,.08); transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease; }
.journey-node b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #edf3fb; color: var(--steel-blue); font-size: 8px; font-weight: 900; }
.journey-node i { color: var(--deep-space-blue); font-size: 16px; font-style: normal; font-weight: 850; line-height: 1; }
.step-1 { padding-top: 151px; }.step-2 { padding-top: 109px; }.step-3 { padding-top: 154px; }.step-4 { padding-top: 84px; }.step-5 { padding-top: 132px; }
.journey-step:hover, .journey-step:focus-visible { transform: translateY(-6px); }
.journey-step:hover .journey-node, .journey-step:focus-visible .journey-node { border-color: var(--steel-blue); background: #f6faff; box-shadow: 0 10px 26px rgba(45,125,210,.18); transform: scale(1.1); }
.journey-step:hover p, .journey-step:focus-visible p { color: var(--deep-space-blue); opacity: 1; }
.journey-track:has(.step-1:hover, .step-1:focus-visible) .journey-segment:nth-of-type(1), .journey-track:has(.step-2:hover, .step-2:focus-visible) .journey-segment:nth-of-type(-n + 1), .journey-track:has(.step-3:hover, .step-3:focus-visible) .journey-segment:nth-of-type(-n + 2), .journey-track:has(.step-4:hover, .step-4:focus-visible) .journey-segment:nth-of-type(-n + 3), .journey-track:has(.step-5:hover, .step-5:focus-visible) .journey-segment:nth-of-type(-n + 4) { opacity: .9; stroke-width: 14; }

@media (max-width: 850px) {
  .mare-journey { padding-inline: 28px; }
  .journey-track { min-height: 390px; }
  .journey-step { padding-inline: 5px; }
  .journey-step > div { max-width: 140px; }
  .journey-step p { font-size: 11px; }
}

@media (max-width: 620px) {
  .mare-journey { padding: 28px 22px 34px; }
  .mare-journey header { text-align: left; }
  .journey-track { display: grid; grid-template-columns: 1fr; gap: 0; min-height: 0; margin-top: 24px; padding-left: 5px; }
  .journey-track::before { content: ''; position: absolute; top: 24px; bottom: 24px; left: 33px; width: 3px; border-radius: 99px; background: linear-gradient(var(--steel-blue), #0c7790, var(--deep-space-blue)); opacity: .28; }
  .journey-wave { display: none; }
  .journey-step, .step-1, .step-2, .step-3, .step-4, .step-5 { display: grid; grid-template-columns: 58px 1fr; justify-items: start; align-items: center; gap: 14px; padding: 0 0 20px; transform: none; }
  .journey-step:last-child { padding-bottom: 0; }
  .journey-step > div { max-width: none; text-align: left; }
  .journey-step p { display: none; }
  .journey-step:hover, .journey-step:focus-visible { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-segment, .journey-step, .journey-node, .journey-step p { transition: none; }
}

/* Radar MARÉ: mesma linguagem do perfil individual, sem exibir notas ou metas. */
.institutional-radar { position: relative; min-height: 500px; margin: 22px 22px 22px 0; overflow: visible; }
.institutional-radar svg { position: absolute; inset: 5% 8%; width: 84%; height: 90%; overflow: visible; }
.radar-grid polygon { fill: none; stroke: rgba(45,125,210,.18); stroke-width: 1.3; }
.radar-axis-lines line { stroke: rgba(6,37,61,.17); stroke-width: 1.2; transition: stroke .25s ease, stroke-width .25s ease; }
.radar-profile-shape { fill: url(#mare-radar-fill); fill-opacity: .2; stroke: #0c7790; stroke-width: 3; stroke-linejoin: round; animation: mare-radar-breathe 5s ease-in-out infinite; transition: fill-opacity .25s ease, stroke-width .25s ease; }
.radar-points circle { fill: var(--white); stroke: var(--steel-blue); stroke-width: 3; transition: transform .25s ease, fill .25s ease; transform-origin: center; }
.radar-dimension { position: absolute; z-index: 2; display: grid; width: auto; min-width: 0; max-width: 150px; margin: 0; padding: 5px 7px; border: 0; border-radius: 7px; background: transparent; color: var(--deep-space-blue); box-shadow: none; cursor: pointer; text-align: center; transition: background .2s ease, transform .2s ease; }
.radar-dimension b { font-size: 11px; font-weight: 850; }
.radar-dimension small { display: none; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.3; }
.radar-dimension:hover, .radar-dimension:focus-visible { background: rgba(255,255,255,.86); transform: translateY(-2px); }
.radar-dimension:hover small, .radar-dimension:focus-visible small { display: block; }
.dimension-1 { top: 7%; left: 50%; transform: translateX(-50%); }.dimension-2 { top: 25%; right: 4%; }.dimension-3 { right: 9%; bottom: 13%; }.dimension-4 { bottom: 11%; left: 8%; }.dimension-5 { top: 25%; left: 4%; }
.dimension-1:hover, .dimension-1:focus-visible { transform: translateX(-50%) translateY(-2px); }
.institutional-radar:has(.dimension-1:hover, .dimension-1:focus-visible) .axis-1, .institutional-radar:has(.dimension-2:hover, .dimension-2:focus-visible) .axis-2, .institutional-radar:has(.dimension-3:hover, .dimension-3:focus-visible) .axis-3, .institutional-radar:has(.dimension-4:hover, .dimension-4:focus-visible) .axis-4, .institutional-radar:has(.dimension-5:hover, .dimension-5:focus-visible) .axis-5 { stroke: var(--steel-blue); stroke-width: 3; }
.institutional-radar:has(.dimension-1:hover, .dimension-1:focus-visible) .point-1, .institutional-radar:has(.dimension-2:hover, .dimension-2:focus-visible) .point-2, .institutional-radar:has(.dimension-3:hover, .dimension-3:focus-visible) .point-3, .institutional-radar:has(.dimension-4:hover, .dimension-4:focus-visible) .point-4, .institutional-radar:has(.dimension-5:hover, .dimension-5:focus-visible) .point-5 { fill: var(--steel-blue); transform: scale(1.45); }
.institutional-radar:has(.radar-dimension:hover, .radar-dimension:focus-visible) .radar-profile-shape { fill-opacity: .34; stroke-width: 4; }
@keyframes mare-radar-breathe { 0%, 100% { fill-opacity: .18; } 50% { fill-opacity: .27; } }

@media (max-width: 850px) {
  .institutional-radar { order: 2; min-height: 430px; margin: 0; }
}

@media (max-width: 560px) {
  .institutional-radar { min-height: 360px; }
  .institutional-radar svg { inset: 8% 5%; width: 90%; height: 84%; }
  .radar-dimension { max-width: 104px; padding: 3px; }.radar-dimension b { font-size: 10px; }.radar-dimension small { display: none !important; }
  .dimension-2 { right: 1%; }.dimension-3 { right: 3%; }.dimension-4 { left: 3%; }.dimension-5 { left: 1%; }
}

@media (prefers-reduced-motion: reduce) { .radar-profile-shape { animation: none; } }

/* Abertura MARÉ: narrativa editorial contínua entre proposta, panorama e jornada. */
.welcome-shell { position: relative; overflow: hidden; border: 0; border-radius: 0; background: linear-gradient(180deg, var(--white) 0%, var(--white) 43%, #f2f9fc 100%); box-shadow: none; }
.welcome-presentation { position: relative; grid-template-columns: minmax(360px, .68fr) minmax(540px, 1.02fr); min-height: min(610px, calc(100vh - 112px)); }
.welcome-presentation::after { content: ''; position: absolute; z-index: 0; right: -7%; bottom: -88px; width: 77%; height: 178px; border-top: 2px solid rgba(12,119,144,.18); border-radius: 50% 50% 0 0; transform: rotate(-5deg); pointer-events: none; }
.welcome-presentation .welcome-home-copy { padding: clamp(54px, 7vw, 96px) clamp(32px, 5vw, 82px); }
.welcome-presentation .welcome-home-copy::before { content: ''; width: 44px; height: 2px; margin-bottom: 22px; background: linear-gradient(90deg, var(--steel-blue), #0c7790); }
.welcome-presentation .welcome-home-copy .eyebrow { margin-bottom: 10px; }
.welcome-presentation .mare-title { color: var(--steel-blue); font-size: clamp(48px, 5.8vw, 76px); letter-spacing: 5px; line-height: .92; }
.welcome-presentation h2 { max-width: 580px; margin-top: 16px; font-size: clamp(30px, 3.35vw, 49px); line-height: 1.08; letter-spacing: -1.4px; }
.welcome-presentation .welcome-summary { max-width: 455px; margin-top: 22px; color: #36536a; font-size: 14px; line-height: 1.65; }
.welcome-profile-action { margin-top: 34px; }
.welcome-profile-action .button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 228px; min-height: 50px; padding: 13px 20px; border-radius: 8px; background: var(--deep-space-blue); box-shadow: 0 12px 24px rgba(6,37,61,.16); font-size: 13px; }
.welcome-profile-action .button i { font-size: 18px; font-style: normal; line-height: 1; transition: transform .2s ease; }
.welcome-profile-action .button:hover i, .welcome-profile-action .button:focus-visible i { transform: translateX(4px); }

.institutional-radar { z-index: 1; min-height: 560px; margin: 0 clamp(16px, 3vw, 44px) 0 0; }
.institutional-radar::before { content: ''; position: absolute; top: 17%; right: 7%; width: 70%; height: 66%; border: 1px solid rgba(45,125,210,.065); border-radius: 48% 52% 46% 54%; transform: rotate(-11deg); pointer-events: none; }
.institutional-radar svg { inset: 13% 9% 7%; width: 82%; height: 82%; }
.radar-context { position: absolute; z-index: 3; top: 8%; left: 11%; max-width: 250px; }
.radar-context .eyebrow { margin: 0; }
.radar-context p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.radar-grid polygon { stroke: rgba(45,125,210,.2); }
.radar-axis-lines line { stroke: rgba(6,37,61,.18); }
.radar-profile-shape { fill-opacity: .24; animation: mare-radar-reveal .8s ease-out both; transform-box: fill-box; transform-origin: center; }
.radar-dimension { max-width: 172px; padding: 5px; }
.radar-dimension b { line-height: 1.22; }
.radar-dimension:hover, .radar-dimension:focus-visible { background: rgba(248,252,254,.94); }
.dimension-1 { top: 22%; }.dimension-2 { top: 36%; right: 0; }.dimension-3 { right: 6%; bottom: 17%; }.dimension-4 { bottom: 15%; left: 7%; }.dimension-5 { top: 36%; left: 0; }

.mare-journey { position: relative; z-index: 1; padding: 46px clamp(24px, 5vw, 76px) 58px; overflow: visible; background: linear-gradient(180deg, rgba(248,252,254,.58) 0%, #f4fafc 100%); }
.mare-journey::before { content: ''; position: absolute; z-index: -1; top: -128px; left: -12%; width: 124%; height: 290px; border-radius: 0 0 50% 50%; background: linear-gradient(105deg, rgba(45,125,210,.045), rgba(12,119,144,.018) 55%, rgba(6,37,61,.035)); }
.mare-journey header.journey-intro { max-width: 560px; margin: 0 0 0 7%; text-align: left; }
.journey-intro h2 { font-size: clamp(25px, 2.8vw, 37px); letter-spacing: -.8px; }
.journey-intro p:last-child { max-width: 420px; }
.journey-track { min-height: 452px; margin-top: 0; padding: 24px 0 32px; overflow: visible; }
.journey-wave { z-index: 0; inset: 30px 2% auto; height: 230px; }
.journey-segment { stroke-width: 12px; opacity: .24; }
.journey-step { z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; padding-inline: 12px; }
.journey-step > div { width: min(100%, 210px); max-width: 210px; overflow: visible; }
.journey-step h3 { font-size: 16px; }
.journey-step p { min-height: 34px; font-size: 12px; overflow-wrap: anywhere; }
.journey-node { width: 66px; height: 66px; padding: 7px; border-color: #aecded; }
.journey-node b { width: auto; height: auto; border-radius: 0; background: transparent; font-size: 11px; }
.journey-node { grid-template-columns: 1fr; justify-items: center; }
.journey-node i { display: none; }
.step-1 { padding-top: 168px; }.step-2 { padding-top: 98px; }.step-3 { padding-top: 170px; }.step-4 { padding-top: 74px; }.step-5 { padding-top: 146px; }
.step-1 > div, .step-3 > div, .step-5 > div { transform: translateY(8px); }
.step-2 > div { order: -1; margin-bottom: 3px; transform: translateY(-58px); }
.step-4 > div { order: -1; margin-bottom: 3px; transform: translateY(-40px); }
.journey-step:hover, .journey-step:focus-visible { transform: translateY(-5px); }

@keyframes mare-radar-reveal { from { opacity: .05; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .welcome-home-copy { animation: mare-editorial-rise .55s ease-out both; }
  .institutional-radar { animation: mare-editorial-rise .7s .08s ease-out both; }
  .journey-step { animation: mare-editorial-rise .45s ease-out both; }
  .journey-step:nth-child(3) { animation-delay: .05s; }.journey-step:nth-child(4) { animation-delay: .1s; }.journey-step:nth-child(5) { animation-delay: .15s; }.journey-step:nth-child(6) { animation-delay: .2s; }.journey-step:nth-child(7) { animation-delay: .25s; }
}
@keyframes mare-editorial-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 850px) {
  .welcome-presentation { grid-template-columns: minmax(0, .84fr) minmax(340px, 1fr); min-height: 0; }
  .welcome-presentation .welcome-home-copy { padding: 52px 34px; }
  .institutional-radar { min-height: 470px; margin: 0 18px 20px 0; }
  .radar-context { left: 8%; }.radar-caption { right: 8%; }
  .mare-journey { padding-top: 42px; }
}

@media (max-width: 620px) {
  .welcome-shell { margin: -20px -14px -30px; }
  .welcome-presentation { display: grid; grid-template-columns: 1fr; }
  .welcome-presentation::after { right: -26%; bottom: -52px; width: 130%; height: 114px; }
  .welcome-presentation .welcome-home-copy { padding: 48px 24px 34px; }
  .welcome-presentation .mare-title { font-size: 54px; }.welcome-presentation h2 { font-size: 34px; }
  .institutional-radar { min-height: 430px; margin: 0; }
  .institutional-radar::before { top: 18%; right: 10%; width: 74%; height: 62%; }
  .institutional-radar svg { inset: 17% 7% 9%; width: 86%; height: 75%; }
  .radar-context { top: 7%; left: 8%; }.radar-context p:last-child { display: none; }
  .radar-dimension { max-width: 112px; }.radar-dimension b { font-size: 9px; }
  .dimension-1 { top: 20%; }.dimension-2 { top: 39%; right: 0; }.dimension-3 { right: 4%; bottom: 12%; }.dimension-4 { bottom: 10%; left: 4%; }.dimension-5 { top: 39%; left: 0; }
  .mare-journey { padding: 42px 24px 38px; }
  .journey-track { min-height: 0; margin-top: 12px; padding: 0; }.journey-step p { display: block; min-height: 0; }
  .journey-step, .step-1, .step-2, .step-3, .step-4, .step-5 { display: grid; grid-template-columns: 66px 1fr; gap: 15px; padding: 0 0 24px; }
  .step-1 > div, .step-2 > div, .step-3 > div, .step-4 > div, .step-5 > div { order: 0; margin: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-home-copy, .institutional-radar, .journey-step, .radar-profile-shape { animation: none; }
}

/* Acesso MARÉ: entrada institucional com imersão oceânica e Dueto Náutico */
main.auth:has(.mare-login) {
  display: block;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--color-surface-canvas, #f4f8f9);
}

main.auth:has(.mare-login) > .flash {
  position: fixed;
  z-index: 30;
  top: 24px;
  left: 50%;
  width: min(520px, calc(100vw - 32px));
  margin: 0;
  transform: translateX(-50%);
  box-shadow: var(--shadow-modal, 0 20px 50px rgba(6, 37, 61, 0.25));
}

.mare-login {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(460px, 1fr);
  min-height: 100vh;
}

/* Coluna Esquerda: Imersão Oceânica Offshore (Idêntica à Landing Page) */
.mare-login-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(40px, 5vw, 68px) clamp(44px, 6vw, 84px);
  background: var(--color-brand-abyss, #061220);
  color: var(--color-text-inverse, #ffffff);
  overflow: hidden;
  box-sizing: border-box;
}

.mare-login-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/mare-hero-imersao.png") center top / cover no-repeat;
  filter: saturate(1.06) contrast(1.04);
  z-index: 0;
  pointer-events: none;
}

.mare-login-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 24, 0.22) 0%,
      rgba(6, 20, 34, 0.54) 46%,
      rgba(6, 18, 32, 0.92) 80%,
      var(--color-brand-abyss, #061220) 96%,
      var(--color-brand-abyss, #061220) 100%
    ),
    radial-gradient(circle at 45% 20%, rgba(74, 189, 200, 0.14), transparent 52%);
  z-index: 1;
  pointer-events: none;
}

.mare-login-intro-content,
.mare-login-brand,
.mare-login-copy,
.mare-login-footer-nav {
  position: relative;
  z-index: 2;
}

.mare-login-intro :is(h1, h2, h3, h4, strong, b) {
  color: #ffffff !important;
}

.mare-login-intro-content {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Logo Lockup idêntico à Landing Page */
.mare-login-intro .mare-lockup,
.mare-login-intro .mare-login-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.mare-login-intro .mare-symbol,
.mare-login-intro .mare-login-symbol {
  width: clamp(52px, 5.2vw, 68px);
  height: auto;
  aspect-ratio: 128 / 112;
  fill: #ffffff;
  flex-shrink: 0;
}

.mare-login-intro .mare-lockup h1,
.mare-login-intro .mare-login-brand strong {
  margin: 0;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.08em;
}

.mare-login-intro .mare-login-brand small {
  display: none;
}

/* Título de Destaque Editorial */
.mare-login-copy {
  max-width: 540px;
  margin: 0;
}

.mare-login-hero-title,
.mare-login-copy :is(h1, h2) {
  margin: 12px 0 0;
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.mare-login-footer-nav {
  margin-top: auto;
  padding-top: 24px;
}

.mare-login-back-landing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.mare-login-back-landing:hover {
  color: #ffffff;
  transform: translateX(-3px);
  text-decoration: none;
}

/* Coluna Direita: Painel de Acesso Corporativo */
.mare-login-access {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 3.5vw, 48px);
  background: var(--color-surface-canvas, #f4f8f9);
  box-sizing: border-box;
  overflow-y: auto;
}

.mare-login-form {
  width: min(100%, 460px);
  margin: auto 0;
  padding: clamp(32px, 3.8vw, 48px);
  border: 1px solid var(--color-border-default, rgba(16, 31, 53, 0.08));
  border-radius: 16px;
  background: var(--color-surface-default, #ffffff);
  box-shadow: 0 12px 36px rgba(6, 37, 61, 0.06), 0 2px 6px rgba(6, 37, 61, 0.02);
  box-sizing: border-box;
}

.mare-login-form .auth-heading {
  margin: 0 0 24px;
}

.mare-login-form .auth-heading .eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-brand-action, #1164b4);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mare-login-form .auth-heading :is(h1, h2) {
  margin: 0 0 8px;
  color: var(--color-brand-deep-space-blue, #06253d);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.mare-login-form .auth-heading p {
  margin: 0;
  color: var(--color-text-secondary, #536174);
  font-size: 13px;
  line-height: 1.5;
}

.mare-login-form .auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mare-login-form .auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--color-brand-deep-space-blue, #06253d);
  font-size: 12px;
  font-weight: 700;
}

.mare-login-form .auth-form .auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mare-login-form .auth-form input {
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #c9d8df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text-primary, #172536);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mare-login-form .auth-form input:hover {
  border-color: #8fb1c6;
}

.mare-login-form .auth-form input:focus {
  border-color: var(--color-brand-action, #1164b4);
  box-shadow: 0 0 0 3px var(--color-brand-action-glow, rgba(17, 100, 180, 0.22));
  outline: 0;
}

.mare-login-form .auth-form input:user-invalid {
  border-color: #bd553f;
}

.password-control {
  position: relative;
  display: block;
  width: 100%;
}

.password-control input {
  width: 100% !important;
  margin: 0 !important;
  padding-right: 76px !important;
}

.password-control .password-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--color-brand-action, #1164b4) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
  cursor: pointer !important;
  z-index: 3 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

.password-control .password-toggle:hover {
  background: var(--color-brand-action-subtle, #edf5fb) !important;
  color: var(--color-brand-action-hover, #0c4d8c) !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}

.password-control .password-toggle:focus-visible {
  outline: 2px solid var(--color-brand-action, #1164b4) !important;
  outline-offset: 1px !important;
  background: var(--color-brand-action-subtle, #edf5fb) !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}

.password-control .password-toggle:active {
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

/* Botão Submit Primário — Dueto Náutico: Laranja Offshore SOLAS */
.mare-login-form .login-submit {
  display: flex !important;
  width: 100% !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  margin: 6px 0 0;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: var(--color-brand-accent-warm, #ea580c);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-button-warm, 0 4px 14px rgba(234, 88, 12, 0.28));
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mare-login-form .login-submit i {
  font-size: 18px;
  font-style: normal;
  transition: transform 0.18s ease;
}

.mare-login-form .login-submit:hover {
  background: var(--color-brand-accent-warm-hover, #c2410c);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.36);
  transform: translateY(-1px);
}

.mare-login-form .login-submit:hover i {
  transform: translateX(4px);
}

.mare-login-form .login-submit:active {
  transform: translateY(0);
}

.mare-login-form .login-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.login-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5edf2;
}

.login-links a {
  color: var(--color-brand-action, #1164b4);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.login-links a:hover {
  color: var(--color-brand-action-hover, #0c4d8c);
  text-decoration: underline;
}

.login-request-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 20px;
  color: var(--color-text-secondary, #536174);
  font-size: 12px;
}

.login-request-access a {
  color: var(--color-brand-action, #1164b4);
  font-weight: 700;
  text-decoration: none;
}

.login-request-access a:hover {
  color: var(--color-brand-action-hover, #0c4d8c);
  text-decoration: underline;
}

.mare-login-form .auth-test-access {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed #d5e3eb;
  color: var(--color-text-secondary, #536174);
  font-size: 11px;
  font-family: var(--font-mono);
}

.mare-login-form .auth-test-access b {
  color: var(--color-brand-action, #1164b4);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Fluxos públicos de Primeiro Acesso e Recuperação */
.mare-login-form.mare-access-flow {
  width: min(100%, 460px);
}

.mare-flow-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--color-brand-action, #1164b4);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}

.mare-flow-back:hover {
  color: var(--color-brand-action-hover, #0c4d8c);
  transform: translateX(-2px);
  text-decoration: underline;
}

/* Solicitação de Acesso (Formulário Estendido) */
.mare-login-form.mare-access-request {
  width: min(100%, 580px);
  max-height: calc(100vh - 64px);
  margin: 32px 0;
  overflow-y: auto;
}

.mare-login-form .access-request-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mare-login-form .access-request-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-brand-deep-space-blue, #06253d);
  font-size: 12px;
  font-weight: 700;
}

.mare-login-form .access-request-form :is(input:not([type="checkbox"]), select, textarea) {
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #c9d8df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-text-primary, #172536);
  font-family: inherit;
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.mare-login-form .access-request-form textarea {
  min-height: 86px;
  resize: vertical;
}

.mare-login-form .access-request-form :is(input:not([type="checkbox"]), select, textarea):hover {
  border-color: #8fb1c6;
}

.mare-login-form .access-request-form :is(input:not([type="checkbox"]), select, textarea):focus {
  border-color: var(--color-brand-action, #1164b4);
  box-shadow: 0 0 0 3px var(--color-brand-action-glow, rgba(17, 100, 180, 0.22));
  outline: 0;
}

.mare-login-form .access-consents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #e5edf2;
  border-bottom: 1px solid #e5edf2;
}

.mare-login-form .access-consents .check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary, #536174);
  cursor: pointer;
}

.mare-login-form .access-consents .check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--color-brand-action, #1164b4);
}

.mare-login-form .access-request-form .login-submit {
  width: min(244px, 100%);
  margin: 4px 0 0;
  align-self: flex-start;
}

/* Responsividade Refinada */
@media (max-width: 960px) {
  .mare-login {
    grid-template-columns: minmax(360px, 1fr) minmax(380px, 1fr);
  }
  .mare-login-intro {
    padding: 36px 32px;
  }
  .mare-login-copy h1 {
    font-size: 32px;
  }
  .mare-login-access {
    padding: 32px 24px;
  }
  .mare-login-form {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  main.auth:has(.mare-login) {
    min-height: 100svh;
  }
  .mare-login {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }
  .mare-login-intro {
    flex-shrink: 0;
    padding: 32px 24px 28px;
    min-height: auto;
  }
  .mare-login-copy {
    margin: 20px 0 16px;
  }
  .mare-login-copy h1 {
    font-size: 26px;
  }
  .mare-login-copy p,
  .mare-login-pillars,
  .mare-login-footer-nav {
    display: none;
  }
  .mare-login-access {
    flex-grow: 1;
    min-height: auto;
    padding: 24px 16px 40px;
  }
  .mare-login-form {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(6, 37, 61, 0.04);
  }
  .mare-login-form.mare-access-request {
    max-height: none;
    margin: 0;
    overflow-y: visible;
  }
  .mare-login-form .access-request-form .login-submit {
    width: 100%;
  }
  .login-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mare-login-form .login-submit,
  .mare-login-form .login-submit i,
  .mare-login-back-landing,
  .mare-flow-back {
    transition: none !important;
  }
}

/* Desenvolvimento: o resumo permanece leve; evidências, histórico e decisões abrem no próprio card. */
.development-expandable-cards { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.development-expandable-card { align-content: start; gap: 11px; padding: 16px; }
.development-card-snapshot { display: grid; gap: 10px; }
.development-card-snapshot > div { display: grid; gap: 3px; min-width: 0; }
.development-card-snapshot > div > span, .development-detail-section h4, .development-validation-form h4 { margin: 0; color: var(--lavender-grey); font-size: 10px; font-weight: 850; letter-spacing: .55px; text-transform: uppercase; }
.development-card-snapshot b { color: var(--deep-space-blue); font-size: 13px; line-height: 1.3; }
.development-card-snapshot small { color: var(--steel-blue); font-size: 11px; font-weight: 750; }
.development-expandable-card .development-card-top h3 { color: var(--deep-space-blue); font-size: 17px; line-height: 1.28; }
.development-competency-context b { color: #405b6d; font-size: 12px; font-weight: 700; }
.development-evidence-preview p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.development-expandable-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 0; padding-top: 10px; }
.development-evidence-indicator { color: #205e9c; font-size: 11px; font-weight: 800; }
.development-evidence-indicator.pending { color: #8a6418; }
.development-card-details { border-top: 1px solid rgba(45, 125, 210, .24); }
.development-card-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0 0; cursor: pointer; color: var(--steel-blue); font-size: 12px; font-weight: 850; list-style: none; }
.development-card-details > summary::-webkit-details-marker { display: none; }
.development-card-details > summary::after { content: '⌄'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #edf3fb; color: #205e9c; font-size: 14px; line-height: 1; transition: transform .18s ease, background .18s ease; }
.development-card-details[open] > summary::after { transform: rotate(180deg); background: #dceafe; }
.development-card-details[open] > summary span::after { content: 'Ocultar detalhes'; margin-left: 5px; font-size: 12px; font-weight: 650; }
.development-card-details[open] > summary span { font-size: 0; }
.development-card-details-content { display: grid; gap: 14px; padding-top: 14px; animation: development-details-in .18s ease-out both; }
.development-detail-section { display: grid; gap: 5px; }
.development-detail-section p { margin: 0; color: #405b6d; font-size: 12px; line-height: 1.45; }
.development-detail-evidence { padding-top: 13px; border-top: 1px solid rgba(45, 125, 210, .18); }
.development-detail-evidence .development-evidence, .development-detail-evidence .development-no-evidence { padding-top: 0; border-top: 0; }
.development-card-details .development-history, .development-card-details .development-evidence-submit, .development-card-details .development-validation-form { margin: 0; padding-top: 13px; border-top: 1px solid rgba(45, 125, 210, .18); }
.development-card-details .development-validation-form { gap: 9px; }
.development-card-details .development-validation-form h4 { color: var(--deep-space-blue); }
.development-card-details .development-evidence-submit button, .development-card-details .development-validation-form button { width: auto; min-width: 0; margin: 0; }
.evaluator-development-list { padding: 18px; overflow: visible; }
.evaluator-development-list .list-block-header { margin: 0; padding: 0 0 14px; }
.evaluator-development-cards { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
@keyframes development-details-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
  .development-expandable-cards, .evaluator-development-cards { grid-template-columns: 1fr; }
  .development-expandable-card { padding: 14px; }
  .development-card-details .development-evidence-submit button, .development-card-details .development-validation-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .development-card-details > summary::after, .development-card-details-content { animation: none; transition: none; }
}

/* Navegação lateral: grupos recolhíveis preservam as mesmas rotas e reduzem ruído visual. */
aside:where(#app-sidebar) .sidebar-navigation { display: grid; gap: 7px; margin-top: 32px; }
aside:where(#app-sidebar) .nav-group { padding: 0 0 7px; border-bottom: 1px solid rgba(255,255,255,.11); }
aside:where(#app-sidebar) .nav-group:last-child { border-bottom: 0; }
aside:where(#app-sidebar) .nav-group > summary,
aside:where(#app-sidebar) .nav-subgroup > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #c8d6de;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
aside:where(#app-sidebar) .nav-group > summary::-webkit-details-marker,
aside:where(#app-sidebar) .nav-subgroup > summary::-webkit-details-marker { display: none; }
aside:where(#app-sidebar) .nav-group > summary::after,
aside:where(#app-sidebar) .nav-subgroup > summary::after {
  content: none;
  display: none;
}
aside:where(#app-sidebar) .nav-group[open] > summary { color: #fff; background: rgba(255,255,255,.055); }
aside:where(#app-sidebar) .nav-group > a,
aside:where(#app-sidebar) .nav-subgroup > a { display: block; margin: 2px 0; padding: 9px 12px 9px 21px; }
aside:where(#app-sidebar) .nav-subgroup { margin: 3px 0 3px 11px; padding-left: 7px; border-left: 1px solid rgba(255,255,255,.14); }
aside:where(#app-sidebar) .nav-subgroup > summary { min-height: 34px; padding: 7px 10px; color: #aebfc8; }
aside:where(#app-sidebar) .nav-subgroup > a { padding: 8px 10px 8px 18px; color: #c8d6de; }
aside:where(#app-sidebar) .nav-group > a.is-active,
aside:where(#app-sidebar) .nav-subgroup > a.is-active { background: rgba(45,125,210,.28); color: #fff; box-shadow: inset 3px 0 0 var(--steel-blue); }
aside:where(#app-sidebar) .nav-admin-group > summary { color: #f0d895; }
aside:where(#app-sidebar) .nav-admin-group[open] > summary { background: rgba(230,108,63,.11); }
@media (max-width: 850px) {
  aside:where(#app-sidebar) .sidebar-navigation { display: block; margin: 18px 0; overflow: visible; }
  aside:where(#app-sidebar) .nav-group { margin-bottom: 4px; padding-bottom: 4px; }
  aside:where(#app-sidebar) .nav-group > summary { min-height: 36px; }
  aside:where(#app-sidebar) .nav-group > a,
  aside:where(#app-sidebar) .nav-subgroup > a { white-space: normal; }
}
