.profile-summary {
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.55;
  background: var(--ice);
  padding: 18px;
  border: 1px solid var(--line);
}
.guided-question > span {
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
}
.guided-question .field-note {
  font-family: Aptos, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.synthesis-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}
.synthesis-card h2 {
  font-family: Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 14px;
}
.synthesis-card p { line-height: 1.6; color: var(--muted); }
.synthesis-text { white-space: pre-line; color: var(--ink) !important; }
.recorded-answers { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.recorded-answers summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: 13px; }
.recorded-answer { padding: 14px 0; border-bottom: 1px solid var(--line); }
.recorded-answer strong { font-size: 13px; color: var(--navy); }
.recorded-answer p { white-space: pre-line; margin: 6px 0 0; color: var(--muted); line-height: 1.45; }
.video-support-card { border-left: 4px solid var(--blue); }
.video-support-card button { width: 100%; margin-top: 8px; }
.known-context { background: #eef5f8; border-left: 4px solid var(--blue); padding: 18px 20px; }
.known-context h2 { margin: 0 0 10px; font: 500 20px Georgia, serif; color: var(--navy); }
.known-context ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.45; }
.method-coach { border-top: 4px solid var(--blue); }
.method-coach h2 { margin-bottom: 10px; }
.coach-alert { background: #fff2e6; border-left: 3px solid #c66a18; color: #713a0e; padding: 10px 12px; }
.coach-next { font-weight: 700; color: var(--navy); }

.field-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quick-guidance-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #7f9eaf;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-family: Aptos, "Segoe UI Symbol", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.quick-guidance-button:hover,
.quick-guidance-button:focus-visible {
  border-color: var(--blue);
  background: var(--ice);
  outline: 3px solid rgba(36,100,138,.14);
}
.quick-guidance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 4px 0 16px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #f8fbfc;
}
.quick-guidance-strip-item,
.attachment-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.quick-guidance-strip .quick-guidance-button,
.attachment-heading .quick-guidance-button {
  width: 22px;
  height: 22px;
  font-size: 14px;
}
.attachment-heading { margin: 8px 0 6px; }
.quick-guidance-card { max-height: min(82vh,760px); overflow: auto; }
.quick-guidance-content { margin: 18px 0 26px; }
.quick-guidance-content p { margin: 0 0 13px; color: var(--ink); line-height: 1.58; }
.quick-guidance-close { min-width: 120px; }
.automatic-evaluation-card { max-width: 620px; }
.automatic-evaluation-comment {
  margin: 20px 0 10px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--ice);
  color: var(--ink) !important;
  white-space: pre-line;
}
.automatic-evaluation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.report-stage-group {
  margin: 12px 0;
  padding: 12px;
  border: 2px solid #7f9eaf;
  background: #f8fbfc;
}
.report-stage-group > h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font: 700 18px Aptos, "Segoe UI", sans-serif;
}
.report-stage-group .report-cell:last-child { margin-bottom: 0; }

.analysis-layout { display:block; max-width:1120px; }
.context-help-actions { display:flex; gap:8px; margin-left:auto; }
.context-help-actions button { padding:9px 12px; border:1px solid var(--line); background:#fff; color:var(--navy); font-weight:800; }
.report-cell-heading-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.report-cell-heading-row h3 { margin-right:auto; }
.block-context-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.block-context-actions button { padding:7px 10px; border:1px solid #7f9eaf; background:#fff; color:var(--navy); font-size:12px; font-weight:800; }
.block-context-actions button:hover,.block-context-actions button:focus-visible { background:var(--ice); outline:2px solid rgba(36,100,138,.14); }
.cause-editor-intro { margin:0 0 14px; color:var(--muted); line-height:1.5; }
.cause-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.cause-category { border:1px solid var(--line); background:#f8fbfc; padding:14px; min-width:0; }
.cause-category h4 { margin:0 0 12px; color:var(--navy); font-size:13px; letter-spacing:.06em; }
.cause-nao_classificada { grid-column:1/-1; border-style:dashed; }
.cause-empty { color:var(--muted); font-size:12px; }
.cause-item { margin:8px 0 10px; margin-left:calc(var(--cause-depth,0) * 16px); padding:10px; border-left:3px solid #7f9eaf; background:#fff; }
.cause-item textarea { min-height:64px; }
.cause-item-controls { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:7px; margin-top:8px; }
.cause-item-menu { margin-left:auto; min-width:150px; }
.cause-item-menu summary { cursor:pointer; color:var(--blue); font-size:12px; font-weight:800; text-align:right; }
.cause-item-menu-body { display:grid; gap:9px; margin-top:8px; padding:10px; border:1px solid var(--line); background:#f8fbfc; }
.cause-item-menu-body label { display:grid; gap:4px; color:var(--muted); font-size:11px; font-weight:800; }
.cause-item-menu-body select { width:100%; padding:8px; font-size:12px; }
.cause-item-controls .text-link { text-align:left; }
.danger-link { color:#9a281d; }
.cause-add { width:100%; margin-top:8px; }
.cause-selection-list { display:grid; gap:8px; margin:12px 0 18px; }
.cause-choice { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.85fr); align-items:start; gap:14px; margin:0; padding:12px; border:1px solid var(--line); background:#fff; }
.cause-choice:not(:has(.why-panel)) .cause-choice-main { grid-column:1/-1; }
.cause-choice.is-action-target { border:2px solid #b42318; box-shadow:0 0 0 2px rgba(180,35,24,.08); }
.cause-choice-main { display:grid; gap:9px; }
.cause-choice-check { display:flex !important; flex-direction:row; align-items:flex-start; gap:10px !important; margin:0 !important; }
.cause-choice-check input { width:auto; margin-top:3px; }
.cause-choice-check span { color:var(--ink); font-size:13px; font-weight:500; line-height:1.4; }
.cause-target-toggle { width:100%; padding:8px 10px; border:1px solid #a8b5bd; background:#fff; color:var(--navy); font-size:11px; font-weight:900; text-align:left; }
.cause-target-toggle[aria-pressed="true"] { border-color:#b42318; background:#fff1f0; color:#8f1d15; }
.why-panel { border-left:3px solid #7f9eaf; padding:9px 11px; background:#f8fbfc; }
.why-panel summary { cursor:pointer; color:var(--navy); font-size:12px; font-weight:900; }
.why-panel-body { display:grid; gap:10px; margin-top:10px; }
.why-step { padding:8px 0; border-bottom:1px solid var(--line); }
.why-step strong { color:var(--navy); font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.why-step p { margin:4px 0; color:var(--ink); font-size:12px; line-height:1.4; }
.why-answer { display:grid !important; gap:5px !important; margin:0 !important; color:var(--navy); font-size:12px; font-weight:800; }
.why-answer textarea { min-height:62px; }
.why-commit { justify-self:start; padding:7px 10px; font-size:11px; }
.observation-stage-cell .report-active-field + .report-active-field { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
@media(max-width:760px){.cause-grid{grid-template-columns:1fr}.cause-nao_classificada{grid-column:auto}.context-help-actions{width:100%;margin-left:0}.context-help-actions button{flex:1}.report-cell-heading-row{display:grid}.block-context-actions{justify-content:flex-start}.block-context-actions button{flex:1}.cause-choice{grid-template-columns:1fr}.cause-choice-main,.cause-choice:not(:has(.why-panel)) .cause-choice-main{grid-column:auto}.why-panel{grid-column:1}.cause-item{margin-left:calc(min(var(--cause-depth,0),3) * 10px)}}
