:root {
  color-scheme: light;
  --forest: #142538;
  --forest-light: #24435e;
  --ink: #17293b;
  --muted: #65717e;
  --paper: #f8f9fb;
  --surface: #fff;
  --line: #e5e9ee;
  --accent: #d7b579;
  --danger: #a33136;
  --radius: 8px;
  font: 14px/1.5 "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
:focus-visible { outline: 3px solid #9b742d; outline-offset: 4px; }
main:focus { outline: 0; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: .7rem 1rem; background: white; border: 1px solid var(--line); border-radius: 4px; transform: translateY(-170%); }
.skip:focus { transform: none; }
.ui-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; width: 236px; padding: 34px 18px 20px; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; text-decoration: none; white-space: nowrap; }
.sidebar .brand { margin-left: 12px; }
.brand-symbol { display: grid; place-items: center; width: 39px; height: 39px; background: var(--forest); border-radius: 10px; color: white; }
.brand-symbol svg { width: 34px; height: 34px; }
.brand-name { font-size: 27px; line-height: 1; font-weight: 650; letter-spacing: -1.25px; color: var(--forest); }
.brand-dot { color: #ad8b4f; }
.workspace-label { margin: 47px 0 12px 14px; color: var(--muted); font-size: 10px; line-height: 1.4; letter-spacing: .12em; font-weight: 650; text-transform: uppercase; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 14px; border-radius: 7px; text-decoration: none; color: #596775; font-weight: 550; transition: background 140ms, color 140ms; }
.sidebar nav a:hover { color: var(--forest); background: #f4f6f8; }
.sidebar nav a[aria-current="page"] { color: var(--forest); background: #edf1f5; font-weight: 650; }
.sidebar nav a[aria-current="page"]::after { content: ""; margin-left: auto; width: 5px; height: 5px; background: #ae8d54; border-radius: 50%; }
.sidebar-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 18px 10px 0; border-top: 1px solid var(--line); }
.company-monogram { display: grid; place-items: center; width: 30px; height: 34px; border: 1px solid #b5bcc3; font: 24px/1 Georgia, serif; color: #66717c; }
.sidebar-foot strong, .sidebar-foot span:not(.company-monogram) { display: block; }
.sidebar-foot strong { font-size: 11px; font-weight: 650; }
.sidebar-foot div > span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.workspace { margin-left: 236px; }
.topbar { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 36px; background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb-wrap { display: flex; align-items: center; gap: 13px; min-width: 0; color: #abb2bb; font-size: 12px; }
.breadcrumb-root { color: var(--muted); }
#breadcrumb { color: var(--ink); font-weight: 550; }
.account-actions { display: flex; align-items: center; justify-content: end; gap: 10px; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #eef1f5; color: var(--forest); font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.account-name { font-size: 12px; font-weight: 550; }
main { max-width: 1390px; min-height: calc(100vh - 77px); padding: 36px 36px 64px; margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { margin-bottom: 8px; font-size: clamp(26px, 2.9vw, 34px); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
h2 { margin-bottom: 5px; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
h3 { margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.page-head, .section-head, .form-actions, .item-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.page-head { margin-bottom: 30px; align-items: flex-end; }
.page-head p { font-size: 13px; }
.page-head p, .section-head p { margin-bottom: 0; }
.date-label, .eyebrow { display: block; margin-bottom: 12px; font-size: 10px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.date-label { text-transform: none; letter-spacing: .01em; font-size: 12px; }
.button { position: relative; display: inline-flex; gap: 10px; justify-content: center; align-items: center; min-height: 42px; padding: 9px 15px; border: 1px solid #dce2e8; border-radius: 7px; font-size: 12px; line-height: 1.4; font-weight: 650; text-decoration: none; background: var(--surface); color: var(--ink); transition: background 140ms, border-color 140ms, box-shadow 140ms, transform 140ms; }
.button:hover { background: #f2f5f8; border-color: #b7c2ce; }
.button:active:not([disabled]) { transform: translateY(1px); }
.button.primary { background: var(--forest); color: white; border-color: var(--forest); box-shadow: 0 2px 3px #14253812; }
.button.primary:hover { background: var(--forest-light); border-color: var(--forest-light); }
.button[disabled] { cursor: wait; opacity: .7; }
.button.compact { min-height: 34px; padding: 7px 11px; }
.button.quiet { border-color: transparent; color: var(--muted); background: transparent; }
.button.is-loading::after { content: ""; display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; margin-left: 5px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 30px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric { padding: 0 28px; border-right: 1px solid var(--line); min-width: 0; }
.metric:first-child { padding-left: 0; }
.metric:last-child { border: 0; }
.metric-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 550; color: #506071; }
.metric strong { display: block; margin-bottom: 8px; font-size: 37px; font-weight: 550; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-caption { display: block; font-size: 11px; color: var(--muted); }
.metric.has-overdue strong { color: var(--danger); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.section-head { padding: 22px 24px; }
.section-head p { font-size: 12px; }
.table { margin: 0; padding: 0; list-style: none; }
.table-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, .9fr); gap: 18px; align-items: center; min-height: 77px; padding: 17px 24px; border-top: 1px solid #edf0f3; overflow-wrap: anywhere; font-size: 12px; transition: background 150ms; }
.table-row:not(.heading):hover { background: #fafbfd; }
.case-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.table-row.heading { min-height: 36px; padding-block: 10px; background: #fafbfc; color: var(--muted); font-size: 10px; font-weight: 550; }
.table-row a, .detail-link { font-weight: 600; color: var(--forest); text-decoration: none; }
.table-row a:hover, .detail-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.subline { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 7px; border-radius: 4px; background: #eef1f4; color: #4b5b6c; font-size: 10px; font-weight: 550; line-height: 1.4; }
.tag::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.tag.green { background: #eaf4ef; color: #286247; }
.tag.attention { background: #fff4df; color: #805518; }
.tag.overdue { background: #fceced; color: #a33136; }
.empty, .error { margin: 0; padding: 24px; }
.error { color: var(--danger); }
.empty-state { padding: 50px 24px 55px; border-top: 1px solid var(--line); text-align: center; }
.empty-symbol { display: grid; place-items: center; margin: 0 auto 14px; width: 39px; height: 39px; border: 1px solid #e1e7ed; border-radius: 12px; color: #597087; background: #f8fafc; font-size: 19px; }
.empty-state h3 { margin-bottom: 7px; font-size: 14px; }
.empty-state p { max-width: 330px; margin: 0 auto; color: var(--muted); font-size: 12px; }
.toolbar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; padding: 0 24px 22px; }
.toolbar label { flex: 1; max-width: 540px; min-width: min(230px, 100%); }
label { display: block; font-size: 12px; line-height: 1.5; font-weight: 600; }
label input, label textarea, label select { display: block; margin-top: 8px; }
input, select, textarea { width: 100%; min-height: 44px; padding: 11px 12px; color: var(--ink); background: var(--surface); border: 1px solid #cbd3dc; border-radius: 6px; font-size: 13px; box-shadow: 0 1px 2px #14253804; transition: border-color 140ms, box-shadow 140ms; }
input::placeholder, textarea::placeholder { color: #88939f; font-weight: 400; }
input:hover, select:hover, textarea:hover { border-color: #a0afbe; }
input:focus, select:focus, textarea:focus { border-color: var(--forest-light); box-shadow: 0 0 0 3px #24435e0c; }
textarea { min-height: 100px; resize: vertical; }
.movement { padding: 24px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.movement-head { padding: 0; }
.movement-head > div { min-width: 0; }
.movement:target, .movement[data-highlight] { background: #faf7ef; }
.deadline-item { margin-top: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 6px; }
.deadline-item h3 .tag { margin-left: 6px; vertical-align: middle; }
.deadline-item summary { cursor: pointer; padding-block: 10px; font-size: 12px; font-weight: 550; color: #526579; }
.deadline-item details { margin-top: 12px; border-top: 1px solid var(--line); }
.deadline-item ol { margin: 0 0 4px; padding-left: 1.5rem; font-size: 12px; }
.item-actions { justify-content: flex-start; gap: 8px; margin-top: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 23px; font-size: 12px; }
.back::before { content: "←"; }
.process-history { margin: 0; padding: 0 24px 24px 43px; font-size: 12px; }
.process-history li + li { margin-top: 12px; }
dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px #0c1a2b33; }
dialog[open] { animation: dialog-in 180ms ease-out both; }
dialog::backdrop { background: #14253866; animation: backdrop-in 180ms ease-out; }
.dialog-head { padding: 26px 28px 23px; border-bottom: 1px solid var(--line); }
.dialog-head .eyebrow { margin-bottom: 7px; font-size: 9px; }
.dialog-head h2 { margin: 0; font-size: 24px; }
dialog form { display: grid; gap: 20px; padding: 25px 28px 24px; }
.form-actions { justify-content: flex-end; gap: 8px; margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-error { margin: 0; padding: 10px 12px; background: #fceff0; border-left: 2px solid var(--danger); border-radius: 3px; color: var(--danger); font-size: 12px; }
.form-error:empty { display: none; }
#notice:not(:empty) { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 11px; max-width: min(430px, calc(100% - 32px)); padding: 14px 20px; background: var(--forest); color: white; border-radius: 8px; box-shadow: 0 8px 28px #14253826; animation: notice-in 220ms ease-out both; font-size: 12px; }
#notice:not(:empty)::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #93b9a5; border-radius: 50%; color: #c1e5d3; }
.loading-state { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 12px; }
.loading-dot { width: 14px; height: 14px; border: 1.5px solid #b4c2d0; border-top-color: var(--forest); border-radius: 50%; animation: spin 700ms linear infinite; }
body[data-view="workspace"] main > .page-head { animation: content-in 220ms ease-out both; }
body[data-view="login"] .sidebar, body[data-view="login"] .topbar { display: none; }
body[data-view="login"] .workspace { margin: 0; }
body[data-view="login"] main { max-width: none; padding: 0; min-height: 100vh; background: white; }
.login-shell { display: grid; grid-template-columns: 53% 47%; min-height: 100dvh; }
.login-main { display: flex; flex-direction: column; padding: 42px clamp(32px, 5vw, 84px) 28px; }
.login-brand .brand-symbol { width: 39px; height: 39px; }
.login-content { width: 100%; max-width: 370px; margin: auto; padding: 48px 0 45px; }
.login-content .eyebrow { margin-bottom: 16px; color: #8b6c36; font-size: 10px; }
.login-content h1 { margin-bottom: 18px; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.12; letter-spacing: -.045em; font-weight: 550; }
.login-description { margin-bottom: 30px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.form-login { display: grid; gap: 19px; }
.form-login label { font-size: 12px; }
.form-login input { min-height: 48px; }
.form-login .button { min-height: 48px; justify-content: space-between; padding-inline: 16px; margin-top: 5px; font-size: 12px; }
.button-arrow { font-size: 19px; line-height: 1; font-weight: 400; transition: transform 150ms; }
.button:hover .button-arrow { transform: translateX(3px); }
.form-login .is-loading .button-arrow { display: none; }
.login-help { margin: 23px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.login-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: auto; color: #73808c; font-size: 10px; }
.login-footer span:first-child { font-weight: 600; }
.login-side { display: flex; flex-direction: column; padding: 48px clamp(32px, 4vw, 70px) 35px; overflow: hidden; background: var(--forest); color: white; }
.login-side-label { color: #b9c7d4; font-size: 10px; font-weight: 550; text-transform: uppercase; letter-spacing: .14em; }
.login-art { width: calc(100% + 28px); margin: auto -14px 0; padding-top: 38px; }
.login-art svg { display: block; width: 100%; max-height: 290px; }
.art-frame { stroke: #587085; stroke-width: 1; }
.art-main { stroke: #f2f6fa; stroke-width: 8; stroke-linejoin: round; }
.art-detail { stroke: var(--accent); stroke-width: 4; }
.art-guide { stroke: #587085; stroke-width: 1; }
.login-art circle { fill: var(--accent); }
.login-side-copy { margin-top: 36px; margin-bottom: auto; }
.login-side-copy h2 { margin: 0 0 17px; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.15; font-weight: 450; letter-spacing: -.035em; }
.login-side-copy p { max-width: 320px; margin: 0; color: #bac8d5; font-size: 12px; line-height: 1.8; }
.login-flow { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 42px; padding-top: 25px; border-top: 1px solid #ffffff24; color: #d4dde5; font-size: 10px; }
.login-flow span { display: flex; flex-direction: column; gap: 8px; }
.login-flow small { font-size: 9px; color: #9aafc1; }
.login-flow i { align-self: flex-end; padding-bottom: 2px; color: #788fa3; font-style: normal; }
.login-content { animation: content-in 320ms ease-out both; }
.login-art { animation: artwork-in 500ms ease-out both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes content-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes notice-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes artwork-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (min-width: 1500px) { .login-main, .login-side { padding-inline: 90px; } .login-content { max-width: 400px; } .login-content h1 { font-size: 48px; } .login-side-copy h2 { font-size: 48px; } .login-art svg { max-height: 350px; } }
@media (max-width: 1000px) { .sidebar { width: 205px; padding-inline: 14px; } .workspace { margin-left: 205px; } main, .topbar { padding-inline: 25px; } .sidebar .brand { margin-left: 8px; } .metric { padding-inline: 18px; } .login-main { padding-inline: 34px; } .login-side { padding-inline: 34px; } .login-flow { font-size: 9px; } }
@media (max-width: 760px) {
  .sidebar { position: static; width: auto; padding: 17px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { margin-left: 0; }
  .brand-symbol { width: 32px; height: 32px; border-radius: 8px; }
  .brand-symbol svg { width: 29px; height: 29px; }
  .brand-name { font-size: 24px; }
  .workspace-label, .sidebar-foot { display: none; }
  .sidebar nav { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 0 12px; }
  .sidebar nav a { min-height: 43px; border-radius: 0; gap: 8px; padding: 0 3px; font-size: 12px; border-bottom: 2px solid transparent; }
  .sidebar nav a[aria-current="page"] { background: none; border-bottom-color: var(--forest); }
  .sidebar nav a[aria-current="page"]::after { display: none; }
  .sidebar nav .ui-icon { width: 16px; height: 16px; }
  .workspace { margin: 0; }
  .topbar { min-height: 58px; gap: 8px; padding: 10px 20px; }
  .breadcrumb-wrap { gap: 9px; font-size: 11px; }
  .account-actions { gap: 7px; }
  .account-name { display: none; }
  .avatar { width: 27px; height: 27px; font-size: 9px; }
  main { padding: 27px 20px 44px; min-height: 0; }
  .page-head { gap: 20px; margin-bottom: 25px; }
  .page-head h1 { font-size: 27px; }
  .page-head p { max-width: 300px; font-size: 12px; }
  .date-label { font-size: 10px; margin-bottom: 10px; }
  .page-head > .button { min-height: 37px; padding: 8px 12px; }
  .metrics { padding-block: 19px; margin-bottom: 25px; }
  .metric { padding-inline: 13px; }
  .metric strong { font-size: 30px; }
  .metric-label { font-size: 10px; min-height: 30px; margin-bottom: 8px; }
  .metric-caption { font-size: 9px; line-height: 1.5; }
  .section-head { padding: 18px; gap: 16px; }
  .section-head h2 { font-size: 16px; }
  .section-head p { font-size: 11px; }
  .table-row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; padding: 18px; }
  .table-row.heading { display: none; }
  .table-row > :nth-child(2n) { justify-self: end; text-align: right; }
  .table-row .subline { margin-top: 6px; }
  .toolbar { padding-inline: 18px; }
  .movement { padding: 18px; }
  .item-actions { gap: 7px; }
  .deadline-item { padding: 13px; }
  dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border-radius: 10px; }
  .dialog-head { padding: 22px; }
  dialog form { padding: 22px; }
  .login-shell { display: block; }
  .login-main { min-height: 100dvh; padding: 30px 28px 23px; }
  .login-content { max-width: 370px; padding-block: 55px; }
  .login-content h1 { font-size: 40px; }
  .login-brand .brand-symbol { width: 35px; height: 35px; }
  .login-brand .brand-name { font-size: 26px; }
  .login-side { display: none; }
  .login-footer { font-size: 9px; }
}
@media (max-width: 360px) { main, .topbar { padding-inline: 15px; } .sidebar { padding-inline: 15px; } .login-main { padding-inline: 22px; } .login-content h1 { font-size: 35px; } .metric { padding-inline: 10px; } .metric-caption { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Estrutura de trabalho compartilhada por empreendimentos e obras. */
.project-context { margin: 0 0 22px; border-bottom: 1px solid #d7dfe4; }
.project-context-main { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; padding: 5px 0 22px; }
.project-context-main h1 { margin: 8px 0 4px; font-size: clamp(27px, 4vw, 42px); line-height: 1.1; letter-spacing: -.045em; color: #142538; overflow-wrap: anywhere; }
.project-context-main p, .register-tools > span, .measures-register .section-head p { margin: 0; color: #526272; font-size: 13px; }
.project-context-main label { display: grid; gap: 6px; font-size: 12px; min-width: 150px; }
.project-context-main select { max-width: 240px; }
.context-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.context-nav button, .context-nav a { background: transparent; text-decoration: none; color: #304659; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; font: inherit; cursor: pointer; }
.context-nav [aria-current="page"] { border-bottom-color: #97733c; color: #142538; font-weight: 700; }
.work-register { min-width: 0; background: #fff; border: 1px solid #d8e0e5; border-radius: 8px; }
.register-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; }
.register-tools .lot-search { width: min(100%, 340px); }
.work-table-scroll { overflow-x: auto; min-width: 0; }
.work-table { width: 100%; min-width: 420px; border-collapse: collapse; text-align: left; font-size: 13px; }
.work-table th, .work-table td { padding: 12px 15px; border-bottom: 1px solid #e6ecef; }
.work-table thead th { background: #eef3f5; color: #3f5367; font-size: 12px; }
.work-table tbody tr:last-child > * { border-bottom: 0; }
.work-table .numeric { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.record-link { color: #184860; text-align: left; background: transparent; padding: 3px 0; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.record-link:hover { text-decoration: underline; }
.work-table tbody tr:hover, .work-table .selected-row { background: #f3f8fa; }
.measure-workspace { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); border-top: 1px solid #d8e0e5; }
.measures-register .section-head { padding: 16px; }
.measure-inspector { min-width: 0; border-left: 1px solid #d8e0e5; }
.measure-inspector > p { margin: 0; padding: 18px; color: #526272; }
@media (max-width: 800px) {
  .project-context-main { flex-wrap: wrap; gap: 12px; padding-bottom: 13px; }
  .context-nav { gap: 0 14px; }
  .measure-workspace { grid-template-columns: minmax(0, 1fr); }
  .measure-inspector { border-left: 0; border-top: 1px solid #d8e0e5; }
  .register-tools { flex-wrap: wrap; }
}

/* A mesma navegação e hierarquia de trabalho em todos os módulos. */
.sidebar, .enterprise-preview .sidebar { background: #f7f9fa; }
.sidebar nav a { min-height: 40px; color: #33495b; border-radius: 5px; }
.sidebar nav a:hover { background: #e8eef1; }
.sidebar nav a[aria-current="page"] { background: #e5edf1; color: #142538; }
.topbar { background: #fff; border-bottom-color: #dce3e8; }
.workspace h1 { color: #142538; letter-spacing: -.035em; }
.workspace table { font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .sidebar nav, .enterprise-preview .sidebar nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 0 12px; scrollbar-width: thin; }
  .sidebar nav a, .enterprise-preview .sidebar nav a { flex: 0 0 auto; white-space: nowrap; }
}
