@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --navy:#102e34;
  --navy-deep:#10292d;
  --blue:#1c7467;
  --blue-dark:#175d54;
  --ink:#21383b;
  --muted:#4d6666;
  --line:#d7e2dc;
  --tint:#eaf3ee;
  --canvas:#f6f8f3;
  --ring:#1c7467;
  color:var(--ink);
  background:var(--canvas);
  font-family:"DM Sans", "Segoe UI", sans-serif;
  font-size:16px;
}
body { margin:0; }
.shell .rail { background:#102e34; }
.brand .portal-mark {
  display:grid; place-items:center; width:37px; height:37px; flex:none;
  background:#a8dec3; color:#102e34; font-weight:850; font-size:.93rem; letter-spacing:-.04em; border-radius:50%;
}
.shell .nav-item[aria-current="page"] { background:#a8dec329; box-shadow:inset 3px 0 #a8dec3; }
.shell .nav-item svg { stroke:#b5dcc9; }
.rail-context,.rail .nav-caption,.rail-foot,.brand small { color:#acd0bf; }
.rail-foot a { color:#d5eee0; }
.edition-select { display:grid; gap:4px; margin-top:9px; }
.edition-select select { width:100%; color:#f3faf6; background:#26484a; border:1px solid #4b706a; border-radius:6px; padding:5px; }
.workspace { width:min(100%, 1500px); }
.view-heading {
  border-color:#d6e4dc; background:linear-gradient(110deg,#fbfcf7 30%,#e5f2eb 100%);
  min-height:140px; box-shadow:none;
}
.view-heading::before { border-color:#6da88a24; box-shadow:0 0 0 18px #6da88a12,0 0 0 38px #6da88a0c,0 0 0 60px #6da88a08; }
.view-heading .cutoff { border-color:#d6e4dc; }
.search-mark { font-size:1.15em; font-weight:800; }
.panel-head p,.table-count,.subtle { font-size:.85rem; }
.drawer { width:min(790px,100vw); border-color:#d6e4dc; }
.dialog-content { padding:21px 22px 30px; }
.detail-caption { margin:0 0 12px; max-width:72ch; }
.detail-nav { display:flex; gap:8px; flex-wrap:wrap; }
.print-heading { display:none; }
.card-label { font-size:.76rem; font-weight:750; color:#237262; }
.timeline-filter { display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; margin:0 0 11px; }
.timeline-filter label,.request-form label { display:grid; gap:4px; font-size:.83rem; font-weight:700; }
.form-control {
  width:100%; border:1px solid #bfd4c8; border-radius:7px; padding:8px 10px;
  background:#fff; color:var(--ink); font:inherit; font-weight:450;
}
.form-control:focus-visible { outline:3px solid var(--ring); outline-offset:2px; }
select.form-control { min-height:37px; }
textarea.form-control { min-height:78px; resize:vertical; }
.request-panel { margin:0 0 14px; padding:15px 17px; background:#f1f8f2; border:1px solid #cadfd1; border-radius:13px; }
.request-panel header { display:flex; gap:12px; justify-content:space-between; align-items:flex-start; margin:0 0 10px; }
.request-panel h2,.request-panel h3 { font-size:1.14rem; margin:0 0 4px; }
.request-panel .subtle { line-height:1.5; }
.request-form { display:grid; grid-template-columns:minmax(195px,.6fr) minmax(180px,1.4fr); gap:9px 13px; }
.request-form label { align-content:start; }
.request-form .request-actions { grid-column:1/-1; display:flex; gap:11px; align-items:center; flex-wrap:wrap; min-height:36px; }
.request-status { min-height:1.2em; }
.history-dialog { color:var(--ink); width:min(720px, calc(100vw - 24px)); max-height:90dvh; border:1px solid var(--line); border-radius:15px; padding:0; }
.history-dialog::backdrop { background:#102e3480; }
.history-dialog .dialog-head { display:flex; justify-content:space-between; align-items:center; }
.history-dialog .dialog-head h2 { margin:0; font-size:1.18rem; }
.history-body { padding:14px 16px; }
.history-item { padding:13px; border:1px solid var(--line); border-radius:11px; margin-bottom:9px; }
.history-item h3 { margin:0 0 4px; }
.history-item p { margin:0 0 8px; overflow-wrap:anywhere; }
.history-msg { white-space:pre-wrap; }
.history-reply { background:#eaf3ee; padding:12px; border-radius:7px; }
.history-pages { display:flex; gap:8px; align-items:center; }
.history-account { margin:8px 0 0; }
.message-count { min-width:19px; margin-left:5px; padding:2px 5px; border-radius:10px; color:#fff; background:#176456; font-size:.72rem; }
.message-count[hidden] { display:none; }
.message-tabs { display:flex; gap:7px; flex-wrap:wrap; margin:0 0 14px; }
.message-tabs button[aria-pressed="true"] { color:#124f43; border-color:#8cbfa6; background:#e0f1e7; }
.message-item summary { cursor:pointer; padding:1px 0; overflow-wrap:anywhere; }
.message-item[data-new=yes] { border-inline-start:4px solid #237262; background:#f8fcf8; }
.message-item[open] summary { margin-bottom:12px; }
.team-form-fields { display:grid; gap:11px; margin-bottom:11px; }
.team-form label,.note-form label { display:grid; gap:4px; font-weight:680; font-size:.84rem; }
.team-form .request-actions,.note-form .request-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:9px 0; }
.note-section { padding:13px 15px; }
.notes-list { margin-top:12px; }
.preview-note { color:#6d5016; font-size:.78rem; font-weight:700; margin-bottom:8px; }
.login-card {
  box-sizing:border-box; width:min(540px,calc(100% - 36px)); margin:clamp(35px,16vh,170px) auto;
  border:1px solid #d2e3d8; border-radius:21px; padding:clamp(20px,5vw,45px); background:#fff;
  box-shadow:0 16px 44px #183c2610;
}
.login-card .project-brand { color:#226b5b; font-weight:750; margin:0 0 15px; }
.project-brand span { display:inline-block; border-left:1px solid #c7dacf; margin-left:9px; padding-left:9px; font-weight:550; }
.login-card h1 { margin:0 0 13px; line-height:1.05; letter-spacing:-.05em; font-size:clamp(2.15rem,6vw,3.3rem); }
.login-card p { line-height:1.55; color:var(--muted); }
.login-status { margin:.9em 0; }
@media(max-width:720px) {
  .request-form { grid-template-columns:minmax(0,1fr); }
  .request-panel header { flex-wrap:wrap; }
  .dialog-content { padding:16px 14px; }
  .top-tools { gap:6px; }
  .top-tools .button { padding-inline:7px; }
}
@media(max-width:375px) {
  .topbar .search { width:min(40vw,150px); }
  .topbar .top-sheet { display:none; }
  .drawer .kv { grid-template-columns:1fr; }
}
@media(max-width:520px) {
  .topbar .top-sheet { display:none; }
  .topbar .search { width:clamp(84px,32vw,145px); }
}
@page { size:A4; margin:13mm 12mm 15mm; }
@media print {
  :root { background:#fff; color:#000; font-size:11px; }
  .view-heading,.panel,.record-section,.metric { box-shadow:none; border-color:#a9b4ae; }
  .view-heading { background:#fff; }
  .view-heading .kicker,.shell .cutoff small { color:#1d2b26; }
  .shell .panel { break-inside:auto; background:#fff; }
  .shell .panel-head { break-after:avoid; }
  .shell .table-wrap,.drawer,.dialog-content { overflow:visible !important; }
  .shell table { table-layout:auto; width:100%; min-width:0; }
  thead { display:table-header-group; }
  th,td { white-space:normal !important; overflow-wrap:anywhere; }
  td button { text-align:left; }
  .truncate { white-space:normal; max-width:none; overflow:visible; }
  .table-wrap tr:nth-child(even) td { background:#f4f7f5; }
  .skip,.sort-button span,.drawer::backdrop,.timeline-filter,.filter-strip,.segmented,.screen-only,
  [data-act="print"],[data-act="close-detail"] { display:none !important; }
  .table-wrap .pill { padding:0; border:0; color:#172a25; background:transparent; white-space:normal; overflow-wrap:normal; }
  .print-drawer .drawer[open] { display:block; position:static; width:100%; max-width:none; height:auto; max-height:none; padding:0; }
  .print-drawer .dialog-content { padding:0; }
  .print-heading { display:block; }
  .record-section { break-inside:auto; margin:7px 0; }
  .print-drawer .screen-only { display:none!important; }
  .record-section summary { break-after:avoid; }
  .event-card { break-inside:avoid-page; }
  .kv div { break-inside:avoid; }
  .dossier-links .button { color:#000; border:0; padding:0; background:transparent; }
}
/* assinatura-mudanca: CHG-2026-11-14-001 | ator: Codex/OpenAI (gestor do projeto) | em: 2026-11-14 | natureza: leitura responsiva e impressão do portal */
/* assinatura-mudanca: CHG-2026-11-14-005 | ator: Codex/OpenAI (gestor do projeto) | em: 2026-11-14 | natureza: leitura de mensagens, notificações e anotações */
